1"use strict";(self.webpackChunkdzweb=self.webpackChunkdzweb||[]).push([[9811],{37901:(hC,cp,Ze)=>{Ze.d(cp,{w:()=>jr});var bi=Ze(80529),tr=Ze(22858),Mi=Ze(94650),Nf=Ze(93531),u=Ze(21952);let jr=(()=>{class ba{constructor(Zo,Yo,Lf){this._httpClient=Zo,this._utilService=Yo,this.sessionStorage=Lf}createVersionFromMaster(Zo){let Yo=this._utilService.getActiveUserToken();return this._httpClient.post(tr.kKI,Zo,Yo)}renderFlowchartVersion(Zo){let Yo=this._utilService.getActiveUserToken();return this._httpClient.post(tr.OeY,Zo,Yo)}changeFlowchartMasterVersion(Zo){let Yo=this._utilService.getActiveUserToken();return this._httpClient.patch(tr.rh7,Zo,Yo)}deleteSelectedFlowchartVersion(Zo){const Yo={headers:new bi.WM({"Content-Type":"application/json",Authorization:"Bearer "+this.sessionStorage.getItem("token")}),body:Zo};return this._httpClient.delete(tr.kKI,Yo)}}return ba.\u0275fac=function(Zo){return new(Zo||ba)(Mi.LFG(bi.eN),Mi.LFG(Nf.f),Mi.LFG(u.qo))},ba.\u0275prov=Mi.Yz7({token:ba,factory:ba.\u0275fac,providedIn:"root"}),ba})()},89811:(hC,cp,Ze)=>{Ze.d(cp,{a:()=>dE,H:()=>dC});var bi=Ze(37340),tr=Ze(65938),Mi=Ze(45768),Nf={1362:(s,b,i)=>{s=i.nmd(s);var d=function(){var c=function(Vt,ae,ht,le){for(ht=ht||{},le=Vt.length;le--;ht[Vt[le]]=ae);return ht},y=[1,6],v=[1,7],k=[1,8],E=[1,9],F=[1,12],B=[1,11],L=[1,15,24],J=[1,19],j=[1,31],Q=[1,34],W=[1,32],X=[1,33],ot=[1,35],dt=[1,36],at=[1,37],St=[1,38],bt=[1,41],Lt=[1,42],ft=[1,43],rt=[1,44],kt=[15,24],Nt=[1,56],Yt=[1,57],yt=[1,58],Ct=[1,59],Gt=[1,60],Ot=[1,61],ke=[15,24,31,38,39,47,50,51,52,53,54,55,60,62],be=[15,24,29,31,38,39,43,47,50,51,52,53,54,55,60,62,77,78,79,80],Te=[7,8,9,10,15,18,22,24],Rt=[47,77,78,79,80],ee=[47,54,55,77,78,79,80],pe=[47,50,51,52,53,77,78,79,80],ve=[15,24,31],De=[1,93],Jt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,CLASS_DIAGRAM:22,statements:23,EOF:24,statement:25,className:26,alphaNumToken:27,classLiteralName:28,GENERICTYPE:29,relationStatement:30,LABEL:31,classStatement:32,methodStatement:33,annotationStatement:34,clickStatement:35,cssClassStatement:36,CLASS:37,STYLE_SEPARATOR:38,STRUCT_START:39,members:40,STRUCT_STOP:41,ANNOTATION_START:42,ANNOTATION_END:43,MEMBER:44,SEPARATOR:45,relation:46,STR:47,relationType:48,lineType:49,AGGREGATION:50,EXTENSION:51,COMPOSITION:52,DEPENDENCY:53,LINE:54,DOTTED_LINE:55,CALLBACK:56,LINK:57,LINK_TARGET:58,CLICK:59,CALLBACK_NAME:60,CALLBACK_ARGS:61,HREF:62,CSSCLASS:63,commentToken:64,textToken:65,graphCodeTokens:66,textNoTagsToken:67,TAGSTART:68,TAGEND:69,"==":70,"--":71,PCT:72,DEFAULT:73,SPACE:74,MINUS:75,keywords:76,UNICODE_TEXT:77,NUM:78,ALPHA:79,BQUOTE_STR:80,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"CLASS_DIAGRAM",24:"EOF",29:"GENERICTYPE",31:"LABEL",37:"CLASS",38:"STYLE_SEPARATOR",39:"STRUCT_START",41:"STRUCT_STOP",42:"ANNOTATION_START",43:"ANNOTATION_END",44:"MEMBER",45:"SEPARATOR",47:"STR",50:"AGGREGATION",51:"EXTENSION",52:"COMPOSITION",53:"DEPENDENCY",54:"LINE",55:"DOTTED_LINE",56:"CALLBACK",57:"LINK",58:"LINK_TARGET",59:"CLICK",60:"CALLBACK_NAME",61:"CALLBACK_ARGS",62:"HREF",63:"CSSCLASS",66:"graphCodeTokens",68:"TAGSTART",69:"TAGEND",70:"==",71:"--",72:"PCT",73:"DEFAULT",74:"SPACE",75:"MINUS",76:"keywords",77:"UNICODE_TEXT",78:"NUM",79:"ALPHA",80:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[23,1],[23,2],[23,3],[26,1],[26,1],[26,2],[26,2],[26,2],[25,1],[25,2],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[32,2],[32,4],[32,5],[32,7],[34,4],[40,1],[40,2],[33,1],[33,2],[33,1],[33,1],[30,3],[30,4],[30,4],[30,5],[46,3],[46,2],[46,2],[46,1],[48,1],[48,1],[48,1],[48,1],[49,1],[49,1],[35,3],[35,4],[35,3],[35,4],[35,4],[35,5],[35,3],[35,4],[35,4],[35,5],[35,3],[35,4],[35,4],[35,5],[36,3],[64,1],[64,1],[65,1],[65,1],[65,1],[65,1],[65,1],[65,1],[65,1],[67,1],[67,1],[67,1],[67,1],[27,1],[27,1],[27,1],[28,1]],performAction:function(Vt,ae,ht,le,Bt,te,jt){var Pt=te.length-1;switch(Bt){case 4:le.setDirection("TB");break;case 5:le.setDirection("BT");break;case 6:le.setDirection("RL");break;case 7:le.setDirection("LR");break;case 11:le.parseDirective("%%{","open_directive");break;case 12:le.parseDirective(te[Pt],"type_directive");break;case 13:te[Pt]=te[Pt].trim().replace(/'/g,'"'),le.parseDirective(te[Pt],"arg_directive");break;case 14:le.parseDirective("}%%","close_directive","class");break;case 19:case 20:this.$=te[Pt];break;case 21:this.$=te[Pt-1]+te[Pt];break;case 22:case 23:this.$=te[Pt-1]+"~"+te[Pt];break;case 24:le.addRelation(te[Pt]);break;case 25:te[Pt-1].title=le.cleanupLabel(te[Pt]),le.addRelation(te[Pt-1]);break;case 33:le.addClass(te[Pt]);break;case 34:le.addClass(te[Pt-2]),le.setCssClass(te[Pt-2],te[Pt]);break;case 35:le.addClass(te[Pt-3]),le.addMembers(te[Pt-3],te[Pt-1]);break;case 36:le.addClass(te[Pt-5]),le.setCssClass(te[Pt-5],te[Pt-3]),le.addMembers(te[Pt-5],te[Pt-1]);break;case 37:le.addAnnotation(te[Pt],te[Pt-2]);break;case 38:this.$=[te[Pt]];break;case 39:te[Pt].push(te[Pt-1]),this.$=te[Pt];break;case 40:case 42:case 43:break;case 41:le.addMember(te[Pt-1],le.cleanupLabel(te[Pt]));break;case 44:this.$={id1:te[Pt-2],id2:te[Pt],relation:te[Pt-1],relationTitle1:"none",relationTitle2:"none"};break;case 45:this.$={id1:te[Pt-3],id2:te[Pt],relation:te[Pt-1],relationTitle1:te[Pt-2],relationTitle2:"none"};break;case 46:this.$={id1:te[Pt-3],id2:te[Pt],relation:te[Pt-2],relationTitle1:"none",relationTitle2:te[Pt-1]};break;case 47:this.$={id1:te[Pt-4],id2:te[Pt],relation:te[Pt-2],relationTitle1:te[Pt-3],relationTitle2:te[Pt-1]};break;case 48:this.$={type1:te[Pt-2],type2:te[Pt],lineType:te[Pt-1]};break;case 49:this.$={type1:"none",type2:te[Pt],lineType:te[Pt-1]};break;case 50:this.$={type1:te[Pt-1],type2:"none",lineType:te[Pt]};break;case 51:this.$={type1:"none",type2:"none",lineType:te[Pt]};break;case 52:this.$=le.relationType.AGGREGATION;break;case 53:this.$=le.relationType.EXTENSION;break;case 54:this.$=le.relationType.COMPOSITION;break;case 55:this.$=le.relationType.DEPENDENCY;break;case 56:this.$=le.lineType.LINE;break;case 57:this.$=le.lineType.DOTTED_LINE;break;case 58:case 64:this.$=te[Pt-2],le.setClickEvent(te[Pt-1],te[Pt]);break;case 59:case 65:this.$=te[Pt-3],le.setClickEvent(te[Pt-2],te[Pt-1]),le.setTooltip(te[Pt-2],te[Pt]);break;
1case 60:case 68:this.$=te[Pt-2],le.setLink(te[Pt-1],te[Pt]);break;case 61:case 69:this.$=te[Pt-3],le.setLink(te[Pt-2],te[Pt-1],te[Pt]);break;case 62:case 70:this.$=te[Pt-3],le.setLink(te[Pt-2],te[Pt-1]),le.setTooltip(te[Pt-2],te[Pt]);break;case 63:case 71:this.$=te[Pt-4],le.setLink(te[Pt-3],te[Pt-2],te[Pt]),le.setTooltip(te[Pt-3],te[Pt-1]);break;case 66:this.$=te[Pt-3],le.setClickEvent(te[Pt-2],te[Pt-1],te[Pt]);break;case 67:this.$=te[Pt-4],le.setClickEvent(te[Pt-3],te[Pt-2],te[Pt-1]),le.setTooltip(te[Pt-3],te[Pt]);break;case 72:le.setCssClass(te[Pt-1],te[Pt])}},table:[{3:1,4:2,5:3,6:4,7:y,8:v,9:k,10:E,11:5,12:10,18:F,22:B},{1:[3]},{1:[2,1]},{1:[2,2]},{3:13,4:2,5:3,6:4,7:y,8:v,9:k,10:E,11:5,12:10,18:F,22:B},{1:[2,8]},c(L,[2,4]),c(L,[2,5]),c(L,[2,6]),c(L,[2,7]),{13:14,19:[1,15]},{15:[1,16]},{19:[2,11]},{1:[2,3]},{14:17,16:[1,18],21:J},c([16,21],[2,12]),{5:29,6:28,7:y,8:v,9:k,10:E,12:10,18:F,23:20,25:21,26:30,27:39,28:40,30:22,32:23,33:24,34:25,35:26,36:27,37:j,42:Q,44:W,45:X,56:ot,57:dt,59:at,63:St,77:bt,78:Lt,79:ft,80:rt},{15:[1,45]},{17:46,20:[1,47]},{15:[2,14]},{24:[1,48]},{15:[1,49],24:[2,16]},c(kt,[2,24],{31:[1,50]}),c(kt,[2,26]),c(kt,[2,27]),c(kt,[2,28]),c(kt,[2,29]),c(kt,[2,30]),c(kt,[2,31]),c(kt,[2,32]),c(kt,[2,40],{46:51,48:54,49:55,31:[1,53],47:[1,52],50:Nt,51:Yt,52:yt,53:Ct,54:Gt,55:Ot}),{26:62,27:39,28:40,77:bt,78:Lt,79:ft,80:rt},c(kt,[2,42]),c(kt,[2,43]),{27:63,77:bt,78:Lt,79:ft},{26:64,27:39,28:40,77:bt,78:Lt,79:ft,80:rt},{26:65,27:39,28:40,77:bt,78:Lt,79:ft,80:rt},{26:66,27:39,28:40,77:bt,78:Lt,79:ft,80:rt},{47:[1,67]},c(ke,[2,19],{27:39,28:40,26:68,29:[1,69],77:bt,78:Lt,79:ft,80:rt}),c(ke,[2,20],{29:[1,70]}),c(be,[2,86]),c(be,[2,87]),c(be,[2,88]),c([15,24,29,31,38,39,47,50,51,52,53,54,55,60,62],[2,89]),c(Te,[2,9]),{14:71,21:J},{21:[2,13]},{1:[2,15]},{5:29,6:28,7:y,8:v,9:k,10:E,12:10,18:F,23:72,24:[2,17],25:21,26:30,27:39,28:40,30:22,32:23,33:24,34:25,35:26,36:27,37:j,42:Q,44:W,45:X,56:ot,57:dt,59:at,63:St,77:bt,78:Lt,79:ft,80:rt},c(kt,[2,25]),{26:73,27:39,28:40,47:[1,74],77:bt,78:Lt,79:ft,80:rt},{46:75,48:54,49:55,50:Nt,51:Yt,52:yt,53:Ct,54:Gt,55:Ot},c(kt,[2,41]),{49:76,54:Gt,55:Ot},c(Rt,[2,51],{48:77,50:Nt,51:Yt,52:yt,53:Ct}),c(ee,[2,52]),c(ee,[2,53]),c(ee,[2,54]),c(ee,[2,55]),c(pe,[2,56]),c(pe,[2,57]),c(kt,[2,33],{38:[1,78],39:[1,79]}),{43:[1,80]},{47:[1,81]},{47:[1,82]},{60:[1,83],62:[1,84]},{27:85,77:bt,78:Lt,79:ft},c(ke,[2,21]),c(ke,[2,22]),c(ke,[2,23]),{15:[1,86]},{24:[2,18]},c(ve,[2,44]),{26:87,27:39,28:40,77:bt,78:Lt,79:ft,80:rt},{26:88,27:39,28:40,47:[1,89],77:bt,78:Lt,79:ft,80:rt},c(Rt,[2,50],{48:90,50:Nt,51:Yt,52:yt,53:Ct}),c(Rt,[2,49]),{27:91,77:bt,78:Lt,79:ft},{40:92,44:De},{26:94,27:39,28:40,77:bt,78:Lt,79:ft,80:rt},c(kt,[2,58],{47:[1,95]}),c(kt,[2,60],{47:[1,97],58:[1,96]}),c(kt,[2,64],{47:[1,98],61:[1,99]}),c(kt,[2,68],{47:[1,101],58:[1,100]}),c(kt,[2,72]),c(Te,[2,10]),c(ve,[2,46]),c(ve,[2,45]),{26:102,27:39,28:40,77:bt,78:Lt,79:ft,80:rt},c(Rt,[2,48]),c(kt,[2,34],{39:[1,103]}),{41:[1,104]},{40:105,41:[2,38],44:De},c(kt,[2,37]),c(kt,[2,59]),c(kt,[2,61]),c(kt,[2,62],{58:[1,106]}),c(kt,[2,65]),c(kt,[2,66],{47:[1,107]}),c(kt,[2,69]),c(kt,[2,70],{58:[1,108]}),c(ve,[2,47]),{40:109,44:De},c(kt,[2,35]),{41:[2,39]},c(kt,[2,63]),c(kt,[2,67]),c(kt,[2,71]),{41:[1,110]},c(kt,[2,36])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],12:[2,11],13:[2,3],19:[2,14],47:[2,13],48:[2,15],72:[2,18],105:[2,39]},parseError:function(Vt,ae){if(!ae.recoverable){var ht=new Error(Vt);throw ht.hash=ae,ht}this.trace(Vt)},parse:function(Vt){var ae=this,ht=[0],le=[],Bt=[null],te=[],jt=this.table,Pt="",de=0,un=0,Ae=0,Pe=2,Tn=1,an=te.slice.call(arguments,1),Qe=Object.create(this.lexer),Oe={yy:{}};for(var dn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dn)&&(Oe.yy[dn]=this.yy[dn]);Qe.setInput(Vt,Oe.yy),Oe.yy.lexer=Qe,Oe.yy.parser=this,void 0===Qe.yylloc&&(Qe.yylloc={});var We=Qe.yylloc;te.push(We);var sn=Qe.options&&Qe.options.ranges;function cn(){var Un;return"number"!=typeof(Un=le.pop()||Qe.lex()||Tn)&&(Un instanceof Array&&(Un=(le=Un).pop()),Un=ae.symbols_[Un]||Un),Un}this.parseError="function"==typeof Oe.yy.parseError?Oe.yy.parseError:Object.getPrototypeOf(this).parseError;for(var Ve,Wn,Be,pn,En,zi,In,xn,Dn={};;){if(this.defaultActions[Be=ht[ht.length-1]]?pn=this.defaultActions[Be]:(null==Ve&&(Ve=cn()),pn=jt[Be]&&jt[Be][Ve]),void 0===pn||!pn.length||!pn[0]){var ln="";for(zi in xn=[],jt[Be])this.terminals_[zi]&&zi>Pe&&xn.push("'"+this.terminals_[zi]+"'");ln=Qe.showPosition?"Parse error on line "+(de+1)+":\n"+Qe.showPosition()+"\nExpecting "+xn.join(", ")+", got '"+(this.terminals_[Ve]||Ve)+"'":"Parse error on line "+(de+1)+": Unexpected "+(Ve==Tn?"end of input":"'"+(this.terminals_[Ve]||Ve)+"'"),this.parseError(ln,{text:Qe.match,token:this.terminals_[Ve]||Ve,line:Qe.yylineno,loc:We,expected:xn})}if(pn[0]instanceof Array&&pn.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Be+", token: "+Ve);switch(pn[0]){case 1:ht.push(Ve),Bt.push(Qe.yytext),te.push(Qe.yylloc),ht.push(pn[1]),Ve=null,Wn?(Ve=Wn,Wn=null):(un=Qe.yyleng,Pt=Qe.yytext,de
vendor: 4,740 bytes, line 1
1=Qe.yylineno,We=Qe.yylloc,Ae>0&&Ae--);break;case 2:if(Dn.$=Bt[Bt.length-(In=this.productions_[pn[1]][1])],Dn._$={first_line:te[te.length-(In||1)].first_line,last_line:te[te.length-1].last_line,first_column:te[te.length-(In||1)].first_column,last_column:te[te.length-1].last_column},sn&&(Dn._$.range=[te[te.length-(In||1)].range[0],te[te.length-1].range[1]]),void 0!==(En=this.performAction.apply(Dn,[Pt,un,de,Oe.yy,pn[1],Bt,te].concat(an))))return En;In&&(ht=ht.slice(0,-1*In*2),Bt=Bt.slice(0,-1*In),te=te.slice(0,-1*In)),ht.push(this.productions_[pn[1]][0]),Bt.push(Dn.$),te.push(Dn._$),ht.push(jt[ht[ht.length-2]][ht[ht.length-1]]);break;case 3:return!0}}return!0}};function xe(){this.yy={}}return Jt.lexer={EOF:1,parseError:function(Vt,ae){if(!this.yy.parser)throw new Error(Vt);this.yy.parser.parseError(Vt,ae)},setInput:function(Vt,ae){return this.yy=ae||this.yy||{},this._input=Vt,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},input:function(){var Vt=this._input[0];return this.yytext+=Vt,this.yyleng++,this.offset++,this.match+=Vt,this.matched+=Vt,Vt.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),Vt},unput:function(Vt){var ae=Vt.length,ht=Vt.split(/(?:\r\n?|\n)/g);this._input=Vt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ae),this.offset-=ae;var le=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),ht.length-1&&(this.yylineno-=ht.length-1);var Bt=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:ht?(ht.length===le.length?this.yylloc.first_column:0)+le[le.length-ht.length].length-ht[0].length:this.yylloc.first_column-ae},this.options.ranges&&(this.yylloc.range=[Bt[0],Bt[0]+this.yyleng-ae]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(Vt){this.unput(this.match.slice(Vt))},pastInput:function(){var Vt=this.matched.substr(0,this.matched.length-this.match.length);return(Vt.length>20?"...":"")+Vt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Vt=this.match;return Vt.length<20&&(Vt+=this._input.substr(0,20-Vt.length)),(Vt.substr(0,20)+(Vt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Vt=this.pastInput(),ae=new Array(Vt.length+1).join("-");return Vt+this.upcomingInput()+"\n"+ae+"^"},test_match:function(Vt,ae){var ht,le,Bt;if(this.options.backtrack_lexer&&(Bt={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&&(Bt.yylloc.range=this.yylloc.range.slice(0))),(le=Vt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=le.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:le?le[le.length-1].length-le[le.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Vt[0].length},this.yytext+=Vt[0],this.match+=Vt[0],this.matches=Vt,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(Vt[0].length),this.matched+=Vt[0],ht=this.performAction.call(this,this.yy,this,ae,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),ht)return ht;if(this._backtrack){for(var te in Bt)this[te]=Bt[te];return!1}return!1},next:function(){if(this.done)return this.EOF;var Vt,ae,ht,le;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Bt=this._currentRules(),te=0;te<Bt.length;te++)if((ht=this._input.match(this.rules[Bt[te]]))&&(!ae||ht[0].length>ae[0].length)){if(ae=ht,le=te,this.options.backtrack_lexer){if(!1!==(Vt=this.test_match(ht,Bt[te]))
1)return Vt;if(this._backtrack){ae=!1;continue}return!1}if(!this.options.flex)break}return ae?!1!==(Vt=this.test_match(ae,Bt[le]))&&Vt:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Vt){this.conditionStack.push(Vt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Vt){return(Vt=this.conditionStack.length-1-Math.abs(Vt||0))>=0?this.conditionStack[Vt]:"INITIAL"},pushState:function(Vt){this.begin(Vt)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(Vt,ae,ht,le){switch(ht){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:case 10:case 12:case 19:break;case 11:return 15;case 13:case 14:return 22;case 15:return this.begin("struct"),39;case 16:return"EOF_IN_STRUCT";case 17:return"OPEN_IN_STRUCT";case 18:return this.popState(),41;case 20:return"MEMBER";case 21:return 37;case 22:return 63;case 23:return 56;case 24:return 57;case 25:return 59;case 26:return 42;case 27:return 43;case 28:this.begin("generic");break;case 29:case 32:case 35:case 38:case 41:case 44:this.popState();break;case 30:return"GENERICTYPE";case 31:this.begin("string");break;case 33:return"STR";case 34:this.begin("bqstring");break;case 36:return"BQUOTE_STR";case 37:this.begin("href");break;case 39:return 62;case 40:this.begin("callback_name");break;case 42:this.popState(),this.begin("callback_args");break;case 43:return 60;case 45:return 61;case 46:case 47:case 48:case 49:return 58;case 50:case 51:return 51;case 52:case 53:return 53;case 54:return 52;case 55:return 50;case 56:return 54;case 57:return 55;case 58:return 31;case 59:return 38;case 60:return 75;case 61:return"DOT";case 62:return"PLUS";case 63:return 72;case 64:case 65:return"EQUALS";case 66:return 79;case 67:return"PUNCTUATION";case 68:return 78;case 69:return 77;case 70:return 74;case 71:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D
1]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[44,45],inclusive:!1},callback_name:{rules:[41,42,43],inclusive:!1},href:{rules:[38,39],inclusive:!1},struct:{rules:[16,17,18,19,20],inclusive:!1},generic:{rules:[29,30],inclusive:!1},bqstring:{rules:[35,36],inclusive:!1},string:{rules:[32,33],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,12,13,14,15,21,22,23,24,25,26,27,28,31,34,37,40,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71],inclusive:!0}}},xe.prototype=Jt,Jt.Parser=xe,new xe}();b.parser=d,b.Parser=d.Parser,b.parse=function(){return d.parse.apply(d,arguments)},b.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=i(8218).readFileSync(i(6470).normalize(c[1]),"utf8");return b.parser.parse(y)},i.c[i.s]===s&&b.main(process.argv.slice(1))},5890:(s,b,i)=>{s=i.nmd(s);var d=function(){var c=function(ft,rt,kt,Nt){for(kt=kt||{},Nt=ft.length;Nt--;kt[ft[Nt]]=rt);return kt},y=[1,2],v=[1,5],k=[6,9,11,23,41],E=[1,17],F=[1,20],B=[1,25],L=[1,26],J=[1,27],j=[1,28],Q=[1,37],W=[23,38,39],X=[4,6,9,11,23,41],ot=[34,35,36,37],dt=[22,29],at=[1,55],St={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,ALPHANUM:23,attribute:24,attributeType:25,attributeName:26,attributeKeyType:27,attributeComment:28,ATTRIBUTE_WORD:29,ATTRIBUTE_KEY:30,COMMENT:31,cardinality:32,relType:33,ZERO_OR_ONE:34,ZERO_OR_MORE:35,ONE_OR_MORE:36,ONLY_ONE:37,NON_IDENTIFYING:38,IDENTIFYING:39,WORD:40,open_directive:41,type_directive:42,arg_directive:43,close_directive:44,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"ALPHANUM",29:"ATTRIBUTE_WORD",30:"ATTRIBUTE_KEY",31:"COMMENT",34:"ZERO_OR_ONE",35:"ZERO_OR_MORE",36:"ONE_OR_MORE",37:"ONLY_ONE",38:"NON_IDENTIFYING",39:"IDENTIFYING",40:"WORD",41:"open_directive",42:"type_directive",43:"arg_directive",44:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[17,1],[21,1],[21,2],[24,2],[24,3],[24,3],[24,4],[25,1],[26,1],[27,1],[28,1],[18,3],[32,1],[32,1],[32,1],[32,1],[33,1],[33,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(ft,rt,kt,Nt,Yt,yt,Ct){var Gt=yt.length-1;switch(Yt){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:yt[Gt-1].push(yt[Gt]),this.$=yt[Gt-1];break;
1case 5:case 6:case 16:case 23:case 24:case 25:case 35:this.$=yt[Gt];break;case 12:Nt.addEntity(yt[Gt-4]),Nt.addEntity(yt[Gt-2]),Nt.addRelationship(yt[Gt-4],yt[Gt],yt[Gt-2],yt[Gt-3]);break;case 13:Nt.addEntity(yt[Gt-3]),Nt.addAttributes(yt[Gt-3],yt[Gt-1]);break;case 14:Nt.addEntity(yt[Gt-2]);break;case 15:Nt.addEntity(yt[Gt]);break;case 17:this.$=[yt[Gt]];break;case 18:yt[Gt].push(yt[Gt-1]),this.$=yt[Gt];break;case 19:this.$={attributeType:yt[Gt-1],attributeName:yt[Gt]};break;case 20:this.$={attributeType:yt[Gt-2],attributeName:yt[Gt-1],attributeKeyType:yt[Gt]};break;case 21:this.$={attributeType:yt[Gt-2],attributeName:yt[Gt-1],attributeComment:yt[Gt]};break;case 22:this.$={attributeType:yt[Gt-3],attributeName:yt[Gt-2],attributeKeyType:yt[Gt-1],attributeComment:yt[Gt]};break;case 26:case 34:this.$=yt[Gt].replace(/"/g,"");break;case 27:this.$={cardA:yt[Gt],relType:yt[Gt-1],cardB:yt[Gt-2]};break;case 28:this.$=Nt.Cardinality.ZERO_OR_ONE;break;case 29:this.$=Nt.Cardinality.ZERO_OR_MORE;break;case 30:this.$=Nt.Cardinality.ONE_OR_MORE;break;case 31:this.$=Nt.Cardinality.ONLY_ONE;break;case 32:this.$=Nt.Identification.NON_IDENTIFYING;break;case 33:this.$=Nt.Identification.IDENTIFYING;break;case 36:Nt.parseDirective("%%{","open_directive");break;case 37:Nt.parseDirective(yt[Gt],"type_directive");break;case 38:yt[Gt]=yt[Gt].trim().replace(/'/g,'"'),Nt.parseDirective(yt[Gt],"arg_directive");break;case 39:Nt.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:y,7:3,12:4,41:v},{1:[3]},c(k,[2,3],{5:6}),{3:7,4:y,7:3,12:4,41:v},{13:8,42:[1,9]},{42:[2,36]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:E,41:v},{1:[2,2]},{14:18,15:[1,19],44:F},c([15,44],[2,37]),c(k,[2,8],{1:[2,1]}),c(k,[2,4]),{7:15,10:21,12:4,17:16,23:E,41:v},c(k,[2,6]),c(k,[2,7]),c(k,[2,11]),c(k,[2,15],{18:22,32:24,20:[1,23],34:B,35:L,36:J,37:j}),c([6,9,11,15,20,23,34,35,36,37,41],[2,16]),{11:[1,29]},{16:30,43:[1,31]},{11:[2,39]},c(k,[2,5]),{17:32,23:E},{21:33,22:[1,34],24:35,25:36,29:Q},{33:38,38:[1,39],39:[1,40]},c(W,[2,28]),c(W,[2,29]),c(W,[2,30]),c(W,[2,31]),c(X,[2,9]),{14:41,44:F},{44:[2,38]},{15:[1,42]},{22:[1,43]},c(k,[2,14]),{21:44,22:[2,17],24:35,25:36,29:Q},{26:45,29:[1,46]},{29:[2,23]},{32:47,34:B,35:L,36:J,37:j},c(ot,[2,32]),c(ot,[2,33]),{11:[1,48]},{19:49,23:[1,51],40:[1,50]},c(k,[2,13]),{22:[2,18]},c(dt,[2,19],{27:52,28:53,30:[1,54],31:at}),c([22,29,30,31],[2,24]),{23:[2,27]},c(X,[2,10]),c(k,[2,12]),c(k,[2,34]),c(k,[2,35]),c(dt,[2,20],{28:56,31:at}),c(dt,[2,21]),c([22,29,31],[2,25]),c(dt,[2,26]),c(dt,[2,22])],defaultActions:{5:[2,36],7:[2,2],20:[2,39],31:[2,38],37:[2,23],44:[2,18],47:[2,27]},parseError:function(ft,rt){if(!rt.recoverable){var kt=new Error(ft);throw kt.hash=rt,kt}this.trace(ft)},parse:function(ft){var rt=this,kt=[0],Nt=[],Yt=[null],yt=[],Ct=this.table,Gt="",Ot=0,ke=0,be=0,Te=2,Rt=1,ee=yt.slice.call(arguments,1),pe=Object.create(this.lexer),ve={yy:{}};for(var De in this.yy)Object.prototype.hasOwnProperty.call(this.yy,De)&&(ve.yy[De]=this.yy[De]);pe.setInput(ft,ve.yy),ve.yy.lexer=pe,ve.yy.parser=this,void 0===pe.yylloc&&(pe.yylloc={});var Jt=pe.yylloc;yt.push(Jt);var nn=pe.options&&pe.options.ranges;function xe(){var Pe;return"number"!=typeof(Pe=Nt.pop()||pe.lex()||Rt)&&(Pe instanceof Array&&(Pe=(Nt=Pe).pop()),Pe=rt.symbols_[Pe]||Pe),Pe}this.parseError="function"==typeof ve.yy.parseError?ve.yy.parseError:Object.getPrototypeOf(this).parseError;for(var Vt,ae,ht,le,Bt,te,jt,de,un={};;){if(this.defaultActions[ht=kt[kt.length-1]]?le=this.defaultActions[ht]:(null==Vt&&(Vt=xe()),le=Ct[ht]&&Ct[ht][Vt]),void 0===le||!le.length||!le[0]){var Ae="";for(te in de=[],Ct[ht])this.terminals_[te]&&te>Te&&de.push("'"+this.terminals_[te]+"'");Ae=pe.showPosition?"Parse error on line "+(Ot+1)+":\n"+pe.showPosition()+"\nExpecting "+de.join(", ")+", got '"+(this.terminals_[Vt]||Vt)+"'":"Parse error on line "+(Ot+1)+": Unexpected "+(Vt==Rt?"end of input":"'"+(this.terminals_[Vt]||Vt)+"'"),this.parseError(Ae,{text:pe.match,token:this.terminals_[Vt]||Vt,line:pe.yylineno,loc:Jt,expected:de})}if(le[0]instanceof Array&&le.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ht+", token: "+Vt);switch(le[0]){case 1:kt.push(Vt),Yt.push(pe.yytext),yt.push(pe.yylloc),kt.push(le[1]),Vt=null,ae?(Vt=ae,ae=null):(ke=pe.yyleng,Gt=pe.yytext,Ot=pe.yylineno,Jt=pe.yylloc,be>0&&be--);break;case 2:if(un.$=Yt[Yt.length-(jt=this.productions_[le[1]][1])],un._$={first_line:yt[yt.length-(jt||1)].first_line,last_line:yt[yt.length-1].last_line,first_column:yt[yt.length-(jt||1)].first_column,last_column:yt[yt.length-1].last_column},nn&&(un._$.range=[yt[yt.length-(jt||1)].range[0],yt[yt.length-1].range[1]]),void 0!==(Bt=this.performAction.apply(un,[Gt,ke,Ot,ve.yy,le[1],Yt,yt].concat(ee))))return Bt;jt&&(kt=kt.slice(0,-1*jt*2),Yt=Yt.slice(0,-1*jt),yt=yt.slice(0,-1*jt)),kt.push(this.productions_[le[1]][0]),Yt.pu
vendor: 5,414 bytes, line 1
1sh(un.$),yt.push(un._$),kt.push(Ct[kt[kt.length-2]][kt[kt.length-1]]);break;case 3:return!0}}return!0}};function Lt(){this.yy={}}return St.lexer={EOF:1,parseError:function(ft,rt){if(!this.yy.parser)throw new Error(ft);this.yy.parser.parseError(ft,rt)},setInput:function(ft,rt){return this.yy=rt||this.yy||{},this._input=ft,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},input:function(){var ft=this._input[0];return this.yytext+=ft,this.yyleng++,this.offset++,this.match+=ft,this.matched+=ft,ft.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),ft},unput:function(ft){var rt=ft.length,kt=ft.split(/(?:\r\n?|\n)/g);this._input=ft+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-rt),this.offset-=rt;var Nt=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),kt.length-1&&(this.yylineno-=kt.length-1);var Yt=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:kt?(kt.length===Nt.length?this.yylloc.first_column:0)+Nt[Nt.length-kt.length].length-kt[0].length:this.yylloc.first_column-rt},this.options.ranges&&(this.yylloc.range=[Yt[0],Yt[0]+this.yyleng-rt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(ft){this.unput(this.match.slice(ft))},pastInput:function(){var ft=this.matched.substr(0,this.matched.length-this.match.length);return(ft.length>20?"...":"")+ft.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ft=this.match;return ft.length<20&&(ft+=this._input.substr(0,20-ft.length)),(ft.substr(0,20)+(ft.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ft=this.pastInput(),rt=new Array(ft.length+1).join("-");return ft+this.upcomingInput()+"\n"+rt+"^"},test_match:function(ft,rt){var kt,Nt,Yt;if(this.options.backtrack_lexer&&(Yt={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&&(Yt.yylloc.range=this.yylloc.range.slice(0))),(Nt=ft[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Nt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Nt?Nt[Nt.length-1].length-Nt[Nt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ft[0].length},this.yytext+=ft[0],this.match+=ft[0],this.matches=ft,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(ft[0].length),this.matched+=ft[0],kt=this.performAction.call(this,this.yy,this,rt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),kt)return kt;if(this._backtrack){for(var yt in Yt)this[yt]=Yt[yt];return!1}return!1},next:function(){if(this.done)return this.EOF;var ft,rt,kt,Nt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Yt=this._currentRules(),yt=0;yt<Yt.length;yt++)if((kt=this._input.match(this.rules[Yt[yt]]))&&(!rt||kt[0].length>rt[0].length)){if(rt=kt,Nt=yt,this.options.backtrack_lexer){if(!1!==(ft=this.test_match(kt,Yt[yt])))return ft;if(this._backtrack){rt=!1;continue}return!1}if(!this.options.flex)break}return rt?!1!==(ft=this.test_match(rt,Yt[Nt]))&&ft:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(ft){this.conditionStack.push(ft)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(ft){return(ft=this.conditionStack.length-1-Math.abs(ft||0))>=0?this.conditionStack[ft]:"INITIAL"},pushState:function(ft){this.begin(ft)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(ft,rt,kt,Nt){switch(kt){case 0:return this.begin("open_directive"),41;case 1:return this.begin("type_directive"),42;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),44;case 4:return 43;
1case 5:case 6:case 8:case 13:case 17:break;case 7:return 11;case 9:return 9;case 10:return 40;case 11:return 4;case 12:return this.begin("block"),20;case 14:return 30;case 15:return 29;case 16:return 31;case 18:return this.popState(),22;case 19:case 32:return rt.yytext[0];case 20:case 24:return 34;case 21:case 25:return 35;case 22:case 26:return 36;case 23:return 37;case 27:case 29:case 30:return 38;case 28:return 39;case 31:return 23;case 33:return 6}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:\s+)/i,/^(?:(?:PK)|(?:FK))/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\|o\b)/i,/^(?:\}o\b)/i,/^(?:\}\|)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},block:{rules:[13,14,15,16,17,18,19],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,20,21,22,23,24,25,26,27,28,29,30,31,32,33],inclusive:!0}}},Lt.prototype=St,St.Parser=Lt,new Lt}();b.parser=d,b.Parser=d.Parser,b.parse=function(){return d.parse.apply(d,arguments)},b.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=i(8009).readFileSync(i(6470).normalize(c[1]),"utf8");return b.parser.parse(y)},i.c[i.s]===s&&b.main(process.argv.slice(1))},3602:(s,b,i)=>{s=i.nmd(s);var d=function(){var c=function(gn,ci,Bn,$e){for(Bn=Bn||{},$e=gn.length;$e--;Bn[gn[$e]]=ci);return Bn},y=[1,9],v=[1,7],k=[1,6],E=[1,8],F=[1,20,21,22,23,38,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],B=[2,10],L=[1,20],J=[1,21],j=[1,22],Q=[1,23],W=[1,30],X=[1,59],ot=[1,45],dt=[1,49],at=[1,33],St=[1,34],bt=[1,35],Lt=[1,36],ft=[1,37],rt=[1,53],kt=[1,60],Nt=[1,48],Yt=[1,50],yt=[1,52],Ct=[1,56],Gt=[1,57],Ot=[1,38],ke=[1,39],be=[1,40],Te=[1,41],Rt=[1,58],ee=[1,47],pe=[1,51],ve=[1,54],De=[1,55],Jt=[1,46],nn=[1,63],xe=[1,68],Vt=[1,20,21,22,23,38,42,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],ae=[1,72],ht=[1,71],le=[1,73],Bt=[20,21,23,74,75],te=[1,94],jt=[1,99],Pt=[1,102],de=[1,103],un=[1,96],Ae=[1,101],Pe=[1,104],Tn=[1,97],an=[1,109],Qe=[1,108],Oe=[1,98],dn=[1,100],We=[1,105],sn=[1,106],cn=[1,107],Ve=[1,110],Wn=[20,21,22,23,74,75],Be=[20,21,22,23,48,74,75],pn=[20,21,22,23,40,47,48,50,52,54,56,58,59,60,62,64,66,67,69,74,75,84,88,98,99,102,104,105,115,116,117,118,119,120],En=[20,21,23],zi=[20,21,23,47,59,60,74,75,84,88,98,99,102,104,105,115,116,117,118,119,120],In=[1,12,20,21,22,23,24,38,42,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],_i=[47,59,60,84,88,98,99,102,104,105,115,116,117,118,119,120],xn=[1,143],Dn=[1,151],ln=[1,152],Un=[1,153],Mn=[1,154],Xn=[1,138],ti=[1,139],$i=[1,135],Nn=[1,146],ii=[1,147],Gn=[1,148],ai=[1,149],si=[1,150],pi=[1,155],Rn=[1,156],$n=[1,141],bn=[1,144],zn=[1,140],An=[1,137],Ar=[20,21,22,23,38,42,47,59,60,79,80,81,82,83,84,88,98,99,102,104,105,111,112,113,114,115,116,117,118,119,120],Ni=[1,159],go=[20,21,22,23,26,47,59,60,84,98,99,102,104,105,115,116,117,118,119,120],jn=[20,21,22,23,24,26,38,40,41,42,47,51,53,55,57,59,60,61,63,65,66,68,70,74,75,79,80,81,82,83,84,85,88,98,99,102,104,105,106,107,115,116,117,118,119,120],es=[12,21,22,24],qo=[22,99],Er=[1,242],Ki=[1,237],er=[1,238],pr=[1,246],xr=[1,243],ji=[1,240],br=[1,239],Wi=[1,241],oo=[1,244],Lr=[1,245],yi=[1,247],hr=[1,265],Vo=[20,21,23,99],wr=[20,21,22,23,59,60,79,95,98,99,102,103,104,105,106],Qo={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,link:44,node:45,vertex:46,AMP:47,STYLE_SEPARATOR:48,idString:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,ALPHA:59,COLON:60,PIPE:61,CYLINDERSTART:62,CYLINDEREND:63,DIAMOND_START:64,DIAMOND_STOP:65,TAGEND:66,TRAPSTART:67,TRAPEND:68,INVTRAPSTART:69,INVTRAPEND:70,linkStatement:71,arrowText:72,TESTSTR:73,START_LINK:74,LINK:75,textToken:76,STR:77,keywords:78,STYLE:79,LINKSTYLE:80,CLASSDEF:81,CLASS:82,CLICK:83,DOWN:84,UP:85,textNoTags:86,textNoTagsToken:87,DEFAULT:88,stylesOpt:89,alphaNum:90,CALLBACKNAME:91,CALLBACKARGS:92,HREF:93,LINK_TARGET:94,HEX:95,numList:96,INTERPOLATE:97,NUM:98,COMMA:99,style:100,styleComponent:101,MINUS:102,UNIT:103,BRKT:104,DOT:105,PCT:106,TAGSTART:107,alphaNumToken:108,idStringToken:109,alphaNumStatement:110,direction_tb:111,direction_bt:112,direction_rl:113,direction_lr:114,PUNCTUATION:115,UNICODE_TEXT:116,PLUS:117,EQUALS:118,MULT:119,UNDERSCORE:120,graphCodeTokens:121,ARROW_CROSS:122,ARROW_POINT:123,ARROW_CIRCLE:124,ARROW_OPEN:125,QUOTE:126,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",47:"AMP",48:"STYLE_SEPARATOR",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"ALPHA",60:"COLON",61:"PIPE",62:"CYLINDERSTART",63:"CYLINDEREND",64:"DIAMOND_START",65:"DIAMOND_STOP",66:"TAGEND",67:"TRAPSTART",68:"TRAPEND",69:"INVTRAPSTART",70:"INVTRAPEND",73:"TESTSTR",74:"START_LINK",75:"LINK",77:"STR",79:"STYLE",80:"LINKSTYLE",81:"CLASSDEF",82:"CLASS",83:"CLICK",84:"DOWN",85:"UP",88:"DEFAULT",91:"CALLBACKNAME",92:"CALLBACKARGS",93:"HREF",94:"LINK_TARGET",95:"HEX",97:"INTERPOLATE",98:"NUM",99:"COMMA",102:"MINUS",103:"UNIT",104:"BRKT",105:"DOT",106:"PCT",107:"TAGSTART",111:"direction_tb",112:"direction_bt",113:"direction_rl",114:"direction_lr",115:"PUNCTUATION",116:"UNICODE_TEXT",117:"PLUS",118:"EQUALS",119:"MULT",120:"UNDERSCORE",122:"ARROW_CROSS",123:"ARROW_POINT",124:"ARROW_CIRCLE",125:"ARROW_OPEN",126:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[45,1],[45,5],[45,3],[46,4],[46,6],[46,4],[46,4],[46,4],[46,8],[46,4],[46,4],[46,4],[46,6],[46,4],[46,4],[46,4],[46,4],[46,4],[46,1],[44,2],[44,3],[44,3],[44,1],[44,3],[71,1],[72,3],[39,1],[39,2],[39,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[86,1],[86,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[96,1],[96,3],[89,1],[89,3],[100,1],[100,2],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[101,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[87,1],[87,1],[87,1],[87,1],[49,1],[49,2],[90,1],[90,2],[110,1],[110,1],[110,1],[110,1],[43,1],[43,1],[43,1],[43,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1]],performAction:function(gn,ci,Bn,$e,li,Tt,gr){var ie=Tt.length-1;switch(li){case 5:$e.parseDirective("%%{","open_directive");break;case 6:$e.parseDirective(Tt[ie],"type_directive");break;case 7:Tt[ie]=Tt[ie].trim().replace(/'/g,'"'),$e.parseDirective(Tt[ie],"arg_directive");break;case 8:$e.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:Tt[ie]!==[]&&Tt[ie-1].push(Tt[ie]),this.$=Tt[ie-1];break;case 12:case 78:case 80:case 92:case 148:case 150:case 151:case 74:case 146:this.$=Tt[ie];break;case 19:$e.setDirection("TB"),this.$="TB";break;case 20:$e.setDirection(Tt[ie-1]),this.$=Tt[ie-1];break;case 35:this.$=Tt[ie-1].nodes;break;case 41:this.$=$e.addSubGraph(Tt[ie-6],Tt[ie-1],Tt[ie-4]);break;case 42:this.$=$e.addSubGraph(Tt[ie-3],Tt[ie-1],Tt[ie-3]);break;case 43:this.$=$e.addSubGraph(void 0,Tt[ie-1],void 0);break;case 48:$e.addLink(Tt[ie-2].stmt,Tt[ie],Tt[ie-1]),this.$={stmt:Tt[ie],nodes:Tt[ie].concat(Tt[ie-2].nodes)};break;case 49:$e.addLink(Tt[ie-3].stmt,Tt[ie-1],Tt[ie-2]),this.$={stmt:Tt[ie-1],nodes:Tt[ie-1].concat(Tt[ie-3].nodes)};break;case 50:this.$={stmt:Tt[ie-1],nodes:Tt[ie-1]};break;case 51:this.$={stmt:Tt[ie],nodes:Tt[ie]};break;case 52:case 119:case 121:this.$=[Tt[ie]];break;case 53:this.$=Tt[ie-4].concat(Tt[ie]);break;case 54:this.$=[Tt[ie-2]],$e.setClass(Tt[ie-2],Tt[ie]);break;case 55:this.$=Tt[ie-3],$e.addVertex(Tt[ie-3],Tt[ie-1],"square");break;
vendor: 4,893 bytes, line 1
1case 56:this.$=Tt[ie-5],$e.addVertex(Tt[ie-5],Tt[ie-2],"circle");break;case 57:this.$=Tt[ie-3],$e.addVertex(Tt[ie-3],Tt[ie-1],"ellipse");break;case 58:this.$=Tt[ie-3],$e.addVertex(Tt[ie-3],Tt[ie-1],"stadium");break;case 59:this.$=Tt[ie-3],$e.addVertex(Tt[ie-3],Tt[ie-1],"subroutine");break;case 60:this.$=Tt[ie-7],$e.addVertex(Tt[ie-7],Tt[ie-1],"rect",void 0,void 0,void 0,Object.fromEntries([[Tt[ie-5],Tt[ie-3]]]));break;case 61:this.$=Tt[ie-3],$e.addVertex(Tt[ie-3],Tt[ie-1],"cylinder");break;case 62:this.$=Tt[ie-3],$e.addVertex(Tt[ie-3],Tt[ie-1],"round");break;case 63:this.$=Tt[ie-3],$e.addVertex(Tt[ie-3],Tt[ie-1],"diamond");break;case 64:this.$=Tt[ie-5],$e.addVertex(Tt[ie-5],Tt[ie-2],"hexagon");break;case 65:this.$=Tt[ie-3],$e.addVertex(Tt[ie-3],Tt[ie-1],"odd");break;case 66:this.$=Tt[ie-3],$e.addVertex(Tt[ie-3],Tt[ie-1],"trapezoid");break;case 67:this.$=Tt[ie-3],$e.addVertex(Tt[ie-3],Tt[ie-1],"inv_trapezoid");break;case 68:this.$=Tt[ie-3],$e.addVertex(Tt[ie-3],Tt[ie-1],"lean_right");break;case 69:this.$=Tt[ie-3],$e.addVertex(Tt[ie-3],Tt[ie-1],"lean_left");break;case 70:this.$=Tt[ie],$e.addVertex(Tt[ie]);break;case 71:Tt[ie-1].text=Tt[ie],this.$=Tt[ie-1];break;case 72:case 73:Tt[ie-2].text=Tt[ie-1],this.$=Tt[ie-2];break;case 75:var ao=$e.destructLink(Tt[ie],Tt[ie-2]);this.$={type:ao.type,stroke:ao.stroke,length:ao.length,text:Tt[ie-1]};break;case 76:ao=$e.destructLink(Tt[ie]),this.$={type:ao.type,stroke:ao.stroke,length:ao.length};break;case 77:this.$=Tt[ie-1];break;case 79:case 93:case 149:case 147:this.$=Tt[ie-1]+""+Tt[ie];break;case 94:case 95:this.$=Tt[ie-4],$e.addClass(Tt[ie-2],Tt[ie]);break;case 96:this.$=Tt[ie-4],$e.setClass(Tt[ie-2],Tt[ie]);break;case 97:case 105:this.$=Tt[ie-1],$e.setClickEvent(Tt[ie-1],Tt[ie]);break;case 98:case 106:this.$=Tt[ie-3],$e.setClickEvent(Tt[ie-3],Tt[ie-2]),$e.setTooltip(Tt[ie-3],Tt[ie]);break;case 99:this.$=Tt[ie-2],$e.setClickEvent(Tt[ie-2],Tt[ie-1],Tt[ie]);break;case 100:this.$=Tt[ie-4],$e.setClickEvent(Tt[ie-4],Tt[ie-3],Tt[ie-2]),$e.setTooltip(Tt[ie-4],Tt[ie]);break;case 101:case 107:this.$=Tt[ie-1],$e.setLink(Tt[ie-1],Tt[ie]);break;case 102:case 108:this.$=Tt[ie-3],$e.setLink(Tt[ie-3],Tt[ie-2]),$e.setTooltip(Tt[ie-3],Tt[ie]);break;case 103:case 109:this.$=Tt[ie-3],$e.setLink(Tt[ie-3],Tt[ie-2],Tt[ie]);break;case 104:case 110:this.$=Tt[ie-5],$e.setLink(Tt[ie-5],Tt[ie-4],Tt[ie]),$e.setTooltip(Tt[ie-5],Tt[ie-2]);break;case 111:this.$=Tt[ie-4],$e.addVertex(Tt[ie-2],void 0,void 0,Tt[ie]);break;case 112:case 114:this.$=Tt[ie-4],$e.updateLink(Tt[ie-2],Tt[ie]);break;case 113:this.$=Tt[ie-4],$e.updateLink([Tt[ie-2]],Tt[ie]);break;case 115:this.$=Tt[ie-8],$e.updateLinkInterpolate([Tt[ie-6]],Tt[ie-2]),$e.updateLink([Tt[ie-6]],Tt[ie]);break;case 116:this.$=Tt[ie-8],$e.updateLinkInterpolate(Tt[ie-6],Tt[ie-2]),$e.updateLink(Tt[ie-6],Tt[ie]);break;case 117:this.$=Tt[ie-6],$e.updateLinkInterpolate([Tt[ie-4]],Tt[ie]);break;case 118:this.$=Tt[ie-6],$e.updateLinkInterpolate(Tt[ie-4],Tt[ie]);break;case 120:case 122:Tt[ie-2].push(Tt[ie]),this.$=Tt[ie-2];break;case 124:this.$=Tt[ie-1]+Tt[ie];break;case 152:this.$="v";break;case 153:this.$="-";break;case 154:this.$={stmt:"dir",value:"TB"};break;case 155:this.$={stmt:"dir",value:"BT"};break;case 156:this.$={stmt:"dir",value:"RL"};break;case 157:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:y,16:4,21:v,22:k,24:E},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:y,16:4,21:v,22:k,24:E},c(F,B,{17:11}),{7:12,13:[1,13]},{16:14,21:v,22:k,24:E},{16:15,21:v,22:k,24:E},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:L,21:J,22:j,23:Q,32:24,33:25,34:26,35:27,36:28,37:29,38:W,43:31,45:32,46:42,47:X,49:43,59:ot,60:dt,79:at,80:St,81:bt,82:Lt,83:ft,84:rt,88:kt,98:Nt,99:Yt,102:yt,104:Ct,105:Gt,109:44,111:Ot,112:ke,113:be,114:Te,115:Rt,116:ee,117:pe,118:ve,119:De,120:Jt},{8:61,10:[1,62],15:nn},c([10,15],[2,6]),c(F,[2,17]),c(F,[2,18]),c(F,[2,19]),{20:[1,65],21:[1,66],22:xe,27:64,30:67},c(Vt,[2,11]),c(Vt,[2,12]),c(Vt,[2,13]),c(Vt,[2,14]),c(Vt,[2,15]),c(Vt,[2,16]),{9:69,20:ae,21:ht,23:le,44:70,71:74,74:[1,75],75:[1,76]},{9:77,20:ae,21:ht,23:le},{9:78,20:ae,21:ht,23:le},{9:79,20:ae,21:ht,23:le},{9:80,20:ae,21:ht,23:le},{9:81,20:ae,21:ht,23:le},{9:83,20:ae,21:ht,22:[1,82],23:le},c(Vt,[2,44]),c(Bt,[2,51],{30:84,22:xe}),{22:[1,85]},{22:[1,86]},{22:[1,87]},{22:[1,88]},{26:te,47:jt,59:Pt,60:de,77:[1,92],84:un,90:91,91:[1,89],93:[1,90],98:Ae,99:Pe,102:Tn,104:an,105:Qe,108:95,110:93,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c(Vt,[2,154]),c(Vt,[2,155]),c(Vt,[2,156]),c(Vt,[2,157]),c(Wn,[2,52],{48:[1,111]}),c(Be,[2,70],{109:123,40:[1,112],47:X,50:[1,113],52:[1,114],54:[1,115],56:[1,116],58:[1,117],59:ot,60:dt,62:[1,118],64:[1,119],66:[1,120],67:[1,121],69:[1,122],84:rt,88:kt,98:Nt,99:Yt,102:yt,104:Ct,105:Gt,115:Rt,116:ee,117:pe,118:ve,119:De,120:Jt}),c(pn,[2,146]),c(pn,[2,171]),c(pn,[2,172]),c(pn,[2,173]),c(pn,[2,174]),c(pn,[2,175]),c(pn,[2,176
vendor: 13,545 bytes, line 1
1]),c(pn,[2,177]),c(pn,[2,178]),c(pn,[2,179]),c(pn,[2,180]),c(pn,[2,181]),c(pn,[2,182]),c(pn,[2,183]),c(pn,[2,184]),c(pn,[2,185]),c(pn,[2,186]),{9:124,20:ae,21:ht,23:le},{11:125,14:[1,126]},c(En,[2,8]),c(F,[2,20]),c(F,[2,26]),c(F,[2,27]),{21:[1,127]},c(zi,[2,34],{30:128,22:xe}),c(Vt,[2,35]),{45:129,46:42,47:X,49:43,59:ot,60:dt,84:rt,88:kt,98:Nt,99:Yt,102:yt,104:Ct,105:Gt,109:44,115:Rt,116:ee,117:pe,118:ve,119:De,120:Jt},c(In,[2,45]),c(In,[2,46]),c(In,[2,47]),c(_i,[2,74],{72:130,61:[1,132],73:[1,131]}),{22:xn,24:Dn,26:ln,38:Un,39:133,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c([47,59,60,61,73,84,88,98,99,102,104,105,115,116,117,118,119,120],[2,76]),c(Vt,[2,36]),c(Vt,[2,37]),c(Vt,[2,38]),c(Vt,[2,39]),c(Vt,[2,40]),{22:xn,24:Dn,26:ln,38:Un,39:157,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c(Ar,B,{17:158}),c(Bt,[2,50],{47:Ni}),{26:te,47:jt,59:Pt,60:de,84:un,90:160,95:[1,161],98:Ae,99:Pe,102:Tn,104:an,105:Qe,108:95,110:93,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{88:[1,162],96:163,98:[1,164]},{26:te,47:jt,59:Pt,60:de,84:un,88:[1,165],90:166,98:Ae,99:Pe,102:Tn,104:an,105:Qe,108:95,110:93,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{26:te,47:jt,59:Pt,60:de,84:un,90:167,98:Ae,99:Pe,102:Tn,104:an,105:Qe,108:95,110:93,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c(En,[2,97],{22:[1,168],92:[1,169]}),c(En,[2,101],{22:[1,170]}),c(En,[2,105],{108:95,110:172,22:[1,171],26:te,47:jt,59:Pt,60:de,84:un,98:Ae,99:Pe,102:Tn,104:an,105:Qe,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve}),c(En,[2,107],{22:[1,173]}),c(go,[2,148]),c(go,[2,150]),c(go,[2,151]),c(go,[2,152]),c(go,[2,153]),c(jn,[2,158]),c(jn,[2,159]),c(jn,[2,160]),c(jn,[2,161]),c(jn,[2,162]),c(jn,[2,163]),c(jn,[2,164]),c(jn,[2,165]),c(jn,[2,166]),c(jn,[2,167]),c(jn,[2,168]),c(jn,[2,169]),c(jn,[2,170]),{47:X,49:174,59:ot,60:dt,84:rt,88:kt,98:Nt,99:Yt,102:yt,104:Ct,105:Gt,109:44,115:Rt,116:ee,117:pe,118:ve,119:De,120:Jt},{22:xn,24:Dn,26:ln,38:Un,39:175,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,39:177,42:Mn,47:jt,50:[1,176],59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,39:178,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,39:179,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,39:180,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{59:[1,181]},{22:xn,24:Dn,26:ln,38:Un,39:182,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,39:183,42:Mn,47:jt,59:Pt,60:de,64:[1,184],66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,39:185,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,39:186,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,39:187,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c(pn,[2,147]),c(es,[2,3]),{8:188,15:nn},{15:[2,7]},c(F,[2,28]),c(zi,[2,33]),c(Bt,[2,48],{30:189,22:xe}),c(_i,[2,71],{22:[1,190]}),{22:[1,191]},{22:xn,24:Dn,26:ln,38:Un,39:192,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,75:[1,193],76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c(jn,[2,78]),c(jn,[2,80]),c(jn,[2,136]),c(jn,[2,137]),c(jn,[2,138]),c(jn,[2,139]),c(jn,[2,140]),c(jn,[2,141]),c(jn,[2,142]),c(jn,[2,143]),c(jn,[2,144]),c(jn,[2,145]),c(jn,[2,81]),c(jn,[2,82]),c(jn,[2,83]),c(jn,[2,84]),c(jn,[2,85]),c(jn,[2,86]),c(jn,[2,87]),c(jn,[2,88]),c(jn,[2,89]),c(jn,[2,90]),c(jn,[2,91]),{9:196,20:ae,21:ht,22:xn,23:le,24:Dn,26:ln,38:Un,40:[1,195],42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{18:18,19:19,20:L,21:J,22:j,23:Q,32:24,33:25,34:26,35:27,36:28,37:29,38:W,42:[1,197],43:31,45:32,46:42,47:X,49:43,59:ot,60:dt,79:at,80:St,81:bt,82:Lt,83:ft,84:rt,88:kt,98:Nt,99:Yt,102:yt,104:Ct,105:Gt,109:44,111:Ot,112:ke,113:be,114:Te,115:Rt,116:ee,117:pe,118:ve,119:De,120:Jt},{22:xe,30:198},{22:[1,199],26:te,47:jt,59:Pt,60:de,84:un,98:Ae,99:Pe,102:Tn,104:an,105:Qe,108:95,110:172,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:[1,200]},{22:[1,201]},{22:[1,202],99:[1,203]},c(qo,[2,119]),{22:[1,204]},{22:[1,205],26:te,47:jt,59:Pt,60:de,84:un,98:Ae,99:Pe,102:Tn,104:an,105:Qe,108:95,110:172,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:[1,206],26:te,47:jt,59:Pt,60:de,84:un,98:Ae,99:Pe,102:Tn,104:an,105:Qe,108:95,110:172,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{77:[1,207]},c(En,[2,99],{22:[1,208]}),{77:[1,209],94:[1,210]},{77:[1,211]},c(go,[2,149]),{77:[1,212],94:[1,213]},c(Wn,[2,54],{109:123,47:X,59:ot,60:dt,84:rt,88:kt,98:Nt,99:Yt,102:yt,104:Ct,105:Gt,115:Rt,116:ee,117:pe,118:ve,119:De,120:Jt}),{22:xn,24:Dn,26:ln,38:Un,41:[1,214],42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,39:215,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,42:Mn,47:jt,51:[1,216],59:Pt,60:de,66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,42:Mn,47:jt,53:[1,217],59:Pt,60:de,66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,42:Mn,47:jt,55:[1,218],59:Pt,60:de,66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,42:Mn,47:jt,57:[1,219],59:Pt,60:de,66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{60:[1,220]},{22:xn,24:Dn,26:ln,38:Un,42:Mn,47:jt,59:Pt,60:de,63:[1,221],66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,42:Mn,47:jt,59:Pt,60:de,65:[1,222],66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,39:223,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,41:[1,224],42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,42:Mn,47:jt,59:Pt,60:de,66:Xn,68:[1,225],70:[1,226],74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{22:xn,24:Dn,26:ln,38:Un,42:Mn,47:jt,59:Pt,60:de,66:Xn,68:[1,228],70:[1,227],74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{9:229,20:ae,21:ht,23:le},c(Bt,[2,49],{47:Ni}),c(_i,[2,73]),c(_i,[2,72]),{22:xn,24:Dn,26:ln,38:Un,42:Mn,47:jt,59:Pt,60:de,61:[1,230],66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c(_i,[2,75]),c(jn,[2,79]),{22:xn,24:Dn,26:ln,38:Un,39:231,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c(Ar,B,{17:232}),c(Vt,[2,43]),{46:233,47:X,49:43,59:ot,60:dt,84:rt,88:kt,98:Nt,99:Yt,102:yt,104:Ct,105:Gt,109:44,115:Rt,116:ee,117:pe,118:ve,119:De,120:Jt},{22:Er,59:Ki,60:er,79:pr,89:234,95:xr,98:ji,100:235,101:236,102:br,103:Wi,104:oo,105:Lr,106:yi},{22:Er,59:Ki,60:er,79:pr,89:248,95:xr,98:ji,100:235,101:236,102:br,103:Wi,104:oo,105:Lr,106:yi},{22:Er,59:Ki,60:er,79:pr,89:249,95:xr,97:[1,250],98:ji,100:235,101:236,102:br,103:Wi,104:oo,105:Lr,106:yi},{22:Er,59:Ki,60:er,79:pr,89:251,95:xr,97:[1,252],98:ji,100:235,101:236,102:br,103:Wi,104:oo,105:Lr,106:yi},{98:[1,253]},{22:Er,59:Ki,60:er,79:pr,89:254,95:xr,98:ji,100:235,101:236,102:br,103:Wi,104:oo,105:Lr,106:yi},{22:Er,59:Ki,60:er,79:pr,89:255,95:xr,98:ji,100:235,101:236,102:br,103:Wi,104:oo,105:Lr,106:yi},{26:te,47:jt,59:Pt,60:de,84:un,90:256,98:Ae,99:Pe,102:Tn,104:an,105:Qe,108:95,110:93,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c(En,[2,98]),{77:[1,257]},c(En,[2,102],{22:[1,258]}),c(En,[2,103]),c(En,[2,106]),c(En,[2,108],{22:[1,259]}),c(En,[2,109]),c(Be,[2,55]),{22:xn,24:Dn,26:ln,38:Un,42:Mn,47:jt,51:[1,260],59:Pt,60:de,66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c(Be,[2,62]),c(Be,[2,57]),c(Be,[2,58]),c(Be,[2,59]),{59:[1,261]},c(Be,[2,61]),c(Be,[2,63]),{22:xn,24:Dn,26:ln,38:Un,42:Mn,47:jt,59:Pt,60:de,65:[1,262],66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c(Be,[2,65]),c(Be,[2,66]),c(Be,[2,68]),c(Be,[2,67]),c(Be,[2,69]),c(es,[2,4]),c([22,47,59,60,84,88,98,99,102,104,105,115,116,117,118,119,120],[2,77]),{22:xn,24:Dn,26:ln,38:Un,41:[1,263],42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{18:18,19:19,20:L,21:J,22:j,23:Q,32:24,33:25,34:26,35:27,36:28,37:29,38:W,42:[1,264],43:31,45:32,46:42,47:X,49:43,59:ot,60:dt,79:at,80:St,81:bt,82:Lt,83:ft,84:rt,88:kt,98:Nt,99:Yt,102:yt,104:Ct,105:Gt,109:44,111:Ot,112:ke,113:be,114:Te,115:Rt,116:ee,117:pe,118:ve,119:De,120:Jt},c(Wn,[2,53]),c(En,[2,111],{99:hr}),c(Vo,[2,121],{101:266,22:Er,59:Ki,60:er,79:pr,95:xr,98:ji,102:br,103:Wi,104:oo,105:Lr,106:yi}),c(wr,[2,123]),c(wr,[2,125]),c(wr,[2,126]),c(wr,[2,127]),c(wr,[2,128]),c(wr,[2,129]),c(wr,[2,130]),c(wr,[2,131]),c(wr,[2,132]),c(wr,[2,133]),c(wr,[2,134]),c(wr,[2,135]),c(En,[2,112],{99:hr}),c(En,[2,113],{99:hr}),{22:[1,267]},c(En,[2,114],{99:hr}),{22:[1,268]},c(qo,[2,120]),c(En,[2,94],{99:hr}),c(En,[2,95],{99:hr}),c(En,[2,96],{108:95,110:172,26:te,47:jt,59:Pt,60:de,84:un,98:Ae,99:Pe,102:Tn,104:an,105:Qe,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve}),c(En,[2,100]),{94:[1,269]},{94:[1,270]},{51:[1,271]},{61:[1,272]},{65:[1,273]},{9:274,20:ae,21:ht,23:le},c(Vt,[2,42]),{22:Er,59:Ki,60:er,79:pr,95:xr,98:ji,100:275,101:236,102:br,103:Wi,104:oo,105:Lr,106:yi},c(wr,[2,124]),{26:te,47:jt,59:Pt,60:de,84:un,90:276,98:Ae,99:Pe,102:Tn,104:an,105:Qe,108:95,110:93,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve}
1,{26:te,47:jt,59:Pt,60:de,84:un,90:277,98:Ae,99:Pe,102:Tn,104:an,105:Qe,108:95,110:93,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c(En,[2,104]),c(En,[2,110]),c(Be,[2,56]),{22:xn,24:Dn,26:ln,38:Un,39:278,42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:134,77:$i,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},c(Be,[2,64]),c(Ar,B,{17:279}),c(Vo,[2,122],{101:266,22:Er,59:Ki,60:er,79:pr,95:xr,98:ji,102:br,103:Wi,104:oo,105:Lr,106:yi}),c(En,[2,117],{108:95,110:172,22:[1,280],26:te,47:jt,59:Pt,60:de,84:un,98:Ae,99:Pe,102:Tn,104:an,105:Qe,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve}),c(En,[2,118],{108:95,110:172,22:[1,281],26:te,47:jt,59:Pt,60:de,84:un,98:Ae,99:Pe,102:Tn,104:an,105:Qe,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve}),{22:xn,24:Dn,26:ln,38:Un,41:[1,282],42:Mn,47:jt,59:Pt,60:de,66:Xn,74:ti,76:194,78:145,79:Nn,80:ii,81:Gn,82:ai,83:si,84:pi,85:Rn,87:136,88:$n,98:Ae,99:Pe,102:bn,104:an,105:Qe,106:zn,107:An,108:142,115:Oe,116:dn,117:We,118:sn,119:cn,120:Ve},{18:18,19:19,20:L,21:J,22:j,23:Q,32:24,33:25,34:26,35:27,36:28,37:29,38:W,42:[1,283],43:31,45:32,46:42,47:X,49:43,59:ot,60:dt,79:at,80:St,81:bt,82:Lt,83:ft,84:rt,88:kt,98:Nt,99:Yt,102:yt,104:Ct,105:Gt,109:44,111:Ot,112:ke,113:be,114:Te,115:Rt,116:ee,117:pe,118:ve,119:De,120:Jt},{22:Er,59:Ki,60:er,79:pr,89:284,95:xr,98:ji,100:235,101:236,102:br,103:Wi,104:oo,105:Lr,106:yi},{22:Er,59:Ki,60:er,79:pr,89:285,95:xr,98:ji,100:235,101:236,102:br,103:Wi,104:oo,105:Lr,106:yi},c(Be,[2,60]),c(Vt,[2,41]),c(En,[2,115],{99:hr}),c(En,[2,116],{99:hr})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],126:[2,7]},parseError:function(gn,ci){if(!ci.recoverable){var Bn=new Error(gn);throw Bn.hash=ci,Bn}this.trace(gn)},parse:function(gn){var ci=this,Bn=[0],$e=[],li=[null],Tt=[],gr=this.table,ie="",ao=0,Co=0,oa=0,Ra=2,ns=1,is=Tt.slice.call(arguments,1),dr=Object.create(this.lexer),ko={yy:{}};for(var Pn in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Pn)&&(ko.yy[Pn]=this.yy[Pn]);dr.setInput(gn,ko.yy),ko.yy.lexer=dr,ko.yy.parser=this,void 0===dr.yylloc&&(dr.yylloc={});var aa=dr.yylloc;Tt.push(aa);var Ta=dr.options&&dr.options.ranges;function Li(){var Ht;return"number"!=typeof(Ht=$e.pop()||dr.lex()||ns)&&(Ht instanceof Array&&(Ht=($e=Ht).pop()),Ht=ci.symbols_[Ht]||Ht),Ht}this.parseError="function"==typeof ko.yy.parseError?ko.yy.parseError:Object.getPrototypeOf(this).parseError;for(var Hi,Pr,Tr,nr,ir,Zr,mr,mo,so={};;){if(this.defaultActions[Tr=Bn[Bn.length-1]]?nr=this.defaultActions[Tr]:(null==Hi&&(Hi=Li()),nr=gr[Tr]&&gr[Tr][Hi]),void 0===nr||!nr.length||!nr[0]){var Ja="";for(Zr in mo=[],gr[Tr])this.terminals_[Zr]&&Zr>Ra&&mo.push("'"+this.terminals_[Zr]+"'");Ja=dr.showPosition?"Parse error on line "+(ao+1)+":\n"+dr.showPosition()+"\nExpecting "+mo.join(", ")+", got '"+(this.terminals_[Hi]||Hi)+"'":"Parse error on line "+(ao+1)+": Unexpected "+(Hi==ns?"end of input":"'"+(this.terminals_[Hi]||Hi)+"'"),this.parseError(Ja,{text:dr.match,token:this.terminals_[Hi]||Hi,line:dr.yylineno,loc:aa,expected:mo})}if(nr[0]instanceof Array&&nr.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Tr+", token: "+Hi);switch(nr[0]){case 1:Bn.push(Hi),li.push(dr.yytext),Tt.push(dr.yylloc),Bn.push(nr[1]),Hi=null,Pr?(Hi=Pr,Pr=null):(Co=dr.yyleng,ie=dr.yytext,ao=dr.yylineno,aa=dr.yylloc,oa>0&&oa--);break;case 2:if(so.$=li[li.length-(mr=this.productions_[nr[1]][1])],so._$={first_line:Tt[Tt.length-(mr||1)].first_line,last_line:Tt[Tt.length-1].last_line,first_column:Tt[Tt.length-(mr||1)].first_column,last_column:Tt[Tt.length-1].last_column},Ta&&(so._$.range=[Tt[Tt.length-(mr||1)].range[0],Tt[Tt.length-1].range[1]]),void 0!==(ir=this.performAction.apply(so,[ie,Co,ao,ko.yy,nr[1],li,Tt].concat(is))))return ir;mr&&(Bn=Bn.slice(0,-1*mr*2),li=li.slice(0,-1*mr),Tt=Tt.slice(0,-1*mr)),Bn.push(this.productions_[nr[1]][0]),li.push(so.$),Tt.push(so._$),Bn.push(gr[Bn[Bn.length-2]][Bn[Bn.length-1]]);break;case 3:return!0}}return!0}};function Ur(){this.yy={}}return Qo.lexer={EOF:1,parseError:function(gn,ci){if(!this.yy.parser)throw new Error(gn);this.yy.parser.parseError(gn,ci)},setInput:function(gn,ci){return this.yy=ci||this.yy||{},this._input=gn,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}
vendor: 4,797 bytes, line 1
1,input:function(){var gn=this._input[0];return this.yytext+=gn,this.yyleng++,this.offset++,this.match+=gn,this.matched+=gn,gn.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),gn},unput:function(gn){var ci=gn.length,Bn=gn.split(/(?:\r\n?|\n)/g);this._input=gn+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ci),this.offset-=ci;var $e=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),Bn.length-1&&(this.yylineno-=Bn.length-1);var li=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:Bn?(Bn.length===$e.length?this.yylloc.first_column:0)+$e[$e.length-Bn.length].length-Bn[0].length:this.yylloc.first_column-ci},this.options.ranges&&(this.yylloc.range=[li[0],li[0]+this.yyleng-ci]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(gn){this.unput(this.match.slice(gn))},pastInput:function(){var gn=this.matched.substr(0,this.matched.length-this.match.length);return(gn.length>20?"...":"")+gn.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var gn=this.match;return gn.length<20&&(gn+=this._input.substr(0,20-gn.length)),(gn.substr(0,20)+(gn.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var gn=this.pastInput(),ci=new Array(gn.length+1).join("-");return gn+this.upcomingInput()+"\n"+ci+"^"},test_match:function(gn,ci){var Bn,$e,li;if(this.options.backtrack_lexer&&(li={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&&(li.yylloc.range=this.yylloc.range.slice(0))),($e=gn[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=$e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:$e?$e[$e.length-1].length-$e[$e.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+gn[0].length},this.yytext+=gn[0],this.match+=gn[0],this.matches=gn,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(gn[0].length),this.matched+=gn[0],Bn=this.performAction.call(this,this.yy,this,ci,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Bn)return Bn;if(this._backtrack){for(var Tt in li)this[Tt]=li[Tt];return!1}return!1},next:function(){if(this.done)return this.EOF;var gn,ci,Bn,$e;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var li=this._currentRules(),Tt=0;Tt<li.length;Tt++)if((Bn=this._input.match(this.rules[li[Tt]]))&&(!ci||Bn[0].length>ci[0].length)){if(ci=Bn,$e=Tt,this.options.backtrack_lexer){if(!1!==(gn=this.test_match(Bn,li[Tt])))return gn;if(this._backtrack){ci=!1;continue}return!1}if(!this.options.flex)break}return ci?!1!==(gn=this.test_match(ci,li[$e]))&&gn:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(gn){this.conditionStack.push(gn)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(gn){return(gn=this.conditionStack.length-1-Math.abs(gn||0))>=0?this.conditionStack[gn]:"INITIAL"},pushState:function(gn){this.begin(gn)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(gn,ci,Bn,$e){switch(Bn){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;
1case 5:case 6:break;case 7:this.begin("string");break;case 8:case 17:case 20:case 23:case 26:this.popState();break;case 9:return"STR";case 10:return 79;case 11:return 88;case 12:return 80;case 13:return 97;case 14:return 81;case 15:return 82;case 16:this.begin("href");break;case 18:return 93;case 19:this.begin("callbackname");break;case 21:this.popState(),this.begin("callbackargs");break;case 22:return 91;case 24:return 92;case 25:this.begin("click");break;case 27:return 83;case 28:case 29:return gn.lex.firstGraph()&&this.begin("dir"),24;case 30:return 38;case 31:return 42;case 32:case 33:case 34:case 35:return 94;case 36:return this.popState(),25;case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:return this.popState(),26;case 47:return 111;case 48:return 112;case 49:return 113;case 50:return 114;case 51:return 98;case 52:return 104;case 53:return 48;case 54:return 60;case 55:return 47;case 56:return 20;case 57:return 99;case 58:return 119;case 59:case 60:case 61:return 75;case 62:case 63:case 64:return 74;case 65:return 52;case 66:return 53;case 67:return 54;case 68:return 55;case 69:return 56;case 70:return 57;case 71:return 58;case 72:return 62;case 73:return 63;case 74:return 102;case 75:return 105;case 76:return 120;case 77:return 117;case 78:return 106;case 79:case 80:return 118;case 81:return 107;case 82:return 66;case 83:return 85;case 84:return"SEP";case 85:return 84;case 86:return 59;case 87:return 68;case 88:return 67;case 89:return 70;case 90:return 69;case 91:return 115;case 92:return 116;case 93:return 61;case 94:return 50;case 95:return 51;case 96:return 40;case 97:return 41;case 98:return 64;case 99:return 65;case 100:return 126;case 101:return 21;case 102:return 22;case 103:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)
1/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
1D3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[23,24],inclusive:!1},callbackname:{rules:[20,21,22],inclusive:!1},href:{rules:[17,18],inclusive:!1},click:{rules:[26,27],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[36,37,38,39,40,41,42,43,44,45,46],inclusive:!1},string:{rules:[8,9],inclusive:!1},INITIAL:{rules:[0,5,6,7,10,11,12,13,14,15,16,19,25,28,29,30,31,32,33,34,35,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],inclusive:!0}}},Ur.prototype=Qo,Qo.Parser=Ur,new Ur}();b.parser=d,b.Parser=d.Parser,b.parse=function(){return d.parse.apply(d,arguments)},b.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=i(5354).readFileSync(i(6470).normalize(c[1]),"utf8");return b.parser.parse(y)},i.c[i.s]===s&&b.main(process.argv.slice(1))},9959:(s,b,i)=>{s=i.nmd(s);var d=function(){var c=function(rt,kt,Nt,Yt){for(Nt=Nt||{},Yt=rt.length;Yt--;Nt[rt[Yt]]=kt);return Nt},y=[1,3],v=[1,5],k=[7,9,11,12,13,14,15,16,17,18,19,20,22,29,34],E=[1,15],F=[1,16],B=[1,17],L=[1,18],J=[1,19],j=[1,20],Q=[1,21],W=[1,22],X=[1,23],ot=[1,25],dt=[1,27],at=[1,30],St=[5,7,9,11,12,13,14,15,16,17,18,19,20,22,29,34],bt={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,excludes:16,includes:17,todayMarker:18,title:19,section:20,clickStatement:21,taskTxt:22,taskData:23,openDirective:24,typeDirective:25,closeDirective:26,":":27,argDirective:28,click:29,callbackname:30,callbackargs:31,href:32,clickStatementDebug:33,open_directive:34,type_directive:35,arg_directive:36,close_directive:37,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"excludes",17:"includes",18:"todayMarker",19:"title",20:"section",22:"taskTxt",23:"taskData",27:":",29:"click",30:"callbackname",31:"callbackargs",32:"href",34
1:"open_directive",35:"type_directive",36:"arg_directive",37:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[21,2],[21,3],[21,3],[21,4],[21,3],[21,4],[21,2],[33,2],[33,3],[33,3],[33,4],[33,3],[33,4],[33,2],[24,1],[25,1],[28,1],[26,1]],performAction:function(rt,kt,Nt,Yt,yt,Ct,Gt){var Ot=Ct.length-1;switch(yt){case 2:return Ct[Ot-1];case 3:case 7:case 8:this.$=[];break;case 4:Ct[Ot-1].push(Ct[Ot]),this.$=Ct[Ot-1];break;case 5:case 6:this.$=Ct[Ot];break;case 9:Yt.setDateFormat(Ct[Ot].substr(11)),this.$=Ct[Ot].substr(11);break;case 10:Yt.enableInclusiveEndDates(),this.$=Ct[Ot].substr(18);break;case 11:Yt.TopAxis(),this.$=Ct[Ot].substr(8);break;case 12:Yt.setAxisFormat(Ct[Ot].substr(11)),this.$=Ct[Ot].substr(11);break;case 13:Yt.setExcludes(Ct[Ot].substr(9)),this.$=Ct[Ot].substr(9);break;case 14:Yt.setIncludes(Ct[Ot].substr(9)),this.$=Ct[Ot].substr(9);break;case 15:Yt.setTodayMarker(Ct[Ot].substr(12)),this.$=Ct[Ot].substr(12);break;case 16:Yt.setTitle(Ct[Ot].substr(6)),this.$=Ct[Ot].substr(6);break;case 17:Yt.addSection(Ct[Ot].substr(8)),this.$=Ct[Ot].substr(8);break;case 19:Yt.addTask(Ct[Ot-1],Ct[Ot]),this.$="task";break;case 23:this.$=Ct[Ot-1],Yt.setClickEvent(Ct[Ot-1],Ct[Ot],null);break;case 24:this.$=Ct[Ot-2],Yt.setClickEvent(Ct[Ot-2],Ct[Ot-1],Ct[Ot]);break;case 25:this.$=Ct[Ot-2],Yt.setClickEvent(Ct[Ot-2],Ct[Ot-1],null),Yt.setLink(Ct[Ot-2],Ct[Ot]);break;case 26:this.$=Ct[Ot-3],Yt.setClickEvent(Ct[Ot-3],Ct[Ot-2],Ct[Ot-1]),Yt.setLink(Ct[Ot-3],Ct[Ot]);break;case 27:this.$=Ct[Ot-2],Yt.setClickEvent(Ct[Ot-2],Ct[Ot],null),Yt.setLink(Ct[Ot-2],Ct[Ot-1]);break;case 28:this.$=Ct[Ot-3],Yt.setClickEvent(Ct[Ot-3],Ct[Ot-1],Ct[Ot]),Yt.setLink(Ct[Ot-3],Ct[Ot-2]);break;case 29:this.$=Ct[Ot-1],Yt.setLink(Ct[Ot-1],Ct[Ot]);break;case 30:case 36:this.$=Ct[Ot-1]+" "+Ct[Ot];break;case 31:case 32:case 34:this.$=Ct[Ot-2]+" "+Ct[Ot-1]+" "+Ct[Ot];break;case 33:case 35:this.$=Ct[Ot-3]+" "+Ct[Ot-2]+" "+Ct[Ot-1]+" "+Ct[Ot];break;case 37:Yt.parseDirective("%%{","open_directive");break;case 38:Yt.parseDirective(Ct[Ot],"type_directive");break;case 39:Ct[Ot]=Ct[Ot].trim().replace(/'/g,'"'),Yt.parseDirective(Ct[Ot],"arg_directive");break;case 40:Yt.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:y,24:4,34:v},{1:[3]},{3:6,4:2,5:y,24:4,34:v},c(k,[2,3],{6:7}),{25:8,35:[1,9]},{35:[2,37]},{1:[2,1]},{4:26,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:E,13:F,14:B,15:L,16:J,17:j,18:Q,19:W,20:X,21:24,22:ot,24:4,29:dt,34:v},{26:28,27:[1,29],37:at},c([27,37],[2,38]),c(k,[2,8],{1:[2,2]}),c(k,[2,4]),{4:26,10:31,12:E,13:F,14:B,15:L,16:J,17:j,18:Q,19:W,20:X,21:24,22:ot,24:4,29:dt,34:v},c(k,[2,6]),c(k,[2,7]),c(k,[2,9]),c(k,[2,10]),c(k,[2,11]),c(k,[2,12]),c(k,[2,13]),c(k,[2,14]),c(k,[2,15]),c(k,[2,16]),c(k,[2,17]),c(k,[2,18]),{23:[1,32]},c(k,[2,20]),{30:[1,33],32:[1,34]},{11:[1,35]},{28:36,36:[1,37]},{11:[2,40]},c(k,[2,5]),c(k,[2,19]),c(k,[2,23],{31:[1,38],32:[1,39]}),c(k,[2,29],{30:[1,40]}),c(St,[2,21]),{26:41,37:at},{37:[2,39]},c(k,[2,24],{32:[1,42]}),c(k,[2,25]),c(k,[2,27],{31:[1,43]}),{11:[1,44]},c(k,[2,26]),c(k,[2,28]),c(St,[2,22])],defaultActions:{5:[2,37],6:[2,1],30:[2,40],37:[2,39]},parseError:function(rt,kt){if(!kt.recoverable){var Nt=new Error(rt);throw Nt.hash=kt,Nt}this.trace(rt)},parse:function(rt){var kt=this,Nt=[0],Yt=[],yt=[null],Ct=[],Gt=this.table,Ot="",ke=0,be=0,Te=0,Rt=2,ee=1,pe=Ct.slice.call(arguments,1),ve=Object.create(this.lexer),De={yy:{}};for(var Jt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Jt)&&(De.yy[Jt]=this.yy[Jt]);ve.setInput(rt,De.yy),De.yy.lexer=ve,De.yy.parser=this,void 0===ve.yylloc&&(ve.yylloc={});var nn=ve.yylloc;Ct.push(nn);var xe=ve.options&&ve.options.ranges;function Vt(){var Tn;return"number"!=typeof(Tn=Yt.pop()||ve.lex()||ee)&&(Tn instanceof Array&&(Tn=(Yt=Tn).pop()),Tn=kt.symbols_[Tn]||Tn),Tn}this.parseError="function"==typeof De.yy.parseError?De.yy.parseError:Object.getPrototypeOf(this).parseError;for(var ae,ht,le,Bt,te,jt,Pt,un,Ae={};;){if(this.defaultActions[le=Nt[Nt.length-1]]?Bt=this.defaultActions[le]:(null==ae&&(ae=Vt()),Bt=Gt[le]&&Gt[le][ae]),void 0===Bt||!Bt.length||!Bt[0]){var Pe="";for(jt in un=[],Gt[le])this.terminals_[jt]&&jt>Rt&&un.push("'"+this.terminals_[jt]+"'");Pe=ve.showPosition?"Parse error on line "+(ke+1)+":\n"+ve.showPosition()+"\nExpecting "+un.join(", ")+", got '"+(this.terminals_[ae]||ae)+"'":"Parse error on line "+(ke+1)+": Unexpected "+(ae==ee?"end of input":"'"+(this.terminals_[ae]||ae)+"'"),this.parseError(Pe,{text:ve.match,token:this.terminals_[ae]||ae,line:ve.yylineno,loc:nn,expected:un})}if(Bt[0]instanceof Array&&Bt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+le+", token: "+ae);switch(Bt[0]){case 1:Nt.push(ae),yt.push(ve.yytext),Ct.push(ve.yylloc),Nt.push(Bt[1]),ae=null,ht?(ae=ht,ht=null):(be=ve.yyleng,Ot=ve.yytext,ke=ve.yylineno,nn=ve.yylloc,Te>0&&Te--);break;case 2:if(Ae.$=yt[yt.length-(Pt=this.productions_[Bt[1]][1])],Ae._$={first_line:Ct[Ct.length-(Pt||1)].first_line,last_line:Ct[Ct.length-1].last_line,first_column:Ct[Ct.length-(Pt||1)].first_column,last_column:Ct[Ct.length-1].last_column},xe&&(Ae._$.range=[Ct[Ct.length-(Pt||1)].range[0],Ct[Ct.length-1].range[1]]),void 0!==(te=this.performAction.apply(Ae,[Ot,be,ke,De.yy,Bt[1],yt,Ct].concat(pe))))return te;Pt&&(Nt=Nt.slice(0,-1*Pt*2),yt=yt.slice(0,-1*Pt),Ct=Ct.slice(0,-1*Pt)),Nt.push(this.productions_[Bt[1]][0]),yt.push(Ae.$),Ct.push(Ae._$),Nt.push(Gt[Nt[Nt.length-2]][Nt[Nt.length-1]]);break;case 3:return!0}}return!0}};function ft(){this.yy={}}return bt.lexer={EOF:1,parseError:function(rt,kt){if(!this.yy.parser)throw new Error(rt);this.yy.parser.parseError(rt,kt)},setInput:function(rt,kt){return this.yy=kt||this.yy||{},this._input=rt,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}
vendor: 4,818 bytes, line 1
1,input:function(){var rt=this._input[0];return this.yytext+=rt,this.yyleng++,this.offset++,this.match+=rt,this.matched+=rt,rt.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),rt},unput:function(rt){var kt=rt.length,Nt=rt.split(/(?:\r\n?|\n)/g);this._input=rt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-kt),this.offset-=kt;var Yt=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),Nt.length-1&&(this.yylineno-=Nt.length-1);var yt=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:Nt?(Nt.length===Yt.length?this.yylloc.first_column:0)+Yt[Yt.length-Nt.length].length-Nt[0].length:this.yylloc.first_column-kt},this.options.ranges&&(this.yylloc.range=[yt[0],yt[0]+this.yyleng-kt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(rt){this.unput(this.match.slice(rt))},pastInput:function(){var rt=this.matched.substr(0,this.matched.length-this.match.length);return(rt.length>20?"...":"")+rt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var rt=this.match;return rt.length<20&&(rt+=this._input.substr(0,20-rt.length)),(rt.substr(0,20)+(rt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var rt=this.pastInput(),kt=new Array(rt.length+1).join("-");return rt+this.upcomingInput()+"\n"+kt+"^"},test_match:function(rt,kt){var Nt,Yt,yt;if(this.options.backtrack_lexer&&(yt={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&&(yt.yylloc.range=this.yylloc.range.slice(0))),(Yt=rt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Yt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Yt?Yt[Yt.length-1].length-Yt[Yt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+rt[0].length},this.yytext+=rt[0],this.match+=rt[0],this.matches=rt,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(rt[0].length),this.matched+=rt[0],Nt=this.performAction.call(this,this.yy,this,kt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Nt)return Nt;if(this._backtrack){for(var Ct in yt)this[Ct]=yt[Ct];return!1}return!1},next:function(){if(this.done)return this.EOF;var rt,kt,Nt,Yt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var yt=this._currentRules(),Ct=0;Ct<yt.length;Ct++)if((Nt=this._input.match(this.rules[yt[Ct]]))&&(!kt||Nt[0].length>kt[0].length)){if(kt=Nt,Yt=Ct,this.options.backtrack_lexer){if(!1!==(rt=this.test_match(Nt,yt[Ct])))return rt;if(this._backtrack){kt=!1;continue}return!1}if(!this.options.flex)break}return kt?!1!==(rt=this.test_match(kt,yt[Yt]))&&rt:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(rt){this.conditionStack.push(rt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(rt){return(rt=this.conditionStack.length-1-Math.abs(rt||0))>=0?this.conditionStack[rt]:"INITIAL"},pushState:function(rt){this.begin(rt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(rt,kt,Nt,Yt){switch(Nt){case 0:return this.begin("open_directive"),34;case 1:return this.begin("type_directive"),35;case 2:return this.popState(),this.begin("arg_directive"),27;case 3:return this.popState(),this.popState(),37;case 4:return 36;
1case 5:case 6:case 7:case 9:case 10:case 11:break;case 8:return 11;case 12:this.begin("href");break;case 13:case 16:case 19:case 22:this.popState();break;case 14:return 32;case 15:this.begin("callbackname");break;case 17:this.popState(),this.begin("callbackargs");break;case 18:return 30;case 20:return 31;case 21:this.begin("click");break;case 23:return 29;case 24:return 5;case 25:return 12;case 26:return 13;case 27:return 14;case 28:return 15;case 29:return 17;case 30:return 16;case 31:return 18;case 32:return"date";case 33:return 19;case 34:return 20;case 35:return 22;case 36:return 23;case 37:return 27;case 38:return 7;case 39:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[19,20],inclusive:!1},callbackname:{rules:[16,17,18],inclusive:!1},href:{rules:[13,14],inclusive:!1},click:{rules:[22,23],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,15,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}},ft.prototype=bt,bt.Parser=ft,new ft}();b.parser=d,b.Parser=d.Parser,b.parse=function(){return d.parse.apply(d,arguments)},b.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=i(6878).readFileSync(i(6470).normalize(c[1]),"utf8");return b.parser.parse(y)},i.c[i.s]===s&&b.main(process.argv.slice(1))},2553:(s,b,i)=>{s=i.nmd(s);var d=function(){var c=function(Q,W,X,ot){for(X=X||{},ot=Q.length;ot--;X[Q[ot]]=W);return X},y=[2,3],v=[1,7],k=[7,12,15,17,19,20,21],E=[7,11,12,15,17,19,20,21],F=[2,20],B=[1,32],L={trace:function(){},yy:{},symbols_:{error:2,start:3,GG:4,":":5,document:6,EOF:7,DIR:8,options:9,body:10,OPT:11,NL:12,line:13,statement:14,COMMIT:15,commit_arg:16,BRANCH:17,ID:18,CHECKOUT:19,MERGE:20,RESET:21,reset_arg:22,STR:23,HEAD:24,reset_parents:25,CARET:26,$accept:0,$end:1},terminals_:{2:"error",4:"GG",5:":",7:"EOF",8:"DIR",11:"OPT",12:"NL",15:"COMMIT",17:"BRANCH",18:"ID",19:"CHECKOUT",20:"MERGE",21:"RESET",23:"STR",24:"HEAD",26:"CARET"},productions_:[0,[3,4],[3,5],[6,0],[6,2],[9,2],[9,1],[10,0],[10,2],[13,2],[13,1],[14,2],[14,2],[14,2],[14,2],[14,2],[16,0],[16,1],[22,2],[22,2],[25,0],[25,2]],performAction:function(Q,W,X,ot,dt,at,St){var bt=at.length-1;switch(dt){case 1:return at[bt-1];case 2:return ot.setDirection(at[bt-3]),at[bt-1];case 4:ot.setOptions(at[bt-1]),this.$=at[bt];break;case 5:at[bt-1]+=at[bt],this.$=at[bt-1];break;case 7:this.$=[];break;case 8:at[bt-1].push(at[bt]),this.$=at[bt-1];break;case 9:this.$=at[bt-1];break;case 11:ot.commit(at[bt]);break;case 12:ot.branch(at[bt]);break;case 13:ot.checkout(at[bt]);break;case 14:ot.merge(at[bt]);break;case 15:ot.reset(at[bt]);break;case 16:this.$="";break;case 17:this.$=at[bt];break;case 18:this.$=at[bt-1]+":"+at[bt];break;case 19:this.$=at[bt-1]+":"+ot.count,ot.count=0;break;case 20:ot.count=0;break;case 21:ot.count+=1}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:y,9:6,12:v},{5:[1,8]},{7:[1,9]},c(k,[2,7],{10:10,11:[1,11]}),c(E,[2,6]),{6:12,7:y,9:6,12:v},{1:[2,1]},{7:[2,4],12:[1,15],13:13,14:14,15:[1,16],17:[1,17],19:[1,18],20:[1,19],21:[1,20]},c(E,[2,5]),{7:[1,21]},c(k,[2,8]),{12:[1,22]},c(k,[2,10]),{12:[2,16],16:23,23:[1,24]},{18:[1,25]},{18:[1,26]},{18:[1,27]},{18:[1,30],22:28,24:[1,29]},{1:[2,2]},c(k,[2,9]),{12:[2,11]},{12:[2,17]},{12:[2,12]},{12:[2,13]},{12:[2,14]},{12:[2,15]},{12:F,25:31,26:B},{12:F,25:33,26:B},{12:[2,18]},{12:F,25:34,26:B},{12:[2,19]},{12:[2,21]}],defaultActions:{9:[2,1],21:[2,2],23:[2,11],24:[2,17],25:[2,12],26:[2,13],27:[2,14],28:[2,15],31:[2,18],33:[2,19],34:[2,21]},parseError:function(Q,W){if(!W.recoverable){var X=new Error(Q);throw X.hash=W,X}this.trace(Q)},parse:function(Q){var W=this,X=[0],ot=[],dt=[null],at=[],St=this.table,bt="",Lt=0,ft=0,rt=0,kt=2,Nt=1,Yt=at.slice.call(arguments,1
1),yt=Object.create(this.lexer),Ct={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(Ct.yy[Gt]=this.yy[Gt]);yt.setInput(Q,Ct.yy),Ct.yy.lexer=yt,Ct.yy.parser=this,void 0===yt.yylloc&&(yt.yylloc={});var Ot=yt.yylloc;at.push(Ot);var ke=yt.options&&yt.options.ranges;function be(){var ht;return"number"!=typeof(ht=ot.pop()||yt.lex()||Nt)&&(ht instanceof Array&&(ht=(ot=ht).pop()),ht=W.symbols_[ht]||ht),ht}this.parseError="function"==typeof Ct.yy.parseError?Ct.yy.parseError:Object.getPrototypeOf(this).parseError;for(var Te,Rt,ee,pe,ve,De,Jt,xe,Vt={};;){if(this.defaultActions[ee=X[X.length-1]]?pe=this.defaultActions[ee]:(null==Te&&(Te=be()),pe=St[ee]&&St[ee][Te]),void 0===pe||!pe.length||!pe[0]){var ae="";for(De in xe=[],St[ee])this.terminals_[De]&&De>kt&&xe.push("'"+this.terminals_[De]+"'");ae=yt.showPosition?"Parse error on line "+(Lt+1)+":\n"+yt.showPosition()+"\nExpecting "+xe.join(", ")+", got '"+(this.terminals_[Te]||Te)+"'":"Parse error on line "+(Lt+1)+": Unexpected "+(Te==Nt?"end of input":"'"+(this.terminals_[Te]||Te)+"'"),this.parseError(ae,{text:yt.match,token:this.terminals_[Te]||Te,line:yt.yylineno,loc:Ot,expected:xe})}if(pe[0]instanceof Array&&pe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ee+", token: "+Te);switch(pe[0]){case 1:X.push(Te),dt.push(yt.yytext),at.push(yt.yylloc),X.push(pe[1]),Te=null,Rt?(Te=Rt,Rt=null):(ft=yt.yyleng,bt=yt.yytext,Lt=yt.yylineno,Ot=yt.yylloc,rt>0&&rt--);break;case 2:if(Vt.$=dt[dt.length-(Jt=this.productions_[pe[1]][1])],Vt._$={first_line:at[at.length-(Jt||1)].first_line,last_line:at[at.length-1].last_line,first_column:at[at.length-(Jt||1)].first_column,last_column:at[at.length-1].last_column},ke&&(Vt._$.range=[at[at.length-(Jt||1)].range[0],at[at.length-1].range[1]]),void 0!==(ve=this.performAction.apply(Vt,[bt,ft,Lt,Ct.yy,pe[1],dt,at].concat(Yt))))return ve;Jt&&(X=X.slice(0,-1*Jt*2),dt=dt.slice(0,-1*Jt),at=at.slice(0,-1*Jt)),X.push(this.productions_[pe[1]][0]),dt.push(Vt.$),at.push(Vt._$),X.push(St[X[X.length-2]][X[X.length-1]]);break;case 3:return!0}}return!0}};function j(){this.yy={}}return L.lexer={EOF:1,parseError:function(Q,W){if(!this.yy.parser)throw new Error(Q);this.yy.parser.parseError(Q,W)},setInput:function(Q,W){return this.yy=W||this.yy||{},this._input=Q,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},input:function(){var Q=this._input[0];return this.yytext+=Q,this.yyleng++,this.offset++,this.match+=Q,this.matched+=Q,Q.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),Q},unput:function(Q){var W=Q.length,X=Q.split(/(?:\r\n?|\n)/g);this._input=Q+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-W),this.offset-=W;var ot=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),X.length-1&&(this.yylineno-=X.length-1);var dt=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:X?(X.length===ot.length?this.yylloc.first_column:0)+ot[ot.length-X.length].length-X[0].length:this.yylloc.first_column-W},this.options.ranges&&(this.yylloc.range=[dt[0],dt[0]+this.yyleng-W]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(Q){this.unput(this.match.slice(Q))},pastInput:function(){var Q=this.matched.substr(0,this.matched.length-this.match.length);return(Q.length>20?"...":"")+Q.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Q=this.match;return Q.length<20&&(Q+=this._input.substr(0,20-Q.length)),(Q.substr(0,20)+(Q.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Q=this.pastInput(),W=new Array(Q.length+1).join("-");return Q+this.upcomingInput()+"\n"+W+"^"},test_match:function(Q,W){var X,ot,dt;if(this.options.backtrack_lexer&&(dt={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&&(dt.yylloc.range=this.yylloc.range.slice(0))),(ot=Q[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=ot.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ot?ot[ot.length-1].length-ot[ot.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Q[0].length},this.yytext+=Q[0],this.match+=Q[0],this.matches=Q,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(Q[0].length),this.matched+=Q[0],X=this.performAction.call(this,this.yy,this,W,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),X)return X;if(this._backtrack){for(var at in dt)this[at]=dt[at];return!1}return!1},next:function(){if(this.done)return this.EOF;var Q,W,X,ot;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var dt=this._currentRules(),at=0;at<dt.length;at++)if((X=this._input.match(this.rules[dt[at]]))&&(!W||X[0].length>W[0].length)){if(W=X,ot=at,this.options.backtrack_lexer){if(!1!==(Q=this.test_match(X,dt[at])))return Q;if(this._backtrack){W=!1;continue}return!1}if(!this.options.flex)break}return W?!1!==(Q=this.test_match(W,dt[ot]))&&Q:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Q){this.conditionStack.push(Q)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Q){return(Q=this.conditionStack.length-1-Math.abs(Q||0))>=0?this.conditionStack[Q]:"INITIAL"},pushState:function(Q){this.begin(Q)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Q,W,X,ot){switch(X){case 0:return 12;case 1:case 2:case 3:break;case 4:return 4;case 5:return 15;case 6:return 17;case 7:return 20;case 8:return 21;case 9:return 19;case 10:case 11:return 8;case 12:return 5;case 13:return 26;case 14:this.begin("options");break;case 15:case 18:this.popState();break;case 16:return 11;case 17:this.begin("string");break;case 19:return 23;case 20:return 18;case 21:return 7}},rules:[/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit\b)/i,/^(?:branch\b)/i,/^(?:merge\b)/i,/^(?:reset\b)/i,/^(?:checkout\b)/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:end\r?\n)/i,/^(?:[^\n]+\r?\n)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[a-zA-Z][-_\.a-zA-Z0-9]*[-_a-zA-Z0-9])/i,/^(?:$)/i],conditions:{options:{rules:[15,16],inclusive:!1},string:{rules:[18,19],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,20,21],inclusive:!0}}},j.prototype=L,L.Parser=j,new j}();b.parser=d,b.Parser=d.Parser,b.parse=function(){return d.parse.apply(d,arguments)},b.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=i(8183).readFileSync(i(6470).normalize(c[1]),"utf8");return b.parser.parse(y)},i.c[i.s]===s&&b.main(process.argv.slice(1))},6765:(s,b,i)=>{s=i.nmd(s);var d=function(){var c=function(F,B,L,J){for(L=L||{},J=F.length;J--;L[F[J]]=B);return L},y=[6,9,10],v={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(F,B,L,J,j,Q,W){switch(j){case 1:return J;case 4:break;case 6:J.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},c(y,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},c(y,[2,3]),c(y,[2,4]),c(y,[2,5]),c(y,[2,6])],defaultActions:{4:[2,1]},parseError:function(F,B){if(!B.recoverable){var L=new Error(F);throw L.hash=B,L}this.trace(F)},parse:function(F){var B=this,L=[0],J=[],j=[null],Q=[],W=this.table,X="",ot=0,dt=0,at=0,St=2,bt=1,Lt=Q.slice.call(arguments,1
vendor: 4,419 bytes, line 1
1),ft=Object.create(this.lexer),rt={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(rt.yy[kt]=this.yy[kt]);ft.setInput(F,rt.yy),rt.yy.lexer=ft,rt.yy.parser=this,void 0===ft.yylloc&&(ft.yylloc={});var Nt=ft.yylloc;Q.push(Nt);var Yt=ft.options&&ft.options.ranges;function yt(){var Jt;return"number"!=typeof(Jt=J.pop()||ft.lex()||bt)&&(Jt instanceof Array&&(Jt=(J=Jt).pop()),Jt=B.symbols_[Jt]||Jt),Jt}this.parseError="function"==typeof rt.yy.parseError?rt.yy.parseError:Object.getPrototypeOf(this).parseError;for(var Ct,Gt,Ot,ke,be,Te,Rt,pe,ve={};;){if(this.defaultActions[Ot=L[L.length-1]]?ke=this.defaultActions[Ot]:(null==Ct&&(Ct=yt()),ke=W[Ot]&&W[Ot][Ct]),void 0===ke||!ke.length||!ke[0]){var De="";for(Te in pe=[],W[Ot])this.terminals_[Te]&&Te>St&&pe.push("'"+this.terminals_[Te]+"'");De=ft.showPosition?"Parse error on line "+(ot+1)+":\n"+ft.showPosition()+"\nExpecting "+pe.join(", ")+", got '"+(this.terminals_[Ct]||Ct)+"'":"Parse error on line "+(ot+1)+": Unexpected "+(Ct==bt?"end of input":"'"+(this.terminals_[Ct]||Ct)+"'"),this.parseError(De,{text:ft.match,token:this.terminals_[Ct]||Ct,line:ft.yylineno,loc:Nt,expected:pe})}if(ke[0]instanceof Array&&ke.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ot+", token: "+Ct);switch(ke[0]){case 1:L.push(Ct),j.push(ft.yytext),Q.push(ft.yylloc),L.push(ke[1]),Ct=null,Gt?(Ct=Gt,Gt=null):(dt=ft.yyleng,X=ft.yytext,ot=ft.yylineno,Nt=ft.yylloc,at>0&&at--);break;case 2:if(ve.$=j[j.length-(Rt=this.productions_[ke[1]][1])],ve._$={first_line:Q[Q.length-(Rt||1)].first_line,last_line:Q[Q.length-1].last_line,first_column:Q[Q.length-(Rt||1)].first_column,last_column:Q[Q.length-1].last_column},Yt&&(ve._$.range=[Q[Q.length-(Rt||1)].range[0],Q[Q.length-1].range[1]]),void 0!==(be=this.performAction.apply(ve,[X,dt,ot,rt.yy,ke[1],j,Q].concat(Lt))))return be;Rt&&(L=L.slice(0,-1*Rt*2),j=j.slice(0,-1*Rt),Q=Q.slice(0,-1*Rt)),L.push(this.productions_[ke[1]][0]),j.push(ve.$),Q.push(ve._$),L.push(W[L[L.length-2]][L[L.length-1]]);break;case 3:return!0}}return!0}};function E(){this.yy={}}return v.lexer={EOF:1,parseError:function(F,B){if(!this.yy.parser)throw new Error(F);this.yy.parser.parseError(F,B)},setInput:function(F,B){return this.yy=B||this.yy||{},this._input=F,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},input:function(){var F=this._input[0];return this.yytext+=F,this.yyleng++,this.offset++,this.match+=F,this.matched+=F,F.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),F},unput:function(F){var B=F.length,L=F.split(/(?:\r\n?|\n)/g);this._input=F+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-B),this.offset-=B;var J=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 j=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===J.length?this.yylloc.first_column:0)+J[J.length-L.length].length-L[0].length:this.yylloc.first_column-B},this.options.ranges&&(this.yylloc.range=[j[0],j[0]+this.yyleng-B]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(F){this.unput(this.match.slice(F))},pastInput:function(){var F=this.matched.substr(0,this.matched.length-this.match.length);return(F.length>20?"...":"")+F.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var F=this.match;return F.length<20&&(F+=this._input.substr(0,20-F.length)),(F.substr(0,20)+(F.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var F=this.pastInput(),B=new Array(F.length+1).join("-");return F+this.upcomingInput()+"\n"+B+"^"}
1,test_match:function(F,B){var L,J,j;if(this.options.backtrack_lexer&&(j={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&&(j.yylloc.range=this.yylloc.range.slice(0))),(J=F[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=J.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:J?J[J.length-1].length-J[J.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+F[0].length},this.yytext+=F[0],this.match+=F[0],this.matches=F,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(F[0].length),this.matched+=F[0],L=this.performAction.call(this,this.yy,this,B,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),L)return L;if(this._backtrack){for(var Q in j)this[Q]=j[Q];return!1}return!1},next:function(){if(this.done)return this.EOF;var F,B,L,J;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var j=this._currentRules(),Q=0;Q<j.length;Q++)if((L=this._input.match(this.rules[j[Q]]))&&(!B||L[0].length>B[0].length)){if(B=L,J=Q,this.options.backtrack_lexer){if(!1!==(F=this.test_match(L,j[Q])))return F;if(this._backtrack){B=!1;continue}return!1}if(!this.options.flex)break}return B?!1!==(F=this.test_match(B,j[J]))&&F:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(F){this.conditionStack.push(F)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(F){return(F=this.conditionStack.length-1-Math.abs(F||0))>=0?this.conditionStack[F]:"INITIAL"},pushState:function(F){this.begin(F)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(F,B,L,J){switch(L){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}},E.prototype=v,v.Parser=E,new E}();b.parser=d,b.Parser=d.Parser,b.parse=function(){return d.parse.apply(d,arguments)},b.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=i(1428).readFileSync(i(6470).normalize(c[1]),"utf8");return b.parser.parse(y)},i.c[i.s]===s&&b.main(process.argv.slice(1))},7062:(s,b,i)=>{s=i.nmd(s);var d=function(){var c=function(Lt,ft,rt,kt){for(rt=rt||{},kt=Lt.length;kt--;rt[Lt[kt]]=ft);return rt},y=[1,4],v=[1,5],k=[1,6],E=[1,7],F=[1,9],B=[1,11,13,20,21,22,23],L=[2,5],J=[1,6,11,13,20,21,22,23],j=[20,21,22],Q=[2,8],W=[1,18],X=[1,19],ot=[1,24],dt=[6,20,21,22,23],at={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,openDirective:15,typeDirective:16,closeDirective:17,":":18,argDirective:19,NEWLINE:20,";":21,EOF:22,open_directive:23,type_directive:24,arg_directive:25,close_directive:26,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",18:":",20:"NEWLINE",21:";",22:"EOF",23:"open_directive",24:"type_directive",25:"arg_directive",26:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[15,1],[16,1],[19,1],[17,1]],performAction:function(Lt,ft,rt,kt,Nt,Yt,yt){var Ct=Yt.length-1;switch(Nt){case 4:kt.setShowData(!0);break;case 7:this.$=Yt[Ct-1];break;case 9:kt.addSection(Yt[Ct-1],kt.cleanupValue(Yt[Ct]));break;case 10:this.$=Yt[Ct].trim(),kt.setTitle(this.$);break;case 17:kt.parseDirective("%%{","open_directive");break;case 18:kt.parseDirective(Yt[Ct],"type_directive");break;case 19:Yt[Ct]=Yt[Ct].trim().replace(/'/g,'"'),kt.parseDirective(Yt[Ct],"arg_directive");break;case 20:kt.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:y,15:8,20:v,21:k,22:E,23:F},{1:[3]},{3:10,4:2,5:3,6:y,15:8,20:v,21:k,22:E,23:F},{3:11,4:2,5:3,6:y,15:8,20:v,21:k,22:E,23:F},c(B,L,{7:12,8:[1,13]}),c(J,[2,14]),c(J,[2,15]),c(J,[2,16]),{16:14,24:[1,15]},{24:[2,17]},{1:[2,1]},{1:[2,2]},c(j,Q,{15:8,9:16,10:17,5:20,1:[2,3],11:W,13:X,23:F}),c(B,L,{7:21}),{17:22,18:[1,23],26:ot},c([18,26],[2,18]),c(B,[2,6]),{4:25,20:v,21:k,22:E},{12:[1,26]},{14:[1,27]},c(j,[2,11]),c(j,Q,{15:8,9:16,10:17,5:20,1:[2,4],11:W,13:X,23:F}),c(dt,[2,12]),{19:28,25:[1,29]},c(dt,[2,20]),c(B,[2,7]),c(j,[2,9]),c(j,[2,10]),{17:30,26:ot},{26:[2,19]},c(dt,[2,13])],defaultActions:{9:[2,17],10:[2,1],11:[2,2],29:[2,19]},parseError:function(Lt,ft){if(!ft.recoverable){var rt=new Error(Lt);throw rt.hash=ft,rt}this.trace(Lt)},parse:function(Lt){var ft=this,rt=[0],kt=[],Nt=[null],Yt=[],yt=this.table,Ct="",Gt=0,Ot=0,ke=0,be=2,Te=1,Rt=Yt.slice.call(arguments,1
vendor: 6,013 bytes, line 1
1),ee=Object.create(this.lexer),pe={yy:{}};for(var ve in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ve)&&(pe.yy[ve]=this.yy[ve]);ee.setInput(Lt,pe.yy),pe.yy.lexer=ee,pe.yy.parser=this,void 0===ee.yylloc&&(ee.yylloc={});var De=ee.yylloc;Yt.push(De);var Jt=ee.options&&ee.options.ranges;function nn(){var Ae;return"number"!=typeof(Ae=kt.pop()||ee.lex()||Te)&&(Ae instanceof Array&&(Ae=(kt=Ae).pop()),Ae=ft.symbols_[Ae]||Ae),Ae}this.parseError="function"==typeof pe.yy.parseError?pe.yy.parseError:Object.getPrototypeOf(this).parseError;for(var xe,Vt,ae,ht,le,Bt,te,Pt,de={};;){if(this.defaultActions[ae=rt[rt.length-1]]?ht=this.defaultActions[ae]:(null==xe&&(xe=nn()),ht=yt[ae]&&yt[ae][xe]),void 0===ht||!ht.length||!ht[0]){var un="";for(Bt in Pt=[],yt[ae])this.terminals_[Bt]&&Bt>be&&Pt.push("'"+this.terminals_[Bt]+"'");un=ee.showPosition?"Parse error on line "+(Gt+1)+":\n"+ee.showPosition()+"\nExpecting "+Pt.join(", ")+", got '"+(this.terminals_[xe]||xe)+"'":"Parse error on line "+(Gt+1)+": Unexpected "+(xe==Te?"end of input":"'"+(this.terminals_[xe]||xe)+"'"),this.parseError(un,{text:ee.match,token:this.terminals_[xe]||xe,line:ee.yylineno,loc:De,expected:Pt})}if(ht[0]instanceof Array&&ht.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ae+", token: "+xe);switch(ht[0]){case 1:rt.push(xe),Nt.push(ee.yytext),Yt.push(ee.yylloc),rt.push(ht[1]),xe=null,Vt?(xe=Vt,Vt=null):(Ot=ee.yyleng,Ct=ee.yytext,Gt=ee.yylineno,De=ee.yylloc,ke>0&&ke--);break;case 2:if(de.$=Nt[Nt.length-(te=this.productions_[ht[1]][1])],de._$={first_line:Yt[Yt.length-(te||1)].first_line,last_line:Yt[Yt.length-1].last_line,first_column:Yt[Yt.length-(te||1)].first_column,last_column:Yt[Yt.length-1].last_column},Jt&&(de._$.range=[Yt[Yt.length-(te||1)].range[0],Yt[Yt.length-1].range[1]]),void 0!==(le=this.performAction.apply(de,[Ct,Ot,Gt,pe.yy,ht[1],Nt,Yt].concat(Rt))))return le;te&&(rt=rt.slice(0,-1*te*2),Nt=Nt.slice(0,-1*te),Yt=Yt.slice(0,-1*te)),rt.push(this.productions_[ht[1]][0]),Nt.push(de.$),Yt.push(de._$),rt.push(yt[rt[rt.length-2]][rt[rt.length-1]]);break;case 3:return!0}}return!0}};function bt(){this.yy={}}return at.lexer={EOF:1,parseError:function(Lt,ft){if(!this.yy.parser)throw new Error(Lt);this.yy.parser.parseError(Lt,ft)},setInput:function(Lt,ft){return this.yy=ft||this.yy||{},this._input=Lt,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},input:function(){var Lt=this._input[0];return this.yytext+=Lt,this.yyleng++,this.offset++,this.match+=Lt,this.matched+=Lt,Lt.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),Lt},unput:function(Lt){var ft=Lt.length,rt=Lt.split(/(?:\r\n?|\n)/g);this._input=Lt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ft),this.offset-=ft;var kt=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),rt.length-1&&(this.yylineno-=rt.length-1);var Nt=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:rt?(rt.length===kt.length?this.yylloc.first_column:0)+kt[kt.length-rt.length].length-rt[0].length:this.yylloc.first_column-ft},this.options.ranges&&(this.yylloc.range=[Nt[0],Nt[0]+this.yyleng-ft]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(Lt){this.unput(this.match.slice(Lt))},pastInput:function(){var Lt=this.matched.substr(0,this.matched.length-this.match.length);return(Lt.length>20?"...":"")+Lt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Lt=this.match;return Lt.length<20&&(Lt+=this._input.substr(0,20-Lt.length)),(Lt.substr(0,20)+(Lt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Lt=this.pastInput(),ft=new Array(Lt.length+1).join("-");return Lt+this.upcomingInput()+"\n"+ft+"^"},test_match:function(Lt,ft){var rt,kt,Nt;if(this.options.backtrack_lexer&&(Nt={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&&(Nt.yylloc.range=this.yylloc.range.slice(0))),(kt=Lt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=kt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:kt?kt[kt.length-1].length-kt[kt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Lt[0].length},this.yytext+=Lt[0],this.match+=Lt[0],this.matches=Lt,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(Lt[0].length),this.matched+=Lt[0],rt=this.performAction.call(this,this.yy,this,ft,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),rt)return rt;if(this._backtrack){for(var Yt in Nt)this[Yt]=Nt[Yt];return!1}return!1},next:function(){if(this.done)return this.EOF;var Lt,ft,rt,kt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var Nt=this._currentRules(),Yt=0;Yt<Nt.length;
1Yt++)if((rt=this._input.match(this.rules[Nt[Yt]]))&&(!ft||rt[0].length>ft[0].length)){if(ft=rt,kt=Yt,this.options.backtrack_lexer){if(!1!==(Lt=this.test_match(rt,Nt[Yt])))return Lt;if(this._backtrack){ft=!1;continue}return!1}if(!this.options.flex)break}return ft?!1!==(Lt=this.test_match(ft,Nt[kt]))&&Lt:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Lt){this.conditionStack.push(Lt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Lt){return(Lt=this.conditionStack.length-1-Math.abs(Lt||0))>=0?this.conditionStack[Lt]:"INITIAL"},pushState:function(Lt){this.begin(Lt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Lt,ft,rt,kt){switch(rt){case 0:return this.begin("open_directive"),23;case 1:return this.begin("type_directive"),24;case 2:return this.popState(),this.begin("arg_directive"),18;case 3:return this.popState(),this.popState(),26;case 4:return 25;case 5:case 6:case 8:case 9:break;case 7:return 20;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:this.begin("string");break;case 13:this.popState();break;case 14:return"txt";case 15:return 6;case 16:return 8;case 17:return"value";case 18:return 22}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[13,14],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,15,16,17,18],inclusive:!0}}},bt.prototype=at,at.Parser=bt,new bt}();b.parser=d,b.Parser=d.Parser,b.parse=function(){return d.parse.apply(d,arguments)},b.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=i(4551).readFileSync(i(6470).normalize(c[1]),"utf8");return b.parser.parse(y)},i.c[i.s]===s&&b.main(process.argv.slice(1))},3176:(s,b,i)=>{s=i.nmd(s);var d=function(){var c=function(ae,ht,le,Bt){for(le=le||{},Bt=ae.length;Bt--;le[ae[Bt]]=ht);return le},y=[1,3],v=[1,5],k=[1,17],E=[2,10],F=[1,21],B=[1,22],L=[1,23],J=[1,24],j=[1,25],Q=[1,26],W=[1,19],X=[1,27],ot=[1,28],dt=[1,31],at=[66,67],St=[5,8,14,35,36,37,38,39,40,48,55,57,66,67],bt=[5,6,8,14,35,36,37,38,39,40,48,66,67],Lt=[1,51],ft=[1,52],rt=[1,53],kt=[1,54],Nt=[1,55],Yt=[1,56],yt=[1,57],Ct=[57,58],Gt=[1,69],Ot=[1,65],ke=[1,66],be=[1,67],Te=[1,68],Rt=[1,70],ee=[1,74],pe=[1,75],ve=[1,72],De=[1,73],Jt=[5,8,14,35,36,37,38,39,40,48,66,67],nn={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,open_directive:14,type_directive:15,arg_directive:16,close_directive:17,requirementDef:18,elementDef:19,relationshipDef:20,requirementType:21,requirementName:22,STRUCT_START:23,requirementBody:24,ID:25,COLONSEP:26,id:27,TEXT:28,text:29,RISK:30,riskLevel:31,VERIFYMTHD:32,verifyType:33,STRUCT_STOP:34,REQUIREMENT:35,FUNCTIONAL_REQUIREMENT:36,INTERFACE_REQUIREMENT:37,PERFORMANCE_REQUIREMENT:38,PHYSICAL_REQUIREMENT:39,DESIGN_CONSTRAINT:40,LOW_RISK:41,MED_RISK:42,HIGH_RISK:43,VERIFY_ANALYSIS:44,VERIFY_DEMONSTRATION:45,VERIFY_INSPECTION:46,VERIFY_TEST:47,ELEMENT:48,elementName:49,elementBody:50,TYPE:51,type:52,DOCREF:53,ref:54,END_ARROW_L:55,relationship:56,LINE:57,END_ARROW_R:58,CONTAINS:59,COPIES:60,DER
1IVES:61,SATISFIES:62,VERIFIES:63,REFINES:64,TRACES:65,unqString:66,qString:67,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"open_directive",15:"type_directive",16:"arg_directive",17:"close_directive",23:"STRUCT_START",25:"ID",26:"COLONSEP",28:"TEXT",30:"RISK",32:"VERIFYMTHD",34:"STRUCT_STOP",35:"REQUIREMENT",36:"FUNCTIONAL_REQUIREMENT",37:"INTERFACE_REQUIREMENT",38:"PERFORMANCE_REQUIREMENT",39:"PHYSICAL_REQUIREMENT",40:"DESIGN_CONSTRAINT",41:"LOW_RISK",42:"MED_RISK",43:"HIGH_RISK",44:"VERIFY_ANALYSIS",45:"VERIFY_DEMONSTRATION",46:"VERIFY_INSPECTION",47:"VERIFY_TEST",48:"ELEMENT",51:"TYPE",53:"DOCREF",55:"END_ARROW_L",57:"LINE",58:"END_ARROW_R",59:"CONTAINS",60:"COPIES",61:"DERIVES",62:"SATISFIES",63:"VERIFIES",64:"REFINES",65:"TRACES",66:"unqString",67:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[18,5],[24,5],[24,5],[24,5],[24,5],[24,2],[24,1],[21,1],[21,1],[21,1],[21,1],[21,1],[21,1],[31,1],[31,1],[31,1],[33,1],[33,1],[33,1],[33,1],[19,5],[50,5],[50,5],[50,2],[50,1],[20,5],[20,5],[56,1],[56,1],[56,1],[56,1],[56,1],[56,1],[56,1],[22,1],[22,1],[27,1],[27,1],[29,1],[29,1],[49,1],[49,1],[52,1],[52,1],[54,1],[54,1]],performAction:function(ae,ht,le,Bt,te,jt,Pt){var de=jt.length-1;switch(te){case 6:Bt.parseDirective("%%{","open_directive");break;case 7:Bt.parseDirective(jt[de],"type_directive");break;case 8:jt[de]=jt[de].trim().replace(/'/g,'"'),Bt.parseDirective(jt[de],"arg_directive");break;case 9:Bt.parseDirective("}%%","close_directive","pie");break;case 10:this.$=[];break;case 16:Bt.addRequirement(jt[de-3],jt[de-4]);break;case 17:Bt.setNewReqId(jt[de-2]);break;case 18:Bt.setNewReqText(jt[de-2]);break;case 19:Bt.setNewReqRisk(jt[de-2]);break;case 20:Bt.setNewReqVerifyMethod(jt[de-2]);break;case 23:this.$=Bt.RequirementType.REQUIREMENT;break;case 24:this.$=Bt.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 25:this.$=Bt.RequirementType.INTERFACE_REQUIREMENT;break;case 26:this.$=Bt.RequirementType.PERFORMANCE_REQUIREMENT;break;case 27:this.$=Bt.RequirementType.PHYSICAL_REQUIREMENT;break;case 28:this.$=Bt.RequirementType.DESIGN_CONSTRAINT;break;case 29:this.$=Bt.RiskLevel.LOW_RISK;break;case 30:this.$=Bt.RiskLevel.MED_RISK;break;case 31:this.$=Bt.RiskLevel.HIGH_RISK;break;case 32:this.$=Bt.VerifyType.VERIFY_ANALYSIS;break;case 33:this.$=Bt.VerifyType.VERIFY_DEMONSTRATION;break;case 34:this.$=Bt.VerifyType.VERIFY_INSPECTION;break;case 35:this.$=Bt.VerifyType.VERIFY_TEST;break;case 36:Bt.addElement(jt[de-3]);break;case 37:Bt.setNewElementType(jt[de-2]);break;case 38:Bt.setNewElementDocRef(jt[de-2]);break;case 41:Bt.addRelationship(jt[de-2],jt[de],jt[de-4]);break;case 42:Bt.addRelationship(jt[de-2],jt[de-4],jt[de]);break;case 43:this.$=Bt.Relationships.CONTAINS;break;case 44:this.$=Bt.Relationships.COPIES;break;case 45:this.$=Bt.Relationships.DERIVES;break;case 46:this.$=Bt.Relationships.SATISFIES;break;case 47:this.$=Bt.Relationships.VERIFIES;break;case 48:this.$=Bt.Relationships.REFINES;break;case 49:this.$=Bt.Relationships.TRACES}},table:[{3:1,4:2,6:y,9:4,14:v},{1:[3]},{3:7,4:2,5:[1,6],6:y,9:4,14:v},{5:[1,8]},{10:9,15:[1,10]},{15:[2,6]},{3:11,4:2,6:y,9:4,14:v},{1:[2,2]},{4:16,5:k,7:12,8:E,9:4,14:v,18:13,19:14,20:15,21:18,27:20,35:F,36:B,37:L,38:J,39:j,40:Q,48:W,66:X,67:ot},{11:29,12:[1,30],17:dt},c([12,17],[2,7]),{1:[2,1]},{8:[1,32]},{4:16,5:k,7:33,8:E,9:4,14:v,18:13,19:14,20:15,21:18,27:20,35:F,36:B,37:L,38:J,39:j,40:Q,48:W,66:X,67:ot},{4:16,5:k,7:34,8:E,9:4,14:v,18:13,19:14,20:15,21:18,27:20,35:F,36:B,37:L,38:J,39:j,40:Q,48:W,66:X,67:ot},{4:16,5:k,7:35,8:E,9:4,14:v,18:13,19:14,20:15,21:18,27:20,35:F,36:B,37:L,38:J,39:j,40:Q,48:W,66:X,67:ot},{4:16,5:k,7:36,8:E,9:4,14:v,18:13,19:14,20:15,21:18,27:20,35:F,36:B,37:L,38:J,39:j,40:Q,48:W,66:X,67:ot},{4:16,5:k,7:37,8:E,9:4,14:v,18:13,19:14,20:15,21:18,27:20,35:F,36:B,37:L,38:J,39:j,40:Q,48:W,66:X,67:ot},{22:38,66:[1,39],67:[1,40]},{49:41,66:[1,42],67:[1,43]},{55:[1,44],57:[1,45]},c(at,[2,23]),c(at,[2,24]),c(at,[2,25]),c(at,[2,26]),c(at,[2,27]),c(at,[2,28]),c(St,[2,52]),c(St,[2,53]),c(bt,[2,4]),{13:46,16:[1,47]},c(bt,[2,9]),{1:[2,3]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{23:[1,48]},{23:[2,50]},{23:[2,51]},{23:[1,49]},{23:[2,56]},{23:[2,57]},{56:50,59:Lt,60:ft,61:rt,62:kt,63:Nt,64:Yt,65:yt},{56:58,59:Lt,60:ft,61:rt,62:kt,63:Nt,64:Yt,65:yt},{11:59,17:dt},{17:[2,8]},{5:[1,60]},{5:[1,61]},{57:[1,62]},c(Ct,[2,43]),c(Ct,[2,44]),c(Ct,[2,45]),c(Ct,[2,46]),c(Ct,[2,47]),c(Ct,[2,48]),c(Ct,[2,49]),{58:[1,63]},c(bt,[2,5]),{5:Gt,24:64,25:Ot,28:ke,30:be,32:Te,34:Rt},{5:ee,34:pe,50:71,51:ve,53:De},{27:76,66:X,67:ot},{27:77,66:X,67:ot},c(Jt,[2,16]),{26:[1,78]},{26:[1,79]},{26:[1,80]},{26:[1,81]},{5:Gt,24:82,25:Ot,28:ke,30:be,32:Te,34:Rt},c(Jt,[2,22]),c(Jt,[2,36]),{26:[1,83]},{26:[1,84]},{5:ee,34:pe,50:85,51:ve,53:De},c(Jt,[2,40]),c(Jt,[2,41]),c(Jt,[2,42]),{27:86,66:X,67:ot},{29:87,66:[1,88],67:[1,89]},{31:90,41:[1,91],42:[1,92],43:[1,93]}
vendor: 8,173 bytes, line 1
1,{33:94,44:[1,95],45:[1,96],46:[1,97],47:[1,98]},c(Jt,[2,21]),{52:99,66:[1,100],67:[1,101]},{54:102,66:[1,103],67:[1,104]},c(Jt,[2,39]),{5:[1,105]},{5:[1,106]},{5:[2,54]},{5:[2,55]},{5:[1,107]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[1,108]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[2,35]},{5:[1,109]},{5:[2,58]},{5:[2,59]},{5:[1,110]},{5:[2,60]},{5:[2,61]},{5:Gt,24:111,25:Ot,28:ke,30:be,32:Te,34:Rt},{5:Gt,24:112,25:Ot,28:ke,30:be,32:Te,34:Rt},{5:Gt,24:113,25:Ot,28:ke,30:be,32:Te,34:Rt},{5:Gt,24:114,25:Ot,28:ke,30:be,32:Te,34:Rt},{5:ee,34:pe,50:115,51:ve,53:De},{5:ee,34:pe,50:116,51:ve,53:De},c(Jt,[2,17]),c(Jt,[2,18]),c(Jt,[2,19]),c(Jt,[2,20]),c(Jt,[2,37]),c(Jt,[2,38])],defaultActions:{5:[2,6],7:[2,2],11:[2,1],32:[2,3],33:[2,11],34:[2,12],35:[2,13],36:[2,14],37:[2,15],39:[2,50],40:[2,51],42:[2,56],43:[2,57],47:[2,8],88:[2,54],89:[2,55],91:[2,29],92:[2,30],93:[2,31],95:[2,32],96:[2,33],97:[2,34],98:[2,35],100:[2,58],101:[2,59],103:[2,60],104:[2,61]},parseError:function(ae,ht){if(!ht.recoverable){var le=new Error(ae);throw le.hash=ht,le}this.trace(ae)},parse:function(ae){var ht=this,le=[0],Bt=[],te=[null],jt=[],Pt=this.table,de="",un=0,Ae=0,Pe=0,Tn=2,an=1,Qe=jt.slice.call(arguments,1),Oe=Object.create(this.lexer),dn={yy:{}};for(var We in this.yy)Object.prototype.hasOwnProperty.call(this.yy,We)&&(dn.yy[We]=this.yy[We]);Oe.setInput(ae,dn.yy),dn.yy.lexer=Oe,dn.yy.parser=this,void 0===Oe.yylloc&&(Oe.yylloc={});var sn=Oe.yylloc;jt.push(sn);var cn=Oe.options&&Oe.options.ranges;function Ve(){var Mn;return"number"!=typeof(Mn=Bt.pop()||Oe.lex()||an)&&(Mn instanceof Array&&(Mn=(Bt=Mn).pop()),Mn=ht.symbols_[Mn]||Mn),Mn}this.parseError="function"==typeof dn.yy.parseError?dn.yy.parseError:Object.getPrototypeOf(this).parseError;for(var Wn,Be,pn,En,zi,In,_i,Dn,ln={};;){if(this.defaultActions[pn=le[le.length-1]]?En=this.defaultActions[pn]:(null==Wn&&(Wn=Ve()),En=Pt[pn]&&Pt[pn][Wn]),void 0===En||!En.length||!En[0]){var Un="";for(In in Dn=[],Pt[pn])this.terminals_[In]&&In>Tn&&Dn.push("'"+this.terminals_[In]+"'");Un=Oe.showPosition?"Parse error on line "+(un+1)+":\n"+Oe.showPosition()+"\nExpecting "+Dn.join(", ")+", got '"+(this.terminals_[Wn]||Wn)+"'":"Parse error on line "+(un+1)+": Unexpected "+(Wn==an?"end of input":"'"+(this.terminals_[Wn]||Wn)+"'"),this.parseError(Un,{text:Oe.match,token:this.terminals_[Wn]||Wn,line:Oe.yylineno,loc:sn,expected:Dn})}if(En[0]instanceof Array&&En.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pn+", token: "+Wn);switch(En[0]){case 1:le.push(Wn),te.push(Oe.yytext),jt.push(Oe.yylloc),le.push(En[1]),Wn=null,Be?(Wn=Be,Be=null):(Ae=Oe.yyleng,de=Oe.yytext,un=Oe.yylineno,sn=Oe.yylloc,Pe>0&&Pe--);break;case 2:if(ln.$=te[te.length-(_i=this.productions_[En[1]][1])],ln._$={first_line:jt[jt.length-(_i||1)].first_line,last_line:jt[jt.length-1].last_line,first_column:jt[jt.length-(_i||1)].first_column,last_column:jt[jt.length-1].last_column},cn&&(ln._$.range=[jt[jt.length-(_i||1)].range[0],jt[jt.length-1].range[1]]),void 0!==(zi=this.performAction.apply(ln,[de,Ae,un,dn.yy,En[1],te,jt].concat(Qe))))return zi;_i&&(le=le.slice(0,-1*_i*2),te=te.slice(0,-1*_i),jt=jt.slice(0,-1*_i)),le.push(this.productions_[En[1]][0]),te.push(ln.$),jt.push(ln._$),le.push(Pt[le[le.length-2]][le[le.length-1]]);break;case 3:return!0}}return!0}};function Vt(){this.yy={}}return nn.lexer={EOF:1,parseError:function(ae,ht){if(!this.yy.parser)throw new Error(ae);this.yy.parser.parseError(ae,ht)},setInput:function(ae,ht){return this.yy=ht||this.yy||{},this._input=ae,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},input:function(){var ae=this._input[0];return this.yytext+=ae,this.yyleng++,this.offset++,this.match+=ae,this.matched+=ae,ae.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),ae},unput:function(ae){var ht=ae.length,le=ae.split(/(?:\r\n?|\n)/g);this._input=ae+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ht),this.offset-=ht;var Bt=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),le.length-1&&(this.yylineno-=le.length-1);var te=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:le?(le.length===Bt.length?this.yylloc.first_column:0)+Bt[Bt.length-le.length].length-le[0].length:this.yylloc.first_column-ht},this.options.ranges&&(this.yylloc.range=[te[0],te[0]+this.yyleng-ht]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(ae){this.unput(this.match.slice(ae))},pastInput:function(){var ae=this.matched.substr(0,this.matched.length-this.match.length);return(ae.length>20?"...":"")+ae.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var ae=this.match;return ae.length<20&&(ae+=this._input.substr(0,20-ae.length)),(ae.substr(0,20)+(ae.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var ae=this.pastInput(),ht=new Array(ae.length+1).join("-");return ae+this.upcomingInput()+"\n"+ht+"^"},test_match:function(ae,ht){var le,Bt,te;if(this.options.backtrack_lexer&&(te={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&&(te.yylloc.range=this.yylloc.range.slice(0))),(Bt=ae[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Bt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Bt?Bt[Bt.length-1].length-Bt[Bt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+ae[0].length},this.yytext+=ae[0],this.match+=ae[0],this.matches=ae,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(ae[0].length),this.matched+=ae[0],le=this.performAction.call(this,this.yy,this,ht,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),le)return le;if(this._backtrack){for(var jt in te)this[jt]=te[jt];return!1}return!1},next:function(){if(this.done)return this.EOF;var ae,ht,le,Bt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var te=this._currentRules(),jt=0;jt<te.length;jt++)if((le=this._input.match(this.rules[te[jt]]))&&(!ht||le[0].length>ht[0].length)){if(ht=le,Bt=jt,this.options.backtrack_lexer){if(!1!==(ae=this.test_match(le,te[jt])))return ae;if(this._backtrack){ht=!1;continue}return!1}if(!this.options.flex)break}return ht?!1!==(ae=this.test_match(ht,te[Bt]))&&ae:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(ae){this.conditionStack.push(ae)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(ae){return(ae=this.conditionStack.length-1-Math.abs(ae||0
1))>=0?this.conditionStack[ae]:"INITIAL"},pushState:function(ae){this.begin(ae)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(ae,ht,le,Bt){switch(le){case 0:return this.begin("open_directive"),14;case 1:return this.begin("type_directive"),15;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),17;case 4:return 16;case 5:return 5;case 6:case 7:case 8:break;case 9:return 8;case 10:return 6;case 11:return 23;case 12:return 34;case 13:return 26;case 14:return 25;case 15:return 28;case 16:return 30;case 17:return 32;case 18:return 35;case 19:return 36;case 20:return 37;case 21:return 38;case 22:return 39;case 23:return 40;case 24:return 41;case 25:return 42;case 26:return 43;case 27:return 44;case 28:return 45;case 29:return 46;case 30:return 47;case 31:return 48;case 32:return 59;case 33:return 60;case 34:return 61;case 35:return 62;case 36:return 63;case 37:return 64;case 38:return 65;case 39:return 51;case 40:return 53;case 41:return 55;case 42:return 58;case 43:return 57;case 44:this.begin("string");break;case 45:this.popState();break;case 46:return"qString";case 47:return ht.yytext=ht.yytext.trim(),66}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[45,46],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,47],inclusive:!0}}},Vt.prototype=nn,nn.Parser=Vt,new Vt}();b.parser=d,b.Parser=d.Parser,b.parse=function(){return d.parse.apply(d,arguments)},b.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=i(8800).readFileSync(i(6470).normalize(c[1]),"utf8");return b.parser.parse(y)},i.c[i.s]===s&&b.main(process.argv.slice(1))},6876:(s,b,i)=>{s=i.nmd(s);var d=function(){var c=function(Jt,nn,xe,Vt){for(xe=xe||{},Vt=Jt.length;Vt--;xe[Jt[Vt]]=nn);return xe},y=[1,2],v=[1,3],k=[1,5],E=[1,7],F=[2,5],B=[1,15],L=[1,17],J=[1,18],j=[1,19],Q=[1,21],W=[1,22],X=[1,23],ot=[1,29],dt=[1,30],at=[1,31],St=[1,32],bt=[1,33],Lt=[1,34],ft=[1,37],rt=[1,38],kt=[1,39],Nt=[1,40],Yt=[1,41],yt=[1,42],Ct=[1,45],Gt=[1,4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,41,42,46,47,48,49,57,67],Ot=[1,58],ke=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,42,46,47,48,49,57,67],be=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,41,42,46,47,48,49,57,67],Te=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,42,46,47,48,49,57,67],Rt=[55,56,57],ee=[1,4,5,7,16,20,22,23,24,30,32,33,34,35,36,38,40,41,42,46,47,48,49,57,67],pe={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,openDirective:11,typeDirective:12,closeDirective:13,":":14,argDirective:15,participant:16,actor:17,AS:18,restOfLine:19,participant_actor:20,signal:21,autonumber:22,activate:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,text2:31,loop:32,end:33,rect:34,opt:35,alt:36,else_sections:37,par:38,par_sections:39,and:40,else:41,note:42,placement:43,over:44,actor_pair:45,links:46,link:47,properties:48,details:49,spaceList:50,",":51,left_of:52,right_of:53,signaltype:54,"+":55,"-":56,ACTOR:57,SOLID_OPEN_ARROW:58,DOTTED_OPEN_ARROW:59,SOLID_ARROW:60,DOTTED_ARROW:61,SOLID_CROSS:62,DOTTED_CROSS:63,SOLID_POINT:64,DOTTED_POINT:65,TXT:66,open_directive:67,type_directive:68,arg_directive:69,close_directive:70,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",14:":",16:"participant",18:"AS",19:"restOfLine",20:"participant_actor",22:"autonumber",23:"activate",24:"deactivate",30:"title",32:"loop",33:"end",34:"rect",35:"opt",36:"alt",38:"par",40:"and",41:"else",42:"note",44:"over",46:"links",47:"link",48:"properties",49:"details",51:",",52:"left_of",53:"right_of",55:"+",56:"-",57:"ACTOR",58:"SOLID_OPEN_ARROW",59:"DOTTED_OPEN_ARROW",60:"SOLID_ARROW",61:"DOTTED_ARROW",62:"SOLID_CROSS",63:"DOTTED_CROSS",64:"SOLID_POINT",65:"DOTTED_POINT",66:"TXT",67:"open_directive",68:"type_directive",69:"arg_directive",70:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[6,4],[6,6],[10,5],[10,3],[10,5],[10,3],[10,2],[10,1],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,3],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[39,1],[39,4],[37,1],[37,4],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[50,2],[50,1],[45,3],[45,1],[43,1],[43,1],[21,5],[21,5],[21,4],[17,1],[54,1],[54,1],[54,1],[54,1],[54,1],[54,1],[54,1],[54,1],[31,1],[11,1],[12,1],[15,1],[13,1]],performAction:function(Jt,nn,xe,Vt,ae,ht,le){var Bt=ht.length-1;switch(ae){case 4:return Vt.apply(ht[Bt]),ht[Bt];case 5:case 9:this.$=[];break;
1case 6:ht[Bt-1].push(ht[Bt]),this.$=ht[Bt-1];break;case 7:case 8:case 45:this.$=ht[Bt];break;case 12:ht[Bt-3].type="addParticipant",ht[Bt-3].description=Vt.parseMessage(ht[Bt-1]),this.$=ht[Bt-3];break;case 13:ht[Bt-1].type="addParticipant",this.$=ht[Bt-1];break;case 14:ht[Bt-3].type="addActor",ht[Bt-3].description=Vt.parseMessage(ht[Bt-1]),this.$=ht[Bt-3];break;case 15:ht[Bt-1].type="addActor",this.$=ht[Bt-1];break;case 17:Vt.enableSequenceNumbers();break;case 18:this.$={type:"activeStart",signalType:Vt.LINETYPE.ACTIVE_START,actor:ht[Bt-1]};break;case 19:this.$={type:"activeEnd",signalType:Vt.LINETYPE.ACTIVE_END,actor:ht[Bt-1]};break;case 25:this.$=[{type:"setTitle",text:ht[Bt-1]}];break;case 26:ht[Bt-1].unshift({type:"loopStart",loopText:Vt.parseMessage(ht[Bt-2]),signalType:Vt.LINETYPE.LOOP_START}),ht[Bt-1].push({type:"loopEnd",loopText:ht[Bt-2],signalType:Vt.LINETYPE.LOOP_END}),this.$=ht[Bt-1];break;case 27:ht[Bt-1].unshift({type:"rectStart",color:Vt.parseMessage(ht[Bt-2]),signalType:Vt.LINETYPE.RECT_START}),ht[Bt-1].push({type:"rectEnd",color:Vt.parseMessage(ht[Bt-2]),signalType:Vt.LINETYPE.RECT_END}),this.$=ht[Bt-1];break;
1case 28:ht[Bt-1].unshift({type:"optStart",optText:Vt.parseMessage(ht[Bt-2]),signalType:Vt.LINETYPE.OPT_START}),ht[Bt-1].push({type:"optEnd",optText:Vt.parseMessage(ht[Bt-2]),signalType:Vt.LINETYPE.OPT_END}),this.$=ht[Bt-1];break;case 29:ht[Bt-1].unshift({type:"altStart",altText:Vt.parseMessage(ht[Bt-2]),signalType:Vt.LINETYPE.ALT_START}),ht[Bt-1].push({type:"altEnd",signalType:Vt.LINETYPE.ALT_END}),this.$=ht[Bt-1];break;case 30:ht[Bt-1].unshift({type:"parStart",parText:Vt.parseMessage(ht[Bt-2]),signalType:Vt.LINETYPE.PAR_START}),ht[Bt-1].push({type:"parEnd",signalType:Vt.LINETYPE.PAR_END}),this.$=ht[Bt-1];break;case 33:this.$=ht[Bt-3].concat([{type:"and",parText:Vt.parseMessage(ht[Bt-1]),signalType:Vt.LINETYPE.PAR_AND},ht[Bt]]);break;case 35:this.$=ht[Bt-3].concat([{type:"else",altText:Vt.parseMessage(ht[Bt-1]),signalType:Vt.LINETYPE.ALT_ELSE},ht[Bt]]);break;case 36:this.$=[ht[Bt-1],{type:"addNote",placement:ht[Bt-2],actor:ht[Bt-1].actor,text:ht[Bt]}];break;case 37:ht[Bt-2]=[].concat(ht[Bt-1],ht[Bt-1]).slice(0,2),ht[Bt-2][0]=ht[Bt-2][0].actor,ht[Bt-2][1]=ht[Bt-2][1].actor,this.$=[ht[Bt-1],{type:"addNote",placement:Vt.PLACEMENT.OVER,actor:ht[Bt-2].slice(0,2),text:ht[Bt]}];break;case 38:this.$=[ht[Bt-1],{type:"addLinks",actor:ht[Bt-1].actor,text:ht[Bt]}];break;case 39:this.$=[ht[Bt-1],{type:"addALink",actor:ht[Bt-1].actor,text:ht[Bt]}];break;case 40:this.$=[ht[Bt-1],{type:"addProperties",actor:ht[Bt-1].actor,text:ht[Bt]}];break;case 41:this.$=[ht[Bt-1],{type:"addDetails",actor:ht[Bt-1].actor,text:ht[Bt]}];break;case 44:this.$=[ht[Bt-2],ht[Bt]];break;case 46:this.$=Vt.PLACEMENT.LEFTOF;break;case 47:this.$=Vt.PLACEMENT.RIGHTOF;break;case 48:this.$=[ht[Bt-4],ht[Bt-1],{type:"addMessage",from:ht[Bt-4].actor,to:ht[Bt-1].actor,signalType:ht[Bt-3],msg:ht[Bt]},{type:"activeStart",signalType:Vt.LINETYPE.ACTIVE_START,actor:ht[Bt-1]}];break;case 49:this.$=[ht[Bt-4],ht[Bt-1],{type:"addMessage",from:ht[Bt-4].actor,to:ht[Bt-1].actor,signalType:ht[Bt-3],msg:ht[Bt]},{type:"activeEnd",signalType:Vt.LINETYPE.ACTIVE_END,actor:ht[Bt-4]}];break;case 50:this.$=[ht[Bt-3],ht[Bt-1],{type:"addMessage",from:ht[Bt-3].actor,to:ht[Bt-1].actor,signalType:ht[Bt-2],msg:ht[Bt]}];break;case 51:this.$={type:"addParticipant",actor:ht[Bt]};break;case 52:this.$=Vt.LINETYPE.SOLID_OPEN;break;case 53:this.$=Vt.LINETYPE.DOTTED_OPEN;break;case 54:this.$=Vt.LINETYPE.SOLID;break;case 55:this.$=Vt.LINETYPE.DOTTED;break;case 56:this.$=Vt.LINETYPE.SOLID_CROSS;break;case 57:this.$=Vt.LINETYPE.DOTTED_CROSS;break;case 58:this.$=Vt.LINETYPE.SOLID_POINT;break;case 59:this.$=Vt.LINETYPE.DOTTED_POINT;break;case 60:this.$=Vt.parseMessage(ht[Bt].trim().substring(1));break;case 61:Vt.parseDirective("%%{","open_directive");break;case 62:Vt.parseDirective(ht[Bt],"type_directive");break;case 63:ht[Bt]=ht[Bt].trim().replace(/'/g,'"'),Vt.parseDirective(ht[Bt],"arg_directive");break;case 64:Vt.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:y,5:v,6:4,7:k,11:6,67:E},{1:[3]},{3:8,4:y,5:v,6:4,7:k,11:6,67:E},{3:9,4:y,5:v,6:4,7:k,11:6,67:E},{3:10,4:y,5:v,6:4,7:k,11:6,67:E},c([1,4,5,16,20,22,23,24,30,32,34,35,36,38,42,46,47,48,49,57,67],F,{8:11}),{12:12,68:[1,13]},{68:[2,61]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:B,5:L,6:35,9:14,10:16,11:6,16:J,17:36,20:j,21:20,22:Q,23:W,24:X,25:24,26:25,27:26,28:27,29:28,30:ot,32:dt,34:at,35:St,36:bt,38:Lt,42:ft,46:rt,47:kt,48:Nt,49:Yt,57:yt,67:E},{13:43,14:[1,44],70:Ct},c([14,70],[2,62]),c(Gt,[2,6]),{6:35,10:46,11:6,16:J,17:36,20:j,21:20,22:Q,23:W,24:X,25:24,26:25,27:26,28:27,29:28,30:ot,32:dt,34:at,35:St,36:bt,38:Lt,42:ft,46:rt,47:kt,48:Nt,49:Yt,57:yt,67:E},c(Gt,[2,8]),c(Gt,[2,9]),{17:47,57:yt},{17:48,57:yt},{5:[1,49]},c(Gt,[2,17]),{17:50,57:yt},{17:51,57:yt},{5:[1,52]},{5:[1,53]},{5:[1,54]},{5:[1,55]},{5:[1,56]},{31:57,66:Ot},{19:[1,59]},{19:[1,60]},{19:[1,61]},{19:[1,62]},{19:[1,63]},c(Gt,[2,31]),{54:64,58:[1,65],59:[1,66],60:[1,67],61:[1,68],62:[1,69],63:[1,70],64:[1,71],65:[1,72]},{43:73,44:[1,74],52:[1,75],53:[1,76]},{17:77,57:yt},{17:78,57:yt},{17:79,57:yt},{17:80,57:yt},c([5,18,51,58,59,60,61,62,63,64,65,66],[2,51]),{5:[1,81]},{15:82,69:[1,83]},{5:[2,64]},c(Gt,[2,7]),{5:[1,85],18:[1,84]},{5:[1,87],18:[1,86]},c(Gt,[2,16]),{5:[1,88]},{5:[1,89]},c(Gt,[2,20]),c(Gt,[2,21]),c(Gt,[2,22]),c(Gt,[2,23]),c(Gt,[2,24]),{5:[1,90]},{5:[2,60]},c(ke,F,{8:91}),c(ke,F,{8:92}),c(ke,F,{8:93}),c(be,F,{37:94,8:95}),c(Te,F,{39:96,8:97}),{17:100,55:[1,98],56:[1,99],57:yt},c(Rt,[2,52]),c(Rt,[2,53]),c(Rt,[2,54]),c(Rt,[2,55]),c(Rt,[2,56]),c(Rt,[2,57]),c(Rt,[2,58]),c(Rt,[2,59]),{17:101,57:yt},{17:103,45:102,57:yt},{57:[2,46]},{57:[2,47]},{31:104,66:Ot},{31:105,66:Ot},{31:106,66:Ot},{31:107,66:Ot},c(ee,[2,10]),{13:108,70:Ct},{70:[2,63]},{19:[1,109]},c(Gt,[2,13]),{19:[1,110]},c(Gt,[2,15]),c(Gt,[2,18]),c(Gt,[2,19]),c(Gt,[2,25]),{4:B,5:L,6:35,9:14,10:16,11:6,16:J,17:36,20:j,21:20,22:Q,23:W,24:X,25:24,26:25,27:26,28:27,29:28,30:ot,32:dt,33:[1,111],34:at,35:St,36:bt,38:Lt,42:ft,46:rt,47:kt,48:Nt,49:Yt,57:yt,67:E},{4:B,5:L,6:35,9:14,10:16,11:6,16:J,17:36,20:j,21:20,22:Q,23:W,24:X,25:24,26:25,27:26,28:27,29:28,30:ot,32:dt,33:[1,112],34:at,35:St,36:bt,38:Lt,42:ft,46:rt,47:kt,48:Nt,49:Yt,57:yt,67:E},{4:B,5:L,6:35,9:14,10:16,11:6,16:J,17:36,20:j,21:20,22:Q,23:W,24:X,25:24,26:25,27:26,28:27,29:28,30:ot,32:dt,33:[1,113],34:at,35:St,36:bt,38:Lt,42:ft,46:rt,47:kt,48:Nt,49:Yt,57:yt,67:E},{33:[1,114]},{4:B,5:L,6:35,9:14,10:16,11:6,16:J,17:36,20:j,21:20,22:Q,23:W,24:X,25:24,26:25,27:26,28:27,29:28,30:ot,32:dt,33:[2,34],34:at,35:St,36:bt,38:Lt,41:[1,115],42:ft,46:rt,47:kt,48:Nt,49:Yt,57:yt,67:E},{33:[1,116]},{4:B,5:L,6:35,9:14,10:16,11:6,16:J,17:36,20:j,21:20,22:Q,23:W,24:X,25:24,26:25,27:26,28:27,29:28,30:ot,32:dt,33:[2,32],34:at,35:St,36:bt,38:Lt,40:[1,117],42:ft,46:rt,47:kt,48:Nt,49:Yt,57:yt,67:E},{17:118,57:yt},{17:119,57:yt},{31:120,66:Ot},{31:121,66:Ot},{31:122,66:Ot},{51:[1,123],66:[2,45]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},{5:[1,124]},{5:[1,125]},{5:[1,126]},c(Gt,[2,26]),c(Gt,[2,27]),c(Gt,[2,28]),c(Gt,[2,29]),{19:[1,127]},c(Gt,[2,30]),{19:[1,128]},{31:129,66:Ot},{31:130,66:Ot},{5:[2,50]},{5:[2,36]},{5:[2,37]},{17:131,57:yt},c(ee,[2,11]),c(Gt,[2,12]),c(Gt,[2,14]),c(be,F,{8:95,37:132}),c(Te,F,{8:97,39:133}),{5:[2,48]},{5:[2,49]},{66:[2,44]},{33:[2,35]},{33:[2,33]}],defaultActions:{7:[2,61],8:[2,1],9:[2,2],10:[2,3],45:[2,64],58:[2,60],75:[2,46],76:[2,47],83:[2,63],104:[2,38],105:[2,39],106:[2,40],107:[2,41],120:[2,50],121:[2,36],122:[2,37],129:[2,48],130:[2,49],131:[2,44],132:[2,35],133:[2,33]},parseError:function(Jt,nn){if(!nn.recoverable){var xe=new Error(Jt);throw xe.hash=nn,xe}this.trace(Jt)},parse:function(Jt){var nn=this,xe=[0],Vt=[],ae=[null],ht=[],le=this.table,Bt="",te=0,jt=0,Pt=0,de=2,un=1,Ae=ht.slice.call(arguments,1
vendor: 7,565 bytes, line 1
1),Pe=Object.create(this.lexer),Tn={yy:{}};for(var an in this.yy)Object.prototype.hasOwnProperty.call(this.yy,an)&&(Tn.yy[an]=this.yy[an]);Pe.setInput(Jt,Tn.yy),Tn.yy.lexer=Pe,Tn.yy.parser=this,void 0===Pe.yylloc&&(Pe.yylloc={});var Qe=Pe.yylloc;ht.push(Qe);var Oe=Pe.options&&Pe.options.ranges;function dn(){var xn;return"number"!=typeof(xn=Vt.pop()||Pe.lex()||un)&&(xn instanceof Array&&(xn=(Vt=xn).pop()),xn=nn.symbols_[xn]||xn),xn}this.parseError="function"==typeof Tn.yy.parseError?Tn.yy.parseError:Object.getPrototypeOf(this).parseError;for(var We,sn,cn,Ve,Wn,Be,pn,zi,In={};;){if(this.defaultActions[cn=xe[xe.length-1]]?Ve=this.defaultActions[cn]:(null==We&&(We=dn()),Ve=le[cn]&&le[cn][We]),void 0===Ve||!Ve.length||!Ve[0]){var _i="";for(Be in zi=[],le[cn])this.terminals_[Be]&&Be>de&&zi.push("'"+this.terminals_[Be]+"'");_i=Pe.showPosition?"Parse error on line "+(te+1)+":\n"+Pe.showPosition()+"\nExpecting "+zi.join(", ")+", got '"+(this.terminals_[We]||We)+"'":"Parse error on line "+(te+1)+": Unexpected "+(We==un?"end of input":"'"+(this.terminals_[We]||We)+"'"),this.parseError(_i,{text:Pe.match,token:this.terminals_[We]||We,line:Pe.yylineno,loc:Qe,expected:zi})}if(Ve[0]instanceof Array&&Ve.length>1)throw new Error("Parse Error: multiple actions possible at state: "+cn+", token: "+We);switch(Ve[0]){case 1:xe.push(We),ae.push(Pe.yytext),ht.push(Pe.yylloc),xe.push(Ve[1]),We=null,sn?(We=sn,sn=null):(jt=Pe.yyleng,Bt=Pe.yytext,te=Pe.yylineno,Qe=Pe.yylloc,Pt>0&&Pt--);break;case 2:if(In.$=ae[ae.length-(pn=this.productions_[Ve[1]][1])],In._$={first_line:ht[ht.length-(pn||1)].first_line,last_line:ht[ht.length-1].last_line,first_column:ht[ht.length-(pn||1)].first_column,last_column:ht[ht.length-1].last_column},Oe&&(In._$.range=[ht[ht.length-(pn||1)].range[0],ht[ht.length-1].range[1]]),void 0!==(Wn=this.performAction.apply(In,[Bt,jt,te,Tn.yy,Ve[1],ae,ht].concat(Ae))))return Wn;pn&&(xe=xe.slice(0,-1*pn*2),ae=ae.slice(0,-1*pn),ht=ht.slice(0,-1*pn)),xe.push(this.productions_[Ve[1]][0]),ae.push(In.$),ht.push(In._$),xe.push(le[xe[xe.length-2]][xe[xe.length-1]]);break;case 3:return!0}}return!0}};function De(){this.yy={}}return pe.lexer={EOF:1,parseError:function(Jt,nn){if(!this.yy.parser)throw new Error(Jt);this.yy.parser.parseError(Jt,nn)},setInput:function(Jt,nn){return this.yy=nn||this.yy||{},this._input=Jt,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},input:function(){var Jt=this._input[0];return this.yytext+=Jt,this.yyleng++,this.offset++,this.match+=Jt,this.matched+=Jt,Jt.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),Jt},unput:function(Jt){var nn=Jt.length,xe=Jt.split(/(?:\r\n?|\n)/g);this._input=Jt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-nn),this.offset-=nn;var Vt=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),xe.length-1&&(this.yylineno-=xe.length-1);var ae=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:xe?(xe.length===Vt.length?this.yylloc.first_column:0)+Vt[Vt.length-xe.length].length-xe[0].length:this.yylloc.first_column-nn},this.options.ranges&&(this.yylloc.range=[ae[0],ae[0]+this.yyleng-nn]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(Jt){this.unput(this.match.slice(Jt))},pastInput:function(){var Jt=this.matched.substr(0,this.matched.length-this.match.length);return(Jt.length>20?"...":"")+Jt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Jt=this.match;return Jt.length<20&&(Jt+=this._input.substr(0,20-Jt.length)),(Jt.substr(0,20)+(Jt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Jt=this.pastInput(),nn=new Array(Jt.length+1).join("-");return Jt+this.upcomingInput()+"\n"+nn+"^"},test_match:function(Jt,nn){var xe,Vt,ae;if(this.options.backtrack_lexer&&(ae={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&&(ae.yylloc.range=this.yylloc.range.slice(0))),(Vt=Jt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=Vt.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Vt?Vt[Vt.length-1].length-Vt[Vt.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Jt[0].length},this.yytext+=Jt[0],this.match+=Jt[0],this.matches=Jt,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(Jt[0].length),this.matched+=Jt[0],xe=this.performAction.call(this,this.yy,this,nn,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),xe)return xe;if(this._backtrack){for(var ht in ae)this[ht]=ae[ht];return!1}return!1},next:function(){if(this.done)return this.EOF;var Jt,nn,xe,Vt;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var ae=this._currentRules(),ht=0;ht<ae.length;ht++)if((xe=this._input.match(this.rules[ae[ht]]))&&(!nn||xe[0].length>nn[0].length)){if(nn=xe,Vt=ht,this.options.backtrack_lexer){if(!1!==(Jt=this.test_match(xe,ae[ht])))return Jt;if(this._backtrack){nn=!1;continue}return!1}if(!this.options.flex)break}return nn?!1!==(Jt=this.test_match(nn,ae[Vt]))&&Jt:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Jt){this.conditionStack.push(Jt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Jt){return(Jt=this.conditionStack.length-1-Math.abs(Jt||0))>=0?this.conditionStack[Jt]:"INITIAL"},pushState:function(Jt){this.begin(Jt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Jt,nn,xe,Vt){switch(xe){case 0:return this.begin("open_directive"),67;case 1:return this.begin("type_directive"),68;case 2:return this.popState(),this.begin("arg_directive"),14;case 3:return this.popState(),this.popState(),70;case 4:return 69;case 5:case 39:case 52:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return this.begin("ID"),16;case 12:return this.begin("ID"),20;
1case 13:return nn.yytext=nn.yytext.trim(),this.begin("ALIAS"),57;case 14:return this.popState(),this.popState(),this.begin("LINE"),18;case 15:return this.popState(),this.popState(),5;case 16:return this.begin("LINE"),32;case 17:return this.begin("LINE"),34;case 18:return this.begin("LINE"),35;case 19:return this.begin("LINE"),36;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),38;case 22:return this.begin("LINE"),40;case 23:return this.popState(),19;case 24:return 33;case 25:return 52;case 26:return 53;case 27:return 46;case 28:return 47;case 29:return 48;case 30:return 49;case 31:return 44;case 32:return 42;case 33:return this.begin("ID"),23;case 34:return this.begin("ID"),24;case 35:return 30;case 36:return 7;case 37:return 22;case 38:return 51;case 40:return nn.yytext=nn.yytext.trim(),57;case 41:return 60;case 42:return 61;case 43:return 58;case 44:return 59;case 45:return 62;case 46:return 63;case 47:return 64;case 48:return 65;case 49:return 66;case 50:return 55;case 51:return 56;case 53:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\b)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,13],inclusive:!1},ALIAS:{rules:[7,8,14,15],inclusive:!1},LINE:{rules:[7,8,23],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],inclusive:!0}}},De.prototype=pe,pe.Parser=De,new De}();b.parser=d,b.Parser=d.Parser,b.parse=function(){return d.parse.apply(d,arguments)},b.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=i(1993).readFileSync(i(6470).normalize(c[1]),"utf8");return b.parser.parse(y)},i.c[i.s]===s&&b.main(process.argv.slice(1))},3584:(s,b,i)=>{s=i.nmd(s);var d=function(){var c=function(Rt,ee,pe,ve){for(pe=pe||{},ve=Rt.length;ve--;pe[Rt[ve]]=ee);return pe},y=[1,2],v=[1,3],k=[1,5],E=[1,7],F=[2,5],B=[1,15],L=[1,17],J=[1,19],j=[1,20],Q=[1,21],W=[1,22],X=[1,30],ot=[1,23],dt=[1,24],at=[1,25],St=[1,26],bt=[1,27],Lt=[1,32],ft=[1,33],rt=[1,34],kt=[1,35],Nt=[1,31],Yt=[1,38],yt=[1,4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],Ct=[1,4,5,12,13,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],Gt=[1,4,5,7,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],Ot=[4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],ke={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,idStatement:11,DESCR:12,"--\x3e":13,HIDE_EMPTY:14,scale:15,WIDTH:16,COMPOSIT_STATE:17,STRUCT_START:18,STRUCT_STOP:19,STATE_DESCR:20,AS:21,ID:22,FORK:23,JOIN:24,CHOICE:25,CONCURRENT:26,note:27,notePosition:28,NOTE_TEXT:29,direction:30,openDirective:31,typeDirective:32,closeDirective:33,":":34,argDirective:35,direction_tb:36,direction_bt:37,direction_rl:38,direction_lr:39,eol:40,";":41,EDGE_STATE:42,left_of:43,right_of:44,open_directive:45,type_directive:46,arg_directive:47,close_directive:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",12:"DESCR",13:"--\x3e",14:"HIDE_EMPTY",15:"scale",16:"WIDTH",17:"COMPOSIT_STATE",18:"STRUCT_START",19:"STRUCT_STOP",20:"STATE_DESCR",21:"AS",22:"ID",23:"FORK",24:"JOIN",25:"CHOICE",26:"CONCURRENT",27:"note",29:"NOTE_TEXT",34:":",36:"direction_tb",37:"direction_bt",38:"direction_rl",39:"direction_lr",41:";",42:"EDGE_STATE",43:"left_of",44:"right_of",45:"open_directive",46:"type_directive",47:"arg_directive",48:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[6,3],[6,5],[30,1],[30,1],[30,1],[30,1],[40,1],[40,1],[11,1],[11,1],[28,1],[28,1],[31,1],[32,1],[35,1],[33,1]],performAction:function(Rt,ee,pe,ve,De,Jt,nn){var xe=Jt.length-1;switch(De){case 4:return ve.setRootDoc(Jt[xe]),Jt[xe];case 5:this.$=[];break;case 6:"nl"!=Jt[xe]&&(Jt[xe-1].push(Jt[xe]),this.$=Jt[xe-1]);break;case 7:case 8:case 36:case 37:this.$=Jt[xe];break;case 9:this.$="nl";break;case 10:this.$={stmt:"state",id:Jt[xe],type:"default",description:""};break;case 11:this.$={stmt:"state",id:Jt[xe-1],type:"default",description:ve.trimColon(Jt[xe])};break;case 12:this.$={stmt:"relation",state1:{stmt:"state",id:Jt[xe-2],type:"default",description:""},state2:{stmt:"state",id:Jt[xe],type:"default",description:""}};break;case 13:this.$={stmt:"relation",state1:{stmt:"state",id:Jt[xe-3],type:"default",description:""},state2:{stmt:"state",id:Jt[xe-1],type:"default",description:""},description:Jt[xe].substr(1).trim()};break;case 17:this.$={stmt:"state",id:Jt[xe-3],type:"default",description:"",doc:Jt[xe-1]};break;case 18:var Vt=Jt[xe],ae=Jt[xe-2].trim();if(Jt[xe].match(":")){var ht=Jt[xe].split(":");Vt=ht[0],ae=[ae,ht[1]]}this.$={stmt:"state",id:Vt,type:"default",description:ae};break;case 19:this.$={stmt:"state",id:Jt[xe-3],type:"default",description:Jt[xe-5],doc:Jt[xe-1]};break;case 20:this.$={stmt:"state",id:Jt[xe],type:"fork"};break;case 21:this.$={stmt:"state",id:Jt[xe],type:"join"};break;case 22:this.$={stmt:"state",id:Jt[xe],type:"choice"};break;case 23:this.$={stmt:"state",id:ve.getDividerId(),type:"divider"};break;case 24:this.$={stmt:"state",id:Jt[xe-1].trim(),note:{position:Jt[xe-2].trim(),text:Jt[xe].trim()}};break;case 30:ve.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 31:ve.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 32:ve.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 33:ve.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:ve.parseDirective("%%{","open_directive");break;case 41:ve.parseDirective(Jt[xe],"type_directive");break;case 42:Jt[xe]=Jt[xe].trim().replace(/'/g,'"'),ve.parseDirective(Jt[xe],"arg_directive");break;case 43:ve.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:y,5:v,6:4,7:k,31:6,45:E},{1:[3]},{3:8,4:y,5:v,6:4,7:k,31:6,45:E},{3:9,4:y,5:v,6:4,7:k,31:6,45:E},{3:10,4:y,5:v,6:4,7:k,31:6,45:E},c([1,4,5,14,15,17,20,22,23,24,25,26,27,36,37,38,39,42,45],F,{8:11}),{32:12,46:[1,13]},{46:[2,40]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:B,5:L,6:28,9:14,10:16,11:18,14:J,15:j,17:Q,20:W,22:X,23:ot,24:dt,25:at,26:St,27:bt,30:29,31:6,36:Lt,37:ft,38:rt,39:kt,42:Nt,45:E},{33:36,34:[1,37],48:Yt},c([34,48],[2,41]),c(yt,[2,6]),{6:28,10:39,11:18,14:J,15:j,17:Q,20:W,22:X,23:ot,24:dt,25:at,26:St,27:bt,30:29,31:6,36:Lt,37:ft,38:rt,39:kt,42:Nt,45:E},c(yt,[2,8]),c(yt,[2,9]),c(yt,[2,10],{12:[1,40],13:[1,41]}),c(yt,[2,14]),{16:[1,42]},c(yt,[2,16],{18:[1,43]}),{21:[1,44]},c(yt,[2,20]),c(yt,[2,21]),c(yt,[2,22]),c(yt,[2,23]),{28:45,29:[1,46],43:[1,47],44:[1,48]},c(yt,[2,26]),c(yt,[2,27]),c(Ct,[2,36]),c(Ct,[2,37]),c(yt,[2,30]),c(yt,[2,3
vendor: 7,017 bytes, line 1
11]),c(yt,[2,32]),c(yt,[2,33]),c(Gt,[2,28]),{35:49,47:[1,50]},c(Gt,[2,43]),c(yt,[2,7]),c(yt,[2,11]),{11:51,22:X,42:Nt},c(yt,[2,15]),c(Ot,F,{8:52}),{22:[1,53]},{22:[1,54]},{21:[1,55]},{22:[2,38]},{22:[2,39]},{33:56,48:Yt},{48:[2,42]},c(yt,[2,12],{12:[1,57]}),{4:B,5:L,6:28,9:14,10:16,11:18,14:J,15:j,17:Q,19:[1,58],20:W,22:X,23:ot,24:dt,25:at,26:St,27:bt,30:29,31:6,36:Lt,37:ft,38:rt,39:kt,42:Nt,45:E},c(yt,[2,18],{18:[1,59]}),{29:[1,60]},{22:[1,61]},c(Gt,[2,29]),c(yt,[2,13]),c(yt,[2,17]),c(Ot,F,{8:62}),c(yt,[2,24]),c(yt,[2,25]),{4:B,5:L,6:28,9:14,10:16,11:18,14:J,15:j,17:Q,19:[1,63],20:W,22:X,23:ot,24:dt,25:at,26:St,27:bt,30:29,31:6,36:Lt,37:ft,38:rt,39:kt,42:Nt,45:E},c(yt,[2,19])],defaultActions:{7:[2,40],8:[2,1],9:[2,2],10:[2,3],47:[2,38],48:[2,39],50:[2,42]},parseError:function(Rt,ee){if(!ee.recoverable){var pe=new Error(Rt);throw pe.hash=ee,pe}this.trace(Rt)},parse:function(Rt){var ee=this,pe=[0],ve=[],De=[null],Jt=[],nn=this.table,xe="",Vt=0,ae=0,ht=0,le=2,Bt=1,te=Jt.slice.call(arguments,1),jt=Object.create(this.lexer),Pt={yy:{}};for(var de in this.yy)Object.prototype.hasOwnProperty.call(this.yy,de)&&(Pt.yy[de]=this.yy[de]);jt.setInput(Rt,Pt.yy),Pt.yy.lexer=jt,Pt.yy.parser=this,void 0===jt.yylloc&&(jt.yylloc={});var un=jt.yylloc;Jt.push(un);var Ae=jt.options&&jt.options.ranges;function Pe(){var pn;return"number"!=typeof(pn=ve.pop()||jt.lex()||Bt)&&(pn instanceof Array&&(pn=(ve=pn).pop()),pn=ee.symbols_[pn]||pn),pn}this.parseError="function"==typeof Pt.yy.parseError?Pt.yy.parseError:Object.getPrototypeOf(this).parseError;for(var Tn,an,Qe,Oe,dn,We,sn,Ve,Wn={};;){if(this.defaultActions[Qe=pe[pe.length-1]]?Oe=this.defaultActions[Qe]:(null==Tn&&(Tn=Pe()),Oe=nn[Qe]&&nn[Qe][Tn]),void 0===Oe||!Oe.length||!Oe[0]){var Be="";for(We in Ve=[],nn[Qe])this.terminals_[We]&&We>le&&Ve.push("'"+this.terminals_[We]+"'");Be=jt.showPosition?"Parse error on line "+(Vt+1)+":\n"+jt.showPosition()+"\nExpecting "+Ve.join(", ")+", got '"+(this.terminals_[Tn]||Tn)+"'":"Parse error on line "+(Vt+1)+": Unexpected "+(Tn==Bt?"end of input":"'"+(this.terminals_[Tn]||Tn)+"'"),this.parseError(Be,{text:jt.match,token:this.terminals_[Tn]||Tn,line:jt.yylineno,loc:un,expected:Ve})}if(Oe[0]instanceof Array&&Oe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Qe+", token: "+Tn);switch(Oe[0]){case 1:pe.push(Tn),De.push(jt.yytext),Jt.push(jt.yylloc),pe.push(Oe[1]),Tn=null,an?(Tn=an,an=null):(ae=jt.yyleng,xe=jt.yytext,Vt=jt.yylineno,un=jt.yylloc,ht>0&&ht--);break;case 2:if(Wn.$=De[De.length-(sn=this.productions_[Oe[1]][1])],Wn._$={first_line:Jt[Jt.length-(sn||1)].first_line,last_line:Jt[Jt.length-1].last_line,first_column:Jt[Jt.length-(sn||1)].first_column,last_column:Jt[Jt.length-1].last_column},Ae&&(Wn._$.range=[Jt[Jt.length-(sn||1)].range[0],Jt[Jt.length-1].range[1]]),void 0!==(dn=this.performAction.apply(Wn,[xe,ae,Vt,Pt.yy,Oe[1],De,Jt].concat(te))))return dn;sn&&(pe=pe.slice(0,-1*sn*2),De=De.slice(0,-1*sn),Jt=Jt.slice(0,-1*sn)),pe.push(this.productions_[Oe[1]][0]),De.push(Wn.$),Jt.push(Wn._$),pe.push(nn[pe[pe.length-2]][pe[pe.length-1]]);break;case 3:return!0}}return!0}};function Te(){this.yy={}}return ke.lexer={EOF:1,parseError:function(Rt,ee){if(!this.yy.parser)throw new Error(Rt);this.yy.parser.parseError(Rt,ee)},setInput:function(Rt,ee){return this.yy=ee||this.yy||{},this._input=Rt,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},input:function(){var Rt=this._input[0];return this.yytext+=Rt,this.yyleng++,this.offset++,this.match+=Rt,this.matched+=Rt,Rt.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),Rt},unput:function(Rt){var ee=Rt.length,pe=Rt.split(/(?:\r\n?|\n)/g);this._input=Rt+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ee),this.offset-=ee;var ve=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),pe.length-1&&(this.yylineno-=pe.length-1);var De=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:pe?(pe.length===ve.length?this.yylloc.first_column:0)+ve[ve.length-pe.length].length-pe[0].length:this.yylloc.first_column-ee},this.options.ranges&&(this.yylloc.range=[De[0],De[0]+this.yyleng-ee]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(Rt){this.unput(this.match.slice(Rt))},pastInput:function(){var Rt=this.matched.substr(0,this.matched.length-this.match.length);return(Rt.length>20?"...":"")+Rt.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var Rt=this.match;return Rt.length<20&&(Rt+=this._input.substr(0,20-Rt.length)),(Rt.substr(0,20)+(Rt.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var Rt=this.pastInput(),ee=new Array(Rt.length+1).join("-");return Rt+this.upcomingInput()+"\n"+ee+"^"},test_match:function(Rt,ee){var pe,ve,De;if(this.options.backtrack_lexer&&(De={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&&(De.yylloc.range=this.yylloc.range.slice(0))),(ve=Rt[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=ve.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:ve?ve[ve.length-1].length-ve[ve.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+Rt[0].length},this.yytext+=Rt[0],this.match+=Rt[0],this.matches=Rt,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(Rt[0].length),this.matched+=Rt[0],pe=this.performAction.call(this,this.yy,this,ee,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),pe)return pe;if(this._backtrack){for(var Jt in De)this[Jt]=De[Jt];return!1}return!1},next:function(){if(this.done)return this.EOF;var Rt,ee,pe,ve;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var De=this._currentRules(),Jt=0;Jt<De.length;
1Jt++)if((pe=this._input.match(this.rules[De[Jt]]))&&(!ee||pe[0].length>ee[0].length)){if(ee=pe,ve=Jt,this.options.backtrack_lexer){if(!1!==(Rt=this.test_match(pe,De[Jt])))return Rt;if(this._backtrack){ee=!1;continue}return!1}if(!this.options.flex)break}return ee?!1!==(Rt=this.test_match(ee,De[ve]))&&Rt:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(Rt){this.conditionStack.push(Rt)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(Rt){return(Rt=this.conditionStack.length-1-Math.abs(Rt||0))>=0?this.conditionStack[Rt]:"INITIAL"},pushState:function(Rt){this.begin(Rt)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(Rt,ee,pe,ve){switch(pe){case 0:case 26:return 36;case 1:case 27:return 37;case 2:case 28:return 38;case 3:case 29:return 39;case 4:return this.begin("open_directive"),45;case 5:return this.begin("type_directive"),46;case 6:return this.popState(),this.begin("arg_directive"),34;case 7:return this.popState(),this.popState(),48;case 8:return 47;case 9:case 10:case 12:case 13:case 14:case 15:case 39:case 45:break;case 11:case 59:return 5;case 16:return this.pushState("SCALE"),15;case 17:return 16;case 18:case 33:case 36:this.popState();break;case 19:this.pushState("STATE");break;case 20:case 23:return this.popState(),ee.yytext=ee.yytext.slice(0,-8).trim(),23;case 21:case 24:return this.popState(),ee.yytext=ee.yytext.slice(0,-8).trim(),24;case 22:case 25:return this.popState(),ee.yytext=ee.yytext.slice(0,-10).trim(),25;case 30:this.begin("STATE_STRING");break;case 31:return this.popState(),this.pushState("STATE_ID"),"AS";case 32:case 47:return this.popState(),"ID";case 34:return"STATE_DESCR";case 35:return 17;case 37:return this.popState(),this.pushState("struct"),18;case 38:return this.popState(),19;case 40:return this.begin("NOTE"),27;case 41:return this.popState(),this.pushState("NOTE_ID"),43;case 42:return this.popState(),this.pushState("NOTE_ID"),44;case 43:this.popState(),this.pushState("FLOATING_NOTE");break;case 44:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 46:return"NOTE_TEXT";case 48:return this.popState(),this.pushState("NOTE_TEXT"),22;case 49:return this.popState(),ee.yytext=ee.yytext.substr(2).trim(),29;case 50:return this.popState(),ee.yytext=ee.yytext.slice(0,-8).trim(),29;case 51:case 52:return 7;case 53:return 14;case 54:return 42;case 55:return 22;case 56:return ee.yytext=ee.yytext.trim(),12;case 57:return 13;case 58:return 26;case 60:return"INVALID"}},rules:[/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[13,14],inclusive:!1},close_directive:{rules:[13,14],inclusive:!1},arg_directive:{rules:[7,8,13,14],inclusive:!1},type_directive:{rules:[6,7,13,14],inclusive:!1},open_directive:{rules:[5,13,14],inclusive:!1},struct:{rules:[13,14,19,26,27,28,29,38,39,40,54,55,56,57,58],inclusive:!1},FLOATING_NOTE_ID:{rules:[47],inclusive:!1},FLOATING_NOTE:{rules:[44,45,46],inclusive:!1},NOTE_TEXT:{rules:[49,50],inclusive:!1},NOTE_ID:{rules:[48],inclusive:!1},NOTE:{rules:[41,42,43],inclusive:!1},SCALE:{rules:[17,18],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[32],inclusive:!1},STATE_STRING:{rules:[33,34],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[13,14,20,21,22,23,24,25,30,31,35,36,37],inclusive:!1},ID:{rules:[13,14],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,12,14,15,16,19,37,40,51,52,53,54,55,56,57,59,60],inclusive:!0}}},Te.prototype=ke,ke.Parser=Te,new Te}();b.parser=d,b.Parser=d.Parser,b.parse=function(){return d.parse.apply(d,arguments)},b.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=i(3069).readFileSync(i(6470).normalize(c[1]),"utf8");return b.parser.parse(y)},i.c[i.s]===s&&b.main(process.argv.slice(1))},9763:(s,b,i)=>{s=i.nmd(s);var d=function(){var c=function(X,ot,dt,at){for(dt=dt||{},at=X.length;at--;dt[X[at]]=ot);return dt},y=[1,2],v=[1,5],k=[6,9,11,17,18,19,21],E=[1,15],F=[1,16],B=[1,17],L=[1,21],J=[4,6,9,11,17,18,19,21],j={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,section:18,taskName:19,taskData:20,open_directive:21,type_directive:22,arg_directive:23,close_directive:24,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"section",19:"taskName",20:"taskData",21:"open_directive",22:"type_directive",23:"arg_directive",24:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(X,ot,dt,at,St,bt,Lt){var ft=bt.length-1;switch(St){case 1:return bt[ft-1];case 3:case 7:case 8:this.$=[];break;case 4:bt[ft-1].push(bt[ft]),this.$=bt[ft-1];break;
1case 5:case 6:this.$=bt[ft];break;case 11:at.setTitle(bt[ft].substr(6)),this.$=bt[ft].substr(6);break;case 12:at.addSection(bt[ft].substr(8)),this.$=bt[ft].substr(8);break;case 13:at.addTask(bt[ft-1],bt[ft]),this.$="task";break;case 15:at.parseDirective("%%{","open_directive");break;case 16:at.parseDirective(bt[ft],"type_directive");break;case 17:bt[ft]=bt[ft].trim().replace(/'/g,'"'),at.parseDirective(bt[ft],"arg_directive");break;case 18:at.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:y,7:3,12:4,21:v},{1:[3]},c(k,[2,3],{5:6}),{3:7,4:y,7:3,12:4,21:v},{13:8,22:[1,9]},{22:[2,15]},{6:[1,10],7:18,8:11,9:[1,12],10:13,11:[1,14],12:4,17:E,18:F,19:B,21:v},{1:[2,2]},{14:19,15:[1,20],24:L},c([15,24],[2,16]),c(k,[2,8],{1:[2,1]}),c(k,[2,4]),{7:18,10:22,12:4,17:E,18:F,19:B,21:v},c(k,[2,6]),c(k,[2,7]),c(k,[2,11]),c(k,[2,12]),{20:[1,23]},c(k,[2,14]),{11:[1,24]},{16:25,23:[1,26]},{11:[2,18]},c(k,[2,5]),c(k,[2,13]),c(J,[2,9]),{14:27,24:L},{24:[2,17]},{11:[1,28]},c(J,[2,10])],defaultActions:{5:[2,15],7:[2,2],21:[2,18],26:[2,17]},parseError:function(X,ot){if(!ot.recoverable){var dt=new Error(X);throw dt.hash=ot,dt}this.trace(X)},parse:function(X){var ot=this,dt=[0],at=[],St=[null],bt=[],Lt=this.table,ft="",rt=0,kt=0,Nt=0,Yt=2,yt=1,Ct=bt.slice.call(arguments,1),Gt=Object.create(this.lexer),Ot={yy:{}};for(var ke in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ke)&&(Ot.yy[ke]=this.yy[ke]);Gt.setInput(X,Ot.yy),Ot.yy.lexer=Gt,Ot.yy.parser=this,void 0===Gt.yylloc&&(Gt.yylloc={});var be=Gt.yylloc;bt.push(be);var Te=Gt.options&&Gt.options.ranges;function Rt(){var Bt;return"number"!=typeof(Bt=at.pop()||Gt.lex()||yt)&&(Bt instanceof Array&&(Bt=(at=Bt).pop()),Bt=ot.symbols_[Bt]||Bt),Bt}this.parseError="function"==typeof Ot.yy.parseError?Ot.yy.parseError:Object.getPrototypeOf(this).parseError;for(var ee,pe,ve,De,Jt,nn,xe,ae,ht={};;){if(this.defaultActions[ve=dt[dt.length-1]]?De=this.defaultActions[ve]:(null==ee&&(ee=Rt()),De=Lt[ve]&&Lt[ve][ee]),void 0===De||!De.length||!De[0]){var le="";for(nn in ae=[],Lt[ve])this.terminals_[nn]&&nn>Yt&&ae.push("'"+this.terminals_[nn]+"'");le=Gt.showPosition?"Parse error on line "+(rt+1)+":\n"+Gt.showPosition()+"\nExpecting "+ae.join(", ")+", got '"+(this.terminals_[ee]||ee)+"'":"Parse error on line "+(rt+1)+": Unexpected "+(ee==yt?"end of input":"'"+(this.terminals_[ee]||ee)+"'"),this.parseError(le,{text:Gt.match,token:this.terminals_[ee]||ee,line:Gt.yylineno,loc:be,expected:ae})}if(De[0]instanceof Array&&De.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ve+", token: "+ee);switch(De[0]){case 1:dt.push(ee),St.push(Gt.yytext),bt.push(Gt.yylloc),dt.push(De[1]),ee=null,pe?(ee=pe,pe=null):(kt=Gt.yyleng,ft=Gt.yytext,rt=Gt.yylineno,be=Gt.yylloc,Nt>0&&Nt--);break;case 2:if(ht.$=St[St.length-(xe=this.productions_[De[1]][1])],ht._$={first_line:bt[bt.length-(xe||1)].first_line,last_line:bt[bt.length-1].last_line,first_column:bt[bt.length-(xe||1)].first_column,last_column:bt[bt.length-1].last_column},Te&&(ht._$.range=[bt[bt.length-(xe||1)].range[0],bt[bt.length-1].range[1]]),void 0!==(Jt=this.performAction.apply(ht,[ft,kt,rt,Ot.yy,De[1],St,bt].concat(Ct))))return Jt;xe&&(dt=dt.slice(0,-1*xe*2),St=St.slice(0,-1*xe),bt=bt.slice(0,-1*xe)),dt.push(this.productions_[De[1]][0]),St.push(ht.$),bt.push(ht._$),dt.push(Lt[dt[dt.length-2]][dt[dt.length-1]]);break;case 3:return!0}}return!0}};function W(){this.yy={}}return j.lexer={EOF:1,parseError:function(X,ot){if(!this.yy.parser)throw new Error(X);this.yy.parser.parseError(X,ot)},setInput:function(X,ot){return this.yy=ot||this.yy||{},this._input=X,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},input:function(){var X=this._input[0];return this.yytext+=X,this.yyleng++,this.offset++,this.match+=X,this.matched+=X,X.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),X},unput:function(X){var ot=X.length,dt=X.split(/(?:\r\n?|\n)/g);this._input=X+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-ot),this.offset-=ot;var at=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),dt.length-1&&(this.yylineno-=dt.length-1);var St=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:dt?(dt.length===at.length?this.yylloc.first_column:0)+at[at.length-dt.length].length-dt[0].length:this.yylloc.first_column-ot},this.options.ranges&&(this.yylloc.range=[St[0],St[0]+this.yyleng-ot]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(X){this.unput(this.match.slice(X))},pastInput:function(){var X=this.matched.substr(0,this.matched.length-this.match.length);return(X.length>20?"...":"")+X.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var X=this.match;return X.length<20&&(X+=this._input.substr(0,20-X.length)),(X.substr(0,20)+(X.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var X=this.pastInput(),ot=new Array(X.length+1).join("-");return X+this.upcomingInput()+"\n"+ot+"^"},test_match:function(X,ot){var dt,at,St;if(this.options.backtrack_lexer&&(St={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&&(St.yylloc.range=this.yylloc.range.slice(0))),(at=X[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=at.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:at?at[at.length-1].length-at[at.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+X[0].length},this.yytext+=X[0],this.match+=X[0],this.matches=X,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(X[0].length),this.matched+=X[0],dt=this.performAction.call(this,this.yy,this,ot,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),dt)return dt;if(this._backtrack){for(var bt in St)this[bt]=St[bt];return!1}return!1},next:function(){if(this.done)return this.EOF;var X,ot,dt,at;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");
1for(var St=this._currentRules(),bt=0;bt<St.length;bt++)if((dt=this._input.match(this.rules[St[bt]]))&&(!ot||dt[0].length>ot[0].length)){if(ot=dt,at=bt,this.options.backtrack_lexer){if(!1!==(X=this.test_match(dt,St[bt])))return X;if(this._backtrack){ot=!1;continue}return!1}if(!this.options.flex)break}return ot?!1!==(X=this.test_match(ot,St[at]))&&X:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(X){this.conditionStack.push(X)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(X){return(X=this.conditionStack.length-1-Math.abs(X||0))>=0?this.conditionStack[X]:"INITIAL"},pushState:function(X){this.begin(X)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(X,ot,dt,at){switch(dt){case 0:return this.begin("open_directive"),21;case 1:return this.begin("type_directive"),22;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),24;case 4:return 23;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return 18;case 13:return 19;case 14:return 20;case 15:return 15;case 16:return 6;case 17:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}},W.prototype=j,j.Parser=W,new W}();b.parser=d,b.Parser=d.Parser,b.parse=function(){return d.parse.apply(d,arguments)},b.main=function(c){c[1]||(console.log("Usage: "+c[0]+" FILE"),process.exit(1));var y=i(9143).readFileSync(i(6470).normalize(c[1]),"utf8");return b.parser.parse(y)},i.c[i.s]===s&&b.main(process.argv.slice(1))},9609:s=>{var b=/^(%20|\s)*(javascript|data)/im,i=/[^\x20-\x7E]/gim,d=/^([^:]+):/gm,c=[".","/"];s.exports={sanitizeUrl:function(y){if(!y)return"about:blank";var k,E=y.replace(i,"").trim();return c.indexOf(E[0])>-1?E:(k=E.match(d))?b.test(k[0])?"about:blank":E:"about:blank"}}},3841:s=>{s.exports=function(b,i){return b.intersect(i)}},7458:(s,b,i)=>{i.d(b,{Z:()=>DE});var d=i(1941),c=i.n(d),y={debug:1,info:2,warn:3,error:4,fatal:5},v={debug:function(){},info:function(){},warn:function(){},error:function(){},fatal:function(){}},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fatal";isNaN(e)&&(e=e.toLowerCase(),void 0!==y[e]&&(e=y[e])),v.trace=function(){},v.debug=function(){},v.info=function(){},v.warn=function(){},v.error=function(){},v.fatal=function(){},e<=y.fatal&&(v.fatal=console.error?console.error.bind(console,E("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",E("FATAL"))),e<=y.error&&(v.error=console.error?console.error.bind(console,E("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",E("ERROR"))),e<=y.warn&&(v.warn=console.warn?console.warn.bind(console,E("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",E("WARN"))),e<=y.info&&(v.info=console.info?console.info.bind(console,E("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",E("INFO"))),e<=y.debug&&(v.debug=console.debug?console.debug.bind(console,E("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",E("DEBUG")))},E=function(e){var n=c()().format("ss.SSS");return"%c".concat(n," : ").concat(e," : ")};function F(e,n){let o;if(void 0===n)for(const l of e)null!=l&&(o<l||void 0===o&&l>=l)&&(o=l);else{let l=-1;for(let _ of e)null!=(_=n(_,++l,e))&&(o<_||void 0===o&&_>=_)&&(o=_)}return o}function B(e,n){let o;if(void 0===n)for(const l of e)null!=l&&(o>l||void 0===o&&l>=l)&&(o=l);else{let l=-1;for(let _ of e)null!=(_=n(_,++l,e))&&(o>_||void 0===o&&_>=_)&&(o=_)}return o}function L(e){return e}var J=1e-6;function j(e){return"translate("+e+",0)"}function Q(e){return"translate(0,"+e+")"}function W(e){return n=>+e(n)}function X(e,n){return n=Math.max(0,e.bandwidth()-2*n)/2,e.round()&&(n=Math.round(n)),o=>+e(o)+n}function ot(){return!this.__axis}function dt(e,n){var o=[],l=null,_=null,p=6,m=6,w=3,D=typeof window<"u"&&window.devicePixelRatio>1?0:.5,S=1===e||4===e?-1:1,N=4===e||2===e?"x":"y",q=1===e||3===e?j:Q;function H(G){var _t=l??(n.ticks?n.ticks.apply(n,o):n.domain()),st=_??(n.tickFormat?n.tick
vendor: 7,474 bytes, line 1
1Format.apply(n,o):L),Dt=Math.max(p,0)+w,vt=n.range(),Et=+vt[0]+D,Mt=+vt[vt.length-1]+D,Kt=(n.bandwidth?X:W)(n.copy(),D),re=G.selection?G.selection():G,qt=re.selectAll(".domain").data([null]),Xt=re.selectAll(".tick").data(_t,n).order(),_e=Xt.exit(),It=Xt.enter().append("g").attr("class","tick"),Ut=Xt.select("line"),Ft=Xt.select("text");qt=qt.merge(qt.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Xt=Xt.merge(It),Ut=Ut.merge(It.append("line").attr("stroke","currentColor").attr(N+"2",S*p)),Ft=Ft.merge(It.append("text").attr("fill","currentColor").attr(N,S*Dt).attr("dy",1===e?"0em":3===e?"0.71em":"0.32em")),G!==re&&(qt=qt.transition(G),Xt=Xt.transition(G),Ut=Ut.transition(G),Ft=Ft.transition(G),_e=_e.transition(G).attr("opacity",J).attr("transform",function(xt){return isFinite(xt=Kt(xt))?q(xt+D):this.getAttribute("transform")}),It.attr("opacity",J).attr("transform",function(xt){var $t=this.parentNode.__axis;return q(($t&&isFinite($t=$t(xt))?$t:Kt(xt))+D)})),_e.remove(),qt.attr("d",4===e||2===e?m?"M"+S*m+","+Et+"H"+D+"V"+Mt+"H"+S*m:"M"+D+","+Et+"V"+Mt:m?"M"+Et+","+S*m+"V"+D+"H"+Mt+"V"+S*m:"M"+Et+","+D+"H"+Mt),Xt.attr("opacity",1).attr("transform",function(xt){return q(Kt(xt)+D)}),Ut.attr(N+"2",S*p),Ft.attr(N,S*Dt).text(st),re.filter(ot).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===e?"start":4===e?"end":"middle"),re.each(function(){this.__axis=Kt})}return H.scale=function(G){return arguments.length?(n=G,H):n},H.ticks=function(){return o=Array.from(arguments),H},H.tickArguments=function(G){return arguments.length?(o=null==G?[]:Array.from(G),H):o.slice()},H.tickValues=function(G){return arguments.length?(l=null==G?null:Array.from(G),H):l&&l.slice()},H.tickFormat=function(G){return arguments.length?(_=G,H):_},H.tickSize=function(G){return arguments.length?(p=m=+G,H):p},H.tickSizeInner=function(G){return arguments.length?(p=+G,H):p},H.tickSizeOuter=function(G){return arguments.length?(m=+G,H):m},H.tickPadding=function(G){return arguments.length?(w=+G,H):w},H.offset=function(G){return arguments.length?(D=+G,H):D},H}function at(){}function St(e){return null==e?at:function(){return this.querySelector(e)}}function bt(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}function Lt(){return[]}function ft(e){return null==e?Lt:function(){return this.querySelectorAll(e)}}function rt(e){return function(){return this.matches(e)}}function kt(e){return function(n){return n.matches(e)}}var Nt=Array.prototype.find;function Yt(){return this.firstElementChild}var yt=Array.prototype.filter;function Ct(){return Array.from(this.children)}function Gt(e){return new Array(e.length)}function Ot(e,n){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=n}function ke(e){return function(){return e}}function be(e,n,o,l,_,p){for(var m,w=0,D=n.length,S=p.length;w<S;++w)(m=n[w])?(m.__data__=p[w],l[w]=m):o[w]=new Ot(e,p[w]);for(;w<D;++w)(m=n[w])&&(_[w]=m)}function Te(e,n,o,l,_,p,m){var w,D,S,N=new Map,q=n.length,H=p.length,G=new Array(q);for(w=0;w<q;++w)(D=n[w])&&(G[w]=S=m.call(D,D.__data__,w,n)+"",N.has(S)?_[w]=D:N.set(S,D));for(w=0;w<H;++w)S=m.call(e,p[w],w,p)+"",(D=N.get(S))?(l[w]=D,D.__data__=p[w],N.delete(S)):o[w]=new Ot(e,p[w]);for(w=0;w<q;++w)(D=n[w])&&N.get(G[w])===D&&(_[w]=D)}function Rt(e){return e.__data__}function ee(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function pe(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}Ot.prototype={constructor:Ot,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,n){return this._parent.insertBefore(e,n)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var ve="http://www.w3.org/1999/xhtml";const De={svg:"http://www.w3.org/2000/svg",xhtml:ve,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Jt(e){var n=e+="",o=n.indexOf(":");return o>=0&&"xmlns"!==(n=e.slice(0,o))&&(e=e.slice(o+1)),De.hasOwnProperty(n)?{space:De[n],local:e}:e}function nn(e){return function(){this.removeAttribute(e)}}function xe(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Vt(e,n){return function(){this.setAttribute(e,n)}}function ae(e,n){return function(){this.setAttributeNS(e.space,e.local,n)}}function ht(e,n){return function(){var o=n.apply(this,arguments);null==o?this.removeAttribute(e):this.setAttribute(e,o)}}function le(e,n){return function(){var o=n.apply(this,arguments);null==o?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,o)}}function Bt(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function te(e){return function(){this.style.removeProperty(e)}}function jt(e,n,o){return function(){this.style.setProperty(e,n,o)}}function Pt(e,n,o){return function(){var l=n.apply(this,arguments);null==l?this.style.removeProperty(e):this.style.setProperty(e,l,o)}}function de(e,n){return e.style.getPropertyValue(n)||Bt(e).getComputedStyle(e,null).getPropertyValue(n)}function un(e){return function(){delete this[e]}}function Ae(e,n){return function(){this[e]=n}}function Pe(e,n){return function(){var o=n.apply(this,arguments);null==o?delete this[e]:this[e]=o}}function Tn(e){return e.trim().split(/^|\s+/)}function an(e){return e.classList||new Qe(e)}function Qe(e){this._node=e,this._names=Tn(e.getAttribute("class")||"")}function Oe(e,n){for(var o=an(e),l=-1,_=n.length;++l<_;)o.add(n[l])}function dn(e,n){for(var o=an(e),l=-1,_=n.length;++l<_;)o.remove(n[l])}function We(e){return function(){Oe(this,e)}}function sn(e){return function(){dn(this,e)}}function cn(e,n){return function(){(n.apply(this,arguments)?Oe:dn)(this,e)}}function Ve(){this.textContent=""}function Wn(e){return function(){this.textContent=e}}function Be(e){return function(){var n=e.apply(this,arguments);this.textContent=n??""}}function pn(){this.innerHTML=""}function En(e){return function(){this.innerHTML=e}}function zi(e){return function(){var n=e.apply(this,arguments);this.innerHTML=n??""}}function In(){this.nextSibling&&this.parentNode.appendChild(this)}function _i(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function xn(e){return function(){var n=this.ownerDocument,o=this.namespaceURI;return o===ve&&n.documentElement.namespaceURI===ve?n.createElement(e):n.createElementNS(o,e)}}function Dn(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function ln(e){var n=Jt(e);return(n.local?Dn:xn)(n)}function Un(){return null}function Mn(){var e=this.parentNode;e&&e.removeChild(this)}function Xn(){var e=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(e,this.nextSibling):e}function ti(){var e=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(e,this.nextSibling):e}function $i(e){return e.trim().split(/^|\s+/).map(function(n){var o="",l=n.indexOf(".");return l>=0&&(o=n.slice(l+1),n=n.slice(0,l)),{type:n,name:o}})}function Nn(e){return function(){var n=this.__on;if(n){for(var o,l=0,_=-1,p=n.length;l<p;++l)o=n[l],e.type&&o.type!==e.type||o.name!==e.name?n[++_]=o:this.removeEventListener(o.type,o.listener,o.options);++_?n.length=_:delete this.__on}}}function ii(e,n,o){return function(){var l,D,_=this.__on,p=(D=n,function(S){D.call(this,S,this.__data__)});if(_)for(var m=0,w=_.length;m<w;
vendor: 1,309 bytes, line 1
1++m)if((l=_[m]).type===e.type&&l.name===e.name)return this.removeEventListener(l.type,l.listener,l.options),this.addEventListener(l.type,l.listener=p,l.options=o),void(l.value=n);this.addEventListener(e.type,p,o),l={type:e.type,name:e.name,value:n,listener:p,options:o},_?_.push(l):this.__on=[l]}}function Gn(e,n,o){var l=Bt(e),_=l.CustomEvent;"function"==typeof _?_=new _(n,o):(_=l.document.createEvent("Event"),o?(_.initEvent(n,o.bubbles,o.cancelable),_.detail=o.detail):_.initEvent(n,!1,!1)),e.dispatchEvent(_)}function ai(e,n){return function(){return Gn(this,e,n)}}function si(e,n){return function(){return Gn(this,e,n.apply(this,arguments))}}Qe.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var n=this._names.indexOf(e);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var pi=[null];function Rn(e,n){this._groups=e,this._parents=n}function $n(){return new Rn([[document.documentElement]],pi)}Rn.prototype=$n.prototype={constructor:Rn,select:function(e){"function"!=typeof e&&(e=St(e));for(var n=this._groups,o=n.length,l=new Array(o),_=0;_<o;++_)for(var p,m,w=n[_],D=w.length,S=l[_]=new Array(D),N=0;N<D;
vendor: 6,280 bytes, line 1
1++N)(p=w[N])&&(m=e.call(p,p.__data__,N,w))&&("__data__"in p&&(m.__data__=p.__data__),S[N]=m);return new Rn(l,this._parents)},selectAll:function(e){var N;e="function"==typeof e?(N=e,function(){return bt(N.apply(this,arguments))}):ft(e);for(var n=this._groups,o=n.length,l=[],_=[],p=0;p<o;++p)for(var m,w=n[p],D=w.length,S=0;S<D;++S)(m=w[S])&&(l.push(e.call(m,m.__data__,S,w)),_.push(m));return new Rn(l,_)},selectChild:function(e){return this.select(null==e?Yt:(n="function"==typeof e?e:kt(e),function(){return Nt.call(this.children,n)}));var n},selectChildren:function(e){return this.selectAll(null==e?Ct:(n="function"==typeof e?e:kt(e),function(){return yt.call(this.children,n)}));var n},filter:function(e){"function"!=typeof e&&(e=rt(e));for(var n=this._groups,o=n.length,l=new Array(o),_=0;_<o;++_)for(var p,m=n[_],w=m.length,D=l[_]=[],S=0;S<w;++S)(p=m[S])&&e.call(p,p.__data__,S,m)&&D.push(p);return new Rn(l,this._parents)},data:function(e,n){if(!arguments.length)return Array.from(this,Rt);var o=n?Te:be,l=this._parents,_=this._groups;"function"!=typeof e&&(e=ke(e));for(var p=_.length,m=new Array(p),w=new Array(p),D=new Array(p),S=0;S<p;++S){var N=l[S],q=_[S],H=q.length,G=ee(e.call(N,N&&N.__data__,S,l)),_t=G.length,st=w[S]=new Array(_t),Dt=m[S]=new Array(_t),vt=D[S]=new Array(H);o(N,q,st,Dt,vt,G,n);for(var Et,Mt,Kt=0,re=0;Kt<_t;++Kt)if(Et=st[Kt]){for(Kt>=re&&(re=Kt+1);!(Mt=Dt[re])&&++re<_t;);Et._next=Mt||null}}return(m=new Rn(m,l))._enter=w,m._exit=D,m},enter:function(){return new Rn(this._enter||this._groups.map(Gt),this._parents)},exit:function(){return new Rn(this._exit||this._groups.map(Gt),this._parents)},join:function(e,n,o){var l=this.enter(),_=this,p=this.exit();return"function"==typeof e?(l=e(l))&&(l=l.selection()):l=l.append(e+""),null!=n&&(_=n(_))&&(_=_.selection()),null==o?p.remove():o(p),l&&_?l.merge(_).order():_},merge:function(e){for(var n=e.selection?e.selection():e,o=this._groups,l=n._groups,_=o.length,m=Math.min(_,l.length),w=new Array(_),D=0;D<m;++D)for(var S,N=o[D],q=l[D],H=N.length,G=w[D]=new Array(H),_t=0;_t<H;++_t)(S=N[_t]||q[_t])&&(G[_t]=S);for(;D<_;++D)w[D]=o[D];return new Rn(w,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,n=-1,o=e.length;++n<o;)for(var l,_=e[n],p=_.length-1,m=_[p];--p>=0;)(l=_[p])&&(m&&4^l.compareDocumentPosition(m)&&m.parentNode.insertBefore(l,m),m=l);return this},sort:function(e){function n(q,H){return q&&H?e(q.__data__,H.__data__):!q-!H}e||(e=pe);for(var o=this._groups,l=o.length,_=new Array(l),p=0;p<l;++p){for(var m,w=o[p],D=w.length,S=_[p]=new Array(D),N=0;N<D;++N)(m=w[N])&&(S[N]=m);S.sort(n)}return new Rn(_,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,n=0,o=e.length;n<o;++n)for(var l=e[n],_=0,p=l.length;_<p;++_){var m=l[_];if(m)return m}return null},size:function(){let e=0;for(const n of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var n=this._groups,o=0,l=n.length;o<l;++o)for(var _,p=n[o],m=0,w=p.length;m<w;++m)(_=p[m])&&e.call(_,_.__data__,m,p);return this},attr:function(e,n){var o=Jt(e);if(arguments.length<2){var l=this.node();return o.local?l.getAttributeNS(o.space,o.local):l.getAttribute(o)}return this.each((null==n?o.local?xe:nn:"function"==typeof n?o.local?le:ht:o.local?ae:Vt)(o,n))},style:function(e,n,o){return arguments.length>1?this.each((null==n?te:"function"==typeof n?Pt:jt)(e,n,o??"")):de(this.node(),e)},property:function(e,n){return arguments.length>1?this.each((null==n?un:"function"==typeof n?Pe:Ae)(e,n)):this.node()[e]},classed:function(e,n){var o=Tn(e+"");if(arguments.length<2){for(var l=an(this.node()),_=-1,p=o.length;++_<p;)if(!l.contains(o[_]))return!1;return!0}return this.each(("function"==typeof n?cn:n?We:sn)(o,n))},text:function(e){return arguments.length?this.each(null==e?Ve:("function"==typeof e?Be:Wn)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?pn:("function"==typeof e?zi:En)(e)):this.node().innerHTML},raise:function(){return this.each(In)},lower:function(){return this.each(_i)},append:function(e){var n="function"==typeof e?e:ln(e);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(e,n){var o="function"==typeof e?e:ln(e),l=null==n?Un:"function"==typeof n?n:St(n);return this.select(function(){return this.insertBefore(o.apply(this,arguments),l.apply(this,arguments)||null)})},remove:function(){return this.each(Mn)},clone:function(e){return this.select(e?ti:Xn)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,n,o){var l,_,p=$i(e+""),m=p.length;if(!(arguments.length<2)){for(w=n?ii:Nn,l=0;l<m;++l)this.each(w(p[l],n,o));return this}var w=this.node().__on;if(w)for(var D,S=0,N=w.length;S<N;++S)for(l=0,D=w[S];l<m;++l)if((_=p[l]).type===D.type&&_.name===D.name)return D.value},dispatch:function(e,n){return this.each(("function"==typeof n?si:ai)(e,n))},[Symbol.iterator]:function*(){for(var e=this._groups,n=0,o=e.length;n<o;++n)for(var l,_=e[n],p=0,m=_.length;p<m;++p)(l=_[p])&&(yield l)}};const bn=$n;var zn={value:()=>{}};function An(){for(var e,n=0,o=arguments.length,l={};n<o;++n){if(!(e=arguments[n]+"")||e in l||/[\s.]/.test(e))throw new Error("illegal type: "+e);l[e]=[]}return new Ar(l)}function Ar(e){this._=e}function Ni(e,n){return e.trim().split(/^|\s+/).map(function(o){var l="",_=o.indexOf(".");if(_>=0&&(l=o.slice(_+1),o=o.slice(0,_)),o&&!n.hasOwnProperty(o))throw new Error("unknown type: "+o);return{type:o,name:l}})}function go(e,n){for(var o,l=0,_=e.length;l<_;++l)if((o=e[l]).name===n)return o.value}function jn(e,n,o){for(var l=0,_=e.length;l<_;++l)if(e[l].name===n){e[l]=zn,e=e.slice(0,l).concat(e.slice(l+1));break}return null!=o&&e.push({name:n,value:o}),e}Ar.prototype=An.prototype={constructor:Ar,on:function(e,n){var o,l=this._,_=Ni(e+"",l),p=-1,m=_.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++p<m;)if(o=(e=_[p]).type)l[o]=jn(l[o],e.name,n);else if(null==n)for(o in l)l[o]=jn(l[o],e.name,null);return this}for(;++p<m;)if((o=(e=_[p]).type)&&(o=go(l[o],e.name)))return o}
vendor: 4,270 bytes, line 1
1,copy:function(){var e={},n=this._;for(var o in n)e[o]=n[o].slice();return new Ar(e)},call:function(e,n){if((o=arguments.length-2)>0)for(var o,l,_=new Array(o),p=0;p<o;++p)_[p]=arguments[p+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(p=0,o=(l=this._[e]).length;p<o;++p)l[p].value.apply(n,_)},apply:function(e,n,o){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var l=this._[e],_=0,p=l.length;_<p;++_)l[_].value.apply(n,o)}};const es=An;var qo,Er,Ki=0,er=0,pr=0,xr=0,ji=0,br=0,Wi="object"==typeof performance&&performance.now?performance:Date,oo="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Lr(){return ji||(oo(yi),ji=Wi.now()+br)}function yi(){ji=0}function hr(){this._call=this._time=this._next=null}function Vo(e,n,o){var l=new hr;return l.restart(e,n,o),l}function wr(){ji=(xr=Wi.now())+br,Ki=er=0;try{!function(){Lr(),++Ki;for(var e,n=qo;n;)(e=ji-n._time)>=0&&n._call.call(void 0,e),n=n._next;--Ki}()}finally{Ki=0,function(){for(var e,n,o=qo,l=1/0;o;)o._call?(l>o._time&&(l=o._time),e=o,o=o._next):(n=o._next,o._next=null,o=e?e._next=n:qo=n);Er=e,Pa(l)}(),ji=0}}function Qo(){var e=Wi.now(),n=e-xr;n>1e3&&(br-=n,xr=e)}function Pa(e){Ki||(er&&(er=clearTimeout(er)),e-ji>24?(e<1/0&&(er=setTimeout(wr,e-Wi.now()-br)),pr&&(pr=clearInterval(pr))):(pr||(xr=Wi.now(),pr=setInterval(Qo,1e3)),Ki=1,oo(wr)))}function Ur(e,n,o){var l=new hr;return l.restart(_=>{l.stop(),e(_+n)},n=null==n?0:+n,o),l}hr.prototype=Vo.prototype={constructor:hr,restart:function(e,n,o){if("function"!=typeof e)throw new TypeError("callback is not a function");o=(null==o?Lr():+o)+(null==n?0:+n),this._next||Er===this||(Er?Er._next=this:qo=this,Er=this),this._call=e,this._time=o,Pa()},stop:function(){this._call&&(this._call=null,this._time=1/0,Pa())}};var gn=es("start","end","cancel","interrupt"),ci=[];function Bn(e,n,o,l,_,p){var m=e.__transition;if(m){if(o in m)return}else e.__transition={};!function(w,D,S){var N,q=w.__transition;function H(st){var Dt,vt,Et,Mt;if(1!==S.state)return _t();for(Dt in q)if((Mt=q[Dt]).name===S.name){if(3===Mt.state)return Ur(H);4===Mt.state?(Mt.state=6,Mt.timer.stop(),Mt.on.call("interrupt",w,w.__data__,Mt.index,Mt.group),delete q[Dt]):+Dt<D&&(Mt.state=6,Mt.timer.stop(),Mt.on.call("cancel",w,w.__data__,Mt.index,Mt.group),delete q[Dt])}if(Ur(function(){3===S.state&&(S.state=4,S.timer.restart(G,S.delay,S.time),G(st))}),S.state=2,S.on.call("start",w,w.__data__,S.index,S.group),2===S.state){for(S.state=3,N=new Array(Et=S.tween.length),Dt=0,vt=-1;Dt<Et;++Dt)(Mt=S.tween[Dt].value.call(w,w.__data__,S.index,S.group))&&(N[++vt]=Mt);N.length=vt+1}}function G(st){for(var Dt=st<S.duration?S.ease.call(null,st/S.duration):(S.timer.restart(_t),S.state=5,1),vt=-1,Et=N.length;++vt<Et;)N[vt].call(w,Dt);5===S.state&&(S.on.call("end",w,w.__data__,S.index,S.group),_t())}function _t(){for(var st in S.state=6,S.timer.stop(),delete q[D],q)return;delete w.__transition}q[D]=S,S.timer=Vo(function(st){S.state=1,S.timer.restart(H,S.delay,S.time),S.delay<=st&&H(st-S.delay)},0,S.time)}(e,o,{name:n,index:l,group:_,on:gn,tween:ci,time:p.time,delay:p.delay,duration:p.duration,ease:p.ease,timer:null,state:0})}function $e(e,n){var o=Tt(e,n);if(o.state>0)throw new Error("too late; already scheduled");return o}function li(e,n){var o=Tt(e,n);if(o.state>3)throw new Error("too late; already running");return o}function Tt(e,n){var o=e.__transition;if(!o||!(o=o[n]))throw new Error("transition not found");return o}function gr(e,n){return e=+e,n=+n,function(o){return e*(1-o)+n*o}}var ie,ao=180/Math.PI,Co={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function oa(e,n,o,l,_,p){var m,w,D;return(m=Math.sqrt(e*e+n*n))&&(e/=m,n/=m),(D=e*o+n*l)&&(o-=e*D,l-=n*D),(w=Math.sqrt(o*o+l*l))&&(o/=w,l/=w,D/=w),e*l<n*o&&(e=-e,n=-n,D=-D,m=-m),{translateX:_,translateY:p,rotate:Math.atan2(n,e)*ao,skewX:Math.atan(D)*ao,scaleX:m,scaleY:w}}function Ra(e,n,o,l){function _(p){return p.length?p.pop()+" ":""}return function(p,m){var S,N,q,w=[],D=[];return p=e(p),m=e(m),function(S,N,q,H,G,_t){if(S!==q||N!==H){var st=G.push("translate(",null,n,null,o);_t.push({i:st-4,x:gr(S,q)},{i:st-2,x:gr(N,H)})}else(q||H)&&G.push("translate("+q+n+H+o)}
vendor: 6,286 bytes, line 1
1(p.translateX,p.translateY,m.translateX,m.translateY,w,D),q=w,(S=p.rotate)!==(N=m.rotate)?(S-N>180?N+=360:N-S>180&&(S+=360),D.push({i:q.push(_(q)+"rotate(",null,l)-2,x:gr(S,N)})):N&&q.push(_(q)+"rotate("+N+l),function(S,N,q,H){S!==N?H.push({i:q.push(_(q)+"skewX(",null,l)-2,x:gr(S,N)}):N&&q.push(_(q)+"skewX("+N+l)}(p.skewX,m.skewX,w,D),function(S,N,q,H,G,_t){if(S!==q||N!==H){var st=G.push(_(G)+"scale(",null,",",null,")");_t.push({i:st-4,x:gr(S,q)},{i:st-2,x:gr(N,H)})}else 1===q&&1===H||G.push(_(G)+"scale("+q+","+H+")")}(p.scaleX,p.scaleY,m.scaleX,m.scaleY,w,D),p=m=null,function(S){for(var N,q=-1,H=D.length;++q<H;)w[(N=D[q]).i]=N.x(S);return w.join("")}}}var ns=Ra(function(e){const n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return n.isIdentity?Co:oa(n.a,n.b,n.c,n.d,n.e,n.f)},"px, ","px)","deg)"),is=Ra(function(e){return null==e?Co:(ie||(ie=document.createElementNS("http://www.w3.org/2000/svg","g")),ie.setAttribute("transform",e),(e=ie.transform.baseVal.consolidate())?oa((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):Co)},", ",")",")");function dr(e,n){var o,l;return function(){var _=li(this,e),p=_.tween;if(p!==o)for(var m=0,w=(l=o=p).length;m<w;++m)if(l[m].name===n){(l=l.slice()).splice(m,1);break}_.tween=l}}function ko(e,n,o){var l,_;if("function"!=typeof o)throw new Error;return function(){var p=li(this,e),m=p.tween;if(m!==l){_=(l=m).slice();for(var w={name:n,value:o},D=0,S=_.length;D<S;++D)if(_[D].name===n){_[D]=w;break}D===S&&_.push(w)}p.tween=_}}function Pn(e,n,o){var l=e._id;return e.each(function(){var _=li(this,l);(_.value||(_.value={}))[n]=o.apply(this,arguments)}),function(_){return Tt(_,l).value[n]}}function aa(e,n,o){e.prototype=n.prototype=o,o.constructor=e}function Ta(e,n){var o=Object.create(e.prototype);for(var l in n)o[l]=n[l];return o}function Li(){}var Pr=1/.7,Tr="\\s*([+-]?\\d+)\\s*",nr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",ir="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Zr=/^#([0-9a-f]{3,8})$/,mr=new RegExp("^rgb\\("+[Tr,Tr,Tr]+"\\)$"),Do=new RegExp("^rgb\\("+[ir,ir,ir]+"\\)$"),mo=new RegExp("^rgba\\("+[Tr,Tr,Tr,nr]+"\\)$"),so=new RegExp("^rgba\\("+[ir,ir,ir,nr]+"\\)$"),Ja=new RegExp("^hsl\\("+[nr,ir,ir]+"\\)$"),Ht=new RegExp("^hsla\\("+[nr,ir,ir,nr]+"\\)$"),tn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ze(){return this.rgb().formatHex()}function Ui(){return this.rgb().formatRgb()}function Bi(e){var n,o;return e=(e+"").trim().toLowerCase(),(n=Zr.exec(e))?(o=n[1].length,n=parseInt(n[1],16),6===o?Rr(n):3===o?new rr(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===o?Cr(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===o?Cr(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=mr.exec(e))?new rr(n[1],n[2],n[3],1):(n=Do.exec(e))?new rr(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=mo.exec(e))?Cr(n[1],n[2],n[3],n[4]):(n=so.exec(e))?Cr(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Ja.exec(e))?Ha(n[1],n[2]/100,n[3]/100,1):(n=Ht.exec(e))?Ha(n[1],n[2]/100,n[3]/100,n[4]):tn.hasOwnProperty(e)?Rr(tn[e]):"transparent"===e?new rr(NaN,NaN,NaN,0):null}function Rr(e){return new rr(e>>16&255,e>>8&255,255&e,1)}function Cr(e,n,o,l){return l<=0&&(e=n=o=NaN),new rr(e,n,o,l)}function zs(e){return e instanceof Li||(e=Bi(e)),e?new rr((e=e.rgb()).r,e.g,e.b,e.opacity):new rr}function So(e,n,o,l){return 1===arguments.length?zs(e):new rr(e,n,o,l??1)}function rr(e,n,o,l){this.r=+e,this.g=+n,this.b=+o,this.opacity=+l}function Tc(){return"#"+el(this.r)+el(this.g)+el(this.b)}function Ca(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||
10))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function el(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Ha(e,n,o,l){return l<=0?e=n=o=NaN:o<=0||o>=1?e=n=NaN:n<=0&&(e=NaN),new vo(e,n,o,l)}function nl(e){if(e instanceof vo)return new vo(e.h,e.s,e.l,e.opacity);if(e instanceof Li||(e=Bi(e)),!e)return new vo;if(e instanceof vo)return e;var n=(e=e.rgb()).r/255,o=e.g/255,l=e.b/255,_=Math.min(n,o,l),p=Math.max(n,o,l),m=NaN,w=p-_,D=(p+_)/2;return w?(m=n===p?(o-l)/w+6*(o<l):o===p?(l-n)/w+2:(n-o)/w+4,w/=D<.5?p+_:2-p-_,m*=60):w=D>0&&D<1?0:m,new vo(m,w,D,e.opacity)}function vo(e,n,o,l){this.h=+e,this.s=+n,this.l=+o,this.opacity=+l}function kr(e,n,o){return 255*(e<60?n+(o-n)*e/60:e<180?o:e<240?n+(o-n)*(240-e)/60:n)}function Xl(e,n,o,l,_){var p=e*e,m=p*e;return((1-3*e+3*p-m)*n+(4-6*p+3*m)*o+(1+3*e+3*p-3*m)*l+m*_)/6}aa(Li,Bi,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:ze,formatHex:ze,formatHsl:function(){return nl(this).formatHsl()},formatRgb:Ui,toString:Ui}),aa(rr,So,Ta(Li,{brighter:function(e){return e=null==e?Pr:Math.pow(Pr,e),new rr(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new rr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Tc,formatHex:Tc,formatRgb:Ca,toString:Ca})),aa(vo,function(e,n,o,l){return 1===arguments.length?nl(e):new vo(e,n,o,l??1)},Ta(Li,{brighter:function(e){return e=null==e?Pr:Math.pow(Pr,e),new vo(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new vo(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),n=isNaN(e)||isNaN(this.s)?0:this.s,o=this.l,l=o+(o<.5?o:1-o)*n,_=2*o-l;return new rr(kr(e>=240?e-240:e+120,_,l),kr(e,_,l),kr(e<120?e+240:e-120,_,l),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const tu=e=>()=>e;function eu(e,n){var l,_,o=n-e;return o?(l=e,_=o,function(p){return l+p*_}):tu(isNaN(e)?n:e)}const Ya=function e(n){var _,o=1==(_=+(_=n))?eu:function(p,m){return m-p?(w=p,D=m,S=_,w=Math.pow(w,S),D=Math.pow(D,S)-w,S=1/S,function(N){return Math.pow(w+N*D,S)}):tu(isNaN(p)?m:p);var w,D,S};function l(_,p){var m=o((_=So(_)).r,(p=So(p)).r),w=o(_.g,p.g),D=o(_.b,p.b),S=eu(_.opacity,p.opacity);return function(N){return _.r=m(N),_.g=w(N),_.b=D(N),_.opacity=S(N),_+""}}return l.gamma=e,l}(1);function Fh(e){return function(n){var o,l,_=n.length,p=new Array(_),m=new Array(_),w=new Array(_);for(o=0;o<_;++o)l=So(n[o]),p[o]=l.r||0,m[o]=l.g||0,w[o]=l.b||0;return p=e(p),m=e(m),w=e(w),l.opacity=1,function(D){return l.r=p(D),l.g=m(D),l.b=w(D),l+""}}}Fh(function(e){var n=e.length-1;return function(o){var l=o<=0?o=0:o>=1?(o=1,n-1):Math.floor(o*n),_=e[l],p=e[l+1];return Xl((o-l/n)*n,l>0?e[l-1]:2*_-p,_,p,l<n-1?e[l+2]:2*p-_)}}),Fh(function(e){var n=e.length;return function(o){var l=Math.floor(((o%=1)<0?++o:o)*n);return Xl((o-l/n)*n,e[(l+n-1)%n],e[l%n],e[(l+1)%n],e[(l+2)%n])}});var Cc=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,sa=new RegExp(Cc.source,"g");function Ge(e,n){var o,l,_,S,p=Cc.lastIndex=sa.lastIndex=0,m=-1,w=[],D=[];for(e+="",n+="";(o=Cc.exec(e))&&(l=sa.exec(n));)(_=l.index)>p&&(_=n.slice(p,_),w[m]?w[m]+=_:w[++m]=_),(o=o[0])===(l=l[0])?w[m]?w[m]+=l:w[++m]=l:(w[++m]=null,D.push({i:m,x:gr(o,l)})),p=sa.lastIndex;return p<n.length&&(_=n.slice(p),w[m]?w[m]+=_:w[++m]=_),w.length<2?D[0]?(S=D[0].x,function(N){return S(N)+""}):function(S){return function(){return S}}(n):(n=D.length,function(S){for(var N,q=0;q<n;++q)w[(N=D[q]).i]=N.x(S);return w.join("")})}function nu(e,n){var o;return("number"==typeof n?gr:n instanceof Bi?Ya:(o=Bi(n))?(n=o,Ya):Ge)(e,n)}function Gi(e){return function(){this.removeAttribute(e)}}function il(e){return function(){this.removeAttributeNS(e.space,e.local)}}function rl(e,n,o){var l,_,p=o+"";return function(){var m=this.getAttribute(e);return m===p?null:m===l?_:_=n(l=m,o)}}function iu(e,n,o){var l,_,p=o+"";return function(){var m=this.getAttributeNS(e.space,e.local);return m===p?null:m===l?_:_=n(l=m,o)}}function ca(e,n,o){var l,_,p;return function(){var m,w,D=o(this);if(null!=D)return(m=this.getAttribute(e))===(w=D+"")?null:m===l&&w===_?p:(_=w,p=n(l=m,D));this.removeAttribute(e)}}function Jr(e,n,o){var l,_,p;return function(){var m,w,D=o(this);if(null!=D)return(m=this.getAttributeNS(e.space,e.local))===(w=D+"")?null:m===l&&w===_?p:(_=w,p=n(l=m,D));this.removeAttributeNS(e.space,e.local)}}function kc(e,n){return function(o){this.setAttribute(e,n.call(this,o))}}function Mh(e,n){return function(o){this.setAttributeNS(e.space,e.local,n.call(this,o))}}function ru(e,n){var o,l;function _(){var p=n.apply(this,arguments);return p!==l&&(o=(l=p)&&Mh(e,p)),o}return _._value=n,_}function rs(e,n){var o,l;function _(){var p=n.apply(this,arguments);return p!==l&&(o=(l=p)&&kc(e,p)),o}return _._value=n,_}function Nh(e,n){return function(){$e(this,e).delay=+n.apply(this,arguments)}}function Bf(e,n){return n=+n,function(){$e(this,e).delay=n}}function xp(e,n){return function(){li(this,e).duration=+n.apply(this,arguments)}}function Pf(e,n){return n=+n,function(){li(this,e).duration=n}}function Rf(e,n){if("function"!=typeof n)throw new Error;return function(){li(this,e).ease=n}}function la(e,n,o){var l,_,p=(n+"").trim().split(/^|\s+/).every(function(w){var D=w.indexOf(".");return D>=0&&(w=w.slice(0,D)),!w||"start"===w})?$e:li;return function(){var m=p(this,e),w=m.on;
vendor: 11,387 bytes, line 1
1w!==l&&(_=(l=w).copy()).on(n,o),m.on=_}}var Jf=bn.prototype.constructor;function ou(e){return function(){this.style.removeProperty(e)}}function Lh(e,n,o){return function(l){this.style.setProperty(e,n.call(this,l),o)}}function os(e,n,o){var l,_;function p(){var m=n.apply(this,arguments);return m!==_&&(l=(_=m)&&Lh(e,m,o)),l}return p._value=n,p}function ol(e){return function(n){this.textContent=e.call(this,n)}}function Uh(e){var n,o;function l(){var _=e.apply(this,arguments);return _!==o&&(n=(o=_)&&ol(_)),n}return l._value=e,l}var au=0;function $o(e,n,o,l){this._groups=e,this._parents=n,this._name=o,this._id=l}function xs(){return++au}var ua=bn.prototype;$o.prototype=function(e){return bn().transition(e)}.prototype={constructor:$o,select:function(e){var n=this._name,o=this._id;"function"!=typeof e&&(e=St(e));for(var l=this._groups,_=l.length,p=new Array(_),m=0;m<_;++m)for(var w,D,S=l[m],N=S.length,q=p[m]=new Array(N),H=0;H<N;++H)(w=S[H])&&(D=e.call(w,w.__data__,H,S))&&("__data__"in w&&(D.__data__=w.__data__),q[H]=D,Bn(q[H],n,o,H,q,Tt(w,o)));return new $o(p,this._parents,n,o)},selectAll:function(e){var n=this._name,o=this._id;"function"!=typeof e&&(e=ft(e));for(var l=this._groups,_=l.length,p=[],m=[],w=0;w<_;++w)for(var D,S=l[w],N=S.length,q=0;q<N;++q)if(D=S[q]){for(var H,G=e.call(D,D.__data__,q,S),_t=Tt(D,o),st=0,Dt=G.length;st<Dt;++st)(H=G[st])&&Bn(H,n,o,st,G,_t);p.push(G),m.push(D)}return new $o(p,m,n,o)},selectChild:ua.selectChild,selectChildren:ua.selectChildren,filter:function(e){"function"!=typeof e&&(e=rt(e));for(var n=this._groups,o=n.length,l=new Array(o),_=0;_<o;++_)for(var p,m=n[_],w=m.length,D=l[_]=[],S=0;S<w;++S)(p=m[S])&&e.call(p,p.__data__,S,m)&&D.push(p);return new $o(l,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var n=this._groups,o=e._groups,l=n.length,p=Math.min(l,o.length),m=new Array(l),w=0;w<p;++w)for(var D,S=n[w],N=o[w],q=S.length,H=m[w]=new Array(q),G=0;G<q;++G)(D=S[G]||N[G])&&(H[G]=D);for(;w<l;++w)m[w]=n[w];return new $o(m,this._parents,this._name,this._id)},selection:function(){return new Jf(this._groups,this._parents)},transition:function(){for(var e=this._name,n=this._id,o=xs(),l=this._groups,_=l.length,p=0;p<_;++p)for(var m,w=l[p],D=w.length,S=0;S<D;++S)if(m=w[S]){var N=Tt(m,n);Bn(m,e,o,S,w,{time:N.time+N.delay+N.duration,delay:0,duration:N.duration,ease:N.ease})}return new $o(l,this._parents,e,o)},call:ua.call,nodes:ua.nodes,node:ua.node,size:ua.size,empty:ua.empty,each:ua.each,on:function(e,n){var o=this._id;return arguments.length<2?Tt(this.node(),o).on.on(e):this.each(la(o,e,n))},attr:function(e,n){var o=Jt(e),l="transform"===o?is:nu;return this.attrTween(e,"function"==typeof n?(o.local?Jr:ca)(o,l,Pn(this,"attr."+e,n)):null==n?(o.local?il:Gi)(o):(o.local?iu:rl)(o,l,n))},attrTween:function(e,n){var o="attr."+e;if(arguments.length<2)return(o=this.tween(o))&&o._value;if(null==n)return this.tween(o,null);if("function"!=typeof n)throw new Error;var l=Jt(e);return this.tween(o,(l.local?ru:rs)(l,n))},style:function(e,n,o){var _,p,m,w,D,l="transform"==(e+="")?ns:nu;return null==n?this.styleTween(e,(_=e,p=l,function(){var S=de(this,_),N=(this.style.removeProperty(_),de(this,_));return S===N?null:S===m&&N===w?D:D=p(m=S,w=N)})).on("end.style."+e,ou(e)):"function"==typeof n?this.styleTween(e,function(_,p,m){var w,D,S;return function(){var N=de(this,_),q=m(this),H=q+"";return null==q&&(this.style.removeProperty(_),H=q=de(this,_)),N===H?null:N===w&&H===D?S:(D=H,S=p(w=N,q))}}(e,l,Pn(this,"style."+e,n))).each(function(_,p){var m,w,D,S,N="style."+p,q="end."+N;return function(){var H=li(this,_),G=H.on,_t=null==H.value[N]?S||(S=ou(p)):void 0;G===m&&D===_t||(w=(m=G).copy()).on(q,D=_t),H.on=w}}(this._id,e)):this.styleTween(e,function(_,p,m){var w,D,S=m+"";return function(){var N=de(this,_);return N===S?null:N===w?D:D=p(w=N,m)}}(e,l,n),o).on("end.style."+e,null)},styleTween:function(e,n,o){var l="style."+(e+="");if(arguments.length<2)return(l=this.tween(l))&&l._value;if(null==n)return this.tween(l,null);if("function"!=typeof n)throw new Error;return this.tween(l,os(e,n,o??""))},text:function(e){return this.tween("text","function"==typeof e?(n=Pn(this,"text",e),function(){var o=n(this);this.textContent=o??""}):function(n){return function(){this.textContent=n}}(null==e?"":e+""));var n},textTween:function(e){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;return this.tween(n,Uh(e))},remove:function(){return this.on("end.remove",(e=this._id,function(){var n=this.parentNode;for(var o in this.__transition)if(+o!==e)return;n&&n.removeChild(this)}));var e},tween:function(e,n){var o=this._id;if(e+="",arguments.length<2){for(var l,_=Tt(this.node(),o).tween,p=0,m=_.length;p<m;++p)if((l=_[p]).name===e)return l.value;return null}return this.each((null==n?dr:ko)(o,e,n))},delay:function(e){var n=this._id;return arguments.length?this.each(("function"==typeof e?Nh:Bf)(n,e)):Tt(this.node(),n).delay},duration:function(e){var n=this._id;return arguments.length?this.each(("function"==typeof e?xp:Pf)(n,e)):Tt(this.node(),n).duration},ease:function(e){var n=this._id;return arguments.length?this.each(Rf(n,e)):Tt(this.node(),n).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each((n=this._id,o=e,function(){var l=o.apply(this,arguments);if("function"!=typeof l)throw new Error;li(this,n).ease=l}));var n,o},end:function(){var e,n,o=this,l=o._id,_=o.size();return new Promise(function(p,m){var w={value:m},D={value:function(){0==--_&&p()}};o.each(function(){var S=li(this,l),N=S.on;N!==e&&((n=(e=N).copy())._.cancel.push(w),n._.interrupt.push(w),n._.end.push(D)),S.on=n}),0===_&&p()})},[Symbol.iterator]:ua[Symbol.iterator]};var al={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function jo(e,n){for(var o;!(o=e.__transition)||!(o=o[n]);)if(!(e=e.parentNode))throw new Error(`transition ${n} not found`);return o}function ha(e){return{type:e}}function ei(e,n,o){e.prototype=n.prototype=o,o.constructor=e}function I(e,n){var o=Object.create(e.prototype);for(var l in n)o[l]=n[l];return o}function P(){}bn.prototype.interrupt=function(e){return this.each(function(){!function(n,o){var l,_,p,m=n.__transition,w=!0;if(m){for(p in o=null==o?null:o+"",m)(l=m[p]).name===o?(_=l.state>2&&l.state<5,l.state=6,l.timer.stop(),l.on.call(_?"interrupt":"cancel",n,n.__data__,l.index,l.group),delete m[p]):w=!1;w&&delete n.__transition}}(this,e)})},bn.prototype.transition=function(e){var n,o;e instanceof $o?(n=e._id,e=e._name):(n=xs(),(o=al).time=Lr(),e=null==e?null:e+"");for(var l=this._groups,_=l.length,p=0;p<_;++p)for(var m,w=l[p],D=w.length,S=0;S<D;++S)(m=w[S])&&Bn(m,e,n,S,w,o||jo(m,n));return new $o(l,this._parents,e,n)},Math,["w","e"].map(ha),["n","s"].map(ha),["n","w","e","s","nw","ne","sw","se"].map(ha);var K=.7,ut=1/K,zt="\\s*([+-]?\\d+)\\s*",ye="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ee="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Re=/^#([0-9a-f]{3,8})$/,He=new RegExp("^rgb\\("+[zt,zt,zt]+"\\)$"),Xe=new RegExp("^rgb\\("+[Ee,Ee,Ee]+"\\)$"),rn=new RegExp("^rgba\\("+[zt,zt,zt,ye]+"\\)$"),Jn=new RegExp("^rgba\\("+[Ee,Ee,Ee,ye]+"\\)$"),Sn=new RegExp("^hsl\\("+[ye,Ee,Ee]+"\\)$"),Zi=new RegExp("^hsla\\("+[ye,Ee,Ee,ye]+"\\)$"),Ci={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Xi(){return this.rgb().formatHex()}function Dr(){return this.rgb().formatRgb()}function yo(e){var n,o;return e=(e+"").trim().toLowerCase(),(n=Re.exec(e))?(o=n[1].length,n=parseInt(n[1],16),6===o?Ks(n):3===o?new Oo(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===o?su(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===o?su(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=He.exec(e))?new Oo(n[1],n[2],n[3],1):(n=Xe.exec(e))?new Oo(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=rn.exec(e))?su(n[1],n[2],n[3],n[4]):(n=Jn.exec(e))?su(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Sn.exec(e))?Tp(n[1],n[2]/100,n[3]/100,1):(n=Zi.exec(e))?Tp(n[1],n[2]/100,n[3]/100,n[4]):Ci.hasOwnProperty(e)?Ks(Ci[e]):"transparent"===e?new Oo(NaN,NaN,NaN,0):null}function Ks(e){return new Oo(e>>16&255,e>>8&255,255&e,1)}function su(e,n,o,l){return l<=0&&(e=n=o=NaN),new Oo(e,n,o,l)}function bp(e){return e instanceof P||(e=yo(e)),e?new Oo((e=e.rgb()).r,e.g,e.b,e.opacity):new Oo}function sl(e,n,o,l){return 1===arguments.length?bp(e):new Oo(e,n,o,l??1)}function Oo(e,n,o,l){this.r=+e,this.g=+n,this.b=+o,this.opacity=+l}function Hf(){return"#"+Yf(this.r)+Yf(this.g)+Yf(this.b)}function wp(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||
10))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Yf(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Tp(e,n,o,l){return l<=0?e=n=o=NaN:o<=0||o>=1?e=n=NaN:n<=0&&(e=NaN),new ws(e,n,o,l)}function Cp(e){if(e instanceof ws)return new ws(e.h,e.s,e.l,e.opacity);if(e instanceof P||(e=yo(e)),!e)return new ws;if(e instanceof ws)return e;var n=(e=e.rgb()).r/255,o=e.g/255,l=e.b/255,_=Math.min(n,o,l),p=Math.max(n,o,l),m=NaN,w=p-_,D=(p+_)/2;return w?(m=n===p?(o-l)/w+6*(o<l):o===p?(l-n)/w+2:(n-o)/w+4,w/=D<.5?p+_:2-p-_,m*=60):w=D>0&&D<1?0:m,new ws(m,w,D,e.opacity)}function ws(e,n,o,l){this.h=+e,this.s=+n,this.l=+o,this.opacity=+l}function kp(e,n,o){return 255*(e<60?n+(o-n)*e/60:e<180?o:e<240?n+(o-n)*(240-e)/60:n)}ei(P,yo,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Xi,formatHex:Xi,formatHsl:function(){return Cp(this).formatHsl()},formatRgb:Dr,toString:Dr}),ei(Oo,sl,I(P,{brighter:function(e){return e=null==e?ut:Math.pow(ut,e),new Oo(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?K:Math.pow(K,e),new Oo(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Hf,formatHex:Hf,formatRgb:wp,toString:wp})),ei(ws,function(e,n,o,l){return 1===arguments.length?Cp(e):new ws(e,n,o,l??1)},I(P,{brighter:function(e){return e=null==e?ut:Math.pow(ut,e),new ws(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?K:Math.pow(K,e),new ws(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),n=isNaN(e)||isNaN(this.s)?0:this.s,o=this.l,l=o+(o<.5?o:1-o)*n,_=2*o-l;return new Oo(kp(e>=240?e-240:e+120,_,l),kp(e,_,l),kp(e<120?e+240:e-120,_,l),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const Dp=Math.PI/180,qm=180/Math.PI,$m=4/29,Sp=6/29,jm=3*Sp*Sp;function Gm(e){if(e instanceof Ts)return new Ts(e.l,e.a,e.b,e.opacity);if(e instanceof Ws)return zm(e);e instanceof Oo||(e=bp(e));var n,o,l=Fp(e.r),_=Fp(e.g),p=Fp(e.b),m=Ap((.2225045*l+.7168786*_+.0606169*p)/1);return l===_&&_===p?n=o=m:(n=Ap((.4360747*l+.3850649*_+.1430804*p)/.96422),o=Ap((.0139322*l+.0971045*_+.7141733*p)/.82521)),new Ts(116*m-16,500*(n-m),200*(m-o),e.opacity)}function Ts(e,n,o,l){this.l=+e,this.a=+n,this.b=+o,this.opacity=+l}function Ap(e){return e>.008856451679035631?Math.pow(e,1/3):e/jm+$m}function Ep(e){return e>Sp?e*e*e:jm*(e-$m)}function Ip(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Fp(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Y6(e){if(e instanceof Ws)return new Ws(e.h,e.c,e.l,e.opacity);if(e instanceof Ts||(e=Gm(e)),0===e.a&&0===e.b)return new Ws(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var n=Math.atan2(e.b,e.a)*qm;return new Ws(n<0?n+360:n,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function Mp(e,n,o,l){return 1===arguments.length?Y6(e):new Ws(e,n,o,l??1)}function Ws(e,n,o,l){this.h=+e,this.c=+n,this.l=+o,this.opacity=+l}function zm(e){if(isNaN(e.h))return new Ts(e.l,0,0,e.opacity);var n=e.h*Dp;return new Ts(e.l,Math.cos(n)*e.c,Math.sin(n)*e.c,e.opacity)}ei(Ts,function(e,n,o,l){return 1===arguments.length?Gm(e):new Ts(e,n,o,l??1)},I(P,{brighter:function(e){return new Ts(this.l+18*(e??1),this.a,this.b,this.opacity)},darker:function(e){return new Ts(this.l-18*(e??1),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,n=isNaN(this.a)?e:e+this.a/500,o=isNaN(this.b)?e:e-this.b/200;return new Oo(Ip(3.1338561*(n=.96422*Ep(n))-1.6168667*(e=1*Ep(e))-.4906146*(o=.82521*Ep(o))),Ip(-.9787684*n+1.9161415*e+.033454*o),Ip(.0719453*n-.2289914*e+1.4052427*o),this.opacity)}})),ei(Ws,Mp,I(P,{brighter:function(e){return new Ws(this.h,this.c,this.l+18*(e??1),this.opacity)},darker:function(e){return new Ws(this.h,this.c,this.l-18*(e??1),this.opacity)},rgb:function(){return zm(this).rgb()}}));const Np=e=>()=>e;function Km(e,n){return function(o){return e+o*n}}function cl(e,n){var o=n-e;return o?Km(e,o):Np(isNaN(e)?n:e)}function Wm(e){return function(n,o){var l=e((n=Mp(n)).h,(o=Mp(o)).h),_=cl(n.c,o.c),p=cl(n.l,o.l),m=cl(n.opacity,o.opacity);return function(w){return n.h=l(w),n.c=_(w),n.l=p(w),n.opacity=m(w),n+""}}}const q6=Wm(function(e,n){var o=n-e;return o?Km(e,o>180||o<-180?o-360*Math.round(o/360):o):Np(isNaN(e)?n:e)});Wm(cl);var Lp=Math.sqrt(50),Up=Math.sqrt(10),Zp=Math.sqrt(2);function as(e,n,o){var l=(n-e)/Math.max(0,o),_=Math.floor(Math.log(l)/Math.LN10),p=l/Math.pow(10,_);return _>=0?(p>=Lp?10:p>=Up?5:p>=Zp?2:1)*Math.pow(10,_):-Math.pow(10,-_)/(p>=Lp?10:p>=Up?5:p>=Zp?2:1)}function qf(e,n,o){var l=Math.abs(n-e)/Math.max(0,o),_=Math.pow(10,Math.floor(Math.log(l)/Math.LN10)),p=l/_;return p>=Lp?_*=10:p>=Up?_*=5:p>=Zp&&(_*=2),n<e?-_:_}function Vf(e,n){return null==e||null==n?NaN:e<n?-1:e>n?1:e>=n?0:NaN}function Sc(e){let n=e,o=e,l=e;function _(p,m,w=0,D=p.length){if(w<D){if(0!==o(m,m))return D;do{const S=w+D>>>1;l(p[S],m)<0?w=S+1:D=S}while(w<D)}return w}return 2!==e.length&&(n=(p,m)=>e(p)-m,o=Vf,l=(p,m)=>Vf(e(p),m)),{left:_,center:function(p,m,w=0,D=p.length){const S=_(p,m,w,D-1);return S>w&&n(p[S-1],m)>-n(p[S],m)?S-1:S},right:function(p,m,w=0,D=p.length){if(w<D){if(0!==o(m,m))return D;do{const S=w+D>>>1;l(p[S],m)<=0?w=S+1:D=S}while(w<D)}return w}}}const V6=Sc(Vf).right,Op=(Sc(function(e){return null===e?NaN:+e}),V6);function Zh(e,n,o){e.prototype=n.prototype=o,o.constructor=e}function t2(e,n){var o=Object.create(e.prototype);for(var l in n)o[l]=n[l];return o}function Oh(){}
vendor: 4,490 bytes, line 1
1var cu=1.4285714285714286,lu="\\s*([+-]?\\d+)\\s*",uu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",qa="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",e2=/^#([0-9a-f]{3,8})$/,Bp=new RegExp("^rgb\\("+[lu,lu,lu]+"\\)$"),hu=new RegExp("^rgb\\("+[qa,qa,qa]+"\\)$"),du=new RegExp("^rgba\\("+[lu,lu,lu,uu]+"\\)$"),n2=new RegExp("^rgba\\("+[qa,qa,qa,uu]+"\\)$"),Pp=new RegExp("^hsl\\("+[uu,qa,qa]+"\\)$"),Q6=new RegExp("^hsla\\("+[uu,qa,qa,uu]+"\\)$"),Bh={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ph(){return this.rgb().formatHex()}function i2(){return this.rgb().formatRgb()}function ka(e){var n,o;return e=(e+"").trim().toLowerCase(),(n=e2.exec(e))?(o=n[1].length,n=parseInt(n[1],16),6===o?Rp(n):3===o?new Ao(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===o?Rh(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===o?Rh(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Bp.exec(e))?new Ao(n[1],n[2],n[3],1):(n=hu.exec(e))?new Ao(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=du.exec(e))?Rh(n[1],n[2],n[3],n[4]):(n=n2.exec(e))?Rh(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Pp.exec(e))?jf(n[1],n[2]/100,n[3]/100,1):(n=Q6.exec(e))?jf(n[1],n[2]/100,n[3]/100,n[4]):Bh.hasOwnProperty(e)?Rp(Bh[e]):"transparent"===e?new Ao(NaN,NaN,NaN,0):null}function Rp(e){return new Ao(e>>16&255,e>>8&255,255&e,1)}function Rh(e,n,o,l){return l<=0&&(e=n=o=NaN),new Ao(e,n,o,l)}function $6(e){return e instanceof Oh||(e=ka(e)),e?new Ao((e=e.rgb()).r,e.g,e.b,e.opacity):new Ao}function $f(e,n,o,l){return 1===arguments.length?$6(e):new Ao(e,n,o,l??1)}function Ao(e,n,o,l){this.r=+e,this.g=+n,this.b=+o,this.opacity=+l}function r2(){return"#"+Jp(this.r)+Jp(this.g)+Jp(this.b)}function o2(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||
10))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Jp(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function jf(e,n,o,l){return l<=0?e=n=o=NaN:o<=0||o>=1?e=n=NaN:n<=0&&(e=NaN),new Cs(e,n,o,l)}function a2(e){if(e instanceof Cs)return new Cs(e.h,e.s,e.l,e.opacity);if(e instanceof Oh||(e=ka(e)),!e)return new Cs;if(e instanceof Cs)return e;var n=(e=e.rgb()).r/255,o=e.g/255,l=e.b/255,_=Math.min(n,o,l),p=Math.max(n,o,l),m=NaN,w=p-_,D=(p+_)/2;return w?(m=n===p?(o-l)/w+6*(o<l):o===p?(l-n)/w+2:(n-o)/w+4,w/=D<.5?p+_:2-p-_,m*=60):w=D>0&&D<1?0:m,new Cs(m,w,D,e.opacity)}function Cs(e,n,o,l){this.h=+e,this.s=+n,this.l=+o,this.opacity=+l}function Hp(e,n,o){return 255*(e<60?n+(o-n)*e/60:e<180?o:e<240?n+(o-n)*(240-e)/60:n)}function s2(e,n,o,l,_){var p=e*e,m=p*e;return((1-3*e+3*p-m)*n+(4-6*p+3*m)*o+(1+3*e+3*p-3*m)*l+m*_)/6}Zh(Oh,ka,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Ph,formatHex:Ph,formatHsl:function(){return a2(this).formatHsl()},formatRgb:i2,toString:i2}),Zh(Ao,$f,t2(Oh,{brighter:function(e){return e=null==e?cu:Math.pow(cu,e),new Ao(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Ao(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:r2,formatHex:r2,formatRgb:o2,toString:o2})),Zh(Cs,function(e,n,o,l){return 1===arguments.length?a2(e):new Cs(e,n,o,l??1)},t2(Oh,{brighter:function(e){return e=null==e?cu:Math.pow(cu,e),new Cs(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Cs(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),n=isNaN(e)||isNaN(this.s)?0:this.s,o=this.l,l=o+(o<.5?o:1-o)*n,_=2*o-l;return new Ao(Hp(e>=240?e-240:e+120,_,l),Hp(e,_,l),Hp(e<120?e+240:e-120,_,l),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const Yp=e=>()=>e;function Gf(e,n){var l,_,o=n-e;return o?(l=e,_=o,function(p){return l+p*_}):Yp(isNaN(e)?n:e)}const qp=function e(n){var _,o=1==(_=+(_=n))?Gf:function(p,m){return m-p?(w=p,D=m,S=_,w=Math.pow(w,S),D=Math.pow(D,S)-w,S=1/S,function(N){return Math.pow(w+N*D,S)}):Yp(isNaN(p)?m:p);var w,D,S};function l(_,p){var m=o((_=$f(_)).r,(p=$f(p)).r),w=o(_.g,p.g),D=o(_.b,p.b),S=Gf(_.opacity,p.opacity);return function(N){return _.r=m(N),_.g=w(N),_.b=D(N),_.opacity=S(N),_+""}}return l.gamma=e,l}(1);function Vp(e){return function(n){var o,l,_=n.length,p=new Array(_),m=new Array(_),w=new Array(_);for(o=0;o<_;++o)l=$f(n[o]),p[o]=l.r||0,m[o]=l.g||0,w[o]=l.b||0;return p=e(p),m=e(m),w=e(w),l.opacity=1,function(D){return l.r=p(D),l.g=m(D),l.b=w(D),l+""}}}function c2(e,n){var o,l=n?n.length:0,_=e?Math.min(l,e.length):0,p=new Array(_),m=new Array(l);for(o=0;o<_;++o)p[o]=Hh(e[o],n[o]);for(;o<l;++o)m[o]=n[o];return function(w){for(o=0;o<_;++o)m[o]=p[o](w);return m}}function zf(e,n){var o=new Date;return e=+e,n=+n,function(l){return o.setTime(e*(1-l)+n*l),o}}function Jh(e,n){return e=+e,n=+n,function(o){return e*(1-o)+n*o}}function l2(e,n){var o,l={},_={};for(o in null!==e&&"object"==typeof e||(e={}),null!==n&&"object"==typeof n||(n={}),n)o in e?l[o]=Hh(e[o],n[o]):_[o]=n[o];return function(p){for(o in l)_[o]=l[o](p);return _}}Vp(function(e){var n=e.length-1;return function(o){var l=o<=0?o=0:o>=1?(o=1,n-1):Math.floor(o*n),_=e[l],p=e[l+1];return s2((o-l/n)*n,l>0?e[l-1]:2*_-p,_,p,l<n-1?e[l+2]:2*p-_)}}),Vp(function(e){var n=e.length;return function(o){var l=Math.floor(((o%=1)<0?++o:o)*n);return s2((o-l/n)*n,e[(l+n-1)%n],e[l%n],e[(l+1)%n],e[(l+2)%n])}});var Qp=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,$p=new RegExp(Qp.source,"g");function j6(e,n){var o,l,_,S,p=Qp.lastIndex=$p.lastIndex=0,m=-1,w=[],D=[];for(e+="",n+="";(o=Qp.exec(e))&&(l=$p.exec(n));)(_=l.index)>
vendor: 4,102 bytes, line 1
1p&&(_=n.slice(p,_),w[m]?w[m]+=_:w[++m]=_),(o=o[0])===(l=l[0])?w[m]?w[m]+=l:w[++m]=l:(w[++m]=null,D.push({i:m,x:Jh(o,l)})),p=$p.lastIndex;return p<n.length&&(_=n.slice(p),w[m]?w[m]+=_:w[++m]=_),w.length<2?D[0]?(S=D[0].x,function(N){return S(N)+""}):function(S){return function(){return S}}(n):(n=D.length,function(S){for(var N,q=0;q<n;++q)w[(N=D[q]).i]=N.x(S);return w.join("")})}function jp(e,n){n||(n=[]);var o,l=e?Math.min(n.length,e.length):0,_=n.slice();return function(p){for(o=0;o<l;++o)_[o]=e[o]*(1-p)+n[o]*p;return _}}function Hh(e,n){var o,l,_=typeof n;return null==n||"boolean"===_?Yp(n):("number"===_?Jh:"string"===_?(o=ka(n))?(n=o,qp):j6:n instanceof ka?qp:n instanceof Date?zf:(l=n,!ArrayBuffer.isView(l)||l instanceof DataView?Array.isArray(n)?c2:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?l2:Jh:jp))(e,n)}function Gp(e,n){return e=+e,n=+n,function(o){return Math.round(e*(1-o)+n*o)}}function ll(e){return+e}var u2=[0,1];function Ac(e){return e}function Kf(e,n){return(n-=e=+e)?function(l){return(l-e)/n}:(o=isNaN(n)?NaN:.5,function(){return o});var o}function ul(e,n,o){var l=e[0],_=e[1],p=n[0],m=n[1];return _<l?(l=Kf(_,l),p=o(m,p)):(l=Kf(l,_),p=o(p,m)),function(w){return p(l(w))}}function G6(e,n,o){var l=Math.min(e.length,n.length)-1,_=new Array(l),p=new Array(l),m=-1;for(e[l]<e[0]&&(e=e.slice().reverse(),n=n.slice().reverse());++m<l;)_[m]=Kf(e[m],e[m+1]),p[m]=o(n[m],n[m+1]);return function(w){var D=Op(e,w,1,l)-1;return p[D](_[D](w))}}function h2(e,n){return n.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function d2(){return function(){var e,n,o,l,_,p,m=u2,w=u2,D=Hh,S=Ac;function N(){var H,G,_t,st=Math.min(m.length,w.length);return S!==Ac&&((H=m[0])>(G=m[st-1])&&(_t=H,H=G,G=_t),S=function(Dt){return Math.max(H,Math.min(G,Dt))}),l=st>2?G6:ul,_=p=null,q}function q(H){return null==H||isNaN(H=+H)?o:(_||(_=l(m.map(e),w,D)))(e(S(H)))}return q.invert=function(H){return S(n((p||(p=l(w,m.map(e),Jh)))(H)))},q.domain=function(H){return arguments.length?(m=Array.from(H,ll),N()):m.slice()},q.range=function(H){return arguments.length?(w=Array.from(H),N()):w.slice()},q.rangeRound=function(H){return w=Array.from(H),D=Gp,N()},q.clamp=function(H){return arguments.length?(S=!!H||Ac,N()):S!==Ac},q.interpolate=function(H){return arguments.length?(D=H,N()):D},q.unknown=function(H){return arguments.length?(o=H,q):o},function(H,G){return e=H,n=G,N()}}()(Ac,Ac)}function zp(e,n){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(n).domain(e)}return this}var f2,z6=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function zo(e){if(!(n=z6.exec(e)))throw new Error("invalid format: "+e);var n;return new fu({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function fu(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Yh(e,n){if((o=(e=n?e.toExponential(n-1):e.toExponential()).indexOf("e"))<0)return null;var o,l=e.slice(0,o);return[l.length>1?l[0]+l.slice(2):l,+e.slice(o+1)]}function Da(e){return(e=Yh(Math.abs(e)))?e[1]:NaN}function _2(e,n){var o=Yh(e,n);if(!o)return e+"";var l=o[0],_=o[1];return _<0?"0."+new Array(-_).join("0")+l:l.length>_+1?l.slice(0,_+1)+"."+l.slice(_+1):l+new Array(_-l.length+2).join("0")}zo.prototype=fu.prototype,fu.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const p2={"%":(e,n)=>(100*e).toFixed(n),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>
1=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,n)=>e.toExponential(n),f:(e,n)=>e.toFixed(n),g:(e,n)=>e.toPrecision(n),o:e=>Math.round(e).toString(8),p:(e,n)=>_2(100*e,n),r:_2,s:function(e,n){var o=Yh(e,n);if(!o)return e+"";var l=o[0],_=o[1],p=_-(f2=3*Math.max(-8,Math.min(8,Math.floor(_/3))))+1,m=l.length;return p===m?l:p>m?l+new Array(p-m+1).join("0"):p>0?l.slice(0,p)+"."+l.slice(p):"0."+new Array(1-p).join("0")+Yh(e,Math.max(0,n+p-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function g2(e){return e}var Wf,Kp,qh,Ec=Array.prototype.map,Wp=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function K6(e){var n=e.domain;return e.ticks=function(o){var l=n();return function(_,p,m){var w,D,S,N,q=-1;if(m=+m,(_=+_)==(p=+p)&&m>0)return[_];if((w=p<_)&&(D=_,_=p,p=D),0===(N=as(_,p,m))||!isFinite(N))return[];if(N>0){let H=Math.round(_/N),G=Math.round(p/N);for(H*N<_&&++H,G*N>p&&--G,S=new Array(D=G-H+1);++q<D;)S[q]=(H+q)*N}else{N=-N;let H=Math.round(_*N),G=Math.round(p*N);for(H/N<_&&++H,G/N>p&&--G,S=new Array(D=G-H+1);++q<D;)S[q]=(H+q)/N}return w&&S.reverse(),S}(l[0],l[l.length-1],o??10)},e.tickFormat=function(o,l){var _=n();return function(p,m,w,D){var S,H,N=qf(p,m,w);switch((D=zo(D??",f")).type){case"s":var q=Math.max(Math.abs(p),Math.abs(m));return null!=D.precision||isNaN((H=N,S=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Da(q)/3)))-Da(Math.abs(H)))))||(D.precision=S),qh(D,q);case"":case"e":case"g":case"p":case"r":null!=D.precision||isNaN(S=function(H,G){return H=Math.abs(H),G=Math.abs(G)-H,Math.max(0,Da(G)-Da(H))+1}(N,Math.max(Math.abs(p),Math.abs(m))))||(D.precision=S-("e"===D.type));break;case"f":case"%":null!=D.precision||isNaN(S=function(H){return Math.max(0,-Da(Math.abs(H)))}(N))||(D.precision=S-2*("%"===D.type))}return Kp(D)}(_[0],_[_.length-1],o??10,l)},e.nice=function(o){null==o&&(o=10);var l,_,p=n(),m=0,w=p.length-1,D=p[m],S=p[w],N=10;for(S<D&&(_=D,D=S,S=_,_=m,m=w,w=_);N-- >0;){if((_=as(D,S,o))===l)return p[m]=D,p[w]=S,n(p);if(_>0)D=Math.floor(D/_)*_,S=Math.ceil(S/_)*_;else{if(!(_<0))break;D=Math.ceil(D*_)/_,S=Math.floor(S*_)/_}l=_}return e},e}function m2(){var e=d2();return e.copy=function(){return h2(e,m2())},zp.apply(e,arguments),K6(e)}Wf=function(e){var n,o,H,l=void 0===e.grouping||void 0===e.thousands?g2:(n=Ec.call(e.grouping,Number),o=e.thousands+"",function(H,G){for(var _t=H.length,st=[],Dt=0,vt=n[0],Et=0;_t>0&&vt>0&&(Et+vt+1>G&&(vt=Math.max(1,G-Et)),st.push(H.substring(_t-=vt,_t+vt)),!((Et+=vt+1)>G));)vt=n[Dt=(Dt+1)%n.length];return st.reverse().join(o)}),_=void 0===e.currency?"":e.currency[0]+"",p=void 0===e.currency?"":e.currency[1]+"",m=void 0===e.decimal?".":e.decimal+"",w=void 0===e.numerals?g2:(H=Ec.call(e.numerals,String),function(G){return G.replace(/[0-9]/g,function(_t){return H[+_t]})}),D=void 0===e.percent?"%":e.percent+"",S=void 0===e.minus?"\u2212":e.minus+"",N=void 0===e.nan?"NaN":e.nan+"";function q(H){var G=(H=zo(H)).fill,_t=H.align,st=H.sign,Dt=H.symbol,vt=H.zero,Et=H.width,Mt=H.comma,Kt=H.precision,re=H.trim,qt=H.type;"n"===qt?(Mt=!0,qt="g"):p2[qt]||(void 0===Kt&&(Kt=12),re=!0,qt="g"),(vt||"0"===G&&"="===_t)&&(vt=!0,G="0",_t="=");var Xt="$"===Dt?_:"#"===Dt&&/[boxX]/.test(qt)?"0"+qt.toLowerCase():"",_e="$"===Dt?p:/[%p]/.test(qt)?D:"",It=p2[qt],Ut=/[defgprs%]/.test(qt);function Ft(xt){var $t,wt,Se,Ne=Xt,ge=_e;if("c"===qt)ge=It(xt)+ge,xt="";else{var Ce=(xt=+xt)<0||1/xt<0;if(xt=isNaN(xt)?N:It(Math.abs(xt),Kt),re&&(xt=function(we){t:for(var Je,Ke=we.length,Ye=1,Ln=-1;Ye<Ke;++Ye)switch(we[Ye]){case".":Ln=Je=Ye;break;case"0":0===Ln&&(Ln=Ye),Je=Ye;break;default:if(!+we[Ye])break t;Ln>0&&(Ln=0)}return Ln>0?we.slice(0,Ln)+we.slice(Je+1):we}(xt)),Ce&&0==+xt&&"+"!==st&&(Ce=!1),Ne=(Ce?"("===st?st:S:"-"===st||"("===st?"":st)+Ne,ge=("s"===qt?Wp[8+f2/3]:"")+ge+(Ce&&"("===st?")":""),Ut)for($t=-1,wt=xt.length;++$t<wt;)if(48>(Se=xt.charCodeAt($t))||Se>57){ge=(46===Se?m+xt.slice($t+1):xt.slice($t))+ge,xt=xt.slice(0,$t);break}}Mt&&!vt&&(xt=l(xt,1/0));var Ue=Ne.length+xt.length+ge.length,Ie=Ue<Et?new Array(Et-Ue+1).join(G):"";switch(Mt&&vt&&(xt=l(Ie+xt,Ie.length?Et-ge.length:1/0),Ie=""),_t){case"<":xt=Ne+xt+ge+Ie;break;case"=":xt=Ne+Ie+xt+ge;break;case"^":xt=Ie.slice(0,Ue=Ie.length>>1)+Ne+xt+ge+Ie.slice(Ue);break;default:xt=Ie+Ne+xt+ge}return w(xt)}return Kt=void 0===Kt?6:/[gprs]/.test(qt)?Math.max(1,Math.min(21,Kt)):Math.max(0,Math.min(20,Kt)),Ft.toString=function(){return H+""},Ft}return{format:q,formatPrefix:function(H,G){var _t=q(((H=zo(H)).type="f",H)),st=3*Math.max(-8,Math.min(8,Math.floor(Da(G)/3))),Dt=Math.pow(10,-st),vt=Wp[8+st/3];return function(Et){return _t(Dt*Et)+vt}}}}({thousands:",",grouping:[3],currency:["$",""]}),Kp=Wf.format,qh=Wf.formatPrefix;class v2 extends Map{constructor(n,o=x2){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:o}}),null!=n)for(const[l,_]of n)this.set(l,_)}get(n){return super.get(y2(this,n))}has(n){return super.has(y2(this,n))}set(n,o){return super.set(function({_intern:l,_key:_},p){const m=_(p);return l.has(m)?l.get(m):(l.set(m,p),p)}(this,n),o)}delete(n){return super.delete(function({_intern:o,_key:l},_){const p=l(_);return o.has(p)&&(_=o.get(p),o.delete(p)),_}(this,n))}}function y2({_intern:e,_key:n},o){const l=n(o);return e.has(l)?e.get(l):o}function x2(e){return null!==e&&"object"==typeof e?e.valueOf():e}
1const Xp=Symbol("implicit");function t0(){var e=new v2,n=[],o=[],l=Xp;function _(p){let m=e.get(p);if(void 0===m){if(l!==Xp)return l;e.set(p,m=n.push(p)-1)}return o[m%o.length]}return _.domain=function(p){if(!arguments.length)return n.slice();n=[],e=new v2;for(const m of p)e.has(m)||e.set(m,n.push(m)-1);return _},_.range=function(p){return arguments.length?(o=Array.from(p),_):o.slice()},_.unknown=function(p){return arguments.length?(l=p,_):l},_.copy=function(){return t0(n,o).unknown(l)},zp.apply(_,arguments),_}const _u=1e3,Xs=6e4,hl=36e5,Xf=864e5,t1=6048e5,e0=31536e6;var pu=new Date,Sa=new Date;function Gr(e,n,o,l){function _(p){return e(p=0===arguments.length?new Date:new Date(+p)),p}return _.floor=function(p){return e(p=new Date(+p)),p},_.ceil=function(p){return e(p=new Date(p-1)),n(p,1),e(p),p},_.round=function(p){var m=_(p),w=_.ceil(p);return p-m<w-p?m:w},_.offset=function(p,m){return n(p=new Date(+p),null==m?1:Math.floor(m)),p},_.range=function(p,m,w){var D,S=[];if(p=_.ceil(p),w=null==w?1:Math.floor(w),!(p<m&&w>0))return S;do{S.push(D=new Date(+p)),n(p,w),e(p)}while(D<p&&p<m);return S},_.filter=function(p){return Gr(function(m){if(m>=m)for(;e(m),!p(m);)m.setTime(m-1)},function(m,w){if(m>=m)if(w<0)for(;++w<=0;)for(;n(m,-1),!p(m););else for(;--w>=0;)for(;n(m,1),!p(m););})},o&&(_.count=function(p,m){return pu.setTime(+p),Sa.setTime(+m),e(pu),e(Sa),Math.floor(o(pu,Sa))},_.every=function(p){return p=Math.floor(p),isFinite(p)&&p>0?p>1?_.filter(l?function(m){return l(m)%p==0}:function(m){return _.count(0,m)%p==0}):_:null}),_}var gu=Gr(function(){},function(e,n){e.setTime(+e+n)},function(e,n){return n-e});gu.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Gr(function(n){n.setTime(Math.floor(n/e)*e)},function(n,o){n.setTime(+n+o*e)},function(n,o){return(o-n)/e}):gu:null};const n0=gu;const mu=Gr(function(e){e.setTime(e-e.getMilliseconds())},function(e,n){e.setTime(+e+n*_u)},function(e,n){return(n-e)/_u},function(e){return e.getUTCSeconds()});const Vh=Gr(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*_u)},function(e,n){e.setTime(+e+n*Xs)},function(e,n){return(n-e)/Xs},function(e){return e.getMinutes()});const i0=Gr(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*_u-e.getMinutes()*Xs)},function(e,n){e.setTime(+e+n*hl)},function(e,n){return(n-e)/hl},function(e){return e.getHours()});const vu=Gr(e=>e.setHours(0,0,0,0),(e,n)=>e.setDate(e.getDate()+n),(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*Xs)/Xf,e=>e.getDate()-1);function tc(e){return Gr(function(n){n.setDate(n.getDate()-(n.getDay()+7-e)%7),n.setHours(0,0,0,0)},function(n,o){n.setDate(n.getDate()+7*o)},function(n,o){return(o-n-(o.getTimezoneOffset()-n.getTimezoneOffset())*Xs)/t1})}var dl=tc(0),Ic=tc(1),fl=(tc(2),tc(3),tc(4));const o0=(tc(5),tc(6),Gr(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,n){e.setMonth(e.getMonth()+n)},function(e,n){return n.getMonth()-e.getMonth()+12*(n.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}));var a0=Gr(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n)},function(e,n){return n.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});a0.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Gr(function(n){n.setFullYear(Math.floor(n.getFullYear()/e)*e),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,o){n.setFullYear(n.getFullYear()+o*e)}):null};const da=a0;const X6=Gr(function(e){e.setUTCSeconds(0,0)},function(e,n){e.setTime(+e+n*Xs)},function(e,n){return(n-e)/Xs},function(e){return e.getUTCMinutes()});const t4=Gr(function(e){e.setUTCMinutes(0,0,0)},function(e,n){e.setTime(+e+n*hl)},function(e,n){return(n-e)/hl},function(e){return e.getUTCHours()});const n1=Gr(function(e){e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCDate(e.getUTCDate()+n)},function(e,n){return(n-e)/Xf},function(e){return e.getUTCDate()-1});function ec(e){return Gr(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-e)%7),n.setUTCHours(0,0,0,0)},function(n,o){n.setUTCDate(n.getUTCDate()+7*o)},function(n,o){return(o-n)/t1})}var Qh=ec(0),i1=ec(1),yu=(ec(2),ec(3),ec(4));const i4=(ec(5),ec(6),Gr(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCMonth(e.getUTCMonth()+n)},function(e,n){return n.getUTCMonth()-e.getUTCMonth()+12*(n.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}));var c0=Gr(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n)},function(e,n){return n.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});c0.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Gr(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/e)*e),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,o){n.setUTCFullYear(n.getUTCFullYear()+o*e)}):null};const xu=c0;function S2(e,n,o,l,_,p){const m=[[mu,1,_u],[mu,5,5e3],[mu,15,15e3],[mu,30,3e4],[p,1,Xs],[p,5,3e5],[p,15,9e5],[p,30,18e5],[_,1,hl],[_,3,108e5],[_,6,216e5],[_,12,432e5],[l,1,Xf],[l,2,1728e5],[o,1,t1],[n,1,2592e6],[n,3,7776e6],[e,1,e0]];function w(D,S,N){const q=Math.abs(S-D)/N,H=Sc(([,,st])=>st).right(m,q);if(H===m.length)return e.every(qf(D/e0,S/e0,N));if(0===H)return n0.every(Math.max(qf(D,S,N),1));const[G,_t]=m[q/m[H-1][2]<m[H][2]/q?H-1:H];return G.every(_t)}return[function(D,S,N){const q=S<D;q&&([D,S]=[S,D]);const H=N&&"function"==typeof N.range?N:w(D,S,N),G=H?H.range(D,+S+1):[];return q?G.reverse():G},w]}const[r4,A2]=S2(xu,i4,Qh,n1,t4,X6),[E2,I2]=S2(da,o0,dl,vu,i0,Vh);function Bo(e){if(0<=e.y&&e.y<100){var n=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return n.setFullYear(e.y),n}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function bu(e){if(0<=e.y&&e.y<100){var n=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return n.setUTCFullYear(e.y),n}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function ls(e,n,o){return{y:e,m:n,d:o,H:0,M:0,S:0,L:0}}var wu,F2,M2={"-":"",_:" ",0:"0"},xo=/^\s*\d+/,o4=/^%/,a4=/[\\^$*+?|[\]().{}]/g;function Pi(e,n,o){var l=e<0?"-":"",_=(l?-e:e)+"",p=_.length;return l+(p<o?new Array(o-p+1).join(n)+_:_)}function _l(e){return e.replace(a4,"\\$&")}function Tu(e){return new RegExp("^(?:"+e.map(_l).join("|")+")","i")}function $h(e){return new Map(e.map((n,o)=>[n.toLowerCase(),o]))}function s4(e,n,o){var l=xo.exec(n.slice(o,o+1));return l?(e.w=+l[0],o+l[0].length):-1}function c4(e,n,o){var l=xo.exec(n.slice(o,o+1));return l?(e.u=+l[0],o+l[0].length):-1}function l4(e,n,o){var l=xo.exec(n.slice(o,o+2));return l?(e.U=+l[0],o+l[0].length):-1}function u4(e,n,o){var l=xo.exec(n.slice(o,o+2));return l?(e.V=+l[0],o+l[0].length):-1}function h4(e,n,o){var l=xo.exec(n.slice(o,o+2));return l?(e.W=+l[0],o+l[0].length):-1}function N2(e,n,o){var l=xo.exec(n.slice(o,o+4));return l?(e.y=+l[0],o+l[0].length):-1}function L2(e,n,o){var l=xo.exec(n.slice(o,o+2));return l?(e.y=+l[0]+(+l[0]>68?1900:2e3),o+l[0].length):-1}function d4(e,n,o){var l=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(o,o+6));return l?(e.Z=l[1]?0:-(l[2]+(l[3]||"00")),o+l[0].length):-1}function f4(e,n,o){var l=xo.exec(n.slice(o,o+1));return l?(e.q=3*l[0]-3,o+l[0].length):-1}function _4(e,n,o){var l=xo.exec(n.slice(o,o+2));return l?(e.m=l[0]-1,o+l[0].length):-1}function l0(e,n,o){var l=xo.exec(n.slice(o,o+2));return l?(e.d=+l[0],o+l[0].length):-1}function p4(e,n,o){var l=xo.exec(n.slice(o,o+3));return l?(e.m=0,e.d=+l[0],o+l[0].length):-1}function U2(e,n,o){var l=xo.exec(n.slice(o,o+2));return l?(e.H=+l[0],o+l[0].length):-1}function Z2(e,n,o){var l=xo.exec(n.slice(o,o+2));return l?(e.M=+l[0],o+l[0].length):-1}function O2(e,n,o){var l=xo.exec(n.slice(o,o+2));return l?(e.S=+l[0],o+l[0].length):-1}function B2(e,n,o){var l=xo.exec(n.slice(o,o+3));return l?(e.L=+l[0],o+l[0].length):-1}function g4(e,n,o){var l=xo.exec(n.slice(o,o+6));return l?(e.L=Math.floor(l[0]/1e3),o+l[0].length):-1}function m4(e,n,o){var l=o4.exec(n.slice(o,o+1));return l?o+l[0].length:-1}function P2(e,n,o){var l=xo.exec(n.slice(o));return l?(e.Q=+l[0],o+l[0].length):-1}function Mc(e,n,o){var l=xo.exec(n.slice(o));return l?(e.s=+l[0],o+l[0].length):-1}function R2(e,n){return Pi(e.getDate(),n,2)}function v4(e,n){return Pi(e.getHours(),n,2)}function J2(e,n){return Pi(e.getHours()%12||12,n,2)}function y4(e,n){return Pi(1+vu.count(da(e),e),n,3)}function H2(e,n){return Pi(e.getMilliseconds(),n,3)}function Y2(e,n){return H2(e,n)+"000"}function o1(e,n){return Pi(e.getMonth()+1,n,2)}function x4(e,n){return Pi(e.getMinutes(),n,2)}function jh(e,n){return Pi(e.getSeconds(),n,2)}function b4(e){var n=e.getDay();return 0===n?7:n}function u0(e,n){return Pi(dl.count(da(e)-1,e),n,2)}function q2(e){var n=e.getDay();return n>=4||0===n?fl(e):fl.ceil(e)}function w4(e,n){return e=q2(e),Pi(fl.count(da(e),e)+(4===da(e).getDay()),n,2)}function V2(e){return e.getDay()}function Cu(e,n){return Pi(Ic.count(da(e)-1,e),n,2)}function T4(e,n){return Pi(e.getFullYear()%100,n,2)}function Q2(e,n){return Pi((e=q2(e)).getFullYear()%100,n,2)}function C4(e,n){return Pi(e.getFullYear()%1e4,n,4)}function k4(e,n){var o=e.getDay();return Pi((e=o>=4||0===o?fl(e):fl.ceil(e)).getFullYear()%1e4,n,4)}function D4(e){var n=e.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Pi(n/60|0,"0",2)+Pi(n%60,"0",2)}function $2(e,n){return Pi(e.getUTCDate(),n,2)}function S4(e,n){return Pi(e.getUTCHours(),n,2)}function A4(e,n){return Pi(e.getUTCHours()%12||12,n,2)}function a1(e,n){return Pi(1+n1.count(xu(e),e),n,3)}function h0(e,n){return Pi(e.getUTCMilliseconds(),n,3)}function E4(e,n){return h0(e,n)+"000"}function I4(e,n){return Pi(e.getUTCMonth()+1,n,2)}
1function F4(e,n){return Pi(e.getUTCMinutes(),n,2)}function M4(e,n){return Pi(e.getUTCSeconds(),n,2)}function N4(e){var n=e.getUTCDay();return 0===n?7:n}function L4(e,n){return Pi(Qh.count(xu(e)-1,e),n,2)}function s1(e){var n=e.getUTCDay();return n>=4||0===n?yu(e):yu.ceil(e)}function U4(e,n){return e=s1(e),Pi(yu.count(xu(e),e)+(4===xu(e).getUTCDay()),n,2)}function Z4(e){return e.getUTCDay()}function O4(e,n){return Pi(i1.count(xu(e)-1,e),n,2)}function B4(e,n){return Pi(e.getUTCFullYear()%100,n,2)}function co(e,n){return Pi((e=s1(e)).getUTCFullYear()%100,n,2)}function Nc(e,n){return Pi(e.getUTCFullYear()%1e4,n,4)}function j2(e,n){var o=e.getUTCDay();return Pi((e=o>=4||0===o?yu(e):yu.ceil(e)).getUTCFullYear()%1e4,n,4)}function Ko(){return"+0000"}function G2(){return"%"}function z2(e){return+e}function Gh(e){return Math.floor(+e/1e3)}function d0(e){return new Date(e)}function K2(e){return e instanceof Date?+e:+new Date(+e)}function Po(e,n,o,l,_,p,m,w,D,S){var N=d2(),q=N.invert,H=N.domain,G=S(".%L"),_t=S(":%S"),st=S("%I:%M"),Dt=S("%I %p"),vt=S("%a %d"),Et=S("%b %d"),Mt=S("%B"),Kt=S("%Y");function re(qt){return(D(qt)<qt?G:w(qt)<qt?_t:m(qt)<qt?st:p(qt)<qt?Dt:l(qt)<qt?_(qt)<qt?vt:Et:o(qt)<qt?Mt:Kt)(qt)}return N.invert=function(qt){return new Date(q(qt))},N.domain=function(qt){return arguments.length?H(Array.from(qt,K2)):H().map(d0)},N.ticks=function(qt){var Xt=H();return e(Xt[0],Xt[Xt.length-1],qt??10)},N.tickFormat=function(qt,Xt){return null==Xt?re:S(Xt)},N.nice=function(qt){var _e,It,Ut,Ft,xt,$t,wt,Xt=H();return qt&&"function"==typeof qt.range||(qt=n(Xt[0],Xt[Xt.length-1],qt??10)),qt?H((It=qt,Ft=0,xt=(_e=(_e=Xt).slice()).length-1,(wt=_e[xt])<($t=_e[Ft])&&(Ut=Ft,Ft=xt,xt=Ut,Ut=$t,$t=wt,wt=Ut),_e[Ft]=It.floor($t),_e[xt]=It.ceil(wt),_e)):N},N.copy=function(){return h2(N,Po(e,n,o,l,_,p,m,w,D,S))},N}function P4(){}function f0(e){return null==e?P4:function(){return this.querySelector(e)}}function W2(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}function R4(){return[]}function _0(e){return null==e?R4:function(){return this.querySelectorAll(e)}}function X2(e){return function(){return this.matches(e)}}function tv(e){return function(n){return n.matches(e)}}wu=function(e){var n=e.dateTime,o=e.date,l=e.time,_=e.periods,p=e.days,m=e.shortDays,w=e.months,D=e.shortMonths,S=Tu(_),N=$h(_),q=Tu(p),H=$h(p),G=Tu(m),_t=$h(m),st=Tu(w),Dt=$h(w),vt=Tu(D),Et=$h(D),Mt={a:function(It){return m[It.getDay()]},A:function(It){return p[It.getDay()]},b:function(It){return D[It.getMonth()]},B:function(It){return w[It.getMonth()]},c:null,d:R2,e:R2,f:Y2,g:Q2,G:k4,H:v4,I:J2,j:y4,L:H2,m:o1,M:x4,p:function(It){return _[+(It.getHours()>=12)]},q:function(It){return 1+~~(It.getMonth()/3)},Q:z2,s:Gh,S:jh,u:b4,U:u0,V:w4,w:V2,W:Cu,x:null,X:null,y:T4,Y:C4,Z:D4,"%":G2},Kt={a:function(It){return m[It.getUTCDay()]},A:function(It){return p[It.getUTCDay()]},b:function(It){return D[It.getUTCMonth()]},B:function(It){return w[It.getUTCMonth()]},c:null,d:$2,e:$2,f:E4,g:co,G:j2,H:S4,I:A4,j:a1,L:h0,m:I4,M:F4,p:function(It){return _[+(It.getUTCHours()>=12)]},q:function(It){return 1+~~(It.getUTCMonth()/3)},Q:z2,s:Gh,S:M4,u:N4,U:L4,V:U4,w:Z4,W:O4,x:null,X:null,y:B4,Y:Nc,Z:Ko,"%":G2},re={a:function(It,Ut,Ft){var xt=G.exec(Ut.slice(Ft));return xt?(It.w=_t.get(xt[0].toLowerCase()),Ft+xt[0].length):-1},A:function(It,Ut,Ft){var xt=q.exec(Ut.slice(Ft));return xt?(It.w=H.get(xt[0].toLowerCase()),Ft+xt[0].length):-1},b:function(It,Ut,Ft){var xt=vt.exec(Ut.slice(Ft));return xt?(It.m=Et.get(xt[0].toLowerCase()),Ft+xt[0].length):-1},B:function(It,Ut,Ft){var xt=st.exec(Ut.slice(Ft));return xt?(It.m=Dt.get(xt[0].toLowerCase()),Ft+xt[0].length):-1},c:function(It,Ut,Ft){return _e(It,n,Ut,Ft)},d:l0,e:l0,f:g4,g:L2,G:N2,H:U2,I:U2,j:p4,L:B2,m:_4,M:Z2,p:function(It,Ut,Ft){var xt=S.exec(Ut.slice(Ft));return xt?(It.p=N.get(xt[0].toLowerCase()),Ft+xt[0].length):-1},q:f4,Q:P2,s:Mc,S:O2,u:c4,U:l4,V:u4,w:s4,W:h4,x:function(It,Ut,Ft){return _e(It,o,Ut,Ft)},X:function(It,Ut,Ft){return _e(It,l,Ut,Ft)},y:L2,Y:N2,Z:d4,"%":m4};function qt(It,Ut){return function(Ft){var xt,$t,wt,Se=[],Ne=-1,ge=0,Ce=It.length;for(Ft instanceof Date||(Ft=new Date(+Ft));++Ne<Ce;)37===It.charCodeAt(Ne)&&(Se.push(It.slice(ge,Ne)),null!=($t=M2[xt=It.charAt(++Ne)])?xt=It.charAt(++Ne):$t="e"===xt?" ":"0",(wt=Ut[xt])&&(xt=wt(Ft,$t)),Se.pu
vendor: 4,970 bytes, line 1
1sh(xt),ge=Ne+1);return Se.push(It.slice(ge,Ne)),Se.join("")}}function Xt(It,Ut){return function(Ft){var xt,$t,wt=ls(1900,void 0,1);if(_e(wt,It,Ft+="",0)!=Ft.length)return null;if("Q"in wt)return new Date(wt.Q);if("s"in wt)return new Date(1e3*wt.s+("L"in wt?wt.L:0));if(Ut&&!("Z"in wt)&&(wt.Z=0),"p"in wt&&(wt.H=wt.H%12+12*wt.p),void 0===wt.m&&(wt.m="q"in wt?wt.q:0),"V"in wt){if(wt.V<1||wt.V>53)return null;"w"in wt||(wt.w=1),"Z"in wt?($t=(xt=bu(ls(wt.y,0,1))).getUTCDay(),xt=$t>4||0===$t?i1.ceil(xt):i1(xt),xt=n1.offset(xt,7*(wt.V-1)),wt.y=xt.getUTCFullYear(),wt.m=xt.getUTCMonth(),wt.d=xt.getUTCDate()+(wt.w+6)%7):($t=(xt=Bo(ls(wt.y,0,1))).getDay(),xt=$t>4||0===$t?Ic.ceil(xt):Ic(xt),xt=vu.offset(xt,7*(wt.V-1)),wt.y=xt.getFullYear(),wt.m=xt.getMonth(),wt.d=xt.getDate()+(wt.w+6)%7)}else("W"in wt||"U"in wt)&&("w"in wt||(wt.w="u"in wt?wt.u%7:"W"in wt?1:0),$t="Z"in wt?bu(ls(wt.y,0,1)).getUTCDay():Bo(ls(wt.y,0,1)).getDay(),wt.m=0,wt.d="W"in wt?(wt.w+6)%7+7*wt.W-($t+5)%7:wt.w+7*wt.U-($t+6)%7);return"Z"in wt?(wt.H+=wt.Z/100|0,wt.M+=wt.Z%100,bu(wt)):Bo(wt)}}function _e(It,Ut,Ft,xt){for(var $t,wt,Se=0,Ne=Ut.length,ge=Ft.length;Se<Ne;){if(xt>=ge)return-1;if(37===($t=Ut.charCodeAt(Se++))){if($t=Ut.charAt(Se++),!(wt=re[$t in M2?Ut.charAt(Se++):$t])||(xt=wt(It,Ft,xt))<0)return-1}else if($t!=Ft.charCodeAt(xt++))return-1}return xt}return Mt.x=qt(o,Mt),Mt.X=qt(l,Mt),Mt.c=qt(n,Mt),Kt.x=qt(o,Kt),Kt.X=qt(l,Kt),Kt.c=qt(n,Kt),{format:function(It){var Ut=qt(It+="",Mt);return Ut.toString=function(){return It},Ut},parse:function(It){var Ut=Xt(It+="",!1);return Ut.toString=function(){return It},Ut},utcFormat:function(It){var Ut=qt(It+="",Kt);return Ut.toString=function(){return It},Ut},utcParse:function(It){var Ut=Xt(It+="",!0);return Ut.toString=function(){return It},Ut}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),F2=wu.format;var J4=Array.prototype.find;function H4(){return this.firstElementChild}var Y4=Array.prototype.filter;function q4(){return Array.from(this.children)}function ev(e){return new Array(e.length)}function c1(e,n){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=n}function V4(e){return function(){return e}}function l1(e,n,o,l,_,p){for(var m,w=0,D=n.length,S=p.length;w<S;++w)(m=n[w])?(m.__data__=p[w],l[w]=m):o[w]=new c1(e,p[w]);for(;w<D;++w)(m=n[w])&&(_[w]=m)}function ku(e,n,o,l,_,p,m){var w,D,S,N=new Map,q=n.length,H=p.length,G=new Array(q);for(w=0;w<q;++w)(D=n[w])&&(G[w]=S=m.call(D,D.__data__,w,n)+"",N.has(S)?_[w]=D:N.set(S,D));for(w=0;w<H;++w)S=m.call(e,p[w],w,p)+"",(D=N.get(S))?(l[w]=D,D.__data__=p[w],N.delete(S)):o[w]=new c1(e,p[w]);for(w=0;w<q;++w)(D=n[w])&&N.get(G[w])===D&&(_[w]=D)}function nv(e){return e.__data__}function Q4(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function zh(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}c1.prototype={constructor:c1,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,n){return this._parent.insertBefore(e,n)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var Du="http://www.w3.org/1999/xhtml";const p0={svg:"http://www.w3.org/2000/svg",xhtml:Du,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Kh(e){var n=e+="",o=n.indexOf(":");return o>=0&&"xmlns"!==(n=e.slice(0,o))&&(e=e.slice(o+1)),p0.hasOwnProperty(n)?{space:p0[n],local:e}:e}function iv(e){return function(){this.removeAttribute(e)}}function u1(e){return function(){this.removeAttributeNS(e.space,e.local)}}function h1(e,n){return function(){this.setAttribute(e,n)}}function g0(e,n){return function(){this.setAttributeNS(e.space,e.local,n)}}function rv(e,n){return function(){var o=n.apply(this,arguments);null==o?this.removeAttribute(e):this.setAttribute(e,o)}}function ov(e,n){return function(){var o=n.apply(this,arguments);null==o?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,o)}}function m0(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function av(e){return function(){this.style.removeProperty(e)}}function sv(e,n,o){return function(){this.style.setProperty(e,n,o)}}function cv(e,n,o){return function(){var l=n.apply(this,arguments);null==l?this.style.removeProperty(e):this.style.setProperty(e,l,o)}}function pl(e,n){return e.style.getPropertyValue(n)||m0(e).getComputedStyle(e,null).getPropertyValue(n)}function Lc(e){return function(){delete this[e]}}function d1(e,n){return function(){this[e]=n}}
vendor: 3,518 bytes, line 1
1function f1(e,n){return function(){var o=n.apply(this,arguments);null==o?delete this[e]:this[e]=o}}function v0(e){return e.trim().split(/^|\s+/)}function Yn(e){return e.classList||new Wh(e)}function Wh(e){this._node=e,this._names=v0(e.getAttribute("class")||"")}function gi(e,n){for(var o=Yn(e),l=-1,_=n.length;++l<_;)o.add(n[l])}function Ir(e,n){for(var o=Yn(e),l=-1,_=n.length;++l<_;)o.remove(n[l])}function _1(e){return function(){gi(this,e)}}function Wo(e){return function(){Ir(this,e)}}function or(e,n){return function(){(n.apply(this,arguments)?gi:Ir)(this,e)}}function Zn(){this.textContent=""}function ki(e){return function(){this.textContent=e}}function Su(e){return function(){var n=e.apply(this,arguments);this.textContent=n??""}}function Xo(){this.innerHTML=""}function Cn(e){return function(){this.innerHTML=e}}function p1(e){return function(){var n=e.apply(this,arguments);this.innerHTML=n??""}}function lv(){this.nextSibling&&this.parentNode.appendChild(this)}function g1(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function y0(e){return function(){var n=this.ownerDocument,o=this.namespaceURI;return o===Du&&n.documentElement.namespaceURI===Du?n.createElement(e):n.createElementNS(o,e)}}function mn(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Aa(e){var n=Kh(e);return(n.local?mn:y0)(n)}function zr(){return null}function x0(){var e=this.parentNode;e&&e.removeChild(this)}function uv(){var e=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(e,this.nextSibling):e}function ta(){var e=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(e,this.nextSibling):e}function hv(e){return e.trim().split(/^|\s+/).map(function(n){var o="",l=n.indexOf(".");return l>=0&&(o=n.slice(l+1),n=n.slice(0,l)),{type:n,name:o}})}function Fr(e){return function(){var n=this.__on;if(n){for(var o,l=0,_=-1,p=n.length;l<p;++l)o=n[l],e.type&&o.type!==e.type||o.name!==e.name?n[++_]=o:this.removeEventListener(o.type,o.listener,o.options);++_?n.length=_:delete this.__on}}}function m1(e,n,o){return function(){var l,D,_=this.__on,p=(D=n,function(S){D.call(this,S,this.__data__)});if(_)for(var m=0,w=_.length;m<w;++m)if((l=_[m]).type===e.type&&l.name===e.name)return this.removeEventListener(l.type,l.listener,l.options),this.addEventListener(l.type,l.listener=p,l.options=o),void(l.value=n);this.addEventListener(e.type,p,o),l={type:e.type,name:e.name,value:n,listener:p,options:o},_?_.push(l):this.__on=[l]}}function b0(e,n,o){var l=m0(e),_=l.CustomEvent;"function"==typeof _?_=new _(n,o):(_=l.document.createEvent("Event"),o?(_.initEvent(n,o.bubbles,o.cancelable),_.detail=o.detail):_.initEvent(n,!1,!1)),e.dispatchEvent(_)}function dv(e,n){return function(){return b0(this,e,n)}}function w0(e,n){return function(){return b0(this,e,n.apply(this,arguments))}}Wh.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var n=this._names.indexOf(e);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var v1=[null];function vr(e,n){this._groups=e,this._parents=n}function T0(){return new vr([[document.documentElement]],v1)}vr.prototype=T0.prototype={constructor:vr,select:function(e){"function"!=typeof e&&(e=f0(e));for(var n=this._groups,o=n.length,l=new Array(o),_=0;_<o;++_)for(var p,m,w=n[_],D=w.length,S=l[_]=new Array(D),N=0;N<D;
vendor: 7,596 bytes, line 1
1++N)(p=w[N])&&(m=e.call(p,p.__data__,N,w))&&("__data__"in p&&(m.__data__=p.__data__),S[N]=m);return new vr(l,this._parents)},selectAll:function(e){var N;e="function"==typeof e?(N=e,function(){return W2(N.apply(this,arguments))}):_0(e);for(var n=this._groups,o=n.length,l=[],_=[],p=0;p<o;++p)for(var m,w=n[p],D=w.length,S=0;S<D;++S)(m=w[S])&&(l.push(e.call(m,m.__data__,S,w)),_.push(m));return new vr(l,_)},selectChild:function(e){return this.select(null==e?H4:(n="function"==typeof e?e:tv(e),function(){return J4.call(this.children,n)}));var n},selectChildren:function(e){return this.selectAll(null==e?q4:(n="function"==typeof e?e:tv(e),function(){return Y4.call(this.children,n)}));var n},filter:function(e){"function"!=typeof e&&(e=X2(e));for(var n=this._groups,o=n.length,l=new Array(o),_=0;_<o;++_)for(var p,m=n[_],w=m.length,D=l[_]=[],S=0;S<w;++S)(p=m[S])&&e.call(p,p.__data__,S,m)&&D.push(p);return new vr(l,this._parents)},data:function(e,n){if(!arguments.length)return Array.from(this,nv);var o=n?ku:l1,l=this._parents,_=this._groups;"function"!=typeof e&&(e=V4(e));for(var p=_.length,m=new Array(p),w=new Array(p),D=new Array(p),S=0;S<p;++S){var N=l[S],q=_[S],H=q.length,G=Q4(e.call(N,N&&N.__data__,S,l)),_t=G.length,st=w[S]=new Array(_t),Dt=m[S]=new Array(_t),vt=D[S]=new Array(H);o(N,q,st,Dt,vt,G,n);for(var Et,Mt,Kt=0,re=0;Kt<_t;++Kt)if(Et=st[Kt]){for(Kt>=re&&(re=Kt+1);!(Mt=Dt[re])&&++re<_t;);Et._next=Mt||null}}return(m=new vr(m,l))._enter=w,m._exit=D,m},enter:function(){return new vr(this._enter||this._groups.map(ev),this._parents)},exit:function(){return new vr(this._exit||this._groups.map(ev),this._parents)},join:function(e,n,o){var l=this.enter(),_=this,p=this.exit();return"function"==typeof e?(l=e(l))&&(l=l.selection()):l=l.append(e+""),null!=n&&(_=n(_))&&(_=_.selection()),null==o?p.remove():o(p),l&&_?l.merge(_).order():_},merge:function(e){for(var n=e.selection?e.selection():e,o=this._groups,l=n._groups,_=o.length,m=Math.min(_,l.length),w=new Array(_),D=0;D<m;++D)for(var S,N=o[D],q=l[D],H=N.length,G=w[D]=new Array(H),_t=0;_t<H;++_t)(S=N[_t]||q[_t])&&(G[_t]=S);for(;D<_;++D)w[D]=o[D];return new vr(w,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,n=-1,o=e.length;++n<o;)for(var l,_=e[n],p=_.length-1,m=_[p];--p>=0;)(l=_[p])&&(m&&4^l.compareDocumentPosition(m)&&m.parentNode.insertBefore(l,m),m=l);return this},sort:function(e){function n(q,H){return q&&H?e(q.__data__,H.__data__):!q-!H}e||(e=zh);for(var o=this._groups,l=o.length,_=new Array(l),p=0;p<l;++p){for(var m,w=o[p],D=w.length,S=_[p]=new Array(D),N=0;N<D;++N)(m=w[N])&&(S[N]=m);S.sort(n)}return new vr(_,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,n=0,o=e.length;n<o;++n)for(var l=e[n],_=0,p=l.length;_<p;++_){var m=l[_];if(m)return m}return null},size:function(){let e=0;for(const n of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var n=this._groups,o=0,l=n.length;o<l;++o)for(var _,p=n[o],m=0,w=p.length;m<w;++m)(_=p[m])&&e.call(_,_.__data__,m,p);return this},attr:function(e,n){var o=Kh(e);if(arguments.length<2){var l=this.node();return o.local?l.getAttributeNS(o.space,o.local):l.getAttribute(o)}return this.each((null==n?o.local?u1:iv:"function"==typeof n?o.local?ov:rv:o.local?g0:h1)(o,n))},style:function(e,n,o){return arguments.length>1?this.each((null==n?av:"function"==typeof n?cv:sv)(e,n,o??"")):pl(this.node(),e)},property:function(e,n){return arguments.length>1?this.each((null==n?Lc:"function"==typeof n?f1:d1)(e,n)):this.node()[e]},classed:function(e,n){var o=v0(e+"");if(arguments.length<2){for(var l=Yn(this.node()),_=-1,p=o.length;++_<p;)if(!l.contains(o[_]))return!1;return!0}return this.each(("function"==typeof n?or:n?_1:Wo)(o,n))},text:function(e){return arguments.length?this.each(null==e?Zn:("function"==typeof e?Su:ki)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?Xo:("function"==typeof e?p1:Cn)(e)):this.node().innerHTML},raise:function(){return this.each(lv)},lower:function(){return this.each(g1)},append:function(e){var n="function"==typeof e?e:Aa(e);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(e,n){var o="function"==typeof e?e:Aa(e),l=null==n?zr:"function"==typeof n?n:f0(n);return this.select(function(){return this.insertBefore(o.apply(this,arguments),l.apply(this,arguments)||null)})},remove:function(){return this.each(x0)},clone:function(e){return this.select(e?ta:uv)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,n,o){var l,_,p=hv(e+""),m=p.length;if(!(arguments.length<2)){for(w=n?m1:Fr,l=0;l<m;++l)this.each(w(p[l],n,o));return this}var w=this.node().__on;if(w)for(var D,S=0,N=w.length;S<N;++S)for(l=0,D=w[S];l<m;++l)if((_=p[l]).type===D.type&&_.name===D.name)return D.value},dispatch:function(e,n){return this.each(("function"==typeof n?w0:dv)(e,n))},[Symbol.iterator]:function*(){for(var e=this._groups,n=0,o=e.length;n<o;++n)for(var l,_=e[n],p=0,m=_.length;p<m;++p)(l=_[p])&&(yield l)}};const Au=T0;function on(e){return"string"==typeof e?new vr([[document.querySelector(e)]],[document.documentElement]):new vr([[e]],v1)}function Xh(e){return"string"==typeof e?new vr([document.querySelectorAll(e)],[document.documentElement]):new vr([W2(e)],v1)}const td=Math.PI,Eu=2*td,Ds=1e-6,Ss=Eu-Ds;function C0(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function fv(){return new C0}C0.prototype=fv.prototype={constructor:C0,moveTo:function(e,n){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,n){this._+="L"+(this._x1=+e)+","+(this._y1=+n)},quadraticCurveTo:function(e,n,o,l){this._+="Q"+ +e+","+ +n+","+(this._x1=+o)+","+(this._y1=+l)},bezierCurveTo:function(e,n,o,l,_,p){this._+="C"+ +e+","+ +n+","+ +o+","+ +l+","+(this._x1=+_)+","+(this._y1=+p)},arcTo:function(e,n,o,l,_){var p=this._x1,m=this._y1,w=(o=+o)-(e=+e),D=(l=+l)-(n=+n),S=p-e,N=m-n,q=S*S+N*N;if((_=+_)<0)throw new Error("negative radius: "+_);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=n);else if(q>Ds)if(Math.abs(N*w-D*S)>Ds&&_){var H=o-p,G=l-m,_t=w*w+D*D,st=H*H+G*G,Dt=Math.sqrt(_t),vt=Math.sqrt(q),Et=_*Math.tan((td-Math.acos((_t+q-st)/(2*Dt*vt)))/2),Mt=Et/vt,Kt=Et/Dt;Math.abs(Mt-1)>Ds&&(this._+="L"+(e+Mt*S)+","+(n+Mt*N)),this._+="A"+_+","+_+",0,0,"+ +(N*H>S*G)+","+(this._x1=e+Kt*w)+","+(this._y1=n+Kt*D)}else this._+="L"+(this._x1=e)+","+(this._y1=n)},arc:function(e,n,o,l,_,p){e=+e,n=+n,p=!!p;var m=(o=+o)*Math.cos(l),w=o*Math.sin(l),D=e+m,S=n+w,N=1^p,q=p?l-_:_-l;if(o<0)throw new Error("negative radius: "+o);null===this._x1?this._+="M"+D+","+S:(Math.abs(this._x1-D)>Ds||Math.abs(this._y1-S)>Ds)&&(this._+="L"+D+","+S),o&&(q<0&&(q=q%Eu+Eu),q>Ss?this._+="A"+o+","+o+",0,1,"+N+","+(e-m)+","+(n-w)+"A"+o+","+o+",0,1,"+N+","+(this._x1=D)+","+(this._y1=S):q>Ds&&(this._+="A"+o+","+o+",0,"+ +(q>=td)+","+N+","+(this._x1=e+o*Math.cos(_))+","+(this._y1=n+o*Math.sin(_))))},rect:function(e,n,o,l){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+n)+"h"+ +o+"v"+ +l+"h"+-o+"Z"},toString:function(){return this._}};const _v=fv;function Or(e){return function(){return e}}var pv=Math.abs,lo=Math.atan2,Ea=Math.cos,y1=Math.max,Uc=Math.min,Va=Math.sin,nc=Math.sqrt,Eo=1e-12,ar=Math.PI,Io=ar/2,yr=2*ar;function Ia(e){return e>1?0:e<-1?ar:Math.acos(e)}function Zc(e){return e>
vendor: 2,099 bytes, line 1
1=1?Io:e<=-1?-Io:Math.asin(e)}function gv(e){return e.innerRadius}function mv(e){return e.outerRadius}function Iu(e){return e.startAngle}function Oc(e){return e.endAngle}function ic(e){return e&&e.padAngle}function ed(e,n,o,l,_,p,m,w){var D=o-e,S=l-n,N=m-_,q=w-p,H=q*D-N*S;if(!(H*H<Eo))return[e+(H=(N*(n-p)-q*(e-_))/H)*D,n+H*S]}function gl(e,n,o,l,_,p,m){var w=e-o,D=n-l,S=(m?p:-p)/nc(w*w+D*D),N=S*D,q=-S*w,H=e+N,G=n+q,_t=o+N,st=l+q,Dt=(H+_t)/2,vt=(G+st)/2,Et=_t-H,Mt=st-G,Kt=Et*Et+Mt*Mt,re=_-p,qt=H*st-_t*G,Xt=(Mt<0?-1:1)*nc(y1(0,re*re*Kt-qt*qt)),_e=(qt*Mt-Et*Xt)/Kt,It=(-qt*Et-Mt*Xt)/Kt,Ut=(qt*Mt+Et*Xt)/Kt,Ft=(-qt*Et+Mt*Xt)/Kt,xt=_e-Dt,$t=It-vt,wt=Ut-Dt,Se=Ft-vt;return xt*xt+$t*$t>wt*wt+Se*Se&&(_e=Ut,It=Ft),{cx:_e,cy:It,x01:-N,y01:-q,x11:_e*(_/re-1),y11:It*(_/re-1)}}function Fu(){var e=gv,n=mv,o=Or(0),l=null,_=Iu,p=Oc,m=ic,w=null;function D(){var S,N,q=+e.apply(this,arguments),H=+n.apply(this,arguments),G=_.apply(this,arguments)-Io,_t=p.apply(this,arguments)-Io,st=pv(_t-G),Dt=_t>G;if(w||(w=S=_v()),H<q&&(N=H,H=q,q=N),H>Eo)if(st>yr-Eo)w.moveTo(H*Ea(G),H*Va(G)),w.arc(0,0,H,G,_t,!Dt),q>Eo&&(w.moveTo(q*Ea(_t),q*Va(_t)),w.arc(0,0,q,_t,G,Dt));else{var vt,Et,Mt=G,Kt=_t,re=G,qt=_t,Xt=st,_e=st,It=m.apply(this,arguments)/2,Ut=It>Eo&&(l?+l.apply(this,arguments):nc(q*q+H*H)),Ft=Uc(pv(H-q)/2,+o.apply(this,arguments)),xt=Ft,$t=Ft;if(Ut>Eo){var wt=Zc(Ut/q*Va(It)),Se=Zc(Ut/H*Va(It));(Xt-=2*wt)>Eo?(re+=wt*=Dt?1:-1,qt-=wt):(Xt=0,re=qt=(G+_t)/2),(_e-=2*Se)>Eo?(Mt+=Se*=Dt?1:-1,Kt-=Se):(_e=0,Mt=Kt=(G+_t)/2)}var Ne=H*Ea(Mt),ge=H*Va(Mt),Ce=q*Ea(qt),Ue=q*Va(qt);if(Ft>Eo){var Ie,we=H*Ea(Kt),Je=H*Va(Kt),Ke=q*Ea(re),Ye=q*Va(re);if(st<ar&&(Ie=ed(Ne,ge,Ke,Ye,we,Je,Ce,Ue))){var Ln=Ne-Ie[0],je=ge-Ie[1],Ti=we-Ie[0],Vi=Je-Ie[1],Qn=1/Va(Ia((Ln*Ti+je*Vi)/(nc(Ln*Ln+je*je)*nc(Ti*Ti+Vi*Vi)))/2),lr=nc(Ie[0]*Ie[0]+Ie[1]*Ie[1]);xt=Uc(Ft,(q-lr)/(Qn-1)),$t=Uc(Ft,(H-lr)/(Qn+1))}}_e>Eo?$t>Eo?(vt=gl(Ke,Ye,Ne,ge,H,$t,Dt),Et=gl(we,Je,Ce,Ue,H,$t,Dt),w.moveTo(vt.cx+vt.x01,vt.cy+vt.y01),$t<Ft?w.arc(vt.cx,vt.cy,$t,lo(vt.y01,vt.x01),lo(Et.y01,Et.x01),!Dt):(w.arc(vt.cx,vt.cy,$t,lo(vt.y01,vt.x01),lo(vt.y11,vt.x11),!Dt),w.ar
vendor: 7,239 bytes, line 1
1c(0,0,H,lo(vt.cy+vt.y11,vt.cx+vt.x11),lo(Et.cy+Et.y11,Et.cx+Et.x11),!Dt),w.arc(Et.cx,Et.cy,$t,lo(Et.y11,Et.x11),lo(Et.y01,Et.x01),!Dt))):(w.moveTo(Ne,ge),w.arc(0,0,H,Mt,Kt,!Dt)):w.moveTo(Ne,ge),q>Eo&&Xt>Eo?xt>Eo?(vt=gl(Ce,Ue,we,Je,q,-xt,Dt),Et=gl(Ne,ge,Ke,Ye,q,-xt,Dt),w.lineTo(vt.cx+vt.x01,vt.cy+vt.y01),xt<Ft?w.arc(vt.cx,vt.cy,xt,lo(vt.y01,vt.x01),lo(Et.y01,Et.x01),!Dt):(w.arc(vt.cx,vt.cy,xt,lo(vt.y01,vt.x01),lo(vt.y11,vt.x11),!Dt),w.arc(0,0,q,lo(vt.cy+vt.y11,vt.cx+vt.x11),lo(Et.cy+Et.y11,Et.cx+Et.x11),Dt),w.arc(Et.cx,Et.cy,xt,lo(Et.y11,Et.x11),lo(Et.y01,Et.x01),!Dt))):w.arc(0,0,q,qt,re,Dt):w.lineTo(Ce,Ue)}else w.moveTo(0,0);if(w.closePath(),S)return w=null,S+""||null}return D.centroid=function(){var S=(+e.apply(this,arguments)+ +n.apply(this,arguments))/2,N=(+_.apply(this,arguments)+ +p.apply(this,arguments))/2-ar/2;return[Ea(N)*S,Va(N)*S]},D.innerRadius=function(S){return arguments.length?(e="function"==typeof S?S:Or(+S),D):e},D.outerRadius=function(S){return arguments.length?(n="function"==typeof S?S:Or(+S),D):n},D.cornerRadius=function(S){return arguments.length?(o="function"==typeof S?S:Or(+S),D):o},D.padRadius=function(S){return arguments.length?(l=null==S?null:"function"==typeof S?S:Or(+S),D):l},D.startAngle=function(S){return arguments.length?(_="function"==typeof S?S:Or(+S),D):_},D.endAngle=function(S){return arguments.length?(p="function"==typeof S?S:Or(+S),D):p},D.padAngle=function(S){return arguments.length?(m="function"==typeof S?S:Or(+S),D):m},D.context=function(S){return arguments.length?(w=S??null,D):w},D}function nd(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function id(e){this._context=e}function fa(e){return new id(e)}function x1(e){return e[0]}function b1(e){return e[1]}function Bc(e,n){var o=Or(!0),l=null,_=fa,p=null;function m(w){var D,S,N,q=(w=nd(w)).length,H=!1;for(null==l&&(p=_(N=_v())),D=0;D<=q;++D)!(D<q&&o(S=w[D],D,w))===H&&((H=!H)?p.lineStart():p.lineEnd()),H&&p.point(+e(S,D,w),+n(S,D,w));if(N)return p=null,N+""||null}return e="function"==typeof e?e:void 0===e?x1:Or(e),n="function"==typeof n?n:void 0===n?b1:Or(n),m.x=function(w){return arguments.length?(e="function"==typeof w?w:Or(+w),m):e},m.y=function(w){return arguments.length?(n="function"==typeof w?w:Or(+w),m):n},m.defined=function(w){return arguments.length?(o="function"==typeof w?w:Or(!!w),m):o},m.curve=function(w){return arguments.length?(_=w,null!=l&&(p=_(l)),m):_},m.context=function(w){return arguments.length?(null==w?l=p=null:p=_(l=w),m):l},m}function k0(e,n){return n<e?-1:n>e?1:n>=e?0:NaN}function D0(e){return e}function rd(){}function od(e,n,o){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+n)/6,(e._y0+4*e._y1+o)/6)}function Ro(e){this._context=e}function Kr(e){return new Ro(e)}function Jo(e){this._context=e}function Mu(e){this._context=e}function As(e){this._context=e}function w1(e){return e<0?-1:1}function S0(e,n,o){var l=e._x1-e._x0,_=n-e._x1,p=(e._y1-e._y0)/(l||_<0&&-0),m=(o-e._y1)/(_||l<0&&-0),w=(p*_+m*l)/(l+_);return(w1(p)+w1(m))*Math.min(Math.abs(p),Math.abs(m),.5*Math.abs(w))||0}function A0(e,n){var o=e._x1-e._x0;return o?(3*(e._y1-e._y0)/o-n)/2:n}function T1(e,n,o){var l=e._x0,p=e._x1,m=e._y1,w=(p-l)/3;e._context.bezierCurveTo(l+w,e._y0+w*n,p-w,m-w*o,p,m)}function ad(e){this._context=e}function vv(e){this._context=new yv(e)}function yv(e){this._context=e}function _a(e){this._context=e}function xv(e){var n,o,l=e.length-1,_=new Array(l),p=new Array(l),m=new Array(l);for(_[0]=0,p[0]=2,m[0]=e[0]+2*e[1],n=1;n<l-1;++n)_[n]=1,p[n]=4,m[n]=4*e[n]+2*e[n+1];for(_[l-1]=2,p[l-1]=7,m[l-1]=8*e[l-1]+e[l],n=1;n<l;++n)p[n]-=o=_[n]/p[n-1],m[n]-=o*m[n-1];for(_[l-1]=m[l-1]/p[l-1],n=l-2;n>=0;--n)_[n]=(m[n]-_[n+1])/p[n];for(p[l-1]=(e[l]+_[l-1])/2,n=0;n<l-1;++n)p[n]=2*e[n+1]-_[n+1];return[_,p]}function sd(e,n){this._context=e,this._t=n}id.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break;case 1:this._point=2;default:this._context.lineTo(e,n)}}},Ro.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:od(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:od(this,e,n)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=n}},Jo.prototype={areaStart:rd,areaEnd:rd,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1,this._x2=e,this._y2=n;break;case 1:this._point=2,this._x3=e,this._y3=n;break;case 2:this._point=3,this._x4=e,this._y4=n,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+n)/6);break;default:od(this,e,n)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=n}},Mu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var o=(this._x0+4*this._x1+e)/6,l=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(o,l):this._context.moveTo(o,l);break;case 3:this._point=4;default:od(this,e,n)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=n}},As.prototype={areaStart:rd,areaEnd:rd,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,n){e=+e,n=+n,this._point?this._context.lineTo(e,n):(this._point=1,this._context.moveTo(e,n))}},ad.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:T1(this,this._t0,A0(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,n){var o=NaN;
1if(n=+n,(e=+e)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break;case 1:this._point=2;break;case 2:this._point=3,T1(this,A0(this,o=S0(this,e,n)),o);break;default:T1(this,this._t0,o=S0(this,e,n))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=n,this._t0=o}}},(vv.prototype=Object.create(ad.prototype)).point=function(e,n){ad.prototype.point.call(this,n,e)},yv.prototype={moveTo:function(e,n){this._context.moveTo(n,e)},closePath:function(){this._context.closePath()},lineTo:function(e,n){this._context.lineTo(n,e)},bezierCurveTo:function(e,n,o,l,_,p){this._context.bezierCurveTo(n,e,l,o,p,_)}},_a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,n=this._y,o=e.length;if(o)if(this._line?this._context.lineTo(e[0],n[0]):this._context.moveTo(e[0],n[0]),2===o)this._context.lineTo(e[1],n[1]);else for(var l=xv(e),_=xv(n),p=0,m=1;m<o;++p,++m)this._context.bezierCurveTo(l[0][p],_[0][p],l[1][p],_[1][p],e[m],n[m]);(this._line||0!==this._line&&1===o)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,n){this._x.push(+e),this._y.push(+n)}},sd.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(e,n);else{var o=this._x*(1-this._t)+e*this._t;this._context.lineTo(o,this._y),this._context.lineTo(o,n)}}this._x=e,this._y=n}};var E0=new Date,Fa=new Date;function us(e,n,o,l){function _(p){return e(p=0===arguments.length?new Date:new Date(+p)),p}return _.floor=function(p){return e(p=new Date(+p)),p},_.ceil=function(p){return e(p=new Date(p-1)),n(p,1),e(p),p},_.round=function(p){var m=_(p),w=_.ceil(p);return p-m<w-p?m:w},_.offset=function(p,m){return n(p=new Date(+p),null==m?1:Math.floor(m)),p},_.range=function(p,m,w){var D,S=[];if(p=_.ceil(p),w=null==w?1:Math.floor(w),!(p<m&&w>0))return S;do{S.push(D=new Date(+p)),n(p,w),e(p)}while(D<p&&p<m);return S},_.filter=function(p){return us(function(m){if(m>=m)for(;e(m),!p(m);)m.setTime(m-1)},function(m,w){if(m>=m)if(w<0)for(;++w<=0;)for(;n(m,-1),!p(m););else for(;--w>=0;)for(;n(m,1),!p(m););})},o&&(_.count=function(p,m){return E0.setTime(+p),Fa.setTime(+m),e(E0),e(Fa),Math.floor(o(E0,Fa))},_.every=function(p){return p=Math.floor(p),isFinite(p)&&p>0?p>1?_.filter(l?function(m){return l(m)%p==0}:function(m){return _.count(0,m)%p==0}):_:null}),_}const I0=6048e5;function ml(e){return us(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-e)%7),n.setUTCHours(0,0,0,0)},function(n,o){n.setUTCDate(n.getUTCDate()+7*o)},function(n,o){return(o-n)/I0})}var bv=ml(0),cd=ml(1),Lu=(ml(2),ml(3),ml(4));const C1=(ml(5),ml(6),us(function(e){e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCDate(e.getUTCDate()+n)},function(e,n){return(n-e)/864e5},function(e){return e.getUTCDate()-1}));function rc(e){return us(function(n){n.setDate(n.getDate()-(n.getDay()+7-e)%7),n.setHours(0,0,0,0)},function(n,o){n.setDate(n.getDate()+7*o)},function(n,o){return(o-n-6e4*(o.getTimezoneOffset()-n.getTimezoneOffset()))/I0})}var k1=rc(0),ld=rc(1),yl=(rc(2),rc(3),rc(4));const F0=(rc(5),rc(6),us(e=>e.setHours(0,0,0,0),(e,n)=>e.setDate(e.getDate()+n),(e,n)=>(n-e-6e4*(n.getTimezoneOffset()-e.getTimezoneOffset()))/864e5,e=>e.getDate()-1));var Uu=us(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n)},function(e,n){return n.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Uu.every=function(e){return isFinite(e=Math.floor(e))&&e>0?us(function(n){n.setFullYear(Math.floor(n.getFullYear()/e)*e),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,o){n.setFullYear(n.getFullYear()+o*e)}):null};const Pc=Uu;var D1=us(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n)},function(e,n){return n.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});D1.every=function(e){return isFinite(e=Math.floor(e))&&e>0?us(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/e)*e),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,o){n.setUTCFullYear(n.getUTCFullYear()+o*e)}):null};const Zu=D1;function ud(e){if(0<=e.y&&e.y<100){var n=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return n.setFullYear(e.y),n}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function hd(e){if(0<=e.y&&e.y<100){var n=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return n.setUTCFullYear(e.y),n}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Ou(e,n,o){return{y:e,m:n,d:o,H:0,M:0,S:0,L:0}}var Bu,M0,Av={"-":"",_:" ",0:"0"},Wr=/^\s*\d+/,Ev=/^%/,dd=/[\\^$*+?|[\]().{}]/g;function Di(e,n,o){var l=e<0?"-":"",_=(l?-e:e)+"",p=_.length;return l+(p<o?new Array(o-p+1).join(n)+_:_)}function S1(e){return e.replace(dd,"\\$&")}function fd(e){return new RegExp("^(?:"+e.map(S1).join("|")+")","i")}function xl(e){return new Map(e.map((n,o)=>[n.toLowerCase(),o]))}function A1(e,n,o){var l=Wr.exec(n.slice(o,o+1));return l?(e.w=+l[0],o+l[0].length):-1}function E1(e,n,o){var l=Wr.exec(n.slice(o,o+1));return l?(e.u=+l[0],o+l[0].length):-1}function N0(e,n,o){var l=Wr.exec(n.slice(o,o+2));return l?(e.U=+l[0],o+l[0].length):-1}function Pu(e,n,o){var l=Wr.exec(n.slice(o,o+2));return l?(e.V=+l[0],o+l[0].length):-1}function z4(e,n,o){var l=Wr.exec(n.slice(o,o+2));return l?(e.W=+l[0],o+l[0].length):-1}function Iv(e,n,o){var l=Wr.exec(n.slice(o,o+4));return l?(e.y=+l[0],o+l[0].length):-1}function Fv(e,n,o){var l=Wr.exec(n.slice(o,o+2));return l?(e.y=+l[0]+(+l[0]>68?1900:2e3),o+l[0].length):-1}function Mv(e,n,o){var l=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(o,o+6));return l?(e.Z=l[1]?0:-(l[2]+(l[3]||"00")),o+l[0].length):-1}function L0(e,n,o){var l=Wr.exec(n.slice(o,o+1));return l?(e.q=3*l[0]-3,o+l[0].length):-1}function K4(e,n,o){var l=Wr.exec(n.slice(o,o+2));return l?(e.m=l[0]-1,o+l[0].length):-1}function _d(e,n,o){var l=Wr.exec(n.slice(o,o+2));return l?(e.d=+l[0],o+l[0].length):-1}function Nv(e,n,o){var l=Wr.exec(n.slice(o,o+3));return l?(e.m=0,e.d=+l[0],o+l[0].length):-1}function U0(e,n,o){var l=Wr.exec(n.slice(o,o+2));return l?(e.H=+l[0],o+l[0].length):-1}function I1(e,n,o){var l=Wr.exec(n.slice(o,o+2));return l?(e.M=+l[0],o+l[0].length):-1}function Lv(e,n,o){var l=Wr.exec(n.slice(o,o+2));return l?(e.S=+l[0],o+l[0].length):-1}function Uv(e,n,o){var l=Wr.exec(n.slice(o,o+3));return l?(e.L=+l[0],o+l[0].length):-1}function Zv(e,n,o){var l=Wr.exec(n.slice(o,o+6));return l?(e.L=Math.floor(l[0]/1e3),o+l[0].length):-1}function W4(e,n,o){var l=Ev.exec(n.slice(o,o+1));return l?o+l[0].length:-1}function Ov(e,n,o){var l=Wr.exec(n.slice(o));return l?(e.Q=+l[0],o+l[0].length):-1}function X4(e,n,o){var l=Wr.exec(n.slice(o));return l?(e.s=+l[0],o+l[0].length):-1}function Z0(e,n){return Di(e.getDate(),n,2)}function Bv(e,n){return Di(e.getHours(),n,2)}function Pv(e,n){return Di(e.getHours()%12||12,n,2)}function t5(e,n){return Di(1+F0.count(Pc(e),e),n,3)}function Rv(e,n){return Di(e.getMilliseconds(),n,3)}function pd(e,n){return Rv(e,n)+"000"}function Jv(e,n){return Di(e.getMonth()+1,n,2)}function Hv(e,n){return Di(e.getMinutes(),n,2)}function O0(e,n){return Di(e.getSeconds(),n,2)}function B0(e){var n=e.getDay();return 0===n?7:n}function P0(e,n){return Di(k1.count(Pc(e)-1,e),n,2)}function F1(e){var n=e.getDay();return n>=4||0===n?yl(e):yl.ceil(e)}function Rc(e,n){return e=F1(e),Di(yl.count(Pc(e),e)+(4===Pc(e).getDay()),n,2)}function e5(e){return e.getDay()}
vendor: 5,633 bytes, line 1
1function n5(e,n){return Di(ld.count(Pc(e)-1,e),n,2)}function Yv(e,n){return Di(e.getFullYear()%100,n,2)}function i5(e,n){return Di((e=F1(e)).getFullYear()%100,n,2)}function qv(e,n){return Di(e.getFullYear()%1e4,n,4)}function Ru(e,n){var o=e.getDay();return Di((e=o>=4||0===o?yl(e):yl.ceil(e)).getFullYear()%1e4,n,4)}function M1(e){var n=e.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Di(n/60|0,"0",2)+Di(n%60,"0",2)}function Ju(e,n){return Di(e.getUTCDate(),n,2)}function N1(e,n){return Di(e.getUTCHours(),n,2)}function r5(e,n){return Di(e.getUTCHours()%12||12,n,2)}function L1(e,n){return Di(1+C1.count(Zu(e),e),n,3)}function R0(e,n){return Di(e.getUTCMilliseconds(),n,3)}function Vv(e,n){return R0(e,n)+"000"}function Es(e,n){return Di(e.getUTCMonth()+1,n,2)}function Is(e,n){return Di(e.getUTCMinutes(),n,2)}function J0(e,n){return Di(e.getUTCSeconds(),n,2)}function H0(e){var n=e.getUTCDay();return 0===n?7:n}function gd(e,n){return Di(bv.count(Zu(e)-1,e),n,2)}function md(e){var n=e.getUTCDay();return n>=4||0===n?Lu(e):Lu.ceil(e)}function U1(e,n){return e=md(e),Di(Lu.count(Zu(e),e)+(4===Zu(e).getUTCDay()),n,2)}function Hu(e){return e.getUTCDay()}function Y0(e,n){return Di(cd.count(Zu(e)-1,e),n,2)}function q0(e,n){return Di(e.getUTCFullYear()%100,n,2)}function vd(e,n){return Di((e=md(e)).getUTCFullYear()%100,n,2)}function hs(e,n){return Di(e.getUTCFullYear()%1e4,n,4)}function bl(e,n){var o=e.getUTCDay();return Di((e=o>=4||0===o?Lu(e):Lu.ceil(e)).getUTCFullYear()%1e4,n,4)}function Qv(){return"+0000"}function $v(){return"%"}function jv(e){return+e}function V0(e){return Math.floor(+e/1e3)}Bu=function(e){var n=e.dateTime,o=e.date,l=e.time,_=e.periods,p=e.days,m=e.shortDays,w=e.months,D=e.shortMonths,S=fd(_),N=xl(_),q=fd(p),H=xl(p),G=fd(m),_t=xl(m),st=fd(w),Dt=xl(w),vt=fd(D),Et=xl(D),Mt={a:function(It){return m[It.getDay()]},A:function(It){return p[It.getDay()]},b:function(It){return D[It.getMonth()]},B:function(It){return w[It.getMonth()]},c:null,d:Z0,e:Z0,f:pd,g:i5,G:Ru,H:Bv,I:Pv,j:t5,L:Rv,m:Jv,M:Hv,p:function(It){return _[+(It.getHours()>=12)]},q:function(It){return 1+~~(It.getMonth()/3)},Q:jv,s:V0,S:O0,u:B0,U:P0,V:Rc,w:e5,W:n5,x:null,X:null,y:Yv,Y:qv,Z:M1,"%":$v},Kt={a:function(It){return m[It.getUTCDay()]},A:function(It){return p[It.getUTCDay()]},b:function(It){return D[It.getUTCMonth()]},B:function(It){return w[It.getUTCMonth()]},c:null,d:Ju,e:Ju,f:Vv,g:vd,G:bl,H:N1,I:r5,j:L1,L:R0,m:Es,M:Is,p:function(It){return _[+(It.getUTCHours()>=12)]},q:function(It){return 1+~~(It.getUTCMonth()/3)},Q:jv,s:V0,S:J0,u:H0,U:gd,V:U1,w:Hu,W:Y0,x:null,X:null,y:q0,Y:hs,Z:Qv,"%":$v},re={a:function(It,Ut,Ft){var xt=G.exec(Ut.slice(Ft));return xt?(It.w=_t.get(xt[0].toLowerCase()),Ft+xt[0].length):-1},A:function(It,Ut,Ft){var xt=q.exec(Ut.slice(Ft));return xt?(It.w=H.get(xt[0].toLowerCase()),Ft+xt[0].length):-1},b:function(It,Ut,Ft){var xt=vt.exec(Ut.slice(Ft));return xt?(It.m=Et.get(xt[0].toLowerCase()),Ft+xt[0].length):-1},B:function(It,Ut,Ft){var xt=st.exec(Ut.slice(Ft));return xt?(It.m=Dt.get(xt[0].toLowerCase()),Ft+xt[0].length):-1},c:function(It,Ut,Ft){return _e(It,n,Ut,Ft)},d:_d,e:_d,f:Zv,g:Fv,G:Iv,H:U0,I:U0,j:Nv,L:Uv,m:K4,M:I1,p:function(It,Ut,Ft){var xt=S.exec(Ut.slice(Ft));return xt?(It.p=N.get(xt[0].toLowerCase()),Ft+xt[0].length):-1},q:L0,Q:Ov,s:X4,S:Lv,u:E1,U:N0,V:Pu,w:A1,W:z4,x:function(It,Ut,Ft){return _e(It,o,Ut,Ft)},X:function(It,Ut,Ft){return _e(It,l,Ut,Ft)},y:Fv,Y:Iv,Z:Mv,"%":W4};function qt(It,Ut){return function(Ft){var xt,$t,wt,Se=[],Ne=-1,ge=0,Ce=It.length;for(Ft instanceof Date||(Ft=new Date(+Ft));++Ne<Ce;)37===It.charCodeAt(Ne)&&(Se.push(It.slice(ge,Ne)),null!=($t=Av[xt=It.charAt(++Ne)])?xt=It.charAt(++Ne):$t="e"===xt?" ":"0",(wt=Ut[xt])&&(xt=wt(Ft,$t)),Se.push(xt),ge=Ne+1);return Se.push(It.slice(ge,Ne)),Se.join("")}}function Xt(It,Ut){return function(Ft){var xt,$t,wt=Ou(1900,void 0,1);if(_e(wt,It,Ft+="",0)!=Ft.length)return null;if("Q"in wt)return new Date(wt.Q);if("s"in wt)return new Date(1e3*wt.s+("L"in wt?wt.L:0));if(Ut&&!("Z"in wt)&&(wt.Z=0),"p"in wt&&(wt.H=wt.H%12+12*wt.p),void 0===wt.m&&(wt.m="q"in wt?wt.q:0),"V"in wt){if(wt.V<1||wt.V>53)return null;"w"in wt||(wt.w=1),"Z"in wt?($t=(xt=hd(Ou(wt.y,0,1))).getUTCDay(),xt=$t>4||0===$t?cd.ceil(xt):cd(xt),xt=C1.offset(xt,7*(wt.V-1)),wt.y=xt.getUTCFullYear(),wt.m=xt.getUTCMonth(),wt.d=xt.getUTCDate()+(wt.w+6)%7):($t=(xt=ud(Ou(wt.y,0,1))).getDay(),xt=$t>4||0===$t?ld.ceil(xt):ld(xt),xt=F0.offset(xt,7*(wt.V-1)),wt.y=xt.getFullYear(),wt.m=xt.getMonth(),wt.d=xt.getDate()+(wt.w+6)%7)}else("W"in wt||"U"in wt)&&("w"in wt||(wt.w="u"in wt?wt.u%7:"W"in wt?1:0),$t="Z"in wt?hd(Ou(wt.y,0,1)).getUTCDay():ud(Ou(wt.y,0,1)).getDay(),wt.m=0,wt.d="W"in wt?(wt.w+6)%7+7*wt.W-($t+5)%7:wt.w+7*wt.U-($t+6)%7);return"Z"in wt?(wt.H+=wt.Z/100|0,wt.M+=wt.Z%100,hd(wt)):ud(wt)}}function _e(It,Ut,Ft,xt){for(var $t,wt,Se=0,Ne=Ut.length,ge=Ft.length;Se<Ne;){if(xt>=ge)return-1;if(37===($t=Ut.charCodeAt(Se++))){if($t=Ut.charAt(Se++),!(wt=re[$t in Av?Ut.charAt(Se++):$t])||(xt=wt(It,Ft,xt))<0)return-1}else if($t!=Ft.charCodeAt(xt++))return-1}return xt}return Mt.x=qt(o,Mt),Mt.X=qt(l,Mt),Mt.c=qt(n,Mt),Kt.x=qt(o,Kt),Kt.X=qt(l,Kt),Kt.c=qt(n,Kt),{format:function(It){var Ut=qt(It+="",Mt);return Ut.toString=function(){return It},Ut},parse:function(It){var Ut=Xt(It+="",!1);return Ut.toString=function(){return It},Ut},utcFormat:function(It){var Ut=qt(It+="",Kt);return Ut.toString=function(){return It},Ut},utcParse:function(It){var Ut=Xt(It+="",!0);return Ut.toString=function(){return It},Ut}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),M0=Bu.format;var o5={value:()=>{}};function Gv(){for(var e,n=0,o=arguments.length,l={};n<o;++n){if(!(e=arguments[n]+"")||e in l||/[\s.]/.test(e))throw new Error("illegal type: "+e);l[e]=[]}return new Z1(l)}function Z1(e){this._=e}function zv(e,n){return e.trim().split(/^|\s+/).map(function(o){var l="",_=o.indexOf(".");if(_>=0&&(l=o.slice(_+1),o=o.slice(0,_)),o&&!n.hasOwnProperty(o))throw new Error("unknown type: "+o);return{type:o,name:l}})}function Kv(e,n){for(var o,l=0,_=e.length;l<_;++l)if((o=e[l]).name===n)return o.value}function Q0(e,n,o){for(var l=0,_=e.length;l<_;++l)if(e[l].name===n){e[l]=o5,e=e.slice(0,l).concat(e.slice(l+1));break}return null!=o&&e.push({name:n,value:o}),e}Z1.prototype=Gv.prototype={constructor:Z1,on:function(e,n){var o,l=this._,_=zv(e+"",l),p=-1,m=_.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++p<m;)if(o=(e=_[p]).type)l[o]=Q0(l[o],e.name,n);else if(null==n)for(o in l)l[o]=Q0(l[o],e.name,null);return this}for(;++p<m;)if((o=(e=_[p]).type)&&(o=Kv(l[o],e.name)))return o},copy:function(){var e={},n=this._;for(var o in n)e[o]=n[o].slice();return new Z1(e)},call:function(e,n){if((o=arguments.length-2)>0)for(var o,l,_=new Array(o),p=0;p<o;++p)_[p]=arguments[p+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(p=0,o=(l=this._[e]).length;p<o;++p)l[p].value.apply(n,_)},apply:function(e,n,o){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var l=this._[e],_=0,p=l.length;_<p;++_)l[_].value.apply(n,o)}};const $0=Gv;var yd,Yu,Fs=0,oc=0,wl=0,Tl=0,Cl=0,xd=0,qu="object"==typeof performance&&performance.now?performance:Date,j0="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function O1(){return Cl||(j0(a5),Cl=qu.now()+xd)}function a5(){Cl=0}function B1(){this._call=this._time=this._next=null}function Vu(e,n,o){var l=new B1;return l.restart(e,n,o),l}function P1(){Cl=(Tl=qu.now())+xd,Fs=oc=0;try{!function(){O1(),++Fs;for(var e,n=yd;n;)(e=Cl-n._time)>=0&&n._call.call(void 0,e),n=n._next;--Fs}()}finally{Fs=0,function(){for(var e,n,o=yd,l=1/0;o;)o._call?(l>o._time&&(l=o._time),e=o,o=o._next):(n=o._next,o._next=null,o=e?e._next=n:yd=n);Yu=e,Qu(l)}(),Cl=0}}function G0(){var e=qu.now(),n=e-Tl;n>1e3&&(xd-=n,Tl=e)}function Qu(e){Fs||(oc&&(oc=clearTimeout(oc)),e-Cl>24?(e<1/0&&(oc=setTimeout(P1,e-qu.now()-xd)),wl&&(wl=clearInterval(wl))):(wl||(Tl=qu.now(),wl=setInterval(G0,1e3)),Fs=1,j0(P1)))}function R1(e,n,o){var l=new B1;return l.restart(_=>{l.stop(),e(_+n)},n=null==n?0:+n,o),l}B1.prototype=Vu.prototype={constructor:B1,restart:function(e,n,o){if("function"!=typeof e)throw new TypeError("callback is not a function");o=(null==o?O1():+o)+(null==n?0:+n),this._next||Yu===this||(Yu?Yu._next=this:yd=this,Yu=this),this._call=e,this._time=o,Qu()},stop:function(){this._call&&(this._call=null,this._time=1/0,Qu())}};var z0=$0("start","end","cancel","interrupt"),K0=[];function J1(e,n,o,l,_,p){var m=e.__transition;if(m){if(o in m)return}else e.__transition={};!function(w,D,S){var N,q=w.__transition;function H(st){var Dt,vt,Et,Mt;if(1!==S.state)return _t();for(Dt in q)if((Mt=q[Dt]).name===S.name){if(3===Mt.state)return R1(H);4===Mt.state?(Mt.state=6,Mt.timer.stop(),Mt.on.call("interrupt",w,w.__data__,Mt.index,Mt.group),delete q[Dt]):+Dt<D&&(Mt.state=6,Mt.timer.stop(),Mt.on.call("cancel",w,w.__data__,Mt.index,Mt.group),delete q[Dt])}if(R1(function(){3===S.state&&(S.state=4,S.timer.restart(G,S.delay,S.time),G(st))}),S.state=2,S.on.call("start",w,w.__data__,S.index,S.group),2===S.state){for(S.state=3,N=new Array(Et=S.tween.length),Dt=0,vt=-1;Dt<Et;++Dt)(Mt=S.tween[Dt].value.call(w,w.__data__,S.index,S.group))&&(N[++vt]=Mt);N.length=vt+1}}function G(st){for(var Dt=st<S.duration?S.ease.call(null,st/S.duration):(S.timer.restart(_t),S.state=5,1
1),vt=-1,Et=N.length;++vt<Et;)N[vt].call(w,Dt);5===S.state&&(S.on.call("end",w,w.__data__,S.index,S.group),_t())}function _t(){for(var st in S.state=6,S.timer.stop(),delete q[D],q)return;delete w.__transition}q[D]=S,S.timer=Vu(function(st){S.state=1,S.timer.restart(H,S.delay,S.time),S.delay<=st&&H(st-S.delay)},0,S.time)}(e,o,{name:n,index:l,group:_,on:z0,tween:K0,time:p.time,delay:p.delay,duration:p.duration,ease:p.ease,timer:null,state:0})}function H1(e,n){var o=ds(e,n);if(o.state>0)throw new Error("too late; already scheduled");return o}function Ms(e,n){var o=ds(e,n);if(o.state>3)throw new Error("too late; already running");return o}function ds(e,n){var o=e.__transition;if(!o||!(o=o[n]))throw new Error("transition not found");return o}function ac(e,n){return e=+e,n=+n,function(o){return e*(1-o)+n*o}}var Ma,Y1=180/Math.PI,bd={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function W0(e,n,o,l,_,p){var m,w,D;return(m=Math.sqrt(e*e+n*n))&&(e/=m,n/=m),(D=e*o+n*l)&&(o-=e*D,l-=n*D),(w=Math.sqrt(o*o+l*l))&&(o/=w,l/=w,D/=w),e*l<n*o&&(e=-e,n=-n,D=-D,m=-m),{translateX:_,translateY:p,rotate:Math.atan2(n,e)*Y1,skewX:Math.atan(D)*Y1,scaleX:m,scaleY:w}}function wd(e,n,o,l){function _(p){return p.length?p.pop()+" ":""}return function(p,m){var S,N,q,w=[],D=[];return p=e(p),m=e(m),function(S,N,q,H,G,_t){if(S!==q||N!==H){var st=G.push("translate(",null,n,null,o);_t.push({i:st-4,x:ac(S,q)},{i:st-2,x:ac(N,H)})}else(q||H)&&G.push("translate("+q+n+H+o)}(p.translateX,p.translateY,m.translateX,m.translateY,w,D),q=w,(S=p.rotate)!==(N=m.rotate)?(S-N>180?N+=360:N-S>180&&(S+=360),D.push({i:q.push(_(q)+"rotate(",null,l)-2,x:ac(S,N)})):N&&q.push(_(q)+"rotate("+N+l),function(S,N,q,H){S!==N?H.push({i:q.push(_(q)+"skewX(",null,l)-2,x:ac(S,N)}):N&&q.push(_(q)+"skewX("+N+l)}(p.skewX,m.skewX,w,D),function(S,N,q,H,G,_t){if(S!==q||N!==H){var st=G.push(_(G)+"scale(",null,",",null,")");_t.push({i:st-4,x:ac(S,q)},{i:st-2,x:ac(N,H)})}else 1===q&&1===H||G.push(_(G)+"scale("+q+","+H+")")}(p.scaleX,p.scaleY,m.scaleX,m.scaleY,w,D),p=m=null,function(S){for(var N,q=-1,H=D.length;++q<H;)w[(N=D[q]).i]=N.x(S);return w.join("")}}}var Wv=wd(function(e){const n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return n.isIdentity?bd:W0(n.a,n.b,n.c,n.d,n.e,n.f)},"px, ","px)","deg)"),s5=wd(function(e){return null==e?bd:(Ma||(Ma=document.createElementNS("http://www.w3.org/2000/svg","g")),Ma.setAttribute("transform",e),(e=Ma.transform.baseVal.consolidate())?W0((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):bd)},", ",")",")");function Xv(e,n){var o,l;return function(){var _=Ms(this,e),p=_.tween;if(p!==o)for(var m=0,w=(l=o=p).length;m<w;++m)if(l[m].name===n){(l=l.slice()).splice(m,1);break}_.tween=l}}function Td(e,n,o){var l,_;if("function"!=typeof o)throw new Error;return function(){var p=Ms(this,e),m=p.tween;if(m!==l){_=(l=m).slice();for(var w={name:n,value:o},D=0,S=_.length;D<S;++D)if(_[D].name===n){_[D]=w;break}D===S&&_.push(w)}p.tween=_}}function Cd(e,n,o){var l=e._id;return e.each(function(){var _=Ms(this,l);(_.value||(_.value={}))[n]=o.apply(this,arguments)}),function(_){return ds(_,l).value[n]}}function ty(e,n,o,l,_){var p=e*e,m=p*e;return((1-3*e+3*p-m)*n+(4-6*p+3*m)*o+(1+3*e+3*p-3*m)*l+m*_)/6}const q1=function e(n){var _,o=1==(_=+(_=n))?cl:function(p,m){return m-p?(w=p,D=m,S=_,w=Math.pow(w,S),D=Math.pow(D,S)-w,S=1/S,function(N){return Math.pow(w+N*D,S)}):Np(isNaN(p)?m:p);var w,D,S};function l(_,p){var m=o((_=sl(_)).r,(p=sl(p)).r),w=o(_.g,p.g),D=o(_.b,p.b),S=cl(_.opacity,p.opacity);return function(N){return _.r=m(N),_.g=w(N),_.b=D(N),_.opacity=S(N),_+""}}return l.gamma=e,l}(1);function ey(e){return function(n){var o,l,_=n.length,p=new Array(_),m=new Array(_),w=new Array(_);for(o=0;o<_;++o)l=sl(n[o]),p[o]=l.r||0,m[o]=l.g||0,w[o]=l.b||0;return p=e(p),m=e(m),w=e(w),l.opacity=1,function(D){return l.r=p(D),l.g=m(D),l.b=w(D),l+""}}}ey(function(e){var n=e.length-1;return function(o){var l=o<=0?o=0:o>=1?(o=1,n-1):Math.floor(o*n),_=e[l],p=e[l+1];return ty((o-l/n)*n,l>0?e[l-1]:2*_-p,_,p,l<n-1?e[l+2]:2*p-_)}}),ey(function(e){var n=e.length;return function(o){var l=Math.floor(((o%=1)<0?++o:o)*n);return ty((o-l/n)*n,e[(l+n-1)%n],e[l%n],e[(l+1)%n],e[(l+2)%n])}});var kl=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,X0=new RegExp(kl.source,"g");function ny(e,n){var o,l,_,S,p=kl.lastIndex=X0.lastIndex=0,m=-1,w=[],D=[];for(e+="",n+="";(o=kl.exec(e))&&(l=X0.exec(n));)(_=l.index)>
vendor: 5,067 bytes, line 1
1p&&(_=n.slice(p,_),w[m]?w[m]+=_:w[++m]=_),(o=o[0])===(l=l[0])?w[m]?w[m]+=l:w[++m]=l:(w[++m]=null,D.push({i:m,x:ac(o,l)})),p=X0.lastIndex;return p<n.length&&(_=n.slice(p),w[m]?w[m]+=_:w[++m]=_),w.length<2?D[0]?(S=D[0].x,function(N){return S(N)+""}):function(S){return function(){return S}}(n):(n=D.length,function(S){for(var N,q=0;q<n;++q)w[(N=D[q]).i]=N.x(S);return w.join("")})}function kd(e,n){var o;return("number"==typeof n?ac:n instanceof yo?q1:(o=yo(n))?(n=o,q1):ny)(e,n)}function iy(e){return function(){this.removeAttribute(e)}}function c5(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Dd(e,n,o){var l,_,p=o+"";return function(){var m=this.getAttribute(e);return m===p?null:m===l?_:_=n(l=m,o)}}function l5(e,n,o){var l,_,p=o+"";return function(){var m=this.getAttributeNS(e.space,e.local);return m===p?null:m===l?_:_=n(l=m,o)}}function ry(e,n,o){var l,_,p;return function(){var m,w,D=o(this);if(null!=D)return(m=this.getAttribute(e))===(w=D+"")?null:m===l&&w===_?p:(_=w,p=n(l=m,D));this.removeAttribute(e)}}function u5(e,n,o){var l,_,p;return function(){var m,w,D=o(this);if(null!=D)return(m=this.getAttributeNS(e.space,e.local))===(w=D+"")?null:m===l&&w===_?p:(_=w,p=n(l=m,D));this.removeAttributeNS(e.space,e.local)}}function Sd(e,n){return function(o){this.setAttribute(e,n.call(this,o))}}function Ad(e,n){return function(o){this.setAttributeNS(e.space,e.local,n.call(this,o))}}function Ed(e,n){var o,l;function _(){var p=n.apply(this,arguments);return p!==l&&(o=(l=p)&&Ad(e,p)),o}return _._value=n,_}function Id(e,n){var o,l;function _(){var p=n.apply(this,arguments);return p!==l&&(o=(l=p)&&Sd(e,p)),o}return _._value=n,_}function V1(e,n){return function(){H1(this,e).delay=+n.apply(this,arguments)}}function tg(e,n){return n=+n,function(){H1(this,e).delay=n}}function h5(e,n){return function(){Ms(this,e).duration=+n.apply(this,arguments)}}function eg(e,n){return n=+n,function(){Ms(this,e).duration=n}}function d5(e,n){if("function"!=typeof n)throw new Error;return function(){Ms(this,e).ease=n}}function f5(e,n,o){var l,_,p=(n+"").trim().split(/^|\s+/).every(function(w){var D=w.indexOf(".");return D>=0&&(w=w.slice(0,D)),!w||"start"===w})?H1:Ms;return function(){var m=p(this,e),w=m.on;w!==l&&(_=(l=w).copy()).on(n,o),m.on=_}}var ng=Au.prototype.constructor;function oy(e){return function(){this.style.removeProperty(e)}}function ig(e,n,o){return function(l){this.style.setProperty(e,n.call(this,l),o)}}function _5(e,n,o){var l,_;function p(){var m=n.apply(this,arguments);return m!==_&&(l=(_=m)&&ig(e,m,o)),l}return p._value=n,p}function rg(e){return function(n){this.textContent=e.call(this,n)}}function p5(e){var n,o;function l(){var _=e.apply(this,arguments);return _!==o&&(n=(o=_)&&rg(_)),n}return l._value=e,l}var og=0;function sc(e,n,o,l){this._groups=e,this._parents=n,this._name=o,this._id=l}function ay(){return++og}var cc=Au.prototype;sc.prototype=function(e){return Au().transition(e)}.prototype={constructor:sc,select:function(e){var n=this._name,o=this._id;"function"!=typeof e&&(e=f0(e));for(var l=this._groups,_=l.length,p=new Array(_),m=0;m<_;++m)for(var w,D,S=l[m],N=S.length,q=p[m]=new Array(N),H=0;H<N;++H)(w=S[H])&&(D=e.call(w,w.__data__,H,S))&&("__data__"in w&&(D.__data__=w.__data__),q[H]=D,J1(q[H],n,o,H,q,ds(w,o)));return new sc(p,this._parents,n,o)},selectAll:function(e){var n=this._name,o=this._id;"function"!=typeof e&&(e=_0(e));for(var l=this._groups,_=l.length,p=[],m=[],w=0;w<_;++w)for(var D,S=l[w],N=S.length,q=0;q<N;++q)if(D=S[q]){for(var H,G=e.call(D,D.__data__,q,S),_t=ds(D,o),st=0,Dt=G.length;st<Dt;++st)(H=G[st])&&J1(H,n,o,st,G,_t);p.push(G),m.push(D)}return new sc(p,m,n,o)},selectChild:cc.selectChild,selectChildren:cc.selectChildren,filter:function(e){"function"!=typeof e&&(e=X2(e));for(var n=this._groups,o=n.length,l=new Array(o),_=0;_<o;++_)for(var p,m=n[_],w=m.length,D=l[_]=[],S=0;S<w;++S)(p=m[S])&&e.call(p,p.__data__,S,m)&&D.push(p);return new sc(l,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var n=this._groups,o=e._groups,l=n.length,p=Math.min(l,o.length),m=new Array(l),w=0;w<p;++w)for(var D,S=n[w],N=o[w],q=S.length,H=m[w]=new Array(q),G=0;G<q;++G)(D=S[G]||N[G])&&(H[G]=D);for(;w<l;++w)m[w]=n[w];return new sc(m,this._parents,this._name,this._id)},selection:function(){return new ng(this._groups,this._parents)},transition:function(){for(var e=this._name,n=this._id,o=ay(),l=this._groups,_=l.length,p=0;p<_;++p)for(var m,w=l[p],D=w.length,S=0;S<D;++S)if(m=w[S]){var N=ds(m,n);J1(m,e,o,S,w,{time:N.time+N.delay+N.duration,delay:0,duration:N.duration,ease:N.ease})}return new sc(l,this._parents,e,o)},call:cc.call,nodes:cc.nodes,node:cc.node,size:cc.size,empty:cc.empty,each:cc.each,on:function(e,n){var o=this._id;return arguments.length<2?ds(this.node(),o).on.on(e):this.each(f5(o,e,n))},attr:function(e,n){var o=Kh(e),l="transform"===o?s5:kd;return this.attrTween(e,"function"==typeof n?(o.local?u5:ry)(o,l,Cd(this,"attr."+e,n)):null==n?(o.local?c5:iy)(o):(o.local?l5:Dd)(o,l,n))},attrTween:function(e,n){var o="attr."+e;
1if(arguments.length<2)return(o=this.tween(o))&&o._value;if(null==n)return this.tween(o,null);if("function"!=typeof n)throw new Error;var l=Kh(e);return this.tween(o,(l.local?Ed:Id)(l,n))},style:function(e,n,o){var _,p,m,w,D,l="transform"==(e+="")?Wv:kd;return null==n?this.styleTween(e,(_=e,p=l,function(){var S=pl(this,_),N=(this.style.removeProperty(_),pl(this,_));return S===N?null:S===m&&N===w?D:D=p(m=S,w=N)})).on("end.style."+e,oy(e)):"function"==typeof n?this.styleTween(e,function(_,p,m){var w,D,S;return function(){var N=pl(this,_),q=m(this),H=q+"";return null==q&&(this.style.removeProperty(_),H=q=pl(this,_)),N===H?null:N===w&&H===D?S:(D=H,S=p(w=N,q))}}(e,l,Cd(this,"style."+e,n))).each(function(_,p){var m,w,D,S,N="style."+p,q="end."+N;return function(){var H=Ms(this,_),G=H.on,_t=null==H.value[N]?S||(S=oy(p)):void 0;G===m&&D===_t||(w=(m=G).copy()).on(q,D=_t),H.on=w}}(this._id,e)):this.styleTween(e,function(_,p,m){var w,D,S=m+"";return function(){var N=pl(this,_);return N===S?null:N===w?D:D=p(w=N,m)}}(e,l,n),o).on("end.style."+e,null)},styleTween:function(e,n,o){var l="style."+(e+="");if(arguments.length<2)return(l=this.tween(l))&&l._value;if(null==n)return this.tween(l,null);if("function"!=typeof n)throw new Error;return this.tween(l,_5(e,n,o??""))},text:function(e){return this.tween("text","function"==typeof e?(n=Cd(this,"text",e),function(){var o=n(this);this.textContent=o??""}):function(n){return function(){this.textContent=n}}(null==e?"":e+""));var n},textTween:function(e){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;return this.tween(n,p5(e))},remove:function(){return this.on("end.remove",(e=this._id,function(){var n=this.parentNode;for(var o in this.__transition)if(+o!==e)return;n&&n.removeChild(this)}));var e},tween:function(e,n){var o=this._id;if(e+="",arguments.length<2){for(var l,_=ds(this.node(),o).tween,p=0,m=_.length;p<m;++p)if((l=_[p]).name===e)return l.value;return null}return this.each((null==n?Xv:Td)(o,e,n))},delay:function(e){var n=this._id;return arguments.length?this.each(("function"==typeof e?V1:tg)(n,e)):ds(this.node(),n).delay},duration:function(e){var n=this._id;return arguments.length?this.each(("function"==typeof e?h5:eg)(n,e)):ds(this.node(),n).duration},ease:function(e){var n=this._id;return arguments.length?this.each(d5(n,e)):ds(this.node(),n).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each((n=this._id,o=e,function(){var l=o.apply(this,arguments);if("function"!=typeof l)throw new Error;Ms(this,n).ease=l}));var n,o},end:function(){var e,n,o=this,l=o._id,_=o.size();return new Promise(function(p,m){var w={value:m},D={value:function(){0==--_&&p()}};o.each(function(){var S=Ms(this,l),N=S.on;N!==e&&((n=(e=N).copy())._.cancel.push(w),n._.interrupt.push(w),n._.end.push(D)),S.on=n}),0===_&&p()})},[Symbol.iterator]:cc[Symbol.iterator]};var g5={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function m5(e,n){for(var o;!(o=e.__transition)||!(o=o[n]);)if(!(e=e.parentNode))throw new Error(`transition ${n} not found`);return o}function v5(){}function Fd(e){return null==e?v5:function(){return this.querySelector(e)}}function y5(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}function x5(){return[]}function ag(e){return null==e?x5:function(){return this.querySelectorAll(e)}}function Dl(e){return function(){return this.matches(e)}}function sy(e){return function(n){return n.matches(e)}}Au.prototype.interrupt=function(e){return this.each(function(){!function(n,o){var l,_,p,m=n.__transition,w=!0;if(m){for(p in o=null==o?null:o+"",m)(l=m[p]).name===o?(_=l.state>2&&l.state<5,l.state=6,l.timer.stop(),l.on.call(_?"interrupt":"cancel",n,n.__data__,l.index,l.group),delete m[p]):w=!1;w&&delete n.__transition}}(this,e)})},Au.prototype.transition=function(e){var n,o;e instanceof sc?(n=e._id,e=e._name):(n=ay(),(o=g5).time=O1(),e=null==e?null:e+"");for(var l=this._groups,_=l.length,p=0;p<_;++p)for(var m,w=l[p],D=w.length,S=0;S<D;
vendor: 5,052 bytes, line 1
1++S)(m=w[S])&&J1(m,e,n,S,w,o||m5(m,n));return new sc(l,this._parents,e,n)};var cy=Array.prototype.find;function b5(){return this.firstElementChild}var Q1=Array.prototype.filter;function ly(){return Array.from(this.children)}function $1(e){return new Array(e.length)}function j1(e,n){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=n}function Md(e){return function(){return e}}function uy(e,n,o,l,_,p){for(var m,w=0,D=n.length,S=p.length;w<S;++w)(m=n[w])?(m.__data__=p[w],l[w]=m):o[w]=new j1(e,p[w]);for(;w<D;++w)(m=n[w])&&(_[w]=m)}function hy(e,n,o,l,_,p,m){var w,D,S,N=new Map,q=n.length,H=p.length,G=new Array(q);for(w=0;w<q;++w)(D=n[w])&&(G[w]=S=m.call(D,D.__data__,w,n)+"",N.has(S)?_[w]=D:N.set(S,D));for(w=0;w<H;++w)S=m.call(e,p[w],w,p)+"",(D=N.get(S))?(l[w]=D,D.__data__=p[w],N.delete(S)):o[w]=new j1(e,p[w]);for(w=0;w<q;++w)(D=n[w])&&N.get(G[w])===D&&(_[w]=D)}function dy(e){return e.__data__}function fy(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function G1(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}j1.prototype={constructor:j1,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,n){return this._parent.insertBefore(e,n)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var z1="http://www.w3.org/1999/xhtml";const _y={svg:"http://www.w3.org/2000/svg",xhtml:z1,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function K1(e){var n=e+="",o=n.indexOf(":");return o>=0&&"xmlns"!==(n=e.slice(0,o))&&(e=e.slice(o+1)),_y.hasOwnProperty(n)?{space:_y[n],local:e}:e}function W1(e){return function(){this.removeAttribute(e)}}function Sl(e){return function(){this.removeAttributeNS(e.space,e.local)}}function $u(e,n){return function(){this.setAttribute(e,n)}}function w5(e,n){return function(){this.setAttributeNS(e.space,e.local,n)}}function T5(e,n){return function(){var o=n.apply(this,arguments);null==o?this.removeAttribute(e):this.setAttribute(e,o)}}function py(e,n){return function(){var o=n.apply(this,arguments);null==o?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,o)}}function X1(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function gy(e){return function(){this.style.removeProperty(e)}}function my(e,n,o){return function(){this.style.setProperty(e,n,o)}}function Nd(e,n,o){return function(){var l=n.apply(this,arguments);null==l?this.style.removeProperty(e):this.style.setProperty(e,l,o)}}function ju(e,n){return e.style.getPropertyValue(n)||X1(e).getComputedStyle(e,null).getPropertyValue(n)}function C5(e){return function(){delete this[e]}}function vy(e,n){return function(){this[e]=n}}function k5(e,n){return function(){var o=n.apply(this,arguments);null==o?delete this[e]:this[e]=o}}function yy(e){return e.trim().split(/^|\s+/)}function sg(e){return e.classList||new xy(e)}function xy(e){this._node=e,this._names=yy(e.getAttribute("class")||"")}function t_(e,n){for(var o=sg(e),l=-1,_=n.length;++l<_;)o.add(n[l])}function e_(e,n){for(var o=sg(e),l=-1,_=n.length;++l<_;)o.remove(n[l])}function D5(e){return function(){t_(this,e)}}function S5(e){return function(){e_(this,e)}}function n_(e,n){return function(){(n.apply(this,arguments)?t_:e_)(this,e)}}function A5(){this.textContent=""}function i_(e){return function(){this.textContent=e}}function by(e){return function(){var n=e.apply(this,arguments);this.textContent=n??""}}function wy(){this.innerHTML=""}function Ty(e){return function(){this.innerHTML=e}}function E5(e){return function(){var n=e.apply(this,arguments);this.innerHTML=n??""}}function I5(){this.nextSibling&&this.parentNode.appendChild(this)}function F5(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function M5(e){return function(){var n=this.ownerDocument,o=this.namespaceURI;return o===z1&&n.documentElement.namespaceURI===z1?n.createElement(e):n.createElementNS(o,e)}}function N5(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Cy(e){var n=K1(e);return(n.local?N5:M5)(n)}function ky(){return null}function Ld(){var e=this.parentNode;e&&e.removeChild(this)}function Dy(){var e=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(e,this.nextSibling):e}function Sy(){var e=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(e,this.nextSibling):e}function Ay(e){return e.trim().split(/^|\s+/).map(function(n){var o="",l=n.indexOf(".");return l>=0&&(o=n.slice(l+1),n=n.slice(0,l)),{type:n,name:o}})}function L5(e){return function(){var n=this.__on;if(n){for(var o,l=0,_=-1,p=n.length;l<p;++l)o=n[l],e.type&&o.type!==e.type||o.name!==e.name?n[++_]=o:this.removeEventListener(o.type,o.listener,o.options);++_?n.length=_:delete this.__on}}}function U5(e,n,o){return function(){var l,D,_=this.__on,p=(D=n,function(S){D.call(this,S,this.__data__)});if(_)for(var m=0,w=_.length;m<w;
vendor: 1,309 bytes, line 1
1++m)if((l=_[m]).type===e.type&&l.name===e.name)return this.removeEventListener(l.type,l.listener,l.options),this.addEventListener(l.type,l.listener=p,l.options=o),void(l.value=n);this.addEventListener(e.type,p,o),l={type:e.type,name:e.name,value:n,listener:p,options:o},_?_.push(l):this.__on=[l]}}function Ey(e,n,o){var l=X1(e),_=l.CustomEvent;"function"==typeof _?_=new _(n,o):(_=l.document.createEvent("Event"),o?(_.initEvent(n,o.bubbles,o.cancelable),_.detail=o.detail):_.initEvent(n,!1,!1)),e.dispatchEvent(_)}function Iy(e,n){return function(){return Ey(this,e,n)}}function Z5(e,n){return function(){return Ey(this,e,n.apply(this,arguments))}}xy.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var n=this._names.indexOf(e);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var O5=[null];function Qa(e,n){this._groups=e,this._parents=n}function Fy(){return new Qa([[document.documentElement]],O5)}Qa.prototype=Fy.prototype={constructor:Qa,select:function(e){"function"!=typeof e&&(e=Fd(e));for(var n=this._groups,o=n.length,l=new Array(o),_=0;_<o;++_)for(var p,m,w=n[_],D=w.length,S=l[_]=new Array(D),N=0;N<D;
vendor: 6,280 bytes, line 1
1++N)(p=w[N])&&(m=e.call(p,p.__data__,N,w))&&("__data__"in p&&(m.__data__=p.__data__),S[N]=m);return new Qa(l,this._parents)},selectAll:function(e){var N;e="function"==typeof e?(N=e,function(){return y5(N.apply(this,arguments))}):ag(e);for(var n=this._groups,o=n.length,l=[],_=[],p=0;p<o;++p)for(var m,w=n[p],D=w.length,S=0;S<D;++S)(m=w[S])&&(l.push(e.call(m,m.__data__,S,w)),_.push(m));return new Qa(l,_)},selectChild:function(e){return this.select(null==e?b5:(n="function"==typeof e?e:sy(e),function(){return cy.call(this.children,n)}));var n},selectChildren:function(e){return this.selectAll(null==e?ly:(n="function"==typeof e?e:sy(e),function(){return Q1.call(this.children,n)}));var n},filter:function(e){"function"!=typeof e&&(e=Dl(e));for(var n=this._groups,o=n.length,l=new Array(o),_=0;_<o;++_)for(var p,m=n[_],w=m.length,D=l[_]=[],S=0;S<w;++S)(p=m[S])&&e.call(p,p.__data__,S,m)&&D.push(p);return new Qa(l,this._parents)},data:function(e,n){if(!arguments.length)return Array.from(this,dy);var o=n?hy:uy,l=this._parents,_=this._groups;"function"!=typeof e&&(e=Md(e));for(var p=_.length,m=new Array(p),w=new Array(p),D=new Array(p),S=0;S<p;++S){var N=l[S],q=_[S],H=q.length,G=fy(e.call(N,N&&N.__data__,S,l)),_t=G.length,st=w[S]=new Array(_t),Dt=m[S]=new Array(_t),vt=D[S]=new Array(H);o(N,q,st,Dt,vt,G,n);for(var Et,Mt,Kt=0,re=0;Kt<_t;++Kt)if(Et=st[Kt]){for(Kt>=re&&(re=Kt+1);!(Mt=Dt[re])&&++re<_t;);Et._next=Mt||null}}return(m=new Qa(m,l))._enter=w,m._exit=D,m},enter:function(){return new Qa(this._enter||this._groups.map($1),this._parents)},exit:function(){return new Qa(this._exit||this._groups.map($1),this._parents)},join:function(e,n,o){var l=this.enter(),_=this,p=this.exit();return"function"==typeof e?(l=e(l))&&(l=l.selection()):l=l.append(e+""),null!=n&&(_=n(_))&&(_=_.selection()),null==o?p.remove():o(p),l&&_?l.merge(_).order():_},merge:function(e){for(var n=e.selection?e.selection():e,o=this._groups,l=n._groups,_=o.length,m=Math.min(_,l.length),w=new Array(_),D=0;D<m;++D)for(var S,N=o[D],q=l[D],H=N.length,G=w[D]=new Array(H),_t=0;_t<H;++_t)(S=N[_t]||q[_t])&&(G[_t]=S);for(;D<_;++D)w[D]=o[D];return new Qa(w,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,n=-1,o=e.length;++n<o;)for(var l,_=e[n],p=_.length-1,m=_[p];--p>=0;)(l=_[p])&&(m&&4^l.compareDocumentPosition(m)&&m.parentNode.insertBefore(l,m),m=l);return this},sort:function(e){function n(q,H){return q&&H?e(q.__data__,H.__data__):!q-!H}e||(e=G1);for(var o=this._groups,l=o.length,_=new Array(l),p=0;p<l;++p){for(var m,w=o[p],D=w.length,S=_[p]=new Array(D),N=0;N<D;++N)(m=w[N])&&(S[N]=m);S.sort(n)}return new Qa(_,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,n=0,o=e.length;n<o;++n)for(var l=e[n],_=0,p=l.length;_<p;++_){var m=l[_];if(m)return m}return null},size:function(){let e=0;for(const n of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var n=this._groups,o=0,l=n.length;o<l;++o)for(var _,p=n[o],m=0,w=p.length;m<w;++m)(_=p[m])&&e.call(_,_.__data__,m,p);return this},attr:function(e,n){var o=K1(e);if(arguments.length<2){var l=this.node();return o.local?l.getAttributeNS(o.space,o.local):l.getAttribute(o)}return this.each((null==n?o.local?Sl:W1:"function"==typeof n?o.local?py:T5:o.local?w5:$u)(o,n))},style:function(e,n,o){return arguments.length>1?this.each((null==n?gy:"function"==typeof n?Nd:my)(e,n,o??"")):ju(this.node(),e)},property:function(e,n){return arguments.length>1?this.each((null==n?C5:"function"==typeof n?k5:vy)(e,n)):this.node()[e]},classed:function(e,n){var o=yy(e+"");if(arguments.length<2){for(var l=sg(this.node()),_=-1,p=o.length;++_<p;)if(!l.contains(o[_]))return!1;return!0}return this.each(("function"==typeof n?n_:n?D5:S5)(o,n))},text:function(e){return arguments.length?this.each(null==e?A5:("function"==typeof e?by:i_)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?wy:("function"==typeof e?E5:Ty)(e)):this.node().innerHTML},raise:function(){return this.each(I5)},lower:function(){return this.each(F5)},append:function(e){var n="function"==typeof e?e:Cy(e);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(e,n){var o="function"==typeof e?e:Cy(e),l=null==n?ky:"function"==typeof n?n:Fd(n);return this.select(function(){return this.insertBefore(o.apply(this,arguments),l.apply(this,arguments)||null)})},remove:function(){return this.each(Ld)},clone:function(e){return this.select(e?Sy:Dy)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,n,o){var l,_,p=Ay(e+""),m=p.length;if(!(arguments.length<2)){for(w=n?U5:L5,l=0;l<m;++l)this.each(w(p[l],n,o));return this}var w=this.node().__on;if(w)for(var D,S=0,N=w.length;S<N;++S)for(l=0,D=w[S];l<m;++l)if((_=p[l]).type===D.type&&_.name===D.name)return D.value},dispatch:function(e,n){return this.each(("function"==typeof n?Z5:Iy)(e,n))},[Symbol.iterator]:function*(){for(var e=this._groups,n=0,o=e.length;n<o;++n)for(var l,_=e[n],p=0,m=_.length;p<m;++p)(l=_[p])&&(yield l)}};const Jc=Fy;var B5={value:()=>{}};function My(){for(var e,n=0,o=arguments.length,l={};n<o;++n){if(!(e=arguments[n]+"")||e in l||/[\s.]/.test(e))throw new Error("illegal type: "+e);l[e]=[]}return new r_(l)}function r_(e){this._=e}function P5(e,n){return e.trim().split(/^|\s+/).map(function(o){var l="",_=o.indexOf(".");if(_>=0&&(l=o.slice(_+1),o=o.slice(0,_)),o&&!n.hasOwnProperty(o))throw new Error("unknown type: "+o);return{type:o,name:l}})}function R5(e,n){for(var o,l=0,_=e.length;l<_;++l)if((o=e[l]).name===n)return o.value}function Ny(e,n,o){for(var l=0,_=e.length;l<_;++l)if(e[l].name===n){e[l]=B5,e=e.slice(0,l).concat(e.slice(l+1));break}return null!=o&&e.push({name:n,value:o}),e}r_.prototype=My.prototype={constructor:r_,on:function(e,n){var o,l=this._,_=P5(e+"",l),p=-1,m=_.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++p<m;)if(o=(e=_[p]).type)l[o]=Ny(l[o],e.name,n);else if(null==n)for(o in l)l[o]=Ny(l[o],e.name,null);return this}for(;++p<m;)if((o=(e=_[p]).type)&&(o=R5(l[o],e.name)))return o}
vendor: 3,244 bytes, line 1
1,copy:function(){var e={},n=this._;for(var o in n)e[o]=n[o].slice();return new r_(e)},call:function(e,n){if((o=arguments.length-2)>0)for(var o,l,_=new Array(o),p=0;p<o;++p)_[p]=arguments[p+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(p=0,o=(l=this._[e]).length;p<o;++p)l[p].value.apply(n,_)},apply:function(e,n,o){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var l=this._[e],_=0,p=l.length;_<p;++_)l[_].value.apply(n,o)}};const Ly=My;var o_,Ud,Gu=0,Ns=0,Zd=0,Od=0,Al=0,Bd=0,Pd="object"==typeof performance&&performance.now?performance:Date,Uy="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Na(){return Al||(Uy(lc),Al=Pd.now()+Bd)}function lc(){Al=0}function Rd(){this._call=this._time=this._next=null}function Jd(e,n,o){var l=new Rd;return l.restart(e,n,o),l}function Hc(){Al=(Od=Pd.now())+Bd,Gu=Ns=0;try{!function(){Na(),++Gu;for(var e,n=o_;n;)(e=Al-n._time)>=0&&n._call.call(void 0,e),n=n._next;--Gu}()}finally{Gu=0,function(){for(var e,n,o=o_,l=1/0;o;)o._call?(l>o._time&&(l=o._time),e=o,o=o._next):(n=o._next,o._next=null,o=e?e._next=n:o_=n);Ud=e,Hd(l)}(),Al=0}}function cg(){var e=Pd.now(),n=e-Od;n>1e3&&(Bd-=n,Od=e)}function Hd(e){Gu||(Ns&&(Ns=clearTimeout(Ns)),e-Al>24?(e<1/0&&(Ns=setTimeout(Hc,e-Pd.now()-Bd)),Zd&&(Zd=clearInterval(Zd))):(Zd||(Od=Pd.now(),Zd=setInterval(cg,1e3)),Gu=1,Uy(Hc)))}function a_(e,n,o){var l=new Rd;return l.restart(_=>{l.stop(),e(_+n)},n=null==n?0:+n,o),l}Rd.prototype=Jd.prototype={constructor:Rd,restart:function(e,n,o){if("function"!=typeof e)throw new TypeError("callback is not a function");o=(null==o?Na():+o)+(null==n?0:+n),this._next||Ud===this||(Ud?Ud._next=this:o_=this,Ud=this),this._call=e,this._time=o,Hd()},stop:function(){this._call&&(this._call=null,this._time=1/0,Hd())}};var Zy=Ly("start","end","cancel","interrupt"),J5=[];function zu(e,n,o,l,_,p){var m=e.__transition;if(m){if(o in m)return}else e.__transition={};!function(w,D,S){var N,q=w.__transition;function H(st){var Dt,vt,Et,Mt;if(1!==S.state)return _t();for(Dt in q)if((Mt=q[Dt]).name===S.name){if(3===Mt.state)return a_(H);4===Mt.state?(Mt.state=6,Mt.timer.stop(),Mt.on.call("interrupt",w,w.__data__,Mt.index,Mt.group),delete q[Dt]):+Dt<D&&(Mt.state=6,Mt.timer.stop(),Mt.on.call("cancel",w,w.__data__,Mt.index,Mt.group),delete q[Dt])}if(a_(function(){3===S.state&&(S.state=4,S.timer.restart(G,S.delay,S.time),G(st))}),S.state=2,S.on.call("start",w,w.__data__,S.index,S.group),2===S.state){for(S.state=3,N=new Array(Et=S.tween.length),Dt=0,vt=-1;Dt<Et;++Dt)(Mt=S.tween[Dt].value.call(w,w.__data__,S.index,S.group))&&(N[++vt]=Mt);N.length=vt+1}}function G(st){for(var Dt=st<S.duration?S.ease.call(null,st/S.duration):(S.timer.restart(_t),S.state=5,1),vt=-1,Et=N.length;++vt<Et;)N[vt].call(w,Dt);5===S.state&&(S.on.call("end",w,w.__data__,S.index,S.group),_t())}function _t(){for(var st in S.state=6,S.timer.stop(),delete q[D],q)return;delete w.__transition}q[D]=S,S.timer=Jd(function(st){S.state=1,S.timer.restart(H,S.delay,S.time),S.delay<=st&&H(st-S.delay)},0,S.time)}(e,o,{name:n,index:l,group:_,on:Zy,tween:J5,time:p.time,delay:p.delay,duration:p.duration,ease:p.ease,timer:null,state:0})}
vendor: 7,326 bytes, line 1
1function s_(e,n){var o=La(e,n);if(o.state>0)throw new Error("too late; already scheduled");return o}function fr(e,n){var o=La(e,n);if(o.state>3)throw new Error("too late; already running");return o}function La(e,n){var o=e.__transition;if(!o||!(o=o[n]))throw new Error("transition not found");return o}function uc(e,n){return e=+e,n=+n,function(o){return e*(1-o)+n*o}}var c_,Oy=180/Math.PI,El={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Yd(e,n,o,l,_,p){var m,w,D;return(m=Math.sqrt(e*e+n*n))&&(e/=m,n/=m),(D=e*o+n*l)&&(o-=e*D,l-=n*D),(w=Math.sqrt(o*o+l*l))&&(o/=w,l/=w,D/=w),e*l<n*o&&(e=-e,n=-n,D=-D,m=-m),{translateX:_,translateY:p,rotate:Math.atan2(n,e)*Oy,skewX:Math.atan(D)*Oy,scaleX:m,scaleY:w}}function lg(e,n,o,l){function _(p){return p.length?p.pop()+" ":""}return function(p,m){var S,N,q,w=[],D=[];return p=e(p),m=e(m),function(S,N,q,H,G,_t){if(S!==q||N!==H){var st=G.push("translate(",null,n,null,o);_t.push({i:st-4,x:uc(S,q)},{i:st-2,x:uc(N,H)})}else(q||H)&&G.push("translate("+q+n+H+o)}(p.translateX,p.translateY,m.translateX,m.translateY,w,D),q=w,(S=p.rotate)!==(N=m.rotate)?(S-N>180?N+=360:N-S>180&&(S+=360),D.push({i:q.push(_(q)+"rotate(",null,l)-2,x:uc(S,N)})):N&&q.push(_(q)+"rotate("+N+l),function(S,N,q,H){S!==N?H.push({i:q.push(_(q)+"skewX(",null,l)-2,x:uc(S,N)}):N&&q.push(_(q)+"skewX("+N+l)}(p.skewX,m.skewX,w,D),function(S,N,q,H,G,_t){if(S!==q||N!==H){var st=G.push(_(G)+"scale(",null,",",null,")");_t.push({i:st-4,x:uc(S,q)},{i:st-2,x:uc(N,H)})}else 1===q&&1===H||G.push(_(G)+"scale("+q+","+H+")")}(p.scaleX,p.scaleY,m.scaleX,m.scaleY,w,D),p=m=null,function(S){for(var N,q=-1,H=D.length;++q<H;)w[(N=D[q]).i]=N.x(S);return w.join("")}}}var By=lg(function(e){const n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return n.isIdentity?El:Yd(n.a,n.b,n.c,n.d,n.e,n.f)},"px, ","px)","deg)"),Il=lg(function(e){return null==e?El:(c_||(c_=document.createElementNS("http://www.w3.org/2000/svg","g")),c_.setAttribute("transform",e),(e=c_.transform.baseVal.consolidate())?Yd((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):El)},", ",")",")");function Py(e,n){var o,l;return function(){var _=fr(this,e),p=_.tween;if(p!==o)for(var m=0,w=(l=o=p).length;m<w;++m)if(l[m].name===n){(l=l.slice()).splice(m,1);break}_.tween=l}}function Ry(e,n,o){var l,_;if("function"!=typeof o)throw new Error;return function(){var p=fr(this,e),m=p.tween;if(m!==l){_=(l=m).slice();for(var w={name:n,value:o},D=0,S=_.length;D<S;++D)if(_[D].name===n){_[D]=w;break}D===S&&_.push(w)}p.tween=_}}function l_(e,n,o){var l=e._id;return e.each(function(){var _=fr(this,l);(_.value||(_.value={}))[n]=o.apply(this,arguments)}),function(_){return La(_,l).value[n]}}function u_(e,n,o){e.prototype=n.prototype=o,o.constructor=e}function ug(e,n){var o=Object.create(e.prototype);for(var l in n)o[l]=n[l];return o}function qd(){}var d_=1.4285714285714286,Fl="\\s*([+-]?\\d+)\\s*",Ml="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",fs="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Jy=/^#([0-9a-f]{3,8})$/,Hy=new RegExp("^rgb\\("+[Fl,Fl,Fl]+"\\)$"),hg=new RegExp("^rgb\\("+[fs,fs,fs]+"\\)$"),Yy=new RegExp("^rgba\\("+[Fl,Fl,Fl,Ml]+"\\)$"),qy=new RegExp("^rgba\\("+[fs,fs,fs,Ml]+"\\)$"),H5=new RegExp("^hsl\\("+[Ml,fs,fs]+"\\)$"),Y5=new RegExp("^hsla\\("+[Ml,fs,fs,Ml]+"\\)$"),f_={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function __(){return this.rgb().formatHex()}function Vy(){return this.rgb().formatRgb()}function Ku(e){var n,o;return e=(e+"").trim().toLowerCase(),(n=Jy.exec(e))?(o=n[1].length,n=parseInt(n[1],16),6===o?dg(n):3===o?new Yi(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===o?Vd(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===o?Vd(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Hy.exec(e))?new Yi(n[1],n[2],n[3],1):(n=hg.exec(e))?new Yi(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Yy.exec(e))?Vd(n[1],n[2],n[3],n[4]):(n=qy.exec(e))?Vd(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=H5.exec(e))?pg(n[1],n[2]/100,n[3]/100,1):(n=Y5.exec(e))?pg(n[1],n[2]/100,n[3]/100,n[4]):f_.hasOwnProperty(e)?dg(f_[e]):"transparent"===e?new Yi(NaN,NaN,NaN,0):null}function dg(e){return new Yi(e>>16&255,e>>8&255,255&e,1)}function Vd(e,n,o,l){return l<=0&&(e=n=o=NaN),new Yi(e,n,o,l)}function fg(e){return e instanceof qd||(e=Ku(e)),e?new Yi((e=e.rgb()).r,e.g,e.b,e.opacity):new Yi}function Wu(e,n,o,l){return 1===arguments.length?fg(e):new Yi(e,n,o,l??1)}function Yi(e,n,o,l){this.r=+e,this.g=+n,this.b=+o,this.opacity=+l}function p_(){return"#"+_g(this.r)+_g(this.g)+_g(this.b)}function Yc(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||
10))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function _g(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function pg(e,n,o,l){return l<=0?e=n=o=NaN:o<=0||o>=1?e=n=NaN:n<=0&&(e=NaN),new Ls(e,n,o,l)}function gg(e){if(e instanceof Ls)return new Ls(e.h,e.s,e.l,e.opacity);if(e instanceof qd||(e=Ku(e)),!e)return new Ls;if(e instanceof Ls)return e;var n=(e=e.rgb()).r/255,o=e.g/255,l=e.b/255,_=Math.min(n,o,l),p=Math.max(n,o,l),m=NaN,w=p-_,D=(p+_)/2;return w?(m=n===p?(o-l)/w+6*(o<l):o===p?(l-n)/w+2:(n-o)/w+4,w/=D<.5?p+_:2-p-_,m*=60):w=D>0&&D<1?0:m,new Ls(m,w,D,e.opacity)}function Ls(e,n,o,l){this.h=+e,this.s=+n,this.l=+o,this.opacity=+l}function Xu(e,n,o){return 255*(e<60?n+(o-n)*e/60:e<180?o:e<240?n+(o-n)*(240-e)/60:n)}function qc(e,n,o,l,_){var p=e*e,m=p*e;return((1-3*e+3*p-m)*n+(4-6*p+3*m)*o+(1+3*e+3*p-3*m)*l+m*_)/6}u_(qd,Ku,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:__,formatHex:__,formatHsl:function(){return gg(this).formatHsl()},formatRgb:Vy,toString:Vy}),u_(Yi,Wu,ug(qd,{brighter:function(e){return e=null==e?d_:Math.pow(d_,e),new Yi(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Yi(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:p_,formatHex:p_,formatRgb:Yc,toString:Yc})),u_(Ls,function(e,n,o,l){return 1===arguments.length?gg(e):new Ls(e,n,o,l??1)},ug(qd,{brighter:function(e){return e=null==e?d_:Math.pow(d_,e),new Ls(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Ls(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),n=isNaN(e)||isNaN(this.s)?0:this.s,o=this.l,l=o+(o<.5?o:1-o)*n,_=2*o-l;return new Yi(Xu(e>=240?e-240:e+120,_,l),Xu(e,_,l),Xu(e<120?e+240:e-120,_,l),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const Qd=e=>()=>e;function mg(e,n){var l,_,o=n-e;return o?(l=e,_=o,function(p){return l+p*_}):Qd(isNaN(e)?n:e)}const vg=function e(n){var _,o=1==(_=+(_=n))?mg:function(p,m){return m-p?(w=p,D=m,S=_,w=Math.pow(w,S),D=Math.pow(D,S)-w,S=1/S,function(N){return Math.pow(w+N*D,S)}):Qd(isNaN(p)?m:p);var w,D,S};function l(_,p){var m=o((_=Wu(_)).r,(p=Wu(p)).r),w=o(_.g,p.g),D=o(_.b,p.b),S=mg(_.opacity,p.opacity);return function(N){return _.r=m(N),_.g=w(N),_.b=D(N),_.opacity=S(N),_+""}}return l.gamma=e,l}(1);function Vc(e){return function(n){var o,l,_=n.length,p=new Array(_),m=new Array(_),w=new Array(_);for(o=0;o<_;++o)l=Wu(n[o]),p[o]=l.r||0,m[o]=l.g||0,w[o]=l.b||0;return p=e(p),m=e(m),w=e(w),l.opacity=1,function(D){return l.r=p(D),l.g=m(D),l.b=w(D),l+""}}}Vc(function(e){var n=e.length-1;return function(o){var l=o<=0?o=0:o>=1?(o=1,n-1):Math.floor(o*n),_=e[l],p=e[l+1];return qc((o-l/n)*n,l>0?e[l-1]:2*_-p,_,p,l<n-1?e[l+2]:2*p-_)}}),Vc(function(e){var n=e.length;return function(o){var l=Math.floor(((o%=1)<0?++o:o)*n);return qc((o-l/n)*n,e[(l+n-1)%n],e[l%n],e[(l+1)%n],e[(l+2)%n])}});var Nl=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ll=new RegExp(Nl.source,"g");function Qy(e,n){var o,l,_,S,p=Nl.lastIndex=Ll.lastIndex=0,m=-1,w=[],D=[];for(e+="",n+="";(o=Nl.exec(e))&&(l=Ll.exec(n));)(_=l.index)>p&&(_=n.slice(p,_),w[m]?w[m]+=_:w[++m]=_),(o=o[0])===(l=l[0])?w[m]?w[m]+=l:w[++m]=l:(w[++m]=null,D.push({i:m,x:uc(o,l)})),p=Ll.lastIndex;return p<n.length&&(_=n.slice(p),w[m]?w[m]+=_:w[++m]=_),w.length<2?D[0]?(S=D[0].x,function(N){return S(N)+""}):function(S){return function(){return S}}(n):(n=D.length,function(S){for(var N,q=0;q<n;++q)w[(N=D[q]).i]=N.x(S);return w.join("")})}function yg(e,n){var o;return("number"==typeof n?uc:n instanceof Ku?vg:(o=Ku(n))?(n=o,vg):Qy)(e,n)}function Ul(e){return function(){this.removeAttribute(e)}}function $y(e){return function(){this.removeAttributeNS(e.space,e.local)}}function jy(e,n,o){var l,_,p=o+"";return function(){var m=this.getAttribute(e);return m===p?null:m===l?_:_=n(l=m,o)}}function Gy(e,n,o){var l,_,p=o+"";return function(){var m=this.getAttributeNS(e.space,e.local);return m===p?null:m===l?_:_=n(l=m,o)}}function q5(e,n,o){var l,_,p;return function(){var m,w,D=o(this);if(null!=D)return(m=this.getAttribute(e))===(w=D+"")?null:m===l&&w===_?p:(_=w,p=n(l=m,D));this.removeAttribute(e)}}function V5(e,n,o){var l,_,p;return function(){var m,w,D=o(this);if(null!=D)return(m=this.getAttributeNS(e.space,e.local))===(w=D+"")?null:m===l&&w===_?p:(_=w,p=n(l=m,D));this.removeAttributeNS(e.space,e.local)}}function Q5(e,n){return function(o){this.setAttribute(e,n.call(this,o))}}function $5(e,n){return function(o){this.setAttributeNS(e.space,e.local,n.call(this,o))}}
1function j5(e,n){var o,l;function _(){var p=n.apply(this,arguments);return p!==l&&(o=(l=p)&&$5(e,p)),o}return _._value=n,_}function G5(e,n){var o,l;function _(){var p=n.apply(this,arguments);return p!==l&&(o=(l=p)&&Q5(e,p)),o}return _._value=n,_}function zy(e,n){return function(){s_(this,e).delay=+n.apply(this,arguments)}}function g_(e,n){return n=+n,function(){s_(this,e).delay=n}}function z5(e,n){return function(){fr(this,e).duration=+n.apply(this,arguments)}}function Ky(e,n){return n=+n,function(){fr(this,e).duration=n}}function Wy(e,n){if("function"!=typeof n)throw new Error;return function(){fr(this,e).ease=n}}function K5(e,n,o){var l,_,p=(n+"").trim().split(/^|\s+/).every(function(w){var D=w.indexOf(".");return D>=0&&(w=w.slice(0,D)),!w||"start"===w})?s_:fr;return function(){var m=p(this,e),w=m.on;w!==l&&(_=(l=w).copy()).on(n,o),m.on=_}}var Xy=Jc.prototype.constructor;function xg(e){return function(){this.style.removeProperty(e)}}function W5(e,n,o){return function(l){this.style.setProperty(e,n.call(this,l),o)}}function tx(e,n,o){var l,_;function p(){var m=n.apply(this,arguments);return m!==_&&(l=(_=m)&&W5(e,m,o)),l}return p._value=n,p}function m_(e){return function(n){this.textContent=e.call(this,n)}}function ex(e){var n,o;function l(){var _=e.apply(this,arguments);return _!==o&&(n=(o=_)&&m_(_)),n}return l._value=e,l}var v_=0;function $a(e,n,o,l){this._groups=e,this._parents=n,this._name=o,this._id=l}function bg(){return++v_}var ea=Jc.prototype;$a.prototype=function(e){return Jc().transition(e)}.prototype={constructor:$a,select:function(e){var n=this._name,o=this._id;"function"!=typeof e&&(e=Fd(e));for(var l=this._groups,_=l.length,p=new Array(_),m=0;m<_;++m)for(var w,D,S=l[m],N=S.length,q=p[m]=new Array(N),H=0;H<N;++H)(w=S[H])&&(D=e.call(w,w.__data__,H,S))&&("__data__"in w&&(D.__data__=w.__data__),q[H]=D,zu(q[H],n,o,H,q,La(w,o)));return new $a(p,this._parents,n,o)},selectAll:function(e){var n=this._name,o=this._id;"function"!=typeof e&&(e=ag(e));for(var l=this._groups,_=l.length,p=[],m=[],w=0;w<_;++w)for(var D,S=l[w],N=S.length,q=0;q<N;++q)if(D=S[q]){for(var H,G=e.call(D,D.__data__,q,S),_t=La(D,o),st=0,Dt=G.length;st<Dt;++st)(H=G[st])&&zu(H,n,o,st,G,_t);p.push(G),m.push(D)}return new $a(p,m,n,o)},selectChild:ea.selectChild,selectChildren:ea.selectChildren,filter:function(e){"function"!=typeof e&&(e=Dl(e));for(var n=this._groups,o=n.length,l=new Array(o),_=0;_<o;++_)for(var p,m=n[_],w=m.length,D=l[_]=[],S=0;S<w;++S)(p=m[S])&&e.call(p,p.__data__,S,m)&&D.push(p);return new $a(l,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var n=this._groups,o=e._groups,l=n.length,p=Math.min(l,o.length),m=new Array(l),w=0;w<p;++w)for(var D,S=n[w],N=o[w],q=S.length,H=m[w]=new Array(q),G=0;G<q;++G)(D=S[G]||N[G])&&(H[G]=D);for(;w<l;++w)m[w]=n[w];return new $a(m,this._parents,this._name,this._id)},selection:function(){return new Xy(this._groups,this._parents)},transition:function(){for(var e=this._name,n=this._id,o=bg(),l=this._groups,_=l.length,p=0;p<_;++p)for(var m,w=l[p],D=w.length,S=0;S<D;++S)if(m=w[S]){var N=La(m,n);zu(m,e,o,S,w,{time:N.time+N.delay+N.duration,delay:0,duration:N.duration,ease:N.ease})}return new $a(l,this._parents,e,o)},call:ea.call,nodes:ea.nodes,node:ea.node,size:ea.size,empty:ea.empty,each:ea.each,on:function(e,n){var o=this._id;return arguments.length<2?La(this.node(),o).on.on(e):this.each(K5(o,e,n))},attr:function(e,n){var o=K1(e),l="transform"===o?Il:yg;return this.attrTween(e,"function"==typeof n?(o.local?V5:q5)(o,l,l_(this,"attr."+e,n)):null==n?(o.local?$y:Ul)(o):(o.local?Gy:jy)(o,l,n))},attrTween:function(e,n){var o="attr."+e;if(arguments.length<2)return(o=this.tween(o))&&o._value;if(null==n)return this.tween(o,null);if("function"!=typeof n)throw new Error;var l=K1(e);return this.tween(o,(l.local?j5:G5)(l,n))},style:function(e,n,o){var _,p,m,w,D,l="transform"==(e+="")?By:yg;return null==n?this.styleTween(e,(_=e,p=l,function(){var S=ju(this,_),N=(this.style.removeProperty(_),ju(this,_));return S===N?null:S===m&&N===w?D:D=p(m=S,w=N)})).on("end.style."+e,xg(e)):"function"==typeof n?this.styleTween(e,function(_,p,m){var w,D,S;return function(){var N=ju(this,_),q=m(this),H=q+"";return null==q&&(this.style.removeProperty(_),H=q=ju(this,_)),N===H?null:N===w&&H===D?S:(D=H,S=p(w=N,q))}}(e,l,l_(this,"style."+e,n))).each(function(_,p){var m,w,D,S,N="style."+p,q="end."+N;return function(){var H=fr(this,_),G=H.on,_t=null==H.value[N]?S||(S=xg(p)):void 0;G===m&&D===_t||(w=(m=G).copy()).on(q,D=_t),H.on=w}}(this._id,e)):this.styleTween(e,function(_,p,m){var w,D,S=m+"";return function(){var N=ju(this,_);return N===S?null:N===w?D:D=p(w=N,m)}}(e,l,n),o).on("end.style."+e,null)},styleTween:function(e,n,o){var l="style."+(e+="");if(arguments.length<2)return(l=this.tween(l))&&l._value;if(null==n)return this.tween(l,null);if("function"!=typeof n)throw new Error;return this.tween(l,tx(e,n,o??""))},text:function(e){return this.tween("text","function"==typeof e?(n=l_(this,"text",e),function(){var o=n(this);this.textContent=o??""}):function(n){return function(){this.textContent=n}}(null==e?"":e+""));var n},textTween:function(e){var n="text";if(arguments.length<1)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;return this.tween(n,ex(e))},remove:function(){return this.on("end.remove",(e=this._id,function(){var n=this.parentNode;for(var o in this.__transition)if(+o!==e)return;n&&n.removeChild(this)}));var e},tween:function(e,n){var o=this._id;if(e+="",arguments.length<2){for(var l,_=La(this.node(),o).tween,p=0,m=_.length;p<m;++p)if((l=_[p]).name===e)return l.value;return null}return this.each((null==n?Py:Ry)(o,e,n))},delay:function(e){var n=this._id;return arguments.length?this.each(("function"==typeof e?zy:g_)(n,e)):La(this.node(),n).delay},duration:function(e){var n=this._id;return arguments.length?this.each(("function"==typeof e?z5:Ky)(n,e)):La(this.node(),n).duration},ease:function(e){var n=this._id;return arguments.length?this.each(Wy(n,e)):La(this.node(),n).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each((n=this._id,o=e,function(){var l=o.apply(this,arguments);if("function"!=typeof l)throw new Error;fr(this,n).ease=l}));var n,o},end:function(){var e,n,o=this,l=o._id,_=o.size();return new Promise(function(p,m){var w={value:m},D={value:function(){0==--_&&p()}};o.each(function(){var S=fr(this,l),N=S.on;N!==e&&((n=(e=N).copy())._.cancel.push(w),n._.interrupt.push(w),n._.end.push(D)),S.on=n}),0===_&&p()})},[Symbol.iterator]:ea[Symbol.iterator]};var $d={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};
1function jd(e,n){for(var o;!(o=e.__transition)||!(o=o[n]);)if(!(e=e.parentNode))throw new Error(`transition ${n} not found`);return o}function Zl(e,n,o){this.k=e,this.x=n,this.y=o}Jc.prototype.interrupt=function(e){return this.each(function(){!function(n,o){var l,_,p,m=n.__transition,w=!0;if(m){for(p in o=null==o?null:o+"",m)(l=m[p]).name===o?(_=l.state>2&&l.state<5,l.state=6,l.timer.stop(),l.on.call(_?"interrupt":"cancel",n,n.__data__,l.index,l.group),delete m[p]):w=!1;w&&delete n.__transition}}(this,e)})},Jc.prototype.transition=function(e){var n,o;e instanceof $a?(n=e._id,e=e._name):(n=bg(),(o=$d).time=Na(),e=null==e?null:e+"");for(var l=this._groups,_=l.length,p=0;p<_;++p)for(var m,w=l[p],D=w.length,S=0;S<D;++S)(m=w[S])&&zu(m,e,n,S,w,o||jd(m,n));return new $a(l,this._parents,e,n)},Zl.prototype={constructor:Zl,scale:function(e){return 1===e?this:new Zl(this.k*e,this.x,this.y)},translate:function(e,n){return 0===e&0===n?this:new Zl(this.k,this.x+this.k*e,this.y+this.k*n)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new Zl(1,0,0);var nx=Math.abs,y_=String.fromCharCode;function ix(e){return e.trim()}function Cg(e,n,o){return e.replace(n,o)}function X5(e,n){return e.indexOf(n)}function kg(e,n){return 0|e.charCodeAt(n)}function Gd(e,n,o){return e.slice(n,o)}function $c(e){return e.length}function Dg(e){return e.length}function Ol(e,n){return n.push(e),e}function Sg(e,n){for(var o="",l=Dg(e),_=0;_<l;_++)o+=n(e[_],_,e,n)||"";return o}function Ag(e,n,o,l){switch(e.type){case"@import":case"decl":return e.return=e.return||e.value;case"comm":return"";case"@keyframes":return e.return=e.value+"{"+Sg(e.children,l)+"}";case"rule":e.value=e.props.join(",")}return $c(o=Sg(e.children,l))?e.return=e.value+"{"+o+"}":""}var Us=1,th=1,x_=0,pa=0,Sr=0,Bl="";function jc(e,n,o,l,_,p,m){return{value:e,root:n,parent:o,type:l,props:_,children:p,line:Us,column:th,length:m,return:""}}function ja(){return Sr=pa<x_?kg(Bl,pa++):0,th++,10===Sr&&(th=1,Us++),Sr}function Zs(){return kg(Bl,pa)}function eh(){return pa}function zd(e,n){return Gd(Bl,e,n)}function Xr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ig(e){return ix(zd(pa-1,Fg(91===e?e+2:40===e?e+1:e)))}function tT(e){for(;(Sr=Zs())&&Sr<33;)ja();return Xr(e)>2||Xr(Sr)>3?"":" "}function Ri(e,n){for(;--n&&ja()&&!(Sr<48||Sr>102||Sr>57&&Sr<65||Sr>70&&Sr<97););return zd(e,eh()+(n<6&&32==Zs()&&32==ja()))}function Fg(e){for(;ja();)switch(Sr){case e:return pa;case 34:case 39:34!==e&&39!==e&&Fg(Sr);break;case 40:41===e&&Fg(e);break;case 92:ja()}return pa}function Kd(e,n){for(;ja()&&e+Sr!==57&&(e+Sr!==84||47!==Zs()););return"/*"+zd(n,pa-1)+"*"+y_(47===e?e:ja())}function Wd(e){for(;!Xr(Zs());)ja();return zd(e,pa)}function eT(e){return n=b_("",null,null,null,[""],(Us=th=1,x_=$c(Bl=e),pa=0,e=[]),0,[0],e),Bl="",n;var n}function b_(e,n,o,l,_,p,m,w,D){for(var S=0,N=0,q=m,H=0,G=0,_t=0,st=1,Dt=1,vt=1,Et=0,Mt="",Kt=_,re=p,qt=l,Xt=Mt;Dt;)switch(_t=Et,Et=ja()){case 40:if(108!=_t&&58==Xt.charCodeAt(q-1)){-1!=X5(Xt+=Cg(Ig(Et),"&","&\f"),"&\f")&&(vt=-1);break}case 34:case 39:case 91:Xt+=Ig(Et);break;case 9:case 10:case 13:case 32:Xt+=tT(_t);break;case 92:Xt+=Ri(eh()-1,7);continue;case 47:switch(Zs()){case 42:case 47:Ol(nT(Kd(ja(),eh()),n,o),D);break;default:Xt+="/"}break;case 123*st:w[S++]=$c(Xt)*vt;case 125*st:case 59:case 0:switch(Et){case 0:case 125:Dt=0;case 59+N:G>0&&$c(Xt)-q&&Ol(G>32?ox(Xt+";",l,o,q-1):ox(Cg(Xt," ","")+";",l,o,q-2),D);break;case 59:Xt+=";";default:if(Ol(qt=rx(Xt,n,o,S,N,_,w,Mt,Kt=[],re=[],q),p),123===Et)if(0===N)b_(Xt,n,qt,qt,Kt,p,q,w,re);
1else switch(H){case 100:case 109:case 115:b_(e,qt,qt,l&&Ol(rx(e,qt,qt,0,0,_,w,Mt,_,Kt=[],q),re),_,re,q,w,l?Kt:re);break;default:b_(Xt,qt,qt,qt,[""],re,0,w,re)}}S=N=G=0,st=vt=1,Mt=Xt="",q=m;break;case 58:q=1+$c(Xt),G=_t;default:if(st<1)if(123==Et)--st;else if(125==Et&&0==st++&&125==(Sr=pa>0?kg(Bl,--pa):0,th--,10===Sr&&(th=1,Us--),Sr))continue;switch(Xt+=y_(Et),Et*st){case 38:vt=N>0?1:(Xt+="\f",-1);break;case 44:w[S++]=($c(Xt)-1)*vt,vt=1;break;case 64:45===Zs()&&(Xt+=Ig(ja())),H=Zs(),N=q=$c(Mt=Xt+=Wd(eh())),Et++;break;case 45:45===_t&&2==$c(Xt)&&(st=0)}}return p}function rx(e,n,o,l,_,p,m,w,D,S,N){for(var q=_-1,H=0===_?p:[""],G=Dg(H),_t=0,st=0,Dt=0;_t<l;++_t)for(var vt=0,Et=Gd(e,q+1,q=nx(st=m[_t])),Mt=e;vt<G;++vt)(Mt=ix(st>0?H[vt]+" "+Et:Cg(Et,/&\f/g,H[vt])))&&(D[Dt++]=Mt);return jc(e,n,o,0===_?"rule":w,D,S,N)}function nT(e,n,o){return jc(e,n,o,"comm",y_(Sr),Gd(e,2,-2),0)}function ox(e,n,o,l){return jc(e,n,o,"decl",Gd(e,0,l),Gd(e,l+1,-1),l)}var Pl=i(9609),iT=i(7856),rT=i.n(iT),ax=function(e){var n=e.replace(/\\u[\dA-F]{4}/gi,function(o){return String.fromCharCode(parseInt(o.replace(/\\u/g,""),16))});return(n=(n=n.replace(/\\x([0-9a-f]{2})/gi,function(o,l){return String.fromCharCode(parseInt(l,16))})).replace(/\\[\d\d\d]{3}/gi,function(o){return String.fromCharCode(parseInt(o.replace(/\\/g,""),8))})).replace(/\\[\d\d\d]{2}/gi,function(o){return String.fromCharCode(parseInt(o.replace(/\\/g,""),8))})},Ng=function(e){for(var n="",o=0;o>=0;){if(!((o=e.indexOf("<script"))>=0)){n+=e,o=-1;break}n+=e.substr(0,o),(o=(e=e.substr(o+1)).indexOf("<\/script>"))>=0&&(e=e.substr(o+=9))}var l=ax(n);return(l=(l=(l=l.replace(/script>/gi,"#")).replace(/javascript:/gi,"#")).replace(/onerror=/gi,"onerror:")).replace(/<iframe/gi,"")},Rl=function(e,n){return e?rT().sanitize(function(l,_){var p=l,m=!0;if(!_.flowchart||!1!==_.flowchart.htmlLabels&&"false"!==_.flowchart.htmlLabels||(m=!1),m){var w=_.securityLevel;"antiscript"===w||"strict"===w?p=Ng(p):"loose"!==w&&(p=(p=(p=sx(p)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"="),p=oT(p))}return p}(e,n)):e},Xd=/<br\s*\/?>/gi,oT=function(e){return e.replace(/#br#/g,"<br/>")},sx=function(e){return e.replace(Xd,"#br#")},Fo=function(e){return"false"!==e&&!1!==e};const Si={getRows:function(e){if(!e)return 1;var n=sx(e);
1return(n=n.replace(/\\n/g,"#br#")).split("#br#")},sanitizeText:Rl,sanitizeTextOrArray:function(e,n){return"string"==typeof e?Rl(e,n):e.flat().map(function(o){return Rl(o,n)})},hasBreaks:function(e){return Xd.test(e)},splitBreaks:function(e){return e.split(Xd)},lineBreakRegex:Xd,removeScript:Ng,getUrl:function(e){var n="";return e&&(n=(n=(n=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),n},evaluate:Fo,removeEscapes:ax};var Le=i(8613),Ho=function(e,n){return(0,Le.adjust)(e,n?{s:-40,l:10}:{s:-40,l:-10})};function Lg(e){return(Lg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var aT=function(){function e(){(function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")})(this,e),this.background="#f4f4f4",this.darkMode=!1,this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}var n,o;return n=e,(o=[{key:"updateColors",value:function(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#ddd":"#333"),this.secondaryColor=this.secondaryColor||(0,Le.adjust)(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||(0,Le.adjust)(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Ho(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Ho(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Ho(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Ho(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||(0,Le.invert)(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||(0,Le.invert)(this.tertiaryColor),this.lineColor=this.lineColor||(0,Le.invert)(this.background),this.textColor=this.textColor||this.primaryTextColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,Le.darken)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,Le.darken)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||(0,Le.invert)(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,Le.lighten)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroun
1dColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||(0,Le.adjust)(this.primaryColor,{h:64}),this.fillType3=this.fillType3||(0,Le.adjust)(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||(0,Le.adjust)(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||(0,Le.adjust)(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||(0,Le.adjust)(this.primaryColor,{h:128}),this.fillType7=this.fillType7||(0,Le.adjust)(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||(0,Le.adjust)(this.primaryColor,{l:-10}),this.pie5=this.pie5||(0,Le.adjust)(this.secondaryColor,{l:-10}),this.pie6=this.pie6||(0,Le.adjust)(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||(0,Le.adjust)(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||(0,Le.adjust)(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||(0,Le.adjust)(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||(0,Le.adjust)(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||(0,Le.adjust)(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||(0,Le.adjust)(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,Le.darken)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor}},{key:"calculate",value:function(l){var _=this;if("object"===Lg(l)){var p=Object.keys(l);p.forEach(function(m){_[m]=l[m]}),this.updateColors(),p.forEach(function(m){_[m]=l[m]})}else this.updateColors()}}])&&function cx(e,n){for(var o=0;o<n.length;o++){var l=n[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),e}();function Ug(e){return(Ug="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var lx=function(){function e(){(function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")})(this,e),this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,Le.lighten)(this.primaryColor,16),this.tertiaryColor=(0,Le.adjust)(this.primaryColor,{h:-160}),this.primaryBorderColor=Ho(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ho(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ho(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,Le.invert)(this.primaryColor),this.secondaryTextColor=(0,Le.invert)(this.secondaryColor),this.tertiaryTextColor=(0,Le.invert)(this.tertiaryColor),this.lineColor=(0,Le.invert)(this.background),this.textColor=(0,Le.invert)(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,Le.lighten)((0,Le.invert)("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,Le.rgba)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackgroun
1d="#181818",this.textColor="#ccc",this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,Le.darken)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.taskBorderColor=(0,Le.rgba)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,Le.rgba)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}var n,o;return n=e,(o=[{key:"updateColors",value:function(){this.secondBkg=(0,Le.lighten)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,Le.lighten)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,Le.lighten)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=(0,Le.adjust)(this.primaryColor,{h:64}),this.fillType3=(0,Le.adjust)(this.secondaryColor,{h:64}),this.fillType4=(0,Le.adjust)(this.primaryColor,{h:-64}),this.fillType5=(0,Le.adjust)(this.secondaryColor,{h:-64}),this.fillType6=(0,Le.adjust)(this.primaryColor,{h:128}),this.fillType7=(0,Le.adjust)(this.secondaryColor,{h:128}),this.pie1=this.pie1||"#0b0000",this.pie2=this.pie2||"#4d1037",this.pie3=this.pie3||"#3f5258",this.pie4=this.pie4||"#4f2f1b",this.pie5=this.pie5||"#6e0a0a",this.pie6=this.pie6||"#3b0048",this.pie7=this.pie7||"#995a01",this.pie8=this.pie8||"#154706",this.pie9=this.pie9||"#161722",this.pie10=this.pie10||"#00296f",this.pie11=this.pie11||"#01629c",this.pie12=this.pie12||"#010029",this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.classText=this.primaryTextColor,this.requirementBackgroun
1d=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,Le.darken)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor}},{key:"calculate",value:function(l){var _=this;if("object"===Ug(l)){var p=Object.keys(l);p.forEach(function(m){_[m]=l[m]}),this.updateColors(),p.forEach(function(m){_[m]=l[m]})}else this.updateColors()}}])&&function sT(e,n){for(var o=0;o<n.length;o++){var l=n[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),e}();function Zg(e){return(Zg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var lT=function(){function e(){(function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")})(this,e),this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=(0,Le.adjust)(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=(0,Le.adjust)(this.primaryColor,{h:-160}),this.primaryBorderColor=Ho(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ho(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ho(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,Le.invert)(this.primaryColor),this.secondaryTextColor=(0,Le.invert)(this.secondaryColor),this.tertiaryTextColor=(0,Le.invert)(this.tertiaryColor),this.lineColor=(0,Le.invert)(this.background),this.textColor=(0,Le.invert)(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=(0,Le.rgba)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}var n,o;return n=e,(o=[{key:"updateColors",value:function(){this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackgroun
1d=this.labelBackground,this.actorBorder=(0,Le.lighten)(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=(0,Le.adjust)(this.primaryColor,{h:64}),this.fillType3=(0,Le.adjust)(this.secondaryColor,{h:64}),this.fillType4=(0,Le.adjust)(this.primaryColor,{h:-64}),this.fillType5=(0,Le.adjust)(this.secondaryColor,{h:-64}),this.fillType6=(0,Le.adjust)(this.primaryColor,{h:128}),this.fillType7=(0,Le.adjust)(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||(0,Le.adjust)(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||(0,Le.adjust)(this.primaryColor,{l:-10}),this.pie5=this.pie5||(0,Le.adjust)(this.secondaryColor,{l:-30}),this.pie6=this.pie6||(0,Le.adjust)(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||(0,Le.adjust)(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||(0,Le.adjust)(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||(0,Le.adjust)(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||(0,Le.adjust)(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||(0,Le.adjust)(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||(0,Le.adjust)(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor}},{key:"calculate",value:function(l){var _=this;if("object"===Zg(l)){var p=Object.keys(l);p.forEach(function(m){_[m]=l[m]}),this.updateColors(),p.forEach(function(m){_[m]=l[m]})}else this.updateColors()}}])&&function cT(e,n){for(var o=0;o<n.length;o++){var l=n[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),e}();function Og(e){return(Og="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var hT=function(){function e(){(function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")})(this,e),this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,Le.lighten)("#cde498",10),this.primaryBorderColor=Ho(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ho(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ho(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,Le.invert)(this.primaryColor),this.secondaryTextColor=(0,Le.invert)(this.secondaryColor),this.tertiaryTextColor=(0,Le.invert)(this.primaryColor),this.lineColor=(0,Le.invert)(this.background),this.textColor=(0,Le.invert)(this.background),this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackgroun
1d="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}var n,o;return n=e,(o=[{key:"updateColors",value:function(){this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.actorBorder=(0,Le.darken)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=(0,Le.adjust)(this.primaryColor,{h:64}),this.fillType3=(0,Le.adjust)(this.secondaryColor,{h:64}),this.fillType4=(0,Le.adjust)(this.primaryColor,{h:-64}),this.fillType5=(0,Le.adjust)(this.secondaryColor,{h:-64}),this.fillType6=(0,Le.adjust)(this.primaryColor,{h:128}),this.fillType7=(0,Le.adjust)(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||(0,Le.adjust)(this.primaryColor,{l:-30}),this.pie5=this.pie5||(0,Le.adjust)(this.secondaryColor,{l:-30}),this.pie6=this.pie6||(0,Le.adjust)(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||(0,Le.adjust)(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||(0,Le.adjust)(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||(0,Le.adjust)(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||(0,Le.adjust)(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||(0,Le.adjust)(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||(0,Le.adjust)(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackgroun
1d=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor}},{key:"calculate",value:function(l){var _=this;if("object"===Og(l)){var p=Object.keys(l);p.forEach(function(m){_[m]=l[m]}),this.updateColors(),p.forEach(function(m){_[m]=l[m]})}else this.updateColors()}}])&&function uT(e,n){for(var o=0;o<n.length;o++){var l=n[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),e}();function w_(e){return(w_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var fT=function(){function e(){(function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")})(this,e),this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,Le.lighten)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=(0,Le.adjust)(this.primaryColor,{h:-160}),this.primaryBorderColor=Ho(this.primaryColor,this.darkMode),this.secondaryBorderColor=Ho(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Ho(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,Le.invert)(this.primaryColor),this.secondaryTextColor=(0,Le.invert)(this.secondaryColor),this.tertiaryTextColor=(0,Le.invert)(this.tertiaryColor),this.lineColor=(0,Le.invert)(this.background),this.textColor=(0,Le.invert)(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}var n,o;return n=e,(o=[{key:"updateColors",value:function(){this.secondBkg=(0,Le.lighten)(this.contrast,55),this.border2=this.contrast,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.actorBorder=(0,Le.lighten)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.sectionBkgColor=(0,Le.lighten)(this.contrast,30),this.sectionBkgColor2=(0,Le.lighten)(this.contrast,30),this.taskBorderColor=(0,Le.darken)(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=(0,Le.lighten)(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=(0,Le.darken)(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroun
1dColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=(0,Le.adjust)(this.primaryColor,{h:64}),this.fillType3=(0,Le.adjust)(this.secondaryColor,{h:64}),this.fillType4=(0,Le.adjust)(this.primaryColor,{h:-64}),this.fillType5=(0,Le.adjust)(this.secondaryColor,{h:-64}),this.fillType6=(0,Le.adjust)(this.primaryColor,{h:128}),this.fillType7=(0,Le.adjust)(this.secondaryColor,{h:128}),this.pie1=this.pie1||"#F4F4F4",this.pie2=this.pie2||"#555",this.pie3=this.pie3||"#BBB",this.pie4=this.pie4||"#777",this.pie5=this.pie5||"#999",this.pie6=this.pie6||"#DDD",this.pie7=this.pie7||"#FFF",this.pie8=this.pie8||"#DDD",this.pie9=this.pie9||"#BBB",this.pie10=this.pie10||"#999",this.pie11=this.pie11||"#777",this.pie12=this.pie12||"#555",this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor}},{key:"calculate",value:function(l){var _=this;if("object"===w_(l)){var p=Object.keys(l);p.forEach(function(m){_[m]=l[m]}),this.updateColors(),p.forEach(function(m){_[m]=l[m]})}else this.updateColors()}}])&&function dT(e,n){for(var o=0;o<n.length;o++){var l=n[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),e}();const nh={base:{getThemeVariables:function(e){var n=new aT;return n.calculate(e),n}},dark:{getThemeVariables:function(e){var n=new lx;return n.calculate(e),n}},default:{getThemeVariables:function(e){var n=new lT;return n.calculate(e),n}},forest:{getThemeVariables:function(e){var n=new hT;return n.calculate(e),n}},neutral:{getThemeVariables:function(e){var n=new fT;return n.calculate(e),n}}};function Bg(e){return function(n){if(Array.isArray(n))return Pg(n)}(e)||function(n){if(typeof Symbol<"u"&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(e)||function(n,o){if(n){if("string"==typeof n)return Pg(n,o);var l=Object.prototype.toString.call(n).slice(8,-1);return"Object"===l&&n.constructor&&(l=n.constructor.name),"Map"===l||"Set"===l?Array.from(n):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?Pg(n,o):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pg(e,n){(null==n||n>e.length)&&(n=e.length);for(var o=0,l=new Array(n);o<n;o++)l[o]=e[o];return l}function Rg(e){return(Rg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var ih={theme:"default",themeVariables:nh.default.getThemeVariables(),theme
1CSS:void 0,maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,deterministicIDSeed:void 0,flowchart:{diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,useMaxWidth:!0,defaultRenderer:"dagre-d3"},sequence:{activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open-Sans", "sans-serif"',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",useMaxWidth:!0,topAxis:!1,useWidth:void 0},journey:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open-Sans", "sans-serif"',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{arrowMarkerAbsolute:!1,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},git:{arrowMarkerAbsolute:!1,useWidth:void 0,useMaxWidth:!0},state:{dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},er:{diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12,useMaxWidth:!0},pie:{useWidth:void 0,useMaxWidth:!0},requirement:{useWidth:void 0,useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20}};ih.class.arrowMarkerAbsolute=ih.arrowMarkerAbsolute,ih.git.arrowMarkerAbsolute=ih.arrowMarkerAbsolute;var _T=function e(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.keys(n).reduce(function(l,_){return Array.isArray(n[_])?l:"object"===Rg(n[_])&&null!==n[_]?[].concat(Bg(l),[o+_],Bg(e(n[_],""))):[].concat(Bg(l),[o+_])},[])}(ih,"");const ux=ih;function hx(e,n){var o=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=fx(e))||n&&e&&"number"==typeof e.length){o&&(e=o);var l=0,_=function(){};return{s:_,n:function(){return l>=e.length?{done:!0}:{done:!1,value:e[l++]}},e:function(D){throw D},f:_}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var p,m=!0,w=!1;return{s:function(){o=o.call(e)},n:function(){var D=o.next();return m=D.done,D},e:function(D){w=!0,p=D},f:function(){try{m||null==o.return||o.return()}finally{if(w)throw p}}}}function Ua(e){return(Ua="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function dx(e){return function(n){if(Array.isArray(n))return Jg(n)}(e)||function(n){if(typeof Symbol<"u"&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(e)||fx(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fx(e,n){if(e){if("string"==typeof e)return Jg(e,n);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Jg(e,n):void 0}}function Jg(e,n){(null==n||n>e.length)&&(n=e.length);for(var o=0,l=new Array(n);o<n;o++)l[o]=e[o];return l}var T_,mT={curveBasis:Kr,curveBasisClosed:function(e){return new Jo(e)},curveBasisOpen:function(e){return new Mu(e)},curveLinear:fa,curveLinearClosed:function(e){return new As(e)},curveMonotoneX:function(e){return new ad(e)},curveMonotoneY:function(e){return new vv(e)},curveNatural:function(e){return new _a(e)},curveStep:function(e){return new sd(e,.5)},curveStepAfter:function(e){return new sd(e,1)},curveStepBefore:function(e){return new sd(e,0)}},C_=/[%]{2}[{]\s*(?:(?:(\w+)\s*:|(\w+))\s*(?:(?:(\w+))|((?:(?![}][%]{2}
1).|\r?\n)*))?\s*)(?:[}][%]{2})?/gi,_x=/\s*(?:(?:(\w+)(?=:):|(\w+))\s*(?:(?:(\w+))|((?:(?![}][%]{2}).|\r?\n)*))?\s*)(?:[}][%]{2})?/gi,vT=/\s*%%.*\n/gm,px=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var o=new RegExp("[%]{2}(?![{]".concat(_x.source,")(?=[}][%]{2}).*\n"),"ig");e=e.trim().replace(o,"").replace(/'/gm,'"'),v.debug("Detecting diagram directive".concat(null!==n?" type:"+n:""," based on the text:").concat(e));for(var l,_=[];null!==(l=C_.exec(e));)if(l.index===C_.lastIndex&&C_.lastIndex++,l&&!n||n&&l[1]&&l[1].match(n)||n&&l[2]&&l[2].match(n)){var p=l[1]?l[1]:l[2],m=l[3]?l[3].trim():l[4]?JSON.parse(l[4].trim()):null;_.push({type:p,args:m})}return 0===_.length&&_.push({type:e,args:null}),1===_.length?_[0]:_}catch(w){return v.error("ERROR: ".concat(w.message," - Unable to parse directive\n ").concat(null!==n?" type:"+n:""," based on the text:").concat(e)),{type:null,args:null}}},gx=function(e,n){return(e=e.replace(C_,"").replace(vT,"\n")).match(/^\s*sequenceDiagram/)?"sequence":e.match(/^\s*gantt/)?"gantt":e.match(/^\s*classDiagram-v2/)?"classDiagram":e.match(/^\s*classDiagram/)?n&&n.class&&"dagre-wrapper"===n.class.defaultRenderer?"classDiagram":"class":e.match(/^\s*stateDiagram-v2/)?"stateDiagram":e.match(/^\s*stateDiagram/)?n&&n.class&&"dagre-wrapper"===n.state.defaultRenderer?"stateDiagram":"state":e.match(/^\s*gitGraph/)?"git":e.match(/^\s*flowchart/)?"flowchart-v2":e.match(/^\s*info/)?"info":e.match(/^\s*pie/)?"pie":e.match(/^\s*erDiagram/)?"er":e.match(/^\s*journey/)?"journey":e.match(/^\s*requirement/)||e.match(/^\s*requirementDiagram/)?"requirement":n&&n.flowchart&&"dagre-wrapper"===n.flowchart.defaultRenderer?"flowchart-v2":"flowchart"},k_=function(e,n){var o={};return function(){for(var l=arguments.length,_=new Array(l),p=0;p<l;p++)_[p]=arguments[p];var m=n?n.apply(void 0,_):_[0];if(m in o)return o[m];var w=e.apply(void 0,_);return o[m]=w,w}},_s=function(e,n){if(!e)return n;var o="curve".concat(e.charAt(0).toUpperCase()+e.slice(1));return mT[o]||n},rh=function(e,n){return e&&n?Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2)):0},Gc=function(e){for(var n="",o="",l=0;l<e.length;l++)void 0!==e[l]&&(e[l].startsWith("color:")||e[l].startsWith("text-align:")?o=o+e[l]+";":n=n+e[l]+";");return{style:n,labelStyle:o}},mx=0,Hg=function(){return mx++,"id-"+Math.random().toString(36).substr(2,12)+"-"+mx},Yg=function(e){return function(n){for(var o="",l="0123456789abcdef",_=l.length,p=0;p<n;p++)o+=l.charAt(Math.floor(Math.random()*_));return o}(e.length)},uo=function e(n,o,l){var _=Object.assign({depth:2,clobber:!1},l),p=_.depth,m=_.clobber;return Array.isArray(o)&&!Array.isArray(n)?(o.forEach(function(w){return e(n,w,l)}),n):Array.isArray(o)&&Array.isArray(n)?(o.forEach(function(w){-1===n.indexOf(w)&&n.push(w)}),n):void 0===n||p<=0?null!=n&&"object"===Ua(n)&&"object"===Ua(o)?Object.assign(n,o):o:(void 0!==o&&"object"===Ua(n)&&"object"===Ua(o)&&Object.keys(o).forEach(function(w){"object"!==Ua(o[w])||void 0!==n[w]&&"object"!==Ua(n[w])?(m||"object"!==Ua(n[w])&&"object"!==Ua(o[w]))&&(n[w]=o[w]):(void 0===n[w]&&(n[w]=Array.isArray(o[w])?[]:{}),n[w]=e(n[w],o[w],{depth:p-1,clobber:m}))}),n)},vx=function(e,n){var o=n.text.replace(Si.lineBreakRegex," "),l=e.append("text");l.attr("x",n.x),l.attr("y",n.y),l.style("text-anchor",n.anchor),l.style("font-family",n.fontFamily),l.style("font-size",n.fontSize),l.style("font-weight",n.fontWeight),l.attr("fill",n.fill),void 0!==n.class&&l.attr("class",n.class);var _=l.append("tspan");return _.attr("x",n.x+2*n.textMargin),_.attr("fill",n.fill),_.text(o),l},qg=k_(function(e,n,o){if(!e||(o=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},o),Si.lineBreakRegex.test(e)))return e;var l=e.split(" "),_=[],p="";return l.forEach(function(m,w){var D=D_("".concat(m," "),o),S=D_(p,o);if(D>n){var N=yT(m,n,"-",o),H=N.remainingWord;_.push.apply(_,[p].concat(dx(N.hyphenatedStrings))),p=H}else S+D>=n?(_.push(p),p=m):p=[p,m].filter(Boolean).join(" ");w+1===l.length&&_.push(p)}),_.filter(function(m){return""!==m}).join(o.joinWith)},function(e,n,o){return"".concat(e,"-").concat(n,"-").concat(o.fontSize,"-").concat(o.fontWeight,"-").concat(o.fontFamily,"-").concat(o.joinWith)}),yT=k_(function(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",l=arguments.length>3?arguments[3]:void 0;l=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},l);var _=e.split(""),p=[],m="";return _.forEach(function(w,D){var S="".concat(m).concat(w);if(D_(S,l)>=n){var q=_.length===D+1,H="".concat(S).concat(o);p.push(q?S:H),m=""}else m=S}),{hyphenatedStrings:p,remainingWord:m}},function(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",l=arguments.length>3?arguments[3]:void 0;return"".concat(e,"-").concat(n,"-").concat(o,"-").concat(l.fontSize,"-").concat(l.fontWeight,"-").concat(l.fontFamily)}),D_=function(e,n){return n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},n),tf(e,n).width},tf=k_(function(e,n){var o=n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},n),l=o.fontSize,p=o.fontWeight;if(!e)return{width:0,height:0};var m=["sans-serif",o.fontFamily],w=e.split(Si.lineBreakRegex),D=[],S=on("body");if(!S.remove)return{width:0,height:0,lineHeight:0};for(var N=S.append("svg"),q=0,H=m;q<H.length;q++){var G,_t=H[q],st=0,Dt={width:0,height:0,lineHeight:0},vt=hx(w);try{for(vt.s();!(G=vt.n()).done;){var Mt={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0};Mt.text=G.value;var Kt=vx(N,Mt).style("font-size",l).style("font-weight",p).style("font-family",_t),re=(Kt._groups||Kt)[0][0].getBBox();Dt.width=Math.round(Math.max(Dt.width,re.width)),st=Math.round(re.height),Dt.height+=st,Dt.lineHeight=Math.round(Math.max(Dt.lineHeight,st))}}catch(qt){vt.e(qt)}finally{vt.f()}D.push(Dt)}return N.remove(),D[isNaN(D[1].height)||isNaN(D[1].width)||isNaN(D[1].lineHeight)||D[0].height>D[1].height&&D[0].width>D[1].width&&D[0].lineHeight>D[1].lineHeight?0:1]},function(e,n){return"".concat(e,"-").concat(n.fontSize,"-").concat(n.fontWeight,"-").concat(n.fontFamily)}),yx=function(e,n,o){var l=new Map;return l.set("height",e),o?(l.set("width","100%"),l.set("style","max-width: ".concat(n,"px;"))):l.set("width",n),l},ga=function(e,n,o,l){!function(_,p){var m,w=hx(p);try{for(w.s();!(m=w.n()).done;){var D=m.value;_.attr(D[0],D[1])}}catch(S){w.e(S)}finally{w.f()}}(e,yx(n,o,l))},ef=function e(n){v.debug("directiveSanitizer called with",n),"object"===Ua(n)&&(n.length?n.forEac
1h(function(o){return e(o)}):Object.keys(n).forEach(function(o){v.debug("Checking key",o),0===o.indexOf("__")&&(v.debug("sanitize deleting __ option",o),delete n[o]),o.indexOf("proto")>=0&&(v.debug("sanitize deleting proto option",o),delete n[o]),o.indexOf("constr")>=0&&(v.debug("sanitize deleting constr option",o),delete n[o]),o.indexOf("themeCSS")>=0&&(v.debug("sanitizing themeCss option"),n[o]=xx(n[o])),_T.indexOf(o)<0?(v.debug("sanitize deleting option",o),delete n[o]):"object"===Ua(n[o])&&(v.debug("sanitize deleting object",o),e(n[o]))}))},xx=function(e){return(e.match(/\{/g)||[]).length!==(e.match(/\}/g)||[]).length?"{ /* ERROR: Unbalanced CSS */ }":e};const ri={assignWithDepth:uo,wrapLabel:qg,calculateTextHeight:function(e,n){return n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},n),tf(e,n).height},calculateTextWidth:D_,calculateTextDimensions:tf,calculateSvgSizeAttrs:yx,configureSvgSize:ga,detectInit:function(e,n){var o=px(e,/(?:init\b)|(?:initialize\b)/),l={};if(Array.isArray(o)){var _=o.map(function(m){return m.args});ef(_),l=uo(l,dx(_))}else l=o.args;if(l){var p=gx(e,n);["config"].forEach(function(m){void 0!==l[m]&&("flowchart-v2"===p&&(p="flowchart"),l[p]=l[m],delete l[m])})}return l},detectDirective:px,detectType:gx,isSubstringInArray:function(e,n){for(var o=0;o<n.length;o++)if(n[o].match(e))return o;return-1},interpolateToCurve:_s,calcLabelPosition:function(e){return function(n){var o,l=0;n.forEach(function(m){l+=rh(m,o),o=m});var _=l/2,p=void 0;return o=void 0,n.forEach(function(m){if(o&&!p){var w=rh(m,o);if(w<_)_-=w;else{var D=_/w;D<=0&&(p=o),D>=1&&(p={x:m.x,y:m.y}),D>0&&D<1&&(p={x:(1-D)*o.x+D*m.x,y:(1-D)*o.y+D*m.y})}}o=m}),p}(e)},calcCardinalityPosition:function(e,n,o){var l;v.info("our points",n),n[0]!==o&&(n=n.reverse()),n.forEach(function(S){rh(S,l),l=S});var _,p=25;l=void 0,n.forEach(function(S){if(l&&!_){var N=rh(S,l);if(N<p)p-=N;else{var q=p/N;q<=0&&(_=l),q>=1&&(_={x:S.x,y:S.y}),q>0&&q<1&&(_={x:(1-q)*l.x+q*S.x,y:(1-q)*l.y+q*S.y})}}l=S});var m=e?10:5,w=Math.atan2(n[0].y-_.y,n[0].x-_.x),D={x:0,y:0};return D.x=Math.sin(w)*m+(n[0].x+_.x)/2,D.y=-Math.cos(w)*m+(n[0].y+_.y)/2,D},calcTerminalLabelPosition:function(e,n,o){var l,_=JSON.parse(JSON.stringify(o));v.info("our points",_),"start_left"!==n&&"start_right"!==n&&(_=_.reverse()),_.forEach(function(N){rh(N,l),l=N});var p,m=25+e;l=void 0,_.forEach(function(N){if(l&&!p){var q=rh(N,l);if(q<m)m-=q;else{var H=m/q;H<=0&&(p=l),H>=1&&(p={x:N.x,y:N.y}),H>0&&H<1&&(p={x:(1-H)*l.x+H*N.x,y:(1-H)*l.y+H*N.y})}}l=N});var w=10+.5*e,D=Math.atan2(_[0].y-p.y,_[0].x-p.x),S={x:0,y:0};return S.x=Math.sin(D)*w+(_[0].x+p.x)/2,S.y=-Math.cos(D)*w+(_[0].y+p.y)/2,"start_left"===n&&(S.x=Math.sin(D+Math.PI)*w+(_[0].x+p.x)/2,S.y=-Math.cos(D+Math.PI)*w+(_[0].y+p.y)/2),"end_right"===n&&(S.x=Math.sin(D-Math.PI)*w+(_[0].x+p.x)/2-5,S.y=-Math.cos(D-Math.PI)*w+(_[0].y+p.y)/2-5),"end_left"===n&&(S.x=Math.sin(D)*w+(_[0].x+p.x)/2-5,S.y=-Math.cos(D)*w+(_[0].y+p.y)/2-5),S},formatUrl:function(e,n){var o=e.trim();if(o)return"loose"!==n.securityLevel?(0,Pl.sanitizeUrl)(o):o},getStylesFromArray:Gc,generateId:Hg,random:Yg,memoize:k_,runFunc:function(e){for(var n,o=e.split("."),l=o.length-1,_=o[l],p=window,m=0;m<l;m++)if(!(p=p[o[m]]))return;for(var w=arguments.length,D=new Array(w>1?w-1:0),S=1;S<w;S++)D[S-1]=arguments[S];(n=p)[_].apply(n,D)},entityDecode:function(e){return T_=T_||document.createElement("div"),e=escape(e).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),T_.innerHTML=e,unescape(T_.textContent)},initIdGeneratior:function(){function e(l,_){(function(p,m){if(!(p instanceof m))throw new TypeError("Cannot call a class as a function")})(this,e),this.deterministic=l,this.seed=_,this.count=_?_.length:0}var n,o;return n=e,(o=[{key:"next",value:function(){return this.deterministic?this.count++:Date.now()}}])&&function gT(e,n){for(var o=0;o<n.length;o++){var l=n[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),e}(),directiveSanitizer:ef,sanitizeCss:xx};function S_(e){return(S_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var bx,oh=Object.freeze(ux),ho=uo({},oh),nf=[],A_=uo({},oh),Jl=function(e,n){for(var o=uo({},e),l={},_=0;_<n.length;_++){var p=n[_];wx(p),l=uo(l,p)}if(o=uo(o,l),l.theme){var m=uo({},bx),w=uo(m.themeVariables||{},l.themeVariables);o.themeVariables=nh[o.theme].getThemeVariables(w)}return A_=o,o},hc=function(){return uo({},ho)},oe=function(){return uo({},A_)},wx=function e(n){Object.keys(ho.secure).forEach(function(o){void 0!==n[ho.secure[o]]&&(v.debug("Denied attempt to modify a secure key ".concat(ho.secure[o]),n[ho.secure[o]]),delete n[ho.secure[o]])}
1),Object.keys(n).forEach(function(o){0===o.indexOf("__")&&delete n[o]}),Object.keys(n).forEach(function(o){"string"==typeof n[o]&&(n[o].indexOf("<")>-1||n[o].indexOf(">")>-1||n[o].indexOf("url(data:")>-1)&&delete n[o],"object"===S_(n[o])&&e(n[o])})},Vg=function(e){e.fontFamily&&(e.themeVariables&&e.themeVariables.fontFamily||(e.themeVariables={fontFamily:e.fontFamily})),nf.push(e),Jl(ho,nf)},ah=function(){Jl(ho,nf=[])};function Qg(e,n){(null==n||n>e.length)&&(n=e.length);for(var o=0,l=new Array(n);o<n;o++)l[o]=e[o];return l}var E_="classid-",sh=[],to={},$g=0,rf=[],Hl=function(e){return Si.sanitizeText(e,oe())},of=function(e){var n="",o=e;if(e.indexOf("~")>0){var l=e.split("~");o=l[0],n=Si.sanitizeText(l[1],oe())}return{className:o,type:n}},ni=function(e){var n=of(e);void 0===to[n.className]&&(to[n.className]={id:n.className,type:n.type,cssClasses:[],methods:[],members:[],annotations:[],domId:E_+n.className+"-"+$g},$g++)},I_=function(e){for(var n=Object.keys(to),o=0;o<n.length;o++)if(to[n[o]].id===e)return to[n[o]].domId},Tx=function(e,n){var o=of(e).className,l=to[o];if("string"==typeof n){var _=n.trim();_.startsWith("<<")&&_.endsWith(">>")?l.annotations.push(Hl(_.substring(2,_.length-2))):_.indexOf(")")>0?l.methods.push(Hl(_)):_&&l.members.push(Hl(_))}},jg=function(e,n){e.split(",").forEach(function(o){var l=o;o[0].match(/\d/)&&(l=E_+l),void 0!==to[l]&&to[l].cssClasses.push(n)})},af={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},Cx=function(e){var n=on(".mermaidTooltip");null===(n._groups||n)[0][0]&&(n=on("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),on(e).select("svg").selectAll("g.node").on("mouseover",function(){var o=on(this);if(null!==o.attr("title")){var l=this.getBoundingClientRect();n.transition().duration(200).style("opacity",".9"),n.html(o.attr("title")).style("left",window.scrollX+l.left+(l.right-l.left)/2+"px").style("top",window.scrollY+l.top-14+document.body.scrollTop+"px"),o.classed("hover",!0)}}).on("mouseout",function(){n.transition().duration(500).style("opacity",0),on(this).classed("hover",!1)})};rf.push(Cx);var kx="TB";const Os={parseDirective:function(e,n,o){Uo.parseDirective(this,e,n,o)},getConfig:function(){return oe().class},addClass:ni,bindFunctions:function(e){rf.forEach(function(n){n(e)})},clear:function(){sh=[],to={},(rf=[]).push(Cx)},getClass:function(e){return to[e]},getClasses:function(){return to},addAnnotation:function(e,n){var o=of(e).className;to[o].annotations.push(n)},getRelations:function(){return sh},addRelation:function(e){v.debug("Adding relation: "+JSON.stringify(e)),ni(e.id1),ni(e.id2),e.id1=of(e.id1).className,e.id2=of(e.id2).className,e.relationTitle1=Si.sanitizeText(e.relationTitle1.trim(),oe()),e.relationTitle2=Si.sanitizeText(e.relationTitle2.trim(),oe()),sh.push(e)},getDirection:function(){return kx},setDirection:function(e){kx=e},addMember:Tx,addMembers:function(e,n){Array.isArray(n)&&(n.reverse(),n.forEach(function(o){return Tx(e,o)}))},cleanupLabel:function(e){return":"===e.substring(0,1)?Si.sanitizeText(e.substr(1).trim(),oe()):Hl(e.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:af,setClickEvent:function(e,n,o){e.split(",").forEach(function(l){(function(e,n,o){var l=oe(),_=e,p=I_(_);if("loose"===l.securityLevel&&void 0!==n&&void 0!==to[_]){var m=[];if("string"==typeof o){m=o.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(var w=0;w<m.length;w++){var D=m[w].trim();'"'===D.charAt(0)&&'"'===D.charAt(D.length-1)&&(D=D.substr(1,D.length-2)),m[w]=D}}0===m.length&&m.push(p),rf.push(function(){var S=document.querySelector('[id="'.concat(p,'"]'));null!==S&&S.addEventListener("click",function(){var N;ri.runFunc.apply(ri,[n].concat(function(q){if(Array.isArray(q))return Qg(q)}(N=m)||function(q){if(typeof Symbol<"u"&&null!=q[Symbol.iterator]||null!=q["@@iterator"])return Array.from(q)}(N)||function(q,H){if(q){if("string"==typeof q)return Qg(q,H);var G=Object.prototype.toString.call(q).slice(8,-1);return"Object"===G&&q.constructor&&(G=q.constructor.name),"Map"===G||"Set"===G?Array.from(q):"Arguments"===G||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(G)?Qg(q,H):void 0}}(N)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))},!1)})}})(l,n,o),to[l].haveCallback=!0}),jg(e,"clickable")},setCssClass:jg,setLink:function(e,n,o){var l=oe();e.split(",").forEach(function(_){var p=_;_[0].match(/\d/)&&(p=E_+p),void 0!==to[p]&&(to[p].link=ri.formatUrl(n,l),to[p].linkTarget="sandbox"===l.securityLevel?"_top":"string"==typeof o?Hl(o):"_blank")}),jg(e,"clickable")},setTooltip:function(e,n){var o=oe();e.split(",").forEach(function(l){void 0!==n&&(to[l].tooltip=Si.sanitizeText(n,o))})},lookUpDomId:I_};var bT=i(681),sf=i.n(bT),sr=i(8282),eo=i.n(sr),ch=i(1362),Dx=i.n(ch),Sx=0,F_=function(e){var n=e.match(/^(\+|-|~|#)?(\w+)(~\w+~|\[\])?\s+(\w+) *(\*|\$)?$/),o=e.match(/^([+|\-|~|#])?(\w+) *\( *(.*)\) *(\*|\$)? *(\w*[~|[\]]*\s*\w*~?)$/);return n&&!o?wT(n):o?Ax(o):TT(e)},wT=function(e){var n="",o="";try{var l=e[1]?e[1].trim():"",_=e[2]?e[2].trim():"",p=e[3]?lh(e[3].trim()):"",m=e[4]?e[4].trim():"",w=e[5]?e[5].trim():"";o=l+_+p+" "+m,n=M_(w)}catch{o=e}return{displayText:o,cssStyle:n}},Ax=function(e){var n="",o="";try{var l=e[1]?e[1].trim():"",_=e[2]?e[2].trim():"",p=e[3]?lh(e[3].trim()):"",m=e[4]?e[4].trim():"";o=l+_+"("+p+")"+(e[5]?" : "+lh(e[5]).trim():""),n=M_(m)}catch{o=e}return{displayText:o,cssStyle:n}},TT=function(e){var n="",o="",l="",_=e.indexOf("("),p=e.indexOf(")");if(_>1&&p>_&&p<=e.length){var m="",w="",D=e.substring(0,1);D.match(/\w/)?w=e.substring(0,_).trim():(D.match(/\+|-|~|#/)&&(m=D),w=e.substring(1,_).trim());var S=e.substring(_+1,p),N=e.substring(p+1,1);o=M_(N),n=m+w+"("+lh(S.trim())+")",p<0&&""!==(l=e.substring(p+2).trim())&&(l=" : "+lh(l))}else n=lh(e);return{displayText:n,cssStyle:o}},Gg=function(e,n,o,l){var _=F_(n),p=e.append("tspan").attr("x",l.padding).text(_.dis
1playText);""!==_.cssStyle&&p.attr("style",_.cssStyle),o||p.attr("dy",l.textHeight)},lh=function e(n){var o=n;return-1!=n.indexOf("~")?e(o=(o=o.replace("~","<")).replace("~",">")):o},M_=function(e){switch(e){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}};const CT=function(e,n,o){v.info("Rendering class "+n);var l,_=n.id,p={id:_,label:n.id,width:0,height:0},m=e.append("g").attr("id",I_(_)).attr("class","classGroup");l=n.link?m.append("svg:a").attr("xlink:href",n.link).attr("target",n.linkTarget).append("text").attr("y",o.textHeight+o.padding).attr("x",0):m.append("text").attr("y",o.textHeight+o.padding).attr("x",0);var w=!0;n.annotations.forEach(function(Mt){var Kt=l.append("tspan").text("\xab"+Mt+"\xbb");w||Kt.attr("dy",o.textHeight),w=!1});var D=n.id;void 0!==n.type&&""!==n.type&&(D+="<"+n.type+">");var S=l.append("tspan").text(D).attr("class","title");w||S.attr("dy",o.textHeight);var N=l.node().getBBox().height,q=m.append("line").attr("x1",0).attr("y1",o.padding+N+o.dividerMargin/2).attr("y2",o.padding+N+o.dividerMargin/2),H=m.append("text").attr("x",o.padding).attr("y",N+o.dividerMargin+o.textHeight).attr("fill","white").attr("class","classText");w=!0,n.members.forEach(function(Mt){Gg(H,Mt,w,o),w=!1});var G=H.node().getBBox(),_t=m.append("line").attr("x1",0).attr("y1",o.padding+N+o.dividerMargin+G.height).attr("y2",o.padding+N+o.dividerMargin+G.height),st=m.append("text").attr("x",o.padding).attr("y",N+2*o.dividerMargin+G.height+o.textHeight).attr("fill","white").attr("class","classText");w=!0,n.methods.forEach(function(Mt){Gg(st,Mt,w,o),w=!1});var Dt=m.node().getBBox(),vt=" ";
1n.cssClasses.length>0&&(vt+=n.cssClasses.join(" "));var Et=m.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",Dt.width+2*o.padding).attr("height",Dt.height+o.padding+.5*o.dividerMargin).attr("class",vt).node().getBBox().width;return l.node().childNodes.forEach(function(Mt){Mt.setAttribute("x",(Et-Mt.getBBox().width)/2)}),n.tooltip&&l.insert("title").text(n.tooltip),q.attr("x2",Et),_t.attr("x2",Et),p.width=Et,p.height=Dt.height+o.padding+.5*o.dividerMargin,p};ch.parser.yy=Os;var N_={},L_={dividerMargin:10,padding:5,textHeight:10},cf=function(e){var n=Object.entries(N_).find(function(o){return o[1].label===e});if(n)return n[0]};const Ex=function(e){Object.keys(e).forEach(function(n){L_[n]=e[n]})};var kT={extension:function(e,n,o){v.trace("Making markers for ",o),e.append("defs").append("marker").attr("id",n+"-extensionStart").attr("class","marker extension "+n).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id",n+"-extensionEnd").attr("class","marker extension "+n).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:function(e,n){e.append("defs").append("marker").attr("id",n+"-compositionStart").attr("class","marker composition "+n).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",n+"-compositionEnd").attr("class","marker composition "+n).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:function(e,n){e.append("defs").append("marker").attr("id",n+"-aggregationStart").attr("class","marker aggregation "+n).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",n+"-aggregationEnd").attr("class","marker aggregation "+n).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:function(e,n){e.append("defs").append("marker").attr("id",n+"-dependencyStart").attr("class","marker dependency "+n).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",n+"-dependencyEnd").attr("class","marker dependency "+n).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},point:function(e,n){e.append("marker").attr("id",n+"-pointEnd").attr("class","marker "+n).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",n+"-pointStart").attr("class","marker "+n).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:function(e,n){e.append("marker").attr("id",n+"-circleEnd").attr("class","marker "+n).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",n+"-circleStart").attr("class","marker "+n).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:function(e,n){e.append("marker").attr("id",n+"-crossEnd").attr("class","marker cross "+n).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),e.append("marker").attr("id",n+"-crossStart").attr("class","marker cross "+n).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:function(e,n){e.append("defs").append("marker").attr("id",n+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}};function zg(e){return(zg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}const na=function(e,n,o,l){var _,p,m,w,N=e||"";
1if("object"===zg(N)&&(N=N[0]),Fo(oe().flowchart.htmlLabels))return N=N.replace(/\\n|\n/g,"<br />"),v.info("vertexText"+N),_={isNode:l,label:N.replace(/fa[lrsb]?:fa-[\w-]+/g,function(st){return"<i class='".concat(st.replace(":"," "),"'></i>")}),labelStyle:n.replace("fill:","color:")},(w=(m=on(document.createElementNS("http://www.w3.org/2000/svg","foreignObject"))).append("xhtml:div")).html('<span class="'+(_.isNode?"nodeLabel":"edgeLabel")+'" '+(_.labelStyle?'style="'+_.labelStyle+'"':"")+">"+_.label+"</span>"),(p=_.labelStyle)&&w.attr("style",p),w.style("display","inline-block"),w.style("white-space","nowrap"),w.attr("xmlns","http://www.w3.org/1999/xhtml"),m.node();var q=document.createElementNS("http://www.w3.org/2000/svg","text");q.setAttribute("style",n.replace("color:","fill:"));var H=[];H="string"==typeof N?N.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(N)?N:[];for(var G=0;G<H.length;G++){var _t=document.createElementNS("http://www.w3.org/2000/svg","tspan");_t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),_t.setAttribute("dy","1em"),_t.setAttribute("x","0"),_t.setAttribute("class",o?"title-row":"row"),_t.textContent=H[G].trim(),q.appendChild(_t)}return q};var ma=function(e,n,o,l){var _;_=o||"node default";var p=e.insert("g").attr("class",_).attr("id",n.domId||n.id),m=p.insert("g").attr("class","label").attr("style",n.labelStyle),w="string"==typeof n.labelText?n.labelText:n.labelText[0],D=m.node().appendChild(na(Rl(SC(w),oe()),n.labelStyle,!1,l)),S=D.getBBox();if(Fo(oe().flowchart.htmlLabels)){var N=D.children[0],q=on(D);S=N.getBoundingClientRect(),q.attr("width",S.width),q.attr("height",S.height)}var H=n.padding/2;return m.attr("transform","translate("+-S.width/2+", "+-S.height/2+")"),{shapeSvg:p,bbox:S,halfPadding:H,label:m}},no=function(e,n){var o=n.node().getBBox();e.width=o.width,e.height=o.height};function dc(e,n,o,l){return e.insert("polygon",":first-child").attr("points",l.map(function(_){return _.x+","+_.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-n/2+","+o/2+")")}var Ii={},ps={},Kg={},U_=function(e,n){return v.trace("In isDecendant",n," ",e," = ",ps[n].indexOf(e)>=0),ps[n].indexOf(e)>=0},Mx=function e(n,o,l,_){v.warn("Copying children of ",n,"root",_,"data",o.node(n),_);var p=o.children(n)||[];n!==_&&p.push(n),v.warn("Copying (nodes) clusterId",n,"nodes",p),p.forEach(function(m){if(o.children(m).length>0)e(m,o,l,_);else{var w=o.node(m);v.info("cp ",m," to ",_," with parent ",n),l.setNode(m,w),_!==o.parent(m)&&(v.warn("Setting parent",m,o.parent(m)),l.setParent(m,o.parent(m))),n!==_&&m!==n?(v.debug("Setting parent",m,n),l.setParent(m,n)):(v.info("In copy ",n,"root",_,"data",o.node(n),_),v.debug("Not Setting parent for node=",m,"cluster!==rootId",n!==_,"node!==clusterId",m!==n));var D=o.edges(m);v.debug("Copying Edges",D),D.forEach(function(S){v.info("Edge",S);var q,H,N=o.edge(S.v,S.w,S.name);v.info("Edge data",N,_);try{q=S,v.info("Decendants of ",H=_," is ",ps[H]),v.info("Edge is ",q),q.v!==H&&q.w!==H&&(ps[H]?(v.info("Here "),ps[H].indexOf(q.v)>=0||U_(q.v,H)||U_(q.w,H)||ps[H].indexOf(q.w)>=0):(v.debug("Tilt, ",H,",not in decendants"),0))?(v.info("Copying as ",S.v,S.w,N,S.name),l.setEdge(S.v,S.w,N,S.name),v.info("newGraph edges ",l.edges(),l.edge(l.edges()[0]))):v.info("Skipping copy of edge ",S.v,"--\x3e",S.w," rootId: ",_," clusterId:",n)}catch(q){v.error(q)}})}v.debug("Removing node",m),o.removeNode(m)})},DT=function e(n,o){for(var l=o.children(n),_=[].concat(l),p=0;p<l.length;p++)Kg[l[p]]=n,_=_.concat(e(l[p],o));return _},lf=function e(n,o){v.trace("Searching",n);var l=o.children(n);if(v.trace("Searching children of id ",n,l),l.length<1)return v.trace("This is a valid node",n),n;for(var _=0;_<l.length;_++){var p=e(l[_],o);if(p)return v.trace("Found replacement for",n," => ",p),p}},Nx=function(e){return Ii[e]&&Ii[e].externalConnections&&Ii[e]?Ii[e].id:e},Lx=function(e,n){!e||n>10?v.debug("Opting out, no graph "):(v.debug("Opting in, graph "),e.nodes().forEach(function(o){e.children(o).length>0&&(v.warn("Cluster identified",o," Replacement id in edges: ",lf(o,e)),ps[o]=DT(o,e),Ii[o]={id:lf(o,e),clusterData:e.node(o)})}
1),e.nodes().forEach(function(o){var l=e.children(o),_=e.edges();l.length>0?(v.debug("Cluster identified",o,ps),_.forEach(function(p){p.v!==o&&p.w!==o&&U_(p.v,o)^U_(p.w,o)&&(v.warn("Edge: ",p," leaves cluster ",o),v.warn("Decendants of XXX ",o,": ",ps[o]),Ii[o].externalConnections=!0)})):v.debug("Not a cluster ",o,ps)}),e.edges().forEach(function(o){var l=e.edge(o);v.warn("Edge "+o.v+" -> "+o.w+": "+JSON.stringify(o)),v.warn("Edge "+o.v+" -> "+o.w+": "+JSON.stringify(e.edge(o)));var _=o.v,p=o.w;v.warn("Fix XXX",Ii,"ids:",o.v,o.w,"Translateing: ",Ii[o.v]," --- ",Ii[o.w]),(Ii[o.v]||Ii[o.w])&&(v.warn("Fixing and trixing - removing XXX",o.v,o.w,o.name),_=Nx(o.v),p=Nx(o.w),e.removeEdge(o.v,o.w,o.name),_!==o.v&&(l.fromCluster=o.v),p!==o.w&&(l.toCluster=o.w),v.warn("Fix Replacing with XXX",_,p,o.name),e.setEdge(_,p,l,o.name))}),v.warn("Adjusted Graph",eo().json.write(e)),ST(e,0),v.trace(Ii))},ST=function e(n,o){if(v.warn("extractor - ",o,eo().json.write(n),n.children("D")),o>10)v.error("Bailing out");else{for(var l=n.nodes(),_=!1,p=0;p<l.length;p++){var w=n.children(l[p]);_=_||w.length>0}if(_){v.debug("Nodes = ",l,o);for(var D=0;D<l.length;D++){var S=l[D];if(v.debug("Extracting node",S,Ii,Ii[S]&&!Ii[S].externalConnections,!n.parent(S),n.node(S),n.children("D")," Depth ",o),Ii[S])if(!Ii[S].externalConnections&&n.children(S)&&n.children(S).length>0){v.warn("Cluster without external connections, without a parent and with children",S,o);var N="TB"===n.graph().rankdir?"LR":"TB";Ii[S]&&Ii[S].clusterData&&Ii[S].clusterData.dir&&v.warn("Fixing dir",Ii[S].clusterData.dir,N=Ii[S].clusterData.dir);var q=new(eo().Graph)({multigraph:!0,compound:!0}).setGraph({rankdir:N,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});v.warn("Old graph before copy",eo().json.write(n)),Mx(S,n,q,S),n.setNode(S,{clusterNode:!0,id:S,clusterData:Ii[S].clusterData,labelText:Ii[S].labelText,graph:q}),v.warn("New graph after copy node: (",S,")",eo().json.write(q)),v.debug("Old graph after copy",eo().json.write(n))}else v.warn("Cluster ** ",S," **not meeting the criteria !externalConnections:",!Ii[S].externalConnections," no parent: ",!n.parent(S)," children ",n.children(S)&&n.children(S).length>0,n.children("D"),o),v.debug(Ii);else v.debug("Not a cluster",S,o)}l=n.nodes(),v.warn("New list of nodes",l);for(var H=0;H<l.length;H++){var G=l[H],_t=n.node(G);v.warn(" Now next level",G,_t),_t.clusterNode&&e(_t.graph,o+1)}}else v.debug("Done, no node has children",n.nodes())}},Ux=function e(n,o){if(0===o.length)return[];var l=Object.assign(o);return o.forEach(function(_){var p=n.children(_),m=e(n,p);l=l.concat(m)}),l},AT=function(e){return Ux(e,e.children())},Zx=i(3841);function Wg(e,n){return e*n>0}const IT=function(e,n,o,l){var _,p,m,w,D,S,N,q,H,G,_t,st,Dt;if(G=(_=n.y-e.y)*l.x+(m=e.x-n.x)*l.y+(D=n.x*e.y-e.x*n.y),!(0!==(H=_*o.x+m*o.y+D)&&0!==G&&Wg(H,G)||(p=l.y-o.y,w=o.x-l.x,S=l.x*o.y-o.x*l.y,N=p*e.x+w*e.y+S,q=p*n.x+w*n.y+S,0!==N&&0!==q&&Wg(N,q)||0==(_t=_*w-p*m))))return st=Math.abs(_t/2),{x:(Dt=m*S-w*D)<0?(Dt-st)/_t:(Dt+st)/_t,y:(Dt=p*D-_*S)<0?(Dt-st)/_t:(Dt+st)/_t}},uh=function(e,n){var o,l,_=e.x,p=e.y,m=n.x-_,w=n.y-p,D=e.width/2,S=e.height/2;return Math.abs(w)*D>Math.abs(m)*S?(w<0&&(S=-S),o=0===w?0:S*m/w,l=S):(m<0&&(D=-D),o=D,l=0===m?0:D*w/m),{x:_+o,y:p+l}},Z_=(i.n(Zx)(),function(e,n,o){return function(e,n,o,l){var _=e.x,p=e.y,m=_-l.x,w=p-l.y,D=Math.sqrt(n*n*w*w+o*o*m*m),S=Math.abs(n*o*m/D);l.x<_&&(S=-S);var N=Math.abs(n*o*w/D);return l.y<p&&(N=-N),{x:_+S,y:p+N}}(e,n,n,o)}),Bs=function(e,n,o){var l=e.x,_=e.y,p=[],m=Number.POSITIVE_INFINITY,w=Number.POSITIVE_INFINITY;"function"==typeof n.forEach?n.forEach(function(_t){m=Math.min(m,_t.x),w=Math.min(w,_t.y)}):(m=Math.min(m,n.x),w=Math.min(w,n.y));for(var D=l-e.width/2-m,S=_-e.height/2-w,N=0;N<n.length;N++){var q=n[N],H=n[N<n.length-1?N+1:0],G=IT(e,o,{x:D+q.x,y:S+q.y},{x:D+H.x,y:S+H.y});G&&p.push(G)}return p.length?(p.length>1&&p.sort(function(_t,st){var Dt=_t.x-o.x,vt=_t.y-o.y,Et=Math.sqrt(Dt*Dt+vt*vt),Mt=st.x-o.x,Kt=st.y-o.y,re=Math.sqrt(Mt*Mt+Kt*Kt);return Et<re?-1:Et===re?0:1}),p[0]):e},Yl=uh;function uf(e){return(uf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var Ox=function(e,n,o){var l=e.insert("g").attr("class","node default").attr("id",n.domId||n.id),_=70,p=10;"LR"===o&&(_=10,p=70);var m=l.append("rect").attr("x",-1*_/2).attr("y",-1*p/2).attr("width",_).attr("height",p).attr("class","fork-join");return no(n,m),n.height=n.height+n.padding/2,n.width=n.width+n.padding/2,n.intersect=function(w){return Yl(n,w)},l},Xg={question:function(e,n){var o=ma(e,n,void 0,!0),l=o.shapeSvg,_=o.bbox,p=_.width+n.padding+(_.height+n.padding),m=[{x:p/2,y:0},{x:p,y:-p/2},{x:p/2,y:-p},{x:0,y:-p/2}];v.info("Question main (Circle)");var w=dc(l,p,p,m);return w.attr("style",n.style),no(n,w),n.intersect=function(D){return v.warn("Intersect called"),Bs(n,m,D)},l},rect:function(e,n){var o=ma(e,n,"node "+n.classes,!0),l=o.shapeSvg,_=o.bbox,p=o.halfPadding;v.trace("Classes = ",n.classes);var N,q,H,G,_t,st,Dt,m=l.insert("rect",":first-child"),w=_.width+n.padding,D=_.height+n.padding;if(m.attr("class","basic label-container").attr("style",n.style).attr("rx",n.rx).attr("ry",n.ry).attr("x",-_.width/2-p).attr("y",-_.height/2-p).attr("width",w).attr("height",D),n.props){var S=new Set(Object.keys(n.props));n.props.borders&&(N=m,H=w,G=D,_t=[],st=function(vt){_t.push(vt),_t.push(0)},Dt=function(vt){_t.push(0),_t.push(vt)},(q=n.props.borders).includes("t")?(v.debug("add top border"),st(H)):Dt(H),q.includes("r")?(v.debug("add right border"),st(G)):Dt(G),q.includes("b")?(v.debug("add bottom border"),st(H)):Dt(H),q.includes("l")?(v.debug("add left border"),st(G)):Dt(G),N.attr("stroke-dasharray",_t.join(" ")),S.delete("borders")),S.forEac
1h(function(N){v.warn("Unknown node property ".concat(N))})}return no(n,m),n.intersect=function(N){return Yl(n,N)},l},rectWithTitle:function(e,n){var o;o=n.classes?"node "+n.classes:"node default";var l,_=e.insert("g").attr("class",o).attr("id",n.domId||n.id),p=_.insert("rect",":first-child"),m=_.insert("line"),w=_.insert("g").attr("class","label"),D=n.labelText.flat?n.labelText.flat():n.labelText;l="object"===uf(D)?D[0]:D,v.info("Label text abc79",l,D,"object"===uf(D));var S=w.node().appendChild(na(l,n.labelStyle,!0,!0)),N={width:0,height:0};if(Fo(oe().flowchart.htmlLabels)){var q=S.children[0],H=on(S);N=q.getBoundingClientRect(),H.attr("width",N.width),H.attr("height",N.height)}v.info("Text 2",D);var G=D.slice(1,D.length),_t=S.getBBox(),st=w.node().appendChild(na(G.join?G.join("<br/>"):G,n.labelStyle,!0,!0));if(Fo(oe().flowchart.htmlLabels)){var Dt=st.children[0],vt=on(st);N=Dt.getBoundingClientRect(),vt.attr("width",N.width),vt.attr("height",N.height)}var Et=n.padding/2;return on(st).attr("transform","translate( "+(N.width>_t.width?0:(_t.width-N.width)/2)+", "+(_t.height+Et+5)+")"),on(S).attr("transform","translate( "+(N.width<_t.width?0:-(_t.width-N.width)/2)+", 0)"),N=w.node().getBBox(),w.attr("transform","translate("+-N.width/2+", "+(-N.height/2-Et+3)+")"),p.attr("class","outer title-state").attr("x",-N.width/2-Et).attr("y",-N.height/2-Et).attr("width",N.width+n.padding).attr("height",N.height+n.padding),m.attr("class","divider").attr("x1",-N.width/2-Et).attr("x2",N.width/2+Et).attr("y1",-N.height/2-Et+_t.height+Et).attr("y2",-N.height/2-Et+_t.height+Et),no(n,p),n.intersect=function(Mt){return Yl(n,Mt)},_},choice:function(e,n){var o=e.insert("g").attr("class","node default").attr("id",n.domId||n.id);return o.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map(function(l){return l.x+","+l.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),n.width=28,n.height=28,n.intersect=function(l){return Z_(n,14,l)},o},circle:function(e,n){var o=ma(e,n,void 0,!0),l=o.shapeSvg,_=o.bbox,p=o.halfPadding,m=l.insert("circle",":first-child");return m.attr("style",n.style).attr("rx",n.rx).attr("ry",n.ry).attr("r",_.width/2+p).attr("width",_.width+n.padding).attr("height",_.height+n.padding),v.info("Circle main"),no(n,m),n.intersect=function(w){return v.info("Circle intersect",n,_.width/2+p,w),Z_(n,_.width/2+p,w)},l},stadium:function(e,n){var o=ma(e,n,void 0,!0),l=o.shapeSvg,_=o.bbox,p=_.height+n.padding,m=_.width+p/4+n.padding,w=l.insert("rect",":first-child").attr("style",n.style).attr("rx",p/2).attr("ry",p/2).attr("x",-m/2).attr("y",-p/2).attr("width",m).attr("height",p);return no(n,w),n.intersect=function(D){return Yl(n,D)},l},hexagon:function(e,n){var o=ma(e,n,void 0,!0),l=o.shapeSvg,_=o.bbox,p=_.height+n.padding,m=p/4,w=_.width+2*m+n.padding,D=[{x:m,y:0},{x:w-m,y:0},{x:w,y:-p/2},{x:w-m,y:-p},{x:m,y:-p},{x:0,y:-p/2}],S=dc(l,w,p,D);return S.attr("style",n.style),no(n,S),n.intersect=function(N){return Bs(n,D,N)},l},rect_left_inv_arrow:function(e,n){var o=ma(e,n,void 0,!0),l=o.shapeSvg,_=o.bbox,p=_.width+n.padding,m=_.height+n.padding,w=[{x:-m/2,y:0},{x:p,y:0},{x:p,y:-m},{x:-m/2,y:-m},{x:0,y:-m/2}];return dc(l,p,m,w).attr("style",n.style),n.width=p+m,n.height=m,n.intersect=function(D){return Bs(n,w,D)},l},lean_right:function(e,n){var o=ma(e,n,void 0,!0),l=o.shapeSvg,_=o.bbox,p=_.width+n.padding,m=_.height+n.padding,w=[{x:-2*m/6,y:0},{x:p-m/6,y:0},{x:p+2*m/6,y:-m},{x:m/6,y:-m}],D=dc(l,p,m,w);return D.attr("style",n.style),no(n,D),n.intersect=function(S){return Bs(n,w,S)},l},lean_left:function(e,n){var o=ma(e,n,void 0,!0),l=o.shapeSvg,_=o.bbox,p=_.width+n.padding,m=_.height+n.padding,w=[{x:2*m/6,y:0},{x:p+m/6,y:0},{x:p-2*m/6,y:-m},{x:-m/6,y:-m}],D=dc(l,p,m,w);return D.attr("style",n.style),no(n,D),n.intersect=function(S){return Bs(n,w,S)},l},trapezoid:function(e,n){var o=ma(e,n,void 0,!0),l=o.shapeSvg,_=o.bbox,p=_.width+n.padding,m=_.height+n.padding,w=[{x:-2*m/6,y:0},{x:p+2*m/6,y:0},{x:p-m/6,y:-m},{x:m/6,y:-m}],D=dc(l,p,m,w);return D.attr("style",n.style),no(n,D),n.intersect=function(S){return Bs(n,w,S)},l},inv_trapezoid:function(e,n){var o=ma(e,n,void 0,!0),l=o.shapeSvg,_=o.bbox,p=_.width+n.padding,m=_.height+n.padding,w=[{x:m/6,y:0},{x:p-m/6,y:0},{x:p+2*m/6,y:-m},{x:-2*m/6,y:-m}],D=dc(l,p,m,w);return D.attr("style",n.style),no(n,D),n.intersect=function(S){return Bs(n,w,S)},l},rect_right_inv_arrow:function(e,n){var o=ma(e,n,void 0,!0),l=o.shapeSvg,_=o.bbox,p=_.width+n.padding,m=_.height+n.padding,w=[{x:0,y:0},{x:p+m/2,y:0},{x:p,y:-m/2},{x:p+m/2,y:-m},{x:0,y:-m}],D=dc(l,p,m,w);return D.attr("style",n.style),no(n,D),n.intersect=function(S){return Bs(n,w,S)},l},cylinder:function(e,n){var o=ma(e,n,void 0,!0),l=o.shapeSvg,_=o.bbox,p=_.width+n.padding,m=p/2,w=m/(2.5+p/50),D=_.height+w+n.padding,S="M 0,"+w+" a "+m+","+w+" 0,0,0 "+p+" 0 a "+m+","+w+" 0,0,0 "+-p+" 0 l 0,"+D+" a "+m+","+w+" 0,0,0 "+p+" 0 l 0,"+-D,N=l.attr("label-offset-y",w).insert("path",":first-child").attr("style",n.style).attr("d",S).attr("transform","translate("+-p/2+","+-(D/2+w)+")");return no(n,N),n.intersect=function(q){var H=Yl(n,q),G=H.x-n.x;if(0!=m&&(Math.abs(G)<n.width/2||Math.abs(G)==n.width/2&&Math.abs(H.y-n.y)>n.height/2-w)){var _t=w*w*(1-G*G/(m*m));0!=_t&&(_t=Math.sqrt(_t)),_t=w-_t,q.y-n.y>0&&(_t=-_t),H.y+=_t}return H},l},start:function(e,n){var o=e.insert("g").attr("class","node default").attr("id",n.domId||n.id),l=o.insert("circle",":first-child");return l.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),no(n,l),n.intersect=function(_){return Z_(n,7,_)},o},end:function(e,n){var o=e.insert("g").attr("class","node default").attr("id",n.domId||n.id),l=o.insert("circle",":first-child"),_=o.insert("circle",":first-child");return _.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),l.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),no(n,_),n.intersect=function(p){return Z_(n,7,p)},o},note:function(e,n){var o=ma(e,n,"node "+n.classes,!0),l=o.shapeSvg,_=o.bbox,p=o.halfPadding;v.info("Classes = ",n.classes);var m=l.insert("rect",":first-child");return m.attr("rx",n.rx).attr("ry",n.ry).attr("x",-_.width/2-p).attr("y",-_.height/2-p).attr("width",_.width+n.padding).attr("height",_.height+n.padding),no(n,m),n.intersect=function(w){return Yl(n,w)},l},subroutine:function(e,n){var o=ma(e,n,void 0,!0),l=o.shapeSvg,_=o.bbox,p=_.width+n.padding,m=_.height+n.padding,w=[{x:0,y:0},{x:p,y:0},{x:p,y:-m},{x:0,y:-m},{x:0,y:0},{x:-8,y:0},{x:p+8,y:0},{x:p+8,y:-m},{x:-8,y:-m},{x:-8,y:0}],D=dc(l,p,m,w);return D.attr("style",n.style),no(n,D),n.intersect=function(S){return Bs(n,w,S)},l},fork:Ox,join:Ox,class_box:function(e,n){var o,l=n.padding/2;o=n.classes?"node "+n.classes:"node default";var _=e.insert("g").attr("class",o).attr("id",n.domId||n.id),p=_.insert("rect",":first-child"),m=_.insert("line"),w=_.insert("line"),D=0,S=4,N=_.insert("g").attr("class","label"),q=0,H=n.classData.annotations&&n.classData.annotations[0],G=n.classData.annotations[0]?"\xab"+n.classData.annotations[0]+"\xbb":"",_t=N.node().appendChild(na(G,n.labelStyle,!0,!0)),st=_t.getBBox();
1if(Fo(oe().flowchart.htmlLabels)){var Dt=_t.children[0],vt=on(_t);st=Dt.getBoundingClientRect(),vt.attr("width",st.width),vt.attr("height",st.height)}n.classData.annotations[0]&&(S+=st.height+4,D+=st.width);var Et=n.classData.id;void 0!==n.classData.type&&""!==n.classData.type&&(oe().flowchart.htmlLabels?Et+="<"+n.classData.type+">":Et+="<"+n.classData.type+">");var Mt=N.node().appendChild(na(Et,n.labelStyle,!0,!0));on(Mt).attr("class","classTitle");var Kt=Mt.getBBox();if(Fo(oe().flowchart.htmlLabels)){var re=Mt.children[0],qt=on(Mt);Kt=re.getBoundingClientRect(),qt.attr("width",Kt.width),qt.attr("height",Kt.height)}S+=Kt.height+4,Kt.width>D&&(D=Kt.width);var Xt=[];n.classData.members.forEach(function(Ft){var xt=F_(Ft),$t=xt.displayText;oe().flowchart.htmlLabels&&($t=$t.replace(/</g,"<").replace(/>/g,">"));var wt=N.node().appendChild(na($t,xt.cssStyle?xt.cssStyle:n.labelStyle,!0,!0)),Se=wt.getBBox();if(Fo(oe().flowchart.htmlLabels)){var Ne=wt.children[0],ge=on(wt);Se=Ne.getBoundingClientRect(),ge.attr("width",Se.width),ge.attr("height",Se.height)}Se.width>D&&(D=Se.width),S+=Se.height+4,Xt.push(wt)}),S+=8;var _e=[];if(n.classData.methods.forEach(function(Ft){var xt=F_(Ft),$t=xt.displayText;oe().flowchart.htmlLabels&&($t=$t.replace(/</g,"<").replace(/>/g,">"));var wt=N.node().appendChild(na($t,xt.cssStyle?xt.cssStyle:n.labelStyle,!0,!0)),Se=wt.getBBox();if(Fo(oe().flowchart.htmlLabels)){var Ne=wt.children[0],ge=on(wt);Se=Ne.getBoundingClientRect(),ge.attr("width",Se.width),ge.attr("height",Se.height)}Se.width>D&&(D=Se.width),S+=Se.height+4,_e.push(wt)}),S+=8,H){var It=(D-st.width)/2;on(_t).attr("transform","translate( "+(-1*D/2+It)+", "+-1*S/2+")"),q=st.height+4}var Ut=(D-Kt.width)/2;return on(Mt).attr("transform","translate( "+(-1*D/2+Ut)+", "+(-1*S/2+q)+")"),q+=Kt.height+4,m.attr("class","divider").attr("x1",-D/2-l).attr("x2",D/2+l).attr("y1",-S/2-l+8+q).attr("y2",-S/2-l+8+q),q+=8,Xt.forEach(function(Ft){on(Ft).attr("transform","translate( "+-D/2+", "+(-1*S/2+q+4)+")"),q+=Kt.height+4}),q+=8,w.attr("class","divider").attr("x1",-D/2-l).attr("x2",D/2+l).attr("y1",-S/2-l+8+q).attr("y2",-S/2-l+8+q),q+=8,_e.forEach(function(Ft){on(Ft).attr("transform","translate( "+-D/2+", "+(-1*S/2+q)+")"),q+=Kt.height+4}),p.attr("class","outer title-state").attr("x",-D/2-l).attr("y",-S/2-l).attr("width",D+n.padding).attr("height",S+n.padding),no(n,p),n.intersect=function(Ft){return Yl(n,Ft)},_}},hh={},tm=function(e){var n=hh[e.id];v.trace("Transforming node",e.diff,e,"translate("+(e.x-e.width/2-5)+", "+e.width/2+")");var o=e.diff||0;return n.attr("transform",e.clusterNode?"translate("+(e.x+o-e.width/2)+", "+(e.y-e.height/2-8)+")":"translate("+e.x+", "+e.y+")"),o},FT={rect:function(e,n){v.trace("Creating subgraph rect for ",n.id,n);var o=e.insert("g").attr("class","cluster"+(n.class?" "+n.class:"")).attr("id",n.id),l=o.insert("rect",":first-child"),_=o.insert("g").attr("class","cluster-label"),p=_.node().appendChild(na(n.labelText,n.labelStyle,void 0,!0)),m=p.getBBox();if(Fo(oe().flowchart.htmlLabels)){var w=p.children[0],D=on(p);m=w.getBoundingClientRect(),D.attr("width",m.width),D.attr("height",m.height)}var S=0*n.padding,N=S/2,q=n.width<=m.width+S?m.width+S:n.width;n.diff=n.width<=m.width+S?(m.width-n.width)/2:-n.padding/2,v.trace("Data ",n,JSON.stringify(n)),l.attr("style",n.style).attr("rx",n.rx).attr("ry",n.ry).attr("x",n.x-q/2).attr("y",n.y-n.height/2-N).attr("width",q).attr("height",n.height+S),_.attr("transform","translate("+(n.x-m.width/2)+", "+(n.y-n.height/2+n.padding/3)+")");var H=l.node().getBBox();return n.width=H.width,n.height=H.height,n.intersect=function(G){return uh(n,G)},o},roundedWithTitle:function(e,n){var o=e.insert("g").attr("class",n.classes).attr("id",n.id),l=o.insert("rect",":first-child"),_=o.insert("g").attr("class","cluster-label"),p=o.append("rect"),m=_.node().appendChild(na(n.labelText,n.labelStyle,void 0,!0)),w=m.getBBox();if(Fo(oe().flowchart.htmlLabels)){var D=m.children[0],S=on(m);w=D.getBoundingClientRect(),S.attr("width",w.width),S.attr("height",w.height)}w=m.getBBox();var N=0*n.padding,q=N/2,H=n.width<=w.width+n.padding?w.width+n.padding:n.width;n.diff=n.width<=w.width+n.padding?(w.width+0*n.padding-n.width)/2:-n.padding/2,l.attr("class","outer").attr("x",
1n.x-H/2-q).attr("y",n.y-n.height/2-q).attr("width",H+N).attr("height",n.height+N),p.attr("class","inner").attr("x",n.x-H/2-q).attr("y",n.y-n.height/2-q+w.height-1).attr("width",H+N).attr("height",n.height+N-w.height-3),_.attr("transform","translate("+(n.x-w.width/2)+", "+(n.y-n.height/2-n.padding/3+(Fo(oe().flowchart.htmlLabels)?5:3))+")");var G=l.node().getBBox();return n.height=G.height,n.intersect=function(_t){return uh(n,_t)},o},noteGroup:function(e,n){var o=e.insert("g").attr("class","note-cluster").attr("id",n.id),l=o.insert("rect",":first-child"),_=0*n.padding,p=_/2;l.attr("rx",n.rx).attr("ry",n.ry).attr("x",n.x-n.width/2-p).attr("y",n.y-n.height/2-p).attr("width",n.width+_).attr("height",n.height+_).attr("fill","none");var m=l.node().getBBox();return n.width=m.width,n.height=m.height,n.intersect=function(w){return uh(n,w)},o},divider:function(e,n){var o=e.insert("g").attr("class",n.classes).attr("id",n.id),l=o.insert("rect",":first-child"),_=0*n.padding,p=_/2;l.attr("class","divider").attr("x",n.x-n.width/2-p).attr("y",n.y-n.height/2).attr("width",n.width+_).attr("height",n.height+_);var m=l.node().getBBox();return n.width=m.width,n.height=m.height,n.diff=-n.padding/2,n.intersect=function(w){return uh(n,w)},o}},em={},O_={},bo={};function B_(e,n){oe().flowchart.htmlLabels&&e&&(e.style.width=9*n.length+"px",e.style.height="12px")}var Bx=function(e,n){v.warn("abc88 cutPathAtIntersect",e,n);var o=[],l=e[0],_=!1;return e.forEach(function(p){if(v.info("abc88 checking point",p,n),S=p,q=(D=n).y,H=Math.abs(S.x-D.x),G=Math.abs(S.y-q),H>=D.width/2||G>=D.height/2||_)v.warn("abc88 outside",p,l),l=p,_||o.push(p);else{var m=function(D,S,N){v.warn("intersection calc abc89:\n outsidePoint: ".concat(JSON.stringify(S),"\n insidePoint : ").concat(JSON.stringify(N),"\n node : x:").concat(D.x," y:").concat(D.y," w:").concat(D.width," h:").concat(D.height));var q=D.x,H=D.y,G=Math.abs(q-N.x),_t=D.width/2,st=N.x<S.x?_t-G:_t+G,Dt=D.height/2,vt=Math.abs(S.y-N.y),Et=Math.abs(S.x-N.x);if(Math.abs(H-S.y)*_t>Math.abs(q-S.x)*Dt){var Mt=N.y<S.y?S.y-Dt-H:H-Dt-S.y;st=Et*Mt/vt;var Kt={x:N.x<S.x?N.x+st:N.x-Et+st,y:N.y<S.y?N.y+vt-Mt:N.y-vt+Mt};return 0===st&&(Kt.x=S.x,Kt.y=S.y),0===Et&&(Kt.x=S.x),0===vt&&(Kt.y=S.y),v.warn("abc89 topp/bott calc, Q ".concat(vt,", q ").concat(Mt,", R ").concat(Et,", r ").concat(st),Kt),Kt}var re=vt*(st=N.x<S.x?S.x-_t-q:q-_t-S.x)/Et,qt=N.x<S.x?N.x+Et-st:N.x-Et+st,Xt=N.y<S.y?N.y+re:N.y-re;return v.warn("sides calc abc89, Q ".concat(vt,", q ").concat(re,", R ").concat(Et,", r ").concat(st),{_x:qt,_y:Xt}),0===st&&(qt=S.x,Xt=S.y),0===Et&&(qt=S.x),0===vt&&(Xt=S.y),{x:qt,y:Xt}}(n,l,p);v.warn("abc88 inside",p,l,m),v.warn("abc88 intersection",m);var w=!1;o.forEach(function(D){w=w||D.x===m.x&&D.y===m.y}),o.find(function(D){return D.x===m.x&&D.y===m.y})?v.warn("abc88 no intersect",m,o):o.push(m),_=!0}var D,S,q,H,G}),v.warn("abc88 returning points",o),o},LT=function e(n,o,l,_){v.info("Graph in recursive render: XXX",eo().json.write(o),_);var p=o.graph().rankdir;v.trace("Dir in recursive render - dir:",p);var m=n.insert("g").attr("class","root");o.nodes()?v.info("Recursive render XXX",o.nodes()):v.info("No nodes found for",o),o.edges().length>0&&v.trace("Recursive edges",o.edge(o.edges()[0]));var w=m.insert("g").attr("class","clusters"),D=m.insert("g").attr("class","edgePaths"),S=m.insert("g").attr("class","edgeLabels"),N=m.insert("g").attr("class","nodes");o.nodes().forEach(function(H){var vt,Et,Mt,Kt,re,qt,G=o.node(H);if(void 0!==_){var _t=JSON.parse(JSON.stringify(_.clusterData));v.info("Setting data for cluster XXX (",H,") ",_t,_),o.setNode(_.id,_t),o.parent(H)||(v.trace("Setting parent",H,_.id),o.setParent(H,_.id,_t))}if(v.info("(Insert) Node XXX"+H+": "+JSON.stringify(o.node(H))),G&&G.clusterNode){v.info("Cluster identified",H,G.width,o.node(H));var st=e(N,G.graph,l,o.node(H)),Dt=st.elem;no(G,Dt),G.diff=st.diff||0,v.info("Node bounds (abc123)",H,G,G.width,G.x,G.y),hh[G.id]=Dt,v.warn("Recursive render complete ",Dt,G)}else o.children(H).length>0?(v.info("Cluster - the non recursive path XXX",H,G.id,G,o),v.info(lf(G.id,o)),Ii[G.id]={id:lf(G.i
1d,o),node:G}):(v.info("Node - the non recursive path",H,G.id,G),vt=N,Et=o.node(H),Mt=p,Et.link?("sandbox"===oe().securityLevel?qt="_top":Et.linkTarget&&(qt=Et.linkTarget||"_blank"),Kt=vt.insert("svg:a").attr("xlink:href",Et.link).attr("target",qt),re=Xg[Et.shape](Kt,Et,Mt)):Kt=re=Xg[Et.shape](vt,Et,Mt),Et.tooltip&&re.attr("title",Et.tooltip),Et.class&&re.attr("class","node default "+Et.class),hh[Et.id]=Kt,Et.haveCallback&&hh[Et.id].attr("class",hh[Et.id].attr("class")+" clickable"))}),o.edges().forEach(function(H){var G=o.edge(H.v,H.w,H.name);v.info("Edge "+H.v+" -> "+H.w+": "+JSON.stringify(H)),v.info("Edge "+H.v+" -> "+H.w+": ",H," ",JSON.stringify(o.edge(H))),v.info("Fix",Ii,"ids:",H.v,H.w,"Translateing: ",Ii[H.v],Ii[H.w]),function(e,n){var o=na(n.label,n.labelStyle),l=e.insert("g").attr("class","edgeLabel"),_=l.insert("g").attr("class","label");_.node().appendChild(o);var p,m=o.getBBox();if(Fo(oe().flowchart.htmlLabels)){var w=o.children[0],D=on(o);m=w.getBoundingClientRect(),D.attr("width",m.width),D.attr("height",m.height)}if(_.attr("transform","translate("+-m.width/2+", "+-m.height/2+")"),O_[n.id]=l,n.width=m.width,n.height=m.height,n.startLabelLeft){var S=na(n.startLabelLeft,n.labelStyle),N=e.insert("g").attr("class","edgeTerminals"),q=N.insert("g").attr("class","inner");p=q.node().appendChild(S);var H=S.getBBox();q.attr("transform","translate("+-H.width/2+", "+-H.height/2+")"),bo[n.id]||(bo[n.id]={}),bo[n.id].startLeft=N,B_(p,n.startLabelLeft)}if(n.startLabelRight){var G=na(n.startLabelRight,n.labelStyle),_t=e.insert("g").attr("class","edgeTerminals"),st=_t.insert("g").attr("class","inner");p=_t.node().appendChild(G),st.node().appendChild(G);var Dt=G.getBBox();st.attr("transform","translate("+-Dt.width/2+", "+-Dt.height/2+")"),bo[n.id]||(bo[n.id]={}),bo[n.id].startRight=_t,B_(p,n.startLabelRight)}if(n.endLabelLeft){var vt=na(n.endLabelLeft,n.labelStyle),Et=e.insert("g").attr("class","edgeTerminals"),Mt=Et.insert("g").attr("class","inner");p=Mt.node().appendChild(vt);var Kt=vt.getBBox();Mt.attr("transform","translate("+-Kt.width/2+", "+-Kt.height/2+")"),Et.node().appendChild(vt),bo[n.id]||(bo[n.id]={}),bo[n.id].endLeft=Et,B_(p,n.endLabelLeft)}if(n.endLabelRight){var re=na(n.endLabelRight,n.labelStyle),qt=e.insert("g").attr("class","edgeTerminals"),Xt=qt.insert("g").attr("class","inner");p=Xt.node().appendChild(re);var _e=re.getBBox();Xt.attr("transform","translate("+-_e.width/2+", "+-_e.height/2+")"),qt.node().appendChild(re),bo[n.id]||(bo[n.id]={}),bo[n.id].endRight=qt,B_(p,n.endLabelRight)}}(S,G)}
1),o.edges().forEach(function(H){v.info("Edge "+H.v+" -> "+H.w+": "+JSON.stringify(H))}),v.info("#############################################"),v.info("### Layout ###"),v.info("#############################################"),v.info(o),sf().layout(o),v.info("Graph after layout:",eo().json.write(o));var q=0;return AT(o).forEach(function(H){var _t,st,G=o.node(H);v.info("Position "+H+": "+JSON.stringify(o.node(H))),v.info("Position "+H+": ("+G.x,","+G.y,") width: ",G.width," height: ",G.height),G&&G.clusterNode?tm(G):o.children(H).length>0?(_t=w,st=G,v.trace("Inserting cluster"),em[st.id]=FT[st.shape||"rect"](_t,st),Ii[G.id].node=G):tm(G)}),o.edges().forEach(function(H){var G=o.edge(H);v.info("Edge "+H.v+" -> "+H.w+": "+JSON.stringify(G),G),function(e,n){v.info("Moving label abc78 ",e.id,e.label,O_[e.id]);var o=n.updatedPath?n.updatedPath:n.originalPath;if(e.label){var l=O_[e.id],_=e.x,p=e.y;if(o){var m=ri.calcLabelPosition(o);v.info("Moving label from (",_,",",p,") to (",m.x,",",m.y,") abc78")}l.attr("transform","translate("+_+", "+p+")")}if(e.startLabelLeft){var w=bo[e.id].startLeft,D=e.x,S=e.y;if(o){var N=ri.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_left",o);D=N.x,S=N.y}w.attr("transform","translate("+D+", "+S+")")}if(e.startLabelRight){var q=bo[e.id].startRight,H=e.x,G=e.y;if(o){var _t=ri.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_right",o);H=_t.x,G=_t.y}q.attr("transform","translate("+H+", "+G+")")}if(e.endLabelLeft){var st=bo[e.id].endLeft,Dt=e.x,vt=e.y;if(o){var Et=ri.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_left",o);Dt=Et.x,vt=Et.y}st.attr("transform","translate("+Dt+", "+vt+")")}if(e.endLabelRight){var Mt=bo[e.id].endRight,Kt=e.x,re=e.y;if(o){var qt=ri.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_right",o);Kt=qt.x,re=qt.y}Mt.attr("transform","translate("+Kt+", "+re+")")}}(G,function(st,Dt,vt,Et,Mt,Kt){var re=vt.points,qt=!1,Xt=Kt.node(Dt.v),_e=Kt.node(Dt.w);v.info("abc88 InsertEdge: ",vt),_e.intersect&&Xt.intersect&&((re=re.slice(1,vt.points.length-1)).unshift(Xt.intersect(re[0])),v.info("Last point",re[re.length-1],_e,_e.intersect(re[re.length-1])),re.push(_e.intersect(re[re.length-1]))),vt.toCluster&&(v.info("to cluster abc88",Et[vt.toCluster]),re=Bx(vt.points,Et[vt.toCluster].node),qt=!0),vt.fromCluster&&(v.info("from cluster abc88",Et[vt.fromCluster]),re=Bx(re.reverse(),Et[vt.fromCluster].node).reverse(),qt=!0);var It,Ut=re.filter(function(Ne){return!Number.isNaN(Ne.y)});It=("graph"===Mt||"flowchart"===Mt)&&vt.curve||Kr;var Ft,xt=Bc().x(function(Ne){return Ne.x}).y(function(Ne){return Ne.y}).curve(It);switch(vt.thickness){case"normal":Ft="edge-thickness-normal";break;case"thick":Ft="edge-thickness-thick";break;default:Ft=""}switch(vt.pattern){case"solid":Ft+=" edge-pattern-solid";break;case"dotted":Ft+=" edge-pattern-dotted";break;case"dashed":Ft+=" edge-pattern-dashed"}var $t=st.append("path").attr("d",xt(Ut)).attr("id",vt.id).attr("class"," "+Ft+(vt.classes?" "+vt.classes:"")).attr("style",vt.style),wt="";switch(oe().state.arrowMarkerAbsolute&&(wt=(wt=(wt=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),v.info("arrowTypeStart",vt.arrowTypeStart),v.info("arrowTypeEnd",vt.arrowTypeEnd),vt.arrowTypeStart){case"arrow_cross":$t.attr("marker-start","url("+wt+"#"+Mt+"-crossStart)");break;case"arrow_point":$t.attr("marker-start","url("+wt+"#"+Mt+"-pointStart)");break;case"arrow_barb":$t.attr("marker-start","url("+wt+"#"+Mt+"-barbStart)");break;case"arrow_circle":$t.attr("marker-start","url("+wt+"#"+Mt+"-circleStart)");break;case"aggregation":$t.attr("marker-start","url("+wt+"#"+Mt+"-aggregationStart)");break;case"extension":$t.attr("marker-start","url("+wt+"#"+Mt+"-extensionStart)");break;case"composition":$t.attr("marker-start","url("+wt+"#"+Mt+"-compositionStart)");break;case"dependency":$t.attr("marker-start","url("+wt+"#"+Mt+"-dependencyStart)")}switch(vt.arrowTypeEnd){case"arrow_cross":$t.attr("marker-end","url("+wt+"#"+Mt+"-crossEnd)");break;case"arrow_point":$t.attr("marker-end","url("+wt+"#"+Mt+"-pointEnd)");break;case"arrow_barb":$t.attr("marker-end","url("+wt+"#"+Mt+"-barbEnd)");break;case"arrow_circle":$t.attr("marker-end","url("+wt+"#"+Mt+"-circleEnd)");break;case"aggregation":$t.attr("marker-end","url("+wt+"#"+Mt+"-aggregationEnd)");break;case"extension":$t.attr("marker-end","url("+wt+"#"+Mt+"-extensionEnd)");break;case"composition":$t.attr("marker-end","url("+wt+"#"+Mt+"-compositionEnd)");break;case"dependency":$t.attr("marker-end","url("+wt+"#"+Mt+"-dependencyEnd)")}var Se={};return qt&&(Se.updatedPath=re),Se.originalPath=vt.points,Se}(D,H,G,Ii,l,o))}
1),o.nodes().forEach(function(H){var G=o.node(H);v.info(H,G.type,G.diff),"group"===G.type&&(q=G.diff)}),{elem:m,diff:q}},dh=function(e,n,o,l,_){(function(e,n,o,l){n.forEach(function(_){kT[_](e,o,l)})})(e,o,l,_),hh={},O_={},bo={},em={},ps={},Kg={},Ii={},v.warn("Graph at first:",eo().json.write(n)),Lx(n),v.warn("Graph after:",eo().json.write(n)),LT(e,n,l)};ch.parser.yy=Os;var Px={dividerMargin:10,padding:5,textHeight:10};function hf(e){var n;switch(e){case 0:n="aggregation";break;case 1:n="extension";break;case 2:n="composition";break;case 3:n="dependency";break;default:n="none"}return n}var df={},nm=[],im="",Rx=function(e){return void 0===df[e]&&(df[e]={attributes:[]},v.info("Added new entity :",e)),df[e]};const Mo={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},parseDirective:function(e,n,o){Uo.parseDirective(this,e,n,o)},getConfig:function(){return oe().er},addEntity:Rx,addAttributes:function(e,n){var o,l=Rx(e);for(o=n.length-1;o>=0;o--)l.attributes.push(n[o]),v.debug("Added attribute ",n[o].attributeName)},getEntities:function(){return df},addRelationship:function(e,n,o,l){var _={entityA:e,roleA:n,entityB:o,relSpec:l};nm.push(_),v.debug("Added new relationship :",_)},getRelationships:function(){return nm},clear:function(){df={},nm=[],im=""},setTitle:function(e){im=e},getTitle:function(){return im}};var UT=i(5890),Jx=i.n(UT),fc={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END"};const zc=fc;var cr={},Hx=function(e){return(e.entityA+e.roleA+e.entityB).replace(/\s/g,"")},rm=0;const P_=function(e){for(var n=Object.keys(e),o=0;o<n.length;o++)cr[n[o]]=e[n[o]]};function om(e){return(om="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function mi(e,n){(null==n||n>e.length)&&(n=e.length);for(var o=0,l=new Array(n);o<n;o++)l[o]=e[o];return l}var Ps,fo,ql="flowchart-",Yx=0,Kc=oe(),qi={},Ga=[],Hr=[],No=[],Vl={},Rs={},am=0,R_=!0,J_=[],H_=function(e){for(var n=Object.keys(qi),o=0;o<n.length;o++)if(qi[n[o]].id===e)return qi[n[o]].domId;return e},OT=function(e,n,o,l){var _={start:e,end:n,type:void 0,text:""};void 0!==(l=o.text)&&(_.text=Si.sanitizeText(l.trim(),Kc),'"'===_.text[0]&&'"'===_.text[_.text.length-1]&&(_.text=_.text.substring(1,_.text.length-1))),void 0!==o&&(_.type=o.type,_.stroke=o.stroke,_.length=o.length),Ga.push(_)},sm=function(e,n){e.split(",").forEach(function(o){var l=o;void 0!==qi[l]&&qi[l].classes.push(n),void 0!==Vl[l]&&Vl[l].classes.push(n)})},qx=function(e){var n=on(".mermaidTooltip");null===(n._groups||n)[0][0]&&(n=on("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),on(e).select("svg").selectAll("g.node").on("mouseover",function(){var o=on(this);if(null!==o.attr("title")){var l=this.getBoundingClientRect();n.transition().duration(200).style("opacity",".9"),n.html(o.attr("title")).style("left",window.scrollX+l.left+(l.right-l.left)/2+"px").style("top",window.scrollY+l.top-14+document.body.scrollTop+"px"),o.classed("hover",!0)}}).on("mouseout",function(){n.transition().duration(500).style("opacity",0),on(this).classed("hover",!1)})};J_.push(qx);var BT=function(e){for(var n=0;n<No.length;n++)if(No[n].id===e)return n;return-1},fh=-1,Vx=[],Qx=function e(n,o){var l=No[o].nodes;if(!((fh+=1)>2e3)){if(Vx[fh]=o,No[o].id===n)return{result:!0,count:0};for(var _=0,p=1;_<l.length;){var m=BT(l[_]);if(m>=0){var w=e(n,m);if(w.result)return{result:!0,count:p+w.count};p+=w.count}_+=1}return{result:!1,count:p}}},ff=function(e,n){var o=!1;return e.forEach(function(l){l.nodes.indexOf(n)>=0&&(o=!0)}),o},Y_=function(e,n){var o=[];return e.nodes.forEach(function(l,_){ff(n,l)||o.push(e.nodes[_])}),{nodes:o}};const ui={parseDirective:function(e,n,o){Uo.parseDirective(this,e,n,o)},defaultConfig:function(){return oh.flowchart},addVertex:function(e,n,o,l,_,p){var m,w=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},D=e;void 0!==D&&0!==D.trim().length&&(void 0===qi[D]&&(qi[D]={id:D,domId:ql+D+"-"+Yx,styles:[],classes:[]}),Yx++,void 0!==n?(Kc=oe(),'"'===(m=Si.sanitizeText(n.trim(),Kc))[0]&&'"'===m[m.length-1]&&(m=m.substring(1,m.length-1)),qi[D].text=m):void 0===qi[D].text&&(qi[D].text=e),void 0!==o&&(qi[D].type=o),l?.forEach(function(S){qi[D].styles.push(S)}),_?.forEach(function(S){qi[D].classes.push(S)}),void 0!==p&&(qi[D].dir=p),qi[D].props=w)},lookUpDomId:H_,addLink:function(e,n,o,l){var _,p;for(_=0;_<e.length;_++)for(p=0;p<n.length;p++)OT(e[_],n[p],o,l)},updateLinkInterpolate:function(e,n){e.forEach(function(o){"default"===o?Ga.defaultInterpolate=n:Ga[o].interpolate=n})},updateLink:function(e,n){e.forEach(function(o){"default"===o?Ga.defaultStyle=n:(-1===ri.isSubstringInArray("fill",n)&&n.push("fill:none"),Ga[o].style=n)})},addClass:function(e,n){void 0===Hr[e]&&(Hr[e]={id:e,styles:[],textStyles:[]}
1),n?.forEach(function(o){if(o.match("color")){var l=o.replace("fill","bgFill").replace("color","fill");Hr[e].textStyles.push(l)}Hr[e].styles.push(o)})},setDirection:function(e){(Ps=e).match(/.*</)&&(Ps="RL"),Ps.match(/.*\^/)&&(Ps="BT"),Ps.match(/.*>/)&&(Ps="LR"),Ps.match(/.*v/)&&(Ps="TB")},setClass:sm,setTooltip:function(e,n){e.split(",").forEach(function(o){void 0!==n&&(Rs["gen-1"===fo?H_(o):o]=Si.sanitizeText(n,Kc))})},getTooltip:function(e){return Rs[e]},setClickEvent:function(e,n,o){e.split(",").forEach(function(l){!function(_,p,m){var w=H_(_);if("loose"===oe().securityLevel&&void 0!==p){var D=[];if("string"==typeof m){D=m.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(var S=0;S<D.length;S++){var N=D[S].trim();'"'===N.charAt(0)&&'"'===N.charAt(N.length-1)&&(N=N.substr(1,N.length-2)),D[S]=N}}0===D.length&&D.push(_),void 0!==qi[_]&&(qi[_].haveCallback=!0,J_.push(function(){var q=document.querySelector('[id="'.concat(w,'"]'));null!==q&&q.addEventListener("click",function(){var H;ri.runFunc.apply(ri,[p].concat(function(G){if(Array.isArray(G))return mi(G)}(H=D)||function(G){if(typeof Symbol<"u"&&null!=G[Symbol.iterator]||null!=G["@@iterator"])return Array.from(G)}(H)||function(G,_t){if(G){if("string"==typeof G)return mi(G,void 0);var st=Object.prototype.toString.call(G).slice(8,-1);return"Object"===st&&G.constructor&&(st=G.constructor.name),"Map"===st||"Set"===st?Array.from(G):"Arguments"===st||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(st)?mi(G,void 0):void 0}}(H)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))},!1)}))}}(l,n,o)}),sm(e,"clickable")},setLink:function(e,n,o){e.split(",").forEach(function(l){void 0!==qi[l]&&(qi[l].link=ri.formatUrl(n,Kc),qi[l].linkTarget=o)}),sm(e,"clickable")},bindFunctions:function(e){J_.forEach(function(n){n(e)})},getDirection:function(){return Ps.trim()},getVertices:function(){return qi},getEdges:function(){return Ga},getClasses:function(){return Hr},clear:function(e){qi={},Hr={},Ga=[],(J_=[]).push(qx),No=[],Vl={},am=0,Rs=[],R_=!0,fo=e||"gen-1"},setGen:function(e){fo=e||"gen-1"},defaultStyle:function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},addSubGraph:function(e,n,o){var l=e.trim(),_=o;e===o&&o.match(/\s/)&&(l=void 0);var q,H,G,_t,p=[],m=(q=p.concat.apply(p,n),G={boolean:{},number:{},string:{}},_t=[],{nodeList:q.filter(function(Dt){var vt=om(Dt);return Dt.stmt&&"dir"===Dt.stmt?(H=Dt.value,!1):""!==Dt.trim()&&(vt in G?!G[vt].hasOwnProperty(Dt)&&(G[vt][Dt]=!0):!(_t.indexOf(Dt)>=0)&&_t.push(Dt))}),dir:H}),D=m.dir;if(p=m.nodeList,"gen-1"===fo){v.warn("LOOKING UP");for(var S=0;S<p.length;S++)p[S]=H_(p[S])}l=l||"subGraph"+am,_=Si.sanitizeText(_=_||"",Kc),am+=1;var N={id:l,nodes:p,title:_.trim(),classes:[],dir:D};return v.info("Adding",N.id,N.nodes,N.dir),N.nodes=Y_(N,No).nodes,No.push(N),Vl[l]=N,l},getDepthFirstPos:function(e){return Vx[e]},indexNodes:function(){fh=-1,No.length>0&&Qx("none",No.length-1)},getSubGraphs:function(){return No},destructLink:function(e,n){var o,l=function(_){var p=_.trim(),m=p.slice(0,-1),w="arrow_open";switch(p.slice(-1)){case"x":w="arrow_cross","x"===p[0]&&(w="double_"+w,m=m.slice(1));break;case">":w="arrow_point","<"===p[0]&&(w="double_"+w,m=m.slice(1));break;case"o":w="arrow_circle","o"===p[0]&&(w="double_"+w,m=m.slice(1))}var D="normal",S=m.length-1;"="===m[0]&&(D="thick");var N=function(q,H){for(var G=H.length,_t=0,st=0;st<G;++st)"."===H[st]&&++_t;return _t}(0,m);return N&&(D="dotted",S=N),{type:w,stroke:D,length:S}}(e);if(n){if((o=function(_){var p=_.trim(),m="arrow_open";switch(p[0]){case"<":m="arrow_point",p=p.slice(1);break;case"x":m="arrow_cross",p=p.slice(1);break;case"o":m="arrow_circle",p=p.slice(1)}var w="normal";return-1!==p.indexOf("=")&&(w="thick"),-1!==p.indexOf(".")&&(w="dotted"),{type:m,stroke:w}}(n)).stroke!==l.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===o.type)o.type=l.type;else{if(o.type!==l.type)return{type:"INVALID",stroke:"INVALID"};o.type="double_"+o.type}return"double_arrow"===o.type&&(o.type="double_arrow_point"),o.length=l.length,o}return l}
1,lex:{firstGraph:function(){return!!R_&&(R_=!1,!0)}},exists:ff,makeUniq:Y_};var cm=i(3602),_f=i.n(cm),PT=i(4949),Za=i.n(PT),RT=i(8284),lm=i.n(RT);function $x(e,n,o){var l=.9*(n.width+n.height),_=[{x:l/2,y:0},{x:l,y:-l/2},{x:l/2,y:-l},{x:0,y:-l/2}],p=_c(e,l,l,_);return o.intersect=function(m){return Za().intersect.polygon(o,_,m)},p}function um(e,n,o){var l=n.height,_=l/4,p=n.width+2*_,m=[{x:_,y:0},{x:p-_,y:0},{x:p,y:-l/2},{x:p-_,y:-l},{x:_,y:-l},{x:0,y:-l/2}],w=_c(e,p,l,m);return o.intersect=function(D){return Za().intersect.polygon(o,m,D)},w}function pf(e,n,o){var l=n.width,_=n.height,p=[{x:-_/2,y:0},{x:l,y:0},{x:l,y:-_},{x:-_/2,y:-_},{x:0,y:-_/2}],m=_c(e,l,_,p);return o.intersect=function(w){return Za().intersect.polygon(o,p,w)},m}function jx(e,n,o){var l=n.width,_=n.height,p=[{x:-2*_/6,y:0},{x:l-_/6,y:0},{x:l+2*_/6,y:-_},{x:_/6,y:-_}],m=_c(e,l,_,p);return o.intersect=function(w){return Za().intersect.polygon(o,p,w)},m}function Gx(e,n,o){var l=n.width,_=n.height,p=[{x:2*_/6,y:0},{x:l+_/6,y:0},{x:l-2*_/6,y:-_},{x:-_/6,y:-_}],m=_c(e,l,_,p);return o.intersect=function(w){return Za().intersect.polygon(o,p,w)},m}function gf(e,n,o){var l=n.width,_=n.height,p=[{x:-2*_/6,y:0},{x:l+2*_/6,y:0},{x:l-_/6,y:-_},{x:_/6,y:-_}],m=_c(e,l,_,p);return o.intersect=function(w){return Za().intersect.polygon(o,p,w)},m}function hm(e,n,o){var l=n.width,_=n.height,p=[{x:_/6,y:0},{x:l-_/6,y:0},{x:l+2*_/6,y:-_},{x:-2*_/6,y:-_}],m=_c(e,l,_,p);return o.intersect=function(w){return Za().intersect.polygon(o,p,w)},m}function JT(e,n,o){var l=n.width,_=n.height,p=[{x:0,y:0},{x:l+_/2,y:0},{x:l,y:-_/2},{x:l+_/2,y:-_},{x:0,y:-_}],m=_c(e,l,_,p);return o.intersect=function(w){return Za().intersect.polygon(o,p,w)},m}function HT(e,n,o){var l=n.height,_=n.width+l/4,p=e.insert("rect",":first-child").attr("rx",l/2).attr("ry",l/2).attr("x",-_/2).attr("y",-l/2).attr("width",_).attr("height",l);return o.intersect=function(m){return Za().intersect.rect(o,m)},p}function dm(e,n,o){var l=n.width,_=n.height,p=[{x:0,y:0},{x:l,y:0},{x:l,y:-_},{x:0,y:-_},{x:0,y:0},{x:-8,y:0},{x:l+8,y:0},{x:l+8,y:-_},{x:-8,y:-_},{x:-8,y:0}],m=_c(e,l,_,p);return o.intersect=function(w){return Za().intersect.polygon(o,p,w)},m}function YT(e,n,o){var l=n.width,_=l/2,p=_/(2.5+l/50),m=n.height+p,w="M 0,"+p+" a "+_+","+p+" 0,0,0 "+l+" 0 a "+_+","+p+" 0,0,0 "+-l+" 0 l 0,"+m+" a "+_+","+p+" 0,0,0 "+l+" 0 l 0,"+-m,D=e.attr("label-offset-y",p).insert("path",":first-child").attr("d",w).attr("transform","translate("+-l/2+","+-(m/2+p)+")");return o.intersect=function(S){var N=Za().intersect.rect(o,S),q=N.x-o.x;if(0!=_&&(Math.abs(q)<o.width/2||Math.abs(q)==o.width/2&&Math.abs(N.y-o.y)>o.height/2-p)){var H=p*p*(1-q*q/(_*_));0!=H&&(H=Math.sqrt(H)),H=p-H,S.y-o.y>0&&(H=-H),N.y+=H}return N},D}function _c(e,n,o,l){return e.insert("polygon",":first-child").attr("points",l.map(function(_){return _.x+","+_.y}).join(" ")).attr("transform","translate("+-n/2+","+o/2+")")}var zx={};const Kx=function(e){for(var n=Object.keys(e),o=0;o<n.length;o++)zx[n[o]]=e[n[o]]};var q_={};const fm=function(e){for(var n=Object.keys(e),o=0;o<n.length;o++)q_[n[o]]=e[n[o]]};function _m(e,n){(null==n||n>e.length)&&(n=e.length);for(var o=0,l=new Array(n);o<n;o++)l[o]=e[o];return l}var V_,mf,Js="",pm="",Q_="",_h=[],Ql=[],$_={},va="",ya=[],vf=[],ph="",gm=["active","done","crit","milestone"],j_=[],yf=!1,Hs=!1,gh=0,xf=function(e,n,o,l){return!(l.indexOf(e.format(n.trim()))>=0)&&(e.isoWeekday()>=6&&o.indexOf("weekends")>=0||o.indexOf(e.format("dddd").toLowerCase())>=0||o.indexOf(e.format(n.trim()))>=0)},Xx=function(e,n,o,l){if(o.length&&!e.manualEndTime){var _=c()(e.startTime,n,!0);_.add(1,"d");var p=c()(e.endTime,n,!0),m=tb(_,p,n,o,l);e.endTime=p.toDate(),e.renderEndTime=m}},tb=function(e,n,o,l,_){for(var p=!1,m=null;e<=n;)p||(m=n.toDate()),(p=xf(e,o,l,_))&&n.add(1,"d"),e.add(1,"d");return m},mm=function(e,n,o){o=o.trim();var l=/^after\s+([\d\w- ]+)/.exec(o.trim());if(null!==l){var _=null;if(l[1].split(" ").forEach(function(w){var D=vh(w);void 0!==D&&(_?D.endTime>_.endTime&&(_=D):_=D)}),_)return _.endTime;var p=new Date;return p.setHours(0,0,0,0),p}var m=c()(o,n.trim(),!0);return m.isValid()?m.toDate():(v.debug("Invalid date:"+o),v.debug("With date format:"+n.trim()),new Date)},vm=function(e,n){if(null!==e)switch(e[2]){case"s":n.add(e[1],"seconds");break;case"m":n.add(e[1],"minutes");break;case"h":n.add(e[1],"hours");break;case"d":n.add(e[1],"days");break;case"w":n.add(e[1],"weeks")}return n.toDate()},eb=function(e,n,o,l){l=l||!1,o=o.trim();var _=c()(o,n.trim(),!0);return _.isValid()?(l&&_.add(1,"d"),_.toDate()):vm(/^([\d]+)([wdhms])/.exec(o.trim()),c()(e))},ym=0,mh=function(e){return void 0===e?"task"+(ym+=1):e},Mr=[],G_={},vh=function(e){return Mr[G_[e]]},z_=function(){for(var e=function(l){var _=Mr[l],p="";switch(Mr[l].raw.startTime.type){case"prevTaskEnd":var m=vh(_.prevTaskId);_.startTime=m.endTime;break;case"getStartDate":(p=mm(0,Js,Mr[l].raw.startTime.startData))&&(Mr[l].startTime=p)}return Mr[l].startTime&&(Mr[l].endTime=eb(Mr[l].startTime,Js,Mr[l].raw.endTime.data,yf),Mr[l].endTime&&(Mr[l].processed=!0,Mr[l].manualEndTime=c()(Mr[l].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),Xx(Mr[l],Js,Ql,_h))),Mr[l].processed},n=!0,o=0;o<Mr.length;o++)e(o),n=n&&Mr[o].processed;return n},nb=function(e,n){e.split(",").forEach(function(o){var l=vh(o);void 0!==l&&l.classes.push(n)})}
1,K_=function(e,n){j_.push(function(){var o=document.querySelector('[id="'.concat(e,'"]'));null!==o&&o.addEventListener("click",function(){n()})}),j_.push(function(){var o=document.querySelector('[id="'.concat(e,'-text"]'));null!==o&&o.addEventListener("click",function(){n()})})};const yh={parseDirective:function(e,n,o){Uo.parseDirective(this,e,n,o)},getConfig:function(){return oe().gantt},clear:function(){ya=[],vf=[],ph="",j_=[],va="",ym=0,V_=void 0,mf=void 0,Mr=[],Js="",pm="",Q_="",_h=[],Ql=[],yf=!1,Hs=!1,gh=0,$_={}},setDateFormat:function(e){Js=e},getDateFormat:function(){return Js},enableInclusiveEndDates:function(){yf=!0},endDatesAreInclusive:function(){return yf},enableTopAxis:function(){Hs=!0},topAxisEnabled:function(){return Hs},setAxisFormat:function(e){pm=e},getAxisFormat:function(){return pm},setTodayMarker:function(e){Q_=e},getTodayMarker:function(){return Q_},setTitle:function(e){va=e},getTitle:function(){return va},addSection:function(e){ph=e,ya.push(e)},getSections:function(){return ya},getTasks:function(){for(var e=z_(),n=0;!e&&n<10;)e=z_(),n++;return vf=Mr},addTask:function(e,n){var o={section:ph,type:ph,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:n},task:e,classes:[]},l=function(p,m){var w=(":"===m.substr(0,1)?m.substr(1,m.length):m).split(","),D={};W_(w,D,gm);for(var S=0;S<w.length;S++)w[S]=w[S].trim();switch(w.length){case 1:D.id=mh(),D.startTime={type:"prevTaskEnd",id:p},D.endTime={data:w[0]};break;case 2:D.id=mh(),D.startTime={type:"getStartDate",startData:w[0]},D.endTime={data:w[1]};break;case 3:D.id=mh(w[0]),D.startTime={type:"getStartDate",startData:w[1]},D.endTime={data:w[2]}}return D}(mf,n);o.raw.startTime=l.startTime,o.raw.endTime=l.endTime,o.id=l.id,o.prevTaskId=mf,o.active=l.active,o.done=l.done,o.crit=l.crit,o.milestone=l.milestone,o.order=gh,gh++;var _=Mr.push(o);mf=o.id,G_[o.id]=_-1},findTaskById:vh,addTaskOrg:function(e,n){var o={section:ph,type:ph,description:e,task:e,classes:[]},l=function(_,p){var m=(":"===p.substr(0,1)?p.substr(1,p.length):p).split(","),w={};W_(m,w,gm);for(var D=0;D<m.length;D++)m[D]=m[D].trim();var S="";switch(m.length){case 1:w.id=mh(),w.startTime=_.endTime,S=m[0];break;case 2:w.id=mh(),w.startTime=mm(0,Js,m[0]),S=m[1];break;case 3:w.id=mh(m[0]),w.startTime=mm(0,Js,m[1]),S=m[2]}return S&&(w.endTime=eb(w.startTime,Js,S,yf),w.manualEndTime=c()(S,"YYYY-MM-DD",!0).isValid(),Xx(w,Js,Ql,_h)),w}(V_,n);o.startTime=l.startTime,o.endTime=l.endTime,o.id=l.id,o.active=l.active,o.done=l.done,o.crit=l.crit,o.milestone=l.milestone,V_=o,vf.push(o)},setIncludes:function(e){_h=e.toLowerCase().split(/[\s,]+/)},getIncludes:function(){return _h},setExcludes:function(e){Ql=e.toLowerCase().split(/[\s,]+/)},getExcludes:function(){return Ql},setClickEvent:function(e,n,o){e.split(",").forEach(function(l){!function(_,p,m){if("loose"===oe().securityLevel&&void 0!==p){var w=[];if("string"==typeof m){w=m.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(var D=0;D<w.length;D++){var S=w[D].trim();'"'===S.charAt(0)&&'"'===S.charAt(S.length-1)&&(S=S.substr(1,S.length-2)),w[D]=S}}0===w.length&&w.push(_),void 0!==vh(_)&&K_(_,function(){var N;ri.runFunc.apply(ri,[p].concat(function(q){if(Array.isArray(q))return _m(q)}(N=w)||function(q){if(typeof Symbol<"u"&&null!=q[Symbol.iterator]||null!=q["@@iterator"])return Array.from(q)}(N)||function(q,H){if(q){if("string"==typeof q)return _m(q,H);var G=Object.prototype.toString.call(q).slice(8,-1);return"Object"===G&&q.constructor&&(G=q.constructor.name),"Map"===G||"Set"===G?Array.from(q):"Arguments"===G||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(G)?_m(q,H):void 0}}(N)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))})}}(l,n,o)}),nb(e,"clickable")},setLink:function(e,n){var o=n;"loose"!==oe().securityLevel&&(o=(0,Pl.sanitizeUrl)(n)),e.split(",").forEach(function(l){void 0!==vh(l)&&(K_(l,function(){window.open(o,"_self")}),$_[l]=o)}),nb(e,"clickable")},getLinks:function(){return $_},bindFunctions:function(e){j_.forEach(function(n){n(e)})},durationToDate:vm,isInvalidDate:xf};function W_(e,n,o){for(var l=!0;l;)l=!1,o.forEach(function(_){var p=new RegExp("^\\s*"+_+"\\s*$");e[0].match(p)&&(n[_]=!0,e.shift(1),l=!0)})}var pc,za=i(9959),ib=i.n(za);za.parser.yy=yh;const QT=function(e,n){var o=oe().gantt;za.parser.yy.clear(),za.parser.parse(e);var l,_=oe().securityLevel;"sandbox"===_&&(l=on("#i"+n));var p=on("sandbox"===_?l.nodes()[0].contentDocument.body:"body"),m="sandbox"===_?l.nodes()[0].contentDocument:document,w=m.getElementById(n);void 0===(pc=w.parentElement.offsetWidth)&&(pc=1200),void 0!==o.useWidth&&(pc=o.useWidth);var D=za.parser.yy.getTasks(),S=D.length*(o.barHeight+o.barGap)+2*o.topPadding;w.setAttribute("viewBox","0 0 "+pc+" "+S);for(var N=p.select('[id="'.concat(n,'"]')),q=function(){return zp.apply(Po(E2,I2,da,o0,dl,vu,i0,Vh,mu,F2).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}().domain([B(D,function(st){return st.startTime}),F(D,function(st){return st.endTime})]).rangeRound([0,pc-o.leftPadding-o.rightPadding]),H=[],G=0;G<D.length;G++)H.push(D[G].type);var st,Dt,vt,Et,Mt,Kt,re,_t=H;H=function(st){for(var Dt={},vt=[],Et=0,Mt=st.length;Et<Mt;++Et)Object.prototype.hasOwnProperty.call(Dt,st[Et])||(Dt[st[Et]]=!0,vt.push(st[Et]));return vt}(H),D.sort(function(st,Dt){var vt=st.startTime,Et=Dt.startTime,Mt=0;return vt>Et?Mt=1:vt<Et&&(Mt=-1),Mt}),st=D,Dt=pc,vt=S,Mt=(Et=o.barHeight)+o.barGap,Kt=o.topPadding,re=o.leftPadding,m2().domain([0,H.length]).range(["#00B9FA","#F95002"]).interpolate(q6),function(qt,Xt,_e,It,Ut,Ft,xt,$t){var wt=Ft.reduce(function(Ie,we){var Je=we.startTime;return Ie?Math.min(Ie,Je):Je},0),Se=Ft.reduce(function(Ie,we){var Je=we.endTime;return Ie?Math.max(Ie,Je):Je},0),Ne=za.parser.yy.getDateFormat();if(wt&&Se){for(var ge=[],Ce=null,Ue=c()(wt);Ue.valueOf()<=Se;)za.parser.yy.isInvalidDate(Ue,Ne,xt,$t)?Ce?Ce.end=Ue.clone():Ce={start:Ue.clone(),end:Ue.clone()}:Ce&&(ge.push(Ce),Ce=null),Ue.add(1,"d");N.append("g").selectAll("rect").data(ge).enter().append("rect").attr("id",function(Ie){return"exclude-"+Ie.start.format("YYYY-MM-DD")}).attr("x",function(Ie){return q(Ie.start)+_e}).attr("y",o.gridLineStartPadding).attr("width",function(Ie){var we=Ie.end.clone().add(1,"day");return q(we)-q(Ie.start)}).attr("height",Ut-Xt-o.gridLineStartPadding).attr("transform-origin",function(Ie,we){return(q(Ie.start)+_e+.5*(q(Ie.end)-q(Ie.start))).toString()+"px "+(we*qt+.5*Ut).toString()+"px"}).attr("class","exclude-range")}}(Mt,Kt,re,0,vt,st,za.parser.yy.getExcludes(),za.parser.yy.getIncludes()),function(qt,Xt,_e,It){var Ut,$t,Ft=(Ut=q,dt(3,Ut)).tickSize(-It+Xt+o.gridLineStartPadding).tickFormat(M0(za.parser.yy.getAxisFormat()||o.axisFormat||"%Y-%m-%d"));if(N.append("g").attr("class","grid").attr("transform","translate("+qt+", "+(It-50)+")").call(Ft).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),yh.topAxisEnabled()||o.topAxis){var xt=($t=q,dt(1,$t)).tickSize(-It+Xt+o.gridLineStartPadding).tickFormat(M0(za.parser.yy.getAxisFormat()||o.axisFormat||"%Y-%m-%d"));N.append("g").attr("class","grid").attr("transform","translate("+qt+", "+Xt+")").call(xt).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(re,Kt,0,vt),function(qt,Xt,_e,It,Ut,Ft,xt){N.append("g").selectAll("rect").data(qt).enter().append("rect").attr("x",0).attr("y",function(ge,Ce){return ge.order*Xt+_e-2}).attr("width",function(){return xt-o.rightPadding/2}).attr("height",Xt).attr("class",function(ge){for(var Ce=0;Ce<H.length;
1Ce++)if(ge.type===H[Ce])return"section section"+Ce%o.numberSectionStyles;return"section section0"});var $t=N.append("g").selectAll("rect").data(qt).enter(),wt=yh.getLinks();if($t.append("rect").attr("id",function(ge){return ge.id}).attr("rx",3).attr("ry",3).attr("x",function(ge){return ge.milestone?q(ge.startTime)+It+.5*(q(ge.endTime)-q(ge.startTime))-.5*Ut:q(ge.startTime)+It}).attr("y",function(ge,Ce){return ge.order*Xt+_e}).attr("width",function(ge){return ge.milestone?Ut:q(ge.renderEndTime||ge.endTime)-q(ge.startTime)}).attr("height",Ut).attr("transform-origin",function(ge,Ce){return Ce=ge.order,(q(ge.startTime)+It+.5*(q(ge.endTime)-q(ge.startTime))).toString()+"px "+(Ce*Xt+_e+.5*Ut).toString()+"px"}).attr("class",function(ge){var Ce="";ge.classes.length>0&&(Ce=ge.classes.join(" "));for(var Ue=0,Ie=0;Ie<H.length;Ie++)ge.type===H[Ie]&&(Ue=Ie%o.numberSectionStyles);var we="";return ge.active?ge.crit?we+=" activeCrit":we=" active":ge.done?we=ge.crit?" doneCrit":" done":ge.crit&&(we+=" crit"),0===we.length&&(we=" task"),ge.milestone&&(we=" milestone "+we),"task"+(we+=Ue)+" "+Ce}),$t.append("text").attr("id",function(ge){return ge.id+"-text"}).text(function(ge){return ge.task}).attr("font-size",o.fontSize).attr("x",function(ge){var Ce=q(ge.startTime),Ue=q(ge.renderEndTime||ge.endTime);ge.milestone&&(Ce+=.5*(q(ge.endTime)-q(ge.startTime))-.5*Ut),ge.milestone&&(Ue=Ce+Ut);var Ie=this.getBBox().width;return Ie>Ue-Ce?Ue+Ie+1.5*o.leftPadding>xt?Ce+It-5:Ue+It+5:(Ue-Ce)/2+Ce+It}).attr("y",function(ge,Ce){return ge.order*Xt+o.barHeight/2+(o.fontSize/2-2)+_e}).attr("text-height",Ut).attr("class",function(ge){var Ce=q(ge.startTime),Ue=q(ge.endTime);ge.milestone&&(Ue=Ce+Ut);var Ie=this.getBBox().width,we="";ge.classes.length>0&&(we=ge.classes.join(" "));for(var Je=0,Ke=0;Ke<H.length;Ke++)ge.type===H[Ke]&&(Je=Ke%o.numberSectionStyles);var Ye="";return ge.active&&(Ye=ge.crit?"activeCritText"+Je:"activeText"+Je),ge.done?Ye=ge.crit?Ye+" doneCritText"+Je:Ye+" doneText"+Je:ge.crit&&(Ye=Ye+" critText"+Je),ge.milestone&&(Ye+=" milestoneText"),Ie>Ue-Ce?Ue+Ie+1.5*o.leftPadding>xt?we+" taskTextOutsideLeft taskTextOutside"+Je+" "+Ye:we+" taskTextOutsideRight taskTextOutside"+Je+" "+Ye+" width-"+Ie:we+" taskText taskText"+Je+" "+Ye+" width-"+Ie}),"sandbox"===oe().securityLevel){var Se;Se=on("#i"+n),on(Se.nodes()[0].contentDocument.body);var Ne=Se.nodes()[0].contentDocument;$t.filter(function(ge){return void 0!==wt[ge.id]}).each(function(ge){var Ce=Ne.querySelector("#"+ge.id),Ue=Ne.querySelector("#"+ge.id+"-text"),Ie=Ce.parentNode,we=Ne.createElement("a");we.setAttribute("xlink:href",wt[ge.id]),we.setAttribute("target","_top"),Ie.appendChild(we),we.appendChild(Ce),we.appendChild(Ue)})}}(st,Mt,Kt,re,Et,0,Dt),function(qt,Xt){for(var _e=[],It=0,Ut=0;Ut<H.length;Ut++)_e[Ut]=[H[Ut],(Ft=H[Ut],xt=_t,function($t){for(var wt=$t.length,Se={};wt;)Se[$t[--wt]]=(Se[$t[wt]]||0)+1;return Se}(xt)[Ft]||0)];var Ft,xt;N.append("g").selectAll("text").data(_e).enter().append(function($t){var wt=$t[0].split(Si.lineBreakRegex),Se=-(wt.length-1)/2,Ne=m.createElementNS("http://www.w3.org/2000/svg","text");Ne.setAttribute("dy",Se+"em");for(var ge=0;ge<wt.length;ge++){var Ce=m.createElementNS("http://www.w3.org/2000/svg","tspan");Ce.setAttribute("alignment-baseline","central"),Ce.setAttribute("x","10"),ge>0&&Ce.setAttribute("dy","1em"),Ce.textContent=wt[ge],Ne.appendChild(Ce)}return Ne}).attr("x",10).attr("y",function($t,wt){if(!(wt>0))return $t[1]*qt/2+Xt;for(var Se=0;Se<wt;Se++)return $t[1]*qt/2+(It+=_e[wt-1][1])*qt+Xt}).attr("font-size",o.sectionFontSize).attr("font-size",o.sectionFontSize).attr("class",function($t){for(var wt=0;wt<H.length;wt++)if($t[0]===H[wt])return"sectionTitle sectionTitle"+wt%o.numberSectionStyles;return"sectionTitle"})}(Mt,Kt),function(qt,Xt,_e,It){var Ut=yh.getTodayMarker();if("off"!==Ut){var Ft=N.append("g").attr("class","today"),xt=new Date,$t=Ft.append("line");$t.attr("x1",q(xt)+qt).attr("x2",q(xt)+qt).attr("y1",o.titleTopMargin).attr("y2",It-o.titleTopMargin).attr("class","today"),""!==Ut&&$t.attr("style",Ut.replace(/,/g,";"))}}(re,0,0,vt),ga(N,S,pc,o.useMaxWidth),N.append("text").text(za.parser.yy.getTitle()).attr("x",pc/2).attr("y",o.titleTopMargin).attr("class","titleText")};var Yr={},ia=null,io={master:ia},Ys="master",xm="LR",X_=0;function bm(){return Yg({length:7})}function xh(e,n){v.debug("Entering isfastforwardable:",e.id,n.id);for(var o=0;e.seq<=n.seq&&e!==n&&o<1e3&&(o++,null!=n.parent);){if(Array.isArray(n.parent))return v.debug("In merge commit:",n.parent),xh(e,Yr[n.parent[0]])||xh(e,Yr[n.parent[1]]);n=Yr[n.parent]}return v.debug(e.id,n.id),e.id===n.id}var bf={};function wm(e,n,o){var l=e.indexOf(n);-1===l?e.push(o):e.splice(l,1,o)}function Tm(e){var n=e.reduce(function(N,q){return N.seq>q.seq?N:q},e[0]),o="";e.forEach(function(N){o+=N===n?"\t*":"\t|"});var l,_,p,m=[o,n.id,n.seq];for(var w in io)io[w]===n.id&&m.push(w);if(v.debug(m.join(" ")),Array.isArray(n.parent))wm(e,n,Yr[n.parent[0]]),e.push(Yr[n.parent[1]]);else{if(null==n.parent)return;wm(e,n,Yr[n.parent])}l=e,_=function(N){return N.id},p=Object.create(null),Tm(e=l.reduce(function(N,q){var H=_(q);return p[H]||(p[H]=!0,N.push(q)),N},[]))}var rb=function(){var e=Object.keys(Yr).map(function(n){return Yr[n]});return e.forEach(function(n){v.debug(n.id)}),e.sort(function(n,o){return o.seq-n.seq}),e};const bh={setDirection:function(e){xm=e},setOptions:function(e){v.debug("options str",e),e=(e=e&&e.trim())||"{}";try{bf=JSON.parse(e)}catch(n){v.error("error while parsing gitGraph options",n.message)}},getOptions:function(){return bf},commit:function(e){var n={id:bm(),message:e,seq:X_++,parent:null==ia?null:ia.id};ia=n,Yr[n.id]=n,io[Ys]=n.id,v.debug("in pushCommit "+n.id)},branch:function(e){io[e]=null!=ia?ia.id:null,v.debug("in createBranch")},merge:function(e){var _,p,n=Yr[io[Ys]],o=Yr[io[e]];if((_=n).seq>(p=o).seq&&xh(p,_))v.debug("Already merged");else{if(xh(n,o))io[Ys]=io[e],ia=Yr[io[Ys]];else{var l={id:bm(),message:"merged branch "+e+" into "+Ys,seq:X_++,parent:[null==ia?null:ia.id,io[e]]};ia=l,Yr[l.id]=l,io[Ys]=l.id}v.debug(io),v.debug("in mergeBranch")}},checkout:function(e){v.debug("in checkout");var n=io[Ys=e];ia=Yr[n]},reset:function(e){v.debug("in reset",e);var n=e.split(":")[0],o=parseInt(e.split(":")[1]),l="HEAD"===n?ia:Yr[io[n]];for(v.debug(l,o);o>0;)if(o--,!(l=Yr[l.parent])){var _="Critical error - unique parent commit not found during reset";throw v.error(_),_}ia=l,io[Ys]=l.id},prettyPrint:function(){v.debug(Yr),Tm([rb()[0]])},clear:function(){Yr={},io={master:ia=null},Ys="master",X_=0},getBranchesAsObjArray:function(){var e=[];for(var n in io)e.push({name:n,commit:Yr[io[n]]});return e},getBranches:function(){return io},getCommits:function(){return Yr},getCommitsArray:rb,getCurrentBranch:function(){return Ys},getDirection:function(){return xm},getHead:function(){return ia}};var $l,ob=i(2553),ab=i.n(ob),gs={}
1,xi={nodeSpacing:150,nodeFillColor:"yellow",nodeStrokeWidth:2,nodeStrokeColor:"grey",lineStrokeWidth:4,branchOffset:50,lineColor:"grey",leftMargin:50,branchColors:["#442f74","#983351","#609732","#AA9A39"],nodeRadius:10,nodeLabel:{width:75,height:100,x:-25,y:0}},sb={};function wh(e,n,o,l){var _=_s(l,Kr),p=xi.branchColors[o%xi.branchColors.length],m=Bc().x(function(w){return Math.round(w.x)}).y(function(w){return Math.round(w.y)}).curve(_);e.append("svg:path").attr("d",m(n)).style("stroke",p).style("stroke-width",xi.lineStrokeWidth).style("fill","none")}function jl(e,n){n=n||e.node().getBBox();var o=e.node().getCTM();return{left:o.e+n.x*o.a,top:o.f+n.y*o.d,width:n.width,height:n.height}}function Wc(e,n,o,l,_){v.debug("svgDrawLineForCommits: ",n,o);var p=jl(e.select("#node-"+n+" circle")),m=jl(e.select("#node-"+o+" circle"));switch(l){case"LR":if(p.left-m.left>xi.nodeSpacing){var w={x:p.left-xi.nodeSpacing,y:m.top+m.height/2};wh(e,[w,{x:m.left+m.width,y:m.top+m.height/2}],_,"linear"),wh(e,[{x:p.left,y:p.top+p.height/2},{x:p.left-xi.nodeSpacing/2,y:p.top+p.height/2},{x:p.left-xi.nodeSpacing/2,y:w.y},w],_)}else wh(e,[{x:p.left,y:p.top+p.height/2},{x:p.left-xi.nodeSpacing/2,y:p.top+p.height/2},{x:p.left-xi.nodeSpacing/2,y:m.top+m.height/2},{x:m.left+m.width,y:m.top+m.height/2}],_);break;case"BT":if(m.top-p.top>xi.nodeSpacing){var D={x:m.left+m.width/2,y:p.top+p.height+xi.nodeSpacing};wh(e,[D,{x:m.left+m.width/2,y:m.top}],_,"linear"),wh(e,[{x:p.left+p.width/2,y:p.top+p.height},{x:p.left+p.width/2,y:p.top+p.height+xi.nodeSpacing/2},{x:m.left+m.width/2,y:D.y-xi.nodeSpacing/2},D],_)}else wh(e,[{x:p.left+p.width/2,y:p.top+p.height},{x:p.left+p.width/2,y:p.top+xi.nodeSpacing/2},{x:m.left+m.width/2,y:m.top-xi.nodeSpacing/2},{x:m.left+m.width/2,y:m.top}],_)}}function $T(e,n){return e.select(n).node().cloneNode(!0)}function Cm(e,n,o,l){var _,p=Object.keys(gs).length;if("string"==typeof n){var m=0;do{if(m++,v.debug("in renderCommitHistory",(_=gs[n]).id,_.seq),e.select("#node-"+n).size()>0)return;e.append(function(){return $T(e,"#def-commit")}).attr("class","commit").attr("id",function(){return"node-"+_.id}).attr("transform",function(){switch(l){case"LR":return"translate("+(_.seq*xi.nodeSpacing+xi.leftMargin)+", "+$l*xi.branchOffset+")";case"BT":return"translate("+($l*xi.branchOffset+xi.leftMargin)+", "+(p-_.seq)*xi.nodeSpacing+")"}}).attr("fill",xi.nodeFillColor).attr("stroke",xi.nodeStrokeColor).attr("stroke-width",xi.nodeStrokeWidth);var w=void 0;for(var D in o)if(o[D].commit===_){w=o[D];break}w&&(v.debug("found branch ",w.name),e.select("#node-"+_.id+" p").append("xhtml:span").attr("class","branch-label").text(w.name+", ")),e.select("#node-"+_.id+" p").append("xhtml:span").attr("class","commit-id").text(_.id),""!==_.message&&"BT"===l&&e.select("#node-"+_.id+" p").append("xhtml:span").attr("class","commit-msg").text(", "+_.message),n=_.parent}while(n&&gs[n]&&m<1e3)}Array.isArray(n)&&(v.debug("found merge commmit",n),Cm(e,n[0],o,l),$l++,Cm(e,n[1],o,l),$l--)}function cb(e,n,o,l){l=l||0;for(var _=0;n.seq>0&&!n.lineDrawn&&_<1e3;)_++,"string"==typeof n.parent?(Wc(e,n.id,n.parent,o,l),n.lineDrawn=!0,n=gs[n.parent]):Array.isArray(n.parent)&&(Wc(e,n.id,n.parent[0],o,l),Wc(e,n.id,n.parent[1],o,l+1),cb(e,gs[n.parent[1]],o,l+1),n.lineDrawn=!0,n=gs[n.parent[0]])}const lb=function(e){sb=e};var ub="",hb=!1;const km={setMessage:function(e){v.debug("Setting message to: "+e),ub=e},getMessage:function(){return ub},setInfo:function(e){hb=e},getInfo:function(){return hb}};var jT=i(6765),Dm=i.n(jT),db={};const fb=function(e){Object.keys(e).forEach(function(n){db[n]=e[n]})};var GT=i(7062),_b=i.n(GT),wf={},Sm="",Am=!1;const Em={parseDirective:function(e,n,o){Uo.parseDirective(this,e,n,o)},getConfig:function(){return oe().pie},addSection:function(e,n){void 0===wf[e]&&(wf[e]=n,v.debug("Added new section :",e))},getSections:function(){return wf},cleanupValue:function(e){return":"===e.substring(0,1)&&(e=e.substring(1).trim()),Number(e.trim())},clear:function(){wf={},Sm="",Am=!1},setTitle:function(e){Sm=e},getTitle:function(){return Sm},setShowData:function(e){Am=e},getShowData:function(){return Am}};var Xc,gc=oe();const pb=function(e,n){try{gc=oe();var o=_b().parser;o.yy=Em,v.debug("Rendering info diagram\n"+e);var l,_=oe().securityLevel;"sandbox"===_&&(l=on("#i"+n));var p=on("sandbox"===_?l.nodes()[0].contentDocument.body:"body"),m="sandbox"===_?l.nodes()[0].contentDocument:document;o.yy.clear(),o.parse(e),v.debug("Parsed info diagram");var w=m.getElementById(n);void 0===(Xc=w.parentElement.offsetWidth)&&(Xc=1200),void 0!==gc.useWidth&&(Xc=gc.useWidth),void 0!==gc.pie.useW
1idth&&(Xc=gc.pie.useWidth);var D=p.select("#"+n);ga(D,450,Xc,gc.pie.useMaxWidth),w.setAttribute("viewBox","0 0 "+Xc+" 450");var S=Math.min(Xc,450)/2-40,N=D.append("g").attr("transform","translate("+Xc/2+",225)"),q=Em.getSections(),H=0;Object.keys(q).forEach(function(Kt){H+=q[Kt]});var G=gc.themeVariables,_t=[G.pie1,G.pie2,G.pie3,G.pie4,G.pie5,G.pie6,G.pie7,G.pie8,G.pie9,G.pie10,G.pie11,G.pie12],st=t0().range(_t),Dt=function(){var Kt=D0,re=k0,qt=null,Xt=Or(0),_e=Or(yr),It=Or(0);function Ut(Ft){var xt,$t,wt,Se,Ne,ge=(Ft=nd(Ft)).length,Ce=0,Ue=new Array(ge),Ie=new Array(ge),we=+Xt.apply(this,arguments),Je=Math.min(yr,Math.max(-yr,_e.apply(this,arguments)-we)),Ke=Math.min(Math.abs(Je)/ge,It.apply(this,arguments)),Ye=Ke*(Je<0?-1:1);for(xt=0;xt<ge;++xt)(Ne=Ie[Ue[xt]=xt]=+Kt(Ft[xt],xt,Ft))>0&&(Ce+=Ne);for(null!=re?Ue.sort(function(Ln,je){return re(Ie[Ln],Ie[je])}):null!=qt&&Ue.sort(function(Ln,je){return qt(Ft[Ln],Ft[je])}),xt=0,wt=Ce?(Je-ge*Ye)/Ce:0;xt<ge;++xt,we=Se)Se=we+((Ne=Ie[$t=Ue[xt]])>0?Ne*wt:0)+Ye,Ie[$t]={data:Ft[$t],index:xt,value:Ne,startAngle:we,endAngle:Se,padAngle:Ke};return Ie}return Ut.value=function(Ft){return arguments.length?(Kt="function"==typeof Ft?Ft:Or(+Ft),Ut):Kt},Ut.sortValues=function(Ft){return arguments.length?(re=Ft,qt=null,Ut):re},Ut.sort=function(Ft){return arguments.length?(qt=Ft,re=null,Ut):qt},Ut.startAngle=function(Ft){return arguments.length?(Xt="function"==typeof Ft?Ft:Or(+Ft),Ut):Xt},Ut.endAngle=function(Ft){return arguments.length?(_e="function"==typeof Ft?Ft:Or(+Ft),Ut):_e},Ut.padAngle=function(Ft){return arguments.length?(It="function"==typeof Ft?Ft:Or(+Ft),Ut):It},Ut}().value(function(Kt){return Kt[1]}),vt=Dt(Object.entries(q)),Et=Fu().innerRadius(0).outerRadius(S);N.selectAll("mySlices").data(vt).enter().append("path").attr("d",Et).attr("fill",function(Kt){return st(Kt.data[0])}).attr("class","pieCircle"),N.selectAll("mySlices").data(vt).enter().append("text").text(function(Kt){return(Kt.data[1]/H*100).toFixed(0)+"%"}).attr("transform",function(Kt){return"translate("+Et.centroid(Kt)+")"}).style("text-anchor","middle").attr("class","slice"),N.append("text").text(o.yy.getTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var Mt=N.selectAll(".legend").data(st.domain()).enter().append("g").attr("class","legend").attr("transform",function(Kt,re){return"translate(216,"+(22*re-22*st.domain().length/2)+")"});Mt.append("rect").attr("width",18).attr("height",18).style("fill",st).style("stroke",st),Mt.data(vt).append("text").attr("x",22).attr("y",14).text(function(Kt){return o.yy.getShowData()||gc.showData||gc.pie.showData?Kt.data[0]+" ["+Kt.data[1]+"]":Kt.data[0]})}catch(Kt){v.error("Error while rendering info diagram"),v.error(Kt)}};var tp=i(3176),zT=i.n(tp),Tf=[],Lo={},mc={},Ka={},Th={};const Gl={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},parseDirective:function(e,n,o){Uo.parseDirective(this,e,n,o)},getConfig:function(){return oe().req},addRequirement:function(e,n){return void 0===mc[e]&&(mc[e]={name:e,type:n,id:Lo.id,text:Lo.text,risk:Lo.risk,verifyMethod:Lo.verifyMethod}),Lo={},mc[e]},getRequirements:function(){return mc},setNewReqId:function(e){void 0!==Lo&&(Lo.id=e)},setNewReqText:function(e){void 0!==Lo&&(Lo.text=e)},setNewReqRisk:function(e){void 0!==Lo&&(Lo.risk=e)},setNewReqVerifyMethod:function(e){void 0!==Lo&&(Lo.verifyMethod=e)},addElement:function(e){return void 0===Th[e]&&(Th[e]={name:e,type:Ka.type,docRef:Ka.docRef},v.info("Added new requirement: ",e)),Ka={},Th[e]},getElements:function(){return Th},setNewElementType:function(e){void 0!==Ka&&(Ka.type=e)},setNewElementDocRef:function(e){void 0!==Ka&&(Ka.docRef=e)},addRelationship:function(e,n,o){Tf.push({type:e,src:n,dst:o})},getRelationships:function(){return Tf},clear:function(){Tf=[],Lo={},mc={},Ka={},Th={}}};var zl={CONTAINS:"contains",ARROW:"arrow"};const Cf=zl;var Nr={},gb=0,mb=function(e,n){return e.insert("rect","#"+n).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",Nr.rect_min_width+"px").attr("height",Nr.rect_min_height+"px")}
1,vb=function(e,n,o){var l=Nr.rect_min_width/2,_=e.append("text").attr("class","req reqLabel reqTitle").attr("id",n).attr("x",l).attr("y",Nr.rect_padding).attr("dominant-baseline","hanging"),p=0;o.forEach(function(w){0==p?_.append("tspan").attr("text-anchor","middle").attr("x",Nr.rect_min_width/2).attr("dy",0).text(w):_.append("tspan").attr("text-anchor","middle").attr("x",Nr.rect_min_width/2).attr("dy",.75*Nr.line_height).text(w),p++});var m=1.5*Nr.rect_padding+p*Nr.line_height*.75;return e.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",Nr.rect_min_width).attr("y1",m).attr("y2",m),{titleNode:_,y:m}},Im=function(e,n,o,l){var _=e.append("text").attr("class","req reqLabel").attr("id",n).attr("x",Nr.rect_padding).attr("y",l).attr("dominant-baseline","hanging"),p=0,m=[];return o.forEach(function(w){for(var D=w.length;D>30&&p<3;){var S=w.substring(0,30);D=(w=w.substring(30,w.length)).length,m[m.length]=S,p++}if(3==p){var N=m[m.length-1];m[m.length-1]=N.substring(0,N.length-4)+"..."}else m[m.length]=w;p=0}),m.forEach(function(w){_.append("tspan").attr("x",Nr.rect_padding).attr("dy",Nr.line_height).text(w)}),_},Ch=function(e){return e.replace(/\s/g,"").replace(/\./g,"_")};const ep=function(e){if(void 0!==e)for(var n=Object.keys(e),o=0;o<n.length;o++)Nr[n[o]]=e[n[o]]};var _n=i(6876),kh=i.n(_n),qs=void 0,vc={},Vs=[],xb=[],np="",bb=!1,wb=!1,Fm=!1,Mm=function(e,n,o,l){var _=vc[e];_&&n===_.name&&null==o||(null!=o&&null!=o.text||(o={text:n,wrap:null,type:l}),null!=l&&null!=o.text||(o={text:n,wrap:null,type:l}),vc[e]={name:n,description:o.text,wrap:void 0===o.wrap&&Br()||!!o.wrap,prevActor:qs,links:{},properties:{},actorCnt:null,rectData:null,type:l||"participant"},qs&&vc[qs]&&(vc[qs].nextActor=e),qs=e)},Dh=function(e){var n,o=0;for(n=0;n<Vs.length;n++)Vs[n].type===Ji.ACTIVE_START&&Vs[n].from.actor===e&&o++,Vs[n].type===Ji.ACTIVE_END&&Vs[n].from.actor===e&&o--;return o},qr=function(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{text:void 0,wrap:void 0},l=arguments.length>3?arguments[3]:void 0;if(l===Ji.ACTIVE_END){var _=Dh(e.actor);if(_<1){var p=new Error("Trying to inactivate an inactive participant ("+e.actor+")");throw p.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},p}}return Vs.push({from:e,to:n,message:o.text,wrap:void 0===o.wrap&&Br()||!!o.wrap,type:l}),!0},yc=function(e){return vc[e]},Br=function(){return Fm},Ji={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},Tb=function(e,n,o){var l={actor:e,placement:n,message:o.text,wrap:void 0===o.wrap&&Br()||!!o.wrap},_=[].concat(e,e);xb.push(l),Vs.push({from:_[0],to:_[1],message:o.text,wrap:void 0===o.wrap&&Br()||!!o.wrap,type:Ji.NOTE,placement:n})},Cb=function(e,n){var o=yc(e);try{var l=Rl(n.text,oe());l=(l=l.replace(/&/g,"&")).replace(/=/g,"="),Nm(o,JSON.parse(l))}catch(_){v.error("error while parsing actor link text",_)}};function Nm(e,n){if(null==e.links)e.links=n;else for(var o in n)e.links[o]=n[o]}var ip=function(e,n){var o=yc(e);try{var l=Rl(n.text,oe());kb(o,JSON.parse(l))}catch(_){v.error("error while parsing actor properties text",_)}};function kb(e,n){if(null==e.properties)e.properties=n;else for(var o in n)e.properties[o]=n[o]}var kf=function(e,n){var o=yc(e),l=document.getElementById(n.text);try{var p=JSON.parse(l.innerHTML);p.properties&&kb(o,p.properties),p.links&&Nm(o,p.links)}catch(m){v.error("error while parsing actor details text",m)}},Db=function(e){np=e.text,bb=void 0===e.wrap&&Br()||!!e.wrap};const ms={addActor:Mm,addMessage:function(e,n,o,l){Vs.push({from:e,to:n,message:o.text,wrap:void 0===o.wrap&&Br()||!!o.wrap,answer:l})},addSignal:qr,addLinks:Cb,addDetails:kf,addProperties:ip,autoWrap:Br,setWrap:function(e){Fm=e},enableSequenceNumbers:function(){wb=!0},showSequenceNumbers:function(){return wb},getMessages:function(){return Vs}
1,getActors:function(){return vc},getActor:yc,getActorKeys:function(){return Object.keys(vc)},getActorProperty:function(e,n){if(void 0!==e&&void 0!==e.properties)return e.properties[n]},getTitle:function(){return np},parseDirective:function(e,n,o){Uo.parseDirective(this,e,n,o)},getConfig:function(){return oe().sequence},getTitleWrapped:function(){return bb},clear:function(){vc={},Vs=[]},parseMessage:function(e){var n=e.trim(),o={text:n.replace(/^[:]?(?:no)?wrap:/,"").trim(),wrap:null!==n.match(/^[:]?wrap:/)||null===n.match(/^[:]?nowrap:/)&&void 0};return v.debug("parseMessage:",o),o},LINETYPE:Ji,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:Tb,setTitle:Db,apply:function e(n){if(n instanceof Array)n.forEach(function(o){e(o)});else switch(n.type){case"addParticipant":Mm(n.actor,n.actor,n.description,"participant");break;case"addActor":Mm(n.actor,n.actor,n.description,"actor");break;case"activeStart":case"activeEnd":qr(n.actor,void 0,void 0,n.signalType);break;case"addNote":Tb(n.actor,n.placement,n.text);break;case"addLinks":Cb(n.actor,n.text);break;case"addALink":!function(o,l){var _=yc(o);try{var p={},m=Rl(l.text,oe()),w=m.indexOf("@"),D=(m=(m=m.replace(/&/g,"&")).replace(/=/g,"=")).slice(0,w-1).trim(),S=m.slice(w+1).trim();p[D]=S,Nm(_,p)}catch(N){v.error("error while parsing actor link text",N)}}(n.actor,n.text);break;case"addProperties":ip(n.actor,n.text);break;case"addDetails":kf(n.actor,n.text);break;case"addMessage":qr(n.from,n.to,n.msg,n.signalType);break;case"loopStart":qr(void 0,void 0,n.loopText,n.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":qr(void 0,void 0,void 0,n.signalType);break;case"rectStart":qr(void 0,void 0,n.color,n.signalType);break;case"optStart":qr(void 0,void 0,n.optText,n.signalType);break;case"altStart":case"else":qr(void 0,void 0,n.altText,n.signalType);break;case"setTitle":Db(n.text);break;case"parStart":case"and":qr(void 0,void 0,n.parText,n.signalType)}}};var Sh=[],Df=function(e,n){var o=e.append("rect");return o.attr("x",n.x),o.attr("y",n.y),o.attr("fill",n.fill),o.attr("stroke",n.stroke),o.attr("width",n.width),o.attr("height",n.height),o.attr("rx",n.rx),o.attr("ry",n.ry),void 0!==n.class&&o.attr("class",n.class),o},rp=function(e,n){Sh.push(function(){var l=document.querySelectorAll(e);0!==l.length&&(l[0].addEventListener("mouseover",function(){WT("actor"+n+"_popup")}),l[0].addEventListener("mouseout",function(){Sb("actor"+n+"_popup")}))})},WT=function(e){var n=document.getElementById(e);null!=n&&(n.style.display="block")},Sb=function(e){var n=document.getElementById(e);null!=n&&(n.style.display="none")},Af=function(e,n){var o=0,l=0,_=n.text.split(Si.lineBreakRegex),p=[],m=0,w=function(){return n.y};if(void 0!==n.valign&&void 0!==n.textMargin&&n.textMargin>0)switch(n.valign){case"top":case"start":w=function(){return Math.round(n.y+n.textMargin)};break;case"middle":case"center":w=function(){return Math.round(n.y+(o+l+n.textMargin)/2)};break;case"bottom":case"end":w=function(){return Math.round(n.y+(o+l+2*n.textMargin)-n.textMargin)}}if(void 0!==n.anchor&&void 0!==n.textMargin&&void 0!==n.width)switch(n.anchor){case"left":case"start":n.x=Math.round(n.x+n.textMargin),n.anchor="start",n.dominantBaseline="text-after-edge",n.alignmentBaseline="middle";break;case"middle":case"center":n.x=Math.round(n.x+n.width/2),n.anchor="middle",n.dominantBaseline="middle",n.alignmentBaseline="middle";break;case"right":case"end":n.x=Math.round(n.x+n.width-n.textMargin),n.anchor="end",n.dominantBaseline="text-before-edge",n.alignmentBaseline="middle"}for(var D=0;D<_.length;D++){var S=_[D];void 0!==n.textMargin&&0===n.textMargin&&void 0!==n.fontSize&&(m=D*n.fontSize);var N=e.append("text");if(N.attr("x",n.x),N.attr("y",w()),void 0!==n.anchor&&N.attr("text-anchor",n.anchor).attr("dominant-baseline",n.dominantBaseline).attr("alignment-baseline",n.alignmentBaseline),void 0!==n.fontFamily&&N.style("font-family",n.fontFamily),void 0!==n.fontSize&&N.style("font-size",n.fontSize),void 0!==n.fontWeight&&N.style("font-weight",n.fontWeight),void 0!==n.fill&&N.attr("fill",n.fill),void 0!==n.class&&N.attr("class",n.class),void 0!==n.dy?N.attr("dy",n.dy):0!==m&&N.attr("dy",m),n.tspan){var q=N.append("tspan");
1q.attr("x",n.x),void 0!==n.fill&&q.attr("fill",n.fill),q.text(S)}else N.text(S);void 0!==n.valign&&void 0!==n.textMargin&&n.textMargin>0&&(l+=(N._groups||N)[0][0].getBBox().height,o=l),p.push(N)}return p},Qs=-1,h=function(){function e(_,p,m,w,D,S,N){l(p.append("text").attr("x",m+D/2).attr("y",w+S/2+5).style("text-anchor","middle").text(_),N)}function n(_,p,m,w,D,S,N,q){for(var H=q.actorFontSize,G=q.actorFontFamily,_t=q.actorFontWeight,st=_.split(Si.lineBreakRegex),Dt=0;Dt<st.length;Dt++){var vt=Dt*H-H*(st.length-1)/2,Et=p.append("text").attr("x",m+D/2).attr("y",w).style("text-anchor","middle").style("font-size",H).style("font-weight",_t).style("font-family",G);Et.append("tspan").attr("x",m+D/2).attr("dy",vt).text(st[Dt]),Et.attr("y",w+S/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(Et,N)}}function o(_,p,m,w,D,S,N,q){var H=p.append("switch"),G=H.append("foreignObject").attr("x",m).attr("y",w).attr("width",D).attr("height",S).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");G.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(_),n(_,H,m,w,D,S,N,q),l(G,N)}function l(_,p){for(var m in p)p.hasOwnProperty(m)&&_.attr(m,p[m])}return function(_){return"fo"===_.textPlacement?o:"old"===_.textPlacement?e:n}}(),f=function(){function e(_,p,m,w,D,S,N){l(p.append("text").attr("x",m).attr("y",w).style("text-anchor","start").text(_),N)}function n(_,p,m,w,D,S,N,q){for(var H=q.actorFontSize,G=q.actorFontFamily,_t=q.actorFontWeight,st=_.split(Si.lineBreakRegex),Dt=0;Dt<st.length;Dt++){var vt=Dt*H-H*(st.length-1)/2,Et=p.append("text").attr("x",m).attr("y",w).style("text-anchor","start").style("font-size",H).style("font-weight",_t).style("font-family",G);Et.append("tspan").attr("x",m).attr("dy",vt).text(st[Dt]),Et.attr("y",w+S/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(Et,N)}}function o(_,p,m,w,D,S,N,q){var H=p.append("switch"),G=H.append("foreignObject").attr("x",m).attr("y",w).attr("width",D).attr("height",S).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");G.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(_),n(_,H,m,w,0,S,N,q),l(G,N)}function l(_,p){for(var m in p)p.hasOwnProperty(m)&&_.attr(m,p[m])}return function(_){return"fo"===_.textPlacement?o:"old"===_.textPlacement?e:n}}();const g=Df,x=function(e,n,o){switch(n.type){case"actor":return function(l,_,p){var m=_.x+_.width/2;0===_.y&&(Qs++,l.append("line").attr("id","actor"+Qs).attr("x1",m).attr("y1",80).attr("x2",m).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"));var w=l.append("g");w.attr("class","actor-man");var D={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0};D.x=_.x,D.y=_.y,D.fill="#eaeaea",D.width=_.width,D.height=_.height,D.class="actor",D.rx=3,D.ry=3,w.append("line").attr("id","actor-man-torso"+Qs).attr("x1",m).attr("y1",_.y+25).attr("x2",m).attr("y2",_.y+45),w.append("line").attr("id","actor-man-arms"+Qs).attr("x1",m-18).attr("y1",_.y+33).attr("x2",m+18).attr("y2",_.y+33),w.append("line").attr("x1",m-18).attr("y1",_.y+60).attr("x2",m).attr("y2",_.y+45),w.append("line").attr("x1",m).attr("y1",_.y+45).attr("x2",m+16).attr("y2",_.y+60);var S=w.append("circle");S.attr("cx",_.x+_.width/2),S.attr("cy",_.y+10),S.attr("r",15),S.attr("width",_.width),S.attr("height",_.height);var N=w.node().getBBox();return _.height=N.height,h(p)(_.description,w,D.x,D.y+35,D.width,D.height,{class:"actor"},p),_.height}(e,n,o);case"participant":return function(l,_,p){var m=_.x+_.width/2,w=l.append("g"),D=w;0===_.y&&(Qs++,D.append("line").attr("id","actor"+Qs).attr("x1",m).attr("y1",5).attr("x2",m).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"),D=w.append("g"),_.actorCnt=Qs,null!=_.links&&(D.attr("id","root-"+Qs),rp("#root-"+Qs,Qs)));var S={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0},N="actor";null!=_.properties&&_.properties.class?N=_.properties.class:S.fill="#eaeaea",S.x=_.x,S.y=_.y,S.width=_.width,S.height=_.height,S.class=N,S.rx=3,S.ry=3;
1var q=Df(D,S);if(_.rectData=S,null!=_.properties&&_.properties.icon){var H=_.properties.icon.trim();"@"===H.charAt(0)?function(e,n,o,l){var _=e.append("use");_.attr("x",n),_.attr("y",o);var p=(0,Pl.sanitizeUrl)(l);_.attr("xlink:href","#"+p)}(D,S.x+S.width-20,S.y+10,H.substr(1)):function(e,n,o,l){var _=e.append("image");_.attr("x",n),_.attr("y",o);var p=(0,Pl.sanitizeUrl)(l);_.attr("xlink:href",p)}(D,S.x+S.width-20,S.y+10,H)}h(p)(_.description,D,S.x,S.y,S.width,S.height,{class:"actor"},p);var G=_.height;if(q.node){var _t=q.node().getBBox();_.height=_t.height,G=_t.height}return G}(e,n,o)}},C=function(e,n,o,l,_){if(null==n.links||0===Object.keys(n.links).length)return{height:0,width:0};var p=n.links,m=n.actorCnt,w=n.rectData,D="none";_&&(D="block !important");var S=e.append("g");S.attr("id","actor"+m+"_popup"),S.attr("class","actorPopupMenu"),S.attr("display",D),rp("#actor"+m+"_popup",m);var N="";void 0!==w.class&&(N=" "+w.class);var q=w.width>o?w.width:o,H=S.append("rect");if(H.attr("class","actorPopupMenuPanel"+N),H.attr("x",w.x),H.attr("y",w.height),H.attr("fill",w.fill),H.attr("stroke",w.stroke),H.attr("width",q),H.attr("height",w.height),H.attr("rx",w.rx),H.attr("ry",w.ry),null!=p){var G=20;for(var _t in p){var st=S.append("a"),Dt=(0,Pl.sanitizeUrl)(p[_t]);st.attr("xlink:href",Dt),st.attr("target","_blank"),f(l)(_t,st,w.x+10,w.height+G,q,20,{class:"actor"},l),G+=30}}return H.attr("height",G),{height:w.height+G,width:q}},T=function(e){return e.append("g")},M=function(e,n,o,l){var _=l.boxMargin,p=l.boxTextMargin,m=l.labelBoxHeight,w=l.labelBoxWidth,D=l.messageFontFamily,S=l.messageFontSize,N=l.messageFontWeight,q=e.append("g"),H=function(st,Dt,vt,Et){return q.append("line").attr("x1",st).attr("y1",Dt).attr("x2",vt).attr("y2",Et).attr("class","loopLine")};H(n.startx,n.starty,n.stopx,n.starty),H(n.stopx,n.starty,n.stopx,n.stopy),H(n.startx,n.stopy,n.stopx,n.stopy),H(n.startx,n.starty,n.startx,n.stopy),void 0!==n.sections&&n.sections.forEach(function(st){H(n.startx,st.y,n.stopx,st.y).style("stroke-dasharray","3, 3")});var G={x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0};G.text=o,G.x=n.startx,G.y=n.starty,G.fontFamily=D,G.fontSize=S,G.fontWeight=N,G.anchor="middle",G.valign="middle",G.tspan=!1,G.width=w||50,G.height=m||20,G.textMargin=p,G.class="labelText",function(e,n){var l,_,p,m,o=e.append("polygon");o.attr("points",(l=n.x)+","+(_=n.y)+" "+(l+(p=n.width))+","+_+" "+(l+p)+","+(_+(m=n.height)-7)+" "+(l+p-8.4)+","+(_+m)+" "+l+","+(_+m)),o.attr("class","labelBox"),n.y=n.y+n.height/2,Af(e,n)}(q,G),(G={x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}).text=n.title,G.x=n.startx+w/2+(n.stopx-n.startx)/2,G.y=n.starty+_+p,G.anchor="middle",G.valign="middle",G.textMargin=p,G.class="loopText",G.fontFamily=D,G.fontSize=S,G.fontWeight=N,G.wrap=!0;var _t=Af(q,G);
1return void 0!==n.sectionTitles&&n.sectionTitles.forEach(function(st,Dt){if(st.message){G.text=st.message,G.x=n.startx+(n.stopx-n.startx)/2,G.y=n.sections[Dt].y+_+p,G.class="loopText",G.anchor="middle",G.valign="middle",G.tspan=!1,G.fontFamily=D,G.fontSize=S,G.fontWeight=N,G.wrap=n.wrap,_t=Af(q,G);var vt=Math.round(_t.map(function(Et){return(Et._groups||Et)[0][0].getBBox().height}).reduce(function(Et,Mt){return Et+Mt}));n.sections[Dt].height+=vt-(_+p)}}),n.height=Math.round(n.stopy-n.starty),q};_n.parser.yy=ms;var z={},mt={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map(function(e){return e.height||0}))+(0===this.loops.length?0:this.loops.map(function(e){return e.height||0}).reduce(function(e,n){return e+n}))+(0===this.messages.length?0:this.messages.map(function(e){return e.height||0}).reduce(function(e,n){return e+n}))+(0===this.notes.length?0:this.notes.map(function(e){return e.height||0}).reduce(function(e,n){return e+n}))},clear:function(){this.actors=[],this.loops=[],this.messages=[],this.notes=[]},addActor:function(e){this.actors.push(e)},addLoop:function(e){this.loops.push(e)},addMessage:function(e){this.messages.push(e)},addNote:function(e){this.notes.push(e)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,pt(_n.parser.yy.getConfig())},updateVal:function(e,n,o,l){e[n]=void 0===e[n]?o:l(o,e[n])},updateBounds:function(e,n,o,l){var _=this,p=0;function m(w){return function(D){p++;var S=_.sequenceItems.length-p+1;_.updateVal(D,"starty",n-S*z.boxMargin,Math.min),_.updateVal(D,"stopy",l+S*z.boxMargin,Math.max),_.updateVal(mt.data,"startx",e-S*z.boxMargin,Math.min),_.updateVal(mt.data,"stopx",o+S*z.boxMargin,Math.max),"activation"!==w&&(_.updateVal(D,"startx",e-S*z.boxMargin,Math.min),_.updateVal(D,"stopx",o+S*z.boxMargin,Math.max),_.updateVal(mt.data,"starty",n-S*z.boxMargin,Math.min),_.updateVal(mt.data,"stopy",l+S*z.boxMargin,Math.max))}}this.sequenceItems.forEach(m()),this.activations.forEach(m("activation"))},insert:function(e,n,o,l){var _=Math.min(e,o),p=Math.max(e,o),m=Math.min(n,l),w=Math.max(n,l);this.updateVal(mt.data,"startx",_,Math.min),this.updateVal(mt.data,"starty",m,Math.min),this.updateVal(mt.data,"stopx",p,Math.max),this.updateVal(mt.data,"stopy",w,Math.max),this.updateBounds(_,m,p,w)},newActivation:function(e,n,o){var l=o[e.from.actor],_=At(e.from.actor).length||0,p=l.x+l.width/2+(_-1)*z.activationWidth/2;this.activations.push({startx:p,starty:this.verticalPos+2,stopx:p+z.activationWidth,stopy:void 0,actor:e.from.actor,anchored:T(n)})},endActivation:function(e){var n=this.activations.map(function(o){return o.actor}).lastIndexOf(e.from.actor);return this.activations.splice(n,1)[0]},createLoop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{message:void 0,wrap:!1,width:void 0},n=arguments.length>1?arguments[1]:void 0;return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:e.message,wrap:e.wrap,width:e.width,height:0,fill:n}},newLoop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{message:void 0,wrap:!1,width:void 0},n=arguments.length>1?arguments[1]:void 0;this.sequenceItems.push(this.createLoop(e,n))},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(e){var n=this.sequenceItems.pop();n.sections=n.sections||[],n.sectionTitles=n.sectionTitles||[],n.sections.push({y:mt.getVerticalPos(),height:0}),n.sectionTitles.push(e),this.sequenceItems.push(n)},bumpVerticalPos:function(e){this.verticalPos=this.verticalPos+e,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},Wt=function(e){return{fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight}},ce=function(e){return{fontFamily:e.noteFontFamily,fontSize:e.noteFontSize,fontWeight:e.noteFontWeight}},Me=function(e){return{fontFamily:e.actorFontFamily,fontSize:e.actorFontSize,fontWeight:e.actorFontWeight}},Qt=function(e,n,o,l){for(var _=0,p=0,m=0,w=0;w<o.length;w++){var D=n[o[w]];D.width=D.width||z.width,D.height=Math.max(D.height||z.height,z.height),D.margin=D.margin||z.actorMargin,D.x=_+p,D.y=l;var S=x(e,D,z);m=Math.max(m,S),mt.insert(D.x,l,D.x+D.width,D.height),_+=D.width,p+=D.margin,mt.models.addActor(D)}mt.bumpVerticalPos(m)},me=function(e,n,o,l){for(var _=0,p=0,m=0;m<o.length;m++){var w=n[o[m]],D=fe(w),S=C(e,w,D,z,z.forceMenus);S.height>_&&(_=S.height),S.width+w.x>p&&(p=S.width+w.x)}return{maxHeight:_,maxWidth:p}}
1,pt=function(e){uo(z,e),e.fontFamily&&(z.actorFontFamily=z.noteFontFamily=z.messageFontFamily=e.fontFamily),e.fontSize&&(z.actorFontSize=z.noteFontSize=z.messageFontSize=e.fontSize),e.fontWeight&&(z.actorFontWeight=z.noteFontWeight=z.messageFontWeight=e.fontWeight)},At=function(e){return mt.activations.filter(function(n){return n.actor===e})},he=function(e,n){var o=n[e],l=At(e);return[l.reduce(function(_,p){return Math.min(_,p.startx)},o.x+o.width/2),l.reduce(function(_,p){return Math.max(_,p.stopx)},o.x+o.width/2)]};function ne(e,n,o,l,_){mt.bumpVerticalPos(o);var p=l;if(n.id&&n.message&&e[n.id]){var m=e[n.id].width,w=Wt(z);n.message=ri.wrapLabel("[".concat(n.message,"]"),m-2*z.wrapPadding,w),n.width=m,n.wrap=!0;var D=ri.calculateTextDimensions(n.message,w),S=Math.max(D.height,z.labelBoxHeight);p=l+S,v.debug("".concat(S," - ").concat(n.message))}_(n),mt.bumpVerticalPos(p)}var fe=function(e){var n=0,o=Me(z);for(var l in e.links){var _=ri.calculateTextDimensions(l,o).width+2*z.wrapPadding+2*z.boxMargin;n<_&&(n=_)}return n};const qe={bounds:mt,drawActors:Qt,drawActorsPopup:me,setConf:pt,draw:function(e,n){z=oe().sequence;var o,l=oe().securityLevel;"sandbox"===l&&(o=on("#i"+n));var _=on("sandbox"===l?o.nodes()[0].contentDocument.body:"body");"sandbox"===l?o.nodes():document,_n.parser.yy.clear(),_n.parser.yy.setWrap(z.wrap),_n.parser.parse(e+"\n"),mt.init(),v.debug("C:".concat(JSON.stringify(z,null,2)));var re,Xt,m="sandbox"===l?_.select('[id="'.concat(n,'"]')):on('[id="'.concat(n,'"]')),w=_n.parser.yy.getActors(),D=_n.parser.yy.getActorKeys(),S=_n.parser.yy.getMessages(),N=_n.parser.yy.getTitle(),q=(re=w,Xt={}
1,S.forEach(function(_e){if(re[_e.to]&&re[_e.from]){var It=re[_e.to];if(_e.placement===_n.parser.yy.PLACEMENT.LEFTOF&&!It.prevActor||_e.placement===_n.parser.yy.PLACEMENT.RIGHTOF&&!It.nextActor)return;var Ut=void 0!==_e.placement,Ft=!Ut,xt=Ut?ce(z):Wt(z),$t=_e.wrap?ri.wrapLabel(_e.message,z.width-2*z.wrapPadding,xt):_e.message,wt=ri.calculateTextDimensions($t,xt).width+2*z.wrapPadding;Ft&&_e.from===It.nextActor?Xt[_e.to]=Math.max(Xt[_e.to]||0,wt):Ft&&_e.from===It.prevActor?Xt[_e.from]=Math.max(Xt[_e.from]||0,wt):Ft&&_e.from===_e.to?(Xt[_e.from]=Math.max(Xt[_e.from]||0,wt/2),Xt[_e.to]=Math.max(Xt[_e.to]||0,wt/2)):_e.placement===_n.parser.yy.PLACEMENT.RIGHTOF?Xt[_e.from]=Math.max(Xt[_e.from]||0,wt):_e.placement===_n.parser.yy.PLACEMENT.LEFTOF?Xt[It.prevActor]=Math.max(Xt[It.prevActor]||0,wt):_e.placement===_n.parser.yy.PLACEMENT.OVER&&(It.prevActor&&(Xt[It.prevActor]=Math.max(Xt[It.prevActor]||0,wt/2)),It.nextActor&&(Xt[_e.from]=Math.max(Xt[_e.from]||0,wt/2)))}}),v.debug("maxMessageWidthPerActor:",Xt),Xt);z.height=function(re,qt){var Xt=0;for(var _e in Object.keys(re).forEach(function(xt){var $t=re[xt];$t.wrap&&($t.description=ri.wrapLabel($t.description,z.width-2*z.wrapPadding,Me(z)));var wt=ri.calculateTextDimensions($t.description,Me(z));$t.width=$t.wrap?z.width:Math.max(z.width,wt.width+2*z.wrapPadding),$t.height=$t.wrap?Math.max(wt.height,z.height):z.height,Xt=Math.max(Xt,$t.height)}),qt){var It=re[_e];if(It){var Ut=re[It.nextActor];Ut&&(It.margin=Math.max(qt[_e]+z.actorMargin-It.width/2-Ut.width/2,z.actorMargin))}}return Math.max(Xt,z.height)}(w,q),function(e){e.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")}(m),
vendor: 13,317 bytes, line 1
1function(e){e.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")}
1(m),function(e){e.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")}(m),Qt(m,w,D,0);var H=function(re,qt){var Xt,_e,It,Ut={},Ft=[];return re.forEach(function(xt){switch(xt.id=ri.random({length:10}),xt.type){case _n.parser.yy.LINETYPE.LOOP_START:case _n.parser.yy.LINETYPE.ALT_START:case _n.parser.yy.LINETYPE.OPT_START:case _n.parser.yy.LINETYPE.PAR_START:Ft.push({id:xt.id,msg:xt.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case _n.parser.yy.LINETYPE.ALT_ELSE:case _n.parser.yy.LINETYPE.PAR_AND:xt.message&&(Xt=Ft.pop(),Ut[Xt.id]=Xt,Ut[xt.id]=Xt,Ft.push(Xt));break;case _n.parser.yy.LINETYPE.LOOP_END:case _n.parser.yy.LINETYPE.ALT_END:case _n.parser.yy.LINETYPE.OPT_END:case _n.parser.yy.LINETYPE.PAR_END:Xt=Ft.pop(),Ut[Xt.id]=Xt;break;case _n.parser.yy.LINETYPE.ACTIVE_START:var $t=qt[xt.from?xt.from.actor:xt.to.actor],wt=At(xt.from?xt.from.actor:xt.to.actor).length,Se=$t.x+$t.width/2+(wt-1)*z.activationWidth/2;mt.activations.push({startx:Se,stopx:Se+z.activationWidth,actor:xt.from.actor,enabled:!0});break;case _n.parser.yy.LINETYPE.ACTIVE_END:var ge=mt.activations.map(function(Ce){return Ce.actor}).lastIndexOf(xt.from.actor);delete mt.activations.splice(ge,1)[0]}var Ce,Ue,Ie,we,Je,Ke,Ye;void 0!==xt.placement?(Ie=(Ue=qt)[(Ce=xt).from].x,we=Ue[Ce.to].x,Ke=ri.calculateTextDimensions((Je=Ce.wrap&&Ce.message)?ri.wrapLabel(Ce.message,z.width,ce(z)):Ce.message,ce(z)),Ye={width:Je?z.width:Math.max(z.width,Ke.width+2*z.noteMargin),height:0,startx:Ue[Ce.from].x,stopx:0,starty:0,stopy:0,message:Ce.message},Ce.placement===_n.parser.yy.PLACEMENT.RIGHTOF?(Ye.width=Je?Math.max(z.width,Ke.width):Math.max(Ue[Ce.from].width/2+Ue[Ce.to].width/2,Ke.width+2*z.noteMargin),Ye.startx=Ie+(Ue[Ce.from].width+z.actorMargin)/2):Ce.placement===_n.parser.yy.PLACEMENT.LEFTOF?(Ye.width=Math.max(Je?z.width:Ue[Ce.from].width/2+Ue[Ce.to].width/2,Ke.width+2*z.noteMargin),Ye.startx=Ie-Ye.width+(Ue[Ce.from].width-z.actorMargin)/2):Ce.to===Ce.from?(Ke=ri.calculateTextDimensions(Je?ri.wrapLabel(Ce.message,Math.max(z.width,Ue[Ce.from].width),ce(z)):Ce.message,ce(z)),Ye.width=Je?Math.max(z.width,Ue[Ce.from].width):Math.max(Ue[Ce.from].width,z.width,Ke.width+2*z.noteMargin),Ye.startx=Ie+(Ue[Ce.from].width-Ye.width)/2):(Ye.width=Math.abs(Ie+Ue[Ce.from].width/2-(we+Ue[Ce.to].width/2))+z.actorMargin,Ye.startx=Ie<we?Ie+Ue[Ce.from].width/2-z.actorMargin/2:we+Ue[Ce.to].width/2-z.actorMargin/2),Je&&(Ye.message=ri.wrapLabel(Ce.message,Ye.width-2*z.wrapPadding,ce(z))),v.debug("NM:[".concat(Ye.startx,",").concat(Ye.stopx,",").concat(Ye.starty,",").concat(Ye.stopy,":").concat(Ye.width,",").concat(Ye.height,"=").concat(Ce.message,"]")),xt.noteModel=_e=Ye,Ft.forEach(function(Ce){(Xt=Ce).from=Math.min(Xt.from,_e.startx),Xt.to=Math.max(Xt.to,_e.startx+_e.width),Xt.width=Math.max(Xt.width,Math.abs(Xt.from-Xt.to))-z.labelBoxWidth})):(It=function(Ce,Ue){var Ie=!1;if([_n.parser.yy.LINETYPE.SOLID_OPEN,_n.parser.yy.LINETYPE.DOTTED_OPEN,_n.parser.yy.LINETYPE.SOLID,_n.parser.yy.LINETYPE.DOTTED,_n.parser.yy.LINETYPE.SOLID_CROSS,_n.parser.yy.LINETYPE.DOTTED_CROSS,_n.parser.yy.LINETYPE.SOLID_POINT,_n.parser.yy.LINETYPE.DOTTED_POINT].includes(Ce.type)&&(Ie=!0),!Ie)return{};var we=he(Ce.from,Ue),Je=he(Ce.to,Ue),Ke=we[0]<=Je[0]?1:0,Ye=we[0]<Je[0]?0:1,Ln=we.concat(Je),je=Math.abs(Je[Ye]-we[Ke]);Ce.wrap&&Ce.message&&(Ce.message=ri.wrapLabel(Ce.message,Math.max(je+2*z.wrapPadding,z.width),Wt(z)));var Ti=ri.calculateTextDimensions(Ce.message,Wt(z));return{width:Math.max(Ce.wrap?0:Ti.width+2*z.wrapPadding,je+2*z.wrapPadding,z.width),height:0,startx:we[Ke],stopx:Je[Ye],starty:0,stopy:0,message:Ce.message,type:Ce.type,wrap:Ce.wrap,fromBounds:Math.min.apply(null,Ln),toBounds:Math.max.apply(null,Ln)}}(xt,qt),xt.msgModel=It,It.startx&&It.stopx&&Ft.length>0&&Ft.forEach(function(Ce){if(Xt=Ce,It.startx===It.stopx){var Ue=qt[xt.from],Ie=qt[xt.to];Xt.from=Math.min(Ue.x-It.width/2,Ue.x-Ue.width/2,Xt.from),Xt.to=Math.max(Ie.x+It.width/2,Ie.x+Ue.width/2,Xt.to),Xt.width=Math.max(Xt.width,Math.abs(Xt.to-Xt.from))-z.labelBoxWidth}else Xt.from=Math.min(It.startx,Xt.from),Xt.to=Math.max(It.stopx,Xt.to),Xt.width=Math.max(Xt.width,It.width)-z.labelBoxWidth}))}),mt.activations=[],v.debug("Loop type widths:",Ut),Ut}(S,w);(function(e){e.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")})(m),function(e){var n=e.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);n.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),n.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")}(m),function(e){e.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")}(m),function(e){e.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)}(m);var G=1;
1S.forEach(function(re){var qt,_e,It,Ut,Ft;switch(re.type){case _n.parser.yy.LINETYPE.NOTE:!function(It,Ut){mt.bumpVerticalPos(z.boxMargin),Ut.height=z.boxMargin,Ut.starty=mt.getVerticalPos();var Ft={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0};Ft.x=Ut.startx,Ft.y=Ut.starty,Ft.width=Ut.width||z.width,Ft.class="note";var xt=It.append("g"),$t=g(xt,Ft),wt={x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0};wt.x=Ut.startx,wt.y=Ut.starty,wt.width=Ft.width,wt.dy="1em",wt.text=Ut.message,wt.class="noteText",wt.fontFamily=z.noteFontFamily,wt.fontSize=z.noteFontSize,wt.fontWeight=z.noteFontWeight,wt.anchor=z.noteAlign,wt.textMargin=z.noteMargin,wt.valign=z.noteAlign;var Se=Af(xt,wt),Ne=Math.round(Se.map(function(ge){return(ge._groups||ge)[0][0].getBBox().height}).reduce(function(ge,Ce){return ge+Ce}));$t.attr("height",Ne+2*z.noteMargin),Ut.height+=Ne+2*z.noteMargin,mt.bumpVerticalPos(Ne+2*z.noteMargin),Ut.stopy=Ut.starty+Ne+2*z.noteMargin,Ut.stopx=Ut.startx+Ft.width,mt.insert(Ut.startx,Ut.starty,Ut.stopx,Ut.stopy),mt.models.addNote(Ut)}(m,re.noteModel);break;case _n.parser.yy.LINETYPE.ACTIVE_START:mt.newActivation(re,m,w);break;case _n.parser.yy.LINETYPE.ACTIVE_END:It=re,Ut=mt.getVerticalPos(),(Ft=mt.endActivation(It)).starty+18>Ut&&(Ft.starty=Ut-6,Ut+=12),function(e,n,o,l,_){var p={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0},m=n.anchored;p.x=n.startx,p.y=n.starty,p.class="activation"+_%3,p.width=n.stopx-n.startx,p.height=o-n.starty,Df(m,p)}(0,Ft,Ut,0,At(It.from.actor).length),mt.insert(Ft.startx,Ut-10,Ft.stopx,Ut);break;case _n.parser.yy.LINETYPE.LOOP_START:ne(H,re,z.boxMargin,z.boxMargin+z.boxTextMargin,function(It){return mt.newLoop(It)});break;case _n.parser.yy.LINETYPE.LOOP_END:qt=mt.endLoop(),M(m,qt,"loop",z),mt.bumpVerticalPos(qt.stopy-mt.getVerticalPos()),mt.models.addLoop(qt);break;case _n.parser.yy.LINETYPE.RECT_START:ne(H,re,z.boxMargin,z.boxMargin,function(It){return mt.newLoop(void 0,It.message)});break;case _n.parser.yy.LINETYPE.RECT_END:qt=mt.endLoop(),function(e,n){Df(e,{x:n.startx,y:n.starty,width:n.stopx-n.startx,height:n.stopy-n.starty,fill:n.fill,class:"rect"}).lower()}(m,qt),mt.models.addLoop(qt),mt.bumpVerticalPos(qt.stopy-mt.getVerticalPos());break;case _n.parser.yy.LINETYPE.OPT_START:ne(H,re,z.boxMargin,z.boxMargin+z.boxTextMargin,function(It){return mt.newLoop(It)});break;case _n.parser.yy.LINETYPE.OPT_END:qt=mt.endLoop(),M(m,qt,"opt",z),mt.bumpVerticalPos(qt.stopy-mt.getVerticalPos()),mt.models.addLoop(qt);break;case _n.parser.yy.LINETYPE.ALT_START:ne(H,re,z.boxMargin,z.boxMargin+z.boxTextMargin,function(It){return mt.newLoop(It)});break;case _n.parser.yy.LINETYPE.ALT_ELSE:ne(H,re,z.boxMargin+z.boxTextMargin,z.boxMargin,function(It){return mt.addSectionToLoop(It)});break;case _n.parser.yy.LINETYPE.ALT_END:qt=mt.endLoop(),M(m,qt,"alt",z),mt.bumpVerticalPos(qt.stopy-mt.getVerticalPos()),mt.models.addLoop(qt);break;case _n.parser.yy.LINETYPE.PAR_START:ne(H,re,z.boxMargin,z.boxMargin+z.boxTextMargin,function(It){return mt.newLoop(It)});break;case _n.parser.yy.LINETYPE.PAR_AND:ne(H,re,z.boxMargin+z.boxTextMargin,z.boxMargin,function(It){return mt.addSectionToLoop(It)});break;case _n.parser.yy.LINETYPE.PAR_END:qt=mt.endLoop(),M(m,qt,"par",z),mt.bumpVerticalPos(qt.stopy-mt.getVerticalPos()),mt.models.addLoop(qt);break;default:try{(_e=re.msgModel).starty=mt.getVerticalPos(),_e.sequenceIndex=G,function(It,Ut){mt.bumpVerticalPos(10);var Ft=Ut.startx,xt=Ut.stopx,$t=Ut.starty,wt=Ut.message,Se=Ut.type,Ne=Ut.sequenceIndex,ge=Si.splitBreaks(wt).length,Ce=ri.calculateTextDimensions(wt,Wt(z)),Ue=Ce.height/ge;Ut.height+=Ue,mt.bumpVerticalPos(Ue);var Ie={x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0};Ie.x=Ft,Ie.y=$t+10,Ie.width=xt-Ft,Ie.class="messageText",Ie.dy="1em",Ie.text=wt,Ie.fontFamily=z.messageFontFamily,Ie.fontSize=z.messageFontSize,Ie.fontWeight=z.messageFontWeight,Ie.anchor=z.messageAlign,Ie.valign=z.messageAlign,Ie.textMargin=z.wrapPadding,Ie.tspan=!1,Af(It,Ie);var we,Je,Ke=Ce.height-10,Ye=Ce.width;if(Ft===xt){Je=mt.getVerticalPos()+Ke,z.rightAngles?we=It.append("path").attr("d","M ".concat(Ft,",").concat(Je," H ").concat(Ft+Math.max(z.width/2,Ye/2)," V ").concat(Je+25," H ").concat(Ft)):(Ke+=z.boxMargin,Je=mt.getVerticalPos()+Ke,we=It.append("path").attr("d","M "+Ft+","+Je+" C "+(Ft+60)+","+(Je-10)+" "+(Ft+60)+","+(Je+30)+" "+Ft+","+(Je+20))),Ke+=30;var Ln=Math.max(Ye/2,z.width/2);mt.insert(Ft-Ln,mt.getVerticalPos()-10+Ke,xt+Ln,mt.getVerticalPos()+30+Ke)}else Ke+=z.boxMargin,Je=mt.getVerticalPos()+Ke,(we=It.append("line")).attr("x1",Ft),we.attr("y1",Je),we.attr("x2",xt),we.attr("y2",Je),mt.insert(Ft,Je-10,xt,Je);Se===_n.parser.yy.LINETYPE.DOTTED||Se===_n.parser.yy.LINETYPE.DOTTED_CROSS||Se===_n.parser.yy.LINETYPE.DOTTED_POINT||Se===_n.parser.yy.LINETYPE.DOTTED_OPEN?(we.style("stroke-dasharray","3, 3"),we.attr("class","messageLine1")):we.attr("class","messageLine0");var je="";
1z.arrowMarkerAbsolute&&(je=(je=(je=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),we.attr("stroke-width",2),we.attr("stroke","none"),we.style("fill","none"),Se!==_n.parser.yy.LINETYPE.SOLID&&Se!==_n.parser.yy.LINETYPE.DOTTED||we.attr("marker-end","url("+je+"#arrowhead)"),Se!==_n.parser.yy.LINETYPE.SOLID_POINT&&Se!==_n.parser.yy.LINETYPE.DOTTED_POINT||we.attr("marker-end","url("+je+"#filled-head)"),Se!==_n.parser.yy.LINETYPE.SOLID_CROSS&&Se!==_n.parser.yy.LINETYPE.DOTTED_CROSS||we.attr("marker-end","url("+je+"#crosshead)"),(ms.showSequenceNumbers()||z.showSequenceNumbers)&&(we.attr("marker-start","url("+je+"#sequencenumber)"),It.append("text").attr("x",Ft).attr("y",Je+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("textLength","16px").attr("class","sequenceNumber").text(Ne)),mt.bumpVerticalPos(Ke),Ut.height+=Ke,Ut.stopy=Ut.starty+Ut.height,mt.insert(Ut.fromBounds,Ut.starty,Ut.toBounds,Ut.stopy)}(m,_e),mt.models.addMessage(_e)}catch(It){v.error("error while drawing message",It)}}[_n.parser.yy.LINETYPE.SOLID_OPEN,_n.parser.yy.LINETYPE.DOTTED_OPEN,_n.parser.yy.LINETYPE.SOLID,_n.parser.yy.LINETYPE.DOTTED,_n.parser.yy.LINETYPE.SOLID_CROSS,_n.parser.yy.LINETYPE.DOTTED_CROSS,_n.parser.yy.LINETYPE.SOLID_POINT,_n.parser.yy.LINETYPE.DOTTED_POINT].includes(re.type)&&G++}),z.mirrorActors&&(mt.bumpVerticalPos(2*z.boxMargin),Qt(m,w,D,mt.getVerticalPos()),mt.bumpVerticalPos(z.boxMargin),function(e,n){e.selectAll&&e.selectAll(".actor-line").attr("class","200").attr("y2",n-55)}(m,mt.getVerticalPos()));var _t=me(m,w,D),st=mt.getBounds().bounds;v.debug("For line height fix Querying: #"+n+" .actor-line"),Xh("#"+n+" .actor-line").attr("y2",st.stopy);var Dt=st.stopy-st.starty;Dt<_t.maxHeight&&(Dt=_t.maxHeight);var vt=Dt+2*z.diagramMarginY;z.mirrorActors&&(vt=vt-z.boxMargin+z.bottomMarginAdj);var Et=st.stopx-st.startx;Et<_t.maxWidth&&(Et=_t.maxWidth);var Mt=Et+2*z.diagramMarginX;N&&m.append("text").text(N).attr("x",(st.stopx-st.startx)/2-2*z.diagramMarginX).attr("y",-25),ga(m,vt,Mt,z.useMaxWidth);var Kt=N?40:0;m.attr("viewBox",st.startx-z.diagramMarginX+" -"+(z.diagramMarginY+Kt)+" "+Mt+" "+(vt+Kt)),v.debug("models:",mt.models)}};var en=i(3584),Fn=i.n(en);function oi(e){return(oi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var hi=function(e){return JSON.parse(JSON.stringify(e))},fn=[],Fi=function e(n,o,l){if("relation"===o.stmt)e(n,o.state1,!0),e(n,o.state2,!1);else if("state"===o.stmt&&"[*]"===o.id&&(o.id=l?n.id+"_start":n.id+"_end",o.start=l),o.doc){var _=[],p=0,m=[];for(p=0;p<o.doc.length;p++)if("divider"===o.doc[p].type){var w=hi(o.doc[p]);w.doc=hi(m),_.push(w),m=[]}else m.push(o.doc[p]);if(_.length>0&&m.length>0){var D={stmt:"state",id:Hg(),type:"divider",doc:hi(m)};_.push(hi(D)),o.doc=_}o.doc.forEach(function(S){return e(o,S,!0)})}},On={root:{relations:[],states:{},documents:{}}},yn=On.root,wi=0,ro=function(e,n,o,l,_){void 0===yn.states[e]?yn.states[e]={id:e,descriptions:[],type:n,doc:o,note:_}:(yn.states[e].doc||(yn.states[e].doc=o),yn.states[e].type||(yn.states[e].type=n)),l&&(v.info("Adding state ",e,l),"string"==typeof l&&xc(e,l.trim()),"object"===oi(l)&&l.forEach(function(p){return xc(e,p.trim())})),_&&(yn.states[e].note=_,yn.states[e].note.text=Si.sanitizeText(yn.states[e].note.text,oe()))},Vr=function(){yn=(On={root:{relations:[],states:{},documents:{}}}).root,yn=On.root,wi=0,Ah=[]},$s=function(e,n,o){var l=e,_=n,p="default",m="default";"[*]"===e&&(l="start"+ ++wi,p="start"),"[*]"===n&&(_="end"+wi,m="end"),ro(l,p),ro(_,m),yn.relations.push({id1:l,id2:_,title:Si.sanitizeText(o,oe())})},xc=function(e,n){var o=yn.states[e],l=n;":"===l[0]&&(l=l.substr(1).trim()),o.descriptions.push(Si.sanitizeText(l,oe()))},Ef=0,Ah=[],Lm="TB";const Qr={parseDirective:function(e,n,o){Uo.parseDirective(this,e,n,o)},getConfig:function(){return oe().state},addState:ro,clear:Vr,getState:function(e){return yn.states[e]},getStates:function(){return yn.states},getRelations:function(){return yn.relations},getClasses:function(){return Ah},getDirection:function(){return Lm},addRelation:$s,getDividerId:function(){return"divider-id-"+ ++Ef},setDirection:function(e){Lm=e},cleanupLabel:function(e){return":"===e.substring(0,1)?e.substr(2).trim():e.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){v.info("Documents = ",On)},getRootDoc:function(){return fn},setRootDoc:function(e){v.info("Setting root doc",e),fn=e},getRootDocV2:function(){return Fi({id:"root"},{id:"root",doc:fn},!0),{id:"root",doc:fn}},extract:function(e){var n;
1v.info(n=e.doc?e.doc:e),Vr(),v.info("Extract",n),n.forEach(function(o){"state"===o.stmt&&ro(o.id,o.type,o.doc,o.description,o.note),"relation"===o.stmt&&$s(o.state1.id,o.state2.id,o.description)})},trimColon:function(e){return e&&":"===e[0]?e.substr(1).trim():e.trim()}};var Eh={};function Um(e,n){(null==n||n>e.length)&&(n=e.length);for(var o=0,l=new Array(n);o<n;o++)l[o]=e[o];return l}var Oa,eC=function(e,n,o){var l,_=oe().state.padding,p=2*oe().state.padding,m=e.node().getBBox(),w=m.width,D=m.x,S=e.append("text").attr("x",0).attr("y",oe().state.titleShift).attr("font-size",oe().state.fontSize).attr("class","state-title").text(n.id),N=S.node().getBBox().width+p,q=Math.max(N,w);q===w&&(q+=p);var H=e.node().getBBox();l=D-_,N>w&&(l=(w-q)/2+_),Math.abs(D-H.x)<_&&N>w&&(l=D-(N-w)/2);var G=1-oe().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",G).attr("class",o?"alt-composit":"composit").attr("width",q).attr("height",H.height+oe().state.textHeight+oe().state.titleShift+1).attr("rx","0"),S.attr("x",l+_),N<=w&&S.attr("x",D+(q-p)/2-N/2+_),e.insert("rect",":first-child").attr("x",l).attr("y",oe().state.titleShift-oe().state.textHeight-oe().state.padding).attr("width",q).attr("height",3*oe().state.textHeight).attr("rx",oe().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",oe().state.titleShift-oe().state.textHeight-oe().state.padding).attr("width",q).attr("height",H.height+3+2*oe().state.textHeight).attr("rx",oe().state.radius),e},fC=function(e,n){var w,o=n.id,l={id:o,label:n.id,width:0,height:0},_=e.append("g").attr("id",o).attr("class","stateGroup");"start"===n.type&&_.append("circle").attr("class","start-state").attr("r",oe().state.sizeUnit).attr("cx",oe().state.padding+oe().state.sizeUnit).attr("cy",oe().state.padding+oe().state.sizeUnit),"end"===n.type&&((w=_).append("circle").attr("class","end-state-outer").attr("r",oe().state.sizeUnit+oe().state.miniPadding).attr("cx",oe().state.padding+oe().state.sizeUnit+oe().state.miniPadding).attr("cy",oe().state.padding+oe().state.sizeUnit+oe().state.miniPadding),w.append("circle").attr("class","end-state-inner").attr("r",oe().state.sizeUnit).attr("cx",oe().state.padding+oe().state.sizeUnit+2).attr("cy",oe().state.padding+oe().state.sizeUnit+2)),"fork"!==n.type&&"join"!==n.type||function(w,D){var S=oe().state.forkWidth,N=oe().state.forkHeight;if(D.parentId){var q=S;S=N,N=q}w.append("rect").style("stroke","black").style("fill","black").attr("width",S).attr("height",N).attr("x",oe().state.padding).attr("y",oe().state.padding)}
1(_,n),"note"===n.type&&function(e,n){n.attr("class","state-note");var o=n.append("rect").attr("x",0).attr("y",oe().state.padding),l=function(m,w,D,S){var N=0,q=S.append("text");q.style("text-anchor","start"),q.attr("class","noteText");var H,G=m.replace(/\r\n/g,"<br/>"),_t=(G=G.replace(/\n/g,"<br/>")).split(Si.lineBreakRegex),st=1.25*oe().state.noteMargin,Dt=function(Mt,Kt){var re=typeof Symbol<"u"&&Mt[Symbol.iterator]||Mt["@@iterator"];if(!re){if(Array.isArray(Mt)||(re=function(Ft,xt){if(Ft){if("string"==typeof Ft)return Um(Ft,void 0);var $t=Object.prototype.toString.call(Ft).slice(8,-1);return"Object"===$t&&Ft.constructor&&($t=Ft.constructor.name),"Map"===$t||"Set"===$t?Array.from(Ft):"Arguments"===$t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($t)?Um(Ft,void 0):void 0}}(Mt))){re&&(Mt=re);var qt=0,Xt=function(){};return{s:Xt,n:function(){return qt>=Mt.length?{done:!0}:{done:!1,value:Mt[qt++]}},e:function(Ft){throw Ft},f:Xt}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var _e,It=!0,Ut=!1;return{s:function(){re=re.call(Mt)},n:function(){var Ft=re.next();return It=Ft.done,Ft},e:function(Ft){Ut=!0,_e=Ft},f:function(){try{It||null==re.return||re.return()}finally{if(Ut)throw _e}}}}(_t);try{for(Dt.s();!(H=Dt.n()).done;){var vt=H.value.trim();if(vt.length>0){var Et=q.append("tspan");Et.text(vt),0===st&&(st+=Et.node().getBBox().height),N+=st,Et.attr("x",0+oe().state.noteMargin),Et.attr("y",0+N+1.25*oe().state.noteMargin)}}}catch(Mt){Dt.e(Mt)}finally{Dt.f()}return{textWidth:q.node().getBBox().width,textHeight:N}}(e,0,0,n.append("g")),_=l.textWidth;o.attr("height",l.textHeight+2*oe().state.noteMargin),o.attr("width",_+2*oe().state.noteMargin)}(n.note.text,_),"divider"===n.type&&function(w){w.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",oe().state.textHeight).attr("class","divider").attr("x2",2*oe().state.textHeight).attr("y1",0).attr("y2",0)}(_),"default"===n.type&&0===n.descriptions.length&&function(w,D){var S=w.append("text").attr("x",2*oe().state.padding).attr("y",oe().state.textHeight+2*oe().state.padding).attr("font-size",oe().state.fontSize).attr("class","state-title").text(D.id).node().getBBox();w.insert("rect",":first-child").attr("x",oe().state.padding).attr("y",oe().state.padding).attr("width",S.width+2*oe().state.padding).attr("height",S.height+2*oe().state.padding).attr("rx",oe().state.radius)}(_,n),"default"===n.type&&n.descriptions.length>0&&function(w,D){var S=w.append("text").attr("x",2*oe().state.padding).attr("y",oe().state.textHeight+1.3*oe().state.padding).attr("font-size",oe().state.fontSize).attr("class","state-title").text(D.descriptions[0]).node().getBBox(),N=S.height,q=w.append("text").attr("x",oe().state.padding).attr("y",N+.4*oe().state.padding+oe().state.dividerMargin+oe().state.textHeight).attr("class","state-description"),H=!0,G=!0;D.descriptions.forEach(function(vt){var Mt,Kt,re;H||(Mt=vt,Kt=G,re=q.append("tspan").attr("x",2*oe().state.padding).text(Mt),Kt||re.attr("dy",oe().state.textHeight),G=!1),H=!1});var _t=w.append("line").attr("x1",oe().state.padding).attr("y1",oe().state.padding+N+oe().state.dividerMargin/2).attr("y2",oe().state.padding+N+oe().state.dividerMargin/2).attr("class","descr-divider"),st=q.node().getBBox(),Dt=Math.max(st.width,S.width);_t.attr("x2",Dt+3*oe().state.padding),w.insert("rect",":first-child").attr("x",oe().state.padding).attr("y",oe().state.padding).attr("width",Dt+2*oe().state.padding).attr("height",st.height+N+2*oe().state.padding).attr("rx",oe().state.radius)}(_,n);var m=_.node().getBBox();return l.width=m.width+2*oe().state.padding,l.height=m.height+2*oe().state.padding,Eh[o]=l,l},_C=0;en.parser.yy=Qr;var nC={},fE=function e(n,o,l,_,p,m){var w,D=new(eo().Graph)({compound:!0,multigraph:!0}),S=!0;for(w=0;w<n.length;w++)if("relation"===n[w].stmt){S=!1;break}D.setGraph(l?{rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:S?1:Oa.edgeLengthFactor,nodeSep:S?1:50,isMultiGraph:!0}:{rankdir:"TB",multigraph:!0,compound:!0,ranksep:S?1:Oa.edgeLengthFactor,nodeSep:S?1:50,ranker:"tight-tree",isMultiGraph:!0}),D.setDefaultEdgeLabel(function(){return{}}),Qr.extract(n);for(var N=Qr.getStates(),q=Qr.getRelations(),H=Object.keys(N),G=0;G<H.length;G++){var _t=N[H[G]];l&&(_t.parentId=l);var st=void 0;if(_t.doc){var Dt=o.append("g").attr("id",_t.id).attr("class","stateGroup");st=e(_t.doc,Dt,_t.id,!_,p,m);var vt=(Dt=eC(Dt,_t,_)).node().getBBox();st.width=vt.width,st.height=vt.height+Oa.padding/2,nC[_t.id]={y:Oa.compositTitleSize}}else st=fC(o,_t);
1if(_t.note){var Mt=fC(o,{descriptions:[],id:_t.id+"-note",note:_t.note,type:"note"});"left of"===_t.note.position?(D.setNode(st.id+"-note",Mt),D.setNode(st.id,st)):(D.setNode(st.id,st),D.setNode(st.id+"-note",Mt)),D.setParent(st.id,st.id+"-group"),D.setParent(st.id+"-note",st.id+"-group")}else D.setNode(st.id,st)}v.debug("Count=",D.nodeCount(),D);var Kt=0;q.forEach(function(_e){var It;Kt++,v.debug("Setting edge",_e),D.setEdge(_e.id1,_e.id2,{relation:_e,width:(It=_e.title,It?It.length*Oa.fontSizeFactor:1),height:Oa.labelHeight*Si.getRows(_e.title).length,labelpos:"c"},"id"+Kt)}),sf().layout(D),v.debug("Graph after layout",D.nodes());var re=o.node();D.nodes().forEach(function(_e){void 0!==_e&&void 0!==D.node(_e)?(v.warn("Node "+_e+": "+JSON.stringify(D.node(_e))),p.select("#"+re.id+" #"+_e).attr("transform","translate("+(D.node(_e).x-D.node(_e).width/2)+","+(D.node(_e).y+(nC[_e]?nC[_e].y:0)-D.node(_e).height/2)+" )"),p.select("#"+re.id+" #"+_e).attr("data-x-shift",D.node(_e).x-D.node(_e).width/2),m.querySelectorAll("#"+re.id+" #"+_e+" .divider").forEach(function(It){var Ut=It.parentElement,Ft=0,xt=0;Ut&&(Ut.parentElement&&(Ft=Ut.parentElement.getBBox().width),xt=parseInt(Ut.getAttribute("data-x-shift"),10),Number.isNaN(xt)&&(xt=0)),It.setAttribute("x1",0-xt+8),It.setAttribute("x2",Ft-xt-8)})):v.debug("No Node "+_e+": "+JSON.stringify(D.node(_e)))});var qt=re.getBBox();
1D.edges().forEach(function(_e){void 0!==_e&&void 0!==D.edge(_e)&&(v.debug("Edge "+_e.v+" -> "+_e.w+": "+JSON.stringify(D.edge(_e))),function(It,Ut,Ft){Ut.points=Ut.points.filter(function(kn){return!Number.isNaN(kn.y)});var xt=Ut.points,$t=Bc().x(function(kn){return kn.x}).y(function(kn){return kn.y}).curve(Kr),wt=It.append("path").attr("d",$t(xt)).attr("id","edge"+_C).attr("class","transition"),Se="";if(oe().state.arrowMarkerAbsolute&&(Se=(Se=(Se=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),wt.attr("marker-end","url("+Se+"#"+function(kn){switch(kn){case Qr.relationType.AGGREGATION:return"aggregation";case Qr.relationType.EXTENSION:return"extension";case Qr.relationType.COMPOSITION:return"composition";case Qr.relationType.DEPENDENCY:return"dependency"}}(Qr.relationType.DEPENDENCY)+"End)"),void 0!==Ft.title){for(var Ne=It.append("g").attr("class","stateLabel"),ge=ri.calcLabelPosition(Ut.points),Ce=ge.x,Ue=ge.y,Ie=Si.getRows(Ft.title),we=0,Je=[],Ke=0,Ye=0,Ln=0;Ln<=Ie.length;Ln++){var je=Ne.append("text").attr("text-anchor","middle").text(Ie[Ln]).attr("x",Ce).attr("y",Ue+we),Ti=je.node().getBBox();if(Ke=Math.max(Ke,Ti.width),Ye=Math.min(Ye,Ti.x),v.info(Ti.x,Ce,Ue+we),0===we){var Vi=je.node().getBBox();v.info("Title height",we=Vi.height,Ue)}Je.push(je)}var Qn=we*Ie.length;if(Ie.length>1){var lr=(Ie.length-1)*we*.5;Je.forEach(function(kn,qn){return kn.attr("y",Ue+qn*we-lr)}),Qn=we*Ie.length}var Ai=Ne.node().getBBox();Ne.insert("rect",":first-child").attr("class","box").attr("x",Ce-Ke/2-oe().state.padding/2).attr("y",Ue-Qn/2-oe().state.padding/2-3.5).attr("width",Ke+oe().state.padding).attr("height",Qn+oe().state.padding),v.info(Ai)}_C++}(o,D.edge(_e),D.edge(_e).relation))}),qt=re.getBBox();var Xt={id:l||"root",label:l||"root",width:0,height:0};return Xt.width=qt.width+2*Oa.padding,Xt.height=qt.height+2*Oa.padding,v.debug("Doc rendered",Xt,D),Xt};const _E=function(e,n){Oa=oe().state;var o,l=oe().securityLevel;"sandbox"===l&&(o=on("#i"+n));var _=on("sandbox"===l?o.nodes()[0].contentDocument.body:"body"),p="sandbox"===l?o.nodes()[0].contentDocument:document;en.parser.yy.clear(),en.parser.parse(e),v.debug("Rendering diagram "+e);var m=_.select("[id='".concat(n,"']"));m.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z"),new(eo().Graph)({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel(function(){return{}});var w=Qr.getRootDoc();fE(w,m,void 0,!1,_,p);var D=Oa.padding,S=m.node().getBBox(),N=S.width+2*D,q=S.height+2*D;ga(m,q,1.75*N,Oa.useMaxWidth),m.attr("viewBox","".concat(S.x-Oa.padding," ").concat(S.y-Oa.padding," ")+N+" "+q)};var pE={},Qi={},Ab=function(e,n,o,l){if("root"!==o.id){var _="rect";!0===o.start&&(_="start"),!1===o.start&&(_="end"),"default"!==o.type&&(_=o.type),Qi[o.id]||(Qi[o.id]={id:o.id,shape:_,description:Si.sanitizeText(o.id,oe()),classes:"statediagram-state"}),o.description&&(Array.isArray(Qi[o.id].description)?(Qi[o.id].shape="rectWithTitle",Qi[o.id].description.push(o.description)):Qi[o.id].description.length>0?(Qi[o.id].shape="rectWithTitle",Qi[o.id].description=Qi[o.id].description===o.id?[o.description]:[Qi[o.id].description,o.description]):(Qi[o.id].shape="rect",Qi[o.id].description=o.description),Qi[o.id].description=Si.sanitizeTextOrArray(Qi[o.id].description,oe())),1===Qi[o.id].description.length&&"rectWithTitle"===Qi[o.id].shape&&(Qi[o.id].shape="rect"),!Qi[o.id].type&&o.doc&&(v.info("Setting cluster for ",o.id,iC(o)),Qi[o.id].type="group",Qi[o.id].dir=iC(o),Qi[o.id].shape="divider"===o.type?"divider":"roundedWithTitle",Qi[o.id].classes=Qi[o.id].classes+" "+(l?"statediagram-cluster statediagram-cluster-alt":"statediagram-cluster"));var p={labelStyle:"",shape:Qi[o.id].shape,labelText:Qi[o.id].description,classes:Qi[o.id].classes,style:"",id:o.id,dir:Qi[o.id].dir,domId:"state-"+o.id+"-"+Ih,type:Qi[o.id].type,padding:15};if(o.note){var m={labelStyle:"",shape:"note",labelText:o.note.text,classes:"statediagram-note",style:"",id:o.id+"----note-"+Ih,domId:"state-"+o.id+"----note-"+Ih,type:Qi[o.id].type,padding:15},w={labelStyle:"",shape:"noteGroup",labelText:o.note.text,classes:Qi[o.id].classes,style:"",id:o.id+"----parent",domId:"state-"+o.id+"----parent-"+Ih,type:"group",padding:0};Ih++,e.setNode(o.id+"----parent",w),e.setNode(m.id,m),e.setNode(o.id,p),e.setParent(o.id,o.id+"----parent"),e.setParent(m.id,o.id+"----parent");var D=o.id,S=m.id;"left of"===o.note.position&&(D=m.id,S=o.id),e.setEdge(D,S,{arrowhead:"none",arrowType:"",style:"fill:none",labelStyle:"",classes:"transition note-edge",arrowheadStyle:"fill: #333",labelpos:"c",labelType:"text",thickness:"normal"})}else e.setNode(o.id,p)}n&&"root"!==n.id&&(v.trace("Setting node ",o.id," to be child of its parent ",n.id),e.setParent(o.id,n.id)),o.doc&&(v.trace("Adding nodes children "),gE(e,o,o.doc,!l))},Ih=0,gE=function(e,n,o,l){v.trace("items",o),o.forEach(function(_){if("state"===_.stmt||"default"===_.stmt)Ab(e,n,_,l);else if("relation"===_.stmt){Ab(e,n,_.state1,l),Ab(e,n,_.state2,l);var p={id:"edge"+Ih,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:"fill:none",labelStyle:"",label:Si.sanitizeText(_.description,oe()),arrowheadStyle:"fill: #333",labelpos:"c",labelType:"text",thickness:"normal",classes:"transition"};e.setEdge(_.state1.id,_.state2.id,p,Ih),Ih++}})},iC=function(e,n){var o=n||"TB";if(e.doc)for(var l=0;l<e.doc.length;l++){var _=e.doc[l];"dir"===_.stmt&&(o=_.value)}return o};const pC=function(e){for(var n=Object.keys(e),o=0;o<n.length;o++)pE[n[o]]=e[n[o]]};function gC(e){return function(n){if(Array.isArray(n))return rC(n)}(e)||function(n){if(typeof Symbol<"u"&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(e)||function(n,o){if(n){if("string"==typeof n)return rC(n,o);var l=Object.prototype.toString.call(n).slice(8,-1);return"Object"===l&&n.constructor&&(l=n.constructor.name),"Map"===l||"Set"===l?Array.from(n):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?rC(n,o):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rC(e,n){(null==n||n>e.length)&&(n=e.length);for(var o=0,l=new Array(n);o<n;o++)l[o]=e[o];return l}var oC="",op="",aC=[],ap=[],sp=[],mC=function(){for(var e=!0,n=0;n<sp.length;n++)e=e&&sp[n].processed;return e};const vC={parseDirective:function(e,n,o){Uo.parseDirective(this,e,n,o)},getConfig:function(){return oe().journey},clear:function(){aC.length=0,ap.length=0,op="",oC="",sp.length=0},setTitle:function(e){oC=e},getTitle:function(){return oC},addSection:function(e){op=e,aC.push(e)},getSections:function(){return aC},getTasks:function(){for(var e=mC(),n=0;!e&&n<100;)e=mC(),n++;return ap.push.apply(ap,sp),ap},addTask:function(e,n){var o=n.substr(1).split(":"),l=0,_=[];1===o.length?(l=Number(o[0]),_=[]):(l=Number(o[0]),_=o[1].split(","));var p=_.map(function(w){return w.trim()});sp.push({section:op,type:op,people:p,task:e,score:l})},addTaskOrg:function(e){ap.push({section:op,type:op,description:e,task:e,classes:[]})}
1,getActors:function(){return e=[],ap.forEach(function(n){n.people&&e.push.apply(e,gC(n.people))}),gC(new Set(e)).sort();var e}};var If=i(9763),mE=i.n(If),yC=function(e,n){var o=e.append("rect");return o.attr("x",n.x),o.attr("y",n.y),o.attr("fill",n.fill),o.attr("stroke",n.stroke),o.attr("width",n.width),o.attr("height",n.height),o.attr("rx",n.rx),o.attr("ry",n.ry),void 0!==n.class&&o.attr("class",n.class),o},xC=function(e,n){var o=e.append("circle");return o.attr("cx",n.cx),o.attr("cy",n.cy),o.attr("class","actor-"+n.pos),o.attr("fill",n.fill),o.attr("stroke",n.stroke),o.attr("r",n.r),void 0!==o.class&&o.attr("class",o.class),void 0!==n.title&&o.append("title").text(n.title),o},bC=-1,wC=function(){function e(_,p,m,w,D,S,N,q){l(p.append("text").attr("x",m+D/2).attr("y",w+S/2+5).style("font-color",q).style("text-anchor","middle").text(_),N)}function n(_,p,m,w,D,S,N,q,H){for(var G=q.taskFontSize,_t=q.taskFontFamily,st=_.split(/<br\s*\/?>/gi),Dt=0;Dt<st.length;Dt++){var vt=Dt*G-G*(st.length-1)/2,Et=p.append("text").attr("x",m+D/2).attr("y",w).attr("fill",H).style("text-anchor","middle").style("font-size",G).style("font-family",_t);Et.append("tspan").attr("x",m+D/2).attr("dy",vt).text(st[Dt]),Et.attr("y",w+S/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(Et,N)}}function o(_,p,m,w,D,S,N,q){var H=p.append("switch"),G=H.append("foreignObject").attr("x",m).attr("y",w).attr("width",D).attr("height",S).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");G.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(_),n(_,H,m,w,D,S,N,q),l(G,N)}function l(_,p){for(var m in p)m in p&&_.attr(m,p[m])}return function(_){return"fo"===_.textPlacement?o:"old"===_.textPlacement?e:n}}();const vE=xC,yE=function(e,n,o){var l=e.append("g"),_={x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0};_.x=n.x,_.y=n.y,_.fill=n.fill,_.width=o.width,_.height=o.height,_.class="journey-section section-type-"+n.num,_.rx=3,_.ry=3,yC(l,_),wC(o)(n.text,l,_.x,_.y,_.width,_.height,{class:"journey-section section-type-"+n.num},o,n.colour)},bE=function(e,n,o){var l,_,p,N,q,m=n.x+o.width/2,w=e.append("g");bC++,w.append("line").attr("id","task"+bC).attr("x1",m).attr("y1",n.y).attr("x2",m).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),_={cx:m,cy:300+30*(5-n.score),score:n.score},(l=w).append("circle").attr("cx",_.cx).attr("cy",_.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),(p=l.append("g")).append("circle").attr("cx",_.cx-5).attr("cy",_.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),p.append("circle").attr("cx",_.cx+5).attr("cy",_.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),_.score>3?(N=p,q=Fu().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(6.8181818181818175),N.append("path").attr("class","mouth").attr("d",q).attr("transform","translate("+_.cx+","+(_.cy+2)+")")):_.score<3?function(N){var q=Fu().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(6.8181818181818175);N.append("path").attr("class","mouth").attr("d",q).attr("transform","translate("+_.cx+","+(_.cy+7)+")")}(p):function(N){N.append("line").attr("class","mouth").attr("stroke",2).attr("x1",_.cx-5).attr("y1",_.cy+7).attr("x2",_.cx+5).attr("y2",_.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(p);var D={x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0};D.x=n.x,D.y=n.y,D.fill=n.fill,D.width=o.width,D.height=o.height,D.class="task task-type-"+n.num,D.rx=3,D.ry=3,yC(w,D);var S=n.x+14;n.people.forEach(function(N){xC(w,{cx:S,cy:n.y,r:7,fill:n.actors[N].color,stroke:"#000",title:N,pos:n.actors[N].position}),S+=10}),wC(o)(n.task,w,D.x,D.y,D.width,D.height,{class:"task"},o,n.colour)};If.parser.yy=vC;var Kl={},sC=oe().journey,Ff=oe().journey.leftMargin,js={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0}
1,updateVal:function(e,n,o,l){e[n]=void 0===e[n]?o:l(o,e[n])},updateBounds:function(e,n,o,l){var _=oe().journey,p=this,m=0;this.sequenceItems.forEach(function(w){m++;var D=p.sequenceItems.length-m+1;p.updateVal(w,"starty",n-D*_.boxMargin,Math.min),p.updateVal(w,"stopy",l+D*_.boxMargin,Math.max),p.updateVal(js.data,"startx",e-D*_.boxMargin,Math.min),p.updateVal(js.data,"stopx",o+D*_.boxMargin,Math.max),p.updateVal(w,"startx",e-D*_.boxMargin,Math.min),p.updateVal(w,"stopx",o+D*_.boxMargin,Math.max),p.updateVal(js.data,"starty",n-D*_.boxMargin,Math.min),p.updateVal(js.data,"stopy",l+D*_.boxMargin,Math.max)})},insert:function(e,n,o,l){var _=Math.min(e,o),p=Math.max(e,o),m=Math.min(n,l),w=Math.max(n,l);this.updateVal(js.data,"startx",_,Math.min),this.updateVal(js.data,"starty",m,Math.min),this.updateVal(js.data,"stopx",p,Math.max),this.updateVal(js.data,"stopy",w,Math.max),this.updateBounds(_,m,p,w)},bumpVerticalPos:function(e){this.verticalPos=this.verticalPos+e,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},cC=sC.sectionFills,TC=sC.sectionColours;const CC=function(e){Object.keys(e).forEach(function(n){sC[n]=e[n]})};var TE={};const lC=function(e){return"g.classGroup text {\n fill: ".concat(e.nodeBorder,";\n fill: ").concat(e.classText,";\n stroke: none;\n font-family: ").concat(e.fontFamily,";\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ").concat(e.classText,";\n}\n.edgeLabel .label rect {\n fill: ").concat(e.mainBkg,";\n}\n.label text {\n fill: ").concat(e.classText,";\n}\n.edgeLabel .label span {\n background: ").concat(e.mainBkg,";\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ").concat(e.mainBkg,";\n stroke: ").concat(e.nodeBorder,";\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ").concat(e.nodeBorder,";\n stroke: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ").concat(e.mainBkg,";\n stroke: ").concat(e.nodeBorder,";\n}\n\ng.classGroup line {\n stroke: ").concat(e.nodeBorder,";\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ").concat(e.mainBkg,";\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ").concat(e.nodeBorder,";\n font-size: 10px;\n}\n\n.relation {\n stroke: ").concat(e.lineColor,";\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n#compositionStart, .composition {\n fill: ").concat(e.lineColor," !important;\n stroke: ").concat(e.lineColor," !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ").concat(e.lineColor," !important;\n stroke: ").concat(e.lineColor," !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ").concat(e.lineColor," !important;\n stroke: ").concat(e.lineColor," !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ").concat(e.lineColor," !important;\n stroke: ").concat(e.lineColor," !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: ").concat(e.lineColor," !important;\n stroke: ").concat(e.lineColor," !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: ").concat(e.lineColor," !important;\n stroke: ").concat(e.lineColor," !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: ").concat(e.mainBkg," !important;\n stroke: ").concat(e.lineColor," !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: ").concat(e.mainBkg," !important;\n stroke: ").concat(e.lineColor," !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n}\n\n")},kC=function(e){return".label {\n font-family: ".concat(e.fontFamily,";\n color: ").concat(e.nodeTextColor||e.textColor,";\n }\n .cluster-label text {\n fill: ").concat(e.titleColor,";\n }\n .cluster-label span {\n color: ").concat(e.titleColor,";\n }\n\n .label text,span {\n fill: ").concat(e.nodeTextColor||e.textColor,";\n color: ").concat(e.nodeTextColor||e.textColor,";\n }
1\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ").concat(e.mainBkg,";\n stroke: ").concat(e.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(e.arrowheadColor,";\n }\n\n .edgePath .path {\n stroke: ").concat(e.lineColor,";\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ").concat(e.lineColor,";\n fill: none;\n }\n\n .edgeLabel {\n background-color: ").concat(e.edgeLabelBackground,";\n rect {\n opacity: 0.5;\n background-color: ").concat(e.edgeLabelBackground,";\n fill: ").concat(e.edgeLabelBackground,";\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ").concat(e.clusterBkg,";\n stroke: ").concat(e.clusterBorder,";\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ").concat(e.titleColor,";\n }\n\n .cluster span {\n color: ").concat(e.titleColor,";\n }\n /* .cluster div {\n color: ").concat(e.titleColor,";\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ").concat(e.fontFamily,";\n font-size: 12px;\n background: ").concat(e.tertiaryColor,";\n border: 1px solid ").concat(e.border2,";\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n")},DC=function(e){return"\ndefs #statediagram-barbEnd {\n fill: ".concat(e.transitionColor,";\n stroke: ").concat(e.transitionColor,";\n }\ng.stateGroup text {\n fill: ").concat(e.nodeBorder,";\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ").concat(e.textColor,";\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ").concat(e.stateLabelColor,";\n}\n\ng.stateGroup rect {\n fill: ").concat(e.mainBkg,";\n stroke: ").concat(e.nodeBorder,";\n}\n\ng.stateGroup line {\n stroke: ").concat(e.lineColor,";\n stroke-width: 1;\n}\n\n.transition {\n stroke: ").concat(e.transitionColor,";\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ").concat(e.background,";\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ").concat(e.noteBorderColor,";\n fill: ").concat(e.noteBkgColor,";\n\n text {\n fill: ").concat(e.noteTextColor,";\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ").concat(e.mainBkg,";\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ").concat(e.labelBackgroundColor,";\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ").concat(e.transitionLabelColor||e.tertiaryTextColor,";\n}\n.label div .edgeLabel {\n color: ").concat(e.transitionLabelColor||e.tertiaryTextColor,";\n}\n\n.stateLabel text {\n fill: ").concat(e.stateLabelColor,";\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ").concat(e.specialStateColor,";\n stroke: ").concat(e.specialStateColor,";\n}\n\n.node .fork-join {\n fill: ").concat(e.specialStateColor,";\n stroke: ").concat(e.specialStateColor,";\n}\n\n.node circle.state-end {\n fill: ").concat(e.innerEndBackground,";\n stroke: ").concat(e.background,";\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ").concat(e.compositeBackground||e.background,";\n // stroke: ").concat(e.background,";\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ").concat(e.stateBkg||e.mainBkg,";\n stroke: ").concat(e.stateBorder||e.nodeBorder,";\n stroke-width: 1px;\n}\n.node polygon {\n fill: ").concat(e.mainBkg,";\n stroke: ").concat(e.stateBorder||e.nodeBorder,";;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ").concat(e.lineColor,";\n}\n\n.statediagram-cluster rect {\n fill: ").concat(e.compositeTitleBackground,";\n stroke: ").concat(e.stateBorder||e.nodeBorder,";\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ").concat(e.stateLabelColor,";\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ").concat(e.stateBorder||e.nodeBorder,";\n}
1\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ").concat(e.compositeBackground||e.background,";\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ").concat(e.altBackground?e.altBackground:"#efefef",";\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ").concat(e.altBackground?e.altBackground:"#efefef",";\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ").concat(e.noteBkgColor,";\n stroke: ").concat(e.noteBorderColor,";\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ").concat(e.noteBkgColor,";\n stroke: ").concat(e.noteBorderColor,";\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ").concat(e.noteTextColor,";\n}\n\n.statediagram-note .nodeLabel {\n color: ").concat(e.noteTextColor,";\n}\n.statediagram .edgeLabel {\n color: red; // ").concat(e.noteTextColor,";\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ").concat(e.lineColor,";\n stroke: ").concat(e.lineColor,";\n stroke-width: 1;\n}\n")};var CE={flowchart:kC,"flowchart-v2":kC,sequence:function(e){return".actor {\n stroke: ".concat(e.actorBorder,";\n fill: ").concat(e.actorBkg,";\n }\n\n text.actor > tspan {\n fill: ").concat(e.actorTextColor,";\n stroke: none;\n }\n\n .actor-line {\n stroke: ").concat(e.actorLineColor,";\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ").concat(e.signalColor,";\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ").concat(e.signalColor,";\n }\n\n #arrowhead path {\n fill: ").concat(e.signalColor,";\n stroke: ").concat(e.signalColor,";\n }\n\n .sequenceNumber {\n fill: ").concat(e.sequenceNumberColor,";\n }\n\n #sequencenumber {\n fill: ").concat(e.signalColor,";\n }\n\n #crosshead path {\n fill: ").concat(e.signalColor,";\n stroke: ").concat(e.signalColor,";\n }\n\n .messageText {\n fill: ").concat(e.signalTextColor,";\n stroke: ").concat(e.signalTextColor,";\n }\n\n .labelBox {\n stroke: ").concat(e.labelBoxBorderColor,";\n fill: ").concat(e.labelBoxBkgColor,";\n }\n\n .labelText, .labelText > tspan {\n fill: ").concat(e.labelTextColor,";\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ").concat(e.loopTextColor,";\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ").concat(e.labelBoxBorderColor,";\n fill: ").concat(e.labelBoxBorderColor,";\n }\n\n .note {\n //stroke: #decc93;\n stroke: ").concat(e.noteBorderColor,";\n fill: ").concat(e.noteBkgColor,";\n }\n\n .noteText, .noteText > tspan {\n fill: ").concat(e.noteTextColor,";\n stroke: none;\n }\n\n .activation0 {\n fill: ").concat(e.activationBkgColor,";\n stroke: ").concat(e.activationBorderColor,";\n }\n\n .activation1 {\n fill: ").concat(e.activationBkgColor,";\n stroke: ").concat(e.activationBorderColor,";\n }\n\n .activation2 {\n fill: ").concat(e.activationBkgColor,";\n stroke: ").concat(e.activationBorderColor,";\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ").concat(e.actorBkg,";\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ").concat(e.actorBorder,";\n fill: ").concat(e.actorBkg,";\n }\n .actor-man circle, line {\n stroke: ").concat(e.actorBorder,";\n fill: ").concat(e.actorBkg,";\n stroke-width: 2px;\n }\n")},gantt:function(e){return'\n .mermaid-main-font {\n font-family: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n .exclude-range {\n fill: '.concat(e.excludeBkgColor,";\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ").concat(e.sectionBkgColor,";\n }\n\n .section2 {\n fill: ").concat(e.sectionBkgColor2,";\n }\n\n .section1,\n .section3 {\n fill: ").concat(e.altSectionBkgColor,";\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ").concat(e.titleColor,";\n }\n\n .sectionTitle1 {\n fill: ").concat(e.titleColor,";\n }\n\n .sectionTitle2 {\n fill: ").concat(e.titleColor,";\n }\n\n .sectionTitle3 {\n fill: ").concat(e.titleColor,";\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ").concat(e.ganttFontSize,";\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ").concat(e.gridColor,";\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ").concat(e.fontFamily,";\n fill: ").concat(e.textColor,";\n }\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ").concat(e.todayLineColor,";\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ").concat(e.ganttFontSize,";\n // }\n\n .taskTextOutsideRight {\n fill: ").concat(e.taskTextDarkColor,";\n text-anchor: start;\n // font-size: ").concat(e.ganttFontSize,";\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ").concat(e.taskTextDarkColor,";\n text-anchor: end;\n // font-size: ").concat(e.ganttFontSize,";\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ").concat(e.taskTextClickableColor," !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ").concat(e.taskTextClickableColor," !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ").concat(e.taskTextClickableColor," !important;\n font-weight: bold;\n }\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ").concat(e.taskTextColor,";\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ").concat(e.taskBkgColor,";\n stroke: ").concat(e.taskBorderColor,";\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ").concat(e.taskTextOutsideColor,";\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ").concat(e.taskTextOutsideColor,";\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ").concat(e.activeTaskBkgColor,";\n stroke: ").concat(e.activeTaskBorderColor,";\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ").concat(e.taskTextDarkColor," !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ").concat(e.doneTaskBorderColor,";\n fill: ").concat(e.doneTaskBkgColor,";\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ").concat(e.taskTextDarkColor," !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ").concat(e.critBorderColor,";\n fill: ").concat(e.critBkgColor,";\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ").concat(e.critBorderColor,";\n fill: ").concat(e.activeTaskBkgColor,";\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ").concat(e.critBorderColor,";\n fill: ").concat(e.doneTaskBkgColor,";\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ").concat(e.taskTextDarkColor," !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ").concat(e.taskTextDarkColor," !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ").concat(e.textColor," ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n")},classDiagram:lC,"classDiagram-v2":lC,class:lC,stateDiagram:DC,state:DC,git:function(){return"\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n"},info:function(){return""}
1,pie:function(e){return"\n .pieCircle{\n stroke: ".concat(e.pieStrokeColor,";\n stroke-width : ").concat(e.pieStrokeWidth,";\n opacity : ").concat(e.pieOpacity,";\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ").concat(e.pieTitleTextSize,";\n fill: ").concat(e.pieTitleTextColor,";\n font-family: ").concat(e.fontFamily,";\n }\n .slice {\n font-family: ").concat(e.fontFamily,";\n fill: ").concat(e.pieSectionTextColor,";\n font-size:").concat(e.pieSectionTextSize,";\n // fill: white;\n }\n .legend text {\n fill: ").concat(e.pieLegendTextColor,";\n font-family: ").concat(e.fontFamily,";\n font-size: ").concat(e.pieLegendTextSize,";\n }\n")},er:function(e){return"\n .entityBox {\n fill: ".concat(e.mainBkg,";\n stroke: ").concat(e.nodeBorder,";\n }\n\n .attributeBoxOdd {\n fill: #ffffff;\n stroke: ").concat(e.nodeBorder,";\n }\n\n .attributeBoxEven {\n fill: #f2f2f2;\n stroke: ").concat(e.nodeBorder,";\n }\n\n .relationshipLabelBox {\n fill: ").concat(e.tertiaryColor,";\n opacity: 0.7;\n background-color: ").concat(e.tertiaryColor,";\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ").concat(e.lineColor,";\n }\n")},journey:function(e){return".label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ".concat(e.textColor,";\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ").concat(e.textColor,"\n }\n\n .legend {\n fill: ").concat(e.textColor,";\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ").concat(e.textColor,"\n }\n\n .face {\n ").concat(e.faceColor?"fill: ".concat(e.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(e.mainBkg,";\n stroke: ").concat(e.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(e.arrowheadColor,";\n }\n\n .edgePath .path {\n stroke: ").concat(e.lineColor,";\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ").concat(e.lineColor,";\n fill: none;\n }\n\n .edgeLabel {\n background-color: ").concat(e.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(e.titleColor,";\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ").concat(e.tertiaryColor,";\n border: 1px solid ").concat(e.border2,";\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ").concat(e.fillType0?"fill: ".concat(e.fillType0):"",";\n }\n .task-type-1, .section-type-1 {\n ").concat(e.fillType0?"fill: ".concat(e.fillType1):"",";\n }\n .task-type-2, .section-type-2 {\n ").concat(e.fillType0?"fill: ".concat(e.fillType2):"",";\n }\n .task-type-3, .section-type-3 {\n ").concat(e.fillType0?"fill: ".concat(e.fillType3):"",";\n }\n .task-type-4, .section-type-4 {\n ").concat(e.fillType0?"fill: ".concat(e.fillType4):"",";\n }\n .task-type-5, .section-type-5 {\n ").concat(e.fillType0?"fill: ".concat(e.fillType5):"",";\n }\n .task-type-6, .section-type-6 {\n ").concat(e.fillType0?"fill: ".concat(e.fillType6):"",";\n }\n .task-type-7, .section-type-7 {\n ").concat(e.fillType0?"fill: ".concat(e.fillType7):"",";\n }\n\n .actor-0 {\n ").concat(e.actor0?"fill: ".concat(e.actor0):"",";\n }\n .actor-1 {\n ").concat(e.actor1?"fill: ".concat(e.actor1):"",";\n }\n .actor-2 {\n ").concat(e.actor2?"fill: ".concat(e.actor2):"",";\n }\n .actor-3 {\n ").concat(e.actor3?"fill: ".concat(e.actor3):"",";\n }\n .actor-4 {\n ").concat(e.actor4?"fill: ".concat(e.actor4):"",";\n }\n .actor-5 {\n ").concat(e.actor5?"fill: ".concat(e.actor5):"",";\n }\n\n }\n")},requirement:function(e){return"\n\n marker {\n fill: ".concat(e.relationColor,";\n stroke: ").concat(e.relationColor,";\n }\n\n marker.cross {\n stroke: ").concat(e.lineColor,";\n }\n\n svg {\n font-family: ").concat(e.fontFamily,";\n font-size: ").concat(e.fontSize,";\n }
1\n\n .reqBox {\n fill: ").concat(e.requirementBackground,";\n fill-opacity: 100%;\n stroke: ").concat(e.requirementBorderColor,";\n stroke-width: ").concat(e.requirementBorderSize,";\n }\n \n .reqTitle, .reqLabel{\n fill: ").concat(e.requirementTextColor,";\n }\n .reqLabelBox {\n fill: ").concat(e.relationLabelBackground,";\n fill-opacity: 100%;\n }\n\n .req-title-line {\n stroke: ").concat(e.requirementBorderColor,";\n stroke-width: ").concat(e.requirementBorderSize,";\n }\n .relationshipLine {\n stroke: ").concat(e.relationColor,";\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ").concat(e.relationLabelColor,";\n }\n\n")}};function uC(e){return(uC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var SC=function(e){return e.replace(/\ufb02\xb0\xb0/g,function(){return"&#"}).replace(/\ufb02\xb0/g,function(){return"&"}).replace(/\xb6\xdf/g,function(){return";"})},Zm={};function AC(e){var n;lb(e.git),Kx(e.flowchart),fm(e.flowchart),void 0!==e.sequenceDiagram&&qe.setConf(uo(e.sequence,e.sequenceDiagram)),qe.setConf(e.sequence),Ex(e.class),pC(e.state),fb(e.class),P_(e.er),CC(e.journey),ep(e.requirement),n=e.class,Object.keys(n).forEach(function(o){TE[o]=n[o]})}var kE=Object.freeze({render:function(e,n,o,l){ah();var _=n,p=ri.detectInit(_);p&&(ef(p),Vg(p));var m=oe();n.length>m.maxTextSize&&(_="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");var w=on("body");if(void 0!==l){if("sandbox"===m.securityLevel){var D=on("body").append("iframe").attr("id","i"+e).attr("style","width: 100%; height: 100%;").attr("sandbox","");(w=on(D.nodes()[0].contentDocument.body)).node().style.margin=0}if(l.innerHTML="","sandbox"===m.securityLevel){var S=on(l).append("iframe").attr("id","i"+e).attr("style","width: 100%; height: 100%;").attr("sandbox","");(w=on(S.nodes()[0].contentDocument.body)).node().style.margin=0}else w=on(l);w.append("div").attr("id","d"+e).attr("style","font-family: "+m.fontFamily).append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg").append("g")}else{var N,q=document.getElementById(e);if(q&&q.remove(),(N="sandbox"!==m.securityLevel?document.querySelector("#d"+e):document.querySelector("#i"+e))&&N.remove(),"sandbox"===m.securityLevel){var H=on("body").append("iframe").attr("id","i"+e).attr("style","width: 100%; height: 100%;").attr("sandbox","");(w=on(H.nodes()[0].contentDocument.body)).node().style.margin=0}else w=on("body");w.append("div").attr("id","d"+e).append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg").append("g")}_=_.replace(/style.*:\S*#.*;/g,function(xt){return xt.substring(0,xt.length-1)}).replace(/classDef.*:\S*#.*;/g,function(xt){return xt.substring(0,xt.length-1)}).replace(/#\w+;/g,function(xt){var $t=xt.substring(1,xt.length-1);return/^\+?\d+$/.test($t)?"\ufb02\xb0\xb0"+$t+"\xb6\xdf":"\ufb02\xb0"+$t+"\xb6\xdf"});var G=w.select("#d"+e).node(),_t=ri.detectType(_,m),st=G.firstChild,Dt=st.firstChild,vt="";if(void 0!==m.themeCSS&&(vt+="\n".concat(m.themeCSS)),void 0!==m.fontFamily&&(vt+="\n:root { --mermaid-font-family: ".concat(m.fontFamily,"}")),void 0!==m.altFontFamily&&(vt+="\n:root { --mermaid-alt-font-family: ".concat(m.altFontFamily,"}")),"flowchart"===_t||"flowchart-v2"===_t||"graph"===_t){var Et=function(xt){v.info("Extracting classes"),ui.clear();try{var $t=_f().parser;return $t.yy=ui,$t.parse(xt),ui.getClasses()}catch{return}}(_),Mt=m.htmlLabels||m.flowchart.htmlLabels;for(var Kt in Et)Mt?(vt+="\n.".concat(Kt," > * { ").concat(Et[Kt].styles.join(" !important; ")," !important; }"),vt+="\n.".concat(Kt," span { ").concat(Et[Kt].styles.join(" !important; ")," !important; }")):(vt+="\n.".concat(Kt," path { ").concat(Et[Kt].styles.join(" !important; ")," !important; }"),vt+="\n.".concat(Kt," rect { ").concat(Et[Kt].styles.join(" !important; ")," !important; }"),vt+="\n.".concat(Kt," polygon { ").concat(Et[Kt].styles.join(" !important; ")," !important; }"),vt+="\n.".concat(Kt," ellipse { ").concat(Et[Kt].styles.join(" !important; ")," !important; }
1"),vt+="\n.".concat(Kt," circle { ").concat(Et[Kt].styles.join(" !important; ")," !important; }"),Et[Kt].textStyles&&(vt+="\n.".concat(Kt," tspan { ").concat(Et[Kt].textStyles.join(" !important; ")," !important; }")))}var xt,$t,wt,re=function(xt,$t){return Sg(eT("".concat(xt,"{").concat($t,"}")),Ag)}("#".concat(e),(xt=_t,$t=vt," {\n font-family: ".concat((wt=m.themeVariables).fontFamily,";\n font-size: ").concat(wt.fontSize,";\n fill: ").concat(wt.textColor,"\n }\n\n /* Classes common for multiple diagrams */\n\n .error-icon {\n fill: ").concat(wt.errorBkgColor,";\n }\n .error-text {\n fill: ").concat(wt.errorTextColor,";\n stroke: ").concat(wt.errorTextColor,";\n }\n\n .edge-thickness-normal {\n stroke-width: 2px;\n }\n .edge-thickness-thick {\n stroke-width: 3.5px\n }\n .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n .marker {\n fill: ").concat(wt.lineColor,";\n stroke: ").concat(wt.lineColor,";\n }\n .marker.cross {\n stroke: ").concat(wt.lineColor,";\n }\n\n svg {\n font-family: ").concat(wt.fontFamily,";\n font-size: ").concat(wt.fontSize,";\n }\n\n ").concat(CE[xt](wt),"\n\n ").concat($t,"\n"))),qt=document.createElement("style");qt.innerHTML="#".concat(e," ")+re,st.insertBefore(qt,Dt);try{switch(_t){case"git":m.flowchart.arrowMarkerAbsolute=m.arrowMarkerAbsolute,lb(m.git),function(xt,$t,wt){try{var Se=ab().parser;Se.yy=bh,Se.yy.clear();var Ne,ge=oe().securityLevel;"sandbox"===ge&&(Ne=on("#i"+$t));var Ce=on("sandbox"===ge?Ne.nodes()[0].contentDocument.body:"body");"sandbox"===ge&&Ne.nodes(),v.debug("in gitgraph renderer",xt+"\n","id:",$t,!1),Se.parse(xt+"\n"),xi=Object.assign(xi,sb,bh.getOptions()),v.debug("effective options",xi);var Ue=bh.getDirection();gs=bh.getCommits();var Ie=bh.getBranchesAsObjArray();"BT"===Ue&&(xi.nodeLabel.x=Ie.length*xi.branchOffset,xi.nodeLabel.width="100%",xi.nodeLabel.y=-2*xi.nodeRadius);var we=Ce.select('[id="'.concat($t,'"]'));for(var Je in(Ye=we).append("defs").append("g").attr("id","def-commit").append("circle").attr("r",xi.nodeRadius).attr("cx",0).attr("cy",0),Ye.select("#def-commit").append("foreignObject").attr("width",xi.nodeLabel.width).attr("height",xi.nodeLabel.height).attr("x",xi.nodeLabel.x).attr("y",xi.nodeLabel.y).attr("class","node-label").attr("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility").append("p").html(""),$l=1,Ie){var Ke=Ie[Je];Cm(we,Ke.commit.id,Ie,Ue),cb(we,Ke.commit,Ue),$l++}we.attr("height",function(){return"BT"===Ue?Object.keys(gs).length*xi.nodeSpacing:(Ie.length+1)*xi.branchOffset})}catch(Ye){v.error("Error while rendering gitgraph"),v.error(Ye.message)}var Ye}(_,e);break;case"flowchart":m.flowchart.arrowMarkerAbsolute=m.arrowMarkerAbsolute,Kx(m.flowchart),function(e,n){v.info("Drawing flowchart"),ui.clear(),ui.setGen("gen-1");var o=_f().parser;o.yy=ui;var l,_=oe().securityLevel;"sandbox"===_&&(l=on("#i"+n));var p=on("sandbox"===_?l.nodes()[0].contentDocument.body:"body"),m="sandbox"===_?l.nodes()[0].contentDocument:document;o.parse(e);var w=ui.getDirection();void 0===w&&(w="TD");for(var D,S=oe().flowchart,N=S.nodeSpacing||50,q=S.rankSpacing||50,H=new(eo().Graph)({multigraph:!0,compound:!0}).setGraph({rankdir:w,nodesep:N,ranksep:q,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),G=ui.getSubGraphs(),_t=G.length-1;_t>=0;_t--)ui.addVertex((D=G[_t]).id,D.title,"group",void 0,D.classes);var st=ui.getVertices();v.warn("Get vertices",st);var Dt=ui.getEdges(),vt=0;for(vt=G.length-1;vt>=0;vt--){D=G[vt],Xh("cluster").append("text");for(var Et=0;Et<D.nodes.length;Et++)v.warn("Setting subgraph",D.nodes[Et],ui.lookUpDomId(D.nodes[Et]),ui.lookUpDomId(D.id)),H.setParent(ui.lookUpDomId(D.nodes[Et]),ui.lookUpDomId(D.id))}(function(Ke,Ye,Ln,je,Ti){oe();var Vi=je?je.select('[id="'.concat(Ln,'"]')):on('[id="'.concat(Ln,'"]')),Qn=Ti||document;Object.keys(Ke).forEach(function(lr){var Ai=Ke[lr],kn="default";Ai.classes.length>0&&(kn=Ai.classes.join(" "));var qn,Oi=Gc(Ai.styles),xa=void 0!==Ai.text?Ai.text:Ai.id;
1if(Fo(oe().flowchart.htmlLabels)){var ra={label:xa.replace(/fa[lrsb]?:fa-[\w-]+/g,function(Mf){return"<i class='".concat(Mf.replace(":"," "),"'></i>")})};(qn=lm()(Vi,ra).node()).parentNode.removeChild(qn)}else{var di=Qn.createElementNS("http://www.w3.org/2000/svg","text");di.setAttribute("style",Oi.labelStyle.replace("color:","fill:"));for(var Hn=xa.split(Si.lineBreakRegex),Ba=0;Ba<Hn.length;Ba++){var ts=Qn.createElementNS("http://www.w3.org/2000/svg","tspan");ts.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),ts.setAttribute("dy","1em"),ts.setAttribute("x","1"),ts.textContent=Hn[Ba],di.appendChild(ts)}qn=di}var vs=0,$r="";switch(Ai.type){case"round":vs=5,$r="rect";break;case"square":case"group":default:$r="rect";break;case"diamond":$r="question";break;case"hexagon":$r="hexagon";break;case"odd":case"odd_right":$r="rect_left_inv_arrow";break;case"lean_right":$r="lean_right";break;case"lean_left":$r="lean_left";break;case"trapezoid":$r="trapezoid";break;case"inv_trapezoid":$r="inv_trapezoid";break;case"circle":$r="circle";break;case"ellipse":$r="ellipse";break;case"stadium":$r="stadium";break;case"subroutine":$r="subroutine";break;case"cylinder":$r="cylinder"}v.warn("Adding node",Ai.id,Ai.domId),Ye.setNode(ui.lookUpDomId(Ai.id),{labelType:"svg",labelStyle:Oi.labelStyle,shape:$r,label:qn,rx:vs,ry:vs,class:kn,style:Oi.style,id:ui.lookUpDomId(Ai.id)})})})(st,H,n,p,m),function(Ke,Ye){var Ln,je,Ti=0;if(void 0!==Ke.defaultStyle){var Vi=Gc(Ke.defaultStyle);Ln=Vi.style,je=Vi.labelStyle}Ke.forEach(function(Qn){Ti++;var lr="L-"+Qn.start+"-"+Qn.end,Ai="LS-"+Qn.start,kn="LE-"+Qn.end,qn={};qn.arrowhead="arrow_open"===Qn.type?"none":"normal";var Oi="",xa="";if(void 0!==Qn.style){var ra=Gc(Qn.style);Oi=ra.style,xa=ra.labelStyle}else switch(Qn.stroke){case"normal":Oi="fill:none",void 0!==Ln&&(Oi=Ln),void 0!==je&&(xa=je);break;case"dotted":Oi="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":Oi=" stroke-width: 3.5px;fill:none"}qn.style=Oi,qn.labelStyle=xa,qn.curve=_s(void 0!==Qn.interpolate?Qn.interpolate:void 0!==Ke.defaultInterpolate?Ke.defaultInterpolate:zx.curve,fa),void 0===Qn.text?void 0!==Qn.style&&(qn.arrowheadStyle="fill: #333"):(qn.arrowheadStyle="fill: #333",qn.labelpos="c",Fo(oe().flowchart.htmlLabels)?(qn.labelType="html",qn.label='<span id="L-'.concat(lr,'" class="edgeLabel L-').concat(Ai,"' L-").concat(kn,'">').concat(Qn.text.replace(/fa[lrsb]?:fa-[\w-]+/g,function(di){return"<i class='".concat(di.replace(":"," "),"'></i>")}),"</span>")):(qn.labelType="text",qn.label=Qn.text.replace(Si.lineBreakRegex,"\n"),void 0===Qn.style&&(qn.style=qn.style||"stroke: #333; stroke-width: 1.5px;fill:none"),qn.labelStyle=qn.labelStyle.replace("color:","fill:"))),qn.id=lr,qn.class=Ai+" "+kn,qn.minlen=Qn.length||1,Ye.setEdge(ui.lookUpDomId(Qn.start),ui.lookUpDomId(Qn.end),qn,Ti)})}(Dt,H);var Mt=new(Za().render);(function(e){e.shapes().question=$x,e.shapes().hexagon=um,e.shapes().stadium=HT,e.shapes().subroutine=dm,e.shapes().cylinder=YT,e.shapes().rect_left_inv_arrow=pf,e.shapes().lean_right=jx,e.shapes().lean_left=Gx,e.shapes().trapezoid=gf,e.shapes().inv_trapezoid=hm,e.shapes().rect_right_inv_arrow=JT})(Mt),Mt.arrows().none=function(Ke,Ye,Ln,je){var Ti=Ke.append("marker").attr("id",Ye).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 0 0 L 0 0 z");Za().util.applyStyle(Ti,Ln[je+"Style"])},Mt.arrows().normal=function(Ke,Ye){Ke.append("marker").attr("id",Ye).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowheadPath").style("stroke-width",1).style("stroke-dasharray","1,0")};var Kt=p.select('[id="'.concat(n,'"]'));Kt.attr("xmlns:xlink","http://www.w3.org/1999/xlink"),v.warn(H);var re=p.select("#"+n+" g");Mt(re,H),re.selectAll("g.node").attr("title",function(){return ui.getTooltip(this.id)});var qt=S.diagramPadding,Xt=Kt.node().getBBox(),_e=Xt.width+2*qt,It=Xt.height+2*qt;ga(Kt,It,_e,S.useMaxWidth);var Ut="".concat(Xt.x-qt," ").concat(Xt.y-qt," ").concat(_e," ").concat(It);for(v.debug("viewBox ".concat(Ut)),Kt.attr("viewBox",Ut),ui.indexNodes("subGraph"+vt),vt=0;vt<G.length;vt++)if("undefined"!==(D=G[vt]).title){var Ft=m.querySelectorAll("#"+n+' [id="'+ui.lookUpDomId(D.id)+'"] rect'),xt=m.querySelectorAll("#"+n+' [id="'+ui.lookUpDomId(D.id)+'"]'),$t=Ft[0].x.baseVal.value,wt=Ft[0].y.baseVal.value,Se=Ft[0].width.baseVal.value,Ne=on(xt[0]).select(".label");Ne.attr("transform","translate(".concat($t+Se/2,", ").concat(wt+14,")")),Ne.attr("id",n+"Text");for(var ge=0;ge<D.classes.length;ge++)xt[0].classList.add(D.classes[ge])}Fo(S.htmlLabels);for(var Ce=m.querySelectorAll('[id="'+n+'"] .edgeLabel .label'),Ue=0;Ue<Ce.length;Ue++){var Ie=Ce[Ue],we=Ie.getBBox(),Je=m.createElementNS("http://www.w3.org/2000/svg","rect");Je.setAttribute("rx",0),Je.setAttribute("ry",0),Je.setAttribute("width",we.width),Je.setAttribute("height",we.height),Ie.insertBefore(Je,Ie.firstChild)}Object.keys(st).forEach(function(Ke){var Ye=st[Ke];if(Ye.link){var Ln=p.select("#"+n+' [id="'+ui.lookUpDomId(Ke)+'"]');if(Ln){var je=m.createElementNS("http://www.w3.org/2000/svg","a");je.setAttributeNS("http://www.w3.org/2000/svg","class",Ye.classes.join(" ")),je.setAttributeNS("http://www.w3.org/2000/svg","href",Ye.link),je.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===_?je.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):Ye.linkTarget&&je.setAttributeNS("http://www.w3.org/2000/svg","target",Ye.linkTarget);var Ti=Ln.insert(function(){return je},":first-child"),Vi=Ln.select(".label-container");Vi&&Ti.append(function(){return Vi.node()});var Qn=Ln.select(".label");Qn&&Ti.append(function(){return Qn.node()})}}})}(_,e);break;
1case"flowchart-v2":m.flowchart.arrowMarkerAbsolute=m.arrowMarkerAbsolute,fm(m.flowchart),function(e,n){v.info("Drawing flowchart"),ui.clear(),ui.setGen("gen-2");var o=_f().parser;o.yy=ui,o.parse(e);var l=ui.getDirection();void 0===l&&(l="TD");var _,p=oe().flowchart,m=p.nodeSpacing||50,w=p.rankSpacing||50,D=oe().securityLevel;"sandbox"===D&&(_=on("#i"+n));var S,N=on("sandbox"===D?_.nodes()[0].contentDocument.body:"body"),q="sandbox"===D?_.nodes()[0].contentDocument:document,H=new(eo().Graph)({multigraph:!0,compound:!0}).setGraph({rankdir:l,nodesep:m,ranksep:w,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),G=ui.getSubGraphs();v.info("Subgraphs - ",G);for(var _t=G.length-1;_t>=0;_t--)v.info("Subgraph - ",S=G[_t]),ui.addVertex(S.id,S.title,"group",void 0,S.classes,S.dir);var st=ui.getVertices(),Dt=ui.getEdges();v.info(Dt);var wt,Se,Ce,Ue,vt=0;for(vt=G.length-1;vt>=0;vt--){S=G[vt],Xh("cluster").append("text");for(var Et=0;Et<S.nodes.length;Et++)v.info("Setting up subgraphs",S.nodes[Et],S.id),H.setParent(S.nodes[Et],S.id)}wt=st,Se=H,Ce=q,Ue=N.select('[id="'.concat(n,'"]')),Object.keys(wt).forEach(function(Ie){var we=wt[Ie],Je="default";we.classes.length>0&&(Je=we.classes.join(" "));var Ke,Ye=Gc(we.styles),Ln=void 0!==we.text?we.text:we.id;if(Fo(oe().flowchart.htmlLabels)){var je={label:Ln.replace(/fa[lrsb]?:fa-[\w-]+/g,function(qn){return"<i class='".concat(qn.replace(":"," "),"'></i>")})};(Ke=lm()(Ue,je).node()).parentNode.removeChild(Ke)}else{var Ti=Ce.createElementNS("http://www.w3.org/2000/svg","text");Ti.setAttribute("style",Ye.labelStyle.replace("color:","fill:"));for(var Vi=Ln.split(Si.lineBreakRegex),Qn=0;Qn<Vi.length;Qn++){var lr=Ce.createElementNS("http://www.w3.org/2000/svg","tspan");lr.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),lr.setAttribute("dy","1em"),lr.setAttribute("x","1"),lr.textContent=Vi[Qn],Ti.appendChild(lr)}Ke=Ti}var Ai=0,kn="";switch(we.type){case"round":Ai=5,kn="rect";break;case"square":case"group":default:kn="rect";break;case"diamond":kn="question";break;case"hexagon":kn="hexagon";break;case"odd":case"odd_right":kn="rect_left_inv_arrow";break;case"lean_right":kn="lean_right";break;case"lean_left":kn="lean_left";break;case"trapezoid":kn="trapezoid";break;case"inv_trapezoid":kn="inv_trapezoid";break;case"circle":kn="circle";break;case"ellipse":kn="ellipse";break;case"stadium":kn="stadium";break;case"subroutine":kn="subroutine";break;case"cylinder":kn="cylinder"}Se.setNode(we.id,{labelStyle:Ye.labelStyle,shape:kn,labelText:Ln,rx:Ai,ry:Ai,class:Je,style:Ye.style,id:we.id,link:we.link,linkTarget:we.linkTarget,tooltip:ui.getTooltip(we.id)||"",domId:ui.lookUpDomId(we.id),haveCallback:we.haveCallback,width:"group"===we.type?500:void 0,dir:we.dir,type:we.type,props:we.props,padding:oe().flowchart.padding}),v.info("setNode",{labelStyle:Ye.labelStyle,shape:kn,labelText:Ln,rx:Ai,ry:Ai,class:Je,style:Ye.style,id:we.id,domId:ui.lookUpDomId(we.id),width:"group"===we.type?500:void 0,type:we.type,dir:we.dir,props:we.props,padding:oe().flowchart.padding})}),function(wt,Se){v.info("abc78 edges = ",wt);var Ne,ge,Ce=0,Ue={};if(void 0!==wt.defaultStyle){var Ie=Gc(wt.defaultStyle);Ne=Ie.style,ge=Ie.labelStyle}wt.forEach(function(we){Ce++;var Je="L-"+we.start+"-"+we.end;void 0===Ue[Je]?(Ue[Je]=0,v.info("abc78 new entry",Je,Ue[Je])):(Ue[Je]++,v.info("abc78 new entry",Je,Ue[Je]));var Ke=Je+"-"+Ue[Je];v.info("abc78 new link id to be used is",Je,Ke,Ue[Je]);var Ye="LS-"+we.start,Ln="LE-"+we.end,je={style:"",labelStyle:""};switch(je.minlen=we.length||1,je.arrowhead="arrow_open"===we.type?"none":"normal",je.arrowTypeStart="arrow_open",je.arrowTypeEnd="arrow_open",we.type){case"double_arrow_cross":je.arrowTypeStart="arrow_cross";case"arrow_cross":je.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":je.arrowTypeStart="arrow_point";case"arrow_point":je.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":je.arrowTypeStart="arrow_circle";case"arrow_circle":je.arrowTypeEnd="arrow_circle"}var Ti="",Vi="";switch(we.stroke){case"normal":Ti="fill:none;",void 0!==Ne&&(Ti=Ne),void 0!==ge&&(Vi=ge),je.thickness="normal",je.pattern="solid";break;case"dotted":je.thickness="normal",je.pattern="dotted",je.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;
1case"thick":je.thickness="thick",je.pattern="solid",je.style="stroke-width: 3.5px;fill:none;"}if(void 0!==we.style){var Qn=Gc(we.style);Ti=Qn.style,Vi=Qn.labelStyle}je.style=je.style+=Ti,je.labelStyle=je.labelStyle+=Vi,je.curve=_s(void 0!==we.interpolate?we.interpolate:void 0!==wt.defaultInterpolate?wt.defaultInterpolate:q_.curve,fa),void 0===we.text?void 0!==we.style&&(je.arrowheadStyle="fill: #333"):(je.arrowheadStyle="fill: #333",je.labelpos="c"),je.labelType="text",je.label=we.text.replace(Si.lineBreakRegex,"\n"),void 0===we.style&&(je.style=je.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),je.labelStyle=je.labelStyle.replace("color:","fill:"),je.id=Ke,je.classes="flowchart-link "+Ye+" "+Ln,Se.setEdge(we.start,we.end,je,Ce)})}(Dt,H);var Mt=N.select('[id="'.concat(n,'"]'));Mt.attr("xmlns:xlink","http://www.w3.org/1999/xlink");var Kt=N.select("#"+n+" g");dh(Kt,H,["point","circle","cross"],"flowchart",n);var re=p.diagramPadding,qt=Mt.node().getBBox(),Xt=qt.width+2*re,_e=qt.height+2*re;if(v.debug("new ViewBox 0 0 ".concat(Xt," ").concat(_e),"translate(".concat(re-H._label.marginx,", ").concat(re-H._label.marginy,")")),ga(Mt,_e,Xt,p.useMaxWidth),Mt.attr("viewBox","0 0 ".concat(Xt," ").concat(_e)),Mt.select("g").attr("transform","translate(".concat(re-H._label.marginx,", ").concat(re-qt.y,")")),ui.indexNodes("subGraph"+vt),!p.htmlLabels)for(var It=q.querySelectorAll('[id="'+n+'"] .edgeLabel .label'),Ut=0;Ut<It.length;Ut++){var Ft=It[Ut],xt=Ft.getBBox(),$t=q.createElementNS("http://www.w3.org/2000/svg","rect");$t.setAttribute("rx",0),$t.setAttribute("ry",0),$t.setAttribute("width",xt.width),$t.setAttribute("height",xt.height),Ft.insertBefore($t,Ft.firstChild)}Object.keys(st).forEach(function(wt){var Se=st[wt];if(Se.link){var Ne=on("#"+n+' [id="'+wt+'"]');if(Ne){var ge=q.createElementNS("http://www.w3.org/2000/svg","a");ge.setAttributeNS("http://www.w3.org/2000/svg","class",Se.classes.join(" ")),ge.setAttributeNS("http://www.w3.org/2000/svg","href",Se.link),ge.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===D?ge.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):Se.linkTarget&&ge.setAttributeNS("http://www.w3.org/2000/svg","target",Se.linkTarget);var Ce=Ne.insert(function(){return ge},":first-child"),Ue=Ne.select(".label-container");Ue&&Ce.append(function(){return Ue.node()});var Ie=Ne.select(".label");Ie&&Ce.append(function(){return Ie.node()})}}})}(_,e);break;case"sequence":m.sequence.arrowMarkerAbsolute=m.arrowMarkerAbsolute,m.sequenceDiagram?(qe.setConf(Object.assign(m.sequence,m.sequenceDiagram)),console.error("`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.")):qe.setConf(m.sequence),qe.draw(_,e);break;case"gantt":m.gantt.arrowMarkerAbsolute=m.arrowMarkerAbsolute,QT(_,e);break;case"class":m.class.arrowMarkerAbsolute=m.arrowMarkerAbsolute,Ex(m.class),function(e,n){N_={},ch.parser.yy.clear(),ch.parser.parse(e),v.info("Rendering diagram "+e);var o,l=oe().securityLevel;"sandbox"===l&&(o=on("#i"+n));var _,p=on("sandbox"===l?o.nodes()[0].contentDocument.body:"body"),m=("sandbox"===l&&o.nodes(),p.select("[id='".concat(n,"']")));m.attr("xmlns:xlink","http://www.w3.org/1999/xlink"),(_=m).append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),_.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),_.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),_.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),_.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),_.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),_.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),_.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z");var w=new(eo().Graph)({multigraph:!0});w.setGraph({isMultiGraph:!0}),w.setDefaultEdgeLabel(function(){return{}});for(var D=Os.getClasses(),S=Object.keys(D),N=0;N<S.length;N++){var H=CT(m,D[S[N]],L_);N_[H.id]=H,w.setNode(H.id,H),v.info("Org height: "+H.height)}
1Os.getRelations().forEach(function(vt){v.info("tjoho"+cf(vt.id1)+cf(vt.id2)+JSON.stringify(vt)),w.setEdge(cf(vt.id1),cf(vt.id2),{relation:vt},vt.title||"DEFAULT")}),sf().layout(w),w.nodes().forEach(function(vt){void 0!==vt&&void 0!==w.node(vt)&&(v.debug("Node "+vt+": "+JSON.stringify(w.node(vt))),p.select("#"+I_(vt)).attr("transform","translate("+(w.node(vt).x-w.node(vt).width/2)+","+(w.node(vt).y-w.node(vt).height/2)+" )"))}),w.edges().forEach(function(vt){void 0!==vt&&void 0!==w.edge(vt)&&(v.debug("Edge "+vt.v+" -> "+vt.w+": "+JSON.stringify(w.edge(vt))),function(Et,Mt,Kt,re){var qt=function(Ye){switch(Ye){case af.AGGREGATION:return"aggregation";case af.EXTENSION:return"extension";case af.COMPOSITION:return"composition";case af.DEPENDENCY:return"dependency"}};Mt.points=Mt.points.filter(function(Ye){return!Number.isNaN(Ye.y)});var Xt,_e,It=Mt.points,Ut=Bc().x(function(Ye){return Ye.x}).y(function(Ye){return Ye.y}).curve(Kr),Ft=Et.append("path").attr("d",Ut(It)).attr("id","edge"+Sx).attr("class","relation"),xt="";re.arrowMarkerAbsolute&&(xt=(xt=(xt=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),1==Kt.relation.lineType&&Ft.attr("class","relation dashed-line"),"none"!==Kt.relation.type1&&Ft.attr("marker-start","url("+xt+"#"+qt(Kt.relation.type1)+"Start)"),"none"!==Kt.relation.type2&&Ft.attr("marker-end","url("+xt+"#"+qt(Kt.relation.type2)+"End)");var $t,wt,Se,Ne,ge=Mt.points.length,Ce=ri.calcLabelPosition(Mt.points);if(Xt=Ce.x,_e=Ce.y,ge%2!=0&&ge>1){var Ue=ri.calcCardinalityPosition("none"!==Kt.relation.type1,Mt.points,Mt.points[0]),Ie=ri.calcCardinalityPosition("none"!==Kt.relation.type2,Mt.points,Mt.points[ge-1]);v.debug("cardinality_1_point "+JSON.stringify(Ue)),v.debug("cardinality_2_point "+JSON.stringify(Ie)),$t=Ue.x,wt=Ue.y,Se=Ie.x,Ne=Ie.y}if(void 0!==Kt.title){var we=Et.append("g").attr("class","classLabel"),Je=we.append("text").attr("class","label").attr("x",Xt).attr("y",_e).attr("fill","red").attr("text-anchor","middle").text(Kt.title);window.label=Je;var Ke=Je.node().getBBox();we.insert("rect",":first-child").attr("class","box").attr("x",Ke.x-re.padding/2).attr("y",Ke.y-re.padding/2).attr("width",Ke.width+re.padding).attr("height",Ke.height+re.padding)}v.info("Rendering relation "+JSON.stringify(Kt)),void 0!==Kt.relationTitle1&&"none"!==Kt.relationTitle1&&Et.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",$t).attr("y",wt).attr("fill","black").attr("font-size","6").text(Kt.relationTitle1),void 0!==Kt.relationTitle2&&"none"!==Kt.relationTitle2&&Et.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",Se).attr("y",Ne).attr("fill","black").attr("font-size","6").text(Kt.relationTitle2),Sx++}(m,w.edge(vt),w.edge(vt).relation,L_))});var G=m.node().getBBox(),_t=G.width+40,st=G.height+40;ga(m,st,_t,L_.useMaxWidth);var Dt="".concat(G.x-20," ").concat(G.y-20," ").concat(_t," ").concat(st);v.debug("viewBox ".concat(Dt)),m.attr("viewBox",Dt)}(_,e);break;case"classDiagram":m.class.arrowMarkerAbsolute=m.arrowMarkerAbsolute,function(xt){Object.keys(xt).forEach(function($t){Px[$t]=xt[$t]})}(m.class),function(xt,$t){v.info("Drawing class - ",$t),Os.clear(),ch.parser.parse(xt);var wt=oe().flowchart,Se=oe().securityLevel;v.info("config:",wt);var Ne,Oi,xa,ra,ge=wt.nodeSpacing||50,Ce=wt.rankSpacing||50,Ue=new(eo().Graph)({multigraph:!0,compound:!0}).setGraph({rankdir:Os.getDirection(),nodesep:ge,ranksep:Ce,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),Ie=Os.getClasses(),we=Os.getRelations();v.info(we),Oi=Ie,xa=Ue,ra=Object.keys(Oi),v.info("keys:",ra),v.info(Oi),ra.forEach(function(di){var Hn=Oi[di],Ba="";Hn.cssClasses.length>0&&(Ba=Ba+" "+Hn.cssClasses.join(" "));var ts,$r={labelStyle:""},Mf=void 0!==Hn.text?Hn.text:Hn.id;xa.setNode(Hn.id,{labelStyle:$r.labelStyle,shape:"class_box",labelText:(ts=Mf,Si.sanitizeText(ts,oe())),classData:Hn,rx:0,ry:0,class:Ba,style:$r.style,id:Hn.id,domId:Hn.domId,haveCallback:Hn.haveCallback,link:Hn.link,width:"group"===Hn.type?500:void 0,type:Hn.type,padding:oe().flowchart.padding}),v.info("setNode",{labelStyle:$r.labelStyle,shape:"class_box",labelText:Mf,rx:0,ry:0,class:Ba,style:$r.style,id:Hn.id,width:"group"===Hn.type?500:void 0,type:Hn.type,padding:oe().flowchart.padding})}),function(Oi,xa){var ra=0;
1Oi.forEach(function(di){ra++;var Hn={classes:"relation"};Hn.pattern=1==di.relation.lineType?"dashed":"solid",Hn.id="id"+ra,Hn.arrowhead="arrow_open"===di.type?"none":"normal",v.info(Hn,di),Hn.startLabelRight="none"===di.relationTitle1?"":di.relationTitle1,Hn.endLabelLeft="none"===di.relationTitle2?"":di.relationTitle2,Hn.arrowTypeStart=hf(di.relation.type1),Hn.arrowTypeEnd=hf(di.relation.type2);var Ba="",ts="";if(void 0!==di.style){var vs=Gc(di.style);Ba=vs.style,ts=vs.labelStyle}else Ba="fill:none";Hn.style=Ba,Hn.labelStyle=ts,Hn.curve=_s(void 0!==di.interpolate?di.interpolate:void 0!==Oi.defaultInterpolate?Oi.defaultInterpolate:Px.curve,fa),di.text=di.title,void 0===di.text?void 0!==di.style&&(Hn.arrowheadStyle="fill: #333"):(Hn.arrowheadStyle="fill: #333",Hn.labelpos="c",oe().flowchart.htmlLabels?(Hn.labelType="html",Hn.label='<span class="edgeLabel">'+di.text+"</span>"):(Hn.labelType="text",Hn.label=di.text.replace(Si.lineBreakRegex,"\n"),void 0===di.style&&(Hn.style=Hn.style||"stroke: #333; stroke-width: 1.5px;fill:none"),Hn.labelStyle=Hn.labelStyle.replace("color:","fill:"))),xa.setEdge(di.id1,di.id2,Hn,ra)})}(we,Ue),"sandbox"===Se&&(Ne=on("#i"+$t));var Je=on("sandbox"===Se?Ne.nodes()[0].contentDocument.body:"body"),Ke=Je.select('[id="'.concat($t,'"]'));Ke.attr("xmlns:xlink","http://www.w3.org/1999/xlink");var Ye=Je.select("#"+$t+" g");dh(Ye,Ue,["aggregation","extension","composition","dependency"],"classDiagram",$t);var Ln=Ke.node().getBBox(),je=Ln.width+16,Ti=Ln.height+16;if(v.debug("new ViewBox 0 0 ".concat(je," ").concat(Ti),"translate(".concat(8-Ue._label.marginx,", ").concat(8-Ue._label.marginy,")")),ga(Ke,Ti,je,wt.useMaxWidth),Ke.attr("viewBox","0 0 ".concat(je," ").concat(Ti)),Ke.select("g").attr("transform","translate(".concat(8-Ue._label.marginx,", ").concat(8-Ln.y,")")),!wt.htmlLabels)for(var Vi="sandbox"===Se?Ne.nodes()[0].contentDocument:document,Qn=Vi.querySelectorAll('[id="'+$t+'"] .edgeLabel .label'),lr=0;lr<Qn.length;lr++){var Ai=Qn[lr],kn=Ai.getBBox(),qn=Vi.createElementNS("http://www.w3.org/2000/svg","rect");qn.setAttribute("rx",0),qn.setAttribute("ry",0),qn.setAttribute("width",kn.width),qn.setAttribute("height",kn.height),Ai.insertBefore(qn,Ai.firstChild)}}(_,e);break;case"state":m.class.arrowMarkerAbsolute=m.arrowMarkerAbsolute,_E(_,e);break;case"stateDiagram":m.class.arrowMarkerAbsolute=m.arrowMarkerAbsolute,pC(m.state),function(xt,$t){v.info("Drawing state diagram (v2)",$t),Qr.clear(),Qi={};var wt=Fn().parser;wt.yy=Qr,wt.parse(xt);var Se=Qr.getDirection();void 0===Se&&(Se="LR");var Ne=oe().state,ge=Ne.nodeSpacing||50,Ce=Ne.rankSpacing||50,Ue=oe().securityLevel;v.info(Qr.getRootDocV2()),Qr.extract(Qr.getRootDocV2()),v.info(Qr.getRootDocV2());var Ie,we=new(eo().Graph)({multigraph:!0,compound:!0}).setGraph({rankdir:iC(Qr.getRootDocV2()),nodesep:ge,ranksep:Ce,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});Ab(we,void 0,Qr.getRootDocV2(),!0),"sandbox"===Ue&&(Ie=on("#i"+$t));var Je=on("sandbox"===Ue?Ie.nodes()[0].contentDocument.body:"body"),Ke=("sandbox"===Ue&&Ie.nodes(),Je.select('[id="'.concat($t,'"]'))),Ye=Je.select("#"+$t+" g");dh(Ye,we,["barb"],"statediagram",$t);var Ln=Ke.node().getBBox(),je=Ln.width+16,Ti=Ln.height+16;Ke.attr("class","statediagram");var Vi=Ke.node().getBBox();ga(Ke,Ti,1.75*je,Ne.useMaxWidth);var Qn="".concat(Vi.x-8," ").concat(Vi.y-8," ").concat(je," ").concat(Ti);v.debug("viewBox ".concat(Qn)),Ke.attr("viewBox",Qn);for(var lr=document.querySelectorAll('[id="'+$t+'"] .edgeLabel .label'),Ai=0;Ai<lr.length;Ai++){var kn=lr[Ai],qn=kn.getBBox(),Oi=document.createElementNS("http://www.w3.org/2000/svg","rect");Oi.setAttribute("rx",0),Oi.setAttribute("ry",0),Oi.setAttribute("width",qn.width),Oi.setAttribute("height",qn.height),kn.insertBefore(Oi,kn.firstChild)}}(_,e);break;case"info":m.class.arrowMarkerAbsolute=m.arrowMarkerAbsolute,fb(m.class),function(xt,$t,wt){try{var Se=Dm().parser;Se.yy=km,v.debug("Renering info diagram\n"+xt);var Ne,ge=oe().securityLevel;"sandbox"===ge&&(Ne=on("#i"+$t));var Ce=on("sandbox"===ge?Ne.nodes()[0].contentDocument.body:"body");"sandbox"===ge&&Ne.nodes(),Se.parse(xt),v.debug("Parsed info diagram");var Ue=Ce.select("#"+$t);Ue.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v 8.14.0"),Ue.attr("height",100),Ue.attr("width",400)}catch(Ie){v.error("Error while rendering info diagram"),v.error(Ie.message)}}(_,e);break;case"pie":pb(_,e);break;case"er":P_(m.er),function(e,n){v.info("Drawing ER diagram"),Mo.clear();var o=Jx().parser;o.yy=Mo;var l,_=oe().securityLevel;"sandbox"===_&&(l=on("#i"+n));var p=on("sandbox"===_?l.nodes()[0].contentDocument.body:"body");"sandbox"===_&&l.nodes();try{o.parse(e)}catch{v.debug("Parsing failed")}var m,_t,st,Dt,w=p.select("[id='".concat(n,"']"));st=cr,(_t=w).append("defs").append("marker").attr("id",fc.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",st.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),_t.append("defs").append("marker").attr("id",fc.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",st.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),(Dt=_t.append("defs").append("marker").attr("id",fc.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",st.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),Dt.append("path").attr("stroke",st.stroke).attr("fill","none").attr("d","M9,0 L9,18"),(Dt=_t.append("defs").append("marker").attr("id",fc.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",st.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),Dt.append("path").attr("stroke",st.stroke).attr("fill","none").attr("d","M21,0 L21,18"),_t.append("defs").append("marker").attr("id",fc.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",st.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),_t.append("defs").append("marker").attr("id",fc.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",st.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),(Dt=_t.append("defs").append("marker").attr("id",fc.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",st.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),Dt.append("path").attr("stroke",st.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),(Dt=_t.append("defs").append("marker").attr("id",fc.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",st.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),Dt.append("path").attr("stroke",st.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18"),m=new(eo().Graph)({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:cr.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});var D=function(_t,st,Dt){var vt;return Object.keys(st).forEach(function(Et){var Mt=_t.append("g").attr("id",Et);vt=void 0===vt?Et:vt;var Kt="entity-"+Et,re=Mt.append("text").attr("class","er entityLabel").attr("id",Kt).attr("x",0).attr("y",0).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("style","font-family: "+oe().fontFamily+"; font-size: "+cr.fontSize+"px").text(Et),qt=function(Ut,Ft,xt){var $t=cr.entityPadding/3,wt=cr.entityPadding/3,Se=.85*cr.fontSize,Ne=Ft.
1node().getBBox(),ge=[],Ce=!1,Ue=!1,Ie=0,we=0,Je=0,Ke=0,Ye=Ne.height+2*$t,Ln=1;xt.forEach(function(kn){void 0!==kn.attributeKeyType&&(Ce=!0),void 0!==kn.attributeComment&&(Ue=!0)}),xt.forEach(function(kn){var qn="".concat(Ft.node().id,"-attr-").concat(Ln),Oi=0,xa=Ut.append("text").attr("class","er entityLabel").attr("id","".concat(qn,"-type")).attr("x",0).attr("y",0).attr("dominant-baseline","middle").attr("text-anchor","left").attr("style","font-family: "+oe().fontFamily+"; font-size: "+Se+"px").text(kn.attributeType),ra=Ut.append("text").attr("class","er entityLabel").attr("id","".concat(qn,"-name")).attr("x",0).attr("y",0).attr("dominant-baseline","middle").attr("text-anchor","left").attr("style","font-family: "+oe().fontFamily+"; font-size: "+Se+"px").text(kn.attributeName),di={};di.tn=xa,di.nn=ra;var Hn=xa.node().getBBox(),Ba=ra.node().getBBox();if(Ie=Math.max(Ie,Hn.width),we=Math.max(we,Ba.width),Oi=Math.max(Hn.height,Ba.height),Ce){var ts=Ut.append("text").attr("class","er entityLabel").attr("id","".concat(qn,"-key")).attr("x",0).attr("y",0).attr("dominant-baseline","middle").attr("text-anchor","left").attr("style","font-family: "+oe().fontFamily+"; font-size: "+Se+"px").text(kn.attributeKeyType||"");di.kn=ts;var vs=ts.node().getBBox();Je=Math.max(Je,vs.width),Oi=Math.max(Oi,vs.height)}if(Ue){var $r=Ut.append("text").attr("class","er entityLabel").attr("id","".concat(qn,"-comment")).attr("x",0).attr("y",0).attr("dominant-baseline","middle").attr("text-anchor","left").attr("style","font-family: "+oe().fontFamily+"; font-size: "+Se+"px").text(kn.attributeComment||"");di.cn=$r;var Mf=$r.node().getBBox();Ke=Math.max(Ke,Mf.width),Oi=Math.max(Oi,Mf.height)}di.height=Oi,ge.push(di),Ye+=Oi+2*$t,Ln+=1});var je=4;Ce&&(je+=2),Ue&&(je+=2);var Ti=Ie+we+Je+Ke,Vi={width:Math.max(cr.minEntityWidth,Math.max(Ne.width+2*cr.entityPadding,Ti+wt*je)),height:xt.length>0?Ye:Math.max(cr.minEntityHeight,Ne.height+2*cr.entityPadding)};if(xt.length>0){var Qn=Math.max(0,(Vi.width-Ti-wt*je)/(je/2));Ft.attr("transform","translate("+Vi.width/2+","+($t+Ne.height/2)+")");var lr=Ne.height+2*$t,Ai="attributeBoxOdd";ge.forEach(function(kn){var qn=lr+$t+kn.height/2;kn.tn.attr("transform","translate("+wt+","+qn+")");var Oi=Ut.insert("rect","#"+kn.tn.node().id).attr("class","er ".concat(Ai)).attr("fill",cr.fill).attr("fill-opacity","100%").attr("stroke",cr.stroke).attr("x",0).attr("y",lr).attr("width",Ie+2*wt+Qn).attr("height",kn.height+2*$t),xa=parseFloat(Oi.attr("x"))+parseFloat(Oi.attr("width"));kn.nn.attr("transform","translate("+(xa+wt)+","+qn+")");var ra=Ut.insert("rect","#"+kn.nn.node().id).attr("class","er ".concat(Ai)).attr("fill",cr.fill).attr("fill-opacity","100%").attr("stroke",cr.stroke).attr("x",xa).attr("y",lr).attr("width",we+2*wt+Qn).attr("height",kn.height+2*$t),di=parseFloat(ra.attr("x"))+parseFloat(ra.attr("width"));if(Ce){kn.kn.attr("transform","translate("+(di+wt)+","+qn+")");var Hn=Ut.insert("rect","#"+kn.kn.node().id).attr("class","er ".concat(Ai)).attr("fill",cr.fill).attr("fill-opacity","100%").attr("stroke",cr.stroke).attr("x",di).attr("y",lr).attr("width",Je+2*wt+Qn).attr("height",kn.height+2*$t);di=parseFloat(Hn.attr("x"))+parseFloat(Hn.attr("width"))}Ue&&(kn.cn.attr("transform","translate("+(di+wt)+","+qn+")"),Ut.insert("rect","#"+kn.cn.node().id).attr("class","er ".concat(Ai)).attr("fill",cr.fill).attr("fill-opacity","100%").attr("stroke",cr.stroke).attr("x",di).attr("y",lr).attr("width",Ke+2*wt+Qn).attr("height",kn.height+2*$t)),lr+=kn.height+2*$t,Ai="attributeBoxOdd"==Ai?"attributeBoxEven":"attributeBoxOdd"})}else Vi.height=Math.max(cr.minEntityHeight,Ye),Ft.attr("transform","translate("+Vi.width/2+","+Vi.height/2+")");return Vi}(Mt,re,st[Et].attributes),Xt=qt.width,_e=qt.height,It=Mt.insert("rect","#"+Kt).attr("class","er entityBox").attr("fill",cr.fill).attr("fill-opacity","100%").attr("stroke",cr.stroke).attr("x",0).attr("y",0).attr("width",Xt).attr("height",_e).node().getBBox();Dt.setNode(Et,{width:It.width,height:It.height,shape:"rect",id:Et})}),vt}(w,Mo.getEntities(),m),S=function(_t,st){return _t.forEach(function(Dt){st.setEdge(Dt.entityA,Dt.entity
1B,{relationship:Dt},Hx(Dt))}),_t}(Mo.getRelationships(),m);sf().layout(m),function(_t,st){st.nodes().forEach(function(Dt){void 0!==Dt&&void 0!==st.node(Dt)&&_t.select("#"+Dt).attr("transform","translate("+(st.node(Dt).x-st.node(Dt).width/2)+","+(st.node(Dt).y-st.node(Dt).height/2)+" )")})}(w,m),S.forEach(function(_t){!function(st,Dt,vt,Et){rm++;var Mt=vt.edge(Dt.entityA,Dt.entityB,Hx(Dt)),Kt=Bc().x(function(Ft){return Ft.x}).y(function(Ft){return Ft.y}).curve(Kr),re=st.insert("path","#"+Et).attr("class","er relationshipLine").attr("d",Kt(Mt.points)).attr("stroke",cr.stroke).attr("fill","none");Dt.relSpec.relType===Mo.Identification.NON_IDENTIFYING&&re.attr("stroke-dasharray","8,8");var qt="";switch(cr.arrowMarkerAbsolute&&(qt=(qt=(qt=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),Dt.relSpec.cardA){case Mo.Cardinality.ZERO_OR_ONE:re.attr("marker-end","url("+qt+"#"+zc.ZERO_OR_ONE_END+")");break;case Mo.Cardinality.ZERO_OR_MORE:re.attr("marker-end","url("+qt+"#"+zc.ZERO_OR_MORE_END+")");break;case Mo.Cardinality.ONE_OR_MORE:re.attr("marker-end","url("+qt+"#"+zc.ONE_OR_MORE_END+")");break;case Mo.Cardinality.ONLY_ONE:re.attr("marker-end","url("+qt+"#"+zc.ONLY_ONE_END+")")}switch(Dt.relSpec.cardB){case Mo.Cardinality.ZERO_OR_ONE:re.attr("marker-start","url("+qt+"#"+zc.ZERO_OR_ONE_START+")");break;case Mo.Cardinality.ZERO_OR_MORE:re.attr("marker-start","url("+qt+"#"+zc.ZERO_OR_MORE_START+")");break;case Mo.Cardinality.ONE_OR_MORE:re.attr("marker-start","url("+qt+"#"+zc.ONE_OR_MORE_START+")");break;case Mo.Cardinality.ONLY_ONE:re.attr("marker-start","url("+qt+"#"+zc.ONLY_ONE_START+")")}var Xt=re.node().getTotalLength(),_e=re.node().getPointAtLength(.5*Xt),It="rel"+rm,Ut=st.append("text").attr("class","er relationshipLabel").attr("id",It).attr("x",_e.x).attr("y",_e.y).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("style","font-family: "+oe().fontFamily+"; font-size: "+cr.fontSize+"px").text(Dt.roleA).node().getBBox();st.insert("rect","#"+It).attr("class","er relationshipLabelBox").attr("x",_e.x-Ut.width/2).attr("y",_e.y-Ut.height/2).attr("width",Ut.width).attr("height",Ut.height).attr("fill","white").attr("fill-opacity","85%")}(w,_t,m,D)});var N=cr.diagramPadding,q=w.node().getBBox(),H=q.width+2*N,G=q.height+2*N;ga(w,G,H,cr.useMaxWidth),w.attr("viewBox","".concat(q.x-N," ").concat(q.y-N," ").concat(H," ").concat(G))}(_,e);break;case"journey":CC(m.journey),function(e,n){var o=oe().journey;If.parser.yy.clear(),If.parser.parse(e+"\n");var l,_=oe().securityLevel;"sandbox"===_&&(l=on("#i"+n));var p=on("sandbox"===_?l.nodes()[0].contentDocument.body:"body");"sandbox"===_&&l.nodes(),js.init();var m=p.select("#"+n);m.attr("xmlns:xlink","http://www.w3.org/1999/xlink"),m.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");var w=If.parser.yy.getTasks(),D=If.parser.yy.getTitle(),S=If.parser.yy.getActors();for(var N in Kl)delete Kl[N];var Dt,vt,Et,q=0;S.forEach(function(Dt){Kl[Dt]={color:o.actorColours[q%o.actorColours.length],position:q},q++}),Dt=m,vt=oe().journey,Et=60,Object.keys(Kl).forEach(function(Mt){vE(Dt,{cx:20,cy:Et,r:7,fill:Kl[Mt].color,stroke:"#000",pos:Kl[Mt].position}),function(e,n){var o=n.text.replace(/<br\s*\/?>/gi," "),l=e.append("text");l.attr("x",n.x),l.attr("y",n.y),l.attr("class","legend"),l.style("text-anchor",n.anchor),void 0!==n.class&&l.attr("class",n.class);var _=l.append("tspan");_.attr("x",n.x+2*n.textMargin),_.text(o)}(Dt,{x:40,y:Et+7,fill:"#666",text:Mt,textMargin:5|vt.boxTextMargin}),Et+=20}),js.insert(0,0,Ff,50*Object.keys(Kl).length),function(Dt,vt,Et){for(var Mt=oe().journey,Kt="",re=0+(2*Mt.height+Mt.diagramMarginY),qt=0,Xt="#CCC",_e="black",It=0,Ut=0;Ut<vt.length;Ut++){var Ft=vt[Ut];Kt!==Ft.section&&(yE(Dt,{x:Ut*Mt.taskMargin+Ut*Mt.width+Ff,y:50,text:Ft.section,fill:Xt=cC[qt%cC.length],num:It=qt%cC.length,colour:_e=TC[qt%TC.length]},Mt),Kt=Ft.section,qt++);var $t=Ft.people.reduce(function(wt,Se){return Kl[Se]&&(wt[Se]=Kl[Se]),wt},{});Ft.x=Ut*Mt.taskMargin+Ut*Mt.width+Ff,Ft.y=re,Ft.width=Mt.diagramMarginX,Ft.height=Mt.diagramMarginY,Ft.colour=_e,Ft.fill=Xt,Ft.num=It,Ft.actors=$t,bE(Dt,Ft,Mt),js.insert(Ft.x,Ft.y,Ft.x+Ft.width+Mt.taskMargin,450)}}(m,w);var H=js.getBounds();D&&m.append("text").text(D).attr("x",Ff).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);var G=H.stopy-H.starty+2*o.diagramMarginY,_t=Ff+H.stopx+2*o.diagramMarginX;
1ga(m,G,_t,o.useMaxWidth),m.append("line").attr("x1",Ff).attr("y1",4*o.height).attr("x2",_t-Ff-4).attr("y2",4*o.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");var st=D?70:0;m.attr("viewBox","".concat(H.startx," -25 ").concat(_t," ").concat(G+st)),m.attr("preserveAspectRatio","xMinYMin meet"),m.attr("height",G+st+25)}(_,e);break;case"requirement":ep(m.requirement),function(e,n){tp.parser.yy=Gl,tp.parser.yy.clear(),tp.parser.parse(e);var o,l=oe().securityLevel;"sandbox"===l&&(o=on("#i"+n));var _t,st,Dt,_=on("sandbox"===l?o.nodes()[0].contentDocument.body:"body"),p=("sandbox"===l&&o.nodes(),_.select("[id='".concat(n,"']")));st=Nr,(Dt=(_t=p).append("defs").append("marker").attr("id",zl.CONTAINS+"_line_ending").attr("refX",0).attr("refY",st.line_height/2).attr("markerWidth",st.line_height).attr("markerHeight",st.line_height).attr("orient","auto").append("g")).append("circle").attr("cx",st.line_height/2).attr("cy",st.line_height/2).attr("r",st.line_height/2).attr("fill","none"),Dt.append("line").attr("x1",0).attr("x2",st.line_height).attr("y1",st.line_height/2).attr("y2",st.line_height/2).attr("stroke-width",1),Dt.append("line").attr("y1",0).attr("y2",st.line_height).attr("x1",st.line_height/2).attr("x2",st.line_height/2).attr("stroke-width",1),_t.append("defs").append("marker").attr("id",zl.ARROW+"_line_ending").attr("refX",st.line_height).attr("refY",.5*st.line_height).attr("markerWidth",st.line_height).attr("markerHeight",st.line_height).attr("orient","auto").append("path").attr("d","M0,0\n L".concat(st.line_height,",").concat(st.line_height/2,"\n M").concat(st.line_height,",").concat(st.line_height/2,"\n L0,").concat(st.line_height)).attr("stroke-width",1);var m=new(eo().Graph)({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:Nr.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}}),w=Gl.getRequirements(),D=Gl.getElements(),S=Gl.getRelationships();(function(_t,st,Dt){Object.keys(_t).forEach(function(vt){var Et=_t[vt];vt=Ch(vt),v.info("Added new requirement: ",vt);var Mt=Dt.append("g").attr("id",vt),Kt=mb(Mt,"req-"+vt),re=[],qt=vb(Mt,vt+"_title",["<<".concat(Et.type,">>"),"".concat(Et.name)]);re.push(qt.titleNode);var Xt=Im(Mt,vt+"_body",["Id: ".concat(Et.id),"Text: ".concat(Et.text),"Risk: ".concat(Et.risk),"Verification: ".concat(Et.verifyMethod)],qt.y);re.push(Xt);var _e=Kt.node().getBBox();st.setNode(vt,{width:_e.width,height:_e.height,shape:"rect",id:vt})})})(w,m,p),function(_t,st,Dt){Object.keys(_t).forEach(function(vt){var Et=_t[vt],Mt=Ch(vt),Kt=Dt.append("g").attr("id",Mt),re="element-"+Mt,qt=mb(Kt,re),Xt=[],_e=vb(Kt,re+"_title",["<<Element>>","".concat(vt)]);Xt.push(_e.titleNode);var It=Im(Kt,re+"_body",["Type: ".concat(Et.type||"Not Specified"),"Doc Ref: ".concat(Et.docRef||"None")],_e.y);Xt.push(It);var Ut=qt.node().getBBox();st.setNode(Mt,{width:Ut.width,height:Ut.height,shape:"rect",id:Mt})})}(D,m,p),function(_t,st){_t.forEach(function(Dt){var vt=Ch(Dt.src),Et=Ch(Dt.dst);st.setEdge(vt,Et,{relationship:Dt})})}(S,m),sf().layout(m),function(_t,st){st.nodes().forEach(function(Dt){void 0!==Dt&&void 0!==st.node(Dt)&&(_t.select("#"+Dt),_t.select("#"+Dt).attr("transform","translate("+(st.node(Dt).x-st.node(Dt).width/2)+","+(st.node(Dt).y-st.node(Dt).height/2)+" )"))})}
1(p,m),S.forEach(function(_t){!function(st,Dt,vt,Et){var Mt=vt.edge(Ch(Dt.src),Ch(Dt.dst)),Kt=Bc().x(function(qt){return qt.x}).y(function(qt){return qt.y}),re=st.insert("path","#"+Et).attr("class","er relationshipLine").attr("d",Kt(Mt.points)).attr("fill","none");Dt.type==Gl.Relationships.CONTAINS?re.attr("marker-start","url("+Si.getUrl(Nr.arrowMarkerAbsolute)+"#"+Dt.type+"_line_ending)"):(re.attr("stroke-dasharray","10,7"),re.attr("marker-end","url("+Si.getUrl(Nr.arrowMarkerAbsolute)+"#"+Cf.ARROW+"_line_ending)")),function(qt,Xt,_e,It){var Ut=Xt.node().getTotalLength(),Ft=Xt.node().getPointAtLength(.5*Ut),xt="rel"+gb;gb++;var $t=qt.append("text").attr("class","req relationshipLabel").attr("id",xt).attr("x",Ft.x).attr("y",Ft.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(It).node().getBBox();qt.insert("rect","#"+xt).attr("class","req reqLabelBox").attr("x",Ft.x-$t.width/2).attr("y",Ft.y-$t.height/2).attr("width",$t.width).attr("height",$t.height).attr("fill","white").attr("fill-opacity","85%")}(st,re,0,"<<".concat(Dt.type,">>"))}(p,_t,m,n)});var N=Nr.rect_padding,q=p.node().getBBox(),H=q.width+2*N,G=q.height+2*N;ga(p,G,H,Nr.useMaxWidth),p.attr("viewBox","".concat(q.x-N," ").concat(q.y-N," ").concat(H," ").concat(G))}(_,e)}}catch(xt){throw function($t,wt){try{v.debug("Renering svg for syntax error\n");var Se=on("#"+$t),Ne=Se.append("g");Ne.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),Ne.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),Ne.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),Ne.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.
1164-16,16v32c0,8.836 7.156,16 16,16z"),Ne.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),Ne.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),Ne.append("text").attr("class","error-text").attr("x",1240).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in graph"),Ne.append("text").attr("class","error-text").attr("x",1050).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version 8.14.0"),Se.attr("height",100),Se.attr("width",400),Se.attr("viewBox","768 0 512 512")}catch(ge){v.error("Error while rendering info diagram"),v.error(ge.message)}}(e),xt}w.select('[id="'.concat(e,'"]')).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");var Xt=w.select("#d"+e).node().innerHTML;if(v.debug("cnf.arrowMarkerAbsolute",m.arrowMarkerAbsolute),m.arrowMarkerAbsolute&&"false"!==m.arrowMarkerAbsolute||"sandbox"===m.arrowMarkerAbsolute||(Xt=Xt.replace(/marker-end="url\(.*?#/g,'marker-end="url(#',"g")),Xt=(Xt=SC(Xt)).replace(/<br>/g,"<br/>"),"sandbox"===m.securityLevel){var _e=w.select("#d"+e+" svg").node(),It="100%";_e&&(It=_e.viewBox.baseVal.height+"px"),Xt='<iframe style="width:'.concat("100%",";height:").concat(It,';border:0;margin:0;" src="data:text/html;base64,').concat(btoa('<body style="margin:0">'+Xt+"</body>"),'" sandbox="allow-top-navigation-by-user-activation allow-popups">\n The \u201ciframe\u201d tag is not supported by your browser.\n</iframe>')}if(void 0!==o)switch(_t){case"flowchart":case"flowchart-v2":o(Xt,ui.bindFunctions);break;case"gantt":o(Xt,yh.bindFunctions);break;case"class":case"classDiagram":o(Xt,Os.bindFunctions);break;default:o(Xt)}else v.debug("CB = undefined!");Sh.forEach(function(xt){xt()}),Sh=[];var Ut="sandbox"===m.securityLevel?"#i"+e:"#d"+e,Ft=on(Ut).node();return null!==Ft&&"function"==typeof Ft.remove&&on(Ut).node().remove(),Xt},parse:function(e){var n=oe(),o=ri.detectInit(e,n);o&&v.debug("reinit ",o);var l,_=ri.detectType(e,n);switch(v.debug("Type "+_),_){case"git":(l=ab()).parser.yy=bh;break;case"flowchart":case"flowchart-v2":ui.clear(),(l=_f()).parser.yy=ui;break;case"sequence":(l=kh()).parser.yy=ms;break;case"gantt":(l=ib()).parser.yy=yh;break;case"class":case"classDiagram":(l=Dx()).parser.yy=Os;break;case"state":case"stateDiagram":(l=Fn()).parser.yy=Qr;break;case"info":v.debug("info info info"),(l=Dm()).parser.yy=km;break;case"pie":v.debug("pie"),(l=_b()).parser.yy=Em;break;case"er":v.debug("er"),(l=Jx()).parser.yy=Mo;break;case"journey":v.debug("Journey"),(l=mE()).parser.yy=vC;break;case"requirement":case"requirementDiagram":v.debug("RequirementDiagram"),(l=zT()).parser.yy=Gl}return l.parser.yy.graphType=_,l.parser.yy.parseError=function(p,m){throw{str:p,hash:m}},l.parse(e),l},parseDirective:function(e,n,o,l){try{if(void 0!==n)switch(n=n.trim(),o){case"open_directive":Zm={};break;case"type_directive":Zm.type=n.toLowerCase();break;case"arg_directive":Zm.args=JSON.parse(n);break;case"close_directive":(function(_,p,m){switch(v.debug("Directive type=".concat(p.type," with args:"),p.args),p.type){case"init":case"initialize":["config"].forEach(function(w){void 0!==p.args[w]&&("flowchart-v2"===m&&(m="flowchart"),p.args[m]=p.args[w],delete p.args[w])}),v.debug("sanitize in handleDirective",p.args),ef(p.args),v.debug("sanitize in handleDirective (done)",p.args),Vg(p.args);break;case"wrap":case"nowrap":_&&_.setWrap&&_.setWrap("wrap"===p.type);break;case"themeCss":v.warn("themeCss encountered");break;default:v.warn("Unhandled directive: source: '%%{".concat(p.type,": ").concat(JSON.stringify(p.args?p.args:{}),"}%%"),p)}})(e,Zm,l),Zm=null}}catch(_){v.error("Error while rendering sequenceDiagram directive: ".concat(n," jison context: ").concat(o)),v.error(_.message)}}
1,initialize:function(e){e&&e.fontFamily&&(e.themeVariables&&e.themeVariables.fontFamily||(e.themeVariables={fontFamily:e.fontFamily})),bx=uo({},e),e&&e.theme&&nh[e.theme]?e.themeVariables=nh[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=nh.default.getThemeVariables(e.themeVariables));var o,n="object"===uC(e)?(o=e,ho=uo({},oh),ho=uo(ho,o),o.theme&&(ho.themeVariables=nh[o.theme].getThemeVariables(o.themeVariables)),A_=Jl(ho,nf),ho):hc();AC(n),k(n.logLevel)},reinitialize:function(){},getConfig:oe,setConfig:function(e){return uo(A_,e),oe()},getSiteConfig:hc,updateSiteConfig:function(e){return ho=uo(ho,e),Jl(ho,nf),ho},reset:function(){ah()},globalReset:function(){ah(),AC(oe())},defaultConfig:oh});k(oe().logLevel),ah(oe());const Uo=kE;var EC=function(){Xa.startOnLoad?Uo.getConfig().startOnLoad&&Xa.init():void 0===Xa.startOnLoad&&(v.debug("In start, no config"),Uo.getConfig().startOnLoad&&Xa.init())};typeof document<"u"&&window.addEventListener("load",function(){EC()},!1);var Xa={startOnLoad:!0,htmlLabels:!0,mermaidAPI:Uo,parse:Uo.parse,render:Uo.render,init:function(){var e,n,o=this,l=Uo.getConfig();arguments.length>=2?(void 0!==arguments[0]&&(Xa.sequenceConfig=arguments[0]),e=arguments[1]):e=arguments[0],"function"==typeof arguments[arguments.length-1]?(n=arguments[arguments.length-1],v.debug("Callback function found")):void 0!==l.mermaid&&("function"==typeof l.mermaid.callback?(n=l.mermaid.callback,v.debug("Callback function found")):v.debug("No Callback function found")),e=void 0===e?document.querySelectorAll(".mermaid"):"string"==typeof e?document.querySelectorAll(e):e instanceof window.Node?[e]:e,v.debug("Start On Load before: "+Xa.startOnLoad),void 0!==Xa.startOnLoad&&(v.debug("Start On Load inner: "+Xa.startOnLoad),Uo.updateSiteConfig({startOnLoad:Xa.startOnLoad})),void 0!==Xa.ganttConfig&&Uo.updateSiteConfig({gantt:Xa.ganttConfig});for(var _,p=new ri.initIdGeneratior(l.deterministicIds,l.deterministicIDSeed),m=function(D){var S=e[D];if(S.getAttribute("data-processed"))return"continue";S.setAttribute("data-processed",!0);var N="mermaid-".concat(p.next());_=ri.entityDecode(_=S.innerHTML).trim().replace(/<br\s*\/?>/gi,"<br/>");var q=ri.detectInit(_);q&&v.debug("Detected early reinit: ",q);try{Uo.render(N,_,function(H,G){S.innerHTML=H,void 0!==n&&n(N),G&&G(S)},S)}catch(H){v.warn("Syntax Error rendering"),v.warn(H),o.parseError&&o.parseError(H)}},w=0;w<e.length;w++)m(w)},initialize:function(e){void 0!==e.mermaid&&(void 0!==e.mermaid.startOnLoad&&(Xa.startOnLoad=e.mermaid.startOnLoad),void 0!==e.mermaid.htmlLabels&&(Xa.htmlLabels="false"!==e.mermaid.htmlLabels&&!1!==e.mermaid.htmlLabels)),Uo.initialize(e)},contentLoaded:EC};const DE=Xa},4949:(s,b,i)=>{s.exports={graphlib:i(6614),dagre:i(1463),intersect:i(8114),render:i(5787),util:i(8355),version:i(5689)}},9144:(s,b,i)=>{var d=i(8355);function c(y,v,k,E){var F=y.append("marker").attr("id",v).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");d.applyStyle(F,k[E+"Style"]),k[E+"Class"]&&F.attr("class",k[E+"Class"])}s.exports={default:c,normal:c,vee:function(y,v,k,E){var F=y.append("marker").attr("id",v).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");d.applyStyle(F,k[E+"Style"]),k[E+"Class"]&&F.attr("class",k[E+"Class"])},undirected:function(y,v,k,E){var F=y.append("marker").attr("id",v).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");d.applyStyle(F,k[E+"Style"]),k[E+"Class"]&&F.attr("class",k[E+"Class"])}}},5632:(s,b,i)=>{var d=i(8355),c=i(4322),y=i(1322);s.exports=function(v,k){var E,F=k.nodes().filter(function(L){return d.isSubgraph(k,L)}
1),B=v.selectAll("g.cluster").data(F,function(L){return L});return B.selectAll("*").remove(),B.enter().append("g").attr("class","cluster").attr("id",function(L){return k.node(L).id}).style("opacity",0),B=v.selectAll("g.cluster"),d.applyTransition(B,k).style("opacity",1),B.each(function(L){var J=k.node(L),j=c.select(this);c.select(this).append("rect");var Q=j.append("g").attr("class","label");y(Q,J,J.clusterLabelPos)}),B.selectAll("rect").each(function(L){var J=k.node(L),j=c.select(this);d.applyStyle(j,J.style)}),E=B.exit?B.exit():B.selectAll(null),d.applyTransition(E,k).style("opacity",0).remove(),B}},6315:(s,b,i)=>{var d=i(1034),c=i(1322),y=i(8355),v=i(4322);s.exports=function(k,E){var F,B=k.selectAll("g.edgeLabel").data(E.edges(),function(L){return y.edgeToId(L)}).classed("update",!0);return B.exit().remove(),B.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(B=k.selectAll("g.edgeLabel")).each(function(L){var J=v.select(this);J.select(".label").remove();var j=E.edge(L),Q=c(J,E.edge(L),0,0).classed("label",!0),W=Q.node().getBBox();j.labelId&&Q.attr("id",j.labelId),d.has(j,"width")||(j.width=W.width),d.has(j,"height")||(j.height=W.height)}),F=B.exit?B.exit():B.selectAll(null),y.applyTransition(F,E).style("opacity",0).remove(),B}},940:(s,b,i)=>{var d=i(1034),c=i(7584),y=i(8355),v=i(4322);function k(E,F){var B=(v.line||v.svg.line)().x(function(L){return L.x}).y(function(L){return L.y});return(B.curve||B.interpolate)(E.curve),B(F)}s.exports=function(E,F,B){var W,X,L=E.selectAll("g.edgePath").data(F.edges(),function(Q){return y.edgeToId(Q)}).classed("update",!0),J=(W=F,(X=L.enter().append("g").attr("class","edgePath").style("opacity",0)).append("path").attr("class","path").attr("d",function(ot){var dt=W.edge(ot),at=W.node(ot.v).elem;return k(dt,d.range(dt.points.length).map(function(){return bt=(St=at).getBBox(),{x:(Lt=St.ownerSVGElement.getScreenCTM().inverse().multiply(St.getScreenCTM()).translate(bt.width/2,bt.height/2)).e,y:Lt.f};var St,bt,Lt}))}),X.append("defs"),X);!function(Q,W){var X=Q.exit();y.applyTransition(X,W).style("opacity",0).remove()}(L,F);var j=void 0!==L.merge?L.merge(J):L;return y.applyTransition(j,F).style("opacity",1),j.each(function(Q){var W=v.select(this),X=F.edge(Q);X.elem=this,X.id&&W.attr("id",X.id),y.applyClass(W,X.class,(W.classed("update")?"update ":"")+"edgePath")}),j.selectAll("path.path").each(function(Q){var W=F.edge(Q);W.arrowheadId=d.uniqueId("arrowhead");var X=v.select(this).attr("marker-end",function(){return"url("+(ot=location.href,dt=W.arrowheadId,ot.split("#")[0]+"#"+dt+")");var ot,dt}).style("fill","none");y.applyTransition(X,F).attr("d",function(ot){return St=(dt=F).edge(at=ot),bt=dt.node(at.v),Lt=dt.node(at.w),(ft=St.points.slice(1,St.points.length-1)).unshift(c(bt,ft[0])),ft.push(c(Lt,ft[ft.length-1])),k(St,ft);var dt,at,St,bt,Lt,ft}),y.applyStyle(X,W.style)}),j.selectAll("defs *").remove(),j.selectAll("defs").each(function(Q){var W=F.edge(Q);(0,B[W.arrowhead])(v.select(this),W.arrowheadId,W,"arrowhead")}),j}},607:(s,b,i)=>{var d=i(1034),c=i(1322),y=i(8355),v=i(4322);s.exports=function(k,E,F){var B,L=E.nodes().filter(function(j){return!y.isSubgraph(E,j)}),J=k.selectAll("g.node").data(L,function(j){return j}).classed("update",!0);return J.exit().remove(),J.enter().append("g").attr("class","node").style("opacity",0),(J=k.selectAll("g.node")).each(function(j){var Q=E.node(j),W=v.select(this);y.applyClass(W,Q.class,(W.classed("update")?"update ":"")+"node"),W.select("g.label").remove();var X=W.append("g").attr("class","label"),ot=c(X,Q),dt=F[Q.shape],at=d.pick(ot.node().getBBox(),"width","height");Q.elem=this,Q.id&&W.attr("id",Q.id),Q.labelId&&X.attr("id",Q.labelId),d.has(Q,"width")&&(at.width=Q.width),d.has(Q,"height")&&(at.height=Q.height),at.width+=Q.paddingLeft+Q.paddingRight,at.height+=Q.paddingTop+Q.paddingBottom,X.attr("transform","translate("+(Q.paddingLeft-Q.paddingRight)/2+","+(Q.paddingTop-Q.paddingBottom)/2+")");var St=v.select(this);St.select(".label-container").remove();var bt=dt(St,at,Q).classed("label-container",!0);y.applyStyle(bt,Q.style);var Lt=bt.node().getBBox();Q.width=Lt.width,Q.height=Lt.height}),B=J.exit?J.exit():J.selectAll(null),y.applyTransition(B,E).style("opacity",0).remove(),J}},4322:(s,b,i)=>{var d;if(!d)try{d=i(7188)}catch{}d||(d=window.d3),s.exports=d},1463:(s,b,i)=>{var d;try{d=i(681)}catch{}d||(d=window.dagre),s.exports=d},6614:(s,b,i)=>{var d;try{d=i(8282)}catch{}d||(d=window.graphlib),s.exports=d},8114:(s,b,i)=>{s.exports={node:i(7584),circle:i(6587),ellipse:i(3260),polygon:i(5337),rect:i(8049)}},6587:(s,b,i)=>{var d=i(3260);s.exports=function(c,y,v){return d(c,y,y,v)}},3260:s=>{s.exports=function(b,i,d,c){var y=b.x,v=b.y,k=y-c.x,E=v-c.y,F=Math.sqrt(i*i*E*E+d*d*k*k),B=Math.abs(i*d*k/F);c.x<y&&(B=-B);var L=Math.abs(i*d*E/F);return c.y<v&&(L=-L),{x:y+B,y:v+L}}},6808:s=>{function b(i,d){return i*d>0}s.exports=function(i,d,c,y){var v,k,E,F,B,L,J,j,Q,W,X,ot,dt;if(W=(v=d.y-i.y)*y.x+(E=i.x-d.x)*y.y+(B=d.x*i.y-i.x*d.y),!(0!==(Q=v*c.x+E*c.y+B)&&0!==W&&b(Q,W)||(k=y.y-c.y,F=c.x-y.x,L=y.x*c.y-c.x*y.y,J=k*i.x+F*i.y+L,j=k*d.x+F*d.y+L,0!==J&&0!==j&&b(J,j)||0==(X=v*F-k*E))))return ot=Math.abs(X/2),{x:(dt=E*L-F*B)<0?(dt-ot)/X:(dt+ot)/X,y:(dt=k*B-v*L)<0?(dt-ot)/X:(dt+ot)/X}}},7584:s=>{s.exports=function(b,i){return b.intersect(i)}},5337:(s,b,i)=>{var d=i(6808);s.exports=function(c,y,v){var k=c.x,E=c.y,F=[],B=Number.POSITIVE_INFINITY,L=Number.POSITIVE_INFINITY;
1y.forEach(function(dt){B=Math.min(B,dt.x),L=Math.min(L,dt.y)});for(var J=k-c.width/2-B,j=E-c.height/2-L,Q=0;Q<y.length;Q++){var W=y[Q],X=y[Q<y.length-1?Q+1:0],ot=d(c,v,{x:J+W.x,y:j+W.y},{x:J+X.x,y:j+X.y});ot&&F.push(ot)}return F.length?(F.length>1&&F.sort(function(dt,at){var St=dt.x-v.x,bt=dt.y-v.y,Lt=Math.sqrt(St*St+bt*bt),ft=at.x-v.x,rt=at.y-v.y,kt=Math.sqrt(ft*ft+rt*rt);return Lt<kt?-1:Lt===kt?0:1}),F[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",c),c)}},8049:s=>{s.exports=function(b,i){var d,c,y=b.x,v=b.y,k=i.x-y,E=i.y-v,F=b.width/2,B=b.height/2;return Math.abs(E)*F>Math.abs(k)*B?(E<0&&(B=-B),d=0===E?0:B*k/E,c=B):(k<0&&(F=-F),d=F,c=0===k?0:F*E/k),{x:y+d,y:v+c}}},8284:(s,b,i)=>{var d=i(8355);s.exports=function(c,y){var v=c.append("foreignObject").attr("width","100000"),k=v.append("xhtml:div");k.attr("xmlns","http://www.w3.org/1999/xhtml");var E=y.label;switch(typeof E){case"function":k.insert(E);break;case"object":k.insert(function(){return E});break;default:k.html(E)}d.applyStyle(k,y.labelStyle),k.style("display","inline-block"),k.style("white-space","nowrap");var F=k.node().getBoundingClientRect();return v.attr("width",F.width).attr("height",F.height),v}},1322:(s,b,i)=>{var d=i(7318),c=i(8284),y=i(8287);s.exports=function(v,k,E){var F=k.label,B=v.append("g");"svg"===k.labelType?y(B,k):"string"!=typeof F||"html"===k.labelType?c(B,k):d(B,k);var L,J=B.node().getBBox();switch(E){case"top":L=-k.height/2;break;case"bottom":L=k.height/2-J.height;break;default:L=-J.height/2}return B.attr("transform","translate("+-J.width/2+","+L+")"),B}},8287:(s,b,i)=>{var d=i(8355);s.exports=function(c,y){var v=c;return v.node().appendChild(y.label),d.applyStyle(v,y.labelStyle),v}},7318:(s,b,i)=>{var d=i(8355);s.exports=function(c,y){for(var v=c.append("text"),k=function(F){for(var B,L="",J=!1,j=0;j<F.length;++j)B=F[j],J?(L+="n"===B?"\n":B,J=!1):"\\"===B?J=!0:L+=B;return L}(y.label).split("\n"),E=0;E<k.length;E++)v.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(k[E]);return d.applyStyle(v,y.labelStyle),v}},1034:(s,b,i)=>{var d;try{d={defaults:i(1747),each:i(6073),isFunction:i(3560),isPlainObject:i(8630),pick:i(9722),has:i(8721),range:i(6026),uniqueId:i(3955)}}catch{}d||(d=window._),s.exports=d},6381:(s,b,i)=>{var d=i(8355),c=i(4322);s.exports=function(y,v){var k=y.filter(function(){return!c.select(this).classed("update")});function E(F){var B=v.node(F);return"translate("+B.x+","+B.y+")"}k.attr("transform",E),d.applyTransition(y,v).style("opacity",1).attr("transform",E),d.applyTransition(k.selectAll("rect"),v).attr("width",function(F){return v.node(F).width}).attr("height",function(F){return v.node(F).height}).attr("x",function(F){return-v.node(F).width/2}).attr("y",function(F){return-v.node(F).height/2})}},4577:(s,b,i)=>{var d=i(8355),c=i(4322),y=i(1034);s.exports=function(v,k){function E(F){var B=k.edge(F);return y.has(B,"x")?"translate("+B.x+","+B.y+")":""}v.filter(function(){return!c.select(this).classed("update")}).attr("transform",E),d.applyTransition(v,k).style("opacity",1).attr("transform",E)}},4849:(s,b,i)=>{var d=i(8355),c=i(4322);s.exports=function(y,v){function k(E){var F=v.node(E);return"translate("+F.x+","+F.y+")"}y.filter(function(){return!c.select(this).classed("update")}).attr("transform",k),d.applyTransition(y,v).style("opacity",1).attr("transform",k)}},5787:(s,b,i)=>{var d=i(1034),c=i(4322),y=i(1463).layout;s.exports=function(){var F=i(607),B=i(5632),L=i(6315),J=i(940),j=i(4849),Q=i(4577),W=i(638
11),X=i(4418),ot=i(9144),dt=function(at,St){var Yt;(Yt=St).nodes().forEach(function(yt){var Ct=Yt.node(yt);d.has(Ct,"label")||Yt.children(yt).length||(Ct.label=yt),d.has(Ct,"paddingX")&&d.defaults(Ct,{paddingLeft:Ct.paddingX,paddingRight:Ct.paddingX}),d.has(Ct,"paddingY")&&d.defaults(Ct,{paddingTop:Ct.paddingY,paddingBottom:Ct.paddingY}),d.has(Ct,"padding")&&d.defaults(Ct,{paddingLeft:Ct.padding,paddingRight:Ct.padding,paddingTop:Ct.padding,paddingBottom:Ct.padding}),d.defaults(Ct,v),d.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(Gt){Ct[Gt]=Number(Ct[Gt])}),d.has(Ct,"width")&&(Ct._prevWidth=Ct.width),d.has(Ct,"height")&&(Ct._prevHeight=Ct.height)}),Yt.edges().forEach(function(yt){var Ct=Yt.edge(yt);d.has(Ct,"label")||(Ct.label=""),d.defaults(Ct,k)});var bt=E(at,"output"),Lt=E(bt,"clusters"),ft=E(bt,"edgePaths"),rt=L(E(bt,"edgeLabels"),St),kt=F(E(bt,"nodes"),St,X);y(St),j(kt,St),Q(rt,St),J(ft,St,ot);var Nt=B(Lt,St);W(Nt,St),function(Yt){d.each(Yt.nodes(),function(yt){var Ct=Yt.node(yt);d.has(Ct,"_prevWidth")?Ct.width=Ct._prevWidth:delete Ct.width,d.has(Ct,"_prevHeight")?Ct.height=Ct._prevHeight:delete Ct.height,delete Ct._prevWidth,delete Ct._prevHeight})}(St)};return dt.createNodes=function(at){return arguments.length?(F=at,dt):F},dt.createClusters=function(at){return arguments.length?(B=at,dt):B},dt.createEdgeLabels=function(at){return arguments.length?(L=at,dt):L},dt.createEdgePaths=function(at){return arguments.length?(J=at,dt):J},dt.shapes=function(at){return arguments.length?(X=at,dt):X},dt.arrows=function(at){return arguments.length?(ot=at,dt):ot},dt};var v={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},k={arrowhead:"normal",curve:c.curveLinear};function E(F,B){var L=F.select("g."+B);return L.empty()&&(L=F.append("g").attr("class",B)),L}},4418:(s,b,i)=>{var d=i(8049),c=i(3260),y=i(6587),v=i(5337);s.exports={rect:function(k,E,F){var B=k.insert("rect",":first-child").attr("rx",F.rx).attr("ry",F.ry).attr("x",-E.width/2).attr("y",-E.height/2).attr("width",E.width).attr("height",E.height);return F.intersect=function(L){return d(F,L)},B},ellipse:function(k,E,F){var B=E.width/2,L=E.height/2,J=k.insert("ellipse",":first-child").attr("x",-E.width/2).attr("y",-E.height/2).attr("rx",B).attr("ry",L);return F.intersect=function(j){return c(F,B,L,j)},J},circle:function(k,E,F){var B=Math.max(E.width,E.height)/2,L=k.insert("circle",":first-child").attr("x",-E.width/2).attr("y",-E.height/2).attr("r",B);return F.intersect=function(J){return y(F,B,J)},L},diamond:function(k,E,F){var B=E.width*Math.SQRT2/2,L=E.height*Math.SQRT2/2,J=[{x:0,y:-L},{x:-B,y:0},{x:0,y:L},{x:B,y:0}],j=k.insert("polygon",":first-child").attr("points",J.map(function(Q){return Q.x+","+Q.y}).join(" "));return F.intersect=function(Q){return v(F,J,Q)},j}}},8355:(s,b,i)=>{var d=i(1034);s.exports={isSubgraph:function(v,k){return!!v.children(k).length},edgeToId:function(v){return y(v.v)+":"+y(v.w)+":"+y(v.name)},applyStyle:function(v,k){k&&v.attr("style",k)},applyClass:function(v,k,E){k&&v.attr("class",k).attr("class",E+" "+v.attr("class"))},applyTransition:function(v,k){var E=k.graph();if(d.isPlainObject(E)){var F=E.transition;if(d.isFunction(F))return F(v)}return v}};var c=/:/g;function y(v){return v?String(v).replace(c,"\\:"):""}},5689:s=>{s.exports="0.6.4"},7188:(s,b,i)=>{i.r(b),i.d(b,{FormatSpecifier:()=>Du,active:()=>Qf,arc:()=>Vx,area:()=>_f,areaRadial:()=>Gx,ascending:()=>c,autoType:()=>N2,axisBottom:()=>Oe,axisLeft:()=>dn,axisRight:()=>
1Qe,axisTop:()=>an,bisect:()=>F,bisectLeft:()=>E,bisectRight:()=>k,bisector:()=>y,blob:()=>D4,brush:()=>Yp,brushSelection:()=>Cs,brushX:()=>Hp,brushY:()=>s2,buffer:()=>S4,chord:()=>$p,clientPoint:()=>au,cluster:()=>m5,color:()=>Ca,contourDensity:()=>yu,contours:()=>n1,create:()=>cr,creator:()=>Ur,cross:()=>J,csv:()=>I4,csvFormat:()=>M2,csvFormatBody:()=>xo,csvFormatRow:()=>a4,csvFormatRows:()=>o4,csvFormatValue:()=>Pi,csvParse:()=>wu,csvParseRows:()=>F2,cubehelix:()=>cs,curveBasis:()=>Xx,curveBasisClosed:()=>mm,curveBasisOpen:()=>eb,curveBundle:()=>mh,curveCardinal:()=>vh,curveCardinalClosed:()=>nb,curveCardinalOpen:()=>yh,curveCatmullRom:()=>za,curveCatmullRomClosed:()=>QT,curveCatmullRomOpen:()=>ia,curveLinear:()=>ff,curveLinearClosed:()=>Ys,curveMonotoneX:()=>rb,curveMonotoneY:()=>bh,curveNatural:()=>ab,curveStep:()=>xi,curveStepAfter:()=>wh,curveStepBefore:()=>sb,customEvent:()=>Ra,descending:()=>j,deviation:()=>X,dispatch:()=>pn,drag:()=>S2,dragDisable:()=>Tr,dragEnable:()=>nr,dsv:()=>E4,dsvFormat:()=>bu,easeBack:()=>V2,easeBackIn:()=>q2,easeBackInOut:()=>V2,easeBackOut:()=>w4,easeBounce:()=>jh,easeBounceIn:()=>x4,easeBounceInOut:()=>b4,easeBounceOut:()=>jh,easeCircle:()=>Y2,easeCircleIn:()=>y4,easeCircleInOut:()=>Y2,easeCircleOut:()=>H2,easeCubic:()=>Op,easeCubicIn:()=>Xm,easeCubicInOut:()=>Op,easeCubicOut:()=>V6,easeElastic:()=>Q2,easeElasticIn:()=>T4,easeElasticInOut:()=>C4,easeElasticOut:()=>Q2,easeExp:()=>J2,easeExpIn:()=>R2,easeExpInOut:()=>J2,easeExpOut:()=>v4,easeLinear:()=>d4,easePoly:()=>Z2,easePolyIn:()=>p4,easePolyInOut:()=>Z2,easePolyOut:()=>U2,easeQuad:()=>l0,easeQuadIn:()=>f4,easeQuadInOut:()=>l0,easeQuadOut:()=>_4,easeSin:()=>P2,easeSinIn:()=>g4,easeSinInOut:()=>P2,easeSinOut:()=>m4,entries:()=>y2,event:()=>Tt,extent:()=>ot,forceCenter:()=>B4,forceCollide:()=>W2,forceLink:()=>X2,forceManyBody:()=>q4,forceRadial:()=>ev,forceSimulation:()=>Y4,forceX:()=>c1,forceY:()=>V4,format:()=>h1,formatDefaultLocale:()=>av,formatLocale:()=>m0,formatPrefix:()=>g0,formatSpecifier:()=>zh,geoAlbers:()=>Wv,geoAlbersUsa:()=>s5,geoArea:()=>pv,geoAzimuthalEqualArea:()=>ty,geoAzimuthalEqualAreaRaw:()=>Cd,geoAzimuthalEquidistant:()=>ey,geoAzimuthalEquidistantRaw:()=>q1,geoBounds:()=>E0,geoCentroid:()=>G4,geoCircle:()=>Sv,geoClipAntimeridian:()=>Wr,geoClipCircle:()=>Ev,geoClipExtent:()=>fd,geoClipRectangle:()=>S1,geoConicConformal:()=>c5,geoConicConformalRaw:()=>iy,geoConicEqualArea:()=>wd,geoConicEqualAreaRaw:()=>W0,geoConicEquidistant:()=>u5,geoConicEquidistantRaw:()=>ry,geoContains:()=>X4,geoDistance:()=>_d,geoEqualEarth:()=>h5,geoEqualEarthRaw:()=>tg,geoEquirectangular:()=>l5,geoEquirectangularRaw:()=>Dd,geoGnomonic:()=>d5,geoGnomonicRaw:()=>eg,geoGraticule:()=>Pv,geoGraticule10:()=>t5,geoIdentity:()=>f5,geoInterpolate:()=>Rv,geoLength:()=>Mv,geoMercator:()=>X0,geoMercatorRaw:()=>kl,geoNaturalEarth1:()=>oy,geoNaturalEarth1Raw:()=>ng,geoOrthographic:()=>_5,geoOrthographicRaw:()=>ig,geoPath:()=>a5,geoProjection:()=>Ma,geoProjectionMutator:()=>Y1,geoRotation:()=>yl,geoStereographic:()=>p5,geoStereographicRaw:()=>rg,geoStream:()=>vr,geoTransform:()=>B1,geoTransverseMercator:()=>sc,geoTransverseMercatorRaw:()=>og,gray:()=>e0,hcl:()=>Vh,hierarchy:()=>Fd,histogram:()=>Ot,hsl:()=>Cc,html:()=>Z4,image:()=>M4,interpolate:()=>ol,interpolateArray:()=>xp,interpolateBasis:()=>Gi,interpolateBasisClosed:()=>il,interpolateBlues:()=>Yl,interpolateBrBG:()=>ch,interpolateBuGn:()=>zg,interpolateBuPu:()=>ma,interpolateCividis:()=>B_,interpolateCool:()=>LT,interpolateCubehelix:()=>Fy,interpolateCubehelixDefault:()=>NT,interpolateCubehelixLong:()=>Jc,interpolateDate:()=>Rf,interpolateDiscrete:()=>N5,interpolateGnBu:()=>dc,interpolateGreens:()=>Ox,interpolateGreys:()=>hh,interpolateHcl:()=>Z5,interpolateHclLong:()=>O5,interpolateHsl:()=>L5,interpolateHslLong:()=>U5,interpolateHue:()=>Cy,interpolateInferno:()=>fc,interpolateLab:()=>Ey,interpolateMagma:()=>Jx,interpolateNumber:()=>la,interpolateNumberArray:()=>Nh,interpolateObject:()=>Jf,interpolateOrRd:()=>ps,interpolateOranges:()=>MT,interpolatePRGn:()=>Sx,interpolatePiYG:()=>wT,interpolatePlasma:()=>zc,interpolatePuBu:()=>DT,interpolatePuBuGn:()=>U_,interpolatePuOr:()=>TT,interpolatePuRd:()=>Nx,interpolatePurples:()=>FT,interpolateRainbow:()=>Px,interpolateRdBu:()=>lh,interpolateRdGy:()=>CT,interpolateRdPu:()=>ST,interpolateRdYlBu:()=>L_,interpolateRdYlGn:()=>Ex,interpolateReds:()=>O_,interpolateRgb:()=>kc,interpolateRgbBasis:()=>ru,interpolateRgbBasisClosed:()=>rs,interpolateRound:()=>ky,interpolateSinebow:()=>im,interpolateSpectral:()=>kT,interpolateString:()=>
1os,interpolateTransformCss:()=>Tp,interpolateTransformSvg:()=>Cp,interpolateTurbo:()=>Rx,interpolateViridis:()=>UT,interpolateWarm:()=>Bx,interpolateYlGn:()=>ET,interpolateYlGnBu:()=>AT,interpolateYlOrBr:()=>IT,interpolateYlOrRd:()=>Z_,interpolateZoom:()=>Sy,interrupt:()=>yo,interval:()=>gc,isoFormat:()=>Am,isoParse:()=>Xc,json:()=>L4,keys:()=>m2,lab:()=>pu,lch:()=>b2,line:()=>cm,lineRadial:()=>jx,linkHorizontal:()=>zx,linkRadial:()=>VT,linkVertical:()=>Kx,local:()=>rm,map:()=>Da,matcher:()=>xn,max:()=>Rt,mean:()=>ee,median:()=>pe,merge:()=>ve,min:()=>De,mouse:()=>xs,namespace:()=>Nn,namespaces:()=>$i,nest:()=>_2,now:()=>K,pack:()=>T5,packEnclose:()=>cy,packSiblings:()=>_y,pairs:()=>B,partition:()=>ju,path:()=>ul,permute:()=>Jt,pie:()=>RT,piecewise:()=>B5,pointRadial:()=>gf,polygonArea:()=>r_,polygonCentroid:()=>P5,polygonContains:()=>Ud,polygonHull:()=>o_,polygonLength:()=>Gu,precisionFixed:()=>sv,precisionPrefix:()=>cv,precisionRound:()=>pl,quadtree:()=>Gh,quantile:()=>ke,quantize:()=>My,radialArea:()=>Gx,radialLine:()=>jx,randomBates:()=>Pd,randomExponential:()=>Uy,randomIrwinHall:()=>Bd,randomLogNormal:()=>Al,randomNormal:()=>Od,randomUniform:()=>Zd,range:()=>ft,rgb:()=>vo,ribbon:()=>z6,scaleBand:()=>a_,scaleDiverging:()=>to,scaleDivergingLog:()=>$g,scaleDivergingPow:()=>Hl,scaleDivergingSqrt:()=>of,scaleDivergingSymlog:()=>rf,scaleIdentity:()=>Ry,scaleImplicit:()=>cg,scaleLinear:()=>Py,scaleLog:()=>fs,scaleOrdinal:()=>Hd,scalePoint:()=>J5,scalePow:()=>__,scaleQuantile:()=>Ku,scaleQuantize:()=>dg,scaleSequential:()=>oe,scaleSequentialLog:()=>wx,scaleSequentialPow:()=>ah,scaleSequentialQuantile:()=>E_,scaleSequentialSqrt:()=>Qg,scaleSequentialSymlog:()=>Vg,scaleSqrt:()=>Vy,scaleSymlog:()=>Yy,scaleThreshold:()=>Vd,scaleTime:()=>yx,scaleUtc:()=>A_,scan:()=>nn,schemeAccent:()=>Tx,schemeBlues:()=>Bs,schemeBrBG:()=>eo,schemeBuGn:()=>Fx,schemeBuPu:()=>na,schemeCategory10:()=>I_,schemeDark2:()=>jg,schemeGnBu:()=>no,schemeGreens:()=>uf,schemeGreys:()=>Xg,schemeOrRd:()=>Ii,schemeOranges:()=>bo,schemePRGn:()=>Dx,schemePaired:()=>xT,schemePastel1:()=>af,schemePastel2:()=>Cx,schemePiYG:()=>F_,schemePuBu:()=>Mx,schemePuBuGn:()=>Kg,schemePuOr:()=>Ax,schemePuRd:()=>lf,schemePurples:()=>tm,schemeRdBu:()=>Gg,schemeRdGy:()=>M_,schemeRdPu:()=>Lx,schemeRdYlBu:()=>N_,schemeRdYlGn:()=>cf,schemeReds:()=>em,schemeSet1:()=>kx,schemeSet2:()=>Os,schemeSet3:()=>bT,schemeSpectral:()=>Ix,schemeTableau10:()=>sf,schemeYlGn:()=>Zx,schemeYlGnBu:()=>Ux,schemeYlOrBr:()=>Wg,schemeYlOrRd:()=>uh,select:()=>Li,selectAll:()=>ZT,selection:()=>Ta,selector:()=>zi,selectorAll:()=>_i,set:()=>K6,shuffle:()=>xe,stack:()=>Cm,stackOffsetDiverging:()=>lb,stackOffsetExpand:()=>cb,stackOffsetNone:()=>jl,stackOffsetSilhouette:()=>ub,stackOffsetWiggle:()=>hb,stackOrderAppearance:()=>km,stackOrderAscending:()=>Dm,stackOrderDescending:()=>fb,stackOrderInsideOut:()=>GT,stackOrderNone:()=>Wc,stackOrderReverse:()=>_b,stratify:()=>sg,style:()=>Ar,sum:()=>Vt,svg:()=>O4,symbol:()=>yf,symbolCircle:()=>q_,symbolCross:()=>fm,symbolDiamond:()=>V_,symbolSquare:()=>_h,symbolStar:()=>Q_,symbolTriangle:()=>$_,symbolWye:()=>gm,symbols:()=>j_,text:()=>a1,thresholdFreedmanDiaconis:()=>be,thresholdScott:()=>Te,thresholdSturges:()=>Gt,tickFormat:()=>By,tickIncrement:()=>yt,tickStep:()=>Ct,ticks:()=>Yt,timeDay:()=>g_,timeDays:()=>z5,timeFormat:()=>Eg,timeFormatDefaultLocale:()=>vx,timeFormatLocale:()=>Bl,timeFriday:()=>$y,timeFridays:()=>j5,timeHour:()=>Wy,timeHours:()=>K5,timeInterval:()=>Yi,timeMillisecond:()=>$a,timeMilliseconds:()=>bg,timeMinute:()=>xg,timeMinutes:()=>W5,timeMonday:()=>Ll,timeMondays:()=>q5,timeMonth:()=>gg,timeMonths:()=>Ls,timeParse:()=>ja,timeSaturday:()=>jy,timeSaturdays:()=>G5,timeSecond:()=>m_,timeSeconds:()=>ex,timeSunday:()=>Nl,timeSundays:()=>Gy,timeThursday:()=>Ul,timeThursdays:()=>$5,timeTuesday:()=>Qy,timeTuesdays:()=>V5,timeWednesday:()=>yg,timeWednesdays:()=>Q5,timeWeek:()=>Nl,timeWeeks:()=>Gy,timeYear:()=>Yc,timeYears:()=>_g,timeout:()=>rn,timer:()=>ye,timerFlush:()=>Ee,touch:()=>$o,touches:()=>om,transition:()=>qf,transpose:()=>ae,tree:()=>A5,treemap:()=>E5,treemapBinary:()=>I5,treemapDice:()=>Nd,treemapResquarify:()=>M5,treemapSlice:()=>i_,treemapSliceDice:()=>F5,treemapSquarify:()=>Ty,tsv:()=>F4,tsvFormat:()=>s4,tsvFormatBody:()=>c4,tsvFormatRow:()=>u4,tsvFormatRows:()=>l4,tsvFormatValue:()=>h4,tsvParse:()=>Tu,tsvParseRows:()=>$h,utcDay:()=>Ol,utcDays:()=>Sg,utcFormat:()=>Zs,utcFriday:()=>Tg,utcFridays:()=>Gd,utcHour:()=>S_,utcHours:()=>bx,utcMillisecond:()=>$a,utcMilliseconds:()=>bg,utcMinute:()=>ho,utcMinutes:()=>nf,utcMonday:()=>jd,utcMondays:()=>ix,utcMonth:()=>ef,utcMonths:()=>xx,utcParse:()=>eh,utcSaturday:()=>nx,utcSaturdays:()=>$c,utcSecond:()=>m_,utcSeconds:()=>ex,utcSunday:()=>$d,utcSundays:()=>y_,utcThursday:()=>Qc,utcThursdays:()=>kg,utcTuesday:()=>Zl,utcTuesdays:()=>Cg,utcWednesday:()=>wg,utcWednesdays:()=>X5,utcWeek:()=>$d,utcWeeks:()=>y_,utcYear:()=>Us,utcYears:()=>th,values:()=>v2,variance:()=>
vendor: 4,742 bytes, line 1
1W,version:()=>d,voronoi:()=>kb,window:()=>$n,xml:()=>U4,zip:()=>le,zoom:()=>tC,zoomIdentity:()=>Sh,zoomTransform:()=>Df});var d="5.16.0";function c(r,a){return r<a?-1:r>a?1:r>=a?0:NaN}function y(r){var a;return 1===r.length&&(a=r,r=function(h,f){return c(a(h),f)}),{left:function(h,f,g,x){for(null==g&&(g=0),null==x&&(x=h.length);g<x;){var C=g+x>>>1;r(h[C],f)<0?g=C+1:x=C}return g},right:function(h,f,g,x){for(null==g&&(g=0),null==x&&(x=h.length);g<x;){var C=g+x>>>1;r(h[C],f)>0?x=C:g=C+1}return g}}}var v=y(c),k=v.right,E=v.left;const F=k;function B(r,a){null==a&&(a=L);for(var h=0,f=r.length-1,g=r[0],x=new Array(f<0?0:f);h<f;)x[h]=a(g,g=r[++h]);return x}function L(r,a){return[r,a]}function J(r,a,h){var f,g,x,C,T=r.length,A=a.length,M=new Array(T*A);for(null==h&&(h=L),f=x=0;f<T;++f)for(C=r[f],g=0;g<A;++g,++x)M[x]=h(C,a[g]);return M}function j(r,a){return a<r?-1:a>r?1:a>=r?0:NaN}function Q(r){return null===r?NaN:+r}function W(r,a){var h,f,g=r.length,x=0,C=-1,T=0,A=0;if(null==a)for(;++C<g;)isNaN(h=Q(r[C]))||(A+=(f=h-T)*(h-(T+=f/++x)));else for(;++C<g;)isNaN(h=Q(a(r[C],C,r)))||(A+=(f=h-T)*(h-(T+=f/++x)));if(x>1)return A/(x-1)}function X(r,a){var h=W(r,a);return h&&Math.sqrt(h)}function ot(r,a){var h,f,g,x=r.length,C=-1;if(null==a){for(;++C<x;)if(null!=(h=r[C])&&h>=h)for(f=g=h;++C<x;)null!=(h=r[C])&&(f>h&&(f=h),g<h&&(g=h))}else for(;++C<x;)if(null!=(h=a(r[C],C,r))&&h>=h)for(f=g=h;++C<x;)null!=(h=a(r[C],C,r))&&(f>h&&(f=h),g<h&&(g=h));return[f,g]}var dt=Array.prototype,at=dt.slice,St=dt.map;function bt(r){return function(){return r}}function Lt(r){return r}function ft(r,a,h){r=+r,a=+a,h=(g=arguments.length)<2?(a=r,r=0,1):g<3?1:+h;for(var f=-1,g=0|Math.max(0,Math.ceil((a-r)/h)),x=new Array(g);++f<g;)x[f]=r+f*h;return x}var rt=Math.sqrt(50),kt=Math.sqrt(10),Nt=Math.sqrt(2);function Yt(r,a,h){var f,g,x,C,T=-1;if(h=+h,(r=+r)==(a=+a)&&h>0)return[r];if((f=a<r)&&(g=r,r=a,a=g),0===(C=yt(r,a,h))||!isFinite(C))return[];if(C>0)for(r=Math.ceil(r/C),a=Math.floor(a/C),x=new Array(g=Math.ceil(a-r+1));++T<g;)x[T]=(r+T)*C;else for(r=Math.floor(r*C),a=Math.ceil(a*C),x=new Array(g=Math.ceil(r-a+1));++T<g;)x[T]=(r-T)/C;return f&&x.reverse(),x}function yt(r,a,h){var f=(a-r)/Math.max(0,h),g=Math.floor(Math.log(f)/Math.LN10),x=f/Math.pow(10,g);return g>=0?(x>=rt?10:x>=kt?5:x>=Nt?2:1)*Math.pow(10,g):-Math.pow(10,-g)/(x>=rt?10:x>=kt?5:x>=Nt?2:1)}function Ct(r,a,h){var f=Math.abs(a-r)/Math.max(0,h),g=Math.pow(10,Math.floor(Math.log(f)/Math.LN10)),x=f/g;return x>=rt?g*=10:x>=kt?g*=5:x>=Nt&&(g*=2),a<r?-g:g}function Gt(r){return Math.ceil(Math.log(r.length)/Math.LN2)+1}function Ot(){var r=Lt,a=ot,h=Gt;function f(g){var x,C,T=g.length,A=new Array(T);for(x=0;x<T;++x)A[x]=r(g[x],x,g);var M=a(A),Z=M[0],R=M[1],U=h(A,Z,R);Array.isArray(U)||(U=Ct(Z,R,U),U=ft(Math.ceil(Z/U)*U,R,U));for(var V=U.length;U[0]<=Z;)U.shift(),--V;for(;U[V-1]>R;)U.pop(),--V;var $,it=new Array(V+1);for(x=0;x<=V;++x)($=it[x]=[]).x0=x>0?U[x-1]:Z,$.x1=x<V?U[x]:R;for(x=0;x<T;++x)Z<=(C=A[x])&&C<=R&&it[F(U,C,0,V)].push(g[x]);return it}return f.value=function(g){return arguments.length?(r="function"==typeof g?g:bt(g),f):r},f.domain=function(g){return arguments.length?(a="function"==typeof g?g:bt([g[0],g[1]]),f):a},f.thresholds=function(g){return arguments.length?(h="function"==typeof g?g:Array.isArray(g)?bt(at.call(g)):bt(g),f):h},f}function ke(r,a,h){if(null==h&&(h=Q),f=r.length){if((a=+a)<=0||f<2)return+h(r[0],0,r);if(a>=1)return+h(r[f-1],f-1,r);var f,g=(f-1)*a,x=Math.floor(g),C=+h(r[x],x,r);return C+(+h(r[x+1],x+1,r)-C)*(g-x)}}function be(r,a,h){return r=St.call(r,Q).sort(c),Math.ceil((h-a)/(2*(ke(r,.75)-ke(r,.25))*Math.pow(r.length,-1/3)))}function Te(r,a,h){return Math.ceil((h-a)/(3.5*X(r)*Math.pow(r.length,-1/3)))}function Rt(r,a){var h,f,g=r.length,x=-1;if(null==a){for(;++x<g;)if(null!=(h=r[x])&&h>=h)for(f=h;++x<g;)null!=(h=r[x])&&h>f&&(f=h)}else for(;++x<g;)if(null!=(h=a(r[x],x,r))&&h>=h)for(f=h;++x<g;)null!=(h=a(r[x],x,r))&&h>f&&(f=h);return f}function ee(r,a){var h,f=r.length,g=f,x=-1,C=0;if(null==a)for(;++x<f;)isNaN(h=Q(r[x]))?--g:C+=h;else for(;++x<f;)isNaN(h=Q(a(r[x],x,r)))?--g:C+=h;if(g)return C/g}function pe(r,a){var h,f=r.length,g=-1,x=[];if(null==a)for(;++g<f;)isNaN(h=Q(r[g]))||x.push(h);else for(;++g<f;)isNaN(h=Q(a(r[g],g,r)))||x.push(h);return ke(x.sort(c),.5)}function ve(r){for(var a,h,f,g=r.length,x=-1,C=0;++x<g;)C+=r[x].length;for(h=new Array(C);--g>=0;)for(a=(f=r[g]).length;--a>=0;)h[--C]=f[a];return h}function De(r,a){var h,f,g=r.length,x=-1;if(null==a){for(;++x<g;)if(null!=(h=r[x])&&h>=h)for(f=h;++x<g;)null!=(h=r[x])&&f>h&&(f=h)}else for(;++x<g;)if(null!=(h=a(r[x],x,r))&&h>=h)for(f=h;++x<g;)null!=(h=a(r[x],x,r))&&f>h&&(f=h);return f}function Jt(r,a){for(var h=a.length,f=new Array(h);h--;)f[h]=r[a[h]];return f}
1function nn(r,a){if(h=r.length){var h,f,g=0,x=0,C=r[x];for(null==a&&(a=c);++g<h;)(a(f=r[g],C)<0||0!==a(C,C))&&(C=f,x=g);return 0===a(C,C)?x:void 0}}function xe(r,a,h){for(var f,g,x=(h??r.length)-(a=null==a?0:+a);x;)g=Math.random()*x--|0,f=r[x+a],r[x+a]=r[g+a],r[g+a]=f;return r}function Vt(r,a){var h,f=r.length,g=-1,x=0;if(null==a)for(;++g<f;)(h=+r[g])&&(x+=h);else for(;++g<f;)(h=+a(r[g],g,r))&&(x+=h);return x}function ae(r){if(!(g=r.length))return[];for(var a=-1,h=De(r,ht),f=new Array(h);++a<h;)for(var g,x=-1,C=f[a]=new Array(g);++x<g;)C[x]=r[x][a];return f}function ht(r){return r.length}function le(){return ae(arguments)}var Bt=Array.prototype.slice;function te(r){return r}function Pt(r){return"translate("+(r+.5)+",0)"}function de(r){return"translate(0,"+(r+.5)+")"}function un(r){return function(a){return+r(a)}}function Ae(r){var a=Math.max(0,r.bandwidth()-1)/2;return r.round()&&(a=Math.round(a)),function(h){return+r(h)+a}}function Pe(){return!this.__axis}function Tn(r,a){var h=[],f=null,g=null,x=6,C=6,T=3,A=1===r||4===r?-1:1,M=4===r||2===r?"x":"y",Z=1===r||3===r?Pt:de;function R(U){var V=f??(a.ticks?a.ticks.apply(a,h):a.domain()),$=g??(a.tickFormat?a.tickFormat.apply(a,h):te),it=Math.max(x,0)+T,nt=a.range(),tt=+nt[0]+.5,lt=+nt[nt.length-1]+.5,ct=(a.bandwidth?Ae:un)(a.copy()),z=U.selection?U.selection():U,mt=z.selectAll(".domain").data([null]),Wt=z.selectAll(".tick").data(V,a).order(),ce=Wt.exit(),Me=Wt.enter().append("g").attr("class","tick"),Qt=Wt.select("line"),me=Wt.select("text");mt=mt.merge(mt.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Wt=Wt.merge(Me),Qt=Qt.merge(Me.append("line").attr("stroke","currentColor").attr(M+"2",A*x)),me=me.merge(Me.append("text").attr("fill","currentColor").attr(M,A*it).attr("dy",1===r?"0em":3===r?"0.71em":"0.32em")),U!==z&&(mt=mt.transition(U),Wt=Wt.transition(U),Qt=Qt.transition(U),me=me.transition(U),ce=ce.transition(U).attr("opacity",1e-6).attr("transform",function(pt){return isFinite(pt=ct(pt))?Z(pt):this.getAttribute("transform")}),Me.attr("opacity",1e-6).attr("transform",function(pt){var At=this.parentNode.__axis;return Z(At&&isFinite(At=At(pt))?At:ct(pt))})),ce.remove(),mt.attr("d",4===r||2==r?C?"M"+A*C+","+tt+"H0.5V"+lt+"H"+A*C:"M0.5,"+tt+"V"+lt:C?"M"+tt+","+A*C+"V0.5H"+lt+"V"+A*C:"M"+tt+",0.5H"+lt),Wt.attr("opacity",1).attr("transform",function(pt){return Z(ct(pt))}),Qt.attr(M+"2",A*x),me.attr(M,A*it).text($),z.filter(Pe).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===r?"start":4===r?"end":"middle"),z.each(function(){this.__axis=ct})}return R.scale=function(U){return arguments.length?(a=U,R):a},R.ticks=function(){return h=Bt.call(arguments),R},R.tickArguments=function(U){return arguments.length?(h=null==U?[]:Bt.call(U),R):h.slice()},R.tickValues=function(U){return arguments.length?(f=null==U?null:Bt.call(U),R):f&&f.slice()},R.tickFormat=function(U){return arguments.length?(g=U,R):g},R.tickSize=function(U){return arguments.length?(x=C=+U,R):x},R.tickSizeInner=function(U){return arguments.length?(x=+U,R):x},R.tickSizeOuter=function(U){return arguments.length?(C=+U,R):C},R.tickPadding=function(U){return arguments.length?(T=+U,R):T},R}function an(r){return Tn(1,r)}function Qe(r){return Tn(2,r)}function Oe(r){return Tn(3,r)}function dn(r){return Tn(4,r)}var We={value:function(){}};function sn(){for(var r,a=0,h=arguments.length,f={};a<h;++a){if(!(r=arguments[a]+"")||r in f||/[\s.]/.test(r))throw new Error("illegal type: "+r);f[r]=[]}return new cn(f)}function cn(r){this._=r}function Ve(r,a){return r.trim().split(/^|\s+/).map(function(h){var f="",g=h.indexOf(".");if(g>=0&&(f=h.slice(g+1),h=h.slice(0,g)),h&&!a.hasOwnProperty(h))throw new Error("unknown type: "+h);return{type:h,name:f}})}function Wn(r,a){for(var h,f=0,g=r.length;f<g;++f)if((h=r[f]).name===a)return h.value}function Be(r,a,h){for(var f=0,g=r.length;f<g;++f)if(r[f].name===a){r[f]=We,r=r.slice(0,f).concat(r.slice(f+1));break}return null!=h&&r.push({name:a,value:h}),r}cn.prototype=sn.prototype={constructor:cn,on:function(r,a){var h,f=this._,g=Ve(r+"",f),x=-1,C=g.length;if(!(arguments.length<2)){if(null!=a&&"function"!=typeof a)throw new Error("invalid callback: "+a);for(;++x<C;)if(h=(r=g[x]).type)f[h]=Be(f[h],r.name,a);else if(null==a)for(h in f)f[h]=Be(f[h],r.name,null);return this}for(;++x<C;)if((h=(r=g[x]).type)&&(h=Wn(f[h],r.name)))return h},copy:function(){var r={},a=this._;for(var h in a)r[h]=a[h].slice();return new cn(r)}
vendor: 6,739 bytes, line 1
1,call:function(r,a){if((h=arguments.length-2)>0)for(var h,f,g=new Array(h),x=0;x<h;++x)g[x]=arguments[x+2];if(!this._.hasOwnProperty(r))throw new Error("unknown type: "+r);for(x=0,h=(f=this._[r]).length;x<h;++x)f[x].value.apply(a,g)},apply:function(r,a,h){if(!this._.hasOwnProperty(r))throw new Error("unknown type: "+r);for(var f=this._[r],g=0,x=f.length;g<x;++g)f[g].value.apply(a,h)}};const pn=sn;function En(){}function zi(r){return null==r?En:function(){return this.querySelector(r)}}function In(){return[]}function _i(r){return null==r?In:function(){return this.querySelectorAll(r)}}function xn(r){return function(){return this.matches(r)}}function Dn(r){return new Array(r.length)}function ln(r,a){this.ownerDocument=r.ownerDocument,this.namespaceURI=r.namespaceURI,this._next=null,this._parent=r,this.__data__=a}function Un(r,a,h,f,g,x){for(var C,T=0,A=a.length,M=x.length;T<M;++T)(C=a[T])?(C.__data__=x[T],f[T]=C):h[T]=new ln(r,x[T]);for(;T<A;++T)(C=a[T])&&(g[T]=C)}function Mn(r,a,h,f,g,x,C){var T,A,M,Z={},R=a.length,U=x.length,V=new Array(R);for(T=0;T<R;++T)(A=a[T])&&(V[T]=M="$"+C.call(A,A.__data__,T,a),M in Z?g[T]=A:Z[M]=A);for(T=0;T<U;++T)(A=Z[M="$"+C.call(r,x[T],T,x)])?(f[T]=A,A.__data__=x[T],Z[M]=null):h[T]=new ln(r,x[T]);for(T=0;T<R;++T)(A=a[T])&&Z[V[T]]===A&&(g[T]=A)}function Xn(r,a){return r<a?-1:r>a?1:r>=a?0:NaN}ln.prototype={constructor:ln,appendChild:function(r){return this._parent.insertBefore(r,this._next)},insertBefore:function(r,a){return this._parent.insertBefore(r,a)},querySelector:function(r){return this._parent.querySelector(r)},querySelectorAll:function(r){return this._parent.querySelectorAll(r)}};var ti="http://www.w3.org/1999/xhtml";const $i={svg:"http://www.w3.org/2000/svg",xhtml:ti,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Nn(r){var a=r+="",h=a.indexOf(":");return h>=0&&"xmlns"!==(a=r.slice(0,h))&&(r=r.slice(h+1)),$i.hasOwnProperty(a)?{space:$i[a],local:r}:r}function ii(r){return function(){this.removeAttribute(r)}}function Gn(r){return function(){this.removeAttributeNS(r.space,r.local)}}function ai(r,a){return function(){this.setAttribute(r,a)}}function si(r,a){return function(){this.setAttributeNS(r.space,r.local,a)}}function pi(r,a){return function(){var h=a.apply(this,arguments);null==h?this.removeAttribute(r):this.setAttribute(r,h)}}function Rn(r,a){return function(){var h=a.apply(this,arguments);null==h?this.removeAttributeNS(r.space,r.local):this.setAttributeNS(r.space,r.local,h)}}function $n(r){return r.ownerDocument&&r.ownerDocument.defaultView||r.document&&r||r.defaultView}function bn(r){return function(){this.style.removeProperty(r)}}function zn(r,a,h){return function(){this.style.setProperty(r,a,h)}}function An(r,a,h){return function(){var f=a.apply(this,arguments);null==f?this.style.removeProperty(r):this.style.setProperty(r,f,h)}}function Ar(r,a){return r.style.getPropertyValue(a)||$n(r).getComputedStyle(r,null).getPropertyValue(a)}function Ni(r){return function(){delete this[r]}}function go(r,a){return function(){this[r]=a}}function jn(r,a){return function(){var h=a.apply(this,arguments);null==h?delete this[r]:this[r]=h}}function es(r){return r.trim().split(/^|\s+/)}function qo(r){return r.classList||new Er(r)}function Er(r){this._node=r,this._names=es(r.getAttribute("class")||"")}function Ki(r,a){for(var h=qo(r),f=-1,g=a.length;++f<g;)h.add(a[f])}function er(r,a){for(var h=qo(r),f=-1,g=a.length;++f<g;)h.remove(a[f])}function pr(r){return function(){Ki(this,r)}}function xr(r){return function(){er(this,r)}}function ji(r,a){return function(){(a.apply(this,arguments)?Ki:er)(this,r)}}function br(){this.textContent=""}function Wi(r){return function(){this.textContent=r}}function oo(r){return function(){var a=r.apply(this,arguments);this.textContent=a??""}}function Lr(){this.innerHTML=""}function yi(r){return function(){this.innerHTML=r}}function hr(r){return function(){var a=r.apply(this,arguments);this.innerHTML=a??""}}function Vo(){this.nextSibling&&this.parentNode.appendChild(this)}function wr(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Qo(r){return function(){var a=this.ownerDocument,h=this.namespaceURI;return h===ti&&a.documentElement.namespaceURI===ti?a.createElement(r):a.createElementNS(h,r)}}function Pa(r){return function(){return this.ownerDocument.createElementNS(r.space,r.local)}}function Ur(r){var a=Nn(r);return(a.local?Pa:Qo)(a)}function gn(){return null}function ci(){var r=this.parentNode;r&&r.removeChild(this)}function Bn(){var r=this.cloneNode(!1),a=this.parentNode;return a?a.insertBefore(r,this.nextSibling):r}function $e(){var r=this.cloneNode(!0),a=this.parentNode;return a?a.insertBefore(r,this.nextSibling):r}Er.prototype={add:function(r){this._names.indexOf(r)<0&&(this._names.push(r),this._node.setAttribute("class",this._names.join(" ")))},remove:function(r){var a=this._names.indexOf(r);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(r){return this._names.indexOf(r)>=0}};var li={},Tt=null;function gr(r,a,h){return r=ie(r,a,h),function(f){var g=f.relatedTarget;g&&(g===this||8&g.compareDocumentPosition(this))||r.call(this,f)}}function ie(r,a,h){return function(f){var g=Tt;Tt=f;try{r.call(this,this.__data__,a,h)}finally{Tt=g}}}function ao(r){return r.trim().split(/^|\s+/).map(function(a){var h="",f=a.indexOf(".");return f>=0&&(h=a.slice(f+1),a=a.slice(0,f)),{type:a,name:h}})}function Co(r){return function(){var a=this.__on;if(a){for(var h,f=0,g=-1,x=a.length;f<x;++f)h=a[f],r.type&&h.type!==r.type||h.name!==r.name?a[++g]=h:this.removeEventListener(h.type,h.listener,h.capture);++g?a.length=g:delete this.__on}}}function oa(r,a,h){var f=li.hasOwnProperty(r.type)?gr:ie;return function(g,x,C){var T,A=this.__on,M=f(a,x,C);if(A)for(var Z=0,R=A.length;Z<R;++Z)if((T=A[Z]).type===r.type&&T.name===r.name)return this.removeEventListener(T.type,T.listener,T.capture),this.addEventListener(T.type,T.listener=M,T.capture=h),void(T.value=a);this.addEventListener(r.type,M,h),T={type:r.type,name:r.name,value:a,listener:M,capture:h},A?A.push(T):this.__on=[T]}}function Ra(r,a,h,f){var g=Tt;r.sourceEvent=Tt,Tt=r;try{return a.apply(h,f)}finally{Tt=g}}function ns(r,a,h){var f=$n(r),g=f.CustomEvent;"function"==typeof g?g=new g(a,h):(g=f.document.createEvent("Event"),h?(g.initEvent(a,h.bubbles,h.cancelable),g.detail=h.detail):g.initEvent(a,!1,!1)),r.dispatchEvent(g)}function is(r,a){return function(){return ns(this,r,a)}}function dr(r,a){return function(){return ns(this,r,a.apply(this,arguments))}}typeof document<"u"&&("onmouseenter"in document.documentElement||(li={mouseenter:"mouseover",mouseleave:"mou
1seout"}));var ko=[null];function Pn(r,a){this._groups=r,this._parents=a}function aa(){return new Pn([[document.documentElement]],ko)}Pn.prototype=aa.prototype={constructor:Pn,select:function(r){"function"!=typeof r&&(r=zi(r));for(var a=this._groups,h=a.length,f=new Array(h),g=0;g<h;++g)for(var x,C,T=a[g],A=T.length,M=f[g]=new Array(A),Z=0;Z<A;++Z)(x=T[Z])&&(C=r.call(x,x.__data__,Z,T))&&("__data__"in x&&(C.__data__=x.__data__),M[Z]=C);return new Pn(f,this._parents)},selectAll:function(r){"function"!=typeof r&&(r=_i(r));for(var a=this._groups,h=a.length,f=[],g=[],x=0;x<h;++x)for(var C,T=a[x],A=T.length,M=0;M<A;++M)(C=T[M])&&(f.push(r.call(C,C.__data__,M,T)),g.push(C));return new Pn(f,g)},filter:function(r){"function"!=typeof r&&(r=xn(r));for(var a=this._groups,h=a.length,f=new Array(h),g=0;g<h;++g)for(var x,C=a[g],T=C.length,A=f[g]=[],M=0;M<T;++M)(x=C[M])&&r.call(x,x.__data__,M,C)&&A.push(x);return new Pn(f,this._parents)},data:function(r,a){if(!r)return $=new Array(this.size()),Z=-1,this.each(function(Wt){$[++Z]=Wt}),$;var h,f=a?Mn:Un,g=this._parents,x=this._groups;"function"!=typeof r&&(h=r,r=function(){return h});for(var C=x.length,T=new Array(C),A=new Array(C),M=new Array(C),Z=0;Z<C;++Z){var R=g[Z],U=x[Z],V=U.length,$=r.call(R,R&&R.__data__,Z,g),it=$.length,nt=A[Z]=new Array(it),tt=T[Z]=new Array(it);f(R,U,nt,tt,M[Z]=new Array(V),$,a);for(var lt,ct,z=0,mt=0;z<it;++z)if(lt=nt[z]){for(z>=mt&&(mt=z+1);!(ct=tt[mt])&&++mt<it;);lt._next=ct||null}}return(T=new Pn(T,g))._enter=A,T._exit=M,T},enter:function(){return new Pn(this._enter||this._groups.map(Dn),this._parents)},exit:function(){return new Pn(this._exit||this._groups.map(Dn),this._parents)},join:function(r,a,h){var f=this.enter(),g=this,x=this.exit();return f="function"==typeof r?r(f):f.append(r+""),null!=a&&(g=a(g)),null==h?x.remove():h(x),f&&g?f.merge(g).order():g},merge:function(r){for(var a=this._groups,h=r._groups,f=a.length,x=Math.min(f,h.length),C=new Array(f),T=0;T<x;++T)for(var A,M=a[T],Z=h[T],R=M.length,U=C[T]=new Array(R),V=0;V<R;++V)(A=M[V]||Z[V])&&(U[V]=A);for(;T<f;++T)C[T]=a[T];return new Pn(C,this._parents)},order:function(){for(var r=this._groups,a=-1,h=r.length;++a<h;)for(var f,g=r[a],x=g.length-1,C=g[x];--x>=0;)(f=g[x])&&(C&&4^f.compareDocumentPosition(C)&&C.parentNode.insertBefore(f,C),C=f);return this},sort:function(r){function a(R,U){return R&&U?r(R.__data__,U.__data__):!R-!U}r||(r=Xn);for(var h=this._groups,f=h.length,g=new Array(f),x=0;x<f;++x){for(var C,T=h[x],A=T.length,M=g[x]=new Array(A),Z=0;Z<A;++Z)(C=T[Z])&&(M[Z]=C);M.sort(a)}return new Pn(g,this._parents).order()},call:function(){var r=arguments[0];return arguments[0]=this,r.apply(null,arguments),this},nodes:function(){var r=new Array(this.size()),a=-1;return this.each(function(){r[++a]=this}),r},node:function(){for(var r=this._groups,a=0,h=r.length;a<h;++a)for(var f=r[a],g=0,x=f.length;g<x;++g){var C=f[g];if(C)return C}return null},size:function(){var r=0;return this.each(function(){++r}),r},empty:function(){return!this.node()},each:function(r){for(var a=this._groups,h=0,f=a.length;h<f;++h)for(var g,x=a[h],C=0,T=x.length;C<T;++C)(g=x[C])&&r.call(g,g.__data__,C,x);return this},attr:function(r,a){var h=Nn(r);if(arguments.length<2){var f=this.node();return h.local?f.getAttributeNS(h.space,h.local):f.getAttribute(h)}return this.each((null==a?h.local?Gn:ii:"function"==typeof a?h.local?Rn:pi:h.local?si:ai)(h,a))},style:function(r,a,h){return arguments.length>1?this.each((null==a?bn:"function"==typeof a?An:zn)(r,a,h??"")):Ar(this.node(),r)},property:function(r,a){return arguments.length>1?this.each((null==a?Ni:"function"==typeof a?jn:go)(r,a)):this.node()[r]},classed:function(r,a){var h=es(r+"");if(arguments.length<2){for(var f=qo(this.node()),g=-1,x=h.length;++g<x;)if(!f.contains(h[g]))return!1;return!0}return this.each(("function"==typeof a?ji:a?pr:xr)(h,a))},text:function(r){return arguments.length?this.each(null==r?br:("function"==typeof r?oo:Wi)(r)):this.node().textContent},html:function(r){return arguments.length?this.each(null==r?Lr:("function"==typeof r?hr:yi)(r)):this.node().innerHTML},raise:function(){return this.each(Vo)},lower:function(){return this.each(wr)},append:function(r){var a="function"==typeof r?r:Ur(r);return this.select(function(){return this.appendChild(a.apply(this,arguments))})},insert:function(r,a){var h="function"==typeof r?r:Ur(r),f=null==a?gn:"function"==typeof a?a:zi(a);return this.select(function(){return this.insertBefore(h.apply(this,arguments),f.apply(this,arguments)||null)})},remove:function(){return this.each(ci)},clone:function(r){return this.select(r?$e:Bn)},datum:function(r){return arguments.length?this.property("__data__",r):this.node().__data__},on:function(r,a,h){var f,g,x=ao(r+""),C=x.length;if(!(arguments.length<2)){for(T=a?oa:Co,null==h&&(h=!1),f=0;f<C;++f)this.each(T(x[f],a,h));return this}var T=this.node().__on;if(T)for(var A,M=0,Z=T.length;M<Z;++M)for(f=0,A=T[M];f<C;++f)if((g=x[f]).type===A.type&&g.name===A.name)return A.value},dispatch:function(r,a){return this.each(("function"==typeof a?dr:is)(r,a))}};const Ta=aa;function Li(r){return"string"==typeof r?new Pn([[document.querySelector(r)]],[document.documentElement]):new Pn([[r]],ko)}function Hi(){Tt.stopImmediatePropagation()}function Pr(){Tt.preventDefault(),Tt.stopImmediatePropagation()}function Tr(r){var a=r.document.documentElement,h=Li(r).on("dragstart.drag",Pr,!0);"onselectstart"in a?h.on("selectstart.drag",Pr,!0):(a.__noselect=a.style.MozUserSelect,a.style.MozUserSelect="none")}function nr(r,a){var h=r.document.documentElement,f=Li(r).on("dragstart.drag",null);a&&(f.on("click.drag",Pr,!0),setTimeout(function(){f.on("click.drag",null)},0)),"onselectstart"in h?f.on("selectstart.drag",null):(h.style.MozUserSelect=h.__noselect,delete h.__noselect)}function ir(r,a,h){r.prototype=a.prototype=h,h.constructor=r}function Zr(r,a){var h=Object.create(r.prototype);for(var f in a)h[f]=a[f];return h}function mr(){}var mo=1/.7,so="\\s*([+-]?\\d+)\\s*",Ja="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ht="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",tn=/^#([0-9a-f]{3,8})$/,ze=new RegExp("^rgb\\("+[so,so,so]+"\\)$"),Ui=new RegExp("^rgb\\("+[Ht,Ht,Ht]+"\\)$"),Bi=new RegExp("^rgba\\("+[so,so,so,Ja]+"\\)$"),Rr=new RegExp("^rgba\\("+[Ht,Ht,Ht,Ja]+"\\)$"),Cr=new RegExp("^hsl\\("+[Ja,Ht,Ht]+"\\)$"),zs=new RegExp("^hsla\\("+[Ja,Ht,Ht,Ja]+"\\)$"),So={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function rr(){return this.rgb().formatHex()}function Tc(){return this.rgb().formatRgb()}function Ca(r){var a,h;return r=(r+"").trim().toLowerCase(),(a=tn.exec(r))?(h=a[1].length,a=parseInt(a[1],16),6===h?el(a):3===h?new kr(a>>8&15|a>>4&240,a>>4&15|240&a,(15&a)<<4|15&a,1):8===h?Ha(a>>24&255,a>>16&255,a>>8&255,(255&a)/255):4===h?Ha(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|240&a,((15&a)<<4|15&a)/255):null):(a=ze.exec(r))?new kr(a[1],a[2],a[3],1):(a=Ui.exec(r))?new kr(255*a[1]/100,255*a[2]/100,255*a[3]/100,1):(a=Bi.exec(r))?Ha(a[1],a[2],a[3],a[4]):(a=Rr.exec(r))?Ha(255*a[1]/100,255*a[2]/100,255*a[3]/100,a[4]):(a=Cr.exec(r))?Ya(a[1],a[2]/100,a[3]/100,1):(a=zs.exec(r))?Ya(a[1],a[2]/100,a[3]/100,a[4]):So.hasOwnProperty(r)?el(So[r]):"transparent"===r?new kr(NaN,NaN,NaN,0):null}function el(r){return new kr(r>>16&255,r>>8&255,255&r,1)}function Ha(r,a,h,f){return f<=0&&(r=a=h=NaN),new kr(r,a,h,f)}function nl(r){return r instanceof mr||(r=Ca(r)),r?new kr((r=r.rgb()
1).r,r.g,r.b,r.opacity):new kr}function vo(r,a,h,f){return 1===arguments.length?nl(r):new kr(r,a,h,f??1)}function kr(r,a,h,f){this.r=+r,this.g=+a,this.b=+h,this.opacity=+f}function Xl(){return"#"+eu(this.r)+eu(this.g)+eu(this.b)}function tu(){var r=this.opacity;return(1===(r=isNaN(r)?1:Math.max(0,Math.min(1,r)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===r?")":", "+r+")")}function eu(r){return((r=Math.max(0,Math.min(255,Math.round(r)||0)))<16?"0":"")+r.toString(16)}function Ya(r,a,h,f){return f<=0?r=a=h=NaN:h<=0||h>=1?r=a=NaN:a<=0&&(r=NaN),new sa(r,a,h,f)}function Fh(r){if(r instanceof sa)return new sa(r.h,r.s,r.l,r.opacity);if(r instanceof mr||(r=Ca(r)),!r)return new sa;if(r instanceof sa)return r;var a=(r=r.rgb()).r/255,h=r.g/255,f=r.b/255,g=Math.min(a,h,f),x=Math.max(a,h,f),C=NaN,T=x-g,A=(x+g)/2;return T?(C=a===x?(h-f)/T+6*(h<f):h===x?(f-a)/T+2:(a-h)/T+4,T/=A<.5?x+g:2-x-g,C*=60):T=A>0&&A<1?0:C,new sa(C,T,A,r.opacity)}function Cc(r,a,h,f){return 1===arguments.length?Fh(r):new sa(r,a,h,f??1)}function sa(r,a,h,f){this.h=+r,this.s=+a,this.l=+h,this.opacity=+f}function Ge(r,a,h){return 255*(r<60?a+(h-a)*r/60:r<180?h:r<240?a+(h-a)*(240-r)/60:a)}function nu(r,a,h,f,g){var x=r*r,C=x*r;return((1-3*r+3*x-C)*a+(4-6*x+3*C)*h+(1+3*r+3*x-3*C)*f+C*g)/6}function Gi(r){var a=r.length-1;return function(h){var f=h<=0?h=0:h>=1?(h=1,a-1):Math.floor(h*a),g=r[f],x=r[f+1];return nu((h-f/a)*a,f>0?r[f-1]:2*g-x,g,x,f<a-1?r[f+2]:2*x-g)}}function il(r){var a=r.length;return function(h){var f=Math.floor(((h%=1)<0?++h:h)*a);return nu((h-f/a)*a,r[(f+a-1)%a],r[f%a],r[(f+1)%a],r[(f+2)%a])}}function rl(r){return function(){return r}}function iu(r,a){return function(h){return r+h*a}}function ca(r,a){var h=a-r;return h?iu(r,h>180||h<-180?h-360*Math.round(h/360):h):rl(isNaN(r)?a:r)}function Jr(r,a){var h=a-r;return h?iu(r,h):rl(isNaN(r)?a:r)}ir(mr,Ca,{copy:function(r){return Object.assign(new this.constructor,this,r)},displayable:function(){return this.rgb().displayable()},hex:rr,formatHex:rr,formatHsl:function(){return Fh(this).formatHsl()},formatRgb:Tc,toString:Tc}),ir(kr,vo,Zr(mr,{brighter:function(r){return r=null==r?mo:Math.pow(mo,r),new kr(this.r*r,this.g*r,this.b*r,this.opacity)},darker:function(r){return r=null==r?.7:Math.pow(.7,r),new kr(this.r*r,this.g*r,this.b*r,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Xl,formatHex:Xl,formatRgb:tu,toString:tu})),ir(sa,Cc,Zr(mr,{brighter:function(r){return r=null==r?mo:Math.pow(mo,r),new sa(this.h,this.s,this.l*r,this.opacity)},darker:function(r){return r=null==r?.7:Math.pow(.7,r),new sa(this.h,this.s,this.l*r,this.opacity)},rgb:function(){var r=this.h%360+360*(this.h<0),a=isNaN(r)||isNaN(this.s)?0:this.s,h=this.l,f=h+(h<.5?h:1-h)*a,g=2*h-f;return new kr(Ge(r>=240?r-240:r+120,g,f),Ge(r,g,f),Ge(r<120?r+240:r-120,g,f),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var r=this.opacity;return(1===(r=isNaN(r)?1:Math.max(0,Math.min(1,r)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===r?")":", "+r+")")}}));const kc=function r(a){var g,h=1==(g=+(g=a))?Jr:function(x,C){return C-x?(T=x,A=C,M=g,T=Math.pow(T,M),A=Math.pow(A,M)-T,M=1/M,function(Z){return Math.pow(T+Z*A,M)}):rl(isNaN(x)?C:x);var T,A,M};function f(g,x){var C=h((g=vo(g)).r,(x=vo(x)).r),T=h(g.g,x.g),A=h(g.b,x.b),M=Jr(g.opacity,x.opacity);return function(Z){return g.r=C(Z),g.g=T(Z),g.b=A(Z),g.opacity=M(Z),g+""}}return f.gamma=r,f}(1);function Mh(r){return function(a){var h,f,g=a.length,x=new Array(g),C=new Array(g),T=new Array(g);for(h=0;h<g;++h)f=vo(a[h]),x[h]=f.r||0,C[h]=f.g||0,T[h]=f.b||0;return x=r(x),C=r(C),T=r(T),f.opacity=1,function(A){return f.r=x(A),f.g=C(A),f.b=T(A),f+""}}}var ru=Mh(Gi),rs=Mh(il);function Nh(r,a){a||(a=[]);var h,f=r?Math.min(a.length,r.length):0,g=a.slice();return function(x){for(h=0;h<f;++h)g[h]=r[h]*(1-x)+a[h]*x;return g}}function Bf(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)}function xp(r,a){return(Bf(a)?Nh:Pf)(r,a)}function Pf(r,a){var h,f=a?a.length:0,g=r?Math.min(f,r.length):0,x=new Array(g),C=new Array(f);for(h=0;h<g;++h)x[h]=ol(r[h],a[h]);for(;h<f;++h)C[h]=a[h];return function(T){for(h=0;h<g;++h)C[h]=x[h](T);return C}}function Rf(r,a){var h=new Date;return r=+r,a=+a,function(f){return h.setTime(r*(1-f)+a*f),h}}function la(r,a){return r=+r,a=+a,function(h){return r*(1-h)+a*h}}function Jf(r,a){var h,f={},g={};for(h in null!==r&&"object"==typeof r||(r={}),null!==a&&"object"==typeof a||(a={}),a)h in r?f[h]=ol(r[h],a[h]):g[h]=a[h];return function(x){for(h in f)g[h]=f[h](x);return g}}var ou=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Lh=new RegExp(ou.source,"g");function os(r,a){var h,f,g,M,x=ou.lastIndex=Lh.lastIndex=0,C=-1,T=[],A=[];for(r+="",a+="";(h=ou.exec(r))&&(f=Lh.exec(a));)(g=f.index)>
1x&&(g=a.slice(x,g),T[C]?T[C]+=g:T[++C]=g),(h=h[0])===(f=f[0])?T[C]?T[C]+=f:T[++C]=f:(T[++C]=null,A.push({i:C,x:la(h,f)})),x=Lh.lastIndex;return x<a.length&&(g=a.slice(x),T[C]?T[C]+=g:T[++C]=g),T.length<2?A[0]?(M=A[0].x,function(Z){return M(Z)+""}):function(M){return function(){return M}}(a):(a=A.length,function(M){for(var Z,R=0;R<a;++R)T[(Z=A[R]).i]=Z.x(M);return T.join("")})}function ol(r,a){var h,f=typeof a;return null==a||"boolean"===f?rl(a):("number"===f?la:"string"===f?(h=Ca(a))?(a=h,kc):os:a instanceof Ca?kc:a instanceof Date?Rf:Bf(a)?Nh:Array.isArray(a)?Pf:"function"!=typeof a.valueOf&&"function"!=typeof a.toString||isNaN(a)?Jf:la)(r,a)}function Uh(){for(var r,a=Tt;r=a.sourceEvent;)a=r;return a}function au(r,a){var h=r.ownerSVGElement||r;if(h.createSVGPoint){var f=h.createSVGPoint();return f.x=a.clientX,f.y=a.clientY,[(f=f.matrixTransform(r.getScreenCTM().inverse())).x,f.y]}var g=r.getBoundingClientRect();return[a.clientX-g.left-r.clientLeft,a.clientY-g.top-r.clientTop]}function $o(r,a,h){arguments.length<3&&(h=a,a=Uh().changedTouches);for(var f,g=0,x=a?a.length:0;g<x;++g)if((f=a[g]).identifier===h)return au(r,f);return null}function xs(r){var a=Uh();return a.changedTouches&&(a=a.changedTouches[0]),au(r,a)}var ua,al,jo=0,Go=0,Dc=0,bs=0,ha=0,ei=0,I="object"==typeof performance&&performance.now?performance:Date,P="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(r){setTimeout(r,17)};function K(){return ha||(P(ut),ha=I.now()+ei)}function ut(){ha=0}function zt(){this._call=this._time=this._next=null}function ye(r,a,h){var f=new zt;return f.restart(r,a,h),f}function Ee(){K(),++jo;for(var r,a=ua;a;)(r=ha-a._time)>=0&&a._call.call(null,r),a=a._next;--jo}function Re(){ha=(bs=I.now())+ei,jo=Go=0;try{Ee()}finally{jo=0,function(){for(var r,a,h=ua,f=1/0;h;)h._call?(f>h._time&&(f=h._time),r=h,h=h._next):(a=h._next,h._next=null,h=r?r._next=a:ua=a);al=r,Xe(f)}(),ha=0}}function He(){var r=I.now(),a=r-bs;a>1e3&&(ei-=a,bs=r)}function Xe(r){jo||(Go&&(Go=clearTimeout(Go)),r-ha>24?(r<1/0&&(Go=setTimeout(Re,r-I.now()-ei)),Dc&&(Dc=clearInterval(Dc))):(Dc||(bs=I.now(),Dc=setInterval(He,1e3)),jo=1,P(Re)))}function rn(r,a,h){var f=new zt;return f.restart(function(g){f.stop(),r(g+a)},a=null==a?0:+a,h),f}zt.prototype=ye.prototype={constructor:zt,restart:function(r,a,h){if("function"!=typeof r)throw new TypeError("callback is not a function");h=(null==h?K():+h)+(null==a?0:+a),this._next||al===this||(al?al._next=this:ua=this,al=this),this._call=r,this._time=h,Xe()},stop:function(){this._call&&(this._call=null,this._time=1/0,Xe())}};var Jn=pn("start","end","cancel","interrupt"),Sn=[];function Zi(r,a,h,f,g,x){var C=r.__transition;if(C){if(h in C)return}else r.__transition={};!function(T,A,M){var Z,R=T.__transition;function U(it){var nt,tt,lt,ct;if(1!==M.state)return $();for(nt in R)if((ct=R[nt]).name===M.name){if(3===ct.state)return rn(U);4===ct.state?(ct.state=6,ct.timer.stop(),ct.on.call("interrupt",T,T.__data__,ct.index,ct.group),delete R[nt]):+nt<A&&(ct.state=6,ct.timer.stop(),ct.on.call("cancel",T,T.__data__,ct.index,ct.group),delete R[nt])}if(rn(function(){3===M.state&&(M.state=4,M.timer.restart(V,M.delay,M.time),V(it))}),M.state=2,M.on.call("start",T,T.__data__,M.index,M.group),2===M.state){for(M.state=3,Z=new Array(lt=M.tween.length),nt=0,tt=-1;nt<lt;++nt)(ct=M.tween[nt].value.call(T,T.__data__,M.index,M.group))&&(Z[++tt]=ct);Z.length=tt+1}}function V(it){for(var nt=it<M.duration?M.ease.call(null,it/M.duration):(M.timer.restart($),M.state=5,1),tt=-1,lt=Z.length;++tt<lt;)Z[tt].call(T,nt);5===M.state&&(M.on.call("end",T,T.__data__,M.index,M.group),$())}function $(){for(var it in M.state=6,M.timer.stop(),delete R[A],R)return;delete T.__transition}R[A]=M,M.timer=ye(function(it){M.state=1,M.timer.restart(U,M.delay,M.time),M.delay<=it&&U(it-M.delay)},0,M.time)}(r,h,{name:a,index:f,group:g,on:Jn,tween:Sn,time:x.time,delay:x.delay,duration:x.duration,ease:x.ease,timer:null,state:0})}function Ci(r,a){var h=Dr(r,a);if(h.state>0)throw new Error("too late; already scheduled");return h}function Xi(r,a){var h=Dr(r,a);if(h.state>3)throw new Error("too late; already running");return h}function Dr(r,a){var h=r.__transition;if(!h||!(h=h[a]))throw new Error("transition not found");return h}function yo(r,a){var h,f,g,x=r.__transition,C=!0;if(x){for(g in a=null==a?null:a+"",x)(h=x[g]).name===a?(f=h.state>2&&h.state<5,h.state=6,h.timer.stop(),h.on.call(f?"interrupt":"cancel",r,r.__data__,h.index,h.group),delete x[g]):C=!1;C&&delete r.__transition}}var Ks,su,bp,sl,Oo=180/Math.PI,Hf={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function wp(r,a,h,f,g,x){var C,T,A;return(C=Math.sqrt(r*r+a*a))&&(r/=C,a/=C),(A=r*h+a*f)&&(h-=r*A,f-=a*A),(T=Math.sqrt(h*h+f*f))&&(h/=T,f/=T,A/=T),r*f<a*h&&(r=-r,a=-a,A=-A,C=-C),{translateX:g,translateY:x,rotate:Math.atan2(a,r)*Oo,skewX:Math.atan(A)*Oo,scaleX:C,scaleY:T}}function Yf(r,a,h,f){function g(x){return x.length?x.pop()+" ":""}return function(x,C){var M,Z,R,T=[],A=[];return x=r(x),C=r(C),function(M,Z,R,U,V,$){if(M!==R||Z!==U){var it=V.push("translate(",null,a,null,h);$.push({i:it-4,x:la(M,R)},{i:it-2,x:la(Z,U)})}else(R||U)&&V.push("translate("+R+a+U+h)}(x.translateX,x.translateY,C.translateX,C.translateY,T,A),R=T,(M=x.rotate)!==(Z=C.rotate)?(M-Z>180?Z+=360:Z-M>180&&(M+=360),A.push({i:R.push(g(R)+"rotate(",null,f)-2,x:la(M,Z)})):Z&&R.push(g(R)+"rotate("+Z+f),function(M,Z,R,U){M!==Z?U.push({i:R.push(g(R)+"skewX(",
vendor: 8,318 bytes, line 1
1null,f)-2,x:la(M,Z)}):Z&&R.push(g(R)+"skewX("+Z+f)}(x.skewX,C.skewX,T,A),function(M,Z,R,U,V,$){if(M!==R||Z!==U){var it=V.push(g(V)+"scale(",null,",",null,")");$.push({i:it-4,x:la(M,R)},{i:it-2,x:la(Z,U)})}else 1===R&&1===U||V.push(g(V)+"scale("+R+","+U+")")}(x.scaleX,x.scaleY,C.scaleX,C.scaleY,T,A),x=C=null,function(M){for(var Z,R=-1,U=A.length;++R<U;)T[(Z=A[R]).i]=Z.x(M);return T.join("")}}}var Tp=Yf(function(r){return"none"===r?Hf:(Ks||(Ks=document.createElement("DIV"),su=document.documentElement,bp=document.defaultView),Ks.style.transform=r,r=bp.getComputedStyle(su.appendChild(Ks),null).getPropertyValue("transform"),su.removeChild(Ks),wp(+(r=r.slice(7,-1).split(","))[0],+r[1],+r[2],+r[3],+r[4],+r[5]))},"px, ","px)","deg)"),Cp=Yf(function(r){return null==r?Hf:(sl||(sl=document.createElementNS("http://www.w3.org/2000/svg","g")),sl.setAttribute("transform",r),(r=sl.transform.baseVal.consolidate())?wp((r=r.matrix).a,r.b,r.c,r.d,r.e,r.f):Hf)},", ",")",")");function ws(r,a){var h,f;return function(){var g=Xi(this,r),x=g.tween;if(x!==h)for(var C=0,T=(f=h=x).length;C<T;++C)if(f[C].name===a){(f=f.slice()).splice(C,1);break}g.tween=f}}function kp(r,a,h){var f,g;if("function"!=typeof h)throw new Error;return function(){var x=Xi(this,r),C=x.tween;if(C!==f){g=(f=C).slice();for(var T={name:a,value:h},A=0,M=g.length;A<M;++A)if(g[A].name===a){g[A]=T;break}A===M&&g.push(T)}x.tween=g}}function Dp(r,a,h){var f=r._id;return r.each(function(){var g=Xi(this,f);(g.value||(g.value={}))[a]=h.apply(this,arguments)}),function(g){return Dr(g,f).value[a]}}function qm(r,a){var h;return("number"==typeof a?la:a instanceof Ca?kc:(h=Ca(a))?(a=h,kc):os)(r,a)}function Vm(r){return function(){this.removeAttribute(r)}}function Qm(r){return function(){this.removeAttributeNS(r.space,r.local)}}function $m(r,a,h){var f,g,x=h+"";return function(){var C=this.getAttribute(r);return C===x?null:C===f?g:g=a(f=C,h)}}function Sp(r,a,h){var f,g,x=h+"";return function(){var C=this.getAttributeNS(r.space,r.local);return C===x?null:C===f?g:g=a(f=C,h)}}function jm(r,a,h){var f,g,x;return function(){var C,T,A=h(this);if(null!=A)return(C=this.getAttribute(r))===(T=A+"")?null:C===f&&T===g?x:(g=T,x=a(f=C,A));this.removeAttribute(r)}}function Gm(r,a,h){var f,g,x;return function(){var C,T,A=h(this);if(null!=A)return(C=this.getAttributeNS(r.space,r.local))===(T=A+"")?null:C===f&&T===g?x:(g=T,x=a(f=C,A));this.removeAttributeNS(r.space,r.local)}}function Ts(r,a){return function(h){this.setAttribute(r,a.call(this,h))}}function Ap(r,a){return function(h){this.setAttributeNS(r.space,r.local,a.call(this,h))}}function Ep(r,a){var h,f;function g(){var x=a.apply(this,arguments);return x!==f&&(h=(f=x)&&Ap(r,x)),h}return g._value=a,g}function Ip(r,a){var h,f;function g(){var x=a.apply(this,arguments);return x!==f&&(h=(f=x)&&Ts(r,x)),h}return g._value=a,g}function Fp(r,a){return function(){Ci(this,r).delay=+a.apply(this,arguments)}}function Y6(r,a){return a=+a,function(){Ci(this,r).delay=a}}function Mp(r,a){return function(){Xi(this,r).duration=+a.apply(this,arguments)}}function Ws(r,a){return a=+a,function(){Xi(this,r).duration=a}}function zm(r,a){if("function"!=typeof a)throw new Error;return function(){Xi(this,r).ease=a}}function Np(r,a,h){var f,g,x=(a+"").trim().split(/^|\s+/).every(function(T){var A=T.indexOf(".");return A>=0&&(T=T.slice(0,A)),!T||"start"===T})?Ci:Xi;return function(){var C=x(this,r),T=C.on;T!==f&&(g=(f=T).copy()).on(a,h),C.on=g}}var Km=Ta.prototype.constructor;function cl(r){return function(){this.style.removeProperty(r)}}function Wm(r,a,h){return function(f){this.style.setProperty(r,a.call(this,f),h)}}function q6(r,a,h){var f,g;function x(){var C=a.apply(this,arguments);return C!==g&&(f=(g=C)&&Wm(r,C,h)),f}return x._value=a,x}function Lp(r){return function(a){this.textContent=r.call(this,a)}}function Up(r){var a,h;function f(){var g=r.apply(this,arguments);return g!==h&&(a=(h=g)&&Lp(g)),a}return f._value=r,f}var Zp=0;function as(r,a,h,f){this._groups=r,this._parents=a,this._name=h,this._id=f}function qf(r){return Ta().transition(r)}function Vf(){return++Zp}var Sc=Ta.prototype;function Xm(r){return r*r*r}function V6(r){return--r*r*r+1}function Op(r){return((r*=2)<=1?r*r*r:(r-=2)*r*r+2)/2}as.prototype=qf.prototype={constructor:as,select:function(r){var a=this._name,h=this._id;"function"!=typeof r&&(r=zi(r));for(var f=this._groups,g=f.length,x=new Array(g),C=0;C<g;++C)for(var T,A,M=f[C],Z=M.length,R=x[C]=new Array(Z),U=0;U<Z;++U)(T=M[U])&&(A=r.call(T,T.__data__,U,M))&&("__data__"in T&&(A.__data__=T.__data__),R[U]=A,Zi(R[U],a,h,U,R,Dr(T,h)));return new as(x,this._parents,a,h)},selectAll:function(r){var a=this._name,h=this._id;"function"!=typeof r&&(r=_i(r));for(var f=this._groups,g=f.length,x=[],C=[],T=0;T<g;++T)for(var A,M=f[T],Z=M.length,R=0;R<Z;++R)if(A=M[R]){for(var U,V=r.call(A,A.__data__,R,M),$=Dr(A,h),it=0,nt=V.length;it<nt;++it)(U=V[it])&&Zi(U,a,h,it,V,$);x.push(V),C.push(A)}return new as(x,C,a,h)},filter:function(r){"function"!=typeof r&&(r=xn(r));for(var a=this._groups,h=a.length,f=new Array(h),g=0;g<h;++g)for(var x,C=a[g],T=C.length,A=f[g]=[],M=0;M<T;++M)(x=C[M])&&r.call(x,x.__data__,M,C)&&A.push(x);return new as(f,this._parents,this._name,this._id)},merge:function(r){if(r._id!==this._id)throw new Error;for(var a=this._groups,h=r._groups,f=a.length,x=Math.min(f,h.length),C=new Array(f),T=0;T<x;++T)for(var A,M=a[T],Z=h[T],R=M.length,U=C[T]=new Array(R),V=0;V<R;++V)(A=M[V]||Z[V])&&(U[V]=A);for(;T<f;++T)C[T]=a[T];return new as(C,this._parents,this._name,this._id)},selection:function(){return new Km(this._groups,this._parents)},transition:function(){for(var r=this._name,a=this._id,h=Vf(),f=this._groups,g=f.length,x=0;x<g;++x)for(var C,T=f[x],A=T.length,M=0;M<A;++M)if(C=T[M]){var Z=Dr(C,a);Zi(C,r,h,M,T,{time:Z.time+Z.delay+Z.duration,delay:0,duration:Z.duration,ease:Z.ease})}return new as(f,this._parents,r,h)},call:Sc.call,nodes:Sc.nodes,node:Sc.node,size:Sc.size,empty:Sc.empty,each:Sc.each,on:function(r,a){var h=this._id;return arguments.length<2?Dr(this.node(),h).on.on(r):this.each(Np(h,r,a))},attr:function(r,a){var h=Nn(r),f="transform"===h?Cp:qm;return this.attrTween(r,"function"==typeof a?(h.local?Gm:jm)(h,f,Dp(this,"attr."+r,a)):null==a?(h.local?Qm:Vm)(h):(h.local?Sp:$m)(h,f,a))},attrTween:function(r,a){var h="attr."+r;if(arguments.length<2)return(h=this.tween(h))&&h._value;if(null==a)return this.tween(h,null);if("function"!=typeof a)throw new Error;var f=Nn(r);return this.tween(h,(f.local?Ep:Ip)(f,a))},style:function(r,a,h){var g,x,C,T,A,f="transform"==(r+="")?Tp:qm;return null==a?this.styleTween(r,(g=r,x=f,function(){var M=Ar(this,g),Z=(this.style.removeProperty(g),Ar(this,g));return M===Z?null:M===C&&Z===T?A:A=x(C=M,T=Z)})).on("end.style."+r,cl(r)):"function"==typeof a?this.styleTween(r,function(g,x,C){var T,A,M;return function(){var Z=Ar(this,g),R=C(this),U=R+"";return null==R&&(this.style.removeProperty(g),U=R=Ar(this,g)),Z===U?null:Z===T&&U===A?M:(A=U,M=x(T=Z,R))}}(r,f,Dp(this,"style."+r,a))).each(function(g,x){var C,T,A,M,Z="style."+x,R="end."+Z;return function(){var U=Xi(this,g),V=U.on,$=null==U.value[Z]?M||(M=cl(x)):void 0;V===C&&A===$||(T=(C=V).copy()).on(R,A=$),U.on=T}}(this._id,r)):this.styleTween(r,function(g,x,C){var T,A,M=C+"";return function(){var Z=Ar(this,g);return Z===M?null:Z===T?A:A=x(T=Z,C)}}(r,f,a),h).on("end.style."+r,null)},styleTween:function(r,a,h){var f="style."+(r+="");if(arguments.length<2)return(f=this.tween(f))&&f._value;if(null==a)return this.tween(f,null);if("function"!=typeof a)throw new Error;return this.tween(f,q6(r,a,h??""))},text:function(r){return this.tween("text","function"==typeof r?(a=Dp(this,"text",r),function(){var h=a(this);this.textContent=h??""}):function(a){return function(){this.textContent=a}}(null==r?"":r+""));var a},textTween:function(r){var a="text";if(arguments.length<1)return(a=this.tween(a))&&a._value;if(null==r)return this.tween(a,null);if("function"!=typeof r)throw new Error;return this.tween(a,Up(r))},remove:function(){return this.on("end.remove",(r=this._id,function(){var a=this.parentNode;for(var h in this.__transition)if(+h!==r)return;a&&a.removeChild(this)}));var r},tween:function(r,a){var h=this._id;if(r+="",arguments.length<2){for(var f,g=Dr(this.node(),h).tween,x=0,C=g.length;x<C;++x)if((f=g[x]).name===r)return f.value;return null}
vendor: 5,101 bytes, line 1
1return this.each((null==a?ws:kp)(h,r,a))},delay:function(r){var a=this._id;return arguments.length?this.each(("function"==typeof r?Fp:Y6)(a,r)):Dr(this.node(),a).delay},duration:function(r){var a=this._id;return arguments.length?this.each(("function"==typeof r?Mp:Ws)(a,r)):Dr(this.node(),a).duration},ease:function(r){var a=this._id;return arguments.length?this.each(zm(a,r)):Dr(this.node(),a).ease},end:function(){var r,a,h=this,f=h._id,g=h.size();return new Promise(function(x,C){var T={value:C},A={value:function(){0==--g&&x()}};h.each(function(){var M=Xi(this,f),Z=M.on;Z!==r&&((a=(r=Z).copy())._.cancel.push(T),a._.interrupt.push(T),a._.end.push(A)),M.on=a})})}};var Zh={time:null,delay:0,duration:250,ease:Op};function t2(r,a){for(var h;!(h=r.__transition)||!(h=h[a]);)if(!(r=r.parentNode))return Zh.time=K(),Zh;return h}Ta.prototype.interrupt=function(r){return this.each(function(){yo(this,r)})},Ta.prototype.transition=function(r){var a,h;r instanceof as?(a=r._id,r=r._name):(a=Vf(),(h=Zh).time=K(),r=null==r?null:r+"");for(var f=this._groups,g=f.length,x=0;x<g;++x)for(var C,T=f[x],A=T.length,M=0;M<A;++M)(C=T[M])&&Zi(C,r,a,M,T,h||t2(C,a));return new as(f,this._parents,r,a)};var Oh=[null];function Qf(r,a){var h,f,g=r.__transition;if(g)for(f in a=null==a?null:a+"",g)if((h=g[f]).state>1&&h.name===a)return new as([[r]],Oh,a,+f);return null}function cu(r){return function(){return r}}function lu(r,a,h){this.target=r,this.type=a,this.selection=h}function uu(){Tt.stopImmediatePropagation()}function qa(){Tt.preventDefault(),Tt.stopImmediatePropagation()}var e2={name:"drag"},Bp={name:"space"},hu={name:"handle"},du={name:"center"};function n2(r){return[+r[0],+r[1]]}function Pp(r){return[n2(r[0]),n2(r[1])]}function Q6(r){return function(a){return $o(a,Tt.touches,r)}}var Bh={name:"x",handles:["w","e"].map(Ao),input:function(r,a){return null==r?null:[[+r[0],a[0][1]],[+r[1],a[1][1]]]},output:function(r){return r&&[r[0][0],r[1][0]]}},Ph={name:"y",handles:["n","s"].map(Ao),input:function(r,a){return null==r?null:[[a[0][0],+r[0]],[a[1][0],+r[1]]]},output:function(r){return r&&[r[0][1],r[1][1]]}},i2={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Ao),input:function(r){return null==r?null:Pp(r)},output:function(r){return r}},ka={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Rp={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Rh={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},$6={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},$f={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Ao(r){return{type:r}}function r2(){return!Tt.ctrlKey&&!Tt.button}function o2(){var r=this.ownerSVGElement||this;return r.hasAttribute("viewBox")?[[(r=r.viewBox.baseVal).x,r.y],[r.x+r.width,r.y+r.height]]:[[0,0],[r.width.baseVal.value,r.height.baseVal.value]]}function Jp(){return navigator.maxTouchPoints||"ontouchstart"in this}function jf(r){for(;!r.__brush;)if(!(r=r.parentNode))return;return r.__brush}function a2(r){return r[0][0]===r[1][0]||r[0][1]===r[1][1]}function Cs(r){var a=r.__brush;return a?a.dim.output(a.selection):null}function Hp(){return Gf(Bh)}function s2(){return Gf(Ph)}function Yp(){return Gf(i2)}function Gf(r){var a,h=o2,f=r2,g=Jp,x=!0,C=pn("start","brush","end"),T=6;function A(nt){var tt=nt.property("__brush",it).selectAll(".overlay").data([Ao("overlay")]);tt.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",ka.overlay).merge(tt).each(function(){var ct=jf(this).extent;Li(this).attr("x",ct[0][0]).attr("y",ct[0][1]).attr("width",ct[1][0]-ct[0][0]).attr("height",ct[1][1]-ct[0][1])}),nt.selectAll(".selection").data([Ao("selection")]).enter().append("rect").attr("class","selection").attr("cursor",ka.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var lt=nt.selectAll(".handle").data(r.handles,function(ct){return ct.type});lt.exit().remove(),lt.enter().append("rect").attr("class",function(ct){return"handle handle--"+ct.type}).attr("cursor",function(ct){return ka[ct.type]}),nt.each(M).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",U).filter(g).on("touchstart.brush",U).on("touchmove.brush",V).on("touchend.brush touchcancel.brush",$).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function M(){var nt=Li(this),tt=jf(this).selection;tt?(nt.selectAll(".selection").style("display",null).attr("x",tt[0][0]).attr("y",tt[0][1]).attr("width",tt[1][0]-tt[0][0]).attr("height",tt[1][1]-tt[0][1]),nt.selectAll(".handle").style("display",null).attr("x",function(lt){return"e"===lt.type[lt.type.length-1]?tt[1][0]-T/2:tt[0][0]-T/2}).attr("y",function(lt){return"s"===lt.type[0]?tt[1][1]-T/2:tt[0][1]-T/2}).attr("width",function(lt){return"n"===lt.type||"s"===lt.type?tt[1][0]-tt[0][0]+T:T}).attr("height",function(lt){return"e"===lt.type||"w"===lt.type?tt[1][1]-tt[0][1]+T:T})):nt.selectAll(".selection,.handle").style("display","none").attr("x",
1null).attr("y",null).attr("width",null).attr("height",null)}function Z(nt,tt,lt){var ct=nt.__brush.emitter;return!ct||lt&&ct.clean?new R(nt,tt,lt):ct}function R(nt,tt,lt){this.that=nt,this.args=tt,this.state=nt.__brush,this.active=0,this.clean=lt}function U(){if((!a||Tt.touches)&&f.apply(this,arguments)){var nt,tt,lt,ct,z,mt,Wt,ce,Me,Qt,me,pt=this,At=Tt.target.__data__.type,he="selection"===(x&&Tt.metaKey?At="overlay":At)?e2:x&&Tt.altKey?du:hu,ne=r===Ph?null:$6[At],fe=r===Bh?null:$f[At],qe=jf(pt),en=qe.extent,Fn=qe.selection,oi=en[0][0],hi=en[0][1],fn=en[1][0],Fi=en[1][1],On=0,yn=0,wi=ne&&fe&&x&&Tt.shiftKey,ro=Tt.touches?Q6(Tt.changedTouches[0].identifier):xs,Vr=ro(pt),$s=Vr,xc=Z(pt,arguments,!0).beforestart();"overlay"===At?(Fn&&(Me=!0),qe.selection=Fn=[[nt=r===Ph?oi:Vr[0],lt=r===Bh?hi:Vr[1]],[z=r===Ph?fn:nt,Wt=r===Bh?Fi:lt]]):(nt=Fn[0][0],lt=Fn[0][1],z=Fn[1][0],Wt=Fn[1][1]),tt=nt,ct=lt,mt=z,ce=Wt;var Ef=Li(pt).attr("pointer-events","none"),Ah=Ef.selectAll(".overlay").attr("cursor",ka[At]);if(Tt.touches)xc.moved=Qr,xc.ended=Um;else{var Lm=Li(Tt.view).on("mousemove.brush",Qr,!0).on("mouseup.brush",Um,!0);x&&Lm.on("keydown.brush",Oa,!0).on("keyup.brush",eC,!0),Tr(Tt.view)}uu(),yo(pt),M.call(pt),xc.start()}function Qr(){var Wa=ro(pt);!wi||Qt||me||(Math.abs(Wa[0]-$s[0])>Math.abs(Wa[1]-$s[1])?me=!0:Qt=!0),$s=Wa,Me=!0,qa(),Eh()}function Eh(){var Wa;switch(On=$s[0]-Vr[0],yn=$s[1]-Vr[1],he){case Bp:case e2:ne&&(On=Math.max(oi-nt,Math.min(fn-z,On)),tt=nt+On,mt=z+On),fe&&(yn=Math.max(hi-lt,Math.min(Fi-Wt,yn)),ct=lt+yn,ce=Wt+yn);break;case hu:ne<0?(On=Math.max(oi-nt,Math.min(fn-nt,On)),tt=nt+On,mt=z):ne>0&&(On=Math.max(oi-z,Math.min(fn-z,On)),tt=nt,mt=z+On),fe<0?(yn=Math.max(hi-lt,Math.min(Fi-lt,yn)),ct=lt+yn,ce=Wt):fe>0&&(yn=Math.max(hi-Wt,Math.min(Fi-Wt,yn)),ct=lt,ce=Wt+yn);break;case du:ne&&(tt=Math.max(oi,Math.min(fn,nt-On*ne)),mt=Math.max(oi,Math.min(fn,z+On*ne))),fe&&(ct=Math.max(hi,Math.min(Fi,lt-yn*fe)),ce=Math.max(hi,Math.min(Fi,Wt+yn*fe)))}mt<tt&&(ne*=-1,Wa=nt,nt=z,z=Wa,Wa=tt,tt=mt,mt=Wa,At in Rp&&Ah.attr("cursor",ka[At=Rp[At]])),ce<ct&&(fe*=-1,Wa=lt,lt=Wt,Wt=Wa,Wa=ct,ct=ce,ce=Wa,At in Rh&&Ah.attr("cursor",ka[At=Rh[At]])),qe.selection&&(Fn=qe.selection),Qt&&(tt=Fn[0][0],mt=Fn[1][0]),me&&(ct=Fn[0][1],ce=Fn[1][1]),Fn[0][0]===tt&&Fn[0][1]===ct&&Fn[1][0]===mt&&Fn[1][1]===ce||(qe.selection=[[tt,ct],[mt,ce]],M.call(pt),xc.brush())}function Um(){if(uu(),Tt.touches){if(Tt.touches.length)return;a&&clearTimeout(a),a=setTimeout(function(){a=null},500)}else nr(Tt.view,Me),Lm.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);Ef.attr("pointer-events","all"),Ah.attr("cursor",ka.overlay),qe.selection&&(Fn=qe.selection),a2(Fn)&&(qe.selection=null,M.call(pt)),xc.end()}function Oa(){switch(Tt.keyCode){case 16:wi=ne&&fe;break;case 18:he===hu&&(ne&&(z=mt-On*ne,nt=tt+On*ne),fe&&(Wt=ce-yn*fe,lt=ct+yn*fe),he=du,Eh());break;case 32:he!==hu&&he!==du||(ne<0?z=mt-On:ne>0&&(nt=tt-On),fe<0?Wt=ce-yn:fe>0&&(lt=ct-yn),he=Bp,Ah.attr("cursor",ka.selection),Eh());break;default:return}qa()}function eC(){switch(Tt.keyCode){case 16:wi&&(Qt=me=wi=!1,Eh());break;case 18:he===du&&(ne<0?z=mt:ne>0&&(nt=tt),fe<0?Wt=ce:fe>0&&(lt=ct),he=hu,Eh());break;case 32:he===Bp&&(Tt.altKey?(ne&&(z=mt-On*ne,nt=tt+On*ne),fe&&(Wt=ce-yn*fe,lt=ct+yn*fe),he=du):(ne<0?z=mt:ne>0&&(nt=tt),fe<0?Wt=ce:fe>0&&(lt=ct),he=hu),Ah.attr("cursor",ka[At]),Eh());break;default:return}qa()}}function V(){Z(this,arguments).moved()}function $(){Z(this,arguments).ended()}function it(){var nt=this.__brush||{selection:null};return nt.extent=Pp(h.apply(this,arguments)),nt.dim=r,nt}return A.move=function(nt,tt){nt.selection?nt.on("start.brush",function(){Z(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){Z(this,arguments).end()}).tween("brush",function(){var lt=this,ct=lt.__brush,z=Z(lt,arguments),mt=ct.selection,Wt=r.input("function"==typeof tt?tt.apply(this,arguments):tt,ct.extent),ce=ol(mt,Wt);function Me(Qt){ct.selection=1===Qt&&null===Wt?null:ce(Qt),M.call(lt),z.brush()}return null!==mt&&null!==Wt?Me:Me(1)}):nt.each(function(){var lt=this,ct=arguments,z=lt.__brush,mt=r.input("function"==typeof tt?tt.apply(lt,ct):tt,z.extent),Wt=Z(lt,ct).beforestart();yo(lt),z.selection=null===mt?null:mt,M.call(lt),Wt.start().brush().end()})},A.clear=function(nt){A.move(nt,null)},R.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit
1("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(nt){Ra(new lu(A,nt,r.output(this.state.selection)),C.apply,C,[nt,this.that,this.args])}},A.extent=function(nt){return arguments.length?(h="function"==typeof nt?nt:cu(Pp(nt)),A):h},A.filter=function(nt){return arguments.length?(f="function"==typeof nt?nt:cu(!!nt),A):f},A.touchable=function(nt){return arguments.length?(g="function"==typeof nt?nt:cu(!!nt),A):g},A.handleSize=function(nt){return arguments.length?(T=+nt,A):T},A.keyModifiers=function(nt){return arguments.length?(x=!!nt,A):x},A.on=function(){var nt=C.on.apply(C,arguments);return nt===C?A:nt},A}var qp=Math.cos,Vp=Math.sin,c2=Math.PI,zf=c2/2,Jh=2*c2,l2=Math.max;function Qp(r){return function(a,h){return r(a.source.value+a.target.value,h.source.value+h.target.value)}}function $p(){var r=0,a=null,h=null,f=null;function g(x){var C,T,A,M,Z,R,U=x.length,V=[],$=ft(U),it=[],nt=[],tt=nt.groups=new Array(U),lt=new Array(U*U);for(C=0,Z=-1;++Z<U;){for(T=0,R=-1;++R<U;)T+=x[Z][R];V.push(T),it.push(ft(U)),C+=T}for(a&&$.sort(function(me,pt){return a(V[me],V[pt])}),h&&it.forEach(function(me,pt){me.sort(function(At,he){return h(x[pt][At],x[pt][he])})}),M=(C=l2(0,Jh-r*U)/C)?r:Jh/U,T=0,Z=-1;++Z<U;){for(A=T,R=-1;++R<U;){var ct=$[Z],z=it[ct][R],mt=x[ct][z],Wt=T,ce=T+=mt*C;lt[z*U+ct]={index:ct,subindex:z,startAngle:Wt,endAngle:ce,value:mt}}tt[ct]={index:ct,startAngle:A,endAngle:T,value:V[ct]},T+=M}for(Z=-1;++Z<U;)for(R=Z-1;++R<U;){var Me=lt[R*U+Z],Qt=lt[Z*U+R];(Me.value||Qt.value)&&nt.push(Me.value<Qt.value?{source:Qt,target:Me}:{source:Me,target:Qt})}return f?nt.sort(f):nt}return g.padAngle=function(x){return arguments.length?(r=l2(0,x),g):r},g.sortGroups=function(x){return arguments.length?(a=x,g):a},g.sortSubgroups=function(x){return arguments.length?(h=x,g):h},g.sortChords=function(x){return arguments.length?(null==x?f=null:(f=Qp(x))._=x,g):f&&f._},g}var j6=Array.prototype.slice;function jp(r){return function(){return r}}var Hh=Math.PI,Gp=2*Hh,ll=1e-6,u2=Gp-ll;function Ac(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Kf(){return new Ac}Ac.prototype=Kf.prototype={constructor:Ac,moveTo:function(r,a){this._+="M"+(this._x0=this._x1=+r)+","+(this._y0=this._y1=+a)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(r,a){this._+="L"+(this._x1=+r)+","+(this._y1=+a)},quadraticCurveTo:function(r,a,h,f){this._+="Q"+ +r+","+ +a+","+(this._x1=+h)+","+(this._y1=+f)},bezierCurveTo:function(r,a,h,f,g,x){this._+="C"+ +r+","+ +a+","+ +h+","+ +f+","+(this._x1=+g)+","+(this._y1=+x)},arcTo:function(r,a,h,f,g){var x=this._x1,C=this._y1,T=(h=+h)-(r=+r),A=(f=+f)-(a=+a),M=x-r,Z=C-a,R=M*M+Z*Z;if((g=+g)<0)throw new Error("negative radius: "+g);if(null===this._x1)this._+="M"+(this._x1=r)+","+(this._y1=a);else if(R>ll)if(Math.abs(Z*T-A*M)>ll&&g){var U=h-x,V=f-C,$=T*T+A*A,it=U*U+V*V,nt=Math.sqrt($),tt=Math.sqrt(R),lt=g*Math.tan((Hh-Math.acos(($+R-it)/(2*nt*tt)))/2),ct=lt/tt,z=lt/nt;Math.abs(ct-1)>ll&&(this._+="L"+(r+ct*M)+","+(a+ct*Z)),this._+="A"+g+","+g+",0,0,"+ +(Z*U>M*V)+","+(this._x1=r+z*T)+","+(this._y1=a+z*A)}else this._+="L"+(this._x1=r)+","+(this._y1=a)},arc:function(r,a,h,f,g,x){r=+r,a=+a,x=!!x;
1var C=(h=+h)*Math.cos(f),T=h*Math.sin(f),A=r+C,M=a+T,Z=1^x,R=x?f-g:g-f;if(h<0)throw new Error("negative radius: "+h);null===this._x1?this._+="M"+A+","+M:(Math.abs(this._x1-A)>ll||Math.abs(this._y1-M)>ll)&&(this._+="L"+A+","+M),h&&(R<0&&(R=R%Gp+Gp),R>u2?this._+="A"+h+","+h+",0,1,"+Z+","+(r-C)+","+(a-T)+"A"+h+","+h+",0,1,"+Z+","+(this._x1=A)+","+(this._y1=M):R>ll&&(this._+="A"+h+","+h+",0,"+ +(R>=Hh)+","+Z+","+(this._x1=r+h*Math.cos(g))+","+(this._y1=a+h*Math.sin(g))))},rect:function(r,a,h,f){this._+="M"+(this._x0=this._x1=+r)+","+(this._y0=this._y1=+a)+"h"+ +h+"v"+ +f+"h"+-h+"Z"},toString:function(){return this._}};const ul=Kf;function G6(r){return r.source}function h2(r){return r.target}function d2(r){return r.radius}function zp(r){return r.startAngle}function f2(r){return r.endAngle}function z6(){var r=G6,a=h2,h=d2,f=zp,g=f2,x=null;function C(){var T,A=j6.call(arguments),M=r.apply(this,A),Z=a.apply(this,A),R=+h.apply(this,(A[0]=M,A)),U=f.apply(this,A)-zf,V=g.apply(this,A)-zf,$=R*qp(U),it=R*Vp(U),nt=+h.apply(this,(A[0]=Z,A)),tt=f.apply(this,A)-zf,lt=g.apply(this,A)-zf;if(x||(x=T=ul()),x.moveTo($,it),x.arc(0,0,R,U,V),U===tt&&V===lt||(x.quadraticCurveTo(0,0,nt*qp(tt),nt*Vp(tt)),x.arc(0,0,nt,tt,lt)),x.quadraticCurveTo(0,0,$,it),x.closePath(),T)return x=null,T+""||null}return C.radius=function(T){return arguments.length?(h="function"==typeof T?T:jp(+T),C):h},C.startAngle=function(T){return arguments.length?(f="function"==typeof T?T:jp(+T),C):f},C.endAngle=function(T){return arguments.length?(g="function"==typeof T?T:jp(+T),C):g},C.source=function(T){return arguments.length?(r=T,C):r},C.target=function(T){return arguments.length?(a=T,C):a},C.context=function(T){return arguments.length?(x=T??null,C):x},C}var zo="$";function fu(){}function Yh(r,a){var h=new fu;if(r instanceof fu)r.each(function(T,A){h.set(A,T)});else if(Array.isArray(r)){var f,g=-1,x=r.length;if(null==a)for(;++g<x;)h.set(g,r[g]);else for(;++g<x;)h.set(a(f=r[g],g,r),f)}else if(r)for(var C in r)h.set(C,r[C]);return h}fu.prototype=Yh.prototype={constructor:fu,has:function(r){return zo+r in this},get:function(r){return this[zo+r]},set:function(r,a){return this[zo+r]=a,this},remove:function(r){var a=zo+r;return a in this&&delete this[a]},clear:function(){for(var r in this)r[0]===zo&&delete this[r]},keys:function(){var r=[];for(var a in this)a[0]===zo&&r.push(a.slice(1));return r},values:function(){var r=[];for(var a in this)a[0]===zo&&r.push(this[a]);return r},entries:function(){var r=[];for(var a in this)a[0]===zo&&r.push({key:a.slice(1),value:this[a]});return r},size:function(){var r=0;for(var a in this)a[0]===zo&&++r;return r},empty:function(){for(var r in this)if(r[0]===zo)return!1;return!0},each:function(r){for(var a in this)a[0]===zo&&r(this[a],a.slice(1),this)}};const Da=Yh;function _2(){var r,a,h,f=[],g=[];function x(T,A,M,Z){if(A>=f.length)return null!=r&&T.sort(r),null!=a?a(T):T;for(var R,U,V,$=-1,it=T.length,nt=f[A++],tt=Da(),lt=M();++$<it;)(V=tt.get(R=nt(U=T[$])+""))?V.push(U):tt.set(R,[U]);return tt.each(function(ct,z){Z(lt,z,x(ct,A,M,Z))}),lt}function C(T,A){if(++A>f.length)return T;var M,Z=g[A-1];return null!=a&&A>=f.length?M=T.entries():(M=[],T.each(function(R,U){M.push({key:U,values:C(R,A)})})),null!=Z?M.sort(function(R,U){return Z(R.key,U.key)}):M}return h={object:function(T){return x(T,0,p2,g2)},map:function(T){return x(T,0,Wf,Kp)},entries:function(T){return C(x(T,0,Wf,Kp),0)},key:function(T){return f.push(T),h},sortKeys:function(T){return g[f.length-1]=T,h},sortValues:function(T){return r=T,h},rollup:function(T){return a=T,h}}}function p2(){return{}}function g2(r,a,h){r[a]=h}function Wf(){return Da()}function Kp(r,a,h){r.set(a,h)}function qh(){}var Ec=Da.prototype;function Wp(r,a){var h=new qh;if(r instanceof qh)r.each(function(x){h.add(x)});else if(r){var f=-1,g=r.length;if(null==a)for(;++f<g;)h.add(r[f]);else for(;++f<g;)h.add(a(r[f],f,r))}return h}qh.prototype=Wp.prototype={constructor:qh,has:Ec.has,add:function(r){return this[zo+(r+="")]=r,this},remove:Ec.remove,clear:Ec.clear,values:Ec.keys,size:Ec.size,empty:Ec.empty,each:Ec.each};const K6=Wp;function m2(r){var a=[];for(var h in r)a.push(h);return a}function v2(r){var a=[];for(var h in r)a.push(r[h]);return a}function y2(r){var a=[];for(var h in r)a.push({key:h,value:r[h]});return a}var x2=Math.PI/180,Xp=180/Math.PI,Xs=4/29,hl=6/29,Xf=3*hl*hl;function t1(r){if(r instanceof Sa)return new Sa(r.l,r.a,r.b,r.opacity);if(r instanceof ss)return i0(r);r instanceof kr||(r=nl(r));var a,h,f=e1(r.r),g=e1(r.g),x=e1(r.b),C=Gr((.2225045*f+.7168786*g+.0606169*x)/1);return f===g&&g===x?a=h=C:(a=Gr((.4360747*f+.3850649*g+.1430804*x)/.96422),h=Gr((.0139322*f+.0971045*g+.7141733*x)/.82521)),new Sa(116*C-16,500*(a-C),200*(C-h),r.opacity)}function e0(r,a){return new Sa(r,0,0,a??1)}function pu(r,a,h,f){return 1===arguments.length?t1(r):new Sa(r,a,h,f??1)}function Sa(r,a,h,f){this.l=+r,this.a=+a,this.b=+h,this.opacity=+f}function Gr(r){return r>.008856451679035631?Math.pow(r,1/3):r/Xf+Xs}function gu(r){return r>hl?r*r*r:Xf*(r-Xs)}
1function n0(r){return 255*(r<=.0031308?12.92*r:1.055*Math.pow(r,1/2.4)-.055)}function e1(r){return(r/=255)<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4)}function mu(r){if(r instanceof ss)return new ss(r.h,r.c,r.l,r.opacity);if(r instanceof Sa||(r=t1(r)),0===r.a&&0===r.b)return new ss(NaN,0<r.l&&r.l<100?0:NaN,r.l,r.opacity);var a=Math.atan2(r.b,r.a)*Xp;return new ss(a<0?a+360:a,Math.sqrt(r.a*r.a+r.b*r.b),r.l,r.opacity)}function b2(r,a,h,f){return 1===arguments.length?mu(r):new ss(h,a,r,f??1)}function Vh(r,a,h,f){return 1===arguments.length?mu(r):new ss(r,a,h,f??1)}function ss(r,a,h,f){this.h=+r,this.c=+a,this.l=+h,this.opacity=+f}function i0(r){if(isNaN(r.h))return new Sa(r.l,0,0,r.opacity);var a=r.h*x2;return new Sa(r.l,Math.cos(a)*r.c,Math.sin(a)*r.c,r.opacity)}ir(Sa,pu,Zr(mr,{brighter:function(r){return new Sa(this.l+18*(r??1),this.a,this.b,this.opacity)},darker:function(r){return new Sa(this.l-18*(r??1),this.a,this.b,this.opacity)},rgb:function(){var r=(this.l+16)/116,a=isNaN(this.a)?r:r+this.a/500,h=isNaN(this.b)?r:r-this.b/200;return new kr(n0(3.1338561*(a=.96422*gu(a))-1.6168667*(r=1*gu(r))-.4906146*(h=.82521*gu(h))),n0(-.9787684*a+1.9161415*r+.033454*h),n0(.0719453*a-.2289914*r+1.4052427*h),this.opacity)}})),ir(ss,Vh,Zr(mr,{brighter:function(r){return new ss(this.h,this.c,this.l+18*(r??1),this.opacity)},darker:function(r){return new ss(this.h,this.c,this.l-18*(r??1),this.opacity)},rgb:function(){return i0(this).rgb()}}));var vu=1.78277,tc=-.29227,dl=-.90649,Ic=1.97294,w2=Ic*dl,T2=Ic*vu,fl=vu*tc- -.14861*dl;function W6(r){if(r instanceof Fc)return new Fc(r.h,r.s,r.l,r.opacity);r instanceof kr||(r=nl(r));var h=r.g/255,f=r.b/255,g=(fl*f+w2*(r.r/255)-T2*h)/(fl+w2-T2),x=f-g,C=(Ic*(h-g)-tc*x)/dl,T=Math.sqrt(C*C+x*x)/(Ic*g*(1-g)),A=T?Math.atan2(C,x)*Xp-120:NaN;return new Fc(A<0?A+360:A,T,g,r.opacity)}function cs(r,a,h,f){return 1===arguments.length?W6(r):new Fc(r,a,h,f??1)}function Fc(r,a,h,f){this.h=+r,this.s=+a,this.l=+h,this.opacity=+f}ir(Fc,cs,Zr(mr,{brighter:function(r){return r=null==r?mo:Math.pow(mo,r),new Fc(this.h,this.s,this.l*r,this.opacity)},darker:function(r){return r=null==r?.7:Math.pow(.7,r),new Fc(this.h,this.s,this.l*r,this.opacity)},rgb:function(){var r=isNaN(this.h)?0:(this.h+120)*x2,a=+this.l,h=isNaN(this.s)?0:this.s*a*(1-a),f=Math.cos(r),g=Math.sin(r);return new kr(255*(a+h*(-.14861*f+vu*g)),255*(a+h*(tc*f+dl*g)),255*(a+h*(Ic*f)),this.opacity)}}));var o0=Array.prototype.slice;function a0(r,a){return r-a}function da(r){return function(){return r}}function C2(r,a){for(var h,f=-1,g=a.length;++f<g;)if(h=X6(r,a[f]))return h;return 0}function X6(r,a){for(var h=a[0],f=a[1],g=-1,x=0,C=r.length,T=C-1;x<C;T=x++){var A=r[x],M=A[0],Z=A[1],R=r[T],U=R[0],V=R[1];if(k2(A,R,a))return 0;Z>f!=V>f&&h<(U-M)*(f-Z)/(V-Z)+M&&(g=-g)}return g}function k2(r,a,h){var f,g,x,C,T,A,M;return((A=a)[0]-(T=r)[0])*((M=h)[1]-T[1])==(M[0]-T[0])*(A[1]-T[1])&&(g=r[f=+(r[0]===a[0])],C=a[f],g<=(x=h[f])&&x<=C||C<=x&&x<=g)}function t4(){}var ks=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function n1(){var r=1,a=1,h=Gt,f=T;function g(A){var M=h(A);if(Array.isArray(M))M=M.slice().sort(a0);else{var Z=ot(A),R=Z[0],U=Z[1];M=Ct(R,U,M),M=ft(Math.floor(R/M)*M,Math.floor(U/M)*M,M)}return M.map(function(V){return x(A,V)})}function x(A,M){var Z=[],R=[];return function(U,V,$){var it,nt,lt,ct,z,mt=new Array,Wt=new Array;for(it=nt=-1,ks[(lt=U[0]>=V)<<1].forEach(ce);++it<r-1;)ks[lt|(lt=U[it+1]>=V)<<1].forEach(ce);for(ks[lt<<0].forEach(ce);++nt<a-1;){for(it=-1,ks[(lt=U[nt*r+r]>=V)<<1|(ct=U[nt*r]>=V)<<2].forEach(ce);++it<r-1;)z=ct,ks[lt|(lt=U[nt*r+r+it+1]>=V)<<1|(ct=U[nt*r+it+1]>=V)<<2|z<<3].forEach(ce);ks[lt|ct<<3].forEach(ce)}for(it=-1,ks[(ct=U[nt*r]>=V)<<2].forEach(ce);++it<r-1;)z=ct,ks[(ct=U[nt*r+it+1]>=V)<<2|z<<3].forEach(ce);function ce(Me){var Qt,me,pt=[Me[0][0]+it,Me[0][1]+nt],At=[Me[1][0]+it,Me[1][1]+nt],he=C(pt),ne=C(At);(Qt=Wt[he])?(me=mt[ne])?(delete Wt[Qt.end],delete mt[me.start],Qt===me?(Qt.ring.push(At),$(Qt.ring)):mt[Qt.start]=Wt[me.end]={start:Qt.start,end:me.end,ring:Qt.ring.concat(me.ring)}):(delete Wt[Qt.end],Qt.ring.push(At),Wt[Qt.end=ne]=Qt):(Qt=mt[ne])?(me=Wt[he])?(delete mt[Qt.start],delete Wt[me.end],Qt===me?(Qt.ring.push(At),$(Qt.ring)):mt[me.start]=Wt[Qt.end]={start:me.start,end:Qt.end,ring:me.ring.concat(Qt.ring)}):(delete mt[Qt.start],Qt.ring.unshift(pt),mt[Qt.start=he]=Qt):mt[he]=Wt[ne]={start:he,end:ne,ring:[pt,At]}}ks[ct<<3].forEach(ce)}(A,M,function(U){f(U,A,M),function(V){for(var $=0,it=V.length,nt=V[it-1][1]*V[0][0]-V[it-1][0]*V[0][1];++$<it;)nt+=V[$-1][1]*V[$][0]-V[$-1][0]*V[$][1];return nt}(U)>0?Z.push([U]):R.push(U)}),R.forEach(function(U){for(var V,$=0,it=Z.length;$<it;++$)if(-1!==C2((V=Z[$])[0],U))return void V.push(U)}),{type:"MultiPolygon",value:M,coordinates:Z}}function C(A){return 2*A[0]+A[1]*(r+1)*4}function T(A,M,Z){A.forEach(function(R){var U,V=R[0],$=R[1],it=0|V,nt=0|$,tt=M[nt*r+it];V>0&&V<r&&it===V&&(R[0]=V+(Z-(U=M[nt*r+it-1]))/(tt-U)-.5),$>
10&&$<a&&nt===$&&(R[1]=$+(Z-(U=M[(nt-1)*r+it]))/(tt-U)-.5)})}return g.contour=x,g.size=function(A){if(!arguments.length)return[r,a];var M=Math.ceil(A[0]),Z=Math.ceil(A[1]);if(!(M>0&&Z>0))throw new Error("invalid size");return r=M,a=Z,g},g.thresholds=function(A){return arguments.length?(h="function"==typeof A?A:Array.isArray(A)?da(o0.call(A)):da(A),g):h},g.smooth=function(A){return arguments.length?(f=A?T:t4,g):f===T},g}function ec(r,a,h){for(var f=r.width,g=r.height,x=1+(h<<1),C=0;C<g;++C)for(var T=0,A=0;T<f+h;++T)T<f&&(A+=r.data[T+C*f]),T>=h&&(T>=x&&(A-=r.data[T-x+C*f]),a.data[T-h+C*f]=A/Math.min(T+1,f-1+x-T,x))}function Qh(r,a,h){for(var f=r.width,g=r.height,x=1+(h<<1),C=0;C<f;++C)for(var T=0,A=0;T<g+h;++T)T<g&&(A+=r.data[C+T*f]),T>=h&&(T>=x&&(A-=r.data[C+(T-x)*f]),a.data[C+(T-h)*f]=A/Math.min(T+1,g-1+x-T,x))}function i1(r){return r[0]}function e4(r){return r[1]}function n4(){return 1}function yu(){var r=i1,a=e4,h=n4,f=960,g=500,x=20,C=2,T=3*x,A=f+2*T>>C,M=g+2*T>>C,Z=da(20);function R(tt){var lt=new Float32Array(A*M),ct=new Float32Array(A*M);tt.forEach(function(Wt,ce,Me){var Qt=+r(Wt,ce,Me)+T>>C,me=+a(Wt,ce,Me)+T>>C,pt=+h(Wt,ce,Me);Qt>=0&&Qt<A&&me>=0&&me<M&&(lt[Qt+me*A]+=pt)}),ec({width:A,height:M,data:lt},{width:A,height:M,data:ct},x>>C),Qh({width:A,height:M,data:ct},{width:A,height:M,data:lt},x>>C),ec({width:A,height:M,data:lt},{width:A,height:M,data:ct},x>>C),Qh({width:A,height:M,data:ct},{width:A,height:M,data:lt},x>>C),ec({width:A,height:M,data:lt},{width:A,height:M,data:ct},x>>C),Qh({width:A,height:M,data:ct},{width:A,height:M,data:lt},x>>C);var z=Z(lt);if(!Array.isArray(z)){var mt=Rt(lt);z=Ct(0,mt,z),(z=ft(0,Math.floor(mt/z)*z,z)).shift()}return n1().thresholds(z).size([A,M])(lt).map(U)}function U(tt){return tt.value*=Math.pow(2,-2*C),tt.coordinates.forEach(V),tt}function V(tt){tt.forEach($)}function $(tt){tt.forEach(it)}function it(tt){tt[0]=tt[0]*Math.pow(2,C)-T,tt[1]=tt[1]*Math.pow(2,C)-T}function nt(){return A=f+2*(T=3*x)>>C,M=g+2*T>>C,R}return R.x=function(tt){return arguments.length?(r="function"==typeof tt?tt:da(+tt),R):r},R.y=function(tt){return arguments.length?(a="function"==typeof tt?tt:da(+tt),R):a},R.weight=function(tt){return arguments.length?(h="function"==typeof tt?tt:da(+tt),R):h},R.size=function(tt){if(!arguments.length)return[f,g];var lt=Math.ceil(tt[0]),ct=Math.ceil(tt[1]);if(!(lt>=0||lt>=0))throw new Error("invalid size");return f=lt,g=ct,nt()},R.cellSize=function(tt){if(!arguments.length)return 1<<C;if(!((tt=+tt)>=1))throw new Error("invalid cell size");return C=Math.floor(Math.log(tt)/Math.LN2),nt()},R.thresholds=function(tt){return arguments.length?(Z="function"==typeof tt?tt:Array.isArray(tt)?da(o0.call(tt)):da(tt),R):Z},R.bandwidth=function(tt){if(!arguments.length)return Math.sqrt(x*(x+1));if(!((tt=+tt)>=0))throw new Error("invalid bandwidth");return x=Math.round((Math.sqrt(4*tt*tt+1)-1)/2),nt()},R}function r1(r){return function(){return r}}function s0(r,a,h,f,g,x,C,T,A,M){this.target=r,this.type=a,this.subject=h,this.identifier=f,this.active=g,this.x=x,this.y=C,this.dx=T,this.dy=A,this._=M}function D2(){return!Tt.ctrlKey&&!Tt.button}function i4(){return this.parentNode}function c0(r){return r??{x:Tt.x,y:Tt.y}}function xu(){return navigator.maxTouchPoints||"ontouchstart"in this}function S2(){var r,a,h,f,g=D2,x=i4,C=c0,T=xu,A={},M=pn("start","drag","end"),Z=0,R=0;function U(z){z.on("mousedown.drag",V).filter(T).on("touchstart.drag",nt).on("touchmove.drag",tt).on("touchend.drag touchcancel.drag",lt).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function V(){if(!f&&g.apply(this,arguments)){var z=ct("mouse",x.apply(this,arguments),xs,this,arguments);z&&(Li(Tt.view).on("mousemove.drag",$,!0).on("mouseup.drag",it,!0),Tr(Tt.view),Hi(),h=!1,r=Tt.clientX,a=Tt.clientY,z("start"))}}function $(){if(Pr(),!h){var z=Tt.clientX-r,mt=Tt.clientY-a;h=z*z+mt*mt>R}A.mouse("drag")}function it(){Li(Tt.view).on("mousemove.drag mouseup.drag",null),nr(Tt.view,h),Pr(),A.mouse("end")}function nt(){if(g.apply(this,arguments)){var z,mt,Wt=Tt.changedTouches,ce=x.apply(this,arguments),Me=Wt.length;for(z=0;z<Me;++z)(mt=ct(Wt[z].identifier,ce,$o,this,arguments))&&(Hi(),mt("start"))}}function tt(){var z,mt,Wt=Tt.changedTouches,ce=Wt.length;for(z=0;z<ce;++z)(mt=A[Wt[z].identifier])&&(Pr(),mt("drag"))}function lt(){var z,mt,Wt=Tt.changedTouches,ce=Wt.length;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),z=0;z<ce;++z)(mt=A[Wt[z].identifier])&&(Hi(),mt("end"))}function ct(z,mt,Wt,ce,Me){var Qt,me,pt,At=Wt(mt,z),he=M.copy();if(Ra(new s0(U,"beforestart",Qt,z,Z,At[0],At[1],0,0,he),function(){return null!=(Tt.subject=Qt=C.apply(ce,Me))&&(me=Qt.x-At[0]||0,pt=Qt.y-At[1]||0,!0)}))return function ne(fe){var qe,en=At;switch(fe){case"start":A[z]=ne,qe=Z++;break;case"end":delete A[z],--Z;case"drag":At=Wt(mt,z),qe=Z}Ra(new s0(U,fe,Qt,z,qe,At[0]+me,At[1]+pt,At[0]-en[0],At[1]-en[1],he),he.apply,he,[fe,ce,Me])}}return U.filter=function(z){return arguments.length?(g="function"==typeof z?z:r1(!!z),U):g},U.container=function(z){return arguments.length?(x="function"==typeof z?z:r1(z),U):x},U.subject=function(z){return arguments.length?(C="function"==typeof z?z:r1(z),U):C},U.touchable=function(z){return arguments.length?(T="function"==typeof z?z:r1(!!z),U):T},U.on=function(){var z=M.on.apply(M,arguments);return z===M?U:z},U.clickDistance=function(z){return arguments.length?(R=(z=+z)*z,U):Math.sqrt(R)},U}s0.prototype.on=function(){var r=this._.on.apply(this._,arguments);return r===this._?this:r};var r4={},A2={};function E2(r){return new Function("d","return {"+r.map(function(a,h){return JSON.stringify(a)+": d["+h+'] || ""'}).join(",")+"}")}function I2(r){var a=Object.create(null),h=[];return r.forEach(function(f){for(var g in f)g in a||h.push(a[g]=g)}),h}function Bo(r,a){var h=r+"",f=h.length;return f<a?new Array(a-f+1).join(0)+h:h}function bu(r){var a=new RegExp('["'+r+"\n\r]"),h=r.charCodeAt(0);function f(T,A){var M,Z=[],R=T.length,U=0,V=0,$=R<=0,it=!1;function nt(){if($)return A2;if(it)return it=!1,r4;var lt,ct,z=U;if(34===T.charCodeAt(z)){for(;U++<R&&34!==T.charCodeAt(U)||34===T.charCodeAt(++U););return(lt=U)>=R?$=!0:10===(ct=T.charCodeAt(U++))?it=!0:13===ct&&(it=!0,10===T.charCodeAt(U)&&++U),T.slice(z+1,lt-1).replace(/""/g,'"')}for(;U<R;){if(10===(ct=T.charCodeAt(lt=U++)))it=!0;else if(13===ct)it=!0,10===T.charCodeAt(U)&&++U;else if(ct!==h)continue;
1return T.slice(z,lt)}return $=!0,T.slice(z,R)}for(10===T.charCodeAt(R-1)&&--R,13===T.charCodeAt(R-1)&&--R;(M=nt())!==A2;){for(var tt=[];M!==r4&&M!==A2;)tt.push(M),M=nt();A&&null==(tt=A(tt,V++))||Z.push(tt)}return Z}function g(T,A){return T.map(function(M){return A.map(function(Z){return C(M[Z])}).join(r)})}function x(T){return T.map(C).join(r)}function C(T){return null==T?"":T instanceof Date?(M=(A=T).getUTCHours(),Z=A.getUTCMinutes(),R=A.getUTCSeconds(),U=A.getUTCMilliseconds(),isNaN(A)?"Invalid Date":((V=A.getUTCFullYear())<0?"-"+Bo(-V,6):V>9999?"+"+Bo(V,6):Bo(V,4))+"-"+Bo(A.getUTCMonth()+1,2)+"-"+Bo(A.getUTCDate(),2)+(U?"T"+Bo(M,2)+":"+Bo(Z,2)+":"+Bo(R,2)+"."+Bo(U,3)+"Z":R?"T"+Bo(M,2)+":"+Bo(Z,2)+":"+Bo(R,2)+"Z":Z||M?"T"+Bo(M,2)+":"+Bo(Z,2)+"Z":"")):a.test(T+="")?'"'+T.replace(/"/g,'""')+'"':T;var A,V,M,Z,R,U}return{parse:function(T,A){var M,Z,R=f(T,function(U,V){if(M)return M(U,V-1);var $,it,nt;Z=U,M=A?(it=A,nt=E2($=U),function(tt,lt){return it(nt(tt),lt,$)}):E2(U)});return R.columns=Z||[],R},parseRows:f,format:function(T,A){return null==A&&(A=I2(T)),[A.map(C).join(r)].concat(g(T,A)).join("\n")},formatBody:function(T,A){return null==A&&(A=I2(T)),g(T,A).join("\n")},formatRows:function(T){return T.map(x).join("\n")},formatRow:x,formatValue:C}}var ls=bu(","),wu=ls.parse,F2=ls.parseRows,M2=ls.format,xo=ls.formatBody,o4=ls.formatRows,a4=ls.formatRow,Pi=ls.formatValue,_l=bu("\t"),Tu=_l.parse,$h=_l.parseRows,s4=_l.format,c4=_l.formatBody,l4=_l.formatRows,u4=_l.formatRow,h4=_l.formatValue;function N2(r){for(var a in r){var h,f,g=r[a].trim();if(g)if("true"===g)g=!0;else if("false"===g)g=!1;else if("NaN"===g)g=NaN;else if(isNaN(h=+g)){if(!(f=g.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;L2&&f[4]&&!f[7]&&(g=g.replace(/-/g,"/").replace(/T/," ")),g=new Date(g)}else g=h;else g=null;r[a]=g}return r}var L2=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function d4(r){return+r}function f4(r){return r*r}function _4(r){return r*(2-r)}function l0(r){return((r*=2)<=1?r*r:--r*(2-r)+1)/2}var p4=function r(a){function h(f){return Math.pow(f,a)}return a=+a,h.exponent=r,h}(3),U2=function r(a){function h(f){return 1-Math.pow(1-f,a)}return a=+a,h.exponent=r,h}(3),Z2=function r(a){function h(f){return((f*=2)<=1?Math.pow(f,a):2-Math.pow(2-f,a))/2}return a=+a,h.exponent=r,h}(3),O2=Math.PI,B2=O2/2;function g4(r){return 1==+r?1:1-Math.cos(r*B2)}function m4(r){return Math.sin(r*B2)}function P2(r){return(1-Math.cos(O2*r))/2}function Mc(r){return 1.0009775171065494*(Math.pow(2,-10*r)-.0009765625)}function R2(r){return Mc(1-+r)}function v4(r){return 1-Mc(r)}function J2(r){return((r*=2)<=1?Mc(1-r):2-Mc(r-1))/2}function y4(r){return 1-Math.sqrt(1-r*r)}function H2(r){return Math.sqrt(1- --r*r)}function Y2(r){return((r*=2)<=1?1-Math.sqrt(1-r*r):Math.sqrt(1-(r-=2)*r)+1)/2}var o1=7.5625;function x4(r){return 1-jh(1-r)}function jh(r){return(r=+r)<.36363636363636365?o1*r*r:r<.7272727272727273?o1*(r-=.5454545454545454)*r+.75:r<.9090909090909091?o1*(r-=.8181818181818182)*r+.9375:o1*(r-=.9545454545454546)*r+.984375}function b4(r){return((r*=2)<=1?1-jh(1-r):jh(r-1)+1)/2}var u0=1.70158,q2=function r(a){function h(f){return(f=+f)*f*(a*(f-1)+f)}return a=+a,h.overshoot=r,h}(u0),w4=function r(a){function h(f){return--f*f*((f+1)*a+f)+1}return a=+a,h.overshoot=r,h}(u0),V2=function r(a){function h(f){return((f*=2)<1?f*f*((a+1)*f-a):(f-=2)*f*((a+1)*f+a)+2)/2}return a=+a,h.overshoot=r,h}(u0),Cu=2*Math.PI,T4=function r(a,h){var f=Math.asin(1/(a=Math.max(1,a)))*(h/=Cu);function g(x){return a*Mc(- --x)*Math.sin((f-x)/h)}return g.amplitude=function(x){return r(x,h*Cu)},g.period=function(x){return r(a,x)},g}(1,.3),Q2=function r(a,h){var f=Math.asin(1/(a=Math.max(1,a)))*(h/=Cu);function g(x){return 1-a*Mc(x=+x)*Math.sin((x+f)/h)}return g.amplitude=function(x){return r(x,h*Cu)},g.period=function(x){return r(a,x)},g}(1,.3),C4=function r(a,h){var f=Math.asin(1/(a=Math.max(1,a)))*(h/=Cu);function g(x){return((x=2*x-1)<0?a*Mc(-x)*Math.sin((f-x)/h):2-a*Mc(x)*Math.sin((f+x)/h))/2}return g.amplitude=function(x){return r(x,h*Cu)},g.period=function(x){return r(a,x)},g}(1,.3);function k4(r){if(!r.ok)throw new Error(r.status+" "+r.statusText);return r.blob()}function D4(r,a){return fetch(r,a).then(k4)}function $2(r){if(!r.ok)throw new Error(r.status+" "+r.statusText);return r.arrayBuffer()}function S4(r,a){return fetch(r,a).then($2)}function A4(r){if(!r.ok)throw new Error(r.status+" "+r.statusText);return r.text()}function a1(r,a){return fetch(r,a).then(A4)}function h0(r){return function(a,h,f){return 2===arguments.length&&"function"==typeof h&&(f=h,h=void 0),a1(a,h).then(function(g){return r(g,f)})}}function E4(r,a,h,f){3===arguments.length&&"function"==typeof h&&(f=h,h=void 0);var g=bu(r);return a1(a,h).then(function(x){return g.parse(x,f)})}var I4=h0(wu),F4=h0(Tu);function M4(r,a){return new Promise(function(h,f){var g=new Image;for(var x in a)g[x]=a[x];g.onerror=f,g.onload=function(){h(g)},g.src=r})}function N4(r){if(!r.ok)throw new Error(r.status+" "+r.statusText);if(204!==r.status&&205!==r.status)return r.json()}function L4(r,a){return fetch(r,a).then(N4)}function s1(r){return function(a,h){return a1(a,h).then(function(f){return(new DOMParser).parseFromString(f,r)})}}const U4=s1("application/xml");var Z4=s1("text/html"),O4=s1("image/svg+xml");function B4(r,a){var h;function f(){var g,x,C=h.length,T=0,A=0;for(g=0;g<C;++g)T+=(x=h[g]).x,A+=x.y;for(T=T/C-r,A=A/C-a,g=0;g<C;++g)(x=h[g]).x-=T,x.y-=A}return null==r&&(r=0),null==a&&(a=0),f.initialize=function(g){h=g},f.x=function(g){return arguments.length?(r=+g,f):r},f.y=function(g){return arguments.length?(a=+g,f):a},f}function co(r){return function(){return r}}function Nc(){return 1e-6*(Math.random()-.5)}function j2(r,a,h,f){if(isNaN(a)||isNaN(h))return r;var g,x,C,T,A,M,Z,R,U,V=r._root,$={data:f},it=r._x0,nt=r._y0,tt=r._x1,lt=r._y1;if(!V)return r._root=$,r;for(;V.length;)if((M=a>=(x=(it+tt)/2))?it=x:tt=x,(Z=h>=(C=(nt+lt)/2))?nt=C:lt=C,g=V,!(V=V[R=Z<<1|M]))return g[R]=$,r;if(T=+r._x.call(null,V.data),A=+r._y.call(null,V.data),a===T&&h===A)return $.next=V,g?g[R]=$:r._root=$,r;do{g=g?g[R]=new Array(4):r._root=new Array(4),(M=a>=(x=(it+tt)/2))?it=x:tt=x,(Z=h>=(C=(nt+lt)/2))?nt=C:lt=C}while((R=Z<<1|M)==(U=(A>=C)<<1|T>=x));return g[U]=V,g[R]=$,r}function Ko(r,a,h,f,g){this.node=r,this.x0=a,this.y0=h,this.x1=f,this.y1=g}function G2(r){return r[0]}function z2(r){return r[1]}function Gh(r,a,h){var f=new d0(a??G2,h??z2,NaN,NaN,NaN,NaN);return null==r?f:f.addAll(r)}function d0(r,a,h,f,g,x){this._x=r,this._y=a,this._x0=h,this._y0=f,this._x1=g,this._y1=x,this._root=void 0}function K2(r){for(var a={data:r.data},h=a;r=r.next;)h=h.next={data:r.data};return a}var Po=Gh.prototype=d0.prototype;function P4(r){return r.x+r.vx}function f0(r){return r.y+r.vy}function W2(r){var a,h,f=1,g=1;function x(){for(var A,M,Z,R,U,V,$,it=a.length,nt=0;nt<g;++nt)for(M=Gh(a,P4,f0).visitAfter(C),A=0;A<it;++A)$=(V=h[(Z=a[A]).index])*V,R=Z.x+Z.vx,U=Z.y+Z.vy,M.visit(tt);function tt(lt,ct,z,mt,Wt){var ce=lt.data,Me=lt.r,Qt=V+Me;if(!ce)return ct>R+Qt||mt<R-Qt||z>U+Qt||Wt<U-Qt;if(ce.index>
vendor: 8,594 bytes, line 1
1Z.index){var me=R-ce.x-ce.vx,pt=U-ce.y-ce.vy,At=me*me+pt*pt;At<Qt*Qt&&(0===me&&(At+=(me=Nc())*me),0===pt&&(At+=(pt=Nc())*pt),At=(Qt-(At=Math.sqrt(At)))/At*f,Z.vx+=(me*=At)*(Qt=(Me*=Me)/($+Me)),Z.vy+=(pt*=At)*Qt,ce.vx-=me*(Qt=1-Qt),ce.vy-=pt*Qt)}}}function C(A){if(A.data)return A.r=h[A.data.index];for(var M=A.r=0;M<4;++M)A[M]&&A[M].r>A.r&&(A.r=A[M].r)}function T(){if(a){var A,M,Z=a.length;for(h=new Array(Z),A=0;A<Z;++A)h[(M=a[A]).index]=+r(M,A,a)}}return"function"!=typeof r&&(r=co(null==r?1:+r)),x.initialize=function(A){a=A,T()},x.iterations=function(A){return arguments.length?(g=+A,x):g},x.strength=function(A){return arguments.length?(f=+A,x):f},x.radius=function(A){return arguments.length?(r="function"==typeof A?A:co(+A),T(),x):r},x}function R4(r){return r.index}function _0(r,a){var h=r.get(a);if(!h)throw new Error("missing: "+a);return h}function X2(r){var a,h,f,g,x,C=R4,T=function($){return 1/Math.min(g[$.source.index],g[$.target.index])},A=co(30),M=1;function Z($){for(var it=0,nt=r.length;it<M;++it)for(var tt,lt,ct,z,mt,Wt,ce,Me=0;Me<nt;++Me)lt=(tt=r[Me]).source,z=(ct=tt.target).x+ct.vx-lt.x-lt.vx||Nc(),mt=ct.y+ct.vy-lt.y-lt.vy||Nc(),z*=Wt=((Wt=Math.sqrt(z*z+mt*mt))-h[Me])/Wt*$*a[Me],mt*=Wt,ct.vx-=z*(ce=x[Me]),ct.vy-=mt*ce,lt.vx+=z*(ce=1-ce),lt.vy+=mt*ce}function R(){if(f){var $,it,nt=f.length,tt=r.length,lt=Da(f,C);for($=0,g=new Array(nt);$<tt;++$)(it=r[$]).index=$,"object"!=typeof it.source&&(it.source=_0(lt,it.source)),"object"!=typeof it.target&&(it.target=_0(lt,it.target)),g[it.source.index]=(g[it.source.index]||0)+1,g[it.target.index]=(g[it.target.index]||0)+1;for($=0,x=new Array(tt);$<tt;++$)x[$]=g[(it=r[$]).source.index]/(g[it.source.index]+g[it.target.index]);a=new Array(tt),U(),h=new Array(tt),V()}}function U(){if(f)for(var $=0,it=r.length;$<it;++$)a[$]=+T(r[$],$,r)}function V(){if(f)for(var $=0,it=r.length;$<it;++$)h[$]=+A(r[$],$,r)}return null==r&&(r=[]),Z.initialize=function($){f=$,R()},Z.links=function($){return arguments.length?(r=$,R(),Z):r},Z.id=function($){return arguments.length?(C=$,Z):C},Z.iterations=function($){return arguments.length?(M=+$,Z):M},Z.strength=function($){return arguments.length?(T="function"==typeof $?$:co(+$),U(),Z):T},Z.distance=function($){return arguments.length?(A="function"==typeof $?$:co(+$),V(),Z):A},Z}function tv(r){return r.x}function J4(r){return r.y}Po.copy=function(){var r,a,h=new d0(this._x,this._y,this._x0,this._y0,this._x1,this._y1),f=this._root;if(!f)return h;if(!f.length)return h._root=K2(f),h;for(r=[{source:f,target:h._root=new Array(4)}];f=r.pop();)for(var g=0;g<4;++g)(a=f.source[g])&&(a.length?r.push({source:a,target:f.target[g]=new Array(4)}):f.target[g]=K2(a));return h},Po.add=function(r){var a=+this._x.call(null,r),h=+this._y.call(null,r);return j2(this.cover(a,h),a,h,r)},Po.addAll=function(r){var a,h,f,g,x=r.length,C=new Array(x),T=new Array(x),A=1/0,M=1/0,Z=-1/0,R=-1/0;for(h=0;h<x;++h)isNaN(f=+this._x.call(null,a=r[h]))||isNaN(g=+this._y.call(null,a))||(C[h]=f,T[h]=g,f<A&&(A=f),f>Z&&(Z=f),g<M&&(M=g),g>R&&(R=g));if(A>Z||M>R)return this;for(this.cover(A,M).cover(Z,R),h=0;h<x;++h)j2(this,C[h],T[h],r[h]);return this},Po.cover=function(r,a){if(isNaN(r=+r)||isNaN(a=+a))return this;var h=this._x0,f=this._y0,g=this._x1,x=this._y1;if(isNaN(h))g=(h=Math.floor(r))+1,x=(f=Math.floor(a))+1;else{for(var C,T,A=g-h,M=this._root;h>r||r>=g||f>a||a>=x;)switch(T=(a<f)<<1|r<h,(C=new Array(4))[T]=M,M=C,A*=2,T){case 0:g=h+A,x=f+A;break;case 1:h=g-A,x=f+A;break;case 2:g=h+A,f=x-A;break;case 3:h=g-A,f=x-A}this._root&&this._root.length&&(this._root=M)}return this._x0=h,this._y0=f,this._x1=g,this._y1=x,this},Po.data=function(){var r=[];return this.visit(function(a){if(!a.length)do{r.push(a.data)}while(a=a.next)}),r},Po.extent=function(r){return arguments.length?this.cover(+r[0][0],+r[0][1]).cover(+r[1][0],+r[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},Po.find=function(r,a,h){var f,g,x,C,T,A,M,Z=this._x0,R=this._y0,U=this._x1,V=this._y1,$=[],it=this._root;for(it&&$.push(new Ko(it,Z,R,U,V)),null==h?h=1/0:(Z=r-h,R=a-h,U=r+h,V=a+h,h*=h);A=$.pop();)if(!(!(it=A.node)||(g=A.x0)>U||(x=A.y0)>V||(C=A.x1)<Z||(T=A.y1)<R))if(it.length){var nt=(g+C)/2,tt=(x+T)/2;$.push(new Ko(it[3],nt,tt,C,T),new Ko(it[2],g,tt,nt,T),new Ko(it[1],nt,x,C,tt),new Ko(it[0],g,x,nt,tt)),(M=(a>=tt)<<1|r>=nt)&&(A=$[$.length-1],$[$.length-1]=$[$.length-1-M],$[$.length-1-M]=A)}else{var lt=r-+this._x.call(null,it.data),ct=a-+this._y.call(null,it.data),z=lt*lt+ct*ct;if(z<h){var mt=Math.sqrt(h=z);Z=r-mt,R=a-mt,U=r+mt,V=a+mt,f=it.data}}return f},Po.remove=function(r){if(isNaN(x=+this._x.call(null,r))||isNaN(C=+this._y.call(null,r)))return this;var a,h,f,g,x,C,T,A,M,Z,R,U,V=this._root,$=this._x0,it=this._y0,nt=this._x1,tt=this._y1;if(!V)return this;if(V.length)for(;;){if((M=x>=(T=($+nt)/2))?$=T:nt=T,(Z=C>=(A=(it+tt)/2))?it=A:tt=A,a=V,!(V=V[R=Z<<1|M]))return this;if(!V.length)break;(a[R+1&3]||a[R+2&3]||a[R+3&3])&&(h=a,U=R)}for(;V.data!==r;)if(f=V,!(V=V.next))return this;return(g=V.next)&&delete V.next,f?(g?f.next=g:delete f.next,this):a?(g?a[R]=g:delete a[R],(V=a[0]||a[1]||a[2]||a[3])&&V===(a[3]||a[2]||a[1]||a[0])&&!V.length&&(h?h[U]=V:this._root=V),this):(this._root=g,this)},Po.removeAll=function(r){for(var a=0,h=r.length;a<h;++a)this.remove(r[a]);return this},Po.root=function(){return this._root},Po.size=function(){var r=0;return this.visit(function(a){if(!a.length)do{++r}while(a=a.next)}),r},Po.visit=function(r){var a,h,f,g,x,C,T=[],A=this._root;for(A&&T.push(new Ko(A,this._x0,this._y0,this._x1,this._y1));a=T.pop();)if(!r(A=a.node,f=a.x0,g=a.y0,x=a.x1,C=a.y1)&&A.length){var M=(f+x)/2,Z=(g+C)/2;(h=A[3])&&T.push(new Ko(h,M,Z,x,C)),(h=A[2])&&T.push(new Ko(h,f,Z,M,C)),(h=A[1])&&T.push(new Ko(h,M,g,x,Z)),(h=A[0])&&T.push(new Ko(h,f,g,M,Z))}return this},Po.visitAfter=function(r){var a,h=[],f=[];for(this._root&&h.push(new Ko(this._root,this._x0,this._y0,this._x1,this._y1));a=h.pop();){var g=a.node;if(g.length){var x,C=a.x0,T=a.y0,A=a.x1,M=a.y1,Z=(C+A)/2,R=(T+M)/2;(x=g[0])&&h.push(new Ko(x,C,T,Z,R)),(x=g[1])&&h.push(new Ko(x,Z,T,A,R)),(x=g[2])&&h.push(new Ko(x,C,R,Z,M)),(x=g[3])&&h.push(new Ko(x,Z,R,A,M))}f.push(a)}for(;a=f.pop();)r(a.node,a.x0,a.y0,a.x1,a.y1);return this},Po.x=function(r){return arguments.length?(this._x=r,this):this._x},Po.y=function(r){return arguments.length?(this._y=r,this):this._y};var H4=Math.PI*(3-Math.sqrt(5));function Y4(r){var a,h=1,f=.001,g=1-Math.pow(f,1/300),x=0,C=.6,T=Da(),A=ye(Z),M=pn("tick","end");function Z(){R(),M.call("tick",a),h<f&&(A.stop(),M.call("end",a))}function R($){var it,nt,tt=r.length;void 0===$&&($=1);for(var lt=0;lt<$;++lt)for(h+=(x-h)*g,T.each(function(ct){ct(h)}),it=0;it<tt;++it)null==(nt=r[it]).fx?nt.x+=nt.vx*=C:(nt.x=nt.fx,nt.vx=0),null==nt.fy?nt.y+=nt.vy*=C:(nt.y=nt.fy,nt.vy=0);return a}function U(){for(var $,it=0,nt=r.length;it<nt;++it){if(($=r[it]).index=it,null!=$.fx&&($.x=$.fx),null!=$.fy&&($.y=$.fy),isNaN($.x)||isNaN($.y)){var tt=10*Math.sqrt(it),lt=it*H4;$.x=tt*Math.cos(lt),$.y=tt*Math.sin(lt)}(isNaN($.vx)||isNaN($.vy))&&($.vx=$.vy=0)}}function V($){return $.initialize&&$.initialize(r),$}return null==r&&(r=[]),U(),a={tick:R,restart:function(){return A.restart(Z),a},stop:function(){return A.stop(),a},nodes:function($){return arguments.length?(r=$,U(),T.each(V),a):r},alpha:function($){return arguments.length?(h=+$,a):h},alphaMin:function($){return arguments.length?(f=+$,a):f},alphaDecay:function($){return arguments.length?(g=+$,a):+g},alphaTarget:function($){return arguments.length?(x=+$,a):x},velocityDecay:function($){return arguments.length?(C=1-$,a):1-C},force:function($,it){return arguments.length>1?(null==it?T.remove($):T.set($,V(it)),a):T.get($)},find:function($,it,nt){var tt,lt,ct,z,mt,Wt=0,ce=r.length;for(null==nt?nt=1/0:nt*=nt,Wt=0;Wt<ce;++Wt)(ct=(tt=$-(z=r[Wt]).x)*tt+(lt=it-z.y)*lt)<nt&&(mt=z,nt=ct);return mt},on:function($,it){return arguments.length>1?(M.on($,it),a):M.on($)}}}function q4(){var r,a,h,f,g=co(-30),x=1,C=1/0,T=.81;function A(U){var V,$=r.length,it=Gh(r,tv,J4).visitAfter(Z);for(h=U,V=0;V<$;++V)a=r[V],it.visit(R)}function M(){if(r){var U,V,$=r.length;for(f=new Array($),U=0;U<$;++U)f[(V=r[U]).index]=+g(V,U,r)}}function Z(U){var V,$,it,nt,tt,lt=0,ct=0;if(U.length){for(it=nt=tt=0;tt<4;++tt)(V=U[tt])&&($=Math.abs(V.value))&&(lt+=V.value,ct+=$,it+=$*V.x,nt+=$*V.y);U.x=it/ct,U.y=nt/ct}else{(V=U).x=V.data.x,V.y=V.data.y;do{lt+=f[V.data.index]}while(V=V.next)}U.value=lt}function R(U,V,$,it){if(!U.value)return!0;var nt=U.x-a.x,tt=U.y-a.y,lt=it-V,ct=nt*nt+tt*tt;if(lt*lt/T<ct)return ct<C&&(0===nt&&(ct+=(nt=Nc())*nt),0===tt&&(ct+=(tt=Nc())*tt),ct
vendor: 5,678 bytes, line 1
1<x&&(ct=Math.sqrt(x*ct)),a.vx+=nt*U.value*h/ct,a.vy+=tt*U.value*h/ct),!0;if(!(U.length||ct>=C)){(U.data!==a||U.next)&&(0===nt&&(ct+=(nt=Nc())*nt),0===tt&&(ct+=(tt=Nc())*tt),ct<x&&(ct=Math.sqrt(x*ct)));do{U.data!==a&&(a.vx+=nt*(lt=f[U.data.index]*h/ct),a.vy+=tt*lt)}while(U=U.next)}}return A.initialize=function(U){r=U,M()},A.strength=function(U){return arguments.length?(g="function"==typeof U?U:co(+U),M(),A):g},A.distanceMin=function(U){return arguments.length?(x=U*U,A):Math.sqrt(x)},A.distanceMax=function(U){return arguments.length?(C=U*U,A):Math.sqrt(C)},A.theta=function(U){return arguments.length?(T=U*U,A):Math.sqrt(T)},A}function ev(r,a,h){var f,g,x,C=co(.1);function T(M){for(var Z=0,R=f.length;Z<R;++Z){var U=f[Z],V=U.x-a||1e-6,$=U.y-h||1e-6,it=Math.sqrt(V*V+$*$),nt=(x[Z]-it)*g[Z]*M/it;U.vx+=V*nt,U.vy+=$*nt}}function A(){if(f){var M,Z=f.length;for(g=new Array(Z),x=new Array(Z),M=0;M<Z;++M)x[M]=+r(f[M],M,f),g[M]=isNaN(x[M])?0:+C(f[M],M,f)}}return"function"!=typeof r&&(r=co(+r)),null==a&&(a=0),null==h&&(h=0),T.initialize=function(M){f=M,A()},T.strength=function(M){return arguments.length?(C="function"==typeof M?M:co(+M),A(),T):C},T.radius=function(M){return arguments.length?(r="function"==typeof M?M:co(+M),A(),T):r},T.x=function(M){return arguments.length?(a=+M,T):a},T.y=function(M){return arguments.length?(h=+M,T):h},T}function c1(r){var a,h,f,g=co(.1);function x(T){for(var A,M=0,Z=a.length;M<Z;++M)(A=a[M]).vx+=(f[M]-A.x)*h[M]*T}function C(){if(a){var T,A=a.length;for(h=new Array(A),f=new Array(A),T=0;T<A;++T)h[T]=isNaN(f[T]=+r(a[T],T,a))?0:+g(a[T],T,a)}}return"function"!=typeof r&&(r=co(null==r?0:+r)),x.initialize=function(T){a=T,C()},x.strength=function(T){return arguments.length?(g="function"==typeof T?T:co(+T),C(),x):g},x.x=function(T){return arguments.length?(r="function"==typeof T?T:co(+T),C(),x):r},x}function V4(r){var a,h,f,g=co(.1);function x(T){for(var A,M=0,Z=a.length;M<Z;++M)(A=a[M]).vy+=(f[M]-A.y)*h[M]*T}function C(){if(a){var T,A=a.length;for(h=new Array(A),f=new Array(A),T=0;T<A;++T)h[T]=isNaN(f[T]=+r(a[T],T,a))?0:+g(a[T],T,a)}}return"function"!=typeof r&&(r=co(null==r?0:+r)),x.initialize=function(T){a=T,C()},x.strength=function(T){return arguments.length?(g="function"==typeof T?T:co(+T),C(),x):g},x.y=function(T){return arguments.length?(r="function"==typeof T?T:co(+T),C(),x):r},x}function l1(r,a){if((h=(r=a?r.toExponential(a-1):r.toExponential()).indexOf("e"))<0)return null;var h,f=r.slice(0,h);return[f.length>1?f[0]+f.slice(2):f,+r.slice(h+1)]}function ku(r){return(r=l1(Math.abs(r)))?r[1]:NaN}var nv,Q4=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function zh(r){if(!(a=Q4.exec(r)))throw new Error("invalid format: "+r);var a;return new Du({fill:a[1],align:a[2],sign:a[3],symbol:a[4],zero:a[5],width:a[6],comma:a[7],precision:a[8]&&a[8].slice(1),trim:a[9],type:a[10]})}function Du(r){this.fill=void 0===r.fill?" ":r.fill+"",this.align=void 0===r.align?">":r.align+"",this.sign=void 0===r.sign?"-":r.sign+"",this.symbol=void 0===r.symbol?"":r.symbol+"",this.zero=!!r.zero,this.width=void 0===r.width?void 0:+r.width,this.comma=!!r.comma,this.precision=void 0===r.precision?void 0:+r.precision,this.trim=!!r.trim,this.type=void 0===r.type?"":r.type+""}function p0(r,a){var h=l1(r,a);if(!h)return r+"";var f=h[0],g=h[1];return g<0?"0."+new Array(-g).join("0")+f:f.length>g+1?f.slice(0,g+1)+"."+f.slice(g+1):f+new Array(g-f.length+2).join("0")}zh.prototype=Du.prototype,Du.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Kh={"%":function(r,a){return(100*r).toFixed(a)},b:function(r){return Math.round(r).toString(2)},c:function(r){return r+""},d:function(r){return Math.abs(r=Math.round(r))>=1e21?r.toLocaleString("en").replace(/,/g,""):r.toString(10)},e:function(r,a){return r.toExponential(a)},f:function(r,a){return r.toFixed(a)},g:function(r,a){return r.toPrecision(a)},o:function(r){return Math.round(r).toString(8)},p:function(r,a){return p0(100*r,a)},r:p0,s:function(r,a){var h=l1(r,a);if(!h)return r+"";var f=h[0],g=h[1],x=g-(nv=3*Math.max(-8,Math.min(8,Math.floor(g/3))))+1,C=f.length;return x===C?f:x>C?f+new Array(x-C+1).join("0"):x>0?f.slice(0,x)+"."+f.slice(x):"0."+new Array(1-x).join("0")+l1(r,Math.max(0,a+x-1))[0]},X:function(r){return Math.round(r).toString(16).toUpperCase()},x:function(r){return Math.round(r).toString(16)}};function iv(r){return r}var u1,h1,g0,rv=Array.prototype.map,ov=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function m0(r){var a,h,U,f=void 0===r.grouping||void 0===r.thousands?iv:(a=rv.call(r.grouping,Number),h=r.thousands+"",function(U,V){for(var $=U.length,it=[],nt=0,tt=a[0],lt=0;$>0&&tt>0&&(lt+tt+1>V&&(tt=Math.max(1,V-lt)),it.push(U.substring($-=tt,$+tt)),!((lt+=tt+1)>V));)tt=a[nt=(nt+1)%a.length];return it.reverse().join(h)}),g=void 0===r.currency?"":r.currency[0]+"",x=void 0===r.currency?"":r.currency[1]+"",C=void 0===r.decimal?".":r.decimal+"",T=void 0===r.numerals?iv:(U=rv.call(r.numerals,String),function(V){return V.replace(/[0-9]/g,function($){return U[+$]})}),A=void 0===r.percent?"%":r.percent+"",M=void 0===r.minus?"-":r.minus+"",Z=void 0===r.nan?"NaN":r.nan+"";function R(U){var V=(U=zh(U)).fill,$=U.align,it=U.sign,nt=U.symbol,tt=U.zero,lt=U.width,ct=U.comma,z=U.precision,mt=U.trim,Wt=U.type;"n"===Wt?(ct=!0,Wt="g"):Kh[Wt]||(void 0===z&&(z=12),mt=!0,Wt="g"),(tt||"0"===V&&"="===$)&&(tt=!0,V="0",$="=");var ce="$"===nt?g:"#"===nt&&/[boxX]/.test(Wt)?"0"+Wt.toLowerCase():"",Me
1="$"===nt?x:/[%p]/.test(Wt)?A:"",Qt=Kh[Wt],me=/[defgprs%]/.test(Wt);function pt(At){var he,ne,fe,qe=ce,en=Me;if("c"===Wt)en=Qt(At)+en,At="";else{var Fn=(At=+At)<0||1/At<0;if(At=isNaN(At)?Z:Qt(Math.abs(At),z),mt&&(At=function(fn){t:for(var Fi,On=fn.length,yn=1,wi=-1;yn<On;++yn)switch(fn[yn]){case".":wi=Fi=yn;break;case"0":0===wi&&(wi=yn),Fi=yn;break;default:if(!+fn[yn])break t;wi>0&&(wi=0)}return wi>0?fn.slice(0,wi)+fn.slice(Fi+1):fn}(At)),Fn&&0==+At&&"+"!==it&&(Fn=!1),qe=(Fn?"("===it?it:M:"-"===it||"("===it?"":it)+qe,en=("s"===Wt?ov[8+nv/3]:"")+en+(Fn&&"("===it?")":""),me)for(he=-1,ne=At.length;++he<ne;)if(48>(fe=At.charCodeAt(he))||fe>57){en=(46===fe?C+At.slice(he+1):At.slice(he))+en,At=At.slice(0,he);break}}ct&&!tt&&(At=f(At,1/0));var oi=qe.length+At.length+en.length,hi=oi<lt?new Array(lt-oi+1).join(V):"";switch(ct&&tt&&(At=f(hi+At,hi.length?lt-en.length:1/0),hi=""),$){case"<":At=qe+At+en+hi;break;case"=":At=qe+hi+At+en;break;case"^":At=hi.slice(0,oi=hi.length>>1)+qe+At+en+hi.slice(oi);break;default:At=hi+qe+At+en}return T(At)}return z=void 0===z?6:/[gprs]/.test(Wt)?Math.max(1,Math.min(21,z)):Math.max(0,Math.min(20,z)),pt.toString=function(){return U+""},pt}return{format:R,formatPrefix:function(U,V){var $=R(((U=zh(U)).type="f",U)),it=3*Math.max(-8,Math.min(8,Math.floor(ku(V)/3))),nt=Math.pow(10,-it),tt=ov[8+it/3];return function(lt){return $(nt*lt)+tt}}}}function av(r){return u1=m0(r),h1=u1.format,g0=u1.formatPrefix,u1}function sv(r){return Math.max(0,-ku(Math.abs(r)))}function cv(r,a){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ku(a)/3)))-ku(Math.abs(r)))}function pl(r,a){return r=Math.abs(r),a=Math.abs(a)-r,Math.max(0,ku(a)-ku(r))+1}function Lc(){return new d1}function d1(){this.reset()}av({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),d1.prototype={constructor:d1,reset:function(){this.s=this.t=0},add:function(r){v0(f1,r,this.t),v0(this,f1.s,this.s),this.s?this.t+=f1.t:this.s=f1.t},valueOf:function(){return this.s}};var f1=new d1;function v0(r,a,h){var f=r.s=a+h,g=f-a;r.t=a-(f-g)+(h-g)}var Yn=1e-6,Wh=1e-12,gi=Math.PI,Ir=gi/2,_1=gi/4,Wo=2*gi,or=180/gi,Zn=gi/180,ki=Math.abs,Su=Math.atan,Xo=Math.atan2,Cn=Math.cos,p1=Math.ceil,lv=Math.exp,g1=Math.log,y0=Math.pow,mn=Math.sin,Aa=Math.sign||function(r){return r>0?1:r<0?-1:0},zr=Math.sqrt,x0=Math.tan;function uv(r){return r>1?0:r<-1?gi:Math.acos(r)}function ta(r){return r>1?Ir:r<-1?-Ir:Math.asin(r)}function hv(r){return(r=mn(r/2))*r}function Fr(){}function m1(r,a){r&&dv.hasOwnProperty(r.type)&&dv[r.type](r,a)}var b0={Feature:function(r,a){m1(r.geometry,a)},FeatureCollection:function(r,a){for(var h=r.features,f=-1,g=h.length;++f<g;)m1(h[f].geometry,a)}},dv={Sphere:function(r,a){a.sphere()},Point:function(r,a){a.point((r=r.coordinates)[0],r[1],r[2])},MultiPoint:function(r,a){for(var h=r.coordinates,f=-1,g=h.length;++f<g;)a.point((r=h[f])[0],r[1],r[2])},LineString:function(r,a){w0(r.coordinates,a,0)},MultiLineString:function(r,a){for(var h=r.coordinates,f=-1,g=h.length;++f<g;)w0(h[f],a,0)},Polygon:function(r,a){v1(r.coordinates,a)},MultiPolygon:function(r,a){for(var h=r.coordinates,f=-1,g=h.length;++f<g;)v1(h[f],a)},GeometryCollection:function(r,a){for(var h=r.geometries,f=-1,g=h.length;++f<g;)m1(h[f],a)}};function w0(r,a,h){var f,g=-1,x=r.length-h;for(a.lineStart();++g<x;)a.point((f=r[g])[0],f[1],f[2]);a.lineEnd()}function v1(r,a){var h=-1,f=r.length;
vendor: 5,376 bytes, line 1
1for(a.polygonStart();++h<f;)w0(r[h],a,1);a.polygonEnd()}function vr(r,a){r&&b0.hasOwnProperty(r.type)?b0[r.type](r,a):m1(r,a)}var T0,Au,on,Xh,td,Eu=Lc(),Ds=Lc(),Ss={point:Fr,lineStart:Fr,lineEnd:Fr,polygonStart:function(){Eu.reset(),Ss.lineStart=C0,Ss.lineEnd=fv},polygonEnd:function(){var r=+Eu;Ds.add(r<0?Wo+r:r),this.lineStart=this.lineEnd=this.point=Fr},sphere:function(){Ds.add(Wo)}};function C0(){Ss.point=_v}function fv(){Or(T0,Au)}function _v(r,a){Ss.point=Or,T0=r,Au=a,on=r*=Zn,Xh=Cn(a=(a*=Zn)/2+_1),td=mn(a)}function Or(r,a){var h=(r*=Zn)-on,f=h>=0?1:-1,g=f*h,x=Cn(a=(a*=Zn)/2+_1),C=mn(a),T=td*C,A=Xh*x+T*Cn(g),M=T*f*mn(g);Eu.add(Xo(M,A)),on=r,Xh=x,td=C}function pv(r){return Ds.reset(),vr(r,Ss),2*Ds}function lo(r){return[Xo(r[1],r[0]),ta(r[2])]}function Ea(r){var a=r[0],h=r[1],f=Cn(h);return[f*Cn(a),f*mn(a),mn(h)]}function y1(r,a){return r[0]*a[0]+r[1]*a[1]+r[2]*a[2]}function Uc(r,a){return[r[1]*a[2]-r[2]*a[1],r[2]*a[0]-r[0]*a[2],r[0]*a[1]-r[1]*a[0]]}function Va(r,a){r[0]+=a[0],r[1]+=a[1],r[2]+=a[2]}function nc(r,a){return[r[0]*a,r[1]*a,r[2]*a]}function Eo(r){var a=zr(r[0]*r[0]+r[1]*r[1]+r[2]*r[2]);r[0]/=a,r[1]/=a,r[2]/=a}var ar,Io,yr,Ia,Zc,gv,mv,Iu,Oc,ic,ed,gl,Fu,nd,id,fa,x1,b1,Bc,k0,D0,rd,od,Ro,Kr,Jo,Mu=Lc(),As={point:w1,lineStart:A0,lineEnd:T1,polygonStart:function(){As.point=ad,As.lineStart=vv,As.lineEnd=yv,Mu.reset(),Ss.polygonStart()},polygonEnd:function(){Ss.polygonEnd(),As.point=w1,As.lineStart=A0,As.lineEnd=T1,Eu<0?(ar=-(yr=180),Io=-(Ia=90)):Mu>Yn?Ia=90:Mu<-1e-6&&(Io=-90),ic[0]=ar,ic[1]=yr},sphere:function(){ar=-(yr=180),Io=-(Ia=90)}};function w1(r,a){Oc.push(ic=[ar=r,yr=r]),a<Io&&(Io=a),a>Ia&&(Ia=a)}function S0(r,a){var h=Ea([r*Zn,a*Zn]);if(Iu){var f=Uc(Iu,h),g=Uc([f[1],-f[0],0],f);Eo(g),g=lo(g);var x,C=r-Zc,T=C>0?1:-1,A=g[0]*or*T,M=ki(C)>180;M^(T*Zc<A&&A<T*r)?(x=g[1]*or)>Ia&&(Ia=x):M^(T*Zc<(A=(A+360)%360-180)&&A<T*r)?(x=-g[1]*or)<Io&&(Io=x):(a<Io&&(Io=a),a>Ia&&(Ia=a)),M?r<Zc?_a(ar,r)>_a(ar,yr)&&(yr=r):_a(r,yr)>_a(ar,yr)&&(ar=r):yr>=ar?(r<ar&&(ar=r),r>yr&&(yr=r)):r>Zc?_a(ar,r)>_a(ar,yr)&&(yr=r):_a(r,yr)>_a(ar,yr)&&(ar=r)}else Oc.push(ic=[ar=r,yr=r]);a<Io&&(Io=a),a>Ia&&(Ia=a),Iu=h,Zc=r}function A0(){As.point=S0}function T1(){ic[0]=ar,ic[1]=yr,As.point=w1,Iu=null}function ad(r,a){if(Iu){var h=r-Zc;Mu.add(ki(h)>180?h+(h>0?360:-360):h)}else gv=r,mv=a;Ss.point(r,a),S0(r,a)}function vv(){Ss.lineStart()}function yv(){ad(gv,mv),Ss.lineEnd(),ki(Mu)>Yn&&(ar=-(yr=180)),ic[0]=ar,ic[1]=yr,Iu=null}function _a(r,a){return(a-=r)<0?a+360:a}function xv(r,a){return r[0]-a[0]}function sd(r,a){return r[0]<=r[1]?r[0]<=a&&a<=r[1]:a<r[0]||r[1]<a}function E0(r){var a,h,f,g,x,C,T;if(Ia=yr=-(ar=Io=1/0),Oc=[],vr(r,As),h=Oc.length){for(Oc.sort(xv),a=1,x=[f=Oc[0]];a<h;++a)sd(f,(g=Oc[a])[0])||sd(f,g[1])?(_a(f[0],g[1])>_a(f[0],f[1])&&(f[1]=g[1]),_a(g[0],f[1])>_a(f[0],f[1])&&(f[0]=g[0])):x.push(f=g);for(C=-1/0,a=0,f=x[h=x.length-1];a<=h;f=g,++a)(T=_a(f[1],(g=x[a])[0]))>C&&(C=T,ar=g[0],yr=f[1])}return Oc=ic=null,ar===1/0||Io===1/0?[[NaN,NaN],[NaN,NaN]]:[[ar,Io],[yr,Ia]]}var Fa={sphere:Fr,point:us,lineStart:I0,lineEnd:cd,polygonStart:function(){Fa.lineStart=$4,Fa.lineEnd=j4},polygonEnd:function(){Fa.lineStart=I0,Fa.lineEnd=cd}};function us(r,a){r*=Zn;var h=Cn(a*=Zn);Nu(h*Cn(r),h*mn(r),mn(a))}function Nu(r,a,h){++ed,Fu+=(r-Fu)/ed,nd+=(a-nd)/ed,id+=(h-id)/ed}function I0(){Fa.point=ml}function ml(r,a){r*=Zn;var h=Cn(a*=Zn);Ro=h*Cn(r),Kr=h*mn(r),Jo=mn(a),Fa.point=bv,Nu(Ro,Kr,Jo)}function bv(r,a){r*=Zn;var h=Cn(a*=Zn),f=h*Cn(r),g=h*mn(r),x=mn(a),C=Xo(zr((C=Kr*x-Jo*g)*C+(C=Jo*f-Ro*x)*C+(C=Ro*g-Kr*f)*C),Ro*f+Kr*g+Jo*x);gl+=C,fa+=C*(Ro+(Ro=f)),x1+=C*(Kr+(Kr=g)),b1+=C*(Jo+(Jo=x)),Nu(Ro,Kr,Jo)}function cd(){Fa.point=us}function $4(){Fa.point=Lu}function j4(){wv(rd,od),Fa.point=us}function Lu(r,a){rd=r,od=a,r*=Zn,a*=Zn,Fa.point=wv;var h=Cn(a);Ro=h*Cn(r),Kr=h*mn(r),Jo=mn(a),Nu(Ro,Kr,Jo)}function wv(r,a){r*=Zn;var h=Cn(a*=Zn),f=h*Cn(r),g=h*mn(r),x=mn(a),C=Kr*x-Jo*g,T=Jo*f-Ro*x,A=Ro*g-Kr*f,M=zr(C*C+T*T+A*A),Z=ta(M),R=M&&-Z/M;Bc+=R*C,k0+=R*T,D0+=R*A,gl+=Z,fa+=Z*(Ro+(Ro=f)),x1+=Z*(Kr+(Kr=g)),b1+=Z*(Jo+(Jo=x)),Nu(Ro,Kr,Jo)}function G4(r){ed=gl=Fu=nd=id=fa=x1=b1=Bc=k0=D0=0,vr(r,Fa);var a=Bc,h=k0,f=D0,g=a*a+h*h+f*f;return g<Wh&&(a=fa,h=x1,f=b1,gl<Yn&&(a=Fu,h=nd,f=id),(g=a*a+h*h+f*f)<Wh)?[NaN,NaN]:[Xo(h,a)*or,ta(f/zr(g))*or]}function vl(r){return function(){return r}}function C1(r,a){function h(f,g){return f=r(f,g),a(f[0],f[1])}return r.invert&&a.invert&&(h.invert=function(f,g){return(f=a.invert(f,g))&&r.invert(f[0],f[1])}),h}function rc(r,a){return[ki(r)>gi?r+Math.round(-r/Wo)*Wo:r,a]}function k1(r,a,h){return(r%=Wo)?a||h?C1(Tv(r),Cv(a,h)):Tv(r):a||h?Cv(a,h):rc}function ld(r){return function(a,h){return[(a+=r)>gi?a-Wo:a<-gi?a+Wo:a,h]}}function Tv(r){var a=ld(r);return a.invert=ld(-r),a}function Cv(r,a){var h=Cn(r),f=mn(r),g=Cn(a),x=mn(a);function C(T,A){var M=Cn(A),Z=Cn(T)*M,R=mn(T)*M,U=mn(A),V=U*h+Z*f;return[Xo(R*g-V*x,Z*h-U*f),ta(V*g+R*x)]}return C.invert=function(T,A){var M=Cn(A),Z=Cn(T)*M,R=mn(T)*M,U=mn(A),V=U*g-R*x;return[Xo(R*g+U*x,Z*h+V*f),ta(V*h-Z*f)]},C}function yl(r){function a(h){return(h=r(h[0]*Zn,h[1]*Zn))[0]*=or,h[1]*=or,h}return r=k1(r[0]*Zn,r[1]*Zn,r.length>2?r[2]*Zn:0),a.invert=function(h){return(h=r.invert(h[0]*Zn,h[1]*Zn))[0]*=or,h[1]*=or,h},a}function kv(r,a,h,f,g,x){if(h){var C=Cn(a),T=mn(a),A=f*h;null==g?(g=a+f*Wo,x=a-A/2):(g=Dv(C,g),x=Dv(C,x),(f>0?g<x:g>x)&&(g+=f*Wo));for(var M,Z=g;f>0?Z>x:Z<x;
vendor: 14,371 bytes, line 1
1Z-=A)M=lo([C,-T*Cn(Z),-T*mn(Z)]),r.point(M[0],M[1])}}function Dv(r,a){(a=Ea(a))[0]-=r,Eo(a);var h=uv(-a[1]);return((-a[2]<0?-h:h)+Wo-Yn)%Wo}function Sv(){var r,a,h=vl([0,0]),f=vl(90),g=vl(6),x={point:function(T,A){r.push(T=a(T,A)),T[0]*=or,T[1]*=or}};function C(){var T=h.apply(this,arguments),A=f.apply(this,arguments)*Zn,M=g.apply(this,arguments)*Zn;return r=[],a=k1(-T[0]*Zn,-T[1]*Zn,0).invert,kv(x,A,M,1),T={type:"Polygon",coordinates:[r]},r=a=null,T}return C.center=function(T){return arguments.length?(h="function"==typeof T?T:vl([+T[0],+T[1]]),C):h},C.radius=function(T){return arguments.length?(f="function"==typeof T?T:vl(+T),C):f},C.precision=function(T){return arguments.length?(g="function"==typeof T?T:vl(+T),C):g},C}function F0(){var r,a=[];return{point:function(h,f,g){r.push([h,f,g])},lineStart:function(){a.push(r=[])},lineEnd:Fr,rejoin:function(){a.length>1&&a.push(a.pop().concat(a.shift()))},result:function(){var h=a;return a=[],r=null,h}}}function Uu(r,a){return ki(r[0]-a[0])<Yn&&ki(r[1]-a[1])<Yn}function Pc(r,a,h,f){this.x=r,this.z=a,this.o=h,this.e=f,this.v=!1,this.n=this.p=null}function D1(r,a,h,f,g){var x,C,T=[],A=[];if(r.forEach(function($){if(!((it=$.length-1)<=0)){var it,nt,tt=$[0],lt=$[it];if(Uu(tt,lt)){if(!tt[2]&&!lt[2]){for(g.lineStart(),x=0;x<it;++x)g.point((tt=$[x])[0],tt[1]);return void g.lineEnd()}lt[0]+=2e-6}T.push(nt=new Pc(tt,$,null,!0)),A.push(nt.o=new Pc(tt,null,nt,!1)),T.push(nt=new Pc(lt,$,null,!1)),A.push(nt.o=new Pc(lt,null,nt,!0))}}),T.length){for(A.sort(a),Zu(T),Zu(A),x=0,C=A.length;x<C;++x)A[x].e=h=!h;for(var M,Z,R=T[0];;){for(var U=R,V=!0;U.v;)if((U=U.n)===R)return;M=U.z,g.lineStart();do{if(U.v=U.o.v=!0,U.e){if(V)for(x=0,C=M.length;x<C;++x)g.point((Z=M[x])[0],Z[1]);else f(U.x,U.n.x,1,g);U=U.n}else{if(V)for(x=(M=U.p.z).length-1;x>=0;--x)g.point((Z=M[x])[0],Z[1]);else f(U.x,U.p.x,-1,g);U=U.p}M=(U=U.o).z,V=!V}while(!U.v);g.lineEnd()}}}function Zu(r){if(a=r.length){for(var a,h,f=0,g=r[0];++f<a;)g.n=h=r[f],h.p=g,g=h;g.n=h=r[0],h.p=g}}rc.invert=rc;var ud=Lc();function hd(r){return ki(r[0])<=gi?r[0]:Aa(r[0])*((ki(r[0])+gi)%Wo-gi)}function Ou(r,a){var h=hd(a),f=a[1],g=mn(f),x=[mn(h),-Cn(h),0],C=0,T=0;ud.reset(),1===g?f=Ir+Yn:-1===g&&(f=-Ir-Yn);for(var A=0,M=r.length;A<M;++A)if(R=(Z=r[A]).length)for(var Z,R,U=Z[R-1],V=hd(U),$=U[1]/2+_1,it=mn($),nt=Cn($),tt=0;tt<R;++tt,V=ct,it=mt,nt=Wt,U=lt){var lt=Z[tt],ct=hd(lt),z=lt[1]/2+_1,mt=mn(z),Wt=Cn(z),ce=ct-V,Me=ce>=0?1:-1,Qt=Me*ce,me=Qt>gi,pt=it*mt;if(ud.add(Xo(pt*Me*mn(Qt),nt*Wt+pt*Cn(Qt))),C+=me?ce+Me*Wo:ce,me^V>=h^ct>=h){var At=Uc(Ea(U),Ea(lt));Eo(At);var he=Uc(x,At);Eo(he);var ne=(me^ce>=0?-1:1)*ta(he[2]);(f>ne||f===ne&&(At[0]||At[1]))&&(T+=me^ce>=0?1:-1)}}return(C<-1e-6||C<Yn&&ud<-1e-6)^1&T}function Bu(r,a,h,f){return function(g){var x,C,T,A=a(g),M=F0(),Z=a(M),R=!1,U={point:V,lineStart:it,lineEnd:nt,polygonStart:function(){U.point=tt,U.lineStart=lt,U.lineEnd=ct,C=[],x=[]},polygonEnd:function(){U.point=V,U.lineStart=it,U.lineEnd=nt,C=ve(C);var z=Ou(x,f);C.length?(R||(g.polygonStart(),R=!0),D1(C,Av,z,h,g)):z&&(R||(g.polygonStart(),R=!0),g.lineStart(),h(null,null,1,g),g.lineEnd()),R&&(g.polygonEnd(),R=!1),C=x=null},sphere:function(){g.polygonStart(),g.lineStart(),h(null,null,1,g),g.lineEnd(),g.polygonEnd()}};function V(z,mt){r(z,mt)&&g.point(z,mt)}function $(z,mt){A.point(z,mt)}function it(){U.point=$,A.lineStart()}function nt(){U.point=V,A.lineEnd()}function tt(z,mt){T.push([z,mt]),Z.point(z,mt)}function lt(){Z.lineStart(),T=[]}function ct(){tt(T[0][0],T[0][1]),Z.lineEnd();var z,mt,Wt,ce,Me=Z.clean(),Qt=M.result(),me=Qt.length;if(T.pop(),x.push(T),T=null,me)if(1&Me){if((mt=(Wt=Qt[0]).length-1)>0){for(R||(g.polygonStart(),R=!0),g.lineStart(),z=0;z<mt;++z)g.point((ce=Wt[z])[0],ce[1]);g.lineEnd()}}else me>1&&2&Me&&Qt.push(Qt.pop().concat(Qt.shift())),C.push(Qt.filter(M0))}return U}}function M0(r){return r.length>1}function Av(r,a){return((r=r.x)[0]<0?r[1]-Ir-Yn:Ir-r[1])-((a=a.x)[0]<0?a[1]-Ir-Yn:Ir-a[1])}const Wr=Bu(function(){return!0},function(r){var a,h=NaN,f=NaN,g=NaN;return{lineStart:function(){r.lineStart(),a=1},point:function(x,C){var M,Z,R,U,V,$,it,T=x>0?gi:-gi,A=ki(x-h);ki(A-gi)<Yn?(r.point(h,f=(f+C)/2>0?Ir:-Ir),r.point(g,f),r.lineEnd(),r.lineStart(),r.point(T,f),r.point(x,f),a=0):g!==T&&A>=gi&&(ki(h-g)<Yn&&(h-=g*Yn),ki(x-T)<Yn&&(x-=T*Yn),Z=f,U=C,it=mn((M=h)-(R=x)),f=ki(it)>Yn?Su((mn(Z)*($=Cn(U))*mn(R)-mn(U)*(V=Cn(Z))*mn(M))/(V*$*it)):(Z+U)/2,r.point(g,f),r.lineEnd(),r.lineStart(),r.point(T,f),a=0),r.point(h=x,f=C),g=T},lineEnd:function(){r.lineEnd(),h=f=NaN},clean:function(){return 2-a}}},function(r,a,h,f){var g;if(null==r)f.point(-gi,g=h*Ir),f.point(0,g),f.point(gi,g),f.point(gi,0),f.point(gi,-g),f.point(0,-g),f.point(-gi,-g),f.point(-gi,0),f.point(-gi,g);else if(ki(r[0]-a[0])>Yn){var x=r[0]<a[0]?gi:-gi;f.point(-x,g=h*x/2),f.point(0,g),f.point(x,g)}else f.point(a[0],a[1])},[-gi,-Ir]);function Ev(r){var a=Cn(r),h=6*Zn,f=a>0,g=ki(a)>Yn;function x(A,M){return Cn(A)*Cn(M)>a}function C(A,M,Z){var R=[1,0,0],U=Uc(Ea(A),Ea(M)),V=y1(U,U),$=U[0],it=V-$*$;if(!it)return!Z&&A;var nt=a*V/it,tt=-a*$/it,lt=Uc(R,U),ct=nc(R,nt);Va(ct,nc(U,tt));var z=lt,mt=y1(ct,z),Wt=y1(z,z),ce=mt*mt-Wt*(y1(ct,ct)-1);if(!(ce<0)){var Me=zr(ce),Qt=nc(z,(-mt-Me)/Wt);if(Va(Qt,ct),Qt=lo(Qt),!Z)return Qt;var me,pt=A[0],At=M[0],he=A[1],ne=M[1];At<pt&&(me=pt,pt=At,At=me);var fe=At-pt,qe=ki(fe-gi)<Yn;if(!qe&&ne<he&&(me=he,he=ne,ne=me),qe||fe<Yn?qe?he+ne>0^Qt[1]<(ki(Qt[0]-pt)<Yn?he:ne):he<=Qt[1]&&Qt[1]<=ne:fe>gi^(pt<=Qt[0]&&Qt[0]<=At)){var en=nc(z,(-mt+Me)/Wt);return Va(en,ct),[Qt,lo(en)]}}}function T(A,M){var Z=f?r:gi-r,R=0;return A<-Z?R|=1:A>Z&&(R|=2),M<-Z?R|=4:M>Z&&(R|=8),R}return Bu(x,function(A){var M,Z,R,U,V;return{lineStart:function(){U=R=!1,V=1},point:function($,it){var nt,tt=[$,it],lt=x($,it),ct=f?lt?0:T($,it):lt?T($+($<0?gi:-gi),it):0;if(!M&&(U=R=lt)&&A.lineStart(),lt!==R&&(!(nt=C(M,tt))||Uu(M,nt)||Uu(tt,nt))&&(tt[2]=1),lt!==R)V=0,lt?(A.lineStart(),nt=C(tt,M),A.point(nt[0],nt[1])):(nt=C(M,tt),A.point(nt[0],nt[1],2),A.lineEnd()),M=nt;else if(g&&M&&f^lt){var z;ct&Z||!(z=C(tt,M,!0))||(V=0,f?(A.lineStart(),A.point(z[0][0],z[0][1]),A.point(z[1][0],z[1][1]),A.lineEnd()):(A.point(z[1][0],z[1][1]),A.lineEnd(),A.lineStart(),A.point(z[0][0],z[0][1],3)))}!lt||M&&Uu(M,tt)||A.point(tt[0],tt[1]),M=tt,R=lt,Z=ct},lineEnd:function(){R&&A.lineEnd(),M=null},clean:function(){return V|(U&&R)<<1}}},function(A,M,Z,R){kv(R,r,h,Z,A,M)},f?[0,-r]:[-gi,r-gi])}var dd=1e9,Di=-dd;function S1(r,a,h,f){function g(M,Z){return r<=M&&M<=h&&a<=Z&&Z<=f}function x(M,Z,R,U){var V=0,$=0;if(null==M||(V=C(M,R))!==($=C(Z,R))||A(M,Z)<0^R>0)do{U.point(0===V||3===V?r:h,V>1?f:a)}while((V=(V+R+4)%4)!==$);else U.point(Z[0],Z[1])}function C(M,Z){return ki(M[0]-r)<Yn?Z>0?0:3:ki(M[0]-h)<Yn?Z>0?2:1:ki(M[1]-a)<Yn?Z>0?1:0:Z>0?3:2}function T(M,Z){return A(M.x,Z.x)}function A(M,Z){var R=C(M,1),U=C(Z,1);return R!==U?R-U:0===R?Z[1]-M[1]:1===R?M[0]-Z[0]:2===R?M[1]-Z[1]:Z[0]-M[0]}return function(M){var Z,R,U,V,$,it,nt,tt,lt,ct,z,mt=M,Wt=F0(),ce={point:Me,lineStart:function(){ce.point=Qt,R&&R.push(U=[]),ct=!0,lt=!1,nt=tt=NaN},lineEnd:function(){Z&&(Qt(V,$),it&<&&Wt.rejoin(),Z.push(Wt.result())),ce.point=Me,lt&&mt.lineEnd()},polygonStart:function(){mt=Wt,Z=[],R=[],z=!0},polygonEnd:function(){var me=function(){for(var he=0,ne=0,fe=R.length;ne<fe;++ne)for(var qe,en,Fn=R[ne],oi=1,hi=Fn.length,fn=Fn[0],Fi=fn[0],On=fn[1];oi<hi;++oi)qe=Fi,en=On,Fi=(fn=Fn[oi])[0],On=fn[1],en<=f?On>f&&(Fi-qe)*(f-en)>(On-en)*(r-qe)&&++he:On<=f&&(Fi-qe)*(f-en)<(On-en)*(r-qe)&&--he;return he}(),pt=z&&me,At=(Z=ve(Z)).length;(pt||At)&&(M.polygonStart(),pt&&(M.lineStart(),x(null,null,1,M),M.lineEnd()),At&&D1(Z,T,me,x,M),M.polygonEnd()),mt=M,Z=R=U=null}};function Me(me,pt){g(me,pt)&&mt.point(me,pt)}function Qt(me,pt){var At=g(me,pt);if(R&&U.push([me,pt]),ct)V=me,$=pt,it=At,ct=!1,At&&(mt.lineStart(),mt.point(me,pt));else if(At&<)mt.point(me,pt);else{var he=[nt=Math.max(Di,Math.min(dd,nt)),tt=Math.max(Di,Math.min(dd,tt))],ne=[me=Math.max(Di,Math.min(dd,me)),pt=Math.max(Di,Math.min(dd,pt))];!function(fe,qe,en,Fn,oi,hi){var fn,Fi=fe[0],On=fe[1],yn=0,wi=1,ro=qe[0]-Fi,Vr=qe[1]-On;if(fn=en-Fi,ro||!(fn>0)){if(fn/=ro,ro<0){if(fn<yn)return;fn<wi&&(wi=fn)}else if(ro>0){if(fn>wi)return;fn>yn&&(yn=fn)}if(fn=oi-Fi,ro||!(fn<0)){if(fn/=ro,ro<0){if(fn>wi)return;fn>yn&&(yn=fn)}else if(ro>0){if(fn<yn)return;fn<wi&&(wi=fn)}if(fn=Fn-On,Vr||!(fn>0)){if(fn/=Vr,Vr<0){if(fn<yn)return;fn<wi&&(wi=fn)}else if(Vr>0){if(fn>wi)return;fn>yn&&(yn=fn)}if(fn=hi-On,Vr||!(fn<0)){if(fn/=Vr,Vr<0){if(fn>wi)return;fn>yn&&(yn=fn)}else if(Vr>0){if(fn<yn)return;fn<wi&&(wi=fn)}return yn>0&&(fe[0]=Fi+yn*ro,fe[1]=On+yn*Vr),wi<1&&(qe[0]=Fi+wi*ro,qe[1]=On+wi*Vr),!0}}}}}(he,ne,r,a,h,f)?At&&(mt.lineStart(),mt.point(me,pt),z=!1):(lt||(mt.lineStart(),mt.point(he[0],he[1])),mt.point(ne[0],ne[1]),At||mt.lineEnd(),z=!1)}nt=me,tt=pt,lt=At}return ce}}function fd(){var r,a,h,f=0,g=0,x=960,C=500;return h={stream:function(T){return r&&a===T?r:r=S1(f,g,x,C)(a=T)},extent:function(T){return arguments.length?(f=+T[0][0],g=+T[0][1],x=+T[1][0],C=+T[1][1],r=a=null,h):[[f,g],[x,C]]}}}var xl,A1,E1,N0=Lc(),Pu={sphere:Fr,point:Fr,lineStart:function(){Pu.point=Iv,Pu.lineEnd=z4},lineEnd:Fr,polygonStart:Fr,polygonEnd:Fr};function z4(){Pu.point=Pu.lineEnd=Fr}function Iv(r,a){xl=r*=Zn,A1=mn(a*=Zn),E1=Cn(a),Pu.point=Fv}function Fv(r,a){r*=Zn;var h=mn(a*=Zn),f=Cn(a),g=ki(r-xl),x=Cn(g),C=f*mn(g),T=E1*h-A1*f*x,A=A1*h+E1*f*x;N0.add(Xo(zr(C*C+T*T),A)),xl=r,A1=h,E1=f}function Mv(r){return N0.reset(),vr(r,Pu),+N0}var L0=[null,null],K4={type:"LineString",coordinates:L0};function _d(r,a){return L0[0]=r,L0[1]=a,Mv(K4)}var Nv={Feature:function(r,a){return I1(r.geometry,a)},FeatureCollection:function(r,a){for(var h=r.features,f=-1,g=h.length;++f<g;)if(I1(h[f].geometry,a))return!0;return!1}},U0={Sphere:function(){return!0},Point:function(r,a){return Lv(r.coordinates,a)},MultiPoint:function(r,a){for(var h=r.coordinates,f=-1,g=h.length;++f<g;)if(Lv(h[f],a))return!0;return!1},LineString:function(r,a){return Uv(r.coordinates,a)},MultiLineString:function(r,a){for(var h=r.coordinates,f=-1,g=h.length;++f<g;)if(Uv(h[f],a))return!0;return!1},Polygon:function(r,a){return Zv(r.coordinates,a)},MultiPolygon:function(r,a){for(var h=r.coordinates,f=-1,g=h.length;++f<g;)if(Zv(h[f],a))return!0;return!1},GeometryCollection:function(r,a){for(var h=r.geometries,f=-1,g=h.length;++f<g;)if(I1(h[f],a))return!0;return!1}};function I1(r,a){return!(!r||!U0.hasOwnProperty(r.type))&&U0[r.type](r,a)}function Lv(r,a){return 0===_d(r,a)}function Uv(r,a){for(var h,f,g,x=0,C=r.length;x<C;x++){if(0===(f=_d(r[x],a))||x>0&&(g=_d(r[x],r[x-1]))>0&&h<=g&&f<=g&&(h+f-g)*(1-Math.pow((h-f)/g,2))<Wh*g)return!0;h=f}return!1}function Zv(r,a){return!!Ou(r.map(W4),Ov(a))}function W4(r){return(r=r.map(Ov)).pop(),r}function Ov(r){return[r[0]*Zn,r[1]*Zn]}function X4(r,a){return(r&&Nv.hasOwnProperty(r.type)?Nv[r.type]:I1)(r,a)}function Z0(r,a,h){var f=ft(r,a-Yn,h).concat(a);return function(g){return f.map(function(x){return[g,x]})}}function Bv(r,a,h){var f=ft(r,a-Yn,h).concat(a);return function(g){return f.map(function(x){return[x,g]})}}function Pv(){var r,a,h,f,g,x,C,T,A,M,Z,R,U=10,V=U,$=90,it=360,nt=2.5;function tt(){return{type:"MultiLineString",coordinates:lt()}}function lt(){return ft(p1(f/$)*$,h,$).map(Z).concat(ft(p1(T/it)*it,C,it).map(R)).concat(ft(p1(a/U)*U,r,U).filter(function(ct){return ki(ct%$)>Yn}).map(A)).concat(ft(p1(x/V)*V,g,V).filter(function(ct){return ki(ct%it)>Yn}).map(M))}return tt.lines=function(){return lt().map(function(ct){return{type:"LineString",coordinates:ct}})},tt.outline=function(){return{type:"Polygon",coordinates:[Z(f).concat(R(C).slice(1),Z(h).reverse().slice(1),R(T).reverse().slice(1))]}},tt.extent=function(ct){return arguments.length?tt.extentMajor(ct).extentMinor(ct):tt.extentMinor()},tt.extentMajor=function(ct){return arguments.length?(T=+ct[0][1],C=+ct[1][1],(f=+ct[0][0])>(h=+ct[1][0])&&(ct=f,f=h,h=ct),T>C&&(ct=T,T=C,C=ct),tt.precision(nt)):[[f,T],[h,C]]},tt.extentMinor=function(ct){return arguments.length?(x=+ct[0][1],g=+ct[1][1],(a=+ct[0][0])>(r=+ct[1][0])&&(ct=a,a=r,r=ct),x>g&&(ct=x,x=g,g=ct),tt.precision(nt)):[[a,x],[r,g]]},tt.step=function(ct){return arguments.length?tt.stepMajor(ct).stepMinor(ct):tt.stepMinor()},tt.stepMajor=function(ct){return arguments.length?($=+ct[0],it=+ct[1],tt):[$,it]},tt.stepMinor=function(ct){return arguments.length?(U=+ct[0],V=+ct[1],tt):[U,V]},tt.precision=function(ct){return arguments.length?(nt=+ct,A=Z0(x,g,90),M=Bv(a,r,nt),Z=Z0(T,C,90),R=Bv(f,h,nt),tt):nt},tt.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function t5(){return Pv()()}function Rv(r,a){var h=r[0]*Zn,f=r[1]*Zn,g=a[0]*Zn,x=a[1]*Zn,C=Cn(f),T=mn(f),A=Cn(x),M=mn(x),Z=C*Cn(h),R=C*mn(h),U=A*Cn(g),V=A*mn(g),$=2*ta(zr(hv(x-f)+C*A*hv(g-h))),it=mn($),nt=$?function(tt){var lt=mn(tt*=$)/it,ct=mn($-tt)/it,z=ct*Z+lt*U,mt=ct*R+lt*V,Wt=ct*T+lt*M;return[Xo(mt,z)*or,Xo(Wt,zr(z*z+mt*mt))*or]}:function(){return[h*or,f*or]};return nt.distance=$,nt}function pd(r){return r}var Jv,Hv,O0,B0,P0=Lc(),F1=Lc(),Rc={point:Fr,lineStart:Fr,lineEnd:Fr,polygonStart:function(){Rc.lineStart=e5,Rc.lineEnd=i5},polygonEnd:function(){Rc.lineStart=Rc.lineEnd=Rc.point=Fr,P0.add(ki(F1)),F1.reset()},result:function(){var r=P0/2;return P0.reset(),r}};function e5(){Rc.point=n5}function n5(r,a){Rc.point=Yv,Jv=O0=r,Hv=B0=a}function Yv(r,a){F1.add(B0*r-O0*a),O0=r,B0=a}function i5(){Yv(Jv,Hv)}const qv=Rc;var Ru=1/0,M1=Ru,Ju=-Ru,N1=Ju;const L1={point:function(r,a){r<Ru&&(Ru=r),r>Ju&&(Ju=r),a<M1&&(M1=a),a>N1&&(N1=a)},lineStart:Fr,lineEnd:Fr,polygonStart:Fr,polygonEnd:Fr,result:function(){var r=[[Ru,M1],[Ju,N1]];return Ju=N1=-(M1=Ru=1/0),r}};var R0,Vv,Es,Is,J0=0,H0=0,gd=0,md=0,U1=0,Hu=0,Y0=0,q0=0,vd=0,hs={point:bl,lineStart:Qv,lineEnd:V0,polygonStart:function(){hs.lineStart=o5,hs.lineEnd=Gv},polygonEnd:function(){hs.point=bl,hs.lineStart=Qv,hs.lineEnd=V0},result:function(){var r=vd?[Y0/vd,q0/vd]:Hu?[md/Hu,U1/Hu]:gd?[J0/gd,H0/gd]:[NaN,NaN];return J0=H0=gd=md=U1=Hu=Y0=q0=vd=0,r}};function bl(r,a){J0+=r,H0+=a,++gd}function Qv(){hs.point=$v}function $v(r,a){hs.point=jv,bl(Es=r,Is=a)}function jv(r,a){var h=r-Es,f=a-Is,g=zr(h*h+f*f);md+=g*(Es+r)/2,U1+=g*(Is+a)/2,Hu+=g,bl(Es=r,Is=a)}function V0(){hs.point=bl}function o5(){hs.point=Z1}function Gv(){zv(R0,Vv)}function Z1(r,a){hs.point=zv,bl(R0=Es=r,Vv=Is=a)}function zv(r,a){var h=r-Es,f=a-Is,g=zr(h*h+f*f);
vendor: 8,755 bytes, line 1
1md+=g*(Es+r)/2,U1+=g*(Is+a)/2,Hu+=g,Y0+=(g=Is*r-Es*a)*(Es+r),q0+=g*(Is+a),vd+=3*g,bl(Es=r,Is=a)}const Kv=hs;function Q0(r){this._context=r}Q0.prototype={_radius:4.5,pointRadius:function(r){return this._radius=r,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(r,a){switch(this._point){case 0:this._context.moveTo(r,a),this._point=1;break;case 1:this._context.lineTo(r,a);break;default:this._context.moveTo(r+this._radius,a),this._context.arc(r,a,this._radius,0,Wo)}},result:Fr};var $0,yd,Yu,Fs,oc,wl=Lc(),Tl={point:Fr,lineStart:function(){Tl.point=Cl},lineEnd:function(){$0&&xd(yd,Yu),Tl.point=Fr},polygonStart:function(){$0=!0},polygonEnd:function(){$0=null},result:function(){var r=+wl;return wl.reset(),r}};function Cl(r,a){Tl.point=xd,yd=Fs=r,Yu=oc=a}function xd(r,a){wl.add(zr((Fs-=r)*Fs+(oc-=a)*oc)),Fs=r,oc=a}const qu=Tl;function j0(){this._string=[]}function O1(r){return"m0,"+r+"a"+r+","+r+" 0 1,1 0,"+-2*r+"a"+r+","+r+" 0 1,1 0,"+2*r+"z"}function a5(r,a){var h,f,g=4.5;function x(C){return C&&("function"==typeof g&&f.pointRadius(+g.apply(this,arguments)),vr(C,h(f))),f.result()}return x.area=function(C){return vr(C,h(qv)),qv.result()},x.measure=function(C){return vr(C,h(qu)),qu.result()},x.bounds=function(C){return vr(C,h(L1)),L1.result()},x.centroid=function(C){return vr(C,h(Kv)),Kv.result()},x.projection=function(C){return arguments.length?(h=null==C?(r=null,pd):(r=C).stream,x):r},x.context=function(C){return arguments.length?(f=null==C?(a=null,new j0):new Q0(a=C),"function"!=typeof g&&f.pointRadius(g),x):a},x.pointRadius=function(C){return arguments.length?(g="function"==typeof C?C:(f.pointRadius(+C),+C),x):g},x.projection(r).context(a)}function B1(r){return{stream:Vu(r)}}function Vu(r){return function(a){var h=new P1;for(var f in r)h[f]=r[f];return h.stream=a,h}}function P1(){}function G0(r,a,h){var f=r.clipExtent&&r.clipExtent();return r.scale(150).translate([0,0]),null!=f&&r.clipExtent(null),vr(h,r.stream(L1)),a(L1.result()),null!=f&&r.clipExtent(f),r}function Qu(r,a,h){return G0(r,function(f){var g=a[1][0]-a[0][0],x=a[1][1]-a[0][1],C=Math.min(g/(f[1][0]-f[0][0]),x/(f[1][1]-f[0][1])),T=+a[0][0]+(g-C*(f[1][0]+f[0][0]))/2,A=+a[0][1]+(x-C*(f[1][1]+f[0][1]))/2;r.scale(150*C).translate([T,A])},h)}function R1(r,a,h){return Qu(r,[[0,0],a],h)}function z0(r,a,h){return G0(r,function(f){var g=+a,x=g/(f[1][0]-f[0][0]),C=(g-x*(f[1][0]+f[0][0]))/2,T=-x*f[0][1];r.scale(150*x).translate([C,T])},h)}function K0(r,a,h){return G0(r,function(f){var g=+a,x=g/(f[1][1]-f[0][1]),C=-x*f[0][0],T=(g-x*(f[1][1]+f[0][1]))/2;r.scale(150*x).translate([C,T])},h)}j0.prototype={_radius:4.5,_circle:O1(4.5),pointRadius:function(r){return(r=+r)!==this._radius&&(this._radius=r,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(r,a){switch(this._point){case 0:this._string.push("M",r,",",a),this._point=1;break;case 1:this._string.push("L",r,",",a);break;default:null==this._circle&&(this._circle=O1(this._radius)),this._string.push("M",r,",",a,this._circle)}},result:function(){if(this._string.length){var r=this._string.join("");return this._string=[],r}return null}},P1.prototype={constructor:P1,point:function(r,a){this.stream.point(r,a)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var J1=Cn(30*Zn);function H1(r,a){return+a?function(h,f){function g(x,C,T,A,M,Z,R,U,V,$,it,nt,tt,lt){var ct=R-x,z=U-C,mt=ct*ct+z*z;if(mt>4*f&&tt--){var Wt=A+$,ce=M+it,Me=Z+nt,Qt=zr(Wt*Wt+ce*ce+Me*Me),me=ta(Me/=Qt),pt=ki(ki(Me)-1)<Yn||ki(T-V)<Yn?(T+V)/2:Xo(ce,Wt),At=h(pt,me),he=At[0],ne=At[1],fe=he-x,qe=ne-C,en=z*fe-ct*qe;(en*en/mt>f||ki((ct*fe+z*qe)/mt-.5)>.3||A*$+M*it+Z*nt<J1)&&(g(x,C,T,A,M,Z,he,ne,pt,Wt/=Qt,ce/=Qt,Me,tt,lt),lt.point(he,ne),g(he,ne,pt,Wt,ce,Me,R,U,V,$,it,nt,tt,lt))}}return function(x){var C,T,A,M,Z,R,U,V,$,it,nt,tt,lt={point:ct,lineStart:z,lineEnd:Wt,polygonStart:function(){x.polygonStart(),lt.lineStart=ce},polygonEnd:function(){x.polygonEnd(),lt.lineStart=z}};function ct(me,pt){me=h(me,pt),x.point(me[0],me[1])}function z(){V=NaN,lt.point=mt,x.lineStart()}function mt(me,pt){var At=Ea([me,pt]),he=h(me,pt);g(V,$,U,it,nt,tt,V=he[0],$=he[1],U=me,it=At[0],nt=At[1],tt=At[2],16,x),x.point(V,$)}function Wt(){lt.point=ct,x.lineEnd()}function ce(){z(),lt.point=Me,lt.lineEnd=Qt}function Me(me,pt){mt(C=me,pt),T=V,A=$,M=it,Z=nt,R=tt,lt.point=mt}function Qt(){g(V,$,U,it,nt,tt,T,A,C,M,Z,R,16,x),lt.lineEnd=Wt,Wt()}return lt}}(r,a):(h=r,Vu({point:function(f,g){f=h(f,g),this.stream.point(f[0],f[1])}}));var h}var Ms=Vu({point:function(r,a){this.stream.point(r*Zn,a*Zn)}});function ds(r,a,h,f,g){function x(C,T){return[a+r*(C*=f),h-r*(T*=g)]}return x.invert=function(C,T){return[(C-a)/r*f,(h-T)/r*g]},x}function ac(r,a,h,f,g,x){var C=Cn(x),T=mn(x),A=C*r,M=T*r,Z=C/r,R=T/r,U=(T*h-C*a)/r,V=(T*a+C*h)/r;function $(it,nt){return[A*(it*=f)-M*(nt*=g)+a,h-M*it-A*nt]}return $.invert=function(it,nt){return[f*(Z*it-R*nt+U),g*(V-R*it-Z*nt)]},$}function Ma(r){return Y1(function(){return r})()}function Y1(r){var a,h,f,g,x,C,T,A,M,Z,R=150,U=480,V=250,$=0,it=0,nt=0,tt=0,lt=0,ct=0,z=1,mt=1,Wt=null,ce=Wr,Me=null,Qt=pd,me=.5;function pt(fe){return A(fe[0]*Zn,fe[1]*Zn)}function At(fe){return(fe=A.invert(fe[0],fe[1]))&&[fe[0]*or,fe[1]*or]}function he(){var fe=ac(R,0,0,z,mt,ct).apply(null,a($,it)),qe=(ct?ac:ds)(R,U-fe[0],V-fe[1],z,mt,ct);return h=k1(nt,tt,lt),T=C1(a,qe),A=C1(h,T),C=H1(T,me),ne()}function ne(){return M=Z=null,pt}return pt.stream=function(fe){return M&&Z===fe?M:M=Ms((qe=h,Vu({point:function(en,Fn){var oi=qe(en,Fn);return this.stream.point(oi[0],oi[1])}}))(ce(C(Qt(Z=fe)))));var qe},pt.preclip=function(fe){return arguments.length?(ce=fe,Wt=void 0,ne()):ce},pt.postclip=function(fe){return arguments.length?(Qt=fe,Me=f=g=x=null,ne()):Qt},pt.clipAngle=function(fe){return arguments.length?(ce=+fe?Ev(Wt=fe*Zn):(Wt=null,Wr),ne()):Wt*or},pt.clipExtent=function(fe){return arguments.length?(Qt=null==fe?(Me=f=g=x=null,pd):S1(Me=+fe[0][0],f=+fe[0][1],g=+fe[1][0],x=+fe[1][1]),ne()):null==Me?null:[[Me,f],[g,x]]},pt.scale=function(fe){return arguments.length?(R=+fe,he()):R},pt.translate=function(fe){return arguments.length?(U=+fe[0],V=+fe[1],he()):[U,V]},pt.center=function(fe){return arguments.length?($=fe[0]%360*Zn,it=fe[1]%360*Zn,he()):[$*or,it*or]},pt.rotate=function(fe){return arguments.length?(nt=fe[0]%360*Zn,tt=fe[1]%360*Zn,lt=fe.length>2?fe[2]%360*Zn:0,he()):[nt*or,tt*or,lt*or]},pt.angle=function(fe){return arguments.length?(ct=fe%360*Zn,he()):ct*or},pt.reflectX=function(fe){return arguments.length?(z=fe?-1:1,he()):z<0},pt.reflectY=function(fe){return arguments.length?(mt=fe?-1:1,he()):mt<0},pt.precision=function(fe){return arguments.length?(C=H1(T,me=fe*fe),ne()):zr(me)},pt.fitExtent=function(fe,qe){return Qu(pt,fe,qe)},pt.fitSize=function(fe,qe){return R1(pt,fe,qe)},pt.fitWidth=function(fe,qe){return z0(pt,fe,qe)},pt.fitHeight=function(fe,qe){return K0(pt,fe,qe)},function(){return a=r.apply(this,arguments),pt.invert=a.invert&&At,he()}}function bd(r){var a=0,h=gi/3,f=Y1(r),g=f(a,h);return g.parallels=function(x){return arguments.length?f(a=x[0]*Zn,h=x[1]*Zn):[a*or,h*or]},g}function W0(r,a){var h=mn(r),f=(h+mn(a))/2;if(ki(f)<Yn)return function(T){var A=Cn(T);function M(Z,R){return[Z*A,mn(R)/A]}return M.invert=function(Z,R){return[Z/A,ta(R*A)]},M}(r);var g=1+h*(2*f-h),x=zr(g)/f;function C(T,A){var M=zr(g-2*f*mn(A))/f;return[M*mn(T*=f),x-M*Cn(T)]}return C.invert=function(T,A){var M=x-A,Z=Xo(T,ki(M))*Aa(M);return M*f<0&&(Z-=gi*Aa(T)*Aa(M)),[Z/f,ta((g-(T*T+M*M)*f*f)/(2*f))]},C}function wd(){return bd(W0).scale(155.424).center([0,33.6442])}function Wv(){return wd().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function s5(){var r,a,h,f,g,x,C=Wv(),T=wd().rotate([154,0]).center([-2,58.5]).parallels([55,65]),A=wd().rotate([157,0]).center([-3,19.9]).parallels([8,18]),M={point:function(U,V){x=[U,V]}};function Z(U){var V=U[0],$=U[1];return x=null,h.point(V,$),x||(f.point(V,$),x)||(g.point(V,$),x)}function R(){return r=a=null,Z}return Z.invert=function(U){var V=C.scale(),$=C.translate(),it=(U[0]-$[0])/V,nt=(U[1]-$[1])/V;return(nt>=.12&&nt<.234&&it>=-.425&&it<-.214?T:nt>=.166&&nt<.234&&it>=-.214&&it<-.115?A:C).invert(U)},Z.stream=function(U){return r&&a===U?r:(V=[C.stream(a=U),T.stream(U),A.stream(U)],$=V.length,r={point:function(it,
vendor: 11,160 bytes, line 1
1nt){for(var tt=-1;++tt<$;)V[tt].point(it,nt)},sphere:function(){for(var it=-1;++it<$;)V[it].sphere()},lineStart:function(){for(var it=-1;++it<$;)V[it].lineStart()},lineEnd:function(){for(var it=-1;++it<$;)V[it].lineEnd()},polygonStart:function(){for(var it=-1;++it<$;)V[it].polygonStart()},polygonEnd:function(){for(var it=-1;++it<$;)V[it].polygonEnd()}});var V,$},Z.precision=function(U){return arguments.length?(C.precision(U),T.precision(U),A.precision(U),R()):C.precision()},Z.scale=function(U){return arguments.length?(C.scale(U),T.scale(.35*U),A.scale(U),Z.translate(C.translate())):C.scale()},Z.translate=function(U){if(!arguments.length)return C.translate();var V=C.scale(),$=+U[0],it=+U[1];return h=C.translate(U).clipExtent([[$-.455*V,it-.238*V],[$+.455*V,it+.238*V]]).stream(M),f=T.translate([$-.307*V,it+.201*V]).clipExtent([[$-.425*V+Yn,it+.12*V+Yn],[$-.214*V-Yn,it+.234*V-Yn]]).stream(M),g=A.translate([$-.205*V,it+.212*V]).clipExtent([[$-.214*V+Yn,it+.166*V+Yn],[$-.115*V-Yn,it+.234*V-Yn]]).stream(M),R()},Z.fitExtent=function(U,V){return Qu(Z,U,V)},Z.fitSize=function(U,V){return R1(Z,U,V)},Z.fitWidth=function(U,V){return z0(Z,U,V)},Z.fitHeight=function(U,V){return K0(Z,U,V)},Z.scale(1070)}function Xv(r){return function(a,h){var f=Cn(a),g=Cn(h),x=r(f*g);return[x*g*mn(a),x*mn(h)]}}function Td(r){return function(a,h){var f=zr(a*a+h*h),g=r(f),x=mn(g),C=Cn(g);return[Xo(a*x,f*C),ta(f&&h*x/f)]}}var Cd=Xv(function(r){return zr(2/(1+r))});function ty(){return Ma(Cd).scale(124.75).clipAngle(179.999)}Cd.invert=Td(function(r){return 2*ta(r/2)});var q1=Xv(function(r){return(r=uv(r))&&r/mn(r)});function ey(){return Ma(q1).scale(79.4188).clipAngle(179.999)}function kl(r,a){return[r,g1(x0((Ir+a)/2))]}function X0(){return ny(kl).scale(961/Wo)}function ny(r){var a,h,f,g=Ma(r),x=g.center,C=g.scale,T=g.translate,A=g.clipExtent,M=null;function Z(){var R=gi*C(),U=g(yl(g.rotate()).invert([0,0]));return A(null==M?[[U[0]-R,U[1]-R],[U[0]+R,U[1]+R]]:r===kl?[[Math.max(U[0]-R,M),a],[Math.min(U[0]+R,h),f]]:[[M,Math.max(U[1]-R,a)],[h,Math.min(U[1]+R,f)]])}return g.scale=function(R){return arguments.length?(C(R),Z()):C()},g.translate=function(R){return arguments.length?(T(R),Z()):T()},g.center=function(R){return arguments.length?(x(R),Z()):x()},g.clipExtent=function(R){return arguments.length?(null==R?M=a=h=f=null:(M=+R[0][0],a=+R[0][1],h=+R[1][0],f=+R[1][1]),Z()):null==M?null:[[M,a],[h,f]]},Z()}function kd(r){return x0((Ir+r)/2)}function iy(r,a){var h=Cn(r),f=r===a?mn(r):g1(h/Cn(a))/g1(kd(a)/kd(r)),g=h*y0(kd(r),f)/f;if(!f)return kl;function x(C,T){g>0?T<-Ir+Yn&&(T=-Ir+Yn):T>Ir-Yn&&(T=Ir-Yn);var A=g/y0(kd(T),f);return[A*mn(f*C),g-A*Cn(f*C)]}return x.invert=function(C,T){var A=g-T,M=Aa(f)*zr(C*C+A*A),Z=Xo(C,ki(A))*Aa(A);return A*f<0&&(Z-=gi*Aa(C)*Aa(A)),[Z/f,2*Su(y0(g/M,1/f))-Ir]},x}function c5(){return bd(iy).scale(109.5).parallels([30,30])}function Dd(r,a){return[r,a]}function l5(){return Ma(Dd).scale(152.63)}function ry(r,a){var h=Cn(r),f=r===a?mn(r):(h-Cn(a))/(a-r),g=h/f+r;if(ki(f)<Yn)return Dd;function x(C,T){var A=g-T,M=f*C;return[A*mn(M),g-A*Cn(M)]}return x.invert=function(C,T){var A=g-T,M=Xo(C,ki(A))*Aa(A);return A*f<0&&(M-=gi*Aa(C)*Aa(A)),[M/f,g-Aa(f)*zr(C*C+A*A)]},x}function u5(){return bd(ry).scale(131.154).center([0,13.9389])}q1.invert=Td(function(r){return r}),kl.invert=function(r,a){return[r,2*Su(lv(a))-Ir]},Dd.invert=Dd;var Sd=1.340264,Ad=-.081106,Ed=893e-6,Id=.003796,V1=zr(3)/2;function tg(r,a){var h=ta(V1*mn(a)),f=h*h,g=f*f*f;return[r*Cn(h)/(V1*(Sd+3*Ad*f+g*(7*Ed+9*Id*f))),h*(Sd+Ad*f+g*(Ed+Id*f))]}function h5(){return Ma(tg).scale(177.158)}function eg(r,a){var h=Cn(a),f=Cn(r)*h;return[h*mn(r)/f,mn(a)/f]}function d5(){return Ma(eg).scale(144.049).clipAngle(60)}function f5(){var r,a,h,f,g,x,C,T=1,A=0,M=0,Z=1,R=1,U=0,V=null,$=1,it=1,nt=Vu({point:function(z,mt){var Wt=ct([z,mt]);this.stream.point(Wt[0],Wt[1])}}),tt=pd;function lt(){return $=T*Z,it=T*R,x=C=null,ct}function ct(z){var mt=z[0]*$,Wt=z[1]*it;if(U){var ce=Wt*r-mt*a;mt=mt*r+Wt*a,Wt=ce}return[mt+A,Wt+M]}return ct.invert=function(z){var mt=z[0]-A,Wt=z[1]-M;if(U){var ce=Wt*r+mt*a;mt=mt*r-Wt*a,Wt=ce}return[mt/$,Wt/it]},ct.stream=function(z){return x&&C===z?x:x=nt(tt(C=z))},ct.postclip=function(z){return arguments.length?(tt=z,V=h=f=g=null,lt()):tt},ct.clipExtent=function(z){return arguments.length?(tt=null==z?(V=h=f=g=null,pd):S1(V=+z[0][0],h=+z[0][1],f=+z[1][0],g=+z[1][1]),lt()):null==V?null:[[V,h],[f,g]]},ct.scale=function(z){return arguments.length?(T=+z,lt()):T},ct.translate=function(z){return arguments.length?(A=+z[0],M=+z[1],lt()):[A,M]},ct.angle=function(z){return arguments.length?(a=mn(U=z%360*Zn),r=Cn(U),lt()):U*or},ct.reflectX=function(z){return arguments.length?(Z=z?-1:1,lt()):Z<0},ct.reflectY=function(z){return arguments.length?(R=z?-1:1,lt()):R<0},ct.fitExtent=function(z,mt){return Qu(ct,z,mt)},ct.fitSize=function(z,mt){return R1(ct,z,mt)},ct.fitWidth=function(z,mt){return z0(ct,z,mt)},ct.fitHeight=function(z,mt){return K0(ct,z,mt)},ct}function ng(r,a){var h=a*a,f=h*h;return[r*(.8707-.131979*h+f*(f*(.003971*h-.001529*f)-.013791)),a*(1.007226+h*(.015085+f*(.028874*h-.044475-.005916*f)))]}function oy(){return Ma(ng).scale(175.295)}function ig(r,a){return[Cn(a)*mn(r),mn(a)]}function _5(){return Ma(ig).scale(249.5).clipAngle(90.000001)}function rg(r,a){var h=Cn(a),f=1+Cn(r)*h;return[h*mn(r)/f,mn(a)/f]}function p5(){return Ma(rg).scale(250).clipAngle(142)}function og(r,a){return[g1(x0((Ir+a)/2)),-r]}function sc(){var r=ny(og),a=r.center,h=r.rotate;return r.center=function(f){return arguments.length?a([-f[1],f[0]]):[(f=a())[1],-f[0]]},r.rotate=function(f){return arguments.length?h([f[0],f[1],f.length>2?f[2]+90:90]):[(f=h())[0],f[1],f[2]-90]},h([0,0,90]).scale(159.155)}function ay(r,a){return r.parent===a.parent?1:2}function cc(r,a){return r+a.x}function g5(r,a){return Math.max(r,a.y)}function m5(){var r=ay,a=1,h=1,f=!1;function g(x){var C,T=0;x.eachAfter(function(U){var $,V=U.children;V?(U.x=($=V).reduce(cc,0)/$.length,U.y=function($){return 1+$.reduce(g5,0)}(V)):(U.x=C?T+=r(U,C):0,U.y=0,C=U)});var A=function(U){for(var V;V=U.children;)U=V[0];return U}(x),M=function(U){for(var V;V=U.children;)U=V[V.length-1];return U}(x),Z=A.x-r(A,M)/2,R=M.x+r(M,A)/2;return x.eachAfter(f?function(U){U.x=(U.x-x.x)*a,U.y=(x.y-U.y)*h}:function(U){U.x=(U.x-Z)/(R-Z)*a,U.y=(1-(x.y?U.y/x.y:1))*h})}return g.separation=function(x){return arguments.length?(r=x,g):r},g.size=function(x){return arguments.length?(f=!1,a=+x[0],h=+x[1],g):f?null:[a,h]},g.nodeSize=function(x){return arguments.length?(f=!0,a=+x[0],h=+x[1],g):f?[a,h]:null},g}function v5(r){var a=0,h=r.children,f=h&&h.length;if(f)for(;--f>=0;)a+=h[f].value;else a=1;r.value=a}function Fd(r,a){var h,f,g,x,C,T=new Dl(r),A=+r.value&&(T.value=r.value),M=[T];for(null==a&&(a=y5);h=M.pop();)if(A&&(h.value=+h.data.value),(g=a(h.data))&&(C=g.length))for(h.children=new Array(C),x=C-1;x>=0;--x)M.push(f=h.children[x]=new Dl(g[x])),f.parent=h,f.depth=h.depth+1;return T.eachBefore(ag)}function y5(r){return r.children}function x5(r){r.data=r.data.data}function ag(r){var a=0;do{r.height=a}while((r=r.parent)&&r.height<++a)}function Dl(r){this.data=r,this.depth=this.height=0,this.parent=null}tg.invert=function(r,a){for(var h,f=a,g=f*f,x=g*g*g,C=0;C<12&&(x=(g=(f-=h=(f*(Sd+Ad*g+x*(Ed+Id*g))-a)/(Sd+3*Ad*g+x*(7*Ed+9*Id*g)))*f)*g*g,!(ki(h)<Wh));++C);return[V1*r*(Sd+3*Ad*g+x*(7*Ed+9*Id*g))/Cn(f),ta(mn(f)/V1)]},eg.invert=Td(Su),ng.invert=function(r,a){var h,f=a,g=25;do{var x=f*f,C=x*x;f-=h=(f*(1.007226+x*(.015085+C*(.028874*x-.044475-.005916*C)))-a)/(1.007226+x*(.045255+C*(.259866*x-.311325-.005916*11*C)))}while(ki(h)>Yn&&--g>0);return[r/(.8707+(x=f*f)*(x*(x*x*x*(.003971-.001529*x)-.013791)-.131979)),f]},ig.invert=Td(ta),rg.invert=Td(function(r){return 2*Su(r)}),og.invert=function(r,a){return[-a,2*Su(lv(r))-Ir]},Dl.prototype=Fd.prototype={constructor:Dl,count:function(){return this.eachAfter(v5)},each:function(r){var a,h,f,g,x=this,C=[x];do{for(a=C.reverse(),C=[];x=a.pop();)if(r(x),h=x.children)for(f=0,g=h.length;f<g;++f)C.push(h[f])}while(C.length);return this},eachAfter:function(r){for(var a,h,f,g=this,x=[g],C=[];g=x.pop();)if(C.push(g),a=g.children)for(h=0,f=a.length;h<f;++h)x.push(a[h]);for(;g=C.pop();)r(g);return this},eachBefore:function(r){for(var a,h,f=this,g=[f];f=g.pop();)if(r(f),a=f.children)for(h=a.length-1;h>=0;--h)g.push(a[h]);return this},sum:function(r){return this.eachAfter(function(a){for(var h=+r(a.data)||0,f=a.children,g=f&&f.length;--g>=0;)h+=f[g].value;a.value=h})},sort:function(r){return this.eachBefore(function(a){a.children&&a.children.sort(r)})},path:function(r){for(var a=this,h=function(x,C){if(x===C)return x;var T=x.ancestors(),A=C.ancestors(),M=null;for(x=T.pop(),C=A.pop();x===C;)M=x,x=T.pop(),C=A.pop();return M}(a,r),f=[a];a!==h;)f.push(a=a.parent);for(var g=f.length;r!==h;)f.splice(g,0,r),r=r.parent;return f},ancestors:function(){for(var r=this,a=[r];r=r.parent;)a.push(r);return a},descendants:function(){var r=[];return this.each(function(a){r.push(a)}),r},leaves:function(){var r=[];return this.eachBefore(function(a){a.children||r.push(a)}),r},links:function(){var r=this,a=[];return r.each(function(h){h!==r&&a.push({source:h.parent,target:h})}),a},copy:function(){return Fd(this).eachBefore(x5)}};var sy=Array.prototype.slice;function cy(r){for(var a,h,f=0,g=(r=function(C){for(var T,A,M=C.length;M;)A=Math.random()*M--|0,T=C[M],C[M]=C[A],C[A]=T;return C}(sy.call(r))).length,x=[];f<g;)a=r[f],h&&ly(h,a)?++f:(h=j1(x=b5(x,a)),f=0);return h}function b5(r,a){var h,f;if($1(a,r))return[a];for(h=0;h<r.length;++h)if(Q1(a,r[h])&&$1(Md(r[h],a),r))return[r[h],a];for(h=0;h<r.length-1;++h)for(f=h+1;f<r.length;++f)if(Q1(Md(r[h],r[f]),a)&&Q1(Md(r[h],a),r[f])&&Q1(Md(r[f],a),r[h])&&$1(uy(r[h],r[f],a),r))return[r[h],r[f],a];throw new Error}function Q1(r,a){var h=r.r-a.r,f=a.x-r.x,g=a.y-r.y;return h<0||h*h<f*f+g*g}function ly(r,a){var h=r.r-a.r+1e-6,f=a.x-r.x,g=a.y-r.y;return h>0&&h*h>f*f+g*g}function $1(r,a){for(var h=0;h<a.length;++h)if(!ly(r,a[h]))return!1;return!0}function j1(r){switch(r.length){case 1:return{x:(a=r[0]).x,y:a.y,r:a.r};case 2:return Md(r[0],r[1]);case 3:return uy(r[0],r[1],r[2])}var a}function Md(r,a){var h=r.x,f=r.y,g=r.r,x=a.x,C=a.y,T=a.r,A=x-h,M=C-f,Z=T-g,R=Math.sqrt(A*A+M*M);return{x:(h+x+A/R*Z)/2,y:(f+C+M/R*Z)/2,r:(R+g+T)/2}}function uy(r,a,h){var f=r.x,g=r.y,x=r.r,C=a.x,T=a.y,A=a.r,M=h.x,Z=h.y,R=h.r,U=f-C,V=f-M,$=g-T,it=g-Z,nt=A-x,tt=R-x,lt=f*f+g*g-x*x,ct=lt-C*C-T*T+A*A,z=lt-M*M-Z*Z+R*R,mt=V*$-U*it,Wt=($*z-it*ct)/(2*mt)-f,ce=(it*nt-$*tt)/mt,Me=(V*ct-U*z)/(2*mt)-g,Qt=(U*tt-V*nt)/mt,me=ce*ce+Qt*Qt-1,pt=2*(x+Wt*ce+Me*Qt),At=Wt*Wt+Me*Me-x*x,he=-(me?(pt+Math.sqrt(pt*pt-4*me*At))/(2*me):At/pt);return{x:f+Wt+ce*he,y:g+Me+Qt*he,r:he}}function hy(r,a,h){var f,g,x,C,T=r.x-a.x,A=r.y-a.y,M=T*T+A*A;M?(g=a.r+h.r,C=r.r+h.r,(g*=g)>(C*=C)?(f=(M+C-g)/(2*M),x=Math.sqrt(Math.max(0,C/M-f*f)),h.x=r.x-f*T-x*A,h.y=r.y-f*A+x*T):(f=(M+g-C)/(2*M),x=Math.sqrt(Math.max(0,g/M-f*f)),h.x=a.x+f*T-x*A,h.y=a.y+f*A+x*T)):(h.x=a.x+h.r,h.y=a.y)}function dy(r,a){var h=r.r+a.r-1e-6,f=a.x-r.x,g=a.y-r.y;return h>0&&h*h>f*f+g*g}function fy(r){var a=r._,h=r.next._,f=a.r+h.r,g=(a.x*h.r+h.x*a.r)/f,x=(a.y*h.r+h.y
1*a.r)/f;return g*g+x*x}function G1(r){this._=r,this.next=null,this.previous=null}function z1(r){if(!(g=r.length))return 0;var a,h,f,g,x,C,T,A,M,Z,R;if((a=r[0]).x=0,a.y=0,!(g>1))return a.r;if(a.x=-(h=r[1]).r,h.x=a.r,h.y=0,!(g>2))return a.r+h.r;hy(h,a,f=r[2]),a=new G1(a),h=new G1(h),f=new G1(f),a.next=f.previous=h,h.next=a.previous=f,f.next=h.previous=a;t:for(T=3;T<g;++T){hy(a._,h._,f=r[T]),f=new G1(f),A=h.next,M=a.previous,Z=h._.r,R=a._.r;do{if(Z<=R){if(dy(A._,f._)){a.next=h=A,h.previous=a,--T;continue t}Z+=A._.r,A=A.next}else{if(dy(M._,f._)){(a=M).next=h,h.previous=a,--T;continue t}R+=M._.r,M=M.previous}}while(A!==M.next);for(f.previous=a,f.next=h,a.next=h.previous=h=f,x=fy(a);(f=f.next)!==h;)(C=fy(f))<x&&(a=f,x=C);h=a.next}for(a=[h._],f=h;(f=f.next)!==h;)a.push(f._);for(f=cy(a),T=0;T<g;++T)(a=r[T]).x-=f.x,a.y-=f.y;return f.r}function _y(r){return z1(r),r}function K1(r){return null==r?null:W1(r)}function W1(r){if("function"!=typeof r)throw new Error;return r}function Sl(){return 0}function $u(r){return function(){return r}}function w5(r){return Math.sqrt(r.value)}function T5(){var r=null,a=1,h=1,f=Sl;function g(x){return x.x=a/2,x.y=h/2,r?x.eachBefore(py(r)).eachAfter(X1(f,.5)).eachBefore(gy(1)):x.eachBefore(py(w5)).eachAfter(X1(Sl,1)).eachAfter(X1(f,x.r/Math.min(a,h))).eachBefore(gy(Math.min(a,h)/(2*x.r))),x}return g.radius=function(x){return arguments.length?(r=K1(x),g):r},g.size=function(x){return arguments.length?(a=+x[0],h=+x[1],g):[a,h]},g.padding=function(x){return arguments.length?(f="function"==typeof x?x:$u(+x),g):f},g}function py(r){return function(a){a.children||(a.r=Math.max(0,+r(a)||0))}}function X1(r,a){return function(h){if(f=h.children){var f,g,x,C=f.length,T=r(h)*a||0;if(T)for(g=0;g<C;++g)f[g].r+=T;if(x=z1(f),T)for(g=0;g<C;++g)f[g].r-=T;h.r=x+T}}}function gy(r){return function(a){var h=a.parent;a.r*=r,h&&(a.x=h.x+r*a.x,a.y=h.y+r*a.y)}}function my(r){r.x0=Math.round(r.x0),r.y0=Math.round(r.y0),r.x1=Math.round(r.x1),r.y1=Math.round(r.y1)}function Nd(r,a,h,f,g){for(var x,C=r.children,T=-1,A=C.length,M=r.value&&(f-a)/r.value;++T<A;)(x=C[T]).y0=h,x.y1=g,x.x0=a,x.x1=a+=x.value*M}function ju(){var r=1,a=1,h=0,f=!1;function g(x){var T,A,C=x.height+1;return x.x0=x.y0=h,x.x1=r,x.y1=a/C,x.eachBefore((T=a,A=C,function(M){M.children&&Nd(M,M.x0,T*(M.depth+1)/A,M.x1,T*(M.depth+2)/A);var Z=M.x0,R=M.y0,U=M.x1-h,V=M.y1-h;U<Z&&(Z=U=(Z+U)/2),V<R&&(R=V=(R+V)/2),M.x0=Z,M.y0=R,M.x1=U,M.y1=V})),f&&x.eachBefore(my),x}return g.round=function(x){return arguments.length?(f=!!x,g):f},g.size=function(x){return arguments.length?(r=+x[0],a=+x[1],g):[r,a]},g.padding=function(x){return arguments.length?(h=+x,g):h},g}var C5={depth:-1},vy={};function k5(r){return r.id}function yy(r){return r.parentId}function sg(){var r=k5,a=yy;function h(f){var g,x,C,T,A,M,Z,R=f.length,U=new Array(R),V={};for(x=0;x<R;++x)A=U[x]=new Dl(g=f[x]),null!=(M=r(g,x,f))&&(M+="")&&(V[Z="$"+(A.id=M)]=Z in V?vy:A);for(x=0;x<R;++x)if(A=U[x],null!=(M=a(f[x],x,f))&&(M+="")){if(!(T=V["$"+M]))throw new Error("missing: "+M);if(T===vy)throw new Error("ambiguous: "+M);T.children?T.children.push(A):T.children=[A],A.parent=T}else{if(C)throw new Error("multiple roots");C=A}if(!C)throw new Error("no root");if(C.parent=C5,C.eachBefore(function($){$.depth=$.parent.depth+1,--R}).eachBefore(ag),C.parent=null,R>0)throw new Error("cycle");return C}return h.id=function(f){return arguments.length?(r=W1(f),h):r},h.parentId=function(f){return arguments.length?(a=W1(f),h):a},h}function xy(r,a){return r.parent===a.parent?1:2}function t_(r){var a=r.children;return a?a[0]:r.t}function e_(r){var a=r.children;return a?a[a.length-1]:r.t}function D5(r,a,h){var f=h/(a.i-r.i);a.c-=f,a.s+=h,r.c+=f,a.z+=h,a.m+=h}function S5(r,a,h){return r.a.parent===a.parent?r.a:h}function n_(r,a){this._=r,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=a}function A5(){var r=xy,a=1,h=1,f=null;function g(A){var M=function(tt){for(var lt,ct,z,mt,Wt,ce=new n_(tt,0),Me=[ce];lt=Me.pop();)if(z=lt._.children)for(lt.children=new Array(Wt=z.length),mt=Wt-1;mt>=0;
vendor: 6,156 bytes, line 1
1--mt)Me.push(ct=lt.children[mt]=new n_(z[mt],mt)),ct.parent=lt;return(ce.parent=new n_(null,0)).children=[ce],ce}(A);if(M.eachAfter(x),M.parent.m=-M.z,M.eachBefore(C),f)A.eachBefore(T);else{var Z=A,R=A,U=A;A.eachBefore(function(tt){tt.x<Z.x&&(Z=tt),tt.x>R.x&&(R=tt),tt.depth>U.depth&&(U=tt)});var V=Z===R?1:r(Z,R)/2,$=V-Z.x,it=a/(R.x+V+$),nt=h/(U.depth||1);A.eachBefore(function(tt){tt.x=(tt.x+$)*it,tt.y=tt.depth*nt})}return A}function x(A){var M=A.children,Z=A.parent.children,R=A.i?Z[A.i-1]:null;if(M){!function(V){for(var $,it=0,nt=0,tt=V.children,lt=tt.length;--lt>=0;)($=tt[lt]).z+=it,$.m+=it,it+=$.s+(nt+=$.c)}(A);var U=(M[0].z+M[M.length-1].z)/2;R?(A.z=R.z+r(A._,R._),A.m=A.z-U):A.z=U}else R&&(A.z=R.z+r(A._,R._));A.parent.A=function(V,$,it){if($){for(var nt,tt=V,lt=V,ct=$,z=tt.parent.children[0],mt=tt.m,Wt=lt.m,ce=ct.m,Me=z.m;ct=e_(ct),tt=t_(tt),ct&&tt;)z=t_(z),(lt=e_(lt)).a=V,(nt=ct.z+ce-tt.z-mt+r(ct._,tt._))>0&&(D5(S5(ct,V,it),V,nt),mt+=nt,Wt+=nt),ce+=ct.m,mt+=tt.m,Me+=z.m,Wt+=lt.m;ct&&!e_(lt)&&(lt.t=ct,lt.m+=ce-Wt),tt&&!t_(z)&&(z.t=tt,z.m+=mt-Me,it=V)}return it}(A,R,A.parent.A||Z[0])}function C(A){A._.x=A.z+A.parent.m,A.m+=A.parent.m}function T(A){A.x*=a,A.y=A.depth*h}return g.separation=function(A){return arguments.length?(r=A,g):r},g.size=function(A){return arguments.length?(f=!1,a=+A[0],h=+A[1],g):f?null:[a,h]},g.nodeSize=function(A){return arguments.length?(f=!0,a=+A[0],h=+A[1],g):f?[a,h]:null},g}function i_(r,a,h,f,g){for(var x,C=r.children,T=-1,A=C.length,M=r.value&&(g-h)/r.value;++T<A;)(x=C[T]).x0=a,x.x1=f,x.y0=h,x.y1=h+=x.value*M}n_.prototype=Object.create(Dl.prototype);var by=(1+Math.sqrt(5))/2;function wy(r,a,h,f,g,x){for(var C,T,A,M,Z,R,U,V,$,it,nt,tt=[],lt=a.children,ct=0,z=0,mt=lt.length,Wt=a.value;ct<mt;){A=g-h,M=x-f;do{Z=lt[z++].value}while(!Z&&z<mt);for(R=U=Z,nt=Z*Z*(it=Math.max(M/A,A/M)/(Wt*r)),$=Math.max(U/nt,nt/R);z<mt;++z){if(Z+=T=lt[z].value,T<R&&(R=T),T>U&&(U=T),nt=Z*Z*it,(V=Math.max(U/nt,nt/R))>$){Z-=T;break}$=V}tt.push(C={value:Z,dice:A<M,children:lt.slice(ct,z)}),C.dice?Nd(C,h,f,g,Wt?f+=M*Z/Wt:x):i_(C,h,f,Wt?h+=A*Z/Wt:g,x),Wt-=Z,ct=z}return tt}const Ty=function r(a){function h(f,g,x,C,T){wy(a,f,g,x,C,T)}return h.ratio=function(f){return r((f=+f)>1?f:1)},h}(by);function E5(){var r=Ty,a=!1,h=1,f=1,g=[0],x=Sl,C=Sl,T=Sl,A=Sl,M=Sl;function Z(U){return U.x0=U.y0=0,U.x1=h,U.y1=f,U.eachBefore(R),g=[0],a&&U.eachBefore(my),U}function R(U){var V=g[U.depth],$=U.x0+V,it=U.y0+V,nt=U.x1-V,tt=U.y1-V;nt<$&&($=nt=($+nt)/2),tt<it&&(it=tt=(it+tt)/2),U.x0=$,U.y0=it,U.x1=nt,U.y1=tt,U.children&&(V=g[U.depth+1]=x(U)/2,$+=M(U)-V,it+=C(U)-V,(nt-=T(U)-V)<$&&($=nt=($+nt)/2),(tt-=A(U)-V)<it&&(it=tt=(it+tt)/2),r(U,$,it,nt,tt))}return Z.round=function(U){return arguments.length?(a=!!U,Z):a},Z.size=function(U){return arguments.length?(h=+U[0],f=+U[1],Z):[h,f]},Z.tile=function(U){return arguments.length?(r=W1(U),Z):r},Z.padding=function(U){return arguments.length?Z.paddingInner(U).paddingOuter(U):Z.paddingInner()},Z.paddingInner=function(U){return arguments.length?(x="function"==typeof U?U:$u(+U),Z):x},Z.paddingOuter=function(U){return arguments.length?Z.paddingTop(U).paddingRight(U).paddingBottom(U).paddingLeft(U):Z.paddingTop()},Z.paddingTop=function(U){return arguments.length?(C="function"==typeof U?U:$u(+U),Z):C},Z.paddingRight=function(U){return arguments.length?(T="function"==typeof U?U:$u(+U),Z):T},Z.paddingBottom=function(U){return arguments.length?(A="function"==typeof U?U:$u(+U),Z):A},Z.paddingLeft=function(U){return arguments.length?(M="function"==typeof U?U:$u(+U),Z):M},Z}function I5(r,a,h,f,g){var x,C,T=r.children,A=T.length,M=new Array(A+1);for(M[0]=C=x=0;x<A;++x)M[x+1]=C+=T[x].value;!function Z(R,U,V,$,it,nt,tt){if(R>=U-1){var lt=T[R];return lt.x0=$,lt.y0=it,lt.x1=nt,void(lt.y1=tt)}for(var ct=M[R],z=V/2+ct,mt=R+1,Wt=U-1;mt<Wt;){var ce=mt+Wt>>>1;M[ce]<z?mt=ce+1:Wt=ce}z-M[mt-1]<M[mt]-z&&R+1<mt&&--mt;var Me=M[mt]-ct,Qt=V-Me;if(nt-$>tt-it){var me=($*Qt+nt*Me)/V;Z(R,mt,Me,$,it,me,tt),Z(mt,U,Qt,me,it,nt,tt)}else{var pt=(it*Qt+tt*Me)/V;Z(R,mt,Me,$,it,nt,pt),Z(mt,U,Qt,$,pt,nt,tt)}}(0,A,r.value,a,h,f,g)}function F5(r,a,h,f,g){(1&r.depth?i_:Nd)(r,a,h,f,g)}const M5=function r(a){function h(f,g,x,C,T){if((A=f._squarify)&&A.ratio===a)for(var A,M,Z,R,U,V=-1,$=A.length,it=f.value;++V<$;){for(Z=(M=A[V]).children,R=M.value=0,U=Z.length;R<U;++R)M.value+=Z[R].value;M.dice?Nd(M,g,x,C,x+=(T-x)*M.value/it):i_(M,g,x,g+=(C-g)*M.value/it,T),it-=M.value}else f._squarify=A=wy(a,f,g,x,C,T),A.ratio=a}return h.ratio=function(f){return r((f=+f)>1?f:1)},h}(by);function N5(r){var a=r.length;return function(h){return r[Math.max(0,Math.min(a-1,Math.floor(h*a)))]}}function Cy(r,a){var h=ca(+r,+a);return function(f){var g=h(f);return g-360*Math.floor(g/360)}}function ky(r,a){return r=+r,a=+a,function(h){return Math.round(r*(1-h)+a*h)}}var Ld=Math.SQRT2;function Dy(r){return((r=Math.exp(r))+1/r)/2}function Sy(r,a){var h,f,g=r[0],x=r[1],C=r[2],M=a[2],Z=a[0]-g,R=a[1]-x,U=Z*Z+R*R;if(U<1e-12)f=Math.log(M/C)/Ld,h=function(lt){return[g+lt*Z,x+lt*R,C*Math.exp(Ld*lt*f)]};else{var V=Math.sqrt(U),$=(M*M-C*C+4*U)/(2*C*2*V),it=(M*M-C*C-4*U)/(2*M*2*V),nt=Math.log(Math.sqrt($*$+1)-$),tt=Math.log(Math.sqrt(it*it+1)-it);f=(tt-nt)/Ld,h=function(lt){var ct,ce,z=lt*f,mt=Dy(nt),Wt=C/(2*V)*(mt*(ct=Ld*z+nt,((ct=Math.exp(2*ct))-1)/(ct+1))-(ce=nt,((ce=Math.exp(ce))-1/ce)/2));return[g+Wt*Z,x+Wt*R,C*mt/Dy(Ld*z+nt)]}}return h.duration=1e3*f,h}function Ay(r){return function(a,h){var f=r((a=Cc(a)).h,(h=Cc(h)).h),g=Jr(a.s,h.s),x=Jr(a.l,h.l),C=Jr(a.opacity,h.opacity);return function(T){return a.h=f(T),a.s=g(T),a.l=x(T),a.opacity=C(T),a+""}}}const L5=Ay(ca);var U5=Ay(Jr);function Ey(r,a){var h=Jr((r=pu(r)).l,(a=pu(a)).l),f=Jr(r.a,a.a),g=Jr(r.b,a.b),x=Jr(r.opacity,a.opacity);return function(C){return r.l=h(C),r.a=f(C),r.b=g(C),r.opacity=x(C),r+""}}function Iy(r){return function(a,h){var f=r((a=Vh(a)).h,(h=Vh(h)).h),g=Jr(a.c,h.c),x=Jr(a.l,h.l),C=Jr(a.opacity,h.opacity);return function(T){return a.h=f(T),a.c=g(T),a.l=x(T),a.opacity=C(T),a+""}}}const Z5=Iy(ca);var O5=Iy(Jr);function Qa(r){return function a(h){function f(g,x){var C=r((g=cs(g)).h,(x=cs(x)).h),T=Jr(g.s,x.s),A=Jr(g.l,x.l),M=Jr(g.opacity,x.op
1acity);return function(Z){return g.h=C(Z),g.s=T(Z),g.l=A(Math.pow(Z,h)),g.opacity=M(Z),g+""}}return h=+h,f.gamma=a,f}(1)}const Fy=Qa(ca);var Jc=Qa(Jr);function B5(r,a){for(var h=0,f=a.length-1,g=a[0],x=new Array(f<0?0:f);h<f;)x[h]=r(g,g=a[++h]);return function(C){var T=Math.max(0,Math.min(f-1,Math.floor(C*=f)));return x[T](C-T)}}function My(r,a){for(var h=new Array(a),f=0;f<a;++f)h[f]=r(f/(a-1));return h}function r_(r){for(var a,h=-1,f=r.length,g=r[f-1],x=0;++h<f;)x+=(a=g)[1]*(g=r[h])[0]-a[0]*g[1];return x/2}function P5(r){for(var a,h,f=-1,g=r.length,x=0,C=0,T=r[g-1],A=0;++f<g;)A+=h=(a=T)[0]*(T=r[f])[1]-T[0]*a[1],x+=(a[0]+T[0])*h,C+=(a[1]+T[1])*h;return[x/(A*=3),C/A]}function R5(r,a,h){return(a[0]-r[0])*(h[1]-r[1])-(a[1]-r[1])*(h[0]-r[0])}function Ny(r,a){return r[0]-a[0]||r[1]-a[1]}function Ly(r){for(var a=r.length,h=[0,1],f=2,g=2;g<a;++g){for(;f>1&&R5(r[h[f-2]],r[h[f-1]],r[g])<=0;)--f;h[f++]=g}return h.slice(0,f)}function o_(r){if((h=r.length)<3)return null;var a,h,f=new Array(h),g=new Array(h);for(a=0;a<h;++a)f[a]=[+r[a][0],+r[a][1],a];for(f.sort(Ny),a=0;a<h;++a)g[a]=[f[a][0],-f[a][1]];var x=Ly(f),C=Ly(g),T=C[0]===x[0],A=C[C.length-1]===x[x.length-1],M=[];for(a=x.length-1;a>=0;--a)M.push(r[f[x[a]][2]]);for(a=+T;a<C.length-A;++a)M.push(r[f[C[a]][2]]);return M}function Ud(r,a){for(var h,f,g=r.length,x=r[g-1],C=a[0],T=a[1],A=x[0],M=x[1],Z=!1,R=0;R<g;++R)h=(x=r[R])[0],(f=x[1])>T!=M>T&&C<(A-h)*(T-f)/(M-f)+h&&(Z=!Z),A=h,M=f;return Z}function Gu(r){for(var a,h,f=-1,g=r.length,x=r[g-1],C=x[0],T=x[1],A=0;++f<g;)a=C,h=T,a-=C=(x=r[f])[0],h-=T=x[1],A+=Math.sqrt(a*a+h*h);return A}function Ns(){return Math.random()}const Zd=function r(a){function h(f,g){return f=null==f?0:+f,g=null==g?1:+g,1===arguments.length?(g=f,f=0):g-=f,function(){return a()*g+f}}return h.source=r,h}(Ns),Od=function r(a){function h(f,g){var x,C;return f=null==f?0:+f,g=null==g?1:+g,function(){var T;if(null!=x)T=x,x=null;else do{x=2*a()-1,T=2*a()-1,C=x*x+T*T}while(!C||C>1);return f+g*T*Math.sqrt(-2*Math.log(C)/C)}}return h.source=r,h}(Ns),Al=function r(a){function h(){var f=Od.source(a).apply(this,arguments);return function(){return Math.exp(f())}}return h.source=r,h}(Ns),Bd=function r(a){function h(f){return function(){for(var g=0,x=0;x<f;++x)g+=a();return g}}return h.source=r,h}(Ns),Pd=function r(a){function h(f){var g=Bd.source(a)(f);return function(){return g()/f}}return h.source=r,h}(Ns),Uy=function r(a){function h(f){return function(){return-Math.log(1-a())/f}}return h.source=r,h}(Ns);function Na(r,a){switch(arguments.length){case 0:break;case 1:this.range(r);break;default:this.range(a).domain(r)}return this}function lc(r,a){switch(arguments.length){case 0:break;case 1:this.interpolator(r);break;default:this.interpolator(a).domain(r)}return this}var Rd=Array.prototype,Jd=Rd.map,Hc=Rd.slice,cg={name:"implicit"};function Hd(){var r=Da(),a=[],h=[],f=cg;function g(x){var C=x+"",T=r.get(C);if(!T){if(f!==cg)return f;r.set(C,T=a.push(x))}return h[(T-1)%h.length]}return g.domain=function(x){if(!arguments.length)return a.slice();a=[],r=Da();for(var C,T,A=-1,M=x.length;++A<M;)r.has(T=(C=x[A])+"")||r.set(T,a.push(C));return g},g.range=function(x){return arguments.length?(h=Hc.call(x),g):h.slice()},g.unknown=function(x){return arguments.length?(f=x,g):f},g.copy=function(){return Hd(a,h).unknown(f)},Na.apply(g,arguments),g}function a_(){var r,a,h=Hd().unknown(void 0),f=h.domain,g=h.range,x=[0,1],C=!1,T=0,A=0,M=.5;function Z(){var R=f().length,U=x[1]<x[0],V=x[U-0],$=x[1-U];r=($-V)/Math.max(1,R-T+2*A),C&&(r=Math.floor(r)),V+=($-V-r*(R-T))*M,a=r*(1-T),C&&(V=Math.round(V),a=Math.round(a));var it=ft(R).map(function(nt){return V+r*nt});return g(U?it.reverse():it)}return delete h.unknown,h.domain=function(R){return arguments.length?(f(R),Z()):f()},h.range=function(R){return arguments.length?(x=[+R[0],+R[1]],Z()):x.slice()},h.rangeRound=function(R){return x=[+R[0],+R[1]],C=!0,Z()},h.bandwidth=function(){return a},h.step=function(){return r},h.round=function(R){return arguments.length?(C=!!R,Z()):C},h.padding=function(R){return arguments.length?(T=Math.min(1,A=+R),Z()):T},h.paddingInner=function(R){return arguments.length?(T=Math.min(1,R),Z()):T},h.paddingOuter=function(R){return arguments.length?(A=+R,Z()):A},h.align=function(R){return arguments.length?(M=Math.max(0,Math.min(1,R)),Z()):M}
1,h.copy=function(){return a_(f(),x).round(C).paddingInner(T).paddingOuter(A).align(M)},Na.apply(Z(),arguments)}function Zy(r){var a=r.copy;return r.padding=r.paddingOuter,delete r.paddingInner,delete r.paddingOuter,r.copy=function(){return Zy(a())},r}function J5(){return Zy(a_.apply(null,arguments).paddingInner(1))}function zu(r){return+r}var s_=[0,1];function fr(r){return r}function La(r,a){return(a-=r=+r)?function(f){return(f-r)/a}:(h=isNaN(a)?NaN:.5,function(){return h});var h}function uc(r){var a,h=r[0],f=r[r.length-1];return h>f&&(a=h,h=f,f=a),function(g){return Math.max(h,Math.min(f,g))}}function c_(r,a,h){var f=r[0],g=r[1],x=a[0],C=a[1];return g<f?(f=La(g,f),x=h(C,x)):(f=La(f,g),x=h(x,C)),function(T){return x(f(T))}}function Oy(r,a,h){var f=Math.min(r.length,a.length)-1,g=new Array(f),x=new Array(f),C=-1;for(r[f]<r[0]&&(r=r.slice().reverse(),a=a.slice().reverse());++C<f;)g[C]=La(r[C],r[C+1]),x[C]=h(a[C],a[C+1]);return function(T){var A=F(r,T,1,f)-1;return x[A](g[A](T))}}function El(r,a){return a.domain(r.domain()).range(r.range()).interpolate(r.interpolate()).clamp(r.clamp()).unknown(r.unknown())}function Yd(){var r,a,h,f,g,x,C=s_,T=s_,A=ol,M=fr;function Z(){return f=Math.min(C.length,T.length)>2?Oy:c_,g=x=null,R}function R(U){return isNaN(U=+U)?h:(g||(g=f(C.map(r),T,A)))(r(M(U)))}return R.invert=function(U){return M(a((x||(x=f(T,C.map(r),la)))(U)))},R.domain=function(U){return arguments.length?(C=Jd.call(U,zu),M===fr||(M=uc(C)),Z()):C.slice()},R.range=function(U){return arguments.length?(T=Hc.call(U),Z()):T.slice()},R.rangeRound=function(U){return T=Hc.call(U),A=ky,Z()},R.clamp=function(U){return arguments.length?(M=U?uc(C):fr,R):M!==fr},R.interpolate=function(U){return arguments.length?(A=U,Z()):A},R.unknown=function(U){return arguments.length?(h=U,R):h},function(U,V){return r=U,a=V,Z()}}function lg(r,a){return Yd()(r,a)}function By(r,a,h,f){var g,x=Ct(r,a,h);switch((f=zh(f??",f")).type){case"s":var C=Math.max(Math.abs(r),Math.abs(a));return null!=f.precision||isNaN(g=cv(x,C))||(f.precision=g),g0(f,C);case"":case"e":case"g":case"p":case"r":null!=f.precision||isNaN(g=pl(x,Math.max(Math.abs(r),Math.abs(a))))||(f.precision=g-("e"===f.type));break;case"f":case"%":null!=f.precision||isNaN(g=sv(x))||(f.precision=g-2*("%"===f.type))}return h1(f)}function Il(r){var a=r.domain;return r.ticks=function(h){var f=a();return Yt(f[0],f[f.length-1],h??10)},r.tickFormat=function(h,f){var g=a();return By(g[0],g[g.length-1],h??10,f)},r.nice=function(h){null==h&&(h=10);var f,g=a(),x=0,C=g.length-1,T=g[x],A=g[C];return A<T&&(f=T,T=A,A=f,f=x,x=C,C=f),(f=yt(T,A,h))>0?f=yt(T=Math.floor(T/f)*f,A=Math.ceil(A/f)*f,h):f<0&&(f=yt(T=Math.ceil(T*f)/f,A=Math.floor(A*f)/f,h)),f>0?(g[x]=Math.floor(T/f)*f,g[C]=Math.ceil(A/f)*f,a(g)):f<0&&(g[x]=Math.ceil(T*f)/f,g[C]=Math.floor(A*f)/f,a(g)),r},r}function Py(){var r=lg(fr,fr);return r.copy=function(){return El(r,Py())},Na.apply(r,arguments),Il(r)}function Ry(r){var a;function h(f){return isNaN(f=+f)?a:f}return h.invert=h,h.domain=h.range=function(f){return arguments.length?(r=Jd.call(f,zu),h):r.slice()},h.unknown=function(f){return arguments.length?(a=f,h):a},h.copy=function(){return Ry(r).unknown(a)},r=arguments.length?Jd.call(r,zu):[0,1],Il(h)}function l_(r,a){var h,f=0,g=(r=r.slice()).length-1,x=r[f],C=r[g];return C<x&&(h=f,f=g,g=h,h=x,x=C,C=h),r[f]=a.floor(x),r[g]=a.ceil(C),r}function u_(r){return Math.log(r)}function ug(r){return Math.exp(r)}function qd(r){return-Math.log(-r)}function h_(r){return-Math.exp(-r)}function d_(r){return isFinite(r)?+("1e"+r):r<0?0:r}function Fl(r){return function(a){return-r(-a)}}function Ml(r){var a,h,f=r(u_,ug),g=f.domain,x=10;function C(){return a=(T=x)===Math.E?Math.log:10===T&&Math.log10||2===T&&Math.log2||(T=Math.log(T),function(A){return Math.log(A)/T}),h=function(T){return 10===T?d_:T===Math.E?Math.exp:function(A){return Math.pow(T,A)}}(x),g()[0]<0?(a=Fl(a),h=Fl(h),r(qd,h_)):r(u_,ug),f;var T}return f.base=function(T){return arguments.length?(x=+T,C()):x},f.domain=function(T){return arguments.length?(g(T),C()):g()},f.ticks=function(T){var A,M=g(),Z=M[0],R=M[M.length-1];(A=R<Z)&&(it=Z,Z=R,R=it);var U,V,$,it=a(Z),nt=a(R),tt=null==T?10:+T,lt=[];if(!(x%1)&&nt-it<tt){if(it=Math.round(it)-1,nt=Math.round(nt)+1,Z>0){for(;it<nt;++it)for(V=1,U=h(it);V<x;++V)if(!(($=U*V)<Z)){if($>R)break;lt.push($)}}else for(;it<nt;++it)for(V=x-1,U=h(it);V>=1;--V)if(!(($=U*V)<Z)){if($>R)break;lt.push($)}}else lt=Yt(it,nt,Math.min(nt-it,tt)).map(h);return A?lt.reverse():lt},f.tickFormat=function(T,A){if(null==A&&(A=10===x?".0e":","),"function"!=typeof A&&(A=h1(A)),T===1/0)return A;null==T&&(T=10);var M=Math.max(1,x*T/f.ticks().length);return function(Z){var R=Z/h(Math.round(a(Z)));return R*x<x-.5&&(R*=x),R<=M?A(Z):""}},f.nice=function(){return g(l_(g(),{floor:function(T){return h(Math.floor(a(T)))},ceil:function(T){return h(Math.ceil(a(T)))}}))},f}function fs(){var r=Ml(Yd()).domain([1,10]);return r.copy=function(){return El(r,fs()).base(r.base())},Na.apply(r,arguments),r}function Jy(r){return function(a){return Math.sign(a)*Math.log1p(Math.abs(a/r))}}function Hy(r){return function(a){return Math.sign(a)*Math.expm1(Math.abs(a)
1)*r}}function hg(r){var a=1,h=r(Jy(a),Hy(a));return h.constant=function(f){return arguments.length?r(Jy(a=+f),Hy(a)):a},Il(h)}function Yy(){var r=hg(Yd());return r.copy=function(){return El(r,Yy()).constant(r.constant())},Na.apply(r,arguments)}function qy(r){return function(a){return a<0?-Math.pow(-a,r):Math.pow(a,r)}}function H5(r){return r<0?-Math.sqrt(-r):Math.sqrt(r)}function Y5(r){return r<0?-r*r:r*r}function f_(r){var a=r(fr,fr),h=1;function f(){return 1===h?r(fr,fr):.5===h?r(H5,Y5):r(qy(h),qy(1/h))}return a.exponent=function(g){return arguments.length?(h=+g,f()):h},Il(a)}function __(){var r=f_(Yd());return r.copy=function(){return El(r,__()).exponent(r.exponent())},Na.apply(r,arguments),r}function Vy(){return __.apply(null,arguments).exponent(.5)}function Ku(){var r,a=[],h=[],f=[];function g(){var C=0,T=Math.max(1,h.length);for(f=new Array(T-1);++C<T;)f[C-1]=ke(a,C/T);return x}function x(C){return isNaN(C=+C)?r:h[F(f,C)]}return x.invertExtent=function(C){var T=h.indexOf(C);return T<0?[NaN,NaN]:[T>0?f[T-1]:a[0],T<f.length?f[T]:a[a.length-1]]},x.domain=function(C){if(!arguments.length)return a.slice();a=[];for(var T,A=0,M=C.length;A<M;++A)null==(T=C[A])||isNaN(T=+T)||a.push(T);return a.sort(c),g()},x.range=function(C){return arguments.length?(h=Hc.call(C),g()):h.slice()},x.unknown=function(C){return arguments.length?(r=C,x):r},x.quantiles=function(){return f.slice()},x.copy=function(){return Ku().domain(a).range(h).unknown(r)},Na.apply(x,arguments)}function dg(){var r,a=0,h=1,f=1,g=[.5],x=[0,1];function C(A){return A<=A?x[F(g,A,0,f)]:r}function T(){var A=-1;for(g=new Array(f);++A<f;)g[A]=((A+1)*h-(A-f)*a)/(f+1);return C}return C.domain=function(A){return arguments.length?(a=+A[0],h=+A[1],T()):[a,h]},C.range=function(A){return arguments.length?(f=(x=Hc.call(A)).length-1,T()):x.slice()},C.invertExtent=function(A){var M=x.indexOf(A);return M<0?[NaN,NaN]:M<1?[a,g[0]]:M>=f?[g[f-1],h]:[g[M-1],g[M]]},C.unknown=function(A){return arguments.length&&(r=A),C},C.thresholds=function(){return g.slice()},C.copy=function(){return dg().domain([a,h]).range(x).unknown(r)},Na.apply(Il(C),arguments)}function Vd(){var r,a=[.5],h=[0,1],f=1;function g(x){return x<=x?h[F(a,x,0,f)]:r}return g.domain=function(x){return arguments.length?(a=Hc.call(x),f=Math.min(a.length,h.length-1),g):a.slice()},g.range=function(x){return arguments.length?(h=Hc.call(x),f=Math.min(a.length,h.length-1),g):h.slice()},g.invertExtent=function(x){var C=h.indexOf(x);return[a[C-1],a[C]]},g.unknown=function(x){return arguments.length?(r=x,g):r},g.copy=function(){return Vd().domain(a).range(h).unknown(r)},Na.apply(g,arguments)}var fg=new Date,Wu=new Date;function Yi(r,a,h,f){function g(x){return r(x=0===arguments.length?new Date:new Date(+x)),x}return g.floor=function(x){return r(x=new Date(+x)),x},g.ceil=function(x){return r(x=new Date(x-1)),a(x,1),r(x),x},g.round=function(x){var C=g(x),T=g.ceil(x);return x-C<T-x?C:T},g.offset=function(x,C){return a(x=new Date(+x),null==C?1:Math.floor(C)),x},g.range=function(x,C,T){var A,M=[];if(x=g.ceil(x),T=null==T?1:Math.floor(T),!(x<C&&T>0))return M;do{M.push(A=new Date(+x)),a(x,T),r(x)}while(A<x&&x<C);return M},g.filter=function(x){return Yi(function(C){if(C>=C)for(;r(C),!x(C);)C.setTime(C-1)},function(C,T){if(C>=C)if(T<0)for(;++T<=0;)for(;a(C,-1),!x(C););else for(;--T>=0;)for(;a(C,1),!x(C););})},h&&(g.count=function(x,C){return fg.setTime(+x),Wu.setTime(+C),r(fg),r(Wu),Math.floor(h(fg,Wu))},g.every=function(x){return x=Math.floor(x),isFinite(x)&&x>0?x>1?g.filter(f?function(C){return f(C)%x==0}:function(C){return g.count(0,C)%x==0}):g:null}),g}var p_=Yi(function(r){r.setMonth(0,1),r.setHours(0,0,0,0)},function(r,a){r.setFullYear(r.getFullYear()+a)},function(r,a){return a.getFullYear()-r.getFullYear()},function(r){return r.getFullYear()});p_.every=function(r){return isFinite(r=Math.floor(r))&&r>0?Yi(function(a){a.setFullYear(Math.floor(a.getFullYear()/r)*r),a.setMonth(0,1),a.setHours(0,0,0,0)},function(a,h){a.setFullYear(a.getFullYear()+h*r)}):null};const Yc=p_;var _g=p_.range,pg=Yi(function(r){r.setDate(1),r.setHours(0,0,0,0)},function(r,a){r.setMonth(r.getMonth()+a)},function(r,a){return a.getMonth()-r.getMonth()+12*(a.getFullYear()-r.getFullYear())},function(r){return r.getMonth()});const gg=pg;var Ls=pg.range,qc=6e4,Qd=36e5,vg=6048e5;function Vc(r){return Yi(function(a){a.setDate(a.getDate()-(a.getDay()+7-r)%7),a.setHours(0,0,0,0)},function(a,h){a.setDate(a.getDate()+7*h)}
1,function(a,h){return(h-a-(h.getTimezoneOffset()-a.getTimezoneOffset())*qc)/vg})}var Nl=Vc(0),Ll=Vc(1),Qy=Vc(2),yg=Vc(3),Ul=Vc(4),$y=Vc(5),jy=Vc(6),Gy=Nl.range,q5=Ll.range,V5=Qy.range,Q5=yg.range,$5=Ul.range,j5=$y.range,G5=jy.range,zy=Yi(function(r){r.setHours(0,0,0,0)},function(r,a){r.setDate(r.getDate()+a)},function(r,a){return(a-r-(a.getTimezoneOffset()-r.getTimezoneOffset())*qc)/864e5},function(r){return r.getDate()-1});const g_=zy;var z5=zy.range,Ky=Yi(function(r){r.setTime(r-r.getMilliseconds()-1e3*r.getSeconds()-r.getMinutes()*qc)},function(r,a){r.setTime(+r+a*Qd)},function(r,a){return(a-r)/Qd},function(r){return r.getHours()});const Wy=Ky;var K5=Ky.range,Xy=Yi(function(r){r.setTime(r-r.getMilliseconds()-1e3*r.getSeconds())},function(r,a){r.setTime(+r+a*qc)},function(r,a){return(a-r)/qc},function(r){return r.getMinutes()});const xg=Xy;var W5=Xy.range,tx=Yi(function(r){r.setTime(r-r.getMilliseconds())},function(r,a){r.setTime(+r+1e3*a)},function(r,a){return(a-r)/1e3},function(r){return r.getUTCSeconds()});const m_=tx;var ex=tx.range,v_=Yi(function(){},function(r,a){r.setTime(+r+a)},function(r,a){return a-r});v_.every=function(r){return r=Math.floor(r),isFinite(r)&&r>0?r>1?Yi(function(a){a.setTime(Math.floor(a/r)*r)},function(a,h){a.setTime(+a+h*r)},function(a,h){return(h-a)/r}):v_:null};const $a=v_;var bg=v_.range;function ea(r){return Yi(function(a){a.setUTCDate(a.getUTCDate()-(a.getUTCDay()+7-r)%7),a.setUTCHours(0,0,0,0)},function(a,h){a.setUTCDate(a.getUTCDate()+7*h)},function(a,h){return(h-a)/vg})}var $d=ea(0),jd=ea(1),Zl=ea(2),wg=ea(3),Qc=ea(4),Tg=ea(5),nx=ea(6),y_=$d.range,ix=jd.range,Cg=Zl.range,X5=wg.range,kg=Qc.range,Gd=Tg.range,$c=nx.range,Dg=Yi(function(r){r.setUTCHours(0,0,0,0)},function(r,a){r.setUTCDate(r.getUTCDate()+a)},function(r,a){return(a-r)/864e5},function(r){return r.getUTCDate()-1});const Ol=Dg;var Sg=Dg.range,Ag=Yi(function(r){r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},function(r,a){r.setUTCFullYear(r.getUTCFullYear()+a)},function(r,a){return a.getUTCFullYear()-r.getUTCFullYear()},function(r){return r.getUTCFullYear()});Ag.every=function(r){return isFinite(r=Math.floor(r))&&r>0?Yi(function(a){a.setUTCFullYear(Math.floor(a.getUTCFullYear()/r)*r),a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0)},function(a,h){a.setUTCFullYear(a.getUTCFullYear()+h*r)}):null};const Us=Ag;var th=Ag.range;function x_(r){if(0<=r.y&&r.y<100){var a=new Date(-1,r.m,r.d,r.H,r.M,r.S,r.L);return a.setFullYear(r.y),a}return new Date(r.y,r.m,r.d,r.H,r.M,r.S,r.L)}function pa(r){if(0<=r.y&&r.y<100){var a=new Date(Date.UTC(-1,r.m,r.d,r.H,r.M,r.S,r.L));return a.setUTCFullYear(r.y),a}return new Date(Date.UTC(r.y,r.m,r.d,r.H,r.M,r.S,r.L))}function Sr(r,a,h){return{y:r,m:a,d:h,H:0,M:0,S:0,L:0}}function Bl(r){var a=r.dateTime,h=r.date,f=r.time,g=r.periods,x=r.days,C=r.shortDays,T=r.months,A=r.shortMonths,M=Kd(g),Z=Wd(g),R=Kd(x),U=Wd(x),V=Kd(C),$=Wd(C),it=Kd(T),nt=Wd(T),tt=Kd(A),lt=Wd(A),ct={a:function(Qt){return C[Qt.getDay()]},A:function(Qt){return x[Qt.getDay()]},b:function(Qt){return A[Qt.getMonth()]},B:function(Qt){return T[Qt.getMonth()]},c:null,d:cx,e:cx,f:Zg,g:Pg,G:ih,H:aT,I:Ug,j:sT,L:lx,m:cT,M:lT,p:function(Qt){return g[+(Qt.getHours()>=12)]},q:function(Qt){return 1+~~(Qt.getMonth()/3)},Q:Yg,s:uo,S:Og,u:uT,U:hT,V:dT,w:fT,W:nh,x:null,X:null,y:Bg,Y:Rg,Z:_T,"%":Hg},z={a:function(Qt){return C[Qt.getUTCDay()]},A:function(Qt){return x[Qt.getUTCDay()]},b:function(Qt){return A[Qt.getUTCMonth()]},B:function(Qt){return T[Qt.getUTCMonth()]},c:null,d:ux,e:ux,f:dx,g:_s,G:Gc,H:pT,I:gT,j:hx,L:Ua,m:fx,M:Jg,p:function(Qt){return g[+(Qt.getUTCHours()>=12)]},q:function(Qt){return 1+~~(Qt.getUTCMonth()/3)},Q:Yg,s:uo,S:T_,u:mT,U:C_,V:vT,w:px,W:gx,x:null,X:null,y:k_,Y:rh,Z:mx,"%":Hg},mt={a:function(Qt,me,pt){var At=V.exec(me.slice(pt));return At?(Qt.w=$[At[0].toLowerCase()],pt+At[0].length):-1},A:function(Qt,me,pt){var At=R.exec(me.slice(pt));return At?(Qt.w=U[At[0].toLowerCase()],pt+At[0].length):-1},b:function(Qt,me,pt){var At=tt.exec(me.slice(pt));return At?(Qt.m=lt[At[0].toLowerCase()],pt+At[0].length):-1},B:function(Qt,me,pt){var At=it.exec(me.slice(pt));return At?(Qt.m=nt[At[0].toLowerCase()],pt+At[0].length):-1},c:function(Qt,me,pt){return Me(Qt,a,me,pt)},d:Ng,e:Ng,f:Si,g:Pl,G:Mg,H:Xd,I:Xd,j:Rl,L:Fo,m:ax,M:oT,p:function(Qt,me,pt){var At=M.exec(me.slice(pt));return At?(Qt.p=Z[At[0].toLowerCase()],pt+At[0].length):-1},q:rT,Q:Ho,s:Lg,S:sx,u:b_,U:rx,V:nT,w:eT,W:ox,x:function(Qt,me,pt){return Me(Qt,h,me,pt)},X:function(Qt,me,pt){return Me(Qt,f,me,pt)},y:Pl,Y:Mg,Z:iT,"%":Le};function Wt(Qt,me){return function(pt){var At,he,ne,fe=[],qe=-1,en=0,Fn=Qt.length;
vendor: 6,720 bytes, line 1
1for(pt instanceof Date||(pt=new Date(+pt));++qe<Fn;)37===Qt.charCodeAt(qe)&&(fe.push(Qt.slice(en,qe)),null!=(he=zd[At=Qt.charAt(++qe)])?At=Qt.charAt(++qe):he="e"===At?" ":"0",(ne=me[At])&&(At=ne(pt,he)),fe.push(At),en=qe+1);return fe.push(Qt.slice(en,qe)),fe.join("")}}function ce(Qt,me){return function(pt){var At,he,ne=Sr(1900,void 0,1);if(Me(ne,Qt,pt+="",0)!=pt.length)return null;if("Q"in ne)return new Date(ne.Q);if("s"in ne)return new Date(1e3*ne.s+("L"in ne?ne.L:0));if(me&&!("Z"in ne)&&(ne.Z=0),"p"in ne&&(ne.H=ne.H%12+12*ne.p),void 0===ne.m&&(ne.m="q"in ne?ne.q:0),"V"in ne){if(ne.V<1||ne.V>53)return null;"w"in ne||(ne.w=1),"Z"in ne?(he=(At=pa(Sr(ne.y,0,1))).getUTCDay(),At=he>4||0===he?jd.ceil(At):jd(At),At=Ol.offset(At,7*(ne.V-1)),ne.y=At.getUTCFullYear(),ne.m=At.getUTCMonth(),ne.d=At.getUTCDate()+(ne.w+6)%7):(he=(At=x_(Sr(ne.y,0,1))).getDay(),At=he>4||0===he?Ll.ceil(At):Ll(At),At=g_.offset(At,7*(ne.V-1)),ne.y=At.getFullYear(),ne.m=At.getMonth(),ne.d=At.getDate()+(ne.w+6)%7)}else("W"in ne||"U"in ne)&&("w"in ne||(ne.w="u"in ne?ne.u%7:"W"in ne?1:0),he="Z"in ne?pa(Sr(ne.y,0,1)).getUTCDay():x_(Sr(ne.y,0,1)).getDay(),ne.m=0,ne.d="W"in ne?(ne.w+6)%7+7*ne.W-(he+5)%7:ne.w+7*ne.U-(he+6)%7);return"Z"in ne?(ne.H+=ne.Z/100|0,ne.M+=ne.Z%100,pa(ne)):x_(ne)}}function Me(Qt,me,pt,At){for(var he,ne,fe=0,qe=me.length,en=pt.length;fe<qe;){if(At>=en)return-1;if(37===(he=me.charCodeAt(fe++))){if(he=me.charAt(fe++),!(ne=mt[he in zd?me.charAt(fe++):he])||(At=ne(Qt,pt,At))<0)return-1}else if(he!=pt.charCodeAt(At++))return-1}return At}return ct.x=Wt(h,ct),ct.X=Wt(f,ct),ct.c=Wt(a,ct),z.x=Wt(h,z),z.X=Wt(f,z),z.c=Wt(a,z),{format:function(Qt){var me=Wt(Qt+="",ct);return me.toString=function(){return Qt},me},parse:function(Qt){var me=ce(Qt+="",!1);return me.toString=function(){return Qt},me},utcFormat:function(Qt){var me=Wt(Qt+="",z);return me.toString=function(){return Qt},me},utcParse:function(Qt){var me=ce(Qt+="",!0);return me.toString=function(){return Qt},me}}}var jc,Eg,ja,Zs,eh,zd={"-":"",_:" ",0:"0"},Xr=/^\s*\d+/,Ig=/^%/,tT=/[\\^$*+?|[\]().{}]/g;function Ri(r,a,h){var f=r<0?"-":"",g=(f?-r:r)+"",x=g.length;return f+(x<h?new Array(h-x+1).join(a)+g:g)}function Fg(r){return r.replace(tT,"\\$&")}function Kd(r){return new RegExp("^(?:"+r.map(Fg).join("|")+")","i")}function Wd(r){for(var a={},h=-1,f=r.length;++h<f;)a[r[h].toLowerCase()]=h;return a}function eT(r,a,h){var f=Xr.exec(a.slice(h,h+1));return f?(r.w=+f[0],h+f[0].length):-1}function b_(r,a,h){var f=Xr.exec(a.slice(h,h+1));return f?(r.u=+f[0],h+f[0].length):-1}function rx(r,a,h){var f=Xr.exec(a.slice(h,h+2));return f?(r.U=+f[0],h+f[0].length):-1}function nT(r,a,h){var f=Xr.exec(a.slice(h,h+2));return f?(r.V=+f[0],h+f[0].length):-1}function ox(r,a,h){var f=Xr.exec(a.slice(h,h+2));return f?(r.W=+f[0],h+f[0].length):-1}function Mg(r,a,h){var f=Xr.exec(a.slice(h,h+4));return f?(r.y=+f[0],h+f[0].length):-1}function Pl(r,a,h){var f=Xr.exec(a.slice(h,h+2));return f?(r.y=+f[0]+(+f[0]>68?1900:2e3),h+f[0].length):-1}function iT(r,a,h){var f=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(a.slice(h,h+6));return f?(r.Z=f[1]?0:-(f[2]+(f[3]||"00")),h+f[0].length):-1}function rT(r,a,h){var f=Xr.exec(a.slice(h,h+1));return f?(r.q=3*f[0]-3,h+f[0].length):-1}function ax(r,a,h){var f=Xr.exec(a.slice(h,h+2));return f?(r.m=f[0]-1,h+f[0].length):-1}function Ng(r,a,h){var f=Xr.exec(a.slice(h,h+2));return f?(r.d=+f[0],h+f[0].length):-1}function Rl(r,a,h){var f=Xr.exec(a.slice(h,h+3));return f?(r.m=0,r.d=+f[0],h+f[0].length):-1}function Xd(r,a,h){var f=Xr.exec(a.slice(h,h+2));return f?(r.H=+f[0],h+f[0].length):-1}function oT(r,a,h){var f=Xr.exec(a.slice(h,h+2));return f?(r.M=+f[0],h+f[0].length):-1}function sx(r,a,h){var f=Xr.exec(a.slice(h,h+2));return f?(r.S=+f[0],h+f[0].length):-1}function Fo(r,a,h){var f=Xr.exec(a.slice(h,h+3));return f?(r.L=+f[0],h+f[0].length):-1}function Si(r,a,h){var f=Xr.exec(a.slice(h,h+6));return f?(r.L=Math.floor(f[0]/1e3),h+f[0].length):-1}function Le(r,a,h){var f=Ig.exec(a.slice(h,h+1));return f?h+f[0].length:-1}function Ho(r,a,h){var f=Xr.exec(a.slice(h));return f?(r.Q=+f[0],h+f[0].length):-1}function Lg(r,a,h){var f=Xr.exec(a.slice(h));return f?(r.s=+f[0],h+f[0].length):-1}function cx(r,a){return Ri(r.getDate(),a,2)}function aT(r,a){return Ri(r.getHours(),a,2)}function Ug(r,a){return Ri(r.getHours()%12||12,a,2)}function sT(r,a){return Ri(1+g_.count(Yc(r),r),a,3)}function lx(r,a){return Ri(r.getMilliseconds(),a,3)}function Zg(r,a){return lx(r,a)+"000"}function cT(r,a){return Ri(r.getMonth()+1,a,2)}function lT(r,a){return Ri(r.getMinutes(),a,2)}function Og(r,a){return Ri(r.getSeconds(),a,2)}function uT(r){var a=r.getDay();return 0===a?7:a}function hT(r,a){return Ri(Nl.count(Yc(r)-1,r),a,2)}function w_(r){var a=r.getDay();return a>=4||0===a?Ul(r):Ul.ceil(r)}function dT(r,a){return r=w_(r),Ri(Ul.count(Yc(r),r)+(4===Yc(r).getDay()),a,2)}function fT(r){return r.getDay()}function nh(r,a){return Ri(Ll.count(Yc(r)-1,r),a,2)}function Bg(r,a){return Ri(r.getFullYear()%100,a,2)}function Pg(r,a){return Ri((r=w_(r)).getFullYear()%100,a,2)}function Rg(r,a){return Ri(r.getFullYear()%1e4,a,4)}function ih(r,a){var h=r.getDay();return Ri((r=h>=4||0===h?Ul(r):Ul.ceil(r)).getFullYear()%1e4,a,4)}function _T(r){var a=r.getTimezoneOffset();return(a>0?"-":(a*=-1,"+"))+Ri(a/60|0,"0",2)+Ri(a%60,"0",2)}function ux(r,a){return Ri(r.getUTCDate(),a,2)}function pT(r,a){return Ri(r.getUTCHours(),a,2)}function gT(r,a){return Ri(r.getUTCHours()%12||12,a,2)}function hx(r,a){return Ri(1+Ol.count(Us(r),r),a,3)}function Ua(r,a){return Ri(r.getUTCMilliseconds(),a,3)}function dx(r,a){return Ua(r,a)+"000"}function fx(r,a){return Ri(r.getUTCMonth()+1,a,2)}function Jg(r,a){return Ri(r.getUTCMinutes(),a,2)}function T_(r,a){return Ri(r.getUTCSeconds(),a,2)}function mT(r){var a=r.getUTCDay();return 0===a?7:a}function C_(r,a){return Ri($d.count(Us(r)-1,r),a,2)}function _x(r){var a=r.getUTCDay();return a>=4||0===a?Qc(r):Qc.ceil(r)}function vT(r,a){return r=_x(r),Ri(Qc.count(Us(r),r)+(4===Us(r).getUTCDay()),a,2)}function px(r){return r.getUTCDay()}function gx(r,a){return Ri(jd.count(Us(r)-1,r),a,2)}function k_(r,a){return Ri(r.getUTCFullYear()%100,a,2)}function _s(r,a){return Ri((r=_x(r)).getUTCFullYear()%100,a,2)}function rh(r,a){return Ri(r.getUTCFullYear()%1e4,a,4)}function Gc(r,a){var h=r.getUTCDay();return Ri((r=h>=4||0===h?Qc(r):Qc.ceil(r)).getUTCFullYear()%1e4,a,4)}function mx(){return"+0000"}function Hg(){return"%"}function Yg(r){return+r}function uo(r){return Math.floor(+r/1e3)}function vx(r){return jc=Bl(r),Eg=jc.format,ja=jc.parse,Zs=jc.utcFormat,eh=jc.utcParse,jc}vx({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var qg=31536e6;function yT(r){return new Date(r)}function D_(r){return r instanceof Date?+r:+new Date(+r)}function tf(r,a,h,f,g,x,C,T,A){var M=lg(fr,fr),Z=M.invert,R=M.domain,U=A(".%L"),V=A(":%S"),$=A("%I:%M"),it=A("%I %p"),nt=A("%a %d"),tt=A("%b %d"),lt=A("%B"),ct=A("%Y"),z=[[C,1,1e3],[C,5,5e3],[C,15,15e3],[C,30,3e4],[x,1,6e4],[x,5,3e5],[x,15,9e5],[x,30,18e5],[g,1,36e5],[g,3,108e5],[g,6,216e5],[g,12,432e5],[f,1,864e5],[f,2,1728e5],[h,1,6048e5],[a,1,2592e6],[a,3,7776e6],[r,1,qg]];function mt(ce){return(C(ce)<ce?U:x(ce)<ce?V:g(ce)<ce?$:f(ce)<ce?it:a(ce)<ce?h(ce)<ce?nt:tt:r(ce)<ce?lt:ct)(ce)}function Wt(ce,Me,Qt,me){if(null==ce&&(ce=10),"number"==typeof ce){var pt=Math.abs(Qt-Me)/ce,At=y(function(he){return he[2]}).right(z,pt);At===z.length?(me=Ct(Me/qg,Qt/qg,ce),ce=r):At?(me=(At=z[pt/z[At-1][2]<z[At][2]/pt?At-1:At])[1],ce=At[0]):(me=Math.max(Ct(Me,Qt,ce),1),ce=T)}return null==me?ce:ce.every(me)}return M.invert=function(ce){return new Date(Z(ce))},M.domain=function(ce){return arguments.length?R(Jd.call(ce,D_)):R().map(yT)},M.ticks=function(ce,Me){var Qt,me=R(),pt=me[0],At=me[me.length-1],he=At<pt;return he&&(Qt=pt,pt=At,At=Qt),Qt=(Qt=Wt(ce,pt,At,Me))?Qt.range(pt,At+1):[],he?Qt.reverse():Qt},M.tickFormat=function(ce,Me){return null==Me?mt:A(Me)},M.nice=function(ce,Me){var Qt=R();return(ce=Wt(ce,Qt[0],Qt[Qt.length-1],Me))?R(l_(Qt,ce)):M},M.copy=function(){return El(M,tf(r,a,h,f,g,x,C,T,A))},M}function yx(){return Na.apply(tf(Yc,gg,Nl,g_,Wy,xg,m_,$a,Eg).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var ga=Yi(function(r){r.setUTCDate(1),r.setUTCHours(0,0,0,0)},function(r,a){r.setUTCMonth(r.getUTCMonth()+a)},function(r,a){return a.getUTCMonth()-r.getUTCMonth()+12*(a.getUTCFullYear()-r.getUTCFullYear())},function(r){return r.getUTCMonth()});const ef=ga;var xx=ga.range,ri=Yi(function(r){r.setUTCMinutes(0,0,0)},function(r,a){r.setTime(+r+a*Qd)},function(r,a){return(a-r)/Qd},function(r){return r.getUTCHours()});const S_=ri;var bx=ri.range,oh=Yi(function(r){r.setUTCSeconds(0,0)},function(r,a){r.setTime(+r+a*qc)},function(r,a){return(a-r)/qc},function(r){return r.getUTCMinutes()});const ho=oh;var nf=oh.range;function A_(){return Na.apply(tf(Us,ef,$d,Ol,S_,ho,m_,$a,Zs).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Jl(){var r,a,h,f,g,x=0,C=1,T=fr,A=!1;function M(Z){return isNaN(Z=+Z)?g:T(0===h?.5:(Z=(f(Z)-r)*h,A?Math.max(0,Math.min(1,Z)):Z))}return M.domain=function(Z){return arguments.length?(r=f(x=+Z[0]),a=f(C=+Z[1]),h=r===a?0:1/(a-r),M):[x,C]},M.clamp=function(Z){return arguments.length?(A=!!Z,M):A},M.interpolator=function(Z){return arguments.length?(T=Z,M):T},M.unknown=function(Z){return arguments.length?(g=Z,M):g},function(Z){return f=Z,r=Z(x),a=Z(C),h=r===a?0:1/(a-r),M}}function hc(r,a){return a.domain(r.domain()).interpolator(r.interpolator()).clamp(r.clamp()).unknown(r.unknown())}function oe(){var r=Il(Jl()(fr));return r.copy=function(){return hc(r,oe())},lc.apply(r,arguments)}function wx(){var r=Ml(Jl()).domain([1,10]);return r.copy=function(){return hc(r,wx()).base(r.base())},lc.apply(r,arguments)}function Vg(){var r=hg(Jl());return r.copy=function(){return hc(r,Vg()).constant(r.constant())},lc.apply(r,arguments)}function ah(){var r=f_(Jl());return r.copy=function(){return hc(r,ah()).exponent(r.exponent())},lc.apply(r,arguments)}function Qg(){return ah.apply(null,arguments).exponent(.5)}function E_(){var r=[],a=fr;function h(f){if(!isNaN(f=+f))return a((F(r,f)-1)/(r.length-1))}return h.domain=function(f){if(!arguments.length)return r.slice();r=[];for(var g,x=0,C=f.length;x<C;++x)null==(g=f[x])||isNaN(g=+g)||r.push(g);return r.sort(c),h},h.interpolator=function(f){return arguments.length?(a=f,h):a},h.copy=function(){return E_(a).domain(r)},lc.apply(h,arguments)}function sh(){var r,a,h,f,g,x,C,T=0,A=.5,M=1,Z=fr,R=!1;function U(V){return isNaN(V=+V)?C:(V=.5+((V=+x(V))-a)*(V<a?f:g),Z(R?Math.max(0,Math.min(1,V)):V))}return U.domain=function(V){return arguments.length?(r=x(T=+V[0]),a=x(A=+V[1]),h=x(M=+V[2]),f=r===a?0:.5/(a-r),g=a===h?0:.5/(h-a),U):[T,A,M]},U.clamp=function(V){return arguments.length?(R=!!V,U):R},U.interpolator=function(V){return arguments.length?(Z=V,U):Z},U.unknown=function(V){return arguments.length?(C=V,U):C},function(V){return x=V,r=V(T),a=V(A),h=V(M),f=r===a?0:.5/(a-r),g=a===h?0:.5/(h-a),U}}function to(){var r=Il(sh()(fr));return r.copy=function(){return hc(r,to())},lc.apply(r,arguments)}function $g(){var r=Ml(sh()).domain([.1,1,10]);return r.copy=function(){return hc(r,$g()).base(r.base())},lc.apply(r,arguments)}function rf(){var r=hg(sh());return r.copy=function(){return hc(r,rf()).constant(r.constant())},lc.apply(r,arguments)}function Hl(){var r=f_(sh());return r.copy=function(){return hc(r,Hl()).exponent(r.exponent())},lc.apply(r,arguments)}function of(){return Hl.apply(null,arguments).exponent(.5)}function ni(r){for(var a=r.length/6|0,h=new Array(a),f=0;f<a;)h[f]="#"+r.slice(6*f,6*++f);return h}const I_=ni("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Tx=ni("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),jg=ni("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),xT=ni("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),af=ni("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Cx=ni("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),kx=ni("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Os=ni("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),bT=ni("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),sf=ni("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function sr(r){return ru(r[r.length-1])}var eo=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(ni);const ch=sr(eo);var Dx=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(ni);
1const Sx=sr(Dx);var F_=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(ni);const wT=sr(F_);var Ax=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(ni);const TT=sr(Ax);var Gg=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(ni);const lh=sr(Gg);var M_=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(ni);const CT=sr(M_);var N_=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(ni);const L_=sr(N_);var cf=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(ni);const Ex=sr(cf);var Ix=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(ni);const kT=sr(Ix);var Fx=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(ni);const zg=sr(Fx);var na=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(ni);const ma=sr(na);var no=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(ni);const dc=sr(no);var Ii=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(ni);const ps=sr(Ii);var Kg=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(ni);const U_=sr(Kg);var Mx=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(ni);const DT=sr(Mx);var lf=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(ni);const Nx=sr(lf);var Lx=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(ni);const ST=sr(Lx);var Ux=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(ni);const AT=sr(Ux);var Zx=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(ni);const ET=sr(Zx);var Wg=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(ni);const IT=sr(Wg);var uh=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(ni);const Z_=sr(uh);var Bs=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ec
1ae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(ni);const Yl=sr(Bs);var uf=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(ni);const Ox=sr(uf);var Xg=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(ni);const hh=sr(Xg);var tm=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(ni);const FT=sr(tm);var em=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(ni);const O_=sr(em);var bo=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(ni);const MT=sr(bo);function B_(r){return r=Math.max(0,Math.min(1,r)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-r*(35.34-r*(2381.73-r*(6402.7-r*(7024.72-2710.57*r)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+r*(170.73+r*(52.82-r*(131.46-r*(176.58-67.37*r)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+r*(442.36-r*(2482.43-r*(6167.24-r*(6614.94-2475.67*r)))))))+")"}const NT=Jc(cs(300,.5,0),cs(-240,.5,1));var Bx=Jc(cs(-100,.75,.35),cs(80,1.5,.8)),LT=Jc(cs(260,.75,.35),cs(80,1.5,.8)),dh=cs();function Px(r){(r<0||r>1)&&(r-=Math.floor(r));var a=Math.abs(r-.5);return dh.h=360*r-100,dh.s=1.5-1.5*a,dh.l=.8-.9*a,dh+""}var hf=vo(),df=Math.PI/3,nm=2*Math.PI/3;function im(r){var a;return r=(.5-r)*Math.PI,hf.r=255*(a=Math.sin(r))*a,hf.g=255*(a=Math.sin(r+df))*a,hf.b=255*(a=Math.sin(r+nm))*a,hf+""}function Rx(r){return r=Math.max(0,Math.min(1,r)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+r*(1172.33-r*(10793.56-r*(33300.12-r*(38394.49-14825.05*r)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+r*(557.33+r*(1225.33-r*(3574.96-r*(1073.77+707.56*r)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+r*(3211.1-r*(15327.97-r*(27814-r*(22569.18-6838.66*r)))))))+")"}function Mo(r){var a=r.length;return function(h){return r[Math.max(0,Math.min(a-1,Math.floor(h*a)))]}}const UT=Mo(ni("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc
15c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var Jx=Mo(ni("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),fc=Mo(ni("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),zc=Mo(ni("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));
vendor: 5,425 bytes, line 1
1function cr(r){return Li(Ur(r).call(document.documentElement))}var Hx=0;function rm(){return new P_}function P_(){this._="@"+(++Hx).toString(36)}function ZT(r){return"string"==typeof r?new Pn([document.querySelectorAll(r)],[document.documentElement]):new Pn([r??[]],ko)}function om(r,a){null==a&&(a=Uh().touches);for(var h=0,f=a?a.length:0,g=new Array(f);h<f;++h)g[h]=au(r,a[h]);return g}function mi(r){return function(){return r}}P_.prototype=rm.prototype={constructor:P_,get:function(r){for(var a=this._;!(a in r);)if(!(r=r.parentNode))return;return r[a]},set:function(r,a){return r[this._]=a},remove:function(r){return this._ in r&&delete r[this._]},toString:function(){return this._}};var Ps=Math.abs,fo=Math.atan2,ql=Math.cos,Yx=Math.max,Kc=Math.min,qi=Math.sin,Ga=Math.sqrt,Hr=1e-12,No=Math.PI,Vl=No/2,Rs=2*No;function am(r){return r>1?0:r<-1?No:Math.acos(r)}function R_(r){return r>=1?Vl:r<=-1?-Vl:Math.asin(r)}function J_(r){return r.innerRadius}function H_(r){return r.outerRadius}function OT(r){return r.startAngle}function sm(r){return r.endAngle}function qx(r){return r&&r.padAngle}function BT(r,a,h,f,g,x,C,T){var A=h-r,M=f-a,Z=C-g,R=T-x,U=R*A-Z*M;if(!(U*U<Hr))return[r+(U=(Z*(a-x)-R*(r-g))/U)*A,a+U*M]}function fh(r,a,h,f,g,x,C){var T=r-h,A=a-f,M=(C?x:-x)/Ga(T*T+A*A),Z=M*A,R=-M*T,U=r+Z,V=a+R,$=h+Z,it=f+R,nt=(U+$)/2,tt=(V+it)/2,lt=$-U,ct=it-V,z=lt*lt+ct*ct,mt=g-x,Wt=U*it-$*V,ce=(ct<0?-1:1)*Ga(Yx(0,mt*mt*z-Wt*Wt)),Me=(Wt*ct-lt*ce)/z,Qt=(-Wt*lt-ct*ce)/z,me=(Wt*ct+lt*ce)/z,pt=(-Wt*lt+ct*ce)/z,At=Me-nt,he=Qt-tt,ne=me-nt,fe=pt-tt;return At*At+he*he>ne*ne+fe*fe&&(Me=me,Qt=pt),{cx:Me,cy:Qt,x01:-Z,y01:-R,x11:Me*(g/mt-1),y11:Qt*(g/mt-1)}}function Vx(){var r=J_,a=H_,h=mi(0),f=null,g=OT,x=sm,C=qx,T=null;function A(){var M,Z,R=+r.apply(this,arguments),U=+a.apply(this,arguments),V=g.apply(this,arguments)-Vl,$=x.apply(this,arguments)-Vl,it=Ps($-V),nt=$>V;if(T||(T=M=ul()),U<R&&(Z=U,U=R,R=Z),U>Hr)if(it>Rs-Hr)T.moveTo(U*ql(V),U*qi(V)),T.arc(0,0,U,V,$,!nt),R>Hr&&(T.moveTo(R*ql($),R*qi($)),T.arc(0,0,R,$,V,nt));else{var tt,lt,ct=V,z=$,mt=V,Wt=$,ce=it,Me=it,Qt=C.apply(this,arguments)/2,me=Qt>Hr&&(f?+f.apply(this,arguments):Ga(R*R+U*U)),pt=Kc(Ps(U-R)/2,+h.apply(this,arguments)),At=pt,he=pt;if(me>Hr){var ne=R_(me/R*qi(Qt)),fe=R_(me/U*qi(Qt));(ce-=2*ne)>Hr?(mt+=ne*=nt?1:-1,Wt-=ne):(ce=0,mt=Wt=(V+$)/2),(Me-=2*fe)>Hr?(ct+=fe*=nt?1:-1,z-=fe):(Me=0,ct=z=(V+$)/2)}var qe=U*ql(ct),en=U*qi(ct),Fn=R*ql(Wt),oi=R*qi(Wt);if(pt>Hr){var hi,fn=U*ql(z),Fi=U*qi(z),On=R*ql(mt),yn=R*qi(mt);if(it<No&&(hi=BT(qe,en,On,yn,fn,Fi,Fn,oi))){var wi=qe-hi[0],ro=en-hi[1],Vr=fn-hi[0],$s=Fi-hi[1],xc=1/qi(am((wi*Vr+ro*$s)/(Ga(wi*wi+ro*ro)*Ga(Vr*Vr+$s*$s)))/2),Ef=Ga(hi[0]*hi[0]+hi[1]*hi[1]);At=Kc(pt,(R-Ef)/(xc-1)),he=Kc(pt,(U-Ef)/(xc+1))}}Me>Hr?he>Hr?(tt=fh(On,yn,qe,en,U,he,nt),lt=fh(fn,Fi,Fn,oi,U,he,nt),T.moveTo(tt.cx+tt.x01,tt.cy+tt.y01),he<pt?T.arc(tt.cx,tt.cy,he,fo(tt.y01,tt.x01),fo(lt.y01,lt.x01),!nt):(T.arc(tt.cx,tt.cy,he,fo(tt.y01,tt.x01),fo(tt.y11,tt.x11),!nt),T.arc(0,0,U,fo(tt.cy+tt.y11,tt.cx+tt.x11),fo(lt.cy+lt.y11,lt.cx+lt.x11),!nt),T.arc(lt.cx,lt.cy,he,fo(lt.y11,lt.x11),fo(lt.y01,lt.x01),!nt))):(T.moveTo(qe,en),T.arc(0,0,U,ct,z,!nt)):T.moveTo(qe,en),R>Hr&&ce>Hr?At>Hr?(tt=fh(Fn,oi,fn,Fi,R,-At,nt),lt=fh(qe,en,On,yn,R,-At,nt),T.lineTo(tt.cx+tt.x01,tt.cy+tt.y01),At<pt?T.arc(tt.cx,tt.cy,At,fo(tt.y01,tt.x01),fo(lt.y01,lt.x01),!nt):(T.arc(tt.cx,tt.cy,At,fo(tt.y01,tt.x01),fo(tt.y11,tt.x11),!nt),T.arc(0,0,R,fo(tt.cy+tt.y11,tt.cx+tt.x11),fo(lt.cy+lt.y11,lt.cx+lt.x11),nt),T.arc(lt.cx,lt.cy,At,fo(lt.y11,lt.x11),fo(lt.y01,lt.x01),!nt))):T.arc(0,0,R,Wt,mt,nt):T.lineTo(Fn,oi)}else T.moveTo(0,0);if(T.closePath(),M)return T=null,M+""||null}return A.centroid=function(){var M=(+r.apply(this,arguments)+ +a.apply(this,arguments))/2,Z=(+g.apply(this,arguments)+ +x.apply(this,arguments))/2-No/2;return[ql(Z)*M,qi(Z)*M]},A.innerRadius=function(M){return arguments.length?(r="function"==typeof M?M:mi(+M),A):r},A.outerRadius=function(M){return arguments.length?(a="function"==typeof M?M:mi(+M),A):a},A.cornerRadius=function(M){return arguments.length?(h="function"==typeof M?M:mi(+M),A):h},A.padRadius=function(M){return arguments.length?(f=null==M?null:"function"==typeof M?M:mi(+M),A):f},A.startAngle=function(M){return arguments.length?(g="function"==typeof M?M:mi(+M),A):g},A.endAngle=function(M){return arguments.length?(x="function"==typeof M?M:mi(+M),A):x},A.padAngle=function(M){return arguments.length?(C="function"==typeof M?M:mi(+M),A):C},A.context=function(M){return arguments.length?(T=M??null,A):T},A}function Qx(r){this._context=r}function ff(r){return new Qx(r)}function Y_(r){return r[0]}function ui(r){return r[1]}function cm(){var r=Y_,a=ui,h=mi(!0),f=null,g=ff,x=null;function C(T){var A,M,Z,R=T.length,U=!1;for(null==f&&(x=g(Z=ul())),A=0;A<=R;++A)!(A<R&&h(M=T[A],A,T))===U&&((U=!U)?x.lineStart():x.lineEnd()),U&&x.point(+r(M,A,T),+a(M,A,T));if(Z)return x=null,Z+""||null}return C.x=function(T){return arguments.length?(r="function"==typeof T?T:mi(+T),C):r},C.y=function(T){return arguments.length?(a="function"==typeof T?T:mi(+T),C):a},C.defined=function(T){return arguments.length?(h="function"==typeof T?T:mi(!!T),C):h},C.curve=function(T){return arguments.length?(g=T,null!=f&&(x=g(f)),C):g},C.context=function(T){return arguments.length?(null==T?f=x=null:x=g(f=T),C):f},C}function _f(){var r=Y_,a=null,h=mi(0),f=ui,g=mi(!0),x=null,C=ff,T=null;function A(Z){var R,U,V,$,it,nt=Z.length,tt=!1,lt=new Array(nt),
vendor: 5,348 bytes, line 1
1ct=new Array(nt);for(null==x&&(T=C(it=ul())),R=0;R<=nt;++R){if(!(R<nt&&g($=Z[R],R,Z))===tt)if(tt=!tt)U=R,T.areaStart(),T.lineStart();else{for(T.lineEnd(),T.lineStart(),V=R-1;V>=U;--V)T.point(lt[V],ct[V]);T.lineEnd(),T.areaEnd()}tt&&(lt[R]=+r($,R,Z),ct[R]=+h($,R,Z),T.point(a?+a($,R,Z):lt[R],f?+f($,R,Z):ct[R]))}if(it)return T=null,it+""||null}function M(){return cm().defined(g).curve(C).context(x)}return A.x=function(Z){return arguments.length?(r="function"==typeof Z?Z:mi(+Z),a=null,A):r},A.x0=function(Z){return arguments.length?(r="function"==typeof Z?Z:mi(+Z),A):r},A.x1=function(Z){return arguments.length?(a=null==Z?null:"function"==typeof Z?Z:mi(+Z),A):a},A.y=function(Z){return arguments.length?(h="function"==typeof Z?Z:mi(+Z),f=null,A):h},A.y0=function(Z){return arguments.length?(h="function"==typeof Z?Z:mi(+Z),A):h},A.y1=function(Z){return arguments.length?(f=null==Z?null:"function"==typeof Z?Z:mi(+Z),A):f},A.lineX0=A.lineY0=function(){return M().x(r).y(h)},A.lineY1=function(){return M().x(r).y(f)},A.lineX1=function(){return M().x(a).y(h)},A.defined=function(Z){return arguments.length?(g="function"==typeof Z?Z:mi(!!Z),A):g},A.curve=function(Z){return arguments.length?(C=Z,null!=x&&(T=C(x)),A):C},A.context=function(Z){return arguments.length?(null==Z?x=T=null:T=C(x=Z),A):x},A}function PT(r,a){return a<r?-1:a>r?1:a>=r?0:NaN}function Za(r){return r}function RT(){var r=Za,a=PT,h=null,f=mi(0),g=mi(Rs),x=mi(0);function C(T){var A,M,Z,R,U,V=T.length,$=0,it=new Array(V),nt=new Array(V),tt=+f.apply(this,arguments),lt=Math.min(Rs,Math.max(-Rs,g.apply(this,arguments)-tt)),ct=Math.min(Math.abs(lt)/V,x.apply(this,arguments)),z=ct*(lt<0?-1:1);for(A=0;A<V;++A)(U=nt[it[A]=A]=+r(T[A],A,T))>0&&($+=U);for(null!=a?it.sort(function(mt,Wt){return a(nt[mt],nt[Wt])}):null!=h&&it.sort(function(mt,Wt){return h(T[mt],T[Wt])}),A=0,Z=$?(lt-V*z)/$:0;A<V;++A,tt=R)R=tt+((U=nt[M=it[A]])>0?U*Z:0)+z,nt[M]={data:T[M],index:A,value:U,startAngle:tt,endAngle:R,padAngle:ct};return nt}return C.value=function(T){return arguments.length?(r="function"==typeof T?T:mi(+T),C):r},C.sortValues=function(T){return arguments.length?(a=T,h=null,C):a},C.sort=function(T){return arguments.length?(h=T,a=null,C):h},C.startAngle=function(T){return arguments.length?(f="function"==typeof T?T:mi(+T),C):f},C.endAngle=function(T){return arguments.length?(g="function"==typeof T?T:mi(+T),C):g},C.padAngle=function(T){return arguments.length?(x="function"==typeof T?T:mi(+T),C):x},C}Qx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);break;case 1:this._point=2;default:this._context.lineTo(r,a)}}};var lm=um(ff);function $x(r){this._curve=r}function um(r){function a(h){return new $x(r(h))}return a._curve=r,a}function pf(r){var a=r.curve;return r.angle=r.x,delete r.x,r.radius=r.y,delete r.y,r.curve=function(h){return arguments.length?a(um(h)):a()._curve},r}function jx(){return pf(cm().curve(lm))}function Gx(){var r=_f().curve(lm),a=r.curve,h=r.lineX0,f=r.lineX1,g=r.lineY0,x=r.lineY1;return r.angle=r.x,delete r.x,r.startAngle=r.x0,delete r.x0,r.endAngle=r.x1,delete r.x1,r.radius=r.y,delete r.y,r.innerRadius=r.y0,delete r.y0,r.outerRadius=r.y1,delete r.y1,r.lineStartAngle=function(){return pf(h())},delete r.lineX0,r.lineEndAngle=function(){return pf(f())},delete r.lineX1,r.lineInnerRadius=function(){return pf(g())},delete r.lineY0,r.lineOuterRadius=function(){return pf(x())},delete r.lineY1,r.curve=function(C){return arguments.length?a(um(C)):a()._curve},r}function gf(r,a){return[(a=+a)*Math.cos(r-=Math.PI/2),a*Math.sin(r)]}$x.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(r,a){this._curve.point(a*Math.sin(r),a*-Math.cos(r))}};var hm=Array.prototype.slice;function JT(r){return r.source}function HT(r){return r.target}function dm(r){var a=JT,h=HT,f=Y_,g=ui,x=null;function C(){var T,A=hm.call(arguments),M=a.apply(this,A),Z=h.apply(this,A);if(x||(x=T=ul()),r(x,+f.apply(this,(A[0]=M,A)),+g.apply(this,A),+f.apply(this,(A[0]=Z,A)),+g.apply(this,A)),T)return x=null,T+""||null}return C.source=function(T){return arguments.length?(a=T,C):a},C.target=function(T){return arguments.length?(h=T,C):h},C.x=function(T){return arguments.length?(f="function"==typeof T?T:mi(+T),C):f},C.y=function(T){return arguments.length?(g="function"==typeof T?T:mi(+T),C):g},C.context=function(T){return arguments.length?(x=T??null,C):x},C}function YT(r,a,h,f,g){r.moveTo(a,h),r.bezierCurveTo(a=(a+f)/2,h,a,g,f,g)}function _c(r,a,h,f,g){r.moveTo(a,h),r.bezierCurveTo(a,h=(h+g)/2,f,h,f,g)}function qT(r,a,h,f,g){var x=gf(a,h),C=gf(a,h=(h+g)/2),T=gf(f,h),A=gf(f,g);r.moveTo(x[0],x[1]),r.bezierCurveTo(C[0],C[1],T[0],T[1],A[0],A[1])}function zx(){return dm(YT)}function Kx(){return dm(_c)}function VT(){var r=dm(qT);return r.angle=r.x,delete r.x,r.radius=r.y,delete r.y,r}const q_={draw:function(r,a){var h=Math.sqrt(a/No);r.moveTo(h,0),r.arc(0,0,h,0,Rs)}},fm={draw:function(r,a){var h=Math.sqrt(a/5)/2;
vendor: 8,714 bytes, line 1
1r.moveTo(-3*h,-h),r.lineTo(-h,-h),r.lineTo(-h,-3*h),r.lineTo(h,-3*h),r.lineTo(h,-h),r.lineTo(3*h,-h),r.lineTo(3*h,h),r.lineTo(h,h),r.lineTo(h,3*h),r.lineTo(-h,3*h),r.lineTo(-h,h),r.lineTo(-3*h,h),r.closePath()}};var Wx=Math.sqrt(1/3),_m=2*Wx;const V_={draw:function(r,a){var h=Math.sqrt(a/_m),f=h*Wx;r.moveTo(0,-h),r.lineTo(f,0),r.lineTo(0,h),r.lineTo(-f,0),r.closePath()}};var mf=Math.sin(No/10)/Math.sin(7*No/10),Js=Math.sin(Rs/10)*mf,pm=-Math.cos(Rs/10)*mf;const Q_={draw:function(r,a){var h=Math.sqrt(.8908130915292852*a),f=Js*h,g=pm*h;r.moveTo(0,-h),r.lineTo(f,g);for(var x=1;x<5;++x){var C=Rs*x/5,T=Math.cos(C),A=Math.sin(C);r.lineTo(A*h,-T*h),r.lineTo(T*f-A*g,A*f+T*g)}r.closePath()}},_h={draw:function(r,a){var h=Math.sqrt(a),f=-h/2;r.rect(f,f,h,h)}};var Ql=Math.sqrt(3);const $_={draw:function(r,a){var h=-Math.sqrt(a/(3*Ql));r.moveTo(0,2*h),r.lineTo(-Ql*h,-h),r.lineTo(Ql*h,-h),r.closePath()}};var va=-.5,ya=Math.sqrt(3)/2,vf=1/Math.sqrt(12),ph=3*(vf/2+1);const gm={draw:function(r,a){var h=Math.sqrt(a/ph),f=h/2,g=h*vf,x=f,C=h*vf+h,T=-x,A=C;r.moveTo(f,g),r.lineTo(x,C),r.lineTo(T,A),r.lineTo(va*f-ya*g,ya*f+va*g),r.lineTo(va*x-ya*C,ya*x+va*C),r.lineTo(va*T-ya*A,ya*T+va*A),r.lineTo(va*f+ya*g,va*g-ya*f),r.lineTo(va*x+ya*C,va*C-ya*x),r.lineTo(va*T+ya*A,va*A-ya*T),r.closePath()}};var j_=[q_,fm,V_,_h,Q_,$_,gm];function yf(){var r=mi(q_),a=mi(64),h=null;function f(){var g;if(h||(h=g=ul()),r.apply(this,arguments).draw(h,+a.apply(this,arguments)),g)return h=null,g+""||null}return f.type=function(g){return arguments.length?(r="function"==typeof g?g:mi(g),f):r},f.size=function(g){return arguments.length?(a="function"==typeof g?g:mi(+g),f):a},f.context=function(g){return arguments.length?(h=g??null,f):h},f}function Hs(){}function gh(r,a,h){r._context.bezierCurveTo((2*r._x0+r._x1)/3,(2*r._y0+r._y1)/3,(r._x0+2*r._x1)/3,(r._y0+2*r._y1)/3,(r._x0+4*r._x1+a)/6,(r._y0+4*r._y1+h)/6)}function xf(r){this._context=r}function Xx(r){return new xf(r)}function tb(r){this._context=r}function mm(r){return new tb(r)}function vm(r){this._context=r}function eb(r){return new vm(r)}function ym(r,a){this._basis=new xf(r),this._beta=a}xf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:gh(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:gh(this,r,a)}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=a}},tb.prototype={areaStart:Hs,areaEnd:Hs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1,this._x2=r,this._y2=a;break;case 1:this._point=2,this._x3=r,this._y3=a;break;case 2:this._point=3,this._x4=r,this._y4=a,this._context.moveTo((this._x0+4*this._x1+r)/6,(this._y0+4*this._y1+a)/6);break;default:gh(this,r,a)}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=a}},vm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var h=(this._x0+4*this._x1+r)/6,f=(this._y0+4*this._y1+a)/6;this._line?this._context.lineTo(h,f):this._context.moveTo(h,f);break;case 3:this._point=4;default:gh(this,r,a)}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=a}},ym.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var r=this._x,a=this._y,h=r.length-1;if(h>0)for(var f,g=r[0],x=a[0],C=r[h]-g,T=a[h]-x,A=-1;++A<=h;)this._basis.point(this._beta*r[A]+(1-this._beta)*(g+(f=A/h)*C),this._beta*a[A]+(1-this._beta)*(x+f*T));this._x=this._y=null,this._basis.lineEnd()},point:function(r,a){this._x.push(+r),this._y.push(+a)}};const mh=function r(a){function h(f){return 1===a?new xf(f):new ym(f,a)}return h.beta=function(f){return r(+f)},h}(.85);function Mr(r,a,h){r._context.bezierCurveTo(r._x1+r._k*(r._x2-r._x0),r._y1+r._k*(r._y2-r._y0),r._x2+r._k*(r._x1-a),r._y2+r._k*(r._y1-h),r._x2,r._y2)}function G_(r,a){this._context=r,this._k=(1-a)/6}G_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Mr(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);break;case 1:this._point=2,this._x1=r,this._y1=a;break;case 2:this._point=3;default:Mr(this,r,a)}this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const vh=function r(a){function h(f){return new G_(f,a)}return h.tension=function(f){return r(+f)},h}(0);function z_(r,a){this._context=r,this._k=(1-a)/6}z_.prototype={areaStart:Hs,areaEnd:Hs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1,this._x3=r,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=r,this._y4=a);break;case 2:this._point=3,this._x5=r,this._y5=a;break;default:Mr(this,r,a)}this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const nb=function r(a){function h(f){return new z_(f,a)}return h.tension=function(f){return r(+f)},h}(0);function K_(r,a){this._context=r,this._k=(1-a)/6}K_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Mr(this,r,a)}this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const yh=function r(a){function h(f){return new K_(f,a)}return h.tension=function(f){return r(+f)},h}(0);function W_(r,a,h){var f=r._x1,g=r._y1,x=r._x2,C=r._y2;if(r._l01_a>Hr){var T=2*r._l01_2a+3*r._l01_a*r._l12_a+r._l12_2a,A=3*r._l01_a*(r._l01_a+r._l12_a);f=(f*T-r._x0*r._l12_2a+r._x2*r._l01_2a)/A,g=(g*T-r._y0*r._l12_2a+r._y2*r._l01_2a)/A}if(r._l23_a>Hr){var M=2*r._l23_2a+3*r._l23_a*r._l12_a+r._l12_2a,Z=3*r._l23_a*(r._l23_a+r._l12_a);x=(x*M+r._x1*r._l23_2a-a*r._l12_2a)/Z,C=(C*M+r._y1*r._l23_2a-h*r._l12_2a)/Z}r._context.bezierCurveTo(f,g,x,C,r._x2,r._y2)}function pc(r,a){this._context=r,this._alpha=a}pc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}
vendor: 4,178 bytes, line 1
1,point:function(r,a){if(r=+r,a=+a,this._point){var h=this._x2-r,f=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(h*h+f*f,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);break;case 1:this._point=2;break;case 2:this._point=3;default:W_(this,r,a)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const za=function r(a){function h(f){return a?new pc(f,a):new G_(f,0)}return h.alpha=function(f){return r(+f)},h}(.5);function ib(r,a){this._context=r,this._alpha=a}ib.prototype={areaStart:Hs,areaEnd:Hs,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(r,a){if(r=+r,a=+a,this._point){var h=this._x2-r,f=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(h*h+f*f,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=r,this._y3=a;break;case 1:this._point=2,this._context.moveTo(this._x4=r,this._y4=a);break;case 2:this._point=3,this._x5=r,this._y5=a;break;default:W_(this,r,a)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const QT=function r(a){function h(f){return a?new ib(f,a):new z_(f,0)}return h.alpha=function(f){return r(+f)},h}(.5);function Yr(r,a){this._context=r,this._alpha=a}Yr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){if(r=+r,a=+a,this._point){var h=this._x2-r,f=this._y2-a;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(h*h+f*f,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:W_(this,r,a)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=r,this._y0=this._y1,this._y1=this._y2,this._y2=a}};const ia=function r(a){function h(f){return a?new Yr(f,a):new K_(f,0)}return h.alpha=function(f){return r(+f)},h}(.5);function io(r){this._context=r}function Ys(r){return new io(r)}function xm(r){return r<0?-1:1}function X_(r,a,h){var f=r._x1-r._x0,g=a-r._x1,x=(r._y1-r._y0)/(f||g<0&&-0),C=(h-r._y1)/(g||f<0&&-0),T=(x*g+C*f)/(f+g);return(xm(x)+xm(C))*Math.min(Math.abs(x),Math.abs(C),.5*Math.abs(T))||0}function bm(r,a){var h=r._x1-r._x0;return h?(3*(r._y1-r._y0)/h-a)/2:a}function xh(r,a,h){var f=r._x0,x=r._x1,C=r._y1,T=(x-f)/3;r._context.bezierCurveTo(f+T,r._y0+T*a,x-T,C-T*h,x,C)}function bf(r){this._context=r}function wm(r){this._context=new Tm(r)}function Tm(r){this._context=r}function rb(r){return new bf(r)}function bh(r){return new wm(r)}function $l(r){this._context=r}function ob(r){var a,h,f=r.length-1,g=new Array(f),x=new Array(f),C=new Array(f);for(g[0]=0,x[0]=2,C[0]=r[0]+2*r[1],a=1;a<f-1;++a)g[a]=1,x[a]=4,C[a]=4*r[a]+2*r[a+1];for(g[f-1]=2,x[f-1]=7,C[f-1]=8*r[f-1]+r[f],a=1;a<f;++a)x[a]-=h=g[a]/x[a-1],C[a]-=h*C[a-1];for(g[f-1]=C[f-1]/x[f-1],a=f-2;a>=0;--a)g[a]=(C[a]-g[a+1])/x[a];for(x[f-1]=(r[f]+g[f-1])/2,a=0;a<f-1;++a)x[a]=2*r[a+1]-g[a+1];return[g,x]}function ab(r){return new $l(r)}function gs(r,a){this._context=r,this._t=a}function xi(r){return new gs(r,.5)}
vendor: 6,662 bytes, line 1
1function sb(r){return new gs(r,0)}function wh(r){return new gs(r,1)}function jl(r,a){if((g=r.length)>1)for(var h,f,g,x=1,C=r[a[0]],T=C.length;x<g;++x)for(f=C,C=r[a[x]],h=0;h<T;++h)C[h][1]+=C[h][0]=isNaN(f[h][1])?f[h][0]:f[h][1]}function Wc(r){for(var a=r.length,h=new Array(a);--a>=0;)h[a]=a;return h}function $T(r,a){return r[a]}function Cm(){var r=mi([]),a=Wc,h=jl,f=$T;function g(x){var C,T,A=r.apply(this,arguments),M=x.length,Z=A.length,R=new Array(Z);for(C=0;C<Z;++C){for(var U,V=A[C],$=R[C]=new Array(M),it=0;it<M;++it)$[it]=U=[0,+f(x[it],V,it,x)],U.data=x[it];$.key=V}for(C=0,T=a(R);C<Z;++C)R[T[C]].index=C;return h(R,T),R}return g.keys=function(x){return arguments.length?(r="function"==typeof x?x:mi(hm.call(x)),g):r},g.value=function(x){return arguments.length?(f="function"==typeof x?x:mi(+x),g):f},g.order=function(x){return arguments.length?(a=null==x?Wc:"function"==typeof x?x:mi(hm.call(x)),g):a},g.offset=function(x){return arguments.length?(h=x??jl,g):h},g}function cb(r,a){if((f=r.length)>0){for(var h,f,g,x=0,C=r[0].length;x<C;++x){for(g=h=0;h<f;++h)g+=r[h][x][1]||0;if(g)for(h=0;h<f;++h)r[h][x][1]/=g}jl(r,a)}}function lb(r,a){if((T=r.length)>0)for(var h,f,g,x,C,T,A=0,M=r[a[0]].length;A<M;++A)for(x=C=0,h=0;h<T;++h)(g=(f=r[a[h]][A])[1]-f[0])>0?(f[0]=x,f[1]=x+=g):g<0?(f[1]=C,f[0]=C+=g):(f[0]=0,f[1]=g)}function ub(r,a){if((h=r.length)>0){for(var h,f=0,g=r[a[0]],x=g.length;f<x;++f){for(var C=0,T=0;C<h;++C)T+=r[C][f][1]||0;g[f][1]+=g[f][0]=-T/2}jl(r,a)}}function hb(r,a){if((g=r.length)>0&&(f=(h=r[a[0]]).length)>0){for(var h,f,g,x=0,C=1;C<f;++C){for(var T=0,A=0,M=0;T<g;++T){for(var Z=r[a[T]],R=Z[C][1]||0,U=(R-(Z[C-1][1]||0))/2,V=0;V<T;++V){var $=r[a[V]];U+=($[C][1]||0)-($[C-1][1]||0)}A+=R,M+=U*R}h[C-1][1]+=h[C-1][0]=x,A&&(x-=M/A)}h[C-1][1]+=h[C-1][0]=x,jl(r,a)}}function km(r){var a=r.map(jT);return Wc(r).sort(function(h,f){return a[h]-a[f]})}function jT(r){for(var a,h=-1,f=0,g=r.length,x=-1/0;++h<g;)(a=+r[h][1])>x&&(x=a,f=h);return f}function Dm(r){var a=r.map(db);return Wc(r).sort(function(h,f){return a[h]-a[f]})}function db(r){for(var a,h=0,f=-1,g=r.length;++f<g;)(a=+r[f][1])&&(h+=a);return h}function fb(r){return Dm(r).reverse()}function GT(r){var a,h,f=r.length,g=r.map(db),x=km(r),C=0,T=0,A=[],M=[];for(a=0;a<f;++a)h=x[a],C<T?(C+=g[h],A.push(h)):(T+=g[h],M.push(h));return M.reverse().concat(A)}function _b(r){return Wc(r).reverse()}io.prototype={areaStart:Hs,areaEnd:Hs,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(r,a){r=+r,a=+a,this._point?this._context.lineTo(r,a):(this._point=1,this._context.moveTo(r,a))}},bf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:xh(this,this._t0,bm(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(r,a){var h=NaN;if(a=+a,(r=+r)!==this._x1||a!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);break;case 1:this._point=2;break;case 2:this._point=3,xh(this,bm(this,h=X_(this,r,a)),h);break;default:xh(this,this._t0,h=X_(this,r,a))}this._x0=this._x1,this._x1=r,this._y0=this._y1,this._y1=a,this._t0=h}}},(wm.prototype=Object.create(bf.prototype)).point=function(r,a){bf.prototype.point.call(this,a,r)},Tm.prototype={moveTo:function(r,a){this._context.moveTo(a,r)},closePath:function(){this._context.closePath()},lineTo:function(r,a){this._context.lineTo(a,r)},bezierCurveTo:function(r,a,h,f,g,x){this._context.bezierCurveTo(a,r,f,h,x,g)}},$l.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var r=this._x,a=this._y,h=r.length;if(h)if(this._line?this._context.lineTo(r[0],a[0]):this._context.moveTo(r[0],a[0]),2===h)this._context.lineTo(r[1],a[1]);else for(var f=ob(r),g=ob(a),x=0,C=1;C<h;++x,++C)this._context.bezierCurveTo(f[0][x],g[0][x],f[1][x],g[1][x],r[C],a[C]);(this._line||0!==this._line&&1===h)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(r,a){this._x.push(+r),this._y.push(+a)}},gs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(r,a){switch(r=+r,a=+a,this._point){case 0:this._point=1,this._line?this._context.lineTo(r,a):this._context.moveTo(r,a);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,a),this._context.lineTo(r,a);else{var h=this._x*(1-this._t)+r*this._t;this._context.lineTo(h,this._y),this._context.lineTo(h,a)}}this._x=r,this._y=a}};var wf="%Y-%m-%dT%H:%M:%S.%LZ";const Am=Date.prototype.toISOString?function(r){return r.toISOString()}:Zs(wf),Xc=+new Date("2000-01-01T00:00:00.000Z")?function(r){var a=new Date(r);return isNaN(a)?null:a}:eh(wf);function gc(r,a,h){var f=new zt,g=a;return null==a?(f.restart(r,a,h),f):(a=+a,h=null==h?K():+h,f.restart(function x(C){C+=g,f.restart(x,g+=a,h),r(C)},a,h),f)}function pb(r){return function(){return r}}function tp(r){return r[0]}function zT(r){return r[1]}function Tf(){this._=null}function Lo(r){r.U=r.C=r.L=r.R=r.P=r.N=null}function mc(r,a){var h=a,f=a.R,g=h.U;g?g.L===h?g.L=f:g.R=f:r._=f,f.U=g,h.U=f,h.R=f.L,h.R&&(h.R.U=h),f.L=h}function Ka(r,a){var h=a,f=a.L,g=h.U;g?g.L===h?g.L=f:g.R=f:r._=f,f.U=g,h.U=f,h.L=f.R,h.L&&(h.L.U=h),f.R=h}function Th(r){for(;r.L;)r=r.L;return r}Tf.prototype={constructor:Tf,insert:function(r,a){var h,f,g;if(r){if(a.P=r,a.N=r.N,r.N&&(r.N.P=a),r.N=a,r.R){for(r=r.R;r.L;)r=r.L;r.L=a}else r.R=a;h=r}else this._?(r=Th(this._),a.P=null,a.N=r,r.P=r.L=a,h=r):(a.P=a.N=null,this._=a,h=null);for(a.L=a.R=null,a.U=h,a.C=!0,r=a;h&&h.C;)h===(f=h.U).L?(g=f.R)&&g.C?(h.C=g.C=!1,f.C=!0,r=f):(r===h.R&&(mc(this,h),h=(r=h).U),h.C=!1,f.C=!0,Ka(this,f)):(g=f.L)&&g.C?(h.C=g.C=!1,f.C=!0,r=f):(r===h.L&&(Ka(this,h),h=(r=h).U),h.C=!1,f.C=!0,mc(this,f)),h=r.U;this._.C=!1},remove:function(r){r.N&&(r.N.P=r.P),r.P&&(r.P.N=r.N),r.N=r.P=null;var a,h,f,g=r.U,x=r.L,C=r.R;if(h=x?C?Th(C):x:C,g?g.L===r?g.L=h:g.R=h:this._=h,x&&C?(f=h.C,h.C=r.C,h.L=x,x.U=h,h!==C?(g=h.U,h.U=r.U,g.L=r=h.R,h.R=C,C.U=h):(h.U=g,g=h,r=h.R)):(f=r.C,r=h),r&&(r.U=g),!f)if(r&&r.C)r.C=!1;else{do{if(r===this._)break;
vendor: 7,415 bytes, line 1
1if(r===g.L){if((a=g.R).C&&(a.C=!1,g.C=!0,mc(this,g),a=g.R),a.L&&a.L.C||a.R&&a.R.C){a.R&&a.R.C||(a.L.C=!1,a.C=!0,Ka(this,a),a=g.R),a.C=g.C,g.C=a.R.C=!1,mc(this,g),r=this._;break}}else if((a=g.L).C&&(a.C=!1,g.C=!0,Ka(this,g),a=g.L),a.L&&a.L.C||a.R&&a.R.C){a.L&&a.L.C||(a.R.C=!1,a.C=!0,mc(this,a),a=g.L),a.C=g.C,g.C=a.L.C=!1,Ka(this,g),r=this._;break}a.C=!0,r=g,g=g.U}while(!r.C);r&&(r.C=!1)}}};const Gl=Tf;function zl(r,a,h,f){var g=[null,null],x=Br.push(g)-1;return g.left=r,g.right=a,h&&Nr(g,r,a,h),f&&Nr(g,a,r,f),qr[r.index].halfedges.push(x),qr[a.index].halfedges.push(x),g}function Cf(r,a,h){var f=[a,h];return f.left=r,f}function Nr(r,a,h,f){r[0]||r[1]?r.left===h?r[1]=f:r[0]=f:(r[0]=f,r.left=a,r.right=h)}function gb(r,a,h,f,g){var x,C=r[0],T=r[1],A=C[0],M=C[1],Z=0,R=1,U=T[0]-A,V=T[1]-M;if(x=a-A,U||!(x>0)){if(x/=U,U<0){if(x<Z)return;x<R&&(R=x)}else if(U>0){if(x>R)return;x>Z&&(Z=x)}if(x=f-A,U||!(x<0)){if(x/=U,U<0){if(x>R)return;x>Z&&(Z=x)}else if(U>0){if(x<Z)return;x<R&&(R=x)}if(x=h-M,V||!(x>0)){if(x/=V,V<0){if(x<Z)return;x<R&&(R=x)}else if(V>0){if(x>R)return;x>Z&&(Z=x)}if(x=g-M,V||!(x<0)){if(x/=V,V<0){if(x>R)return;x>Z&&(Z=x)}else if(V>0){if(x<Z)return;x<R&&(R=x)}return!(Z>0||R<1)||(Z>0&&(r[0]=[A+Z*U,M+Z*V]),R<1&&(r[1]=[A+R*U,M+R*V]),!0)}}}}}function mb(r,a,h,f,g){var x=r[1];if(x)return!0;var C,T,A=r[0],M=r.left,Z=r.right,R=M[0],U=M[1],V=Z[0],$=Z[1],it=(R+V)/2;if($===U){if(it<a||it>=f)return;if(R>V){if(A){if(A[1]>=g)return}else A=[it,h];x=[it,g]}else{if(A){if(A[1]<h)return}else A=[it,g];x=[it,h]}}else if(T=(U+$)/2-(C=(R-V)/($-U))*it,C<-1||C>1)if(R>V){if(A){if(A[1]>=g)return}else A=[(h-T)/C,h];x=[(g-T)/C,g]}else{if(A){if(A[1]<h)return}else A=[(g-T)/C,g];x=[(h-T)/C,h]}else if(U<$){if(A){if(A[0]>=f)return}else A=[a,C*a+T];x=[f,C*f+T]}else{if(A){if(A[0]<a)return}else A=[f,C*f+T];x=[a,C*a+T]}return r[0]=A,r[1]=x,!0}function vb(r,a){var h=r.site,f=a.left,g=a.right;return h===g&&(g=f,f=h),g?Math.atan2(g[1]-f[1],g[0]-f[0]):(h===f?(f=a[1],g=a[0]):(f=a[0],g=a[1]),Math.atan2(f[0]-g[0],g[1]-f[1]))}function Im(r,a){return a[+(a.left!==r.site)]}function Ch(r,a){return a[+(a.left===r.site)]}var ep,yb=[];function _n(){Lo(this),this.x=this.y=this.arc=this.site=this.cy=null}function kh(r){var a=r.P,h=r.N;if(a&&h){var f=a.site,g=r.site,x=h.site;if(f!==x){var C=g[0],T=g[1],A=f[0]-C,M=f[1]-T,Z=x[0]-C,R=x[1]-T,U=2*(A*R-M*Z);if(!(U>=-Tb)){var V=A*A+M*M,$=Z*Z+R*R,it=(R*V-M*$)/U,nt=(A*$-Z*V)/U,tt=yb.pop()||new _n;tt.arc=r,tt.site=g,tt.x=it+C,tt.y=(tt.cy=nt+T)+Math.sqrt(it*it+nt*nt),r.circle=tt;for(var lt=null,ct=yc._;ct;)if(tt.y<ct.y||tt.y===ct.y&&tt.x<=ct.x){if(!ct.L){lt=ct.P;break}ct=ct.L}else{if(!ct.R){lt=ct;break}ct=ct.R}yc.insert(lt,tt),lt||(ep=tt)}}}}function qs(r){var a=r.circle;a&&(a.P||(ep=a.N),yc.remove(a),yb.push(a),Lo(a),r.circle=null)}var vc=[];function Vs(){Lo(this),this.edge=this.site=this.circle=null}function xb(r){var a=vc.pop()||new Vs;return a.site=r,a}function np(r){qs(r),Dh.remove(r),vc.push(r),Lo(r)}function bb(r){var a=r.circle,h=a.x,f=a.cy,g=[h,f],x=r.P,C=r.N,T=[r];np(r);for(var A=x;A.circle&&Math.abs(h-A.circle.x)<Ji&&Math.abs(f-A.circle.cy)<Ji;)x=A.P,T.unshift(A),np(A),A=x;T.unshift(A),qs(A);for(var M=C;M.circle&&Math.abs(h-M.circle.x)<Ji&&Math.abs(f-M.circle.cy)<Ji;)C=M.N,T.push(M),np(M),M=C;T.push(M),qs(M);var Z,R=T.length;for(Z=1;Z<R;++Z)Nr((M=T[Z]).edge,(A=T[Z-1]).site,M.site,g);(M=T[R-1]).edge=zl((A=T[0]).site,M.site,null,g),kh(A),kh(M)}function wb(r){for(var a,h,f,g,x=r[0],C=r[1],T=Dh._;T;)if((f=Fm(T,C)-x)>Ji)T=T.L;else{if(!((g=x-Mm(T,C))>Ji)){f>-Ji?(a=T.P,h=T):g>-Ji?(a=T,h=T.N):a=h=T;break}if(!T.R){a=T;break}T=T.R}var mt;qr[(mt=r).index]={site:mt,halfedges:[]};var A=xb(r);if(Dh.insert(a,A),a||h){if(a===h)return qs(a),h=xb(a.site),Dh.insert(A,h),A.edge=h.edge=zl(a.site,A.site),kh(a),void kh(h);if(h){qs(a),qs(h);var M=a.site,Z=M[0],R=M[1],U=r[0]-Z,V=r[1]-R,$=h.site,it=$[0]-Z,nt=$[1]-R,tt=2*(U*nt-V*it),lt=U*U+V*V,ct=it*it+nt*nt,z=[(nt*lt-V*ct)/tt+Z,(U*ct-it*lt)/tt+R];Nr(h.edge,M,$,z),A.edge=zl(M,r,null,z),h.edge=zl(r,$,null,z),kh(a),kh(h)}else A.edge=zl(a.site,A.site)}}function Fm(r,a){var h=r.site,f=h[0],g=h[1],x=g-a;if(!x)return f;var C=r.P;if(!C)return-1/0;var T=(h=C.site)[0],A=h[1],M=A-a;if(!M)return T;var Z=T-f,R=1/x-1/M,U=Z/M;return R?(-U+Math.sqrt(U*U-2*R*(Z*Z/(-2*M)-A+M/2+g-x/2)))/R+f:(f+T)/2}function Mm(r,a){var h=r.N;if(h)return Fm(h,a);var f=r.site;return f[1]===a?f[0]:1/0}var Dh,qr,yc,Br,Ji=1e-6,Tb=1e-12;function Cb(r,a,h){return(r[0]-h[0])*(a[1]-r[1])-(r[0]-a[0])*(h[1]-r[1])}function Nm(r,a){return a[1]-r[1]||a[0]-r[0]}function ip(r,a){var h,f,g,x=r.sort(Nm).pop();for(Br=[],qr=new Array(r.length),Dh=new Gl,yc=new Gl;;)if(g=ep,x&&(!g||x[1]<g.y||x[1]===g.y&&x[0]<g.x))x[0]===h&&x[1]===f||(wb(x),h=x[0],f=x[1]),x=r.pop();else{if(!g)break;bb(g.arc)}if(function(){for(var Z,R,U,V,$=0,it=qr.length;$<it;++$)if((Z=qr[$])&&(V=(R=Z.halfedges).length)){var nt=new Array(V),tt=new Array(V);for(U=0;U<V;++U)nt[U]=U,tt[U]=vb(Z,Br[R[U]]);for(nt.sort(function(lt,ct){return tt[ct]-tt[lt]}),U=0;U<V;++U)tt[U]=R[nt[U]];for(U=0;U<V;++U)R[U]=tt[U]}}(),a){var C=+a[0][0],T=+a[0][1],A=+a[1][0],M=+a[1][1];(function(Z,R,U,V){for(var $,it=Br.length;it--;)mb($=Br[it],Z,R,U,V)&&gb($,Z,R,U,V)&&(Math.abs($[0][0]-$[1][0])>Ji||Math.abs($[0][1]-$[1][1])>Ji)||delete Br[it]})(C,T,A,M),function(Z,R,U,V){var $,it,nt,tt,lt,ct,z,mt,Wt,ce,Me,Qt,me=qr.length,pt=!0;for($=0;$<me;++$)if(it=qr[$]){for(nt=it.site,tt=(lt=it.halfedges).length;tt--;)Br[lt[tt]]||lt.splice(tt,1);for(tt=0,ct=lt.length;tt<ct;)Me=(ce=Ch(it,Br[lt[tt]]))[0],Qt=ce[1],mt=(z=Im(it,Br[lt[++tt%ct]]))[0],Wt=z[1],(Math.abs(Me-mt)>Ji||Math.abs(Qt-Wt)>Ji)&&(lt.splice(tt,0,Br.push(Cf(nt,ce,Math.abs(Me-Z)<Ji&&V-Qt>Ji?[Z,Math.abs(mt-Z)<Ji?Wt:V]:Math.abs(Qt-V)<Ji&&U-Me>Ji?[Math.abs(Wt-V)<Ji?mt:U,V]:Math.abs(Me-U)<Ji&&Qt-R>Ji?[U,Math.abs(mt-U)<Ji?Wt:R]:Math.abs(Qt-R)<Ji&&Me-Z>Ji?[Math.abs(Wt-R)<Ji?mt:Z,R]:null))-1),++ct);ct&&(pt=!1)}if(pt){var At,he,ne,fe=1/0;for($=0,pt=null;$<me;++$)(it=qr[$])&&(ne=(At=(nt=it.site)[0]-Z)*At+(he=nt[1]-R)*he)<fe&&(fe=ne,pt=it);if(pt){var qe=[Z,R],en=[Z,V],Fn=[U,V],oi=[U,R];pt.halfedges.push(Br.push(Cf(nt=pt.site,qe,en))-1,Br.push(Cf(nt,en,Fn))-1,Br.push(Cf(nt,Fn,oi))-1,Br.push(Cf(nt,oi,qe))-1)}}for($=0;$<me;++$)(it=qr[$])&&(it.halfedges.length||delete qr[$])}(C,T,A,M)}this.edges=Br,this.cells=qr,Dh=yc=Br=qr=null}function kb(){var r=tp,a=zT,h=null;function f(g){return new ip(g.map(function(x,C){var T=[Math.round(r(x,C,g)/Ji)*Ji,Math.round(a(x,C,g)/Ji)*Ji];return T.index=C,T.data=x,T}),h)}return f.polygons=function(g){return f(g).polygons()},f.links=function(g){return f(g).links()},f.triangles=function(g){return f(g).triangles()},f.x=function(g){return arguments.length?(r="function"==typeof g?g:pb(+g),f):r},f.y=function(g){return arguments.length?(a="function"==typeof g?g:pb(+g),f):a},f.extent=function(g){return arguments.length?(h=null==g?null:[[+g[0][0],+g[0][1]],[+g[1][0],+g[1][1]]],f):h&&[[h[0][0],h[0][1]],[h[1][0],h[1][1]]]},f.size=function(g){return arguments.length?(h=null==g?null:[[0,0],[+g[0],+g[1]]],f):h&&[h[1][0]-h[0][0],h[1][1]-h[0][1]]},f}function kf(r){return function(){return r}}function Db(r,a,h){this.target=r,this.type=a,this.transform=h}function ms(r,a,h){this.k=r,this.x=a,this.y=h}ip.prototype={constructor:ip,polygons:function(){var r=this.edges;return this.cells.map(function(a){var h=a.halfedges.map(function(f){return Im(a,r[f])});return h.data=a.site.data,h})},triangles:function(){var r=[],a=this.edges;
1return this.cells.forEach(function(h,f){if(x=(g=h.halfedges).length)for(var g,x,C,T=h.site,A=-1,M=a[g[x-1]],Z=M.left===T?M.right:M.left;++A<x;)C=Z,Z=(M=a[g[A]]).left===T?M.right:M.left,C&&Z&&f<C.index&&f<Z.index&&Cb(T,C,Z)<0&&r.push([T.data,C.data,Z.data])}),r},links:function(){return this.edges.filter(function(r){return r.right}).map(function(r){return{source:r.left.data,target:r.right.data}})},find:function(r,a,h){for(var f,g,x=this,C=x._found||0,T=x.cells.length;!(g=x.cells[C]);)if(++C>=T)return null;var A=r-g.site[0],M=a-g.site[1],Z=A*A+M*M;do{g=x.cells[f=C],C=null,g.halfedges.forEach(function(R){var U=x.edges[R],V=U.left;if(V!==g.site&&V||(V=U.right)){var $=r-V[0],it=a-V[1],nt=$*$+it*it;nt<Z&&(Z=nt,C=V.index)}})}while(null!==C);return x._found=f,null==h||Z<=h*h?g.site:null}},ms.prototype={constructor:ms,scale:function(r){return 1===r?this:new ms(this.k*r,this.x,this.y)},translate:function(r,a){return 0===r&0===a?this:new ms(this.k,this.x+this.k*r,this.y+this.k*a)},apply:function(r){return[r[0]*this.k+this.x,r[1]*this.k+this.y]},applyX:function(r){return r*this.k+this.x},applyY:function(r){return r*this.k+this.y},invert:function(r){return[(r[0]-this.x)/this.k,(r[1]-this.y)/this.k]},invertX:function(r){return(r-this.x)/this.k},invertY:function(r){return(r-this.y)/this.k},rescaleX:function(r){return r.copy().domain(r.range().map(this.invertX,this).map(r.invert,r))},rescaleY:function(r){return r.copy().domain(r.range().map(this.invertY,this).map(r.invert,r))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Sh=new ms(1,0,0);function Df(r){for(;!r.__zoom;)if(!(r=r.parentNode))return Sh;return r.__zoom}function rp(){Tt.stopImmediatePropagation()}function Sf(){Tt.preventDefault(),Tt.stopImmediatePropagation()}function KT(){return!Tt.ctrlKey&&!Tt.button}function WT(){var r=this;return r instanceof SVGElement?(r=r.ownerSVGElement||r).hasAttribute("viewBox")?[[(r=r.viewBox.baseVal).x,r.y],[r.x+r.width,r.y+r.height]]:[[0,0],[r.width.baseVal.value,r.height.baseVal.value]]:[[0,0],[r.clientWidth,r.clientHeight]]}function Sb(){return this.__zoom||Sh}function Af(){return-Tt.deltaY*(1===Tt.deltaMode?.05:Tt.deltaMode?1:.002)}function XT(){return navigator.maxTouchPoints||"ontouchstart"in this}function Qs(r,a,h){var f=r.invertX(a[0][0])-h[0][0],g=r.invertX(a[1][0])-h[1][0],x=r.invertY(a[0][1])-h[0][1],C=r.invertY(a[1][1])-h[1][1];return r.translate(g>f?(f+g)/2:Math.min(0,f)||Math.max(0,g),C>x?(x+C)/2:Math.min(0,x)||Math.max(0,C))}function tC(){var r,a,h=KT,f=WT,g=Qs,x=Af,C=XT,T=[0,1/0],A=[[-1/0,-1/0],[1/0,1/0]],M=250,Z=Sy,R=pn("start","zoom","end"),U=500,V=0;function $(pt){pt.property("__zoom",Sb).on("wheel.zoom",mt).on("mousedown.zoom",Wt).on("dblclick.zoom",ce).filter(C).on("touchstart.zoom",Me).on("touchmove.zoom",Qt).on("touchend.zoom touchcancel.zoom",me).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function it(pt,At){return(At=Math.max(T[0],Math.min(T[1],At)))===pt.k?pt:new ms(At,pt.x,pt.y)}function nt(pt,At,he){var ne=At[0]-he[0]*pt.k,fe=At[1]-he[1]*pt.k;return ne===pt.x&&fe===pt.y?pt:new ms(pt.k,ne,fe)}function tt(pt){return[(+pt[0][0]+ +pt[1][0])/2,(+pt[0][1]+ +pt[1][1])/2]}function lt(pt,At,he){pt.on("start.zoom",function(){ct(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){ct(this,arguments).end()}).tween("zoom",function(){var ne=this,fe=arguments,qe=ct(ne,fe),en=f.apply(ne,fe),Fn=null==he?tt(en):"function"==typeof he?he.apply(ne,fe):he,oi=Math.max(en[1][0]-en[0][0],en[1][1]-en[0][1]),hi=ne.__zoom,fn="function"==typeof At?At.apply(ne,fe):At,Fi=Z(hi.invert(Fn).concat(oi/hi.k),fn.invert(Fn).concat(oi/fn.k));return function(On){if(1===On)On=fn;else{var yn=Fi(On),wi=oi/yn[2];On=new ms(wi,Fn[0]-yn[0]*wi,Fn[1]-yn[1]*wi)}qe.zoom(null,On)}})}function ct(pt,At,he){return!he&&pt.__zooming||new z(pt,At)}function z(pt,At){this.that=pt,this.args=At,this.active=0,this.extent=f.apply(pt,At),this.taps=0}function mt(){if(h.apply(this,arguments)){var pt=ct(this,arguments),At=this.__zoom,he=Math.max(T[0],Math.min(T[1],At.k*Math.pow(2,x.apply(this,arguments)))),ne=xs(this);if(pt.wheel)pt.mouse[0][0]===ne[0]&&pt.mouse[0][1]===ne[1]||(pt.mouse[1]=At.invert(pt.mouse[0]=ne)),clearTimeout(pt.wheel);else{if(At.k===he)return;pt.mouse=[ne,At.invert(ne)],yo(this),pt.start()}
1Sf(),pt.wheel=setTimeout(fe,150),pt.zoom("mouse",g(nt(it(At,he),pt.mouse[0],pt.mouse[1]),pt.extent,A))}function fe(){pt.wheel=null,pt.end()}}function Wt(){if(!a&&h.apply(this,arguments)){var pt=ct(this,arguments,!0),At=Li(Tt.view).on("mousemove.zoom",qe,!0).on("mouseup.zoom",en,!0),he=xs(this),ne=Tt.clientX,fe=Tt.clientY;Tr(Tt.view),rp(),pt.mouse=[he,this.__zoom.invert(he)],yo(this),pt.start()}function qe(){if(Sf(),!pt.moved){var Fn=Tt.clientX-ne,oi=Tt.clientY-fe;pt.moved=Fn*Fn+oi*oi>V}pt.zoom("mouse",g(nt(pt.that.__zoom,pt.mouse[0]=xs(pt.that),pt.mouse[1]),pt.extent,A))}function en(){At.on("mousemove.zoom mouseup.zoom",null),nr(Tt.view,pt.moved),Sf(),pt.end()}}function ce(){if(h.apply(this,arguments)){var pt=this.__zoom,At=xs(this),he=pt.invert(At),ne=pt.k*(Tt.shiftKey?.5:2),fe=g(nt(it(pt,ne),At,he),f.apply(this,arguments),A);Sf(),M>0?Li(this).transition().duration(M).call(lt,fe,At):Li(this).call($.transform,fe)}}function Me(){if(h.apply(this,arguments)){var pt,At,he,ne,fe=Tt.touches,qe=fe.length,en=ct(this,arguments,Tt.changedTouches.length===qe);for(rp(),At=0;At<qe;++At)ne=[ne=$o(this,fe,(he=fe[At]).identifier),this.__zoom.invert(ne),he.identifier],en.touch0?en.touch1||en.touch0[2]===ne[2]||(en.touch1=ne,en.taps=0):(en.touch0=ne,pt=!0,en.taps=1+!!r);r&&(r=clearTimeout(r)),pt&&(en.taps<2&&(r=setTimeout(function(){r=null},U)),yo(this),en.start())}}function Qt(){if(this.__zooming){var pt,At,he,ne,fe=ct(this,arguments),qe=Tt.changedTouches,en=qe.length;for(Sf(),r&&(r=clearTimeout(r)),fe.taps=0,pt=0;pt<en;++pt)he=$o(this,qe,(At=qe[pt]).identifier),fe.touch0&&fe.touch0[2]===At.identifier?fe.touch0[0]=he:fe.touch1&&fe.touch1[2]===At.identifier&&(fe.touch1[0]=he);if(At=fe.that.__zoom,fe.touch1){var Fn=fe.touch0[0],oi=fe.touch0[1],hi=fe.touch1[0],fn=fe.touch1[1],Fi=(Fi=hi[0]-Fn[0])*Fi+(Fi=hi[1]-Fn[1])*Fi,On=(On=fn[0]-oi[0])*On+(On=fn[1]-oi[1])*On;At=it(At,Math.sqrt(Fi/On)),he=[(Fn[0]+hi[0])/2,(Fn[1]+hi[1])/2],ne=[(oi[0]+fn[0])/2,(oi[1]+fn[1])/2]}else{if(!fe.touch0)return;he=fe.touch0[0],ne=fe.touch0[1]}fe.zoom("touch",g(nt(At,he,ne),fe.extent,A))}}function me(){if(this.__zooming){var pt,At,he=ct(this,arguments),ne=Tt.changedTouches,fe=ne.length;for(rp(),a&&clearTimeout(a),a=setTimeout(function(){a=null},U),pt=0;pt<fe;++pt)At=ne[pt],he.touch0&&he.touch0[2]===At.identifier?delete he.touch0:he.touch1&&he.touch1[2]===At.identifier&&delete he.touch1;if(he.touch1&&!he.touch0&&(he.touch0=he.touch1,delete he.touch1),he.touch0)he.touch0[1]=this.__zoom.invert(he.touch0[0]);else if(he.end(),2===he.taps){var qe=Li(this).on("dblclick.zoom");qe&&qe.apply(this,arguments)}}}return $.transform=function(pt,At,he){var ne=pt.selection?pt.selection():pt;ne.property("__zoom",Sb),pt!==ne?lt(pt,At,he):ne.interrupt().each(function(){ct(this,arguments).start().zoom(null,"function"==typeof At?At.apply(this,arguments):At).end()})},$.scaleBy=function(pt,At,he){$.scaleTo(pt,function(){var ne=this.__zoom.k,fe="function"==typeof At?At.apply(this,arguments):At;return ne*fe},he)},$.scaleTo=function(pt,At,he){$.transform(pt,function(){var ne=f.apply(this,arguments),fe=this.__zoom,qe=null==he?tt(ne):"function"==typeof he?he.apply(this,arguments):he,en=fe.invert(qe),Fn="function"==typeof At?At.apply(this,arguments):At;return g(nt(it(fe,Fn),qe,en),ne,A)},he)},$.translateBy=function(pt,At,he){$.transform(pt,function(){return g(this.__zoom.translate("function"==typeof At?At.apply(this,arguments):At,"function"==typeof he?he.apply(this,arguments):he),f.apply(this,arguments),A)})},$.translateTo=function(pt,At,he,ne){$.transform(pt,function(){var fe=f.apply(this,arguments),qe=this.__zoom,en=null==ne?tt(fe):"function"==typeof ne?ne.apply(this,arguments):ne;return g(Sh.translate(en[0],en[1]).scale(qe.k).translate("function"==typeof At?-At.apply(this,arguments):-At,"function"==typeof he?-he.apply(this,arguments):-he),fe,A)},ne)},z.prototype={start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(pt,At){return this.mouse&&"mouse"!==pt&&(this.mouse[1]=At.invert(this.mouse[0])),this.touch0&&"touch"!==pt&&(this.touch0[1]=At.invert(this.touch0[0])),this.touch1&&"touch"!==pt&&(this.touch1[1]=At.invert(this.touch1[0])),this.that.__zoom=At,this.emit
1("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(pt){Ra(new Db($,pt,this.that.__zoom),R.apply,R,[pt,this.that,this.args])}},$.wheelDelta=function(pt){return arguments.length?(x="function"==typeof pt?pt:kf(+pt),$):x},$.filter=function(pt){return arguments.length?(h="function"==typeof pt?pt:kf(!!pt),$):h},$.touchable=function(pt){return arguments.length?(C="function"==typeof pt?pt:kf(!!pt),$):C},$.extent=function(pt){return arguments.length?(f="function"==typeof pt?pt:kf([[+pt[0][0],+pt[0][1]],[+pt[1][0],+pt[1][1]]]),$):f},$.scaleExtent=function(pt){return arguments.length?(T[0]=+pt[0],T[1]=+pt[1],$):[T[0],T[1]]},$.translateExtent=function(pt){return arguments.length?(A[0][0]=+pt[0][0],A[1][0]=+pt[1][0],A[0][1]=+pt[0][1],A[1][1]=+pt[1][1],$):[[A[0][0],A[0][1]],[A[1][0],A[1][1]]]},$.constrain=function(pt){return arguments.length?(g=pt,$):g},$.duration=function(pt){return arguments.length?(M=+pt,$):M},$.interpolate=function(pt){return arguments.length?(Z=pt,$):Z},$.on=function(){var pt=R.on.apply(R,arguments);return pt===R?$:pt},$.clickDistance=function(pt){return arguments.length?(V=(pt=+pt)*pt,$):Math.sqrt(V)},$}Df.prototype=ms.prototype},681:(s,b,i)=>{s.exports={graphlib:i(574),layout:i(8123),debug:i(7570),util:{time:i(1138).time,notime:i(1138).notime},version:i(8177)}},1207:(s,b,i)=>{var d=i(8436),c=i(4079);s.exports={run:function(y){var k,v="greedy"===y.graph().acyclicer?c(y,(k=y,function(E){return k.edge(E).weight})):function(k){var E=[],F={},B={};return d.forEach(k.nodes(),function L(J){d.has(B,J)||(B[J]=!0,F[J]=!0,d.forEach(k.outEdges(J),function(j){d.has(F,j.w)?E.push(j):L(j.w)}),delete F[J])}),E}(y);d.forEach(v,function(k){var E=y.edge(k);y.removeEdge(k),E.forwardName=k.name,E.reversed=!0,y.setEdge(k.w,k.v,E,d.uniqueId("rev"))})},undo:function(y){d.forEach(y.edges(),function(v){var k=y.edge(v);if(k.reversed){y.removeEdge(v);var E=k.forwardName;delete k.reversed,delete k.forwardName,y.setEdge(v.w,v.v,k,E)}})}}},1133:(s,b,i)=>{var d=i(8436),c=i(1138);function y(v,k,E,F,B,L){var j=B[k][L-1],Q=c.addDummyNode(v,"border",{width:0,height:0,rank:L,borderType:k},E);B[k][L]=Q,v.setParent(Q,F),j&&v.setEdge(j,Q,{weight:1})}s.exports=function(v){d.forEach(v.children(),function k(E){var F=v.children(E),B=v.node(E);if(F.length&&d.forEach(F,k),d.has(B,"minRank")){B.borderLeft=[],B.borderRight=[];for(var L=B.minRank,J=B.maxRank+1;L<J;++L)y(v,"borderLeft","_bl",E,B,L),y(v,"borderRight","_br",E,B,L)}})}},3258:(s,b,i)=>{var d=i(8436);function c(E){d.forEach(E.nodes(),function(F){y(E.node(F))}),d.forEach(E.edges(),function(F){y(E.edge(F))})}function y(E){var F=E.width;E.width=E.height,E.height=F}function v(E){E.y=-E.y}function k(E){var F=E.x;E.x=E.y,E.y=F}s.exports={adjust:function(E){var F=E.graph().rankdir.toLowerCase();"lr"!==F&&"rl"!==F||c(E)},undo:function(E){var B,F=E.graph().rankdir.toLowerCase();"bt"!==F&&"rl"!==F||(d.forEach((B=E).nodes(),function(L){v(B.node(L))}),d.forEach(B.edges(),function(L){var J=B.edge(L);d.forEach(J.points,v),d.has(J,"y")&&v(J)})),"lr"!==F&&"rl"!==F||(function(B){d.forEach(B.nodes(),function(L){k(B.node(L))}),d.forEach(B.edges(),function(L){var J=B.edge(L);d.forEach(J.points,k),d.has(J,"x")&&k(J)})}(E),c(E))}}},7822:s=>{function b(){var c={};c._next=c._prev=c,this._sentinel=c}function i(c){c._prev._next=c._next,c._next._prev=c._prev,delete c._next,delete c._prev}function d(c,y){if("_next"!==c&&"_prev"!==c)return y}s.exports=b,b.prototype.dequeue=function(){var c=this._sentinel,y=c._prev;if(y!==c)return i(y),y},b.prototype.enqueue=function(c){var y=this._sentinel;c._prev&&c._next&&i(c),c._next=y._next,y._next._prev=c,y._next=c,c._prev=y},b.prototype.toString=function(){for(var c=[],y=this._sentinel,v=y._prev;v!==y;)c.push(JSON.stringify(v,d)),v=v._prev;return"["+c.join(", ")+"]"}},7570:(s,b,i)=>{var d=i(8436),c=i(1138),y=i(574).Graph;s.exports={debugOrdering:function(v){var k=c.buildLayerMatrix(v),E=new y({compound:!0,multigraph:!0}).setGraph({});return d.forEach(v.nodes(),function(F){E.setNode(F,{label:F}),E.setParent(F,"layer"+v.node(F).rank)}),d.forEach(v.edges(),function(F){E.setEdge(F.v,F.w,{},F.name)}
1),d.forEach(k,function(F,B){E.setNode("layer"+B,{rank:"same"}),d.reduce(F,function(J,j){return E.setEdge(J,j,{style:"invis"}),j})}),E}}},574:(s,b,i)=>{var d;try{d=i(8282)}catch{}d||(d=window.graphlib),s.exports=d},4079:(s,b,i)=>{var d=i(8436),c=i(574).Graph,y=i(7822);s.exports=function(F,B){if(F.nodeCount()<=1)return[];var L=function(j,Q){var W=new c,X=0,ot=0;d.forEach(j.nodes(),function(St){W.setNode(St,{v:St,in:0,out:0})}),d.forEach(j.edges(),function(St){var bt=W.edge(St.v,St.w)||0,Lt=Q(St);W.setEdge(St.v,St.w,bt+Lt),ot=Math.max(ot,W.node(St.v).out+=Lt),X=Math.max(X,W.node(St.w).in+=Lt)});var dt=d.range(ot+X+3).map(function(){return new y}),at=X+1;return d.forEach(W.nodes(),function(St){E(dt,at,W.node(St))}),{graph:W,buckets:dt,zeroIdx:at}}(F,B||v),J=function(j,Q,W){for(var X,ot=[],dt=Q[Q.length-1],at=Q[0];j.nodeCount();){for(;X=at.dequeue();)k(j,Q,W,X);for(;X=dt.dequeue();)k(j,Q,W,X);if(j.nodeCount())for(var St=Q.length-2;St>0;--St)if(X=Q[St].dequeue()){ot=ot.concat(k(j,Q,W,X,!0));break}}return ot}(L.graph,L.buckets,L.zeroIdx);return d.flatten(d.map(J,function(j){return F.outEdges(j.v,j.w)}),!0)};var v=d.constant(1);function k(F,B,L,J,j){var Q=j?[]:void 0;return d.forEach(F.inEdges(J.v),function(W){var X=F.edge(W),ot=F.node(W.v);j&&Q.push({v:W.v,w:W.w}),ot.out-=X,E(B,L,ot)}),d.forEach(F.outEdges(J.v),function(W){var X=F.edge(W),dt=F.node(W.w);dt.in-=X,E(B,L,dt)}),F.removeNode(J.v),Q}function E(F,B,L){L.out?L.in?F[L.out-L.in+B].enqueue(L):F[F.length-1].enqueue(L):F[0].enqueue(L)}},8123:(s,b,i)=>{var d=i(8436),c=i(1207),y=i(5995),v=i(8093),k=i(1138).normalizeRanks,E=i(4219),F=i(1138).removeEmptyRanks,B=i(2981),L=i(1133),J=i(3258),j=i(3408),Q=i(7873),W=i(1138),X=i(574).Graph;s.exports=function(Yt,yt){var Ct=yt&&yt.debugTiming?W.time:W.notime;Ct("layout",function(){var Gt=Ct(" buildLayoutGraph",function(){return Ot=Yt,ke=new X({multigraph:!0,compound:!0}),be=Nt(Ot.graph()),ke.setGraph(d.merge({},dt,kt(be,ot),d.pick(be,at))),d.forEach(Ot.nodes(),function(Te){var Rt=Nt(Ot.node(Te));ke.setNode(Te,d.defaults(kt(Rt,St),bt)),ke.setParent(Te,Ot.parent(Te))}),d.forEach(Ot.edges(),function(Te){var Rt=Nt(Ot.edge(Te));ke.setEdge(Te,d.merge({},ft,kt(Rt,Lt),d.pick(Rt,rt)))}),ke;var Ot,ke,be});Ct(" runLayout",function(){var Ot,ke;Ot=Gt,(ke=Ct)(" makeSpaceForEdgeLabels",function(){var be,Te;(Te=(be=Ot).graph()).ranksep/=2,d.forEach(be.edges(),function(Rt){var ee=be.edge(Rt);ee.minlen*=2,"c"!==ee.labelpos.toLowerCase()&&("TB"===Te.rankdir||"BT"===Te.rankdir?ee.width+=ee.labeloffset:ee.height+=ee.labeloffset)})}),ke(" removeSelfEdges",function(){var be;d.forEach((be=Ot).edges(),function(Te){if(Te.v===Te.w){var Rt=be.node(Te.v);Rt.selfEdges||(Rt.selfEdges=[]),Rt.selfEdges.push({e:Te,label:be.edge(Te)}),be.removeEdge(Te)}})}),ke(" acyclic",function(){c.run(Ot)}),ke(" nestingGraph.run",function(){B.run(Ot)}),ke(" rank",function(){v(W.asNonCompoundGraph(Ot))}),ke(" injectEdgeLabelProxies",function(){var be;d.forEach((be=Ot).edges(),function(Te){var Rt=be.edge(Te);if(Rt.width&&Rt.height){var ee=be.node(Te.v),pe={rank:(be.node(Te.w).rank-ee.rank)/2+ee.rank,e:Te};W.addDummyNode(be,"edge-proxy",pe,"_ep")}})}),ke(" removeEmptyRanks",function(){F(Ot)}),ke(" nestingGraph.cleanup",function(){B.cleanup(Ot)}),ke(" normalizeRanks",function(){k(Ot)}),ke(" assignRankMinMax",function(){var be,Te;Te=0,d.forEach((be=Ot).nodes(),function(Rt){var ee=be.node(Rt);ee.borderTop&&(ee.minRank=be.node(ee.borderTop).rank,ee.maxRank=be.node(ee.borderBottom).rank,Te=d.max(Te,ee.maxRank))}),be.graph().maxRank=Te}),ke(" removeEdgeLabelProxies",function(){var be;d.forEach((be=Ot).nodes(),function(Te){var Rt=be.node(Te);"edge-proxy"===Rt.dummy&&(be.edge(Rt.e).labelRank=Rt.rank,be.removeNode(Te))})}),ke(" normalize.run",function(){y.run(Ot)}),ke(" parentDummyChains",function(){E(Ot)}),ke(" addBorderSegments",function(){L(Ot)}),ke(" order",function(){j(Ot)}),ke(" insertSelfEdges",function(){var be,Te;Te=W.buildLayerMatrix(be=Ot),d.forEach(Te,function(Rt){var ee=0;d.forEach(Rt,function(pe,ve){var De=be.node(pe);De.order=ve+ee,d.forEach(De.selfEdges,function(Jt){W.addDummyNode(be,"selfedge",{width:Jt.label.
1width,height:Jt.label.height,rank:De.rank,order:ve+ ++ee,e:Jt.e,label:Jt.label},"_se")}),delete De.selfEdges})})}),ke(" adjustCoordinateSystem",function(){J.adjust(Ot)}),ke(" position",function(){Q(Ot)}),ke(" positionSelfEdges",function(){var be;d.forEach((be=Ot).nodes(),function(Te){var Rt=be.node(Te);if("selfedge"===Rt.dummy){var ee=be.node(Rt.e.v),pe=ee.x+ee.width/2,ve=ee.y,De=Rt.x-pe,Jt=ee.height/2;be.setEdge(Rt.e,Rt.label),be.removeNode(Te),Rt.label.points=[{x:pe+2*De/3,y:ve-Jt},{x:pe+5*De/6,y:ve-Jt},{x:pe+De,y:ve},{x:pe+5*De/6,y:ve+Jt},{x:pe+2*De/3,y:ve+Jt}],Rt.label.x=Rt.x,Rt.label.y=Rt.y}})}),ke(" removeBorderNodes",function(){var be;d.forEach((be=Ot).nodes(),function(Te){if(be.children(Te).length){var Rt=be.node(Te),ee=be.node(Rt.borderTop),pe=be.node(Rt.borderBottom),ve=be.node(d.last(Rt.borderLeft)),De=be.node(d.last(Rt.borderRight));Rt.width=Math.abs(De.x-ve.x),Rt.height=Math.abs(pe.y-ee.y),Rt.x=ve.x+Rt.width/2,Rt.y=ee.y+Rt.height/2}}),d.forEach(be.nodes(),function(Te){"border"===be.node(Te).dummy&&be.removeNode(Te)})}),ke(" normalize.undo",function(){y.undo(Ot)}),ke(" fixupEdgeLabelCoords",function(){var be;d.forEach((be=Ot).edges(),function(Te){var Rt=be.edge(Te);if(d.has(Rt,"x"))switch("l"!==Rt.labelpos&&"r"!==Rt.labelpos||(Rt.width-=Rt.labeloffset),Rt.labelpos){case"l":Rt.x-=Rt.width/2+Rt.labeloffset;break;case"r":Rt.x+=Rt.width/2+Rt.labeloffset}})}),ke(" undoCoordinateSystem",function(){J.undo(Ot)}),ke(" translateGraph",function(){!function(be){var Te=Number.POSITIVE_INFINITY,Rt=0,ee=Number.POSITIVE_INFINITY,pe=0,ve=be.graph(),De=ve.marginx||0,Jt=ve.marginy||0;function nn(xe){var Vt=xe.x,ae=xe.y,ht=xe.width,le=xe.height;Te=Math.min(Te,Vt-ht/2),Rt=Math.max(Rt,Vt+ht/2),ee=Math.min(ee,ae-le/2),pe=Math.max(pe,ae+le/2)}d.forEach(be.nodes(),function(xe){nn(be.node(xe))}),d.forEach(be.edges(),function(xe){var Vt=be.edge(xe);d.has(Vt,"x")&&nn(Vt)}),Te-=De,ee-=Jt,d.forEach(be.nodes(),function(xe){var Vt=be.node(xe);Vt.x-=Te,Vt.y-=ee}),d.forEach(be.edges(),function(xe){var Vt=be.edge(xe);d.forEach(Vt.points,function(ae){ae.x-=Te,ae.y-=ee}),d.has(Vt,"x")&&(Vt.x-=Te),d.has(Vt,"y")&&(Vt.y-=ee)}),ve.width=Rt-Te+De,ve.height=pe-ee+Jt}(Ot)}),ke(" assignNodeIntersects",function(){var be;d.forEach((be=Ot).edges(),function(Te){var Rt,ee,pe=be.edge(Te),ve=be.node(Te.v),De=be.node(Te.w);pe.points?(Rt=pe.points[0],ee=pe.points[pe.points.length-1]):(pe.points=[],Rt=De,ee=ve),pe.points.unshift(W.intersectRect(ve,Rt)),pe.points.push(W.intersectRect(De,ee))})}),ke(" reversePoints",function(){var be;d.forEach((be=Ot).edges(),function(Te){var Rt=be.edge(Te);Rt.reversed&&Rt.points.reverse()})}),ke(" acyclic.undo",function(){c.undo(Ot)})}),Ct(" updateInputGraph",function(){var Ot,ke;ke=Gt,d.forEach((Ot=Yt).nodes(),function(be){var Te=Ot.node(be),Rt=ke.node(be);Te&&(Te.x=Rt.x,Te.y=Rt.y,ke.children(be).length&&(Te.width=Rt.width,Te.height=Rt.height))}),d.forEach(Ot.edges(),function(be){var Te=Ot.edge(be),Rt=ke.edge(be);Te.points=Rt.points,d.has(Rt,"x")&&(Te.x=Rt.x,Te.y=Rt.y)}),Ot.graph().width=ke.graph().width,Ot.graph().height=ke.graph().height})})};var ot=["nodesep","edgesep","ranksep","marginx","marginy"],dt={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},at=["acyclicer","ranker","rankdir","align"],St=["width","height"],bt={width:0,height:0},Lt=["minlen","weight","width","height","labeloffset"],ft={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},rt=["labelpos"];function kt(Yt,yt){return d.mapValues(d.pick(Yt,yt),Number)}function Nt(Yt){var yt={};return d.forEach(Yt,function(Ct,Gt){yt[Gt.toLowerCase()]=Ct}),yt}},8436:(s,b,i)=>{var d;try{d={cloneDeep:i(361),constant:i(5703),defaults:i(1747),each:i(6073),filter:i(3105),find:i(3311),flatten:i(5564),forEach:i(4486),forIn:i(2620),has:i(8721),isUndefined:i(2353),last:i(928),map:i(5161),mapValues:i(6604),max:i(6162),merge:i(3857),min:i(3632),minBy:i(2762),now:i(7771),pick:i(9722),range:i(6026),reduce:i(4061),sortBy:i(9734),uniqueId:i(3955),values:i(2628),zipObject:i(7287)}}catch{}d||(d=window._),s.exports=d},2981:(s,b,i)=>{var d=i(8436),c=i(1138);function y(v,k,E,F,B,L,J){var j=v.children(J);
1if(j.length){var Q=c.addBorderNode(v,"_bt"),W=c.addBorderNode(v,"_bb"),X=v.node(J);v.setParent(Q,J),X.borderTop=Q,v.setParent(W,J),X.borderBottom=W,d.forEach(j,function(ot){y(v,k,E,F,B,L,ot);var dt=v.node(ot),at=dt.borderTop?dt.borderTop:ot,St=dt.borderBottom?dt.borderBottom:ot,bt=dt.borderTop?F:2*F,Lt=at!==St?1:B-L[J]+1;v.setEdge(Q,at,{weight:bt,minlen:Lt,nestingEdge:!0}),v.setEdge(St,W,{weight:bt,minlen:Lt,nestingEdge:!0})}),v.parent(J)||v.setEdge(k,Q,{weight:0,minlen:B+L[J]})}else J!==k&&v.setEdge(k,J,{weight:0,minlen:E})}s.exports={run:function(v){var k=c.addDummyNode(v,"root",{},"_root"),E=function(J){var j={};function Q(W,X){var ot=J.children(W);ot&&ot.length&&d.forEach(ot,function(dt){Q(dt,X+1)}),j[W]=X}return d.forEach(J.children(),function(W){Q(W,1)}),j}(v),F=d.max(d.values(E))-1,B=2*F+1;v.graph().nestingRoot=k,d.forEach(v.edges(),function(J){v.edge(J).minlen*=B});var J,L=d.reduce((J=v).edges(),function(j,Q){return j+J.edge(Q).weight},0)+1;d.forEach(v.children(),function(J){y(v,k,B,L,F,E,J)}),v.graph().nodeRankFactor=B},cleanup:function(v){var k=v.graph();v.removeNode(k.nestingRoot),delete k.nestingRoot,d.forEach(v.edges(),function(E){v.edge(E).nestingEdge&&v.removeEdge(E)})}}},5995:(s,b,i)=>{var d=i(8436),c=i(1138);s.exports={run:function(y){y.graph().dummyChains=[],d.forEach(y.edges(),function(v){!function(k,E){var F,B,L,J=E.v,j=k.node(J).rank,Q=E.w,W=k.node(Q).rank,X=E.name,ot=k.edge(E),dt=ot.labelRank;if(W!==j+1){for(k.removeEdge(E),L=0,++j;j<W;++L,++j)ot.points=[],F=c.addDummyNode(k,"edge",B={width:0,height:0,edgeLabel:ot,edgeObj:E,rank:j},"_d"),j===dt&&(B.width=ot.width,B.height=ot.height,B.dummy="edge-label",B.labelpos=ot.labelpos),k.setEdge(J,F,{weight:ot.weight},X),0===L&&k.graph().dummyChains.push(F),J=F;k.setEdge(J,Q,{weight:ot.weight},X)}}(y,v)})},undo:function(y){d.forEach(y.graph().dummyChains,function(v){var k,E=y.node(v),F=E.edgeLabel;for(y.setEdge(E.edgeObj,F);E.dummy;)k=y.successors(v)[0],y.removeNode(v),F.points.push({x:E.x,y:E.y}),"edge-label"===E.dummy&&(F.x=E.x,F.y=E.y,F.width=E.width,F.height=E.height),E=y.node(v=k)})}}},5093:(s,b,i)=>{var d=i(8436);s.exports=function(c,y,v){var k,E={};d.forEach(v,function(F){for(var B,L,J=c.parent(F);J;){if((B=c.parent(J))?(L=E[B],E[B]=J):(L=k,k=J),L&&L!==J)return void y.setEdge(L,J);J=B}})}},5439:(s,b,i)=>{var d=i(8436);s.exports=function(c,y){return d.map(y,function(v){var k=c.inEdges(v);if(k.length){var E=d.reduce(k,function(F,B){var L=c.edge(B),J=c.node(B.v);return{sum:F.sum+L.weight*J.order,weight:F.weight+L.weight}},{sum:0,weight:0});return{v,barycenter:E.sum/E.weight,weight:E.weight}}return{v}})}},3128:(s,b,i)=>{var d=i(8436),c=i(574).Graph;s.exports=function(y,v,k){var E=function(B){for(var L;B.hasNode(L=d.uniqueId("_root")););return L}(y),F=new c({compound:!0}).setGraph({root:E}).setDefaultNodeLabel(function(B){return y.node(B)});return d.forEach(y.nodes(),function(B){var L=y.node(B),J=y.parent(B);(L.rank===v||L.minRank<=v&&v<=L.maxRank)&&(F.setNode(B),F.setParent(B,J||E),d.forEach(y[k](B),function(j){var Q=j.v===B?j.w:j.v,W=F.edge(Q,B),X=d.isUndefined(W)?0:W.weight;F.setEdge(Q,B,{weight:y.edge(j).weight+X})}),d.has(L,"minRank")&&F.setNode(B,{borderLeft:L.borderLeft[v],borderRight:L.borderRight[v]}))}),F}},6630:(s,b,i)=>{var d=i(8436);function c(y,v,k){for(var E=d.zipObject(k,d.map(k,function(Q,W){return W})),F=d.flatten(d.map(v,function(Q){return d.sortBy(d.map(y.outEdges(Q),function(W){return{pos:E[W.w],weight:y.edge(W).weight}}),"pos")}),!0),B=1;B<k.length;)B<<=1;var L=2*B-1;B-=1;var J=d.map(new Array(L),function(){return 0}),j=0;return d.forEach(F.forEach(function(Q){var W=Q.pos+B;J[W]+=Q.weight;for(var X=0;W>0;)W%2&&(X+=J[W+1]),J[W=W-1>>1]+=Q.weight;j+=Q.weight*X})),j}s.exports=function(y,v){for(var k=0,E=1;E<v.length;++E)k+=c(y,v[E-1],v[E]);return k}},3408:(s,b,i)=>{var d=i(8436),c=i(2588),y=i(6630),v=i(1026),k=i(3128),E=i(5093),F=i(574).Graph,B=i(1138);function L(Q,W,X){return d.map(W,function(ot){return k(Q,ot,X)})}function J(Q,W){var X=new F;d.forEach(Q,function(ot){var dt=ot.graph().root,at=v(ot,dt,X,W);d.forEach(at.vs,function(St,bt){ot.node(St).order=bt}),E(ot,X,at.vs)})}function j(Q,W){d.forEach(W,function(X){d.forEach(X,function(ot,dt){Q.node(ot).order=dt})})}s.exports=function(Q){var W=B.maxRank(Q),X=L(Q,d.range(1,W+1),"inEdges"),ot=L(Q,d.range(W-1,-1,-1),"outEdges"),dt=c(Q);j(Q,dt);for(var at,St=Number.POSITIVE_INFINITY,bt=0,Lt=0;Lt<4;++bt,++Lt){J(bt%2?X:ot,bt%4>=2),dt=B.buildLayerMatrix(Q);var ft=y(Q,dt);ft<St&&(Lt=0,at=d.cloneDeep(dt),St=ft)}j(Q,at)}},2588:(s,b,i)=>{var d=i(8436);s.exports=function(c){var y={},v=d.filter(c.nodes(),function(B){return!c.children(B).length}),k=d.max(d.map(v,function(B){return c.node(B).rank})),E=d.map(d.range(k+1),function(){return[]}),F=d.sortBy(v,function(B){return c.node(B).rank});return d.forEach(F,function B(L){if(!d.has(y,L)){y[L]=!0;var J=c.node(L);E[J.rank].push(L),d.forEach(c.successors(L),B)}}),E}},9567:(s,b,i)=>{var d=i(8436);s.exports=function(c,y){var v={};return d.forEach(c,function(k,E){var F=v[k.v]={indegree:0,in:[],out:[],vs:[k.v],i:E};d.isUndefined(k.barycenter)||(F.barycenter=k.barycenter,F.weight=k.weight)}),d.forEach(y.edges(),function(k){var E=v[k.v],F=v[k.w];d.isUndefined(E)||d.isUndefined(F)||(F.indegree++,E.out.push(v[k.w]))}),function(k){var E=[];function F(J){return function(j){var Q,W,X,ot;j.merged||(d.isUndefined(j.barycenter)||d.isUndefined(J.barycenter)||j.barycenter>=J.barycenter)&&(X=0,ot=0,(Q=J).weight&&(X+=Q.barycenter*Q.weight,ot+=Q.weight),(W=j).weight&&(X+=W.barycenter*W.weight,ot+=W.weight),Q.vs=W.vs.concat(Q.vs),Q.barycenter=X/ot,Q.weight=ot,Q.i=Math.min(W.i,Q.i),W.merged=!0)}}function B(J){return function(j){j.in.push(J),0==--j.indegree&&k.push(j)}}for(;k.length;){var L=k.pop();E.push(L),d.forEach(L.in.reverse(),F(L)),d.forEach(L.out,B(L))}return d.map(d.filter(E,function(J){return!J.merged}),function(J){return d.pick(J,["vs","i","barycenter","weight"])})}(d.filter(v,function(k){return!k.indegree}))}},1026:(s,b,i)=>{var d=i(8436),c=i(5439),y=i(9567),v=i(7304);
1s.exports=function k(E,F,B,L){var J=E.children(F),j=E.node(F),Q=j?j.borderLeft:void 0,W=j?j.borderRight:void 0,X={};Q&&(J=d.filter(J,function(Lt){return Lt!==Q&&Lt!==W}));var ot=c(E,J);d.forEach(ot,function(Lt){if(E.children(Lt.v).length){var ft=k(E,Lt.v,B,L);X[Lt.v]=ft,d.has(ft,"barycenter")&&(kt=ft,d.isUndefined((rt=Lt).barycenter)?(rt.barycenter=kt.barycenter,rt.weight=kt.weight):(rt.barycenter=(rt.barycenter*rt.weight+kt.barycenter*kt.weight)/(rt.weight+kt.weight),rt.weight+=kt.weight))}var rt,kt});var ft,dt=y(ot,B);ft=X,d.forEach(dt,function(rt){rt.vs=d.flatten(rt.vs.map(function(kt){return ft[kt]?ft[kt].vs:kt}),!0)});var at=v(dt,L);if(Q&&(at.vs=d.flatten([Q,at.vs,W],!0),E.predecessors(Q).length)){var St=E.node(E.predecessors(Q)[0]),bt=E.node(E.predecessors(W)[0]);d.has(at,"barycenter")||(at.barycenter=0,at.weight=0),at.barycenter=(at.barycenter*at.weight+St.order+bt.order)/(at.weight+2),at.weight+=2}return at}},7304:(s,b,i)=>{var d=i(8436),c=i(1138);function y(v,k,E){for(var F;k.length&&(F=d.last(k)).i<=E;)k.pop(),v.push(F.vs),E++;return E}s.exports=function(v,k){var E,F=c.partition(v,function(ot){return d.has(ot,"barycenter")}),B=F.lhs,L=d.sortBy(F.rhs,function(ot){return-ot.i}),J=[],j=0,Q=0,W=0;B.sort((E=!!k,function(ot,dt){return ot.barycenter<dt.barycenter?-1:ot.barycenter>dt.barycenter?1:E?dt.i-ot.i:ot.i-dt.i})),W=y(J,L,W),d.forEach(B,function(ot){W+=ot.vs.length,J.push(ot.vs),j+=ot.barycenter*ot.weight,Q+=ot.weight,W=y(J,L,W)});var X={vs:d.flatten(J,!0)};return Q&&(X.barycenter=j/Q,X.weight=Q),X}},4219:(s,b,i)=>{var d=i(8436);s.exports=function(c){var v,k,E,y=(k={},E=0,d.forEach((v=c).children(),function F(B){var L=E;d.forEach(v.children(B),F),k[B]={low:L,lim:E++}}),k);d.forEach(c.graph().dummyChains,function(v){for(var k=c.node(v),E=k.edgeObj,F=function(W,X,ot,dt){var at,St,bt=[],Lt=[],ft=Math.min(X[ot].low,X[dt].low),rt=Math.max(X[ot].lim,X[dt].lim);at=ot;do{at=W.parent(at),bt.push(at)}while(at&&(X[at].low>ft||rt>X[at].lim));for(St=at,at=dt;(at=W.parent(at))!==St;)Lt.push(at);return{path:bt.concat(Lt.reverse()),lca:St}}(c,y,E.v,E.w),B=F.path,L=F.lca,J=0,j=B[J],Q=!0;v!==E.w;){if(k=c.node(v),Q){for(;(j=B[J])!==L&&c.node(j).maxRank<k.rank;)J++;j===L&&(Q=!1)}if(!Q){for(;J<B.length-1&&c.node(j=B[J+1]).minRank<=k.rank;)J++;j=B[J]}c.setParent(v,j),v=c.successors(v)[0]}})}},3573:(s,b,i)=>{var d=i(8436),c=i(574).Graph,y=i(1138);function v(W,X){var ot={};return d.reduce(X,function(dt,at){var St=0,bt=0,Lt=dt.length,ft=d.last(at);return d.forEach(at,function(rt,kt){var Nt=function(yt,Ct){if(yt.node(Ct).dummy)return d.find(yt.predecessors(Ct),function(Gt){return yt.node(Gt).dummy})}(W,rt),Yt=Nt?W.node(Nt).order:Lt;(Nt||rt===ft)&&(d.forEach(at.slice(bt,kt+1),function(yt){d.forEach(W.predecessors(yt),function(Ct){var Gt=W.node(Ct),Ot=Gt.order;!(Ot<St||Yt<Ot)||Gt.dummy&&W.node(yt).dummy||E(ot,Ct,yt)})}),bt=kt+1,St=Yt)}),at}),ot}function k(W,X){var ot={};function dt(at,St,bt,Lt,ft){var rt;d.forEach(d.range(St,bt),function(kt){W.node(rt=at[kt]).dummy&&d.forEach(W.predecessors(rt),function(Nt){var Yt=W.node(Nt);Yt.dummy&&(Yt.order<Lt||Yt.order>ft)&&E(ot,Nt,rt)})})}return d.reduce(X,function(at,St){var bt,Lt=-1,ft=0;return d.forEach(St,function(rt,kt){if("border"===W.node(rt).dummy){var Nt=W.predecessors(rt);Nt.length&&(bt=W.node(Nt[0]).order,dt(St,ft,kt,Lt,bt),ft=kt,Lt=bt)}dt(St,ft,St.length,bt,at.length)}),St}),ot}function E(W,X,ot){if(X>ot){var dt=X;X=ot,ot=dt}var at=W[X];at||(W[X]=at={}),at[ot]=!0}function F(W,X,ot){if(X>ot){var dt=X;X=ot,ot=dt}return d.has(W[X],ot)}function B(W,X,ot,dt){var at={},St={},bt={};return d.forEach(X,function(Lt){d.forEach(Lt,function(ft,rt){at[ft]=ft,St[ft]=ft,bt[ft]=rt})}),d.forEach(X,function(Lt){var ft=-1;d.forEach(Lt,function(rt){var kt=dt(rt);if(kt.length)for(var Nt=((kt=d.sortBy(kt,function(Gt){return bt[Gt]})).length-1)/2,Yt=Math.floor(Nt),yt=Math.ceil(Nt);Yt<=yt;++Yt){var Ct=kt[Yt];St[rt]===rt&&ft<bt[Ct]&&!F(ot,rt,Ct)&&(St[Ct]=rt,St[rt]=at[rt]=at[Ct],ft=bt[Ct])}})}),{root:at,align:St}}function L(W,X,ot,dt,at){var rt,kt,Nt,Yt,Ot,ke,be,yt,Ct,Gt,St={}
1,bt=(rt=W,kt=X,Nt=ot,Yt=at,yt=new c,Ct=rt.graph(),Ot=Ct.nodesep,ke=Ct.edgesep,be=Yt,Gt=function(Te,Rt,ee){var pe,ve=Te.node(Rt),De=Te.node(ee),Jt=0;if(Jt+=ve.width/2,d.has(ve,"labelpos"))switch(ve.labelpos.toLowerCase()){case"l":pe=-ve.width/2;break;case"r":pe=ve.width/2}if(pe&&(Jt+=be?pe:-pe),pe=0,Jt+=(ve.dummy?ke:Ot)/2,Jt+=(De.dummy?ke:Ot)/2,Jt+=De.width/2,d.has(De,"labelpos"))switch(De.labelpos.toLowerCase()){case"l":pe=De.width/2;break;case"r":pe=-De.width/2}return pe&&(Jt+=be?pe:-pe),pe=0,Jt},d.forEach(kt,function(Ot){var ke;d.forEach(Ot,function(be){var Te=Nt[be];if(yt.setNode(Te),ke){var Rt=Nt[ke],ee=yt.edge(Rt,Te);yt.setEdge(Rt,Te,Math.max(Gt(rt,be,ke),ee||0))}ke=be})}),yt),Lt=at?"borderLeft":"borderRight";function ft(rt,kt){for(var Nt=bt.nodes(),Yt=Nt.pop(),yt={};Yt;)yt[Yt]?rt(Yt):(yt[Yt]=!0,Nt.push(Yt),Nt=Nt.concat(kt(Yt))),Yt=Nt.pop()}return ft(function(rt){St[rt]=bt.inEdges(rt).reduce(function(kt,Nt){return Math.max(kt,St[Nt.v]+bt.edge(Nt))},0)},bt.predecessors.bind(bt)),ft(function(rt){var kt=bt.outEdges(rt).reduce(function(Yt,yt){return Math.min(Yt,St[yt.w]-bt.edge(yt))},Number.POSITIVE_INFINITY),Nt=W.node(rt);kt!==Number.POSITIVE_INFINITY&&Nt.borderType!==Lt&&(St[rt]=Math.max(St[rt],kt))},bt.successors.bind(bt)),d.forEach(dt,function(rt){St[rt]=St[ot[rt]]}),St}function J(W,X){return d.minBy(d.values(X),function(ot){var dt=Number.NEGATIVE_INFINITY,at=Number.POSITIVE_INFINITY;return d.forIn(ot,function(St,bt){var Lt=W.node(bt).width/2;dt=Math.max(St+Lt,dt),at=Math.min(St-Lt,at)}),dt-at})}function j(W,X){var ot=d.values(X),dt=d.min(ot),at=d.max(ot);d.forEach(["u","d"],function(St){d.forEach(["l","r"],function(bt){var Lt,ft=St+bt,rt=W[ft];if(rt!==X){var kt=d.values(rt);(Lt="l"===bt?dt-d.min(kt):at-d.max(kt))&&(W[ft]=d.mapValues(rt,function(Nt){return Nt+Lt}))}})})}function Q(W,X){return d.mapValues(W.ul,function(ot,dt){if(X)return W[X.toLowerCase()][dt];var at=d.sortBy(d.map(W,dt));return(at[1]+at[2])/2})}s.exports={positionX:function(W){var X,ot=y.buildLayerMatrix(W),dt=d.merge(v(W,ot),k(W,ot)),at={};d.forEach(["u","d"],function(bt){X="u"===bt?ot:d.values(ot).reverse(),d.forEach(["l","r"],function(Lt){"r"===Lt&&(X=d.map(X,function(Nt){return d.values(Nt).reverse()}));var ft=("u"===bt?W.predecessors:W.successors).bind(W),rt=B(0,X,dt,ft),kt=L(W,X,rt.root,rt.align,"r"===Lt);"r"===Lt&&(kt=d.mapValues(kt,function(Nt){return-Nt})),at[bt+Lt]=kt})});var St=J(W,at);return j(at,St),Q(at,W.graph().align)},findType1Conflicts:v,findType2Conflicts:k,addConflict:E,hasConflict:F,verticalAlignment:B,horizontalCompaction:L,alignCoordinates:j,findSmallestWidthAlignment:J,balance:Q}},7873:(s,b,i)=>{var d=i(8436),c=i(1138),y=i(3573).positionX;s.exports=function(v){var k,E,F,B;k=v=c.asNonCompoundGraph(v),E=c.buildLayerMatrix(k),F=k.graph().ranksep,B=0,d.forEach(E,function(L){var J=d.max(d.map(L,function(j){return k.node(j).height}));d.forEach(L,function(j){k.node(j).y=B+J/2}),B+=J+F}),d.forEach(y(v),function(k,E){v.node(E).x=k})}},300:(s,b,i)=>{var d=i(8436),c=i(574).Graph,y=i(6681).slack;function v(F,B){return d.forEach(F.nodes(),function L(J){d.forEach(B.nodeEdges(J),function(j){var Q=j.v,W=J===Q?j.w:Q;F.hasNode(W)||y(B,j)||(F.setNode(W,{}),F.setEdge(J,W,{}),L(W))})}),F.nodeCount()}function k(F,B){return d.minBy(B.edges(),function(L){if(F.hasNode(L.v)!==F.hasNode(L.w))return y(B,L)})}function E(F,B,L){d.forEach(F.nodes(),function(J){B.node(J).rank+=L})}s.exports=function(F){var B,L,J=new c({directed:!1}),j=F.nodes()[0],Q=F.nodeCount();for(J.setNode(j,{});v(J,F)<Q;)B=k(J,F),L=J.hasNode(B.v)?y(F,B):-y(F,B),E(J,F,L);return J}},8093:(s,b,i)=>{var d=i(6681).longestPath,c=i(300),y=i(2472);s.exports=function(k){switch(k.graph().ranker){case"network-simplex":default:y(k);break;case"tight-tree":d(E=k),c(E);break;case"longest-path":v(k)}var E};var v=d},2472:(s,b,i)=>{var d=i(8436),c=i(300),y=i(6681).slack,v=i(6681).longestPath,k=i(574).alg.preorder,E=i(574).alg.postorder,F=i(1138).simplify;function B(at){at=F(at),v(at);var St,bt=c(at);for(j(bt),L(bt,at);St=W(bt);)ot(bt,at,St,X(bt,at,St))}function L(at,St){var bt=E(at,at.nodes());bt=bt.slice(0,bt.length-1),d.forEach(bt,function(Lt){var ft,rt,kt,Nt;rt=St,Nt=(ft=at).node(kt=Lt).parent,ft.edge(kt,Nt).cutvalue=J(ft,rt,kt)})}function J(at,St,bt){var Lt=at.node(bt).parent,ft=!0,rt=St.edge(bt,Lt),kt=0;
1return rt||(ft=!1,rt=St.edge(Lt,bt)),kt=rt.weight,d.forEach(St.nodeEdges(bt),function(Nt){var Ct=Nt.v===bt,Gt=Ct?Nt.w:Nt.v;if(Gt!==Lt){var Ot=Ct===ft,ke=St.edge(Nt).weight;if(kt+=Ot?ke:-ke,at.hasEdge(bt,Gt)){var be=at.edge(bt,Gt).cutvalue;kt+=Ot?-be:be}}}),kt}function j(at,St){arguments.length<2&&(St=at.nodes()[0]),Q(at,{},1,St)}function Q(at,St,bt,Lt,ft){var rt=bt,kt=at.node(Lt);return St[Lt]=!0,d.forEach(at.neighbors(Lt),function(Nt){d.has(St,Nt)||(bt=Q(at,St,bt,Nt,Lt))}),kt.low=rt,kt.lim=bt++,ft?kt.parent=ft:delete kt.parent,bt}function W(at){return d.find(at.edges(),function(St){return at.edge(St).cutvalue<0})}function X(at,St,bt){var Lt=bt.v,ft=bt.w;St.hasEdge(Lt,ft)||(Lt=bt.w,ft=bt.v);var rt=at.node(Lt),kt=at.node(ft),Nt=rt,Yt=!1;rt.lim>kt.lim&&(Nt=kt,Yt=!0);var yt=d.filter(St.edges(),function(Ct){return Yt===dt(0,at.node(Ct.v),Nt)&&Yt!==dt(0,at.node(Ct.w),Nt)});return d.minBy(yt,function(Ct){return y(St,Ct)})}function ot(at,St,bt,Lt){var kt,Nt,Yt,yt;at.removeEdge(bt.v,bt.w),at.setEdge(Lt.v,Lt.w,{}),j(at),L(at,St),Nt=St,Yt=d.find((kt=at).nodes(),function(Ct){return!Nt.node(Ct).parent}),yt=(yt=k(kt,Yt)).slice(1),d.forEach(yt,function(Ct){var Gt=kt.node(Ct).parent,Ot=Nt.edge(Ct,Gt),ke=!1;Ot||(Ot=Nt.edge(Gt,Ct),ke=!0),Nt.node(Ct).rank=Nt.node(Gt).rank+(ke?Ot.minlen:-Ot.minlen)})}function dt(at,St,bt){return bt.low<=St.lim&&St.lim<=bt.lim}s.exports=B,B.initLowLimValues=j,B.initCutValues=L,B.calcCutValue=J,B.leaveEdge=W,B.enterEdge=X,B.exchangeEdges=ot},6681:(s,b,i)=>{var d=i(8436);s.exports={longestPath:function(c){var y={};d.forEach(c.sources(),function v(k){var E=c.node(k);if(d.has(y,k))return E.rank;y[k]=!0;var F=d.min(d.map(c.outEdges(k),function(B){return v(B.w)-c.edge(B).minlen}));return F!==Number.POSITIVE_INFINITY&&null!=F||(F=0),E.rank=F})},slack:function(c,y){return c.node(y.w).rank-c.node(y.v).rank-c.edge(y).minlen}}},1138:(s,b,i)=>{var d=i(8436),c=i(574).Graph;function y(k,E,F,B){var L;do{L=d.uniqueId(B)}while(k.hasNode(L));return F.dummy=E,k.setNode(L,F),L}function v(k){return d.max(d.map(k.nodes(),function(E){var F=k.node(E).rank;if(!d.isUndefined(F))return F}))}s.exports={addDummyNode:y,simplify:function(k){var E=(new c).setGraph(k.graph());return d.forEach(k.nodes(),function(F){E.setNode(F,k.node(F))}),d.forEach(k.edges(),function(F){var B=E.edge(F.v,F.w)||{weight:0,minlen:1},L=k.edge(F);E.setEdge(F.v,F.w,{weight:B.weight+L.weight,minlen:Math.max(B.minlen,L.minlen)})}),E},asNonCompoundGraph:function(k){var E=new c({multigraph:k.isMultigraph()}).setGraph(k.graph());return d.forEach(k.nodes(),function(F){k.children(F).length||E.setNode(F,k.node(F))}),d.forEach(k.edges(),function(F){E.setEdge(F,k.edge(F))}),E},successorWeights:function(k){var E=d.map(k.nodes(),function(F){var B={};return d.forEach(k.outEdges(F),function(L){B[L.w]=(B[L.w]||0)+k.edge(L).weight}),B});return d.zipObject(k.nodes(),E)},predecessorWeights:function(k){var E=d.map(k.nodes(),function(F){var B={};return d.forEach(k.inEdges(F),function(L){B[L.v]=(B[L.v]||0)+k.edge(L).weight}),B});return d.zipObject(k.nodes(),E)},intersectRect:function(k,E){var F,B,L=k.x,J=k.y,j=E.x-L,Q=E.y-J,W=k.width/2,X=k.height/2;if(!j&&!Q)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(Q)*W>Math.abs(j)*X?(Q<0&&(X=-X),F=X*j/Q,B=X):(j<0&&(W=-W),F=W,B=W*Q/j),{x:L+F,y:J+B}},buildLayerMatrix:function(k){var E=d.map(d.range(v(k)+1),function(){return[]});return d.forEach(k.nodes(),function(F){var B=k.node(F),L=B.rank;d.isUndefined(L)||(E[L][B.order]=F)}),E},normalizeRanks:function(k){var E=d.min(d.map(k.nodes(),function(F){return k.node(F).rank}));d.forEach(k.nodes(),function(F){var B=k.node(F);d.has(B,"rank")&&(B.rank-=E)})},removeEmptyRanks:function(k){var E=d.min(d.map(k.nodes(),function(J){return k.node(J).rank})),F=[];d.forEach(k.nodes(),function(J){var j=k.node(J).rank-E;F[j]||(F[j]=[]),F[j].push(J)});var B=0,L=k.graph().nodeRankFactor;d.forEach(F,function(J,j){d.isUndefined(J)&&j%L!=0?--B:B&&d.forEach(J,function(Q){k.node(Q).rank+=B})})},addBorderNode:function(k,E,F,B){var L={width:0,height:0};return arguments.length>=4&&(L.rank=F,L.order=B),y(k,"border",L,E)},maxRank:v,partition:function(k,E){var F={lhs:[],rhs:[]};return d.forEach(k,function(B){E(B)?F.lhs.push(B):F.rhs.push(B)}),F},time:function(k,E){var F=d.now();try{return E()}finally{console.log(k+" time: "+(d.now()-F)+"ms")}},notime:function(k,E){return E()}}},8177:s=>{s.exports="0.8.5"},7856:function(s){s.exports=function(){var b=Object.hasOwnProperty,i=Object.
1setPrototypeOf,d=Object.isFrozen,c=Object.getPrototypeOf,y=Object.getOwnPropertyDescriptor,v=Object.freeze,k=Object.seal,E=Object.create,F=typeof Reflect<"u"&&Reflect,B=F.apply,L=F.construct;B||(B=function(jt,Pt,de){return jt.apply(Pt,de)}),v||(v=function(jt){return jt}),k||(k=function(jt){return jt}),L||(L=function(jt,Pt){return new(Function.prototype.bind.apply(jt,[null].concat(function(de){if(Array.isArray(de)){for(var un=0,Ae=Array(de.length);un<de.length;un++)Ae[un]=de[un];return Ae}return Array.from(de)}(Pt))))});var J,j=ft(Array.prototype.forEach),Q=ft(Array.prototype.pop),W=ft(Array.prototype.push),X=ft(String.prototype.toLowerCase),ot=ft(String.prototype.match),dt=ft(String.prototype.replace),at=ft(String.prototype.indexOf),St=ft(String.prototype.trim),bt=ft(RegExp.prototype.test),Lt=(J=TypeError,function(){for(var jt=arguments.length,Pt=Array(jt),de=0;de<jt;de++)Pt[de]=arguments[de];return L(J,Pt)});function ft(jt){return function(Pt){for(var de=arguments.length,un=Array(de>1?de-1:0),Ae=1;Ae<de;Ae++)un[Ae-1]=arguments[Ae];return B(jt,Pt,un)}}function rt(jt,Pt){i&&i(jt,null);for(var de=Pt.length;de--;){var un=Pt[de];if("string"==typeof un){var Ae=X(un);Ae!==un&&(d(Pt)||(Pt[de]=Ae),un=Ae)}jt[un]=!0}return jt}function kt(jt){var Pt=E(null),de=void 0;for(de in jt)B(b,jt,[de])&&(Pt[de]=jt[de]);return Pt}function Nt(jt,Pt){for(;null!==jt;){var de=y(jt,Pt);if(de){if(de.get)return ft(de.get);if("function"==typeof de.value)return ft(de.value)}jt=c(jt)}return function(un){return console.warn("fallback value for",un),null}}var Yt=v(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),yt=v(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ct=v(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Gt=v(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ot=v(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),ke=v(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),be=v(["#text"]),Te=v(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Rt=v(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ee=v(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),pe=v(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ve=k(/\{\{[\s\S]*|[\s\S]*\}\}/gm),De=k(/<%[\s\S]*|[\s\S]*%>/gm),Jt=k(/^data-[\-\w.\u00B7-\uFFFF]/),nn=k(/^aria-[\-\w]+$/),xe=k(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Vt=k(/^(?:\w+script|data):/i),ae=k(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(jt){return typeof jt}:function(jt){return jt&&"function"==typeof Symbol&&jt.constructor===Symbol&&jt!==Symbol.prototype?"symbol":typeof jt};function le(jt){if(Array.isArray(jt)){for(var Pt=0,de=Array(jt.length);Pt<jt.length;Pt++)de[Pt]=jt[Pt];return de}return Array.from(jt)}var Bt=function(){return typeof window>"u"?null:window},te=function(jt,Pt){if("object"!==(void 0===jt?"undefined":ht(jt))||"function"!=typeof jt.createPolicy)return null;var de=null,un="data-tt-policy-suffix";Pt.currentScript&&Pt.currentScript.hasAttribute(un)&&(de=Pt.currentScript.getAttribute(un));var Ae="dompurify"+(de?"#"+de:"");try{return jt.createPolicy(Ae,{createHTML:function(Pe){return Pe}})}catch{return console.warn("TrustedTypes policy "+Ae+" could not be created."),null}};return function jt(){var Pt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Bt(),de=function(Ht){return jt(Ht)};if(de.version="2.3.5",de.removed=[],!Pt||!Pt.document||9!==Pt.document.nodeType)return de.isSupported=!1,de;var un=Pt.document,Ae=Pt.document,Pe=Pt.DocumentFragment,Tn=Pt.HTMLTemplateElement,an=Pt.Node,Qe=Pt.Element,Oe=Pt.NodeFilter,dn=Pt.NamedNodeMap,We=void 0===dn?Pt.NamedNodeMap||Pt.MozNamedAttrMap:dn,sn=Pt.HTMLFormElement,cn=Pt.DOMParser,Ve=Pt.trustedTypes,Wn=Qe.prototype,Be
1=Nt(Wn,"cloneNode"),pn=Nt(Wn,"nextSibling"),En=Nt(Wn,"childNodes"),zi=Nt(Wn,"parentNode");if("function"==typeof Tn){var In=Ae.createElement("template");In.content&&In.content.ownerDocument&&(Ae=In.content.ownerDocument)}var _i=te(Ve,un),xn=_i?_i.createHTML(""):"",Dn=Ae,ln=Dn.implementation,Un=Dn.createNodeIterator,Mn=Dn.createDocumentFragment,Xn=Dn.getElementsByTagName,ti=un.importNode,$i={};try{$i=kt(Ae).documentMode?Ae.documentMode:{}}catch{}var Nn={};de.isSupported="function"==typeof zi&&ln&&void 0!==ln.createHTMLDocument&&9!==$i;var ii=ve,Gn=De,ai=Jt,si=nn,pi=Vt,Rn=ae,$n=xe,bn=null,zn=rt({},[].concat(le(Yt),le(yt),le(Ct),le(Ot),le(be))),An=null,Ar=rt({},[].concat(le(Te),le(Rt),le(ee),le(pe))),Ni=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),go=null,jn=null,es=!0,qo=!0,Er=!1,Ki=!1,er=!1,pr=!1,xr=!1,ji=!1,br=!1,Wi=!1,oo=!0,Lr=!0,yi=!1,hr={},Vo=null,wr=rt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Qo=null,Pa=rt({},["audio","video","img","source","image","track"]),Ur=null,gn=rt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ci="http://www.w3.org/1998/Math/MathML",Bn="http://www.w3.org/2000/svg",$e="http://www.w3.org/1999/xhtml",li=$e,Tt=!1,gr=void 0,ie=["application/xhtml+xml","text/html"],ao="text/html",Co=void 0,oa=null,Ra=Ae.createElement("form"),ns=function(Ht){return Ht instanceof RegExp||Ht instanceof Function},is=function(Ht){oa&&oa===Ht||(Ht&&"object"===(void 0===Ht?"undefined":ht(Ht))||(Ht={}),Ht=kt(Ht),bn="ALLOWED_TAGS"in Ht?rt({},Ht.ALLOWED_TAGS):zn,An="ALLOWED_ATTR"in Ht?rt({},Ht.ALLOWED_ATTR):Ar,Ur="ADD_URI_SAFE_ATTR"in Ht?rt(kt(gn),Ht.ADD_URI_SAFE_ATTR):gn,Qo="ADD_DATA_URI_TAGS"in Ht?rt(kt(Pa),Ht.ADD_DATA_URI_TAGS):Pa,Vo="FORBID_CONTENTS"in Ht?rt({},Ht.FORBID_CONTENTS):wr,go="FORBID_TAGS"in Ht?rt({},Ht.FORBID_TAGS):{},jn="FORBID_ATTR"in Ht?rt({},Ht.FORBID_ATTR):{},hr="USE_PROFILES"in Ht&&Ht.USE_PROFILES,es=!1!==Ht.ALLOW_ARIA_ATTR,qo=!1!==Ht.ALLOW_DATA_ATTR,Er=Ht.ALLOW_UNKNOWN_PROTOCOLS||!1,Ki=Ht.SAFE_FOR_TEMPLATES||!1,er=Ht.WHOLE_DOCUMENT||!1,ji=Ht.RETURN_DOM||!1,br=Ht.RETURN_DOM_FRAGMENT||!1,Wi=Ht.RETURN_TRUSTED_TYPE||!1,xr=Ht.FORCE_BODY||!1,oo=!1!==Ht.SANITIZE_DOM,Lr=!1!==Ht.KEEP_CONTENT,yi=Ht.IN_PLACE||!1,$n=Ht.ALLOWED_URI_REGEXP||$n,li=Ht.NAMESPACE||$e,Ht.CUSTOM_ELEMENT_HANDLING&&ns(Ht.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ni.tagNameCheck=Ht.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Ht.CUSTOM_ELEMENT_HANDLING&&ns(Ht.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ni.attributeNameCheck=Ht.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Ht.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof Ht.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ni.allowCustomizedBuiltInElements=Ht.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),gr=gr=-1===ie.indexOf(Ht.PARSER_MEDIA_TYPE)?ao:Ht.PARSER_MEDIA_TYPE,Co="application/xhtml+xml"===gr?function(tn){return tn}:X,Ki&&(qo=!1),br&&(ji=!0),hr&&(bn=rt({},[].concat(le(be))),An=[],!0===hr.html&&(rt(bn,Yt),rt(An,Te)),!0===hr.svg&&(rt(bn,yt),rt(An,Rt),rt(An,pe)),!0===hr.svgFilters&&(rt(bn,Ct),rt(An,Rt),rt(An,pe)),!0===hr.mathMl&&(rt(bn,Ot),rt(An,ee),rt(An,pe))),Ht.ADD_TAGS&&(bn===zn&&(bn=kt(bn)),rt(bn,Ht.ADD_TAGS)),Ht.ADD_ATTR&&(An===Ar&&(An=kt(An)),rt(An,Ht.ADD_ATTR)),Ht.ADD_URI_SAFE_ATTR&&rt(Ur,Ht.ADD_URI_SAFE_ATTR),Ht.FORBID_CONTENTS&&(Vo===wr&&(Vo=kt(Vo)),rt(Vo,Ht.FORBID_CONTENTS)),Lr&&(bn["#text"]=!0),er&&rt(bn,["html","head","body"]),bn.table&&(rt(bn,["tbody"]),delete go.tbody),v&&v(Ht),oa=Ht)},dr=rt({},["mi","mo","mn","ms","mtext"]),ko=rt({},["foreignobject","desc","title","annotation-xml"]),Pn=rt({},yt);rt(Pn,Ct),rt(Pn,Gt);var aa=rt({},Ot);rt(aa,ke);var Ta=function(Ht){var tn=zi(Ht);tn&&tn.tagName||(tn={namespaceURI:$e,tagName:"template"});var ze=X(Ht.tagName),Ui=X(tn.tagName);if(Ht.namespaceURI===Bn)return tn.namespaceURI===$e?"svg"===ze:tn.namespaceURI===ci?"svg"===ze&&("annotation-xml"===Ui||dr[Ui]):Boolean(Pn[ze]);if(Ht.namespaceURI===ci)return tn.namespaceURI===$e?"math"===ze:tn.namespaceURI===Bn?"math"===ze&&ko[Ui]:Boolean(aa[ze]);if(Ht.namespaceURI===$e){if(tn.namespaceURI===Bn&&!ko[Ui]||tn.namespaceURI===ci&&!dr[Ui])return!1;var Bi=rt({},["title","style","font","a","script"]);return!aa[ze]&&(Bi[ze]||!Pn[ze])}return!1},Li=function(Ht){W(de.removed,{element:Ht});try{Ht.parentNode.removeChild(Ht)}catch{try{Ht.outerHTML=xn}catch{Ht.remove()}}},Hi=function(Ht,tn){try{W(de.removed,{attribute:tn.getAttributeNode(Ht),from:tn})}catch{W(de.removed,{attribute:null,from:tn})}if(tn.removeAttribute(Ht),"is"===Ht&&!An[Ht])if(ji||br)try{Li(tn)}catch{}else try{tn.setAttribute(Ht,"")}catch{}},Pr=function(Ht){var tn=void 0,ze=void 0;if(xr)Ht="<remove></remove>"+Ht;else{var Ui=ot(Ht,/^[\r\n\t ]+/);ze=Ui&&Ui[0]}"application/xhtml+xml"===gr&&(Ht='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Ht+"</body></html>");var Bi=_i?_i.createHTML(Ht):Ht;if(li===$e)try{tn=(new cn).parseFromString(Bi,gr)}catch{}if(!tn||!tn.documentElement){tn=ln.createDocument(li,"template",null);try{tn.documentElement.innerHTML=Tt?"":Bi}catch{}}var Rr=tn.body||tn.documentElement;return Ht&&ze&&Rr.insertBefore(Ae.createTextNode(ze),Rr.childNodes[0]||null),li===$e?Xn.call(tn,er?"html":"body")[0]:er?tn.documentElement:Rr},Tr=function(Ht){return Un.call(Ht.ownerDocument||Ht,Ht,Oe.SHOW_ELEMENT|Oe.SHOW_COMMENT|Oe.SHOW_TEXT,null,!1)},nr=function(Ht){return Ht instanceof sn&&("string"!=typeof Ht.nodeName||"string"!=typeof Ht.textContent||"function"!=typeof Ht.removeChild||!(Ht.attributes instanceof We)||"function"!=typeof Ht.removeAttribute||"function"!=typeof Ht.setAttribute||"string"!=typeof Ht.namespaceURI||"function"!=typeof Ht.insertBefore)},ir=function(Ht){return"object"===(void 0===an?"undefined":ht(an))?Ht instanceof an:Ht&&"object"===(void 0===Ht?"undefined":ht(Ht))&&"number"==typeof Ht.nodeType&&"string"==typeof Ht.nodeName}
1,Zr=function(Ht,tn,ze){Nn[Ht]&&j(Nn[Ht],function(Ui){Ui.call(de,tn,ze,oa)})},mr=function(Ht){var tn=void 0;if(Zr("beforeSanitizeElements",Ht,null),nr(Ht)||ot(Ht.nodeName,/[\u0080-\uFFFF]/))return Li(Ht),!0;var ze=Co(Ht.nodeName);if(Zr("uponSanitizeElement",Ht,{tagName:ze,allowedTags:bn}),!ir(Ht.firstElementChild)&&(!ir(Ht.content)||!ir(Ht.content.firstElementChild))&&bt(/<[/\w]/g,Ht.innerHTML)&&bt(/<[/\w]/g,Ht.textContent)||"select"===ze&&bt(/<template/i,Ht.innerHTML))return Li(Ht),!0;if(!bn[ze]||go[ze]){if(Lr&&!Vo[ze]){var Ui=zi(Ht)||Ht.parentNode,Bi=En(Ht)||Ht.childNodes;if(Bi&&Ui)for(var Rr=Bi.length-1;Rr>=0;--Rr)Ui.insertBefore(Be(Bi[Rr],!0),pn(Ht))}return!(!go[ze]&&mo(ze)&&(Ni.tagNameCheck instanceof RegExp&&bt(Ni.tagNameCheck,ze)||Ni.tagNameCheck instanceof Function&&Ni.tagNameCheck(ze))||(Li(Ht),0))}return Ht instanceof Qe&&!Ta(Ht)?(Li(Ht),!0):"noscript"!==ze&&"noembed"!==ze||!bt(/<\/no(script|embed)/i,Ht.innerHTML)?(Ki&&3===Ht.nodeType&&(tn=dt(tn=Ht.textContent,ii," "),tn=dt(tn,Gn," "),Ht.textContent!==tn&&(W(de.removed,{element:Ht.cloneNode()}),Ht.textContent=tn)),Zr("afterSanitizeElements",Ht,null),!1):(Li(Ht),!0)},Do=function(Ht,tn,ze){if(oo&&("id"===tn||"name"===tn)&&(ze in Ae||ze in Ra))return!1;if((!qo||jn[tn]||!bt(ai,tn))&&(!es||!bt(si,tn)))if(!An[tn]||jn[tn]){if(!(mo(Ht)&&(Ni.tagNameCheck instanceof RegExp&&bt(Ni.tagNameCheck,Ht)||Ni.tagNameCheck instanceof Function&&Ni.tagNameCheck(Ht))&&(Ni.attributeNameCheck instanceof RegExp&&bt(Ni.attributeNameCheck,tn)||Ni.attributeNameCheck instanceof Function&&Ni.attributeNameCheck(tn))||"is"===tn&&Ni.allowCustomizedBuiltInElements&&(Ni.tagNameCheck instanceof RegExp&&bt(Ni.tagNameCheck,ze)||Ni.tagNameCheck instanceof Function&&Ni.tagNameCheck(ze))))return!1}else if(!Ur[tn]&&!bt($n,dt(ze,Rn,""))&&("src"!==tn&&"xlink:href"!==tn&&"href"!==tn||"script"===Ht||0!==at(ze,"data:")||!Qo[Ht])&&(!Er||bt(pi,dt(ze,Rn,"")))&&ze)return!1;return!0},mo=function(Ht){return Ht.indexOf("-")>0},so=function(Ht){var tn=void 0,ze=void 0,Ui=void 0,Bi=void 0;Zr("beforeSanitizeAttributes",Ht,null);var Rr=Ht.attributes;if(Rr){var Cr={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:An};for(Bi=Rr.length;Bi--;){var zs=tn=Rr[Bi],So=zs.name,rr=zs.namespaceURI;if(ze=St(tn.value),Ui=Co(So),Cr.attrName=Ui,Cr.attrValue=ze,Cr.keepAttr=!0,Cr.forceKeepAttr=void 0,Zr("uponSanitizeAttribute",Ht,Cr),ze=Cr.attrValue,!Cr.forceKeepAttr&&(Hi(So,Ht),Cr.keepAttr))if(bt(/\/>/i,ze))Hi(So,Ht);else{Ki&&(ze=dt(ze,ii," "),ze=dt(ze,Gn," "));var Tc=Co(Ht.nodeName);if(Do(Tc,Ui,ze))try{rr?Ht.setAttributeNS(rr,So,ze):Ht.setAttribute(So,ze),Q(de.removed)}catch{}}}Zr("afterSanitizeAttributes",Ht,null)}},Ja=function Ht(tn){var ze=void 0,Ui=Tr(tn);for(Zr("beforeSanitizeShadowDOM",tn,null);ze=Ui.nextNode();)Zr("uponSanitizeShadowNode",ze,null),mr(ze)||(ze.content instanceof Pe&&Ht(ze.content),so(ze));Zr("afterSanitizeShadowDOM",tn,null)};return de.sanitize=function(Ht,tn){var ze=void 0,Ui=void 0,Bi=void 0,Rr=void 0,Cr=void 0;if((Tt=!Ht)&&(Ht="\x3c!--\x3e"),"string"!=typeof Ht&&!ir(Ht)){if("function"!=typeof Ht.toString)throw Lt("toString is not a function");if("string"!=typeof(Ht=Ht.toString()))throw Lt("dirty is not a string, aborting")}if(!de.isSupported){if("object"===ht(Pt.toStaticHTML)||"function"==typeof Pt.toStaticHTML){if("string"==typeof Ht)return Pt.toStaticHTML(Ht);if(ir(Ht))return Pt.toStaticHTML(Ht.outerHTML)}return Ht}if(pr||is(tn),de.removed=[],"string"==typeof Ht&&(yi=!1),yi){if(Ht.nodeName){var zs=Co(Ht.nodeName);if(!bn[zs]||go[zs])throw Lt("root node is forbidden and cannot be sanitized in-place")}}else if(Ht instanceof an)1===(Ui=(ze=Pr("\x3c!----\x3e")).ownerDocument.importNode(Ht,!0)).nodeType&&"BODY"===Ui.nodeName||"HTML"===Ui.nodeName?ze=Ui:ze.appendChild(Ui);else{if(!ji&&!Ki&&!er&&-1===Ht.indexOf("<"))return _i&&Wi?_i.createHTML(Ht):Ht;if(!(ze=Pr(Ht)))return ji?null:Wi?xn:""}ze&&xr&&Li(ze.firstChild);for(var So=Tr(yi?Ht:ze);Bi=So.nextNode();)3===Bi.nodeType&&Bi===Rr||mr(Bi)||(Bi.content instanceof Pe&&Ja(Bi.content),so(Bi),Rr=Bi);if(Rr=null,yi)return Ht;if(ji){if(br)for(Cr=Mn.call(ze.ownerDocument);ze.firstChild;)Cr.appendChild(ze.firstChild);else Cr=ze;return An.shadowroot&&(Cr=ti.call(un,Cr,!0)),Cr}var rr=er?ze.outerHTML:ze.innerHTML;return Ki&&(rr=dt(rr,ii," "),rr=dt(rr,Gn," ")),_i&&Wi?_i.createHTML(rr):rr},de.setConfig=function(Ht){is(Ht),pr=!0},de.clearConfig=function(){oa=null,pr=!1},de.isValidAttribute=function(Ht,tn,ze){oa||is({});var Ui=Co(Ht),Bi=Co(tn);return Do(Ui,Bi,ze)},de.addHook=function(Ht,tn){"function"==typeof tn&&(Nn[Ht]=Nn[Ht]||[],W(Nn[Ht],tn))},de.removeHook=function(Ht){Nn[Ht]&&Q(Nn[Ht])},de.removeHooks=function(Ht){Nn[Ht]&&(Nn[Ht]=[])},de.removeAllHooks=function(){Nn={}},de}()}()},8282:(s,b,i)=>{var d=i(2354);s.exports={Graph:d.Graph,json:i(8974),alg:i(2440),version:d.version}},2842:(s,b,i)=>{var d=i(9126);s.exports=function(c){var y,v={},k=[];function E(F){d.has(v,F)||(v[F]=!0,y.push(F),d.each(c.successors(F),E),d.each(c.predecessors(F),E)
1)}return d.each(c.nodes(),function(F){y=[],E(F),y.length&&k.push(y)}),k}},3984:(s,b,i)=>{var d=i(9126);function c(y,v,k,E,F,B){d.has(E,v)||(E[v]=!0,k||B.push(v),d.each(F(v),function(L){c(y,L,k,E,F,B)}),k&&B.push(v))}s.exports=function(y,v,k){d.isArray(v)||(v=[v]);var E=(y.isDirected()?y.successors:y.neighbors).bind(y),F=[],B={};return d.each(v,function(L){if(!y.hasNode(L))throw new Error("Graph does not have node: "+L);c(y,L,"post"===k,B,E,F)}),F}},4847:(s,b,i)=>{var d=i(3763),c=i(9126);s.exports=function(y,v,k){return c.transform(y.nodes(),function(E,F){E[F]=d(y,F,v,k)},{})}},3763:(s,b,i)=>{var d=i(9126),c=i(9675);s.exports=function(v,k,E,F){return function(B,L,J,j){var Q,W,X={},ot=new c,dt=function(at){var St=at.v!==Q?at.v:at.w,bt=X[St],Lt=J(at),ft=W.distance+Lt;if(Lt<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+at+" Weight: "+Lt);ft<bt.distance&&(bt.distance=ft,bt.predecessor=Q,ot.decrease(St,ft))};for(B.nodes().forEach(function(at){var St=at===L?0:Number.POSITIVE_INFINITY;X[at]={distance:St},ot.add(at,St)});ot.size()>0&&(Q=ot.removeMin(),(W=X[Q]).distance!==Number.POSITIVE_INFINITY);)j(Q).forEach(dt);return X}(v,String(k),E||y,F||function(B){return v.outEdges(B)})};var y=d.constant(1)},9096:(s,b,i)=>{var d=i(9126),c=i(5023);s.exports=function(y){return d.filter(c(y),function(v){return v.length>1||1===v.length&&y.hasEdge(v[0],v[0])})}},8924:(s,b,i)=>{var d=i(9126);s.exports=function(y,v,k){return F=v||c,B=k||function(E){return y.outEdges(E)},L={},(J=y.nodes()).forEach(function(j){L[j]={},L[j][j]={distance:0},J.forEach(function(Q){j!==Q&&(L[j][Q]={distance:Number.POSITIVE_INFINITY})}),B(j).forEach(function(Q){var W=Q.v===j?Q.w:Q.v,X=F(Q);L[j][W]={distance:X,predecessor:j}})}),J.forEach(function(j){var Q=L[j];J.forEach(function(W){var X=L[W];J.forEach(function(ot){var at=Q[ot],St=X[ot],bt=X[j].distance+at.distance;bt<St.distance&&(St.distance=bt,St.predecessor=at.predecessor)})})}),L;var F,B,L,J};var c=d.constant(1)},2440:(s,b,i)=>{s.exports={components:i(2842),dijkstra:i(3763),dijkstraAll:i(4847),findCycles:i(9096),floydWarshall:i(8924),isAcyclic:i(2707),postorder:i(8828),preorder:i(2648),prim:i(514),tarjan:i(5023),topsort:i(2166)}},2707:(s,b,i)=>{var d=i(2166);s.exports=function(c){try{d(c)}catch(y){if(y instanceof d.CycleException)return!1;throw y}return!0}},8828:(s,b,i)=>{var d=i(3984);s.exports=function(c,y){return d(c,y,"post")}},2648:(s,b,i)=>{var d=i(3984);s.exports=function(c,y){return d(c,y,"pre")}},514:(s,b,i)=>{var d=i(9126),c=i(771),y=i(9675);s.exports=function(v,k){var E,F=new c,B={},L=new y;function J(Q){var W=Q.v===E?Q.w:Q.v,X=L.priority(W);
1if(void 0!==X){var ot=k(Q);ot<X&&(B[W]=E,L.decrease(W,ot))}}if(0===v.nodeCount())return F;d.each(v.nodes(),function(Q){L.add(Q,Number.POSITIVE_INFINITY),F.setNode(Q)}),L.decrease(v.nodes()[0],0);for(var j=!1;L.size()>0;){if(E=L.removeMin(),d.has(B,E))F.setEdge(E,B[E]);else{if(j)throw new Error("Input graph is not connected: "+v);j=!0}v.nodeEdges(E).forEach(J)}return F}},5023:(s,b,i)=>{var d=i(9126);s.exports=function(c){var y=0,v=[],k={},E=[];function F(B){var L=k[B]={onStack:!0,lowlink:y,index:y++};if(v.push(B),c.successors(B).forEach(function(Q){d.has(k,Q)?k[Q].onStack&&(L.lowlink=Math.min(L.lowlink,k[Q].index)):(F(Q),L.lowlink=Math.min(L.lowlink,k[Q].lowlink))}),L.lowlink===L.index){var J,j=[];do{J=v.pop(),k[J].onStack=!1,j.push(J)}while(B!==J);E.push(j)}}return c.nodes().forEach(function(B){d.has(k,B)||F(B)}),E}},2166:(s,b,i)=>{var d=i(9126);function c(v){var k={},E={},F=[];if(d.each(v.sinks(),function B(L){if(d.has(E,L))throw new y;d.has(k,L)||(E[L]=!0,k[L]=!0,d.each(v.predecessors(L),B),delete E[L],F.push(L))}),d.size(k)!==v.nodeCount())throw new y;return F}function y(){}s.exports=c,c.CycleException=y,y.prototype=new Error},9675:(s,b,i)=>{var d=i(9126);function c(){this._arr=[],this._keyIndices={}}s.exports=c,c.prototype.size=function(){return this._arr.length},c.prototype.keys=function(){return this._arr.map(function(y){return y.key})},c.prototype.has=function(y){return d.has(this._keyIndices,y)},c.prototype.priority=function(y){var v=this._keyIndices[y];if(void 0!==v)return this._arr[v].priority},c.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},c.prototype.add=function(y,v){var k=this._keyIndices;if(y=String(y),!d.has(k,y)){var E=this._arr,F=E.length;return k[y]=F,E.push({key:y,priority:v}),this._decrease(F),!0}return!1},c.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var y=this._arr.pop();return delete this._keyIndices[y.key],this._heapify(0),y.key},c.prototype.decrease=function(y,v){var k=this._keyIndices[y];if(v>this._arr[k].priority)throw new Error("New priority is greater than current priority. Key: "+y+" Old: "+this._arr[k].priority+" New: "+v);this._arr[k].priority=v,this._decrease(k)},c.prototype._heapify=function(y){var v=this._arr,k=2*y,E=k+1,F=y;k<v.length&&(F=v[k].priority<v[F].priority?k:F,E<v.length&&(F=v[E].priority<v[F].priority?E:F),F!==y&&(this._swap(y,F),this._heapify(F)))},c.prototype._decrease=function(y){for(var v,k=this._arr,E=k[y].priority;0!==y&&!(k[v=y>>1].priority<E);)this._swap(y,v),y=v},c.prototype._swap=function(y,v){var k=this._arr,E=this._keyIndices,F=k[y],B=k[v];k[y]=B,k[v]=F,E[B.key]=y,E[F.key]=v}},771:(s,b,i)=>{var d=i(9126);s.exports=y;var c="\0";function y(L){this._isDirected=!d.has(L,"directed")||L.directed,this._isMultigraph=!!d.has(L,"multigraph")&&L.multigraph,this._isCompound=!!d.has(L,"compound")&&L.compound,this._label=void 0,this._defaultNodeLabelFn=d.constant(void 0),this._defaultEdgeLabelFn=d.constant(void 0),this._nodes={}
1,this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function v(L,J){L[J]?L[J]++:L[J]=1}function k(L,J){--L[J]||delete L[J]}function E(L,J,j,Q){var W=""+J,X=""+j;if(!L&&W>X){var ot=W;W=X,X=ot}return W+"\x01"+X+"\x01"+(d.isUndefined(Q)?"\0":Q)}function F(L,J,j,Q){var W=""+J,X=""+j;if(!L&&W>X){var ot=W;W=X,X=ot}var dt={v:W,w:X};return Q&&(dt.name=Q),dt}function B(L,J){return E(L,J.v,J.w,J.name)}y.prototype._nodeCount=0,y.prototype._edgeCount=0,y.prototype.isDirected=function(){return this._isDirected},y.prototype.isMultigraph=function(){return this._isMultigraph},y.prototype.isCompound=function(){return this._isCompound},y.prototype.setGraph=function(L){return this._label=L,this},y.prototype.graph=function(){return this._label},y.prototype.setDefaultNodeLabel=function(L){return d.isFunction(L)||(L=d.constant(L)),this._defaultNodeLabelFn=L,this},y.prototype.nodeCount=function(){return this._nodeCount},y.prototype.nodes=function(){return d.keys(this._nodes)},y.prototype.sources=function(){var L=this;return d.filter(this.nodes(),function(J){return d.isEmpty(L._in[J])})},y.prototype.sinks=function(){var L=this;return d.filter(this.nodes(),function(J){return d.isEmpty(L._out[J])})},y.prototype.setNodes=function(L,J){var j=arguments,Q=this;return d.each(L,function(W){j.length>1?Q.setNode(W,J):Q.setNode(W)}),this},y.prototype.setNode=function(L,J){return d.has(this._nodes,L)?(arguments.length>1&&(this._nodes[L]=J),this):(this._nodes[L]=arguments.length>
vendor: 5,840 bytes, line 1
11?J:this._defaultNodeLabelFn(L),this._isCompound&&(this._parent[L]=c,this._children[L]={},this._children["\0"][L]=!0),this._in[L]={},this._preds[L]={},this._out[L]={},this._sucs[L]={},++this._nodeCount,this)},y.prototype.node=function(L){return this._nodes[L]},y.prototype.hasNode=function(L){return d.has(this._nodes,L)},y.prototype.removeNode=function(L){var J=this;if(d.has(this._nodes,L)){var j=function(Q){J.removeEdge(J._edgeObjs[Q])};delete this._nodes[L],this._isCompound&&(this._removeFromParentsChildList(L),delete this._parent[L],d.each(this.children(L),function(Q){J.setParent(Q)}),delete this._children[L]),d.each(d.keys(this._in[L]),j),delete this._in[L],delete this._preds[L],d.each(d.keys(this._out[L]),j),delete this._out[L],delete this._sucs[L],--this._nodeCount}return this},y.prototype.setParent=function(L,J){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(d.isUndefined(J))J=c;else{for(var j=J+="";!d.isUndefined(j);j=this.parent(j))if(j===L)throw new Error("Setting "+J+" as parent of "+L+" would create a cycle");this.setNode(J)}return this.setNode(L),this._removeFromParentsChildList(L),this._parent[L]=J,this._children[J][L]=!0,this},y.prototype._removeFromParentsChildList=function(L){delete this._children[this._parent[L]][L]},y.prototype.parent=function(L){if(this._isCompound){var J=this._parent[L];if(J!==c)return J}},y.prototype.children=function(L){if(d.isUndefined(L)&&(L=c),this._isCompound){var J=this._children[L];if(J)return d.keys(J)}else{if(L===c)return this.nodes();if(this.hasNode(L))return[]}},y.prototype.predecessors=function(L){var J=this._preds[L];if(J)return d.keys(J)},y.prototype.successors=function(L){var J=this._sucs[L];if(J)return d.keys(J)},y.prototype.neighbors=function(L){var J=this.predecessors(L);if(J)return d.union(J,this.successors(L))},y.prototype.isLeaf=function(L){return 0===(this.isDirected()?this.successors(L):this.neighbors(L)).length},y.prototype.filterNodes=function(L){var J=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});J.setGraph(this.graph());var j=this;d.each(this._nodes,function(X,ot){L(ot)&&J.setNode(ot,X)}),d.each(this._edgeObjs,function(X){J.hasNode(X.v)&&J.hasNode(X.w)&&J.setEdge(X,j.edge(X))});var Q={};function W(X){var ot=j.parent(X);return void 0===ot||J.hasNode(ot)?(Q[X]=ot,ot):ot in Q?Q[ot]:W(ot)}return this._isCompound&&d.each(J.nodes(),function(X){J.setParent(X,W(X))}),J},y.prototype.setDefaultEdgeLabel=function(L){return d.isFunction(L)||(L=d.constant(L)),this._defaultEdgeLabelFn=L,this},y.prototype.edgeCount=function(){return this._edgeCount},y.prototype.edges=function(){return d.values(this._edgeObjs)},y.prototype.setPath=function(L,J){var j=this,Q=arguments;return d.reduce(L,function(W,X){return Q.length>1?j.setEdge(W,X,J):j.setEdge(W,X),X}),this},y.prototype.setEdge=function(){var L,J,j,Q,W=!1,X=arguments[0];"object"==typeof X&&null!==X&&"v"in X?(L=X.v,J=X.w,j=X.name,2===arguments.length&&(Q=arguments[1],W=!0)):(L=X,J=arguments[1],j=arguments[3],arguments.length>2&&(Q=arguments[2],W=!0)),L=""+L,J=""+J,d.isUndefined(j)||(j=""+j);var ot=E(this._isDirected,L,J,j);if(d.has(this._edgeLabels,ot))return W&&(this._edgeLabels[ot]=Q),this;if(!d.isUndefined(j)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(L),this.setNode(J),this._edgeLabels[ot]=W?Q:this._defaultEdgeLabelFn(L,J,j);var dt=F(this._isDirected,L,J,j);return L=dt.v,J=dt.w,Object.freeze(dt),this._edgeObjs[ot]=dt,v(this._preds[J],L),v(this._sucs[L],J),this._in[J][ot]=dt,this._out[L][ot]=dt,this._edgeCount++,this},y.prototype.edge=function(L,J,j){var Q=1===arguments.length?B(this._isDirected,arguments[0]):E(this._isDirected,L,J,j);return this._edgeLabels[Q]},y.prototype.hasEdge=function(L,J,j){var Q=1===arguments.length?B(this._isDirected,arguments[0]):E(this._isDirected,L,J,j);return d.has(this._edgeLabels,Q)},y.prototype.removeEdge=function(L,J,j){var Q=1===arguments.length?B(this._isDirected,arguments[0]):E(this._isDirected,L,J,j),W=this._edgeObjs[Q];return W&&(L=W.v,J=W.w,delete this._edgeLabels[Q],delete this._edgeObjs[Q],k(this._preds[J],L),k(this._sucs[L],J),delete this._in[J][Q],delete this._out[L][Q],this._edgeCount--),this},y.prototype.inEdges=function(L,J){var j=this._in[L];if(j){var Q=d.values(j);return J?d.filter(Q,function(W){return W.v===J}):Q}},y.prototype.outEdges=function(L,J){var j=this._out[L];if(j){var Q=d.values(j);return J?d.filter(Q,function(W){return W.w===J}):Q}},y.prototype.nodeEdges=function(L,J){var j=this.inEdges(L,J);if(j)return j.concat(this.outEdges(L,J))}},2354:(s,b,i)=>{s.exports={Graph:i(771),version:i(9631)}},8974:(s,b,i)=>{var d=i(9126),c=i(771);function y(k){return d.map(k.nodes(),function(E){var F=k.node(E),B=k.parent(E),L={v:E};return d.isUndefined(F)||(L.value=F),d.isUndefined(B)||(L.parent=B),L})}function v(k){return d.map(k.edges(),function(E){var F=k.edge(E),B={v:E.v,w:E.w};return d.isUndefined(E.name)||(B.name=E.name),d.isUndefined(F)||(B.value=F),B})}s.exports={write:function(k){var E={options:{directed:k.isDirected(),multigraph:k.isMultigraph(),compound:k.isCompound()},nodes:y(k),edges:v(k)};return d.isUndefined(k.graph())||(E.value=d.clone(k.graph())),E},read:function(k){var E=new c(k.options).setGraph(k.value);return d.each(k.nodes,function(F){E.setNode(F.v,F.value),F.parent&&E.setParent(F.v,F.parent)}),d.each(k.edges,function(F){E.setEdge({v:F.v,w:F.w,name:F.name},F.value)}),E}}},9126:(s,b,i)=>{var d;try{d={clone:i(6678),constant:i(5703),each:i(6073),filter:i(3105),has:i(8721),isArray:i(1469),isEmpty:i(1609),isFunction:i(3560),isUndefined:i(2353),keys:i(3674),map:i(5161),reduce:i(4061),size:i(4238),transform:i(8718),union:i(3386),values:i(2628)}}catch{}d||(d=window._),s.exports=d},9631:s=>{s.exports="2.1.8"},1773:(s,b,i)=>
1{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1083),c=i(7628),y=function(){function v(k,E){this.color=E,this.changed=!1,this.data=k,this.type=new c.default}return v.prototype.set=function(k,E){return this.color=E,this.changed=!1,this.data=k,this.type.type=0,this},v.prototype._ensureHSL=function(){var k=this.data,F=k.s,B=k.l;void 0===k.h&&(k.h=d.default.channel.rgb2hsl(k,"h")),void 0===F&&(k.s=d.default.channel.rgb2hsl(k,"s")),void 0===B&&(k.l=d.default.channel.rgb2hsl(k,"l"))},v.prototype._ensureRGB=function(){var k=this.data,F=k.g,B=k.b;void 0===k.r&&(k.r=d.default.channel.hsl2rgb(k,"r")),void 0===F&&(k.g=d.default.channel.hsl2rgb(k,"g")),void 0===B&&(k.b=d.default.channel.hsl2rgb(k,"b"))},Object.defineProperty(v.prototype,"r",{get:function(){var k=this.data,E=k.r;return this.type.is(2)||void 0===E?(this._ensureHSL(),d.default.channel.hsl2rgb(k,"r")):E},set:function(k){this.type.set(1),this.changed=!0,this.data.r=k},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"g",{get:function(){var k=this.data,E=k.g;return this.type.is(2)||void 0===E?(this._ensureHSL(),d.default.channel.hsl2rgb(k,"g")):E},set:function(k){this.type.set(1),this.changed=!0,this.data.g=k},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"b",{get:function(){var k=this.data,E=k.b;return this.type.is(2)||void 0===E?(this._ensureHSL(),d.default.channel.hsl2rgb(k,"b")):E},set:function(k){this.type.set(1),this.changed=!0,this.data.b=k},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"h",{get:function(){var k=this.data,E=k.h;return this.type.is(1)||void 0===E?(this._ensureRGB(),d.default.channel.rgb2hsl(k,"h")):E},set:function(k){this.type.set(2),this.changed=!0,this.data.h=k},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"s",{get:function(){var k=this.data,E=k.s;return this.type.is(1)||void 0===E?(this._ensureRGB(),d.default.channel.rgb2hsl(k,"s")):E},set:function(k){this.type.set(2),this.changed=!0,this.data.s=k},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"l",{get:function(){var k=this.data,E=k.l;return this.type.is(1)||void 0===E?(this._ensureRGB(),d.default.channel.rgb2hsl(k,"l")):E},set:function(k){this.type.set(2),this.changed=!0,this.data.l=k},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"a",{get:function(){return this.data.a},set:function(k){this.changed=!0,this.data.a=k},enumerable:!0,configurable:!0}),v}();b.default=y},8167:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=new(i(1773).default)({r:0,g:0,b:0,a:0},"transparent");b.default=d},7628:(s,b)=>{Object.defineProperty(b,"__esModule",{value:!0});var i=function(){function d(){this.type=0}return d.prototype.get=function(){return this.type},d.prototype.set=function(c){if(this.type&&this.type!==c)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=c},d.prototype.reset=function(){this.type=0},d.prototype.is=function(c){return this.type===c},d}();b.default=i},1655:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(8167),c=i(6061),y={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:function(v){if(35===v.charCodeAt(0)){var k=v.match(y.re);if(k){var E=k[1],F=parseInt(E,16),B=E.length,L=B%4==0,J=B>4,j=J?1:17,Q=J?8:4,W=L?0:-1,X=J?255:15;return d.default.set({r:(F>>Q*(W+3)&X)*j,g:(F>>Q*(W+2)&X)*j,b:(F>>Q*(W+1)&X)*j,a:L?(F&X)*j/255:1},v)}}},stringify:function(v){var k=v.r,E=v.g,F=v.b,B=v.a;return B<1?"#"+c.DEC2HEX[Math.round(k)]+c.DEC2HEX[Math.round(E)]+c.DEC2HEX[Math.round(F)]+c.DEC2HEX[Math.round(255*B)]:"#"+c.DEC2HEX[Math.round(k)]+c.DEC2HEX[Math.round(E)]+c.DEC2HEX[Math.round(F)]}};b.default=y},8589:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1083),c=i(8167),y={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:function(v){var k=v.match(y.hueRe);if(k){var E=k[1];switch(k[2]){case"grad":return d.default.channel.clamp.h(.9*parseFloat(E));case"rad":return d.default.channel.clamp.h(180*parseFloat(E)/Math.PI);case"turn":return d.default.channel.clamp.h(360*parseFloat(E))}}return d.default.channel.clamp.h(parseFloat(v))},parse:function(v){var k=v.charCodeAt(0);if(104===k||72===k){var E=v.match(y.re);if(E){var B=E[2],L=E[3],J=E[4],j=E[5];return c.default.set({h:y._hue2deg(E[1]),s:d.default.channel.clamp.s(parseFloat(B)),l:d.default.channel.clamp.l(parseFloat(L)),a:J?d.default.channel.clamp.a(j?parseFloat(J)/100:parseFloat(J)):1},v)}}}
1,stringify:function(v){var k=v.h,E=v.s,F=v.l,B=v.a;return B<1?"hsla("+d.default.lang.round(k)+", "+d.default.lang.round(E)+"%, "+d.default.lang.round(F)+"%, "+B+")":"hsl("+d.default.lang.round(k)+", "+d.default.lang.round(E)+"%, "+d.default.lang.round(F)+"%)"}};b.default=y},2191:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1655),c=i(7538),y=i(6762),v=i(8589);b.default={format:{keyword:c.default,hex:d.default,rgb:y.default,rgba:y.default,hsl:v.default,hsla:v.default},parse:function(E){if("string"!=typeof E)return E;var F=d.default.parse(E)||y.default.parse(E)||v.default.parse(E)||c.default.parse(E);if(F)return F;throw new Error('Unsupported color format: "'+E+'"')},stringify:function(E){return!E.changed&&E.color?E.color:E.type.is(2)||void 0===E.data.r?v.default.stringify(E):E.a<1||!Number.isInteger(E.r)||!Number.isInteger(E.g)||!Number.isInteger(E.b)?y.default.stringify(E):d.default.stringify(E)}}},7538:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1655),c={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:function(y){y=y.toLowerCase();var v=c.colors[y];if(v)return d.default.parse(v)},stringify:function(y){var v=d.default.stringify(y);for(var k in c.colors)if(c.colors[k]===v)return k}};b.default=c},6762:(s,b,i)=>
1{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1083),c=i(8167),y={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:function(v){var k=v.charCodeAt(0);if(114===k||82===k){var E=v.match(y.re);if(E){var F=E[1],L=E[3],J=E[4],j=E[5],Q=E[6],W=E[7],X=E[8];return c.default.set({r:d.default.channel.clamp.r(E[2]?2.55*parseFloat(F):parseFloat(F)),g:d.default.channel.clamp.g(J?2.55*parseFloat(L):parseFloat(L)),b:d.default.channel.clamp.b(Q?2.55*parseFloat(j):parseFloat(j)),a:W?d.default.channel.clamp.a(X?parseFloat(W)/100:parseFloat(W)):1},v)}}},stringify:function(v){var k=v.r,E=v.g,F=v.b,B=v.a;return B<1?"rgba("+d.default.lang.round(k)+", "+d.default.lang.round(E)+", "+d.default.lang.round(F)+", "+d.default.lang.round(B)+")":"rgb("+d.default.lang.round(k)+", "+d.default.lang.round(E)+", "+d.default.lang.round(F)+")"}};b.default=y},6061:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1083),c={};b.DEC2HEX=c;for(var y=0;y<=255;y++)c[y]=d.default.unit.dec2hex(y)},8613:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0}),function(d){for(var c in d)b.hasOwnProperty(c)||(b[c]=d[c])}(i(1203))},5371:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(2191),c=i(418);b.default=function(y,v){var k=d.default.parse(y),E={};for(var F in v)v[F]&&(E[F]=k[F]+v[F]);return c.default(y,E)}},1416:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1083),c=i(2191);b.default=function(y,v,k){var E=c.default.parse(y),F=E[v],B=d.default.channel.clamp[v](F+k);return F!==B&&(E[v]=B),c.default.stringify(E)}},9353:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(6197);b.default=function(c){return d.default(c,"a")}},3394:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(6197);b.default=function(c){return d.default(c,"b")}},418:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1083),c=i(2191);b.default=function(y,v){var k=c.default.parse(y);for(var E in v)k[E]=d.default.channel.clamp[E](v[E]);return c.default.stringify(k)}},6197:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1083),c=i(2191);b.default=function(y,v){return d.default.lang.round(c.default.parse(y)[v])}},7361:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1416);b.default=function(c){return d.default(c,"h",180)}},3042:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1083),c=i(8346);b.default=function(y,v){var k=c.default(y),E=c.default(v),F=Math.max(k,E),B=Math.min(k,E);return d.default.lang.round(d.default.lang.clamp((F+Number.EPSILON)/(B+Number.EPSILON),1,10))}},1364:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1416);b.default=function(c,y){return d.default(c,"l",-y)}},9610:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1416);b.default=function(c,y){return d.default(c,"s",-y)}},572:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(418);b.default=function(c){return d.default(c,{s:0})}},2299:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(6197);b.default=function(c){return d.default(c,"g")}},3116:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1083),c=i(8167),y=i(2191);b.default=function(v,k,E,F){void 0===F&&(F=1);var B=c.default.set({h:d.default.channel.clamp.h(v),s:d.default.channel.clamp.s(k),l:d.default.channel.clamp.l(E),a:d.default.channel.clamp.a(F)});return y.default.stringify(B)}},3008:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(6197);b.default=function(c){return d.default(c,"h")}},1203:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(6538);b.hex=d.default;var c=i(6538);b.rgb=c.default;var y=i(6538);b.rgba=y.default;var v=i(3116);b.hsl=v.default;var k=i(3116);b.hsla=k.default;var E=i(2619);b.toKeyword=E.default;var F=i(4307);b.toHex=F.default;var B=i(4125);b.toRgba=B.default;var L=i(7329);b.toHsla=L.default;var J=i(6197);b.channel=J.default;var j=i(9640);b.red=j.default;var Q=i(2299);b.green=Q.default;var W=i(3394);b.blue=W.default;var X=i(3008);b.hue=X.default;var ot=i(6451);b.saturation=ot.default;var dt=i(9235);b.lightness=dt.default;var at=i(9353);b.alpha=at.default;var St=i(9353);b.opacity=St.default;var bt=i(3042);b.contrast=bt.default;var Lt=i(8346);b.luminance=Lt.default;var ft=i(4117);b.isDark=ft.default;var rt=i(2224);b.isLight=rt.default;var kt=i(585);b.isValid=kt.default;var Nt=i(1080);b.saturate=Nt.default;var Yt=i(9610);b.desaturate=Yt.default;var yt=i(3235);b.lighten=yt.default;var Ct=i(1364);b.darken=Ct.default;var Gt=i(7189);b.opacify=Gt.default;var Ot=i(7189);b.fadeIn=Ot.default;var ke=i(4989);b.transparentize=ke.default;var be=i(4989);b.fadeOut=be.default;var Te=i(7361);b.complement=Te.default;var Rt=i(572);b.grayscale=Rt.default;var ee=i(5371);b.adjust=ee.default;var pe=i(418);b.change=pe.default;var ve=i(566);b.invert=ve.default;var De=i(1861);b.mix=De.default;var Jt=i(7081);b.scale=Jt.default},566:(s,b,i)=>
1{Object.defineProperty(b,"__esModule",{value:!0});var d=i(2191),c=i(1861);b.default=function(y,v){void 0===v&&(v=100);var k=d.default.parse(y);return k.r=255-k.r,k.g=255-k.g,k.b=255-k.b,c.default(k,y,v)}},4117:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(2224);b.default=function(c){return!d.default(c)}},2224:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(8346);b.default=function(c){return d.default(c)>=.5}},585:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(2191);b.default=function(c){try{return d.default.parse(c),!0}catch{return!1}}},3235:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1416);b.default=function(c,y){return d.default(c,"l",y)}},9235:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(6197);b.default=function(c){return d.default(c,"l")}},8346:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1083),c=i(2191);b.default=function(y){var v=c.default.parse(y),E=v.g,F=v.b,B=.2126*d.default.channel.toLinear(v.r)+.7152*d.default.channel.toLinear(E)+.0722*d.default.channel.toLinear(F);return d.default.lang.round(B)}},1861:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(2191),c=i(6538);b.default=function(y,v,k){void 0===k&&(k=50);var E=d.default.parse(y),F=E.r,B=E.g,L=E.b,J=E.a,j=d.default.parse(v),ot=j.a,dt=k/100,at=2*dt-1,St=J-ot,bt=((at*St==-1?at:(at+St)/(1+at*St))+1)/2,Lt=1-bt;return c.default(F*bt+j.r*Lt,B*bt+j.g*Lt,L*bt+j.b*Lt,J*dt+ot*(1-dt))}},7189:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1416);b.default=function(c,y){return d.default(c,"a",y)}},9640:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(6197);b.default=function(c){return d.default(c,"r")}},6538:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1083),c=i(8167),y=i(2191),v=i(418);b.default=function(k,E,F,B){if(void 0===F&&(F=0),void 0===B&&(B=1),"number"!=typeof k)return v.default(k,{a:E});var L=c.default.set({r:d.default.channel.clamp.r(k),g:d.default.channel.clamp.g(E),b:d.default.channel.clamp.b(F),a:d.default.channel.clamp.a(B)});return y.default.stringify(L)}},1080:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1416);b.default=function(c,y){return d.default(c,"s",y)}},6451:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(6197);b.default=function(c){return d.default(c,"s")}},7081:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1083),c=i(2191),y=i(5371);b.default=function(v,k){var E,F,L=c.default.parse(v),J={};for(var j in k)J[j]=(E=L[j],(F=k[j])>0?(d.default.channel.max[j]-E)*F/100:E*F/100);return y.default(v,J)}},4307:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(2191);b.default=function(c){return d.default.format.hex.stringify(d.default.parse(c))}},7329:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(2191);b.default=function(c){return d.default.format.hsla.stringify(d.default.parse(c))}},2619:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(2191);b.default=function(c){return d.default.format.keyword.stringify(d.default.parse(c))}},4125:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(2191);b.default=function(c){return d.default.format.rgba.stringify(d.default.parse(c))}},4989:(s,b,i)=>{Object.defineProperty(b,"__esModule",{value:!0});var d=i(1416);b.default=function(c,y){return d.default(c,"a",-y)}},7994:(s,b)=>{Object.defineProperty(b,"__esModule",{value:!0});var i={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:function(d){return d>=255?255:d<0?0:d},g:function(d){return d>=255?255:d<0?0:d},b:function(d){return d>=255?255:d<0?0:d},h:function(d){return d%360},s:function(d){return d>=100?100:d<0?0:d},l:function(d){return d>=100?100:d<0?0:d},a:function(d){return d>=1?1:d<0?0:d}},toLinear:function(d){var c=d/255;return d>.03928?Math.pow((c+.055)/1.055,2.4):c/12.92},hue2rgb:function(d,c,y){return y<0&&(y+=1),y>1&&(y-=1),y<1/6?d+6*(c-d)*y:y<.5?c:y<2/3?d+(c-d)*(2/3-y)*6:d},hsl2rgb:function(d,c){var y=d.h,v=d.s,k=d.l;if(!v)return 2.55*k;y/=360,v/=100;var E=(k/=100)<.5?k*(1+v):k+v-k*v,F=2*k-E;switch(c){case"r":return 255*i.hue2rgb(F,E,y+1/3);case"g":return 255*i.hue2rgb(F,E,y);case"b":return 255*i.hue2rgb(F,E,y-1/3)}},rgb2hsl:function(d,c){var y=d.r,v=d.g,k=d.b;y/=255,v/=255,k/=255;var E=Math.max(y,v,k),F=Math.min(y,v,k),B=(E+F)/2;if("l"===c)return 100*B;if(E===F)return 0;var L=E-F;if("s"===c)return 100*(B>.5?L/(2-E-F):L/(E+F));switch(E){case y:return 60*((v-k)/L+(v<k?6:0));case v:return 60*((k-y)/L+2);case k:return 60*((y-v)/L+4);default:return-1}}};b.default=i},1083:(s,b,i)=>
1{Object.defineProperty(b,"__esModule",{value:!0});var d=i(7994),c=i(4027),y=i(318);b.default={channel:d.default,lang:c.default,unit:y.default}},4027:(s,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.default={clamp:function(d,c,y){return c>y?Math.min(c,Math.max(y,d)):Math.min(y,Math.max(c,d))},round:function(d){return Math.round(1e10*d)/1e10}}},318:(s,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.default={dec2hex:function(d){var c=Math.round(d).toString(16);return c.length>1?c:"0"+c}}},8552:(s,b,i)=>{var d=i(852)(i(5639),"DataView");s.exports=d},1989:(s,b,i)=>{var d=i(1789),c=i(401),y=i(7667),v=i(1327),k=i(1866);function E(F){var B=-1,L=null==F?0:F.length;for(this.clear();++B<L;){var J=F[B];this.set(J[0],J[1])}}E.prototype.clear=d,E.prototype.delete=c,E.prototype.get=y,E.prototype.has=v,E.prototype.set=k,s.exports=E},8407:(s,b,i)=>{var d=i(7040),c=i(2188),y=i(2117),v=i(7518),k=i(4705);function E(F){var B=-1,L=null==F?0:F.length;for(this.clear();++B<L;){var J=F[B];this.set(J[0],J[1])}}E.prototype.clear=d,E.prototype.delete=c,E.prototype.get=y,E.prototype.has=v,E.prototype.set=k,s.exports=E},7071:(s,b,i)=>{var d=i(852)(i(5639),"Map");s.exports=d},3369:(s,b,i)=>{var d=i(4785),c=i(1285),y=i(6e3),v=i(9916),k=i(5265);function E(F){var B=-1,L=null==F?0:F.length;for(this.clear();++B<L;){var J=F[B];this.set(J[0],J[1])}}E.prototype.clear=d,E.prototype.delete=c,E.prototype.get=y,E.prototype.has=v,E.prototype.set=k,s.exports=E},3818:(s,b,i)=>{var d=i(852)(i(5639),"Promise");s.exports=d},8525:(s,b,i)=>{var d=i(852)(i(5639),"Set");s.exports=d},8668:(s,b,i)=>{var d=i(3369),c=i(619),y=i(2385);function v(k){var E=-1,F=null==k?0:k.length;for(this.__data__=new d;++E<F;)this.add(k[E])}v.prototype.add=v.prototype.push=c,v.prototype.has=y,s.exports=v},6384:(s,b,i)=>{var d=i(8407),c=i(7465),y=i(3779),v=i(7599),k=i(4758),E=i(4309);function F(B){var L=this.__data__=new d(B);this.size=L.size}F.prototype.clear=c,F.prototype.delete=y,F.prototype.get=v,F.prototype.has=k,F.prototype.set=E,s.exports=F},2705:(s,b,i)=>{var d=i(5639).Symbol;s.exports=d},1149:(s,b,i)=>{var d=i(5639).Uint8Array;s.exports=d},577:(s,b,i)=>{var d=i(852)(i(5639),"WeakMap");s.exports=d},6874:s=>{s.exports=function(b,i,d){switch(d.length){case 0:return b.call(i);case 1:return b.call(i,d[0]);case 2:return b.call(i,d[0],d[1]);case 3:return b.call(i,d[0],d[1],d[2])}return b.apply(i,d)}},7412:s=>{s.exports=function(b,i){for(var d=-1,c=null==b?0:b.length;++d<c&&!1!==i(b[d],d,b););return b}},4963:s=>{s.exports=function(b,i){for(var d=-1,c=null==b?0:b.length,y=0,v=[];++d<c;){var k=b[d];i(k,d,b)&&(v[y++]=k)}return v}},7443:(s,b,i)=>{var d=i(2118);s.exports=function(c,y){return!(null==c||!c.length)&&d(c,y,0)>-1}},1196:s=>{s.exports=function(b,i,d){for(var c=-1,y=null==b?0:b.length;++c<y;)if(d(i,b[c]))return!0;return!1}},4636:(s,b,i)=>{var d=i(2545),c=i(5694),y=i(1469),v=i(4144),k=i(5776),E=i(6719),F=Object.prototype.hasOwnProperty;s.exports=function(B,L){var J=y(B),j=!J&&c(B),Q=!J&&!j&&v(B),W=!J&&!j&&!Q&&E(B),X=J||j||Q||W,ot=X?d(B.length,String):[],dt=ot.length;for(var at in B)!L&&!F.call(B,at)||X&&("length"==at||Q&&("offset"==at||"parent"==at)||W&&("buffer"==at||"byteLength"==at||"byteOffset"==at)||k(at,dt))||ot.push(at);return ot}},9932:s=>{s.exports=function(b,i){for(var d=-1,c=null==b?0:b.length,y=Array(c);++d<c;)y[d]=i(b[d],d,b);return y}},2488:s=>{s.exports=function(b,i){for(var d=-1,c=i.length,y=b.length;++d<c;)b[y+d]=i[d];return b}},2663:s=>{s.exports=function(b,i,d,c){var y=-1,v=null==b?0:b.length;for(c&&v&&(d=b[++y]);++y<v;)d=i(d,b[y],y,b);return d}},2908:s=>{s.exports=function(b,i){for(var d=-1,c=null==b?0:b.length;++d<c;)if(i(b[d],d,b))return!0;return!1}},8983:(s,b,i)=>{var d=i(371)("length");s.exports=d},6556:(s,b,i)=>{var d=i(9465),c=i(7813);s.exports=function(y,v,k){(void 0!==k&&!c(y[v],k)||void 0===k&&!(v in y))&&d(y,v,k)}},4865:(s,b,i)=>{var d=i(9465),c=i(7813),y=Object.prototype.hasOwnProperty;s.exports=function(v,k,E){var F=v[k];y.call(v,k)&&c(F,E)&&(void 0!==E||k in v)||d(v,k,E)}},8470:(s,b,i)=>{var d=i(7813);s.exports=function(c,y){for(var v=c.length;v--;)if(d(c[v][0],y))return v;return-1}},4037:(s,b,i)=>{var d=i(8363),c=i(3674);s.exports=function(y,v){return y&&d(v,c(v),y)}},3886:(s,b,i)=>{var d=i(8363),c=i(1704);s.exports=function(y,v){return y&&d(v,c(v),y)}},9465:(s,b,i)=>{var d=i(8777);s.exports=function(c,y,v){"__proto__"==y&&d?d(c,y,{configurable:!0,enumerable:!0,value:v,writable:!0}):c[y]=v}},5990:(s,b,i)=>{var d=i(6384),c=i(7412),y=i(4865),v=i(4037),k=i(3886),E=i(4626),F=i(278),B=i(88
vendor: 4,071 bytes, line 1
105),L=i(1911),J=i(8234),j=i(6904),Q=i(4160),W=i(3824),X=i(9148),ot=i(8517),dt=i(1469),at=i(4144),St=i(6688),bt=i(3218),Lt=i(2928),ft=i(3674),rt=i(1704),kt="[object Arguments]",Nt="[object Function]",Yt="[object Object]",yt={};yt[kt]=yt["[object Array]"]=yt["[object ArrayBuffer]"]=yt["[object DataView]"]=yt["[object Boolean]"]=yt["[object Date]"]=yt["[object Float32Array]"]=yt["[object Float64Array]"]=yt["[object Int8Array]"]=yt["[object Int16Array]"]=yt["[object Int32Array]"]=yt["[object Map]"]=yt["[object Number]"]=yt[Yt]=yt["[object RegExp]"]=yt["[object Set]"]=yt["[object String]"]=yt["[object Symbol]"]=yt["[object Uint8Array]"]=yt["[object Uint8ClampedArray]"]=yt["[object Uint16Array]"]=yt["[object Uint32Array]"]=!0,yt["[object Error]"]=yt[Nt]=yt["[object WeakMap]"]=!1,s.exports=function Ct(Gt,Ot,ke,be,Te,Rt){var ee,pe=1&Ot,ve=2&Ot,De=4&Ot;if(ke&&(ee=Te?ke(Gt,be,Te,Rt):ke(Gt)),void 0!==ee)return ee;if(!bt(Gt))return Gt;var Jt=dt(Gt);if(Jt){if(ee=W(Gt),!pe)return F(Gt,ee)}else{var nn=Q(Gt),xe=nn==Nt||"[object GeneratorFunction]"==nn;if(at(Gt))return E(Gt,pe);if(nn==Yt||nn==kt||xe&&!Te){if(ee=ve||xe?{}:ot(Gt),!pe)return ve?L(Gt,k(ee,Gt)):B(Gt,v(ee,Gt))}else{if(!yt[nn])return Te?Gt:{};ee=X(Gt,nn,pe)}}Rt||(Rt=new d);var Vt=Rt.get(Gt);if(Vt)return Vt;Rt.set(Gt,ee),Lt(Gt)?Gt.forEach(function(ht){ee.add(Ct(ht,Ot,ke,ht,Gt,Rt))}):St(Gt)&&Gt.forEach(function(ht,le){ee.set(le,Ct(ht,Ot,ke,le,Gt,Rt))});var ae=Jt?void 0:(De?ve?j:J:ve?rt:ft)(Gt);return c(ae||Gt,function(ht,le){ae&&(ht=Gt[le=ht]),y(ee,le,Ct(ht,Ot,ke,le,Gt,Rt))}),ee}},3118:(s,b,i)=>{var d=i(3218),c=Object.create,y=function(){function v(){}return function(k){if(!d(k))return{};if(c)return c(k);v.prototype=k;var E=new v;return v.prototype=void 0,E}}();s.exports=y},9881:(s,b,i)=>{var d=i(7816),c=i(9291)(d);s.exports=c},6029:(s,b,i)=>{var d=i(3448);s.exports=function(c,y,v){for(var k=-1,E=c.length;++k<E;){var F=c[k],B=y(F);if(null!=B&&(void 0===L?B==B&&!d(B):v(B,L)))var L=B,J=F}return J}},760:(s,b,i)=>{var d=i(9881);s.exports=function(c,y){var v=[];return d(c,function(k,E,F){y(k,E,F)&&v.push(k)}),v}},1848:s=>{s.exports=function(b,i,d,c){for(var y=b.length,v=d+(c?1:-1);c?v--:++v<y;)if(i(b[v],v,b))return v;return-1}},1078:(s,b,i)=>{var d=i(2488),c=i(7285);s.exports=function y(v,k,E,F,B){var L=-1,J=v.length;for(E||(E=c),B||(B=[]);++L<J;){var j=v[L];k>0&&E(j)?k>1?y(j,k-1,E,F,B):d(B,j):F||(B[B.length]=j)}return B}},8483:(s,b,i)=>{var d=i(5063)();s.exports=d},7816:(s,b,i)=>{var d=i(8483),c=i(3674);s.exports=function(y,v){return y&&d(y,v,c)}},7786:(s,b,i)=>{var d=i(1811),c=i(327);s.exports=function(y,v){for(var k=0,E=(v=d(v,y)).length;null!=y&&k<E;)y=y[c(v[k++])];return k&&k==E?y:void 0}},8866:(s,b,i)=>{var d=i(2488),c=i(1469);s.exports=function(y,v,k){var E=v(y);return c(y)?E:d(E,k(y))}},4239:(s,b,i)=>{var d=i(2705),c=i(9607),y=i(2333),v=d?d.toStringTag:void 0;s.exports=function(k){return null==k?void 0===k?"[object Undefined]":"[object Null]":v&&v in Object(k)?c(k):y(k)}},3325:s=>{s.exports=function(b,i){return b>i}},8565:s=>{var b=Object.prototype.hasOwnProperty;s.exports=function(i,d){return null!=i&&b.call(i,d)}},13:s=>{s.exports=function(b,i){return null!=b&&i in Object(b)}},2118:(s,b,i)=>{var d=i(1848),c=i(2722),y=i(2351);s.exports=function(v,k,E){return k==k?y(v,k,E):d(v,c,E)}},9454:(s,b,i)=>{var d=i(4239),c=i(7005);s.exports=function(y){return c(y)&&"[object Arguments]"==d(y)}},939:(s,b,i)=>{var d=i(2492),c=i(7005);s.exports=function y(v,k,E,F,B){return v===k||(null==v||null==k||!c(v)&&!c(k)?v!=v&&k!=k:d(v,k,E,F,y,B))}},2492:(s,b,i)=>{var d=i(6384),c=i(7114),y=i(8351),v=i(6096),k=i(4160),E=i(1469),F=i(4144),B=i(6719),L="[object Arguments]",J="[object Array]",j="[object Object]",Q=Object.prototype.hasOwnProperty;s.exports=function(W,X,ot,dt,at,St){var bt=E(W),Lt=E(X),ft=bt?J:k(W),rt=Lt?J:k(X),kt=(ft=ft==L?j:ft)==j,Nt=(rt=rt==L?j:rt)==j,Yt=ft==rt;if(Yt&&F(W)){if(!F(X))return!1;bt=!0,kt=!1}if(Yt&&!kt)return St||(St=new d),bt||B(W)?c(W,X,ot,dt,at,St):y(W,X,ft,ot,dt,at,St);if(!(1&ot)){var yt=kt&&Q.call(W,"__wrapped__"),Ct=Nt&&Q.call(X,"__wrapped__");
vendor: 5,071 bytes, line 1
1if(yt||Ct){var Gt=yt?W.value():W,Ot=Ct?X.value():X;return St||(St=new d),at(Gt,Ot,ot,dt,St)}}return!!Yt&&(St||(St=new d),v(W,X,ot,dt,at,St))}},5588:(s,b,i)=>{var d=i(4160),c=i(7005);s.exports=function(y){return c(y)&&"[object Map]"==d(y)}},2958:(s,b,i)=>{var d=i(6384),c=i(939);s.exports=function(y,v,k,E){var F=k.length,B=F,L=!E;if(null==y)return!B;for(y=Object(y);F--;){var J=k[F];if(L&&J[2]?J[1]!==y[J[0]]:!(J[0]in y))return!1}for(;++F<B;){var j=(J=k[F])[0],Q=y[j],W=J[1];if(L&&J[2]){if(void 0===Q&&!(j in y))return!1}else{var X=new d;if(E)var ot=E(Q,W,j,y,v,X);if(!(void 0===ot?c(W,Q,3,E,X):ot))return!1}}return!0}},2722:s=>{s.exports=function(b){return b!=b}},8458:(s,b,i)=>{var d=i(3560),c=i(5346),y=i(3218),v=i(346),k=/^\[object .+?Constructor\]$/,J=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");s.exports=function(j){return!(!y(j)||c(j))&&(d(j)?J:k).test(v(j))}},9221:(s,b,i)=>{var d=i(4160),c=i(7005);s.exports=function(y){return c(y)&&"[object Set]"==d(y)}},8749:(s,b,i)=>{var d=i(4239),c=i(1780),y=i(7005),v={};v["[object Float32Array]"]=v["[object Float64Array]"]=v["[object Int8Array]"]=v["[object Int16Array]"]=v["[object Int32Array]"]=v["[object Uint8Array]"]=v["[object Uint8ClampedArray]"]=v["[object Uint16Array]"]=v["[object Uint32Array]"]=!0,v["[object Arguments]"]=v["[object Array]"]=v["[object ArrayBuffer]"]=v["[object Boolean]"]=v["[object DataView]"]=v["[object Date]"]=v["[object Error]"]=v["[object Function]"]=v["[object Map]"]=v["[object Number]"]=v["[object Object]"]=v["[object RegExp]"]=v["[object Set]"]=v["[object String]"]=v["[object WeakMap]"]=!1,s.exports=function(k){return y(k)&&c(k.length)&&!!v[d(k)]}},7206:(s,b,i)=>{var d=i(1573),c=i(6432),y=i(6557),v=i(1469),k=i(9601);s.exports=function(E){return"function"==typeof E?E:null==E?y:"object"==typeof E?v(E)?c(E[0],E[1]):d(E):k(E)}},280:(s,b,i)=>{var d=i(5726),c=i(6916),y=Object.prototype.hasOwnProperty;s.exports=function(v){if(!d(v))return c(v);var k=[];for(var E in Object(v))y.call(v,E)&&"constructor"!=E&&k.push(E);return k}},313:(s,b,i)=>{var d=i(3218),c=i(5726),y=i(3498),v=Object.prototype.hasOwnProperty;s.exports=function(k){if(!d(k))return y(k);var E=c(k),F=[];for(var B in k)("constructor"!=B||!E&&v.call(k,B))&&F.push(B);return F}},433:s=>{s.exports=function(b,i){return b<i}},9199:(s,b,i)=>{var d=i(9881),c=i(8612);s.exports=function(y,v){var k=-1,E=c(y)?Array(y.length):[];return d(y,function(F,B,L){E[++k]=v(F,B,L)}),E}},1573:(s,b,i)=>{var d=i(2958),c=i(1499),y=i(2634);s.exports=function(v){var k=c(v);return 1==k.length&&k[0][2]?y(k[0][0],k[0][1]):function(E){return E===v||d(E,v,k)}}},6432:(s,b,i)=>{var d=i(939),c=i(1917),y=i(9095),v=i(5403),k=i(9162),E=i(2634),F=i(327);s.exports=function(B,L){return v(B)&&k(L)?E(F(B),L):function(J){var j=c(J,B);return void 0===j&&j===L?y(J,B):d(L,j,3)}}},2980:(s,b,i)=>{var d=i(6384),c=i(6556),y=i(8483),v=i(9783),k=i(3218),E=i(1704),F=i(6390);s.exports=function B(L,J,j,Q,W){L!==J&&y(J,function(X,ot){if(W||(W=new d),k(X))v(L,J,ot,j,B,Q,W);else{var dt=Q?Q(F(L,ot),X,ot+"",L,J,W):void 0;void 0===dt&&(dt=X),c(L,ot,dt)}},E)}},9783:(s,b,i)=>{var d=i(6556),c=i(4626),y=i(7133),v=i(278),k=i(8517),E=i(5694),F=i(1469),B=i(9246),L=i(4144),J=i(3560),j=i(3218),Q=i(8630),W=i(6719),X=i(6390),ot=i(3678);s.exports=function(dt,at,St,bt,Lt,ft,rt){var kt=X(dt,St),Nt=X(at,St),Yt=rt.get(Nt);if(Yt)d(dt,St,Yt);else{var yt=ft?ft(kt,Nt,St+"",dt,at,rt):void 0,Ct=void 0===yt;if(Ct){var Gt=F(Nt),Ot=!Gt&&L(Nt),ke=!Gt&&!Ot&&W(Nt);yt=Nt,Gt||Ot||ke?F(kt)?yt=kt:B(kt)?yt=v(kt):Ot?(Ct=!1,yt=c(Nt,!0)):ke?(Ct=!1,yt=y(Nt,!0)):yt=[]:Q(Nt)||E(Nt)?(yt=kt,E(kt)?yt=ot(kt):j(kt)&&!J(kt)||(yt=k(Nt))):Ct=!1}Ct&&(rt.set(Nt,yt),Lt(yt,Nt,bt,ft,rt),rt.delete(Nt)),d(dt,St,yt)}}},9556:(s,b,i)=>{var d=i(9932),c=i(7786),y=i(7206),v=i(9199),k=i(1131),E=i(1717),F=i(5022),B=i(6557),L=i(1469);s.exports=function(J,j,Q){j=j.length?d(j,function(ot){return L(ot)?function(dt){return c(dt,1===ot.length?ot[0]:ot)}:ot}):[B];var W=-1;j=d(j,E(y));var X=v(J,function(ot,dt,at){return{criteria:d(j,function(St){return St(ot)}),index:++W,value:ot}});return k(X,function(ot,dt){return F(ot,dt,Q)})}},5970:(s,b,i)=>{var d=i(3012),c=i(9095);s.exports=function(y,v){return d(y,v,function(k,E){return c(y,E)})}},3012:(s,b,i)=>{var d=i(7786),c=i(611),y=i(1811);s.exports=function(v,k,E){for(var F=-1,B=k.length,L={};++F<B;){var J=k[F],j=d(v,J);E(j,J)&&c(L,y(J,v),j)}return L}},371:s=>{s.exports=function(b){return function(i){return i?.[b]}}},9152:(s,b,i)=>{var d=i(7786);s.exports=function(c){return function(y){return d(y,c)}}},98:s=>{var b=Math.ceil,i=Math.max;s.exports=function(d,c,y,v){for(var k=-1,E=i(b((c-d)/(y||1)),0),F=Array(E);E--;)F[v?E:++k]=d,d+=y;return F}},107:s=>{s.exports=function(b,i,d,c,y){return y(b,function(v,k,E){d=c?(c=!1,v):i(d,v,k,E)}),d}},5976:(s,b,i)=>{var d=i(6557),c=i(5357),y=i(61);s.exports=function(v,k){return y(c(v,k,d),v+"")}},611:(s,b,i)=>{var d=i(4865),c=i(1811),y=i(5776),v=i(3218),k=i(327);
1s.exports=function(E,F,B,L){if(!v(E))return E;for(var J=-1,j=(F=c(F,E)).length,Q=j-1,W=E;null!=W&&++J<j;){var X=k(F[J]),ot=B;if("__proto__"===X||"constructor"===X||"prototype"===X)return E;if(J!=Q){var dt=W[X];void 0===(ot=L?L(dt,X,W):void 0)&&(ot=v(dt)?dt:y(F[J+1])?[]:{})}d(W,X,ot),W=W[X]}return E}},6560:(s,b,i)=>{var d=i(5703),c=i(8777),y=i(6557);s.exports=c?function(k,E){return c(k,"toString",{configurable:!0,enumerable:!1,value:d(E),writable:!0})}:y},1131:s=>{s.exports=function(b,i){var d=b.length;for(b.sort(i);d--;)b[d]=b[d].value;return b}},2545:s=>{s.exports=function(b,i){for(var d=-1,c=Array(b);++d<b;)c[d]=i(d);return c}},531:(s,b,i)=>{var d=i(2705),c=i(9932),y=i(1469),v=i(3448),k=d?d.prototype:void 0,E=k?k.toString:void 0;s.exports=function F(B){if("string"==typeof B)return B;if(y(B))return c(B,F)+"";if(v(B))return E?E.call(B):"";var L=B+"";return"0"==L&&1/B==-1/0?"-0":L}},7561:(s,b,i)=>{var d=i(7990),c=/^\s+/;s.exports=function(y){return y&&y.slice(0,d(y)+1).replace(c,"")}},1717:s=>{s.exports=function(b){return function(i){return b(i)}}},5652:(s,b,i)=>{var d=i(8668),c=i(7443),y=i(1196),v=i(4757),k=i(3593),E=i(1814);s.exports=function(F,B,L){var J=-1,j=c,Q=F.length,W=!0,X=[],ot=X;if(L)W=!1,j=y;else if(Q>=200){var dt=B?null:k(F);if(dt)return E(dt);W=!1,j=v,ot=new d}else ot=B?[]:X;t:for(;++J<Q;){var at=F[J],St=B?B(at):at;if(at=L||0!==at?at:0,W&&St==St){for(var bt=ot.length;bt--;)if(ot[bt]===St)continue t;B&&ot.push(St),X.push(at)}else j(ot,St,L)||(ot!==X&&ot.push(St),X.push(at))}return X}},7415:(s,b,i)=>{var d=i(9932);s.exports=function(c,y){return d(y,function(v){return c[v]})}},1757:s=>{s.exports=function(b,i,d){for(var c=-1,y=b.length,v=i.length,k={};++c<y;)d(k,b[c],c<v?i[c]:void 0);return k}},4757:s=>{s.exports=function(b,i){return b.has(i)}},4290:(s,b,i)=>{var d=i(6557);s.exports=function(c){return"function"==typeof c?c:d}},1811:(s,b,i)=>{var d=i(1469),c=i(5403),y=i(5514),v=i(9833);s.exports=function(k,E){return d(k)?k:c(k,E)?[k]:y(v(k))}},4318:(s,b,i)=>{var d=i(1149);s.exports=function(c){var y=new c.constructor(c.byteLength);return new d(y).set(new d(c)),y}},4626:(s,b,i)=>{s=i.nmd(s);var d=i(5639),c=b&&!b.nodeType&&b,y=c&&s&&!s.nodeType&&s,v=y&&y.exports===c?d.Buffer:void 0,k=v?v.allocUnsafe:void 0;
vendor: 12,349 bytes, line 1
1s.exports=function(E,F){if(F)return E.slice();var B=E.length,L=k?k(B):new E.constructor(B);return E.copy(L),L}},7157:(s,b,i)=>{var d=i(4318);s.exports=function(c,y){var v=y?d(c.buffer):c.buffer;return new c.constructor(v,c.byteOffset,c.byteLength)}},3147:s=>{var b=/\w*$/;s.exports=function(i){var d=new i.constructor(i.source,b.exec(i));return d.lastIndex=i.lastIndex,d}},419:(s,b,i)=>{var d=i(2705),c=d?d.prototype:void 0,y=c?c.valueOf:void 0;s.exports=function(v){return y?Object(y.call(v)):{}}},7133:(s,b,i)=>{var d=i(4318);s.exports=function(c,y){var v=y?d(c.buffer):c.buffer;return new c.constructor(v,c.byteOffset,c.length)}},6393:(s,b,i)=>{var d=i(3448);s.exports=function(c,y){if(c!==y){var v=void 0!==c,k=null===c,E=c==c,F=d(c),B=void 0!==y,L=null===y,J=y==y,j=d(y);if(!L&&!j&&!F&&c>y||F&&B&&J&&!L&&!j||k&&B&&J||!v&&J||!E)return 1;if(!k&&!F&&!j&&c<y||j&&v&&E&&!k&&!F||L&&v&&E||!B&&E||!J)return-1}return 0}},5022:(s,b,i)=>{var d=i(6393);s.exports=function(c,y,v){for(var k=-1,E=c.criteria,F=y.criteria,B=E.length,L=v.length;++k<B;){var J=d(E[k],F[k]);if(J)return k>=L?J:J*("desc"==v[k]?-1:1)}return c.index-y.index}},278:s=>{s.exports=function(b,i){var d=-1,c=b.length;for(i||(i=Array(c));++d<c;)i[d]=b[d];return i}},8363:(s,b,i)=>{var d=i(4865),c=i(9465);s.exports=function(y,v,k,E){var F=!k;k||(k={});for(var B=-1,L=v.length;++B<L;){var J=v[B],j=E?E(k[J],y[J],J,k,y):void 0;void 0===j&&(j=y[J]),F?c(k,J,j):d(k,J,j)}return k}},8805:(s,b,i)=>{var d=i(8363),c=i(9551);s.exports=function(y,v){return d(y,c(y),v)}},1911:(s,b,i)=>{var d=i(8363),c=i(1442);s.exports=function(y,v){return d(y,c(y),v)}},4429:(s,b,i)=>{var d=i(5639)["__core-js_shared__"];s.exports=d},1750:(s,b,i)=>{var d=i(5976),c=i(6612);s.exports=function(y){return d(function(v,k){var E=-1,F=k.length,B=F>1?k[F-1]:void 0,L=F>2?k[2]:void 0;for(B=y.length>3&&"function"==typeof B?(F--,B):void 0,L&&c(k[0],k[1],L)&&(B=F<3?void 0:B,F=1),v=Object(v);++E<F;){var J=k[E];J&&y(v,J,E,B)}return v})}},9291:(s,b,i)=>{var d=i(8612);s.exports=function(c,y){return function(v,k){if(null==v)return v;if(!d(v))return c(v,k);for(var E=v.length,F=y?E:-1,B=Object(v);(y?F--:++F<E)&&!1!==k(B[F],F,B););return v}}},5063:s=>{s.exports=function(b){return function(i,d,c){for(var y=-1,v=Object(i),k=c(i),E=k.length;E--;){var F=k[b?E:++y];if(!1===d(v[F],F,v))break}return i}}},7740:(s,b,i)=>{var d=i(7206),c=i(8612),y=i(3674);s.exports=function(v){return function(k,E,F){var B=Object(k);if(!c(k)){var L=d(E,3);k=y(k),E=function(j){return L(B[j],j,B)}}var J=v(k,E,F);return J>-1?B[L?k[J]:J]:void 0}}},7445:(s,b,i)=>{var d=i(98),c=i(6612),y=i(8601);s.exports=function(v){return function(k,E,F){return F&&"number"!=typeof F&&c(k,E,F)&&(E=F=void 0),k=y(k),void 0===E?(E=k,k=0):E=y(E),F=void 0===F?k<E?1:-1:y(F),d(k,E,F,v)}}},3593:(s,b,i)=>{var d=i(8525),c=i(308),y=i(1814),v=d&&1/y(new d([,-0]))[1]==1/0?function(k){return new d(k)}:c;s.exports=v},8777:(s,b,i)=>{var d=i(852),c=function(){try{var y=d(Object,"defineProperty");return y({},"",{}),y}catch{}}();s.exports=c},7114:(s,b,i)=>{var d=i(8668),c=i(2908),y=i(4757);s.exports=function(v,k,E,F,B,L){var J=1&E,j=v.length,Q=k.length;if(j!=Q&&!(J&&Q>j))return!1;var W=L.get(v),X=L.get(k);if(W&&X)return W==k&&X==v;var ot=-1,dt=!0,at=2&E?new d:void 0;for(L.set(v,k),L.set(k,v);++ot<j;){var St=v[ot],bt=k[ot];if(F)var Lt=J?F(bt,St,ot,k,v,L):F(St,bt,ot,v,k,L);if(void 0!==Lt){if(Lt)continue;dt=!1;break}if(at){if(!c(k,function(ft,rt){if(!y(at,rt)&&(St===ft||B(St,ft,E,F,L)))return at.push(rt)})){dt=!1;break}}else if(St!==bt&&!B(St,bt,E,F,L)){dt=!1;break}}return L.delete(v),L.delete(k),dt}},8351:(s,b,i)=>{var d=i(2705),c=i(1149),y=i(7813),v=i(7114),k=i(8776),E=i(1814),F=d?d.prototype:void 0,B=F?F.valueOf:void 0;s.exports=function(L,J,j,Q,W,X,ot){switch(j){case"[object DataView]":if(L.byteLength!=J.byteLength||L.byteOffset!=J.byteOffset)return!1;L=L.buffer,J=J.buffer;case"[object ArrayBuffer]":return!(L.byteLength!=J.byteLength||!X(new c(L),new c(J)));case"[object Boolean]":case"[object Date]":case"[object Number]":return y(+L,+J);case"[object Error]":return L.name==J.name&&L.message==J.message;case"[object RegExp]":case"[object String]":return L==J+"";case"[object Map]":var dt=k;case"[object Set]":if(dt||(dt=E),L.size!=J.size&&!(1&Q))return!1;var St=ot.get(L);if(St)return St==J;Q|=2,ot.set(L,J);var bt=v(dt(L),dt(J),Q,W,X,ot);return ot.delete(L),bt;case"[object Symbol]":if(B)return B.call(L)==B.call(J)}return!1}},6096:(s,b,i)=>{var d=i(8234),c=Object.prototype.hasOwnProperty;s.exports=function(y,v,k,E,F,B){var L=1&k,J=d(y),j=J.length;if(j!=d(v).length&&!L)return!1;for(var Q=j;Q--;){var W=J[Q];if(!(L?W in v:c.call(v,W)))return!1}var X=B.get(y),ot=B.get(v);if(X&&ot)return X==v&&ot==y;var dt=!0;B.set(y,v),B.set(v,y);for(var at=L;++Q<j;){var St=y[W=J[Q]],bt=v[W];if(E)var Lt=L?E(bt,St,W,v,y,B):E(St,bt,W,y,v,B);if(!(void 0===Lt?St===bt||F(St,bt,k,E,B):Lt)){dt=!1;break}at||(at="constructor"==W)}if(dt&&!at){var ft=y.constructor,rt=v.constructor;ft==rt||!("constructor"in y)||!("constructor"in v)||"function"==typeof ft&&ft instanceof ft&&"function"==typeof rt&&rt instanceof rt||(dt=!1)}return B.delete(y),B.delete(v),dt}},9021:(s,b,i)=>{var d=i(5564),c=i(5357),y=i(61);s.exports=function(v){return y(c(v,void 0,d),v+"")}},1957:(s,b,i)=>{s.exports="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g},8234:(s,b,i)=>{var d=i(8866),c=i(9551),y=i(3674);s.exports=function(v){return d(v,y,c)}},6904:(s,b,i)=>{var d=i(8866),c=i(1442),y=i(1704);s.exports=function(v){return d(v,y,c)}},5050:(s,b,i)=>{var d=i(7019);s.exports=function(c,y){var v=c.__data__;return d(y)?v["string"==typeof y?"string":"hash"]:v.map}},1499:(s,b,i)=>{var d=i(9162),c=i(3674);s.exports=function(y){for(var v=c(y),k=v.length;k--;){var E=v[k],F=y[E];v[k]=[E,F,d(F)]}return v}},852:(s,b,i)=>{var d=i(8458),c=i(7801);s.exports=function(y,v){var k=c(y,v);return d(k)?k:void 0}},5924:(s,b,i)=>{var d=i(5569)(Object.getPrototypeOf,Object);s.exports=d},9607:(s,b,i)=>{var d=i(2705),c=Object.prototype,y=c.hasOwnProperty,v=c.toString,k=d?d.toStringTag:void 0;s.exports=function(E){var F=y.call(E,k),B=E[k];try{E[k]=void 0;var L=!0}catch{}var J=v.call(E);return L&&(F?E[k]=B:delete E[k]),J}},9551:(s,b,i)=>{var d=i(4963),c=i(479),y=Object.prototype.propertyIsEnumerable,v=Object.getOwnPropertySymbols;s.exports=v?function(E){return null==E?[]:(E=Object(E),d(v(E),function(F){return y.call(E,F)}))}:c},1442:(s,b,i)=>{var d=i(2488),c=i(5924),y=i(9551),v=i(479);s.exports=Object.getOwnPropertySymbols?function(E){for(var F=[];E;)d(F,y(E)),E=c(E);return F}:v},4160:(s,b,i)=>{var d=i(8552),c=i(7071),y=i(3818),v=i(8525),k=i(577),E=i(4239),F=i(346),B="[object Map]",L="[object Promise]",J="[object Set]",j="[object WeakMap]",Q="[object DataView]",W=F(d),X=F(c),ot=F(y),dt=F(v),at=F(k),St=E;(d&&St(new d(new ArrayBuffer(1)))!=Q||c&&St(new c)!=B||y&&St(y.resolve())!=L||v&&St(new v)!=J||k&&St(new k)!=j)&&(St=function(bt){var Lt=E(bt),ft="[object Object]"==Lt?bt.constructor:void 0,rt=ft?F(ft):"";if(rt)switch(rt){case W:return Q;case X:return B;case ot:return L;case dt:return J;case at:return j}return Lt}),s.exports=St},7801:s=>{s.exports=function(b,i){return b?.[i]}},222:(s,b,i)=>{var d=i(1811),c=i(5694),y=i(1469),v=i(5776),k=i(1780),E=i(327);s.exports=function(F,B,L){for(var J=-1,j=(B=d(B,F)).length,Q=!1;++J<j;){var W=E(B[J]);if(!(Q=null!=F&&L(F,W)))break;F=F[W]}return Q||++J!=j?Q:!!(j=null==F?0:F.length)&&k(j)&&v(W,j)&&(y(F)||c(F))}},2689:s=>{var b=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");s.exports=function(i){return b.test(i)}},1789:(s,b,i)=>{var d=i(4536);s.exports=function(){this.__data__=d?d(null):{},this.size=0}},401:s=>{s.exports=function(b){var i=this.has(b)&&delete this.__data__[b];return this.size-=i?1:0,i}},7667:(s,b,i)=>{var d=i(4536),c=Object.prototype.hasOwnProperty;s.exports=function(y){var v=this.__data__;if(d){var k=v[y];return"__lodash_hash_undefined__"===k?void 0:k}return c.call(v,y)?v[y]:void 0}},1327:(s,b,i)=>{var d=i(4536),c=Object.prototype.hasOwnProperty;s.exports=function(y){var v=this.__data__;return d?void 0!==v[y]:c.call(v,y)}},1866:(s,b,i)=>{var d=i(4536);s.exports=function(c,y){var v=this.__data__;return this.size+=this.has(c)?0:1,v[c]=d&&void 0===y?"__lodash_hash_undefined__":y,this}},3824:s=>{var b=Object.prototype.hasOwnProperty;s.exports=function(i){var d=i.length,c=new i.constructor(d);return d&&"string"==typeof i[0]&&b.call(i,"index")&&(c.index=i.index,c.input=i.input),c}},9148:(s,b,i)=>{var d=i(4318),c=i(7157),y=i(3147),v=i(419),k=i(7133);s.exports=function(E,F,B){var L=E.constructor;switch(F){case"[object ArrayBuffer]":return d(E);case"[object Boolean]":case"[object Date]":return new L(+E);case"[object DataView]":return c(E,B);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return k(E,B);case"[object Map]":case"[object Set]":return new L;case"[object Number]":case"[object String]":return new L(E);case"[object RegExp]":return y(E);case"[object Symbol]":return v(E)}}},8517:(s,b,i)=>{var d=i(3118),c=i(5924),y=i(5726);s.exports=function(v){return"function"!=typeof v.constructor||y(v)?{}:d(c(v))}},7285:(s,b,i)=>{var d=i(2705),c=i(5694),y=i(1469),v=d?d.isConcatSpreadable:void 0;s.exports=function(k){return y(k)||c(k)||!!(v&&k&&k[v])}},5776:s=>{var b=/^(?:0|[1-9]\d*)$/;s.exports=function(i,d){var c=typeof i;return!!(d=d??9007199254740991)&&("number"==c||"symbol"!=c&&b.test(i))&&i>-1&&i%1==0&&i<d}},6612:(s,b,i)=>{var d=i(7813),c=i(8612),y=i(5776),v=i(3218);s.exports=function(k,E,F){if(!v(F))return!1;var B=typeof E;return!!("number"==B?c(F)&&y(E,F.length):"string"==B&&E in F)&&d(F[E],k)}},5403:(s,b,i)=>{var d=i(1469),c=i(3448),y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,v=/^\w*$/;s.exports=function(k,E){if(d(k))return!1;var F=typeof k;return!("number"!=F&&"symbol"!=F&&"boolean"!=F&&null!=k&&!c(k))||v.test(k)||!y.test(k)||null!=E&&k in Object(E)}},7019:s=>{s.exports=function(b){var i=typeof b;return"string"==i||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==b:null===b}},5346:(s,b,i)=>{var d,c=i(4429),y=(d=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"";s.exports=function(v){return!!y&&y in v}},5726:s=>{var b=Object.prototype;s.exports=function(i){var d=i&&i.constructor;return i===("function"==typeof d&&d.prototype||b)}},9162:(s,b,i)=>{var d=i(3218);s.exports=function(c){return c==c&&!d(c)}},7040:s=>{s.exports=function(){this.__data__=[],this.size=0}},2188:(s,b,i)=>{var d=i(8470),c=Array.prototype.splice;s.exports=function(y){var v=this.__data__,k=d(v,y);return!(k<0||(k==v.length-1?v.pop():c.call(v,k,1),--this.size,0))}},2117:(s,b,i)=>{var d=i(8470);s.exports=function(c){var y=this.__data__,v=d(y,c);return v<0?void 0:y[v][1]}},7518:(s,b,i)=>{var d=i(8470);s.exports=function(c){return d(this.__data__,c)>-1}},4705:(s,b,i)=>{var d=i(8470);s.exports=function(c,y){var v=this.__data__,k=d(v,c);return k<0?(++this.size,v.push([c,y])):v[k][1]=y,this}},4785:(s,b,i)=>{var d=i(1989),c=i(8407),y=i(7071);s.exports=function(){this.size=0,this.__data__={hash:new d,map:new(y||c),string:new d}}},1285:(s,b,i)=>{var d=i(5050);s.exports=function(c){var y=d(this,c).delete(c);return this.size-=y?1:0,y}},6e3:(s,b,i)=>{var d=i(5050);s.exports=function(c){return d(this,c).get(c)}},9916:(s,b,i)=>{var d=i(5050);s.exports=function(c){return d(this,c).has(c)}},5265:(s,b,i)=>{var d=i(5050);s.exports=function(c,y){var v=d(this,c),k=v.size;return v.set(c,y),this.size+=v.size==k?0:1,this}},8776:s=>{s.exports=function(b){var i=-1,d=Array(b.size);return b.forEach(function(c,y){d[++i]=[y,c]}),d}},2634:s=>{s.exports=function(b,i){return function(d){return null!=d&&d[b]===i&&(void 0!==i||b in Object(d))}}},4523:(s,b,i)=>{var d=i(8306);s.exports=function(c){var y=d(c,function(k){return 500===v.size&&v.clear(),k}),v=y.cache;return y}},4536:(s,b,i)=>{var d=i(852)(Object,"create");s.exports=d},6916:(s,b,i)=>{var d=i(5569)(Object.keys,Object);s.exports=d},3498:s=>{s.exports=function(b){var i=[];if(null!=b)for(var d in Object(b))i.push(d);return i}},1167:(s,b,i)=>{s=i.nmd(s);var d=i(1957),c=b&&!b.nodeType&&b,y=c&&s&&!s.nodeType&&s,v=y&&y.exports===c&&d.process,k=function(){try{return y&&y.require&&y.require("util").t
1ypes||v&&v.binding&&v.binding("util")}catch{}}();s.exports=k},2333:s=>{var b=Object.prototype.toString;s.exports=function(i){return b.call(i)}},5569:s=>{s.exports=function(b,i){return function(d){return b(i(d))}}},5357:(s,b,i)=>{var d=i(6874),c=Math.max;s.exports=function(y,v,k){return v=c(void 0===v?y.length-1:v,0),function(){for(var E=arguments,F=-1,B=c(E.length-v,0),L=Array(B);++F<B;)L[F]=E[v+F];F=-1;for(var J=Array(v+1);++F<v;)J[F]=E[F];return J[v]=k(L),d(y,this,J)}}},5639:(s,b,i)=>{var d=i(1957),c="object"==typeof self&&self&&self.Object===Object&&self,y=d||c||Function("return this")();s.exports=y},6390:s=>{s.exports=function(b,i){if(("constructor"!==i||"function"!=typeof b[i])&&"__proto__"!=i)return b[i]}},619:s=>{s.exports=function(b){return this.__data__.set(b,"__lodash_hash_undefined__"),this}},2385:s=>{s.exports=function(b){return this.__data__.has(b)}},1814:s=>{s.exports=function(b){var i=-1,d=Array(b.size);return b.forEach(function(c){d[++i]=c}),d}},61:(s,b,i)=>{var d=i(6560),c=i(1275)(d);s.exports=c},1275:s=>{var b=Date.now;s.exports=function(i){var d=0,c=0;return function(){var y=b(),v=16-(y-c);if(c=y,v>0){if(++d>=800)return arguments[0]}else d=0;return i.apply(void 0,arguments)}}},7465:(s,b,i)=>{var d=i(8407);s.exports=function(){this.__data__=new d,this.size=0}},3779:s=>{s.exports=function(b){var i=this.__data__,d=i.delete(b);return this.size=i.size,d}},7599:s=>{s.exports=function(b){return this.__data__.get(b)}},4758:s=>{s.exports=function(b){return this.__data__.has(b)}},4309:(s,b,i)=>{var d=i(8407),c=i(7071),y=i(3369);s.exports=function(v,k){var E=this.__data__;if(E instanceof d){var F=E.__data__;if(!c||F.length<199)return F.push([v,k]),this.size=++E.size,this;E=this.__data__=new y(F)}return E.set(v,k),this.size=E.size,this}},2351:s=>{s.exports=function(b,i,d){for(var c=d-1,y=b.length;++c<y;)if(b[c]===i)return c;return-1}},8016:(s,b,i)=>{var d=i(8983),c=i(2689),y=i(1903);s.exports=function(v){return c(v)?y(v):d(v)}},5514:(s,b,i)=>{var d=i(4523),c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,y=/\\(\\)?/g,v=d(function(k){var E=[];return 46===k.charCodeAt(0)&&E.push(""),k.replace(c,function(F,B,L,J){E.push(L?J.replace(y,"$1"):B||F)}),E});s.exports=v},327:(s,b,i)=>{var d=i(3448);s.exports=function(c){if("string"==typeof c||d(c))return c;var y=c+"";return"0"==y&&1/c==-1/0?"-0":y}},346:s=>{var b=Function.prototype.toString;s.exports=function(i){if(null!=i){try{return b.call(i)}catch{}try{return i+""}catch{}}return""}},7990:s=>{var b=/\s/;s.exports=function(i){for(var d=i.length;d--&&b.test(i.charAt(d)););return d}},1903:s=>{var b="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",d="[^\\ud800-\\udfff]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",y="[\\ud800-\\udbff][\\udc00-\\udfff]",v="(?:"+b+"|"+i+")?",k="[\\ufe0e\\ufe0f]?",E=k+v+"(?:\\u200d(?:"+[d,c,y].join("|")+")"+k+v+")*",F="(?:"+[d+b+"?",b,c,y,"[\\ud800-\\udfff]"].join("|")+")",B=RegExp(i+"(?="+i+")|"+F+E,"g");s.exports=function(L){for(var J=B.lastIndex=0;B.test(L);)++J;return J}},6678:(s,b,i)=>{var d=i(5990);s.exports=function(c){return d(c,4)}},361:(s,b,i)=>{var d=i(5990);s.exports=function(c){return d(c,5)}},5703:s=>{s.exports=function(b){return function(){return b}}},1747:(s,b,i)=>{var d=i(5976),c=i(7813),y=i(6612),v=i(1704),k=Object.prototype,E=k.hasOwnProperty,F=d(function(B,L){B=Object(B);var J=-1,j=L.length,Q=j>2?L[2]:void 0;for(Q&&y(L[0],L[1],Q)&&(j=1);++J<j;)for(var W=L[J],X=v(W),ot=-1,dt=X.length;++ot<dt;){var at=X[ot],St=B[at];(void 0===St||c(St,k[at])&&!E.call(B,at))&&(B[at]=W[at])}return B});s.exports=F},6073:(s,b,i)=>{s.exports=i(4486)},7813:s=>{s.exports=function(b,i){return b===i||b!=b&&i!=i}},3105:(s,b,i)=>{var d=i(4963),c=i(760),y=i(7206),v=i(1469);s.exports=function(k,E){return(v(k)?d:c)(k,y(E,3))}},3311:(s,b,i)=>{var d=i(7740)(i(998));s.exports=d},998:(s,b,i)=>{var d=i(1848),c=i(7206),y=i(554),v=Math.max;s.exports=function(k,E,F){var B=null==k?0:k.length;if(!B)return-1;var L=null==F?0:y(F);return L<0&&(L=v(B+L,0)),d(k,c(E,3),L)}},5564:(s,b,i)=>{var d=i(1078);s.exports=function(c){return null!=c&&c.length?d(c,1):[]}},4486:(s,b,i)=>
1{var d=i(7412),c=i(9881),y=i(4290),v=i(1469);s.exports=function(k,E){return(v(k)?d:c)(k,y(E))}},2620:(s,b,i)=>{var d=i(8483),c=i(4290),y=i(1704);s.exports=function(v,k){return null==v?v:d(v,c(k),y)}},1917:(s,b,i)=>{var d=i(7786);s.exports=function(c,y,v){var k=null==c?void 0:d(c,y);return void 0===k?v:k}},8721:(s,b,i)=>{var d=i(8565),c=i(222);s.exports=function(y,v){return null!=y&&c(y,v,d)}},9095:(s,b,i)=>{var d=i(13),c=i(222);s.exports=function(y,v){return null!=y&&c(y,v,d)}},6557:s=>{s.exports=function(b){return b}},5694:(s,b,i)=>{var d=i(9454),c=i(7005),y=Object.prototype,v=y.hasOwnProperty,k=y.propertyIsEnumerable,E=d(function(){return arguments}())?d:function(F){return c(F)&&v.call(F,"callee")&&!k.call(F,"callee")};s.exports=E},1469:s=>{s.exports=Array.isArray},8612:(s,b,i)=>{var d=i(3560),c=i(1780);s.exports=function(y){return null!=y&&c(y.length)&&!d(y)}},9246:(s,b,i)=>{var d=i(8612),c=i(7005);s.exports=function(y){return c(y)&&d(y)}},4144:(s,b,i)=>{s=i.nmd(s);var d=i(5639),c=i(5062),y=b&&!b.nodeType&&b,v=y&&s&&!s.nodeType&&s,k=v&&v.exports===y?d.Buffer:void 0;s.exports=(k?k.isBuffer:void 0)||c},1609:(s,b,i)=>{var d=i(280),c=i(4160),y=i(5694),v=i(1469),k=i(8612),E=i(4144),F=i(5726),B=i(6719),L=Object.prototype.hasOwnProperty;s.exports=function(J){if(null==J)return!0;if(k(J)&&(v(J)||"string"==typeof J||"function"==typeof J.splice||E(J)||B(J)||y(J)))return!J.length;var j=c(J);if("[object Map]"==j||"[object Set]"==j)return!J.size;if(F(J))return!d(J).length;for(var Q in J)if(L.call(J,Q))return!1;return!0}},3560:(s,b,i)=>{var d=i(4239),c=i(3218);s.exports=function(y){if(!c(y))return!1;var v=d(y);return"[object Function]"==v||"[object GeneratorFunction]"==v||"[object AsyncFunction]"==v||"[object Proxy]"==v}},1780:s=>{s.exports=function(b){return"number"==typeof b&&b>-1&&b%1==0&&b<=9007199254740991}},6688:(s,b,i)=>{var d=i(5588),c=i(1717),y=i(1167),v=y&&y.isMap,k=v?c(v):d;s.exports=k},3218:s=>{s.exports=function(b){var i=typeof b;return null!=b&&("object"==i||"function"==i)}},7005:s=>{s.exports=function(b){return null!=b&&"object"==typeof b}},8630:(s,b,i)=>{var d=i(4239),c=i(5924),y=i(7005),E=Function.prototype.toString,F=Object.prototype.hasOwnProperty,B=E.call(Object);s.exports=function(L){if(!y(L)||"[object Object]"!=d(L))return!1;var J=c(L);if(null===J)return!0;var j=F.call(J,"constructor")&&J.constructor;return"function"==typeof j&&j instanceof j&&E.call(j)==B}},2928:(s,b,i)=>{var d=i(9221),c=i(1717),y=i(1167),v=y&&y.isSet,k=v?c(v):d;s.exports=k},7037:(s,b,i)=>{var d=i(4239),c=i(1469),y=i(7005);s.exports=function(v){return"string"==typeof v||!c(v)&&y(v)&&"[object String]"==d(v)}},3448:(s,b,i)=>{var d=i(4239),c=i(7005);s.exports=function(y){return"symbol"==typeof y||c(y)&&"[object Symbol]"==d(y)}},6719:(s,b,i)=>{var d=i(8749),c=i(1717),y=i(1167),v=y&&y.isTypedArray,k=v?c(v):d;s.exports=k},2353:s=>{s.exports=function(b){return void 0===b}},3674:(s,b,i)=>{var d=i(4636),c=i(280),y=i(8612);s.exports=function(v){return y(v)?d(v):c(v)}},1704:(s,b,i)=>{var d=i(4636),c=i(313),y=i(8612);s.exports=function(v){return y(v)?d(v,!0):c(v)}},928:s=>{s.exports=function(b){var i=null==b?0:b.length;return i?b[i-1]:void 0}},5161:(s,b,i)=>{var d=i(9932),c=i(7206),y=i(9199),v=i(1469);s.exports=function(k,E){return(v(k)?d:y)(k,c(E,3))}},6604:(s,b,i)=>{var d=i(9465),c=i(7816),y=i(7206);s.exports=function(v,k){var E={};return k=y(k,3),c(v,function(F,B,L){d(E,B,k(F,B,L))}),E}},6162:(s,b,i)=>{var d=i(6029),c=i(3325),y=i(6557);s.exports=function(v){return v&&v.length?d(v,y,c):void 0}},8306:(s,b,i)=>{var d=i(3369);function c(y,v){if("function"!=typeof y||null!=v&&"function"!=typeof v)throw new TypeError("Expected a function");var k=function(){var E=arguments,F=v?v.apply(this,E):E[0],B=k.cache;if(B.has(F))return B.get(F);var L=y.apply(this,E);return k.cache=B.set(F,L)||B,L};return k.cache=new(c.Cache||d),k}c.Cache=d,s.exports=c},3857:(s,b,i)=>{var d=i(2980),c=i(1750)(function(y,v,k){d(y,v,k)});s.exports=c},3632:(s,b,i)=>{var d=i(6029),c=i(433),y=i(6557);s.exports=function(v){return v&&v.length?d(v,y,c):void 0}},2762:(s,b,i)=>{var d=i(6029),c=i(7206),y=i(433);s.exports=function(v,k){return v&&v.length?d(v,c(k,2),y):void 0}},308:s=>{s.exports=function(){}},7771:(s,b,i)=>{var d=i(5639);s.exports=function(){return d.Date.now()}},9722:(s,b,i)=>{var d=i(5970),c=i(9021)(function(y,v){return null==y?{}:d(y,v)});s.exports=c},9601:(s,b,i)=>{var d=i(371),c=i(9152),y=i(5403),v=i(327);s.exports=function(k){return y(k)?d(v(k)):c(k)}},6026:(s,b,i)=>{var d=i(7445)();s.exports=d},4061:(s,b,i)=>{var d=i(2663),c=i(9881),y=i(7206),v=i(107),k=i(1469);s.exports=function(E,F,B){var L=k(E)?d:v,J=arguments.length<3;return L(E,y(F,4),B,J,c)}},4238:(s,b,i)=>{var d=i(280),c=i(4160),y=i(8612),v=i(7037),k=i(8016);s.exports=function(E){if(null==E)return 0;if(y(E))return v(E)?k(E):E.length;var F=c(E);return"[object Map]"==F||"[object Set]"==F?E.size:d(E).length}},9734:(s,b,i)=>
1{var d=i(1078),c=i(9556),y=i(5976),v=i(6612),k=y(function(E,F){if(null==E)return[];var B=F.length;return B>1&&v(E,F[0],F[1])?F=[]:B>2&&v(F[0],F[1],F[2])&&(F=[F[0]]),c(E,d(F,1),[])});s.exports=k},479:s=>{s.exports=function(){return[]}},5062:s=>{s.exports=function(){return!1}},8601:(s,b,i)=>{var d=i(4841);s.exports=function(c){return c?(c=d(c))===1/0||c===-1/0?17976931348623157e292*(c<0?-1:1):c==c?c:0:0===c?c:0}},554:(s,b,i)=>{var d=i(8601);s.exports=function(c){var y=d(c),v=y%1;return y==y?v?y-v:y:0}},4841:(s,b,i)=>{var d=i(7561),c=i(3218),y=i(3448),v=/^[-+]0x[0-9a-f]+$/i,k=/^0b[01]+$/i,E=/^0o[0-7]+$/i,F=parseInt;s.exports=function(B){if("number"==typeof B)return B;if(y(B))return NaN;if(c(B)){var L="function"==typeof B.valueOf?B.valueOf():B;B=c(L)?L+"":L}if("string"!=typeof B)return 0===B?B:+B;B=d(B);var J=k.test(B);return J||E.test(B)?F(B.slice(2),J?2:8):v.test(B)?NaN:+B}},3678:(s,b,i)=>{var d=i(8363),c=i(1704);s.exports=function(y){return d(y,c(y))}},9833:(s,b,i)=>{var d=i(531);s.exports=function(c){return null==c?"":d(c)}},8718:(s,b,i)=>{var d=i(7412),c=i(3118),y=i(7816),v=i(7206),k=i(5924),E=i(1469),F=i(4144),B=i(3560),L=i(3218),J=i(6719);s.exports=function(j,Q,W){var X=E(j),ot=X||F(j)||J(j);if(Q=v(Q,4),null==W){var dt=j&&j.constructor;W=ot?X?new dt:[]:L(j)&&B(dt)?c(k(j)):{}}return(ot?d:y)(j,function(at,St,bt){return Q(W,at,St,bt)}),W}},3386:(s,b,i)=>{var d=i(1078),c=i(5976),y=i(5652),v=i(9246),k=c(function(E){return y(d(E,1,v,!0))});s.exports=k},3955:(s,b,i)=>{var d=i(9833),c=0;s.exports=function(y){var v=++c;return d(y)+v}},2628:(s,b,i)=>{var d=i(7415),c=i(3674);s.exports=function(y){return null==y?[]:d(y,c(y))}},7287:(s,b,i)=>{var d=i(4865),c=i(1757);s.exports=function(y,v){return c(y||[],v||[],d)}},9234:()=>{},1748:(s,b,i)=>{var d={"./locale":9234,"./locale.js":9234};function c(v){var k=y(v);return i(k)}function y(v){if(!i.o(d,v)){var k=new Error("Cannot find module '"+v+"'");throw k.code="MODULE_NOT_FOUND",k}return d[v]}c.keys=function(){return Object.keys(d)},c.resolve=y,s.exports=c,c.id=1748},1941:function(s,b,i){(s=i.nmd(s)).exports=function(){var d,c;function y(){return d.apply(null,arguments)}function v(I){return I instanceof Array||"[object Array]"===Object.prototype.toString.call(I)}function k(I){return null!=I&&"[object Object]"===Object.prototype.toString.call(I)}function E(I){return void 0===I}function F(I){return"number"==typeof I||"[object Number]"===Object.prototype.toString.call(I)}function B(I){return I instanceof Date||"[object Date]"===Object.prototype.toString.call(I)}function L(I,P){var K,ut=[];for(K=0;K<I.length;++K)ut.push(P(I[K],K));return ut}function J(I,P){return Object.prototype.hasOwnProperty.call(I,P)}function j(I,P){for(var K in P)J(P,K)&&(I[K]=P[K]);return J(P,"toString")&&(I.toString=P.toString),J(P,"valueOf")&&(I.valueOf=P.valueOf),I}function Q(I,P,K,ut){return ko(I,P,K,ut,!0).utc()}function W(I){return null==I._pf&&(I._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),I._pf}function X(I){if(null==I._isValid){var P=W(I),K=c.call(P.parsedDateParts,function(zt){return null!=zt}),ut=!isNaN(I._d.getTime())&&P.overflow<0&&!P.empty&&!P.invalidMonth&&!P.invalidWeekday&&!P.weekdayMismatch&&!P.nullInput&&!P.invalidFormat&&!P.userInvalidated&&(!P.meridiem||P.meridiem&&K);if(I._strict&&(ut=ut&&0===P.charsLeftOver&&0===P.unusedTokens.length&&void 0===P.bigHour),null!=Object.isFrozen&&Object.isFrozen(I))return ut;I._isValid=ut}return I._isValid}function ot(I){var P=Q(NaN);return null!=I?j(W(P),I):W(P).userInvalidated=!0,P}c=Array.prototype.some?Array.prototype.some:function(I){for(var P=Object(this),K=P.length>>>0,ut=0;ut<K;ut++)if(ut in P&&I.call(this,P[ut],ut,P))return!0;return!1};var dt=y.momentProperties=[];function at(I,P){var K,ut,zt;if(E(P._isAMomentObject)||(I._isAMomentObject=P._isAMomentObject),E(P._i)||(I._i=P._i),E(P._f)||(I._f=P._f),E(P._l)||(I._l=P._l),E(P._strict)||(I._strict=P._strict),E(P._tzm)||(I._tzm=P._tzm),E(P._isUTC)||(I._isUTC=P._isUTC),E(P._offset)||(I._offset=P._offset),E(P._pf)||(I._pf=W(P)),E(P._locale)||(I._locale=P._locale),0<dt.length)for(K=0;K<dt.length;K++)E(zt=P[ut=dt[K]])||(I[ut]=zt);return I}var St=!1;function bt(I){at(this,I),this._d=new Date(null!=I._d?I._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===St&&(St=!0,y.updateOffset(this),St=!1)}function Lt(I){return I instanceof bt||null!=I&&null!=I._isAMomentObject}function ft(I){return I<0?Math.ceil(I)||0:Math.floor(I)}function rt(I){var P=+I,K=0;return 0!==P&&isFinite(P)&&(K=ft(P)),K}function kt(I,P,K){var ut,zt=Math.min(I.length,P.length),ye=Math.abs(I.length-P.length),Ee=0;for(ut=0;ut<zt;ut++)(K&&I[ut]!==P[ut]||!K&&rt(I[ut])!==rt(P[ut]))&&Ee++;return Ee+ye}function Nt(I){!1===y.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+I)}function Yt(I,P){var K=!0;return j(function(){if(null!=y.deprecationHandler&&y.deprecationHandler(null,I),K){for(var ut,zt=[],ye=0;ye<arguments.length;ye++){if(ut="","object"==typeof arguments[ye]){for(var Ee in ut+="\n["+ye+"] ",arguments[0])ut+=Ee+": "+arguments[0][Ee]+", ";ut=ut.slice(0,-2)}else ut=arguments[ye];zt.push(ut)}Nt(I+"\nArguments: "+Array.prototype.slice.call(zt).join("")+"\n"+(new Error).stack),K=!1}return P.apply(this,arguments)},P)}var yt,Ct={};function Gt(I,P){null!=y.deprecationHandler&&y.deprecationHandler(I,P),Ct[I]||(Nt(P),Ct[I]=!0)}function Ot(I){return I instanceof Function||"[object Function]"===Object.prototype.toString.call(I)}function ke(I,P){var K,ut=j({},I);for(K in P)J(P,K)&&(k(I[K])&&k(P[K])?(ut[K]={},j(ut[K],I[K]),j(ut[K],P[K])):null!=P[K]?ut[K]=P[K]:delete ut[K]);for(K in I)J(I,K)&&!J(P,K)&&k(I[K])&&(ut[K]=j({},ut[K]));return ut}function be(I){null!=I&&this.set(I)}y.suppressDeprecationWarnings=!1,y.deprecationHandler=null,yt=Object.keys?Object.keys:function(I){var P,K=[];for(P in I)J(I,P)&&K.push(P);return K};var Te={};function Rt(I,P){var K=I.toLowerCase();Te[K]=Te[K+"s"]=Te[P]=I}function ee(I){return"string"==typeof I?Te[I]||Te[I.toLowerCase()]:void 0}function pe(I){var P,K,ut={};for(K in I)J(I,K)&&(P=ee(K))&&(ut[P]=I[K]);return ut}var ve={};function De(I,P){ve[I]=P}function Jt(I,P,K){var ut=""+Math.abs(I);return(0<=I?K?"+":"":"-")+Math.pow(10,Math.max(0,P-ut.length)).toString().substr(1)+ut}var nn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
vendor: 9,849 bytes, line 1
1|x|X|zz?|ZZ?|.)/g,xe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Vt={},ae={};function ht(I,P,K,ut){var zt=ut;"string"==typeof ut&&(zt=function(){return this[ut]()}),I&&(ae[I]=zt),P&&(ae[P[0]]=function(){return Jt(zt.apply(this,arguments),P[1],P[2])}),K&&(ae[K]=function(){return this.localeData().ordinal(zt.apply(this,arguments),I)})}function le(I,P){return I.isValid()?(P=Bt(P,I.localeData()),Vt[P]=Vt[P]||function(K){var ut,zt,ye,Ee=K.match(nn);for(ut=0,zt=Ee.length;ut<zt;ut++)Ee[ut]=ae[Ee[ut]]?ae[Ee[ut]]:(ye=Ee[ut]).match(/\[[\s\S]/)?ye.replace(/^\[|\]$/g,""):ye.replace(/\\/g,"");return function(Re){var He,Xe="";for(He=0;He<zt;He++)Xe+=Ot(Ee[He])?Ee[He].call(Re,K):Ee[He];return Xe}}(P),Vt[P](I)):I.localeData().invalidDate()}function Bt(I,P){var K=5;function ut(zt){return P.longDateFormat(zt)||zt}for(xe.lastIndex=0;0<=K&&xe.test(I);)I=I.replace(xe,ut),xe.lastIndex=0,K-=1;return I}var te=/\d/,jt=/\d\d/,Pt=/\d{3}/,de=/\d{4}/,un=/[+-]?\d{6}/,Ae=/\d\d?/,Pe=/\d\d\d\d?/,Tn=/\d\d\d\d\d\d?/,an=/\d{1,3}/,Qe=/\d{1,4}/,Oe=/[+-]?\d{1,6}/,dn=/\d+/,We=/[+-]?\d+/,sn=/Z|[+-]\d\d:?\d\d/gi,cn=/Z|[+-]\d\d(?::?\d\d)?/gi,Ve=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Wn={};function Be(I,P,K){Wn[I]=Ot(P)?P:function(ut,zt){return ut&&K?K:P}}function pn(I,P){return J(Wn,I)?Wn[I](P._strict,P._locale):new RegExp(En(I.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(K,ut,zt,ye,Ee){return ut||zt||ye||Ee})))}function En(I){return I.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var zi={};function In(I,P){var K,ut=P;for("string"==typeof I&&(I=[I]),F(P)&&(ut=function(zt,ye){ye[P]=rt(zt)}),K=0;K<I.length;K++)zi[I[K]]=ut}function _i(I,P){In(I,function(K,ut,zt,ye){zt._w=zt._w||{},P(K,zt._w,zt,ye)})}function xn(I){return Dn(I)?366:365}function Dn(I){return I%4==0&&I%100!=0||I%400==0}ht("Y",0,0,function(){var I=this.year();return I<=9999?""+I:"+"+I}),ht(0,["YY",2],0,function(){return this.year()%100}),ht(0,["YYYY",4],0,"year"),ht(0,["YYYYY",5],0,"year"),ht(0,["YYYYYY",6,!0],0,"year"),Rt("year","y"),De("year",1),Be("Y",We),Be("YY",Ae,jt),Be("YYYY",Qe,de),Be("YYYYY",Oe,un),Be("YYYYYY",Oe,un),In(["YYYYY","YYYYYY"],0),In("YYYY",function(I,P){P[0]=2===I.length?y.parseTwoDigitYear(I):rt(I)}),In("YY",function(I,P){P[0]=y.parseTwoDigitYear(I)}),In("Y",function(I,P){P[0]=parseInt(I,10)}),y.parseTwoDigitYear=function(I){return rt(I)+(68<rt(I)?1900:2e3)};var ln,Un=Mn("FullYear",!0);function Mn(I,P){return function(K){return null!=K?(ti(this,I,K),y.updateOffset(this,P),this):Xn(this,I)}}function Xn(I,P){return I.isValid()?I._d["get"+(I._isUTC?"UTC":"")+P]():NaN}function ti(I,P,K){I.isValid()&&!isNaN(K)&&("FullYear"===P&&Dn(I.year())&&1===I.month()&&29===I.date()?I._d["set"+(I._isUTC?"UTC":"")+P](K,I.month(),$i(K,I.month())):I._d["set"+(I._isUTC?"UTC":"")+P](K))}function $i(I,P){if(isNaN(I)||isNaN(P))return NaN;var K=(P%12+12)%12;return I+=(P-K)/12,1===K?Dn(I)?29:28:31-K%7%2}ln=Array.prototype.indexOf?Array.prototype.indexOf:function(I){var P;for(P=0;P<this.length;++P)if(this[P]===I)return P;return-1},ht("M",["MM",2],"Mo",function(){return this.month()+1}),ht("MMM",0,0,function(I){return this.localeData().monthsShort(this,I)}),ht("MMMM",0,0,function(I){return this.localeData().months(this,I)}),Rt("month","M"),De("month",8),Be("M",Ae),Be("MM",Ae,jt),Be("MMM",function(I,P){return P.monthsShortRegex(I)}),Be("MMMM",function(I,P){return P.monthsRegex(I)}),In(["M","MM"],function(I,P){P[1]=rt(I)-1}),In(["MMM","MMMM"],function(I,P,K,ut){var zt=K._locale.monthsParse(I,ut,K._strict);null!=zt?P[1]=zt:W(K).invalidMonth=I});var Nn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ii="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Gn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function ai(I,P){var K;if(!I.isValid())return I;if("string"==typeof P)if(/^\d+$/.test(P))P=rt(P);else if(!F(P=I.localeData().monthsParse(P)))return I;return K=Math.min(I.date(),$i(I.year(),P)),I._d["set"+(I._isUTC?"UTC":"")+"Month"](P,K),I}function si(I){return null!=I?(ai(this,I),y.updateOffset(this,!0),this):Xn(this,"Month")}var pi=Ve,Rn=Ve;function $n(){function I(Ee,Re){return Re.length-Ee.length}var P,K,ut=[],zt=[],ye=[];for(P=0;P<12;P++)K=Q([2e3,P]),ut.push(this.monthsShort(K,"")),zt.push(this.months(K,"")),ye.push(this.months(K,"")),ye.push(this.monthsShort(K,""));for(ut.sort(I),zt.sort(I),ye.sort(I),P=0;P<12;P++)ut[P]=En(ut[P]),zt[P]=En(zt[P]);for(P=0;P<24;P++)ye[P]=En(ye[P]);this._monthsRegex=new RegExp("^("+ye.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+zt.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+ut.join("|")+")","i")}function bn(I){var P;if(I<100&&0<=I){var K=Array.prototype.slice.call(arguments);K[0]=I+400,P=new Date(Date.UTC.apply(null,K)),isFinite(P.getUTCFullYear())&&P.setUTCFullYear(I)}else P=new Date(Date.UTC.apply(null,arguments));return P}function zn(I,P,K){var ut=7+P-K;return-(7+bn(I,0,ut).getUTCDay()-P)%7+ut-1}function An(I,P,K,ut,zt){var ye,Ee,Re=1+7*(P-1)+(7+K-ut)%7+zn(I,ut,zt);return Ee=Re<=0?xn(ye=I-1)+Re:Re>xn(I)?(ye=I+1,Re-xn(I)):(ye=I,Re),{year:ye,dayOfYear:Ee}}function Ar(I,P,K){var ut,zt,ye=zn(I.year(),P,K),Ee=Math.floor((I.dayOfYear()-ye-1)/7)+1;return Ee<1?ut=Ee+Ni(zt=I.year()-1,P,K):Ee>Ni(I.year(),P,K)?(ut=Ee-Ni(I.year(),P,K),zt=I.year()+1):(zt=I.year(),ut=Ee),{week:ut,year:zt}}function Ni(I,P,K){var ut=zn(I,P,K),zt=zn(I+1,P,K);return(xn(I)-ut+zt)/7}function go(I,P){return I.slice(P,7).concat(I.slice(0,P))}ht("w",["ww",2],"wo","week"),ht("W",["WW",2],"Wo","isoWeek"),Rt("week","w"),Rt("isoWeek","W"),De("week",5),De("isoWeek",5),Be("w",Ae),Be("ww",Ae,jt),Be("W",Ae),Be("WW",Ae,jt),_i(["w","ww","W","WW"],function(I,P,K,ut){P[ut.substr(0,1)]=rt(I)}),ht("d",0,"do","day"),ht("dd",0,0,function(I){return this.localeData().weekdaysMin(this,I)}),ht("ddd",0,0,function(I){return this.localeData().weekdaysShort(this,I)}),ht("dddd",0,0,function(I){return this.localeData().weekdays(this,I)}),ht("e",0,0,"weekday"),ht("E",0,0,"isoWeekday"),Rt("day","d"),Rt("weekday","e"),Rt("isoWeekday","E"),De("day",11),De("weekday",11),De("isoWeekday",11),Be("d",Ae),Be("e",Ae),Be("E",Ae),Be("dd",function(I,P){return P.weekdaysMinRegex(I)}),Be("ddd",function(I,P){return P.weekdaysShortRegex(I)}),Be("dddd",function(I,P){return P.weekdaysRegex(I)}),_i(["dd","ddd","dddd"],function(I,P,K,ut){var zt=K._locale.weekdaysParse(I,ut,K._strict);null!=zt?P.d=zt:W(K).invalidWeekday=I}),_i(["d","e","E"],function(I,P,K,ut){P[ut]=rt(I)});var jn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),es="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Er=Ve,Ki=Ve,er=Ve;function pr(){function I(rn,Jn){return Jn.length-rn.length}var P,K,ut,zt,ye,Ee=[],Re=[],He=[],Xe=[];for(P=0;P<7;P++)K=Q([2e3,1]).day(P),ut=this.weekdaysMin(K,""),zt=this.weekdaysShort(K,""),ye=this.weekdays(K,""),Ee.push(ut),Re.push(zt),He.push(ye),Xe.push(ut),Xe.push(zt),Xe.push(ye);for(Ee.sort(I),Re.sort(I),He.sort(I),Xe.sort(I),P=0;P<7;P++)Re[P]=En(Re[P]),He[P]=En(He[P]),Xe[P]=En(Xe[P]);this._weekdaysRegex=new RegExp("^("+Xe.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+He.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Re.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+Ee.join("|")+")","i")}function xr(){return this.hours()%12||12}function ji(I,P){ht(I,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),P)})}function br(I,P){return P._meridiemParse}ht("H",["HH",2],0,"hour"),ht("h",["hh",2],0,xr),ht("k",["kk",2],0,function(){return this.hours()||24}),ht("hmm",0,0,function(){return""+xr.apply(this)+Jt(this.minutes(),2)}),ht("hmmss",0,0,function(){return""+xr.apply(this)+Jt(this.minutes(),2)+Jt(this.seconds(),2)}),ht("Hmm",0,0,function(){return""+this.hours()+Jt(this.minutes(),2)}),ht("Hmmss",0,0,function(){return""+this.hours()+Jt(this.minutes(),2)+Jt(this.seconds(),2)}),ji("a",!0),ji("A",!1),Rt("hour","h"),De("hour",13),Be("a",br),Be("A",br),Be("H",Ae),Be("h",Ae),Be("k",Ae),Be("HH",Ae,jt),Be("hh",Ae,jt),Be("kk",Ae,jt),Be("hmm",Pe),Be("hmmss",Tn),Be("Hmm",Pe),Be("Hmmss",Tn),In(["H","HH"],3),In(["k","kk"],function(I,P,K){var ut=rt(I);P[3]=24===ut?0:ut}),In(["a","A"],function(I,P,K){K._isPm=K._locale.isPM(I),K._meridiem=I}),In(["h","hh"],function(I,P,K){P[3]=rt(I),W(K).bigHour=!0}),In("hmm",function(I,P,K){var ut=I.length-2;P[3]=rt(I.substr(0,ut)),P[4]=rt(I.substr(ut)),W(K).bigHour=!0}),In("hmmss",function(I,P,K){var ut=I.length-4,zt=I.length-2;P[3]=rt(I.substr(0,ut)),P[4]=rt(I.substr(ut,2)),P[5]=rt(I.substr(zt)),W(K).bigHour=!0}),In("Hmm",function(I,P,K){var ut=I.length-2;P[3]=rt(I.substr(0,ut)),P[4]=rt(I.substr(ut))}),In("Hmmss",function(I,P,K){var ut=I.length-4,zt=I.length-2;P[3]=rt(I.substr(0,ut)),P[4]=rt(I.substr(ut,2)),P[5]=rt(I.substr(zt))});var Wi,oo=Mn("Hours",!0),Lr={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ii,monthsShort:Gn,week:{dow:0,doy:6},weekdays:jn,weekdaysMin:qo,weekdaysShort:es,meridiemParse:/[ap]\.?m?\.?/i},yi={},hr={};function Vo(I){return I&&I.toLowerCase().replace("_","-")}function wr(I){var P=null;
vendor: 6,871 bytes, line 1
1if(!yi[I]&&s&&s.exports)try{P=Wi._abbr,i(1748)("./"+I),Qo(P)}catch{}return yi[I]}function Qo(I,P){var K;return I&&((K=E(P)?Ur(I):Pa(I,P))?Wi=K:typeof console<"u"&&console.warn&&console.warn("Locale "+I+" not found. Did you forget to load it?")),Wi._abbr}function Pa(I,P){if(null===P)return delete yi[I],null;var K,ut=Lr;if(P.abbr=I,null!=yi[I])Gt("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),ut=yi[I]._config;else if(null!=P.parentLocale)if(null!=yi[P.parentLocale])ut=yi[P.parentLocale]._config;else{if(null==(K=wr(P.parentLocale)))return hr[P.parentLocale]||(hr[P.parentLocale]=[]),hr[P.parentLocale].push({name:I,config:P}),null;ut=K._config}return yi[I]=new be(ke(ut,P)),hr[I]&&hr[I].forEach(function(zt){Pa(zt.name,zt.config)}),Qo(I),yi[I]}function Ur(I){var P;if(I&&I._locale&&I._locale._abbr&&(I=I._locale._abbr),!I)return Wi;if(!v(I)){if(P=wr(I))return P;I=[I]}return function(K){for(var ut,zt,ye,Ee,Re=0;Re<K.length;){for(ut=(Ee=Vo(K[Re]).split("-")).length,zt=(zt=Vo(K[Re+1]))?zt.split("-"):null;0<ut;){if(ye=wr(Ee.slice(0,ut).join("-")))return ye;if(zt&&zt.length>=ut&&kt(Ee,zt,!0)>=ut-1)break;ut--}Re++}return Wi}(I)}function gn(I){var P,K=I._a;return K&&-2===W(I).overflow&&(P=K[1]<0||11<K[1]?1:K[2]<1||K[2]>$i(K[0],K[1])?2:K[3]<0||24<K[3]||24===K[3]&&(0!==K[4]||0!==K[5]||0!==K[6])?3:K[4]<0||59<K[4]?4:K[5]<0||59<K[5]?5:K[6]<0||999<K[6]?6:-1,W(I)._overflowDayOfYear&&(P<0||2<P)&&(P=2),W(I)._overflowWeeks&&-1===P&&(P=7),W(I)._overflowWeekday&&-1===P&&(P=8),W(I).overflow=P),I}function ci(I,P,K){return I??P??K}function Bn(I){var P,K,ut,zt,ye,Ee=[];if(!I._d){var Re,He;for(Re=I,He=new Date(y.now()),ut=Re._useUTC?[He.getUTCFullYear(),He.getUTCMonth(),He.getUTCDate()]:[He.getFullYear(),He.getMonth(),He.getDate()],I._w&&null==I._a[2]&&null==I._a[1]&&function(Xe){var rn,Jn,Sn,Zi,Ci,Xi,Dr,yo;if(null!=(rn=Xe._w).GG||null!=rn.W||null!=rn.E)Ci=1,Xi=4,Jn=ci(rn.GG,Xe._a[0],Ar(Pn(),1,4).year),Sn=ci(rn.W,1),((Zi=ci(rn.E,1))<1||7<Zi)&&(yo=!0);else{Ci=Xe._locale._week.dow,Xi=Xe._locale._week.doy;var Ks=Ar(Pn(),Ci,Xi);Jn=ci(rn.gg,Xe._a[0],Ks.year),Sn=ci(rn.w,Ks.week),null!=rn.d?((Zi=rn.d)<0||6<Zi)&&(yo=!0):null!=rn.e?(Zi=rn.e+Ci,(rn.e<0||6<rn.e)&&(yo=!0)):Zi=Ci}Sn<1||Sn>Ni(Jn,Ci,Xi)?W(Xe)._overflowWeeks=!0:null!=yo?W(Xe)._overflowWeekday=!0:(Dr=An(Jn,Sn,Zi,Ci,Xi),Xe._a[0]=Dr.year,Xe._dayOfYear=Dr.dayOfYear)}(I),null!=I._dayOfYear&&(ye=ci(I._a[0],ut[0]),(I._dayOfYear>xn(ye)||0===I._dayOfYear)&&(W(I)._overflowDayOfYear=!0),K=bn(ye,0,I._dayOfYear),I._a[1]=K.getUTCMonth(),I._a[2]=K.getUTCDate()),P=0;P<3&&null==I._a[P];++P)I._a[P]=Ee[P]=ut[P];for(;P<7;P++)I._a[P]=Ee[P]=I._a[P]??(2===P?1:0);24===I._a[3]&&0===I._a[4]&&0===I._a[5]&&0===I._a[6]&&(I._nextDay=!0,I._a[3]=0),I._d=(I._useUTC?bn:function(Xe,rn,Jn,Sn,Zi,Ci,Xi){var Dr;return Xe<100&&0<=Xe?(Dr=new Date(Xe+400,rn,Jn,Sn,Zi,Ci,Xi),isFinite(Dr.getFullYear())&&Dr.setFullYear(Xe)):Dr=new Date(Xe,rn,Jn,Sn,Zi,Ci,Xi),Dr}).apply(null,Ee),zt=I._useUTC?I._d.getUTCDay():I._d.getDay(),null!=I._tzm&&I._d.setUTCMinutes(I._d.getUTCMinutes()-I._tzm),I._nextDay&&(I._a[3]=24),I._w&&void 0!==I._w.d&&I._w.d!==zt&&(W(I).weekdayMismatch=!0)}}var $e=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,li=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Tt=/Z|[+-]\d\d(?::?\d\d)?/,gr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ie=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ao=/^\/?Date\((\-?\d+)/i;function Co(I){var P,K,ut,zt,ye,Ee,Re=I._i,He=$e.exec(Re)||li.exec(Re);if(He){for(W(I).iso=!0,P=0,K=gr.length;P<K;P++)if(gr[P][1].exec(He[1])){zt=gr[P][0],ut=!1!==gr[P][2];break}if(null==zt)return void(I._isValid=!1);if(He[3]){for(P=0,K=ie.length;P<K;P++)if(ie[P][1].exec(He[3])){ye=(He[2]||" ")+ie[P][0];break}if(null==ye)return void(I._isValid=!1)}if(!ut&&null!=ye)return void(I._isValid=!1);if(He[4]){if(!Tt.exec(He[4]))return void(I._isValid=!1);Ee="Z"}I._f=zt+(ye||"")+(Ee||""),is(I)}else I._isValid=!1}var oa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ra={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ns(I){var P,K,ut,Re,He,Xe,rn,Jn,Zi,Ci,Sn,zt=oa.exec(I._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(zt){var ye=(Re=zt[3],He=zt[2],Xe=zt[5],rn=zt[6],Jn=zt[7],Sn=[(Zi=zt[4],Ci=parseInt(Zi,10),Ci<=49?2e3+Ci:Ci<=999?1900+Ci:Ci),Gn.indexOf(Re),parseInt(He,10),parseInt(Xe,10),parseInt(rn,10)],Jn&&Sn.push(parseInt(Jn,10)),Sn);if(K=ye,ut=I,(P=zt[1])&&es.indexOf(P)!==new Date(K[0],K[1],K[2]).getDay()&&(W(ut).weekdayMismatch=!0,!(ut._isValid=!1)))return;I._a=ye,I._tzm=function(Ee,Re,He){if(Ee)return Ra[Ee];if(Re)return 0;var Xe=parseInt(He,10),rn=Xe%100;return(Xe-rn)/100*60+rn}(zt[8],zt[9],zt[10]),I._d=bn.apply(null,I._a),I._d.setUTCMinutes(I._d.getUTCMinutes()-I._tzm),W(I).rfc2822=!0}else I._isValid=!1}function is(I){if(I._f!==y.ISO_8601)if(I._f!==y.RFC_2822){I._a=[],W(I).empty=!0;var P,K,ut,zt,ye,Ee,Re,He,Xe=""+I._i,rn=Xe.length,Jn=0;for(ut=Bt(I._f,I._locale).match(nn)||[],P=0;P<ut.length;P++)(K=(Xe.match(pn(zt=ut[P],I))||[])[0])&&(0<(ye=Xe.substr(0,Xe.indexOf(K))).length&&W(I).unusedInput.push(ye),Xe=Xe.slice(Xe.indexOf(K)+K.length),Jn+=K.length),ae[zt]?(K?W(I).empty=!1:W(I).unusedTokens.push(zt),Ee=zt,He=I,null!=(Re=K)&&J(zi,Ee)&&zi[Ee](Re,He._a,He,Ee)):I._strict&&!K&&W(I).unusedTokens.push(zt);W(I).charsLeftOver=rn-Jn,0<Xe.length&&W(I).unusedInput.push(Xe),I._a[3]<=12&&!0===W(I).bigHour&&0<I._a[3]&&(W(I).bigHour=void 0),W(I).parsedDateParts=I._a.slice(0),W(I).meridiem=I._meridiem,I._a[3]=(Sn=I._locale,Zi=I._a[3],null==(Ci=I._meridiem)?Zi:null!=Sn.meridiemHour?Sn.meridiemHour(Zi,Ci):(null!=Sn.isPM&&((Xi=Sn.isPM(Ci))&&Zi<12&&(Zi+=12),Xi||12!==Zi||(Zi=0)),Zi)),Bn(I),gn(I)}else ns(I);else Co(I);var Sn,Zi,Ci,Xi}function dr(I){var P,K,ut,zt,ye=I._i,Ee=I._f;return I._locale=I._locale||Ur(I._l),null===ye||void 0===Ee&&""===ye?ot({nullInput:!0}
vendor: 10,453 bytes, line 1
1):("string"==typeof ye&&(I._i=ye=I._locale.preparse(ye)),Lt(ye)?new bt(gn(ye)):(B(ye)?I._d=ye:v(Ee)?function(Re){var He,Xe,rn,Jn,Sn;if(0===Re._f.length)return W(Re).invalidFormat=!0,Re._d=new Date(NaN);for(Jn=0;Jn<Re._f.length;Jn++)Sn=0,He=at({},Re),null!=Re._useUTC&&(He._useUTC=Re._useUTC),He._f=Re._f[Jn],is(He),X(He)&&(Sn+=W(He).charsLeftOver,Sn+=10*W(He).unusedTokens.length,W(He).score=Sn,(null==rn||Sn<rn)&&(rn=Sn,Xe=He));j(Re,Xe||He)}(I):Ee?is(I):E(K=(P=I)._i)?P._d=new Date(y.now()):B(K)?P._d=new Date(K.valueOf()):"string"==typeof K?null===(zt=ao.exec((ut=P)._i))?(Co(ut),!1===ut._isValid&&(delete ut._isValid,ns(ut),!1===ut._isValid&&(delete ut._isValid,y.createFromInputFallback(ut)))):ut._d=new Date(+zt[1]):v(K)?(P._a=L(K.slice(0),function(Re){return parseInt(Re,10)}),Bn(P)):k(K)?function(Re){if(!Re._d){var He=pe(Re._i);Re._a=L([He.year,He.month,He.day||He.date,He.hour,He.minute,He.second,He.millisecond],function(Xe){return Xe&&parseInt(Xe,10)}),Bn(Re)}}(P):F(K)?P._d=new Date(K):y.createFromInputFallback(P),X(I)||(I._d=null),I))}function ko(I,P,K,ut,zt){var ye,Ee={};return!0!==K&&!1!==K||(ut=K,K=void 0),(k(I)&&function(Re){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(Re).length;var He;for(He in Re)if(Re.hasOwnProperty(He))return!1;return!0}(I)||v(I)&&0===I.length)&&(I=void 0),Ee._isAMomentObject=!0,Ee._useUTC=Ee._isUTC=zt,Ee._l=K,Ee._i=I,Ee._f=P,Ee._strict=ut,(ye=new bt(gn(dr(Ee))))._nextDay&&(ye.add(1,"d"),ye._nextDay=void 0),ye}function Pn(I,P,K,ut){return ko(I,P,K,ut,!1)}y.createFromInputFallback=Yt("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(I){I._d=new Date(I._i+(I._useUTC?" UTC":""))}),y.ISO_8601=function(){},y.RFC_2822=function(){};var aa=Yt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var I=Pn.apply(null,arguments);return this.isValid()&&I.isValid()?I<this?this:I:ot()}),Ta=Yt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var I=Pn.apply(null,arguments);return this.isValid()&&I.isValid()?this<I?this:I:ot()});function Li(I,P){var K,ut;if(1===P.length&&v(P[0])&&(P=P[0]),!P.length)return Pn();for(K=P[0],ut=1;ut<P.length;++ut)P[ut].isValid()&&!P[ut][I](K)||(K=P[ut]);return K}var Hi=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pr(I){var P=pe(I),K=P.year||0,ut=P.quarter||0,zt=P.month||0,ye=P.week||P.isoWeek||0,Ee=P.day||0,Re=P.hour||0,He=P.minute||0,Xe=P.second||0,rn=P.millisecond||0;this._isValid=function(Jn){for(var Sn in Jn)if(-1===ln.call(Hi,Sn)||null!=Jn[Sn]&&isNaN(Jn[Sn]))return!1;for(var Zi=!1,Ci=0;Ci<Hi.length;++Ci)if(Jn[Hi[Ci]]){if(Zi)return!1;parseFloat(Jn[Hi[Ci]])!==rt(Jn[Hi[Ci]])&&(Zi=!0)}return!0}(P),this._milliseconds=+rn+1e3*Xe+6e4*He+1e3*Re*60*60,this._days=+Ee+7*ye,this._months=+zt+3*ut+12*K,this._data={},this._locale=Ur(),this._bubble()}function Tr(I){return I instanceof Pr}function nr(I){return I<0?-1*Math.round(-1*I):Math.round(I)}function ir(I,P){ht(I,0,0,function(){var K=this.utcOffset(),ut="+";return K<0&&(K=-K,ut="-"),ut+Jt(~~(K/60),2)+P+Jt(~~K%60,2)})}ir("Z",":"),ir("ZZ",""),Be("Z",cn),Be("ZZ",cn),In(["Z","ZZ"],function(I,P,K){K._useUTC=!0,K._tzm=mr(cn,I)});var Zr=/([\+\-]|\d\d)/gi;function mr(I,P){var K=(P||"").match(I);if(null===K)return null;var ut=((K[K.length-1]||[])+"").match(Zr)||["-",0,0],zt=60*ut[1]+rt(ut[2]);return 0===zt?0:"+"===ut[0]?zt:-zt}function Do(I,P){var K,ut;return P._isUTC?(K=P.clone(),ut=(Lt(I)||B(I)?I.valueOf():Pn(I).valueOf())-K.valueOf(),K._d.setTime(K._d.valueOf()+ut),y.updateOffset(K,!1),K):Pn(I).local()}function mo(I){return 15*-Math.round(I._d.getTimezoneOffset()/15)}function so(){return!!this.isValid()&&this._isUTC&&0===this._offset}y.updateOffset=function(){};var Ja=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ht=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function tn(I,P){var K,ut,zt,Re,He,Xe,ye=I,Ee=null;return Tr(I)?ye={ms:I._milliseconds,d:I._days,M:I._months}:F(I)?(ye={},P?ye[P]=I:ye.milliseconds=I):(Ee=Ja.exec(I))?(K="-"===Ee[1]?-1:1,ye={y:0,d:rt(Ee[2])*K,h:rt(Ee[3])*K,m:rt(Ee[4])*K,s:rt(Ee[5])*K,ms:rt(nr(1e3*Ee[6]))*K}):(Ee=Ht.exec(I))?ye={y:ze(Ee[2],K="-"===Ee[1]?-1:1),M:ze(Ee[3],K),w:ze(Ee[4],K),d:ze(Ee[5],K),h:ze(Ee[6],K),m:ze(Ee[7],K),s:ze(Ee[8],K)}:null==ye?ye={}:"object"==typeof ye&&("from"in ye||"to"in ye)&&(Re=Pn(ye.from),He=Pn(ye.to),zt=Re.isValid()&&He.isValid()?(He=Do(He,Re),Re.isBefore(He)?Xe=Ui(Re,He):((Xe=Ui(He,Re)).milliseconds=-Xe.milliseconds,Xe.months=-Xe.months),Xe):{milliseconds:0,months:0},(ye={}).ms=zt.milliseconds,ye.M=zt.months),ut=new Pr(ye),Tr(I)&&J(I,"_locale")&&(ut._locale=I._locale),ut}function ze(I,P){var K=I&&parseFloat(I.replace(",","."));return(isNaN(K)?0:K)*P}function Ui(I,P){var K={};return K.months=P.month()-I.month()+12*(P.year()-I.year()),I.clone().add(K.months,"M").isAfter(P)&&--K.months,K.milliseconds=+P-+I.clone().add(K.months,"M"),K}function Bi(I,P){return function(K,ut){var zt;return null===ut||isNaN(+ut)||(Gt(P,"moment()."+P+"(period, number) is deprecated. Please use moment()."+P+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),zt=K,K=ut,ut=zt),Rr(this,tn(K="string"==typeof K?+K:K,ut),I),this}}function Rr(I,P,K,ut){var zt=P._milliseconds,ye=nr(P._days),Ee=nr(P._months);I.isValid()&&(ut=null==ut||ut,Ee&&ai(I,Xn(I,"Month")+Ee*K),ye&&ti(I,"Date",Xn(I,"Date")+ye*K),zt&&I._d.setTime(I._d.valueOf()+zt*K),ut&&y.updateOffset(I,ye||Ee))}tn.fn=Pr.prototype,tn.invalid=function(){return tn(NaN)};var Cr=Bi(1,"add"),zs=Bi(-1,"subtract");function So(I,P){var K=12*(P.year()-I.year())+(P.month()-I.month()),ut=I.clone().add(K,"months");return-(K+(P-ut<0?(P-ut)/(ut-I.clone().add(K-1,"months")):(P-ut)/(I.clone().add(K+1,"months")-ut)))||0}function rr(I){var P;return void 0===I?this._locale._abbr:(null!=(P=Ur(I))&&(this._locale=P),this)}y.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",y.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Tc=Yt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(I){return void 0===I?this.localeData():this.locale(I)});function Ca(){return this._locale}var el=126227808e5;function Ha(I,P){return(I%P+P)%P}function nl(I,P,K){return I<100&&0<=I?new Date(I+400,P,K)-el:new Date(I,P,K).valueOf()}function vo(I,P,K){return I<100&&0<=I?Date.UTC(I+400,P,K)-el:Date.UTC(I,P,K)}function kr(I,P){ht(0,[I,I.length],0,P)}function Xl(I,P,K,ut,zt){var ye;return null==I?Ar(this,ut,zt).year:((ye=Ni(I,ut,zt))<P&&(P=ye),function(Ee,Re,He,Xe,rn){var Jn=An(Ee,Re,He,Xe,rn),Sn=bn(Jn.year,0,Jn.dayOfYear);return this.year(Sn.getUTCFullYear()),this.month(Sn.getUTCMonth()),this.date(Sn.getUTCDate()),this}.call(this,I,P,K,ut,zt))}ht(0,["gg",2],0,function(){return this.weekYear()%100}),ht(0,["GG",2],0,function(){return this.isoWeekYear()%100}),kr("gggg","weekYear"),kr("ggggg","weekYear"),kr("GGGG","isoWeekYear"),kr("GGGGG","isoWeekYear"),Rt("weekYear","gg"),Rt("isoWeekYear","GG"),De("weekYear",1),De("isoWeekYear",1),Be("G",We),Be("g",We),Be("GG",Ae,jt),Be("gg",Ae,jt),Be("GGGG",Qe,de),Be("gggg",Qe,de),Be("GGGGG",Oe,un),Be("ggggg",Oe,un),_i(["gggg","ggggg","GGGG","GGGGG"],function(I,P,K,ut){P[ut.substr(0,2)]=rt(I)}),_i(["gg","GG"],function(I,P,K,ut){P[ut]=y.parseTwoDigitYear(I)}),ht("Q",0,"Qo","quarter"),Rt("quarter","Q"),De("quarter",7),Be("Q",te),In("Q",function(I,P){P[1]=3*(rt(I)-1)}),ht("D",["DD",2],"Do","date"),Rt("date","D"),De("date",9),Be("D",Ae),Be("DD",Ae,jt),Be("Do",function(I,P){return I?P._dayOfMonthOrdinalParse||P._ordinalParse:P._dayOfMonthOrdinalParseLenient}),In(["D","DD"],2),In("Do",function(I,P){P[2]=rt(I.match(Ae)[0])});var tu=Mn("Date",!0);ht("DDD",["DDDD",3],"DDDo","dayOfYear"),Rt("dayOfYear","DDD"),De("dayOfYear",4),Be("DDD",an),Be("DDDD",Pt),In(["DDD","DDDD"],function(I,P,K){K._dayOfYear=rt(I)}),ht("m",["mm",2],0,"minute"),Rt("minute","m"),De("minute",14),Be("m",Ae),Be("mm",Ae,jt),In(["m","mm"],4);var eu=Mn("Minutes",!1);ht("s",["ss",2],0,"second"),Rt("second","s"),De("second",15),Be("s",Ae),Be("ss",Ae,jt),In(["s","ss"],5);var Ya,Fh=Mn("Seconds",!1);for(ht("S",0,0,function(){return~~(this.millisecond()/100)}),ht(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ht(0,["SSS",3],0,"millisecond"),ht(0,["SSSS",4],0,function(){return 10*this.millisecond()}),ht(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),ht(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),ht(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),ht(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),ht(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Rt("millisecond","ms"),De("millisecond",16),Be("S",an,te),Be("SS",an,jt),Be("SSS",an,Pt),Ya="SSSS";Ya.length<=9;Ya+="S")Be(Ya,dn);function Cc(I,P){P[6]=rt(1e3*("0."+I))}for(Ya="S";Ya.length<=9;Ya+="S")In(Ya,Cc);var sa=Mn("Milliseconds",!1);ht("z",0,0,"zoneAbbr"),ht("zz",0,0,"zoneName");var Ge=bt.prototype;function nu(I){return I}Ge.add=Cr,Ge.calendar=function(I,P){var K=I||Pn(),ut=Do(K,this).startOf("day"),zt=y.calendarFormat(this,ut)||"sameElse",ye=P&&(Ot(P[zt])?P[zt].call(this,K):P[zt]);return this.format(ye||this.localeData().calendar(zt,this,Pn(K)))},Ge.clone=function(){return new bt(this)},Ge.diff=function(I,P,K){var ut,zt,ye;if(!this.isValid())return NaN;if(!(ut=Do(I,this)).isValid())return NaN;switch(zt=6e4*(ut.utcOffset()-this.utcOffset()),P=ee(P)){case"year":ye=So(this,ut)/12;break;case"month":ye=So(this,ut);break;case"quarter":ye=So(this,ut)/3;break;case"second":ye=(this-ut)/1e3;break;case"minute":ye=(this-ut)/6e4;break;case"hour":ye=(this-ut)/36e5;break;case"day":ye=(this-ut-zt)/864e5;break;case"week":ye=(this-ut-zt)/6048e5;break;default:ye=this-ut}return K?ye:ft(ye)},Ge.endOf=function(I){var P;if(void 0===(I=ee(I))||"millisecond"===I||!this.isValid())return this;var K=this._isUTC?vo:nl;switch(I){case"year":P=K(this.year()+1,0,1)-1;break;case"quarter":P=K(this.year(),this.month()-this.month()%3+3,1)-1;break;
vendor: 4,286 bytes, line 1
1case"month":P=K(this.year(),this.month()+1,1)-1;break;case"week":P=K(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":P=K(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":P=K(this.year(),this.month(),this.date()+1)-1;break;case"hour":P=this._d.valueOf(),P+=36e5-Ha(P+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":P=this._d.valueOf(),P+=6e4-Ha(P,6e4)-1;break;case"second":P=this._d.valueOf(),P+=1e3-Ha(P,1e3)-1}return this._d.setTime(P),y.updateOffset(this,!0),this},Ge.format=function(I){I||(I=this.isUtc()?y.defaultFormatUtc:y.defaultFormat);var P=le(this,I);return this.localeData().postformat(P)},Ge.from=function(I,P){return this.isValid()&&(Lt(I)&&I.isValid()||Pn(I).isValid())?tn({to:this,from:I}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},Ge.fromNow=function(I){return this.from(Pn(),I)},Ge.to=function(I,P){return this.isValid()&&(Lt(I)&&I.isValid()||Pn(I).isValid())?tn({from:this,to:I}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},Ge.toNow=function(I){return this.to(Pn(),I)},Ge.get=function(I){return Ot(this[I=ee(I)])?this[I]():this},Ge.invalidAt=function(){return W(this).overflow},Ge.isAfter=function(I,P){var K=Lt(I)?I:Pn(I);return!(!this.isValid()||!K.isValid())&&("millisecond"===(P=ee(P)||"millisecond")?this.valueOf()>K.valueOf():K.valueOf()<this.clone().startOf(P).valueOf())},Ge.isBefore=function(I,P){var K=Lt(I)?I:Pn(I);return!(!this.isValid()||!K.isValid())&&("millisecond"===(P=ee(P)||"millisecond")?this.valueOf()<K.valueOf():this.clone().endOf(P).valueOf()<K.valueOf())},Ge.isBetween=function(I,P,K,ut){var zt=Lt(I)?I:Pn(I),ye=Lt(P)?P:Pn(P);return!!(this.isValid()&&zt.isValid()&&ye.isValid())&&("("===(ut=ut||"()")[0]?this.isAfter(zt,K):!this.isBefore(zt,K))&&(")"===ut[1]?this.isBefore(ye,K):!this.isAfter(ye,K))},Ge.isSame=function(I,P){var K,ut=Lt(I)?I:Pn(I);return!(!this.isValid()||!ut.isValid())&&("millisecond"===(P=ee(P)||"millisecond")?this.valueOf()===ut.valueOf():(K=ut.valueOf(),this.clone().startOf(P).valueOf()<=K&&K<=this.clone().endOf(P).valueOf()))},Ge.isSameOrAfter=function(I,P){return this.isSame(I,P)||this.isAfter(I,P)},Ge.isSameOrBefore=function(I,P){return this.isSame(I,P)||this.isBefore(I,P)},Ge.isValid=function(){return X(this)},Ge.lang=Tc,Ge.locale=rr,Ge.localeData=Ca,Ge.max=Ta,Ge.min=aa,Ge.parsingFlags=function(){return j({},W(this))},Ge.set=function(I,P){if("object"==typeof I)for(var K=function(zt){var ye=[];for(var Ee in zt)ye.push({unit:Ee,priority:ve[Ee]});return ye.sort(function(Re,He){return Re.priority-He.priority}),ye}(I=pe(I)),ut=0;ut<K.length;ut++)this[K[ut].unit](I[K[ut].unit]);else if(Ot(this[I=ee(I)]))return this[I](P);return this},Ge.startOf=function(I){var P;if(void 0===(I=ee(I))||"millisecond"===I||!this.isValid())return this;var K=this._isUTC?vo:nl;switch(I){case"year":P=K(this.year(),0,1);break;case"quarter":P=K(this.year(),this.month()-this.month()%3,1);break;case"month":P=K(this.year(),this.month(),1);break;case"week":P=K(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":P=K(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":P=K(this.year(),this.month(),this.date());break;case"hour":P=this._d.valueOf(),P-=Ha(P+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":P=this._d.valueOf(),P-=Ha(P,6e4);break;case"second":P=this._d.valueOf(),P-=Ha(P,1e3)}return this._d.setTime(P),y.updateOffset(this,!0),this},Ge.subtract=zs,Ge.toArray=function(){var I=this;return[I.year(),I.month(),I.date(),I.hour(),I.minute(),I.second(),I.millisecond()]},Ge.toObject=function(){var I=this;return{years:I.year(),months:I.month(),date:I.date(),hours:I.hours(),minutes:I.minutes(),seconds:I.seconds(),milliseconds:I.milliseconds()}},Ge.toDate=function(){return new Date(this.valueOf())},Ge.toISOString=function(I){if(!this.isValid())return null;var P=!0!==I,K=P?this.clone().utc():this;return K.year()<0||9999<K.year()?le(K,P?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ot(Date.prototype.toISOString)?P?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",le(K,"Z")):le(K,P?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
vendor: 5,223 bytes, line 1
1,Ge.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var I="moment",P="";this.isLocal()||(I=0===this.utcOffset()?"moment.utc":"moment.parseZone",P="Z");var K="["+I+'("]',ut=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(K+ut+"-MM-DD[T]HH:mm:ss.SSS"+P+'[")]')},Ge.toJSON=function(){return this.isValid()?this.toISOString():null},Ge.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ge.unix=function(){return Math.floor(this.valueOf()/1e3)},Ge.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ge.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ge.year=Un,Ge.isLeapYear=function(){return Dn(this.year())},Ge.weekYear=function(I){return Xl.call(this,I,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ge.isoWeekYear=function(I){return Xl.call(this,I,this.isoWeek(),this.isoWeekday(),1,4)},Ge.quarter=Ge.quarters=function(I){return null==I?Math.ceil((this.month()+1)/3):this.month(3*(I-1)+this.month()%3)},Ge.month=si,Ge.daysInMonth=function(){return $i(this.year(),this.month())},Ge.week=Ge.weeks=function(I){var P=this.localeData().week(this);return null==I?P:this.add(7*(I-P),"d")},Ge.isoWeek=Ge.isoWeeks=function(I){var P=Ar(this,1,4).week;return null==I?P:this.add(7*(I-P),"d")},Ge.weeksInYear=function(){var I=this.localeData()._week;return Ni(this.year(),I.dow,I.doy)},Ge.isoWeeksInYear=function(){return Ni(this.year(),1,4)},Ge.date=tu,Ge.day=Ge.days=function(I){if(!this.isValid())return null!=I?this:NaN;var P,K,ut=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=I?(P=I,K=this.localeData(),I="string"!=typeof P?P:isNaN(P)?"number"==typeof(P=K.weekdaysParse(P))?P:null:parseInt(P,10),this.add(I-ut,"d")):ut},Ge.weekday=function(I){if(!this.isValid())return null!=I?this:NaN;var P=(this.day()+7-this.localeData()._week.dow)%7;return null==I?P:this.add(I-P,"d")},Ge.isoWeekday=function(I){if(!this.isValid())return null!=I?this:NaN;if(null==I)return this.day()||7;var P,K,ut=(P=I,K=this.localeData(),"string"==typeof P?K.weekdaysParse(P)%7||7:isNaN(P)?null:P);return this.day(this.day()%7?ut:ut-7)},Ge.dayOfYear=function(I){var P=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==I?P:this.add(I-P,"d")},Ge.hour=Ge.hours=oo,Ge.minute=Ge.minutes=eu,Ge.second=Ge.seconds=Fh,Ge.millisecond=Ge.milliseconds=sa,Ge.utcOffset=function(I,P,K){var ut,zt=this._offset||0;if(!this.isValid())return null!=I?this:NaN;if(null==I)return this._isUTC?zt:mo(this);if("string"==typeof I){if(null===(I=mr(cn,I)))return this}else Math.abs(I)<16&&!K&&(I*=60);return!this._isUTC&&P&&(ut=mo(this)),this._offset=I,this._isUTC=!0,null!=ut&&this.add(ut,"m"),zt!==I&&(!P||this._changeInProgress?Rr(this,tn(I-zt,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,y.updateOffset(this,!0),this._changeInProgress=null)),this},Ge.utc=function(I){return this.utcOffset(0,I)},Ge.local=function(I){return this._isUTC&&(this.utcOffset(0,I),this._isUTC=!1,I&&this.subtract(mo(this),"m")),this},Ge.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var I=mr(sn,this._i);null!=I?this.utcOffset(I):this.utcOffset(0,!0)}return this},Ge.hasAlignedHourOffset=function(I){return!!this.isValid()&&(I=I?Pn(I).utcOffset():0,(this.utcOffset()-I)%60==0)},Ge.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ge.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ge.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ge.isUtc=so,Ge.isUTC=so,Ge.zoneAbbr=function(){return this._isUTC?"UTC":""},Ge.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ge.dates=Yt("dates accessor is deprecated. Use date instead.",tu),Ge.months=Yt("months accessor is deprecated. Use month instead",si),Ge.years=Yt("years accessor is deprecated. Use year instead",Un),Ge.zone=Yt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(I,P){return null!=I?("string"!=typeof I&&(I=-I),this.utcOffset(I,P),this):-this.utcOffset()}),Ge.isDSTShifted=Yt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!E(this._isDSTShifted))return this._isDSTShifted;var I={};if(at(I,this),(I=dr(I))._a){var P=I._isUTC?Q(I._a):Pn(I._a);this._isDSTShifted=this.isValid()&&0<kt(I._a,P.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var Gi=be.prototype;function il(I,P,K,ut){var zt=Ur(),ye=Q().set(ut,P);return zt[K](ye,I)}function rl(I,P,K){if(F(I)&&(P=I,I=void 0),I=I||"",null!=P)return il(I,P,K,"month");var ut,zt=[];for(ut=0;ut<12;ut++)zt[ut]=il(I,ut,K,"month");return zt}function iu(I,P,K,ut){"boolean"==typeof I?F(P)&&(K=P,P=void 0):(P=I,I=!1,F(K=P)&&(K=P,P=void 0)),P=P||"";var zt,ye=Ur(),Ee=I?ye._week.dow:0;if(null!=K)return il(P,(K+Ee)%7,ut,"day");var Re=[];for(zt=0;zt<7;zt++)Re[zt]=il(P,(zt+Ee)%7,ut,"day");return Re}Gi.calendar=function(I,P,K){var ut=this._calendar[I]||this._calendar.sameElse;
vendor: 7,457 bytes, line 1
1return Ot(ut)?ut.call(P,K):ut},Gi.longDateFormat=function(I){var P=this._longDateFormat[I],K=this._longDateFormat[I.toUpperCase()];return P||!K?P:(this._longDateFormat[I]=K.replace(/MMMM|MM|DD|dddd/g,function(ut){return ut.slice(1)}),this._longDateFormat[I])},Gi.invalidDate=function(){return this._invalidDate},Gi.ordinal=function(I){return this._ordinal.replace("%d",I)},Gi.preparse=nu,Gi.postformat=nu,Gi.relativeTime=function(I,P,K,ut){var zt=this._relativeTime[K];return Ot(zt)?zt(I,P,K,ut):zt.replace(/%d/i,I)},Gi.pastFuture=function(I,P){var K=this._relativeTime[0<I?"future":"past"];return Ot(K)?K(P):K.replace(/%s/i,P)},Gi.set=function(I){var P,K;for(K in I)Ot(P=I[K])?this[K]=P:this["_"+K]=P;this._config=I,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Gi.months=function(I,P){return I?v(this._months)?this._months[I.month()]:this._months[(this._months.isFormat||Nn).test(P)?"format":"standalone"][I.month()]:v(this._months)?this._months:this._months.standalone},Gi.monthsShort=function(I,P){return I?v(this._monthsShort)?this._monthsShort[I.month()]:this._monthsShort[Nn.test(P)?"format":"standalone"][I.month()]:v(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Gi.monthsParse=function(I,P,K){var ut,zt,ye;if(this._monthsParseExact)return function(Ee,Re,He){var Xe,rn,Jn,Sn=Ee.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],Xe=0;Xe<12;++Xe)Jn=Q([2e3,Xe]),this._shortMonthsParse[Xe]=this.monthsShort(Jn,"").toLocaleLowerCase(),this._longMonthsParse[Xe]=this.months(Jn,"").toLocaleLowerCase();return He?"MMM"===Re?-1!==(rn=ln.call(this._shortMonthsParse,Sn))?rn:null:-1!==(rn=ln.call(this._longMonthsParse,Sn))?rn:null:"MMM"===Re?-1!==(rn=ln.call(this._shortMonthsParse,Sn))||-1!==(rn=ln.call(this._longMonthsParse,Sn))?rn:null:-1!==(rn=ln.call(this._longMonthsParse,Sn))||-1!==(rn=ln.call(this._shortMonthsParse,Sn))?rn:null}.call(this,I,P,K);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),ut=0;ut<12;ut++)if(zt=Q([2e3,ut]),K&&!this._longMonthsParse[ut]&&(this._longMonthsParse[ut]=new RegExp("^"+this.months(zt,"").replace(".","")+"$","i"),this._shortMonthsParse[ut]=new RegExp("^"+this.monthsShort(zt,"").replace(".","")+"$","i")),K||this._monthsParse[ut]||(ye="^"+this.months(zt,"")+"|^"+this.monthsShort(zt,""),this._monthsParse[ut]=new RegExp(ye.replace(".",""),"i")),K&&"MMMM"===P&&this._longMonthsParse[ut].test(I)||K&&"MMM"===P&&this._shortMonthsParse[ut].test(I)||!K&&this._monthsParse[ut].test(I))return ut},Gi.monthsRegex=function(I){return this._monthsParseExact?(J(this,"_monthsRegex")||$n.call(this),I?this._monthsStrictRegex:this._monthsRegex):(J(this,"_monthsRegex")||(this._monthsRegex=Rn),this._monthsStrictRegex&&I?this._monthsStrictRegex:this._monthsRegex)},Gi.monthsShortRegex=function(I){return this._monthsParseExact?(J(this,"_monthsRegex")||$n.call(this),I?this._monthsShortStrictRegex:this._monthsShortRegex):(J(this,"_monthsShortRegex")||(this._monthsShortRegex=pi),this._monthsShortStrictRegex&&I?this._monthsShortStrictRegex:this._monthsShortRegex)},Gi.week=function(I){return Ar(I,this._week.dow,this._week.doy).week},Gi.firstDayOfYear=function(){return this._week.doy},Gi.firstDayOfWeek=function(){return this._week.dow},Gi.weekdays=function(I,P){var K=v(this._weekdays)?this._weekdays:this._weekdays[I&&!0!==I&&this._weekdays.isFormat.test(P)?"format":"standalone"];return!0===I?go(K,this._week.dow):I?K[I.day()]:K},Gi.weekdaysMin=function(I){return!0===I?go(this._weekdaysMin,this._week.dow):I?this._weekdaysMin[I.day()]:this._weekdaysMin},Gi.weekdaysShort=function(I){return!0===I?go(this._weekdaysShort,this._week.dow):I?this._weekdaysShort[I.day()]:this._weekdaysShort},Gi.weekdaysParse=function(I,P,K){var ut,zt,ye;if(this._weekdaysParseExact)return function(Ee,Re,He){var Xe,rn,Jn,Sn=Ee.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Xe=0;Xe<7;++Xe)Jn=Q([2e3,1]).day(Xe),this._minWeekdaysParse[Xe]=this.weekdaysMin(Jn,"").toLocaleLowerCase(),this._shortWeekdaysParse[Xe]=this.weekdaysShort(Jn,"").toLocaleLowerCase(),this._weekdaysParse[Xe]=this.weekdays(Jn,"").toLocaleLowerCase();return He?"dddd"===Re?-1!==(rn=ln.call(this._weekdaysParse,Sn))?rn:null:"ddd"===Re?-1!==(rn=ln.call(this._shortWeekdaysParse,Sn))?rn:null:-1!==(rn=ln.call(this._minWeekdaysParse,Sn))?rn:null:"dddd"===Re?-1!==(rn=ln.call(this._weekdaysParse,Sn))||-1!==(rn=ln.call(this._shortWeekdaysParse,Sn))||-1!==(rn=ln.call(this._minWeekdaysParse,Sn))?rn:null:"ddd"===Re?-1!==(rn=ln.call(this._shortWeekdaysParse,Sn))||-1!==(rn=ln.call(this._weekdaysParse,Sn))||-1!==(rn=ln.call(this._minWeekdaysParse,Sn))?rn:null:-1!==(rn=ln.call(this._minWeekdaysParse,Sn))||-1!==(rn=ln.call(this._weekdaysParse,Sn))||-1!==(rn=ln.call(this._shortWeekdaysParse,Sn))?rn:null}.call(this,I,P,K);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),ut=0;ut<7;ut++)if(zt=Q([2e3,1]).day(ut),K&&!this._fullWeekdaysParse[ut]&&(this._fullWeekdaysParse[ut]=new RegExp("^"+this.weekdays(zt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[ut]=new RegExp("^"+this.weekdaysShort(zt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[ut]=new RegExp("^"+this.weekdaysMin(zt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[ut]||(ye="^"+this.weekdays(zt,"")+"|^"+this.weekdaysShort(zt,"")+"|^"+this.weekdaysMin(zt,""),this._weekdaysParse[ut]=new RegExp(ye.replace(".",""),"i")),K&&"dddd"===P&&this._fullWeekdaysParse[ut].test(I)||K&&"ddd"===P&&this._shortWeekdaysParse[ut].test(I)||K&&"dd"===P&&this._minWeekdaysParse[ut].test(I)||!K&&this._weekdaysParse[ut].test(I))return ut},Gi.weekdaysRegex=function(I){return this._weekdaysParseExact?(J(this,"_weekdaysRegex")||pr.call(this),I?this._weekdaysStrictRegex:this._weekdaysRegex):(J(this,"_weekdaysRegex")||(this._weekdaysRegex=Er),this._weekdaysStrictRegex&&I?this._weekdaysStrictRegex:this._weekdaysRegex)},Gi.weekdaysShortRegex=function(I){return this._weekdaysParseExact?(J(this,"_weekdaysRegex")||pr.call(this),I?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(J(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ki),this._weekdaysShortStrictRegex&&I?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Gi.weekdaysMinRegex=function(I){return this._weekdaysParseExact?(J(this,"_weekdaysRegex")||pr.call(this),I?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(J(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=er),this._weekdaysMinStrictRegex&&I?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Gi.isPM=function(I){return"p"===(I+"").toLowerCase().charAt(0)},Gi.meridiem=function(I,P,K){return 11<I?K?"pm":"PM":K?"am":"AM"},Qo("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(I){var P=I%10;return I+(1===rt(I%100/10)?"th":1===P?"st":2===P?"nd":3===P?"rd":"th")}}),y.lang=Yt("moment.lang is deprecated. Use moment.locale instead.",Qo),y.langData=Yt("moment.langData is deprecated. Use moment.localeData instead.",Ur);var ca=Math.abs;function Jr(I,P,K,ut){var zt=tn(P,K);return I._milliseconds+=ut*zt._milliseconds,I._days+=ut*zt._days,I._months+=ut*zt._months,I._bubble()}function kc(I){return I<0?Math.floor(I):Math.ceil(I)}function Mh(I){return 4800*I/146097}
vendor: 4,342 bytes, line 1
1function ru(I){return 146097*I/4800}function rs(I){return function(){return this.as(I)}}var Nh=rs("ms"),Bf=rs("s"),xp=rs("m"),Pf=rs("h"),Rf=rs("d"),la=rs("w"),Jf=rs("M"),ou=rs("Q"),Lh=rs("y");function os(I){return function(){return this.isValid()?this._data[I]:NaN}}var ol=os("milliseconds"),Uh=os("seconds"),au=os("minutes"),$o=os("hours"),xs=os("days"),ua=os("months"),al=os("years"),jo=Math.round,Go={ss:44,s:45,m:45,h:22,d:26,M:11},Dc=Math.abs;function bs(I){return(0<I)-(I<0)||+I}function ha(){if(!this.isValid())return this.localeData().invalidDate();var I,P,K=Dc(this._milliseconds)/1e3,ut=Dc(this._days),zt=Dc(this._months);P=ft((I=ft(K/60))/60),K%=60,I%=60;var ye=ft(zt/12),Ee=zt%=12,Re=ut,He=P,Xe=I,rn=K?K.toFixed(3).replace(/\.?0+$/,""):"",Jn=this.asSeconds();if(!Jn)return"P0D";var Sn=Jn<0?"-":"",Zi=bs(this._months)!==bs(Jn)?"-":"",Ci=bs(this._days)!==bs(Jn)?"-":"",Xi=bs(this._milliseconds)!==bs(Jn)?"-":"";return Sn+"P"+(ye?Zi+ye+"Y":"")+(Ee?Zi+Ee+"M":"")+(Re?Ci+Re+"D":"")+(He||Xe||rn?"T":"")+(He?Xi+He+"H":"")+(Xe?Xi+Xe+"M":"")+(rn?Xi+rn+"S":"")}var ei=Pr.prototype;return ei.isValid=function(){return this._isValid},ei.abs=function(){var I=this._data;return this._milliseconds=ca(this._milliseconds),this._days=ca(this._days),this._months=ca(this._months),I.milliseconds=ca(I.milliseconds),I.seconds=ca(I.seconds),I.minutes=ca(I.minutes),I.hours=ca(I.hours),I.months=ca(I.months),I.years=ca(I.years),this},ei.add=function(I,P){return Jr(this,I,P,1)},ei.subtract=function(I,P){return Jr(this,I,P,-1)},ei.as=function(I){if(!this.isValid())return NaN;var P,K,ut=this._milliseconds;if("month"===(I=ee(I))||"quarter"===I||"year"===I)switch(P=this._days+ut/864e5,K=this._months+Mh(P),I){case"month":return K;case"quarter":return K/3;case"year":return K/12}else switch(P=this._days+Math.round(ru(this._months)),I){case"week":return P/7+ut/6048e5;case"day":return P+ut/864e5;case"hour":return 24*P+ut/36e5;case"minute":return 1440*P+ut/6e4;case"second":return 86400*P+ut/1e3;case"millisecond":return Math.floor(864e5*P)+ut;default:throw new Error("Unknown unit "+I)}},ei.asMilliseconds=Nh,ei.asSeconds=Bf,ei.asMinutes=xp,ei.asHours=Pf,ei.asDays=Rf,ei.asWeeks=la,ei.asMonths=Jf,ei.asQuarters=ou,ei.asYears=Lh,ei.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*rt(this._months/12):NaN},ei._bubble=function(){var I,P,K,ut,zt,ye=this._milliseconds,Ee=this._days,Re=this._months,He=this._data;return 0<=ye&&0<=Ee&&0<=Re||ye<=0&&Ee<=0&&Re<=0||(ye+=864e5*kc(ru(Re)+Ee),Re=Ee=0),He.milliseconds=ye%1e3,I=ft(ye/1e3),He.seconds=I%60,P=ft(I/60),He.minutes=P%60,K=ft(P/60),He.hours=K%24,Re+=zt=ft(Mh(Ee+=ft(K/24))),Ee-=kc(ru(zt)),ut=ft(Re/12),Re%=12,He.days=Ee,He.months=Re,He.years=ut,this},ei.clone=function(){return tn(this)},ei.get=function(I){return I=ee(I),this.isValid()?this[I+"s"]():NaN},ei.milliseconds=ol,ei.seconds=Uh,ei.minutes=au,ei.hours=$o,ei.days=xs,ei.weeks=function(){return ft(this.days()/7)},ei.months=ua,ei.years=al,ei.humanize=function(I){if(!this.isValid())return this.localeData().invalidDate();var P,K,ut,zt,ye,Ee,Re,He,Xe,rn,Jn=this.localeData(),Sn=(P=!I,K=Jn,ut=tn(this).abs(),zt=jo(ut.as("s")),ye=jo(ut.as("m")),Ee=jo(ut.as("h")),Re=jo(ut.as("d")),He=jo(ut.as("M")),Xe=jo(ut.as("y")),(rn=zt<=Go.ss&&["s",zt]||zt<Go.s&&["ss",zt]||ye<=1&&["m"]||ye<Go.m&&["mm",ye]||Ee<=1&&["h"]||Ee<Go.h&&["hh",Ee]||Re<=1&&["d"]||Re<Go.d&&["dd",Re]||He<=1&&["M"]||He<Go.M&&["MM",He]||Xe<=1&&["y"]||["yy",Xe])[2]=P,rn[3]=0<+this,rn[4]=K,function(Zi,Ci,Xi,Dr,yo){return yo.relativeTime(Ci||1,!!Xi,Zi,Dr)}.apply(null,rn));return I&&(Sn=Jn.pastFuture(+this,Sn)),Jn.postformat(Sn)},ei.toISOString=ha,ei.toString=ha,ei.toJSON=ha,ei.locale=rr,ei.localeData=Ca,ei.toIsoString=Yt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ha),ei.lang=Tc,ht("X",0,0,"unix"),ht("x",0,0,"valueOf"),Be("x",We),Be("X",/[+-]?\d+(\.\d{1,3})?/),In("X",function(I,P,K){K._d=new Date(1e3*parseFloat(I,10))}),In("x",function(I,P,K){K._d=new Date(rt(I))}),y.version="2.24.0",d=Pn,y.fn=Ge,y.min=function(){return Li("isBefore",[].slice.call(arguments,0))},y.max=function(){return Li("isAfter",[].slice.call(arguments,0))},y.now=function(){return Date.now?Date.now():+new Date},y.utc=Q,y.unix=function(I){return Pn(1e3*I)},y.months=function(I,P){return rl(I,P,"months")}
vendor: 5,123 bytes, line 1
1,y.isDate=B,y.locale=Qo,y.invalid=ot,y.duration=tn,y.isMoment=Lt,y.weekdays=function(I,P,K){return iu(I,P,K,"weekdays")},y.parseZone=function(){return Pn.apply(null,arguments).parseZone()},y.localeData=Ur,y.isDuration=Tr,y.monthsShort=function(I,P){return rl(I,P,"monthsShort")},y.weekdaysMin=function(I,P,K){return iu(I,P,K,"weekdaysMin")},y.defineLocale=Pa,y.updateLocale=function(I,P){if(null!=P){var K,ut,zt=Lr;null!=(ut=wr(I))&&(zt=ut._config),(K=new be(P=ke(zt,P))).parentLocale=yi[I],yi[I]=K,Qo(I)}else null!=yi[I]&&(null!=yi[I].parentLocale?yi[I]=yi[I].parentLocale:null!=yi[I]&&delete yi[I]);return yi[I]},y.locales=function(){return yt(yi)},y.weekdaysShort=function(I,P,K){return iu(I,P,K,"weekdaysShort")},y.normalizeUnits=ee,y.relativeTimeRounding=function(I){return void 0===I?jo:"function"==typeof I&&(jo=I,!0)},y.relativeTimeThreshold=function(I,P){return void 0!==Go[I]&&(void 0===P?Go[I]:(Go[I]=P,"s"===I&&(Go.ss=P-1),!0))},y.calendarFormat=function(I,P){var K=I.diff(P,"days",!0);return K<-6?"sameElse":K<-1?"lastWeek":K<0?"lastDay":K<1?"sameDay":K<2?"nextDay":K<7?"nextWeek":"sameElse"},y.prototype=Ge,y.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},y}()},6470:s=>{function b(c){if("string"!=typeof c)throw new TypeError("Path must be a string. Received "+JSON.stringify(c))}function i(c,y){for(var v,k="",E=0,F=-1,B=0,L=0;L<=c.length;++L){if(L<c.length)v=c.charCodeAt(L);else{if(47===v)break;v=47}if(47===v){if(F!==L-1&&1!==B)if(F!==L-1&&2===B){if(k.length<2||2!==E||46!==k.charCodeAt(k.length-1)||46!==k.charCodeAt(k.length-2))if(k.length>2){var J=k.lastIndexOf("/");if(J!==k.length-1){-1===J?(k="",E=0):E=(k=k.slice(0,J)).length-1-k.lastIndexOf("/"),F=L,B=0;continue}}else if(2===k.length||1===k.length){k="",E=0,F=L,B=0;continue}y&&(k.length>0?k+="/..":k="..",E=2)}else k.length>0?k+="/"+c.slice(F+1,L):k=c.slice(F+1,L),E=L-F-1;F=L,B=0}else 46===v&&-1!==B?++B:B=-1}return k}var d={resolve:function(){for(var c,y="",v=!1,k=arguments.length-1;k>=-1&&!v;k--){var E;k>=0?E=arguments[k]:(void 0===c&&(c=process.cwd()),E=c),b(E),0!==E.length&&(y=E+"/"+y,v=47===E.charCodeAt(0))}return y=i(y,!v),v?y.length>0?"/"+y:"/":y.length>0?y:"."},normalize:function(c){if(b(c),0===c.length)return".";var y=47===c.charCodeAt(0),v=47===c.charCodeAt(c.length-1);return 0!==(c=i(c,!y)).length||y||(c="."),c.length>0&&v&&(c+="/"),y?"/"+c:c},isAbsolute:function(c){return b(c),c.length>0&&47===c.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var c,y=0;y<arguments.length;++y){var v=arguments[y];b(v),v.length>0&&(void 0===c?c=v:c+="/"+v)}return void 0===c?".":d.normalize(c)},relative:function(c,y){if(b(c),b(y),c===y||(c=d.resolve(c))===(y=d.resolve(y)))return"";for(var v=1;v<c.length&&47===c.charCodeAt(v);++v);for(var k=c.length,E=k-v,F=1;F<y.length&&47===y.charCodeAt(F);++F);for(var B=y.length-F,L=E<B?E:B,J=-1,j=0;j<=L;++j){if(j===L){if(B>L){if(47===y.charCodeAt(F+j))return y.slice(F+j+1);if(0===j)return y.slice(F+j)}else E>L&&(47===c.charCodeAt(v+j)?J=j:0===j&&(J=0));break}var Q=c.charCodeAt(v+j);if(Q!==y.charCodeAt(F+j))break;47===Q&&(J=j)}var W="";for(j=v+J+1;j<=k;++j)j!==k&&47!==c.charCodeAt(j)||(W+=0===W.length?"..":"/..");return W.length>0?W+y.slice(F+J):(47===y.charCodeAt(F+=J)&&++F,y.slice(F))},_makeLong:function(c){return c},dirname:function(c){if(b(c),0===c.length)return".";for(var y=c.charCodeAt(0),v=47===y,k=-1,E=!0,F=c.length-1;F>=1;--F)if(47===(y=c.charCodeAt(F))){if(!E){k=F;break}}else E=!1;return-1===k?v?"/":".":v&&1===k?"//":c.slice(0,k)},basename:function(c,y){if(void 0!==y&&"string"!=typeof y)throw new TypeError('"ext" argument must be a string');b(c);var v,k=0,E=-1,F=!0;if(void 0!==y&&y.length>0&&y.length<=c.length){if(y.length===c.length&&y===c)return"";var B=y.length-1,L=-1;for(v=c.length-1;v>=0;--v){var J=c.charCodeAt(v);if(47===J){if(!F){k=v+1;break}}else-1===L&&(F=!1,L=v+1),B>=0&&(J===y.charCodeAt(B)?-1==--B&&(E=v):(B=-1,E=L))}return k===E?E=L:-1===E&&(E=c.length),c.slice(k,E)}for(v=c.length-1;v>=0;--v)if(47===c.charCodeAt(v)){if(!F){k=v+1;break}}else-1===E&&(F=!1,E=v+1);return-1===E?"":c.slice(k,E)},extname:function(c){b(c);for(var y=-1,v=0,k=-1,E=!0,F=0,B=c.length-1;B>=0;--B){var L=c.charCodeAt(B);if(47!==L)-1===k&&(E=!1,k=B+1),46===L?-1===y?y=B:1!==F&&(F=1):-1!==y&&(F=-1);else if(!E){v=B+1;break}}return-1===y||-1===k||0===F||1===F&&y===k-1&&y===v+1?"":c.slice(y,k)},format:function(c){if(null===c||"object"!=typeof c)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof c);return E=(v=c).base||(v.name||"")+(v.ext||""),(k=v.dir||v.root)?k===v.root?k+E:k+"/"+E:E;var v,k,E},parse:function(c){b(c);var y={root:"",dir:"",base:"",ext:"",name:""};if(0===c.length)return y;var v,k=c.charCodeAt(0),E=47===k;E?(y.root="/",v=1):v=0;for(var F=-1,B=0,L=-1,J=!0,j=c.length-1,Q=0;j>=v;--j)if(47!==(k=c.charCodeAt(j)))-1===L&&(J=!1,L=j+1),46===k?-1===F?F=j:1!==Q&&(Q=1):-1!==F&&(Q=-1);else if(!J){B=j+1;break}
1return-1===F||-1===L||0===Q||1===Q&&F===L-1&&F===B+1?-1!==L&&(y.base=y.name=c.slice(0===B&&E?1:B,L)):(0===B&&E?(y.name=c.slice(1,F),y.base=c.slice(1,L)):(y.name=c.slice(B,F),y.base=c.slice(B,L)),y.ext=c.slice(F,L)),B>0?y.dir=c.slice(0,B-1):E&&(y.dir="/"),y},sep:"/",delimiter:":",win32:null,posix:null};d.posix=d,s.exports=d},8218:()=>{},8009:()=>{},5354:()=>{},6878:()=>{},8183:()=>{},1428:()=>{},4551:()=>{},8800:()=>{},1993:()=>{},3069:()=>{},9143:()=>{}},u={};function jr(s){var b=u[s];if(void 0!==b)return b.exports;var i=u[s]={id:s,loaded:!1,exports:{}};return Nf[s].call(i.exports,i,i.exports,jr),i.loaded=!0,i.exports}jr.c=u,jr.n=s=>{var b=s&&s.__esModule?()=>s.default:()=>s;return jr.d(b,{a:b}),b},jr.d=(s,b)=>{for(var i in b)jr.o(b,i)&&!jr.o(s,i)&&Object.defineProperty(s,i,{enumerable:!0,get:b[i]})},jr.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch{if("object"==typeof window)return window}}(),jr.o=(s,b)=>Object.prototype.hasOwnProperty.call(s,b),jr.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},jr.nmd=s=>(s.paths=[],s.children||(s.children=[]),s);var ba=jr(jr.s=7458).Z,t=Ze(94650),Zo=Ze(11481),Yo=Ze(4859),Lf=Ze(97392);const Eb=["mermaid"],Ib=["safeImage"];let Fb=(()=>{class s{constructor(i,d,c,y,v){this.ngZone=i,this.dialogRef=d,this.dialog=c,this.sanitizer=y,this.data=v,this.orgName="",this.orgDisplayName="",this.categoryName="",this.subCategoryName="",this.goalName="",this.flowchartName="",this.content="",this.orgLogoUrl="",this.config={startOnLoad:!0,flowchart:{useMaxWidth:!0,htmlLabels:!0,curve:"cardinal"},securityLevel:"loose"},this.exampleCallback=function(){alert("A callback was triggered")},this.myCustomFn=()=>{console.log("Hello World"),alert("Hello")},this.flowchartName=v.flowchartName,this.orgName=v.orgName,this.orgDisplayName=v.orgDisplayName,this.categoryName=v.categoryName,this.subCategoryName=v.subCategoryName,this.goalName=v.goalName,this.content=v.content,this.orgLogoUrl=v.orgLogoUrl}ngOnInit(){}ngAfterViewInit(){ba.initialize(this.config);const i=this.mermaid.nativeElement;window.myCustomFn=function(k){alert("Hello World - "+k)},ba.render("theGraph","graph TD\nA[Christmas] --\x3e|Get money| B(Go shopping)\nB --\x3e C(Let me think)\nC --\x3e|One| D[Laptop]\nC --\x3e|Two| E[iPhone]\nC --\x3e|Three| F[fa:fa-car Car]\nA[Christmas] --\x3e|Get money| D[Laptop]\nB --\x3e E \nclick A window.myCustomFn\nclick C window.myCustomFn",function(k,E){i.innerHTML=k,E(i)},i)}print(){let i,d;i=document.getElementById("wfv-container").innerHTML,d=window.open("","_blank","menubar=no,toolbar=no,location=yes,scrollbars=yes"),d.document.write(`\n <html lang="en">\n <head>\n <title>Print Flowchart</title>\n <style>\n //........Customized style.......\n </style>\n </head>\n <body>${i}</body>\n </html>`),d.print()}close(){this.ngZone.run(()=>{this.dialogRef.close()})}}return s.\u0275fac=function(i){return new(i||s)(t.Y36(t.R0b),t.Y36(tr.so),t.Y36(tr.uw),t.Y36(Zo.H7),t.Y36(tr.WI))},s.\u0275cmp=t.Xpm({type:s,selectors:[["ng-component"]],viewQuery:function(i,d){if(1&i&&(t.Gf(Eb,7),t.Gf(Ib,5)),2&i){let c;t.iGM(c=t.CRH())&&(d.mermaid=c.first),t.iGM(c=t.CRH())&&(d.imageRef=c.first)}},decls:10,vars:0,consts:[["id","mermaid-close","mat-button","",1,"close-cross",3,"click"],["id","wfv-container"],["id","wfv-modal",1,"common-modal-wfv"],["mermaid",""],["id","mermaid-print",1,"print-button",3,"click"]],template:function(i,d){1&i&&(t.TgZ(0,"button",0),t.NdJ("click",function(){return d.close()}),t.TgZ(1,"mat-icon"),t._uU(2,"close"),t.qZA()(),t.TgZ(3,"div",1)(4,"div",2),t._UZ(5,"div",null,3),t.qZA()(),t.TgZ(7,"button",4),t.NdJ("click",function(){return d.print()}),t.TgZ(8,"mat-icon"),t._uU(9,"print"),t.qZA()())},dependencies:[Yo.lW,Lf.Hw],styles:["#wfv-container[_ngcontent-%COMP%]{width:100%;height:100%;margin:0;padding:0;box-sizing:border-box}.common-modal-wfv[_ngcontent-%COMP%]{height:calc(100% - 114px)!important;padding:0;box-sizing:border-box}.wfv-breadcrumb[_ngcontent-%COMP%]{height:60px;margin:0;font-size:medium;color:var(--primarytextcolor)}#canvas[_ngcontent-%COMP%]{width:100%;overflow:auto;height:100%;position:relative;padding:0;box-sizing:border-box;background-color:#fff}.dz-powered[_ngcontent-%COMP%]{font-size:small;font-weight:700}
1.breadcrumb-seperator[_ngcontent-%COMP%]{color:#696969;font-weight:bolder}.wfv-logo[_ngcontent-%COMP%]{position:relative}#wfv-logo-id[_ngcontent-%COMP%]{background-image:url(DZ-LOGO.82bd84428efa3610.svg);background-repeat:no-repeat;background-size:contain;position:relative;height:50px;width:100px}.print-button[_ngcontent-%COMP%]{top:20px;right:150px;position:absolute}.wfv-legend[_ngcontent-%COMP%]{height:400px;display:block;margin-top:30px}"]}),s})();var lp=Ze(93531);let Mb=(()=>{class s{constructor(i,d,c,y){this.ngZone=i,this._utilService=d,this.dialogRef=c,this.data=y,this.flowchartVersionName="",this.flowchartVersionName=y.flowchartVersionName,this.masterStatus=y.masterStatus,this.publishStatus=y.publishStatus}close(){this.ngZone.run(()=>{this.dialogRef.close(!1)})}}return s.\u0275fac=function(i){return new(i||s)(t.Y36(t.R0b),t.Y36(lp.f),t.Y36(tr.so),t.Y36(tr.WI))},s.\u0275cmp=t.Xpm({type:s,selectors:[["ng-component"]],decls:18,vars:3,consts:[["mat-dialog-content",""],["mat-dialog-actions","",1,"common-modal-buttons"],["type","button","mat-button","",3,"click"]],template:function(i,d){1&i&&(t.TgZ(0,"h3"),t._uU(1,"Flowchart Details"),t.qZA(),t.TgZ(2,"div",0)(3,"div"),t._uU(4,"Flowchart Version: "),t.TgZ(5,"strong"),t._uU(6),t.qZA()(),t.TgZ(7,"div"),t._uU(8,"Has Master Version?: "),t.TgZ(9,"strong"),t._uU(10),t.qZA()(),t.TgZ(11,"div"),t._uU(12,"Is it Published?: "),t.TgZ(13,"strong"),t._uU(14),t.qZA()()(),t.TgZ(15,"div",1)(16,"button",2),t.NdJ("click",function(){return d.close()}),t._uU(17,"Close"),t.qZA()()),2&i&&(t.xp6(6),t.Oqu(d.flowchartVersionName),t.xp6(4),t.Oqu(d.masterStatus),t.xp6(4),t.Oqu(d.publishStatus?"Y":"N"))},dependencies:[Yo.lW,tr.xY,tr.H8],encapsulation:2}),s})();var _o=Ze(22858),wn=Ze(62403),wo=Ze(17489),Nb=Ze(77109),Lb=Ze.n(Nb),up=Ze(48242),tl=Ze(52931),Uf=Ze(19132),wa=Ze(56871),Om=Ze(75570),po=Ze(38058),Bm=Ze(41591),hp=Ze(64838),Pm=Ze(6855),Ub=Ze(1201),Rm=Ze(65244),Jm=Ze(64918),Zb=Ze(82345),Hm=Ze(21952),Ob=Ze(4152),Bb=Ze(47143),Pb=Ze(8677),Rb=Ze(58704),Jb=Ze(35101),Hb=Ze(74502),Yb=Ze(20097),qb=Ze(57497),Vb=Ze(17009),dp=Ze(36895),Qb=Ze(55829),bc=Ze(24006),fp=Ze(59549),$b=Ze(284),jb=Ze(3238),Ym=Ze(90811),_p=Ze(28255),Zf=Ze(51572),Gb=Ze(84385),zb=Ze(90455),Kb=Ze(10266),Of=Ze(70319),pp=Ze(6799);const Wb=["fileInput"];function Xb(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",5),t._uU(1),t.TgZ(2,"div")(3,"button",6),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.navigateToMyHome())}),t._uU(4," Go To My Home "),t.qZA()()()}if(2&s){const i=t.oxw();t.xp6(1),t.hij(" ",i.genericErrMsg," ")}}function tw(s,b){1&s&&(t.TgZ(0,"div",5)(1,"h1"),t._uU(2,"Resource Not Available"),t.qZA(),t.TgZ(3,"p"),t._uU(4," The flowchart you are trying to access is not available at this time. Please try again later or ask the owner of this flowchart to share it again. "),t.qZA()())}function ew(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.restartEmbedUrl())}),t._uU(1," Restart this flowchart "),t.TgZ(2,"mat-icon"),t._uU(3,"refresh"),t.qZA()()}}function nw(s,b){if(1&s&&(t.TgZ(0,"div",5),t._UZ(1,"br"),t.TgZ(2,"p"),t._uU(3),t.qZA(),t._UZ(4,"br"),t.YNc(5,ew,4,0,"button",7),t._UZ(6,"br"),t.qZA()),2&s){const i=t.oxw();t.xp6(3),t.hij(" Awesome! You have reached the end of the flowchart '",i.flowchartDetails.flowchartName,"'. "),t.xp6(2),t.Q6J("ngIf",i.allowEmbedFcRestart)}}function iw(s,b){if(1&s&&(t.TgZ(0,"span",31),t._uU(1),t.TgZ(2,"span",15),t._uU(3," > "),t.qZA()()),2&s){const i=t.oxw(2);t.Q2q("aria-label","Org Name: ",i.flowchartDetails.orgDisplayName?i.flowchartDetails.orgDisplayName:i.flowchartDetails.orgName,""),t.xp6(1),t.hij(" ",i.flowchartDetails.orgDisplayName?i.flowchartDetails.orgDisplayName:i.flowchartDetails.orgName," ")}}function rw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",32),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.openCategoryListByOrgName(c.flowchartDetails.orgId,c.flowchartDetails.orgName))}),t.TgZ(1,"span",33),t._uU(2),t.qZA(),t.TgZ(3,"span",15),t._uU(4," > "),t.qZA()()}if(2&s){const i=t.oxw(2);t.Q2q("aria-label","Org Name: ",i.flowchartDetails.orgDisplayName?i.flowchartDetails.orgDisplayName:i.flowchartDetails.orgName,""),t.xp6(2),t.Oqu(i.flowchartDetails.orgDisplayName?i.flowchartDetails.orgDisplayName:i.flowchartDetails.orgName)}}function ow(s,b){if(1&s&&(t.TgZ(0,"span",31),t._uU(1),t.TgZ(2,"span",15),t._uU(3," > "),t.qZA()()),2&s){const i=t.oxw(2);t.Q2q("aria-label","Category Name: ",i.flowchartDetails.categoryName,""),t.xp6(1),t.hij("",i.flowchartDetails.categoryName," ")}}function aw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",32),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.openSubcategoryListByCategory(c.flowchartDetails.orgName,c.flowchartDetails.categoryId,c.flowchartDetails.categoryName))}),t.TgZ(1,"span",34),t._uU(2),t.qZA(),t.TgZ(3,"span",15),t._uU(4," > "),t.qZA()()}if(2&s){const i=t.oxw(2);t.Q2q("aria-label","Category Name: ",i.flowchartDetails.categoryName,""),t.xp6(2),t.Oqu(i.flowchartDetails.categoryName)}}function sw(s,b){if(1&s&&(t.TgZ(0,"span",31),t._uU(1),t.TgZ(2,"span",15),t._uU(3," > "),t.qZA()()),2&s){const i=t.oxw(2);t.Q2q("aria-label","Sub-Category Name: ",i.flowchartDetails.subCategoryName,""),t.xp6(1),t.hij("",i.flowchartDetails.subCategoryName," ")}}function cw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",32),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.openGoalListBySubcategory(c.flowchartDetails.orgName,c.flowchartDetails.categoryId,c.flowchartDetails.subCategoryId,c.flowchartDetails.subCategoryName))}),t.TgZ(1,"span",35),t._uU(2),t.qZA(),t.TgZ(3,"span",15),t._uU(4," > "),t.qZA()()}if(2&s){const i=t.oxw(2);t.Q2q("aria-label","Sub-Category Name: ",i.flowchartDetails.subCategoryName,""),t.xp6(2),t.Oqu(i.flowchartDetails.subCategoryName)}}function lw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",32),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.openFlowchartListByGoal(c.flowchartDetails.orgName,c.flowchartDetails.goalName,c.flowchartDetails.goalId,c.flowchartDetails.goalUrl,c.flowchartDetails.subCategoryId,c.flowchartDetails.categoryId))}),t.TgZ(1,"span",36),t._uU(2),t.qZA()()}if(2&s){const i=t.oxw(2);t.Q2q("aria-label","Goal Name: ",i.flowchartDetails.goalName,""),t.xp6(1),t.Q6J("title","Goal"),t.xp6(1),t.Oqu(i.flowchartDetails.goalName)}}function uw(s,b){if(1&s&&(t.TgZ(0,"span",31),t._uU(1),t.qZA()),2&s){const i=t.oxw(2);t.Q2q("aria-label","Goal Name: ",i.flowchartDetails.goalName,""),t.xp6(1),t.hij(" ",i.flowchartDetails.goalName,"")}}function hw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"span",37),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(!c.disableWFVButton&&c.openFcVersionDetailDialog())}),t._uU(1),t.qZA()}if(2&s){const i=t.oxw(2);t.Q2q("aria-label","Flowchart Name: ",i.flowchartDetails.flowchartName,""),t.Q6J("title","Flowchart Name"),t.xp6(1),t.Oqu(i.flowchartDetails.flowchartName)}}function dw(s,b){if(1&s&&(t.TgZ(0,"span",38),t._uU(1),t.qZA()),2&s){const i=t.oxw(2);t.Q2q("aria-label","Flowchart Name: ",i.flowchartDetails.flowchartName,""),t.xp6(1),t.Oqu(i.flowchartDetails.flowchartName)}}function fw(s,b){1&s&&(t.TgZ(0,"span",39)(1,"mat-icon",40),t._uU(2,"public"),t.qZA(),t.TgZ(3,"span",41),t._uU(4,"This Flowchart is currently Published."),t.qZA()()),2&s&&(t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300))}function _w(s,b){1&s&&(t.TgZ(0,"span",39)(1,"mat-icon",42),t._uU(2,"lock_open"),t.qZA(),t.TgZ(3,"span",41),t._uU(4,"This Flowchart status is Public and is accessible in the Public Category Tree."),t.qZA()()),2&s&&(t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300))}function pw(s,b){1&s&&(t.TgZ(0,"span",39)(1,"mat-icon",43),t._uU(2,"lock"),t.qZA(),t.TgZ(3,"span",41),t._uU(4,"This Flowchart status is Private and is Not accessible in the Public Category Tree."),t.qZA()()),2&s&&(t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300))}function gw(s,b){1&s&&(t.TgZ(0,"mat-icon"),t._uU(1,"favorite_border"),t.qZA())}function mw(s,b){1&s&&(t.TgZ(0,"mat-icon"),t._uU(1,"favorite"),t.qZA())}function vw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",44),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.toggleUserFavoriteForFlowchart(c.flowchartDetails.flowchartId,!c.isFavorite))}),t.YNc(1,gw,2,0,"mat-icon",45),t.YNc(2,mw,2,0,"mat-icon",45),t.qZA()}if(2&s){const i=t.oxw(2);t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("title","Favorite Toggle"),t.uIk("aria-pressed",i.isFavorite),t.xp6(1),t.Q6J("ngIf",!1===i.isFavorite),t.xp6(1),t.Q6J("ngIf",i.isFavorite)}}function yw(s,b){if(1&s&&(t.TgZ(0,"button",46)(1,"mat-icon"),t._uU(2,"apps"),t.qZA()()),2&s){t.oxw();const i=t.MAs(23);t.Q6J("matMenuTriggerFor",i)}}function xw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",47),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.openWholeFlowchartViewModal())}),t.TgZ(1,"mat-icon"),t._uU(2,"schema"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Whole Flowchart View"),t.qZA()()}if(2&s){const i=t.oxw(2);t.Q6J("disabled",i.disableWFVButton)("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function bw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",48),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.backToKnowledgebasePage())}),t.TgZ(1,"mat-icon"),t._uU(2,"local_library"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Knowl. Base"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function ww(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",49),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.backToOrgHomePage())}),t.TgZ(1,"mat-icon"),t._uU(2,"business_center"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Org-Home"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Tw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-slide-toggle",50),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(2);return t.KtG(y.edit=c)})("keydown.enter",function(c){t.CHM(i);const y=t.oxw(2);return t.KtG(y.onEditModeChange(c))})("change",function(c){t.CHM(i);const y=t.oxw(2);return t.KtG(y.onEditModeChange(c))}),t._uU(1," Edit "),t.qZA()}if(2&s){const i=t.oxw(2);t.Q6J("disabled",i.clickedEditToggle)("ngModel",i.edit)("color",i.color)("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Cw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",9)(1,"nav",10)(2,"div",11),t.YNc(3,iw,4,2,"span",12),t.YNc(4,rw,5,2,"a",13),t.YNc(5,ow,4,2,"span",12),t.YNc(6,aw,5,2,"a",13),t.YNc(7,sw,4,2,"span",12),t.YNc(8,cw,5,2,"a",13),t.qZA(),t.TgZ(9,"h1",14),t.YNc(10,lw,3,3,"a",13),t.YNc(11,uw,2,2,"span",12),t.TgZ(12,"span",15),t._uU(13," > "),t.qZA(),t.YNc(14,hw,2,3,"span",16),t.YNc(15,dw,2,2,"span",17),t.qZA()(),t.TgZ(16,"div",18),t.YNc(17,fw,5,2,"span",19),t.YNc(18,_w,5,2,"span",19),t.YNc(19,pw,5,2,"span",19),t.YNc(20,vw,3,6,"button",20),t.YNc(21,yw,3,1,"button",21),t.TgZ(22,"mat-menu",null,22),t.YNc(24,xw,5,3,"button",23),t.TgZ(25,"button",24),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.openFlowchartNotes())}),t.TgZ(26,"mat-icon"),t._uU(27,"question_answer"),t.qZA(),t.TgZ(28,"span"),t._uU(29,"Flowchart Notes"),t.qZA()(),t.TgZ(30,"button",25),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.openTransactionNotes())}),t.TgZ(31,"mat-icon"),t._uU(32,"history_edu"),t.qZA(),t.TgZ(33,"span"),t._uU(34,"Transaction Internal Notes"),t.qZA()(),t.TgZ(35,"button",26),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.restartFlowchart())}),t.TgZ(36,"mat-icon"),t._uU(37,"settings_backup_restore"),t.qZA(),t.TgZ(38,"span"),t._uU(39,"Restart Flowchart"),t.qZA()(),t.TgZ(40,"button",27),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.openMyStepsDialog())}),t.TgZ(41,"mat-icon"),t._uU(42,"directions_walk"),t.qZA(),t.TgZ(43,"span"),t._uU(44,"My Steps"),t.qZA()(),t.YNc(45,bw,5,2,"button",28),t.YNc(46,ww,5,2,"button",29),t.qZA(),t.YNc(47,Tw,2,5,"mat-slide-toggle",30),t.qZA()()}if(2&s){const i=t.oxw();
1t.xp6(1),t.Q6J("title","Flowchart Location")("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(2),t.Q6J("ngIf",i.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf",!i.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf",i.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf",!i.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf",i.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf",!i.flowchartDetails.publishedCode),t.xp6(2),t.Q6J("ngIf",!i.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf",i.flowchartDetails.publishedCode),t.xp6(3),t.Q6J("ngIf",!i.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf",i.flowchartDetails.publishedCode),t.xp6(2),t.Q6J("ngIf",i.flowchartDetails.isPublished&&i.canSeeWholeFcPublishEditIcon),t.xp6(1),t.Q6J("ngIf",i.canSeePublicIcon&&i.flowchartDetails.isPublic),t.xp6(1),t.Q6J("ngIf",i.canSeePublicIcon&&!i.flowchartDetails.isPublic),t.xp6(1),t.Q6J("ngIf",!i.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf",i.canSeeWholeFcPublishEditIcon),t.xp6(3),t.Q6J("ngIf",i.canSeeWholeFcPublishEditIcon),t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(5),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(5),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(5),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(5),t.Q6J("ngIf",i.isFCFromKB&&"true"===i.isFCFromKB),t.xp6(1),t.Q6J("ngIf",i.isFCFromOrgHome&&"true"===i.isFCFromOrgHome),t.xp6(1),t.Q6J("ngIf",i.canSeeWholeFcPublishEditIcon&&!i.flowchartDetails.isFeatured)}}function kw(s,b){1&s&&t._UZ(0,"mat-spinner",76)}function Dw(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.boxCaption," ")}}function Sw(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.mcbBoxCaption," ")}}function Aw(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.userInputData," ")}}function Ew(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice : ",i.box.selectedChoiceBox.boxCaption," ")}}function Iw(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice: ",i.box.boxCaption," ")}}function Fw(s,b){1&s&&(t.TgZ(0,"mat-error"),t._uU(1," Please enter a valid email address "),t.qZA())}function Mw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",109,110),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA(),t.YNc(3,Fw,2,0,"mat-error",45),t.qZA()}if(2&s){const i=t.MAs(2),d=t.oxw(4).$implicit,c=t.oxw(2);t.xp6(1),t.Q6J("ngModel",c.userInputText[d.box.boxId]),t.xp6(2),t.Q6J("ngIf",!i.pristine&&(null==i.errors?null:i.errors.email))}}function Nw(s,b){if(1&s&&(t.TgZ(0,"mat-hint",113),t._uU(1),t.qZA()),2&s){const i=t.oxw(5).$implicit,d=t.oxw(2);t.xp6(1),t.hij("",null==d.userInputText[i.box.boxId]?null:d.userInputText[i.box.boxId].length,"/200")}}function Lw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"textarea",111),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t._uU(2," "),t.qZA(),t.YNc(3,Nw,2,1,"mat-hint",112),t.qZA()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId]),t.xp6(2),t.Q6J("ngIf","TEXT"===i.box.userInputDataType)}}function Uw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",114),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId])}}function Zw(s,b){if(1&s&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&s){const i=t.oxw(7);t.xp6(1),t.Oqu(i.uploadErrMsg)}}function Ow(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",115)(1,"label",116),t._uU(2),t.qZA(),t._UZ(3,"br"),t._uU(4," \xa0 \xa0 "),t.YNc(5,Zw,2,1,"mat-error",45),t.TgZ(6,"input",117,118),t.NdJ("change",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.validateSelectedFile(c))}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(2),t.hij("Upload your file (Max ",d.flowchartOrg.userInputUploadSize,"KB)"),t.xp6(3),t.Q6J("ngIf",d.uploadErr),t.xp6(1),t.MGl("id","file-upload-",i.box.boxId,"")}}function Bw(s,b){if(1&s&&(t.TgZ(0,"mat-option",121),t._uU(1),t.qZA()),2&s){const i=b.$implicit;t.Q6J("value",i.optionCaption),t.xp6(1),t.hij(" ",i.optionCaption," ")}}const ys=function(){return{standalone:!0}};function Pw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"mat-select",119),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.selectedChecklistOptions=c)}),t.YNc(2,Bw,2,2,"mat-option",120),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.selectedChecklistOptions)("ngModelOptions",t.DdM(3,ys)),t.xp6(1),t.Q6J("ngForOf",i.box.boxUserInputCustomOptionList)}}function Rw(s,b){if(1&s&&(t.TgZ(0,"form",104,105),t.YNc(2,Mw,4,2,"mat-form-field",106),t.YNc(3,Lw,4,2,"mat-form-field",106),t.YNc(4,Uw,2,1,"mat-form-field",106),t.YNc(5,Ow,8,3,"div",107),t.YNc(6,Pw,3,4,"mat-form-field",106),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(2),t.Q6J("ngIf","EMAIL"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","TEXT"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","PHONE"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","UPLOAD"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","CHECKLIST"===i.box.userInputDataType)}}function Jw(s,b){if(1&s&&t._UZ(0,"img",129),2&s){const i=t.oxw().$implicit;t.s9C("src",i.choiceBox.imageUrl,t.LSH),t.s9C("alt",i.choiceBox.boxCaption)}}function Hw(s,b){if(1&s&&(t.TgZ(0,"mat-option",125)(1,"div",126),t.YNc(2,Jw,1,2,"img",127),t.qZA(),t.TgZ(3,"p",128),t._uU(4),t.qZA()()),2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function Yw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",122)(1,"mat-select",123),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);
1return t.KtG(y.selectedChoiceBox=c)})("selectionChange",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.updateChoiceToBoxLayer(c.selectedChoiceBox))}),t.YNc(2,Hw,5,3,"mat-option",124),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function qw(s,b){if(1&s&&(t.TgZ(0,"div",138),t._UZ(1,"img",139),t.qZA()),2&s){const i=t.oxw().$implicit;t.xp6(1),t.s9C("alt",i.choiceBox.boxCaption),t.s9C("src",i.choiceBox.imageUrl,t.LSH)}}function wc(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-button-toggle",134),t.NdJ("change",function(){const y=t.CHM(i).$implicit,v=t.oxw(6);return t.KtG(v.updateChoiceToBoxLayer(y.choiceBox.boxCaption))}),t.TgZ(1,"div",135),t.YNc(2,qw,2,2,"div",136),t.TgZ(3,"div",137),t._uU(4),t.qZA()()()}if(2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function Vw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",130)(1,"div",131)(2,"mat-button-toggle-group",132),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);return t.KtG(y.selectedChoiceBox=c)}),t.YNc(3,wc,5,3,"mat-button-toggle",133),t.qZA()()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(2),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function Qw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",96),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw(2).$implicit,v=t.oxw(2);return t.KtG(v.loadNextLayer(c,y.boxId,y.fromBoxCorner,y.box,v.flowchartDetails.currentBox,!1,!1))}),t.YNc(1,Dw,2,1,"p",97),t.YNc(2,Sw,2,1,"p",97),t.YNc(3,Aw,2,1,"p",98),t.YNc(4,Ew,2,1,"p",98),t.YNc(5,Iw,2,1,"p",98),t.YNc(6,Rw,7,5,"form",99),t.YNc(7,Yw,3,2,"div",100),t.YNc(8,Vw,4,2,"div",101),t.qZA()}if(2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("ngClass",d.getAnimatedVersionBoxClass(d.disableClick,i,"layer0")),t.xp6(1),t.Q6J("ngIf","C"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"!==i.box.mcbChoiceDisplayMode),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"===i.box.mcbChoiceDisplayMode)}}function $w(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.boxCaption," ")}}function jw(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.mcbBoxCaption," ")}}function Gw(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.userInputData," ")}}function zw(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice : ",i.box.selectedChoiceBox.boxCaption," ")}}function Kw(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice: ",i.box.boxCaption," ")}}function Ww(s,b){1&s&&(t.TgZ(0,"mat-error"),t._uU(1," Please enter a valid email address "),t.qZA())}function Xw(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",109,110),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA(),t.YNc(3,Ww,2,0,"mat-error",45),t.qZA()}if(2&s){const i=t.MAs(2),d=t.oxw(4).$implicit,c=t.oxw(2);t.xp6(1),t.Q6J("ngModel",c.userInputText[d.box.boxId]),t.xp6(2),t.Q6J("ngIf",!i.pristine&&(null==i.errors?null:i.errors.email))}}function t3(s,b){if(1&s&&(t.TgZ(0,"mat-hint",113),t._uU(1),t.qZA()),2&s){const i=t.oxw(5).$implicit,d=t.oxw(2);t.xp6(1),t.hij("",null==d.userInputText[i.box.boxId]?null:d.userInputText[i.box.boxId].length,"/200")}}function e3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"textarea",111),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t._uU(2," "),t.qZA(),t.YNc(3,t3,2,1,"mat-hint",112),t.qZA()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId]),t.xp6(2),t.Q6J("ngIf","TEXT"===i.box.userInputDataType)}}function n3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",114),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId])}}function i3(s,b){if(1&s&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&s){const i=t.oxw(7);t.xp6(1),t.Oqu(i.uploadErrMsg)}}function r3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",115)(1,"label",116),t._uU(2),t.qZA(),t._UZ(3,"br"),t._uU(4," \xa0 \xa0 "),t.YNc(5,i3,2,1,"mat-error",45),t.TgZ(6,"input",117,118),t.NdJ("change",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.validateSelectedFile(c))}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(2),t.hij("Upload your file (Max ",d.flowchartOrg.userInputUploadSize,"KB)"),t.xp6(3),t.Q6J("ngIf",d.uploadErr),t.xp6(1),t.MGl("id","file-upload-",i.box.boxId,"")}}function o3(s,b){if(1&s&&(t.TgZ(0,"mat-option",121),t._uU(1),t.qZA()),2&s){const i=b.$implicit;t.Q6J("value",i.optionCaption),t.xp6(1),t.hij(" ",i.optionCaption," ")}}function a3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"mat-select",119),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.selectedChecklistOptions=c)}),t.YNc(2,o3,2,2,"mat-option",120),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.selectedChecklistOptions)("ngModelOptions",t.DdM(3,ys)),t.xp6(1),t.Q6J("ngForOf",i.box.boxUserInputCustomOptionList)}}function s3(s,b){if(1&s&&(t.TgZ(0,"form",104,105),t.YNc(2,Xw,4,2,"mat-form-field",106),t.YNc(3,e3,4,2,"mat-form-field",106),t.YNc(4,n3,2,1,"mat-form-field",106),t.YNc(5,r3,8,3,"div",107),t.YNc(6,a3,3,4,"mat-form-field",106),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(2),t.Q6J("ngIf","EMAIL"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","TEXT"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","PHONE"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","UPLOAD"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","CHECKLIST"===i.box.userInputDataType)}}function c3(s,b){if(1&s&&t._UZ(0,"img",129),2&s){const i=t.oxw().$implicit;t.s9C("src",i.choiceBox.imageUrl,t.LSH),t.s9C("alt",i.choiceBox.boxCaption)}}function l3(s,b){if(1&s&&(t.TgZ(0,"mat-option",125)(1,"div",126),t.YNc(2,c3,1,2,"img",127),t.qZA(),t.TgZ(3,"p",128),t._uU(4),t.qZA()()),2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function u3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",122)(1,"mat-select",123),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);
1return t.KtG(y.selectedChoiceBox=c)})("selectionChange",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.updateChoiceToBoxLayer(c.selectedChoiceBox))}),t.YNc(2,l3,5,3,"mat-option",124),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function h3(s,b){if(1&s&&(t.TgZ(0,"div",138),t._UZ(1,"img",139),t.qZA()),2&s){const i=t.oxw().$implicit;t.xp6(1),t.s9C("alt",i.choiceBox.boxCaption),t.s9C("src",i.choiceBox.imageUrl,t.LSH)}}function d3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-button-toggle",134),t.NdJ("change",function(){const y=t.CHM(i).$implicit,v=t.oxw(6);return t.KtG(v.updateChoiceToBoxLayer(y.choiceBox.boxCaption))}),t.TgZ(1,"div",135),t.YNc(2,h3,2,2,"div",136),t.TgZ(3,"div",137),t._uU(4),t.qZA()()()}if(2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function f3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",130)(1,"div",131)(2,"mat-button-toggle-group",132),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);return t.KtG(y.selectedChoiceBox=c)}),t.YNc(3,d3,5,3,"mat-button-toggle",133),t.qZA()()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(2),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function _3(s,b){if(1&s&&(t.TgZ(0,"div",140),t.YNc(1,$w,2,1,"p",97),t.YNc(2,jw,2,1,"p",97),t.YNc(3,Gw,2,1,"p",98),t.YNc(4,zw,2,1,"p",98),t.YNc(5,Kw,2,1,"p",98),t.YNc(6,s3,7,5,"form",99),t.YNc(7,u3,3,2,"div",100),t.YNc(8,f3,4,2,"div",101),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("ngClass",d.getAnimatedVersionBoxClass(d.disableClick,i,"layer0")),t.xp6(1),t.Q6J("ngIf","C"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"!==i.box.mcbChoiceDisplayMode),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"===i.box.mcbChoiceDisplayMode)}}function p3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function g3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function m3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function v3(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function y3(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function x3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function b3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function w3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function T3(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function C3(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function k3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function D3(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,p3,3,2,"button",142),t.YNc(2,g3,1,4,"button",143),t.YNc(3,m3,1,4,"button",144),t.YNc(4,v3,3,3,"a",145),t.YNc(5,y3,1,5,"a",146),t.YNc(6,x3,3,3,"a",147),t.YNc(7,b3,1,5,"a",148),t.YNc(8,w3,5,3,"a",149),t.YNc(9,T3,5,3,"a",92),t.YNc(10,C3,1,5,"a",93),t.YNc(11,k3,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode&&i.box.inArrowCount>0&&"E"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function S3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function A3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function E3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function I3(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function F3(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function M3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function N3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function L3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function U3(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Z3(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function O3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function B3(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,S3,3,2,"button",142),t.YNc(2,A3,1,4,"button",143),t.YNc(3,E3,1,4,"button",144),t.YNc(4,I3,3,3,"a",145),t.YNc(5,F3,1,5,"a",146),t.YNc(6,M3,3,3,"a",147),t.YNc(7,N3,1,5,"a",148),t.YNc(8,L3,5,3,"a",149),t.YNc(9,U3,5,3,"a",92),t.YNc(10,Z3,1,5,"a",93),t.YNc(11,O3,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function P3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function R3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function J3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function H3(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Y3(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function q3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function V3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Q3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function $3(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function j3(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function G3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function z3(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,P3,3,2,"button",142),t.YNc(2,R3,1,4,"button",143),t.YNc(3,J3,1,4,"button",144),t.YNc(4,H3,3,3,"a",145),t.YNc(5,Y3,1,5,"a",146),t.YNc(6,q3,3,3,"a",147),t.YNc(7,V3,1,5,"a",148),t.YNc(8,Q3,5,3,"a",149),t.YNc(9,$3,5,3,"a",92),t.YNc(10,j3,1,5,"a",93),t.YNc(11,G3,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function K3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function W3(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function X3(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function t6(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function e6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function n6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function i6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function r6(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function o6(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function a6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function s6(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,K3,1,4,"button",143),t.YNc(2,W3,1,4,"button",144),t.YNc(3,X3,3,3,"a",145),t.YNc(4,t6,1,5,"a",146),t.YNc(5,e6,3,3,"a",147),t.YNc(6,n6,1,5,"a",148),t.YNc(7,i6,5,3,"a",149),t.YNc(8,r6,5,3,"a",92),t.YNc(9,o6,1,5,"a",93),t.YNc(10,a6,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function c6(s,b){if(1&s&&(t.TgZ(0,"div",164)(1,"a",165)(2,"mat-icon"),t._uU(3,"open_in_new"),t.qZA()()()),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.xp6(1),t.s9C("href",i.box.imageUrl,t.LSH)}}function l6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",164)(1,"div",166)(2,"div",167)(3,"div",168),t._UZ(4,"iframe",169),t.ALo(5,"safe"),t.TgZ(6,"button",170),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.stopVideo())}),t.TgZ(7,"mat-icon"),t._uU(8,"close"),t.qZA()()()()(),t.TgZ(9,"div",171),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.playVideo())}),t.TgZ(10,"button",172)(11,"mat-icon"),t._uU(12,"play_circle_filled"),t.qZA()(),t.TgZ(13,"a",173)(14,"mat-icon"),t._uU(15,"open_in_new"),t.qZA()()()()}if(2&s){const i=t.oxw(4);t.xp6(4),t.Q6J("src",t.xi3(5,4,i.videoEmbedUrl,"resourceUrl"),t.uOi),t.xp6(5),t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.xp6(4),t.s9C("href",i.videoEmbedUrl,t.LSH)}}function u6(s,b){if(1&s&&(t.TgZ(0,"a",176)(1,"mat-icon",177),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}
1function h6(s,b){if(1&s&&(t.TgZ(0,"a",178),t.ALo(1,"safe"),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image",t.xi3(1,5,"url("+i.box.imageVideoThumbnailUrl+")","style")),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function d6(s,b){if(1&s&&(t.TgZ(0,"div",87),t.YNc(1,u6,3,3,"a",174),t.YNc(2,h6,2,8,"a",175),t.qZA()),2&s){const i=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngIf",i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl)}}function f6(s,b){if(1&s&&(t.TgZ(0,"a",179)(1,"mat-icon",177),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function _6(s,b){if(1&s&&(t.TgZ(0,"a",180),t.ALo(1,"safe"),t.qZA()),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image",t.xi3(1,5,"url("+i.box.refLinkIconUrl+")","style")),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function p6(s,b){if(1&s&&(t.TgZ(0,"a",181)(1,"span",182)(2,"mat-icon",159),t._uU(3,"description"),t.qZA(),t.TgZ(4,"mat-icon",160),t._uU(5,"attachment"),t.qZA()(),t.TgZ(6,"span",183),t._uU(7),t.qZA()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(7),t.Oqu(i.box.fileAttachmentName)}}function g6(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"span",182)(2,"mat-icon",159),t._uU(3,"description"),t.qZA(),t.TgZ(4,"mat-icon",160),t._uU(5,"attachment"),t.qZA()()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function m6(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function v6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",184),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function y6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",185),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function x6(s,b){if(1&s&&(t.TgZ(0,"div",78),t._UZ(1,"span",79),t.YNc(2,Qw,9,9,"div",80),t.YNc(3,_3,9,9,"div",81),t.YNc(4,D3,12,11,"div",82),t.YNc(5,B3,12,11,"div",82),t.YNc(6,z3,12,11,"div",82),t.YNc(7,s6,11,10,"div",82),t.TgZ(8,"div",83),t.YNc(9,c6,4,3,"div",84),t.YNc(10,l6,16,7,"div",85),t.YNc(11,d6,3,2,"div",86),t.TgZ(12,"p",87),t.YNc(13,f6,3,3,"a",88),t.YNc(14,_6,2,8,"a",89),t.qZA(),t.TgZ(15,"p",90),t.YNc(16,p6,8,4,"a",91),t.YNc(17,g6,6,3,"a",92),t.YNc(18,m6,1,5,"a",93),t.qZA(),t.YNc(19,v6,3,2,"button",94),t.YNc(20,y6,3,2,"button",95),t.qZA(),t._UZ(21,"span",79),t.qZA()),2&s){const i=t.oxw(),d=i.index,c=i.$implicit,y=t.oxw(2);t.MGl("id","layer0-",d,""),t.Q6J("ngClass",y.getAnimatedVersionBoxContainerClass(c,"layer0")),t.xp6(2),t.Q6J("ngIf",y.enableLayerClickEvent("layer0")),t.xp6(1),t.Q6J("ngIf",!y.enableLayerClickEvent("layer0")),t.xp6(1),t.Q6J("ngIf","S"===c.box.boxShapeType||"E"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","D"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===c.box.boxShapeType),t.xp6(2),t.Q6J("ngIf","I"===c.box.imageVideoOption&&c.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===c.box.imageVideoOption&&c.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===c.box.imageVideoOption&&c.box.imageVideoLink),t.xp6(2),t.Q6J("ngIf",c.box.refLink&&!c.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",c.box.refLink&&c.box.refLinkIconUrl),t.xp6(2),t.Q6J("ngIf",c.box.fileUrl),t.xp6(1),t.Q6J("ngIf",c.box.fileAttachmentLink&&!c.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",c.box.fileAttachmentLink&&c.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!y.flowchartDetails.publishedCode&&c.box.inArrowCount>
10&&"M"!==c.box.boxShapeType&&"E"!==c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf",!y.flowchartDetails.publishedCode)}}function b6(s,b){if(1&s&&(t.ynx(0),t.YNc(1,x6,22,18,"div",77),t.BQk()),2&s){const i=b.$implicit;t.xp6(1),t.Q6J("ngIf","E"!==i.box.boxShapeType)}}function w6(s,b){if(1&s&&(t.TgZ(0,"div",186)(1,"div",187)(2,"a",188)(3,"mat-icon"),t._uU(4,"zoom_in"),t.qZA()()()()),2&s){const i=t.oxw(2);t.xp6(1),t.Udp("background-image","url("+i.flowchartDetails.currentBox.imageUrl+")"),t.xp6(1),t.s9C("href",i.flowchartDetails.currentBox.imageUrl,t.LSH)}}function T6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",189)(1,"div",166)(2,"div",167)(3,"div",168),t._UZ(4,"iframe",169),t.ALo(5,"safe"),t.TgZ(6,"button",170),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.stopVideo())}),t.TgZ(7,"mat-icon"),t._uU(8,"close"),t.qZA()()()()(),t.TgZ(9,"div",171),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.playVideo())}),t.TgZ(10,"button",172)(11,"mat-icon"),t._uU(12,"play_circle_filled"),t.qZA()(),t.TgZ(13,"a",173)(14,"mat-icon"),t._uU(15,"open_in_new"),t.qZA()()()()}if(2&s){const i=t.oxw(2);t.xp6(4),t.Q6J("src",t.xi3(5,4,i.videoEmbedUrl,"resourceUrl"),t.uOi),t.xp6(5),t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.xp6(4),t.s9C("href",i.videoEmbedUrl,t.LSH)}}function C6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",190),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.backToKnowledgebasePage())}),t.TgZ(1,"mat-icon"),t._uU(2,"local_library"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Knowl. Base"),t.qZA()()}}function k6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",191),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.backToOrgHomePage())}),t.TgZ(1,"mat-icon"),t._uU(2,"business_center"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Org-Home"),t.qZA()()}}function D6(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.boxCaption," ")}}function S6(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.mcbBoxCaption," ")}}function A6(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.userInputData," ")}}function E6(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice : ",i.box.selectedChoiceBox.boxCaption," ")}}function I6(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice: ",i.box.boxCaption," ")}}function F6(s,b){1&s&&(t.TgZ(0,"mat-error"),t._uU(1," Please enter a valid email address "),t.qZA())}function M6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",109,110),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA(),t.YNc(3,F6,2,0,"mat-error",45),t.qZA()}if(2&s){const i=t.MAs(2),d=t.oxw(4).$implicit,c=t.oxw(2);t.xp6(1),t.Q6J("ngModel",c.userInputText[d.box.boxId]),t.xp6(2),t.Q6J("ngIf",!i.pristine&&(null==i.errors?null:i.errors.email))}}function N6(s,b){if(1&s&&(t.TgZ(0,"mat-hint",113),t._uU(1),t.qZA()),2&s){const i=t.oxw(5).$implicit,d=t.oxw(2);t.xp6(1),t.hij("",null==d.userInputText[i.box.boxId]?null:d.userInputText[i.box.boxId].length,"/200")}}function L6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"textarea",111),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t._uU(2," "),t.qZA(),t.YNc(3,N6,2,1,"mat-hint",112),t.qZA()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId]),t.xp6(2),t.Q6J("ngIf","TEXT"===i.box.userInputDataType)}}function U6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",114),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId])}}function Z6(s,b){if(1&s&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&s){const i=t.oxw(7);t.xp6(1),t.Oqu(i.uploadErrMsg)}}function O6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",115)(1,"label",116),t._uU(2),t.qZA(),t._UZ(3,"br"),t.YNc(4,Z6,2,1,"mat-error",45),t.TgZ(5,"input",117,118),t.NdJ("change",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.validateSelectedFile(c))}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(2),t.hij("Upload your file (Max ",d.flowchartOrg.userInputUploadSize,"KB)"),t.xp6(2),t.Q6J("ngIf",d.uploadErr),t.xp6(1),t.MGl("id","file-upload-",i.box.boxId,"")}}function B6(s,b){if(1&s&&(t.TgZ(0,"mat-option",121),t._uU(1),t.qZA()),2&s){const i=b.$implicit;t.Q6J("value",i.optionCaption),t.xp6(1),t.hij(" ",i.optionCaption," ")}}function P6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"mat-select",119),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.selectedChecklistOptions=c)}),t.YNc(2,B6,2,2,"mat-option",120),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.selectedChecklistOptions)("ngModelOptions",t.DdM(3,ys)),t.xp6(1),t.Q6J("ngForOf",i.box.boxUserInputCustomOptionList)}}function et(s,b){if(1&s&&(t.TgZ(0,"form",104,105),t.YNc(2,M6,4,2,"mat-form-field",106),t.YNc(3,L6,4,2,"mat-form-field",106),t.YNc(4,U6,2,1,"mat-form-field",106),t.YNc(5,O6,7,3,"div",107),t.YNc(6,P6,3,4,"mat-form-field",106),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(2),t.Q6J("ngIf","EMAIL"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","TEXT"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","PHONE"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","UPLOAD"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","CHECKLIST"===i.box.userInputDataType)}}function ue(s,b){if(1&s&&t._UZ(0,"img",129),2&s){const i=t.oxw().$implicit;t.s9C("src",i.choiceBox.imageUrl,t.LSH),t.s9C("alt",i.choiceBox.boxCaption)}}function Y(s,b){if(1&s&&(t.TgZ(0,"mat-option",125)(1,"div",126),t.YNc(2,ue,1,2,"img",127),t.qZA(),t.TgZ(3,"p",128),t._uU(4),t.qZA()()),2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function O(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",122)(1,"mat-select",123),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);
1return t.KtG(y.selectedChoiceBox=c)})("selectionChange",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.updateChoiceToBoxLayer(c.selectedChoiceBox))}),t.YNc(2,Y,5,3,"mat-option",124),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function gt(s,b){if(1&s&&(t.TgZ(0,"div",138),t._UZ(1,"img",139),t.qZA()),2&s){const i=t.oxw().$implicit;t.xp6(1),t.s9C("alt",i.choiceBox.boxCaption),t.s9C("src",i.choiceBox.imageUrl,t.LSH)}}function Zt(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-button-toggle",134),t.NdJ("change",function(){const y=t.CHM(i).$implicit,v=t.oxw(6);return t.KtG(v.updateChoiceToBoxLayer(y.choiceBox.boxCaption))}),t.TgZ(1,"div",135),t.YNc(2,gt,2,2,"div",136),t.TgZ(3,"div",137),t._uU(4),t.qZA()()()}if(2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function se(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",130)(1,"div",131)(2,"mat-button-toggle-group",132),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);return t.KtG(y.selectedChoiceBox=c)}),t.YNc(3,Zt,5,3,"mat-button-toggle",133),t.qZA()()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(2),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function Fe(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",96),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw(2).$implicit,v=t.oxw(2);return t.KtG(v.loadNextLayer(c,y.boxId,y.fromBoxCorner,y.box,v.flowchartDetails.currentBox,!1,!1))}),t.YNc(1,D6,2,1,"p",97),t.YNc(2,S6,2,1,"p",97),t.YNc(3,A6,2,1,"p",98),t.YNc(4,E6,2,1,"p",98),t.YNc(5,I6,2,1,"p",98),t.YNc(6,et,7,5,"form",99),t.YNc(7,O,3,2,"div",100),t.YNc(8,se,4,2,"div",101),t.qZA()}if(2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("ngClass",d.getAnimatedVersionBoxClass(d.disableClick,i,"layer1")),t.xp6(1),t.Q6J("ngIf","C"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"!==i.box.mcbChoiceDisplayMode),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"===i.box.mcbChoiceDisplayMode)}}function vn(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.boxCaption," ")}}function hn(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.mcbBoxCaption," ")}}function vi(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.userInputData," ")}}function Vn(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice : ",i.box.selectedChoiceBox.boxCaption," ")}}function Kn(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice: ",i.box.boxCaption," ")}}function ur(s,b){1&s&&(t.TgZ(0,"mat-error"),t._uU(1," Please enter a valid email address "),t.qZA())}function _r(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",109,110),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA(),t.YNc(3,ur,2,0,"mat-error",45),t.qZA()}if(2&s){const i=t.MAs(2),d=t.oxw(4).$implicit,c=t.oxw(2);t.xp6(1),t.Q6J("ngModel",c.userInputText[d.box.boxId]),t.xp6(2),t.Q6J("ngIf",!i.pristine&&(null==i.errors?null:i.errors.email))}}function fi(s,b){if(1&s&&(t.TgZ(0,"mat-hint",113),t._uU(1),t.qZA()),2&s){const i=t.oxw(5).$implicit,d=t.oxw(2);t.xp6(1),t.hij("",null==d.userInputText[i.box.boxId]?null:d.userInputText[i.box.boxId].length,"/200")}}function To(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"textarea",111),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t._uU(2," "),t.qZA(),t.YNc(3,fi,2,1,"mat-hint",112),t.qZA()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId]),t.xp6(2),t.Q6J("ngIf","TEXT"===i.box.userInputDataType)}}function Wl(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",114),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId])}}function gp(s,b){if(1&s&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&s){const i=t.oxw(7);t.xp6(1),t.Oqu(i.uploadErrMsg)}}function mp(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",115)(1,"label",116),t._uU(2),t.qZA(),t._UZ(3,"br"),t.YNc(4,gp,2,1,"mat-error",45),t.TgZ(5,"input",117,118),t.NdJ("change",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.validateSelectedFile(c))}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(2),t.hij("Upload your file (Max ",d.flowchartOrg.userInputUploadSize,"KB)"),t.xp6(2),t.Q6J("ngIf",d.uploadErr),t.xp6(1),t.MGl("id","file-upload-",i.box.boxId,"")}}function vp(s,b){if(1&s&&(t.TgZ(0,"mat-option",121),t._uU(1),t.qZA()),2&s){const i=b.$implicit;t.Q6J("value",i.optionCaption),t.xp6(1),t.hij(" ",i.optionCaption," ")}}function yp(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"mat-select",119),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.selectedChecklistOptions=c)}),t.YNc(2,vp,2,2,"mat-option",120),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.selectedChecklistOptions)("ngModelOptions",t.DdM(3,ys)),t.xp6(1),t.Q6J("ngForOf",i.box.boxUserInputCustomOptionList)}}function R6(s,b){if(1&s&&(t.TgZ(0,"form",104,105),t.YNc(2,_r,4,2,"mat-form-field",106),t.YNc(3,To,4,2,"mat-form-field",106),t.YNc(4,Wl,2,1,"mat-form-field",106),t.YNc(5,mp,7,3,"div",107),t.YNc(6,yp,3,4,"mat-form-field",106),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(2),t.Q6J("ngIf","EMAIL"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","TEXT"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","PHONE"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","UPLOAD"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","CHECKLIST"===i.box.userInputDataType)}}function J6(s,b){if(1&s&&t._UZ(0,"img",129),2&s){const i=t.oxw().$implicit;t.s9C("src",i.choiceBox.imageUrl,t.LSH),t.s9C("alt",i.choiceBox.boxCaption)}}function Ei(s,b){if(1&s&&(t.TgZ(0,"mat-option",125)(1,"div",126),t.YNc(2,J6,1,2,"img",127),t.qZA(),t.TgZ(3,"p",128),t._uU(4),t.qZA()()),2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function H6(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",122)(1,"mat-select",123),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);
1return t.KtG(y.selectedChoiceBox=c)})("selectionChange",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.updateChoiceToBoxLayer(c.selectedChoiceBox))}),t.YNc(2,Ei,5,3,"mat-option",124),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function Gs(s,b){if(1&s&&(t.TgZ(0,"div",138),t._UZ(1,"img",139),t.qZA()),2&s){const i=t.oxw().$implicit;t.xp6(1),t.s9C("alt",i.choiceBox.boxCaption),t.s9C("src",i.choiceBox.imageUrl,t.LSH)}}function IC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-button-toggle",134),t.NdJ("change",function(){const y=t.CHM(i).$implicit,v=t.oxw(6);return t.KtG(v.updateChoiceToBoxLayer(y.choiceBox.boxCaption))}),t.TgZ(1,"div",135),t.YNc(2,Gs,2,2,"div",136),t.TgZ(3,"div",137),t._uU(4),t.qZA()()()}if(2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function FC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",130)(1,"div",131)(2,"mat-button-toggle-group",132),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);return t.KtG(y.selectedChoiceBox=c)}),t.YNc(3,IC,5,3,"mat-button-toggle",133),t.qZA()()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(2),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function MC(s,b){if(1&s&&(t.TgZ(0,"div",140),t.YNc(1,vn,2,1,"p",97),t.YNc(2,hn,2,1,"p",97),t.YNc(3,vi,2,1,"p",98),t.YNc(4,Vn,2,1,"p",98),t.YNc(5,Kn,2,1,"p",98),t.YNc(6,R6,7,5,"form",99),t.YNc(7,H6,3,2,"div",100),t.YNc(8,FC,4,2,"div",101),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("ngClass",d.getAnimatedVersionBoxClass(d.disableClick,i,"layer1")),t.xp6(1),t.Q6J("ngIf","C"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"!==i.box.mcbChoiceDisplayMode),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"===i.box.mcbChoiceDisplayMode)}}function NC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function LC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function UC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ZC(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function OC(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function BC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function PC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function RC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function JC(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function HC(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function YC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function qC(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,NC,3,2,"button",142),t.YNc(2,LC,1,4,"button",143),t.YNc(3,UC,1,4,"button",144),t.YNc(4,ZC,3,3,"a",145),t.YNc(5,OC,1,5,"a",146),t.YNc(6,BC,3,3,"a",147),t.YNc(7,PC,1,5,"a",148),t.YNc(8,RC,5,3,"a",149),t.YNc(9,JC,5,3,"a",92),t.YNc(10,HC,1,5,"a",93),t.YNc(11,YC,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode&&i.box.inArrowCount>0&&"E"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function VC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function QC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function $C(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function jC(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function GC(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function zC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function KC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function WC(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function XC(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function t7(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function e7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function n7(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,VC,3,2,"button",142),t.YNc(2,QC,1,4,"button",143),t.YNc(3,$C,1,4,"button",144),t.YNc(4,jC,3,3,"a",145),t.YNc(5,GC,1,5,"a",146),t.YNc(6,zC,3,3,"a",147),t.YNc(7,KC,1,5,"a",148),t.YNc(8,WC,5,3,"a",149),t.YNc(9,XC,5,3,"a",92),t.YNc(10,t7,1,5,"a",93),t.YNc(11,e7,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function i7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function r7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function o7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function a7(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function s7(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function c7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function l7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function u7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function h7(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function d7(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function f7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function _7(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,i7,3,2,"button",142),t.YNc(2,r7,1,4,"button",143),t.YNc(3,o7,1,4,"button",144),t.YNc(4,a7,3,3,"a",145),t.YNc(5,s7,1,5,"a",146),t.YNc(6,c7,3,3,"a",147),t.YNc(7,l7,1,5,"a",148),t.YNc(8,u7,5,3,"a",149),t.YNc(9,h7,5,3,"a",92),t.YNc(10,d7,1,5,"a",93),t.YNc(11,f7,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function p7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function g7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function m7(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function v7(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function y7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function x7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function b7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function w7(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function T7(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function C7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function k7(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,p7,1,4,"button",143),t.YNc(2,g7,1,4,"button",144),t.YNc(3,m7,3,3,"a",145),t.YNc(4,v7,1,5,"a",146),t.YNc(5,y7,3,3,"a",147),t.YNc(6,x7,1,5,"a",148),t.YNc(7,b7,5,3,"a",149),t.YNc(8,w7,5,3,"a",92),t.YNc(9,T7,1,5,"a",93),t.YNc(10,C7,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function D7(s,b){if(1&s&&(t.TgZ(0,"div",164)(1,"a",165)(2,"mat-icon"),t._uU(3,"open_in_new"),t.qZA()()()),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.xp6(1),t.s9C("href",i.box.imageUrl,t.LSH)}}function S7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",164)(1,"div",166)(2,"div",167)(3,"div",168),t._UZ(4,"iframe",169),t.ALo(5,"safe"),t.TgZ(6,"button",170),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.stopVideo())}),t.TgZ(7,"mat-icon"),t._uU(8,"close"),t.qZA()()()()(),t.TgZ(9,"div",171),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.playVideo())}),t.TgZ(10,"button",172)(11,"mat-icon"),t._uU(12,"play_circle_filled"),t.qZA()(),t.TgZ(13,"a",173)(14,"mat-icon"),t._uU(15,"open_in_new"),t.qZA()()()()}if(2&s){const i=t.oxw(4);t.xp6(4),t.Q6J("src",t.xi3(5,4,i.videoEmbedUrl,"resourceUrl"),t.uOi),t.xp6(5),t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.xp6(4),t.s9C("href",i.videoEmbedUrl,t.LSH)}}function A7(s,b){if(1&s&&(t.TgZ(0,"a",176)(1,"mat-icon",177),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}
1function E7(s,b){if(1&s&&(t.TgZ(0,"a",178),t.ALo(1,"safe"),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image",t.xi3(1,5,"url("+i.box.imageVideoThumbnailUrl+")","style")),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function I7(s,b){if(1&s&&(t.TgZ(0,"div",87),t.YNc(1,A7,3,3,"a",174),t.YNc(2,E7,2,8,"a",175),t.qZA()),2&s){const i=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngIf",i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl)}}function F7(s,b){if(1&s&&(t.TgZ(0,"a",179)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function M7(s,b){if(1&s&&(t.TgZ(0,"a",180),t.ALo(1,"safe"),t.qZA()),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image",t.xi3(1,5,"url("+i.box.refLinkIconUrl+")","style")),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function N7(s,b){if(1&s&&(t.TgZ(0,"a",181)(1,"span",182)(2,"mat-icon",159),t._uU(3,"description"),t.qZA(),t.TgZ(4,"mat-icon",160),t._uU(5,"attachment"),t.qZA()(),t.TgZ(6,"span",183),t._uU(7),t.qZA()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(7),t.Oqu(i.box.fileAttachmentName)}}function L7(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"span",182)(2,"mat-icon",159),t._uU(3,"description"),t.qZA(),t.TgZ(4,"mat-icon",160),t._uU(5,"attachment"),t.qZA()()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function U7(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Z7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",184),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function O7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",185),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function B7(s,b){if(1&s&&(t.TgZ(0,"div",78),t._UZ(1,"span",79),t.YNc(2,Fe,9,9,"div",80),t.YNc(3,MC,9,9,"div",81),t.YNc(4,qC,12,11,"div",82),t.YNc(5,n7,12,11,"div",82),t.YNc(6,_7,12,11,"div",82),t.YNc(7,k7,11,10,"div",82),t.TgZ(8,"div",83),t.YNc(9,D7,4,3,"div",84),t.YNc(10,S7,16,7,"div",85),t.YNc(11,I7,3,2,"div",86),t.TgZ(12,"p",87),t.YNc(13,F7,3,3,"a",88),t.YNc(14,M7,2,8,"a",89),t.qZA(),t.TgZ(15,"p",90),t.YNc(16,N7,8,4,"a",91),t.YNc(17,L7,6,3,"a",92),t.YNc(18,U7,1,5,"a",93),t.qZA(),t.YNc(19,Z7,3,2,"button",94),t.YNc(20,O7,3,2,"button",95),t.qZA(),t._UZ(21,"span",79),t.qZA()),2&s){const i=t.oxw(),d=i.index,c=i.$implicit,y=t.oxw(2);t.MGl("id","layer1-",d,""),t.Q6J("ngClass",y.getAnimatedVersionBoxContainerClass(c,"layer1")),t.xp6(2),t.Q6J("ngIf",y.enableLayerClickEvent("layer1")),t.xp6(1),t.Q6J("ngIf",!y.enableLayerClickEvent("layer1")),t.xp6(1),t.Q6J("ngIf","S"===c.box.boxShapeType||"E"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","D"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===c.box.boxShapeType),t.xp6(2),t.Q6J("ngIf","I"===c.box.imageVideoOption&&c.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===c.box.imageVideoOption&&c.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===c.box.imageVideoOption&&c.box.imageVideoLink),t.xp6(2),t.Q6J("ngIf",c.box.refLink&&!c.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",c.box.refLink&&c.box.refLinkIconUrl),t.xp6(2),t.Q6J("ngIf",c.box.fileUrl),t.xp6(1),t.Q6J("ngIf",c.box.fileAttachmentLink&&!c.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",c.box.fileAttachmentLink&&c.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!y.flowchartDetails.publishedCode&&c.box.inArrowCount>
10&&"M"!==c.box.boxShapeType&&"E"!==c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf",!y.flowchartDetails.publishedCode)}}function P7(s,b){if(1&s&&(t.ynx(0),t.YNc(1,B7,22,18,"div",77),t.BQk()),2&s){const i=b.$implicit;t.xp6(1),t.Q6J("ngIf","E"!==i.box.boxShapeType)}}function R7(s,b){if(1&s&&(t.TgZ(0,"div",186)(1,"div",187)(2,"a",188)(3,"mat-icon"),t._uU(4,"zoom_in"),t.qZA()()()()),2&s){const i=t.oxw(2);t.xp6(1),t.Udp("background-image","url("+i.flowchartDetails.currentBox.imageUrl+")"),t.xp6(1),t.s9C("href",i.flowchartDetails.currentBox.imageUrl,t.LSH)}}function J7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",189)(1,"div",166)(2,"div",167)(3,"div",168),t._UZ(4,"iframe",169),t.ALo(5,"safe"),t.TgZ(6,"button",170),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.stopVideo())}),t.TgZ(7,"mat-icon"),t._uU(8,"close"),t.qZA()()()()(),t.TgZ(9,"div",171),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.playVideo())}),t.TgZ(10,"button",172)(11,"mat-icon"),t._uU(12,"play_circle_filled"),t.qZA()(),t.TgZ(13,"a",173)(14,"mat-icon"),t._uU(15,"open_in_new"),t.qZA()()()()}if(2&s){const i=t.oxw(2);t.xp6(4),t.Q6J("src",t.xi3(5,4,i.videoEmbedUrl,"resourceUrl"),t.uOi),t.xp6(5),t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.xp6(4),t.s9C("href",i.videoEmbedUrl,t.LSH)}}function H7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",190),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.backToKnowledgebasePage())}),t.TgZ(1,"mat-icon"),t._uU(2,"local_library"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Knowl. Base"),t.qZA()()}}function Y7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",191),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.backToOrgHomePage())}),t.TgZ(1,"mat-icon"),t._uU(2,"business_center"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Org-Home"),t.qZA()()}}function q7(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.boxCaption," ")}}function V7(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.mcbBoxCaption," ")}}function Q7(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.userInputData," ")}}function $7(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice : ",i.box.selectedChoiceBox.boxCaption," ")}}function j7(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice: ",i.box.boxCaption," ")}}function G7(s,b){1&s&&(t.TgZ(0,"mat-error"),t._uU(1," Please enter a valid email address "),t.qZA())}function z7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108),t._uU(1,' (change)="checkFormValidity(userInputBoxForm)" '),t.TgZ(2,"input",109,110),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA(),t.YNc(4,G7,2,0,"mat-error",45),t.qZA()}if(2&s){const i=t.MAs(3),d=t.oxw(4).$implicit,c=t.oxw(2);t.xp6(2),t.Q6J("ngModel",c.userInputText[d.box.boxId]),t.xp6(2),t.Q6J("ngIf",!i.pristine&&(null==i.errors?null:i.errors.email))}}function K7(s,b){if(1&s&&(t.TgZ(0,"mat-hint",113),t._uU(1),t.qZA()),2&s){const i=t.oxw(5).$implicit,d=t.oxw(2);t.xp6(1),t.hij("",null==d.userInputText[i.box.boxId]?null:d.userInputText[i.box.boxId].length,"/200")}}function W7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"textarea",111),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t._uU(2," "),t.qZA(),t.YNc(3,K7,2,1,"mat-hint",112),t.qZA()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId]),t.xp6(2),t.Q6J("ngIf","TEXT"===i.box.userInputDataType)}}function X7(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",114),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId])}}function tk(s,b){if(1&s&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&s){const i=t.oxw(7);t.xp6(1),t.Oqu(i.uploadErrMsg)}}function ek(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",115)(1,"label",116),t._uU(2),t.qZA(),t._UZ(3,"br"),t.YNc(4,tk,2,1,"mat-error",45),t.TgZ(5,"input",117,118),t.NdJ("change",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.validateSelectedFile(c))}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(2),t.hij("Upload your file (Max ",d.flowchartOrg.userInputUploadSize,"KB)"),t.xp6(2),t.Q6J("ngIf",d.uploadErr),t.xp6(1),t.MGl("id","file-upload-",i.box.boxId,"")}}function nk(s,b){if(1&s&&(t.TgZ(0,"mat-option",121),t._uU(1),t.qZA()),2&s){const i=b.$implicit;t.Q6J("value",i.optionCaption),t.xp6(1),t.hij(" ",i.optionCaption," ")}}function ik(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"mat-select",119),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.selectedChecklistOptions=c)}),t.YNc(2,nk,2,2,"mat-option",120),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.selectedChecklistOptions)("ngModelOptions",t.DdM(3,ys)),t.xp6(1),t.Q6J("ngForOf",i.box.boxUserInputCustomOptionList)}}function rk(s,b){if(1&s&&(t.TgZ(0,"form",104,105),t.YNc(2,z7,5,2,"mat-form-field",106),t.YNc(3,W7,4,2,"mat-form-field",106),t.YNc(4,X7,2,1,"mat-form-field",106),t.YNc(5,ek,7,3,"div",107),t.YNc(6,ik,3,4,"mat-form-field",106),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(2),t.Q6J("ngIf","EMAIL"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","TEXT"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","PHONE"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","UPLOAD"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","CHECKLIST"===i.box.userInputDataType)}}function ok(s,b){if(1&s&&t._UZ(0,"img",129),2&s){const i=t.oxw().$implicit;t.s9C("src",i.choiceBox.imageUrl,t.LSH),t.s9C("alt",i.choiceBox.boxCaption)}}function ak(s,b){if(1&s&&(t.TgZ(0,"mat-option",125)(1,"div",126),t.YNc(2,ok,1,2,"img",127),t.qZA(),t.TgZ(3,"p",128),t._uU(4),t.qZA()()),2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function sk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",122)(1,"mat-select",123),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);
1return t.KtG(y.selectedChoiceBox=c)})("selectionChange",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.updateChoiceToBoxLayer(c.selectedChoiceBox))}),t.YNc(2,ak,5,3,"mat-option",124),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function ck(s,b){if(1&s&&(t.TgZ(0,"div",138),t._UZ(1,"img",139),t.qZA()),2&s){const i=t.oxw().$implicit;t.xp6(1),t.s9C("alt",i.choiceBox.boxCaption),t.s9C("src",i.choiceBox.imageUrl,t.LSH)}}function lk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-button-toggle",134),t.NdJ("change",function(){const y=t.CHM(i).$implicit,v=t.oxw(6);return t.KtG(v.updateChoiceToBoxLayer(y.choiceBox.boxCaption))}),t.TgZ(1,"div",135),t.YNc(2,ck,2,2,"div",136),t.TgZ(3,"div",137),t._uU(4),t.qZA()()()}if(2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function uk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",130)(1,"div",131)(2,"mat-button-toggle-group",132),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);return t.KtG(y.selectedChoiceBox=c)}),t.YNc(3,lk,5,3,"mat-button-toggle",133),t.qZA()()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(2),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function hk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",96),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw(2).$implicit,v=t.oxw(2);return t.KtG(v.loadNextLayer(c,y.boxId,y.fromBoxCorner,y.box,v.flowchartDetails.currentBox,!1,!1))}),t.YNc(1,q7,2,1,"p",97),t.YNc(2,V7,2,1,"p",97),t.YNc(3,Q7,2,1,"p",98),t.YNc(4,$7,2,1,"p",98),t.YNc(5,j7,2,1,"p",98),t.YNc(6,rk,7,5,"form",99),t.YNc(7,sk,3,2,"div",100),t.YNc(8,uk,4,2,"div",101),t.qZA()}if(2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("ngClass",d.getAnimatedVersionBoxClass(d.disableClick,i,"layer2")),t.xp6(1),t.Q6J("ngIf","C"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"!==i.box.mcbChoiceDisplayMode),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"===i.box.mcbChoiceDisplayMode)}}function dk(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.boxCaption," ")}}function fk(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.mcbBoxCaption," ")}}function _k(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.userInputData," ")}}function pk(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice : ",i.box.selectedChoiceBox.boxCaption," ")}}function gk(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice: ",i.box.boxCaption," ")}}function mk(s,b){1&s&&(t.TgZ(0,"mat-error"),t._uU(1," Please enter a valid email address "),t.qZA())}function vk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",109,110),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA(),t.YNc(3,mk,2,0,"mat-error",45),t.qZA()}if(2&s){const i=t.MAs(2),d=t.oxw(4).$implicit,c=t.oxw(2);t.xp6(1),t.Q6J("ngModel",c.userInputText[d.box.boxId]),t.xp6(2),t.Q6J("ngIf",!i.pristine&&(null==i.errors?null:i.errors.email))}}function yk(s,b){if(1&s&&(t.TgZ(0,"mat-hint",113),t._uU(1),t.qZA()),2&s){const i=t.oxw(5).$implicit,d=t.oxw(2);t.xp6(1),t.hij("",null==d.userInputText[i.box.boxId]?null:d.userInputText[i.box.boxId].length,"/200")}}function xk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"textarea",111),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t._uU(2," "),t.qZA(),t.YNc(3,yk,2,1,"mat-hint",112),t.qZA()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId]),t.xp6(2),t.Q6J("ngIf","TEXT"===i.box.userInputDataType)}}function bk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",114),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId])}}function wk(s,b){if(1&s&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&s){const i=t.oxw(7);t.xp6(1),t.Oqu(i.uploadErrMsg)}}function Tk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",115)(1,"label",116),t._uU(2),t.qZA(),t._UZ(3,"br"),t.YNc(4,wk,2,1,"mat-error",45),t.TgZ(5,"input",193,118),t.NdJ("change",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.validateSelectedFile(c))}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(2),t.hij("Upload your file (Max ",d.flowchartOrg.userInputUploadSize,"KB)"),t.xp6(2),t.Q6J("ngIf",d.uploadErr),t.xp6(1),t.MGl("id","file-upload-",i.box.boxId,"")}}function Ck(s,b){if(1&s&&(t.TgZ(0,"mat-option",121),t._uU(1),t.qZA()),2&s){const i=b.$implicit;t.Q6J("value",i.optionCaption),t.xp6(1),t.hij(" ",i.optionCaption," ")}}function kk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"mat-select",119),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.selectedChecklistOptions=c)}),t.YNc(2,Ck,2,2,"mat-option",120),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.selectedChecklistOptions)("ngModelOptions",t.DdM(3,ys)),t.xp6(1),t.Q6J("ngForOf",i.box.boxUserInputCustomOptionList)}}function Dk(s,b){if(1&s&&(t.TgZ(0,"form",104,105),t.YNc(2,vk,4,2,"mat-form-field",106),t.YNc(3,xk,4,2,"mat-form-field",106),t.YNc(4,bk,2,1,"mat-form-field",106),t.YNc(5,Tk,7,3,"div",107),t.YNc(6,kk,3,4,"mat-form-field",106),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(2),t.Q6J("ngIf","EMAIL"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","TEXT"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","PHONE"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","UPLOAD"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","CHECKLIST"===i.box.userInputDataType)}}function Sk(s,b){if(1&s&&t._UZ(0,"img",129),2&s){const i=t.oxw().$implicit;t.s9C("src",i.choiceBox.imageUrl,t.LSH),t.s9C("alt",i.choiceBox.boxCaption)}}function Ak(s,b){if(1&s&&(t.TgZ(0,"mat-option",125)(1,"div",126),t.YNc(2,Sk,1,2,"img",127),t.qZA(),t.TgZ(3,"p",128),t._uU(4),t.qZA()()),2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function Ek(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",122)(1,"mat-select",123),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);
1return t.KtG(y.selectedChoiceBox=c)})("selectionChange",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.updateChoiceToBoxLayer(c.selectedChoiceBox))}),t.YNc(2,Ak,5,3,"mat-option",124),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function Ik(s,b){if(1&s&&(t.TgZ(0,"div",138),t._UZ(1,"img",139),t.qZA()),2&s){const i=t.oxw().$implicit;t.xp6(1),t.s9C("alt",i.choiceBox.boxCaption),t.s9C("src",i.choiceBox.imageUrl,t.LSH)}}function Fk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-button-toggle",134),t.NdJ("change",function(){const y=t.CHM(i).$implicit,v=t.oxw(6);return t.KtG(v.updateChoiceToBoxLayer(y.choiceBox.boxCaption))}),t.TgZ(1,"div",135),t.YNc(2,Ik,2,2,"div",136),t.TgZ(3,"div",137),t._uU(4),t.qZA()()()}if(2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function Mk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",130)(1,"div",131)(2,"mat-button-toggle-group",132),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);return t.KtG(y.selectedChoiceBox=c)}),t.YNc(3,Fk,5,3,"mat-button-toggle",133),t.qZA()()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(2),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function Nk(s,b){if(1&s&&(t.TgZ(0,"div",140),t.YNc(1,dk,2,1,"p",97),t.YNc(2,fk,2,1,"p",97),t.YNc(3,_k,2,1,"p",98),t.YNc(4,pk,2,1,"p",98),t.YNc(5,gk,2,1,"p",98),t.YNc(6,Dk,7,5,"form",99),t.YNc(7,Ek,3,2,"div",100),t.YNc(8,Mk,4,2,"div",101),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("ngClass",d.getAnimatedVersionBoxClass(d.disableClick,i,"layer2")),t.xp6(1),t.Q6J("ngIf","C"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"!==i.box.mcbChoiceDisplayMode),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"===i.box.mcbChoiceDisplayMode)}}function Lk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Uk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Zk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Ok(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Bk(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Pk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Rk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Jk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Hk(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Yk(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function qk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Vk(s,b){if(1&s&&(t.TgZ(0,"div",194),t.YNc(1,Lk,3,2,"button",142),t.YNc(2,Uk,1,4,"button",143),t.YNc(3,Zk,1,4,"button",144),t.YNc(4,Ok,3,3,"a",145),t.YNc(5,Bk,1,5,"a",146),t.YNc(6,Pk,3,3,"a",147),t.YNc(7,Rk,1,5,"a",148),t.YNc(8,Jk,5,3,"a",149),t.YNc(9,Hk,5,3,"a",92),t.YNc(10,Yk,1,5,"a",93),t.YNc(11,qk,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("title","Add More Context"),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode&&i.box.inArrowCount>0&&"E"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function Qk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function $k(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function jk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Gk(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function zk(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Kk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Wk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Xk(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function t8(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function e8(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function n8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function i8(s,b){if(1&s&&(t.TgZ(0,"div",194),t.YNc(1,Qk,3,2,"button",142),t.YNc(2,$k,1,4,"button",143),t.YNc(3,jk,1,4,"button",144),t.YNc(4,Gk,3,3,"a",145),t.YNc(5,zk,1,5,"a",146),t.YNc(6,Kk,3,3,"a",147),t.YNc(7,Wk,1,5,"a",148),t.YNc(8,Xk,5,3,"a",149),t.YNc(9,t8,5,3,"a",92),t.YNc(10,e8,1,5,"a",93),t.YNc(11,n8,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("title","Add More Context"),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function r8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function o8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function a8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function s8(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function c8(s,b){if(1&s&&t._UZ(0,"a",196),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function l8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function u8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function h8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function d8(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function f8(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function _8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function p8(s,b){if(1&s&&(t.TgZ(0,"div",194),t.YNc(1,r8,3,2,"button",142),t.YNc(2,o8,1,4,"button",143),t.YNc(3,a8,1,4,"button",144),t.YNc(4,s8,3,3,"a",145),t.YNc(5,c8,1,5,"a",195),t.YNc(6,l8,3,3,"a",147),t.YNc(7,u8,1,5,"a",148),t.YNc(8,h8,5,3,"a",149),t.YNc(9,d8,5,3,"a",92),t.YNc(10,f8,1,5,"a",93),t.YNc(11,_8,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("title","Add More Context"),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function g8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function m8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function v8(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function y8(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function x8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function b8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function w8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function T8(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function C8(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function k8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function D8(s,b){if(1&s&&(t.TgZ(0,"div",194),t.YNc(1,g8,1,4,"button",143),t.YNc(2,m8,1,4,"button",144),t.YNc(3,v8,3,3,"a",145),t.YNc(4,y8,1,5,"a",146),t.YNc(5,x8,3,3,"a",147),t.YNc(6,b8,1,5,"a",148),t.YNc(7,w8,5,3,"a",149),t.YNc(8,T8,5,3,"a",92),t.YNc(9,C8,1,5,"a",93),t.YNc(10,k8,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("title","Add More Context"),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function S8(s,b){if(1&s&&(t.TgZ(0,"div",164)(1,"a",165)(2,"mat-icon"),t._uU(3,"open_in_new"),t.qZA()()()),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.xp6(1),t.s9C("href",i.box.imageUrl,t.LSH)}}function A8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",164)(1,"div",166)(2,"div",167)(3,"div",168),t._UZ(4,"iframe",169),t.ALo(5,"safe"),t.TgZ(6,"button",170),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.stopVideo())}),t.TgZ(7,"mat-icon"),t._uU(8,"close"),t.qZA()()()()(),t.TgZ(9,"div",171),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.playVideo())}),t.TgZ(10,"button",172)(11,"mat-icon"),t._uU(12,"play_circle_filled"),t.qZA()(),t.TgZ(13,"a",173)(14,"mat-icon"),t._uU(15,"open_in_new"),t.qZA()()()()}if(2&s){const i=t.oxw(4);t.xp6(4),t.Q6J("src",t.xi3(5,4,i.videoEmbedUrl,"resourceUrl"),t.uOi),t.xp6(5),t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.xp6(4),t.s9C("href",i.videoEmbedUrl,t.LSH)}}function E8(s,b){if(1&s&&(t.TgZ(0,"a",176)(1,"mat-icon",177),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}
1function I8(s,b){if(1&s&&(t.TgZ(0,"a",178),t.ALo(1,"safe"),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image",t.xi3(1,5,"url("+i.box.imageVideoThumbnailUrl+")","style")),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function F8(s,b){if(1&s&&(t.TgZ(0,"div",87),t.YNc(1,E8,3,3,"a",174),t.YNc(2,I8,2,8,"a",175),t.qZA()),2&s){const i=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngIf",i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl)}}function M8(s,b){if(1&s&&(t.TgZ(0,"a",179)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function N8(s,b){if(1&s&&(t.TgZ(0,"a",180),t.ALo(1,"safe"),t.qZA()),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image",t.xi3(1,5,"url("+i.box.refLinkIconUrl+")","style")),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function L8(s,b){if(1&s&&(t.TgZ(0,"a",181)(1,"span",182)(2,"mat-icon",159),t._uU(3,"description"),t.qZA(),t.TgZ(4,"mat-icon",160),t._uU(5,"attachment"),t.qZA()(),t.TgZ(6,"span",183),t._uU(7),t.qZA()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(7),t.Oqu(i.box.fileAttachmentName)}}function U8(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"span",182)(2,"mat-icon",159),t._uU(3,"description"),t.qZA(),t.TgZ(4,"mat-icon",160),t._uU(5,"attachment"),t.qZA()()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Z8(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function O8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",184),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function B8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",185),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function P8(s,b){if(1&s&&(t.TgZ(0,"div",78),t._UZ(1,"span",79),t.YNc(2,hk,9,9,"div",80),t.YNc(3,Nk,9,9,"div",81),t.YNc(4,Vk,12,12,"div",192),t.YNc(5,i8,12,12,"div",192),t.YNc(6,p8,12,12,"div",192),t.YNc(7,D8,11,11,"div",192),t.TgZ(8,"div",83),t.YNc(9,S8,4,3,"div",84),t.YNc(10,A8,16,7,"div",85),t.YNc(11,F8,3,2,"div",86),t.TgZ(12,"p",87),t.YNc(13,M8,3,3,"a",88),t.YNc(14,N8,2,8,"a",89),t.qZA(),t.TgZ(15,"p",90),t.YNc(16,L8,8,4,"a",91),t.YNc(17,U8,6,3,"a",92),t.YNc(18,Z8,1,5,"a",93),t.qZA(),t.YNc(19,O8,3,2,"button",94),t.YNc(20,B8,3,2,"button",95),t.qZA(),t._UZ(21,"span",79),t.qZA()),2&s){const i=t.oxw(),d=i.index,c=i.$implicit,y=t.oxw(2);t.MGl("id","layer2-",d,""),t.Q6J("ngClass",y.getAnimatedVersionBoxContainerClass(c,"layer2")),t.xp6(2),t.Q6J("ngIf",y.enableLayerClickEvent("layer2")),t.xp6(1),t.Q6J("ngIf",!y.enableLayerClickEvent("layer2")),t.xp6(1),t.Q6J("ngIf","S"===c.box.boxShapeType||"E"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","D"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===c.box.boxShapeType),t.xp6(2),t.Q6J("ngIf","I"===c.box.imageVideoOption&&c.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===c.box.imageVideoOption&&c.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===c.box.imageVideoOption&&c.box.imageVideoLink),t.xp6(2),t.Q6J("ngIf",c.box.refLink&&!c.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",c.box.refLink&&c.box.refLinkIconUrl),t.xp6(2),t.Q6J("ngIf",c.box.fileUrl),t.xp6(1),t.Q6J("ngIf",c.box.fileAttachmentLink&&!c.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",c.box.fileAttachmentLink&&c.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!y.flowchartDetails.publishedCode&&c.box.inArrowCount>
10&&"M"!==c.box.boxShapeType&&"E"!==c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf",!y.flowchartDetails.publishedCode)}}function R8(s,b){if(1&s&&(t.ynx(0),t.YNc(1,P8,22,18,"div",77),t.BQk()),2&s){const i=b.$implicit;t.xp6(1),t.Q6J("ngIf","E"!==i.box.boxShapeType)}}function J8(s,b){if(1&s&&(t.TgZ(0,"div",186)(1,"div",187)(2,"a",188)(3,"mat-icon"),t._uU(4,"zoom_in"),t.qZA()()()()),2&s){const i=t.oxw(2);t.xp6(1),t.Udp("background-image","url("+i.flowchartDetails.currentBox.imageUrl+")"),t.xp6(1),t.s9C("href",i.flowchartDetails.currentBox.imageUrl,t.LSH)}}function H8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",189)(1,"div",166)(2,"div",167)(3,"div",168),t._UZ(4,"iframe",169),t.ALo(5,"safe"),t.TgZ(6,"button",170),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.stopVideo())}),t.TgZ(7,"mat-icon"),t._uU(8,"close"),t.qZA()()()()(),t.TgZ(9,"div",171),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.playVideo())}),t.TgZ(10,"button",172)(11,"mat-icon"),t._uU(12,"play_circle_filled"),t.qZA()(),t.TgZ(13,"a",173)(14,"mat-icon"),t._uU(15,"open_in_new"),t.qZA()()()()}if(2&s){const i=t.oxw(2);t.xp6(4),t.Q6J("src",t.xi3(5,4,i.videoEmbedUrl,"resourceUrl"),t.uOi),t.xp6(5),t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.xp6(4),t.s9C("href",i.videoEmbedUrl,t.LSH)}}function Y8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",190),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.backToKnowledgebasePage())}),t.TgZ(1,"mat-icon"),t._uU(2,"local_library"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Knowl. Base"),t.qZA()()}}function q8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",191),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.backToOrgHomePage())}),t.TgZ(1,"mat-icon"),t._uU(2,"business_center"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Org-Home"),t.qZA()()}}function V8(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.boxCaption," ")}}function Q8(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.mcbBoxCaption," ")}}function $8(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.userInputData," ")}}function j8(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice : ",i.box.selectedChoiceBox.boxCaption," ")}}function G8(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice: ",i.box.boxCaption," ")}}function z8(s,b){1&s&&(t.TgZ(0,"mat-error"),t._uU(1," Please enter a valid email address "),t.qZA())}function K8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",109,110),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA(),t.YNc(3,z8,2,0,"mat-error",45),t.qZA()}if(2&s){const i=t.MAs(2),d=t.oxw(4).$implicit,c=t.oxw(2);t.xp6(1),t.Q6J("ngModel",c.userInputText[d.box.boxId]),t.xp6(2),t.Q6J("ngIf",!i.pristine&&(null==i.errors?null:i.errors.email))}}function W8(s,b){if(1&s&&(t.TgZ(0,"mat-hint",113),t._uU(1),t.qZA()),2&s){const i=t.oxw(5).$implicit,d=t.oxw(2);t.xp6(1),t.hij("",null==d.userInputText[i.box.boxId]?null:d.userInputText[i.box.boxId].length,"/200")}}function X8(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"textarea",111),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t._uU(2," "),t.qZA(),t.YNc(3,W8,2,1,"mat-hint",112),t.qZA()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId]),t.xp6(2),t.Q6J("ngIf","TEXT"===i.box.userInputDataType)}}function t9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",114),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId])}}function e9(s,b){if(1&s&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&s){const i=t.oxw(7);t.xp6(1),t.Oqu(i.uploadErrMsg)}}function n9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",115)(1,"label",116),t._uU(2),t.qZA(),t._UZ(3,"br"),t.YNc(4,e9,2,1,"mat-error",45),t.TgZ(5,"input",117,118),t.NdJ("change",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.validateSelectedFile(c))}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(2),t.hij("Upload your file (Max ",d.flowchartOrg.userInputUploadSize,"KB)"),t.xp6(2),t.Q6J("ngIf",d.uploadErr),t.xp6(1),t.MGl("id","file-upload-",i.box.boxId,"")}}function i9(s,b){if(1&s&&(t.TgZ(0,"mat-option",121),t._uU(1),t.qZA()),2&s){const i=b.$implicit;t.Q6J("value",i.optionCaption),t.xp6(1),t.hij(" ",i.optionCaption," ")}}function r9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"mat-select",119),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.selectedChecklistOptions=c)}),t.YNc(2,i9,2,2,"mat-option",120),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.selectedChecklistOptions)("ngModelOptions",t.DdM(3,ys)),t.xp6(1),t.Q6J("ngForOf",i.box.boxUserInputCustomOptionList)}}function o9(s,b){if(1&s&&(t.TgZ(0,"form",104,105),t.YNc(2,K8,4,2,"mat-form-field",106),t.YNc(3,X8,4,2,"mat-form-field",106),t.YNc(4,t9,2,1,"mat-form-field",106),t.YNc(5,n9,7,3,"div",107),t.YNc(6,r9,3,4,"mat-form-field",106),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(2),t.Q6J("ngIf","EMAIL"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","TEXT"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","PHONE"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","UPLOAD"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","CHECKLIST"===i.box.userInputDataType)}}function a9(s,b){if(1&s&&t._UZ(0,"img",129),2&s){const i=t.oxw().$implicit;t.s9C("src",i.choiceBox.imageUrl,t.LSH),t.s9C("alt",i.choiceBox.boxCaption)}}function s9(s,b){if(1&s&&(t.TgZ(0,"mat-option",125)(1,"div",126),t.YNc(2,a9,1,2,"img",127),t.qZA(),t.TgZ(3,"p",128),t._uU(4),t.qZA()()),2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function c9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",122)(1,"mat-select",123),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);
1return t.KtG(y.selectedChoiceBox=c)})("selectionChange",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.updateChoiceToBoxLayer(c.selectedChoiceBox))}),t.YNc(2,s9,5,3,"mat-option",124),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function l9(s,b){if(1&s&&(t.TgZ(0,"div",138),t._UZ(1,"img",139),t.qZA()),2&s){const i=t.oxw().$implicit;t.xp6(1),t.s9C("alt",i.choiceBox.boxCaption),t.s9C("src",i.choiceBox.imageUrl,t.LSH)}}function u9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-button-toggle",134),t.NdJ("change",function(){const y=t.CHM(i).$implicit,v=t.oxw(6);return t.KtG(v.updateChoiceToBoxLayer(y.choiceBox.boxCaption))}),t.TgZ(1,"div",135),t.YNc(2,l9,2,2,"div",136),t.TgZ(3,"div",137),t._uU(4),t.qZA()()()}if(2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function h9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",130)(1,"div",131)(2,"mat-button-toggle-group",132),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);return t.KtG(y.selectedChoiceBox=c)}),t.YNc(3,u9,5,3,"mat-button-toggle",133),t.qZA()()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(2),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function d9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",96),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw(2).$implicit,v=t.oxw(2);return t.KtG(v.loadNextLayer(c,y.boxId,y.fromBoxCorner,y.box,v.flowchartDetails.currentBox,!1,!1))}),t.YNc(1,V8,2,1,"p",97),t.YNc(2,Q8,2,1,"p",97),t.YNc(3,$8,2,1,"p",98),t.YNc(4,j8,2,1,"p",98),t.YNc(5,G8,2,1,"p",98),t.YNc(6,o9,7,5,"form",99),t.YNc(7,c9,3,2,"div",100),t.YNc(8,h9,4,2,"div",101),t.qZA()}if(2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("ngClass",d.getAnimatedVersionBoxClass(d.disableClick,i,"layer3")),t.xp6(1),t.Q6J("ngIf","C"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"!==i.box.mcbChoiceDisplayMode),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"===i.box.mcbChoiceDisplayMode)}}function f9(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.boxCaption," ")}}function _9(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.mcbBoxCaption," ")}}function p9(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.userInputData," ")}}function g9(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice : ",i.box.selectedChoiceBox.boxCaption," ")}}function m9(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice: ",i.box.boxCaption," ")}}function v9(s,b){1&s&&(t.TgZ(0,"mat-error"),t._uU(1," Please enter a valid email address "),t.qZA())}function y9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",109,110),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA(),t.YNc(3,v9,2,0,"mat-error",45),t.qZA()}if(2&s){const i=t.MAs(2),d=t.oxw(4).$implicit,c=t.oxw(2);t.xp6(1),t.Q6J("ngModel",c.userInputText[d.box.boxId]),t.xp6(2),t.Q6J("ngIf",!i.pristine&&(null==i.errors?null:i.errors.email))}}function x9(s,b){if(1&s&&(t.TgZ(0,"mat-hint",113),t._uU(1),t.qZA()),2&s){const i=t.oxw(5).$implicit,d=t.oxw(2);t.xp6(1),t.hij("",null==d.userInputText[i.box.boxId]?null:d.userInputText[i.box.boxId].length,"/200")}}function b9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"textarea",111),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t._uU(2," "),t.qZA(),t.YNc(3,x9,2,1,"mat-hint",112),t.qZA()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId]),t.xp6(2),t.Q6J("ngIf","TEXT"===i.box.userInputDataType)}}function w9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",114),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId])}}function T9(s,b){if(1&s&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&s){const i=t.oxw(7);t.xp6(1),t.Oqu(i.uploadErrMsg)}}function C9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",115)(1,"label",116),t._uU(2),t.qZA(),t._UZ(3,"br"),t.YNc(4,T9,2,1,"mat-error",45),t.TgZ(5,"input",117,118),t.NdJ("change",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.validateSelectedFile(c))}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(2),t.hij("Upload your file (Max ",d.flowchartOrg.userInputUploadSize,"KB)"),t.xp6(2),t.Q6J("ngIf",d.uploadErr),t.xp6(1),t.MGl("id","file-upload-",i.box.boxId,"")}}function k9(s,b){if(1&s&&(t.TgZ(0,"mat-option",121),t._uU(1),t.qZA()),2&s){const i=b.$implicit;t.Q6J("value",i.optionCaption),t.xp6(1),t.hij(" ",i.optionCaption," ")}}function D9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"mat-select",119),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.selectedChecklistOptions=c)}),t.YNc(2,k9,2,2,"mat-option",120),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.selectedChecklistOptions)("ngModelOptions",t.DdM(3,ys)),t.xp6(1),t.Q6J("ngForOf",i.box.boxUserInputCustomOptionList)}}function S9(s,b){if(1&s&&(t.TgZ(0,"form",104,105),t.YNc(2,y9,4,2,"mat-form-field",106),t.YNc(3,b9,4,2,"mat-form-field",106),t.YNc(4,w9,2,1,"mat-form-field",106),t.YNc(5,C9,7,3,"div",107),t.YNc(6,D9,3,4,"mat-form-field",106),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(2),t.Q6J("ngIf","EMAIL"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","TEXT"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","PHONE"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","UPLOAD"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","CHECKLIST"===i.box.userInputDataType)}}function A9(s,b){if(1&s&&t._UZ(0,"img",129),2&s){const i=t.oxw().$implicit;t.s9C("src",i.choiceBox.imageUrl,t.LSH),t.s9C("alt",i.choiceBox.boxCaption)}}function E9(s,b){if(1&s&&(t.TgZ(0,"mat-option",125)(1,"div",126),t.YNc(2,A9,1,2,"
1img",127),t.qZA(),t.TgZ(3,"p",128),t._uU(4),t.qZA()()),2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function I9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",122)(1,"mat-select",123),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);return t.KtG(y.selectedChoiceBox=c)})("selectionChange",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.updateChoiceToBoxLayer(c.selectedChoiceBox))}),t.YNc(2,E9,5,3,"mat-option",124),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function F9(s,b){if(1&s&&(t.TgZ(0,"div",138),t._UZ(1,"img",139),t.qZA()),2&s){const i=t.oxw().$implicit;t.xp6(1),t.s9C("alt",i.choiceBox.boxCaption),t.s9C("src",i.choiceBox.imageUrl,t.LSH)}}function M9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-button-toggle",134),t.NdJ("change",function(){const y=t.CHM(i).$implicit,v=t.oxw(6);return t.KtG(v.updateChoiceToBoxLayer(y.choiceBox.boxCaption))}),t.TgZ(1,"div",135),t.YNc(2,F9,2,2,"div",136),t.TgZ(3,"div",137),t._uU(4),t.qZA()()()}if(2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function N9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",130)(1,"div",131)(2,"mat-button-toggle-group",132),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);return t.KtG(y.selectedChoiceBox=c)}),t.YNc(3,M9,5,3,"mat-button-toggle",133),t.qZA()()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(2),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function L9(s,b){if(1&s&&(t.TgZ(0,"div",140),t.YNc(1,f9,2,1,"p",97),t.YNc(2,_9,2,1,"p",97),t.YNc(3,p9,2,1,"p",98),t.YNc(4,g9,2,1,"p",98),t.YNc(5,m9,2,1,"p",98),t.YNc(6,S9,7,5,"form",99),t.YNc(7,I9,3,2,"div",100),t.YNc(8,N9,4,2,"div",101),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("ngClass",d.getAnimatedVersionBoxClass(d.disableClick,i,"layer3")),t.xp6(1),t.Q6J("ngIf","C"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"!==i.box.mcbChoiceDisplayMode),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"===i.box.mcbChoiceDisplayMode)}}function U9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Z9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function O9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function B9(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function P9(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function R9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function J9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function H9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function Y9(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function q9(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function V9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Q9(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,U9,3,2,"button",142),t.YNc(2,Z9,1,4,"button",143),t.YNc(3,O9,1,4,"button",144),t.YNc(4,B9,3,3,"a",145),t.YNc(5,P9,1,5,"a",146),t.YNc(6,R9,3,3,"a",147),t.YNc(7,J9,1,5,"a",148),t.YNc(8,H9,5,3,"a",149),t.YNc(9,Y9,5,3,"a",92),t.YNc(10,q9,1,5,"a",93),t.YNc(11,V9,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode&&i.box.inArrowCount>0&&"E"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function $9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function j9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function G9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function z9(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function K9(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function W9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function X9(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function tD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function eD(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function nD(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function iD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function rD(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,$9,3,2,"button",142),t.YNc(2,j9,1,4,"button",143),t.YNc(3,G9,1,4,"button",144),t.YNc(4,z9,3,3,"a",145),t.YNc(5,K9,1,5,"a",146),t.YNc(6,W9,3,3,"a",147),t.YNc(7,X9,1,5,"a",148),t.YNc(8,tD,5,3,"a",149),t.YNc(9,eD,5,3,"a",92),t.YNc(10,nD,1,5,"a",93),t.YNc(11,iD,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function oD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function aD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function sD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function cD(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function lD(s,b){if(1&s&&t._UZ(0,"a",196),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function uD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function hD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function dD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function fD(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function _D(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function pD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function gD(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,oD,3,2,"button",142),t.YNc(2,aD,1,4,"button",143),t.YNc(3,sD,1,4,"button",144),t.YNc(4,cD,3,3,"a",145),t.YNc(5,lD,1,5,"a",195),t.YNc(6,uD,3,3,"a",147),t.YNc(7,hD,1,5,"a",148),t.YNc(8,dD,5,3,"a",149),t.YNc(9,fD,5,3,"a",92),t.YNc(10,_D,1,5,"a",93),t.YNc(11,pD,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function mD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function vD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function yD(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function xD(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function bD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function wD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function TD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function CD(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function kD(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function DD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function SD(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,mD,1,4,"button",143),t.YNc(2,vD,1,4,"button",144),t.YNc(3,yD,3,3,"a",145),t.YNc(4,xD,1,5,"a",146),t.YNc(5,bD,3,3,"a",147),t.YNc(6,wD,1,5,"a",148),t.YNc(7,TD,5,3,"a",149),t.YNc(8,CD,5,3,"a",92),t.YNc(9,kD,1,5,"a",93),t.YNc(10,DD,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function AD(s,b){if(1&s&&(t.TgZ(0,"div",164)(1,"a",165)(2,"mat-icon"),t._uU(3,"open_in_new"),t.qZA()()()),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.xp6(1),t.s9C("href",i.box.imageUrl,t.LSH)}}function ED(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",164)(1,"div",166)(2,"div",167)(3,"div",168),t._UZ(4,"iframe",169),t.ALo(5,"safe"),t.TgZ(6,"button",170),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.stopVideo())}),t.TgZ(7,"mat-icon"),t._uU(8,"close"),t.qZA()()()()(),t.TgZ(9,"div",171),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.playVideo())}),t.TgZ(10,"button",172)(11,"mat-icon"),t._uU(12,"play_circle_filled"),t.qZA()(),t.TgZ(13,"a",173)(14,"mat-icon"),t._uU(15,"open_in_new"),t.qZA()()()()}if(2&s){const i=t.oxw(4);t.xp6(4),t.Q6J("src",t.xi3(5,4,i.videoEmbedUrl,"resourceUrl"),t.uOi),t.xp6(5),t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.xp6(4),t.s9C("href",i.videoEmbedUrl,t.LSH)}}function ID(s,b){if(1&s&&(t.TgZ(0,"a",176)(1,"mat-icon",177),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}
1function FD(s,b){if(1&s&&(t.TgZ(0,"a",178),t.ALo(1,"safe"),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image",t.xi3(1,5,"url("+i.box.imageVideoThumbnailUrl+")","style")),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function MD(s,b){if(1&s&&(t.TgZ(0,"div",87),t.YNc(1,ID,3,3,"a",174),t.YNc(2,FD,2,8,"a",175),t.qZA()),2&s){const i=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngIf",i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl)}}function ND(s,b){if(1&s&&(t.TgZ(0,"a",179)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function LD(s,b){if(1&s&&(t.TgZ(0,"a",180),t.ALo(1,"safe"),t.qZA()),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image",t.xi3(1,5,"url("+i.box.refLinkIconUrl+")","style")),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function UD(s,b){if(1&s&&(t.TgZ(0,"a",181)(1,"span",182)(2,"mat-icon",159),t._uU(3,"description"),t.qZA(),t.TgZ(4,"mat-icon",160),t._uU(5,"attachment"),t.qZA()(),t.TgZ(6,"span",183),t._uU(7),t.qZA()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(7),t.Oqu(i.box.fileAttachmentName)}}function ZD(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"span",182)(2,"mat-icon",159),t._uU(3,"description"),t.qZA(),t.TgZ(4,"mat-icon",160),t._uU(5,"attachment"),t.qZA()()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function OD(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function BD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",184),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function PD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",185),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function RD(s,b){if(1&s&&(t.TgZ(0,"div",78),t._UZ(1,"span",79),t.YNc(2,d9,9,9,"div",80),t.YNc(3,L9,9,9,"div",81),t.YNc(4,Q9,12,11,"div",82),t.YNc(5,rD,12,11,"div",82),t.YNc(6,gD,12,11,"div",82),t.YNc(7,SD,11,10,"div",82),t.TgZ(8,"div",83),t.YNc(9,AD,4,3,"div",84),t.YNc(10,ED,16,7,"div",85),t.YNc(11,MD,3,2,"div",86),t.TgZ(12,"p",87),t.YNc(13,ND,3,3,"a",88),t.YNc(14,LD,2,8,"a",89),t.qZA(),t.TgZ(15,"p",90),t.YNc(16,UD,8,4,"a",91),t.YNc(17,ZD,6,3,"a",92),t.YNc(18,OD,1,5,"a",93),t.qZA(),t.YNc(19,BD,3,2,"button",94),t.YNc(20,PD,3,2,"button",95),t.qZA(),t._UZ(21,"span",79),t.qZA()),2&s){const i=t.oxw(),d=i.index,c=i.$implicit,y=t.oxw(2);t.MGl("id","layer3-",d,""),t.Q6J("ngClass",y.getAnimatedVersionBoxContainerClass(c,"layer3")),t.xp6(2),t.Q6J("ngIf",y.enableLayerClickEvent("layer3")),t.xp6(1),t.Q6J("ngIf",!y.enableLayerClickEvent("layer3")),t.xp6(1),t.Q6J("ngIf","S"===c.box.boxShapeType||"E"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","D"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===c.box.boxShapeType),t.xp6(2),t.Q6J("ngIf","I"===c.box.imageVideoOption&&c.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===c.box.imageVideoOption&&c.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===c.box.imageVideoOption&&c.box.imageVideoLink),t.xp6(2),t.Q6J("ngIf",c.box.refLink&&!c.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",c.box.refLink&&c.box.refLinkIconUrl),t.xp6(2),t.Q6J("ngIf",c.box.fileUrl),t.xp6(1),t.Q6J("ngIf",c.box.fileAttachmentLink&&!c.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",c.box.fileAttachmentLink&&c.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!y.flowchartDetails.publishedCode&&c.box.inArrowCount>
10&&"M"!==c.box.boxShapeType&&"E"!==c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf",!y.flowchartDetails.publishedCode)}}function JD(s,b){if(1&s&&(t.ynx(0),t.YNc(1,RD,22,18,"div",77),t.BQk()),2&s){const i=b.$implicit;t.xp6(1),t.Q6J("ngIf","E"!==i.box.boxShapeType)}}function HD(s,b){if(1&s&&(t.TgZ(0,"div",186)(1,"div",187)(2,"a",188)(3,"mat-icon"),t._uU(4,"zoom_in"),t.qZA()()()()),2&s){const i=t.oxw(2);t.xp6(1),t.Udp("background-image","url("+i.flowchartDetails.currentBox.imageUrl+")"),t.xp6(1),t.s9C("href",i.flowchartDetails.currentBox.imageUrl,t.LSH)}}function YD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",189)(1,"div",166)(2,"div",167)(3,"div",168),t._UZ(4,"iframe",169),t.ALo(5,"safe"),t.TgZ(6,"button",170),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.stopVideo())}),t.TgZ(7,"mat-icon"),t._uU(8,"close"),t.qZA()()()()(),t.TgZ(9,"div",171),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.playVideo())}),t.TgZ(10,"button",172)(11,"mat-icon"),t._uU(12,"play_circle_filled"),t.qZA()(),t.TgZ(13,"a",173)(14,"mat-icon"),t._uU(15,"open_in_new"),t.qZA()()()()}if(2&s){const i=t.oxw(2);t.xp6(4),t.Q6J("src",t.xi3(5,4,i.videoEmbedUrl,"resourceUrl"),t.uOi),t.xp6(5),t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.xp6(4),t.s9C("href",i.videoEmbedUrl,t.LSH)}}function qD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",190),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.backToKnowledgebasePage())}),t.TgZ(1,"mat-icon"),t._uU(2,"local_library"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Knowl. Base"),t.qZA()()}}function VD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",191),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.backToOrgHomePage())}),t.TgZ(1,"mat-icon"),t._uU(2,"business_center"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Org-Home"),t.qZA()()}}function QD(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.boxCaption," ")}}function $D(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.mcbBoxCaption," ")}}function jD(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.userInputData," ")}}function GD(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice : ",i.box.selectedChoiceBox.boxCaption," ")}}function zD(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice: ",i.box.boxCaption," ")}}function KD(s,b){1&s&&(t.TgZ(0,"mat-error"),t._uU(1," Please enter a valid email address "),t.qZA())}function WD(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",109,110),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA(),t.YNc(3,KD,2,0,"mat-error",45),t.qZA()}if(2&s){const i=t.MAs(2),d=t.oxw(4).$implicit,c=t.oxw(2);t.xp6(1),t.Q6J("ngModel",c.userInputText[d.box.boxId]),t.xp6(2),t.Q6J("ngIf",!i.pristine&&(null==i.errors?null:i.errors.email))}}function XD(s,b){if(1&s&&(t.TgZ(0,"mat-hint",113),t._uU(1),t.qZA()),2&s){const i=t.oxw(5).$implicit,d=t.oxw(2);t.xp6(1),t.hij("",null==d.userInputText[i.box.boxId]?null:d.userInputText[i.box.boxId].length,"/200")}}function tS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"textarea",111),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t._uU(2," "),t.qZA(),t.YNc(3,XD,2,1,"mat-hint",112),t.qZA()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId]),t.xp6(2),t.Q6J("ngIf","TEXT"===i.box.userInputDataType)}}function eS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",114),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId])}}function nS(s,b){if(1&s&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&s){const i=t.oxw(7);t.xp6(1),t.Oqu(i.uploadErrMsg)}}function iS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",115)(1,"label",116),t._uU(2),t.qZA(),t._UZ(3,"br"),t.YNc(4,nS,2,1,"mat-error",45),t.TgZ(5,"input",117,118),t.NdJ("change",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.validateSelectedFile(c))}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(2),t.hij("Upload your file (Max ",d.flowchartOrg.userInputUploadSize,"KB)"),t.xp6(2),t.Q6J("ngIf",d.uploadErr),t.xp6(1),t.MGl("id","file-upload-",i.box.boxId,"")}}function rS(s,b){if(1&s&&(t.TgZ(0,"mat-option",121),t._uU(1),t.qZA()),2&s){const i=b.$implicit;t.Q6J("value",i.optionCaption),t.xp6(1),t.hij(" ",i.optionCaption," ")}}function oS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"mat-select",119),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.selectedChecklistOptions=c)}),t.YNc(2,rS,2,2,"mat-option",120),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.selectedChecklistOptions)("ngModelOptions",t.DdM(3,ys)),t.xp6(1),t.Q6J("ngForOf",i.box.boxUserInputCustomOptionList)}}function aS(s,b){if(1&s&&(t.TgZ(0,"form",104,105),t.YNc(2,WD,4,2,"mat-form-field",106),t.YNc(3,tS,4,2,"mat-form-field",106),t.YNc(4,eS,2,1,"mat-form-field",106),t.YNc(5,iS,7,3,"div",107),t.YNc(6,oS,3,4,"mat-form-field",106),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(2),t.Q6J("ngIf","EMAIL"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","TEXT"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","PHONE"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","UPLOAD"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","CHECKLIST"===i.box.userInputDataType)}}function sS(s,b){if(1&s&&t._UZ(0,"img",129),2&s){const i=t.oxw().$implicit;t.s9C("src",i.choiceBox.imageUrl,t.LSH),t.s9C("alt",i.choiceBox.boxCaption)}}function cS(s,b){if(1&s&&(t.TgZ(0,"mat-option",125)(1,"div",126),t.YNc(2,sS,1,2,"img",127),t.qZA(),t.TgZ(3,"p",128),t._uU(4),t.qZA()()),2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function lS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",122)(1,"mat-select",123),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);
1return t.KtG(y.selectedChoiceBox=c)})("selectionChange",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.updateChoiceToBoxLayer(c.selectedChoiceBox))}),t.YNc(2,cS,5,3,"mat-option",124),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function uS(s,b){if(1&s&&(t.TgZ(0,"div",138),t._UZ(1,"img",139),t.qZA()),2&s){const i=t.oxw().$implicit;t.xp6(1),t.s9C("alt",i.choiceBox.boxCaption),t.s9C("src",i.choiceBox.imageUrl,t.LSH)}}function hS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-button-toggle",134),t.NdJ("change",function(){const y=t.CHM(i).$implicit,v=t.oxw(6);return t.KtG(v.updateChoiceToBoxLayer(y.choiceBox.boxCaption))}),t.TgZ(1,"div",135),t.YNc(2,uS,2,2,"div",136),t.TgZ(3,"div",137),t._uU(4),t.qZA()()()}if(2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function dS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",130)(1,"div",131)(2,"mat-button-toggle-group",132),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);return t.KtG(y.selectedChoiceBox=c)}),t.YNc(3,hS,5,3,"mat-button-toggle",133),t.qZA()()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(2),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function fS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",96),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw(2).$implicit,v=t.oxw(2);return t.KtG(v.loadNextLayer(c,y.boxId,y.fromBoxCorner,y.box,v.flowchartDetails.currentBox,!1,!1))}),t.YNc(1,QD,2,1,"p",97),t.YNc(2,$D,2,1,"p",97),t.YNc(3,jD,2,1,"p",98),t.YNc(4,GD,2,1,"p",98),t.YNc(5,zD,2,1,"p",98),t.YNc(6,aS,7,5,"form",99),t.YNc(7,lS,3,2,"div",100),t.YNc(8,dS,4,2,"div",101),t.qZA()}if(2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("ngClass",d.getAnimatedVersionBoxClass(d.disableClick,i,"layer4")),t.xp6(1),t.Q6J("ngIf","C"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"!==i.box.mcbChoiceDisplayMode),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"===i.box.mcbChoiceDisplayMode)}}function _S(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.boxCaption," ")}}function pS(s,b){if(1&s&&(t.TgZ(0,"p",102),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.mcbBoxCaption," ")}}function gS(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" ",i.box.userInputData," ")}}function mS(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice : ",i.box.selectedChoiceBox.boxCaption," ")}}function vS(s,b){if(1&s&&(t.TgZ(0,"p",103),t._uU(1),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(1),t.hij(" Choice: ",i.box.boxCaption," ")}}function yS(s,b){1&s&&(t.TgZ(0,"mat-error"),t._uU(1," Please enter a valid email address "),t.qZA())}function xS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",109,110),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA(),t.YNc(3,yS,2,0,"mat-error",45),t.qZA()}if(2&s){const i=t.MAs(2),d=t.oxw(4).$implicit,c=t.oxw(2);t.xp6(1),t.Q6J("ngModel",c.userInputText[d.box.boxId]),t.xp6(2),t.Q6J("ngIf",!i.pristine&&(null==i.errors?null:i.errors.email))}}function bS(s,b){if(1&s&&(t.TgZ(0,"mat-hint",113),t._uU(1),t.qZA()),2&s){const i=t.oxw(5).$implicit,d=t.oxw(2);t.xp6(1),t.hij("",null==d.userInputText[i.box.boxId]?null:d.userInputText[i.box.boxId].length,"/200")}}function wS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"textarea",111),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t._uU(2," "),t.qZA(),t.YNc(3,bS,2,1,"mat-hint",112),t.qZA()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId]),t.xp6(2),t.Q6J("ngIf","TEXT"===i.box.userInputDataType)}}function TS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"input",114),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(4).$implicit,v=t.oxw(2);return t.KtG(v.userInputText[y.box.boxId]=c)}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.userInputText[i.box.boxId])}}function CS(s,b){if(1&s&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&s){const i=t.oxw(7);t.xp6(1),t.Oqu(i.uploadErrMsg)}}function kS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",115)(1,"label",116),t._uU(2),t.qZA(),t._UZ(3,"br"),t.YNc(4,CS,2,1,"mat-error",45),t.TgZ(5,"input",117,118),t.NdJ("change",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.validateSelectedFile(c))}),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(2),t.hij("Upload your file (Max ",d.flowchartOrg.userInputUploadSize,"KB)"),t.xp6(2),t.Q6J("ngIf",d.uploadErr),t.xp6(1),t.MGl("id","file-upload-",i.box.boxId,"")}}function DS(s,b){if(1&s&&(t.TgZ(0,"mat-option",121),t._uU(1),t.qZA()),2&s){const i=b.$implicit;t.Q6J("value",i.optionCaption),t.xp6(1),t.hij(" ",i.optionCaption," ")}}function SS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-form-field",108)(1,"mat-select",119),t.NdJ("ngModelChange",function(c){t.CHM(i);const y=t.oxw(6);return t.KtG(y.selectedChecklistOptions=c)}),t.YNc(2,DS,2,2,"mat-option",120),t.qZA()()}if(2&s){const i=t.oxw(4).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",d.selectedChecklistOptions)("ngModelOptions",t.DdM(3,ys)),t.xp6(1),t.Q6J("ngForOf",i.box.boxUserInputCustomOptionList)}}function AS(s,b){if(1&s&&(t.TgZ(0,"form",104,105),t.YNc(2,xS,4,2,"mat-form-field",106),t.YNc(3,wS,4,2,"mat-form-field",106),t.YNc(4,TS,2,1,"mat-form-field",106),t.YNc(5,kS,7,3,"div",107),t.YNc(6,SS,3,4,"mat-form-field",106),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.xp6(2),t.Q6J("ngIf","EMAIL"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","TEXT"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","PHONE"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","UPLOAD"===i.box.userInputDataType),t.xp6(1),t.Q6J("ngIf","CHECKLIST"===i.box.userInputDataType)}}function ES(s,b){if(1&s&&t._UZ(0,"img",198),2&s){const i=t.oxw().$implicit;t.s9C("src",i.choiceBox.imageUrl,t.LSH)}}function IS(s,b){if(1&s&&(t.TgZ(0,"mat-option",125),t.YNc(1,ES,1,1,"img",197),t.TgZ(2,"p",128),t._uU(3),t.qZA()()),2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(1),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function FS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",122)(1,"mat-select",123),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);
1return t.KtG(y.selectedChoiceBox=c)})("selectionChange",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.updateChoiceToBoxLayer(c.selectedChoiceBox))}),t.YNc(2,IS,4,3,"mat-option",124),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function MS(s,b){if(1&s&&(t.TgZ(0,"div",138),t._UZ(1,"img",139),t.qZA()),2&s){const i=t.oxw().$implicit;t.xp6(1),t.s9C("alt",i.choiceBox.boxCaption),t.s9C("src",i.choiceBox.imageUrl,t.LSH)}}function NS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"mat-button-toggle",134),t.NdJ("change",function(){const y=t.CHM(i).$implicit,v=t.oxw(6);return t.KtG(v.updateChoiceToBoxLayer(y.choiceBox.boxCaption))}),t.TgZ(1,"div",135),t.YNc(2,MS,2,2,"div",136),t.TgZ(3,"div",137),t._uU(4),t.qZA()()()}if(2&s){const i=b.$implicit;t.Q6J("value",i.choiceBox.boxCaption),t.xp6(2),t.Q6J("ngIf",i.choiceBox.imageUrl),t.xp6(2),t.hij(" ",i.choiceBox.boxCaption," ")}}function LS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",130)(1,"div",131)(2,"mat-button-toggle-group",132),t.NdJ("valueChange",function(c){t.CHM(i);const y=t.oxw(5);return t.KtG(y.selectedChoiceBox=c)}),t.YNc(3,NS,5,3,"mat-button-toggle",133),t.qZA()()()}if(2&s){const i=t.oxw(3).$implicit,d=t.oxw(2);t.xp6(2),t.Q6J("value",d.selectedChoiceBox),t.xp6(1),t.Q6J("ngForOf",i.box.choiceBoxDetails)}}function US(s,b){if(1&s&&(t.TgZ(0,"div",140),t.YNc(1,_S,2,1,"p",97),t.YNc(2,pS,2,1,"p",97),t.YNc(3,gS,2,1,"p",98),t.YNc(4,mS,2,1,"p",98),t.YNc(5,vS,2,1,"p",98),t.YNc(6,AS,7,5,"form",99),t.YNc(7,FS,3,2,"div",100),t.YNc(8,LS,4,2,"div",101),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.Q6J("ngClass",d.getAnimatedVersionBoxClass(d.disableClick,i,"layer4")),t.xp6(1),t.Q6J("ngIf","C"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","C"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"!==i.box.mcbChoiceDisplayMode),t.xp6(1),t.Q6J("ngIf","M"===i.box.boxShapeType&&"H"===i.box.mcbChoiceDisplayMode)}}function ZS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function OS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function BS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function PS(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function RS(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function JS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function HS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function YS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function qS(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function VS(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function QS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function $S(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,ZS,3,2,"button",142),t.YNc(2,OS,1,4,"button",143),t.YNc(3,BS,1,4,"button",144),t.YNc(4,PS,3,3,"a",145),t.YNc(5,RS,1,5,"a",146),t.YNc(6,JS,3,3,"a",147),t.YNc(7,HS,1,5,"a",148),t.YNc(8,YS,5,3,"a",149),t.YNc(9,qS,5,3,"a",92),t.YNc(10,VS,1,5,"a",93),t.YNc(11,QS,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode&&i.box.inArrowCount>0&&"E"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function jS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function GS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function zS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function KS(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function WS(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function XS(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function tA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function eA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function nA(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function iA(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function rA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function oA(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,jS,3,2,"button",142),t.YNc(2,GS,1,4,"button",143),t.YNc(3,zS,1,4,"button",144),t.YNc(4,KS,3,3,"a",145),t.YNc(5,WS,1,5,"a",146),t.YNc(6,XS,3,3,"a",147),t.YNc(7,tA,1,5,"a",148),t.YNc(8,eA,5,3,"a",149),t.YNc(9,nA,5,3,"a",92),t.YNc(10,iA,1,5,"a",93),t.YNc(11,rA,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function aA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",151),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(3).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function sA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function cA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function lA(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function uA(s,b){if(1&s&&t._UZ(0,"a",196),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function hA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function dA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function fA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function _A(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function pA(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function gA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function mA(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,aA,3,2,"button",142),t.YNc(2,sA,1,4,"button",143),t.YNc(3,cA,1,4,"button",144),t.YNc(4,lA,3,3,"a",145),t.YNc(5,uA,1,5,"a",195),t.YNc(6,hA,3,3,"a",147),t.YNc(7,dA,1,5,"a",148),t.YNc(8,fA,5,3,"a",149),t.YNc(9,_A,5,3,"a",92),t.YNc(10,pA,1,5,"a",93),t.YNc(11,gA,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode),t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function vA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",152),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxImage())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function yA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",153),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.showCenterBoxVideoThumbnail())}),t.qZA()}if(2&s){const i=t.oxw(5);t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function xA(s,b){if(1&s&&(t.TgZ(0,"a",154)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function bA(s,b){if(1&s&&t._UZ(0,"a",155),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.imageVideoThumbnailUrl+")"),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function wA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",156),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.TgZ(1,"mat-icon"),t._uU(2,"link"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function TA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",157),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenRefLinkOnBoxMilestone())}),t.qZA()}if(2&s){const i=t.oxw(3).$implicit;
1t.Udp("background-image","url("+i.box.refLinkIconUrl+")"),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function CA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"a",158),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.captureOpenAttachmentOnBoxMilestone())}),t.TgZ(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()}if(2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function kA(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"mat-icon",159),t._uU(2,"description"),t.qZA(),t.TgZ(3,"mat-icon",160),t._uU(4,"attachment"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function DA(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function SA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",163),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(5);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function AA(s,b){if(1&s&&(t.TgZ(0,"div",141),t.YNc(1,vA,1,4,"button",143),t.YNc(2,yA,1,4,"button",144),t.YNc(3,xA,3,3,"a",145),t.YNc(4,bA,1,5,"a",146),t.YNc(5,wA,3,3,"a",147),t.YNc(6,TA,1,5,"a",148),t.YNc(7,CA,5,3,"a",149),t.YNc(8,kA,5,3,"a",92),t.YNc(9,DA,1,5,"a",93),t.YNc(10,SA,3,2,"button",150),t.qZA()),2&s){const i=t.oxw(2).$implicit,d=t.oxw(2);t.xp6(1),t.Q6J("ngIf","I"===i.box.imageVideoOption&&i.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===i.box.imageVideoOption&&i.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf","E"===i.box.imageVideoOption&&i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&!i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.refLink&&i.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&!i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",i.box.fileAttachmentLink&&i.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!d.flowchartDetails.publishedCode)}}function EA(s,b){if(1&s&&(t.TgZ(0,"div",164)(1,"a",165)(2,"mat-icon"),t._uU(3,"open_in_new"),t.qZA()()()),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image","url("+i.box.imageUrl+")"),t.xp6(1),t.s9C("href",i.box.imageUrl,t.LSH)}}function IA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",164)(1,"div",166)(2,"div",167)(3,"div",168),t._UZ(4,"iframe",169),t.ALo(5,"safe"),t.TgZ(6,"button",170),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.stopVideo())}),t.TgZ(7,"mat-icon"),t._uU(8,"close"),t.qZA()()()()(),t.TgZ(9,"div",171),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.playVideo())}),t.TgZ(10,"button",172)(11,"mat-icon"),t._uU(12,"play_circle_filled"),t.qZA()(),t.TgZ(13,"a",173)(14,"mat-icon"),t._uU(15,"open_in_new"),t.qZA()()()()}if(2&s){const i=t.oxw(4);t.xp6(4),t.Q6J("src",t.xi3(5,4,i.videoEmbedUrl,"resourceUrl"),t.uOi),t.xp6(5),t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.xp6(4),t.s9C("href",i.videoEmbedUrl,t.LSH)}}function FA(s,b){if(1&s&&(t.TgZ(0,"a",176)(1,"mat-icon",177),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(3).$implicit;t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}
1function MA(s,b){if(1&s&&(t.TgZ(0,"a",178),t.ALo(1,"safe"),t.qZA()),2&s){const i=t.oxw(3).$implicit;t.Udp("background-image",t.xi3(1,5,"url("+i.box.imageVideoThumbnailUrl+")","style")),t.s9C("href",i.box.imageVideoLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function NA(s,b){if(1&s&&(t.TgZ(0,"div",87),t.YNc(1,FA,3,3,"a",174),t.YNc(2,MA,2,8,"a",175),t.qZA()),2&s){const i=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngIf",i.box.imageVideoLink&&!i.box.imageVideoThumbnailUrl),t.xp6(1),t.Q6J("ngIf",i.box.imageVideoLink&&i.box.imageVideoThumbnailUrl)}}function LA(s,b){if(1&s&&(t.TgZ(0,"a",179)(1,"mat-icon"),t._uU(2,"link"),t.qZA()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function UA(s,b){if(1&s&&(t.TgZ(0,"a",180),t.ALo(1,"safe"),t.qZA()),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image",t.xi3(1,5,"url("+i.box.refLinkIconUrl+")","style")),t.s9C("href",i.box.refLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function ZA(s,b){if(1&s&&(t.TgZ(0,"a",181)(1,"span",182)(2,"mat-icon",159),t._uU(3,"description"),t.qZA(),t.TgZ(4,"mat-icon",160),t._uU(5,"attachment"),t.qZA()(),t.TgZ(6,"span",183),t._uU(7),t.qZA()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.fileUrl,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300),t.xp6(7),t.Oqu(i.box.fileAttachmentName)}}function OA(s,b){if(1&s&&(t.TgZ(0,"a",161)(1,"span",182)(2,"mat-icon",159),t._uU(3,"description"),t.qZA(),t.TgZ(4,"mat-icon",160),t._uU(5,"attachment"),t.qZA()()()),2&s){const i=t.oxw(2).$implicit;t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function BA(s,b){if(1&s&&t._UZ(0,"a",162),2&s){const i=t.oxw(2).$implicit;t.Udp("background-image","url("+i.box.fileAttachmentIconUrl+")"),t.s9C("href",i.box.fileAttachmentLink,t.LSH),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function PA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",184),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2).$implicit,y=t.oxw(2);return t.KtG(y.openAddBookmarkDialog(c.box))}),t.TgZ(1,"mat-icon"),t._uU(2,"bookmark_border"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function RA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",185),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(4);return t.KtG(c.sendFeedbackForBox())}),t.TgZ(1,"mat-icon"),t._uU(2,"feedback"),t.qZA()()}2&s&&t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function JA(s,b){if(1&s&&(t.TgZ(0,"div",78),t._UZ(1,"span",79),t.YNc(2,fS,9,9,"div",80),t.YNc(3,US,9,9,"div",81),t.YNc(4,$S,12,11,"div",82),t.YNc(5,oA,12,11,"div",82),t.YNc(6,mA,12,11,"div",82),t.YNc(7,AA,11,10,"div",82),t.TgZ(8,"div",83),t.YNc(9,EA,4,3,"div",84),t.YNc(10,IA,16,7,"div",85),t.YNc(11,NA,3,2,"div",86),t.TgZ(12,"p",87),t.YNc(13,LA,3,3,"a",88),t.YNc(14,UA,2,8,"a",89),t.qZA(),t.TgZ(15,"p",90),t.YNc(16,ZA,8,4,"a",91),t.YNc(17,OA,6,3,"a",92),t.YNc(18,BA,1,5,"a",93),t.qZA(),t.YNc(19,PA,3,2,"button",94),t.YNc(20,RA,3,2,"button",95),t.qZA(),t._UZ(21,"span",79),t.qZA()),2&s){const i=t.oxw(),d=i.index,c=i.$implicit,y=t.oxw(2);t.MGl("id","layer4-",d,""),t.Q6J("ngClass",y.getAnimatedVersionBoxContainerClass(c,"layer4")),t.xp6(2),t.Q6J("ngIf",y.enableLayerClickEvent("layer4")),t.xp6(1),t.Q6J("ngIf",!y.enableLayerClickEvent("layer4")),t.xp6(1),t.Q6J("ngIf","S"===c.box.boxShapeType||"E"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","D"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","I"===c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","M"===c.box.boxShapeType),t.xp6(2),t.Q6J("ngIf","I"===c.box.imageVideoOption&&c.box.imageUrl),t.xp6(1),t.Q6J("ngIf","V"===c.box.imageVideoOption&&c.box.videoLink),t.xp6(1),t.Q6J("ngIf","E"===c.box.imageVideoOption&&c.box.imageVideoLink),t.xp6(2),t.Q6J("ngIf",c.box.refLink&&!c.box.refLinkIconUrl),t.xp6(1),t.Q6J("ngIf",c.box.refLink&&c.box.refLinkIconUrl),t.xp6(2),t.Q6J("ngIf",c.box.fileUrl),t.xp6(1),t.Q6J("ngIf",c.box.fileAttachmentLink&&!c.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",c.box.fileAttachmentLink&&c.box.fileAttachmentIconUrl),t.xp6(1),t.Q6J("ngIf",!y.flowchartDetails.publishedCode&&c.box.inArrowCount>
10&&"M"!==c.box.boxShapeType&&"E"!==c.box.boxShapeType),t.xp6(1),t.Q6J("ngIf",!y.flowchartDetails.publishedCode)}}function HA(s,b){if(1&s&&(t.ynx(0),t.YNc(1,JA,22,18,"div",77),t.BQk()),2&s){const i=b.$implicit;t.xp6(1),t.Q6J("ngIf","E"!==i.box.boxShapeType)}}function YA(s,b){if(1&s&&(t.TgZ(0,"div",186)(1,"div",187)(2,"a",188)(3,"mat-icon"),t._uU(4,"zoom_in"),t.qZA()()()()),2&s){const i=t.oxw(2);t.xp6(1),t.Udp("background-image","url("+i.flowchartDetails.currentBox.imageUrl+")"),t.xp6(1),t.s9C("href",i.flowchartDetails.currentBox.imageUrl,t.LSH)}}function qA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",189)(1,"div",166)(2,"div",167)(3,"div",168),t._UZ(4,"iframe",169),t.ALo(5,"safe"),t.TgZ(6,"button",170),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.stopVideo())}),t.TgZ(7,"mat-icon"),t._uU(8,"close"),t.qZA()()()()(),t.TgZ(9,"div",171),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.playVideo())}),t.TgZ(10,"button",172)(11,"mat-icon"),t._uU(12,"play_circle_filled"),t.qZA()(),t.TgZ(13,"a",173)(14,"mat-icon"),t._uU(15,"open_in_new"),t.qZA()()()()}if(2&s){const i=t.oxw(2);t.xp6(4),t.Q6J("src",t.xi3(5,4,i.videoEmbedUrl,"resourceUrl"),t.uOi),t.xp6(5),t.Udp("background-image","url("+i.videoThumbnailImage+")"),t.xp6(4),t.s9C("href",i.videoEmbedUrl,t.LSH)}}function VA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",190),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.backToKnowledgebasePage())}),t.TgZ(1,"mat-icon"),t._uU(2,"local_library"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Knowl. Base"),t.qZA()()}}function QA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"button",191),t.NdJ("click",function(){t.CHM(i);const c=t.oxw(2);return t.KtG(c.backToOrgHomePage())}),t.TgZ(1,"mat-icon"),t._uU(2,"business_center"),t.qZA(),t.TgZ(3,"span"),t._uU(4,"Org-Home"),t.qZA()()}}function $A(s,b){if(1&s){const i=t.EpF();t.ynx(0),t.TgZ(1,"div",199)(2,"button",200),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw(2);return t.KtG(y.loadNextLayer(c,0,"",null,y.flowchartDetails.currentBox,!0,!0))}),t._uU(3," DONE\xa0 "),t.TgZ(4,"mat-icon"),t._uU(5,"stop"),t.qZA()()(),t.BQk()}if(2&s){const i=t.oxw(2);t.xp6(2),t.Q6J("disabled",i.disableClick||i.uploadErr)}}function jA(s,b){if(1&s&&(t.TgZ(0,"span",207),t._uU(1),t.qZA()),2&s){const i=t.oxw(3);t.xp6(1),t.hij("\xa0",i.flowchartDetails.currentBox.yesCaption,"")}}function GA(s,b){if(1&s&&(t.TgZ(0,"span",207),t._uU(1),t.qZA()),2&s){const i=t.oxw(3);t.xp6(1),t.hij("\xa0",i.flowchartDetails.currentBox.noCaption,"")}}function zA(s,b){if(1&s){const i=t.EpF();t.ynx(0),t.TgZ(1,"div",201)(2,"button",202),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw(2);return t.KtG(y.loadNextLayer(c,0,"",null,y.flowchartDetails.currentBox,!0,!0))}),t.TgZ(3,"span",203),t._uU(4,"DONE"),t.qZA(),t.TgZ(5,"mat-icon"),t._uU(6,"stop"),t.qZA(),t.YNc(7,jA,2,1,"span",204),t.qZA()(),t.TgZ(8,"div",205)(9,"button",206),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw(2);return t.KtG(y.loadNextLayer(c,0,"",null,y.flowchartDetails.currentBox,!0,!0))}),t.TgZ(10,"span",203),t._uU(11,"DONE"),t.qZA(),t.TgZ(12,"mat-icon"),t._uU(13,"stop"),t.qZA(),t.YNc(14,GA,2,1,"span",204),t.qZA()(),t.BQk()}if(2&s){const i=t.oxw(2);t.xp6(2),t.Q6J("disabled",i.disableClick||i.uploadErr),t.xp6(5),t.Q6J("ngIf",i.flowchartDetails.currentBox.yesCaption),t.xp6(2),t.Q6J("disabled",i.disableClick||i.uploadErr),t.xp6(5),t.Q6J("ngIf",i.flowchartDetails.currentBox.noCaption)}}function KA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",199)(1,"button",211),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw().$implicit,v=t.oxw(3);return t.KtG(v.loadNextLayer(c,y.boxId,y.fromBoxCorner,y.box,v.flowchartDetails.currentBox,!0,!1))}),t._uU(2," OK "),t.TgZ(3,"mat-icon"),t._uU(4,"skip_next"),t.qZA()()()}if(2&s){const i=t.oxw(4);t.xp6(1),t.Q6J("disabled",i.disableClick||i.uploadErr)}}function WA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",199)(1,"button",212),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw().$implicit,v=t.oxw(3);return t.KtG(v.loadNextLayer(c,y.boxId,y.fromBoxCorner,y.box,v.flowchartDetails.currentBox,!0,!1))}),t._uU(2," DONE\xa0 "),t.TgZ(3,"mat-icon"),t._uU(4,"send"),t.qZA()()()}if(2&s){const i=t.oxw(4);t.xp6(1),t.Q6J("disabled",i.disableClick||i.uploadErr)}}function XA(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",201)(1,"button",213),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw().$implicit,v=t.oxw(3);
1return t.KtG(v.loadNextLayer(c,y.boxId,y.fromBoxCorner,y.box,v.flowchartDetails.currentBox,!0,!1))}),t._uU(2," DONE\xa0 "),t.TgZ(3,"mat-icon"),t._uU(4,"send"),t.qZA()()()}if(2&s){const i=t.oxw(4);t.xp6(1),t.Q6J("disabled",i.disableClick||i.uploadErr)}}function tE(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",205)(1,"button",214),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw().$implicit,v=t.oxw(3);return t.KtG(v.loadNextLayer(c,y.boxId,y.fromBoxCorner,y.box,v.flowchartDetails.currentBox,!0,!1))}),t._uU(2," DONE\xa0 "),t.TgZ(3,"mat-icon"),t._uU(4,"send"),t.qZA()()()}if(2&s){const i=t.oxw(4);t.xp6(1),t.Q6J("disabled",i.disableClick||i.uploadErr)}}function eE(s,b){if(1&s&&(t.TgZ(0,"span",207),t._uU(1),t.qZA()),2&s){const i=t.oxw(5);t.xp6(1),t.hij("\xa0",i.flowchartDetails.currentBox.yesCaption,"")}}function nE(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",201)(1,"button",215),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw().$implicit,v=t.oxw(3);return t.KtG(v.loadNextLayer(c,y.boxId,y.fromBoxCorner,y.box,v.flowchartDetails.currentBox,!0,!1))}),t.TgZ(2,"span",203),t._uU(3,"YES"),t.qZA(),t.TgZ(4,"mat-icon"),t._uU(5,"done"),t.qZA(),t.YNc(6,eE,2,1,"span",204),t.qZA()()}if(2&s){const i=t.oxw(4);t.xp6(1),t.Q6J("disabled",i.disableClick||i.uploadErr),t.xp6(5),t.Q6J("ngIf",i.flowchartDetails.currentBox.yesCaption)}}function iE(s,b){if(1&s&&(t.TgZ(0,"span",207),t._uU(1),t.qZA()),2&s){const i=t.oxw(5);t.xp6(1),t.hij("\xa0",i.flowchartDetails.currentBox.yesCaption,"")}}function rE(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",201)(1,"button",216),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw(4);return t.KtG(y.loadNextLayer(c,0,"",null,y.flowchartDetails.currentBox,!0,!0))}),t.TgZ(2,"span",203),t._uU(3,"DONE"),t.qZA(),t.TgZ(4,"mat-icon"),t._uU(5,"stop"),t.qZA(),t.YNc(6,iE,2,1,"span",204),t.qZA()()}if(2&s){const i=t.oxw(4);t.xp6(1),t.Q6J("disabled",i.disableClick||i.uploadErr),t.xp6(5),t.Q6J("ngIf",i.flowchartDetails.currentBox.yesCaption)}}function oE(s,b){if(1&s&&(t.TgZ(0,"span",207),t._uU(1),t.qZA()),2&s){const i=t.oxw(5);t.xp6(1),t.hij("\xa0",i.flowchartDetails.currentBox.noCaption,"")}}function aE(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",205)(1,"button",217),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw().$implicit,v=t.oxw(3);return t.KtG(v.loadNextLayer(c,y.boxId,y.fromBoxCorner,y.box,v.flowchartDetails.currentBox,!0,!1))}),t.TgZ(2,"span",203),t._uU(3,"NO"),t.qZA(),t.TgZ(4,"mat-icon"),t._uU(5,"clear"),t.qZA(),t.YNc(6,oE,2,1,"span",204),t.qZA()()}if(2&s){const i=t.oxw(4);t.xp6(1),t.Q6J("disabled",i.disableClick||i.uploadErr),t.xp6(5),t.Q6J("ngIf",i.flowchartDetails.currentBox.noCaption)}}function sE(s,b){if(1&s&&(t.TgZ(0,"span",207),t._uU(1),t.qZA()),2&s){const i=t.oxw(5);t.xp6(1),t.hij("\xa0",i.flowchartDetails.currentBox.noCaption,"")}}function cE(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",205)(1,"button",206),t.NdJ("click",function(c){t.CHM(i);const y=t.oxw(4);return t.KtG(y.loadNextLayer(c,0,"",null,y.flowchartDetails.currentBox,!0,!0))}),t.TgZ(2,"span",203),t._uU(3,"DONE"),t.qZA(),t.TgZ(4,"mat-icon"),t._uU(5,"stop"),t.qZA(),t.YNc(6,sE,2,1,"span",204),t.qZA()()}if(2&s){const i=t.oxw(4);t.xp6(1),t.Q6J("disabled",i.disableClick||i.uploadErr),t.xp6(5),t.Q6J("ngIf",i.flowchartDetails.currentBox.noCaption)}}function lE(s,b){if(1&s&&(t.ynx(0),t.YNc(1,KA,5,1,"div",208),t.YNc(2,WA,5,1,"div",208),t.YNc(3,XA,5,1,"div",209),t.YNc(4,tE,5,1,"div",210),t.YNc(5,nE,7,2,"div",209),t.YNc(6,rE,7,2,"div",209),t.YNc(7,aE,7,2,"div",210),t.YNc(8,cE,7,2,"div",210),t.BQk()),2&s){const i=b.$implicit,d=t.oxw(3);t.xp6(1),t.Q6J("ngIf",("S"===d.flowchartDetails.currentBox.boxShapeType||"I"===d.flowchartDetails.currentBox.boxShapeType||"M"===d.flowchartDetails.currentBox.boxShapeType)&&"E"!==i.box.boxShapeType),t.xp6(1),t.Q6J("ngIf","E"===i.box.boxShapeType&&"T"===i.fromBoxCorner),t.xp6(1),t.Q6J("ngIf","E"===i.box.boxShapeType&&"Y"===i.fromBoxCorner),t.xp6(1),t.Q6J("ngIf","E"===i.box.boxShapeType&&"N"===i.fromBoxCorner),t.xp6(1),t.Q6J("ngIf","D"===d.flowchartDetails.currentBox.boxShapeType&&"Y"===i.fromBoxCorner),t.xp6(1),t.Q6J("ngIf",1===d.flowchartDetails.toBoxList.length&&"D"===d.flowchartDetails.currentBox.boxShapeType&&"Y"!==i.fromBo
1xCorner),t.xp6(1),t.Q6J("ngIf","D"===d.flowchartDetails.currentBox.boxShapeType&&"N"===i.fromBoxCorner),t.xp6(1),t.Q6J("ngIf","D"===d.flowchartDetails.currentBox.boxShapeType&&1===d.flowchartDetails.toBoxList.length&&"N"!==i.fromBoxCorner)}}function uE(s,b){if(1&s&&(t.ynx(0),t.YNc(1,lE,9,8,"ng-container",56),t.BQk()),2&s){const i=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",i.flowchartDetails.toBoxList)}}function hE(s,b){if(1&s){const i=t.EpF();t.TgZ(0,"div",51),t.YNc(1,kw,1,0,"mat-spinner",52),t.TgZ(2,"div",53),t.NdJ("@layerTrigger.start",function(c){t.CHM(i);const y=t.oxw();return t.KtG(y.layerAnimationStart(c))})("@layerTrigger.done",function(c){t.CHM(i);const y=t.oxw();return t.KtG(y.layerAnimationDone(c))}),t.TgZ(3,"div",54)(4,"div",55),t.YNc(5,b6,2,1,"ng-container",56),t.qZA(),t.YNc(6,w6,5,3,"div",57),t.YNc(7,T6,16,7,"div",58),t.TgZ(8,"button",59)(9,"mat-icon"),t._uU(10,"arrow_back_ios"),t.qZA(),t.TgZ(11,"span",60),t._uU(12," Back"),t.qZA()(),t.TgZ(13,"mat-menu",null,61)(15,"button",62),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.historyBackRender())}),t.TgZ(16,"mat-icon"),t._uU(17,"arrow_back_ios"),t.qZA(),t.TgZ(18,"span"),t._uU(19,"Step Back on Path"),t.qZA()(),t.TgZ(20,"button",63),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.restartFlowchart())}),t.TgZ(21,"mat-icon"),t._uU(22,"settings_backup_restore"),t.qZA(),t.TgZ(23,"span"),t._uU(24,"Restart Flowchart"),t.qZA()(),t.TgZ(25,"button",64),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.openMyStepsDialog())}),t.TgZ(26,"mat-icon"),t._uU(27,"directions_walk"),t.qZA(),t.TgZ(28,"span"),t._uU(29,"My Steps"),t.qZA()(),t.YNc(30,C6,5,0,"button",65),t.YNc(31,k6,5,0,"button",66),t.qZA()()(),t.TgZ(32,"div",67),t.NdJ("@layerTrigger.start",function(c){t.CHM(i);const y=t.oxw();return t.KtG(y.layerAnimationStart(c))})("@layerTrigger.done",function(c){t.CHM(i);const y=t.oxw();return t.KtG(y.layerAnimationDone(c))}),t.TgZ(33,"div",54)(34,"div",55),t.YNc(35,P7,2,1,"ng-container",56),t.qZA(),t.YNc(36,R7,5,3,"div",57),t.YNc(37,J7,16,7,"div",58),t.TgZ(38,"button",59)(39,"mat-icon"),t._uU(40,"arrow_back_ios"),t.qZA(),t.TgZ(41,"span",60),t._uU(42," Back"),t.qZA()(),t.TgZ(43,"mat-menu",null,61)(45,"button",62),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.historyBackRender())}),t.TgZ(46,"mat-icon"),t._uU(47,"arrow_back_ios"),t.qZA(),t.TgZ(48,"span"),t._uU(49,"Step Back on Path"),t.qZA()(),t.TgZ(50,"button",63),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.restartFlowchart())}),t.TgZ(51,"mat-icon"),t._uU(52,"settings_backup_restore"),t.qZA(),t.TgZ(53,"span"),t._uU(54,"Restart Flowchart"),t.qZA()(),t.TgZ(55,"button",64),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.openMyStepsDialog())}),t.TgZ(56,"mat-icon"),t._uU(57,"directions_walk"),t.qZA(),t.TgZ(58,"span"),t._uU(59,"My Steps"),t.qZA()(),t.YNc(60,H7,5,0,"button",65),t.YNc(61,Y7,5,0,"button",66),t.qZA()()(),t.TgZ(62,"div",68),t.NdJ("@layerTrigger.start",function(c){t.CHM(i);const y=t.oxw();return t.KtG(y.layerAnimationStart(c))})("@layerTrigger.done",function(c){t.CHM(i);const y=t.oxw();return t.KtG(y.layerAnimationDone(c))}),t.TgZ(63,"div",54)(64,"div",55),t.YNc(65,R8,2,1,"ng-container",56),t.qZA(),t.YNc(66,J8,5,3,"div",57),t.YNc(67,H8,16,7,"div",58),t.TgZ(68,"button",59)(69,"mat-icon"),t._uU(70,"arrow_back_ios"),t.qZA(),t.TgZ(71,"span",60),t._uU(72," Back"),t.qZA()(),t.TgZ(73,"mat-menu",null,61)(75,"button",62),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.historyBackRender())}),t.TgZ(76,"mat-icon"),t._uU(77,"arrow_back_ios"),t.qZA(),t.TgZ(78,"span"),t._uU(79,"Step Back on Path"),t.qZA()(),t.TgZ(80,"button",63),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.restartFlowchart())}),t.TgZ(81,"mat-icon"),t._uU(82,"settings_backup_restore"),t.qZA(),t.TgZ(83,"span"),t._uU(84,"Restart Flowchart"),t.qZA()(),t.TgZ(85,"button",64),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.openMyStepsDialog())}),t.TgZ(86,"mat-icon"),t._uU(87,"directions_walk"),t.qZA(),t.TgZ(88,"span"),t._uU(89,"My Steps"),t.qZA()(),t.YNc(90,Y8,5,0,"button",65),t.YNc(91,q8,5,0,"button",66),t.qZA()()(),t.TgZ(92,"div",69),t.NdJ("@layerTrigger.start",function(c){t.CHM(i);const y=t.oxw();return t.KtG(y.layerAnimationStart(c))})("@layerTrigger.done",function(c){t.CHM(i);const y=t.oxw();return t.KtG(y.layerAnimationDone(c))}),t.TgZ(93,"div",54)(94,"div",55),t.YNc(95,JD,2,1,"ng-container",56),t.qZA(),t.YNc(96,HD,5,3,"div",57),t.YNc(97,YD,16,7,"div",58),t.TgZ(98,"button",59)(99,"mat-icon"),t._uU(100,"arrow_back_
1ios"),t.qZA(),t.TgZ(101,"span",60),t._uU(102," Back"),t.qZA()(),t.TgZ(103,"mat-menu",null,61)(105,"button",62),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.historyBackRender())}),t.TgZ(106,"mat-icon"),t._uU(107,"arrow_back_ios"),t.qZA(),t.TgZ(108,"span"),t._uU(109,"Step Back on Path"),t.qZA()(),t.TgZ(110,"button",63),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.restartFlowchart())}),t.TgZ(111,"mat-icon"),t._uU(112,"settings_backup_restore"),t.qZA(),t.TgZ(113,"span"),t._uU(114,"Restart Flowchart"),t.qZA()(),t.TgZ(115,"button",64),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.openMyStepsDialog())}),t.TgZ(116,"mat-icon"),t._uU(117,"directions_walk"),t.qZA(),t.TgZ(118,"span"),t._uU(119,"My Steps"),t.qZA()(),t.YNc(120,qD,5,0,"button",65),t.YNc(121,VD,5,0,"button",66),t.qZA()()(),t.TgZ(122,"div",70),t.NdJ("@layerTrigger.start",function(c){t.CHM(i);const y=t.oxw();return t.KtG(y.layerAnimationStart(c))})("@layerTrigger.done",function(c){t.CHM(i);const y=t.oxw();return t.KtG(y.layerAnimationDone(c))}),t.TgZ(123,"div",54)(124,"div",55),t.YNc(125,HA,2,1,"ng-container",56),t.qZA(),t.YNc(126,YA,5,3,"div",57),t.YNc(127,qA,16,7,"div",58),t.TgZ(128,"button",59)(129,"mat-icon"),t._uU(130,"arrow_back_ios"),t.qZA(),t.TgZ(131,"span",60),t._uU(132," Back"),t.qZA()(),t.TgZ(133,"mat-menu",null,61)(135,"button",62),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.historyBackRender())}),t.TgZ(136,"mat-icon"),t._uU(137,"arrow_back_ios"),t.qZA(),t.TgZ(138,"span"),t._uU(139,"Step Back on Path"),t.qZA()(),t.TgZ(140,"button",63),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.restartFlowchart())}),t.TgZ(141,"mat-icon"),t._uU(142,"settings_backup_restore"),t.qZA(),t.TgZ(143,"span"),t._uU(144,"Restart Flowchart"),t.qZA()(),t.TgZ(145,"button",64),t.NdJ("click",function(){t.CHM(i);const c=t.oxw();return t.KtG(c.openMyStepsDialog())}),t.TgZ(146,"mat-icon"),t._uU(147,"directions_walk"),t.qZA(),t.TgZ(148,"span"),t._uU(149,"My Steps"),t.qZA()(),t.YNc(150,VA,5,0,"button",65),t.YNc(151,QA,5,0,"button",66),t.qZA()()(),t.TgZ(152,"div",71),t.YNc(153,$A,6,1,"ng-container",45),t.YNc(154,zA,15,4,"ng-container",45),t.YNc(155,uE,2,1,"ng-container",45),t.qZA(),t.TgZ(156,"a",72),t._uU(157,"Powered by DeciZone.com"),t.qZA(),t.TgZ(158,"a",73),t._uU(159,"Powered by DeciZone.com"),t.qZA(),t.TgZ(160,"a",74),t._uU(161,"Powered by DeciZone.com"),t.qZA(),t.TgZ(162,"a",75),t._uU(163,"Powered by DeciZone.com"),t.qZA()()}if(2&s){const i=t.MAs(14),d=t.oxw();t.Q6J("ngClass",d.getFcLayerClass())("title","Three Layer Interface"),t.xp6(1),t.Q6J("ngIf",d.loading),t.xp6(1),t.Q6J("@layerTrigger",d.trigger0),t.xp6(2),t.Q6J("ngClass",d.updatePreviousLayerSliderPanelClass("layer0")),t.xp6(1),t.Q6J("ngForOf",d.layerList[0]),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails.currentBox.imageUrl),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails.currentBox.videoLink),t.xp6(1),t.Udp("display",d.canHideBackButton("layer0")?"none":"flex"),t.Q6J("matTooltipPosition",d.toolTipPosition)("matMenuTriggerFor",i),t.xp6(22),t.Q6J("ngIf",d.isFCFromKB&&"true"===d.isFCFromKB),t.xp6(1),t.Q6J("ngIf",d.isFCFromOrgHome&&"true"===d.isFCFromOrgHome),t.xp6(1),t.Q6J("@layerTrigger",d.trigger1)("title","Previous Box"),t.xp6(2),t.Q6J("ngClass",d.updatePreviousLayerSliderPanelClass("layer1")),t.xp6(1),t.Q6J("ngForOf",d.layerList[1]),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails.currentBox.imageUrl),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails.currentBox.videoLink),t.xp6(1),t.Udp("display",d.canHideBackButton("layer1")?"none":"flex"),t.Q6J("matTooltipPosition",d.toolTipPosition)("matMenuTriggerFor",i),t.xp6(22),t.Q6J("ngIf",d.isFCFromKB&&"true"===d.isFCFromKB),t.xp6(1),t.Q6J("ngIf",d.isFCFromOrgHome&&"true"===d.isFCFromOrgHome),t.xp6(1),t.Q6J("@layerTrigger",d.trigger2)("title","Current Box"),t.xp6(2),t.Q6J("ngClass",d.updatePreviousLayerSliderPanelClass("layer2")),t.xp6(1),t.Q6J("ngForOf",d.layerList[2]),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails.currentBox.imageUrl),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails.currentBox.videoLink),t.xp6(1),t.Udp("display",d.canHideBackButton("layer2")?"none":"flex"),t.Q6J("matTooltipPosition",d.toolTipPosition)("matMenuTriggerFor",i),t.xp6(22),t.Q6J("ngIf",d.isFCFromKB&&"true"===d.isFCFromKB),t.xp6(1),t.Q6J("ngIf",d.isFCFromOrgHome&&"true"===d.isFCFromOrgHome),t.xp6(1),t.Q6J("@layerTrigger",d.trigger3)("title","Next Box"),t.xp6(2),t.Q6J("ngClass",d.updatePreviousLayerSliderPanelClass("layer3")),t.xp6(1),t.Q6J("ngForOf",d.layerList[3]),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails.currentBox.imageUrl),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails.currentBox.videoLink),t.xp6(1),t.Udp("display",d.canHideBackButton("layer3")?"none":"flex"),t.Q6J("matTooltipPosition",d.toolTipPosition)("matMenuTriggerFor",i),t.xp6(22),t.Q6J("ngIf",d.isFCFromKB&&"true"===d.isFCFromKB),t.xp6(1),t.Q6J("ngIf",d.isFCFromOrgHome&&"true"===d.isFCFromOrgHome),t.xp6(1),t.Q6J("@layerTrigger",d.trigger4),t.xp6(2),t.Q6J("ngClass",d.updatePreviousLayerSliderPanelClass("layer4")),t.xp6(1),t.Q6J("ngForOf",d.layerList[4]),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails.currentBox.imageUrl),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails.currentBox.videoLink),t.xp6(1),t.Udp("display",d.canHideBackButton("layer4")?"none":"flex"),t.Q6J("matTooltipPosition",d.toolTipPosition)("matMenuTriggerFor",i),t.xp6(22),t.Q6J("ngIf",d.isFCFromKB&&"true"===d.isFCFromKB),t.xp6(1),t.Q6J("ngIf",d.isFCFromOrgHome&&"true"===d.isFCFromOrgHome),t.xp6(1),t.Q6J("@yesokno-trigger",d.yesoknolayerState?"yesoknolayer
1-a":"yesoknolayer-b")("title","Answer Buttons"),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails&&d.flowchartDetails.toBoxList&&0===d.flowchartDetails.toBoxList.length&&d.flowchartDetails.fromBoxList&&0!==d.flowchartDetails.fromBoxList.length&&"D"!==d.flowchartDetails.currentBox.boxShapeType),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails&&d.flowchartDetails.toBoxList&&0===d.flowchartDetails.toBoxList.length&&d.flowchartDetails.fromBoxList&&0!==d.flowchartDetails.fromBoxList.length&&"D"===d.flowchartDetails.currentBox.boxShapeType),t.xp6(1),t.Q6J("ngIf",d.flowchartDetails&&d.flowchartDetails.toBoxList&&d.flowchartDetails.toBoxList.length>=1)}}let dC=(()=>{class s{constructor(i,d,c,y,v,k,E){this.ngZone=i,this.router=d,this._bottomSheetRef=c,this._loginService=y,this._utilService=v,this.data=k,this.currentFlowchartDetails=k.currentFlowchartDetails,this.sessionStorage=E}openLink(i){this._bottomSheetRef.dismiss()}restartFlowchart(){let i=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart")));this.sessionStorage.removeItem("flowchart"),this._bottomSheetRef.dismiss(),this.ngZone.run(()=>this.router.navigateByUrl("/restart-flowchart",{skipLocationChange:!0}).then(()=>this.router.navigate([`${this.currentFlowchartDetails.goalId}/${i.flowchartRandomId}/${this.currentFlowchartDetails.goalUrl}/${this.currentFlowchartDetails.flowchartName}`])))}navigateToMyHome(){this._bottomSheetRef.dismiss(),this.router.navigateByUrl("/myhome")}openDZContactSupportDialog(){this._utilService.openDZContactSupportDialog()}logout(){this._bottomSheetRef.dismiss();let i={};i=JSON.parse(JSON.stringify(this.sessionStorage.getObject("userProfile")));let d={event:"logout","dlv-user_state_id":"loggedout","dlv-user_id":i.userId,"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this._utilService.getLoggedInUserOrgId(),"dlv-cat_id":void 0,"dlv-subcat_id":void 0,"dlv-goal_id":void 0,"dlv-fc_id":void 0,"dlv-fc_version_id":void 0,"dlv-fc_layout_id":void 0,"dlv-modify_clones":void 0,"dlv-current_box_id":void 0,"dlv-org_home_id":void 0,"dlv-knowledgebase_id":void 0,"dlv-dashboard_id":void 0,"dlv-restr_pubfc_url_id":void 0,"dlv-Subscrpn_Period":void 0,"dlv-component_id":void 0,"dlv-option_id_selected":void 0,"dlv-custom_progress_prcnt":void 0,"dlv-custom_count":void 0,"dlv-method":"web"};window.dataLayer.push(d),this._loginService.logout(!1).subscribe(c=>{this._loginService.clearUserSession();var y=document.getElementById("wrapper");y.classList.remove("logged-in-user"),y.classList.add("logged-out-user"),document.getElementById("customCss")&&document.getElementById("customCss").remove(),this.router.navigateByUrl("/login")},c=>{this._loginService.clearUserSession();var y=document.getElementById("wrapper");y.classList.remove("logged-in-user"),y.classList.add("logged-out-user"),document.getElementById("customCss")&&document.getElementById("customCss").remove(),this.router.navigateByUrl("/login")})}}return s.\u0275fac=function(i){return new(i||s)(t.Y36(t.R0b),t.Y36(Uf.F0),t.Y36(up.oL),t.Y36(wa.r),t.Y36(lp.f),t.Y36(up.OG),t.Y36(Hm.qo))},s.\u0275cmp=t.Xpm({type:s,selectors:[["flowchart-error-bottom-sheet"]],decls:18,vars:1,consts:[[1,"fc-error-bottom-sheet"],[1,"error-text-box"],[1,"error-header"],[1,"error-text"],[1,"buttons-panel"],["id","fcerrorbtm-logoutrefresh","mat-raised-button","",1,"error-page-buttons",3,"click"],["id","fcerrorbtm-gohome","mat-raised-button","",1,"error-page-buttons",3,"click"],["id","fcerrorbtm-resetfc","mat-raised-button","",1,"error-page-buttons",3,"click"],["id","fcerrorbtm-getsupp","mat-raised-button","",1,"error-page-buttons",3,"click"]],template:function(i,d){1&i&&(t.TgZ(0,"div",0)(1,"div",1)(2,"h1",2),t._uU(3,"Oops!"),t.qZA(),t.TgZ(4,"p",3),t._uU(5," We ran into an unexpected error with flowchart: "),t.TgZ(6,"strong"),t._uU(7),t.qZA(),t._uU(8,". Sorry, it's us, not you."),t.qZA()(),t.TgZ(9,"div",4)(10,"button",5),t.NdJ("click",function(){return d.logout()}),t._uU(11,"Log Out & Start Fresh"),t.qZA(),t.TgZ(12,"button",6),t.NdJ("click",function(){return d.navigateToMyHome()}),t._uU(13,"Go To My Home"),t.qZA(),t.TgZ(14,"button",7),t.NdJ("click",function(){return d.restartFlowchart()}),t._uU(15,"Restart Flowchart"),t.qZA(),t.TgZ(16,"button",8),t.NdJ("click",function(){return d.openDZContactSupportDialog()}),t._uU(17,"Get Support"),t.qZA()()()),2&i&&(t.xp6(7),t.Oqu(d.currentFlowchartDetails.flowchartName))},dependencies:[Yo.lW],encapsulation:2}),s})(),dE=(()=>{class s{constructor(i,d,c,y,v,k,E,F,B,L,J,j,Q,W,X,ot,dt,at,St,bt,Lt,ft,rt,kt,Nt,Yt){this.ngZone=i,this.route=d,this.router=c,this._utilService=y,this._boxService=v,this._flowchartService=k,this._flowchartUtilService=E,this._flowchartListService=F,this._boxFeedbackDialogService=B,this._wholeFcViewDialogService=L,this._addBookmarkDialogService=J,this._userWelcomeDialogService=j,this._flowchartNotesDialogService=Q,this._txnNotesDialogService=W,this._abandonTxnConfirmDialogService=X,this._homeService=ot,this._boxConnectJsplumb
1Service=dt,this._userMilestoneService=at,this._flowchartTxnStepsDialogService=St,this._orgService=bt,this._bottomSheet=Lt,this.seoService=ft,this.cdr=rt,this._snackBar=kt,this.dialog=Nt,this.genericErrMsg="",this.genericErr=!1,this.showRestartOption=!1,this.uploadErr=!1,this.embedFcFinish=!1,this.flowchartDetails={},this.edit=!1,this.color="accent",this.isFavorite=!1,this.canSeePublicIcon=!1,this.canSeeWholeFcPublishEditIcon=!1,this.userInputText=[],this.selectedChoiceBox="",this.toolTipPosition="right",this.resizeTimeout=50,this.loading=!1,this.clickedEditToggle=!1,this.disableWFVButton=!1,this.noAnimationOnLayoutChange=!1,this.trigger0="lastpreviouslayer",this.trigger1="previouslayer",this.trigger2="centerlayer",this.trigger3="nextlayer",this.trigger4="afternextlayer",this.yesoknolayerState=!0,this.mylayerdivs=[],this.layerList=[],this.lastPrevLayer=[],this.nextNextlayer=[],this.nextClickDirection="",this.choiceSelectionClicked=!1,this.disableClick=!1,this.publishEmbedRenderError=!1,this.animatedLayerCount=0,this.animationStarted=0,this.videoThumbnailImage="",this.videoEmbedUrl="",this.isFCFromKB="",this.isFCFromOrgHome="",this.sessionStorage=Yt;var yt=document.getElementById("footer");yt&&(yt.style.display="none");let Ct={};Ct=this.sessionStorage.getObject("userFcLayoutPref"),this.selectedFcLayout=this._utilService.getCurrentFcSelectedLayout(),!this.selectedFcLayout&&Ct&&(this.selectedFcLayout=Ct.preferenceDisplayCaption),k.fcNextLayerRenderError.subscribe(Ot=>{412===Ot?this._openFcRenderErrorSheet():this.router.navigateByUrl("/error")}),k.selectedFlowchart.subscribe(Ot=>{this.selectedFlowchartDetails=Ot}),this._utilService.addFavoriteFcMilestoneAchieved.subscribe(Ot=>{Ot&&this._snackBar.open(_o.e5V,"Dismiss",{duration:2500})}),this._utilService.fcNavigatedCompletelyMilestoneAchieved.subscribe(Ot=>{Ot&&this._snackBar.open(_o.IAm,"Dismiss",{duration:2500})}),this.ngZone.run(()=>{this._utilService.fcLayoutPrefUpdate.subscribe(Ot=>{this.selectedFcLayout=Ot,this.noAnimationOnLayoutChange=!0,this.flowchartDetails.currentBox&&this._flowchartService.setSelectedFlowchartRenderDetails(this.flowchartDetails)})}),this._utilService.enableFcNextBoxClick.subscribe(Ot=>{Ot&&(this.disableClick=!1)});let Gt=this;this.ngZone.run(()=>{this.subsVar=k.renderFlowchartDetails.subscribe(Ot=>{if(this.flowchartDetails.flowchartId&&Ot.flowchartId!==this.flowchartDetails.flowchartId&&Gt._flowchartService.setNextLayerClick(!1),this.flowchartDetails=Ot,this.flowchartDetails&&this.flowchartDetails.currentBox&&this.flowchartDetails.currentBox.boxFlowchartId!==this.flowchartDetails.beginningFlowchartId?(this.clickedEditToggle=!0,this.disableWFVButton=!0):(this.clickedEditToggle=!1,this.disableWFVButton=!1),this.flowchartDetails&&this.flowchartDetails.toBoxList&&(this.flowchartDetails.toBoxList.length>=1&&"D"===this.flowchartDetails.currentBox.boxShapeType&&1===this.flowchartDetails.toBoxList.length||1===this.flowchartDetails.toBoxList.length&&"E"===this.flowchartDetails.toBoxList[0].box.boxShapeType||2===this.flowchartDetails.toBoxList.length&&("E"===this.flowchartDetails.toBoxList[0].box.boxShapeType||"E"===this.flowchartDetails.toBoxList[1].box.boxShapeType)||0===this.flowchartDetails.toBoxList.length&&this.flowchartDetails.fromBoxList&&0!==this.flowchartDetails.fromBoxList.length)){let be={event:"viewfc_reached_lastfcbox","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.currentBox?this.flowchartDetails.currentBox.boxFlowchartId:0,"dlv-fc_version_id":this.flowchartDetails.currentBox?this.flowchartDetails.currentBox.boxFlowchartVersionId:0,"dlv-fc_layout_id":this.selectedFcLayout,"dlv-current_box_id":this.flowchartDetails.currentBox?this.flowchartDetails.currentBox.boxId:0};window.dataLayer.push(be)}if(this.isFavorite=this._flowchartUtilService.checkForFavoriteFlowchartFlag(this.flowchartDetails),this._checkForFlowchartEditMode(),this.selectedChoiceBo
1x=this.flowchartDetails&&this.flowchartDetails.currentBox&&this.flowchartDetails.currentBox.selectedChoiceBox?this.flowchartDetails.currentBox.selectedChoiceBox.boxCaption:"",this.flowchartDetails&&this.flowchartDetails.currentBox){let be=this.flowchartDetails.currentBox.boxId;be&&(this.userInputText[be]=this.flowchartDetails.currentBox.userInputData?this.flowchartDetails.currentBox.userInputData:"")}if(this.flowchartDetails&&this.flowchartDetails.currentBox&&this.flowchartDetails.currentBox.videoLink){let be=this.flowchartDetails.currentBox.videoLink;this.videoThumbnailImage=this._flowchartUtilService.generateYoutubeThumbnailImageForVideo(be),this.videoEmbedUrl=this._flowchartUtilService.generateYoutTubeEmbedVideoUrl(be)}var ke;(ke=this.sessionStorage.getObject("userProfile"))&&(this.canSeePublicIcon=this._flowchartService.getFlowchartPublicIconFlag(this.flowchartDetails,ke),this.canSeeWholeFcPublishEditIcon=this._flowchartService.getWholeFlowchartPublishEditIconsFlag(this.flowchartDetails,ke)),this._utilService.setIsFlowchartPublished(this.flowchartDetails.isPublished),!1===Gt._flowchartService.getNextLayerClick()?"M"===this.flowchartDetails.currentBox.boxShapeType?(this._flowchartUtilService.updateSelectedChoiceToBox(this.layerList,this.flowchartDetails),this.choiceSelectionClicked=!1):(this.layerList=[],this.layerList=E.prepareFlowchartLayers(this.flowchartDetails,this.lastPrevLayer,this.nextNextlayer),this.layerList=[...this.layerList],this._resetLayerFromStart(),this.cdr.markForCheck()):this.noAnimationOnLayoutChange||this._flowchartUtilService.slideLayers(this._flowchartService.getNextClickDirection(),this),this.loading=!1})})}ngOnInit(){this.layerIds=["layer0","layer1","layer2","layer3","layer4"],Lb()();var i=document.getElementById("footer");if(i&&(i.style.display="none"),this._utilService.setShowSearchButton(!0),this.seoService.createLinkForCanonicalURL(),this.flowchartDetails=this.route.snapshot.data.flowchartDetails,console.log(this.flowchartDetails),this.flowchartDetails&&!this.flowchartDetails.errorMessage){if(this.isFCFromKB=this.sessionStorage.getItem("fcFromKB"),this.isFCFromOrgHome=this.sessionStorage.getItem("fcFromOrgHome"),this.flowchartDetails&&this.flowchartDetails.userAccess){this.flowchartDetails&&this.flowchartDetails.currentBox&&this.flowchartDetails.currentBox.boxFlowchartId!==this.flowchartDetails.beginningFlowchartId?(this.clickedEditToggle=!0,this.disableWFVButton=!0):(this.clickedEditToggle=!1,this.disableWFVButton=!1);let v,y=this;v=this.sessionStorage.getObject("userProfile");let k=wo.filter(v.userOrg,function(L){return L.orgId===y.flowchartDetails.orgId});this.flowchartOrg=k[0];let E=this.flowchartDetails.flowchartDescription;(!E||0===E.length)&&(E="This Flowchart '"+this.flowchartDetails.flowchartName+"' for '"+this.flowchartDetails.goalName+"'.");let F=this.flowchartDetails.flowchartName;var d;if(F+="PUBLIC"!==this.flowchartDetails.orgName?" - "+this.flowchartDetails.orgName:" - DeciZone",this.seoService.generateTags({title:F,metaTitle:F,metaDescription:E,metaImageUrl:"https://decizone.com/assets/images/DZ-LOGO-1200x628px-Fb-Li-Opt.png",robots:"noindex,nofollow",slug:window.location.href}),this.layerList=this._flowchartUtilService.prepareFlowchartLayers(this.flowchartDetails,this.lastPrevLayer,this.nextNextlayer),this.isFavorite=this._flowchartUtilService.checkForFavoriteFlowchartFlag(this.flowchartDetails),this._checkForFlowchartEditMode(),d=this.sessionStorage.getObject("userProfile"),this.selectedChoiceBox=this.flowchartDetails.currentBox&&this.flowchartDetails.currentBox.selectedChoiceBox?this.flowchartDetails.currentBox.selectedChoiceBox.boxCaption:"",this.flowchartDetails&&this.flowchartDetails.currentBox){let L=this.flowchartDetails.currentBox.boxId;L&&(this.userInputText[L]=this.flowchartDetails.currentBox.userInputData?this.flowchartDetails.currentBox.userInputData:"")}if(this.flowchartDetails.currentBox&&this.flowchartDetails.currentBox.videoLink){let L=this.flowchartDetails.currentBox.videoLink;this.videoThumbnailImage=this._flowchartUtilService.generateYoutubeThumbnailImageForVideo(L),this.videoEmbedUrl=this._flowchartUtilService.generateYoutTubeEmbedVideoUrl(L)}this.canSeePublicIcon=this._flowchartService.getFlowchartPublicIconFlag(this.flowchartDetails,d),this.canSeeWholeFcPublishEditIcon=this._flowchartService.getWholeFlowchartPublishEditIconsFlag(this.flowchartDetails,d);let B={};B=this.sessionStorage.getObject("userFcLayoutPref"),this.selectedFcLayout=this._utilService.getCurrentFcSelectedLayout(),!this.selectedFcLayout&&B&&(this.selectedFcLayout=B.preferenceDisplayCaption),this._flowchartService.getAndUpdateFlowchartPropertyInSession(this.flowchartDetails.flowchartId),this._utilService.setIsFlowchartPublished(this.flowchartDetails.isPublished)}this._utilService.setFlowchartFlowProperty(!0),this.sessionStorage.getItem("showWelcomeModal")&&setTimeout(()=>{this._userWelcomeDialogService.open(),this._userWelcomeDialogService.confirmed().subscribe(y=>{this.sessionStorage.removeItem("showWelcomeModal")})})}else(!this.flowchartDetails||"412"===this.flowchartDetails.errorCode)&&this.router.navigateByUrl("/error"),this.genericErr=!0,this.genericErrMsg=this.flowchartDetails?this.flowchartDetails.errorMessage:"Unexpected error occurred, please try again."}ngOnDestroy(){jsPlumb.empty("all-layers"),jsPlumb.reset(),this.flowchartDetails={},this._utilService.setCurrentFcSelectedLayout(""),this.subsVar&&this.subsVar.unsubscribe(),this.fcVersionsSub&&this.fcVersionsSub.unsubscribe(),this.boxAliasSub&&this.boxAliasSub.unsubscribe(),this.renderNextSub&&this.renderNextSub.unsubscribe(),this.fcListSub&&this.fcListSub.unsubscribe(),this.wholeFcViewSub&&this.wholeFcViewSub.unsubscribe(),this.addFavFcSub&&this.addFavFcSub.unsubscribe(),this.rmFavFcSub&&this.rmFavFcSub.unsubscribe()}ngAfterViewInit(){jsPlumb.deleteEveryConnection(),jsPlumb.reset();var i=document.getElementById("all-layers");let c,d=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0];if(d&&(d.style.display="none"),i&&i.classList&&!i.classList.contains("card-layout-view")?(c=document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image")[0],c&&(c.style.display="none")):c=document.querySelectorAll(".x2-center-layer .x5-card-medtadata-container")[0],setTimeout((()=>
1{if(this._boxConnectJsplumbService.connectAnimatedBoxViaJsplumb(),this._boxConnectJsplumbService.drawConnectionsForAnimatedBoxes(),i&&i.classList&&!i.classList.contains("card-layout-view")){if(d=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0],d&&(d.style.display="block",setTimeout(function(){d.style.display="none"},3300)),c=document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image")[0],c){c.style.display="block";let y=document.querySelectorAll(".x2-center-layer #centerBoxVideoThumbnail")[0];y&&(y.style.display="block",setTimeout(function(){y.style.display="none"},3300))}}else{d=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0],d&&(d.style.display="none");let y=document.querySelectorAll(".x2-center-layer .x5-card-medtadata-container #x7-centerBoxVideo")[0];console.log("Is there center box video element in card view - ",y),y&&(y.style.display="none")}}).bind(this),800),this.flowchartDetails){let y={"dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails?this.flowchartDetails.orgId:"","dlv-cat_id":this.flowchartDetails?this.flowchartDetails.categoryId:"","dlv-subcat_id":this.flowchartDetails?this.flowchartDetails.subCategoryId:"","dlv-goal_id":this.flowchartDetails?this.flowchartDetails.goalId:"","dlv-fc_id":this.flowchartDetails?this.flowchartDetails.flowchartId:"","dlv-fc_version_id":this.flowchartDetails?this.flowchartDetails.flowchartVersionId:"","dlv-fc_layout_id":this.selectedFcLayout};y.event=this.flowchartDetails&&1===this.flowchartDetails.orgId?"viewfc_openpublicfc":"viewfc_openfc",window.dataLayer.push(y)}}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var i=document.getElementById("all-layers");let c,d=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0];d&&(d.style.display="none"),i&&i.classList&&!i.classList.contains("card-layout-view")?(c=document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image #centerBoxVideoThumbnail")[0],c&&(c.style.display="none")):c=document.querySelectorAll(".x2-center-layer .x5-card-medtadata-container #centerBoxVideoThumbnail")[0],this.resizeTimeout=window.setTimeout((()=>{console.log("Resize complete"),jsPlumb.deleteEveryConnection(),jsPlumb.reset(),this._boxConnectJsplumbService.connectAnimatedBoxViaJsplumb(),this._boxConnectJsplumbService.drawConnectionsForAnimatedBoxes(),i&&i.classList&&!i.classList.contains("card-layout-view")?(d=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0],d&&(d.style.display="block",setTimeout(function(){d.style.display="none"},3300)),c=document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image #centerBoxVideoThumbnail")[0],c&&(c.style.display="block",setTimeout(function(){c.style.display="none"},3300))):(d=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0],d&&(d.style.display="none"))}).bind(this),50)}onKeyUp(i){if(!this.disableClick){if("ArrowDown"===i.key&&i.shiftKey)0===this.flowchartDetails.toBoxList.length?this.loadNextLayer(i,0,"",null,this.flowchartDetails.currentBox,!0,!0):this.loadNextLayer(i,this.flowchartDetails.toBoxList[0].boxId,this.flowchartDetails.toBoxList[0].fromBoxCorner,this.flowchartDetails.toBoxList[0].box,this.flowchartDetails.currentBox,!0,!1);else if("ArrowUp"===i.key&&i.shiftKey)this.historyBackRender();else if("ArrowLeft"===i.key&&i.shiftKey){var c=wo.find(this.flowchartDetails.toBoxList,function(v){return"Y"===v.fromBoxCorner});c&&this.loadNextLayer(i,c.boxId,c.fromBoxCorner,c.box,this.flowchartDetails.currentBox,!0,!1)}else if("ArrowRight"===i.key&&i.shiftKey){var y=wo.find(this.flowchartDetails.toBoxList,function(v){return"N"===v.fromBoxCorner});y&&this.loadNextLayer(i,y.boxId,y.fromBoxCorner,y.box,this.flowchartDetails.currentBox,!0,!1)}return!1}}_openFcRenderErrorSheet(){this._bottomSheet.open(dC,{data:{currentFlowchartDetails:this.flowchartDetails},disableClose:!0}).afterDismissed().subscribe(()=>{console.log("Flowchart error bottom sheet has been dismissed.")}
1)}getFcLayerClass(){return this.selectedFcLayout&&"CARD_LAYOUT"===this.selectedFcLayout?"card-layout-view":this.selectedFcLayout&&"ONE_LAYER_LAYOUT"===this.selectedFcLayout?"single-layer-view":"x1-three-layer-view"}showCenterBoxImage(){this._userMilestoneService.saveOrUpdateUserMilestone("OPEN_IMAGE_ON_BOX",null);let i=document.querySelectorAll(".x2-center-layer #x6-center-box-image")[0];i&&(i.style.display="block",setTimeout(function(){i.style.display="none"},3300));let d={event:"viewfc_clickimageicon","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId,"dlv-fc_version_id":this.flowchartDetails.flowchartVersionId,"dlv-fc_layout_id":this.selectedFcLayout,"dlv-current_box_id":this.flowchartDetails.currentBox?this.flowchartDetails.currentBox.boxId:0};window.dataLayer.push(d)}showCenterBoxVideoThumbnail(){var i=document.getElementById("all-layers");if(i&&i.classList&&!i.classList.contains("card-layout-view")){let d=document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image")[0];d&&(d.style.display="block",document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image #centerBoxVideoThumbnail")[0].style.display="block",setTimeout(function(){document.querySelectorAll(".x2-center-layer .x6-center-box-overlap-image #centerBoxVideoThumbnail")[0].style.display="none"},3300))}}playVideo(){let i={event:"viewfc_startboxvideo","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId,"dlv-fc_version_id":this.flowchartDetails.flowchartVersionId,"dlv-fc_layout_id":this.selectedFcLayout,"dlv-current_box_id":this.flowchartDetails.currentBox?this.flowchartDetails.currentBox.boxId:0};window.dataLayer.push(i),this._flowchartUtilService.playVideo(!0)}stopVideo(){this._flowchartUtilService.stopVideo(!0)}getFromBoxClass(i,d){return this._utilService.getFromBoxCssClassString(i,d)}getToBoxClass(i,d){return this._utilService.getToBoxCssClassString(i,d)}getAnimatedVersionBoxClass(i,d,c){return this._utilService.getAnimatedVersionBoxClass(i,d,c)}getAnimatedVersionBoxContainerClass(i,d){return this._utilService.getAnimatedVersionBoxContainerClass(i,d)}navigateToMyHome(){this.router.navigateByUrl("/myhome")}onEditModeChange(i){this._flowchartService.setToggleEditMode(!1),this.clickedEditToggle=!0,this.edit=!1,"Enter"!==i.code&&(i.source._checked=!1);let d={event:"viewfc_editmodetoggleon","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId,"dlv-fc_version_id":this.flowchartDetails.flowchartVersionId,"dlv-fc_layout_id":this.selectedFcLayout};window.dataLayer.push(d);var y=[];this.fcVersionsSub=this._flowchartService.loadSelectedFlowchartVersions({flowchartId:this.flowchartDetails.flowchartId,orgId:this.flowchartDetails.orgId,userAccess:this.flowchartDetails.userAccess}).subscribe(v=>{this._userMilestoneService.saveOrUpdateUserMilestone("USED_EDIT_TOGGLE",null);var k=v.responseBody.flowchartVersionBeanList;console.log("order by flowchartversionId list -",k),wo.forEach(k,function(L){var J={versionId:"",Name:"",Author:"",CreatedTime:"",LastUpdated:"",Master:"",ParentVersion:"",Actions:""};J.Name=L.flowchartVersionName,J.versionId=L.flowchartVersionId,J.Author=L.flowchartVersionAuthor,J.CreatedTime=L.creationTime,J.LastUpdated=L.lastUpdateTime,J.Master=L.masterFlag,J.ParentVersion=L.parentFlowchartVersionName,y.push(J)}),console.log("VersionList going into fc edit dialog",y);const F=new tr.vA;F.disableClose=!0,F.autoFocus=!0,F.height="100%",F.width="100%",F.data={fcVersionDetail
1s:y,columns:[{prop:"Name"},{prop:"Author"},{prop:"CreatedTime"},{prop:"LastUpdated"},{prop:"Master"},{prop:"ParentVersion"},{prop:"Actions"}],flowchartDetails:this.flowchartDetails},F.panelClass=["dz-dialog-container","edit-fc-versions-contr"];let B=this.dialog.open(Mi.y,F);B.afterClosed().subscribe(L=>{B=null,this.clickedEditToggle=!1,i.checked=!1}),this.clickedEditToggle=!1},v=>{this._snackBar.openFromComponent(tl.f,{data:wn.R.ERRMSG_RETRIEVE_FC_VERSION_LIST.errorMessage,..._o.wml}),this.clickedEditToggle=!1})}openAddBookmarkDialog(i){var d="",c=this.flowchartDetails;const y={flowchartId:c.flowchartId,orgId:c.orgId,userAccess:c.userAccess,boxId:i.boxId,boxCaption:i.boxCaption,currentBoxAlias:d};this.boxAliasSub=this._boxService.getBoxAliasListByUserOrgBoxShapeType(this.flowchartDetails.orgId,i.boxShapeType,this.flowchartDetails.userAccess,this.flowchartDetails.flowchartVersionId).subscribe(v=>{var k,E=wo.findIndex(k=v.responseBody.boxAliasBeanList,function(F){return F.boxId===i.boxId});-1!==E&&(d=k[E].boxAliasName),y.currentBoxAlias=d,this._addBookmarkDialogService.open(y),this._addBookmarkDialogService.confirmed().subscribe(F=>{if(F){let B={event:"viewfc_createbookmarkalias","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":c.orgId,"dlv-cat_id":c.categoryId,"dlv-subcat_id":c.subCategoryId,"dlv-goal_id":c.goalId,"dlv-fc_id":c.flowchartId,"dlv-fc_version_id":c.flowchartVersionId,"dlv-fc_layout_id":this.selectedFcLayout,"dlv-current_box_id":i.boxId};window.dataLayer.push(B)}})},v=>{this._addBookmarkDialogService.open(y),this._addBookmarkDialogService.confirmed().subscribe(k=>{if(k){let E={event:"viewfc_createbookmarkalias","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":c.orgId,"dlv-cat_id":c.categoryId,"dlv-subcat_id":c.subCategoryId,"dlv-goal_id":c.goalId,"dlv-fc_id":c.flowchartId,"dlv-fc_version_id":c.flowchartVersionId,"dlv-fc_layout_id":this.selectedFcLayout,"dlv-current_box_id":i.boxId};window.dataLayer.push(E)}})})}openMermaidFlowchartViewModal(){var i=this.sessionStorage.getItem("orgLogoUrl"),d=this.flowchartDetails;this.wholeFcViewSub=this._flowchartService.loadWholeFlowchartViewDetails().subscribe(c=>{let y=this.dialog.open(Fb,{height:"100%",width:"100%",data:{orgName:d.orgName,orgDisplayName:d.orgDisplayName,categoryName:d.categoryName,subCategoryName:d.subCategoryName,goalName:d.goalName,flowchartName:d.flowchartName,orgLogoUrl:i,content:c.responseBody.wholeFlowchartDetail}});y.afterClosed().subscribe(v=>{y=null})},c=>{this._snackBar.openFromComponent(tl.f,{data:wn.R.ERRMSG_WHOLE_FC_VIEW_ERROR.errorMessage,..._o.wml})})}openWholeFlowchartViewModal(){var i=this.sessionStorage.getItem("orgLogoUrl"),d=this.flowchartDetails;this.wholeFcViewSub=this._flowchartService.loadWholeFlowchartViewDetails().subscribe(c=>{this._wholeFcViewDialogService.open({categoryId:d.categoryId,subCategoryId:d.subCategoryId,goalId:d.goalId,orgId:d.orgId,orgName:d.orgName,orgDisplayName:d.orgDisplayName,categoryName:d.categoryName,subCategoryName:d.subCategoryName,goalName:d.goalName,flowchartName:d.flowchartName,flowchartId:d.flowchartId,flowchartVersionId:d.flowchartVersionId,flowchartVersionName:d.flowchartVersionName,userAccess:d.userAccess,orgLogoUrl:i,content:c.responseBody.wholeFlowchartDetail}),this._wholeFcViewDialogService.confirmed().subscribe(v=>{})},c=>{this._snackBar.openFromComponent(tl.f,{data:wn.R.ERRMSG_WHOLE_FC_VIEW_ERROR.errorMessage,..._o.wml})})}sendFeedbackForBox(){var i;i=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart"))),this._boxFeedbackDialogService.open({flowchartId:this.flowchartDetails.flowchartId,flowchartVersionId:this.flowchartDetails.flowchartVersionId,flowchartName:this.flowchartDetails.flowchartName,categoryName:this.flowchartDetails.categoryName,categoryId:this.flowchartDetails.categoryId,subCategoryId:this.flowchartDetails.subCategoryId,subCategoryName:this.flowchartDetails.subCategoryName,goalName:this.flowchartDetails.goalName,goalId:this.flowchartDetails.goalId,goalUrl:this.flowchartDetails.goalUrl,flowchartRandomId:i.flowchartRandomId,boxCaption:this.flowchartDetails.currentBox?this.flowchartDetails.currentBox.boxCaption:"",currentBoxId:this.flowchartDetails.currentBox?this.flowchartDetails.currentBox.boxId:0,userAccess:this.flowchartDetails.userAccess,orgId:this.flowchartDetails.orgId,fcLayout:this.selectedFcLayout}),this._boxFeedbackDialogService.confirmed().subscribe(c=>{})}canHideBackButton(i){var d=document.getElementById(i)?document.getElementById(i).classList:null;return!(!d||d.contains("x2-center-layer"))||1===this.flowchartDetails.fromBoxList.length&&0===this.flowchartDetails.fromBoxList[0].box.inArrowCount||0===this.flowchartDetails.fromBoxList.length}enableLayerClickEvent(i){var d=document.getElementById(i)?document.getElementById(i).classList:null;return d&&!d.contains("x2-center-layer")}updatePreviousLayerSliderPanelClass(i){var d=document.getElementById(i)?document.getElementById(i).classList:null;
1if(d&&d.contains("x2-previous-layer")){if(2===this.flowchartDetails.fromBoxList.length)return"x3-twoboxesinsliderpanel";if(this.flowchartDetails.fromBoxList.length>2)return"x3-morethantwoboxesinsliderpanel"}}restartFlowchart(){this._abandonTxnConfirmDialogService.open({title:_o.iOE,message:_o.IzA,answer:"yes"}),this._abandonTxnConfirmDialogService.confirmed().subscribe(c=>{if("yes"===c){let y=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart")));this.sessionStorage.removeItem("flowchart"),this.ngZone.run(()=>this.router.navigateByUrl("/restart-flowchart",{skipLocationChange:!0}).then(()=>this.router.navigate([`${y.goalId}/${y.flowchartRandomId}/${y.goalUrl}/${y.flowchartName}`])))}})}backToKnowledgebasePage(){this._abandonTxnConfirmDialogService.open({title:_o.Exx,message:_o.CED,answer:"yes"}),this._abandonTxnConfirmDialogService.confirmed().subscribe(c=>{if("yes"===c){let v=this.flowchartDetails.orgId,k=wo.filter(this.flowchartOrg.orgCustomPageDetails,function(E){return E.orgId===v&&"kbp"===E.customPageType});this.router.navigate([`/${k[0].orgName}/knowledgebase/${k[0].customPageCode}`])}})}backToOrgHomePage(){this._abandonTxnConfirmDialogService.open({title:_o.xtF,message:_o.ECw,answer:"yes"}),this._abandonTxnConfirmDialogService.confirmed().subscribe(c=>{"yes"===c&&this.router.navigate([`/org/home/${this.flowchartDetails.orgName}`])})}historyBackRender(){var i;if(this.animatedLayerCount=0,this.animationStarted=0,this.loading=!0,this.noAnimationOnLayoutChange=!1,null===(i=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart")))))return void(this.loading=!1);if(i.startBoxId===this.flowchartDetails.fromBoxList[0].boxId)return void(this.loading=!1);this._flowchartService.setNextLayerClick(!0),this._flowchartService.setNextClickDirection("back"),this.disableClick=!0,this._flowchartService.loadFlowchartBack(!1,!1,!1,this.flowchartDetails);let d={event:"viewfc_stepback","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId,"dlv-fc_version_id":this.flowchartDetails.flowchartVersionId,"dlv-fc_layout_id":this.selectedFcLayout,"dlv-current_box_id":this.flowchartDetails.currentBox?this.flowchartDetails.currentBox.boxId:0};window.dataLayer.push(d)}loadNextLayer(i,d,c,y,v,k,E){var F;if(this.animatedLayerCount=0,this.animationStarted=0,this.loading=!0,this.noAnimationOnLayoutChange=!1,null!==(F=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart"))))){var B=this._utilService.getCookie("userSessionId");if(k&&this.flowchartDetails.fromBoxList[0].box.boxId===F.startBoxId){let X={"dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId,"dlv-fc_version_id":this.flowchartDetails.flowchartVersionId,"dlv-fc_layout_id":this.selectedFcLayout,"dlv-current_box_id":this.flowchartDetails.currentBox?this.flowchartDetails.currentBox.boxId:0};X.event=1===this.flowchartDetails.orgId?"viewfc_firststeppublicfc":"viewfc_firststep",window.dataLayer.push(X)}if(F.startBoxId===d||y&&0===y.inArrowCount)return this.loading=!1,void(this.disableClick=!1);d&&(this.disableClick=!0,this._flowchartService.setNextLayerClick(!0),this.nextClickDirection=this._flowchartUtilService.getNextBoxClickDirection(k,this.flowchartDetails,d),"forward"===this.nextClickDirection&&(k=!0),this._flowchartService.setNextClickDirection(this.nextClickDirection),jsPlumb.deleteEveryConnection(),jsPlumb.reset(),this.yesoknolayerState=!this.yesoknolayerState);var L=!1,J=_o.OeY;if(y&&"E"===y.boxShapeType){var j={currentFlowchartId:y.boxFlowchartId,beginningFlowchartId:F.beginningFlowchartId,flowchartVersionId:F.currentFlowchartVersionId,forwardFlag:k,dzTransactionId:F.dzTransactionId,currentBoxId:d,previousBoxId:v.boxId,previousBoxFlowchartVersionId:v.boxFlowchartVersionId,previousBoxFlowchartId:v.boxFlowchartId,boxCorner:c,userInputData:"OK",userSessionId:B,categoryName:F.categoryName,subCategoryName:F.subCategoryName,goalName:F.goalName,goalId:F.goalId,goalUrl:F.goalUrl,flowchartRandomId:F.flowchartRandomId,editMode:F.editMode,orgId:this.flowchartDetails.orgId,orgName:this.flowchartDetails.orgName,userAccess:this.flowchartDetails.userAccess,uploadedFileData:""};if("true"===this.sessionStorage.getItem("dzSuperAdmin")&&(j.trackActivity=!1),"I"===v.boxShapeType&&"UPLOAD"===v.userInputDataType){var Q=document.getElementById("file-upload-"+v.boxId).files[0];let ot="";if(Q){let dt=new FileReader;
1dt.readAsDataURL(Q),dt.onload=()=>{ot=dt.result.toString().split(",")[1],j.userInputData=Q.name,j.uploadedFileData=ot,this.renderNextSub=this._flowchartService.callRenderForNextLayer(J,j).subscribe(at=>{this._endFlowRoute(F,this.flowchartDetails.orgName,v)},at=>{this.loading=!1,console.log("Load next layer render failed with 412 error",at),this._flowchartService.setFcNextLayerRenderError(at&&412===at.status?412:at.status)})}}else this.renderNextSub=this._flowchartService.callRenderForNextLayer(J,j).subscribe(dt=>{this._endFlowRoute(F,this.flowchartDetails.orgName,v)},dt=>{this.loading=!1,console.log("Load next layer render failed with 412 error",dt),this._flowchartService.setFcNextLayerRenderError(dt&&412===dt.status?412:dt.status)})}else("I"!==v.boxShapeType||"I"===v.boxShapeType&&"UPLOAD"!==v.userInputDataType)&&("I"===v.boxShapeType&&null!=this.userInputText[v.boxId]&&this.userInputText[v.boxId].length>0&&this._userMilestoneService.saveOrUpdateUserMilestone("NAVIGATED_USERINPUT_BOX_WITH_VALUE",null),"CHECKLIST"===v.userInputDataType&&(this.userInputText[v.boxId]=wo.isEmpty(this.selectedChecklistOptions)?"":this.selectedChecklistOptions.join(",")),j.userInputData="I"===v.boxShapeType?this.userInputText[v.boxId]:"OK",this.renderNextSub=this._flowchartService.callRenderForNextLayer(J,j).subscribe(dt=>{this._endFlowRoute(F,this.flowchartDetails.orgName,v)},dt=>{this.loading=!1,console.log("Load next layer render failed with 412 error",dt),this._flowchartService.setFcNextLayerRenderError(dt&&412===dt.status?412:dt.status)}))}else{if(!1===k&&y&&"I"===y.boxShapeType&&(this.userInputText[y.boxId]=y.userInputData),!E&&y&&y.boxFlowchartId&&v.boxFlowchartId&&y.boxFlowchartId!==v.boxFlowchartId){let X={event:"viewfc_endfc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":F.orgId,"dlv-cat_id":F.categoryId,"dlv-subcat_id":F.subCategoryId,"dlv-goal_id":F.goalId,"dlv-fc_id":v.boxFlowchartId,"dlv-fc_version_id":v.boxFlowchartVersionId,"dlv-fc_layout_id":this.selectedFcLayout,"dlv-current_box_id":F.newCurrentBoxId};window.dataLayer.push(X)}if("I"===v.boxShapeType&&"UPLOAD"===v.userInputDataType){Q=document.getElementById("file-upload-"+v.boxId).files[0];var W={currentFlowchartId:v.boxFlowchartId,beginningFlowchartId:F.beginningFlowchartId,flowchartVersionId:F.currentFlowchartVersionId,forwardFlag:k,dzTransactionId:F.dzTransactionId,currentBoxId:v.boxId,previousBoxId:v.boxId,previousBoxFlowchartVersionId:v.boxFlowchartVersionId,previousBoxFlowchartId:v.boxFlowchartId,boxCorner:c,userInputData:this.userInputText[v.boxId],userSessionId:B,categoryName:F.categoryName,subCategoryName:F.subCategoryName,goalName:F.goalName,goalId:F.goalId,goalUrl:F.goalUrl,flowchartRandomId:F.flowchartRandomId,editMode:F.editMode,orgId:this.flowchartDetails.orgId,orgName:this.flowchartDetails.orgName,userAccess:this.flowchartDetails.userAccess,uploadedFileData:"",lastBoxClick:!1};"true"===this.sessionStorage.getItem("dzSuperAdmin")&&(W.trackActivity=!1);let dt="";if(Q){let at=new FileReader;at.readAsDataURL(Q),at.onload=()=>{dt=at.result.toString().split(",")[1],this.userInputText[v.boxId]=Q.name,this._flowchartService.setUserInputDataInSession(v.boxId,this.userInputText[v.boxId]),W.uploadedFileData=dt,y&&0!==y.inArrowCount&&this._flowchartService.loadNextLayer(!1,L,J,d,c,y,v,this.flowchartDetails,k,this.userInputText[v.boxId],dt),d||0===d||E?E&&(W.lastBoxClick=!0,W.userInputData=this.userInputText[v.boxId],this.renderNextSub=this._flowchartService.callRenderForNextLayer(J,W).subscribe(St=>{this._endFlowRoute(F,this.flowchartDetails.orgName,v)},St=>{this.loading=!1,console.log("Load next layer render failed with 412 error",St),this._flowchartService.setFcNextLayerRenderError(St&&412===St.status?412:St.status)})):this.loading=!1}}else{if(y&&0!==y.inArrowCount&&this._flowchartService.loadNextLayer(!1,L,J,d,c,y,v,this.flowchartDetails,k,this.userInputText[v.boxId],dt),!d&&0!==d&&!E)return void(this.loading=!1);E&&(W.lastBoxClick=!0,this.renderNextSub=this._flowchartService.callRenderForNextLayer(J,W).subscribe(at=>{this._endFlowRoute(F,this.flowchartDetails.orgName,v)},at=>{this.loading=!1,console.log("Load next layer render failed with 412 error",at),this._flowchartService.setFcNextLayerRenderError(at&&412===at.status?412:at.status)}))}}else if("I"!==v.boxShapeType||"I"===v.boxShapeType&&"UPLOAD"!==v.userInputDataType){if("I"===v.boxShapeType&&null!=this.userInputText[v.boxId]&&this.userInputText[v.boxId].length>0&&this._userMilestoneService.saveOrUpdateUserMilestone("NAVIGATED_
1USERINPUT_BOX_WITH_VALUE",null),"CHECKLIST"===v.userInputDataType&&(this.userInputText[v.boxId]=wo.isEmpty(this.selectedChecklistOptions)?"":this.selectedChecklistOptions.join(",")),this._flowchartService.setUserInputDataInSession(v.boxId,this.userInputText[v.boxId]),y&&0!==y.inArrowCount&&this._flowchartService.loadNextLayer(!1,L,J,d,c,y,v,this.flowchartDetails,k,k?this.userInputText[v.boxId]:this.userInputText[y.boxId],""),!d&&0!==d&&!E)return void(this.loading=!1);E&&(W={currentFlowchartId:v.boxFlowchartId,beginningFlowchartId:F.beginningFlowchartId,flowchartVersionId:F.currentFlowchartVersionId,forwardFlag:k,dzTransactionId:F.dzTransactionId,currentBoxId:v.boxId,previousBoxId:v.boxId,previousBoxFlowchartVersionId:v.boxFlowchartVersionId,previousBoxFlowchartId:v.boxFlowchartId,boxCorner:c,userInputData:"I"===v.boxShapeType?this.userInputText[v.boxId]:"OK",userSessionId:B,categoryName:F.categoryName,subCategoryName:F.subCategoryName,goalName:F.goalName,goalId:F.goalId,goalUrl:F.goalUrl,flowchartRandomId:F.flowchartRandomId,editMode:F.editMode,orgId:this.flowchartDetails.orgId,orgName:this.flowchartDetails.orgName,userAccess:this.flowchartDetails.userAccess,uploadedFileData:"",lastBoxClick:!0},"true"===this.sessionStorage.getItem("dzSuperAdmin")&&(W.trackActivity=!1),this.renderNextSub=this._flowchartService.callRenderForNextLayer(J,W).subscribe(at=>{this._endFlowRoute(F,this.flowchartDetails.orgName,v)},at=>{this.loading=!1,console.log("Load next layer render failed with 412 error",at),this._flowchartService.setFcNextLayerRenderError(at&&412===at.status?412:at.status)}))}}}else this.loading=!1}_endFlowRoute(i,d,c){var y;let v={event:"viewfc_endfc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":i.orgId,"dlv-cat_id":i.categoryId,"dlv-subcat_id":i.subCategoryId,"dlv-goal_id":i.goalId,"dlv-fc_id":c.boxFlowchartId,"dlv-fc_version_id":c.boxFlowchartVersionId,"dlv-fc_layout_id":this.selectedFcLayout,"dlv-current_box_id":i.newCurrentBoxId};window.dataLayer.push(v);let k={event:"viewfc_clickdonebutton","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":i.orgId,"dlv-cat_id":i.categoryId,"dlv-subcat_id":i.subCategoryId,"dlv-goal_id":i.goalId,"dlv-fc_id":i.flowchartId,"dlv-fc_version_id":i.flowchartVersionId,"dlv-fc_layout_id":this.selectedFcLayout,"dlv-current_box_id":i.newCurrentBoxId};if(window.dataLayer.push(k),i.hasMaster){let B=this.sessionStorage.getObject("userMilestones");-1===wo.findIndex(B,{milestoneName:"FIRST_FC_NAVIGATED_COMPLETELY",isCompleted:!0})&&this._utilService.setFlowchartNavigatedCompletelyMilestoneAchieved(),this._userMilestoneService.saveOrUpdateUserMilestone("FIRST_FC_NAVIGATED_COMPLETELY",null)}if(this.isFCFromOrgHome&&"true"===this.isFCFromOrgHome)this.router.navigate([`/org/home/${d}`]);else if(this.isFCFromKB&&"true"===this.isFCFromKB){let B=this.flowchartOrg.orgCustomPageDetails,L=this.flowchartDetails.orgId,J=this.sessionStorage.getObject("fcFromCustomPageId"),j=wo.filter(B,function(W){return W.orgId===L&&"kbp"===W.customPageType&&W.customPageId===J});console.log("selected org kb page",j);let Q={event:"viewfc_redirectbacktokb","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":i.orgId,"dlv-cat_id":i.categoryId,"dlv-subcat_id":i.subCategoryId,"dlv-goal_id":i.goalId,"dlv-fc_id":i.flowchartId,"dlv-knowledgebase_id":j[0].customPageId};window.dataLayer.push(Q),this.router.navigate([`/${j[0].orgName}/knowledgebase/${j[0].customPageCode}`])}else if(this.sessionStorage.getObject("fcPropertyByFcId")){var E=this.sessionStorage.getObject("fcPropertyByFcId")[i.beginningFlowchartId];E?(wo.forEach(E.flowchartPropertyBean,function(B){if("FLOWCHART_END_FLOW"===B.propertyName)return y=B.propertyOption,!1}),this.sessionStorage.removeItem("flowchart"),wo.isEqual(y,"FLOWCHART GOAL PAGE")?(this._flowchartListService.setSelectedGoalId(i.goalId),this._flowchartListService.setSelectedGoalName(i.goalName),this.ngZone.run(()=>{this.router.navigate([`./${i.goalId}/${i.goalUrl}`])})):wo.isEqual(y,"RESTART FLOWCHART")?this.ngZone.run(()=>this.router.navigateByUrl("/restart-flowchart",{skipLocationChange:!0}).then(()=>this.router.navigate([`${i.goalId}/${i.flowchartRandomId}/${i.goalUrl}/${i.flowchartName}`]))):wo.isEqual(y,"ORGANIZATION HOME PAGE")?1===i.orgId?this.router.navigateByUrl("/myhome"):this.router.navigate([`/org/home/${d}`]):(this._flowchartListService.setSelectedGoalId(i.goalId),this._flowchartListService.setSelectedGoalName(i.goalName),this.ngZone.run(()=>{this.router.navigate([`./${i.goalId}/${i.goalUrl}`])}))):(this._flowchartListService.setSelectedGoalId(i.goalId),this._flowchartListService.setSelectedGoalName(i.goalName),this.ngZone.run(()=>{this.router.navigate([`./${i.goalId}/${i.goalUrl}`])}))}else this._flowchartListService.setSelectedGoalId(i.goalId),this._flowchartListService.setSelectedGoalName(i.goalName),this.ngZone.run(()=>{this.router.navigate([`./${i.goalId}/${i.goalUrl}`])})}updateChoiceToBoxLayer(i){this.loading=!0,this.choiceSelectionClicked=!0,this._flowchartService.setNextLayerClick(!1),console.log(i),this.selectedChoiceBo
1x=i,this._flowchartService.loadSelectedChoiceBoxNextLayer(i,this.flowchartDetails)}openCategoryListByOrgName(i,d){let c=this._flowchartListService.getCategoryListInCategoryTreeByOrg(d);this._flowchartListService.setCategoryListByOrg(c),this._flowchartListService.setOrgName(d),this.router.navigate([`./${i}/${d}/category`])}openSubcategoryListByCategory(i,d,c){let y=this._flowchartListService.getSubcategoryListInCategoryTreeByCategory(i,d);this._flowchartListService.setSubcategoryListByCategory(y),this._flowchartListService.setOrgName(i),this._flowchartListService.setSelectedCategoryId(d),c=c.replace(/[^A-Z0-9]+/gi,"-"),this.router.navigate([`./${d}/${c}/subcategory`])}openGoalListBySubcategory(i,d,c,y){let v=this._flowchartListService.getGoalListInCategoryTreeBySubcategory(i,d,c);this._flowchartListService.setGoalListBySubcategory(v),this._flowchartListService.setOrgName(i),this._flowchartListService.setSelectedCategoryId(d),this._flowchartListService.setSelectedSubcategoryId(c),y=y.replace(/[^A-Z0-9]+/gi,"-"),this.router.navigate([`./${c}/${y}/goals`])}openFlowchartListByGoal(i,d,c,y,v,k){var E;E=this._flowchartListService.getFlowchartListInCategoryTree(c,y,i,k,v),console.log(E),this._userMilestoneService.saveOrUpdateUserMilestone("VIEW_GOAL_FROM_BREADCRUMB",null),!E||null!==E.flowchartList&&0!==E.flowchartList.length?(this._flowchartListService.setFlowchartListDetailsByGoalName(E),this._flowchartListService.setSelectedGoalId(c),this._flowchartListService.setSelectedGoalName(d),this.router.navigate([`./${c}/${E.goalUrl}`])):this.fcListSub=this._flowchartListService.getFlowchartlistByGoalUrl(c,y).subscribe(F=>{this._flowchartListService.updateFcListByGoalInSession(c,F.responseBody),E.flowchartList=F.responseBody.flowchartBeanList,this._flowchartListService.setFlowchartListDetailsByGoalName(E),this._flowchartListService.setSelectedGoalId(c),this._flowchartListService.setSelectedGoalName(d),this.router.navigate([`./${c}/${E.goalUrl}`])},F=>{this._snackBar.openFromComponent(tl.f,{data:wn.R.ERRMSG_RETRIEVE_FC_LIST_FOR_GOAL_ERROR.errorMessage,..._o.wml})})}toggleUserFavoriteForFlowchart(i,d){let c=[];c.push(i),d?this.addFavFcSub=this._homeService.addFlowchartsToUserFavorite(c).subscribe(y=>{this._homeService.updateUserFavoriteFlowchartsInSession(),this.isFavorite=!0;let v={event:"toggle_fc_fav","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId};window.dataLayer.push(v);let k=this.sessionStorage.getObject("userMilestones");-1===wo.findIndex(k,{milestoneName:"ADD_FAVORITE_FLOWCHART",isCompleted:!0})&&this._utilService.setAddFavoriteFcMilestoneAchieved(),this._userMilestoneService.saveOrUpdateUserMilestone("ADD_FAVORITE_FLOWCHART",null)},y=>{this.isFavorite=!1,this._snackBar.openFromComponent(tl.f,{data:wn.R.ERRMSG_FLOWCHART_FAVORITE_SAVE.errorMessage,..._o.wml})}):this.rmFavFcSub=this._homeService.removeFlowchartsFromUserFavorite(c).subscribe(y=>{this._homeService.updateUserFavoriteFlowchartsInSession();let v={event:"toggle_fc_fav","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId};window.dataLayer.push(v),this.isFavorite=!1},y=>{this.isFavorite=!0,this._snackBar.openFromComponent(tl.f,{data:wn.R.ERRMSG_FLOWCHART_FAVORITE_REMOVE.errorMessage,..._o.wml})})}validateSelectedFile(i){if(this.uploadErr=!1,i.target.files&&i.target.files.length>0){let c=i.target.files[0];
1if(!wo.includes(["image/png","image/gif","image/jpg","image/jpeg","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","text/x-csv","text/plain","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/pdf"],c.type))return this.uploadErrMsg="Invalid File type. Only *.png/jpg/jpeg/gif/doc/docx/csv/txt/xls/xlsx/pdf files are allowed.",void(this.uploadErr=!0);if(c.size>1e3*this.flowchartOrg.userInputUploadSize)return this.uploadErr=!0,void(this.uploadErrMsg="File size must be less than "+this.flowchartOrg.userInputUploadSize+"KB.")}else this.uploadErr=!0,this.uploadErrMsg="You haven't selected any file."}togglefooter(){var i=document.getElementById("footer");i.style.display="none"===i.style.display?"block":"none"}_checkForFlowchartEditMode(){"ON"===this.flowchartDetails.editMode&&(this._flowchartService.setEditFlowchartDetails(this.flowchartDetails),this.router.navigate([`.${this.router.url}/edit`]),this._flowchartService.setToggleEditMode(!0))}_resetLayerFromStart(){let i={};this.layerIds=["layer0","layer1","layer2","layer3","layer4"],(!this.mylayerdivs||0===this.mylayerdivs.length)&&(this.mylayerdivs=document.querySelectorAll(".x2-eachLayer"));for(var d=0;d<this.mylayerdivs.length;d++)i=this.mylayerdivs[d],"layer0"===i.id?(this.trigger0="lastpreviouslayer",i.className="x2-eachLayer x2-lastprev-layer"):"layer1"===i.id?(this.trigger1="previouslayer",i.className="x2-eachLayer x2-previous-layer"):"layer2"===i.id?(this.trigger2="centerlayer",i.className="x2-eachLayer x2-center-layer"):"layer3"===i.id?(this.trigger3="nextlayer",i.className="x2-eachLayer x2-next-layer"):"layer4"===i.id&&(this.trigger4="afternextlayer",i.className="x2-eachLayer x2-afternext-layer")}captureOpenAttachmentOnBoxMilestone(){this._userMilestoneService.saveOrUpdateUserMilestone("OPEN_FILE_ATTACHMENT_ON_BOX",null);let i={event:"viewfc_openattachment","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId,"dlv-fc_version_id":this.flowchartDetails.flowchartVersionId,"dlv-fc_layout_id":this.selectedFcLayout,"dlv-current_box_id":this.flowchartDetails.currentBox?this.flowchartDetails.currentBox.boxId:0};window.dataLayer.push(i)}captureOpenRefLinkOnBoxMilestone(){this._userMilestoneService.saveOrUpdateUserMilestone("OPEN_REFERENCE_LINK_ON_BOX",null);let i={event:"viewfc_openrefurl","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId,"dlv-fc_version_id":this.flowchartDetails.flowchartVersionId,"dlv-fc_layout_id":this.selectedFcLayout,"dlv-current_box_id":this.flowchartDetails.currentBox?this.flowchartDetails.currentBox.boxId:0};window.dataLayer.push(i)}layerAnimationStart(i){this.animationStarted++,1===this.animationStarted&&(console.log("first time starting animation - redrawing in timeout of 700 ms"),this._flowchartUtilService.redrawConnections(700,!0,!1,!1))}layerAnimationDone(i){this.animatedLayerCount++,console.log("Animated layer count -"+this.animatedLayerCount),console.log("animated layer count finished - ",this.animatedLayerCount),5===this.animatedLayerCount&&(this.flowchartDetails&&this.flowchartDetails.fromBoxList&&this.flowchartDetails.fromBoxList.length>0&&this.flowchartDetails.fromBoxList[0].box&&0===this.flowchartDetails.fromBoxList[0].box.inArrowCount?(console.log("first time loading flowchart"),this._flowchartUtilService.redrawConnections(0,!0,!0,!0)):this._flowchartUtilService.redrawConnections(0,!0,!0,!1))}openFlowchartNotes(){this._flowchartNotesDialogService.open({flowchartId:this.flowchartDetails.flowchartId,flowchartName:this.flowchartDetails.flowchartName,notes:this.flowchartDetails.notes,userAccess:this.flowchartDetails.userAccess,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.flowchartDetails.orgId}),this._flowchartNotesDialogService.confirmed().subscribe(d=>{var c;d&&(c=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart"))),this.flowchartDetails.notes=c.notes,1===this.flowchartDetails.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.flowchartDetails.goalId,this.flowchartDetails.goalUrl):this._homeService.updateCategoryTree(this.flowchartDetails.orgName))})}openTransactionNotes(){var i;i=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart"))),this._txnNotesDialogService.open({flowchartId:this.flowchartDetails.flowchartId,flowchartName:this.flowchartDetails.flowchartName,txnNotes:i.txnNotes,dzTransactionId:i.dzTransactionId,userAccess:this.flowchartDetails.userAccess,orgId:this.flowchartDetails.orgId}),this._txnNotesDialogService.confirmed().subscribe(c=>{})}openFcVersionDetailDialog(){let i=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart"))),d=this.dialog.open(Mb,{width:"400px",data:{flowchartVersionName:i.currentFlowchartVersionName,masterStatus:i.currentFlowchartVersionMasterStatus,publishStatus:i.isPublished}});d.afterClosed().subscribe(c=>{d=null})}openMyStepsDialog(){var i;i=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart"))),this._orgService.getFlowchartTransactionActivityDetails(i.dzTransactionId,i.orgId).subscribe(d=>{console.log("activity detail",d.responseBody),this._flowchartTxnStepsDialogService.open({flowchartId:i.flowchartId,flowchartName:i.flowchartName,dzTransactionId:i.dzTransactionId,flowchartTxnDetail:d.responseBody}),this._flowchartTxnStepsDialogService.confirmed().subscribe(y=>{})},d=>{this._snackBar.openFromComponent(tl.f,{data:"Unable to retrieve your steps for current transaction. Please try again or c
1ontact DeciZone Support Team.",..._o.wml})})}}return s.\u0275fac=function(i){return new(i||s)(t.Y36(t.R0b),t.Y36(Uf.gz),t.Y36(Uf.F0),t.Y36(lp.f),t.Y36(Om.k),t.Y36(po.q),t.Y36(Bm.c),t.Y36(hp.A),t.Y36(Ob.T),t.Y36(Bb.F),t.Y36(Pb.C),t.Y36(Rb.u),t.Y36(Jb.U),t.Y36(Hb.$),t.Y36(Yb.b),t.Y36(Pm.Y),t.Y36(Ub.y),t.Y36(Rm.d),t.Y36(qb.w),t.Y36(Jm.Q),t.Y36(up.ch),t.Y36(Zb.v),t.Y36(t.sBO),t.Y36(Vb.ux),t.Y36(tr.uw),t.Y36(Hm.qo))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-flowchart"]],viewQuery:function(i,d){if(1&i&&t.Gf(Wb,5),2&i){let c;t.iGM(c=t.CRH())&&(d.fileInput=c.first)}},hostBindings:function(i,d){1&i&&t.NdJ("resize",function(){return d.onWindowResize()},!1,t.Jf7)("keyup",function(y){return d.onKeyUp(y)},!1,t.evT)},decls:8,vars:7,consts:[["class","instructions-text",4,"ngIf"],["class","fc-header",4,"ngIf"],["class","x1-all-layers","id","all-layers","joyrideStep","flowchart-all-layers","stepPosition","right","text","Your flowchart could be a large and detailed logical structure, but DeciZone will present 3-layers at a time as if you are viewing the flowchart inside a sliding window.",3,"ngClass","title",4,"ngIf"],["id","footer-toggle-button","aria-label","Toggle button to Show or Hide Footer panel.","type","button","mat-icon-button","","matTooltip","Click here to Show / Hide the Footer section below.","matTooltipPosition","right",1,"footer-toggle-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["aria-label","Show or hide page footer section"],[1,"instructions-text"],["id","fccardlyt-gohome","mat-raised-button","",1,"error-page-buttons",3,"click"],["id","fccardlyt-restartfc","mat-raised-button","",3,"click",4,"ngIf"],["id","fccardlyt-restartfc","mat-raised-button","",3,"click"],[1,"fc-header"],["tabindex","0","joyrideStep","flowchart-breadcrumbs","stepPosition","bottom","text","This breadcrumb tells you where to locate this flowchart in the Category Tree.","matTooltip","This Breadcrumb path shows you where to find the flowchart in the category tree.","id","breadcrumb","tourAnchor","tour-breadcrumb",1,"breadcrumb",3,"title","matTooltipShowDelay","matTooltipHideDelay"],[1,"breadcrumb-content","breadcrumb-cat-subcat"],["tabindex","0","class","breadcrumb-goal-non-click",4,"ngIf"],[3,"click",4,"ngIf"],[1,"breadcrumb-content"],["aria-hidden","true"],["tabindex","0","aria-current","page","joyrideStep","flowchart-name","stepPosition","bottom","text","This is the name of flowchart that got created under the goal you selected. You can rename the flowchart when editing the flowchart.",3,"title","click",4,"ngIf"],["tabindex","0","aria-current","page",4,"ngIf"],[1,"breadcrumbicons"],["tabindex","0",4,"ngIf"],["id","favorite-toggle-button","class","all-buttons","aria-label","Toggle this button to Add or Remove this flowchart to your list of Favorite Flowcharts","matTooltip","Add / Remove this flowchart to your list of Favorite Flowcharts","mat-icon-button","","joyrideStep","flowchart-favorite","stepPosition","bottom","text","Click here to add the flowchart to your list of favorites.",3,"matTooltipShowDelay","matTooltipHideDelay","title","click",4,"ngIf"],["id","fcActionMenubutton","class","all-buttons","mat-icon-button","","aria-label","Flowchart actions",3,"matMenuTriggerFor",4,"ngIf"],["fcActionMenu","matMenu"],["mat-menu-item","","id","fccardlyt-wfv","class","all-buttons","matTooltip","Open the Whole Flowchart View to review or print the whole current flowchart.","aria-label","Open the Whole Flowchart View to review or print the whole current flowchart.",3,"disabled","matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["mat-menu-item","","id","fc-notes","matTooltip","Edit Flowchart Specific comments that will stay with the flowchart so your team can share notes for this flowchart.","aria-label","Edit Flowchart Specific comments that will stay with the flowchart so your team can share notes for this flowchart.",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-menu-item","","id","txn-notes","matTooltip","Edit Transaction Specific Internal notes that will be saved along with this particular transaction. These notes will not be included in the summary email sent to the viewer if you choose to use that feature.","aria-label","Edit Transaction Specific Internal notes that will be saved along with this particular transaction. These notes will not be included in the summary email sent to the viewer if you choose to use that feature.",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-menu-item","","id","restart-fc","matTooltip","Abandon current transaction and start over the flowchart from the beginning.","aria-label","Abandon current transaction and start over the flowchart from the beginning.",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-menu-item","","id","my-steps","matTooltip","Show my steps taken so far in current transaction","aria-label","Show my steps taken so far",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["class","all-buttons","mat-menu-item","","id","back-kb-page","matTooltip","Go back to Knowledgebase page and abandon current flow.","aria-label","Go back to Knowledgebase page and abandon current flow",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["class","all-buttons","mat-menu-item","","id","back-orghome-page","matTooltip","Go back to Organization Home page and abandon current flow.","aria-label","Go back to Organization Home page and abandon current flow",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["class","all-buttons edit-slider","matTooltip","See a list of versions for this flowchart. You can then open a specific version in the Editor or Viewing MODE.","aria-label","See a list of versions for this flowchart. You can then open a specific version in the Editor or Viewing MODE.",3,"disabled","ngModel","color","matTooltipShowDelay","matTooltipHideDelay","ngModelChange","keydown.enter","change",4,"ngIf"],["tabindex","0",1,"breadcrumb-goal-non-click"],[3,"click"],[1,"breadcrumb-org"],[1,"breadcrumb-category"],[1,"breadcrumb-subcategory"],["joyrideStep","flowchart-goal","stepPosition","bottom","text","This is the goal for the displayed flowchart.",1,"breadcrumb-goal",3,"title"],["tabindex","0","aria-current","page","joyrideStep","flowchart-name","stepPosition","bottom","text","This is the name of flowchart that got created under the goal you selected. You can rename the flowchart when editing the flowchart.",3,"title","click"],["tabindex","0","aria-current","page"],["tabindex","0"],["matTooltip","This Flowchart is currently published",1,"non-clickable-icons","all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay"],[1,"cdk-visually-hidden"],["matTooltip","This Flowchart status is Public and is accessible in the Public Category Tree.",1,"non-clickable-icons","all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay"],["matTooltip","This Flowchart status is Private and is Not accessible in the Public Category Tree.",1,"non-clickable-icons","all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay"],["
1id","favorite-toggle-button","aria-label","Toggle this button to Add or Remove this flowchart to your list of Favorite Flowcharts","matTooltip","Add / Remove this flowchart to your list of Favorite Flowcharts","mat-icon-button","","joyrideStep","flowchart-favorite","stepPosition","bottom","text","Click here to add the flowchart to your list of favorites.",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","title","click"],[4,"ngIf"],["id","fcActionMenubutton","mat-icon-button","","aria-label","Flowchart actions",1,"all-buttons",3,"matMenuTriggerFor"],["mat-menu-item","","id","fccardlyt-wfv","matTooltip","Open the Whole Flowchart View to review or print the whole current flowchart.","aria-label","Open the Whole Flowchart View to review or print the whole current flowchart.",1,"all-buttons",3,"disabled","matTooltipShowDelay","matTooltipHideDelay","click"],["mat-menu-item","","id","back-kb-page","matTooltip","Go back to Knowledgebase page and abandon current flow.","aria-label","Go back to Knowledgebase page and abandon current flow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-menu-item","","id","back-orghome-page","matTooltip","Go back to Organization Home page and abandon current flow.","aria-label","Go back to Organization Home page and abandon current flow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","See a list of versions for this flowchart. You can then open a specific version in the Editor or Viewing MODE.","aria-label","See a list of versions for this flowchart. You can then open a specific version in the Editor or Viewing MODE.",1,"all-buttons","edit-slider",3,"disabled","ngModel","color","matTooltipShowDelay","matTooltipHideDelay","ngModelChange","keydown.enter","change"],["id","all-layers","joyrideStep","flowchart-all-layers","stepPosition","right","text","Your flowchart could be a large and detailed logical structure, but DeciZone will present 3-layers at a time as if you are viewing the flowchart inside a sliding window.",1,"x1-all-layers",3,"ngClass","title"],["class","spin-centered",4,"ngIf"],["id","layer0",1,"x2-eachLayer","x2-lastprev-layer"],[1,"x3-slider-container"],[1,"x3-slider-panel",3,"ngClass"],[4,"ngFor","ngForOf"],["id","x6-center-box-image","class","x6-center-box-overlap-image",4,"ngIf"],["id","x6-center-box-video","class","x6-center-box-overlap-image",4,"ngIf"],["id","fccardlyt-stepback","aria-label","Step back","mat-mini-fab","",1,"x2-back-button","x8-all-buttons","make-button-transparent",3,"matTooltipPosition","matMenuTriggerFor"],[1,"back-button-text"],["fcBackButtonMenu","matMenu"],["mat-menu-item","","id","history-back","aria-label","Step back on the same path you came from",3,"click"],["mat-menu-item","","id","restart-fc","aria-label","Restart Flowchart and abandon current flow",3,"click"],["mat-menu-item","","id","my-steps","aria-label","Show my steps taken so far",3,"click"],["mat-menu-item","","id","back-kb-page","aria-label","Go back to Knowledgebase page and abandon current flow",3,"click",4,"ngIf"],["mat-menu-item","","id","back-orghome-page","aria-label","Go back to Organization Home page and abandon current flow",3,"click",4,"ngIf"],["id","layer1","joyrideStep","flowchart-previous-layer","stepPosition","top","text","When you respond to the Current-Box, DeciZone interface moves forward by one step in your flowchart, and that Current-Box is now moved to the previous-layer and becomes the Previous-Box.",1,"x2-eachLayer","x2-previous-layer",3,"title"],["id","layer2","joyrideStep","flowchart-center-layer","stepPosition","bottom","text","You are always responding to the current box displayed in the center of the screen. ",1,"x2-eachLayer","x2-center-layer",3,"title"],["id","layer3","joyrideStep","flowchart-next-layer","stepPosition","top","text","When you respond to the Current-Box, DeciZone interface moves forward by one step in your flowchart, and the appropriate Next-Box in this layer will become the new Current-Box. ",1,"x2-eachLayer","x2-next-layer",3,"title"],["id","layer4",1,"x2-eachLayer","x2-afternext-layer"],["id","yesokno","joyrideStep","flowchart-yesokno-layer","stepPosition","top","text","You respond to the current box using the Answer Buttons as you find appropriate.",1,"x2-each-yesokno-layer","x2-yesokno-layer",3,"title"],["id","fc3layerly-publish-pwrdbydz","href","https://decizone.com","target","_blank","rel","noopener",1,"dz-powered"],["id","fc3layerly-embed-pwrdbydz","href","https://decizone.com","target","_blank","rel","noopener",1,"dz-powered"],["id","fccardly-publish-pwrdbydz","href","https://decizone.com","target","_blank","rel","noopener",1,"dz-powered"],["id","fccardly-embed-pwrdbydz","href","https://decizone.com","target","_blank","rel","noopener",1,"dz-powered"],[1,"spin-centered"],["class","x4-box-container",3,"id","ngClass",4,"ngIf"],[1,"x4-box-container",3,"id","ngClass"],[1,"app-toolbar-filler"],["class","x4-box",3,"ngClass","click",4,"ngIf"],["class","x4-box",3,"ngClass",4,"ngIf"],["class","x5-center-button-container",4,"ngIf"],[1,"x5-card-medtadata-container"],["class","cardBoxImage",3,"background-image",4,"ngIf"],["class","cardBoxImage",4,"ngIf"],["class","all-buttons card-view-link",4,"ngIf"],[1,"all-buttons","card-view-link"],["id","fccardly-ctrboxbtn-reflink","matTooltip","Reference link for the center box.","aria-label","Reference link for the center box.","tabindex","0","class","all-buttons","target","_blank","mat-mini-fab","","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["id","fccardly-ctrboxbtn-reflink","matTooltip","Reference link for the center box.","aria-label","Reference link for the center box.","tabindex","0","class","all-buttons ref-link-button-image","target","_blank","mat-mini-fab","","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href","background-image",4,"ngIf"],[1,"all-buttons","card-view-attachment"],["id","fccardly-ctrboxbtn-file","class","all-buttons","matTooltip","Open the document Attached to the current box.","tabindex","0","mat-mini-fab","","target","_blank","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["id","fccardly-ctrboxbtn-file","class","all-buttons","matTooltip","Open the document Attached to the current box.","tabindex","0","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["id","fccardly-ctrboxbtn-file","class","all-buttons ref-link-button-image","matTooltip","Attachment link","aria-label","Open the file linked to the current box.","tabindex","0","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"background-image","matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["id","fccardlyt-boxalias","class","all-buttons card-bookmark-button make-button-transparent","matTooltip","Create a Bookmark Alias for this box.","mat-mini-fab","","color","accent","aria-label","Create a Bookmark Alias for this box.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","fccardlyt-authorfedbk","class","all-buttons card-feedback-button make-button-transparent","matTooltip","Write feedback to author for this box.","mat-mini-fab","","color","accent","aria-label","Write feedback to author for this box.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],[1,"x4-box",3,"ngClass","click"],["class","x5-caption",4,"ngIf"],["class","user-input-displayed",4,"ngIf"],["class","input-box-form",4,"ngIf"],["class","select-choice-container",4,"ngIf"],["class","mcb-choice-container choicecarousel",4,"ngIf"],[1,"x5-caption"],[1,"user-input-displayed"],[1,"input-box-form"],["userIn
1putBoxForm","ngForm"],["class","full-width-input",4,"ngIf"],["class","txn-file-upload",4,"ngIf"],[1,"full-width-input"],["type","email","matInput","","placeholder","Enter Valid Email Address","name","userInputText","email","",3,"ngModel","ngModelChange"],["email","ngModel"],["name","userInputText","matInput","","matAutosizeMinRows","4","maxlength","200","placeholder","Do not enter personal information.",3,"ngModel","ngModelChange"],["position","end",4,"ngIf"],["position","end"],["matInput","","placeholder","Phone x-(xxx)xxx-xxxx","name","userInputText",3,"ngModel","ngModelChange"],[1,"txn-file-upload"],["for","image"],["type","file","name","userInputText",1,"file-selector",3,"id","change"],["fileInput",""],["placeholder","Select from options","multiple","","name","selectedChecklistOptions",3,"ngModel","ngModelOptions","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"select-choice-container"],["placeholder","Make a choice",3,"value","valueChange","selectionChange"],["class","select-choice-option",3,"value",4,"ngFor","ngForOf"],[1,"select-choice-option",3,"value"],[1,"choice-select-img-contr"],["class","choice-select-image",3,"src","alt",4,"ngIf"],[1,"choice-select-caption"],[1,"choice-select-image",3,"src","alt"],[1,"mcb-choice-container","choicecarousel"],[1,"choice-slider"],["name","fontStyle","placeholder","Select Choice","aria-label","Select Choice",3,"value","valueChange"],["class","choice-button-toggle",3,"value","change",4,"ngFor","ngForOf"],[1,"choice-button-toggle",3,"value","change"],[1,"eachchoice"],["class","choiceimagebox",4,"ngIf"],[1,"choicetext"],[1,"choiceimagebox"],[1,"choiceimage",3,"alt","src"],[1,"x4-box",3,"ngClass"],[1,"x5-center-button-container"],["id","fccardlyt-boxalias","class","all-buttons","matTooltip","Create a Bookmark Alias for this box.","mat-mini-fab","","color","accent","aria-label","Create a Bookmark Alias for this box.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","fccardlyt-boximage","class","all-buttons small-image-button","matTooltip","Show Image on Center box","mat-mini-fab","","color","accent","aria-label","Show Image on Center box.","tabindex","0",3,"background-image","matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","fccardlyt-boxvideo","class","all-buttons small-image-button","matTooltip","Show Video for the Center box.","aria-label","Show Video for the Center box.","mat-mini-fab","","color","accent",3,"background-image","matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","fccardly-ctrboxbtn-imgvid","class","all-buttons","matTooltip","Show Image or Video for the current box.","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow","aria-label","Show Image or Video for the current box.","tabindex","0",3,"matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["id","fccardly-ctrboxbtn-imgvid","class","all-buttons ref-link-button-image","matTooltip","Show Image or Video for the current box.","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow","aria-label","Show Image or Video for the current box with an external link","tabindex","0",3,"background-image","matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["id","fccardly-ctrboxbtn-reflink","class","all-buttons","matTooltip","Reference link for the center box.","aria-label","Reference link for the center box.","tabindex","0","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href","click",4,"ngIf"],["id","fccardly-ctrboxbtn-reflink","class","all-buttons ref-link-button-image","matTooltip","Reference link for the center box.","aria-label","Reference link for the center box.","tabindex","0","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"background-image","matTooltipShowDelay","matTooltipHideDelay","href","click",4,"ngIf"],["id","fccardly-ctrboxbtn-file","class","all-buttons","matTooltip","Open the document Attached to the current box.","tabindex","0","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href","click",4,"ngIf"],["id","fccardlyt-authorfedbk","class","all-buttons","matTooltip","Write feedback to author for this box.","mat-mini-fab","","color","accent","aria-label","Write feedback to author for this box.",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","fccardlyt-boxalias","matTooltip","Create a Bookmark Alias for this box.","mat-mini-fab","","color","accent","aria-label","Create a Bookmark Alias for this box.",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","fccardlyt-boximage","matTooltip","Show Image on Center box","mat-mini-fab","","color","accent","aria-label","Show Image on Center box.","tabindex","0",1,"all-buttons","small-image-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","fccardlyt-boxvideo","matTooltip","Show Video for the Center box.","aria-label","Show Video for the Center box.","mat-mini-fab","","color","accent",1,"all-buttons","small-image-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","fccardly-ctrboxbtn-imgvid","matTooltip","Show Image or Video for the current box.","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow","aria-label","Show Image or Video for the current box.","tabindex","0",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["id","fccardly-ctrboxbtn-imgvid","matTooltip","Show Image or Video for the current box.","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow","aria-label","Show Image or Video for the current box with an external link","tabindex","0",1,"all-buttons","ref-link-button-image",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["id","fccardly-ctrboxbtn-reflink","matTooltip","Reference link for the center box.","aria-label","Reference link for the center box.","tabindex","0","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href","click"],["id","fccardly-ctrboxbtn-reflink","matTooltip","Reference link for the center box.","aria-label","Reference link for the center box.","tabindex","0","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons","ref-link-button-image",3,"matTooltipShowDelay","matTooltipHideDelay","href","click"],["id","fccardly-ctrboxbtn-file","matTooltip","Open the document Attached to the current box.","tabindex","0","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href","click"],[1,"attachment-icon-part2"],[1,"attachment-icon-part1"],["id","fccardly-ctrboxbtn-file","matTooltip","Open the document Attached to the current box.","tabindex","0","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["id","fccardly-ctrboxbtn-file","matTooltip","Attachment link","aria-label","Open the file linked to the current box.","tabindex","0","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons","ref-link-button-image",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["id","fccardlyt-authorfedbk","matTooltip","Write feedback to author for this box.","mat-mini-fab","","color","accent","aria-label","Write feedback to author for this box.",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"cardBoxImage"],["id","fccardly-ctrbox-imgopen","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow","aria-label","Click here to open Image on Center box in a new tab.","tabindex","0",1,"cardimagelinkbutton",3,"href"],["id","x7-centerBoxVideo","aria-label","Video for the current box.","tabindex","0"],[1,"card-layout-video-parent"],[1,"videoWrapper"],["id","yt-fccardlyt-uservideo","width","300","height","300","loading","lazy","frameborder","0","allowfullscreen","",3,"src"],["id","video-active","aria-label","Close the video panel.",1,"",3,"click"],["id","centerBoxVideoThumbnail",3,"click"],["id","fccardlyt-playvideo","mat-fab","","color","warn","aria-label","Play the video for this box.",1,"video-play-icon"],["id","fccardly-ctrbox-videopen","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow","aria-label","Click here to open Video on Center box in new tab","tabindex","0",1,"opencenterboxvideo",3,"href"],["id","fccardly-ctrboxbtn-imgvid","class","all-buttons","matTooltip","Show Image or Video for the current box.","aria-label","Show Image or Video for the current box.","tabindex","0","mat-mini-fab","","target","_blank","rel","noopener nofollow",3,"matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["id","fccardly-ctrboxbtn-imgvid","class","all-buttons ref-link-button-image","matTooltip","Show Image or Video for the current box.","mat-mini-fab","","target","_blank","rel","noopener nofollow","aria-label","Show Image or Video for the current box.","tabindex","0",3,"matTooltipShowDelay","matTooltipHideDelay","background-image","href",4,"ngIf"],["id","fccardly-ctrboxbtn-imgvid","matTooltip","Show Image or Video for the current box.","aria-label","Show Image or Video for the current box.","tabindex","0","mat-mini-fab","","target","_blank","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href"],[1,"cardbtnmaticons"],["id","fccardly-ctrboxbtn-imgvid","matTooltip","Show Image or Video for the current box.","mat-mini-fab","","target","_blank","rel","noopener nofollow","aria-label","Show Image or Video for the current box.","tabindex","0",1,"all-buttons","ref-link-button-image",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["id","fccardly-ctrboxbtn-reflink","matTooltip","Reference link for the center box.","aria-label","Reference link for the center box.","tabindex","0","target","_blank","mat-mini-fab","","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["id","fccardly-ctrboxbtn-reflink","matTooltip","Reference link for the center box.","aria-label","Reference link for the center box.","tabindex","0","target","_blank","mat-mini-fab","","rel","noopener nofollow",1,"all-buttons","ref-link-button-image",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["id","fccardly-ctrboxbtn-file","matTooltip","Open the document Attached to the current box.","tabindex","0","mat-mini-fab","","target","_blank","rel","noopener nofollow",1,"all-buttons",3,"matTooltipShowDelay","matTooltipHideDelay","href"],[1,"cardbtnmaticons","attachment-icon-combo"],[1,"cardbtniconlinks"],["id","fccardlyt-boxalias","matTooltip","Create a Bookmark Alias for this box.","mat-mini-fab","","color","accent","aria-label","Create a Bookmark Alias for this box.",1,"all-buttons","card-bookmark-button","make-button-transparent",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","fccardlyt-authorfedbk","matTooltip","Write feedback to author for this box.","mat-mini-fab","","color","accent","aria-label","Write feedback to author for this box.",1,"all-buttons","card-feedback-button","make-button-transparent",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","x6-center-box-image",1,"x6-center-box-overlap-image"],["id","centerBoxImage","role","img","aria-label","Image Description for the center box."],["id","fccardly-ctrbox-imgzoomin","mat-mini-fab","","target","_blank","rel","noopener nofollow","role","button","tabindex","0","aria-label","Click here to open center box image in new browser tab.",1,"enlargecenterboximage",3,"href"],["id","x6-center-box-video",1,"x6-center-box-overlap-image"],["mat-menu-item","","id","back-kb-page","aria-label","Go back to Knowledgebase page and abandon current flow",3,"click"],["mat-menu-item","","id","back-orghome-page","aria-label","Go back to Organization Home page and abandon current flow",3,"click"],["class","x5-center-button-container","joyrideStep","flowchart-box-metadata","
1stepPosition","right","text","For every box in your flowchart, you are able to attach a file, show an image, attach a link to some other website as well as other features.",3,"title",4,"ngIf"],["type","file",1,"file-selector",3,"id","change"],["joyrideStep","flowchart-box-metadata","stepPosition","right","text","For every box in your flowchart, you are able to attach a file, show an image, attach a link to some other website as well as other features.",1,"x5-center-button-container",3,"title"],["id","fccardly-ctrboxbtn-imgvid","class","all-buttons ref-link-button-image","matTooltip","Show Image or Video for the current box.","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",3,"background-image","matTooltipShowDelay","matTooltipHideDelay","href",4,"ngIf"],["id","fccardly-ctrboxbtn-imgvid","matTooltip","Show Image or Video for the current box.","mat-mini-fab","","color","accent","target","_blank","rel","noopener nofollow",1,"all-buttons","ref-link-button-image",3,"matTooltipShowDelay","matTooltipHideDelay","href"],["class","choice-select-image","alt","No Image","width","50","height","50",3,"src",4,"ngIf"],["alt","No Image","width","50","height","50",1,"choice-select-image",3,"src"],[1,"ok-button-container"],["id","fccardlyt-btn-okdone","mat-raised-button","","color","primary","aria-label","Answer OK and Done to complete the flowchart.",1,"x7-ok-only","x7-show-button",3,"disabled","click"],[1,"yes-button-container"],["id","fccardlyt-btn-yesdone","mat-raised-button","","color","primary","aria-label","Answer Yes and Done to complete the flowchart.",1,"x7-yes-half","x7-show-button",3,"disabled","click"],[1,"default-button-text"],["class","custom-button-text",4,"ngIf"],[1,"no-button-container"],["id","fccardlyt-btn-nodone","mat-raised-button","","color","primary","aria-label","Answer No and Done to complete the flowchart.",1,"x7-no-half","x7-show-button",3,"disabled","click"],[1,"custom-button-text"],["class","ok-button-container",4,"ngIf"],["class","yes-button-container",4,"ngIf"],["class","no-button-container",4,"ngIf"],["id","fccardlyt-btn-ok","mat-raised-button","","color","primary","aria-label","Answer OK",1,"x7-ok-only","x7-show-button",3,"disabled","click"],["id","fccardlyt-btn-oksend","mat-raised-button","","color","primary","aria-label","Answer OK and Send to complete this flowchart.",1,"x7-ok-only","x7-show-button","sendemaildone",3,"disabled","click"],["id","fccardlyt-btn-yessend","mat-raised-button","","color","primary","aria-label","Answer Yes and Send to complete this flowchart.",1,"x7-yes-half","x7-show-button","sendemaildone",3,"disabled","click"],["id","fccardlyt-btn-nosend","mat-raised-button","","color","primary","aria-label","Answer No and send to complete this flowchart.",1,"x7-no-half","x7-show-button","sendemaildone",3,"disabled","click"],["id","fccardlyt-btn-yes","mat-raised-button","","color","primary","aria-label","Answer Yes",1,"x7-yes-half","x7-show-button",3,"disabled","click"],["id","fccardlyt-btn-yesdone","mat-raised-button","","color","primary","aria-label","Answer Yes and done to complete the flowchart.",1,"x7-yes-half","x7-show-button",3,"disabled","click"],["id","fccardlyt-btn-no","mat-raised-button","","color","primary","aria-label","Answer No",1,"x7-no-half","x7-show-button",3,"disabled","click"]],template:function(i,d){1&i&&(t.YNc(0,Xb,5,1,"div",0),t.YNc(1,tw,5,0,"div",0),t.YNc(2,nw,7,2,"div",0),t.YNc(3,Cw,48,30,"div",1),t.YNc(4,hE,164,66,"div",2),t.TgZ(5,"button",3),t.NdJ("click",function(){return d.togglefooter()}),t.TgZ(6,"mat-icon",4),t._uU(7,"call_to_action"),t.qZA()()),2&i&&(t.Q6J("ngIf",d.genericErr),t.xp6(1),t.Q6J("ngIf",d.publishEmbedRenderError&&!d.embedFcFinish&&!d.genericErr),t.xp6(1),t.Q6J("ngIf",d.embedFcFinish&&!d.publishEmbedRenderError),t.xp6(1),t.Q6J("ngIf",!d.publishEmbedRenderError&&!d.embedFcFinish&&!d.genericErr),t.xp6(1),t.Q6J("ngIf",!d.publishEmbedRenderError&&!d.embedFcFinish&&!d.genericErr),t.xp6(1),t.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300))},dependencies:[dp.mk,dp.sg,dp.O5,Qb.oO,bc._Y,bc.Fj,bc.JJ,bc.JL,bc.nD,bc.on,bc.On,bc.F,fp.TO,fp.KE,fp.bx,$b.Nt,jb.ey,Yo.lW,Yo.zs,Ym.A9,Ym.Yi,Lf.Hw,_p.VK,_p.OP,_p.p6,Zf.Ou,Gb.gD,zb.Rr,Kb.gM,Of.ym,pp.y],encapsulation:2,data:{animation:[(0,bi.X$)("layerTrigger",[(0,bi.SB)("lastpreviouslayer",(0,bi.oB)({top:"-30%",opacity:0}
1)),(0,bi.SB)("previouslayer",(0,bi.oB)({top:"0%",opacity:1})),(0,bi.SB)("centerlayer",(0,bi.oB)({top:"23%",opacity:1})),(0,bi.SB)("nextlayer",(0,bi.oB)({top:"77%",opacity:1})),(0,bi.SB)("afternextlayer",(0,bi.oB)({top:"123%",opacity:0})),(0,bi.eR)(":enter",[(0,bi.oB)({top:"*",opacity:0}),(0,bi.jt)("20ms")]),(0,bi.eR)("* => *",[(0,bi.IO)("@boxdisappeartrigger",(0,bi.pV)(),{optional:!0}),(0,bi.jt)("400ms ease-in-out")])]),(0,bi.X$)("boxdisappeartrigger",[(0,bi.eR)(":leave",[(0,bi.vP)([(0,bi.jt)("50ms ease",(0,bi.oB)({display:"none"}))])])]),(0,bi.X$)("yesokno-trigger",[(0,bi.SB)("yesoknolayer-a",(0,bi.oB)({top:"67%",opacity:1})),(0,bi.SB)("yesoknolayer-b",(0,bi.oB)({top:"67%",opacity:1})),(0,bi.eR)("yesoknolayer-a <=> yesoknolayer-b",[(0,bi.jt)("400ms",(0,bi.F4)([(0,bi.oB)({opacity:1,offset:0}),(0,bi.oB)({opacity:0,offset:.2}),(0,bi.oB)({opacity:0,offset:.8}),(0,bi.oB)({opacity:1,offset:1})]))])])]}}),s})()},45768:(hC,cp,Ze)=>{Ze.d(cp,{y:()=>P6});var bi=Ze(15861),tr=Ze(65938),Mi=Ze(24006),Nf=Ze(29521),u=Ze(94650),jr=Ze(36895),ba=Ze(4859),t=Ze(97392),Zo=Ze(71948);function Yo(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"div"),u._uU(1),u.TgZ(2,"div",2)(3,"button",3),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.onClickClose())}),u._uU(4,"Cancel"),u.qZA(),u.TgZ(5,"button",4),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.answerYes())}),u._uU(6,"Confirm"),u.qZA()()()}if(2&et){const Y=u.oxw();u.xp6(1),u.hij("",Y.message," ")}}const Lf=function(){return{standalone:!0}};function Eb(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"div",7)(1,"p")(2,"strong"),u._uU(3,"Really? Modify Master Version?"),u.qZA(),u._uU(4," You are trying to edit a flowchart version that is currently marked as Master version. A Master version is discoverable by other users in the category tree and there may be users currently navigating this Master Version. Please select below:"),u.qZA(),u.TgZ(5,"mat-radio-group",8),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw(2);return u.KtG(Zt.editMaster=gt)}),u.TgZ(6,"mat-radio-button",9)(7,"strong"),u._uU(8,"Remove Master Status & Edit"),u.qZA()(),u.TgZ(9,"p",10),u._uU(10,"Remove Master Status & Edit this version "),u.TgZ(11,"strong"),u._uU(12,"(Recommended)"),u.qZA(),u._uU(13," - Remove the Master status for this version and make your changes to this version. This flowchart will not be accessible by others so you may want to modify it at an appropriate time of day. When you are finished editing, "),u.TgZ(14,"strong"),u._uU(15,"REMEMBER"),u.qZA(),u._uU(16," to go back and mark this flowchart version as the Master version "),u.TgZ(17,"span"),u._uU(18,"and share it with PUBLIC status"),u.qZA(),u._uU(19," for it to be again accessible and discoverable by others. "),u.TgZ(20,"strong"),u._uU(21,"We recommend this approach"),u.qZA(),u._uU(22," because this way you can maintain a single version of your flowchart at all times which is much easier than managing several confusingly similar versions of the same flowchart."),u.qZA(),u._UZ(23,"br"),u.TgZ(24,"mat-radio-button",11)(25,"strong"),u._uU(26," Keep Master & Edit its Clone"),u.qZA()(),u.TgZ(27,"p",10),u._uU(28," Keep Master version intact & Edit a Cloned copy of the Master version. Remember, the new clone version will only be discoverable after you mark it as the Master version for this flowchart. This approach creates extra versions of your flowchart which may become confusing to manage later on."),u.qZA()()()}if(2&et){const Y=u.oxw(2);u.xp6(5),u.Q6J("ngModel",Y.editMaster)("ngModelOptions",u.DdM(2,Lf))}}function Ib(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"div",2)(1,"button",12),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw(2);return u.KtG(gt.editMasterNextAction())}),u._uU(2,"Next Step"),u.qZA()()}}function Fb(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"div")(1,"p"),u._uU(2,"You have chosen to keep your current version as MASTER and create a copy in new version for you to edit now."),u.qZA(),u.TgZ(3,"div",2)(4,"button",3),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw(2);return u.KtG(gt.onClickClose())}),u._uU(5,"Cancel"),u.qZA(),u.TgZ(6,"button",13),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw(2);return u.KtG(gt.confirmEditInNewVersion())}),u._uU(7,"Confirm"),u.qZA()()()}}function lp(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"div")(1,"p"),u._uU(2,"You have selected to edit master version. We will remove the master flag from this version and allow you to edit the same version. Don't forget to come back to this section and turn ON the Master Status after you finish editing because only Master Version of a flowchart is accessible to others."),u.qZA(),u.TgZ(3,"div",2)(4,"button",14),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw(2);return u.KtG(gt.onClickClose())}),u._uU(5,"Cancel"),u.qZA(),u.TgZ(6,"button",15),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw(2);return u.KtG(gt.confirmEditInMasterVersion())}),u._uU(7,"Confirm"),u.qZA()()()}}function Mb(et,ue){if(1&et&&(u.TgZ(0,"div"),u.YNc(1,Eb,29,3,"div",5),u.YNc(2,Ib,3,0,"div",6),u.YNc(3,Fb,8,0,"div",1),u.YNc(4,lp,8,0,"div",1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.Q6J("ngIf",!Y.editMasterVerChoiceSelected&&!Y.editNewVerChoiceSelected),u.xp6(1),u.Q6J("ngIf",!Y.editMasterVerChoiceSelected&&!Y.editNewVerChoiceSelected),u.xp6(1),u.Q6J("ngIf",Y.editNewVerChoiceSelected),u.xp6(1),u.Q6J("ngIf",Y.editMasterVerChoiceSelected)}}let _o=(()=>{class et{constructor(Y,O,gt){this.ngZone=Y,this.dialogRef=O,this.data=gt,this.editMaster="Y",this.editNewVerChoiceSelected=!1,this.editMasterVerChoiceSelected=!1,this.title=gt.title,this.message=gt.message,this.isMaster=gt.isMaster,this.action=gt.action,this.flowchartDetails=gt.flowchartDetails,this.genericErrMsg=new u.vpe}editMasterNextAction(){"Y"===this.editMaster?this.editMasterVerChoiceSelected=!0:this.editNewVerChoiceSelected=!0}onClickClose(){this.ngZone.run(()=>{this.dialogRef.close()})}answerYes(){this.ngZone.run(()=>{this.dialogRef.close(this.data.answer)})}confirmEditInNewVersion(){this.data.answer="editInNew",this.editNewVerChoiceSelected=!1,this.editMasterVerChoiceSelected=!1,this.ngZone.run(()=>{this.dialogRef.close(this.data.answer)})}confirmEditInMasterVersion(){this.data.answer="editMaster",this.editMasterVerChoiceSelected=!1,this.editNewVerChoiceSelected=!1,this.ngZone.run(()=>{this.dialogRef.close(this.data.answer)})}}return et.\u0275fac=function(Y){return new(Y||et)(u.Y36(u.R0b),u.Y36(tr.s
1o),u.Y36(tr.WI))},et.\u0275cmp=u.Xpm({type:et,selectors:[["ng-component"]],decls:7,vars:3,consts:[["id","fcvieweditversn-close","mat-button","","aria-label","Close the Edit version confirmation dialog.",1,"close-cross",3,"click"],[4,"ngIf"],["mat-dialog-actions","",1,"common-modal-buttons"],["id","fcvieweditversn-cancl","type","button","mat-button","",3,"click"],["id","fcvieweditversn-confirm","type","button","mat-raised-button","","cdkFocusInitial","",3,"click"],["class","edit-master-dialog",4,"ngIf"],["mat-dialog-actions","","class","common-modal-buttons",4,"ngIf"],[1,"edit-master-dialog"],["name","editMaster",1,"common-radio-group",3,"ngModel","ngModelOptions","ngModelChange"],["value","Y"],[1,"edit-master-choice-smalltext"],["value","N"],["id","fcvieweditversn-editmastrnextstp","type","button","mat-raised-button","","color","accent",3,"click"],["id","fcvieweditversn-confirmnewversn","type","button","aria-label","Confirm to keep your current version as MASTER and create a copy in new version for you to edit now.","mat-raised-button","","cdkFocusInitial","",3,"click"],["id","fcvieweditversn-close","type","button","mat-button","",3,"click"],["id","fcvieweditversn-remmstrflagedit","type","button","aria-label","Confirm to remove the master flag from this version and allow you to edit the same version.","mat-raised-button","","cdkFocusInitial","",3,"click"]],template:function(Y,O){1&Y&&(u.TgZ(0,"button",0),u.NdJ("click",function(){return O.onClickClose()}),u.TgZ(1,"mat-icon"),u._uU(2,"close"),u.qZA()(),u.TgZ(3,"h3"),u._uU(4),u.qZA(),u.YNc(5,Yo,7,1,"div",1),u.YNc(6,Mb,5,4,"div",1)),2&Y&&(u.xp6(4),u.Oqu(O.title),u.xp6(1),u.Q6J("ngIf","N"===O.isMaster||"Y"===O.isMaster&&"clone"===O.action),u.xp6(1),u.Q6J("ngIf","Y"===O.isMaster&&"edit"===O.action))},dependencies:[jr.O5,Mi.JJ,Mi.On,ba.lW,tr.H8,t.Hw,Zo.VQ,Zo.U0],styles:["#published-url[_ngcontent-%COMP%]{color:navy}.form-full-width[_ngcontent-%COMP%]{width:100%}.edit-fc-modal[_ngcontent-%COMP%]{height:calc(100% - 70px)}.file-upload-section[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:block;margin:10px}.shaded-div[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:15px}#uploadedImage[_ngcontent-%COMP%]{background-position:center center;background-repeat:no-repeat;width:200px;right:0;margin:auto;height:200px;background-size:contain}.image-upload-title[_ngcontent-%COMP%]{color:#696969}.action-success[_ngcontent-%COMP%]{color:green}.edit-master-dialog[_ngcontent-%COMP%]{font-size:smaller;margin:5px}.edit-master-choice-smalltext[_ngcontent-%COMP%]{font-size:smaller;margin:5px 5px 5px 20px}a.social-share-diabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.explainme[_ngcontent-%COMP%]{text-decoration-line:underline}.width90pct-centerized-text[_ngcontent-%COMP%]{width:90%;margin:10px auto}.fc-version-table-paginator[_ngcontent-%COMP%]{width:98%;margin:0 auto}.fc-version-table[_ngcontent-%COMP%]{text-align:center;width:98%;max-height:200px;margin:0 auto}.fc-version-table[_ngcontent-%COMP%] .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.fc-version-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.fc-version-table[_ngcontent-%COMP%] .mat-column-Name[_ngcontent-%COMP%]{width:150px;font-size:12px;text-align:right}.fc-version-table[_ngcontent-%COMP%] .mat-column-Master[_ngcontent-%COMP%]{width:100px;text-align:center;background-color:#fffbeb}.fc-version-table[_ngcontent-%COMP%] .mat-column-Actions[_ngcontent-%COMP%]{width:150px;text-align:center}.fc-version-table[_ngcontent-%COMP%] .mat-column-EndStatus[_ngcontent-%COMP%]{width:100px;text-align:center;background-color:#fffbeb}.fc-version-table[_ngcontent-%COMP%] .mat-column-Author[_ngcontent-%COMP%]{width:100px;text-align:center}.fc-version-table[_ngcontent-%COMP%] .mat-column-ParentVersion[_ngcontent-%COMP%]{width:150px;font-size:12px;text-align:center;background-color:#fffbeb}.fc-version-table[_ngcontent-%COMP%] .mat-column-CreatedTime[_ngcontent-%COMP%]{width:150px;text-align:center}.fc-version-table[_ngcontent-%COMP%] .mat-column-LastUpdated[_ngcontent-%COMP%]{width:150px;text-align:center;background-color:#fffbeb}.spinner-container[_ngcontent-%COMP%]{position:relative;height:0;width:100%}.end-status-spinner[_ngcontent-%COMP%]{position:absolute;top:-33px;left:35px}.uploadoption[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-around;align-items:flex-start;flex-grow:1;margin:20px 0}
1.image-cropper-container[_ngcontent-%COMP%]{width:200px!important;overflow:hidden!important}.custom-cropped-image[_ngcontent-%COMP%]{height:130px}.buttons-container[_ngcontent-%COMP%], .cropper-tools-container[_ngcontent-%COMP%]{display:flex!important;flex-direction:row!important;justify-content:space-around!important;align-items:center!important;padding:6px!important;margin:20px 0!important}.croppertool-button[_ngcontent-%COMP%]{background:transparent;margin:3px}.cropper-rotation-slider[_ngcontent-%COMP%]{margin:8px;width:200px}.entity-action-status[_ngcontent-%COMP%]{color:green}.fc-notes-textinput[_ngcontent-%COMP%]{height:100px;background-color:#ffd74040}#useracty-persistance[_ngcontent-%COMP%], #fceditdilg-fcname[_ngcontent-%COMP%]{max-width:250px}.user-activity-persist-disable-msg[_ngcontent-%COMP%]{color:brown;font-style:italic}.note-italic[_ngcontent-%COMP%]{font-style:italic}.manage-box-custom-var[_ngcontent-%COMP%]{text-align:center}.manage-box-custom-var[_ngcontent-%COMP%] .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.manage-box-custom-var[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-Actions[_ngcontent-%COMP%]{width:70px;text-align:start}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-boxCaption[_ngcontent-%COMP%]{width:200px;text-align:start;background-color:#fffbeb}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-boxType[_ngcontent-%COMP%]{width:70px}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-parentBox[_ngcontent-%COMP%]{width:100px;text-align:start;background-color:#fffbeb}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-enableForAPI[_ngcontent-%COMP%]{width:100px}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-userInputCustomOptionCustomVarName[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-boxVarCustomName[_ngcontent-%COMP%]{width:200px}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{width:200px;background-color:#fffbeb}"]}),et})();var wn=Ze(17489),wo=Ze(37901);let Nb=(()=>{class et{constructor(Y,O,gt,Zt){this.ngZone=Y,this.dialogRef=O,this.flowchartVersionService=gt,this.data=Zt,this.userAccess="",this.fcVersionList=Zt.fcversionlist,this.userAccess=Zt.userAccess,this.orgId=Zt.orgId,this.flowchartId=Zt.flowchartId,this.masterFlag=Zt.masterFlag,this.selectedVersionId=Zt.selectedVersionId,this.title=Zt.title,this.message=Zt.message,this.genericErrMsg=new u.vpe}updateFlowchartMasterFlag(){this.flowchartVersionService.changeFlowchartMasterVersion({flowchartId:this.flowchartId,flowchartVersionId:this.selectedVersionId,flowchartCreator:this.data.flowchartCreator,orgId:this.orgId,masterFlag:this.masterFlag,userAccess:this.userAccess}).subscribe(O=>{for(var gt in this.fcVersionList)wn.isEqual(this.fcVersionList[gt].versionId,this.selectedVersionId)?this.fcVersionList[gt].Master=this.masterFlag:wn.isEqual(this.fcVersionList[gt].Master,"Y")&&(this.fcVersionList[gt].Master="N");return this.dialogRef.close(!0)},O=>(console.log(O),this.genericErrMsg.emit(O&&O.error?O.error.statusMessage:""),this.dialogRef.close(!0)))}close(){this.ngZone.run(()=>{this.dialogRef.close()})}}return et.\u0275fac=function(Y){return new(Y||et)(u.Y36(u.R0b),u.Y36(tr.so),u.Y36(wo.w),u.Y36(tr.WI))},et.\u0275cmp=u.Xpm({type:et,selectors:[["ng-component"]],decls:9,vars:2,consts:[["mat-dialog-actions","",1,"common-modal-buttons"],["type","button","mat-button","",3,"click"],["type","button","cdkFocusInitial","","mat-raised-button","",3,"click"]],template:function(Y,O){1&Y&&(u.TgZ(0,"h3"),u._uU(1),u.qZA(),u.TgZ(2,"p"),u._uU(3),u.qZA(),u.TgZ(4,"div",0)(5,"button",1),u.NdJ("click",function(){return O.close()}),u._uU(6,"Cancel"),u.qZA(),u.TgZ(7,"button",2),u.NdJ("click",function(){return O.updateFlowchartMasterFlag()}),u._uU(8,"Confirm"),u.qZA()()),2&Y&&(u.xp6(1),u.Oqu(O.title),u.xp6(2),u.Oqu(O.message))},dependencies:[ba.lW,tr.H8],encapsulation:2}),et})();
1function Lb(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"div",2)(1,"button",3),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.onClickClose())}),u._uU(2,"Cancel"),u.qZA(),u.TgZ(3,"button",4),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.deleteYes())}),u._uU(4,"Confirm"),u.qZA()()}}function up(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"div",2)(1,"button",5),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.onClickClose())}),u._uU(2,"Got it!!!"),u.qZA()()}}let tl=(()=>{class et{constructor(Y,O,gt){this.ngZone=Y,this.dialogRef=O,this.data=gt,this.title=gt.title,this.message=gt.message,this.isMaster=gt.isMaster,this.genericErrMsg=new u.vpe}onClickClose(){this.ngZone.run(()=>{this.dialogRef.close()})}deleteYes(){this.ngZone.run(()=>{this.dialogRef.close(this.data.answer)})}}return et.\u0275fac=function(Y){return new(Y||et)(u.Y36(u.R0b),u.Y36(tr.so),u.Y36(tr.WI))},et.\u0275cmp=u.Xpm({type:et,selectors:[["ng-component"]],decls:9,vars:4,consts:[["mat-button","",1,"close-cross",3,"click"],["mat-dialog-actions","","class","common-modal-buttons",4,"ngIf"],["mat-dialog-actions","",1,"common-modal-buttons"],["type","button","mat-button","",3,"click"],["type","button","mat-raised-button","","cdkFocusInitial","",3,"click"],["type","button","mat-raised-button","",3,"click"]],template:function(Y,O){1&Y&&(u.TgZ(0,"button",0),u.NdJ("click",function(){return O.onClickClose()}),u.TgZ(1,"mat-icon"),u._uU(2,"close"),u.qZA()(),u.TgZ(3,"h3"),u._uU(4),u.qZA(),u.TgZ(5,"p"),u._uU(6),u.qZA(),u.YNc(7,Lb,5,0,"div",1),u.YNc(8,up,3,0,"div",1)),2&Y&&(u.xp6(4),u.Oqu(O.title),u.xp6(2),u.Oqu(O.message),u.xp6(1),u.Q6J("ngIf","N"===O.isMaster),u.xp6(1),u.Q6J("ngIf","Y"===O.isMaster))},dependencies:[jr.O5,ba.lW,tr.H8,t.Hw],encapsulation:2}),et})();var Uf=Ze(22858),wa=Ze(62403),Om=Ze(89284),po=Ze(30671),Bm=Ze(98739),hp=Ze(96308),Pm=Ze(31934),Ub=Ze(69327),Rm=Ze(43949),Jm=Ze(80529),Zb=Ze(19132),Hm=Ze(93531),Ob=Ze(65244),Bb=Ze(64838),Pb=Ze(64918),Rb=Ze(6855),Jb=Ze(75570),Hb=Ze(38058),Yb=Ze(36425),qb=Ze(49889),Vb=Ze(81142),dp=Ze(80202),Qb=Ze(10369),bc=Ze(30882),fp=Ze(88493),$b=Ze(25294),jb=Ze(17009),Ym=Ze(21952),_p=Ze(55829),Zf=Ze(59549),Gb=Ze(284),zb=Ze(3238),Kb=Ze(56709),Of=Ze(77331),pp=Ze(37084),Wb=Ze(44850),Xb=Ze(51572),tw=Ze(84385),ew=Ze(87314),nw=Ze(90455),iw=Ze(10266),rw=Ze(64985);const ow=["fileInput"];function aw(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.hij("",Y.genericErrMsg," ")}}function sw(et,ue){if(1&et&&(u.TgZ(0,"div",113),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.hij(" ",Y.successMsg," ")}}function cw(et,ue){1&et&&(u.TgZ(0,"th",114),u._uU(1," Flowchart Version "),u.qZA())}function lw(et,ue){if(1&et&&(u.TgZ(0,"td",115),u._uU(1),u.qZA()),2&et){const Y=ue.$implicit;u.xp6(1),u.hij(" ",Y.Name," ")}}function uw(et,ue){1&et&&(u.TgZ(0,"th",114),u._uU(1," Master Version "),u.qZA())}function hw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"button",119),u.NdJ("click",function(gt){u.CHM(Y);const Zt=u.oxw().$implicit,se=u.oxw();return gt.stopPropagation(),u.KtG(se.changeFlowchartMasterFlag(Zt.versionId,"Y","C"))}),u.TgZ(1,"mat-icon"),u._uU(2,"radio_button_unchecked"),u.qZA()()}}function dw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"button",120),u.NdJ("click",function(gt){u.CHM(Y);const Zt=u.oxw().$implicit,se=u.oxw();return gt.stopPropagation(),u.KtG(se.changeFlowchartMasterFlag(Zt.versionId,"N","C"))}),u.TgZ(1,"mat-icon"),u._uU(2,"radio_button_checked"),u.qZA()()}}function fw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"button",121),u.NdJ("click",function(gt){u.CHM(Y);const Zt=u.oxw().$implicit,se=u.oxw();return gt.stopPropagation(),u.KtG(se.changeFlowchartMasterFlag(Zt.versionId,"N","R"))}),u.TgZ(1,"mat-icon"),u._uU(2,"cancel"),u.qZA()()}2&et&&u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function _w(et,ue){if(1&et&&(u.TgZ(0,"td",115),u._uU(1),u.YNc(2,hw,3,0,"button",116),u.YNc(3,dw,3,0,"button",117),u.YNc(4,fw,3,4,"button",118),u.qZA()),2&et){const Y=ue.$implicit;u.xp6(1),u.hij(" ",Y.Master," "),u.xp6(1),u.Q6J("ngIf","N"===Y.Master),u.xp6(1),u.Q6J("ngIf","Y"===Y.Master),u.xp6(1),u.Q6J("ngIf","Y"===Y.Master)}}function pw(et,ue){1&et&&(u.TgZ(0,"th",122),u._uU(1,"Actions"),u.qZA())}function gw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"button",128),u.NdJ("click",function(gt){u.CHM(Y);const Zt=u.oxw().$implicit,se=u.oxw();return gt.stopPropagation(),u.KtG(se.deleteSelectedVersion(Zt.Master,Zt.ver
1sionId,Zt.Name))}),u.TgZ(1,"mat-icon"),u._uU(2,"delete_forever"),u.qZA()()}2&et&&u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function mw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"span",129)(1,"button",130),u.NdJ("click",function(gt){u.CHM(Y);const Zt=u.oxw().$implicit,se=u.oxw();return gt.stopPropagation(),u.KtG(se.deleteSelectedVersion(Zt.Master,Zt.versionId,Zt.Name))}),u.TgZ(2,"mat-icon"),u._uU(3,"delete_forever"),u.qZA()()()}if(2&et){const Y=u.oxw().$implicit,O=u.oxw();u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300),u.xp6(1),u.Q6J("disabled",O.flowchartVersionId===Y.versionId)}}function vw(et,ue){1&et&&u._UZ(0,"mat-spinner",131)}function yw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"td",115)(1,"button",123),u.NdJ("click",function(gt){const se=u.CHM(Y).$implicit,Fe=u.oxw();return gt.stopPropagation(),u.KtG(Fe.editSelectedVersion(se.Master,se.versionId,se.Name))}),u.TgZ(2,"mat-icon"),u._uU(3,"mode_edit"),u.qZA()(),u.TgZ(4,"button",124),u.NdJ("click",function(gt){const se=u.CHM(Y).$implicit,Fe=u.oxw();return gt.stopPropagation(),u.KtG(Fe.viewSelectedVersion(se.versionId))}),u.TgZ(5,"mat-icon"),u._uU(6,"remove_red_eye"),u.qZA()(),u.TgZ(7,"button",125),u.NdJ("click",function(gt){const se=u.CHM(Y).$implicit,Fe=u.oxw();return gt.stopPropagation(),u.KtG(Fe.createCloneFromSelectedVersion(se.Master,se.versionId,se.Name))}),u.TgZ(8,"mat-icon"),u._uU(9,"content_copy"),u.qZA()(),u.YNc(10,gw,3,4,"button",126),u.YNc(11,mw,4,5,"span",127),u.YNc(12,vw,1,0,"mat-spinner",64),u.qZA()}if(2&et){const Y=ue.$implicit,O=u.oxw();u.xp6(1),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300),u.xp6(3),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300),u.xp6(3),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300),u.xp6(3),u.Q6J("ngIf",O.flowchartVersionId!==Y.versionId||O.fcVersionList&&1===O.fcVersionList.length),u.xp6(1),u.Q6J("ngIf",O.flowchartVersionId===Y.versionId&&O.fcVersionList&&1!==O.fcVersionList.length),u.xp6(1),u.Q6J("ngIf",O.fceditloading&&O.selecteFcVerId===Y.versionId)}}function xw(et,ue){1&et&&(u.TgZ(0,"th",122),u._uU(1,"Resolution Status"),u.qZA())}function bw(et,ue){1&et&&u._UZ(0,"mat-spinner",135)}function ww(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"td",115)(1,"button",132),u.NdJ("click",function(gt){const se=u.CHM(Y).$implicit,Fe=u.oxw();return gt.stopPropagation(),u.KtG(Fe.viewEditConclusionBoxDetails(se.versionId,se.Name))}),u.TgZ(2,"mat-icon"),u._uU(3,"balance"),u.qZA(),u._uU(4," Manage "),u.qZA(),u.TgZ(5,"div",133),u.YNc(6,bw,1,0,"mat-spinner",134),u.qZA()()}if(2&et){const Y=ue.$implicit,O=u.oxw();u.xp6(1),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300),u.xp6(5),u.Q6J("ngIf",O.endStatusDialogLoading&&O.selecteFcVerId===Y.versionId)}}function Tw(et,ue){1&et&&(u.TgZ(0,"th",114),u._uU(1,"Author"),u.qZA())}function Cw(et,ue){if(1&et&&(u.TgZ(0,"td",115),u._uU(1),u.qZA()),2&et){const Y=ue.$implicit;u.xp6(1),u.Oqu(Y.Author)}}function kw(et,ue){1&et&&(u.TgZ(0,"th",114),u._uU(1," Parent Version "),u.qZA())}function Dw(et,ue){if(1&et&&(u.TgZ(0,"td",115),u._uU(1),u.qZA()),2&et){const Y=ue.$implicit;u.xp6(1),u.hij(" ",Y.ParentVersion," ")}}function Sw(et,ue){1&et&&(u.TgZ(0,"th",114),u._uU(1," Created Time (MM/dd/yyyy hh:mm:ss) "),u.qZA())}function Aw(et,ue){if(1&et&&(u.TgZ(0,"td",115),u._uU(1),u.ALo(2,"date"),u.qZA()),2&et){const Y=ue.$implicit,O=u.oxw();u.xp6(1),u.hij(" ",u.xi3(2,1,O.validDateFormat(Y.CreatedTime),"MM/dd/yyyy HH:mm:ss")," ")}}function Ew(et,ue){1&et&&(u.TgZ(0,"th",114),u._uU(1," Last Updated (MM/dd/yyyy hh:mm:ss) "),u.qZA())}function Iw(et,ue){if(1&et&&(u.TgZ(0,"td",115),u._uU(1),u.ALo(2,"date"),u.qZA()),2&et){const Y=ue.$implicit,O=u.oxw();u.xp6(1),u.hij(" ",u.xi3(2,1,O.validDateFormat(Y.LastUpdated),"MM/dd/yyyy HH:mm:ss")," ")}}function Fw(et,ue){1&et&&u._UZ(0,"tr",136)}function Mw(et,ue){1&et&&u._UZ(0,"tr",137)}function Nw(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.hij(" ",Y.fcPropertyUpdateErrMsg," ")}}function Lw(et,ue){if(1&et&&(u.TgZ(0,"div",113),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.hij(" ",Y.fcPropertyUpdateSuccessMsg," ")}}function Uw(et,ue){1&et&&(u.TgZ(0,"mat-error"),u._uU(1," Flowchart Name is required. "),u.qZA())}function Zw(et,ue){1&et&&(u.TgZ(0,"mat-error"),u._uU(1," Flowchart Name cannot be greater than 50 characters. "),u.qZA())}function Ow(et,ue){1&et&&(u.TgZ(0,"mat-error"),u._uU(1," Flowchart Name can contain only alphabets, numbers or hyphen '-', but no whitespace. (Max 50 characters). "),u.qZA())}function Bw(et,ue){if(1&et&&(u.TgZ(0,"div"),u.YNc(1,Uw,2,0,"mat-error",6),u.YNc(2,Zw,2,0,"mat-error",6),u.YNc(3,Ow,2,0,"mat-error",6),u.qZA()),2&et){const Y=u.oxw();
1u.xp6(1),u.Q6J("ngIf",Y.fcMetadataForm.controls.flowchartName.errors.required),u.xp6(1),u.Q6J("ngIf",Y.fcMetadataForm.controls.flowchartName.errors.maxlength),u.xp6(1),u.Q6J("ngIf",Y.fcMetadataForm.controls.flowchartName.errors.pattern)}}function ys(et,ue){1&et&&(u.TgZ(0,"mat-icon",140),u._uU(1,"cancel"),u.qZA())}function Pw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"mat-chip",138),u.NdJ("removed",function(){const Zt=u.CHM(Y).$implicit,se=u.oxw();return u.KtG(se.removeKeyword(Zt))}),u._uU(1),u.YNc(2,ys,2,0,"mat-icon",139),u.qZA()}if(2&et){const Y=ue.$implicit,O=u.oxw();u.Q6J("selectable",O.selectable)("removable",O.removable),u.xp6(1),u.hij(" ",Y," "),u.xp6(1),u.Q6J("ngIf",O.removable)}}function Rw(et,ue){if(1&et&&(u.TgZ(0,"div",141),u._UZ(1,"div",142)(2,"br"),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.Udp("background-image","url("+Y.flowchartImageUrl+")")}}function Jw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"button",153),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw(2);return u.KtG(gt.toggleContainWithinAspectRatio())}),u.TgZ(1,"mat-icon"),u._uU(2,"filter_center_focus"),u.qZA()()}2&et&&u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Hw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"button",154),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw(2);return u.KtG(gt.toggleContainWithinAspectRatio())}),u.TgZ(1,"mat-icon"),u._uU(2,"settings_overscan"),u.qZA()()}2&et&&u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function Yw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"div",143)(1,"button",144),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.rotateRight())}),u.TgZ(2,"mat-icon"),u._uU(3,"rotate_90_degrees_cw"),u.qZA()(),u.TgZ(4,"button",145),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.rotateLeft())}),u.TgZ(5,"mat-icon"),u._uU(6,"rotate_90_degrees_ccw"),u.qZA()(),u.TgZ(7,"button",146),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.flipHorizontal())}),u.TgZ(8,"mat-icon"),u._uU(9,"switch_right"),u.qZA()(),u.TgZ(10,"button",147),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.flipVertical())}),u.TgZ(11,"mat-icon"),u._uU(12,"unfold_more"),u.qZA()(),u.YNc(13,Jw,3,4,"button",148),u.YNc(14,Hw,3,4,"button",149),u.TgZ(15,"button",150),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.resetImage())}),u.TgZ(16,"mat-icon"),u._uU(17,"refresh"),u.qZA()(),u.TgZ(18,"button",151),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.zoomOut())}),u.TgZ(19,"mat-icon"),u._uU(20,"zoom_out"),u.qZA()(),u.TgZ(21,"button",152),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.zoomIn())}),u.TgZ(22,"mat-icon"),u._uU(23,"zoom_in"),u.qZA()()()}if(2&et){const Y=u.oxw();u.xp6(1),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300),u.xp6(3),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300),u.xp6(3),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300),u.xp6(3),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300),u.xp6(3),u.Q6J("ngIf",!Y.containWithinAspectRatio),u.xp6(1),u.Q6J("ngIf",Y.containWithinAspectRatio),u.xp6(1),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300),u.xp6(3),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300),u.xp6(3),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function qw(et,ue){1&et&&(u.TgZ(0,"p"),u._uU(1,"Rotate Image"),u.qZA())}const wc=function(){return{standalone:!0}};function Vw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"mat-slider",155),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw();return u.KtG(Zt.rotation=gt)})("change",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.updateRotation())}),u._uU(1,"Rotate Image"),u.qZA()}if(2&et){const Y=u.oxw();u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300)("thumbLabel",Y.thumbL
1abel)("ngModel",Y.rotation)("ngModelOptions",u.DdM(7,wc))}}function Qw(et,ue){if(1&et&&(u.TgZ(0,"div")(1,"p"),u._uU(2,"Preview:"),u.qZA(),u._UZ(3,"img",156),u.qZA()),2&et){const Y=u.oxw();u.xp6(3),u.Udp("border",Y.croppedImage?"1px solid black":"none"),u.Q6J("src",Y.croppedImage,u.LSH)}}function $w(et,ue){1&et&&(u.TgZ(0,"mat-error"),u._uU(1,"Minimum number of days to persist user activity is 0."),u.qZA())}function jw(et,ue){1&et&&(u.TgZ(0,"mat-error"),u._uU(1,"Maximum number of days to persist user activity is 120."),u.qZA())}function Gw(et,ue){if(1&et&&(u.TgZ(0,"div"),u.YNc(1,$w,2,0,"mat-error",6),u.YNc(2,jw,2,0,"mat-error",6),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.Q6J("ngIf",Y.fcMetadataForm.controls.userActivityPersistanceDays.errors.min),u.xp6(1),u.Q6J("ngIf",Y.fcMetadataForm.controls.userActivityPersistanceDays.errors.max)}}function zw(et,ue){1&et&&(u.TgZ(0,"p",157),u._uU(1," NOTE: You will not be able to update user activity persistance duration days, as Admin of this organization has turned off User Activity Recording for all the flowcharts of this organization. "),u.qZA())}function Kw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"p",158)(1,"mat-checkbox",159),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw();return u.KtG(Zt.fcCopiable=gt)}),u._uU(2,"Allow other members of your Organization to make a separate "),u.TgZ(3,"strong"),u._uU(4,"copy"),u.qZA(),u._uU(5," of this whole flowchart. If not sure leave unchecked."),u.qZA()()}if(2&et){const Y=u.oxw();u.xp6(1),u.Q6J("ngModel",Y.fcCopiable)("ngModelOptions",u.DdM(2,wc))}}function Ww(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"p",158)(1,"mat-checkbox",159),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw();return u.KtG(Zt.fcCopiable=gt)}),u._uU(2,"Allow any user registered with DeciZone account to make a separate "),u.TgZ(3,"strong"),u._uU(4,"copy"),u.qZA(),u._uU(5," of this whole flowchart once you have selected master version and made the flowchart PUBLIC. If not sure leave unchecked."),u.qZA()()}if(2&et){const Y=u.oxw();u.xp6(1),u.Q6J("ngModel",Y.fcCopiable)("ngModelOptions",u.DdM(2,wc))}}function Xw(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"p",158)(1,"mat-checkbox",159),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw();return u.KtG(Zt.fcAppendAsFragment=gt)}),u._uU(2,"Allow other members of your Organization to Append(i.e. "),u.TgZ(3,"strong"),u._uU(4,"paste"),u.qZA(),u._uU(5,") this whole flowchart at the end of a branch of some other flowchart inside your Organization. If not sure leave unchecked."),u.qZA()()}if(2&et){const Y=u.oxw();u.xp6(1),u.Q6J("ngModel",Y.fcAppendAsFragment)("ngModelOptions",u.DdM(2,wc))}}function t3(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"p",158)(1,"mat-checkbox",159),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw();return u.KtG(Zt.copyAppendClonegroupAllowed=gt)}),u._uU(2,"When this flowchart is copied or pasted as described above, add the new flowchart's boxes to any "),u.TgZ(3,"strong"),u._uU(4,"Box-Clone-Groups"),u.qZA(),u._uU(5," present in this original flowchart. If you enable this, any change to the new flowchart's box will modify the respective box in this original flowchart also. If not sure leave unchecked. "),u.qZA()()}if(2&et){const Y=u.oxw();u.xp6(1),u.Q6J("ngModel",Y.copyAppendClonegroupAllowed)("ngModelOptions",u.DdM(2,wc))}}function e3(et,ue){1&et&&u._UZ(0,"mat-spinner",131)}function n3(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"button",160),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.deleteFlowchartImage())}),u.YNc(1,e3,1,0,"mat-spinner",64),u._uU(2,"Delete Image "),u.qZA()}if(2&et){const Y=u.oxw();u.Q6J("disabled",Y.delFcImageProcessing),u.xp6(1),u.Q6J("ngIf",Y.delFcImageProcessing)}}function i3(et,ue){1&et&&u._UZ(0,"mat-spinner",131)}function r3(et,ue){if(1&et&&(u.TgZ(0,"div",113),u._uU(1),u.qZA()),2&et){const Y=u.oxw(2);u.xp6(1),u.hij(" ",Y.publicPrivateToggleMsg," ")}}function o3(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw(2);u.xp6(1),u.hij("",Y.publicPrivateToggleErrMsg," ")}}function a3(et,ue){1&et&&(u.TgZ(0,"span",81),u._uU(1,"Currently this flowchart is PUBLIC "),u.TgZ(2,"mat-icon"),u._uU(3,"lock_open"),u.qZA(),u._uU(4,". Current Master version is accessible to anyone with DeciZone account in the Public category tree. Toggle to make it Private and unshare it."),u.qZA())}function s3(et,ue){1&et&&(u.TgZ(0,"span",81),u._uU(1," Currently this flowchart is PRIVATE "),u.TgZ(2,"mat-icon"),u._uU(3,"lock"),u.qZA(),u._uU(4,". Please provide the Flowchart Metadata below before making it Public because after it is shared as Public, all DeciZone viewers will be able to access it. "),u.qZA())}function c3(et,ue){1&et&&(u.TgZ(0,"span",81),u._uU(1," Currently this flowchart is PRIVATE "),u.TgZ(2,"mat-icon"),u._uU(3,"lock"),u.qZA(),u._uU(4,". This flowchart does not have any master version to make it accessible by others in the Category Tree. Make one of the versions above to be master to identify the most appropriate version. Please provide/update the Flowchart Metadata before making it Public because after it is shared as Public, all DeciZone viewers will be able to access it. "),u.qZA())}function l3(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"mat-expansion-panel")(1,"mat-expansion-panel-header"),u._uU(2," Make Your Flowchart Public/Private "),u.qZA(),u.YNc(3,r3,2,1,"div",7),u.YNc(4,o3,2,1,"mat-error",6),u.TgZ(5,"div",26)(6,"p")(7,"mat-slide-toggle",161),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw();return u.KtG(Zt.isPublic=gt)})("change",function(gt){u.CHM(Y);const Zt=u.oxw();return u.KtG(Zt.toggleFcPublicFlag(gt))}
1),u.qZA(),u.YNc(8,a3,5,0,"span",68),u.YNc(9,s3,5,0,"span",68),u.YNc(10,c3,5,0,"span",68),u.qZA()()()}if(2&et){const Y=u.oxw();u.xp6(3),u.Q6J("ngIf",Y.publicPrivateToggleSuccess),u.xp6(1),u.Q6J("ngIf",Y.publicPrivateToggleErr),u.xp6(3),u.Q6J("ngModel",Y.isPublic)("disabled",!Y.hasMaster)("color",Y.color),u.xp6(1),u.Q6J("ngIf",Y.isPublic),u.xp6(1),u.Q6J("ngIf",!Y.isPublic&&Y.hasMaster),u.xp6(1),u.Q6J("ngIf",!Y.isPublic&&!Y.hasMaster)}}function u3(et,ue){1&et&&(u.TgZ(0,"div",113),u._uU(1," Your request to PUBLISH this flowchart is being processed. If there are any issues, you will be notified by email. "),u.qZA())}function h3(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.hij("",Y.publishEmbedToggleErrMsg," ")}}function d3(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"span",81),u._uU(1,"This flowchart is currently Published "),u.TgZ(2,"mat-icon"),u._uU(3,"public"),u.qZA(),u._uU(4,". Anyone can access the current Master version as long as they have this unique Published-URL: "),u.TgZ(5,"p",162),u._uU(6),u.qZA(),u.TgZ(7,"button",163),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.copyElementText("published-url","publish"))}),u._uU(8," Copy URL "),u.TgZ(9,"mat-icon"),u._uU(10,"content_copy"),u.qZA()()()}if(2&et){const Y=u.oxw();u.xp6(6),u.hij(" ",Y.publishedUrl," "),u.xp6(1),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function f3(et,ue){1&et&&(u.TgZ(0,"span"),u._uU(1,"A flowchart can only be Published if it has a Master Version identified in the version list above."),u.qZA())}function _3(et,ue){if(1&et&&(u.TgZ(0,"span",81)(1,"span"),u._uU(2,"This flowchart is not Published currently."),u.qZA(),u._uU(3,"\xa0\xa0"),u.YNc(4,f3,2,0,"span",6),u._uU(5,"\xa0\xa0"),u.TgZ(6,"span"),u._uU(7,"When you PUBLISH this flowchart, the Master version will be accessible to anyone that has the unique Published-URL for this flowchart.\xa0\xa0Toggle to publish it and get the Published-URL."),u.qZA()()),2&et){const Y=u.oxw();u.xp6(4),u.Q6J("ngIf",!Y.hasMaster)}}function p3(et,ue){1&et&&(u.TgZ(0,"p",164),u._uU(1," You do not have permission to Publish, but you can click here to request EDITOR of this organization to Review and Publish this flowchart. "),u.qZA())}function g3(et,ue){1&et&&(u.TgZ(0,"p",164),u._uU(1," This flowchart does not have master version selected. In order to PUBLISH this flowchart, master version must be selected. "),u.qZA())}function m3(et,ue){1&et&&(u.TgZ(0,"p",164),u._uU(1," You do not have permission to change Publish property for the flowchart. "),u.qZA())}function v3(et,ue){1&et&&u._UZ(0,"mat-spinner",131)}function y3(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"button",165),u.NdJ("click",function(gt){u.CHM(Y);const Zt=u.oxw();return gt.stopPropagation(),u.KtG(Zt.openRequestForPublishFc())}),u.YNc(1,v3,1,0,"mat-spinner",64),u._uU(2," Request Review & Publish "),u.TgZ(3,"mat-icon"),u._uU(4,"open_in_new"),u.qZA()()}if(2&et){const Y=u.oxw();u.Q6J("disabled",Y.requesting||1===Y.orgId||!Y.hasMaster||Y.fcEntityActionForPublish&&"REQUESTED"===Y.fcEntityActionForPublish.status||Y.isPublished),u.xp6(1),u.Q6J("ngIf",Y.requesting)}}function x3(et,ue){1&et&&(u.TgZ(0,"span",166),u._uU(1," \xa0\xa0Request has been sent to Review and Publish this flowchart."),u.qZA())}function b3(et,ue){1&et&&(u.TgZ(0,"span",166),u._UZ(1,"br"),u._uU(2,"\xa0\xa0This Flowchart was reviewed by the Admin/Editor and feedback has been sent to your email and saved in the flowchart Notes. Please make changes requested in the feedback and Request for Publishing again."),u.qZA())}function w3(et,ue){1&et&&(u.TgZ(0,"p"),u._uU(1," Anyone that has this Published-URL can access your Published Flowchart. Its ideal to use this Published-URL for a link/button on your website. "),u.qZA())}function T3(et,ue){1&et&&(u.TgZ(0,"p")(1,"strong"),u._uU(2,"Restricted-Published-URLs"),u.qZA(),u._uU(3,": A Restricted-Published-URL is a unique URL for your Published flowcharts, but different from the Published-URL. You can create 'Restricted' Published-URLs for a Published Flowchart with restrictions on how many times that URL can be used as well as an expiry period for the Restricted-Published-URL. "),u._UZ(4,"br"),u._uU(5,"You can create multiple Restricted-Published-URLs (each with different restrictions) for a Published Flowchart, but your Flowchart must have a Master Version selected AND it must remain in the Published state for the Restricted-Published-URL to keep working. Hence the Restricted-Published-URL is NOT ideal for links/buttons on your website but instead it is suitable for giving it out for 'one-time-use' or 'dis
1posable-url' kind of use cases. "),u.qZA())}function C3(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"button",167),u.NdJ("click",function(gt){u.CHM(Y);const Zt=u.oxw();return gt.stopPropagation(),u.KtG(Zt.goFcPublishedRestriction())}),u._uU(1," Create Restricted-Published-URLs "),u.TgZ(2,"mat-icon"),u._uU(3,"open_in_new"),u.qZA()()}if(2&et){const Y=u.oxw();u.Q6J("disabled",1===Y.orgId)}}function k3(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.Oqu(Y.publishFcTranscriptToggleErrMsg)}}function D3(et,ue){1&et&&u._UZ(0,"mat-spinner",131)}function S3(et,ue){if(1&et&&(u.TgZ(0,"div")(1,"p",168),u._uU(2),u.qZA()()),2&et){const Y=u.oxw();u.xp6(2),u.Oqu(Y.publishedFcLayoutSuccessMsg)}}function A3(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.hij(" ",Y.publishedFcLayoutErrMsg," ")}}function E3(et,ue){if(1&et&&(u.TgZ(0,"div")(1,"p",168),u._uU(2),u.qZA()()),2&et){const Y=u.oxw();u.xp6(2),u.hij(" ",Y.publishFcViewPropertyUpdateSuccess," ")}}function I3(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.hij(" ",Y.publishFcViewPropertyUpdateErr," ")}}function F3(et,ue){1&et&&(u.TgZ(0,"mat-error"),u._uU(1," URL must starts with https:// "),u.qZA())}function M3(et,ue){if(1&et&&(u.TgZ(0,"div"),u.YNc(1,F3,2,0,"mat-error",6),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.Q6J("ngIf",Y.publishRedirectForm.controls.redirectUrl.errors.pattern)}}function N3(et,ue){1&et&&u._UZ(0,"mat-spinner",131)}function L3(et,ue){if(1&et&&(u.TgZ(0,"div")(1,"p",168),u._uU(2),u.qZA()()),2&et){const Y=u.oxw();u.xp6(2),u.Oqu(Y.publishRedirectUrlSuccessMsg)}}function U3(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.hij(" ",Y.publicPublishErrMsg," ")}}function Z3(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.hij("",Y.publishEmbedToggleErrMsg," ")}}function O3(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"span",81),u._uU(1," This flowchart can be embedded by using below code. "),u.TgZ(2,"div",169),u._uU(3),u._UZ(4,"br"),u.TgZ(5,"button",170),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.copyElementText("embed-fc","embed"))}),u._uU(6," Copy Code "),u.TgZ(7,"mat-icon"),u._uU(8,"content_copy"),u.qZA()()()()}if(2&et){const Y=u.oxw();u.xp6(3),u.hij(" ",Y.iframeCode," "),u.xp6(2),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300)}}function B3(et,ue){1&et&&(u.TgZ(0,"span"),u._uU(1,"Make one of the versions above to be master in order to enable embed feature for this flowchart."),u.qZA())}function P3(et,ue){if(1&et&&(u.TgZ(0,"span",81)(1,"span"),u._uU(2,"This flowchart is not enabled for embedded feature."),u.qZA(),u._uU(3,"\xa0\xa0"),u.YNc(4,B3,2,0,"span",6),u._uU(5,"\xa0"),u.TgZ(6,"span"),u._uU(7,"When you turn on EMBED this flowchart, the Master version will be accessible by unique Embedded URL for this flowchart.\xa0\xa0Toggle to turn on the feature and get the code to embed the flowchart."),u.qZA()()),2&et){const Y=u.oxw();u.xp6(4),u.Q6J("ngIf",!Y.hasMaster)}}function R3(et,ue){1&et&&u._UZ(0,"mat-spinner",131)}function J3(et,ue){if(1&et&&(u.TgZ(0,"div")(1,"p",168),u._uU(2),u.qZA()()),2&et){const Y=u.oxw();u.xp6(2),u.Oqu(Y.publishedFcLayoutSuccessMsg)}}function H3(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.hij(" ",Y.publishedFcLayoutErrMsg," ")}}function Y3(et,ue){if(1&et&&(u.TgZ(0,"div")(1,"p",168),u._uU(2),u.qZA()()),2&et){const Y=u.oxw();u.xp6(2),u.hij(" ",Y.publishFcViewPropertyUpdateSuccess," ")}}function q3(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.hij(" ",Y.publishFcViewPropertyUpdateErr," ")}}function V3(et,ue){1&et&&(u.TgZ(0,"span",81),u._uU(1,"You have enabled API Requests for this flowchart. "),u.qZA())}function Q3(et,ue){if(1&et&&(u.TgZ(0,"mat-option",75),u._uU(1),u.qZA()),2&et){const Y=ue.$implicit;u.Q6J("value",Y.apiEndpoint),u.xp6(1),u.AsE(" ",Y.apiName," - (",Y.apiEndpoint,") ")}}function $3(et,ue){if(1&et&&(u.TgZ(0,"th",122),u._uU(1),u.qZA()),2&et){const Y=u.oxw().$implicit;u.xp6(1),u.Oqu(Y)}}function j3(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"button",183),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw(2),Zt=gt.$implicit,se=gt.index,Fe=u.oxw(4);return u.KtG(Fe.saveBoxCustVariableRow(Zt,se))}),u.TgZ(1,"mat-icon"),u._uU(2,"save"),u.qZA()()}}function G3(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"button",184),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw(2),Zt=gt.$implicit,se=gt.index,Fe=u.oxw(4);return u.KtG(Fe.cancelEditCustomVariableForAPI(Zt,se))}),u.TgZ(1,"mat-icon"),u._uU(2,"cancel"),u.qZA()()}}function z3(et,ue){if(1&et&&(u.TgZ(0,"div"),u.YNc(1,j3,3,0,"button",181),u.YNc(2,G3,3,0,"button",182),u.qZA()),2&et){const Y=u.oxw(),O
1=Y.index,gt=Y.$implicit,Zt=u.oxw(4);u.xp6(1),u.Q6J("ngIf",0===O||0!==O&>.boxId!==Zt.boxForAllFcVersionList[O-1].boxId),u.xp6(1),u.Q6J("ngIf",0===O||0!==O&>.boxId!==Zt.boxForAllFcVersionList[O-1].boxId)}}function K3(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"button",186),u.NdJ("click",function(gt){u.CHM(Y);const Zt=u.oxw(2),se=Zt.$implicit,Fe=Zt.index,vn=u.oxw(4);return gt.stopPropagation(),u.KtG(vn.editCustomVariableForAPI(se,Fe))}),u.TgZ(1,"mat-icon"),u._uU(2,"edit"),u.qZA()()}2&et&&u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300)}function W3(et,ue){if(1&et&&(u.TgZ(0,"div"),u.YNc(1,K3,3,4,"button",185),u.qZA()),2&et){const Y=u.oxw(),O=Y.index,gt=Y.$implicit,Zt=u.oxw(4);u.xp6(1),u.Q6J("ngIf",0===O||0!==O&>.boxId!==Zt.boxForAllFcVersionList[O-1].boxId)}}function X3(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"mat-form-field",188)(1,"input",189),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw(2).$implicit;return u.KtG(Zt.boxCaption=gt)}),u.qZA()()}if(2&et){const Y=u.oxw(2).$implicit;u.xp6(1),u.Q6J("ngModel",Y.boxCaption)}}function t6(et,ue){if(1&et&&(u.TgZ(0,"span"),u._uU(1),u.qZA()),2&et){const Y=u.oxw(2).$implicit;u.xp6(1),u.Oqu(Y.boxCaption)}}function e6(et,ue){if(1&et&&(u.TgZ(0,"div"),u.YNc(1,X3,2,1,"mat-form-field",187),u.YNc(2,t6,2,1,"span",6),u.qZA()),2&et){const Y=u.oxw().$implicit,O=u.oxw(4);u.xp6(1),u.Q6J("ngIf",O.editCustomVarRow===Y.boxId),u.xp6(1),u.Q6J("ngIf",O.editCustomVarRow!==Y.boxId)}}function n6(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"mat-form-field",188)(1,"input",189),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw(2).$implicit;return u.KtG(Zt.parentBox=gt)}),u.qZA()()}if(2&et){const Y=u.oxw(2).$implicit;u.xp6(1),u.Q6J("ngModel",Y.parentBox)}}function i6(et,ue){if(1&et&&(u.TgZ(0,"span"),u._uU(1),u.qZA()),2&et){const Y=u.oxw(2).$implicit;u.xp6(1),u.Oqu(Y.parentBox)}}function r6(et,ue){if(1&et&&(u.TgZ(0,"div"),u.YNc(1,n6,2,1,"mat-form-field",187),u.YNc(2,i6,2,1,"span",6),u.qZA()),2&et){const Y=u.oxw(),O=Y.$implicit,gt=Y.index,Zt=u.oxw(4);u.xp6(1),u.Q6J("ngIf",Zt.editCustomVarRow===O.boxId&&"CHECKLIST"===O.userInputDataType&&0!==gt&&O.boxId!==Zt.boxForAllFcVersionList[gt-1].boxId),u.xp6(1),u.Q6J("ngIf",Zt.editCustomVarRow!==O.boxId||"C"===O.boxType)}}function o6(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"mat-checkbox",191),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw(2).$implicit;return u.KtG(Zt.enableForAPI=gt)}),u.qZA()}if(2&et){const Y=u.oxw(2).$implicit;u.Q6J("ngModel",Y.enableForAPI)}}function a6(et,ue){if(1&et&&(u.TgZ(0,"div"),u.YNc(1,o6,1,1,"mat-checkbox",190),u.qZA()),2&et){const Y=u.oxw(),O=Y.$implicit,gt=Y.index,Zt=u.oxw(4);u.xp6(1),u.Q6J("ngIf","CHECKLIST"!==O.userInputDataType||"CHECKLIST"===O.userInputDataType&&0!==gt&&O.boxId!==Zt.boxForAllFcVersionList[gt-1].boxId)}}function s6(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"mat-form-field",188)(1,"input",189),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw(2).$implicit;
1return u.KtG(Zt.userInputCustomOptionCustomVarName=gt)}),u.qZA()()}if(2&et){const Y=u.oxw(2).$implicit;u.xp6(1),u.Q6J("ngModel",Y.userInputCustomOptionCustomVarName)}}function c6(et,ue){if(1&et&&(u.TgZ(0,"span"),u._uU(1),u.qZA()),2&et){const Y=u.oxw(2).$implicit;u.xp6(1),u.Oqu(Y.userInputCustomOptionCustomVarName)}}function l6(et,ue){if(1&et&&(u.TgZ(0,"div"),u.YNc(1,s6,2,1,"mat-form-field",187),u.YNc(2,c6,2,1,"span",6),u.qZA()),2&et){const Y=u.oxw().$implicit,O=u.oxw(4);u.xp6(1),u.Q6J("ngIf",O.editCustomVarRow===Y.boxId&&"CHECKLIST"===Y.userInputDataType),u.xp6(1),u.Q6J("ngIf",O.editCustomVarRow!==Y.boxId)}}function u6(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"mat-form-field",188)(1,"input",189),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw(2).$implicit;return u.KtG(Zt.boxVarCustomName=gt)}),u.qZA()()}if(2&et){const Y=u.oxw(2).$implicit;u.xp6(1),u.Q6J("ngModel",Y.boxVarCustomName)}}function h6(et,ue){if(1&et&&(u.TgZ(0,"span"),u._uU(1),u.qZA()),2&et){const Y=u.oxw(2).$implicit;u.xp6(1),u.Oqu(Y.boxVarCustomName)}}function d6(et,ue){if(1&et&&(u.TgZ(0,"div"),u.YNc(1,u6,2,1,"mat-form-field",187),u.YNc(2,h6,2,1,"span",6),u.qZA()),2&et){const Y=u.oxw(),O=Y.$implicit,gt=Y.index,Zt=u.oxw(4);u.xp6(1),u.Q6J("ngIf",Zt.editCustomVarRow===O.boxId&&("CHECKLIST"!==O.userInputDataType||"CHECKLIST"===O.userInputDataType&&O.boxId!==Zt.boxForAllFcVersionList[gt-1].boxId)),u.xp6(1),u.Q6J("ngIf",Zt.editCustomVarRow!==O.boxId&&("CHECKLIST"!==O.userInputDataType||"CHECKLIST"===O.userInputDataType&&O.boxId!==Zt.boxForAllFcVersionList[gt-1].boxId))}}function f6(et,ue){1&et&&(u.TgZ(0,"span")(1,"mat-icon",192),u._uU(2,"check"),u.qZA()())}function _6(et,ue){if(1&et&&(u.TgZ(0,"span"),u._uU(1),u.qZA()),2&et){const Y=u.oxw(2).$implicit,O=u.oxw().$implicit;u.xp6(1),u.hij(" ",Y[O]," ")}}function p6(et,ue){if(1&et&&(u.TgZ(0,"div"),u.YNc(1,f6,3,0,"span",6),u.YNc(2,_6,2,1,"span",6),u.qZA()),2&et){const Y=u.oxw().$implicit,O=u.oxw().$implicit;u.xp6(1),u.Q6J("ngIf",!0===Y[O]),u.xp6(1),u.Q6J("ngIf",!0!==Y[O])}}function g6(et,ue){if(1&et&&(u.TgZ(0,"td",115),u.YNc(1,z3,3,2,"div",6),u.YNc(2,W3,2,1,"div",6),u.YNc(3,e6,3,2,"div",6),u.YNc(4,r6,3,2,"div",6),u.YNc(5,a6,2,1,"div",6),u.YNc(6,l6,3,2,"div",6),u.YNc(7,d6,3,2,"div",6),u.YNc(8,p6,3,2,"div",6),u.qZA()),2&et){const Y=ue.$implicit,O=u.oxw().$implicit,gt=u.oxw(3);u.xp6(1),u.Q6J("ngIf","Actions"===O&>.editCustomVarRow===Y.boxId),u.xp6(1),u.Q6J("ngIf","Actions"===O&>.editCustomVarRow!==Y.boxId),u.xp6(1),u.Q6J("ngIf","boxCaption"===O),u.xp6(1),u.Q6J("ngIf","parentBox"===O),u.xp6(1),u.Q6J("ngIf","enableForAPI"===O),u.xp6(1),u.Q6J("ngIf","userInputCustomOptionCustomVarName"===O),u.xp6(1),u.Q6J("ngIf","boxVarCustomName"===O),u.xp6(1),u.Q6J("ngIf","userInputCustomOptionCustomVarName"!==O&&"enableForAPI"!==O&&"Actions"!==O&&"boxVarCustomName"!==O&&"boxCaption"!==O&&"parentBox"!==O)}}function m6(et,ue){1&et&&(u.ynx(0,180),u.YNc(1,$3,2,1,"th",17),u.YNc(2,g6,9,8,"td",14),u.BQk()),2&et&&u.Q6J("matColumnDef",ue.$implicit)}function v6(et,ue){1&et&&u._UZ(0,"tr",136)}function y6(et,ue){1&et&&u._UZ(0,"tr",137)}function x6(et,ue){if(1&et&&(u.TgZ(0,"div",178),u.NdJ("click",function(O){return O.stopPropagation()}),u.TgZ(1,"table",11),u.YNc(2,m6,3,1,"ng-container",179),u.YNc(3,v6,1,0,"tr",23),u.YNc(4,y6,1,0,"tr",24),u.qZA()()),2&et){const Y=u.oxw(2);u.xp6(1),u.Q6J("dataSource",Y.boxForAllFcVersionsDataSource),u.xp6(1),u.Q6J("ngForOf",Y.boxForAllFcVersionsDisplayColumns),u.xp6(1),u.Q6J("matHeaderRowDef",Y.boxForAllFcVersionsDisplayColumns)("matHeaderRowDefSticky",!0),u.xp6(1),u.Q6J("matRowDefColumns",Y.boxForAllFcVersionsDisplayColumns)}}function b6(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"mat-expansion-panel",65,171),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.loadExternalApiDetails())}),u.TgZ(2,"mat-expansion-panel-header"),u._uU(3," API Requests & Custom Variables "),u.qZA(),u.TgZ(4,"div",26)(5,"strong",45),u._uU(6,"Enable API Requests"),u.qZA(),u._UZ(7,"br"),u.TgZ(8,"mat-slide-toggle",172),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw();return u.KtG(Zt.isExternalFormSubmitEnabled=gt)})("change",function(gt){u.CHM(Y);const Zt=u.oxw();
1return u.KtG(Zt.toggleExternalFormSubmitFlag(gt))}),u.YNc(9,V3,2,0,"span",68),u.qZA(),u.TgZ(10,"div")(11,"p"),u._uU(12," Select the API to be called when a transaction is completed in this flowchart. Then save it. (Your Admin should have added the API Connection you want to use under your Organization Properties.) "),u.qZA(),u.TgZ(13,"mat-form-field",173)(14,"mat-select",174),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw();return u.KtG(Zt.externalFormSubmitUrl=gt)}),u.YNc(15,Q3,2,3,"mat-option",175),u.qZA()(),u.TgZ(16,"button",176),u.NdJ("click",function(gt){u.CHM(Y);const Zt=u.oxw();return gt.stopPropagation(),u.KtG(Zt.saveExternalFormSubmitUrl())}),u._uU(17," Save "),u.TgZ(18,"mat-icon"),u._uU(19,"save"),u.qZA()()()(),u.TgZ(20,"div")(21,"p"),u._uU(22," Manage the Custom Variables Sent in the JSON payload when this API Request is made. "),u.qZA(),u.YNc(23,x6,5,5,"div",177),u.qZA()()}if(2&et){const Y=u.oxw();u.xp6(8),u.Q6J("ngModel",Y.isExternalFormSubmitEnabled)("checked",Y.isExternalFormSubmitEnabled)("color",Y.color),u.xp6(1),u.Q6J("ngIf",Y.isExternalFormSubmitEnabled),u.xp6(5),u.Q6J("ngModel",Y.externalFormSubmitUrl),u.xp6(1),u.Q6J("ngForOf",Y.thirdPartyApiDetails),u.xp6(1),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300),u.xp6(7),u.Q6J("ngIf",Y.boxForAllFcVersionList&&Y.boxForAllFcVersionList.length>0)}}function w6(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"mat-radio-group",193),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw();return u.KtG(Zt.fcEndFlow=gt)}),u.TgZ(1,"mat-radio-button",194),u._uU(2),u.qZA()()}if(2&et){const Y=ue.$implicit,O=u.oxw();u.Q6J("ngModel",O.fcEndFlow),u.xp6(1),u.Q6J("disabled",1===O.orgId&&"ORGANIZATION HOME PAGE"===Y.propertyOption)("value",Y.propertyDetailId),u.xp6(1),u.Oqu(Y.propertyOption)}}function T6(et,ue){1&et&&(u.TgZ(0,"strong",45),u._uU(1,"Integration/Transaction Viewer"),u.qZA())}function C6(et,ue){1&et&&(u.TgZ(0,"p"),u._uU(1," If your viewer started this flowchart by starting a Transaction from some other Integration APP (i.e. Zendesk, Salesforce, etc.) then take the viewer to: "),u.qZA())}function k6(et,ue){1&et&&(u.TgZ(0,"mat-radio-group",195)(1,"mat-radio-button",196),u._uU(2,"Go to Organization Homepage"),u.qZA()())}function D6(et,ue){if(1&et&&(u.TgZ(0,"div")(1,"p",168),u._uU(2),u.qZA()()),2&et){const Y=u.oxw();u.xp6(2),u.Oqu(Y.fcRedirectSuccessMsg)}}function S6(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw();u.xp6(1),u.hij(" ",Y.fcRedirectErrorMsg," ")}}function A6(et,ue){1&et&&u._UZ(0,"mat-spinner",131)}function E6(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"div")(1,"mat-checkbox",200),u.NdJ("ngModelChange",function(gt){u.CHM(Y);const Zt=u.oxw(2);return u.KtG(Zt.txnStatusChecked=gt)}),u._uU(2),u.qZA()()}if(2&et){const Y=ue.$implicit,O=u.oxw(2);u.xp6(1),u.Q6J("ngModel",O.txnStatusChecked)("ngModelOptions",u.DdM(3,wc)),u.xp6(1),u.hij(" ",Y.propertyOption," ")}}function I6(et,ue){if(1&et&&(u.TgZ(0,"div")(1,"p",168),u._uU(2),u.qZA()()),2&et){const Y=u.oxw(2);u.xp6(2),u.Oqu(Y.fcTxnStatusSuccessMsg)}}function F6(et,ue){if(1&et&&(u.TgZ(0,"mat-error"),u._uU(1),u.qZA()),2&et){const Y=u.oxw(2);u.xp6(1),u.hij(" ",Y.fcTxnStatusErrorMsg," ")}}function M6(et,ue){1&et&&u._UZ(0,"mat-spinner",131)}function N6(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"mat-expansion-panel",197,198),u.NdJ("opened",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.getTxnStatusSelectedOption())}),u.TgZ(2,"mat-expansion-panel-header"),u._uU(3," Transaction Status Update After Flowchart Completion "),u.qZA(),u.TgZ(4,"div",8)(5,"form",94)(6,"p")(7,"strong"),u._uU(8,"NOTE"),u.qZA(),u._uU(9,": This section only applies WHEN the agent/user started this flowchart as part of a transaction initiated inside/from another Integrated Host app (i.e. Zendesk, Salesforce, etc.). "),u.qZA(),u.TgZ(10,"p")(11,"strong"),u._uU(12,"Ticket/Case Comments updated with Transcript by Default"),u.qZA(),u._uU(13,": When the agent completes their journey through this flowchart, by default, DeciZone will update the comments/notes section for that Ticket/Case (in the integrated host application) with the agent's flowchart activity transcript. If you do not want any comments to be added to the Ticket/Case, please check the box below to override the default behavior going forward. "),u.qZA(),u.YNc(14,E6,3,4,"div",199),u.qZA(),u.TgZ(15,"div",59)(16,"div",60),u.YNc(17,I6,3,1,"div",6),u.YNc(18,F6,2,1,"mat-error",6),u._UZ(19,"br"),u.TgZ(20,"button",61),u.NdJ("click",function(){u.CHM(Y);const gt=u.MAs(1),Zt=u.oxw();return u.KtG(Zt.closePanel(gt))}),u._uU(21," Cancel "),u.qZA(),u.TgZ(22,"button",63),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.addUpdateFlowchartProperties("txnStatus"))}),u.YNc(23,M6,1,0,"mat-spinner",64),u._uU(24,"SAVE "),u.qZA()()()()()}if(2&et){const Y=u.oxw();u.xp6(14),u.Q6J("ngForOf",Y.txnStatusOptions),u.xp6(3),u.Q6J("ngIf",Y.fcTxnStatusSuccessMsg),u.xp6(1),u.Q6J("ngIf",Y.fcTxnStatusErrorMsg),u.xp6(4),u.Q6J("disabled",Y.fctxnpropLoading),u.xp6(1),u.Q6J("ngIf",Y.fctxnpropLoading)}}function L6(et,ue){1&et&&(u.TgZ(0,"p",99),u._uU(1," Your flowchart is currently NOT Published and so it cannot be shared at this time. "),u.qZA())}function U6(et,ue){if(1&et){const Y=u.EpF();u.TgZ(0,"p",101)(1,"strong"),u._uU(2,"Published Flowchart URL: "),u.qZA(),u.TgZ(3,"span",201),u._uU(4),u.TgZ(5,"button",202),u.NdJ("click",function(){u.CHM(Y);const gt=u.oxw();return u.KtG(gt.copyElementText("share-published-url","share-publish"))}),u._uU(6," Copy URL "),u.TgZ(7,"mat-icon"),u._uU(8,"content_copy"),u.qZA()()()()}if(2&et){const Y=u.oxw();u.xp6(4),u.hij(" ",Y.publishedUrl," ")}}function Z6(et,ue){1&et&&(u.TgZ(0,"p",101)(1,"strong"),u._uU(2,"Social Network Sharing: "),u.qZA(),u._uU(3," Just click on any of the buttons below to share your flowchart on your favorite social network. "),u.qZA())}function O6(et,ue){1&et&&(u.TgZ(0,"p",101)(1,"strong"),u._uU(2,"Social Network Sharing: "),u.qZA(),u._uU(3," You have to PUBLISH this flowchart before sharing it on Social networks with the buttons below. Currently, buttons are not clickable as the flowchart is not Published. "),u.qZA())}const B6=function(){return[5,10,25,100]};let P6=(()=>{class et{constructor(Y,O,gt,Zt,se,Fe,vn,hn,vi,Vn,Kn,ur,_r,fi,To,Wl,gp,mp,vp,yp,R6,J6,Ei,H6){this.cdr=Y,this.ngZone=O,this.dialogRef=gt,this.router=Zt,this._utilService=se,this._userMilestoneService=Fe,this._flowchartListService=vn,this._orgService=hn,this._homeService=vi,this._boxService=Vn,this._flowchartService=Kn,this._flowchartVersionService=ur,this._viewEditConclusionBoxDialogService=_r,this._showHideLayoutElementsDialogService=fi,this._paidCustomerDialogService=To,this._fcEmbedToggleConfirmDialogService=Wl,this._fcPublishToggleConfirmDialogService=gp,this._fcPublicPrivateToggleConfirmDialogService=mp,this._fcPublishViewerTranscriptToggleConfirmDialogService=vp,this._requestReviewPublishFcDialogService=yp,this.dialog=R6,this._snackBar=J6,this.data=Ei,this.requesting=!1,this.loading=!1,this.fceditloading=!1,this.genericErr=!1,this.isSuccess=!1,this.fcPropertyUpdateSuccess=!1,this.fcPropertyUpdateError=!1,this.publicPrivateToggleSuccess=!1,this.publicPrivateToggleMsg="",this.publicPrivateToggleErr=!1,this.publicPrivateToggleErrMsg="",this.publishEmbedToggleErr=!1,this.publishEmbedToggleErrMsg="",this.publishFcTranscriptToggleErr=!0,this.publishFcTranscriptToggleErrMsg="",this.publishedFcSuccess=!1,this.publishedFcLayoutSuccess=!1,this.publishedFcLayoutSuccessMsg="",this.publishedFcLayoutErr=!1,this.publishedFcLayoutErrMsg="",this.onelayerFcPref="ONE_LAYER_LAYOUT",this.threelayerFcPref="FLOWCHART_LAYOUT",this.cardlayoutPref="CARD_LAYOUT",this.publicOnlyUser=!1,this.fcMetadataSuccessMsg="",this.publishRedirectUrlSuccessMsg="",this.publicPublishErr=!1,this.publicPublishErrMsg="",this.fcRedirectSuccessMsg="",this.fcRedirectErrorMsg="",this.fcTxnStatusSuccessMsg="",this.fcTxnStatusErrorMsg="",this.fcmetadataLoading=!1,this.fcredirectLoading=!1,this.fctxnpropLoading=!1,this.delFcImageProcessing=!1,this.fcVersionsDataSource=new po.by([]),this.fcVersionsTableDisplayColumns=["Name","Master","Actions","EndStatus","Author","ParentVersion","CreatedTime","LastUpdated"],this.endStatusDialogLoading=!1,this.flowchartName="",this.goalName="",this.allowPublishedFcViewerReceiveTranscript=!1,this.keywords=[],this.fcCopiable=!1,this.fcAppendAsFragment=!1,this.copyAppendClonegroupAllowed=!1,this.flowchartCustomKeyName="",this.flowchartCustomKeyValue="",this.userAccess="",this.color="accent",this.iframeC
1ode="",this.fcEndFlowOptions=[],this.txnStatusChecked=!1,this.txnStatusOptions=[],this.publishFcViewOptions=[],this.publishFcViewCheckboxItems=new Array,this.fcViewPropertyUpdateLoading=!1,this.publishFcViewPropertyUpdateSuccess="",this.publishFcViewPropertyUpdateErr="",this.embedFcViewOptions=[],this.embedFcViewCheckboxItems=new Array,this.existingRedirectUrl="",this.redirectUrl="",this.canPublishOwn=!1,this.allowRestrictedPublishFc=!1,this.visible=!0,this.selectable=!0,this.removable=!0,this.addOnBlur=!0,this.separatorKeysCodes=[Nf.K5,Nf.OC],this.updateInKeywords=!1,this.showUserActivityPersistDays=!0,this.imageChangedEvent="",this.croppedImage="",this.showCropper=!1,this.canvasRotation=0,this.rotation=0,this.scale=1,this.containWithinAspectRatio=!1,this.transform={},this.thumbLabel=!0,this.value=0,this.boxForAllFcVersionList=[],this.boxForAllFcVersionOriginalList=[],this.boxForAllFcVersionsDataSource=new po.by([]),this.boxForAllFcVersionsDisplayColumns=[],this.sessionStorage=H6,Kn.fcPublicFlag.subscribe(Gs=>{this.isPublic=Gs}),Kn.fcPublishedFlag.subscribe(Gs=>{this.isPublished=Gs}),this._utilService.firstFcPublicMilestoneAchieved.subscribe(Gs=>{Gs&&this._snackBar.open(Uf.Ss6,"Dismiss",{duration:2500})}),this._utilService.firstFcPublishedMilestoneAchieved.subscribe(Gs=>{Gs&&this._snackBar.open(Uf.rq3,"Dismiss",{duration:2500})}),this.fcVersionList=Ei.fcVersionDetails,this.fcVersionsDataSource=new po.by(this.fcVersionList),console.log("Inside fc edit dialog",this.fcVersionList),this.flowchartDetails=Ei.flowchartDetails,this.flowchartName=Ei.flowchartDetails.flowchartName,this.flowchartId=Ei.flowchartDetails.flowchartId,this.flowchartVersionId=Ei.flowchartDetails.flowchartVersionId,this.flowchartDescription=Ei.flowchartDetails.flowchartDescription,this.notes=Ei.flowchartDetails.notes,this.keywords=wn.split(Ei.flowchartDetails.keywords,","),this.flowchartImageUrl=Ei.flowchartDetails.flowchartImageUrl,this.flowchartCustomKeyName=Ei.flowchartDetails.flowchartCustomKeyName,this.flowchartCustomKeyValue=Ei.flowchartDetails.flowchartCustomKeyValue,this.isExternalFormSubmitEnabled=!(!Ei.flowchartDetails.externalFormSubmissionEnabled||"Y"!==Ei.flowchartDetails.externalFormSubmissionEnabled),this.userAccess=Ei.flowchartDetails.userAccess,this.orgId=Ei.flowchartDetails.orgId,this.goalId=Ei.flowchartDetails.goalId,this.goalName=Ei.flowchartDetails.goalName,this.isPublic=Ei.flowchartDetails.isPublic,this.hasMaster=Ei.flowchartDetails.hasMaster,this.isPublished=Ei.flowchartDetails.isPublished,this.publishedUrl=Ei.flowchartDetails.publishedUrl,this.publishedFcLayout=Ei.flowchartDetails.publishedFcLayout,this.allowPublishedFcViewerReceiveTranscript=Ei.flowchartDetails.allowPublishedFcViewerReceiveTranscript,this.encodedUrl=encodeURIComponent(this.publishedUrl),this.canEmbed=Ei.flowchartDetails.canEmbed,this.embedUrl=Ei.flowchartDetails.embedUrl,this.embeddedFcLayout=Ei.flowchartDetails.embedFcLayout,this.isFeatured=Ei.flowchartDetails.isFeatured,this.colheadings=Ei.columns,this.fcCopiable="Y"===Ei.flowchartDetails.fcCopiable,this.fcAppendAsFragment="Y"===Ei.flowchartDetails.fcAppendAsFragment,this.copyAppendClonegroupAllowed="Y"===Ei.flowchartDetails.copyAppendClonegroupAllowed,this.userActivityPersistanceDays=Ei.flowchartDetails.userActivityPersistanceDays,this.fcEntityActionForPublish=wn.find(Ei.flowchartDetails.flowchartEntityActions,function(Gs){return"PUBLISH"===Gs.action}),this.publishedFcLayout||(this.publishedFcLayout="FLOWCHART_LAYOUT"),this.embeddedFcLayout||(this.embeddedFcLayout="FLOWCHART_LAYOUT"),this.canEmbed&&this.getEmbedFlowchartCode()}set matSort(Y){this.sort=Y,this.setDataSourceAttributes()}set matPaginator(Y){this.paginator=Y,this.setDataSourceAttributes()}setDataSourceAttributes(){this.fcVersionsDataSource.paginator=this.paginator,this.fcVersionsDataSource.sort=this.sort}ngOnInit(){if(this.buildForm(),this.propertyDetail=this.sessionStorage.getObject("property"),console.log(this.propertyDetail),this.fcEndFlowOptions=this.propertyDetail.FLOWCHART_END_FLOW,console.log(this.fcEndFlowOptions),this.publishFcViewOptions=this.propertyDetail.PUBLISH_FLOWCHART_VIEW,this.publishFcViewCheckboxItems=this.publishFcViewOptions.map(Fe=>new Om.o(Fe,Fe.propertyOption)),console.log("publish view option mapped",this.publishFcViewCheckboxItems),this.embedFcViewOptions=this.propertyDetail.EMBED_FLOWCHART_VIEW,this.embedFcViewCheckboxItems=this.embedFcViewOptions.map(Fe=>new Om.o(Fe,Fe.propertyOption)),1!==this.orgId&&(this.txnStatusOptions=this.propertyDetail.UPDATE_TXN_TICKET_STATUS),this.fcProperties=this._flowchartService.getFlowchartExistingProperties(this.flowchartId),1!==this.orgId){var Y=wn.findIndex(this.fcEndFlowOptions,function(Fe){return"ORGANIZATION HOME PAGE"==Fe.propertyOption});this.fcEndFlow=this.fcEndFlowOptions[Y].propertyDetailId,this.fcEndFlowDefaultOption=this.fcEndFlow}else Y=wn.findIndex(this.fcEndFlowOptions,function(vn){return"FLOWCHART GOAL PAGE"==vn.propertyOption}),this.fcEndFlow=this.fcEndFlowOptions[Y].propertyDetailId,this.fcEndFlowDefaultOption=this.fcEndFlow;this.fcMetadataForm.controls.flowchartName.setValue(this.flowchartName),this.fcMetadataForm.controls.userActivityPersistanceDays.setValue(this.userActivityPersistanceDays),this.fcMetadataForm.controls.flowchartCustomKeyName.setValue(this.flowchartCustomKeyName),this.fcMetadataForm.controls.flowchartCustomKeyValue.setValue(this.flowchartCustomKeyValue);let O=this.flowchartDetails.orgName,gt={};gt=this.sessionStorage.getObject("userProfile");let se=wn.filter(gt.userOrg,function(Fe){return Fe.orgName===O&&"PUBLIC"!==Fe.orgName&&"ACTIVE"===Fe.userOrgStatus});se&&se.length>0&&se[0].userActivityRecording&&"N"===se[0].userActivityRecording&&(this.showUserActivityPersistDays=!1)}ngAfterViewChecked(){this.cdr.detectChanges()}onKeyUp(Y){Y.cancelBubble=!0,Y.preventDefault(),Y.stopPropagation&&Y.stopPropagation()}validDateFormat(Y){return Y?Y.replace(/\s/,"T"):null}onEmbedViewPropertyChange(Y){this.embedFcViewSelectionOptions=Y,this.existingEmbedFcViewProperties=Y,Y.cancelBubble=!0,Y.stopPropagation&&Y.stopPropagation()}saveEmbedFcViewProperty(){this.fcViewPropertyUpdateLoading=!0,this.publishFcViewPropertyUpdateSuccess="",this.publishFcViewPropertyUpdateErr="";let Y={flowchartId:this.flowchartId,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.orgId,userAccess:this.userAccess,propertyId:this.embedFcViewCheckboxItems[0].value.propertyId,propertyValues:{}};var O=new Map;wn.forEach(this.embedFcViewSelectionOptions,function(gt){O.set(gt.propertyDetailId,"")}),Y.propertyValues=this.mapToObj(O),this._flowchartService.saveOrUpdateFlowchartProperty(Y).subscribe(gt=>{this._flowchartService.updatePropertyListByFCInSession(this.flowchartId,gt.responseBody),this.fcProperties=this._flowchartService.getFlowchartExistingProperties(this.flowchartId),this.publishFcViewPropertyUpdateSuccess="Update successful.",this.fcViewPropertyUpdateLoading=!1;let Zt={event:"edit_embdfcpropty","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.goalId,"dlv-fc_id":this.flowchartId};window.dataLayer.push(Zt)},gt=>{console.log("error in saving Publish flowchart view property."),this.publishFcViewPropertyUpdateErr=wa.R.ERRMSG_EMBEDDED_FC_VIEW_PROPERTY_UPDATE.errorMessage,this.fcViewPropertyUpdateLoading=!1})}getEmbedFcViewProperties(){var Y=[];wn.forEach(this.fcProperties,function(O){"EMBED_FLOWCHART_VIEW"===O.propertyName&&Y.push(O)}),this.existingEmbedFcViewProperties=Y}onPublishViewPropertyChange(Y){console.log("selected value:",Y),this.publishFcViewSelectionOptions=Y,this.existingPublishFcViewProperties=Y,Y.cancelBubble=!0,Y.stopPropagation&&Y.stopPropagation()}savePublishFcViewProperty(){this.fcViewPropertyUpdateLoading=!0,this.publishFcViewPropertyUpdateSuccess="",this.publishFcViewPropertyUpdateErr="";let Y={flowchartId:this.flowchartId,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.orgId,userAccess:this.userAccess,propertyId:this.publishFcViewCheckboxItems[0].value.propertyId,propertyValues:{}};var O=new Map;wn.forEach(this.publishFcViewSelectionOptions,function(gt){O.set(gt.propertyDetailId,"")}),Y.propertyValues=this.mapToObj(O),this._flowchartService.saveOrUpdateFlowchartProperty(Y).subscribe(gt=>{this._flowchartService.updatePropertyListByFCInSession(this.flowchartId,gt.responseBody),this.fcProperties=this._flowchartService.getFlowchartExistingProperties(this.flowchartId),this.publishFcViewPropertyUpdateSuccess="Update successful.",this.fcViewPropertyUpdateLoading=!1;let Zt={event:"edit_pubfcpropty","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.goalId,"dlv-fc_id":this.flowchartId};window.dataLayer.push(Zt)},gt=>{console.log("error in saving Publish flowchart view property."),this.publishFcViewPropertyUpdateErr=wa.R.ERRMSG_PUBLISH_FC_VIEW_PROPERTY_UPDATE.errorMessage,this.fcViewPropertyUpdateLoading=!1})}getPublishFcViewProperties(){var Y=[];wn.forEach(this.fcProperties,function(O){"PUBLISH_FLOWCHART_VIEW"===O.propertyName&&Y.push(O)}),this.existingPublishFcViewProperties=Y}openShowHideLayoutElementsModal(){this._showHideLayoutElementsDialogService.open(),this._showHideLayoutElementsDialogService.confirmed().subscribe(Y=>{})}goFcPublishedRestriction(){this._flowchartService.setPublishedFcIdForRestriction(this.flowchartId),this._flowchartService.setPublishedFcNameForRestriction(this.flowchartName),this._flowchartService.setPublishedFcLayout(this.publishedFcLayout),this._flowchartService.setPublishedFcUserAccess(this.userAccess),this._flowchartService.setPublishedFcOrgName(this.flowchartDetails.orgName);let Y={event:"click_mangrestrpubfc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartId};window.dataLayer.push(Y),this.router.navigateByUrl("/flowchart-published-restriction"),this.dialogRef.close(!0)}disableSocialShareLink(){let Y="";return this.isPublished||(Y="social-share-diabled"),Y}addKeyword(Y){const O=Y.input,gt=Y.value;(gt||"").trim()&&this.keywords.push(gt.trim()),O&&(O.value="")}removeKeyword(Y){const O=this.keywords.indexOf(Y);O>=0&&this.keywords.splice(O,1)}buildForm(){this.fcMetadataForm=new Mi.nJ({flowchartName:new Mi.p4("",[Mi.kI.required,Mi.kI.maxLength(50),Mi.kI.pattern("^[a-zA-Z0-9-]{1,50}$")]),userActivityPersistanceDays:new Mi.p4("",[Rm.dN.max(120),Rm.dN.min(0)]),flowchartCustomKeyName:new Mi.p4("",[Mi.kI.maxLength(30)]),flowchartCustomKeyValue:new Mi.p4("",[Mi.kI.maxLength(50)])}),this.publishRedirectForm=new Mi.nJ({redirectUrl:new Mi.p4("",[Mi.kI.pattern("https://.*")])})}copyElementText(Y,O){window.getSelection().selectAllChildren(document.getElementById(Y)),document.execCommand("Copy");let gt={"dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartId};"publish"===O?gt.event="click_copypubfcurl":"embed"===O&&(gt.event="click_copyembdfccode"),window.dataLayer.push(gt)}loadExternalApiDetails(){let Y=this;this.isExternalFormSubmitEnabled&&this._orgService.getOrgThirdPartyApiCredDetail
1s(this.orgId).subscribe(O=>{this.thirdPartyApiDetails=O.responseBody,wn.forEach(this.fcProperties,function(gt){if("EXTERNAL_FORM_SUBMIT_WITH_TXN_DATA"===gt.propertyName){var Zt=wn.find(Y.thirdPartyApiDetails,function(se){return se.id===Number(gt.propertyValue)});return Zt&&(Y.externalFormSubmitUrl=Zt.apiEndpoint),!1}})},O=>{console.log("Error in fetching external API details")}),this._flowchartService.getBoxVarCustomNamesForAllFlowcharts(this.orgId,this.flowchartId,this.userAccess).subscribe(O=>{console.log(" all boxes for custom variables - ",O.responseBody),this.boxForAllFcVersionList=O.responseBody,this.boxForAllFcVersionsDataSource=new po.by(this.boxForAllFcVersionList),this.boxForAllFcVersionsDisplayColumns=this.boxForAllFcVersionList.some(hn=>"CHECKLIST"===hn.userInputDataType)?["Actions","boxCaption","boxType","parentBox","enableForAPI","userInputCustomOptionCustomVarName","boxVarCustomName"]:["Actions","boxCaption","boxType","parentBox","enableForAPI","boxVarCustomName"];let vn=this.boxForAllFcVersionsDisplayColumns;wn.forEach(this.fcVersionList,function(hn){vn.push(hn.Name)}),this.boxForAllFcVersionsDisplayColumns=vn,console.log("display columns - ",vn)},O=>{console.log("Error in getting all boxes custom var for all versions")})}editCustomVariableForAPI(Y,O){let gt=this;if(this.editCustomVarRow=Y.boxId,"CHECKLIST"===Y.userInputDataType){var Zt=wn.filter(this.boxForAllFcVersionList,function(se){return"CHECKLIST"===se.userInputDataType&&se.boxId===Y.boxId&&se.userInputCustomOptionId!==Y.userInputCustomOptionId});this.boxForAllFcVersionOriginalList[O]={...Y},wn.forEach(Zt,function(se){O++,gt.boxForAllFcVersionOriginalList[O]={...se}}),console.log("selected checklist boxes - ",this.boxForAllFcVersionOriginalList)}else this.boxForAllFcVersionOriginalList[O]={...Y},console.log("selected box original value - ",this.boxForAllFcVersionOriginalList[O])}cancelEditCustomVariableForAPI(Y,O){if("CHECKLIST"===Y.userInputDataType){let Zt=this.boxForAllFcVersionOriginalList;if(console.log("cancel function - original checklist - ",Zt),Zt[O])for(this.boxForAllFcVersionList[O]={...Zt[O]},console.log("original chccklist size - ",Zt.length);O<Zt.length-1;)O++,this.boxForAllFcVersionList[O]={...Zt[O]}}else{const Zt=this.boxForAllFcVersionOriginalList[O];Zt&&(Y=Zt,this.boxForAllFcVersionList[O]={...Zt})}this.boxForAllFcVersionsDataSource=new po.by(this.boxForAllFcVersionList),this.editCustomVarRow=null}saveBoxCustVariableRow(Y,O){console.log("edited row - ",Y);let gt=[];var Zt=Y.boxCaption;if("I"===Y.boxType&&"CHECKLIST"===Y.userInputDataType){Zt=Y.parentBox;let Fe=this.boxForAllFcVersionOriginalList.length;for(;O<Fe;){let vn={};vn.customOptionId=this.boxForAllFcVersionList[O].userInputCustomOptionId,vn.optionCaption=this.boxForAllFcVersionList[O].boxCaption,vn.optionCustomVarName=this.boxForAllFcVersionList[O].userInputCustomOptionCustomVarName,gt.push(vn),O++}}console.log("box user input options for request -",gt);let se={flowchartId:this.flowchartId,flowchartCreator:this.flowchartDetails.flowchartCreator,currentBoxId:Y.boxId,caption:Zt,boxVarCustomName:Y.boxVarCustomName,updateCloneGroup:null!==Y.boxCloneGroup,userSessionId:this._utilService.getCookie("userSessionId"),orgName:this.flowchartDetails.orgName,orgId:this.flowchartDetails.orgId,allowReuse:"N",userAccess:this.flowchartDetails.userAccess,boxUserInputCustomOptions:gt,enableForApi:Y.enableForAPI?"Y":"N"};this._boxService.editRegularBox(se).subscribe(Fe=>{this._updateBoxInSession(Fe.responseBody.boxes),this.editCustomVarRow=null},Fe=>{})}_updateBoxInSession(Y){var O=null;O=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart"))),wn.forEach(Y,function(gt,Zt){wn.forEach(O.boxes,function(se,Fe){if(wn.isEqual(Zt.toString(),Fe.toString()))return O.boxes[Fe]=gt,!1})}),this.sessionStorage.setObject("flowchart",O)}toggleExternalFormSubmitFlag(Y){let O={flowchartId:this.flowchartId,goalId:this.goalId,orgId:this.orgId,userAccess:this.userAccess,userSessionId:this._utilService.getCookie("userSessionId"),externalFormSubmissionEnabled:Y.checked?"Y":"N"};
1this._flowchartService.updateExternalFormSubmitFlag(O).subscribe(gt=>{var Zt;this.isExternalFormSubmitEnabled=Y.checked,this.loadExternalApiDetails(),Zt=this.sessionStorage.getObject("flowchart"),wn.isEqual(Zt.flowchartId,this.flowchartId)&&(Zt.isExternalFormSubmitEnabled=Y.checked,this.sessionStorage.setObject("flowchart",Zt)),1===this.flowchartDetails.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.flowchartDetails.goalId,this.flowchartDetails.goalUrl):this._homeService.updateCategoryTree(this.flowchartDetails.orgName)},gt=>{this.isExternalFormSubmitEnabled=!Y.checked})}saveExternalFormSubmitUrl(){let Y=this,O={flowchartId:this.flowchartId,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.orgId,userAccess:this.userAccess,propertyId:0,propertyValues:{}};var gt=wn.find(this.thirdPartyApiDetails,function(se){return se.orgId===Y.orgId&&se.apiEndpoint===Y.externalFormSubmitUrl}),Zt=new Map;Zt.set(this.propertyDetail.EXTERNAL_FORM_SUBMIT_WITH_TXN_DATA[0].propertyDetailId,gt.id),O.propertyValues=this.mapToObj(Zt),O.propertyId=this.propertyDetail.EXTERNAL_FORM_SUBMIT_WITH_TXN_DATA[0].propertyId,this._flowchartService.saveOrUpdateFlowchartProperty(O).subscribe(se=>{this._flowchartService.updatePropertyListByFCInSession(this.flowchartId,se.responseBody),this.fcProperties=this._flowchartService.getFlowchartExistingProperties(this.flowchartId)},se=>{})}toggleFcPublicFlag(Y){this.genericErr=!1,this.publicPrivateToggleSuccess=!1,this.publicPrivateToggleErr=!1,this.publicPrivateToggleErrMsg="";var O="This action will make the MASTER version of your flowchart PUBLIC and it will be accessible in the Public Category tree by all logged in DeciZone users. Are you sure you want to make it Public?",gt="Please confirm that you want to make this flowchart PUBLIC";this.flowchartDetails.isPublic&&(O="This action will change this flowchart status from PUBLIC to PRIVATE. Private flowcharts are accessible only by users with edit previleges to the flowchart.",gt="Please confirm that you want to make this flowchart PRIVATE"),this._fcPublicPrivateToggleConfirmDialogService.open({title:gt,message:O,answer:"yes"}),this._fcPublicPrivateToggleConfirmDialogService.confirmed().subscribe(Fe=>{"yes"===Fe?this._flowchartService.updateFlowchartPublicStatus({flowchartId:this.flowchartId,goalId:this.goalId,publicFlag:Y.checked?"Y":"N"}).subscribe(hn=>{if(this.isPublic=Y.checked,this.flowchartDetails.isPublic=Y.checked,this.flowchartDetails.isPublic){let Vn=this.sessionStorage.getObject("userMilestones");-1===wn.findIndex(Vn,{milestoneName:"FIRST_FLOWCHART_PUBLIC",isCompleted:!0})&&this._utilService.setFirstFlowchartPublicMilestoneAchieved(),this._userMilestoneService.saveOrUpdateUserMilestone("FIRST_FLOWCHART_PUBLIC",null)}var vi;vi=this.sessionStorage.getObject("flowchart"),wn.isEqual(vi.flowchartId,this.flowchartDetails.flowchartId)&&(vi.isPublic=Y.checked,this.sessionStorage.setObject("flowchart",vi)),1===this.flowchartDetails.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.flowchartDetails.goalId,this.flowchartDetails.goalUrl):this._homeService.updateCategoryTree(this.flowchartDetails.orgName),this.publicPrivateToggleSuccess=!0,this.publicPrivateToggleMsg="Your request to make this flowchart PUBLIC is being processed. If there are any issues, you will be notified by email."},hn=>{this.publicPrivateToggleErr=!0,this.publicPrivateToggleErrMsg=wa.R.ERRMSG_FLOWCHART_PUBLIC_STATUS.errorMessage,this.isPublic=!Y.checked}):this.isPublic=!this.isPublic})}
1getEmbedFlowchartCode(){this.iframeCode='<iframe width="600px" height="800px" src="'+this.embedUrl+'"><p>Your browser does not support all embedded objects. Please try opening this page in a browser like Chrome.</p></iframe>'}toggleFcEmbedFlag(Y){if(this.publishEmbedToggleErr=!1,this.publishEmbedToggleErrMsg="",this.publicOnlyUser||1===this.orgId){this.canEmbed=!Y.checked,Y.checked=!Y.checked;let se="",Fe="";1===this.orgId&&!this.publicOnlyUser&&(se="Only Flowcharts belonging to Private Organization can be Embedded. Your flowchart is created in the Public Organization. Please send a message to DeciZone Support team if you would like to permanently move this flowchart to your Private Organization. After you move it, you will be able to Embed it right away. Please note, that this move cannot be reversed and the flowchart will then be owned by the Organization. ",Fe="Move Flowchart?"),1===this.orgId&&this.publicOnlyUser&&(se="Only flowcharts belonging to a Private Organization can be Embedded. You can upgrade your Free account to a Private Organization paid account and we can help you move this flowchart to your Private Organization. After that this flowchart can be Embedded right away. \\n Please confirm if you would like to upgrade your account now.",Fe="Your Account Type"),this._paidCustomerDialogService.open({title:Fe,message:se,answer:"yes",publicOnlyUser:this.publicOnlyUser}),this._paidCustomerDialogService.confirmed().subscribe(hn=>{"yes"===hn?(this.router.navigate(["/subscription"]),this.dialogRef.close(!0)):Y.source._checked=!1})}else{this.genericErr=!1;var O="This feature will enable your flowchart to be embedded in a iframe on a host webpage. Any visitor to that host webpage will be able to benefit from your flowchart without having to log into their DeciZone account.",gt="Please confirm you want to ENABLE the embed feature for this flowchart.";this.flowchartDetails.canEmbed&&(O="You are about to disable the embedded access for this flowchart and visitors to the host website will not be able to access your flowchart. Are you sure you want to remove embed feature for this flowchart?",gt="Please confirm you want to DISABLE the embed feature for this flowchart."),this._fcEmbedToggleConfirmDialogService.open({title:gt,message:O,answer:"yes"}),this._fcEmbedToggleConfirmDialogService.confirmed().subscribe(Fe=>{if("yes"===Fe){let vn={flowchartId:this.flowchartId,orgId:this.orgId,userAccess:this.userAccess,userSessionId:this._utilService.getCookie("userSessionId")};Y.checked?this._flowchartService.embedFlowchart(vn).subscribe(hn=>{this.canEmbed=Y.checked,this.flowchartDetails.canEmbed=Y.checked,this.flowchartDetails.embedUrl=hn.responseBody,this.embedUrl=hn.responseBody;let vi={event:"toggle_embedfc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId};var Vn;window.dataLayer.push(vi),Vn=this.sessionStorage.getObject("flowchart"),wn.isEqual(Vn.flowchartId,this.flowchartDetails.flowchartId)&&(Vn.canEmbed=Y.checked,Vn.embedUrl=hn.responseBody,this.sessionStorage.setObject("flowchart",Vn)),1===this.flowchartDetails.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.flowchartDetails.goalId,this.flowchartDetails.goalUrl):this._homeService.updateCategoryTree(this.flowchartDetails.orgName),this.getEmbedFlowchartCode()},hn=>{this.publishEmbedToggleErr=!0,this.canEmbed=!Y.checked,hn instanceof Jm.UA?412===hn.status&&(this.publishEmbedToggleErrMsg=hn.error.statusMessage):this.publishEmbedToggleErrMsg=wa.R.ERRMSG_FLOWCHART_EMBED_STATUS.errorMessage}):this._flowchartService.deactivateEmbedFlowchart(vn).subscribe(hn=>{this.canEmbed=Y.checked,this.flowchartDetails.canEmbed=Y.checked;let vi={event:"toggle_embedfc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId};var Vn;window.dataLayer.push(vi),Vn=this.sessionStorage.getObject("flowchart"),wn.isEqual(Vn.flowchartId,this.flowchartDetails.flowchartId)&&(Vn.canEmbed=Y.checked,this.sessionStorage.setObject("flowchart",Vn)),1===this.flowchartDetails.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.flowchartDetails.goalId,this.flowchartDetails.goalUrl):this._homeService.updateCategoryTree(this.flowchartDetails.orgName)},hn=>{this.publishEmbedToggleErr=!0,this.publishEmbedToggleErrMsg=wa.R.ERRMSG_FLOWCHART_EMBED_STATUS.errorMessage,this.canEmbed=!Y.checked})}else this.canEmbed=!this.canEmbed})}}togglePublishedFcViewerTranscriptFlag(Y){this.publishFcTranscriptToggleErr=!0,this.publishFcTranscriptToggleErrMsg="";var O="Enabling this feature will allow the Visitors of this Published flowchart to receive the transcript by providing their email address.",gt="Please confirm you want to allow Visitors to receive the flowchart activity log or transcript in a Summary email.";this.flowchartDetails.allowPublishedFcViewerReceiveTranscript&&(O="If you disabled this feature, the Visitors to this PUBLISHED-Flowchart-URL will not see an option to receive flowchart Summary transcript via email.",gt="Please confirm you want to turn off this feature."),this._fcPublishViewerTranscriptToggleConfirmDialogService.open({title:gt,message:O,answer:"yes"}),this._fcPublishViewerTranscriptToggleConfirmDialogService.confirmed().subscribe(Fe=>{if("yes"===Fe){let vn={flowchartId:this.flowchartId,orgId:this.orgId,userAccess:this.userAccess,userSessionId:this._utilService.getCookie("userSessionId"),allowPublishedFcViewerReceiveTranscript:Y.checked};Y.checked?this._flowchartService.publishFlowchartViewerActivityEmail(vn).subscribe(hn=>{this.allowPublishedFcViewerReceiveTranscript=Y.checked,this.flowchartDetails.allowPublishedFcViewerReceiveTranscript=Y.checked;let vi={event:"toggle_visitortranscript","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId};var Vn;window.dataLayer.push(vi),Vn=this.sessionStorage.getObject("flowchart"),wn.isEqual(Vn.flowchartId,this.flowchartDetails.flowchartId)&&(Vn.allowPublishedFcViewerReceiveTranscript=Y.checked,this.sessionStorage.setObject("flowchart",Vn)),1!==this.flowchartDetails.orgId&&this._homeService.updateCategoryTree(this.flowchartDetails.orgName)},hn=>{this.publishFcTranscriptToggleErr=!0,this.publishFcTranscriptToggleErrMsg=wa.R.ERRMSG_PUBLISH_FC_VIEWER_TRANSCRIPT_TOGGLE.errorMessage,this.allowPublishedFcViewerReceiveTranscript=!Y.checked}):this._flowchartService.publishFlowchartViewerActivityEmail(vn).subscribe(hn=>{this.allowPublishedFcViewerReceiveTranscript=Y.checked,this.flowchartDetails.allowPublishedFcViewerReceiveTranscript=Y.checked;let vi={event:"toggle_visitortranscript","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId};var Vn;window.dataLayer.push(vi),Vn=this.sessionStorage.getObject("flowchart"),wn.isEqual(Vn.flowchartId,this.flowchartDetails.flowchartId)&&(Vn.allowPublishedFcViewerReceiveTranscript=Y.checked,this.sessionStorage.setObject("flowchart",Vn)),1!==this.flowchartDetails.orgId&&this._homeService.updateCategoryTree(this.flowchartDetails.orgName)},hn=>{this.publishFcTranscriptToggleErr=!0,this.publishFcTranscriptToggleErrMsg=wa.R.ERRMSG_PUBLISH_FC_VIEWER_TRANSCRIPT_TOGGLE.errorMessage,this.allowPublishedFcViewerReceiveTranscript=!Y.checked})}else this.allowPublishedFcViewerReceiveTranscript=!this.allowPublishedFcViewerReceiveTranscript})}toggleFcPublishedFlag(Y){if(this.publishedFcSuccess=!1,this.genericErr=!1,this.publishEmbedToggleErr=!1,this.publishEmbedToggleErrMsg="",this.publicOnlyUser||1===this.orgId){this.isPublished=!Y.checked,Y.checked=!Y.checked;let se="",Fe="";1===this.orgId&&!this.publicOnlyUser&&(se="Only Flowcharts belonging to Private Organization can be Published. Your flowchart is created in the Public Organization. Please send a message to DeciZone Support team if you would like to permanently move this flowchart to your Private Organization. After you move it, you will be able to Publish it right away. Please note, that this move cannot be reversed and the flowchart will then be owned by the Organization. ",Fe="Move Flowchart?"),1===this.orgId&&this.publicOnlyUser&&(se="Only flowcharts belonging to a Private Organization can be Published. You can upgrade your Free account to a Private Organization paid account and we can help you move this flowchart to your Private Organization. After that this flowchart can be Published right away. Please confirm if you would like to upgrade your account now.",Fe="Your Account Type"),this._paidCustomerDialogService.open({title:Fe,message:se,answer:"yes",publicOnlyUser:this.publicOnlyUser}),this._paidCustomerDialogService.confirmed().subscribe(hn=>{"yes"===hn?(this.router.navigate(["/subscription"]),this.dialogRef.close(!0)):Y.source._checked=!1}
1)}else{var O="This action will Publish the flowchart and give you the Published URL which can be shared. Anyone with this shared Published URL will be able access the flowchart even without a DeciZone account.",gt="Please confirm you want to go ahead and Publish this flowchart.";this.flowchartDetails.isPublished&&(O="If you UN-Publish this flowchart now, anyone with the shared Published URL will not be able to access this flowchart until it is Published again. Are you sure you want to UN-Publish this flowchart?",gt="Please confirm you want to Un-Publish this flowchart."),this._fcPublishToggleConfirmDialogService.open({title:gt,message:O,answer:"yes"}),this._fcPublishToggleConfirmDialogService.confirmed().subscribe(Fe=>{if("yes"===Fe){let vn={flowchartId:this.flowchartId,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.orgId,userAccess:this.userAccess,userSessionId:this._utilService.getCookie("userSessionId")};Y.checked?this._flowchartService.publishFlowchart(vn).subscribe(hn=>{this.isPublished=Y.checked,this.flowchartDetails.isPublished=Y.checked,this.flowchartDetails.publishedUrl=hn.responseBody,this.publishedUrl=hn.responseBody,this._utilService.setIsFlowchartPublished(this.flowchartDetails.isPublished);let vi=this.sessionStorage.getObject("userMilestones");-1===wn.findIndex(vi,{milestoneName:"FIRST_FLOWCHART_PUBLISHED",isCompleted:!0})&&this._utilService.setFirstFlowchartPublishedMilestoneAchieved(),this._userMilestoneService.saveOrUpdateUserMilestone("FIRST_FLOWCHART_PUBLISHED",null);let Kn={event:"toggle_publishfc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId};var ur;window.dataLayer.push(Kn),ur=this.sessionStorage.getObject("flowchart"),wn.isEqual(ur.flowchartId,this.flowchartDetails.flowchartId)&&(ur.isPublished=Y.checked,ur.publishedUrl=hn.responseBody,this.sessionStorage.setObject("flowchart",ur)),1===this.flowchartDetails.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.flowchartDetails.goalId,this.flowchartDetails.goalUrl):this._homeService.updateCategoryTree(this.flowchartDetails.orgName),this.publishedFcSuccess=!0},hn=>{this.publishEmbedToggleErr=!0,this.isPublished=!Y.checked,hn instanceof Jm.UA?412===hn.status&&(this.publishEmbedToggleErrMsg=hn.error.statusMessage):this.publishEmbedToggleErrMsg=wa.R.ERRMSG_FLOWCHART_PUBLISH_TOGGLE.errorMessage}):this._flowchartService.unpublishFlowchart(vn).subscribe(hn=>{this.isPublished=Y.checked,this.flowchartDetails.isPublished=Y.checked,this._utilService.setIsFlowchartPublished(this.flowchartDetails.isPublished);let vi={event:"toggle_publishfc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId};var Vn;window.dataLayer.push(vi),Vn=this.sessionStorage.getObject("flowchart"),wn.isEqual(Vn.flowchartId,this.flowchartDetails.flowchartId)&&(Vn.isPublished=Y.checked,this.sessionStorage.setObject("flowchart",Vn)),1===this.flowchartDetails.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.flowchartDetails.goalId,this.flowchartDetails.goalUrl):this._homeService.updateCategoryTree(this.flowchartDetails.orgName)},hn=>{this.publishEmbedToggleErr=!0,this.publishEmbedToggleErrMsg=wa.R.ERRMSG_FLOWCHART_PUBLISH_TOGGLE.errorMessage,this.isPublished=!Y.checked})}else this.isPublished=!this.isPublished})}}getFlowchartLayoutPreferences(){let Y=this,O={};O=this.sessionStorage.getObject("fclayoutprefmap"),wn.forEach(O,function(gt,Zt){"ONE_LAYER_LAYOUT"===Zt?Y.onelayerFcPref=gt.preferenceDetailId:"FLOWCHART_LAYOUT"===Zt?Y.threelayerFcPref=gt.preferenceDetailId:"CARD_LAYOUT"===Zt&&(Y.cardlayoutPref=gt.preferenceDetailId)}),this.publishedFcLayout=this.threelayerFcPref}updatePublishedFlowchartLayout(){this.publishedFcLayoutSuccess=!1,this.publishedFcLayoutErr=!1,this.loading=!0;let Y={flowchartId:this.flowchartId,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.orgId,userAccess:this.userAccess,userSessionId:this._utilService.getCookie("userSessionId"),publishFlowchartLayout:this.publishedFcLayout};this._flowchartService.updatePublishedFlowchartLayout(Y).subscribe(O=>{let gt={event:"toggle_publishfclyt","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId,"dlv-fc_layout_id":this.publishedFcLayout};window.dataLayer.push(gt),this.publishedFcLayoutSuccess=!0,this.publishedFcLayoutSuccessMsg="Successfully updated layout for published view.",this.loading=!1},O=>{this.publishedFcLayoutErr=!0,this.publishedFcLayoutErrMsg=wa.R.ERRMSG_PUBLISH_FC_LAYOUT.errorMessage,this.loading=!1})}updateEmbeddedFlowchartLayout(){this.publishedFcLayoutSuccess=!1,this.publishedFcLayoutErr=!1,this.loading=!0;let Y={flowchartId:this.flowchartId,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.orgId,userAccess:this.userAccess,userSessionId:this._utilService.getCookie("userSessionId"),embedFlowchartLayout:this.embeddedFcLayout};this._flowchartService.updateEmbeddedFlowchartLayout(Y).subscribe(O=>{let gt={event:"toggle_embedfclyt","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.flowchartDetails.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartDetails.flowchartId,"dlv-fc_layout_id":this.publishedFcLayout};window.dataLayer.push(gt),this.publishedFcLayoutSuccess=!0,this.publishedFcLayoutSuccessMsg="Successfully updated layout for embedded flowchart view.",this.loading=!1},O=>{this.publishedFcLayoutErr=!0,this.publishedFcLayoutErrMsg=wa.R.ERRMSG_EMBED_FC_LAYOUT.errorMessage,this.loading=!1})}canPublishEmbedFlowchart(Y){this.publishedFcLayoutSuccess=!1,this.publishedFcLayoutErr=!1,this.publishFcViewPropertyUpdateSuccess="",this.publishFcViewPropertyUpdateErr="";let O=this.flowchartDetails.orgName,gt={};gt=this.sessionStorage.getObject("userProfile");let se=wn.filter(gt.userOrg,function(hn){return hn.orgName===O&&"PUBLIC"!==hn.orgName&&"ACTIVE"===hn.userOrgStatus});if(!this.sessionStorage.getItem("dzSuperAdmin")||se&&0!==se.length||se.push({orgName:O}),se&&se.length>=1){let hn={};var vn=this.sessionStorage.getObject("cattree");
1hn=JSON.parse(JSON.stringify(vn)),hn&&hn[se[0].orgName]&&(this.allowRestrictedPublishFc=wn.includes(hn[se[0].orgName].privileges,"PUBLISH-FLOWCHART"),this.canPublishOwn=wn.includes(hn[se[0].orgName].privileges,"PUBLISH-FLOWCHART")||this.flowchartDetails.canPublishOwn&&wn.isEqual(this.flowchartDetails.flowchartCreator,gt.displayName)),this.getPublishedRedirectUrl(),this.publicOnlyUser=!1}else this.isPublished=!1,this.canEmbed=!1,this.publicOnlyUser=!0;"publishPanel"===Y&&this.getPublishFcViewProperties(),"embedPanel"===Y&&this.getEmbedFcViewProperties()}getPublishedRedirectUrl(){this.publishedFcLayoutSuccess=!1,this.publishedFcLayoutErr=!1;var Y="";wn.forEach(this.fcProperties,function(O){if("PUBLISHED_FLOWCHART_REDIRECT_URL"===O.propertyName)return Y=O.propertyValue,!1}),this.existingRedirectUrl=Y,this.redirectUrl=this.existingRedirectUrl,this.publishRedirectForm.controls.redirectUrl.setValue(this.existingRedirectUrl)}updatePublishRedirectFormUrl(Y){this.redirectUrl=this.publishRedirectForm.controls.redirectUrl.value}getFcEndFlowSelectedOption(){var Y;wn.forEach(this.fcProperties,function(O){if("FLOWCHART_END_FLOW"===O.propertyName)return Y=O.propertyDetailId,!1}),this.existingFcEndFlow=Y,Y&&(this.fcEndFlow=this.existingFcEndFlow)}getTxnStatusSelectedOption(){var Y=[];wn.forEach(this.fcProperties,function(O){"UPDATE_TXN_TICKET_STATUS"===O.propertyName&&Y.push(O.propertyDetailId)}),this.existingTxnStatus=Y,this.selectedTxnStatus=this.existingTxnStatus,this.txnStatusChecked=Y.length>0}mapToObj(Y){let O=Object.create(null);return Y.forEach((gt,Zt)=>{console.log(Zt,gt),O[Zt]=gt}),O}addUpdateFlowchartProperties(Y){console.log(this.redirectUrl),console.log(this.fcEndFlow),this.publicPublishErr=!1;let O={flowchartId:this.flowchartId,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.orgId,userAccess:this.userAccess,propertyId:0,propertyValues:{}};if("endflow"===Y&&this.fcEndFlow!==this.existingFcEndFlow&&(this.fcredirectLoading=!0,this.fcRedirectErrorMsg="",(gt=new Map).set(this.fcEndFlow,""),O.propertyValues=this.mapToObj(gt),O.propertyId=this.propertyDetail.FLOWCHART_END_FLOW[0].propertyId,this._flowchartService.saveOrUpdateFlowchartProperty(O).subscribe(Zt=>{this._flowchartService.updatePropertyListByFCInSession(this.flowchartId,Zt.responseBody),this.fcProperties=this._flowchartService.getFlowchartExistingProperties(this.flowchartId),this.getFcEndFlowSelectedOption(),this.fcRedirectSuccessMsg="Update successful.",this.fcredirectLoading=!1},Zt=>{this.fcRedirectErrorMsg=wa.R.ERRMSG_FLOWCHART_PROPERTY_ENDFLOW_UPDATE.errorMessage,this.fcredirectLoading=!1})),this.redirectUrl=this.publishRedirectForm.controls.redirectUrl.value,"publish"===Y&&this.existingRedirectUrl!==this.redirectUrl&&(this.loading=!0,this.publishRedirectUrlSuccessMsg="",wn.isEmpty(this.redirectUrl)||wn.startsWith(this.redirectUrl,"https://")?((gt=new Map).set(this.propertyDetail.PUBLISHED_FLOWCHART_REDIRECT_URL[0].propertyDetailId,this.redirectUrl),O.propertyValues=this.mapToObj(gt),O.propertyId=this.propertyDetail.PUBLISHED_FLOWCHART_REDIRECT_URL[0].propertyId,this._flowchartService.saveOrUpdateFlowchartProperty(O).subscribe(se=>{this._flowchartService.updatePropertyListByFCInSession(this.flowchartId,se.responseBody),this.fcProperties=this._flowchartService.getFlowchartExistingProperties(this.flowchartId);let Fe={event:"edit_fc_redirecturl","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.flowchartDetails.goalId,"dlv-fc_id":this.flowchartId};window.dataLayer.push(Fe),this.getPublishedRedirectUrl(),this.publishRedirectUrlSuccessMsg="Successfully updated redirect URL.",this.loading=!1},se=>{console.log("error in saving published flowchart redirect url property."),this.publicPublishErr=!0,this.publicPublishErrMsg=wa.R.ERRMSG_PUBLISHED_FLOWCHART_REDIRECT_URL_UPDATE.errorMessage,this.loading=!1})):(this.loading=!1,this.publicPublishErr=!0,this.publicPublishErrMsg="The redirect URL needs to start with 'https://'")),"txnStatus"===Y){this.fctxnpropLoading=!0,console.log(this.txnStatusChecked),O.propertyId=this.propertyDetail.UPDATE_TXN_TICKET_STATUS[0].propertyId;var gt=new Map;if(this.txnStatusChecked){let se=Object.create(null);se[this.txnStatusOptions[0].propertyDetailId]="",O.propertyValues=se}this._flowchartService.saveOrUpdateFlowchartProperty(O).subscribe(se=>{this._flowchartService.updatePropertyListByFCInSession(this.flowchartId,se.responseBody),this.fcProperties=this._flowchartService.getFlowchartExistingProperties(this.flowchartId),this.getTxnStatusSelectedOption(),this.fctxnpropLoading=!1,this.fcTxnStatusSuccessMsg="Update successful."},se=>{console.log("error in saving txn status property."),this.fctxnpropLoading=!1,this.fcTxnStatusErrorMsg="Unable to add/update property for flowchart transaction status."})}}editMasterVersion(Y){this.genericErr=!1;let Zt=this.dialog.open(_o,{width:"300px",data:{title:"Do you want to create one more Version?",message:"This will create new copy of the Master Version and let you edit the newly created ver
1sion. It will not change the Master Version.",answer:"yes"}});const se=Zt.componentInstance.genericErrMsg.subscribe(Fe=>{this.genericErrMsg=Fe,this.genericErr=!0});Zt.afterClosed().subscribe(Fe=>{if(se.unsubscribe(),Zt=null,"yes"===Fe){this.fceditloading=!0;let vn={flowchartId:this.flowchartId,flowchartVersionId:Y,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.orgId,userAccess:this.userAccess,userSessionId:this._utilService.getCookie("userSessionId")};return this._flowchartVersionService.createVersionFromMaster(vn).subscribe(hn=>{var vi=hn.responseBody.flowchartVersionBeanList;1!==this.orgId&&this._homeService.updateCategoryTree(this.flowchartDetails.orgName);let Vn={userSessionId:this._utilService.getCookie("userSessionId"),currentFlowchartId:this.flowchartId,beginningFlowchartId:this.flowchartId,flowchartName:this.flowchartName,userAccess:this.userAccess,orgId:this.orgId,editMode:"ON",flowchartVersionId:vi[0].flowchartVersionId};this._renderSelectedVersionInEditMode(Vn)},hn=>{this.fceditloading=!1,this.genericErr=!0,this.genericErrMsg=hn&&hn.error?hn.error.statusMessage:""}),this.dialogRef.afterClosed()}})}editSelectedVersion(Y,O,gt){this.selecteFcVerId=O;var Fe="400px",vn="300px";"Y"===Y&&(Fe="600px",vn="500px");let vi=this.dialog.open(_o,{height:Fe,width:vn,data:{title:"Confirm editing selected version.",message:"If you are trying to just review this version, use the View option. Are you sure you want to edit and make permanent changes to the version "+gt+"?",isMaster:Y,action:"edit",answer:"yes",flowchartDetails:this.flowchartDetails}});const Vn=vi.componentInstance.genericErrMsg.subscribe(Kn=>{this.genericErrMsg=Kn,this.genericErr=!0});vi.afterClosed().subscribe(Kn=>{if(Vn.unsubscribe(),vi=null,"yes"===Kn){this.fceditloading=!0;let ur={userSessionId:this._utilService.getCookie("userSessionId"),currentFlowchartId:this.flowchartId,beginningFlowchartId:this.flowchartId,flowchartName:this.flowchartName,userAccess:this.userAccess,orgId:this.orgId,editMode:"ON",flowchartVersionId:O,isEditMode:!0},_r={event:"edit_fc_version","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this._utilService.getLoggedInUserOrgId(),"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.goalId,"dlv-fc_id":this.flowchartId,"dlv-fc_version_id":O,"dlv-fc_layout_id":"FLOWCHART_LAYOUT"};this.hasMaster&&(_r.event="editfc_nonmasterversion"),window.dataLayer.push(_r),this._renderSelectedVersionInEditMode(ur)}else if("editInNew"===Kn){this.fceditloading=!0;let ur={event:"editfc_masterversionclone","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this._utilService.getLoggedInUserOrgId(),"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.goalId,"dlv-fc_id":this.flowchartId,"dlv-fc_version_id":O,"dlv-fc_layout_id":"FLOWCHART_LAYOUT"};window.dataLayer.push(ur),this._editInNewVersionFromMaster(O)}else if("editMaster"===Kn){this.fceditloading=!0;let ur={event:"editfc_removemasterversion","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this._utilService.getLoggedInUserOrgId(),"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.goalId,"dlv-fc_id":this.flowchartId,"dlv-fc_version_id":O,"dlv-fc_layout_id":"FLOWCHART_LAYOUT"};window.dataLayer.push(ur),this._editInMasterVersion(O)}})}_editInMasterVersion(Y){let gt=this.fcVersionList;this._flowchartVersionService.changeFlowchartMasterVersion({flowchartId:this.flowchartId,flowchartVersionId:Y,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.orgId,masterFlag:"N",userAccess:this.userAccess}).subscribe(Zt=>{for(var se in gt)if(wn.isEqual(this.fcVersionList[se].versionId,Y)){this.fcVersionList[se].Master="N";break}this.fcVersionsDataSource=new po.by(this.fcVersionList),1!==this.orgId&&this._homeService.updateCategoryTree(this.flowchartDetails.orgName),this._removeFlowchartMasterFlagInSession();let Fe={userSessionId:this._utilService.getCookie("userSessionId"),currentFlowchartId:this.flowchartId,beginningFlowchartId:this.flowchartId,flowchartName:this.flowchartName,userAccess:this.userAccess,orgId:this.orgId,editMode:"ON",flowchartVersionId:Y};this._renderSelectedVersionInEditMode(Fe)},Zt=>{console.log(Zt),this.genericErrMsg=Zt&&Zt.error?Zt.error.statusMessage:""})}_editInNewVersionFromMaster(Y){let O={flowchartId:this.flowchartId,flowchartVersionId:Y,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.orgId,userAccess:this.userAccess,userSessionId:this._utilService.getCookie("userSessionId")};this._flowchartVersionService.createVersionFromMaster(O).subscribe(gt=>{var Zt=gt.responseBody.flowchartVersionBeanList;1!==this.orgId&&this._homeService.updateCategoryTree(this.flowchartDetails.orgName);let se={userSessionId:this._utilService.getCookie("userSessionId"),currentFlowchartId:this.flowchartId,beginningFlowchartId:this.flowchartId,flowchartName:this.flowchartName,userAccess:this.userAccess,orgId:this.orgId,editMode:"ON",flowchartVersionId:Zt[0].flowchartVersionId};this._renderSelectedVersionInEditMode(se)},gt=>{this.fceditloading=!1,this.genericErr=!0,this.genericErrMsg=gt&>.error?gt.error.statusMessage:""})}viewSelectedVersion(Y){this.selecteFcVerId=Y,this.fceditloading=!0;let O={userSessionId:this._utilService.getCookie("userSessionId"),currentFlowchartId:this.flowchartId,beginningFlowchartId:this.flowchartId,flowchartName:this.flowchartName,userAccess:this.userAccess,orgId:this.orgId,flowchartVersionId:Y};this._renderSelectedVersionInViewMode(O)}changeFlowchartMasterFlag(Y,O,gt){var Zt="Only the users with edit privileges to this flowchart can see all the versions. Others can only access the Master Version.";"R"===gt&&(Zt="Are you sure you do not want to switch to different version as Master?");let se=this.dialog.open(Nb,{width:"300px",data:{fcversionlist:this.fcVersionList,orgId:this.orgId,userAccess:this.userAccess,flowchartId:this.flowchartId,selectedVersionId:Y,flowchartCreator:this.flowchartDetails.flowchartCreator,masterFlag:O,title:"Please confirm you want to make/change Master Version for this flowchart.",message:Zt}});const Fe=se.componentInstance.genericErrMsg.subscribe(vn=>{this.genericErrMsg=vn,this.genericErr=!0});se.afterClosed().subscribe(vn=>{if(Fe.unsubscribe(),!this.genericErr){if("R"===gt){let vi={event:"remove_fc_master_status","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.goalId,"dlv-fc_id":this.flowchartId,"dlv-fc_version_id":Y,"dlv-fc_layout_id":this._utilService.getLoggedInUserFlowchartLayoutPreference()};window.dataLayer.push(vi),this._removeFlowchartMasterFlagInSession()}else if("C"===gt&&"Y"===O){if(this.hasMaster){let vi={event:"change_fc_master_version","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.goalId,"dlv-fc_id":this.flowchartId,"dlv-fc_version_id":Y,"dlv-fc_layout_id":this._utilService.getLoggedInUserFlowchartLayoutPreference()};window.dataLayer.push(vi)}else{let vi={event:"create_fc_master_status","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.orgId,"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.goalId,"dlv-fc_id":this.flowchartId,"dlv-fc_version_id":Y,"dlv-fc_layout_id":this._utilService.getLoggedInUserFlowchartLayoutPreference()};window.dataLayer.push(vi)}var hn;this.flowchartDetails.hasMaster=!0,this.hasMaster=!0,(hn=this.sessionStorage.getObject("flowchart")).hasMaster=!0,hn.currentFlowchartVersionMasterStatus="Y",this.sessionStorage.setObject("flowchart",hn)}1!==this.orgId&&this._homeService.updateCategoryTree(this.flowchartDetails.orgName),"C"===gt&&"Y"===O&&this.viewSelectedVersion(Y)}se=null})}_removeFlowchartMasterFlagInSession(){var Y;this.flowchartDetails.hasMaster=!1,this.hasMaster=!1,(Y=this.sessionStorage.getObject("flowchart")).hasMaster=!1,Y.currentFlowchartVersionMasterStatus="N",(this.isPublic||this.isPublished)&&(this.isPublic=!1,this.flowchartDetails.isPublic=!1,this._flowchartService.setFcPublicFlag(!1),wn.isEqual(Y.flowchartId,this.flowchartDetails.flowchartId)&&(Y.isPublic=!1),1===this.flowchartDetails.orgId&&this._flowchartListService.updateFcListForGoalAfterFcCreate(this.flowchartDetails.goalId,this.flowchartDetails.goalUrl)),this.sessionStorage.setObject("flowchart",Y)}viewEditConclusionBoxDetails(Y,O){this.selecteFcVerId=Y,this.endStatusDialogLoading=!0,this._flowchartService.getFlowchartVersionConclusionBoxDetails(Y,this.flowchartDetails.orgName,this.userAccess).subscribe(gt=>{let Zt=gt.responseBody.flowchartVersionConclusionBoxDetails,se=gt.responseBody.boxEndStatusDetails;this.endStatusDialogLoading=!1,this._viewEditConclusionBoxDialogService.open({orgName:this.flowchartDetails.orgName,orgId:this.flowchartDetails.orgId,userAccess:this.userAccess,categoryId:this.flowchartDetails.categoryId,subCategoryId:this.flowchartDetails.subCategoryId,goalId:this.flowchartDetails.goalId,goalName:this.goalName,flowchartId:this.flowchartId,flowchartName:this.flowchartName,flowchartVersionName:O,flowchartVersionId:Y,conclusionBoxDetails:Zt,boxEndStatusDetails:se}),this._viewEditConclusionBoxDialogService.confirmed().subscribe(vn=>{})},gt=>{this.endStatusDialogLoading=!1})}createCloneFromSelectedVersion(Y,O,gt){this.selecteFcVerId=O;let Fe=this.dialog.open(_o,{width:"300px",data:{title:"Confirm you want to create a new version.",message:"This action will create a clone/copy from the selected version ("+gt+"). New versions in general should be created from the most recently modified version.",isMaster:Y,action:"clone",answer:"yes"}});const vn=Fe.componentInstance.genericErrMsg.subscribe(hn=>{this.genericErrMsg=hn,this.genericErr=!0});Fe.afterClosed().subscribe(hn=>{if(vn.unsubscribe(),Fe=null,"yes"===hn){this.fceditloading=!0;let vi={flowchartId:this.flowchartId,flowchartVersionId:O,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.orgId,userAccess:this.userAccess,userSessionId:this._utilService.getCookie("userSessionId")};this._flowchartVersionService.createVersionFromMaster(vi).subscribe(Vn=>{this._userMilestoneService.saveOrUpdateUserMilestone("CREATED_FLOWCHART_VERSION",null);var Kn=Vn.responseBody.flowchartVersionBeanList[0];let ur={event:"create_fc_clone","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this._utilService.getLoggedInUserOrgId(),"dlv-cat_id":this.flowchartDetails.categoryId,"dlv-subcat_id":this.flowchartDetails.subCategoryId,"dlv-goal_id":this.goalId,"dlv-fc_id":this.flowchartId,"dlv-fc_version_id":Kn.flowchartVersionId,"dlv-fc_layout_id":this._utilService.getLoggedInUserFlowchartLayoutPreference()};window.dataLayer.push(ur);var _r={versionId:"",Name:"",Author:"",CreatedTime:"",LastUpdated:"",Master:"",ParentVersion:"",Actions:""};_r.Name=Kn.flowchartVersionName,_r.versionId=Kn.flowchartVersionId,_r.Author=Kn.flowchartVersionAuthor,_r.CreatedTime=Kn.creationTime,_r.LastUpdated=Kn.lastUpdateTime,_r.Master=Kn.masterFlag,_r.ParentVersion=Kn.parentFlowchartVersionName,this.fcVersionList.unshift(_r),console.log("Final list to show on table - ",this.fcVersionList),this.fcVersionList=[...this.fcVersionList],this.fcVersionsDataSource=new po.by(this.fcVersionList),1!==this.orgId&&this._homeService.updateCategoryTree(this.flowchartDetails.orgName),this.isSuccess=!0,this.successMsg="Successfully cloned to
1new version: "+Kn.flowchartVersionName,this.fceditloading=!1,this.genericErr=!1},Vn=>{this.fceditloading=!1,this.isSuccess=!1,this.genericErr=!0,this.genericErrMsg=Vn&&Vn.error?Vn.error.statusMessage:""})}})}deleteSelectedVersion(Y,O,gt){console.log("delete version - "+O),console.log("version list size =",this.fcVersionList.length),this.selecteFcVerId=O;var Zt="Are you sure you want to delete the version "+gt+" permanently?";"Y"===Y?Zt="You cannot delete the Master flowchart version. First remove the Master status from this version to delete it.":1===this.fcVersionList.length&&(Zt="This is the only version created for this flowchart. If you delete this version, it will delete the flowchart as well. Are you sure you want to delete the version "+gt+" and the flowchart permanently?");let Fe=this.dialog.open(tl,{width:"300px",data:{title:"Confirm you want to delete the selected version.",message:Zt,isMaster:Y,answer:"yes"}});const vn=Fe.componentInstance.genericErrMsg.subscribe(hn=>{this.genericErrMsg=hn,this.genericErr=!0});Fe.afterClosed().subscribe(hn=>{if(vn.unsubscribe(),Fe=null,"yes"===hn){this.fceditloading=!0;let vi={userSessionId:this._utilService.getCookie("userSessionId"),flowchartId:this.flowchartId,flowchartVersionId:O,flowchartCreator:this.flowchartDetails.flowchartCreator,userAccess:this.userAccess,orgId:this.orgId};this._flowchartVersionService.deleteSelectedFlowchartVersion(vi).subscribe(Vn=>{if(1===this.fcVersionList.length)if(1===this.orgId){let Kn=this;this._flowchartListService.getFlowchartlistByGoalUrl(Kn.goalId,Kn.flowchartDetails.goalUrl).subscribe(ur=>{var fi,_r=this.sessionStorage.getObject("pubFlowchartListByGoal");_r=JSON.parse(JSON.stringify(_r)),wn.forEach(_r,function(To,Wl){wn.isEqual(Kn.goalId.toString(),Wl.toString())&&(_r[Kn.goalId]=ur.responseBody)}),this.sessionStorage.setObject("pubFlowchartListByGoal",_r),fi=this._flowchartListService.getFlowchartListInCategoryTree(this.goalId,this.flowchartDetails.goalUrl,this.flowchartDetails.orgName,this.flowchartDetails.categoryId,this.flowchartDetails.subCategoryId),this._flowchartListService.setFlowchartListDetailsByGoalName(fi),this._flowchartListService.setSelectedGoalId(this.flowchartDetails.goalId),this._flowchartListService.setSelectedGoalName(this.flowchartDetails.goalName),this._homeService.updateUserFavoriteFlowchartsInSession(),this.sessionStorage.removeItem("flowchart"),this.fceditloading=!1,this.router.navigate([`./${this.flowchartDetails.goalId}/${this.flowchartDetails.goalUrl}`]),this.dialogRef.close(!0)},ur=>{this._homeService.updateUserFavoriteFlowchartsInSession(),this.sessionStorage.removeItem("flowchart"),this.fceditloading=!1,this.router.navigate([`./${this.flowchartDetails.goalId}/${this.flowchartDetails.goalUrl}`]),this.dialogRef.close(!0)})}else this._homeService.getAuthorizedUserCategoryList().subscribe(Kn=>{var ur;console.log(Kn),this.sessionStorage.setObject("cattree",Kn.responseBody.categoryTreeResponse),ur=this._flowchartListService.getFlowchartListInCategoryTree(this.goalId,this.flowchartDetails.goalUrl,this.flowchartDetails.orgName,this.flowchartDetails.categoryId,this.flowchartDetails.subCategoryId),this._flowchartListService.setFlowchartListDetailsByGoalName(ur),this._flowchartListService.setSelectedGoalId(this.flowchartDetails.goalId),this._flowchartListService.setSelectedGoalName(this.flowchartDetails.goalName),this._homeService.updateUserFavoriteFlowchartsInSession(),this.sessionStorage.removeItem("flowchart"),this.fceditloading=!1,this.router.navigate([`./${this.flowchartDetails.goalId}/${this.flowchartDetails.goalUrl}`]),this.dialogRef.close(!0)},Kn=>{this._homeService.updateUserFavoriteFlowchartsInSession(),this.sessionStorage.removeItem("flowchart"),this.fceditloading=!1,this.router.navigate([`./${this.flowchartDetails.goalId}/${this.flowchartDetails.goalUrl}`]),this.dialogRef.close(!0)});else{let Kn=[];Kn=this.fcVersionList,console.log("fc version list - ",Kn);let ur=wn.remove(Kn,function(_r){return _r.versionId===O});console.log("new version list after delete -",Kn),console.log("new version list after delete removed list -",ur),this.fcVersionList=Kn,this.fcVersionList=[...Kn],console.log("Final list to show on table - ",this.fcVersionList),this.fcVersionsDataSource=new po.by(this.fcVersionList),this.isSuccess=!0,this.successMsg="Successfully deleted selected version: "+gt,this.fceditloading=!1,this.genericErr=!1}},Vn=>{this.fceditloading=!1,this.isSuccess=!1,this.genericErr=!0,this.genericErrMsg=Vn.error.statusMessage})}})}_renderSelectedVersionInEditMode(Y){this._flowchartService.setToggleEditMode(!0),this._flowchartVersionService.renderFlowchartVersion(Y).subscribe(O=>{var se=wn.split(this.router.routerState.snapshot.url,"/");this._flowchartService.setEditFlowchartDetails(this._flowchartService.prepareRenderLayersFromResponse("edit",O,se,this.userAccess)),this.router.navigate([`${se[1]}/${se[2]}/${se[3]}/${se[4]}/edit`]),this.dialogRef.close(!0)},O=>{this.loading=!1,this.fceditloading=!1,this.genericErr=!0,this.genericErrMsg=O.error.statusMessage})}_renderSelectedVersionInViewMode(Y){this._flowchartVersionService.renderFlowchartVersion(Y).subscribe(O=>{var se=wn.split(this.router.routerState.snapshot.url,"/");this._flowchartService.setSelectedFlowchartRenderDetails(this._flowchartService.prepareRenderLayersFromResponse("view",O,se,this.userAccess)),this.dialogRef.close(!0)},O=>{this.loading=!1,this.genericErr=!0,this.genericErrMsg=O.error.statusMessage})}validateSelectedImage(Y){if(Y.target.files&&Y.target.files.length>
10){if(!wn.includes(["image/png","image/gif","image/jpeg","image/pjpeg","image/jpg"],Y.target.files[0].type))return this.fcPropertyUpdateErrMsg="Not valid image type. Only png/jpeg/gif files are allowed.",void(this.fcPropertyUpdateError=!0)}else this.fcPropertyUpdateError=!0,this.fcPropertyUpdateErrMsg="You haven't selected any file."}fileChangeEvent(Y){this.imageChangedEvent=Y}imageCropped(Y){this.croppedImage=Y.base64,console.log(Y,(0,Pm.Ll)(Y.base64))}imageLoaded(){this.showCropper=!0,console.log("Image loaded")}cropperReady(Y){console.log("Cropper ready",Y)}loadImageFailed(){console.log("Load failed"),this.genericErr=!0,this.genericErrMsg="Loading Image Failed"}rotateLeft(){this.canvasRotation--,this._flipAfterRotate(),this.updateRotation()}rotateRight(){this.canvasRotation++,this._flipAfterRotate(),this.updateRotation()}_flipAfterRotate(){this.transform={...this.transform,flipH:this.transform.flipV,flipV:this.transform.flipH}}flipHorizontal(){this.transform={...this.transform,flipH:!this.transform.flipH}}flipVertical(){this.transform={...this.transform,flipV:!this.transform.flipV}}resetImage(){this.scale=1,this.rotation=0,this.canvasRotation=0,this.transform={}}zoomOut(){this.scale-=.1,this.transform={...this.transform,scale:this.scale}}zoomIn(){this.scale+=.1,this.transform={...this.transform,scale:this.scale}}toggleContainWithinAspectRatio(){this.containWithinAspectRatio=!this.containWithinAspectRatio}updateRotation(){this.transform={...this.transform,rotate:this.rotation}}dataURItoBlob(Y){const O=atob(Y.split(",")[1]),gt=[];for(let Zt=0;Zt<O.length;Zt++)gt.push(O.charCodeAt(Zt));return new Blob([new Uint8Array(gt)],{type:"image/png"})}updateFlowchartMetadataDetails(Y){var O=this;return(0,bi.Z)(function*(){O.fcmetadataLoading=!0;let gt=O.fileInput.nativeElement;O.flowchartName=O.fcMetadataForm.get("flowchartName").value,wn.isEqual(O.flowchartName.toLowerCase(),O.flowchartDetails.flowchartName.toLowerCase())||O._flowchartService.validateUniqueFlowchartName(O.flowchartName).subscribe(Fe=>{},Fe=>{O.fcPropertyUpdateError=!0,O.fcPropertyUpdateErrMsg="FlowchartName has been taken. Please select other name.",O.fcmetadataLoading=!1});let se={flowchartId:O.flowchartDetails.flowchartId,orgId:O.flowchartDetails.orgId,userAccess:O.flowchartDetails.userAccess,userSessionId:O._utilService.getCookie("userSessionId"),flowchartCreator:O.flowchartDetails.flowchartCreator,flowchartName:O.flowchartName,flowchartDescription:O.flowchartDescription,notes:O.notes,keywords:O.keywords.toString(),flowchartCopiable:O.fcCopiable?"Y":"N",flowchartAppendAsFragment:O.fcAppendAsFragment?"Y":"N",flowchartCopyAppendClonegroupAllowed:O.copyAppendClonegroupAllowed?"Y":"N",flowchartImageName:"",flowchartImageData:"",flowchartUserActivityPersistanceDays:O.fcMetadataForm.get("userActivityPersistanceDays").value,flowchartCustomKeyName:O.fcMetadataForm.get("flowchartCustomKeyName").value,flowchartCustomKeyValue:O.fcMetadataForm.get("flowchartCustomKeyValue").value};if(O.croppedImage){let Fe=gt.files.item(0).name.replace(/\s/g,"");Fe=Fe.replace(/[\])}[{(]/g,"");let vn=Fe.substring(0,Fe.indexOf("."))+".png";console.log("png file name",vn);const hn=O.dataURItoBlob(O.croppedImage);let vi=new File([hn],vn,{type:"image/png"});const Vn={maxSizeMB:.5,useWebWorker:!1};let Kn=vi;try{const fi=yield(0,Ub.Z)(vi,Vn);console.log("compressedFile instanceof Blob",fi instanceof Blob),console.log(`compressedFile size ${fi.size/1024/1024} MB`),Kn=fi}catch(fi){console.log(fi)}let ur="",_r=new FileReader;_r.readAsDataURL(Kn),_r.onload=()=>{ur=_r.result.toString().split(",")[1],se.flowchartImageData=ur,se.flowchartImageName=vn,O._flowchartService.updateFlowchartMetadata(se).subscribe(fi=>{var To=JSON.parse(JSON.stringify(O.sessionStorage.getObject("flowchart")));if(O.flowchartDetails&&O.flowchartDetails.fcCopiable&&("Y"===O.flowchartDetails.fcCopiable&&!1===O.fcCopiable||"N"===O.flowchartDetails.fcCopiable&&!0===O.fcCopiable)){let yp={event:"click_settings_copyfc","dlv-user_state_id":"loggedin","dlv-user_id":O._utilService.getLoggedInUserId(),"dlv-org_member":O._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":O._utilService.getLoggedInUserRole(),"dlv-org_id":O.flowchartDetails.orgId,"dlv-fc_id":O.flowchartDetails.flowchartId};window.dataLayer.push(yp)}O._userMilestoneService.saveOrUpdateUserMilestone("ADDED_FC_METADATA_WITH_FCIMAGE",null),wn.isEqual(O.flowchartName.toLowerCase(),O.flowchartDetails.flowchartName.toLowerCase())||(O._homeService.updateUserFavoriteFlowchartsInSession(),wn.isEqual(To.startBoxId,O.flowchartDetails.currentBox.boxId)&&
1(O.flowchartDetails.currentBox.boxCaption=fi.responseBody.updatedStartBoxCaption),1===O.flowchartDetails.fromBoxList.length&&wn.isEqual(To.startBoxId,O.flowchartDetails.fromBoxList[0].boxId)&&(O.flowchartDetails.fromBoxList[0].box.boxCaption=fi.responseBody.updatedStartBoxCaption)),1===O.flowchartDetails.orgId?O._flowchartListService.updateFcListForGoalAfterFcCreate(O.flowchartDetails.goalId,O.flowchartDetails.goalUrl):O._homeService.updateCategoryTree(O.flowchartDetails.orgName),O.flowchartDetails.flowchartName=fi.responseBody.flowchartName,O.flowchartDetails.flowchartDescription=fi.responseBody.flowchartDescription,O.flowchartDetails.keywords=fi.responseBody.keywords,O.flowchartDetails.notes=fi.responseBody.notes,O.flowchartDetails.flowchartImageUrl=fi.responseBody.flowchartImageUrl,O.flowchartImageUrl=fi.responseBody.flowchartImageUrl,O.flowchartDetails.fcCopiable=fi.responseBody.flowchartCopiable,O.flowchartDetails.fcAppendAsFragment=fi.responseBody.flowchartAppendAsFragment,O.flowchartDetails.copyAppendClonegroupAllowed=fi.responseBody.flowchartCopyAppendClonegroupAllowed,O.flowchartDetails.userActivityPersistanceDays=fi.responseBody.flowchartUserActivityPersistanceDays,O.flowchartDetails.flowchartCustomKeyName=fi.responseBody.flowchartCustomKeyName,O.flowchartDetails.flowchartCustomKeyValue=fi.responseBody.flowchartCustomKeyValue,To.flowchartName=fi.responseBody.flowchartName,To.flowchartDescription=fi.responseBody.flowchartDescription,To.notes=fi.responseBody.notes,To.keywords=fi.responseBody.keywords,To.flowchartImageUrl=fi.responseBody.flowchartImageUrl,To.fcCopiable=fi.responseBody.flowchartCopiable,To.fcAppendAsFragment=fi.responseBody.flowchartAppendAsFragment,To.copyAppendClonegroupAllowed=fi.responseBody.flowchartCopyAppendClonegroupAllowed,To.userActivityPersistanceDays=fi.responseBody.flowchartUserActivityPersistanceDays;let Wl=To.startBoxId;wn.isEqual(Wl,fi.responseBody.updatedStartBoxId)&&(To.boxes[Wl].boxCaption=fi.responseBody.updatedStartBoxCaption),O.sessionStorage.removeItem("flowchart"),O.sessionStorage.setObject("flowchart",To),O.fcPropertyUpdateSuccess=!0,O.fcPropertyUpdateSuccessMsg="Successfully updated flowchart metadata.",O.fcmetadataLoading=!1,gt.value="";let mp={event:"edit_fc_metadata","dlv-user_state_id":"loggedin","dlv-user_id":O._utilService.getLoggedInUserId(),"dlv-org_member":O._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":O._utilService.getLoggedInUserRole(),"dlv-org_id":O.flowchartDetails.orgId,"dlv-cat_id":O.flowchartDetails.categoryId,"dlv-subcat_id":O.flowchartDetails.subCategoryId,"dlv-goal_id":O.flowchartDetails.goalId,"dlv-fc_id":O.flowchartDetails.flowchartId};window.dataLayer.push(mp);let vp={event:"upload_fc_image","dlv-user_state_id":"loggedin","dlv-user_id":O._utilService.getLoggedInUserId(),"dlv-org_member":O._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":O._utilService.getLoggedInUserRole(),"dlv-org_id":O.flowchartDetails.orgId,"dlv-cat_id":O.flowchartDetails.categoryId,"dlv-subcat_id":O.flowchartDetails.subCategoryId,"dlv-goal_id":O.flowchartDetails.goalId,"dlv-fc_id":O.flowchartDetails.flowchartId};window.dataLayer.push(vp),O.closePanel(Y),O.cdr.detectChanges()},fi=>{O.fcPropertyUpdateError=!0,O.fcPropertyUpdateErrMsg=fi&&fi.error?fi.error.statusMessage:"",O.fcmetadataLoading=!1})}}else O._flowchartService.updateFlowchartMetadata(se).subscribe(Fe=>{var vn=JSON.parse(JSON.stringify(O.sessionStorage.getObject("flowchart")));if(O.flowchartDetails&&O.flowchartDetails.fcCopiable&&("Y"===O.flowchartDetails.fcCopiable&&!1===O.fcCopiable||"N"===O.flowchartDetails.fcCopiable&&!0===O.fcCopiable)){let Kn={event:"click_settings_copyfc","dlv-user_state_id":"loggedin","dlv-user_id":O._utilService.getLoggedInUserId(),"dlv-org_member":O._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":O._utilService.getLoggedInUserRole(),"dlv-org_id":O.flowchartDetails.orgId,"dlv-fc_id":O.flowchartDetails.flowchartId};window.dataLayer.push(Kn)}O._userMilestoneService.saveOrUpdateUserMilestone("ADDED_FC_METADATA",null),wn.isEqual(O.flowchartName.toLowerCase(),O.flowchartDetails.flowchartName.toLowerCase())||(O._homeService.updateUserFavoriteFlowchartsInSession(),wn.isEqual(vn.startBoxId,O.flowchartDetails.currentBox.boxId)&&
1(O.flowchartDetails.currentBox.boxCaption=Fe.responseBody.updatedStartBoxCaption),1===O.flowchartDetails.fromBoxList.length&&wn.isEqual(vn.startBoxId,O.flowchartDetails.fromBoxList[0].boxId)&&(O.flowchartDetails.fromBoxList[0].box.boxCaption=Fe.responseBody.updatedStartBoxCaption)),1===O.flowchartDetails.orgId?O._flowchartListService.updateFcListForGoalAfterFcCreate(O.flowchartDetails.goalId,O.flowchartDetails.goalUrl):O._homeService.updateCategoryTree(O.flowchartDetails.orgName),O.flowchartDetails.flowchartName=Fe.responseBody.flowchartName,O.flowchartDetails.flowchartDescription=Fe.responseBody.flowchartDescription,O.flowchartDetails.keywords=Fe.responseBody.keywords,O.flowchartDetails.notes=Fe.responseBody.notes,O.flowchartDetails.flowchartImageUrl=Fe.responseBody.flowchartImageUrl,O.flowchartDetails.fcCopiable=Fe.responseBody.flowchartCopiable,O.flowchartDetails.fcAppendAsFragment=Fe.responseBody.flowchartAppendAsFragment,O.flowchartDetails.copyAppendClonegroupAllowed=Fe.responseBody.flowchartCopyAppendClonegroupAllowed,O.flowchartDetails.userActivityPersistanceDays=Fe.responseBody.flowchartUserActivityPersistanceDays,vn.flowchartName=Fe.responseBody.flowchartName,vn.flowchartDescription=Fe.responseBody.flowchartDescription,vn.notes=Fe.responseBody.notes,vn.keywords=Fe.responseBody.keywords,vn.flowchartImageUrl=Fe.responseBody.flowchartImageUrl,vn.fcCopiable=Fe.responseBody.flowchartCopiable,vn.fcAppendAsFragment=Fe.responseBody.flowchartAppendAsFragment,vn.copyAppendClonegroupAllowed=Fe.responseBody.flowchartCopyAppendClonegroupAllowed,vn.userActivityPersistanceDays=Fe.responseBody.flowchartUserActivityPersistanceDays,vn.flowchartCustomKeyName=Fe.responseBody.flowchartCustomKeyName,vn.flowchartCustomKeyValue=Fe.responseBody.flowchartCustomKeyValue;let hn=vn.startBoxId;wn.isEqual(hn,Fe.responseBody.updatedStartBoxId)&&(vn.boxes[hn].boxCaption=Fe.responseBody.updatedStartBoxCaption),O.sessionStorage.removeItem("flowchart"),O.sessionStorage.setObject("flowchart",vn),O.fcmetadataLoading=!1;let Vn={event:"edit_fc_metadata","dlv-user_state_id":"loggedin","dlv-user_id":O._utilService.getLoggedInUserId(),"dlv-org_member":O._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":O._utilService.getLoggedInUserRole(),"dlv-org_id":O.flowchartDetails.orgId,"dlv-cat_id":O.flowchartDetails.categoryId,"dlv-subcat_id":O.flowchartDetails.subCategoryId,"dlv-goal_id":O.flowchartDetails.goalId,"dlv-fc_id":O.flowchartDetails.flowchartId};window.dataLayer.push(Vn),O.closePanel(Y)},Fe=>{O.fcPropertyUpdateError=!0,O.fcPropertyUpdateErrMsg=Fe&&Fe.error?Fe.error.statusMessage:"",O.fcmetadataLoading=!1})})()}deleteFlowchartImage(){this.delFcImageProcessing=!0;let O={flowchartId:this.flowchartDetails.flowchartId,orgId:this.flowchartDetails.orgId,userAccess:this.flowchartDetails.userAccess,userSessionId:this._utilService.getCookie("userSessionId"),flowchartCreator:this.flowchartDetails.flowchartCreator,flowchartName:this.flowchartName,flowchartDescription:this.flowchartDescription,keywords:this.keywords.toString(),flowchartImageName:"",flowchartImageData:""};this._flowchartService.updateFlowchartMetadata(O).subscribe(gt=>{var Zt=JSON.parse(JSON.stringify(this.sessionStorage.getObject("flowchart")));1===this.flowchartDetails.orgId?this._flowchartListService.updateFcListForGoalAfterFcCreate(this.flowchartDetails.goalId,this.flowchartDetails.goalUrl):this._homeService.updateCategoryTree(this.flowchartDetails.orgName),this.flowchartDetails.flowchartImageName=gt.responseBody.flowchartImageName,this.flowchartDetails.flowchartImageUrl=gt.responseBody.flowchartImageUrl,this.flowchartImageUrl=this.flowchartDetails.flowchartImageUrl,Zt.flowchartImageUrl=gt.responseBody.flowchartImageUrl,this.delFcImageProcessing=!1,this.fcMetadataSuccessMsg="Successfully deleted Flowchart's image."},gt=>{this.genericErr=!0,this.genericErrMsg=gt&>.error?gt.error.statusMessage:"",this.delFcImageProcessing=!1})}openRequestForPublishFc(){this.requesting=!0,this._requestReviewPublishFcDialogService.open({flowchartId:this.flowchartDetails.flowchartId,flowchartName:this.flowchartDetails.flowchartName,notes:this.flowchartDetails.notes,userAccess:this.flowchartDetails.userAccess,flowchartCreator:this.flowchartDetails.flowchartCreator,orgId:this.flowchartDetails.orgId}),this._requestReviewPublishFcDialogService.confirmed().subscribe(O=>{let gt;this._flowchartService.getFlowchartEntityActions(this.flowchartDetails.flowchartId).subscribe(Zt=>{gt=Zt.responseBody,this.fcEntityActionForPublish=wn.find(gt,function(se){return"PUBLISH"===se.action}),this.requesting=!1},Zt=>(this.requesting=!1,null))})}
1closePanel(Y){Y.toggle()}close(){this.ngZone.run(()=>{this.dialogRef.close()})}}return et.\u0275fac=function(Y){return new(Y||et)(u.Y36(u.sBO),u.Y36(u.R0b),u.Y36(tr.so),u.Y36(Zb.F0),u.Y36(Hm.f),u.Y36(Ob.d),u.Y36(Bb.A),u.Y36(Pb.Q),u.Y36(Rb.Y),u.Y36(Jb.k),u.Y36(Hb.q),u.Y36(wo.w),u.Y36(Yb.r),u.Y36(qb.S),u.Y36(Vb.I),u.Y36(dp.d),u.Y36(Qb.b),u.Y36(bc.J),u.Y36(fp.E),u.Y36($b.F),u.Y36(tr.uw),u.Y36(jb.ux),u.Y36(tr.WI),u.Y36(Ym.qo))},et.\u0275cmp=u.Xpm({type:et,selectors:[["ng-component"]],viewQuery:function(Y,O){if(1&Y&&(u.Gf(ow,5),u.Gf(hp.YE,5),u.Gf(Bm.NW,5)),2&Y){let gt;u.iGM(gt=u.CRH())&&(O.fileInput=gt.first),u.iGM(gt=u.CRH())&&(O.matSort=gt.first),u.iGM(gt=u.CRH())&&(O.matPaginator=gt.first)}},hostBindings:function(Y,O){1&Y&&u.NdJ("keyup",function(Zt){return O.onKeyUp(Zt)})},decls:392,vars:158,consts:[[1,"dz-dialog-subcontainer","edit-fc-versions-subcontr"],["id","fceditdilg-close","mat-button","","aria-label","Close the Flowchart Editor",1,"close-cross",3,"click"],[1,"dz-dialog-top"],["mat-dialog-title","",1,"editformtitle"],[1,"version-fc-name"],[1,"dz-dialog-scrolling-body","common-modal","edit-fc-modal"],[4,"ngIf"],["class","success-msg",4,"ngIf"],[1,"common-modal-content"],[1,"small-text","gray-text","width90pct-centerized-text"],[1,"fc-version-table","dztable-container","mat-elevation-z8"],["mat-table","","matSort","",1,"dztable-table",3,"dataSource"],["matColumnDef","Name","sticky",""],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Master"],["matColumnDef","Actions"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","EndStatus"],["matColumnDef","Author"],["matColumnDef","ParentVersion"],["matColumnDef","CreatedTime"],["matColumnDef","LastUpdated"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"fc-version-table-paginator",3,"pageIndex","pageSize","pageSizeOptions","click"],[1,"common-modal-properties"],["tabindex","0",1,"common-modal-heading","gray-text"],[1,"settings-fc-properties"],["metadataPanel",""],["name","form","novalidate","",3,"formGroup"],["id","fceditdilg-fcname",1,"form-full-width"],["matInput","","placeholder","Enter Flowchart Name (max 50 characters)","name","flowchartName","maxlength","50","formControlName","flowchartName","required",""],["hintLabel","Short description in your words",1,"form-full-width"],["matInput","","mdTextareaAutosize","","placeholder","Enter Flowchart Description","name","flowchartDescription",3,"ngModel","ngModelOptions","ngModelChange"],["hintLabel","Comma-Separated Keywords/Phrases your audience would use to search for this flowchart",1,"form-full-width"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","Add Search Keywords for this flowchart (comma seperated)",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd"],[1,"form-full-width"],["matInput","","placeholder","Enter Flowchart Custom Key Name (max 30 characters)","name","flowchartCustomKeyName","maxlength","30","formControlName","flowchartCustomKeyName","required",""],["matInput","","placeholder","Enter Flowchart Custom Key Value (max 50 characters)","name","flowchartCustomKeyValue","maxlength","50","formControlName","flowchartCustomKeyValue","required",""],["hintLabel","Flowchart notes are shared with users having EDIT privileges",1,"form-full-width"],["matInput","","mdTextareaAutosize","","placeholder","Enter Flowchart Notes (max 1024 characters)","maxlength","1024","name","notes",1,"fc-notes-textinput",3,"ngModel","ngModelOptions","ngModelChange"],[1,"file-upload-section"],["tabindex","0"],[1,"image-upload-title"],["tabindex","0","aria-label","Current Flowchart image shown here",4,"ngIf"],[1,"uploadoption"],["for","file"],["aria-label","Select an jpg or png image less than 500 kilobytes in size for this flowchart","type","file","accept","image/png, image/jpeg, image/jpg","id","image",1,"file-selector",3,"change"],["fileInput",""],["class","cropper-tools-container",4,"ngIf"],["class","cropper-rotation-sli
1der","matTooltip","Rotate image.","name","rotation","tickInterval","30","min","0","max","359","aria-label","degrees",3,"matTooltipShowDelay","matTooltipHideDelay","thumbLabel","ngModel","ngModelOptions","ngModelChange","change",4,"ngIf"],["format","png",1,"image-cropper-container",3,"imageChangedEvent","maintainAspectRatio","containWithinAspectRatio","aspectRatio","resizeToWidth","cropperMinWidth","onlyScaleDown","roundCropper","canvasRotation","transform","alignImage","imageCropped","imageLoaded","cropperReady","loadImageFailed"],["id","useracty-persistance","hintLabel","Number of Days. Min 0, Max 120, no decimals.",1,"form-full-width"],["matInput","","type","number","min","0","max","120","step","1","formControlName","userActivityPersistanceDays","name","userActivityPersistanceDays","placeholder","User Activity Persistance Duration",3,"readonly","value"],["class","user-activity-persist-disable-msg",4,"ngIf"],["class","permission-checkboxes",4,"ngIf"],[1,"common-modal-buttons"],["mat-dialog-actions","",1,"dialogue-buttons"],["id","fceditdilg-cancl","type","button","mat-button","",3,"click"],["id","fceditdilg-delfcimg","type","button","color","accent","mat-raised-button","",3,"disabled","click",4,"ngIf"],["id","fceditdilg-save","type","button","color","accent","mat-raised-button","",3,"disabled","click"],["class","app-spinner",4,"ngIf"],[3,"click"],["publishedPanel",""],["id","publishFc","aria-label","Toggle this button to Change Published Status of this flowchart.","ngDefaultControl","","matTooltip","You do not have permission to change Publish property for the flowchart.",3,"matTooltipShowDelay","matTooltipHideDelay","matTooltipDisabled","disabled","ngModel","checked","color","ngModelChange","change"],["class","fc-instructions",4,"ngIf"],["class","note-italic",4,"ngIf"],["id","fceditdilg-creatrestrdpubfc","aria-label","Request to review and publish this flowchart.","mat-stroked-button","",3,"disabled","click",4,"ngIf"],["class","entity-action-status",4,"ngIf"],["id","fceditdilg-creatrestrdpubfc","aria-label","create Restricted published URL for this flowchart in a new window.","mat-stroked-button","",3,"disabled","click",4,"ngIf"],["id","allowViewerTranscript","aria-label","Allow Visitors To Receive Summary Email","matTooltip","You do not have permission to change Publish property for the flowchart.","ngDefaultControl","",3,"matTooltipShowDelay","matTooltipHideDelay","matTooltipDisabled","disabled","ngModel","checked","color","ngModelChange","change"],["name","publishedFcLayout",1,"layout-radio-group",3,"ngModel","ngModelChange"],[3,"value"],["src","../../../../../assets/images/3-Layer-FLOWCHART-Layout-SVG-50px.png","alt","Image for three layers layout view."],[1,"layout-name"],["src","../../../../../assets/images/CARD-Layout-SVG-50px.png","alt","Image for card layout view."],["id","fceditdilg-cancel","type","button","mat-button","",3,"click"],["id","fceditdilg-updatpubfclayout","type","button","color","accent","mat-raised-button","",3,"disabled","click"],[1,"fc-instructions"],["id","fceditdialog-expln-puboptn",1,"explainme",3,"click"],[3,"options","selectedValues","toggle"],[1,"fc-exit-form-field"],["aria-label","Enter the URL of the page where the viewer should be redirected after they complete this flowchart using the published URL link.","matInput","","placeholder","https://decizone.com","formControlName","redirectUrl","name","redirectUrl",1,"fc-exit-input-field",3,"value"],["position","start"],[1,"gray-text"],["embeddedPanel",""],["id","embedFc","matTooltip","You do not have permission to change Embed flag for the flowchart.","ngDefaultControl","",3,"matTooltipShowDelay","matTooltipHideDelay","matTooltipDisabled","disabled","ngModel","checked","color","ngModelChange","change"],["name","embeddedFcLayout",1,"layout-radio-group",3,"ngModel","ngModelChange"],["id","fceditdialog-expln-embedoptn",3,"click"],[3,"click",4,"ngIf"],["endFlowPanel",""],["name","form","novalidate",""],["class","fc-exit-radio-group","name","fcEndFlow",3,"ngModel","ngModelChange",4,"ngFor","ngForOf"],["tabindex","0",4,"ngIf"],["class","fc-exit-radio-group",4,"ngIf"],[3,"opened",4,"ngIf"],[1,"instructions-para","gray-text"],["class","instructions-para gray-text",4,"ngIf"],[1,"instructions-para"],["class","instructions-para",4,"ngIf"],[1,"socialcontainer"],[1,"socialsharecontainer"],["id","fceditdialog-socl-facebook","target","_blank","aria-label","Share the Published Flowchart URL on Facebook.","rel","noopener nofollow","mat-mini-fab","",1,"socialbutton","mat-elevation-z12",3,"ngClass","href"],["loading","lazy","src","assets/images/social-icons-16-facebook.png","alt","Image of facebook button.",1,"socialbuttonimage"],["id","fceditdialog-socl-twitter","target","_blank","aria-label","Share the Published Flowchart URL on Twitter.","rel","noopener nofollow","mat-mini-fab","",1,"socialbutton","mat-elevation-z12",3,"ngClass","href"],["loading","lazy","src","assets/images/social-icons-1
15-twitter.png","alt","Image of twitter button.",1,"socialbuttonimage"],["id","fceditdialog-socl-linkedin","target","_blank","aria-label","Share the Published Flowchart URL on Linkedin.","rel","noopener nofollow","mat-mini-fab","",1,"socialbutton","mat-elevation-z12",3,"ngClass","href"],["loading","lazy","src","assets/images/social-icons-17-linkedin.png","alt","Image of linkedin button.",1,"socialbuttonimage"],["id","fceditdialog-socl-email","aria-label","Share the Published Flowchart URL by Email.","mat-mini-fab","",1,"socialbutton","mat-elevation-z12",3,"ngClass","href"],["loading","lazy","src","assets/images/social-icons-20-email.png","alt","Image of email button.",1,"socialbuttonimage"],[1,"success-msg"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["id","fceditdilg-notmastr","mat-icon-button","","aria-label","Not a Master Version",3,"click",4,"ngIf"],["id","fceditdilg-mastr","mat-icon-button","","aria-label","This version is currently the Master Version",3,"click",4,"ngIf"],["id","fceditdilg-removmastr","matTooltip","Remove Master Status from this Version. Note that IF you remove this Master version status, only members with edit privileges will be able to access this flowchart","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["id","fceditdilg-notmastr","mat-icon-button","","aria-label","Not a Master Version",3,"click"],["id","fceditdilg-mastr","mat-icon-button","","aria-label","This version is currently the Master Version",3,"click"],["id","fceditdilg-removmastr","matTooltip","Remove Master Status from this Version. Note that IF you remove this Master version status, only members with edit privileges will be able to access this flowchart","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["mat-header-cell",""],["id","fceditdilg-editversn","matTooltip","Modify this version in Edit Mode","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","fceditdilg-veiwversn","matTooltip","View this flowchart version","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","fceditdilg-cloneversn","matTooltip","Make Clone of selected version","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["id","fceditdilg-delversion","matTooltip","Delete this flowchart version permanently.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["matTooltip","You are already viewing this version. Please switch to different version in order to delete this version.",3,"matTooltipShowDelay","matTooltipHideDelay",4,"ngIf"],["id","fceditdilg-delversion","matTooltip","Delete this flowchart version permanently.","mat-icon-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","You are already viewing this version. Please switch to different version in order to delete this version.",3,"matTooltipShowDelay","matTooltipHideDelay"],["id","fceditdilg-delfcperm","mat-icon-button","","aria-label","Delete this flowchart version permanently.",3,"disabled","click"],[1,"app-spinner"],["id","fceditdilg-mangresolnst","matTooltip","Manage RESOLUTION STATUS For The Last Box In All Branches Of this flowchart version.","aria-label","Manage RESOLUTION STATUS For The Last Box In All Branches Of this flowchart version.","mat-raised-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"spinner-container"],["class","app-spinner end-status-spinner",4,"ngIf"],[1,"app-spinner","end-status-spinner"],["mat-header-row",""],["mat-row",""],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],["tabindex","0","aria-label","Current Flowchart image shown here"],["id","uploadedImage"],[1,"cropper-tools-container"],["matTooltip","Rotate 90 deg. Right","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Rotate 90 deg. Left","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Flip Horizontal","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Flip Vertical","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Contain Within Aspect Ratio","class","croppertool-button","mat-mini-fab","","color","accent",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["matTooltip","Fill Aspect Ratio","class","croppertool-button","mat-mini-fab","","color","accent",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["matTooltip","Re
1set Image","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Zoom Out","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Zoom In","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Contain Within Aspect Ratio","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Fill Aspect Ratio","mat-mini-fab","","color","accent",1,"croppertool-button",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["matTooltip","Rotate image.","name","rotation","tickInterval","30","min","0","max","359","aria-label","degrees",1,"cropper-rotation-slider",3,"matTooltipShowDelay","matTooltipHideDelay","thumbLabel","ngModel","ngModelOptions","ngModelChange","change"],[1,"custom-cropped-image",3,"src"],[1,"user-activity-persist-disable-msg"],[1,"permission-checkboxes"],[3,"ngModel","ngModelOptions","ngModelChange"],["id","fceditdilg-delfcimg","type","button","color","accent","mat-raised-button","",3,"disabled","click"],["ngDefaultControl","","aria-label","Flowchart Published Status",3,"ngModel","disabled","color","ngModelChange","change"],["id","published-url"],["id","fceditdilg-publshurlcopy","matTooltip","Copy URL for PUBLISHed flowchart.","aria-label","Copy the URL for this Published flowchart.","mat-stroked-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],[1,"note-italic"],["id","fceditdilg-creatrestrdpubfc","aria-label","Request to review and publish this flowchart.","mat-stroked-button","",3,"disabled","click"],[1,"entity-action-status"],["id","fceditdilg-creatrestrdpubfc","aria-label","create Restricted published URL for this flowchart in a new window.","mat-stroked-button","",3,"disabled","click"],[1,"action-success"],["id","embed-fc"],["id","fceditdilg-embedcopy","matTooltip","Copy code to embed this flowchart in your website.","mat-stroked-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["extFormSubmitPanel",""],["id","externalFormSubmit","aria-label","Toggle this button to enable or disable API Requests with your flowchart transaction data.","ngDefaultControl","",3,"ngModel","checked","color","ngModelChange","change"],["appearance","fill"],["placeholder","Select Third Party API",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["id","fceditdilg-extformsuburl","matTooltip","Save External Form Submission URL.","aria-label","Save External Form Submission URL.","mat-stroked-button","",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["class","manage-box-custom-var dztable-container mat-elevation-z8",3,"click",4,"ngIf"],[1,"manage-box-custom-var","dztable-container","mat-elevation-z8",3,"click"],[3,"matColumnDef",4,"ngFor","ngForOf"],[3,"matColumnDef"],["mat-icon-button","","color","primary",3,"click",4,"ngIf"],["mat-icon-button","","color","warn",3,"click",4,"ngIf"],["mat-icon-button","","color","primary",3,"click"],["mat-icon-button","","color","warn",3,"click"],["mat-icon-button","","matTooltip","Edit Custom Variable",3,"matTooltipShowDelay","matTooltipHideDelay","click",4,"ngIf"],["mat-icon-button","","matTooltip","Edit Custom Variable",3,"matTooltipShowDelay","matTooltipHideDelay","click"],["appearance","outline",4,"ngIf"],["appearance","outline"],["matInput","",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange",4,"ngIf"],[3,"ngModel","ngModelChange"],["color","primary"],["name","fcEndFlow",1,"fc-exit-radio-group",3,"ngModel","ngModelChange"],[1,"fc-setting-radio-button",3,"disabled","value"],[1,"fc-exit-radio-group"],[1,"fc-setting-radio-button"],[3,"opened"],["txnStatusPanel",""],[4,"ngFor","ngForOf"],["placeholder","txnstatus",3,"ngModel","ngModelOptions","ngModelChange"],["id","share-published-url"],["id","fceditdilg-copypublfcurl","aria-label","Copy URL for Published flowchart.","matsTooltip","Copy URL for PUBLISHed flowchart.","mat-stroked-button","",3,"click"]],template:function(Y,O){if(1&Y){const gt=u.EpF();u.TgZ(0,"div",0)(1,"button",1),u.NdJ("click",function(){return O.close()}),u.TgZ(2,"mat-icon"),u._uU(3,"close"),u.qZA()(),u.TgZ(4,"div",2)(5,"p",3),u._uU(6," Flowchart Versions for: "),u.TgZ(7,"span",4),u._uU(8),u.qZA()()(),u.TgZ(9,"div",5),u.YNc(10,aw,2,1,"mat-error",6),u.YNc(11,sw,2,1,"div",7),u.TgZ(12,"div",8)(13,"p",9),u._uU(14," You can manage multiple versions of your flowchart here. Only one version can be Master version. Only Master version can be accessible by others. You can make any version as Master version anytime. Make sure all versions, even if slightly different, still address exactly the same goal/purpose. If you want to create a flowchart that addresses a slightly different goal, please create a new Goal and then create a new flowchart under that Goal. "),u.qZA(),u.TgZ(15,"div",10)(16,"table",11),u.ynx(17,12),u.YNc(18,cw,2,0,"th",13),u.YNc(19,lw,2,1,"td",14),u.BQk(),u.ynx(20,15),u.YNc(21,uw,2,0,"th",13),u.YNc(22,_w,5,4,"td",14),u.BQk(),u.ynx(23,16),u.YNc(24,pw,2,0,"th",17),u.YNc(25,yw,13,15,"td",14),u.BQk(),u.ynx(26,18),u._uU(27,"' "),u.YNc(28,xw,2,0,"th",17),u.YNc(29,ww,7,5,"td",14),u.BQk(),u.ynx(30,19),u.YNc(31,Tw,2,0,"th",13),u.YNc(32,Cw,2,1,"td",14),u.BQk(),u.ynx(33,20),u.YNc(34,kw,2,0,"th",13),u.YNc(35,Dw,2,1,"td",14),u.BQk(),u.ynx(36,21),u.YNc(37,Sw,2,0,"th",13),u.YNc(38,Aw,3,4,"td",14),u.BQk(),u.ynx(39,22),u.YNc(40,Ew,2,0,"th",13),u.YNc(41,Iw,3,4,"td",14),u.BQk(),u.YNc(42,Fw,1,0,"tr",23),u.YNc(43,Mw,1,0,"tr",24),u.qZA()(),u.TgZ(44,"mat-paginator",25),u.NdJ("click",function(se){return se.stopPropagation()}),u.qZA()(),u.TgZ(45,"div",26)(46,"h2",27),u._uU(47," Configure your flowchart properties below: "),u.qZA(),u.TgZ(48,"mat-accordion",28)(49,"mat-expansion-panel",null,29)(51,"mat-expansion-panel-header"),u._uU(52," Flowchart Metadata & Permissions "),u.qZA(),u.TgZ(53,"div"),u.YNc(54,Nw,2,1,"mat-error",6),u.YNc(55,Lw,2,1,"div",7),u.TgZ(56,"p"),u._uU(57," Use these properties to give your audience enough context around your flowchart. Some of these properties may help better discovery of your flowchart. "),u.qZA(),u.TgZ(58,"div",8)(59,"form",30)(60,"mat-form-field",31),u._UZ(61,"input",32),u.qZA(),u.YNc(62,Bw,4,3,"div",6),u.TgZ(63,"p")(64,"mat-form-field",33)(65,"textarea",34),u.NdJ("ngModelChange",function(se){return O.flowchartDescription=se}),u._uU(66," "),u.qZA()()(),u.TgZ(67,"p")(68,"mat-form-field",35)(69,"mat-chip-list",null,36),u.YNc(71,Pw,3,4,"mat-chip",37),u.TgZ(72,"input",38),u.NdJ("matChipInputTokenEnd",function(se){return O.addKeyword(se)}),u.qZA()()()(),u.TgZ(73,"p")(74,"mat-form-field",39),u._UZ(75,"input",40),u.qZA()(),u.TgZ(76,"p")(77,"mat-form-field",39),u._UZ(78,"input",41),u.qZA()(),u.TgZ(79,"p")(80,"mat-form-field",42)(81,"textarea",43),u.NdJ("ngModelChange",function(se){return O.notes=se}),u._uU(82," "),u.qZA()()(),u._UZ(83,"br"),u.TgZ(84,"div",44)(85,"h3",45),u._uU(86,"Upload Image for this Flowchart"),u.qZA(),u.TgZ(87,"p",46),u._uU(88," This image may help your viewers in discovering your flowchart and will always be displayed with the respective flowchart/box. Make sure you have the legal r
1ights to upload this image here. If you upload another image, it will replace the current image with new uploaded image for this flowchart. Select your image file and click save in the dialog. "),u.qZA(),u._UZ(89,"br")(90,"br"),u.YNc(91,Rw,3,2,"div",47),u.qZA(),u.TgZ(92,"div",48)(93,"label",49),u._uU(94,"Upload New Image"),u.qZA(),u._UZ(95,"br"),u.TgZ(96,"input",50,51),u.NdJ("change",function(se){return O.validateSelectedImage(se),O.fileChangeEvent(se)}),u.qZA(),u.YNc(98,Yw,24,30,"div",52),u.YNc(99,qw,2,0,"p",6),u.YNc(100,Vw,2,8,"mat-slider",53),u._UZ(101,"br")(102,"br"),u.TgZ(103,"image-cropper",54),u.NdJ("imageCropped",function(se){return O.imageCropped(se)})("imageLoaded",function(){return O.imageLoaded()})("cropperReady",function(se){return O.cropperReady(se)})("loadImageFailed",function(){return O.loadImageFailed()}),u.qZA(),u.YNc(104,Qw,4,3,"div",6),u.qZA(),u._UZ(105,"br"),u.TgZ(106,"h3",45),u._uU(107,"User Activity Persistance Duration"),u.qZA(),u.TgZ(108,"mat-form-field",55),u._UZ(109,"input",56),u.qZA(),u.YNc(110,Gw,3,2,"div",6),u._UZ(111,"br"),u.YNc(112,zw,2,0,"p",57),u.TgZ(113,"p"),u._uU(114," This is the number of days that DeciZone will persist the User Activity details. It is applicable only when both these conditions are satisfied: "),u.qZA(),u.TgZ(115,"ol")(116,"li"),u._uU(117," The current transaction started in this flowchart (i.e. the user did not navigate to this flowchart through a Bookmark Link from another flowchart). Any transaction in DeciZone will always satisfy the properties of ONLY the flowchart where it started. "),u.qZA(),u.TgZ(118,"li"),u._uU(119," Your organization Admin has turned ON the 'User Activity Recording' feature for your organization. "),u.qZA()(),u.TgZ(120,"p"),u._uU(121,"PLEASE NOTE:"),u.qZA(),u.TgZ(122,"ul")(123,"li"),u._uU(124," This User Activity Persistance Duration applies ONLY FOR this flowchart (applies equally to all its versions). "),u.qZA(),u.TgZ(125,"li"),u._uU(126," You can customize this value from a minimum of 0 days and upto a maximum of 120 days. This means you can turn OFF the User Activity recording only for this flowchart by setting this value to 0. "),u.qZA(),u.TgZ(127,"li"),u._uU(128," For ALL transactions, the Metadata section (basic analytics/reporting/billing related information, start/stop times, user information, flowchart information, etc.) is ALWAYS recorded even when the User Activity is not being persisted. "),u.qZA(),u.TgZ(129,"li"),u._uU(130," After this duration, the User Activity section of your transactions may be permenantly deleted from your Organization. "),u.qZA()(),u._UZ(131,"br"),u.TgZ(132,"h3",45),u._uU(133,"Flowchart Permissions"),u.qZA(),u.YNc(134,Kw,6,3,"p",58),u.YNc(135,Ww,6,3,"p",58),u.YNc(136,Xw,6,3,"p",58),u.YNc(137,t3,6,3,"p",58),u._UZ(138,"br"),u.qZA(),u.TgZ(139,"div",59)(140,"div",60)(141,"button",61),u.NdJ("click",function(){u.CHM(gt);const se=u.MAs(50);return u.KtG(O.closePanel(se))}),u._uU(142," Cancel "),u.qZA(),u.YNc(143,n3,3,2,"button",62),u.TgZ(144,"button",63),u.NdJ("click",function(){u.CHM(gt);const se=u.MAs(50);return u.KtG(O.updateFlowchartMetadataDetails(se))}),u.YNc(145,i3,1,0,"mat-spinner",64),u._uU(146,"SAVE "),u.qZA()()()()()(),u.YNc(147,l3,11,8,"mat-expansion-panel",6),u.TgZ(148,"mat-expansion-panel",65,66),u.NdJ("click",function(){return O.canPublishEmbedFlowchart("publishPanel")}),u.TgZ(150,"mat-expansion-panel-header"),u._uU(151," Publishing Your Flowchart "),u.qZA(),u.YNc(152,u3,2,0,"div",7),u.YNc(153,h3,2,1,"mat-error",6),u.TgZ(154,"div",26)(155,"strong",45),u._uU(156,"Published Status Toggle & URL"),u.qZA(),u._UZ(157,"br"),u.TgZ(158,"mat-slide-toggle",67),u.NdJ("ngModelChange",function(se){return O.isPublished=se})("change",function(se){return O.toggleFcPublishedFlag(se)}),u.qZA(),u._uU(159," \xa0 \xa0 "),u.YNc(160,d3,11,5,"span",68),u.YNc(161,_3,8,1,"span",68),u._UZ(162,"br"),u.YNc(163,p3,2,0,"p",69),u.YNc(164,g3,2,0,"p",69),u.YNc(165,m3,2,0,"p",69),u.YNc(166,y3,5,2,"button",70),u.YNc(167,x3,2,0,"span",71),u.YNc(168,b3,3,0,"span",71),u._UZ(169,"br"),u.YNc(170,w3,2,0,"p",6),u.YNc(171,T3,6,0,"p",6),u.YNc(172,C3,4,1,"button",72),u._UZ(173,"br")(174,"br")(175,"mat-divider")(176,"br"),u.TgZ(177,"strong",45),u._uU(178,"Allow Visitors To Receive Summary (Transcript) on their Email Address"),u.qZA(),u._UZ(179,"br"),u.YNc(180,k3,2,1,"mat-error",6),u.TgZ(181,"p")(182,"mat-slide-toggle",73),u.NdJ("ngModelChange",function(se){return O.allowPublishedFcViewerReceiveTranscript=se})("change",function(se){return O.togglePublishedFcViewerTranscriptFlag(se)}),u.qZA(),u._uU(183,"\xa0 \xa0When a Visitor visits this Published-URL and acknowledges the last box on any branch (by clicking on the response button) in this Flowchart, you can give the viewer an option to receive the 'Summary' (i.e. transcript or activity log) from their flowchart journey. The Visitor will be asked for their email address and once they give consent to receive email from DeciZone, an email with their transcript will be sent to the Visitor along with the author's email address in 'bcc' as well as the 'replyto' address set to author's email address. By default this feature is disabled. You will be able to get a list of all the Visitor email addresses that received their Summary from this flowchart. This feature only works with Published-URL for a Published flowchart. "),u._UZ(184,"br")(185,"br")(186,"mat-divider")(187,"br"),u.TgZ(188,"strong",45),u._uU(189,"Published Flowchart Layout"),u.qZA()(),u.TgZ(190,"p"),u._uU(191," When someone accesses this Flowchart using the Published-URL or the Restricted-Published-URL, DeciZone will always present your flowchart in the layout you select below: "),u.qZA(),u.TgZ(192,"mat-radio-group",74),u.NdJ("ngModelChange",function(se){return O.publishedFcLayout=se}),u.TgZ(193,"mat-radio-button",75),u._uU(194,"\xa0 "),u._UZ(195,"img",76),u._uU(196," \xa0 \xa0 "),u.TgZ(197,"span",77),u._uU(198,"3-Layer-View"),u.qZA()(),u.TgZ(199,"mat-radio-button",75),u._uU(200," \xa0 "),u._UZ(201,"img",78),u._uU(202," \xa0 \xa0 "),u.TgZ(203,"span",77),u._uU(204,"Card-View"),u.qZA()()(),u.TgZ(205,"div",59)(206,"div",60)(207,"button",79),u.NdJ("click",function(se){u.CHM(gt);const Fe=u.MAs(149);return se.stopPropagation(),u.KtG(O.closePanel(Fe))}
1),u._uU(208," Cancel "),u.qZA(),u.TgZ(209,"button",80),u.NdJ("click",function(se){return se.stopPropagation(),O.updatePublishedFlowchartLayout()}),u.YNc(210,D3,1,0,"mat-spinner",64),u._uU(211,"SAVE "),u.qZA()(),u.YNc(212,S3,3,1,"div",6),u.YNc(213,A3,2,1,"mat-error",6),u.qZA(),u._UZ(214,"br")(215,"mat-divider")(216,"br"),u.TgZ(217,"strong",45),u._uU(218,"Customize Published Flowchart"),u.qZA(),u._UZ(219,"br"),u.TgZ(220,"span",81),u._uU(221,"Your Published Flowchart will display with all the standard components. Below you can pick what you want to hide every time any one accesses your Published flowchart using the Published-URL (note this does not apply in any other view). "),u.TgZ(222,"strong")(223,"a",82),u.NdJ("click",function(){return O.openShowHideLayoutElementsModal()}),u._uU(224,"Explain me..."),u.qZA()()(),u._UZ(225,"br")(226,"br"),u.TgZ(227,"checkbox-group",83),u.NdJ("toggle",function(se){return O.onPublishViewPropertyChange(se)}),u.qZA(),u._UZ(228,"br"),u.TgZ(229,"div",59)(230,"div",60)(231,"button",61),u.NdJ("click",function(se){u.CHM(gt);const Fe=u.MAs(149);return se.stopPropagation(),u.KtG(O.closePanel(Fe))}),u._uU(232," Cancel "),u.qZA(),u.TgZ(233,"button",63),u.NdJ("click",function(se){return se.stopPropagation(),O.savePublishFcViewProperty()}),u._uU(234," SAVE "),u.qZA()(),u.YNc(235,E3,3,1,"div",6),u.YNc(236,I3,2,1,"mat-error",6),u.qZA(),u._UZ(237,"br")(238,"mat-divider")(239,"br"),u.TgZ(240,"strong",45),u._uU(241,"Redirect viewer After Published Flowchart"),u.qZA(),u.TgZ(242,"p"),u._uU(243," When a viewer visits your Published flowchart URL, you can use this feature to redirect (bring back) the viewer to your webpage URL after the viewer reaches the end of any branch of this Published flowchart. Enter your Redirect URL here (must begin with 'https://'): "),u.qZA(),u.TgZ(244,"form",30)(245,"mat-form-field",84)(246,"mat-label"),u._uU(247,"Redirect URL"),u.qZA(),u._UZ(248,"input",85),u.TgZ(249,"mat-hint",86)(250,"strong"),u._uU(251,"Enter Destination URL starting with 'https://'"),u.qZA()()(),u.YNc(252,M3,2,1,"div",6),u.qZA(),u._UZ(253,"br"),u.TgZ(254,"p",87),u._uU(255," NOTE: This redirection only applies when the viewer visits the Published flowchart URL and in case of multiple linked flowcharts, the redirection URL for the very first flowchart is used. "),u.qZA(),u.TgZ(256,"div",59)(257,"div",60)(258,"button",61),u.NdJ("click",function(se){u.CHM(gt);const Fe=u.MAs(149);return se.stopPropagation(),u.KtG(O.closePanel(Fe))}),u._uU(259," Cancel "),u.qZA(),u.TgZ(260,"button",63),u.NdJ("click",function(se){return se.stopPropagation(),O.addUpdateFlowchartProperties("publish")}),u.YNc(261,N3,1,0,"mat-spinner",64),u._uU(262,"SAVE "),u.qZA()(),u.YNc(263,L3,3,1,"div",6),u.YNc(264,U3,2,1,"mat-error",6),u.qZA()()(),u.TgZ(265,"mat-expansion-panel",65,88),u.NdJ("click",function(){return O.canPublishEmbedFlowchart("embedPanel")}),u.TgZ(267,"mat-expansion-panel-header"),u._uU(268," Embed Your Flowchart "),u.qZA(),u.YNc(269,Z3,2,1,"mat-error",6),u.TgZ(270,"div",26)(271,"strong",45),u._uU(272,"Embed Flowchart Toggle & URL"),u.qZA(),u._UZ(273,"br"),u.TgZ(274,"mat-slide-toggle",89),u.NdJ("ngModelChange",function(se){return O.canEmbed=se})("change",function(se){return O.toggleFcEmbedFlag(se)}),u.qZA(),u._uU(275," \xa0 \xa0 "),u.YNc(276,O3,9,5,"span",68),u.YNc(277,P3,8,1,"span",68),u._UZ(278,"br")(279,"br")(280,"mat-divider")(281,"br"),u.TgZ(282,"strong",45),u._uU(283,"Embedded Flowchart Layout"),u.qZA(),u.TgZ(284,"p"),u._uU(285," When someone accesses this Flowchart using the Embedded URL, DeciZone will always present your flowchart in the layout you select below: "),u.qZA(),u.TgZ(286,"mat-radio-group",90),u.NdJ("ngModelChange",function(se){return O.embeddedFcLayout=se}),u.TgZ(287,"mat-radio-button",75),u._uU(288,"\xa0 "),u._UZ(289,"img",76),u._uU(290," \xa0 \xa0 "),u.TgZ(291,"span",77),u._uU(292,"3-Layer-View"),u.qZA()(),u.TgZ(293,"mat-radio-button",75),u._uU(294," \xa0 "),u._UZ(295,"img",78),u._uU(296," \xa0 \xa0 "),u.TgZ(297,"span",77),u._uU(298,"Card-View"),u.qZA()()(),u.TgZ(299,"div",59)(300,"div",60)(301,"button",61),u.NdJ("click",function(se){u.CHM(gt);const Fe=u.MAs(266);return se.stopPropagation(),u.KtG(O.closePanel(Fe))}),u._uU(302," Cancel "),u.qZA(),u.TgZ(303,"button",63),u.NdJ("click",function(se){return se.stopPropagation(),O.updateEmbeddedFlowchartLayout()}),u.YNc(304,R3,1,0,"mat-spinner",64),u._uU(305,"SAVE "),u.qZA()(),u.YNc(306,J3,3,1,"div",6),u.YNc(307,H3,2,1,"mat-error",6),u.qZA(),u._UZ(308,"br")(309,"mat-divider")(310,"br"),u.TgZ(311,"strong",45),u._uU(312,"Customize Embedded Flowchart"),u.qZA(),u._UZ(313,"br"),u.TgZ(314,"span",81),u._uU(315,"Your Embedded Flowchart will display with all the standard components. Below you can pick what you want to hide every time any one accesses your embedded flowchart using the Embed-Flowchart-URL (note this does not apply in any other view). "),u.TgZ(316,"strong")(317,"a",91),u.NdJ("click",function(){return O.openShowHideLayoutElementsModal()}),u._uU(318,"Explain me..."),u.qZA()()(),u._UZ(319,"br")(320,"br"),u.TgZ(321,"checkbox-group",83),u.NdJ("toggle",function(se){return O.onEmbedViewPropertyChange(se)}),u.qZA(),u._UZ(322,"br"),u.TgZ(323,"div",59)(324,"div",60)(325,"button",61),u.NdJ("click",function(se){u.CHM(gt);const Fe=u.MAs(266);return se.stopPropagation(),u.KtG(O.closePanel(Fe))}),u._uU(326," Cancel "),u.qZA(),u.TgZ(327,"button",63),u.NdJ("click",function(se){return se.stopPropagation(),O.saveEmbedFcViewProperty()}),u._uU(328," SAVE "),u.qZA()(),u.YNc(329,Y3,3,1,"div",6),u.YNc(330,q3,2,1,"mat-error",6),u.qZA()()(),u.YNc(331,b6,24,11,"mat-expansion-panel",92),u.TgZ(332,"mat-expansion-panel",65,93),u.NdJ("click",function(){return O.getFcEndFlowSelectedOption()}),u.TgZ(334,"mat-expansion-panel-header"),u._uU(335," Redirecting Viewer After UnPublished Flowchart "),u.qZA(),u.TgZ(336,"div",8)(337,"form",94)(338,"p"),u._uU(339," When the viewer responds to the last box of your flowchart branch, the viewer will be taken to another webpage that is determined based on how the viewer came to this flowchart in the beginning. "),u.qZA(),u.TgZ(340,"strong",45),u._uU(341,"Logged-In Viewer"),u.qZA(),u.TgZ(342,"p"),u._uU(343," If your viewer started this flowchart as a logged-in DeciZone member then take the viewer to: "),u.qZA(),u.YNc(344,w6,3,4,"mat-radio-group",95),u._UZ(345,"br")(346,"br"),u.YNc(347,T6,2,0,"strong",96),u.YNc(348,C6,2,0,"p",6),u.YNc(349,k6,3,0,"mat-radio-group",97),u._UZ(350,"br"),u.qZA(),u.TgZ(351,"div",59)(352,"div",60),u.YNc(353,D6,3,1,"div",6),u.YNc(354,S6,2,1,"mat-error",6),u._UZ(355,"br"),u.TgZ(356,"button",61),u.NdJ("click",function(se){u.CHM(gt);const Fe=u.MAs(333);return se.stopPropagation(),u.KtG(O.closePanel(Fe))}),u._uU(357," Cancel "),u.qZA(),u.TgZ(358,"button",63),u.NdJ("click",function(){return O.addUpdateFlowchartProperties("endflow")}),u.YNc(359,A6,1,0,"mat-spinner",64),u._uU(360,"SAVE "),u.qZA()()()()(),u.YNc(361,N6,25,5,"mat-expansion-panel",98),u.TgZ(362,"mat-expansion-panel")(363,"mat-expansion-panel-header"),u._uU(364," Social Media Sharing "),u.qZA(),u.TgZ(365,"div",26)(366,"p",99),u._uU(367," Your flowcharts by default are private. Once you Publish your flowcharts you are able to easily share them on your social media networks. For best experience, make sure your flowchart's information (description, keywords, appropriate name for your flowchart, etc.) is provided with enough details and an appropriate image is also uploaded in the 'Flowchart Metadata' section above. "),u.qZA(),u.YNc(368,L6,2,0,"p",100),u.TgZ(369,"p",101)(370,"strong"),u._uU(371,"Goal:"),u.qZA(),u._uU(372),u.qZA(),u.TgZ(373,"p",101)(374,"strong"),u._uU(375,"Flowchart Name:"),u.qZA(),u._uU(376),u.qZA(),u.YNc(377,U6,9,1,"p",102),u._UZ(378,"br"),u.YNc(379,Z6,4,0,"p",102),u.YNc(380,O6,4,0,"p",102),u.TgZ(381,"div",103)(382,"div",104)(383,"a",105),u._UZ(384,"img",106),u.qZA(),u.TgZ(385,"a",107),u._UZ(386,"img",108),u.qZA(),u.TgZ(387,"a",109),u._UZ(388,"img",110),u.qZA(),u.TgZ(389,"a",111),u._UZ(390,"img",112),u.qZA()()(),u._UZ(391,"br"),u.qZA()()()()()()}if(2&Y){const gt=u.MAs(70);u.xp6(8),u.hij("",O.flowchartName," "),u.xp6(2),u.Q6J("ngIf",O.genericErr),u.xp6(1),u.Q6J("ngIf",O.isSuccess),u.xp6(5),u.Q6J("dataSource",O.fcVersionsDataSource),u.xp6(26),u.Q6J("matHeaderRowDef",O.fcVersionsTableDisplayColumns)("matHeaderRowDefSticky",!0),u.xp6(1),u.Q6J("matRowDefColumns",O.fcVersionsTableDisplayColumns),u.xp6(1),u.Q6J("pageIndex",0)("pageSize",100)("pageSizeOptions",u.DdM(155,B6)),u.xp6(10),u.Q6J("ngIf",O.fcPropertyUpdateError),u.xp6(1),u.Q6J("ngIf",O.fcPropertyUpdateSuccess),u.xp6(4),u.Q6J("formGroup",O.fcMetadataForm),u.xp6(3),u.Q6J("ngIf",O.fcMetadataForm.controls.flowchartName.errors&&(O.fcMetadataForm.controls.flowchartName.dirty||O.fcMetadataForm.controls.flowchartName.touched)),u.xp6(3),u.Q6J("ngModel",O.flowchartDescription)("ngModelOptions",u.DdM(156,wc)),u.xp6(6),u.Q6J("ngForOf",O.keywords),u.xp6(1),u.Q6J("matChipInputFor",gt)("matChipInputSeparatorKeyCodes",O.separatorKeysCodes)("matChipInputAddOnBlur",O.addOnBlur),u.xp6(9),u.Q6J("ngModel",O.notes)("ngModelOptions",u.DdM(157,wc)),u.xp6(10),u.Q6J("ngIf",O.flowchartImageUrl),u.xp6(7),u.Q6J("ngIf",O.showCropper),u.xp6(1),u.Q6J("ngIf",O.showCropper),u.xp6(1),u.Q6J("ngIf",O.showCropper),u.xp6(3),u.Udp("display",O.showCropper?null:"none"),u.Q6J("imageChangedEvent",O.imageChangedEvent)("maintainAspectRatio",!0)("containWithinAspectRatio",O.containWithinAspectRatio)("aspectRatio",1.5)("resizeToWidth",150)("cropperMinWidth",150)("onlyScaleDown",!0)("roundCropper",!1)("canvasRotation",O.canvasRotation)("transform",O.transform)("alignImage","left"),u.xp6(1),u.Q6J("ngIf",O.showCropper),u.xp6(
15),u.Q6J("readonly",!O.showUserActivityPersistDays)("value",O.userActivityPersistanceDays),u.xp6(1),u.Q6J("ngIf",O.fcMetadataForm.controls.userActivityPersistanceDays.errors&&(O.fcMetadataForm.controls.userActivityPersistanceDays.dirty||O.fcMetadataForm.controls.userActivityPersistanceDays.touched)),u.xp6(2),u.Q6J("ngIf",!O.showUserActivityPersistDays),u.xp6(22),u.Q6J("ngIf",1!==O.orgId),u.xp6(1),u.Q6J("ngIf",1===O.orgId),u.xp6(1),u.Q6J("ngIf",1!==O.orgId),u.xp6(1),u.Q6J("ngIf",1!==O.orgId),u.xp6(6),u.Q6J("ngIf",O.flowchartImageUrl),u.xp6(1),u.Q6J("disabled",O.fcMetadataForm.controls.flowchartName.errors||O.fcmetadataLoading||O.fcMetadataForm.controls.userActivityPersistanceDays.errors),u.xp6(1),u.Q6J("ngIf",O.fcmetadataLoading),u.xp6(2),u.Q6J("ngIf",1===O.orgId&&!O.isFeatured),u.xp6(5),u.Q6J("ngIf",O.publishedFcSuccess),u.xp6(1),u.Q6J("ngIf",O.publishEmbedToggleErr),u.xp6(5),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipDisabled",O.canPublishOwn)("disabled",!O.canPublishOwn)("ngModel",O.isPublished)("checked",O.isPublished)("color",O.color),u.xp6(2),u.Q6J("ngIf",O.isPublished),u.xp6(1),u.Q6J("ngIf",!O.isPublished),u.xp6(2),u.Q6J("ngIf",!O.isPublished&&!O.canPublishOwn&&O.hasMaster),u.xp6(1),u.Q6J("ngIf",!O.isPublished&&!O.canPublishOwn&&!O.hasMaster),u.xp6(1),u.Q6J("ngIf",O.isPublished&&!O.canPublishOwn),u.xp6(1),u.Q6J("ngIf",!O.isPublished&&!O.canPublishOwn),u.xp6(1),u.Q6J("ngIf",!O.canPublishOwn&&O.fcEntityActionForPublish&&"REQUESTED"===O.fcEntityActionForPublish.status),u.xp6(1),u.Q6J("ngIf",!O.canPublishOwn&&O.fcEntityActionForPublish&&"FEEDBACK_GIVEN"===O.fcEntityActionForPublish.status),u.xp6(2),u.Q6J("ngIf",O.isPublished&&O.allowRestrictedPublishFc),u.xp6(1),u.Q6J("ngIf",O.isPublished&&O.allowRestrictedPublishFc),u.xp6(1),u.Q6J("ngIf",O.isPublished&&O.allowRestrictedPublishFc),u.xp6(8),u.Q6J("ngIf",O.publishFcTranscriptToggleErr),u.xp6(2),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipDisabled",O.canPublishOwn)("disabled",!O.canPublishOwn)("ngModel",O.allowPublishedFcViewerReceiveTranscript)("checked",O.allowPublishedFcViewerReceiveTranscript)("color",O.color),u.xp6(10),u.Q6J("ngModel",O.publishedFcLayout),u.xp6(1),u.s9C("value",O.threelayerFcPref),u.xp6(6),u.s9C("value",O.cardlayoutPref),u.xp6(10),u.Q6J("disabled",O.loading||!O.canPublishOwn||!O.isPublished||1===O.orgId),u.xp6(1),u.Q6J("ngIf",O.loading),u.xp6(2),u.Q6J("ngIf",O.publishedFcLayoutSuccess),u.xp6(1),u.Q6J("ngIf",O.publishedFcLayoutErr),u.xp6(14),u.Q6J("options",O.publishFcViewCheckboxItems)("selectedValues",O.existingPublishFcViewProperties),u.xp6(6),u.Q6J("disabled",O.fcViewPropertyUpdateLoading||!O.canPublishOwn||!O.isPublished||1===O.orgId),u.xp6(2),u.Q6J("ngIf",O.publishFcViewPropertyUpdateSuccess),u.xp6(1),u.Q6J("ngIf",O.publishFcViewPropertyUpdateErr),u.xp6(8),u.Q6J("formGroup",O.publishRedirectForm),u.xp6(4),u.Q6J("value",O.redirectUrl),u.xp6(4),u.Q6J("ngIf",O.publishRedirectForm.controls.redirectUrl.errors&&(O.publishRedirectForm.controls.redirectUrl.dirty||O.publishRedirectForm.controls.redirectUrl.touched)),u.xp6(8),u.Q6J("disabled",!O.canPublishOwn||!O.isPublished||O.loading||1===O.orgId),u.xp6(1),u.Q6J("ngIf",O.loading),u.xp6(2),u.Q6J("ngIf",O.publishRedirectUrlSuccessMsg),u.xp6(1),u.Q6J("ngIf",O.publicPublishErr),u.xp6(5),u.Q6J("ngIf",O.publishEmbedToggleErr),u.xp6(5),u.Q6J("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipShowDelay",700)("matTooltipHideDelay",300)("matTooltipDisabled",O.canPublishOwn)("disabled",!O.canPublishOwn)("ngModel",O.canEmbed)("checked",O.canEmbed)("color",O.color),u.xp6(2),u.Q6J("ngIf",O.canEmbed),u.xp6(1),u.Q6J("ngIf",!O.canEmbed),u.xp6(9),u.Q6J("ngModel",O.embeddedFcLayout),u.xp6(1),u.s9C("value",O.threelayerFcPref),u.xp6(6),u.s9C("value",O.cardlayoutPref),u.xp6(10),u.Q6J("disabled",O.loading||!O.canPublishOwn||!O.canEmbed||1===O.orgId),u.xp6(1),u.Q6J("ngIf",O.loading),u.xp6(2),u.Q6J("ngIf",O.publishedFcLayoutSuccess),u.xp6(1),u.Q6J("ngIf",O.publishedFcLayoutErr),u.xp6(14),u.Q6J("options",O.embedFcViewCheckboxItems)("selectedValues",O.existingEmbedFcViewProperties),u.xp6(6),u.Q6J("disabled",O.fcViewPropertyUpdateLoading||!O.canPublishOwn||!O.canEmbed||1===O.orgId),u.xp6(2),u.Q6J("ngIf",O.publishFcViewPropertyUpdateSuccess),u.xp6(1),u.Q6J("ngIf",O.publishFcViewPropertyUpdateErr),u.xp6(1),u.Q6J("ngIf",1!==O.orgId),u.xp6(13),u.Q6J("ngForOf",O.fcEndFlowOptions),u.xp6(3),u.Q6J("ngIf",1!==O.orgId),u.xp6(1),u.Q6J("ngIf",1!==O.orgId),u.xp6(1),u.Q6J("ngIf",1!==O.orgId),u.xp6(4),u.Q6J("ngIf",O.fcRedirectSuccessMsg),u.xp6(1),u.Q6J("ngIf",O.fcRedirectErrorMsg),u.xp6(4),u.Q6J("disabled",O.fcredirectLoading),u.xp6(1),u.Q6J("ngIf",O.fcredirectLoading),u.xp6(2),u.Q6J("ngIf",1!==O.orgId),u.xp6(7),u.Q6J("ngIf",!O.isPublished),u.xp6(4),u.hij(" ",O.goalName," "),u.xp6(4),u.hij(" ",O.flowchartName," "),u.xp6(1),u.Q6J("ngIf",O.isPublished),u.xp6(2),u.Q6J("ngIf",O.isPublished),u.xp6(1),u.Q6J("ngIf",!O.isPublished),u.xp6(3),u.MGl("href","https://www.facebook.com/sharer/sharer.php?u=",O.encodedUrl,"",u.LSH),u.Q6J("ngClass",O.disableSocialShareLink()),u.xp6(2),u.MGl("href","https://twitter.com/intent/tweet?text=",O.encodedUrl,"",u.LSH),u.Q6J("ngClass",O.disableSocialShareLink()),u.xp6(2),u.MGl("href","https://www.linkedin.com/shareArticle?mini=true&url=",O.encodedUrl,"",u.LSH),u.Q6J("ngClass",O.disableSocialShareLink()),u.xp6(2),u.XOb("href","mailto:?subject=",O.goalName," - ",O.flowchartName," !&body=Hi%2C%0A%0AI%20think%20you%20should%20take%20a%20look%20at%20this%20DeciZone%20navigable%20flowchart%3A%20%0A%0A",O.goalName,"%20-%20",O.flowchartName,"%0ALink%3A%20(",O.publishedUrl,")%0A%0ADeciZone%20is%20a%20platform%20for%20streamlining%20decision%20making.%20Enable%20Confident%20Decisions%20in%20less%20than%2030%20seconds.%20%20%0A%0AYou%20are%20welcome%21",u.LSH),u.Q6J("ngClass",O.disableSocialShareLink())}},dependencies:[jr.mk,jr.sg,jr.O5,_p.oO,Mi._Y,Mi.Fj,Mi.wV,Mi.JJ,Mi.JL,Mi.Q7,Mi.nD,Mi.qQ,Mi.Fd,Mi.On,Mi.F,Mi.sg,Mi.u,Zf.TO,Zf.KE,Zf.bx,Zf.hX,Gb.Nt,zb.ey,ba.lW,ba.zs,Kb.oG,Of.qn,Of.HS,Of.oH,Of.qH,tr.uh,tr.H8,pp.pp,pp.ib,pp.yz,t.Hw,Wb.d,Bm.NW,Xb.Ou,Zo.VQ,Zo.U0,tw.gD,ew.pH,nw.Rr,hp.YE,hp.nU,po.BZ,po.fO,po.as,po.w1,po.Dz,po.nj,po.ge,po.ev,po.XQ,po.Gk,iw.gM,rw.A,Pm.ap,jr.uU],styles:["#published-url[_ng
1content-%COMP%]{color:navy}.form-full-width[_ngcontent-%COMP%]{width:100%}.edit-fc-modal[_ngcontent-%COMP%]{height:calc(100% - 70px)}.file-upload-section[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:block;margin:10px}.shaded-div[_ngcontent-%COMP%]{background-color:#f5f5f5;padding:15px}#uploadedImage[_ngcontent-%COMP%]{background-position:center center;background-repeat:no-repeat;width:200px;right:0;margin:auto;height:200px;background-size:contain}.image-upload-title[_ngcontent-%COMP%]{color:#696969}.action-success[_ngcontent-%COMP%]{color:green}.edit-master-dialog[_ngcontent-%COMP%]{font-size:smaller;margin:5px}.edit-master-choice-smalltext[_ngcontent-%COMP%]{font-size:smaller;margin:5px 5px 5px 20px}a.social-share-diabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.explainme[_ngcontent-%COMP%]{text-decoration-line:underline}.width90pct-centerized-text[_ngcontent-%COMP%]{width:90%;margin:10px auto}.fc-version-table-paginator[_ngcontent-%COMP%]{width:98%;margin:0 auto}.fc-version-table[_ngcontent-%COMP%]{text-align:center;width:98%;max-height:200px;margin:0 auto}.fc-version-table[_ngcontent-%COMP%] .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.fc-version-table[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.fc-version-table[_ngcontent-%COMP%] .mat-column-Name[_ngcontent-%COMP%]{width:150px;font-size:12px;text-align:right}.fc-version-table[_ngcontent-%COMP%] .mat-column-Master[_ngcontent-%COMP%]{width:100px;text-align:center;background-color:#fffbeb}.fc-version-table[_ngcontent-%COMP%] .mat-column-Actions[_ngcontent-%COMP%]{width:150px;text-align:center}.fc-version-table[_ngcontent-%COMP%] .mat-column-EndStatus[_ngcontent-%COMP%]{width:100px;text-align:center;background-color:#fffbeb}.fc-version-table[_ngcontent-%COMP%] .mat-column-Author[_ngcontent-%COMP%]{width:100px;text-align:center}.fc-version-table[_ngcontent-%COMP%] .mat-column-ParentVersion[_ngcontent-%COMP%]{width:150px;font-size:12px;text-align:center;background-color:#fffbeb}.fc-version-table[_ngcontent-%COMP%] .mat-column-CreatedTime[_ngcontent-%COMP%]{width:150px;text-align:center}.fc-version-table[_ngcontent-%COMP%] .mat-column-LastUpdated[_ngcontent-%COMP%]{width:150px;text-align:center;background-color:#fffbeb}.spinner-container[_ngcontent-%COMP%]{position:relative;height:0;width:100%}.end-status-spinner[_ngcontent-%COMP%]{position:absolute;top:-33px;left:35px}.uploadoption[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-around;align-items:flex-start;flex-grow:1;margin:20px 0}.image-cropper-container[_ngcontent-%COMP%]{width:200px!important;overflow:hidden!important}.custom-cropped-image[_ngcontent-%COMP%]{height:130px}.buttons-container[_ngcontent-%COMP%], .cropper-tools-container[_ngcontent-%COMP%]{display:flex!important;flex-direction:row!important;justify-content:space-around!important;align-items:center!important;padding:6px!important;margin:20px 0!important}.croppertool-button[_ngcontent-%COMP%]{background:transparent;margin:3px}.cropper-rotation-slider[_ngcontent-%COMP%]{margin:8px;width:200px}.entity-action-status[_ngcontent-%COMP%]{color:green}.fc-notes-textinput[_ngcontent-%COMP%]{height:100px;background-color:#ffd74040}#useracty-persistance[_ngcontent-%COMP%], #fceditdilg-fcname[_ngcontent-%COMP%]{max-width:250px}.user-activity-persist-disable-msg[_ngcontent-%COMP%]{color:brown;font-style:italic}.note-italic[_ngcontent-%COMP%]{font-style:italic}.manage-box-custom-var[_ngcontent-%COMP%]{text-align:center}.manage-box-custom-var[_ngcontent-%COMP%] .dztable-table[_ngcontent-%COMP%]{table-layout:fixed}.manage-box-custom-var[_ngcontent-%COMP%] .mat-header-cell[_ngcontent-%COMP%]{padding-left:20px}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-Actions[_ngcontent-%COMP%]{width:70px;text-align:start}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-boxCaption[_ngcontent-%COMP%]{width:200px;text-align:start;background-color:#fffbeb}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-boxType[_ngcontent-%COMP%]{width:70px}
1.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-parentBox[_ngcontent-%COMP%]{width:100px;text-align:start;background-color:#fffbeb}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-enableForAPI[_ngcontent-%COMP%]{width:100px}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-userInputCustomOptionCustomVarName[_ngcontent-%COMP%]{width:100px;background-color:#fffbeb}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-boxVarCustomName[_ngcontent-%COMP%]{width:200px}.manage-box-custom-var[_ngcontent-%COMP%] .mat-column-[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{width:200px;background-color:#fffbeb}"]}),et})()}}]);
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.