1"use strict";(self.webpackChunkrainweb=self.webpackChunkrainweb||[]).push([["10951"],{4144:function(t){function e(t,e){Object.freeze(e=e?Array.isArray(e)?e:[e]:[]);var n=t.renderer.rules.link_open||this.defaultRender;t.renderer.rules.link_open=function(t,r,i,a,o){var s=function(t,e){var n,r,i=t.attrs[t.attrIndex("href")][1];for(n=0;n<e.length;++n){if("function"!=typeof(r=e[n]).matcher||r.matcher(i,r))return r}}(t[r],e),c=s&&s.attrs;return c&&Object.keys(c).forEach(function(e){var n,i=c[e];"className"===e&&(e="class"),(n=t[r].attrIndex(e))<0?t[r].attrPush([e,i]):t[r].attrs[n][1]=i}),n(t,r,i,a,o)}}e.defaultRender=function(t,e,n,r,i){return i.renderToken(t,e,n)},t.exports=e},61091:function(t,e,n){function r(t){var e=RegExp("\\\\\\[\\s*(.*?)\\s*\\\\\\]","gs"),n=RegExp("\\s*\\$\\$\\s*(.*?)\\s*\\$\\$\\s*","gs");return t&&(t=(t=(t=(t=(t=(t=t.replace(/\\begin\{(equation|align|alignat|gather|CD)\}([\s\S]*?)\\end\{\1\}/g,"$$$$$2$$$$")).replace(e,"$$$$$1$$$$")).replace(/\\\(\s*(.*?)\s*\\\)/g,"$$$1$$")).replace(/\$\s*(.*?)\s*\$/g,"$$$1$$")).replace(n,"\n\n$$$$$1$$$$\n\n")).replace(/\\mspace\{([^}]+)\}/g,function(t,e){var n=String(e||"").trim();return/mu$/i.test(n)?"\\mkern".concat(n):"\\hspace{".concat(n,"}")})),t}n.d(e,{M:function(){return r}}),n(92287),n(87481),n(42682),n(13794),n(44959),n(63649)},85857:function(t,e,n){n.d(e,{BU:function(){return T},az:function(){return S}}),n(87481),n(72646),n(35621),n(93292),n(47482),n(27281),n(63649),n(44959),n(32927),n(35130);var r=n(5789),i=n.n(r),a=n(41990),o=n(52271),s=n(3055),c=n(4144),l=n.n(c);n(13794),n(42463),n(80671),n(42682),n(83765);var u={1362:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,6],n=[1,7],r=[1,8],i=[1,9],a=[1,12],o=[1,11],s=[1,15,24],c=[1,19],l=[1,31],u=[1,34],h=[1,32],f=[1,33],d=[1,35],p=[1,36],g=[1,37],y=[1,38],m=[1,41],v=[1,42],b=[1,43],x=[1,44],_=[15,24],k=[1,56],w=[1,57],T=[1,58],E=[1,59],C=[1,60],S=[1,61],A=[15,24,31,38,39,47,50,51,52,53,54,55,60,62],M=[15,24,29,31,38,39,43,47,50,51,52,53,54,55,60,62,77,78,79,80],N=[7,8,9,10,15,18,22,24],D=[47,77,78,79,80],B=[47,54,55,77,78,79,80],O=[47,50,51,52,53,77,78,79,80],L=[15,24,31],I=[1,93],F={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],[3
10,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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.setDirection("TB");break;case 5:r.setDirection("BT");break;case 6:r.setDirection("RL");break;case 7:r.setDirection("LR");break;case 11:r.parseDirective("%%{","open_directive");break;case 12:r.parseDirective(a[s],"type_directive");break;case 13:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 14:r.parseDirective("}%%","close_directive","class");break;case 19:case 20:this.$=a[s];break;case 21:this.$=a[s-1]+a[s];break;case 22:case 23:this.$=a[s-1]+"~"+a[s];break;case 24:r.addRelation(a[s]);break;case 25:a[s-1].title=r.cleanupLabel(a[s]),r.addRelation(a[s-1]);break;case 33:r.addClass(a[s]);break;case 34:r.addClass(a[s-2]),r.setCssClass(a[s-2],a[s]);break;case 35:r.addClass(a[s-3]),r.addMembers(a[s-3],a[s-1]);break;case 36:r.addClass(a[s-5]),r.setCssClass(a[s-5],a[s-3]),r.addMembers(a[s-5],a[s-1]);break;case 37:r.addAnnotation(a[s],a[s-2]);break;case 38:this.$=[a[s]];break;case 39:a[s].push(a[s-1]),this.$=a[s];break;case 40:case 42:case 43:break;case 41:r.addMember(a[s-1],r.cleanupLabel(a[s]));break;case 44:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 45:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:"none"};break;case 46:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:"none",relationTitle2:a[s-1]};break;case 47:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 48:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 49:this.$={type1:"none",type2:a[s],lineType:a[s-1]};break;case 50:this.$={type1:a[s-1],type2:"none",lineType:a[s]};break;case 51:this.$={type1:"none",type2:"none",lineType:a[s]};break;case 52:this.$=r.relationType.AGGREGATION;break;case 53:this.$=r.relationType.EXTENSION;break;case 54:this.$=r.relationType.COMPOSITION;break;case 55:this.$=r.relationType.DEPENDENCY;break;case 56:this.$=r.lineType.LINE;break;case 57:this.$=r.lineType.DOTTED_LINE;break;case 58:case 64:this.$=a[s-2],r.setClickEvent(a[s-1],a[s]);break;case 59:case 65:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 60:case 68:this.$=a[s-2],r.setLink(a[s-1],a[s]);break;case 61:case 69:this.$=a[s-3],r.setLink(a[s-2],a[s-1],a[s]);break;case 62:case 70:this.$=a[s-3],r.setLink(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 63:case 71:this.$=a[s-4],r.setLink(a[s-3],a[s-2],a[s]),r.setTooltip(a[s-3],a[s-1]);break;case 66:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 67:this.$=a[s-4],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setTooltip(a[s-3],a[s]);break;case 72:r.setCssClass(a[s-1],a[s])}},table:[{3:1,4:2,5:3,6:4,7:e,8:n,9:r,10:i,11:5,12:10,18:a,22:o},{1:[3]},{1:[2,1]},{1:[2,2]},{3:13,4:2,5:3,6:4,7:e,8:n,9:r,10:i,11:5,12:10,18:a,22:o},{1:[2,8]},t(s,[2,4]),t(s,[2,5]),t(s,[2,6]),t(s,[2,7]),{13:14,19:[1,15]},{15:[1,16]},{19:[2,11]},{1:[2,3]},{14:17,16:[1,18],21:c},t([16,21],[2,12]),{5:29,6:28,7:e,8:n,9:r,10:i,12:10,18:a,23:20,25:21,26:30,27:39,28:40,30:22,32:23,33:24,34:25,35:26,36:27,37:l,42:u,44:h,45:f,56:d,57:p,59:g,63:y,77:m,78:v,79:b,80:x},{15:[1,45]},{17:46,20:[1,47]},{15:[2,14]},{24:[1,48]},{15:[1,49],24:[2,16]},t(_,[2,24],{31:[1,50]}),t(_,[2,26]),t(_,[2,27]),t(_,[2,28]),t(_,[2,29]),t(_,[2,30]),t(_,[2,31]),t(_,[2,32]),t(_,[2,40],{46:51,48:54,49:55,31:[1,53],47:[1,52],50:k,51:w,52:T,53:E,54:C,55:S}),{26:62,27:39,28:40,77:m,78:v,79:b,80:x},t(_,[2,42]),t(_,[2,43]),{27:63,77:m,78:v,79:b},{26:64,27:39,28:40,77:m,78:v,79:b,80:x},{26:65,27:39,28:40,77:m,78:v,79:b,80:x},{26:66,27:39,28:40,77:m,78:v,79:b,80:x},{47:[1,67]},t(A,[2,19],{27:39,28:40,26:68,29:[1,69],77:m,78:v,79:b,80:x}),t(A,[2,20],{29:[1,70]}),t(M,[2,86]),t(M,[2,87]),t(M,[2,88]),t([15,24,29,31,38,39,47,50,51,52,53,54,55,60,62],[2,89]),t(N,[2,9]),{14:71,21:c},{21:[2,13]},{1:[2,15]},{5:29,6:28,7:e,8:n,9:r,10:i,12:10,18:a,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:l,42:u,44:h,45:f,56:d,57:p,59:g,63:y,77:m,78:v,79:b,80:x},t(_,[2,25]),{26:73,27:39,28:40,47:[1,74],77:m,78:v,79:b,80:x},{46:75,48:54,49:55,50:k,51:w,52:T,53:E,54:C,55:S},t(_,[2,41]),{49:76,54:C,55:S},t(D,[2,51],{48:77,50:k,51:w,52:T,53:E}),t(B,[2,52]),t(B,[2,53]),t(B,[2,54]),t(B,[2,55]),t(O,[2,56]),t(O,[2,57]),t(_,[2,33],{38:[1,78],39:[1,79]}),{43:[1,80]},{47:[1,81]},{47:[1,82]}
1,{60:[1,83],62:[1,84]},{27:85,77:m,78:v,79:b},t(A,[2,21]),t(A,[2,22]),t(A,[2,23]),{15:[1,86]},{24:[2,18]},t(L,[2,44]),{26:87,27:39,28:40,77:m,78:v,79:b,80:x},{26:88,27:39,28:40,47:[1,89],77:m,78:v,79:b,80:x},t(D,[2,50],{48:90,50:k,51:w,52:T,53:E}),t(D,[2,49]),{27:91,77:m,78:v,79:b},{40:92,44:I},{26:94,27:39,28:40,77:m,78:v,79:b,80:x},t(_,[2,58],{47:[1,95]}),t(_,[2,60],{47:[1,97],58:[1,96]}),t(_,[2,64],{47:[1,98],61:[1,99]}),t(_,[2,68],{47:[1,101],58:[1,100]}),t(_,[2,72]),t(N,[2,10]),t(L,[2,46]),t(L,[2,45]),{26:102,27:39,28:40,77:m,78:v,79:b,80:x},t(D,[2,48]),t(_,[2,34],{39:[1,103]}),{41:[1,104]},{40:105,41:[2,38],44:I},t(_,[2,37]),t(_,[2,59]),t(_,[2,61]),t(_,[2,62],{58:[1,106]}),t(_,[2,65]),t(_,[2,66],{47:[1,107]}),t(_,[2,69]),t(_,[2,70],{58:[1,108]}),t(L,[2,47]),{40:109,44:I},t(_,[2,35]),{41:[2,39]},t(_,[2,63]),t(_,[2,67]),t(_,[2,71]),{41:[1,110]},t(_,[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(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=0,h=a.slice.call(arguments,1),f=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);f.setInput(t,d),d.lexer=f,d.parser=this,void 0===f.yylloc&&(f.yylloc={});var g=f.yylloc;a.push(g);var y=f.options&&f.options.ranges;"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,b,x,_,k,w,T,E,C={};;){if(b=n[n.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==m&&(m=function(){var t;return"number"!=typeof(t=r.pop()||f.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),x=o[b]&&o[b][m]),void 0===x||!x.length||!x[0]){var S="";for(k in E=[],o[b])this.terminals_[k]&&k>2&&E.push("'"+this.terminals_[k]+"'");S=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(S,{text:f.match,token:this.terminals_[m]||m,line:f.yylineno,loc:g,expected:E})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(x[0]){case 1:n.push(m),i.push(f.yytext),a.push(f.yylloc),n.push(x[1]),m=null,v?(m=v,v=null):(l=f.yyleng,s=f.yytext,c=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[x[1]][1],C.$=i[i.length-w],C._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},y&&(C._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(C,[s,l,c,d,x[1],i,a].concat(h))))return _;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),a=a.slice(0,-1*w)),n.push(this.productions_[x[1]][0]),i.push(C.$),a.push(C._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}};function P(){this.yy={}}return F.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var a in i)this[a]=i[a];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,r,i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;
1case 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]|[\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\u
10EB3\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}}},P.prototype=F,F.Parser=P,new P}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(8218).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},5890:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,5],r=[6,9,11,23,41],i=[1,17],a=[1,20],o=[1,25],s=[1,26],c=[1,27],l=[1,28],u=[1,37],h=[23,38,39],f=[4,6,9,11,23,41],d=[34,35,36,37],p=[22,29],g=[1,55],y={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;
1case 5:case 6:case 16:case 23:case 24:case 25:case 35:this.$=a[s];break;case 12:r.addEntity(a[s-4]),r.addEntity(a[s-2]),r.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 13:r.addEntity(a[s-3]),r.addAttributes(a[s-3],a[s-1]);break;case 14:r.addEntity(a[s-2]);break;case 15:r.addEntity(a[s]);break;case 17:this.$=[a[s]];break;case 18:a[s].push(a[s-1]),this.$=a[s];break;case 19:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 20:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyType:a[s]};break;case 21:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 22:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyType:a[s-1],attributeComment:a[s]};break;case 26:case 34:this.$=a[s].replace(/"/g,"");break;case 27:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 28:this.$=r.Cardinality.ZERO_OR_ONE;break;case 29:this.$=r.Cardinality.ZERO_OR_MORE;break;case 30:this.$=r.Cardinality.ONE_OR_MORE;break;case 31:this.$=r.Cardinality.ONLY_ONE;break;case 32:this.$=r.Identification.NON_IDENTIFYING;break;case 33:this.$=r.Identification.IDENTIFYING;break;case 36:r.parseDirective("%%{","open_directive");break;case 37:r.parseDirective(a[s],"type_directive");break;case 38:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 39:r.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:e,7:3,12:4,41:n},{1:[3]},t(r,[2,3],{5:6}),{3:7,4:e,7:3,12:4,41:n},{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:i,41:n},{1:[2,2]},{14:18,15:[1,19],44:a},t([15,44],[2,37]),t(r,[2,8],{1:[2,1]}),t(r,[2,4]),{7:15,10:21,12:4,17:16,23:i,41:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,11]),t(r,[2,15],{18:22,32:24,20:[1,23],34:o,35:s,36:c,37:l}),t([6,9,11,15,20,23,34,35,36,37,41],[2,16]),{11:[1,29]},{16:30,43:[1,31]},{11:[2,39]},t(r,[2,5]),{17:32,23:i},{21:33,22:[1,34],24:35,25:36,29:u},{33:38,38:[1,39],39:[1,40]},t(h,[2,28]),t(h,[2,29]),t(h,[2,30]),t(h,[2,31]),t(f,[2,9]),{14:41,44:a},{44:[2,38]},{15:[1,42]},{22:[1,43]},t(r,[2,14]),{21:44,22:[2,17],24:35,25:36,29:u},{26:45,29:[1,46]},{29:[2,23]},{32:47,34:o,35:s,36:c,37:l},t(d,[2,32]),t(d,[2,33]),{11:[1,48]},{19:49,23:[1,51],40:[1,50]},t(r,[2,13]),{22:[2,18]},t(p,[2,19],{27:52,28:53,30:[1,54],31:g}),t([22,29,30,31],[2,24]),{23:[2,27]},t(f,[2,10]),t(r,[2,12]),t(r,[2,34]),t(r,[2,35]),t(p,[2,20],{28:56,31:g}),t(p,[2,21]),t([22,29,31],[2,25]),t(p,[2,26]),t(p,[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(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=0,h=a.slice.call(arguments,1),f=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);f.setInput(t,d),d.lexer=f,d.parser=this,void 0===f.yylloc&&(f.yylloc={});var g=f.yylloc;a.push(g);var y=f.options&&f.options.ranges;"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,b,x,_,k,w,T,E,C={};;){if(b=n[n.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==m&&(m=function(){var t;return"number"!=typeof(t=r.pop()||f.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),x=o[b]&&o[b][m]),void 0===x||!x.length||!x[0]){var S="";for(k in E=[],o[b])this.terminals_[k]&&k>2&&E.push("'"+this.terminals_[k]+"'");S=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(S,{text:f.match,token:this.terminals_[m]||m,line:f.yylineno,loc:g,expected:E})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(x[0]){case 1:n.push(m),i.push(f.yytext),a.push(f.yylloc),n.push(x[1]),m=null,v?(m=v,v=null):(l=f.yyleng,s=f.yytext,c=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[x[1]][1],C.$=i[i.length-w],C._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},y&&(C._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(C,[s,l,c,d,x[1],i,a].concat(h))))return _;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),a=a.slice(0,-1*w)),n.push(this.productions_[x[1]][0]),i.push(C.$),a.push(C._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}};function m(){this.yy={}}return y.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}
vendor: 4,681 bytes, line 1
1,input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var a in i)this[a]=i[a];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,r,i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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 e.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}}},m.prototype=y,y.Parser=m,new m}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(8009).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},3602:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,9],n=[1,7],r=[1,6],i=[1,8],a=[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],o=[2,10],s=[1,20],c=[1,21],l=[1,22],u=[1,23],h=[1,30],f=[1,59],d=[1,45],p=[1,49],g=[1,33],y=[1,34],m=[1,35],v=[1,36],b=[1,37],x=[1,53],_=[1,60],k=[1,48],w=[1,50],T=[1,52],E=[1,56],C=[1,57],S=[1,38],A=[1,39],M=[1,40],N=[1,41],D=[1,58],B=[1,47],O=[1,51],L=[1,54],I=[1,55],F=[1,46],P=[1,63],R=[1,68],j=[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],Y=[1,72],U=[1,71],z=[1,73],$=[20,21,23,74,75],q=[1,94],H=[1,99],W=[1,102],V=[1,103],G=[1,96],X=[1,101],Z=[1,104],Q=[1,97],K=[1,109],J=[1,108],tt=[1,98],te=[1,100],tn=[1,105],tr=[1,106],ti=[1,107],ta=[1,110],to=[20,21,22,23,74,75],ts=[20,21,22,23,48,74,75],tc=[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],tl=[20,21,23],tu=[20,21,23,47,59,60,74,75,84,88,98,99,102,104,105,115,116,117,118,119,120],th=[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],tf=[47,59,60,84,88,98,99,102,104,105,115,116,117,118,119,120],td=[1,143],tp=[1,151],tg=[1,152],ty=[1,153],tm=[1,154],tv=[1,138],tb=[1,139],tx=[1,135],t_=[1,146],tk=[1,147],tw=[1,148],tT=[1,149],tE=[1,150],tC=[1,155],tS=[1,156],tA=[1,141],tM=[1,144],tN=[1,140],tD=[1,137],tB=[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],tO=[1,159],tL=[20,21,22,23,26,47,59,60,84,98,99,102,104,105,115,116,117,118,119,120],tI=[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],tF=[12,21,22,24],tP=[22,99],tR=[1,242],tj=[1,237],tY=[1,238],tU=[1,246],tz=[1,243],t$=[1,240],tq=[1,239],tH=[1,241],tW=[1,244],tV=[1,245],tG=[1,247],tX=[1,265],tZ=[20,21,23,99],tQ=[20,21,22,23,59,60,79,95,98,99,102,103,104,105,106],tK={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.parseDirective("%%{","open_directive");break;case 6:r.parseDirective(a[s],"type_directive");break;case 7:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 8:r.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:a[s]!==[]&&a[s-1].push(a[s]),this.$=a[s-1];break;case 12:case 78:case 80:case 92:case 148:case 150:case 151:case 74:case 146:this.$=a[s];break;case 19:r.setDirection("TB"),this.$="TB";break;case 20:r.setDirection(a[s-1]),this.$=a[s-1];break;case 35:this.$=a[s-1].nodes;break;case 41:this.$=r.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 42:this.$=r.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 43:this.$=r.addSubGraph(void 0,a[s-1],void 0);break;case 48:r.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 49:r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 50:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 51:this.$={stmt:a[s],nodes:a[s]};break;case 52:case 119:case 121:this.$=[a[s]];break;case 53:this.$=a[s-4].concat(a[s]);break;case 54:this.$=[a[s-2]],r.setClass(a[s-2],a[s]);break;case 55:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"square");break;case 56:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],"circle");break;case 57:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"ellipse");break;case 58:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"stadium");break;
vendor: 16,229 bytes, line 1
1case 59:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"subroutine");break;case 60:this.$=a[s-7],r.addVertex(a[s-7],a[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]]));break;case 61:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"cylinder");break;case 62:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"round");break;case 63:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"diamond");break;case 64:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],"hexagon");break;case 65:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"odd");break;case 66:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"trapezoid");break;case 67:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"inv_trapezoid");break;case 68:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"lean_right");break;case 69:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"lean_left");break;case 70:this.$=a[s],r.addVertex(a[s]);break;case 71:a[s-1].text=a[s],this.$=a[s-1];break;case 72:case 73:a[s-2].text=a[s-1],this.$=a[s-2];break;case 75:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1]};break;case 76:c=r.destructLink(a[s]),this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 77:this.$=a[s-1];break;case 79:case 93:case 149:case 147:this.$=a[s-1]+""+a[s];break;case 94:case 95:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 96:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 97:case 105:this.$=a[s-1],r.setClickEvent(a[s-1],a[s]);break;case 98:case 106:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 99:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 100:this.$=a[s-4],r.setClickEvent(a[s-4],a[s-3],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 101:case 107:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 102:case 108:this.$=a[s-3],r.setLink(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 103:case 109:this.$=a[s-3],r.setLink(a[s-3],a[s-2],a[s]);break;case 104:case 110:this.$=a[s-5],r.setLink(a[s-5],a[s-4],a[s]),r.setTooltip(a[s-5],a[s-2]);break;case 111:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 112:case 114:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 113:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 115:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 116:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 117:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 118:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 120:case 122:a[s-2].push(a[s]),this.$=a[s-2];break;case 124:this.$=a[s-1]+a[s];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:e,16:4,21:n,22:r,24:i},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:n,22:r,24:i},t(a,o,{17:11}),{7:12,13:[1,13]},{16:14,21:n,22:r,24:i},{16:15,21:n,22:r,24:i},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:s,21:c,22:l,23:u,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:31,45:32,46:42,47:f,49:43,59:d,60:p,79:g,80:y,81:m,82:v,83:b,84:x,88:_,98:k,99:w,102:T,104:E,105:C,109:44,111:S,112:A,113:M,114:N,115:D,116:B,117:O,118:L,119:I,120:F},{8:61,10:[1,62],15:P},t([10,15],[2,6]),t(a,[2,17]),t(a,[2,18]),t(a,[2,19]),{20:[1,65],21:[1,66],22:R,27:64,30:67},t(j,[2,11]),t(j,[2,12]),t(j,[2,13]),t(j,[2,14]),t(j,[2,15]),t(j,[2,16]),{9:69,20:Y,21:U,23:z,44:70,71:74,74:[1,75],75:[1,76]},{9:77,20:Y,21:U,23:z},{9:78,20:Y,21:U,23:z},{9:79,20:Y,21:U,23:z},{9:80,20:Y,21:U,23:z},{9:81,20:Y,21:U,23:z},{9:83,20:Y,21:U,22:[1,82],23:z},t(j,[2,44]),t($,[2,51],{30:84,22:R}),{22:[1,85]},{22:[1,86]},{22:[1,87]},{22:[1,88]},{26:q,47:H,59:W,60:V,77:[1,92],84:G,90:91,91:[1,89],93:[1,90],98:X,99:Z,102:Q,104:K,105:J,108:95,110:93,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t(j,[2,154]),t(j,[2,155]),t(j,[2,156]),t(j,[2,157]),t(to,[2,52],{48:[1,111]}),t(ts,[2,70],{109:123,40:[1,112],47:f,50:[1,113],52:[1,114],54:[1,115],56:[1,116],58:[1,117],59:d,60:p,62:[1,118],64:[1,119],66:[1,120],67:[1,121],69:[1,122],84:x,88:_,98:k,99:w,102:T,104:E,105:C,115:D,116:B,117:O,118:L,119:I,120:F}),t(tc,[2,146]),t(tc,[2,171]),t(tc,[2,172]),t(tc,[2,173]),t(tc,[2,174]),t(tc,[2,175]),t(tc,[2,176]),t(tc,[2,177]),t(tc,[2,178]),t(tc,[2,179]),t(tc,[2,180]),t(tc,[2,181]),t(tc,[2,182]),t(tc,[2,183]),t(tc,[2,184]),t(tc,[2,185]),t(tc,[2,186]),{9:124,20:Y,21:U,23:z},{11:125,14:[1,126]},t(tl,[2,8]),t(a,[2,20]),t(a,[2,26]),t(a,[2,27]),{21:[1,127]},t(tu,[2,34],{30:128,22:R}),t(j,[2,35]),{45:129,46:42,47:f,49:43,59:d,60:p,84:x,88:_,98:k,99:w,102:T,104:E,105:C,109:44,115:D,116:B,117:O,118:L,119:I,120:F},t(th,[2,45]),t(th,[2,46]),t(th,[2,47]),t(tf,[2,74],{72:130,61:[1,132],73:[1,131]}),{22:td,24:tp,26:tg,38:ty,39:133,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t([47,59,60,61,73,84,88,98,99,102,104,105,115,116,117,118,119,120],[2,76]),t(j,[2,36]),t(j,[2,37]),t(j,[2,38]),t(j,[2,39]),t(j,[2,40]),{22:td,24:tp,26:tg,38:ty,39:157,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t(tB,o,{17:158}),t($,[2,50],{47:tO}),{26:q,47:H,59:W,60:V,84:G,90:160,95:[1,161],98:X,99:Z,102:Q,104:K,105:J,108:95,110:93,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{88:[1,162],96:163,98:[1,164]},{26:q,47:H,59:W,60:V,84:G,88:[1,165],90:166,98:X,99:Z,102:Q,104:K,105:J,108:95,110:93,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{26:q,47:H,59:W,60:V,84:G,90:167,98:X,99:Z,102:Q,104:K,105:J,108:95,110:93,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t(tl,[2,97],{22:[1,168],92:[1,169]}),t(tl,[2,101],{22:[1,170]}),t(tl,[2,105],{108:95,110:172,22:[1,171],26:q,47:H,59:W,60:V,84:G,98:X,99:Z,102:Q,104:K,105:J,115:tt,116:te,117:tn,118:tr,119:ti,120:ta}),t(tl,[2,107],{22:[1,173]}),t(tL,[2,148]),t(tL,[2,150]),t(tL,[2,151]),t(tL,[2,152]),t(tL,[2,153]),t(tI,[2,158]),t(tI,[2,159]),t(tI,[2,160]),t(tI,[2,161]),t(tI,[2,162]),t(tI,[2,163]),t(tI,[2,164]),t(tI,[2,165]),t(tI,[2,166]),t(tI,[2,167]),t(tI,[2,168]),t(tI,[2,169]),t(tI,[2,170]),{47:f,49:174,59:d,60:p,84:x,88:_,98:k,99:w,102:T,104:E,105:C,109:44,115:D,116:B,117:O,118:L,119:I,120:F},{22:td,24:tp,26:tg,38:ty,39:175,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,39:177,42:tm,47:H,50:[1,176],59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,39:178,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,39:179,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,39:180,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{59:[1,181]},{22:td,24:tp,26:tg,38:ty,39:182,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,39:183,42:tm,47:H,59:W,60:V,64:[1,184],66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,39:185,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,39:186,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,39:187,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t(tc,[2,147]),t(tF,[2,3]),{8:188,15:P},{15:[2,7]},t(a,[2,28]),t(tu,[2,33]),t($,[2,48],{30:189,22:R}),t(tf,[2,71],{22:[1,190]}),{22:[1,191]},{22:td,24:tp,26:tg,38:ty,39:192,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,42:tm,47:H,59:W,60:V,66:tv,74:tb,75:[1,193],76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t(tI,[2,78]),t(tI,[2,80]),t(tI,[2,136]),t(tI,[2,137]),t(tI,[2,138]),t(tI,[2,139]),t(tI,[2,140]),t(tI,[2,141]),t(tI,[2,142]),t(tI,[2,143]),t(tI,[2,144]),t(tI,[2,145]),t(tI,[2,81]),t(tI,[2,82]),t(tI,[2,83]),t(tI,[2,84]),t(tI,[2,85]),t(tI,[2,86]),t(tI,[2,87]),t(tI,[2,88]),t(tI,[2,89]),t(tI,[2,90]),t(tI,[2,91]),{9:196,20:Y,21:U,22:td,23:z,24:tp,26:tg,38:ty,40:[1,195],42:tm,47:H,59:W,60:V,66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{18:18,19:19,20:s,21:c,22:l,23:u,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,197],43:31,45:32,46:42,47:f,49:43,59:d,60:p,79:g,80:y,81:m,82:v,83:b,84:x,88:_,98:k,99:w,102:T,104:E,105:C,109:44,111:S,112:A,113:M,114:N,115:D,116:B,117:O,118:L,119:I,120:F},{22:R,30:198},{22:[1,199],26:q,47:H,59:W,60:V,84:G,98:X,99:Z,102:Q,104:K,105:J,108:95,110:172,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:[1,200]},{22:[1,201]},{22:[1,202],99:[1,203]},t(tP,[2,119]),{22:[1,204]},{22:[1,205],26:q,47:H,59:W,60:V,84:G,98:X,99:Z,102:Q,104:K,105:J,108:95,110:172,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:[1,206],26:q,47:H,59:W,60:V,84:G,98:X,99:Z,102:Q,104:K,105:J,108:95,110:172,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{77:[1,207]},t(tl,[2,99],{22:[1,208]}),{77:[1,209],94:[1,210]},{77:[1,211]},t(tL,[2,149]),{77:[1,212],94:[1,213]},t(to,[2,54],{109:123,47:f,59:d,60:p,84:x,88:_,98:k,99:w,102:T,104:E,105:C,115:D,116:B,117:O,118:L,119:I,120:F}),{22:td,24:tp,26:tg,38:ty,41:[1,214],42:tm,47:H,59:W,60:V,66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,39:215,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,42:tm,47:H,51:[1,216],59:W,60:V,66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,42:tm,47:H,53:[1,217],59:W,60:V,66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,42:tm,47:H,55:[1,218],59:W,60:V,66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,42:tm,47:H,57:[1,219],59:W,60:V,66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{60:[1,220]},{22:td,24:tp,26:tg,38:ty,42:tm,47:H,59:W,60:V,63:[1,221],66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,42:tm,47:H,59:W,60:V,65:[1,222],66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,39:223,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,41:[1,224],42:tm,47:H,59:W,60:V,66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,42:tm,47:H,59:W,60:V,66:tv,68:[1,225],70:[1,226],74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{22:td,24:tp,26:tg,38:ty,42:tm,47:H,59:W,60:V,66:tv,68:[1,228],70:[1,227],74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{9:229,20:Y,21:U,23:z},t($,[2,49],{47:tO}),t(tf,[2,73]),t(tf,[2,72]),{22:td,24:tp,26:tg,38:ty,42:tm,47:H,59:W,60:V,61:[1,230],66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t(tf,[2,75]),t(tI,[2,79]),{22:td,24:tp,26:tg,38:ty,39:231,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t(tB,o,{17:232}),t(j,[2,43]),{46:233,47:f,49:43,59:d,60:p,84:x,88:_,98:k,99:w,102:T,104:E,105:C,109:44,115:D,116:B,117:O,118:L,119:I,120:F},{22:tR,59:tj,60:tY,79:tU,89:234,95:tz,98:t$,100:235,101:236,102:tq,103:tH,104:tW,105:tV,106:tG},{22:tR,59:tj,60:tY,79:tU,89:248,95:tz,98:t$,100:235,101:236,102:tq,103:tH,104:tW,105:tV,106:tG},{22:tR,59:tj,60:tY,79:tU,89:249,95:tz,97:[1,250],98:t$,100:235,101:236,102:tq,103:tH,104:tW,105:tV,106:tG},{22:tR,59:tj,60:tY,79:tU,89:251,95:tz,97:[1,252],98:t$,100:235,101:236,102:tq,103:tH,104:tW,105:tV,106:tG},{98:[1,253]},{22:tR,59:tj,60:tY,79:tU,89:254,95:tz,98:t$,100:235,101:236,102:tq,103:tH,104:tW,105:tV,106:tG},{22:tR,59:tj,60:tY,79:tU,89:255,95:tz,98:t$,100:235,101:236,102:tq,103:tH,104:tW,105:tV,106:tG},{26:q,47:H,59:W,60:V,84:G,90:256,98:X,99:Z,102:Q,104:K,105:J,108:95,110:93,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t(tl,[2,98]),{77:[1,257]},t(tl,[2,102],{22:[1,258]}),t(tl,[2,103]),t(tl,[2,106]),t(tl,[2,108],{22:[1,259]}),t(tl,[2,109]),t(ts,[2,55]),{22:td,24:tp,26:tg,38:ty,42:tm,47:H,51:[1,260],59:W,60:V,66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t(ts,[2,62]),t(ts,[2,57]),t(ts,[2,58]),t(ts,[2,59]),{59:[1,261]},t(ts,[2,61]),t(ts,[2,63]),{22:td,24:tp,26:tg,38:ty,42:tm,47:H,59:W,60:V,65:[1,262],66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t(ts,[2,65]),t(ts,[2,66]),t(ts,[2,68]),t(ts,[2,67]),t(ts,[2,69]),t(tF,[2,4]),t([22,47,59,60,84,88,98,99,102,104,105,115,116,117,118,119,120],[2,77]),{22:td,24:tp,26:tg,38:ty,41:[1,263],42:tm,47:H,59:W,60:V,66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta}
1,{18:18,19:19,20:s,21:c,22:l,23:u,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,264],43:31,45:32,46:42,47:f,49:43,59:d,60:p,79:g,80:y,81:m,82:v,83:b,84:x,88:_,98:k,99:w,102:T,104:E,105:C,109:44,111:S,112:A,113:M,114:N,115:D,116:B,117:O,118:L,119:I,120:F},t(to,[2,53]),t(tl,[2,111],{99:tX}),t(tZ,[2,121],{101:266,22:tR,59:tj,60:tY,79:tU,95:tz,98:t$,102:tq,103:tH,104:tW,105:tV,106:tG}),t(tQ,[2,123]),t(tQ,[2,125]),t(tQ,[2,126]),t(tQ,[2,127]),t(tQ,[2,128]),t(tQ,[2,129]),t(tQ,[2,130]),t(tQ,[2,131]),t(tQ,[2,132]),t(tQ,[2,133]),t(tQ,[2,134]),t(tQ,[2,135]),t(tl,[2,112],{99:tX}),t(tl,[2,113],{99:tX}),{22:[1,267]},t(tl,[2,114],{99:tX}),{22:[1,268]},t(tP,[2,120]),t(tl,[2,94],{99:tX}),t(tl,[2,95],{99:tX}),t(tl,[2,96],{108:95,110:172,26:q,47:H,59:W,60:V,84:G,98:X,99:Z,102:Q,104:K,105:J,115:tt,116:te,117:tn,118:tr,119:ti,120:ta}),t(tl,[2,100]),{94:[1,269]},{94:[1,270]},{51:[1,271]},{61:[1,272]},{65:[1,273]},{9:274,20:Y,21:U,23:z},t(j,[2,42]),{22:tR,59:tj,60:tY,79:tU,95:tz,98:t$,100:275,101:236,102:tq,103:tH,104:tW,105:tV,106:tG},t(tQ,[2,124]),{26:q,47:H,59:W,60:V,84:G,90:276,98:X,99:Z,102:Q,104:K,105:J,108:95,110:93,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{26:q,47:H,59:W,60:V,84:G,90:277,98:X,99:Z,102:Q,104:K,105:J,108:95,110:93,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t(tl,[2,104]),t(tl,[2,110]),t(ts,[2,56]),{22:td,24:tp,26:tg,38:ty,39:278,42:tm,47:H,59:W,60:V,66:tv,74:tb,76:134,77:tx,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},t(ts,[2,64]),t(tB,o,{17:279}),t(tZ,[2,122],{101:266,22:tR,59:tj,60:tY,79:tU,95:tz,98:t$,102:tq,103:tH,104:tW,105:tV,106:tG}),t(tl,[2,117],{108:95,110:172,22:[1,280],26:q,47:H,59:W,60:V,84:G,98:X,99:Z,102:Q,104:K,105:J,115:tt,116:te,117:tn,118:tr,119:ti,120:ta}),t(tl,[2,118],{108:95,110:172,22:[1,281],26:q,47:H,59:W,60:V,84:G,98:X,99:Z,102:Q,104:K,105:J,115:tt,116:te,117:tn,118:tr,119:ti,120:ta}),{22:td,24:tp,26:tg,38:ty,41:[1,282],42:tm,47:H,59:W,60:V,66:tv,74:tb,76:194,78:145,79:t_,80:tk,81:tw,82:tT,83:tE,84:tC,85:tS,87:136,88:tA,98:X,99:Z,102:tM,104:K,105:J,106:tN,107:tD,108:142,115:tt,116:te,117:tn,118:tr,119:ti,120:ta},{18:18,19:19,20:s,21:c,22:l,23:u,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,283],43:31,45:32,46:42,47:f,49:43,59:d,60:p,79:g,80:y,81:m,82:v,83:b,84:x,88:_,98:k,99:w,102:T,104:E,105:C,109:44,111:S,112:A,113:M,114:N,115:D,116:B,117:O,118:L,119:I,120:F},{22:tR,59:tj,60:tY,79:tU,89:284,95:tz,98:t$,100:235,101:236,102:tq,103:tH,104:tW,105:tV,106:tG},{22:tR,59:tj,60:tY,79:tU,89:285,95:tz,98:t$,100:235,101:236,102:tq,103:tH,104:tW,105:tV,106:tG},t(ts,[2,60]),t(j,[2,41]),t(tl,[2,115],{99:tX}),t(tl,[2,116],{99:tX})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],126:[2,7]},parseError:function(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=0,h=a.slice.call(arguments,1),f=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);f.setInput(t,d),d.lexer=f,d.parser=this,void 0===f.yylloc&&(f.yylloc={});var g=f.yylloc;a.push(g);var y=f.options&&f.options.ranges;"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,b,x,_,k,w,T,E,C={};;){if(b=n[n.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==m&&(m=function(){var t;return"number"!=typeof(t=r.pop()||f.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),x=o[b]&&o[b][m]),void 0===x||!x.length||!x[0]){var S="";for(k in E=[],o[b])this.terminals_[k]&&k>2&&E.push("'"+this.terminals_[k]+"'");S=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(S,{text:f.match,token:this.terminals_[m]||m,line:f.yylineno,loc:g,expected:E})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(x[0]){case 1:n.push(m),i.push(f.yytext),a.push(f.yylloc),n.push(x[1]),m=null,v?(m=v,v=null):(l=f.yyleng,s=f.yytext,c=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[x[1]][1],C.$=i[i.length-w],C._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},y&&(C._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(C,[s,l,c,d,x[1],i,a].concat(h))))return _;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),a=a.slice(0,-1*w)),n.push(this.productions_[x[1]][0]),i.push(C.$),a.push(C._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}};function tJ(){this.yy={}}return tK.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}
vendor: 4,660 bytes, line 1
1,input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var a in i)this[a]=i[a];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,r,i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){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 t.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}}},tJ.prototype=tK,tK.Parser=tJ,new tJ}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(5354).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},9959:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,3],n=[1,5],r=[7,9,11,12,13,14,15,16,17,18,19,20,22,29,34],i=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],l=[1,20],u=[1,21],h=[1,22],f=[1,23],d=[1,25],p=[1,27],g=[1,30],y=[5,7,9,11,12,13,14,15,16,17,18,19,20,22,29,34],m={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 2:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 9:r.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 10:r.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 11:r.TopAxis(),this.$=a[s].substr(8);break;case 12:r.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 13:r.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 14:r.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 15:r.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 16:r.setTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 17:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 19:r.addTask(a[s-1],a[s]),this.$="task";break;case 23:this.$=a[s-1],r.setClickEvent(a[s-1],a[s],null);break;case 24:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 25:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],null),r.setLink(a[s-2],a[s]);break;case 26:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setLink(a[s-3],a[s]);break;case 27:this.$=a[s-2],r.setClickEvent(a[s-2],a[s],null),r.setLink(a[s-2],a[s-1]);break;case 28:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-1],a[s]),r.setLink(a[s-3],a[s-2]);break;case 29:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 30:case 36:this.$=a[s-1]+" "+a[s];break;case 31:case 32:case 34:this.$=a[s-2]+" "+a[s-1]+" "+a[s];break;case 33:case 35:this.$=a[s-3]+" "+a[s-2]+" "+a[s-1]+" "+a[s];break;case 37:r.parseDirective("%%{","open_directive");break;case 38:r.parseDirective(a[s],"type_directive");break;case 39:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 40:r.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:e,24:4,34:n},{1:[3]},{3:6,4:2,5:e,24:4,34:n},t(r,[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:i,13:a,14:o,15:s,16:c,17:l,18:u,19:h,20:f,21:24,22:d,24:4,29:p,34:n},{26:28,27:[1,29],37:g},t([27,37],[2,38]),t(r,[2,8],{1:[2,2]}),t(r,[2,4]),{4:26,10:31,12:i,13:a,14:o,15:s,16:c,17:l,18:u,19:h,20:f,21:24,22:d,24:4,29:p,34:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,9]),t(r,[2,10]),t(r,[2,11]),t(r,[2,12]),t(r,[2,13]),t(r,[2,14]),t(r,[2,15]),t(r,[2,16]),t(r,[2,17]),t(r,[2,18]),{23:[1,32]},t(r,[2,20]),{30:[1,33],32:[1,34]},{11:[1,35]},{28:36,36:[1,37]},{11:[2,40]},t(r,[2,5]),t(r,[2,19]),t(r,[2,23],{31:[1,38],32:[1,39]}),t(r,[2,29],{30:[1,40]}),t(y,[2,21]),{26:41,37:g},{37:[2,39]},t(r,[2,24],{32:[1,42]}),t(r,[2,25]),t(r,[2,27],{31:[1,43]}),{11:[1,44]},t(r,[2,26]),t(r,[2,28]),t(y,[2,22])],defaultActions:{5:[2,37],6:[2,1],30:[2,40],37:[2,39]},parseError:function(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=0,h=a.slice.call(arguments,1),f=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);f.setInput(t,d),d.lexer=f,d.parser=this,void 0===f.yylloc&&(f.yylloc={});var g=f.yylloc;a.push(g);var y=f.options&&f.options.ranges;"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,b,x,_,k,w,T,E,C={};;){if(b=n[n.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==m&&(m=function(){var t;return"number"!=typeof(t=r.pop()||f.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),x=o[b]&&o[b][m]),void 0===x||!x.length||!x[0]){var S="";for(k in E=[],o[b])this.terminals_[k]&&k>2&&E.push("'"+this.terminals_[k]+"'");S=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(S,{text:f.match,token:this.terminals_[m]||m,line:f.yylineno,loc:g,expected:E})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(x[0]){case 1:n.push(m),i.push(f.yytext),a.push(f.yylloc),n.push(x[1]),m=null,v?(m=v,v=null):(l=f.yyleng,s=f.yytext,c=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[x[1]][1],C.$=i[i.length-w],C._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},y&&(C._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(C,[s,l,c,d,x[1],i,a].concat(h))))return _;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),a=a.slice(0,-1*w)),n.push(this.productions_[x[1]][0]),i.push(C.$),a.push(C._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}};function v(){this.yy={}}return m.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}
vendor: 4,681 bytes, line 1
1,input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var a in i)this[a]=i[a];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,r,i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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}}},v.prototype=m,m.Parser=v,new v}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(6878).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},2553:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[2,3],n=[1,7],r=[7,12,15,17,19,20,21],i=[7,11,12,15,17,19,20,21],a=[2,20],o=[1,32],s={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:return r.setDirection(a[s-3]),a[s-1];case 4:r.setOptions(a[s-1]),this.$=a[s];break;case 5:a[s-1]+=a[s],this.$=a[s-1];break;case 7:this.$=[];break;case 8:a[s-1].push(a[s]),this.$=a[s-1];break;case 9:this.$=a[s-1];break;case 11:r.commit(a[s]);break;case 12:r.branch(a[s]);break;case 13:r.checkout(a[s]);break;case 14:r.merge(a[s]);break;case 15:r.reset(a[s]);break;case 16:this.$="";break;case 17:this.$=a[s];break;case 18:this.$=a[s-1]+":"+a[s];break;case 19:this.$=a[s-1]+":"+r.count,r.count=0;break;case 20:r.count=0;break;case 21:r.count+=1}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:e,9:6,12:n},{5:[1,8]},{7:[1,9]},t(r,[2,7],{10:10,11:[1,11]}),t(i,[2,6]),{6:12,7:e,9:6,12:n},{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]},t(i,[2,5]),{7:[1,21]},t(r,[2,8]),{12:[1,22]},t(r,[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]},t(r,[2,9]),{12:[2,11]},{12:[2,17]},{12:[2,12]},{12:[2,13]},{12:[2,14]},{12:[2,15]},{12:a,25:31,26:o},{12:a,25:33,26:o},{12:[2,18]},{12:a,25:34,26:o},{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(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=0,h=a.slice.call(arguments,1
1),f=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);f.setInput(t,d),d.lexer=f,d.parser=this,void 0===f.yylloc&&(f.yylloc={});var g=f.yylloc;a.push(g);var y=f.options&&f.options.ranges;"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,b,x,_,k,w,T,E,C={};;){if(b=n[n.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==m&&(m=function(){var t;return"number"!=typeof(t=r.pop()||f.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),x=o[b]&&o[b][m]),void 0===x||!x.length||!x[0]){var S="";for(k in E=[],o[b])this.terminals_[k]&&k>2&&E.push("'"+this.terminals_[k]+"'");S=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(S,{text:f.match,token:this.terminals_[m]||m,line:f.yylineno,loc:g,expected:E})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(x[0]){case 1:n.push(m),i.push(f.yytext),a.push(f.yylloc),n.push(x[1]),m=null,v?(m=v,v=null):(l=f.yyleng,s=f.yytext,c=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[x[1]][1],C.$=i[i.length-w],C._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},y&&(C._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(C,[s,l,c,d,x[1],i,a].concat(h))))return _;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),a=a.slice(0,-1*w)),n.push(this.productions_[x[1]][0]),i.push(C.$),a.push(C._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}};function c(){this.yy={}}return s.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var a in i)this[a]=i[a];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,r,i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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}}},c.prototype=s,s.Parser=c,new c}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(8183).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},6765:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,9,10],n={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(t,e,n,r,i,a,o){switch(a.length,i){case 1:return r;case 4:break;case 6:r.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=0,h=a.slice.call(arguments,1
1),f=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);f.setInput(t,d),d.lexer=f,d.parser=this,void 0===f.yylloc&&(f.yylloc={});var g=f.yylloc;a.push(g);var y=f.options&&f.options.ranges;"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,b,x,_,k,w,T,E,C={};;){if(b=n[n.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==m&&(m=function(){var t;return"number"!=typeof(t=r.pop()||f.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),x=o[b]&&o[b][m]),void 0===x||!x.length||!x[0]){var S="";for(k in E=[],o[b])this.terminals_[k]&&k>2&&E.push("'"+this.terminals_[k]+"'");S=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(S,{text:f.match,token:this.terminals_[m]||m,line:f.yylineno,loc:g,expected:E})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(x[0]){case 1:n.push(m),i.push(f.yytext),a.push(f.yylloc),n.push(x[1]),m=null,v?(m=v,v=null):(l=f.yyleng,s=f.yytext,c=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[x[1]][1],C.$=i[i.length-w],C._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},y&&(C._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(C,[s,l,c,d,x[1],i,a].concat(h))))return _;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),a=a.slice(0,-1*w)),n.push(this.productions_[x[1]][0]),i.push(C.$),a.push(C._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}};function r(){this.yy={}}return n.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var a in i)this[a]=i[a];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,r,i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 4;case 1:return 9;
1case 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}}},r.prototype=n,n.Parser=r,new r}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(1428).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},7062:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,4],n=[1,5],r=[1,6],i=[1,7],a=[1,9],o=[1,11,13,20,21,22,23],s=[2,5],c=[1,6,11,13,20,21,22,23],l=[20,21,22],u=[2,8],h=[1,18],f=[1,19],d=[1,24],p=[6,20,21,22,23],g={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.setShowData(!0);break;case 7:this.$=a[s-1];break;case 9:r.addSection(a[s-1],r.cleanupValue(a[s]));break;case 10:this.$=a[s].trim(),r.setTitle(this.$);break;case 17:r.parseDirective("%%{","open_directive");break;case 18:r.parseDirective(a[s],"type_directive");break;case 19:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 20:r.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:e,15:8,20:n,21:r,22:i,23:a},{1:[3]},{3:10,4:2,5:3,6:e,15:8,20:n,21:r,22:i,23:a},{3:11,4:2,5:3,6:e,15:8,20:n,21:r,22:i,23:a},t(o,s,{7:12,8:[1,13]}),t(c,[2,14]),t(c,[2,15]),t(c,[2,16]),{16:14,24:[1,15]},{24:[2,17]},{1:[2,1]},{1:[2,2]},t(l,u,{15:8,9:16,10:17,5:20,1:[2,3],11:h,13:f,23:a}),t(o,s,{7:21}),{17:22,18:[1,23],26:d},t([18,26],[2,18]),t(o,[2,6]),{4:25,20:n,21:r,22:i},{12:[1,26]},{14:[1,27]},t(l,[2,11]),t(l,u,{15:8,9:16,10:17,5:20,1:[2,4],11:h,13:f,23:a}),t(p,[2,12]),{19:28,25:[1,29]},t(p,[2,20]),t(o,[2,7]),t(l,[2,9]),t(l,[2,10]),{17:30,26:d},{26:[2,19]},t(p,[2,13])],defaultActions:{9:[2,17],10:[2,1],11:[2,2],29:[2,19]},parseError:function(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=0,h=a.slice.call(arguments,1),f=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);f.setInput(t,d),d.lexer=f,d.parser=this,void 0===f.yylloc&&(f.yylloc={});var g=f.yylloc;a.push(g);var y=f.options&&f.options.ranges;"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,b,x,_,k,w,T,E,C={};;){if(b=n[n.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==m&&(m=function(){var t;return"number"!=typeof(t=r.pop()||f.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),x=o[b]&&o[b][m]),void 0===x||!x.length||!x[0]){var S="";for(k in E=[],o[b])this.terminals_[k]&&k>2&&E.push("'"+this.terminals_[k]+"'");S=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(S,{text:f.match,token:this.terminals_[m]||m,line:f.yylineno,loc:g,expected:E})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(x[0]){case 1:n.push(m),i.push(f.yytext),a.push(f.yylloc),n.push(x[1]),m=null,v?(m=v,v=null):(l=f.yyleng,s=f.yytext,c=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[x[1]][1],C.$=i[i.length-w],C._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},y&&(C._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(C,[s,l,c,d,x[1],i,a].concat(h))))return _;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),a=a.slice(0,-1*w)),n.push(this.productions_[x[1]][0]),i.push(C.$),a.push(C._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}};function y(){this.yy={}}return g.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}
vendor: 4,681 bytes, line 1
1,input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var a in i)this[a]=i[a];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,r,i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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;
1case 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}}},y.prototype=g,g.Parser=y,new y}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(4551).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},3176:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,3],n=[1,5],r=[1,17],i=[2,10],a=[1,21],o=[1,22],s=[1,23],c=[1,24],l=[1,25],u=[1,26],h=[1,19],f=[1,27],d=[1,28],p=[1,31],g=[66,67],y=[5,8,14,35,36,37,38,39,40,48,55,57,66,67],m=[5,6,8,14,35,36,37,38,39,40,48,66,67],v=[1,51],b=[1,52],x=[1,53],_=[1,54],k=[1,55],w=[1,56],T=[1,57],E=[57,58],C=[1,69],S=[1,65],A=[1,66],M=[1,67],N=[1,68],D=[1,70],B=[1,74],O=[1,75],L=[1,72],I=[1,73],F=[5,8,14,35,36,37,38,39,40,48,66,67],P={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,DERIVES: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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 6:r.parseDirective("%%{","open_directive");break;case 7:r.parseDirective(a[s],"type_directive");break;case 8:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 9:r.parseDirective("}%%","close_directive","pie");break;case 10:this.$=[];break;
vendor: 4,360 bytes, line 1
1case 16:r.addRequirement(a[s-3],a[s-4]);break;case 17:r.setNewReqId(a[s-2]);break;case 18:r.setNewReqText(a[s-2]);break;case 19:r.setNewReqRisk(a[s-2]);break;case 20:r.setNewReqVerifyMethod(a[s-2]);break;case 23:this.$=r.RequirementType.REQUIREMENT;break;case 24:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 26:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 27:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 28:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 29:this.$=r.RiskLevel.LOW_RISK;break;case 30:this.$=r.RiskLevel.MED_RISK;break;case 31:this.$=r.RiskLevel.HIGH_RISK;break;case 32:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 33:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 34:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 35:this.$=r.VerifyType.VERIFY_TEST;break;case 36:r.addElement(a[s-3]);break;case 37:r.setNewElementType(a[s-2]);break;case 38:r.setNewElementDocRef(a[s-2]);break;case 41:r.addRelationship(a[s-2],a[s],a[s-4]);break;case 42:r.addRelationship(a[s-2],a[s-4],a[s]);break;case 43:this.$=r.Relationships.CONTAINS;break;case 44:this.$=r.Relationships.COPIES;break;case 45:this.$=r.Relationships.DERIVES;break;case 46:this.$=r.Relationships.SATISFIES;break;case 47:this.$=r.Relationships.VERIFIES;break;case 48:this.$=r.Relationships.REFINES;break;case 49:this.$=r.Relationships.TRACES}},table:[{3:1,4:2,6:e,9:4,14:n},{1:[3]},{3:7,4:2,5:[1,6],6:e,9:4,14:n},{5:[1,8]},{10:9,15:[1,10]},{15:[2,6]},{3:11,4:2,6:e,9:4,14:n},{1:[2,2]},{4:16,5:r,7:12,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:c,39:l,40:u,48:h,66:f,67:d},{11:29,12:[1,30],17:p},t([12,17],[2,7]),{1:[2,1]},{8:[1,32]},{4:16,5:r,7:33,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:c,39:l,40:u,48:h,66:f,67:d},{4:16,5:r,7:34,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:c,39:l,40:u,48:h,66:f,67:d},{4:16,5:r,7:35,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:c,39:l,40:u,48:h,66:f,67:d},{4:16,5:r,7:36,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:c,39:l,40:u,48:h,66:f,67:d},{4:16,5:r,7:37,8:i,9:4,14:n,18:13,19:14,20:15,21:18,27:20,35:a,36:o,37:s,38:c,39:l,40:u,48:h,66:f,67:d},{22:38,66:[1,39],67:[1,40]},{49:41,66:[1,42],67:[1,43]},{55:[1,44],57:[1,45]},t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),t(g,[2,26]),t(g,[2,27]),t(g,[2,28]),t(y,[2,52]),t(y,[2,53]),t(m,[2,4]),{13:46,16:[1,47]},t(m,[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:v,60:b,61:x,62:_,63:k,64:w,65:T},{56:58,59:v,60:b,61:x,62:_,63:k,64:w,65:T},{11:59,17:p},{17:[2,8]},{5:[1,60]},{5:[1,61]},{57:[1,62]},t(E,[2,43]),t(E,[2,44]),t(E,[2,45]),t(E,[2,46]),t(E,[2,47]),t(E,[2,48]),t(E,[2,49]),{58:[1,63]},t(m,[2,5]),{5:C,24:64,25:S,28:A,30:M,32:N,34:D},{5:B,34:O,50:71,51:L,53:I},{27:76,66:f,67:d},{27:77,66:f,67:d},t(F,[2,16]),{26:[1,78]},{26:[1,79]},{26:[1,80]},{26:[1,81]},{5:C,24:82,25:S,28:A,30:M,32:N,34:D},t(F,[2,22]),t(F,[2,36]),{26:[1,83]},{26:[1,84]},{5:B,34:O,50:85,51:L,53:I},t(F,[2,40]),t(F,[2,41]),t(F,[2,42]),{27:86,66:f,67:d},{29:87,66:[1,88],67:[1,89]},{31:90,41:[1,91],42:[1,92],43:[1,93]},{33:94,44:[1,95],45:[1,96],46:[1,97],47:[1,98]},t(F,[2,21]),{52:99,66:[1,100],67:[1,101]},{54:102,66:[1,103],67:[1,104]},t(F,[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:C,24:111,25:S,28:A,30:M,32:N,34:D},{5:C,24:112,25:S,28:A,30:M,32:N,34:D},{5:C,24:113,25:S,28:A,30:M,32:N,34:D},{5:C,24:114,25:S,28:A,30:M,32:N,34:D},{5:B,34:O,50:115,51:L,53:I},{5:B,34:O,50:116,51:L,53:I},t(F,[2,17]),t(F,[2,18]),t(F,[2,19]),t(F,[2,20]),t(F,[2,37]),t(F,[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(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=0,h=a.slice.call(arguments,1
1),f=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);f.setInput(t,d),d.lexer=f,d.parser=this,void 0===f.yylloc&&(f.yylloc={});var g=f.yylloc;a.push(g);var y=f.options&&f.options.ranges;"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,b,x,_,k,w,T,E,C={};;){if(b=n[n.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==m&&(m=function(){var t;return"number"!=typeof(t=r.pop()||f.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),x=o[b]&&o[b][m]),void 0===x||!x.length||!x[0]){var S="";for(k in E=[],o[b])this.terminals_[k]&&k>2&&E.push("'"+this.terminals_[k]+"'");S=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(S,{text:f.match,token:this.terminals_[m]||m,line:f.yylineno,loc:g,expected:E})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(x[0]){case 1:n.push(m),i.push(f.yytext),a.push(f.yylloc),n.push(x[1]),m=null,v?(m=v,v=null):(l=f.yyleng,s=f.yytext,c=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[x[1]][1],C.$=i[i.length-w],C._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},y&&(C._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(C,[s,l,c,d,x[1],i,a].concat(h))))return _;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),a=a.slice(0,-1*w)),n.push(this.productions_[x[1]][0]),i.push(C.$),a.push(C._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}};function R(){this.yy={}}return P.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var a in i)this[a]=i[a];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,r,i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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 e.yytext=e.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}}},R.prototype=P,P.Parser=R,new R}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(8800).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},6876:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,5],i=[1,7],a=[2,5],o=[1,15],s=[1,17],c=[1,18],l=[1,19],u=[1,21],h=[1,22],f=[1,23],d=[1,29],p=[1,30],g=[1,31],y=[1,32],m=[1,33],v=[1,34],b=[1,37],x=[1,38],_=[1,39],k=[1,40],w=[1,41],T=[1,42],E=[1,45],C=[1,4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,41,42,46,47,48,49,57,67],S=[1,58],A=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,42,46,47,48,49,57,67],M=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,41,42,46,47,48,49,57,67],N=[4,5,16,20,22,23,24,30,32,33,34,35,36,38,40,42,46,47,48,49,57,67],D=[55,56,57],B=[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],O={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:return r.apply(a[s]),a[s];case 5:case 9:this.$=[];break;case 6:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:case 45:this.$=a[s];break;case 12:a[s-3].type="addParticipant",a[s-3].description=r.parseMessage(
1a[s-1]),this.$=a[s-3];break;case 13:a[s-1].type="addParticipant",this.$=a[s-1];break;case 14:a[s-3].type="addActor",a[s-3].description=r.parseMessage(a[s-1]),this.$=a[s-3];break;case 15:a[s-1].type="addActor",this.$=a[s-1];break;case 17:r.enableSequenceNumbers();break;case 18:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1]};break;case 19:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[s-1]};break;case 25:this.$=[{type:"setTitle",text:a[s-1]}];break;case 26:a[s-1].unshift({type:"loopStart",loopText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.LOOP_START}),a[s-1].push({type:"loopEnd",loopText:a[s-2],signalType:r.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 27:a[s-1].unshift({type:"rectStart",color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_START}),a[s-1].push({type:"rectEnd",color:r.parseMessage(a[s-2]),signalType:r.LINETYPE.RECT_END}),this.$=a[s-1];break;case 28:a[s-1].unshift({type:"optStart",optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_START}),a[s-1].push({type:"optEnd",optText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.OPT_END}),this.$=a[s-1];break;case 29:a[s-1].unshift({type:"altStart",altText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.ALT_START}),a[s-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=a[s-1];break;case 30:a[s-1].unshift({type:"parStart",parText:r.parseMessage(a[s-2]),signalType:r.LINETYPE.PAR_START}),a[s-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=a[s-1];break;case 33:this.$=a[s-3].concat([{type:"and",parText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.PAR_AND},a[s]]);break;case 35:this.$=a[s-3].concat([{type:"else",altText:r.parseMessage(a[s-1]),signalType:r.LINETYPE.ALT_ELSE},a[s]]);break;case 36:this.$=[a[s-1],{type:"addNote",placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 37:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 38:this.$=[a[s-1],{type:"addLinks",actor:a[s-1].actor,text:a[s]}];break;case 39:this.$=[a[s-1],{type:"addALink",actor:a[s-1].actor,text:a[s]}];break;case 40:this.$=[a[s-1],{type:"addProperties",actor:a[s-1].actor,text:a[s]}];break;case 41:this.$=[a[s-1],{type:"addDetails",actor:a[s-1].actor,text:a[s]}];break;case 44:this.$=[a[s-2],a[s]];break;case 46:this.$=r.PLACEMENT.LEFTOF;break;case 47:this.$=r.PLACEMENT.RIGHTOF;break;case 48:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1]}];break;case 49:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[s-4]}];break;case 50:this.$=[a[s-3],a[s-1],{type:"addMessage",from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 51:this.$={type:"addParticipant",actor:a[s]};break;case 52:this.$=r.LINETYPE.SOLID_OPEN;break;case 53:this.$=r.LINETYPE.DOTTED_OPEN;break;case 54:this.$=r.LINETYPE.SOLID;break;case 55:this.$=r.LINETYPE.DOTTED;break;case 56:this.$=r.LINETYPE.SOLID_CROSS;break;case 57:this.$=r.LINETYPE.DOTTED_CROSS;break;case 58:this.$=r.LINETYPE.SOLID_POINT;break;case 59:this.$=r.LINETYPE.DOTTED_POINT;break;case 60:this.$=r.parseMessage(a[s].trim().substring(1));break;case 61:r.parseDirective("%%{","open_directive");break;case 62:r.parseDirective(a[s],"type_directive");break;case 63:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 64:r.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:e,5:n,6:4,7:r,11:6,67:i},{1:[3]},{3:8,4:e,5:n,6:4,7:r,11:6,67:i},{3:9,4:e,5:n,6:4,7:r,11:6,67:i},{3:10,4:e,5:n,6:4,7:r,11:6,67:i},t([1,4,5,16,20,22,23,24,30,32,34,35,36,38,42,46,47,48,49,57,67],a,{8:11}),{12:12,68:[1,13]},{68:[2,61]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:35,9:14,10:16,11:6,16:c,17:36,20:l,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,34:g,35:y,36:m,38:v,42:b,46:x,47:_,48:k,49:w,57:T,67:i},{13:43,14:[1,44],70:E},t([14,70],[2,62]),t(C,[2,6]),{6:35,10:46,11:6,16:c,17:36,20:l,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,34:g,35:y,36:m,38:v,42:b,46:x,47:_,48:k,49:w,57:T,67:i},t(C,[2,8]),t(C,[2,9]),{17:47,57:T},{17:48,57:T},{5:[1,49]},t(C,[2,17]),{17:50,57:T},{17:51,57:T},{5:[1,52]},{5:[1,53]},{5:[1,54]},{5:[1,55]},{5:[1,56]},{31:57,66:S},{19:[1,59]},{19:[1,60]},{19:[1,61]},{19:[1,62]},{19:[1,63]},t(C,[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]}
1,{43:73,44:[1,74],52:[1,75],53:[1,76]},{17:77,57:T},{17:78,57:T},{17:79,57:T},{17:80,57:T},t([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]},t(C,[2,7]),{5:[1,85],18:[1,84]},{5:[1,87],18:[1,86]},t(C,[2,16]),{5:[1,88]},{5:[1,89]},t(C,[2,20]),t(C,[2,21]),t(C,[2,22]),t(C,[2,23]),t(C,[2,24]),{5:[1,90]},{5:[2,60]},t(A,a,{8:91}),t(A,a,{8:92}),t(A,a,{8:93}),t(M,a,{37:94,8:95}),t(N,a,{39:96,8:97}),{17:100,55:[1,98],56:[1,99],57:T},t(D,[2,52]),t(D,[2,53]),t(D,[2,54]),t(D,[2,55]),t(D,[2,56]),t(D,[2,57]),t(D,[2,58]),t(D,[2,59]),{17:101,57:T},{17:103,45:102,57:T},{57:[2,46]},{57:[2,47]},{31:104,66:S},{31:105,66:S},{31:106,66:S},{31:107,66:S},t(B,[2,10]),{13:108,70:E},{70:[2,63]},{19:[1,109]},t(C,[2,13]),{19:[1,110]},t(C,[2,15]),t(C,[2,18]),t(C,[2,19]),t(C,[2,25]),{4:o,5:s,6:35,9:14,10:16,11:6,16:c,17:36,20:l,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[1,111],34:g,35:y,36:m,38:v,42:b,46:x,47:_,48:k,49:w,57:T,67:i},{4:o,5:s,6:35,9:14,10:16,11:6,16:c,17:36,20:l,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[1,112],34:g,35:y,36:m,38:v,42:b,46:x,47:_,48:k,49:w,57:T,67:i},{4:o,5:s,6:35,9:14,10:16,11:6,16:c,17:36,20:l,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[1,113],34:g,35:y,36:m,38:v,42:b,46:x,47:_,48:k,49:w,57:T,67:i},{33:[1,114]},{4:o,5:s,6:35,9:14,10:16,11:6,16:c,17:36,20:l,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[2,34],34:g,35:y,36:m,38:v,41:[1,115],42:b,46:x,47:_,48:k,49:w,57:T,67:i},{33:[1,116]},{4:o,5:s,6:35,9:14,10:16,11:6,16:c,17:36,20:l,21:20,22:u,23:h,24:f,25:24,26:25,27:26,28:27,29:28,30:d,32:p,33:[2,32],34:g,35:y,36:m,38:v,40:[1,117],42:b,46:x,47:_,48:k,49:w,57:T,67:i},{17:118,57:T},{17:119,57:T},{31:120,66:S},{31:121,66:S},{31:122,66:S},{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]},t(C,[2,26]),t(C,[2,27]),t(C,[2,28]),t(C,[2,29]),{19:[1,127]},t(C,[2,30]),{19:[1,128]},{31:129,66:S},{31:130,66:S},{5:[2,50]},{5:[2,36]},{5:[2,37]},{17:131,57:T},t(B,[2,11]),t(C,[2,12]),t(C,[2,14]),t(M,a,{8:95,37:132}),t(N,a,{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(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=0,h=a.slice.call(arguments,1),f=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);f.setInput(t,d),d.lexer=f,d.parser=this,void 0===f.yylloc&&(f.yylloc={});var g=f.yylloc;a.push(g);var y=f.options&&f.options.ranges;"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,b,x,_,k,w,T,E,C={};;){if(b=n[n.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==m&&(m=function(){var t;return"number"!=typeof(t=r.pop()||f.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),x=o[b]&&o[b][m]),void 0===x||!x.length||!x[0]){var S="";for(k in E=[],o[b])this.terminals_[k]&&k>2&&E.push("'"+this.terminals_[k]+"'");S=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(S,{text:f.match,token:this.terminals_[m]||m,line:f.yylineno,loc:g,expected:E})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(x[0]){case 1:n.push(m),i.push(f.yytext),a.push(f.yylloc),n.push(x[1]),m=null,v?(m=v,v=null):(l=f.yyleng,s=f.yytext,c=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[x[1]][1],C.$=i[i.length-w],C._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},y&&(C._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(C,[s,l,c,d,x[1],i,a].concat(h))))return _;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),a=a.slice(0,-1*w)),n.push(this.productions_[x[1]][0]),i.push(C.$),a.push(C._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}};function L(){this.yy={}}return O.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}
vendor: 4,825 bytes, line 1
1,input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var a in i)this[a]=i[a];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,r,i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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 e.yytext=e.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 e.yytext=e.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}}},L.prototype=O,O.Parser=L,new L}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(1993).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},3584:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,5],i=[1,7],a=[2,5],o=[1,15],s=[1,17],c=[1,19],l=[1,20],u=[1,21],h=[1,22],f=[1,30],d=[1,23],p=[1,24],g=[1,25],y=[1,26],m=[1,27],v=[1,32],b=[1,33],x=[1,34],_=[1,35],k=[1,31],w=[1,38],T=[1,4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],E=[1,4,5,12,13,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],C=[1,4,5,7,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],S=[4,5,14,15,17,19,20,22,23,24,25,26,27,36,37,38,39,42,45],A={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:return r.setRootDoc(a[s]),a[s];case 5:this.$=[];break;case 6:"nl"!=a[s]&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 7:case 8:case 36:case 37:this.$=a[s];break;case 9:this.$="nl";break;case 10:this.$={stmt:"state",id:a[s],type:"default",description:""};break;case 11:this.$={stmt:"state",id:a[s-1],type:"default",description:r.trimColon(a[s])};break;case 12:this.$={stmt:"relation",state1:{stmt:"state",id:a[s-2],type:"default",description:""},state2:{stmt:"state",id:a[s],type:"default",description:""}};break;case 13:this.$={stmt:"relation",state1:{stmt:"state",id:a[s-3],type:"default",description:""},state2:{stmt:"state",id:a[s-1],type:"default",description:""},description:a[s].substr(1).trim()};break;case 17:this.$={stmt:"state",id:a[s-3],type:"default",description:"",doc:a[s-1]};break;case 18:var c=a[s],l=a[s-2].trim();if(a[s].match(":")){var u=a[s].split(":");c=u[0],l=[l,u[1]]}this.$={stmt:"state",id:c,type:"default",description:l};break;case 19:this.$={stmt:"state",id:a[s-3],type:"default",description:a[s-5],doc:a[s-1]};break;case 20:this.$={stmt:"state",id:a[s],type:"fork"};break;case 21:this.$={stmt:"state",id:a[s],type:"join"};break;case 22:this.$={stmt:"state",id:a[s],type:"choice"};break;case 23:this.$={stmt:"state",id:r.getDividerId(),type:"divider"};break;case 24:this.$={stmt:"state",id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 30:r.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 31:r.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 32:r.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 33:r.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:r.parseDirective("%%{","open_directive");break;case 41:r.parseDirective(a[s],"type_directive");break;case 42:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 43:r.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:e,5:n,6:4,7:r,31:6,45:i},{1:[3]},{3:8,4:e,5:n,6:4,7:r,31:6,45:i},{3:9,4:e,5:n,6:4,7:r,31:6,45:i},{3:10,4:e,5:n,6:4,7:r,31:6,45:i},t([1,4,5,14,15,17,20,22,23,24,25,26,27,36,37,38,39,42,45],a,{8:11}),{32:12,46:[1,13]},{46:[2,40]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:28,9:14,10:16,11:18,14:c,15:l,17:u,20:h,22:f,23:d,24:p,25:g,26:y,27:m,30:29,31:6,36:v,37:b,38:x,39:_,42:k,45:i},{33:36,34:[1,37],48:w},t([34,48],[2,41]),t(T,[2,6]),{6:28,10:39,11:18,14:c,15:l,17:u,20:h,22:f,23:d,24:p,25:g,26:y,27:m,30:29,31:6,36:v,37:b,38:x,39:_,42:k,45:i}
1,t(T,[2,8]),t(T,[2,9]),t(T,[2,10],{12:[1,40],13:[1,41]}),t(T,[2,14]),{16:[1,42]},t(T,[2,16],{18:[1,43]}),{21:[1,44]},t(T,[2,20]),t(T,[2,21]),t(T,[2,22]),t(T,[2,23]),{28:45,29:[1,46],43:[1,47],44:[1,48]},t(T,[2,26]),t(T,[2,27]),t(E,[2,36]),t(E,[2,37]),t(T,[2,30]),t(T,[2,31]),t(T,[2,32]),t(T,[2,33]),t(C,[2,28]),{35:49,47:[1,50]},t(C,[2,43]),t(T,[2,7]),t(T,[2,11]),{11:51,22:f,42:k},t(T,[2,15]),t(S,a,{8:52}),{22:[1,53]},{22:[1,54]},{21:[1,55]},{22:[2,38]},{22:[2,39]},{33:56,48:w},{48:[2,42]},t(T,[2,12],{12:[1,57]}),{4:o,5:s,6:28,9:14,10:16,11:18,14:c,15:l,17:u,19:[1,58],20:h,22:f,23:d,24:p,25:g,26:y,27:m,30:29,31:6,36:v,37:b,38:x,39:_,42:k,45:i},t(T,[2,18],{18:[1,59]}),{29:[1,60]},{22:[1,61]},t(C,[2,29]),t(T,[2,13]),t(T,[2,17]),t(S,a,{8:62}),t(T,[2,24]),t(T,[2,25]),{4:o,5:s,6:28,9:14,10:16,11:18,14:c,15:l,17:u,19:[1,63],20:h,22:f,23:d,24:p,25:g,26:y,27:m,30:29,31:6,36:v,37:b,38:x,39:_,42:k,45:i},t(T,[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(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=0,h=a.slice.call(arguments,1),f=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);f.setInput(t,d),d.lexer=f,d.parser=this,void 0===f.yylloc&&(f.yylloc={});var g=f.yylloc;a.push(g);var y=f.options&&f.options.ranges;"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,b,x,_,k,w,T,E,C={};;){if(b=n[n.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==m&&(m=function(){var t;return"number"!=typeof(t=r.pop()||f.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),x=o[b]&&o[b][m]),void 0===x||!x.length||!x[0]){var S="";for(k in E=[],o[b])this.terminals_[k]&&k>2&&E.push("'"+this.terminals_[k]+"'");S=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(S,{text:f.match,token:this.terminals_[m]||m,line:f.yylineno,loc:g,expected:E})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(x[0]){case 1:n.push(m),i.push(f.yytext),a.push(f.yylloc),n.push(x[1]),m=null,v?(m=v,v=null):(l=f.yyleng,s=f.yytext,c=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[x[1]][1],C.$=i[i.length-w],C._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},y&&(C._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(C,[s,l,c,d,x[1],i,a].concat(h))))return _;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),a=a.slice(0,-1*w)),n.push(this.productions_[x[1]][0]),i.push(C.$),a.push(C._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}};function M(){this.yy={}}return A.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var a in i)this[a]=i[a];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,r,i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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(),e.yytext=e.yytext.slice(0,-8).trim(),23;case 21:case 24:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),24;case 22:case 25:return this.popState(),e.yytext=e.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(),e.yytext=e.yytext.substr(2).trim(),29;case 50:return this.popState(),e.yytext=e.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 e.yytext=e.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>>
1)/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}}},M.prototype=A,A.Parser=M,new M}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(3069).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},9763:(t,e,n)=>{t=n.nmd(t);var r=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,5],r=[6,9,11,17,18,19,21],i=[1,15],a=[1,16],o=[1,17],s=[1,21],c=[4,6,9,11,17,18,19,21],l={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(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:r.setTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 13:r.addTask(a[s-1],a[s]),this.$="task";break;case 15:r.parseDirective("%%{","open_directive");break;case 16:r.parseDirective(a[s],"type_directive");break;case 17:a[s]=a[s].trim().replace(/'/g,'"'),r.parseDirective(a[s],"arg_directive");break;case 18:r.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:e,7:3,12:4,21:n},{1:[3]},t(r,[2,3],{5:6}),{3:7,4:e,7:3,12:4,21:n},{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:i,18:a,19:o,21:n},{1:[2,2]},{14:19,15:[1,20],24:s},t([15,24],[2,16]),t(r,[2,8],{1:[2,1]}),t(r,[2,4]),{7:18,10:22,12:4,17:i,18:a,19:o,21:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,11]),t(r,[2,12]),{20:[1,23]},t(r,[2,14]),{11:[1,24]},{16:25,23:[1,26]},{11:[2,18]},t(r,[2,5]),t(r,[2,13]),t(c,[2,9]),{14:27,24:s},{24:[2,17]},{11:[1,28]},t(c,[2,10])],defaultActions:{5:[2,15],7:[2,2],21:[2,18],26:[2,17]},parseError:function(t,e){if(!e.recoverable){var n=Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",c=0,l=0,u=0,h=a.slice.call(arguments,1
1),f=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);f.setInput(t,d),d.lexer=f,d.parser=this,void 0===f.yylloc&&(f.yylloc={});var g=f.yylloc;a.push(g);var y=f.options&&f.options.ranges;"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,b,x,_,k,w,T,E,C={};;){if(b=n[n.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==m&&(m=function(){var t;return"number"!=typeof(t=r.pop()||f.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),x=o[b]&&o[b][m]),void 0===x||!x.length||!x[0]){var S="";for(k in E=[],o[b])this.terminals_[k]&&k>2&&E.push("'"+this.terminals_[k]+"'");S=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(S,{text:f.match,token:this.terminals_[m]||m,line:f.yylineno,loc:g,expected:E})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+m);switch(x[0]){case 1:n.push(m),i.push(f.yytext),a.push(f.yylloc),n.push(x[1]),m=null,v?(m=v,v=null):(l=f.yyleng,s=f.yytext,c=f.yylineno,g=f.yylloc,u>0&&u--);break;case 2:if(w=this.productions_[x[1]][1],C.$=i[i.length-w],C._$={first_line:a[a.length-(w||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(w||1)].first_column,last_column:a[a.length-1].last_column},y&&(C._$.range=[a[a.length-(w||1)].range[0],a[a.length-1].range[1]]),void 0!==(_=this.performAction.apply(C,[s,l,c,d,x[1],i,a].concat(h))))return _;w&&(n=n.slice(0,-1*w*2),i=i.slice(0,-1*w),a=a.slice(0,-1*w)),n.push(this.productions_[x[1]][0]),i.push(C.$),a.push(C._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}};function u(){this.yy={}}return l.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),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(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var a in i)this[a]=i[a];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,r,i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){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;
1case 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}}},u.prototype=l,l.Parser=u,new u}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)},e.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),process.exit(1));var r=n(9143).readFileSync(n(6470).normalize(t[1]),"utf8");return e.parser.parse(r)},n.c[n.s]===t&&e.main(process.argv.slice(1))},9609:t=>{var e=/^(%20|\s)*(javascript|data)/im,n=/[^\x20-\x7E]/gim,r=/^([^:]+):/gm,i=[".","/"];t.exports={sanitizeUrl:function(t){if(!t)return"about:blank";var a,o,s=t.replace(n,"").trim();return i.indexOf(s[0])>-1?s:(o=s.match(r))?(a=o[0],e.test(a)?"about:blank":s):"about:blank"}}},3841:t=>{t.exports=function(t,e){return t.intersect(e)}},7458:(t,e,n)=>{n.d(e,{Z:()=>vu});var r=n(1941),i=n.n(r),a={debug:1,info:2,warn:3,error:4,fatal:5},o={debug:function(){},info:function(){},warn:function(){},error:function(){},fatal:function(){}},s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fatal";isNaN(t)&&void 0!==a[t=t.toLowerCase()]&&(t=a[t]),o.trace=function(){},o.debug=function(){},o.info=function(){},o.warn=function(){},o.error=function(){},o.fatal=function(){},t<=a.fatal&&(o.fatal=console.error?console.error.bind(console,c("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",c("FATAL"))),t<=a.error&&(o.error=console.error?console.error.bind(console,c("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",c("ERROR"))),t<=a.warn&&(o.warn=console.warn?console.warn.bind(console,c("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",c("WARN"))),t<=a.info&&(o.info=console.info?console.info.bind(console,c("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",c("INFO"))),t<=a.debug&&(o.debug=console.debug?console.debug.bind(console,c("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",c("DEBUG")))},c=function(t){var e=i()().format("ss.SSS");return"%c".concat(e," : ").concat(t," : ")};function l(t){return t}function u(t){return"translate("+t+",0)"}function h(t){return"translate(0,"+t+")"}function f(){return!this.__axis}function d(t,e){var n=[],r=null,i=null,a=6,o=6,s=3,c="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,d=1===t||4===t?-1:1,p=4===t||2===t?"x":"y",g=1===t||3===t?u:h;function y(u){var h=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,y=null==i?e.tickFormat?e.tickFormat.apply(e,n):l:i,m=Math.max(a,0)+s,v=e.range(),b=+v[0]+c,x=+v[v.length-1]+c,_=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}:function(t){return e=>+t(e)})(e.copy(),c),k=u.selection?u.selection():u,w=k.selectAll(".domain").data([null]),T=k.selectAll(".tick").data(h,e).order(),E=T.exit(),C=T.enter().append("g").attr("class","tick"),S=T.select("line"),A=T.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),T=T.merge(C),S=S.merge(C.append("line").attr("stroke","currentColor").attr(p+"2",d*a)),A=A.merge(C.append("text").attr("fill","currentColor").attr(p,d*m).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),u!==k&&(w=w.transition(u),T=T.transition(u),S=S.transition(u),A=A.transition(u),E=E.transition(u).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=_(t))?g(t+c):this.getAttribute("transform")}),C.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:_(t))+c)})),E.remove(),w.attr("d",4===t||2===t?o?"M"+d*o+","+b+"H"+c+"V"+x+"H"+d*o:"M"+c+","+b+"V"+x:o?"M"+b+","+d*o+"V"+c+"H"+x+"V"+d*o:"M"+b+","+c+"H"+x),T.attr("opacity",1).attr("transform",function(t){return g(_(t)+c)}),S.attr(p+"2",d*a),A.attr(p,d*m).text(y),k.filter(f).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),k.each(function(){this.__axis=_})}return y.scale=function(t){return arguments.length?(e=t,y):e},y.ticks=function(){return n=Array.from(arguments),y},y.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),y):n.slice()},y.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),y):r&&r.slice()},y.tickFormat=function(t){return arguments.length?(i=t,y):i},y.tickSize=function(t){return arguments.length?(a=o=+t,y):a}
vendor: 4,239 bytes, line 1
1,y.tickSizeInner=function(t){return arguments.length?(a=+t,y):a},y.tickSizeOuter=function(t){return arguments.length?(o=+t,y):o},y.tickPadding=function(t){return arguments.length?(s=+t,y):s},y.offset=function(t){return arguments.length?(c=+t,y):c},y}function p(){}function g(t){return null==t?p:function(){return this.querySelector(t)}}function y(){return[]}function m(t){return null==t?y:function(){return this.querySelectorAll(t)}}function v(t){return function(){return this.matches(t)}}function b(t){return function(e){return e.matches(t)}}var x=Array.prototype.find;function _(){return this.firstElementChild}var k=Array.prototype.filter;function w(){return Array.from(this.children)}function T(t){return Array(t.length)}function E(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function C(t,e,n,r,i,a){for(var o,s=0,c=e.length,l=a.length;s<l;++s)(o=e[s])?(o.__data__=a[s],r[s]=o):n[s]=new E(t,a[s]);for(;s<c;++s)(o=e[s])&&(i[s]=o)}function S(t,e,n,r,i,a,o){var s,c,l,u=new Map,h=e.length,f=a.length,d=Array(h);for(s=0;s<h;++s)(c=e[s])&&(d[s]=l=o.call(c,c.__data__,s,e)+"",u.has(l)?i[s]=c:u.set(l,c));for(s=0;s<f;++s)l=o.call(t,a[s],s,a)+"",(c=u.get(l))?(r[s]=c,c.__data__=a[s],u.delete(l)):n[s]=new E(t,a[s]);for(s=0;s<h;++s)(c=e[s])&&u.get(d[s])===c&&(i[s]=c)}function A(t){return t.__data__}function M(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}E.prototype={constructor:E,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var N="http://www.w3.org/1999/xhtml";let D={svg:"http://www.w3.org/2000/svg",xhtml:N,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function B(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),D.hasOwnProperty(e)?{space:D[e],local:t}:t}function O(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function L(t,e){return t.style.getPropertyValue(e)||O(t).getComputedStyle(t,null).getPropertyValue(e)}function I(t){return t.trim().split(/^|\s+/)}function F(t){return t.classList||new P(t)}function P(t){this._node=t,this._names=I(t.getAttribute("class")||"")}function R(t,e){for(var n=F(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function j(t,e){for(var n=F(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function Y(){this.textContent=""}function U(){this.innerHTML=""}function z(){this.nextSibling&&this.parentNode.appendChild(this)}function $(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function q(t){var e=B(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===N&&e.documentElement.namespaceURI===N?e.createElement(t):e.createElementNS(n,t)}})(e)}function H(){return null}function W(){var t=this.parentNode;t&&t.removeChild(this)}function V(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function G(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function X(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r<a;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function Z(t,e,n){return function(){var r,i=this.__on,a=function(t){e.call(this,t,this.__data__)};if(i){for(var o=0,s=i.length;o<s;++o)if((r=i[o]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=a,r.options=n),void(r.value=e)}this.addEventListener(t.type,a,n),r={type:t.type,name:t.name,value:e,listener:a,options:n},i?i.push(r):this.__on=[r]}}function Q(t,e,n){var r=O(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dis
1patchEvent(i)}P.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var K=[null];function J(t,e){this._groups=t,this._parents=e}function tt(){return new J([[document.documentElement]],K)}J.prototype=tt.prototype={constructor:J,select:function(t){"function"!=typeof t&&(t=g(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,o,s=e[i],c=s.length,l=r[i]=Array(c),u=0;u<c;++u)(a=s[u])&&(o=t.call(a,a.__data__,u,s))&&("__data__"in a&&(o.__data__=a.__data__),l[u]=o);return new J(r,this._parents)},selectAll:function(t){var e;t="function"==typeof t?(e=t,function(){var t;return t=e.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}):m(t);for(var n=this._groups,r=n.length,i=[],a=[],o=0;o<r;++o)for(var s,c=n[o],l=c.length,u=0;
1u<l;++u)(s=c[u])&&(i.push(t.call(s,s.__data__,u,c)),a.push(s));return new J(i,a)},selectChild:function(t){var e;return this.select(null==t?_:(e="function"==typeof t?t:b(t),function(){return x.call(this.children,e)}))},selectChildren:function(t){var e;return this.selectAll(null==t?w:(e="function"==typeof t?t:b(t),function(){return k.call(this.children,e)}))},filter:function(t){"function"!=typeof t&&(t=v(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,o=e[i],s=o.length,c=r[i]=[],l=0;l<s;++l)(a=o[l])&&t.call(a,a.__data__,l,o)&&c.push(a);return new J(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,A);var n=e?S:C,r=this._parents,i=this._groups;"function"!=typeof t&&(m=t,t=function(){return m});for(var a=i.length,o=Array(a),s=Array(a),c=Array(a),l=0;l<a;++l){var u=r[l],h=i[l],f=h.length,d="object"==typeof(v=t.call(u,u&&u.__data__,l,r))&&"length"in v?v:Array.from(v),p=d.length,g=s[l]=Array(p),y=o[l]=Array(p);n(u,h,g,y,c[l]=Array(f),d,e);for(var m,v,b,x,_=0,k=0;_<p;++_)if(b=g[_]){for(_>=k&&(k=_+1);!(x=y[k])&&++k<p;);b._next=x||null}}return(o=new J(o,r))._enter=s,o._exit=c,o},enter:function(){return new J(this._enter||this._groups.map(T),this._parents)},exit:function(){return new J(this._exit||this._groups.map(T),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,a=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,a=r.length,o=Math.min(i,a),s=Array(i),c=0;c<o;++c)for(var l,u=n[c],h=r[c],f=u.length,d=s[c]=Array(f),p=0;p<f;++p)(l=u[p]||h[p])&&(d[p]=l);for(;c<i;++c)s[c]=n[c];return new J(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=M);for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var o,s=n[a],c=s.length,l=i[a]=Array(c),u=0;u<c;++u)(o=s[u])&&(l[u]=o);l.sort(e)}return new J(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null},size:function(){let t=0;for(let e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,a=e[n],o=0,s=a.length;o<s;++o)(i=a[o])&&t.call(i,i.__data__,o,a);return this},attr:function(t,e){var n=B(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?n.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:n.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):L(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=I(t+"");
1if(arguments.length<2){for(var r=F(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?R:j)(this,t)}}:e?function(t){return function(){R(this,t)}}:function(t){return function(){j(this,t)}})(n,e))},text:function(t){return arguments.length?this.each(null==t?Y:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?U:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(z)},lower:function(){return this.each($)},append:function(t){var e="function"==typeof t?t:q(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:q(t),r=null==e?H:"function"==typeof e?e:g(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(W)},clone:function(t){return this.select(t?G:V)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,a=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),o=a.length;if(!(arguments.length<2)){for(s=e?Z:X,r=0;r<o;++r)this.each(s(a[r],e,n));return this}var s=this.node().__on;if(s){for(var c,l=0,u=s.length;l<u;++l)for(r=0,c=s[l];r<o;++r)if((i=a[r]).type===c.type&&i.name===c.name)return c.value}},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return Q(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return Q(this,t,e)}})(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],a=0,o=i.length;a<o;++a)(r=i[a])&&(yield r)}};var te={value:()=>{}};function tn(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw Error("illegal type: "+t);r[t]=[]}return new tr(r)}function tr(t){this._=t}function ti(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=te,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}tr.prototype=tn.prototype={constructor:tr,on:function(t,e){var n,r=this._,i=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),a=-1,o=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw Error("invalid callback: "+e);for(;++a<o;)if(n=(t=i[a]).type)r[n]=ti(r[n],t.name,e);else if(null==e)for(n in r)r[n]=ti(r[n],t.name,null);return this}for(;++a<o;)if((n=(t=i[a]).type)&&(n=function(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new tr(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(a=0,n=(r=this._[t]).length;a<n;++a)r[a].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var r=this._[t],i=0,a=r.length;i<a;++i)r[i].value.apply(e,n)}};var ta,to,ts=0,tc=0,tl=0,tu=0,th=0,tf=0,td="object"==typeof performance&&performance.now?performance:Date,tp="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function tg(){return th||(tp(ty),th=td.now()+tf)}function ty(){th=0}function tm(){this._call=this._time=this._next=null}function tv(t,e,n){var r=new tm;return r.restart(t,e,n),r}function tb(){th=(tu=td.now())+tf,ts=tc=0;try{tg(),++ts;for(var t,e=ta;e;)(t=th-e._time)>=0&&e._call.call(void 0,t),e=e._next;--ts}finally{ts=0,function(){for(var t,e,n=ta,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:ta=e);to=t,t_(r)}(),th=0}}function tx(){var t=td.now(),e=t-tu;e>
vendor: 7,626 bytes, line 1
11e3&&(tf-=e,tu=t)}function t_(t){ts||(tc&&(tc=clearTimeout(tc)),t-th>24?(t<1/0&&(tc=setTimeout(tb,t-td.now()-tf)),tl&&(tl=clearInterval(tl))):(tl||(tu=td.now(),tl=setInterval(tx,1e3)),ts=1,tp(tb)))}function tk(t,e,n){var r=new tm;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}tm.prototype=tv.prototype={constructor:tm,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?tg():+n)+(null==e?0:+e),this._next||to===this||(to?to._next=this:ta=this,to=this),this._call=t,this._time=n,t_()},stop:function(){this._call&&(this._call=null,this._time=1/0,t_())}};var tw=tn("start","end","cancel","interrupt"),tT=[];function tE(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(c){var l,u,h,f;if(1!==n.state)return s();for(l in i)if((f=i[l]).name===n.name){if(3===f.state)return tk(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+l<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[l])}if(tk(function(){3===n.state&&(n.state=4,n.timer.restart(o,n.delay,n.time),o(c))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=Array(h=n.tween.length),l=0,u=-1;l<h;++l)(f=n.tween[l].value.call(t,t.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function o(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(s),n.state=5,1),a=-1,o=r.length;++a<o;)r[a].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),s())}function s(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=tv(function(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)},0,n.time)}(t,n,{name:e,index:r,group:i,on:tw,tween:tT,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function tC(t,e){var n=tA(t,e);if(n.state>0)throw Error("too late; already scheduled");return n}function tS(t,e){var n=tA(t,e);if(n.state>3)throw Error("too late; already running");return n}function tA(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw Error("transition not found");return n}function tM(t,e){return t*=1,e*=1,function(n){return t*(1-n)+e*n}}var tN,tD=180/Math.PI,tB={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tO(t,e,n,r,i,a){var o,s,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*tD,skewX:Math.atan(c)*tD,scaleX:o,scaleY:s}}function tL(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(a,o){var s,c,l,u,h=[],f=[];return a=t(a),o=t(o),function(t,r,i,a,o,s){if(t!==i||r!==a){var c=o.push("translate(",null,e,null,n);s.push({i:c-4,x:tM(t,i)},{i:c-2,x:tM(r,a)})}else(i||a)&&o.push("translate("+i+e+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,h,f),s=a.rotate,c=o.rotate,s!==c?(s-c>180?c+=360:c-s>180&&(s+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:tM(s,c)})):c&&h.push(i(h)+"rotate("+c+r),l=a.skewX,u=o.skewX,l!==u?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:tM(l,u)}):u&&h.push(i(h)+"skewX("+u+r),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:tM(t,n)},{i:s-2,x:tM(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,h,f),a=o=null,function(t){for(var e,n=-1,r=f.length;++n<r;)h[(e=f[n]).i]=e.x(t);return h.join("")}}}var tI=tL(function(t){let e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?tB:tO(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),tF=tL(function(t){return null==t?tB:(tN||(tN=document.createElementNS("http://www.w3.org/2000/svg","g")),tN.setAttribute("transform",t),(t=tN.transform.baseVal.consolidate())?tO((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):tB)},", ",")",")");function tP(t,e,n){var r=t._id;return t.each(function(){var t=tS(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return tA(t,r).value[e]}}function tR(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function tj(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function tY(){}var tU="\\s*([+-]?\\d+)\\s*",tz="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",t$="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",tq=/^#([0-9a-f]{3,8})$/,tH=RegExp("^rgb\\("+[tU,tU,tU]+"\\)$"),tW=RegExp("^rgb\\("+[t$,t$,t$]+"\\)$"),tV=RegExp("^rgba\\("+[tU,tU,tU,tz]+"\\)$"),tG=RegExp("^rgba\\("+[t$,t$,t$,tz]+"\\)$"),tX=RegExp("^hsl\\("+[tz,t$,t$]+"\\)$"),tZ=RegExp("^hsla\\("+[tz,t$,t$,tz]+"\\)$"),tQ={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function tK(){return this.rgb().formatHex()}function tJ(){return this.rgb().formatRgb()}function t0(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=tq.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?t1(e):3===n?
1new t5(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?t2(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?t2(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=tH.exec(t))?new t5(e[1],e[2],e[3],1):(e=tW.exec(t))?new t5(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=tV.exec(t))?t2(e[1],e[2],e[3],e[4]):(e=tG.exec(t))?t2(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=tX.exec(t))?t7(e[1],e[2]/100,e[3]/100,1):(e=tZ.exec(t))?t7(e[1],e[2]/100,e[3]/100,e[4]):tQ.hasOwnProperty(t)?t1(tQ[t]):"transparent"===t?new t5(NaN,NaN,NaN,0):null}function t1(t){return new t5(t>>16&255,t>>8&255,255&t,1)}function t2(t,e,n,r){return r<=0&&(t=e=n=NaN),new t5(t,e,n,r)}function t3(t,e,n,r){var i;return 1==arguments.length?((i=t)instanceof tY||(i=t0(i)),i?new t5((i=i.rgb()).r,i.g,i.b,i.opacity):new t5):new t5(t,e,n,null==r?1:r)}function t5(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function t4(){return"#"+t8(this.r)+t8(this.g)+t8(this.b)}function t6(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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===t?")":", "+t+")")}function t8(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function t7(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new et(t,e,n,r)}function t9(t){if(t instanceof et)return new et(t.h,t.s,t.l,t.opacity);if(t instanceof tY||(t=t0(t)),!t)return new et;if(t instanceof et)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n<r):n===a?(r-e)/s+2:(e-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new et(o,s,c,t.opacity)}function et(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function ee(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function en(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}tR(tY,t0,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:tK,formatHex:tK,formatHsl:function(){return t9(this).formatHsl()},formatRgb:tJ,toString:tJ}),tR(t5,t3,tj(tY,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new t5(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new t5(this.r*t,this.g*t,this.b*t,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:t4,formatHex:t4,formatRgb:t6,toString:t6})),tR(et,function(t,e,n,r){return 1==arguments.length?t9(t):new et(t,e,n,null==r?1:r)},tj(tY,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new et(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new et(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new t5(ee(t>=240?t-240:t+120,i,r),ee(t,i,r),ee(t<120?t+240:t-120,i,r),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 t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));let er=t=>()=>t;function ei(t,e){var n=e-t;return n?function(e){return t+e*n}:er(isNaN(t)?e:t)}let ea=function t(e){var n,r=1==(n=+e)?ei:function(t,e){var r,i,a;return e-t?(r=t,i=e,r=Math.pow(r,a=n),i=Math.pow(i,a)-r,a=1/a,function(t){return Math.pow(r+t*i,a)}):er(isNaN(t)?e:t)};function i(t,e){var n=r((t=t3(t)).r,(e=t3(e)).r),i=r(t.g,e.g),a=r(t.b,e.b),o=ei(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function eo(t){return function(e){var n,r,i=e.length,a=Array(i),o=Array(i),s=Array(i);for(n=0;n<i;++n)r=t3(e[n]),a[n]=r.r||0,o[n]=r.g||0,s[n]=r.b||0;return a=t(a),o=t(o),s=t(s),r.opacity=1,function(t){return r.r=a(t),r.g=o(t),r.b=s(t),r+""}}}eo(function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],a=t[r+1],o=r>0?t[r-1]:2*i-a,s=r<e-1?t[r+2]:2*a-i;return en((n-r/e)*e,o,i,a,s)}}),eo(function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],a=t[r%e],o=t[(r+1)%e],s=t[(r+2)%e];return en((n-r/e)*e,i,a,o,s)}});var es=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ec=RegExp(es.source,"g");function el(t,e){var n;return("number"==typeof e?tM:e instanceof t0?ea:(n=t0(e))?(e=n,ea):function(t,e){var n,r,i,a,o,s=es.lastIndex=ec.lastIndex=0,c=-1,l=[],u=[];for(t+="",e+="";(i=es.exec(t))&&(a=ec.exec(e));)(o=a.index)>s&&(o=e.slice(s,o),l[c]?l[c]+=o:l[++c]=o),(i=i[0])===(a=a[0])?l[c]?l[c]+=a:l[++c]=a:(l[++c]=null,u.push({i:c,x:tM(i,a)})),s=ec.lastIndex;return s<e.length&&(o=e.slice(s),l[c]?l[c]+=o:l[++c]=o),l.length<2?u[0]?(n=u[0].x,function(t){return n(t)+""}):(r=e,function(){return r}):(e=u.length,function(t){for(var n,r=0;r<e;++r)l[(n=u[r]).i]=n.x(t);return l.join("")})})(t,e)}var eu=tt.prototype.constructor;function eh(t){return function(){this.style.removeProperty(t)}}var ef=0;function ed(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}var ep=tt.prototype;ed.prototype=(function(t){return tt().transition(t)}).prototype={constructor:ed,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=g(t));for(var r=this._groups,i=r.length,a=Array(i),o=0;o<i;++o)for(var s,c,l=r[o],u=l.length,h=a[o]=Array(u),f=0;f<u;++f)(s=l[f])&&(c=t.call(s,s.__data__,f,l))&&("__data__"in s&&(c.__data__=s.__data__),h[f]=c,tE(h[f],e,n,f,h,tA(s,n)));return new ed(a,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=m(t));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var c,l=r[s],u=l.length,h=0;h<u;++h)if(c=l[h]){for(var f,d=t.call(c,c.__data__,h,l),p=tA(c,n),g=0,y=d.length;g<y;++g)(f=d[g])&&tE(f,e,n,g,d,p);a.push(d),o.push(c)}return new ed(a,o,e,n)},selectChild:ep.selectChild,selectChildren:ep.selectChildren,filter:function(t){"function"!=typeof t&&(t=v(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,o=e[i],s=o.length,c=r[i]=[],l=0;l<s;++l)(a=o[l])&&t.call(a,a.__data__,l,o)&&c.push(a);return new ed(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=Array(r),s=0;s<a;++s)for(var c,l=e[s],u=n[s],h=l.length,f=o[s]=Array(h),d=0;d<h;++d)(c=l[d]||u[d])&&(f[d]=c);for(;s<r;++s)o[s]=e[s];return new ed(o,this._parents,this._name,this._id)},selection:function(){return new eu(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=++ef,r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],c=s.length,l=0;l<c;++l)if(o=s[l]){var u=tA(o,e);tE(o,t,n,l,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new ed(r,this._parents,t,n)},call:ep.call,nodes:ep.nodes,node:ep.node,size:ep.size,empty:ep.empty,each:ep.each,on:function(t,e){var n,r,i,a,o,s,c=this._id;return arguments.length<2?tA(this.node(),c).on.on(t):this.each((n=c,r=t,i=e,s=(r+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>
1=0&&(t=t.slice(0,e)),!t||"start"===t})?tC:tS,function(){var t=s(this,n),e=t.on;e!==a&&(o=(a=e).copy()).on(r,i),t.on=o}))},attr:function(t,e){var n=B(t),r="transform"===n?tF:el;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,i,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:o===r&&s===i?a:(i=s,a=e(r=o,c));this.removeAttributeNS(t.space,t.local)}}:function(t,e,n){var r,i,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttribute(t))===(s=c+"")?null:o===r&&s===i?a:(i=s,a=e(r=o,c));this.removeAttribute(t)}})(n,r,tP(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===r?i:i=e(r=o,n)}}:function(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttribute(t);return o===a?null:o===r?i:i=e(r=o,n)}})(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();var r=B(t);return this.tween(n,(r.local?function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttributeNS(t.space,t.local,i.call(this,e))}),n}return i._value=e,i}:function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttribute(t,i.call(this,e))}),n}return i._value=e,i})(r,e))},style:function(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,p,g,y,m,v,b,x,_,k,w,T="transform"==(t+="")?tI:el;return null==e?this.styleTween(t,(r=t,function(){var t=L(this,r),e=(this.style.removeProperty(r),L(this,r));return t===e?null:t===i&&e===a?o:o=T(i=t,a=e)})).on("end.style."+t,eh(t)):"function"==typeof e?this.styleTween(t,(s=t,c=tP(this,"style."+t,e),function(){var t=L(this,s),e=c(this),n=e+"";return null==e&&(this.style.removeProperty(s),n=e=L(this,s)),t===n?null:t===l&&n===u?h:(u=n,h=T(l=t,e))})).each((f=this._id,b="end."+(v="style."+(d=t)),function(){var t=tS(this,f),e=t.on,n=null==t.value[v]?m||(m=eh(d)):void 0;e===p&&y===n||(g=(p=e).copy()).on(b,y=n),t.on=g})):this.styleTween(t,(x=t,w=e+"",function(){var t=L(this,x);return t===w?null:t===_?k:k=T(_=t,e)}),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();return this.tween(r,function(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&function(e){this.style.setProperty(t,a.call(this,e),n)}),r}return a._value=e,a}(t,e,null==n?"":n))},text:function(t){var e,n;return this.tween("text","function"==typeof t?(e=tP(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(n=null==t?"":t+"",function(){this.textContent=n}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=tA(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===t)return r.value;return null}return this.each((null==e?function(t,e){var n,r;return function(){var i=tS(this,t),a=i.tween;if(a!==n){for(var o=0,s=(r=n=a).length;o<s;++o)if(r[o].name===e){(r=r.slice()).splice(o,1);break}}i.tween=r}}:function(t,e,n){var r,i;if("function"!=typeof n)throw Error();return function(){var a=tS(this,t),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:e,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===e){i[c]=s;break}c===l&&i.push(s)}a.tween=i}})(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tC(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tC(this,t).delay=e}})(e,t)):tA(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tS(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tS(this,t).duration=e}})(e,t)):tA(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw Error();return function(){tS(this,t).ease=e}}(e,t)):tA(this.node(),e).ease},easeVarying:function(t){var e;if("function"!=typeof t)throw Error();return this.each((e=this._id,function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw Error();tS(this,e).ease=n}))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(a,o){var s={value:o},c={value:function(){0==--i&&a()}};n.each(function(){var n=tS(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e}),0===i&&a()})},[Symbol.iterator]:ep[Symbol.iterator]};var eg={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};tt.prototype.interrupt=function(t){return this.each(function(){!function(t,e){var n,r,i,a=t.__transition,o=!0;if(a){for(i in e=null==e?null:e+"",a)(n=a[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}(this,t)})},tt.prototype.transition=function(t){var e,n;t instanceof ed?(e=t._id,t=t._name):(e=++ef,(n=eg).time=tg(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],c=s.length,l=0;l<c;++l)(o=s[l])&&tE(o,t,e,l,s,n||function(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw Error(`transition ${e} not found`);return n}(o,e));return new ed(r,this._parents,t,e)};let{abs:ey,max:em,min:ev}=Math;function eb(t){return{type:t}}function ex(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function e_(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function ek(){}["w","e"].map(eb),["n","s"].map(eb),["n","w","e","s","nw","ne","sw","se"].map(eb);var ew="\\s*([+-]?\\d+)\\s*",eT="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",eE="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",eC=/^#([0-9a-f]{3,8})$/,eS=RegExp("^rgb\\("+[ew,ew,ew]+"\\)$"),eA=RegExp("^rgb\\("+[eE,eE,eE]+"\\)$"),eM=RegExp("^rgba\\("+[ew,ew,ew,eT]+"\\)$"),eN=RegExp("^rgba\\("+[eE,eE,eE,eT]+"\\)$"),eD=RegExp("^hsl\\("+[eT,eE,eE]+"\\)$"),eB=RegExp("^hsla\\("+[eT,eE,eE,eT]+"\\)$"),eO={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function eL(){return this.rgb().formatHex()}function eI(){return this.rgb().formatRgb()}function eF(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=eC.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?eP(e):3===n?
vendor: 4,162 bytes, line 1
1new eU(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?eR(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?eR(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=eS.exec(t))?new eU(e[1],e[2],e[3],1):(e=eA.exec(t))?new eU(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=eM.exec(t))?eR(e[1],e[2],e[3],e[4]):(e=eN.exec(t))?eR(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=eD.exec(t))?eH(e[1],e[2]/100,e[3]/100,1):(e=eB.exec(t))?eH(e[1],e[2]/100,e[3]/100,e[4]):eO.hasOwnProperty(t)?eP(eO[t]):"transparent"===t?new eU(NaN,NaN,NaN,0):null}function eP(t){return new eU(t>>16&255,t>>8&255,255&t,1)}function eR(t,e,n,r){return r<=0&&(t=e=n=NaN),new eU(t,e,n,r)}function ej(t){return t instanceof ek||(t=eF(t)),t?new eU((t=t.rgb()).r,t.g,t.b,t.opacity):new eU}function eY(t,e,n,r){return 1==arguments.length?ej(t):new eU(t,e,n,null==r?1:r)}function eU(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function ez(){return"#"+eq(this.r)+eq(this.g)+eq(this.b)}function e$(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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===t?")":", "+t+")")}function eq(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function eH(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new eV(t,e,n,r)}function eW(t){if(t instanceof eV)return new eV(t.h,t.s,t.l,t.opacity);if(t instanceof ek||(t=eF(t)),!t)return new eV;if(t instanceof eV)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n<r):n===a?(r-e)/s+2:(e-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new eV(o,s,c,t.opacity)}function eV(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function eG(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}ex(ek,eF,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:eL,formatHex:eL,formatHsl:function(){return eW(this).formatHsl()},formatRgb:eI,toString:eI}),ex(eU,eY,e_(ek,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new eU(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new eU(this.r*t,this.g*t,this.b*t,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:ez,formatHex:ez,formatRgb:e$,toString:e$})),ex(eV,function(t,e,n,r){return 1==arguments.length?eW(t):new eV(t,e,n,null==r?1:r)},e_(ek,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new eV(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new eV(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new eU(eG(t>=240?t-240:t+120,i,r),eG(t,i,r),eG(t<120?t+240:t-120,i,r),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 t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));let eX=Math.PI/180,eZ=180/Math.PI,eQ=4/29,eK=6/29,eJ=6/29*3*(6/29);function e0(t){if(t instanceof e1)return new e1(t.l,t.a,t.b,t.opacity);if(t instanceof e8)return e7(t);t instanceof eU||(t=ej(t));var e,n,r=e4(t.r),i=e4(t.g),a=e4(t.b),o=e2((.2225045*r+.7168786*i+.0606169*a)/1);return r===i&&i===a?e=n=o:(e=e2((.4360747*r+.3850649*i+.1430804*a)/.96422),n=e2((.0139322*r+.0971045*i+.7141733*a)/.82521)),new e1(116*o-16,500*(e-o),200*(o-n),t.opacity)}function e1(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function e2(t){return t>.008856451679035631?Math.pow(t,1/3):t/eJ+eQ}function e3(t){return t>eK?t*t*t:eJ*(t-eQ)}
1function e5(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function e4(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function e6(t,e,n,r){return 1==arguments.length?function(t){if(t instanceof e8)return new e8(t.h,t.c,t.l,t.opacity);if(t instanceof e1||(t=e0(t)),0===t.a&&0===t.b)return new e8(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*eZ;return new e8(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new e8(t,e,n,null==r?1:r)}function e8(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function e7(t){if(isNaN(t.h))return new e1(t.l,0,0,t.opacity);var e=t.h*eX;return new e1(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}ex(e1,function(t,e,n,r){return 1==arguments.length?e0(t):new e1(t,e,n,null==r?1:r)},e_(ek,{brighter:function(t){return new e1(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new e1(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new eU(e5(3.1338561*(e=.96422*e3(e))-1.6168667*(t=+e3(t))-.4906146*(n=.82521*e3(n))),e5(-.9787684*e+1.9161415*t+.033454*n),e5(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),ex(e8,e6,e_(ek,{brighter:function(t){return new e8(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new e8(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return e7(this).rgb()}}));let e9=t=>()=>t;function nt(t,e){return function(n){return t+n*e}}function ne(t,e){var n=e-t;return n?nt(t,n):e9(isNaN(t)?e:t)}function nn(t){return function(e,n){var r=t((e=e6(e)).h,(n=e6(n)).h),i=ne(e.c,n.c),a=ne(e.l,n.l),o=ne(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=a(t),e.opacity=o(t),e+""}}}let nr=nn(function(t,e){var n=e-t;return n?nt(t,n>180||n<-180?n-360*Math.round(n/360):n):e9(isNaN(t)?e:t)});nn(ne);var ni=Math.sqrt(50),na=Math.sqrt(10),no=Math.sqrt(2);function ns(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,i);return i>=0?(a>=ni?10:a>=na?5:a>=no?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=ni?10:a>=na?5:a>=no?2:1)}function nc(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return a>=ni?i*=10:a>=na?i*=5:a>=no&&(i*=2),e<t?-i:i}function nl(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function nu(t){let e=t,n=t,r=t;function i(t,e,a=0,o=t.length){if(a<o){if(0!==n(e,e))return o;do{let n=a+o>>>1;0>r(t[n],e)?a=n+1:o=n}while(a<o)}return a}return 2!==t.length&&(e=(e,n)=>t(e)-n,n=nl,r=(e,n)=>nl(t(e),n)),{left:i,center:function(t,n,r=0,a=t.length){let o=i(t,n,r,a-1);return o>r&&e(t[o-1],n)>-e(t[o],n)?o-1:o},right:function(t,e,i=0,a=t.length){if(i<a){if(0!==n(e,e))return a;do{let n=i+a>>>1;0>=r(t[n],e)?i=n+1:a=n}while(i<a)}return i}}}let nh=nu(nl),nf=nh.right,nd=(nh.left,nu(function(t){return null===t?NaN:+t}).center,nf);function np(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function ng(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function ny(){}var nm="\\s*([+-]?\\d+)\\s*",nv="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",nb="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",nx=/^#([0-9a-f]{3,8})$/,n_=RegExp("^rgb\\("+[nm,nm,nm]+"\\)$"),nk=RegExp("^rgb\\("+[nb,nb,nb]+"\\)$"),nw=RegExp("^rgba\\("+[nm,nm,nm,nv]+"\\)$"),nT=RegExp("^rgba\\("+[nb,nb,nb,nv]+"\\)$"),nE=RegExp("^hsl\\("+[nv,nb,nb]+"\\)$"),nC=RegExp("^hsla\\("+[nv,nb,nb,nv]+"\\)$"),nS={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function nA(){return this.rgb().formatHex()}function nM(){return this.rgb().formatRgb()}function nN(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=nx.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?nD(e):3===n?
1new nL(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?nB(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?nB(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=n_.exec(t))?new nL(e[1],e[2],e[3],1):(e=nk.exec(t))?new nL(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=nw.exec(t))?nB(e[1],e[2],e[3],e[4]):(e=nT.exec(t))?nB(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=nE.exec(t))?nR(e[1],e[2]/100,e[3]/100,1):(e=nC.exec(t))?nR(e[1],e[2]/100,e[3]/100,e[4]):nS.hasOwnProperty(t)?nD(nS[t]):"transparent"===t?new nL(NaN,NaN,NaN,0):null}function nD(t){return new nL(t>>16&255,t>>8&255,255&t,1)}function nB(t,e,n,r){return r<=0&&(t=e=n=NaN),new nL(t,e,n,r)}function nO(t,e,n,r){var i;return 1==arguments.length?((i=t)instanceof ny||(i=nN(i)),i?new nL((i=i.rgb()).r,i.g,i.b,i.opacity):new nL):new nL(t,e,n,null==r?1:r)}function nL(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function nI(){return"#"+nP(this.r)+nP(this.g)+nP(this.b)}function nF(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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===t?")":", "+t+")")}function nP(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function nR(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new nY(t,e,n,r)}function nj(t){if(t instanceof nY)return new nY(t.h,t.s,t.l,t.opacity);if(t instanceof ny||(t=nN(t)),!t)return new nY;if(t instanceof nY)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n<r):n===a?(r-e)/s+2:(e-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new nY(o,s,c,t.opacity)}function nY(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function nU(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function nz(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}np(ny,nN,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:nA,formatHex:nA,formatHsl:function(){return nj(this).formatHsl()},formatRgb:nM,toString:nM}),np(nL,nO,ng(ny,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new nL(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new nL(this.r*t,this.g*t,this.b*t,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:nI,formatHex:nI,formatRgb:nF,toString:nF})),np(nY,function(t,e,n,r){return 1==arguments.length?nj(t):new nY(t,e,n,null==r?1:r)},ng(ny,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new nY(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new nY(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new nL(nU(t>=240?t-240:t+120,i,r),nU(t,i,r),nU(t<120?t+240:t-120,i,r),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 t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));let n$=t=>()=>t;function nq(t,e){var n=e-t;return n?function(e){return t+e*n}:n$(isNaN(t)?e:t)}let nH=function t(e){var n,r=1==(n=+e)?nq:function(t,e){var r,i,a;return e-t?(r=t,i=e,r=Math.pow(r,a=n),i=Math.pow(i,a)-r,a=1/a,function(t){return Math.pow(r+t*i,a)}):n$(isNaN(t)?e:t)};function i(t,e){var n=r((t=nO(t)).r,(e=nO(e)).r),i=r(t.g,e.g),a=r(t.b,e.b),o=nq(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function nW(t){return function(e){var n,r,i=e.length,a=Array(i),o=Array(i),s=Array(i);for(n=0;n<i;++n)r=nO(e[n]),a[n]=r.r||0,o[n]=r.g||0,s[n]=r.b||0;return a=t(a),o=t(o),s=t(s),r.opacity=1,function(t){return r.r=a(t),r.g=o(t),r.b=s(t),r+""}}}function nV(t,e){return t*=1,e*=1,function(n){return t*(1-n)+e*n}}nW(function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],a=t[r+1],o=r>0?t[r-1]:2*i-a,s=r<e-1?t[r+2]:2*a-i;return nz((n-r/e)*e,o,i,a,s)}}),nW(function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],a=t[r%e],o=t[(r+1)%e],s=t[(r+2)%e];return nz((n-r/e)*e,i,a,o,s)}});var nG=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,nX=RegExp(nG.source,"g");function nZ(t,e){return t*=1,e*=1,function(n){return Math.round(t*(1-n)+e*n)}}function nQ(t){return+t}var nK=[0,1];function nJ(t){return t}function n0(t,e){var n;return(e-=t*=1)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n})}function n1(t,e,n){var r=t[0],i=t[1],a=e[0],o=e[1];return i<r?(r=n0(i,r),a=n(o,a)):(r=n0(r,i),a=n(a,o)),function(t){return a(r(t))}}function n2(t,e,n){var r=Math.min(t.length,e.length)-1,i=Array(r),a=Array(r),o=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<r;)i[o]=n0(t[o],t[o+1]),a[o]=n(e[o],e[o+1]);return function(e){var n=nd(t,e,1,r)-1;return a[n](i[n](e))}}function n3(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function n5(){return(function(){var t,e,n,r,i,a,o=nK,s=nK,c=function t(e,n){var r,i,a=typeof n;return null==n||"boolean"===a?n$(n):("number"===a?nV:"string"===a?(r=nN(n))?(n=r,nH):function(t,e){var n,r,i,a,o,s=nG.lastIndex=nX.lastIndex=0,c=-1,l=[],u=[];for(t+="",e+="";(i=nG.exec(t))&&(a=nX.exec(e));)(o=a.index)>s&&(o=e.slice(s,o),l[c]?l[c]+=o:l[++c]=o),(i=i[0])===(a=a[0])?l[c]?l[c]+=a:l[++c]=a:(l[++c]=null,u.push({i:c,x:nV(i,a)})),s=nX.lastIndex;return s<e.length&&(o=e.slice(s),l[c]?l[c]+=o:l[++c]=o),l.length<2?u[0]?(n=u[0].x,function(t){return n(t)+""}):(r=e,function(){return r}):(e=u.length,function(t){for(var n,r=0;r<e;++r)l[(n=u[r]).i]=n.x(t);return l.join("")})}:n instanceof nN?nH:n instanceof Date?function(t,e){var n=new Date;return t*=1,e*=1,function(r){return n.setTime(t*(1-r)+e*r),n}}:!ArrayBuffer.isView(i=n)||i instanceof DataView?Array.isArray(n)?function(e,n){var r,i=n?n.length:0,a=e?Math.min(i,e.length):0,o=Array(a),s=Array(i);for(r=0;r<a;++r)o[r]=t(e[r],n[r]);for(;r<i;++r)s[r]=n[r];return function(t){for(r=0;r<a;++r)s[r]=o[r](t);return s}}:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?function(e,n){var r,i={},a={};for(r in null!==e&&"object"==typeof e||(e={}),null!==n&&"object"==typeof n||(n={}),n)r in e?i[r]=t(e[r],n[r]):a[r]=n[r];return function(t){for(r in i)a[r]=i[r](t);return a}}:nV:function(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(a){for(n=0;n<r;++n)i[n]=t[n]*(1-a)+e[n]*a;return i}})(e,n)},l=nJ;function u(){var t,e,n,c=Math.min(o.length,s.length);return l!==nJ&&(t=o[0],e=o[c-1],t>e&&(n=t,t=e,e=n),l=function(n){return Math.max(t,Math.min(e,n))}),r=c>2?n2:n1,i=a=null,h}function h(e){return null==e||isNaN(e*=1)?n:(i||(i=r(o.map(t),s,c)))(t(l(e)))}return h.invert=function(n){return l(e((a||(a=r(s,o.map(t),nV)))(n)))},h.domain=function(t){return arguments.length?(o=Array.from(t,nQ),u()):o.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),u()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),c=nZ,u()},h.clamp=function(t){return arguments.length?(l=!!t||nJ,u()):l!==nJ},h.interpolate=function(t){return arguments.length?(c=t,u()):c},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,u()}})()(nJ,nJ)}function n4(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var n6,n8=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function n7(t){var e;if(!(e=n8.exec(t)))throw Error("invalid format: "+t);return new n9({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function n9(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.
1width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function rt(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function re(t){return(t=rt(Math.abs(t)))?t[1]:NaN}function rn(t,e){var n=rt(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}n7.prototype=n9.prototype,n9.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};let rr={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>rn(100*t,e),r:rn,s:function(t,e){var n=rt(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(n6=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+Array(1-a).join("0")+rt(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function ri(t){return t}var ra,ro,rs,rc=Array.prototype.map,rl=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];ro=(ra=function(t){var e,n,r,i=void 0===t.grouping||void 0===t.thousands?ri:(n=rc.call(t.grouping,Number),r=t.thousands+"",function(t,e){for(var i=t.length,a=[],o=0,s=n[0],c=0;i>0&&s>0&&(c+s+1>e&&(s=Math.max(1,e-c)),a.push(t.substring(i-=s,i+s)),!((c+=s+1)>e));)s=n[o=(o+1)%n.length];return a.reverse().join(r)}),a=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",c=void 0===t.numerals?ri:(e=rc.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}),l=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"â":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=n7(t)).fill,n=t.align,r=t.sign,f=t.symbol,d=t.zero,p=t.width,g=t.comma,y=t.precision,m=t.trim,v=t.type;"n"===v?(g=!0,v="g"):rr[v]||(void 0===y&&(y=12),m=!0,v="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var b="$"===f?a:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",x="$"===f?o:/[%p]/.test(v)?l:"",_=rr[v],k=/[defgprs%]/.test(v);function w(t){var a,o,l,f=b,w=x;if("c"===v)w=_(t)+w,t="";else{var T=(t*=1)<0||1/t<0;if(t=isNaN(t)?h:_(Math.abs(t),y),m&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),T&&0==+t&&"+"!==r&&(T=!1),f=(T?"("===r?r:u:"-"===r||"("===r?"":r)+f,w=("s"===v?rl[8+n6/3]:"")+w+(T&&"("===r?")":""),k){for(a=-1,o=t.length;++a<o;)if(48>(l=t.charCodeAt(a))||l>57){w=(46===l?s+t.slice(a+1):t.slice(a))+w,t=t.slice(0,a);break}}}g&&!d&&(t=i(t,1/0));var E=f.length+t.length+w.length,C=E<p?Array(p-E+1).join(e):"";switch(g&&d&&(t=i(C+t,C.length?p-w.length:1/0),C=""),n){case"<":t=f+t+w+C;break;case"=":t=f+C+t+w;break;case"^":t=C.slice(0,E=C.length>>1)+f+t+w+C.slice(E);break;default:t=C+f+t+w}return c(t)}return y=void 0===y?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),w.toString=function(){return t+""},w}return{format:f,formatPrefix:function(t,e){var n=f(((t=n7(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(re(e)/3))),i=Math.pow(10,-r),a=rl[8+r/3];return function(t){return n(i*t)+a}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,rs=ra.formatPrefix;class ru extends Map{constructor(t,e=rf){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,n]of t)this.set(e,n)}get(t){return super.get(rh(this,t))}has(t){return super.has(rh(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}(this,t))}}function rh({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):n}function rf(t){return null!==t&&"object"==typeof t?t.valueOf():t}
1let rd=Symbol("implicit");var rp=new Date,rg=new Date;function ry(t,e,n,r){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,a){var o,s=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return s;do s.push(o=new Date(+n)),e(n,a),t(n);while(o<n&&n<r);return s},i.filter=function(n){return ry(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return rp.setTime(+e),rg.setTime(+r),t(rp),t(rg),Math.floor(n(rp,rg))},i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var rm=ry(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});rm.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?ry(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):rm:null},rm.range;var rv=ry(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()});rv.range;var rb=ry(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getMinutes()});rb.range;var rx=ry(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()});rx.range;var r_=ry(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);function rk(t){return ry(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5})}r_.range;var rw=rk(0),rT=rk(1),rE=rk(2),rC=rk(3),rS=rk(4),rA=rk(5),rM=rk(6),rN=(rw.range,rT.range,rE.range,rC.range,rS.range,rA.range,rM.range,ry(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}));rN.range;var rD=ry(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});rD.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ry(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null},rD.range;var rB=ry(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getUTCMinutes()});rB.range;var rO=ry(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()});rO.range;var rL=ry(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1});function rI(t){return ry(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}rL.range;var rF=rI(0),rP=rI(1),rR=rI(2),rj=rI(3),rY=rI(4),rU=rI(5),rz=rI(6),r$=(rF.range,rP.range,rR.range,rj.range,rY.range,rU.range,rz.range,ry(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}));r$.range;var rq=ry(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});function rH(t,e,n,r,i,a){let o=[[rv,1,1e3],[rv,5,5e3],[rv,15,15e3],[rv,30,3e4],[a,1,6e4],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function s(e,n,r){let i=Math.abs(n-e)/r,a=nu(([,,t])=>t).right(o,i);if(a===o.length)return t.every(nc(e/31536e6,n/31536e6,r));if(0===a)return rm.every(Math.max(nc(e,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[function(t,e,n){let r=e<t;r&&([t,e]=[e,t]);let i=n&&"function"==typeof n.range?n:s(t,e,n),a=i?i.range(t,+e+1):[];return r?a.reverse():a},s]}rq.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ry(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null},rq.range;let[rW,rV]=rH(rq,r$,rF,rL,rO,rB),[rG,rX]=rH(rD,rN,rw,r_,rx,rb);function rZ(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function rQ(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function rK(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var rJ,r0,r1={"-":"",_:" ",0:"0"},r2=/^\s*\d+/,r3=/^%/,r5=/[\\^$*+?|[\]().{}]/g;function r4(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a<n?Array(n-a+1).join(e)+i:i)}function r6(t){return t.replace(r5,"\\$&")}
vendor: 8,399 bytes, line 1
1function r8(t){return RegExp("^(?:"+t.map(r6).join("|")+")","i")}function r7(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function r9(t,e,n){var r=r2.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function it(t,e,n){var r=r2.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function ie(t,e,n){var r=r2.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function ir(t,e,n){var r=r2.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function ii(t,e,n){var r=r2.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function ia(t,e,n){var r=r2.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function io(t,e,n){var r=r2.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function is(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function ic(t,e,n){var r=r2.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function il(t,e,n){var r=r2.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function iu(t,e,n){var r=r2.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function ih(t,e,n){var r=r2.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function id(t,e,n){var r=r2.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function ip(t,e,n){var r=r2.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function ig(t,e,n){var r=r2.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function iy(t,e,n){var r=r2.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function im(t,e,n){var r=r2.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function iv(t,e,n){var r=r3.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function ib(t,e,n){var r=r2.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function ix(t,e,n){var r=r2.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function i_(t,e){return r4(t.getDate(),e,2)}function ik(t,e){return r4(t.getHours(),e,2)}function iw(t,e){return r4(t.getHours()%12||12,e,2)}function iT(t,e){return r4(1+r_.count(rD(t),t),e,3)}function iE(t,e){return r4(t.getMilliseconds(),e,3)}function iC(t,e){return iE(t,e)+"000"}function iS(t,e){return r4(t.getMonth()+1,e,2)}function iA(t,e){return r4(t.getMinutes(),e,2)}function iM(t,e){return r4(t.getSeconds(),e,2)}function iN(t){var e=t.getDay();return 0===e?7:e}function iD(t,e){return r4(rw.count(rD(t)-1,t),e,2)}function iB(t){var e=t.getDay();return e>=4||0===e?rS(t):rS.ceil(t)}function iO(t,e){return t=iB(t),r4(rS.count(rD(t),t)+(4===rD(t).getDay()),e,2)}function iL(t){return t.getDay()}function iI(t,e){return r4(rT.count(rD(t)-1,t),e,2)}function iF(t,e){return r4(t.getFullYear()%100,e,2)}function iP(t,e){return r4((t=iB(t)).getFullYear()%100,e,2)}function iR(t,e){return r4(t.getFullYear()%1e4,e,4)}function ij(t,e){var n=t.getDay();return r4((t=n>=4||0===n?rS(t):rS.ceil(t)).getFullYear()%1e4,e,4)}function iY(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+r4(e/60|0,"0",2)+r4(e%60,"0",2)}function iU(t,e){return r4(t.getUTCDate(),e,2)}function iz(t,e){return r4(t.getUTCHours(),e,2)}function i$(t,e){return r4(t.getUTCHours()%12||12,e,2)}function iq(t,e){return r4(1+rL.count(rq(t),t),e,3)}function iH(t,e){return r4(t.getUTCMilliseconds(),e,3)}function iW(t,e){return iH(t,e)+"000"}function iV(t,e){return r4(t.getUTCMonth()+1,e,2)}function iG(t,e){return r4(t.getUTCMinutes(),e,2)}function iX(t,e){return r4(t.getUTCSeconds(),e,2)}function iZ(t){var e=t.getUTCDay();return 0===e?7:e}function iQ(t,e){return r4(rF.count(rq(t)-1,t),e,2)}function iK(t){var e=t.getUTCDay();return e>=4||0===e?rY(t):rY.ceil(t)}function iJ(t,e){return t=iK(t),r4(rY.count(rq(t),t)+(4===rq(t).getUTCDay()),e,2)}function i0(t){return t.getUTCDay()}function i1(t,e){return r4(rP.count(rq(t)-1,t),e,2)}function i2(t,e){return r4(t.getUTCFullYear()%100,e,2)}function i3(t,e){return r4((t=iK(t)).getUTCFullYear()%100,e,2)}function i5(t,e){return r4(t.getUTCFullYear()%1e4,e,4)}function i4(t,e){var n=t.getUTCDay();return r4((t=n>=4||0===n?rY(t):rY.ceil(t)).getUTCFullYear()%1e4,e,4)}function i6(){return"+0000"}function i8(){return"%"}function i7(t){return+t}function i9(t){return Math.floor(t/1e3)}function at(t){return new Date(t)}function ae(t){return t instanceof Date?+t:+new Date(+t)}function an(){}function ar(t){return null==t?an:function(){return this.querySelector(t)}}function ai(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function aa(){return[]}function ao(t){return null==t?aa:function(){return this.querySelectorAll(t)}}function as(t){return function(){return this.matches(t)}}function ac(t){return function(e){return e.matches(t)}}r0=(rJ=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,o=t.shortDays,s=t.months,c=t.shortMonths,l=r8(i),u=r7(i),h=r8(a),f=r7(a),d=r8(o),p=r7(o),g=r8(s),y=r7(s),m=r8(c),v=r7(c),b={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:i_,e:i_,f:iC,g:iP,G:ij,H:ik,I:iw,j:iT,L:iE,m:iS,M:iA,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:i7,s:i9,S:iM,u:iN,U:iD,V:iO,w:iL,W:iI,x:null,X:null,y:iF,Y:iR,Z:iY,"%":i8},x={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:iU,e:iU,f:iW,g:i3,G:i4,H:iz,I:i$,j:iq,L:iH,m:iV,M:iG,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:i7,s:i9,S:iX,u:iZ,U:iQ,V:iJ,w:i0,W:i1,x:null,X:null,y:i2,Y:i5,Z:i6,"%":i8},_={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return T(t,e,n,r)},d:iu,e:iu,f:im,g:io,G:ia,H:id,I:id,j:ih,L:iy,m:il,M:ip,p:function(t,e,n){var r=l.exec(e.slice(n));return r?(t.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:ic,Q:ib,s:ix,S:ig,u:it,U:ie,V:ir,w:r9,W:ii,x:function(t,e,r){return T(t,n,e,r)},X:function(t,e,n){return T(t,r,e,n)},y:io,Y:ia,Z:is,"%":iv};function k(t,e){return function(n){var r,i,a,o=[],s=-1,c=0,l=t.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===t.charCodeAt(s)&&(o.push(t.slice(c,s)),null!=(i=r1[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(a=e[r])&&(r=a(n,i)),o.push(r),c=s+1);return o.push(t.slice(c,s)),o.join("")}}function w(t,e){return function(n){var r,i,a=rK(1900,void 0,1);if(T(a,t,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(!e||"Z"in a||(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(r=(i=(r=rQ(rK(a.y,0,1))).getUTCDay())>4||0===i?rP.ceil(r):rP(r),r=rL.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(r=(i=(r=rZ(rK(a.y,0,1))).getDay())>4||0===i?rT.ceil(r):rT(r),r=r_.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:+("W"in a)),i="Z"in a?rQ(rK(a.y,0,1)).getUTCDay():rZ(rK(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,rQ(a)):rZ(a)}}function T(t,e,n,r){for(var i,a,o=0,s=e.length,c=n.length;o<s;){if(r>=c)return -1;if(37===(i=e.charCodeAt(o++))){if(!(a=_[(i=e.charAt(o++))in r1?e.charAt(o++):i])||(r=a(t,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return b.x=k(n,b),b.X=k(r,b),b.c=k(e,b),x.x=k(n,x),x.X=k(r,x),x.c=k(e,x),{format:function(t){var e=k(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=w(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=k(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=w(t+="",!0);return e.toString=function(){return t},e}}}({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"]})).format,rJ.parse,rJ.utcFormat,rJ.utcParse;var al=Array.prototype.find;function au(){return this.firstElementChild}var ah=Array.prototype.filter;function af(){return Array.from(this.children)}function ad(t){return Array(t.length)}function ap(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function ag(t,e,n,r,i,a){for(var o,s=0,c=e.length,l=a.length;s<l;++s)(o=e[s])?(o.__data__=a[s],r[s]=o):n[s]=new ap(t,a[s]);for(;s<c;++s)(o=e[s])&&(i[s]=o)}function ay(t,e,n,r,i,a,o){var s,c,l,u=new Map,h=e.length,f=a.length,d=Array(h);for(s=0;s<h;++s)(c=e[s])&&(d[s]=l=o.call(c,c.__data__,s,e)+"",u.has(l)?i[s]=c:u.set(l,c));for(s=0;s<f;++s)l=o.call(t,a[s],s,a)+"",(c=u.get(l))?(r[s]=c,c.__data__=a[s],u.delete(l)):n[s]=new ap(t,a[s]);for(s=0;s<h;++s)(c=e[s])&&u.get(d[s])===c&&(i[s]=c)}function am(t){return t.__data__}function av(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}ap.prototype={constructor:ap,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var ab="http://www.w3.org/1999/xhtml";let ax={svg:"http://www.w3.org/2000/svg",xhtml:ab,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function a_(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),ax.hasOwnProperty(e)?{space:ax[e],local:t}:t}function ak(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function aw(t,e){return t.style.getPropertyValue(e)||ak(t).getComputedStyle(t,null).getPropertyValue(e)}function aT(t){return t.trim().split(/^|\s+/)}function aE(t){return t.classList||new aC(t)}function aC(t){this._node=t,this._names=aT(t.getAttribute("class")||"")}function aS(t,e){for(var n=aE(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function aA(t,e){for(var n=aE(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function aM(){this.textContent=""}function aN(){this.innerHTML=""}function aD(){this.nextSibling&&this.parentNode.appendChild(this)}function aB(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function aO(t){var e=a_(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===ab&&e.documentElement.namespaceURI===ab?e.createElement(t):e.createElementNS(n,t)}})(e)}function aL(){return null}function aI(){var t=this.parentNode;t&&t.removeChild(this)}function aF(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function aP(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function aR(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r<a;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function aj(t,e,n){return function(){var r,i=this.__on,a=function(t){e.call(this,t,this.__data__)};if(i){for(var o=0,s=i.length;o<s;++o)if((r=i[o]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=a,r.options=n),void(r.value=e)}this.addEventListener(t.type,a,n),r={type:t.type,name:t.name,value:e,listener:a,options:n},i?i.push(r):this.__on=[r]}}function aY(t,e,n){var r=ak(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}aC.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var aU=[null];function az(t,e){this._groups=t,this._parents=e}function a$(){return new az([[document.documentElement]],aU)}function aq(t){return"string"==typeof t?new az([[document.querySelector(t)]],[document.documentElement]):new az([[t]],aU)}function aH(t){return"string"==typeof t?new az([document.querySelectorAll(t)],[document.documentElement]):new az([ai(t)],aU)}az.prototype=a$.prototype={constructor:az,select:function(t){"function"!=typeof t&&(t=ar(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,o,s=e[i],c=s.length,l=r[i]=Array(c),u=0;u<c;++u)(a=s[u])&&(o=t.call(a,a.__data__,u,s))&&("__data__"in a&&(o.__data__=a.__data__),l[u]=o);return new az(r,this._parents)},selectAll:function(t){var e;t="function"==typeof t?(e=t,function(){return ai(e.apply(this,arguments))}):ao(t);for(var n=this._groups,r=n.length,i=[],a=[],o=0;o<r;++o)for(var s,c=n[o],l=c.length,u=0;u<l;++u)(s=c[u])&&(i.push(t.call(s,s.__data__,u,c)),a.push(s));return new az(i,a)},selectChild:function(t){var e;
1return this.select(null==t?au:(e="function"==typeof t?t:ac(t),function(){return al.call(this.children,e)}))},selectChildren:function(t){var e;return this.selectAll(null==t?af:(e="function"==typeof t?t:ac(t),function(){return ah.call(this.children,e)}))},filter:function(t){"function"!=typeof t&&(t=as(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,o=e[i],s=o.length,c=r[i]=[],l=0;l<s;++l)(a=o[l])&&t.call(a,a.__data__,l,o)&&c.push(a);return new az(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,am);var n=e?ay:ag,r=this._parents,i=this._groups;"function"!=typeof t&&(m=t,t=function(){return m});for(var a=i.length,o=Array(a),s=Array(a),c=Array(a),l=0;l<a;++l){var u=r[l],h=i[l],f=h.length,d="object"==typeof(v=t.call(u,u&&u.__data__,l,r))&&"length"in v?v:Array.from(v),p=d.length,g=s[l]=Array(p),y=o[l]=Array(p);n(u,h,g,y,c[l]=Array(f),d,e);for(var m,v,b,x,_=0,k=0;_<p;++_)if(b=g[_]){for(_>=k&&(k=_+1);!(x=y[k])&&++k<p;);b._next=x||null}}return(o=new az(o,r))._enter=s,o._exit=c,o},enter:function(){return new az(this._enter||this._groups.map(ad),this._parents)},exit:function(){return new az(this._exit||this._groups.map(ad),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,a=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,a=r.length,o=Math.min(i,a),s=Array(i),c=0;c<o;++c)for(var l,u=n[c],h=r[c],f=u.length,d=s[c]=Array(f),p=0;p<f;++p)(l=u[p]||h[p])&&(d[p]=l);for(;c<i;++c)s[c]=n[c];return new az(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=av);for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var o,s=n[a],c=s.length,l=i[a]=Array(c),u=0;u<c;++u)(o=s[u])&&(l[u]=o);l.sort(e)}return new az(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null},size:function(){let t=0;for(let e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,a=e[n],o=0,s=a.length;o<s;++o)(i=a[o])&&t.call(i,i.__data__,o,a);return this},attr:function(t,e){var n=a_(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?n.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:n.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):aw(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=aT(t+"");
1if(arguments.length<2){for(var r=aE(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?aS:aA)(this,t)}}:e?function(t){return function(){aS(this,t)}}:function(t){return function(){aA(this,t)}})(n,e))},text:function(t){return arguments.length?this.each(null==t?aM:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?aN:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(aD)},lower:function(){return this.each(aB)},append:function(t){var e="function"==typeof t?t:aO(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:aO(t),r=null==e?aL:"function"==typeof e?e:ar(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(aI)},clone:function(t){return this.select(t?aP:aF)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,a=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),o=a.length;if(!(arguments.length<2)){for(s=e?aj:aR,r=0;r<o;++r)this.each(s(a[r],e,n));return this}var s=this.node().__on;if(s){for(var c,l=0,u=s.length;l<u;++l)for(r=0,c=s[l];r<o;++r)if((i=a[r]).type===c.type&&i.name===c.name)return c.value}},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return aY(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return aY(this,t,e)}})(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],a=0,o=i.length;a<o;++a)(r=i[a])&&(yield r)}};let aW=Math.PI,aV=2*aW,aG=aV-1e-6;function aX(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function aZ(){return new aX}function aQ(t){return function(){return t}}aX.prototype=aZ.prototype={constructor:aX,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(t,e,n,r,i){t*=1,e*=1,n*=1,r*=1,i*=1;var a=this._x1,o=this._y1,s=n-t,c=r-e,l=a-t,u=o-e,h=l*l+u*u;if(i<0)throw Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>1e-6)if(Math.abs(u*s-c*l)>1e-6&&i){var f=n-a,d=r-o,p=s*s+c*c,g=Math.sqrt(p),y=Math.sqrt(h),m=i*Math.tan((aW-Math.acos((p+h-(f*f+d*d))/(2*g*y)))/2),v=m/y,b=m/g;Math.abs(v-1)>1e-6&&(this._+="L"+(t+v*l)+","+(e+v*u)),this._+="A"+i+","+i+",0,0,"+ +(u*f>l*d)+","+(this._x1=t+b*s)+","+(this._y1=e+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,r,i,a){t*=1,e*=1,a=!!a;var o=(n*=1)*Math.cos(r),s=n*Math.sin(r),c=t+o,l=e+s,u=1^a,h=a?r-i:i-r;if(n<0)throw Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+l:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-l)>1e-6)&&(this._+="L"+c+","+l),n&&(h<0&&(h=h%aV+aV),h>aG?this._+="A"+n+","+n+",0,1,"+u+","+(t-o)+","+(e-s)+"A"+n+","+n+",0,1,"+u+","+(this._x1=c)+","+(this._y1=l):h>1e-6&&(this._+="A"+n+","+n+",0,"+ +(h>=aW)+","+u+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};
1var aK=Math.abs,aJ=Math.atan2,a0=Math.cos,a1=Math.max,a2=Math.min,a3=Math.sin,a5=Math.sqrt,a4=Math.PI,a6=a4/2,a8=2*a4;function a7(t){return t>=1?a6:t<=-1?-a6:Math.asin(t)}function a9(t){return t.innerRadius}function ot(t){return t.outerRadius}function oe(t){return t.startAngle}function on(t){return t.endAngle}function or(t){return t&&t.padAngle}function oi(t,e,n,r,i,a,o){var s=t-n,c=e-r,l=(o?a:-a)/a5(s*s+c*c),u=l*c,h=-l*s,f=t+u,d=e+h,p=n+u,g=r+h,y=(f+p)/2,m=(d+g)/2,v=p-f,b=g-d,x=v*v+b*b,_=i-a,k=f*g-p*d,w=(b<0?-1:1)*a5(a1(0,_*_*x-k*k)),T=(k*b-v*w)/x,E=(-k*v-b*w)/x,C=(k*b+v*w)/x,S=(-k*v+b*w)/x,A=T-y,M=E-m,N=C-y,D=S-m;return A*A+M*M>N*N+D*D&&(T=C,E=S),{cx:T,cy:E,x01:-u,y01:-h,x11:T*(i/_-1),y11:E*(i/_-1)}}function oa(){var t=a9,e=ot,n=aQ(0),r=null,i=oe,a=on,o=or,s=null;function c(){var c,l,u=+t.apply(this,arguments),h=+e.apply(this,arguments),f=i.apply(this,arguments)-a6,d=a.apply(this,arguments)-a6,p=aK(d-f),g=d>f;if(s||(s=c=aZ()),h<u&&(l=h,h=u,u=l),h>1e-12)if(p>a8-1e-12)s.moveTo(h*a0(f),h*a3(f)),s.arc(0,0,h,f,d,!g),u>1e-12&&(s.moveTo(u*a0(d),u*a3(d)),s.arc(0,0,u,d,f,g));else{var y,m,v=f,b=d,x=f,_=d,k=p,w=p,T=o.apply(this,arguments)/2,E=T>1e-12&&(r?+r.apply(this,arguments):a5(u*u+h*h)),C=a2(aK(h-u)/2,+n.apply(this,arguments)),S=C,A=C;if(E>1e-12){var M=a7(E/u*a3(T)),N=a7(E/h*a3(T));(k-=2*M)>1e-12?(x+=M*=g?1:-1,_-=M):(k=0,x=_=(f+d)/2),(w-=2*N)>1e-12?(v+=N*=g?1:-1,b-=N):(w=0,v=b=(f+d)/2)}var D=h*a0(v),B=h*a3(v),O=u*a0(_),L=u*a3(_);if(C>1e-12){var I,F=h*a0(b),P=h*a3(b),R=u*a0(x),j=u*a3(x);if(p<a4&&(I=function(t,e,n,r,i,a,o,s){var c=n-t,l=r-e,u=o-i,h=s-a,f=h*c-u*l;if(!(f*f<1e-12))return[t+(f=(u*(e-a)-h*(t-i))/f)*c,e+f*l]}(D,B,R,j,F,P,O,L))){var Y,U=D-I[0],z=B-I[1],$=F-I[0],q=P-I[1],H=1/a3(((Y=(U*$+z*q)/(a5(U*U+z*z)*a5($*$+q*q)))>1?0:Y<-1?a4:Math.acos(Y))/2),W=a5(I[0]*I[0]+I[1]*I[1]);S=a2(C,(u-W)/(H-1)),A=a2(C,(h-W)/(H+1))}}w>1e-12?A>1e-12?(y=oi(R,j,D,B,h,A,g),m=oi(F,P,O,L,h,A,g),s.moveTo(y.cx+y.x01,y.cy+y.y01),A<C?s.arc(y.cx,y.cy,A,aJ(y.y01,y.x01),aJ(m.y01,m.x01),!g):(s.arc(y.cx,y.cy,A,aJ(y.y01,y.x01),aJ(y.y11,y.x11),!g),s.arc(0,0,h,aJ(y.cy+y.y11,y.cx+y.x11),aJ(m.cy+m.y11,m.cx+m.x11),!g),s.arc(m.cx,m.cy,A,aJ(m.y11,m.x11),aJ(m.y01,m.x01),!g))):(s.moveTo(D,B),s.arc(0,0,h,v,b,!g)):s.moveTo(D,B),u>1e-12&&k>1e-12?S>1e-12?(y=oi(O,L,F,P,u,-S,g),m=oi(D,B,R,j,u,-S,g),s.lineTo(y.cx+y.x01,y.cy+y.y01),S<C?s.arc(y.cx,y.cy,S,aJ(y.y01,y.x01),aJ(m.y01,m.x01),!g):(s.arc(y.cx,y.cy,S,aJ(y.y01,y.x01),aJ(y.y11,y.x11),!g),s.arc(0,0,u,aJ(y.cy+y.y11,y.cx+y.x11),aJ(m.cy+m.y11,m.cx+m.x11),g),s.arc(m.cx,m.cy,S,aJ(m.y11,m.x11),aJ(m.y01,m.x01),!g))):s.arc(0,0,u,_,x,g):s.lineTo(O,L)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-a4/2;return[a0(r)*n,a3(r)*n]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:aQ(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:aQ(+t),c):e},c.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:aQ(+t),c):n},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:aQ(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:aQ(+t),c):i},c.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:aQ(+t),c):a},c.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:aQ(+t),c):o},c.context=function(t){return arguments.length?(s=null==t?null:t,c):s},c}function oo(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function os(t){this._context=t}function oc(t){return new os(t)}function ol(t){return t[0]}function ou(t){return t[1]}function oh(t,e){var n=aQ(!0),r=null,i=oc,a=null;function o(o){var s,c,l,u=(o=oo(o)).length,h=!1;for(null==r&&(a=i(l=aZ())),s=0;s<=u;++s)!(s<u&&n(c=o[s],s,o))===h&&((h=!h)?a.lineStart():a.lineEnd()),h&&a.point(+t(c,s,o),+e(c,s,o));if(l)return a=null,l+""||null}return t="function"==typeof t?t:void 0===t?ol:aQ(t),e="function"==typeof e?e:void 0===e?ou:aQ(e),o.x=function(e){return arguments.length?(t="function"==typeof e?e:aQ(+e),o):t},o.y=function(t){return arguments.length?(e="function"==typeof t?t:aQ(+t),o):e},o.defined=function(t){return arguments.length?(n="function"==typeof t?t:aQ(!!t),o):n}
1,o.curve=function(t){return arguments.length?(i=t,null!=r&&(a=i(r)),o):i},o.context=function(t){return arguments.length?(null==t?r=a=null:a=i(r=t),o):r},o}function of(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function od(t){return t}function op(){}function og(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function oy(t){this._context=t}function om(t){return new oy(t)}function ov(t){this._context=t}function ob(t){this._context=t}function ox(t){this._context=t}function o_(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs((a*i+o*r)/(r+i)))||0}function ok(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function ow(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,s=(a-r)/3;t._context.bezierCurveTo(r+s,i+s*e,a-s,o-s*n,a,o)}function oT(t){this._context=t}function oE(t){this._context=new oC(t)}function oC(t){this._context=t}function oS(t){this._context=t}function oA(t){var e,n,r=t.length-1,i=Array(r),a=Array(r),o=Array(r);for(i[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/a[e-1],a[e]-=n,o[e]-=n*o[e-1];for(i[r-1]=o[r-1]/a[r-1],e=r-2;e>=0;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)a[e]=2*t[e+1]-i[e+1];return[i,a]}function oM(t,e){this._context=t,this._t=e}Array.prototype.slice,os.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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},oy.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:og(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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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:og(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ov.prototype={areaStart:op,areaEnd:op,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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:og(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ob.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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;
1default:og(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ox.prototype={areaStart:op,areaEnd:op,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t*=1,e*=1,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},oT.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:ow(this,this._t0,ok(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e*=1,(t*=1)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,ow(this,ok(this,n=o_(this,t,e)),n);break;default:ow(this,this._t0,n=o_(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(oE.prototype=Object.create(oT.prototype)).point=function(t,e){oT.prototype.point.call(this,e,t)},oC.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,a){this._context.bezierCurveTo(e,t,r,n,a,i)}},oS.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=oA(t),i=oA(e),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],t[o],e[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},oM.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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var oN=new Date,oD=new Date;function oB(t,e,n,r){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,a){var o,s=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return s;do s.push(o=new Date(+n)),e(n,a),t(n);while(o<n&&n<r);return s},i.filter=function(n){return oB(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return oN.setTime(+e),oD.setTime(+r),t(oN),t(oD),Math.floor(n(oN,oD))},i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}function oO(t){return oB(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}var oL=oO(0),oI=oO(1),oF=oO(2),oP=oO(3),oR=oO(4),oj=oO(5),oY=oO(6),oU=(oL.range,oI.range,oF.range,oP.range,oR.range,oj.range,oY.range,oB(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}
1));function oz(t){return oB(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5})}oU.range;var o$=oz(0),oq=oz(1),oH=oz(2),oW=oz(3),oV=oz(4),oG=oz(5),oX=oz(6),oZ=(o$.range,oq.range,oH.range,oW.range,oV.range,oG.range,oX.range,oB(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5,t=>t.getDate()-1));oZ.range;var oQ=oB(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});oQ.every=function(t){return isFinite(t=Math.floor(t))&&t>0?oB(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null},oQ.range;var oK=oB(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});function oJ(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function o0(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function o1(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}oK.every=function(t){return isFinite(t=Math.floor(t))&&t>0?oB(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null},oK.range;var o2,o3,o5={"-":"",_:" ",0:"0"},o4=/^\s*\d+/,o6=/^%/,o8=/[\\^$*+?|[\]().{}]/g;function o7(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a<n?Array(n-a+1).join(e)+i:i)}function o9(t){return t.replace(o8,"\\$&")}function st(t){return RegExp("^(?:"+t.map(o9).join("|")+")","i")}function se(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function sn(t,e,n){var r=o4.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function sr(t,e,n){var r=o4.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function si(t,e,n){var r=o4.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function sa(t,e,n){var r=o4.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function so(t,e,n){var r=o4.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function ss(t,e,n){var r=o4.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function sc(t,e,n){var r=o4.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function sl(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function su(t,e,n){var r=o4.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function sh(t,e,n){var r=o4.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function sf(t,e,n){var r=o4.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function sd(t,e,n){var r=o4.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function sp(t,e,n){var r=o4.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function sg(t,e,n){var r=o4.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function sy(t,e,n){var r=o4.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function sm(t,e,n){var r=o4.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function sv(t,e,n){var r=o4.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function sb(t,e,n){var r=o6.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function sx(t,e,n){var r=o4.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function s_(t,e,n){var r=o4.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function sk(t,e){return o7(t.getDate(),e,2)}function sw(t,e){return o7(t.getHours(),e,2)}function sT(t,e){return o7(t.getHours()%12||12,e,2)}function sE(t,e){return o7(1+oZ.count(oQ(t),t),e,3)}function sC(t,e){return o7(t.getMilliseconds(),e,3)}function sS(t,e){return sC(t,e)+"000"}function sA(t,e){return o7(t.getMonth()+1,e,2)}function sM(t,e){return o7(t.getMinutes(),e,2)}function sN(t,e){return o7(t.getSeconds(),e,2)}function sD(t){var e=t.getDay();return 0===e?7:e}function sB(t,e){return o7(o$.count(oQ(t)-1,t),e,2)}function sO(t){var e=t.getDay();return e>=4||0===e?oV(t):oV.ceil(t)}function sL(t,e){return t=sO(t),o7(oV.count(oQ(t),t)+(4===oQ(t).getDay()),e,2)}function sI(t){return t.getDay()}function sF(t,e){return o7(oq.count(oQ(t)-1,t),e,2)}function sP(t,e){return o7(t.getFullYear()%100,e,2)}function sR(t,e){return o7((t=sO(t)).getFullYear()%100,e,2)}function sj(t,e){return o7(t.getFullYear()%1e4,e,4)}function sY(t,e){var n=t.getDay();return o7((t=n>=4||0===n?oV(t):oV.ceil(t)).getFullYear()%1e4,e,4)}function sU(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+o7(e/60|0,"0",2)+o7(e%60,"0",2)}function sz(t,e){return o7(t.getUTCDate(),e,2)}function s$(t,e){return o7(t.getUTCHours(),e,2)}function sq(t,e){return o7(t.getUTCHours()%12||12,e,2)}function sH(t,e){return o7(1+oU.count(oK(t),t),e,3)}function sW(t,e){return o7(t.getUTCMilliseconds(),e,3)}function sV(t,e){return sW(t,e)+"000"}function sG(t,e){return o7(t.getUTCMonth()+1,e,2)}function sX(t,e){return o7(t.getUTCMinutes(),e,2)}function sZ(t,e){return o7(t.getUTCSeconds(),e,2)}function sQ(t){var e=t.getUTCDay();return 0===e?7:e}function sK(t,e){return o7(oL.count(oK(t)-1,t),e,2)}function sJ(t){var e=t.getUTCDay();return e>=4||0===e?oR(t):oR.ceil(t)}function s0(t,e){return t=sJ(t),o7(oR.count(oK(t),t)+(4===oK(t).getUTCDay()),e,2)}function s1(t){return t.getUTCDay()}function s2(t,e){return o7(oI.count(oK(t)-1,t),e,2)}function s3(t,e){return o7(t.getUTCFullYear()%100,e,2)}function s5(t,e){return o7((t=sJ(t)).getUTCFullYear()%100,e,2)}function s4(t,e){return o7(t.getUTCFullYear()%1e4,e,4)}function s6(t,e){var n=t.getUTCDay();return o7((t=n>=4||0===n?oR(t):oR.ceil(t)).getUTCFullYear()%1e4,e,4)}function s8(){return"+0000"}function s7(){return"%"}function s9(t){return+t}function ct(t){return Math.floor(t/1e3)}o3=(o2=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,o=t.shortDays,s=t.months,c=t.shortMonths,l=st(i),u=se(i),h=st(a),f=se(a),d=st(o),p=se(o),g=st(s),y=se(s),m=st(c),v=se(c),b={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:sk,e:sk,f:sS,g:sR,G:sY,H:sw,I:sT,j:sE,L:sC,m:sA,M:sM,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:s9,s:ct,S:sN,u:sD,U:sB,V:sL,w:sI,W:sF,x:null,X:null,y:sP,Y:sj,Z:sU,"%":s7},x={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]}
1,c:null,d:sz,e:sz,f:sV,g:s5,G:s6,H:s$,I:sq,j:sH,L:sW,m:sG,M:sX,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:s9,s:ct,S:sZ,u:sQ,U:sK,V:s0,w:s1,W:s2,x:null,X:null,y:s3,Y:s4,Z:s8,"%":s7},_={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return T(t,e,n,r)},d:sf,e:sf,f:sv,g:sc,G:ss,H:sp,I:sp,j:sd,L:sm,m:sh,M:sg,p:function(t,e,n){var r=l.exec(e.slice(n));return r?(t.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:su,Q:sx,s:s_,S:sy,u:sr,U:si,V:sa,w:sn,W:so,x:function(t,e,r){return T(t,n,e,r)},X:function(t,e,n){return T(t,r,e,n)},y:sc,Y:ss,Z:sl,"%":sb};function k(t,e){return function(n){var r,i,a,o=[],s=-1,c=0,l=t.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===t.charCodeAt(s)&&(o.push(t.slice(c,s)),null!=(i=o5[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(a=e[r])&&(r=a(n,i)),o.push(r),c=s+1);return o.push(t.slice(c,s)),o.join("")}}function w(t,e){return function(n){var r,i,a=o1(1900,void 0,1);if(T(a,t,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(!e||"Z"in a||(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(r=(i=(r=o0(o1(a.y,0,1))).getUTCDay())>4||0===i?oI.ceil(r):oI(r),r=oU.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(r=(i=(r=oJ(o1(a.y,0,1))).getDay())>4||0===i?oq.ceil(r):oq(r),r=oZ.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:+("W"in a)),i="Z"in a?o0(o1(a.y,0,1)).getUTCDay():oJ(o1(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,o0(a)):oJ(a)}}function T(t,e,n,r){for(var i,a,o=0,s=e.length,c=n.length;o<s;){if(r>=c)return -1;if(37===(i=e.charCodeAt(o++))){if(!(a=_[(i=e.charAt(o++))in o5?e.charAt(o++):i])||(r=a(t,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return b.x=k(n,b),b.X=k(r,b),b.c=k(e,b),x.x=k(n,x),x.X=k(r,x),x.c=k(e,x),{format:function(t){var e=k(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=w(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=k(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=w(t+="",!0);return e.toString=function(){return t},e}}}({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"]})).format,o2.parse,o2.utcFormat,o2.utcParse;var ce={value:()=>{}};function cn(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw Error("illegal type: "+t);r[t]=[]}return new cr(r)}function cr(t){this._=t}function ci(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=ce,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}cr.prototype=cn.prototype={constructor:cr,on:function(t,e){var n,r=this._,i=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),a=-1,o=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw Error("invalid callback: "+e);for(;++a<o;)if(n=(t=i[a]).type)r[n]=ci(r[n],t.name,e);else if(null==e)for(n in r)r[n]=ci(r[n],t.name,null);return this}for(;++a<o;)if((n=(t=i[a]).type)&&(n=function(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new cr(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(a=0,n=(r=this._[t]).length;a<n;++a)r[a].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var r=this._[t],i=0,a=r.length;i<a;++i)r[i].value.apply(e,n)}};var ca,co,cs=0,cc=0,cl=0,cu=0,ch=0,cf=0,cd="object"==typeof performance&&performance.now?performance:Date,cp="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function cg(){return ch||(cp(cy),ch=cd.now()+cf)}function cy(){ch=0}function cm(){this._call=this._time=this._next=null}function cv(t,e,n){var r=new cm;return r.restart(t,e,n),r}function cb(){ch=(cu=cd.now())+cf,cs=cc=0;try{cg(),++cs;for(var t,e=ca;e;)(t=ch-e._time)>=0&&e._call.call(void 0,t),e=e._next;--cs}finally{cs=0,function(){for(var t,e,n=ca,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:ca=e);co=t,c_(r)}(),ch=0}}function cx(){var t=cd.now(),e=t-cu;e>1e3&&(cf-=e,cu=t)}function c_(t){cs||(cc&&(cc=clearTimeout(cc)),t-ch>24?(t<1/0&&(cc=setTimeout(cb,t-cd.now()-cf)),cl&&(cl=clearInterval(cl))):(cl||(cu=cd.now(),cl=setInterval(cx,1e3)),cs=1,cp(cb)))}function ck(t,e,n){var r=new cm;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}cm.prototype=cv.prototype={constructor:cm,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?cg():+n)+(null==e?0:+e),this._next||co===this||(co?co._next=this:ca=this,co=this),this._call=t,this._time=n,c_()},stop:function(){this._call&&(this._call=null,this._time=1/0,c_())}};var cw=cn("start","end","cancel","interrupt"),cT=[];function cE(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(c){var l,u,h,f;if(1!==n.state)return s();for(l in i)if((f=i[l]).name===n.name){if(3===f.state)return ck(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+l<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[l])}if(ck(function(){3===n.state&&(n.state=4,n.timer.restart(o,n.delay,n.time),o(c))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=Array(h=n.tween.length),l=0,u=-1;l<h;++l)(f=n.tween[l].value.call(t,t.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function o(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(s),n.state=5,1
1),a=-1,o=r.length;++a<o;)r[a].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),s())}function s(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=cv(function(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)},0,n.time)}(t,n,{name:e,index:r,group:i,on:cw,tween:cT,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function cC(t,e){var n=cA(t,e);if(n.state>0)throw Error("too late; already scheduled");return n}function cS(t,e){var n=cA(t,e);if(n.state>3)throw Error("too late; already running");return n}function cA(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw Error("transition not found");return n}function cM(t,e){return t*=1,e*=1,function(n){return t*(1-n)+e*n}}var cN,cD=180/Math.PI,cB={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function cO(t,e,n,r,i,a){var o,s,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*cD,skewX:Math.atan(c)*cD,scaleX:o,scaleY:s}}function cL(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(a,o){var s,c,l,u,h=[],f=[];return a=t(a),o=t(o),function(t,r,i,a,o,s){if(t!==i||r!==a){var c=o.push("translate(",null,e,null,n);s.push({i:c-4,x:cM(t,i)},{i:c-2,x:cM(r,a)})}else(i||a)&&o.push("translate("+i+e+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,h,f),s=a.rotate,c=o.rotate,s!==c?(s-c>180?c+=360:c-s>180&&(s+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:cM(s,c)})):c&&h.push(i(h)+"rotate("+c+r),l=a.skewX,u=o.skewX,l!==u?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:cM(l,u)}):u&&h.push(i(h)+"skewX("+u+r),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:cM(t,n)},{i:s-2,x:cM(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,h,f),a=o=null,function(t){for(var e,n=-1,r=f.length;++n<r;)h[(e=f[n]).i]=e.x(t);return h.join("")}}}var cI=cL(function(t){let e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?cB:cO(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),cF=cL(function(t){return null==t?cB:(cN||(cN=document.createElementNS("http://www.w3.org/2000/svg","g")),cN.setAttribute("transform",t),(t=cN.transform.baseVal.consolidate())?cO((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):cB)},", ",")",")");function cP(t,e,n){var r=t._id;return t.each(function(){var t=cS(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return cA(t,r).value[e]}}function cR(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}let cj=function t(e){var n,r=1==(n=+e)?ne:function(t,e){var r,i,a;return e-t?(r=t,i=e,r=Math.pow(r,a=n),i=Math.pow(i,a)-r,a=1/a,function(t){return Math.pow(r+t*i,a)}):e9(isNaN(t)?e:t)};function i(t,e){var n=r((t=eY(t)).r,(e=eY(e)).r),i=r(t.g,e.g),a=r(t.b,e.b),o=ne(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function cY(t){return function(e){var n,r,i=e.length,a=Array(i),o=Array(i),s=Array(i);for(n=0;n<i;++n)r=eY(e[n]),a[n]=r.r||0,o[n]=r.g||0,s[n]=r.b||0;return a=t(a),o=t(o),s=t(s),r.opacity=1,function(t){return r.r=a(t),r.g=o(t),r.b=s(t),r+""}}}cY(function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],a=t[r+1],o=r>0?t[r-1]:2*i-a,s=r<e-1?t[r+2]:2*a-i;return cR((n-r/e)*e,o,i,a,s)}}),cY(function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],a=t[r%e],o=t[(r+1)%e],s=t[(r+2)%e];return cR((n-r/e)*e,i,a,o,s)}});var cU=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,cz=RegExp(cU.source,"g");function c$(t,e){var n;return("number"==typeof e?cM:e instanceof eF?cj:(n=eF(e))?(e=n,cj):function(t,e){var n,r,i,a,o,s=cU.lastIndex=cz.lastIndex=0,c=-1,l=[],u=[];for(t+="",e+="";(i=cU.exec(t))&&(a=cz.exec(e));)(o=a.index)>s&&(o=e.slice(s,o),l[c]?l[c]+=o:l[++c]=o),(i=i[0])===(a=a[0])?l[c]?l[c]+=a:l[++c]=a:(l[++c]=null,u.push({i:c,x:cM(i,a)})),s=cz.lastIndex;return s<e.length&&(o=e.slice(s),l[c]?l[c]+=o:l[++c]=o),l.length<2?u[0]?(n=u[0].x,function(t){return n(t)+""}):(r=e,function(){return r}):(e=u.length,function(t){for(var n,r=0;r<e;++r)l[(n=u[r]).i]=n.x(t);return l.join("")})})(t,e)}var cq=a$.prototype.constructor;function cH(t){return function(){this.style.removeProperty(t)}}var cW=0;function cV(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}var cG=a$.prototype;cV.prototype=(function(t){return a$().transition(t)}).prototype={constructor:cV,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=ar(t));for(var r=this._groups,i=r.length,a=Array(i),o=0;o<i;++o)for(var s,c,l=r[o],u=l.length,h=a[o]=Array(u),f=0;f<u;++f)(s=l[f])&&(c=t.call(s,s.__data__,f,l))&&("__data__"in s&&(c.__data__=s.__data__),h[f]=c,cE(h[f],e,n,f,h,cA(s,n)));return new cV(a,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=ao(t));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var c,l=r[s],u=l.length,h=0;h<u;++h)if(c=l[h]){for(var f,d=t.call(c,c.__data__,h,l),p=cA(c,n),g=0,y=d.length;g<y;++g)(f=d[g])&&cE(f,e,n,g,d,p);a.push(d),o.push(c)}return new cV(a,o,e,n)},selectChild:cG.selectChild,selectChildren:cG.selectChildren,filter:function(t){"function"!=typeof t&&(t=as(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,o=e[i],s=o.length,c=r[i]=[],l=0;l<s;++l)(a=o[l])&&t.call(a,a.__data__,l,o)&&c.push(a);return new cV(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=Array(r),s=0;s<a;++s)for(var c,l=e[s],u=n[s],h=l.length,f=o[s]=Array(h),d=0;d<h;++d)(c=l[d]||u[d])&&(f[d]=c);for(;s<r;++s)o[s]=e[s];return new cV(o,this._parents,this._name,this._id)},selection:function(){return new cq(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=++cW,r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],c=s.length,l=0;l<c;++l)if(o=s[l]){var u=cA(o,e);cE(o,t,n,l,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new cV(r,this._parents,t,n)},call:cG.call,nodes:cG.nodes,node:cG.node,size:cG.size,empty:cG.empty,each:cG.each,on:function(t,e){var n,r,i,a,o,s,c=this._id;return arguments.length<2?cA(this.node(),c).on.on(t):this.each((n=c,r=t,i=e,s=(r+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>
1=0&&(t=t.slice(0,e)),!t||"start"===t})?cC:cS,function(){var t=s(this,n),e=t.on;e!==a&&(o=(a=e).copy()).on(r,i),t.on=o}))},attr:function(t,e){var n=a_(t),r="transform"===n?cF:c$;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,i,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:o===r&&s===i?a:(i=s,a=e(r=o,c));this.removeAttributeNS(t.space,t.local)}}:function(t,e,n){var r,i,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttribute(t))===(s=c+"")?null:o===r&&s===i?a:(i=s,a=e(r=o,c));this.removeAttribute(t)}})(n,r,cP(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===r?i:i=e(r=o,n)}}:function(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttribute(t);return o===a?null:o===r?i:i=e(r=o,n)}})(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();var r=a_(t);return this.tween(n,(r.local?function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttributeNS(t.space,t.local,i.call(this,e))}),n}return i._value=e,i}:function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttribute(t,i.call(this,e))}),n}return i._value=e,i})(r,e))},style:function(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,p,g,y,m,v,b,x,_,k,w,T="transform"==(t+="")?cI:c$;return null==e?this.styleTween(t,(r=t,function(){var t=aw(this,r),e=(this.style.removeProperty(r),aw(this,r));return t===e?null:t===i&&e===a?o:o=T(i=t,a=e)})).on("end.style."+t,cH(t)):"function"==typeof e?this.styleTween(t,(s=t,c=cP(this,"style."+t,e),function(){var t=aw(this,s),e=c(this),n=e+"";return null==e&&(this.style.removeProperty(s),n=e=aw(this,s)),t===n?null:t===l&&n===u?h:(u=n,h=T(l=t,e))})).each((f=this._id,b="end."+(v="style."+(d=t)),function(){var t=cS(this,f),e=t.on,n=null==t.value[v]?m||(m=cH(d)):void 0;e===p&&y===n||(g=(p=e).copy()).on(b,y=n),t.on=g})):this.styleTween(t,(x=t,w=e+"",function(){var t=aw(this,x);return t===w?null:t===_?k:k=T(_=t,e)}),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();return this.tween(r,function(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&function(e){this.style.setProperty(t,a.call(this,e),n)}),r}return a._value=e,a}(t,e,null==n?"":n))},text:function(t){var e,n;return this.tween("text","function"==typeof t?(e=cP(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(n=null==t?"":t+"",function(){this.textContent=n}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=cA(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===t)return r.value;return null}return this.each((null==e?function(t,e){var n,r;return function(){var i=cS(this,t),a=i.tween;if(a!==n){for(var o=0,s=(r=n=a).length;o<s;++o)if(r[o].name===e){(r=r.slice()).splice(o,1);break}}i.tween=r}}:function(t,e,n){var r,i;if("function"!=typeof n)throw Error();return function(){var a=cS(this,t),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:e,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===e){i[c]=s;break}c===l&&i.push(s)}a.tween=i}})(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){cC(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){cC(this,t).delay=e}})(e,t)):cA(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){cS(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){cS(this,t).duration=e}})(e,t)):cA(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw Error();return function(){cS(this,t).ease=e}}(e,t)):cA(this.node(),e).ease},easeVarying:function(t){var e;if("function"!=typeof t)throw Error();return this.each((e=this._id,function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw Error();cS(this,e).ease=n}))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(a,o){var s={value:o},c={value:function(){0==--i&&a()}};n.each(function(){var n=cS(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e}),0===i&&a()})},[Symbol.iterator]:cG[Symbol.iterator]};var cX={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function cZ(){}function cQ(t){return null==t?cZ:function(){return this.querySelector(t)}}function cK(){return[]}function cJ(t){return null==t?cK:function(){return this.querySelectorAll(t)}}function c0(t){return function(){return this.matches(t)}}function c1(t){return function(e){return e.matches(t)}}a$.prototype.interrupt=function(t){return this.each(function(){!function(t,e){var n,r,i,a=t.__transition,o=!0;if(a){for(i in e=null==e?null:e+"",a)(n=a[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}(this,t)})},a$.prototype.transition=function(t){var e,n;t instanceof cV?(e=t._id,t=t._name):(e=++cW,(n=cX).time=cg(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],c=s.length,l=0;l<c;++l)(o=s[l])&&cE(o,t,e,l,s,n||function(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw Error(`transition ${e} not found`);return n}(o,e));return new cV(r,this._parents,t,e)};var c2=Array.prototype.find;function c3(){return this.firstElementChild}var c5=Array.prototype.filter;function c4(){return Array.from(this.children)}function c6(t){return Array(t.length)}function c8(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function c7(t,e,n,r,i,a){for(var o,s=0,c=e.length,l=a.length;s<l;++s)(o=e[s])?(o.__data__=a[s],r[s]=o):n[s]=new c8(t,a[s]);for(;s<c;++s)(o=e[s])&&(i[s]=o)}function c9(t,e,n,r,i,a,o){var s,c,l,u=new Map,h=e.length,f=a.length,d=Array(h);for(s=0;s<h;++s)(c=e[s])&&(d[s]=l=o.call(c,c.__data__,s,e)+"",u.has(l)?i[s]=c:u.set(l,c));for(s=0;s<f;++s)l=o.call(t,a[s],s,a)+"",(c=u.get(l))?(r[s]=c,c.__data__=a[s],u.delete(l)):n[s]=new c8(t,a[s]);for(s=0;s<h;++s)(c=e[s])&&u.get(d[s])===c&&(i[s]=c)}function lt(t){return t.__data__}function le(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}c8.prototype={constructor:c8,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var ln="http://www.w3.org/1999/xhtml";let lr={svg:"http://www.w3.org/2000/svg",xhtml:ln,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function li(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),lr.hasOwnProperty(e)?{space:lr[e],local:t}:t}function la(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function lo(t,e){return t.style.getPropertyValue(e)||la(t).getComputedStyle(t,null).getPropertyValue(e)}function ls(t){return t.trim().split(/^|\s+/)}function lc(t){return t.classList||new ll(t)}function ll(t){this._node=t,this._names=ls(t.getAttribute("class")||"")}function lu(t,e){for(var n=lc(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function lh(t,e){for(var n=lc(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function lf(){this.textContent=""}function ld(){this.innerHTML=""}function lp(){this.nextSibling&&this.parentNode.appendChild(this)}function lg(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ly(t){var e=li(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===ln&&e.documentElement.namespaceURI===ln?e.createElement(t):e.createElementNS(n,t)}})(e)}function lm(){return null}function lv(){var t=this.parentNode;t&&t.removeChild(this)}function lb(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function lx(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function l_(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r<a;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function lk(t,e,n){return function(){var r,i=this.__on,a=function(t){e.call(this,t,this.__data__)};if(i){for(var o=0,s=i.length;o<s;++o)if((r=i[o]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=a,r.options=n),void(r.value=e)}this.addEventListener(t.type,a,n),r={type:t.type,name:t.name,value:e,listener:a,options:n},i?i.push(r):this.__on=[r]}}function lw(t,e,n){var r=la(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dis
1patchEvent(i)}ll.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var lT=[null];function lE(t,e){this._groups=t,this._parents=e}function lC(){return new lE([[document.documentElement]],lT)}lE.prototype=lC.prototype={constructor:lE,select:function(t){"function"!=typeof t&&(t=cQ(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,o,s=e[i],c=s.length,l=r[i]=Array(c),u=0;u<c;++u)(a=s[u])&&(o=t.call(a,a.__data__,u,s))&&("__data__"in a&&(o.__data__=a.__data__),l[u]=o);return new lE(r,this._parents)},selectAll:function(t){var e;t="function"==typeof t?(e=t,function(){var t;return t=e.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}):cJ(t);for(var n=this._groups,r=n.length,i=[],a=[],o=0;o<r;++o)for(var s,c=n[o],l=c.length,u=0;u<l;++u)(s=c[u])&&(i.push(t.call(s,s.__data__,u,c)),a.push(s));return new lE(i,a)},selectChild:function(t){var e;return this.select(null==t?c3:(e="function"==typeof t?t:c1(t),function(){return c2.call(this.children,e)}))},selectChildren:function(t){var e;return this.selectAll(null==t?c4:(e="function"==typeof t?t:c1(t),function(){return c5.call(this.children,e)}))},filter:function(t){"function"!=typeof t&&(t=c0(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,o=e[i],s=o.length,c=r[i]=[],l=0;l<s;++l)(a=o[l])&&t.call(a,a.__data__,l,o)&&c.push(a);return new lE(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,lt);var n=e?c9:c7,r=this._parents,i=this._groups;"function"!=typeof t&&(m=t,t=function(){return m});for(var a=i.length,o=Array(a),s=Array(a),c=Array(a),l=0;l<a;++l){var u=r[l],h=i[l],f=h.length,d="object"==typeof(v=t.call(u,u&&u.__data__,l,r))&&"length"in v?v:Array.from(v),p=d.length,g=s[l]=Array(p),y=o[l]=Array(p);n(u,h,g,y,c[l]=Array(f),d,e);for(var m,v,b,x,_=0,k=0;_<p;++_)if(b=g[_]){for(_>=k&&(k=_+1);!(x=y[k])&&++k<p;);b._next=x||null}}return(o=new lE(o,r))._enter=s,o._exit=c,o},enter:function(){return new lE(this._enter||this._groups.map(c6),this._parents)},exit:function(){return new lE(this._exit||this._groups.map(c6),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,a=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,a=r.length,o=Math.min(i,a),s=Array(i),c=0;c<o;++c)for(var l,u=n[c],h=r[c],f=u.length,d=s[c]=Array(f),p=0;p<f;++p)(l=u[p]||h[p])&&(d[p]=l);for(;c<i;++c)s[c]=n[c];return new lE(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=le);for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var o,s=n[a],c=s.length,l=i[a]=Array(c),u=0;u<c;++u)(o=s[u])&&(l[u]=o);l.sort(e)}return new lE(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null},size:function(){let t=0;for(let e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,a=e[n],o=0,s=a.length;o<s;++o)(i=a[o])&&t.call(i,i.__data__,o,a);return this},attr:function(t,e){var n=li(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?n.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:n.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):lo(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=ls(t+"");
1if(arguments.length<2){for(var r=lc(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?lu:lh)(this,t)}}:e?function(t){return function(){lu(this,t)}}:function(t){return function(){lh(this,t)}})(n,e))},text:function(t){return arguments.length?this.each(null==t?lf:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?ld:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(lp)},lower:function(){return this.each(lg)},append:function(t){var e="function"==typeof t?t:ly(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:ly(t),r=null==e?lm:"function"==typeof e?e:cQ(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(lv)},clone:function(t){return this.select(t?lx:lb)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,a=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),o=a.length;if(!(arguments.length<2)){for(s=e?lk:l_,r=0;r<o;++r)this.each(s(a[r],e,n));return this}var s=this.node().__on;if(s){for(var c,l=0,u=s.length;l<u;++l)for(r=0,c=s[l];r<o;++r)if((i=a[r]).type===c.type&&i.name===c.name)return c.value}},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return lw(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return lw(this,t,e)}})(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],a=0,o=i.length;a<o;++a)(r=i[a])&&(yield r)}};var lS={value:()=>{}};function lA(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw Error("illegal type: "+t);r[t]=[]}return new lM(r)}function lM(t){this._=t}function lN(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=lS,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}lM.prototype=lA.prototype={constructor:lM,on:function(t,e){var n,r=this._,i=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),a=-1,o=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw Error("invalid callback: "+e);for(;++a<o;)if(n=(t=i[a]).type)r[n]=lN(r[n],t.name,e);else if(null==e)for(n in r)r[n]=lN(r[n],t.name,null);return this}for(;++a<o;)if((n=(t=i[a]).type)&&(n=function(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new lM(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(a=0,n=(r=this._[t]).length;a<n;++a)r[a].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var r=this._[t],i=0,a=r.length;i<a;++i)r[i].value.apply(e,n)}};var lD,lB,lO=0,lL=0,lI=0,lF=0,lP=0,lR=0,lj="object"==typeof performance&&performance.now?performance:Date,lY="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function lU(){return lP||(lY(lz),lP=lj.now()+lR)}function lz(){lP=0}function l$(){this._call=this._time=this._next=null}function lq(t,e,n){var r=new l$;return r.restart(t,e,n),r}function lH(){lP=(lF=lj.now())+lR,lO=lL=0;try{lU(),++lO;for(var t,e=lD;e;)(t=lP-e._time)>=0&&e._call.call(void 0,t),e=e._next;--lO}finally{lO=0,function(){for(var t,e,n=lD,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:lD=e);lB=t,lV(r)}(),lP=0}}function lW(){var t=lj.now(),e=t-lF;e>1e3&&(lR-=e,lF=t)}function lV(t){lO||(lL&&(lL=clearTimeout(lL)),t-lP>24?(t<1/0&&(lL=setTimeout(lH,t-lj.now()-lR)),lI&&(lI=clearInterval(lI))):(lI||(lF=lj.now(),lI=setInterval(lW,1e3)),lO=1,lY(lH)))}function lG(t,e,n){var r=new l$;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}l$.prototype=lq.prototype={constructor:l$,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?lU():+n)+(null==e?0:+e),this._next||lB===this||(lB?lB._next=this:lD=this,lB=this),this._call=t,this._time=n,lV()},stop:function(){this._call&&(this._call=null,this._time=1/0,lV())}};var lX=lA("start","end","cancel","interrupt"),lZ=[];function lQ(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(c){var l,u,h,f;if(1!==n.state)return s();for(l in i)if((f=i[l]).name===n.name){if(3===f.state)return lG(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+l<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[l])}if(lG(function(){3===n.state&&(n.state=4,n.timer.restart(o,n.delay,n.time),o(c))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=Array(h=n.tween.length),l=0,u=-1;l<h;++l)(f=n.tween[l].value.call(t,t.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function o(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(s),n.state=5,1
1),a=-1,o=r.length;++a<o;)r[a].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),s())}function s(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=lq(function(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)},0,n.time)}(t,n,{name:e,index:r,group:i,on:lX,tween:lZ,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function lK(t,e){var n=l0(t,e);if(n.state>0)throw Error("too late; already scheduled");return n}function lJ(t,e){var n=l0(t,e);if(n.state>3)throw Error("too late; already running");return n}function l0(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw Error("transition not found");return n}function l1(t,e){return t*=1,e*=1,function(n){return t*(1-n)+e*n}}var l2,l3=180/Math.PI,l5={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function l4(t,e,n,r,i,a){var o,s,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*l3,skewX:Math.atan(c)*l3,scaleX:o,scaleY:s}}function l6(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(a,o){var s,c,l,u,h=[],f=[];return a=t(a),o=t(o),function(t,r,i,a,o,s){if(t!==i||r!==a){var c=o.push("translate(",null,e,null,n);s.push({i:c-4,x:l1(t,i)},{i:c-2,x:l1(r,a)})}else(i||a)&&o.push("translate("+i+e+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,h,f),s=a.rotate,c=o.rotate,s!==c?(s-c>180?c+=360:c-s>180&&(s+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:l1(s,c)})):c&&h.push(i(h)+"rotate("+c+r),l=a.skewX,u=o.skewX,l!==u?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:l1(l,u)}):u&&h.push(i(h)+"skewX("+u+r),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:l1(t,n)},{i:s-2,x:l1(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,h,f),a=o=null,function(t){for(var e,n=-1,r=f.length;++n<r;)h[(e=f[n]).i]=e.x(t);return h.join("")}}}var l8=l6(function(t){let e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?l5:l4(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),l7=l6(function(t){return null==t?l5:(l2||(l2=document.createElementNS("http://www.w3.org/2000/svg","g")),l2.setAttribute("transform",t),(t=l2.transform.baseVal.consolidate())?l4((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):l5)},", ",")",")");function l9(t,e,n){var r=t._id;return t.each(function(){var t=lJ(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return l0(t,r).value[e]}}function ut(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function ue(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function un(){}var ur="\\s*([+-]?\\d+)\\s*",ui="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",ua="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",uo=/^#([0-9a-f]{3,8})$/,us=RegExp("^rgb\\("+[ur,ur,ur]+"\\)$"),uc=RegExp("^rgb\\("+[ua,ua,ua]+"\\)$"),ul=RegExp("^rgba\\("+[ur,ur,ur,ui]+"\\)$"),uu=RegExp("^rgba\\("+[ua,ua,ua,ui]+"\\)$"),uh=RegExp("^hsl\\("+[ui,ua,ua]+"\\)$"),uf=RegExp("^hsla\\("+[ui,ua,ua,ui]+"\\)$"),ud={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function up(){return this.rgb().formatHex()}function ug(){return this.rgb().formatRgb()}function uy(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=uo.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?um(e):3===n?
1new ux(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?uv(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?uv(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=us.exec(t))?new ux(e[1],e[2],e[3],1):(e=uc.exec(t))?new ux(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=ul.exec(t))?uv(e[1],e[2],e[3],e[4]):(e=uu.exec(t))?uv(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=uh.exec(t))?uT(e[1],e[2]/100,e[3]/100,1):(e=uf.exec(t))?uT(e[1],e[2]/100,e[3]/100,e[4]):ud.hasOwnProperty(t)?um(ud[t]):"transparent"===t?new ux(NaN,NaN,NaN,0):null}function um(t){return new ux(t>>16&255,t>>8&255,255&t,1)}function uv(t,e,n,r){return r<=0&&(t=e=n=NaN),new ux(t,e,n,r)}function ub(t,e,n,r){var i;return 1==arguments.length?((i=t)instanceof un||(i=uy(i)),i?new ux((i=i.rgb()).r,i.g,i.b,i.opacity):new ux):new ux(t,e,n,null==r?1:r)}function ux(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function u_(){return"#"+uw(this.r)+uw(this.g)+uw(this.b)}function uk(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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===t?")":", "+t+")")}function uw(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function uT(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new uC(t,e,n,r)}function uE(t){if(t instanceof uC)return new uC(t.h,t.s,t.l,t.opacity);if(t instanceof un||(t=uy(t)),!t)return new uC;if(t instanceof uC)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n<r):n===a?(r-e)/s+2:(e-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new uC(o,s,c,t.opacity)}function uC(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function uS(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function uA(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}ut(un,uy,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:up,formatHex:up,formatHsl:function(){return uE(this).formatHsl()},formatRgb:ug,toString:ug}),ut(ux,ub,ue(un,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new ux(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new ux(this.r*t,this.g*t,this.b*t,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:u_,formatHex:u_,formatRgb:uk,toString:uk})),ut(uC,function(t,e,n,r){return 1==arguments.length?uE(t):new uC(t,e,n,null==r?1:r)},ue(un,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new uC(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new uC(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new ux(uS(t>=240?t-240:t+120,i,r),uS(t,i,r),uS(t<120?t+240:t-120,i,r),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 t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));let uM=t=>()=>t;function uN(t,e){var n=e-t;return n?function(e){return t+e*n}:uM(isNaN(t)?e:t)}let uD=function t(e){var n,r=1==(n=+e)?uN:function(t,e){var r,i,a;return e-t?(r=t,i=e,r=Math.pow(r,a=n),i=Math.pow(i,a)-r,a=1/a,function(t){return Math.pow(r+t*i,a)}):uM(isNaN(t)?e:t)};function i(t,e){var n=r((t=ub(t)).r,(e=ub(e)).r),i=r(t.g,e.g),a=r(t.b,e.b),o=uN(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function uB(t){return function(e){var n,r,i=e.length,a=Array(i),o=Array(i),s=Array(i);for(n=0;n<i;++n)r=ub(e[n]),a[n]=r.r||0,o[n]=r.g||0,s[n]=r.b||0;return a=t(a),o=t(o),s=t(s),r.opacity=1,function(t){return r.r=a(t),r.g=o(t),r.b=s(t),r+""}}}uB(function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],a=t[r+1],o=r>0?t[r-1]:2*i-a,s=r<e-1?t[r+2]:2*a-i;return uA((n-r/e)*e,o,i,a,s)}}),uB(function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],a=t[r%e],o=t[(r+1)%e],s=t[(r+2)%e];return uA((n-r/e)*e,i,a,o,s)}});var uO=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,uL=RegExp(uO.source,"g");function uI(t,e){var n;return("number"==typeof e?l1:e instanceof uy?uD:(n=uy(e))?(e=n,uD):function(t,e){var n,r,i,a,o,s=uO.lastIndex=uL.lastIndex=0,c=-1,l=[],u=[];for(t+="",e+="";(i=uO.exec(t))&&(a=uL.exec(e));)(o=a.index)>s&&(o=e.slice(s,o),l[c]?l[c]+=o:l[++c]=o),(i=i[0])===(a=a[0])?l[c]?l[c]+=a:l[++c]=a:(l[++c]=null,u.push({i:c,x:l1(i,a)})),s=uL.lastIndex;return s<e.length&&(o=e.slice(s),l[c]?l[c]+=o:l[++c]=o),l.length<2?u[0]?(n=u[0].x,function(t){return n(t)+""}):(r=e,function(){return r}):(e=u.length,function(t){for(var n,r=0;r<e;++r)l[(n=u[r]).i]=n.x(t);return l.join("")})})(t,e)}var uF=lC.prototype.constructor;function uP(t){return function(){this.style.removeProperty(t)}}var uR=0;function uj(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}var uY=lC.prototype;uj.prototype=(function(t){return lC().transition(t)}).prototype={constructor:uj,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=cQ(t));for(var r=this._groups,i=r.length,a=Array(i),o=0;o<i;++o)for(var s,c,l=r[o],u=l.length,h=a[o]=Array(u),f=0;f<u;++f)(s=l[f])&&(c=t.call(s,s.__data__,f,l))&&("__data__"in s&&(c.__data__=s.__data__),h[f]=c,lQ(h[f],e,n,f,h,l0(s,n)));return new uj(a,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=cJ(t));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var c,l=r[s],u=l.length,h=0;h<u;++h)if(c=l[h]){for(var f,d=t.call(c,c.__data__,h,l),p=l0(c,n),g=0,y=d.length;g<y;++g)(f=d[g])&&lQ(f,e,n,g,d,p);a.push(d),o.push(c)}return new uj(a,o,e,n)},selectChild:uY.selectChild,selectChildren:uY.selectChildren,filter:function(t){"function"!=typeof t&&(t=c0(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,o=e[i],s=o.length,c=r[i]=[],l=0;l<s;++l)(a=o[l])&&t.call(a,a.__data__,l,o)&&c.push(a);return new uj(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=Array(r),s=0;s<a;++s)for(var c,l=e[s],u=n[s],h=l.length,f=o[s]=Array(h),d=0;d<h;++d)(c=l[d]||u[d])&&(f[d]=c);for(;s<r;++s)o[s]=e[s];return new uj(o,this._parents,this._name,this._id)},selection:function(){return new uF(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=++uR,r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],c=s.length,l=0;l<c;++l)if(o=s[l]){var u=l0(o,e);lQ(o,t,n,l,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new uj(r,this._parents,t,n)},call:uY.call,nodes:uY.nodes,node:uY.node,size:uY.size,empty:uY.empty,each:uY.each,on:function(t,e){var n,r,i,a,o,s,c=this._id;return arguments.length<2?l0(this.node(),c).on.on(t):this.each((n=c,r=t,i=e,s=(r+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>
1=0&&(t=t.slice(0,e)),!t||"start"===t})?lK:lJ,function(){var t=s(this,n),e=t.on;e!==a&&(o=(a=e).copy()).on(r,i),t.on=o}))},attr:function(t,e){var n=li(t),r="transform"===n?l7:uI;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,i,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:o===r&&s===i?a:(i=s,a=e(r=o,c));this.removeAttributeNS(t.space,t.local)}}:function(t,e,n){var r,i,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttribute(t))===(s=c+"")?null:o===r&&s===i?a:(i=s,a=e(r=o,c));this.removeAttribute(t)}})(n,r,l9(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===r?i:i=e(r=o,n)}}:function(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttribute(t);return o===a?null:o===r?i:i=e(r=o,n)}})(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();var r=li(t);return this.tween(n,(r.local?function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttributeNS(t.space,t.local,i.call(this,e))}),n}return i._value=e,i}:function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttribute(t,i.call(this,e))}),n}return i._value=e,i})(r,e))},style:function(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,p,g,y,m,v,b,x,_,k,w,T="transform"==(t+="")?l8:uI;return null==e?this.styleTween(t,(r=t,function(){var t=lo(this,r),e=(this.style.removeProperty(r),lo(this,r));return t===e?null:t===i&&e===a?o:o=T(i=t,a=e)})).on("end.style."+t,uP(t)):"function"==typeof e?this.styleTween(t,(s=t,c=l9(this,"style."+t,e),function(){var t=lo(this,s),e=c(this),n=e+"";return null==e&&(this.style.removeProperty(s),n=e=lo(this,s)),t===n?null:t===l&&n===u?h:(u=n,h=T(l=t,e))})).each((f=this._id,b="end."+(v="style."+(d=t)),function(){var t=lJ(this,f),e=t.on,n=null==t.value[v]?m||(m=uP(d)):void 0;e===p&&y===n||(g=(p=e).copy()).on(b,y=n),t.on=g})):this.styleTween(t,(x=t,w=e+"",function(){var t=lo(this,x);return t===w?null:t===_?k:k=T(_=t,e)}),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();return this.tween(r,function(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&function(e){this.style.setProperty(t,a.call(this,e),n)}),r}return a._value=e,a}(t,e,null==n?"":n))},text:function(t){var e,n;return this.tween("text","function"==typeof t?(e=l9(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(n=null==t?"":t+"",function(){this.textContent=n}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=l0(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===t)return r.value;return null}return this.each((null==e?function(t,e){var n,r;return function(){var i=lJ(this,t),a=i.tween;if(a!==n){for(var o=0,s=(r=n=a).length;o<s;++o)if(r[o].name===e){(r=r.slice()).splice(o,1);break}}i.tween=r}}:function(t,e,n){var r,i;if("function"!=typeof n)throw Error();return function(){var a=lJ(this,t),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:e,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===e){i[c]=s;break}c===l&&i.push(s)}a.tween=i}})(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){lK(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){lK(this,t).delay=e}})(e,t)):l0(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){lJ(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){lJ(this,t).duration=e}})(e,t)):l0(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw Error();return function(){lJ(this,t).ease=e}}(e,t)):l0(this.node(),e).ease},easeVarying:function(t){var e;if("function"!=typeof t)throw Error();return this.each((e=this._id,function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw Error();lJ(this,e).ease=n}))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(a,o){var s={value:o},c={value:function(){0==--i&&a()}};n.each(function(){var n=lJ(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e}),0===i&&a()})},[Symbol.iterator]:uY[Symbol.iterator]};var uU={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function uz(t,e,n){this.k=t,this.x=e,this.y=n}lC.prototype.interrupt=function(t){return this.each(function(){!function(t,e){var n,r,i,a=t.__transition,o=!0;if(a){for(i in e=null==e?null:e+"",a)(n=a[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}(this,t)})},lC.prototype.transition=function(t){var e,n;t instanceof uj?(e=t._id,t=t._name):(e=++uR,(n=uU).time=lU(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],c=s.length,l=0;l<c;++l)(o=s[l])&&lQ(o,t,e,l,s,n||function(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw Error(`transition ${e} not found`);return n}(o,e));return new uj(r,this._parents,t,e)},uz.prototype={constructor:uz,scale:function(t){return 1===t?this:new uz(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new uz(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new uz(1,0,0),uz.prototype;var u$="comm",uq="rule",uH="decl",uW=Math.abs,uV=String.fromCharCode;function uG(t,e,n){return t.replace(e,n)}function uX(t,e){return 0|t.charCodeAt(e)}function uZ(t,e,n){return t.slice(e,n)}function uQ(t){return t.length}function uK(t,e){return e.push(t),t}function uJ(t,e){for(var n="",r=t.length,i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function u0(t,e,n,r){switch(t.type){case"@import":case uH:return t.return=t.return||t.value;case u$:return"";case"@keyframes":return t.return=t.value+"{"+uJ(t.children,r)+"}";case uq:t.value=t.props.join(",")}return uQ(n=uJ(t.children,r))?t.return=t.value+"{"+n+"}":""}var u1=1,u2=1,u3=0,u5=0,u4=0,u6="";function u8(t,e,n,r,i,a,o){return{value:t,root:e,parent:n,type:r,props:i,children:a,line:u1,column:u2,length:o,return:""}}function u7(){return u4=u5<u3?uX(u6,u5++):0,u2++,10===u4&&(u2=1,u1++),u4}function u9(){return uX(u6,u5)}function ht(t){switch(t){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 he(t){var e,n;return(e=u5-1,n=function t(e){for(;u7();)switch(u4){case e:return u5;case 34:case 39:34!==e&&39!==e&&t(u4);break;case 40:41===e&&t(e);break;case 92:u7()}return u5}(91===t?t+2:40===t?t+1:t),uZ(u6,e,n)).trim()}function hn(t,e,n,r,i,a,o,s,c,l,u){for(var h=i-1,f=0===i?a:[""],d=f.length,p=0,g=0,y=0;p<r;++p)for(var m=0,v=uZ(t,h+1,h=uW(g=o[p])),b=t;m<d;++m)(b=(g>0?f[m]+" "+v:uG(v,/&\f/g,f[m])).trim())&&(c[y++]=b);return u8(t,e,n,0===i?uq:s,c,l,u)}function hr(t,e,n,r){return u8(t,e,n,uH,uZ(t,0,r),uZ(t,r+1,-1),r)}let hi="8.14.0";var ha=n(9609),ho=n(7856),hs=n.n(ho),hc=function(t){var e=t.replace(/\\u[\dA-F]{4}/gi,function(t){return String.fromCharCode(parseInt(t.replace(/\\u/g,""),16))});
1return(e=(e=e.replace(/\\x([0-9a-f]{2})/gi,function(t,e){return String.fromCharCode(parseInt(e,16))})).replace(/\\[\d\d\d]{3}/gi,function(t){return String.fromCharCode(parseInt(t.replace(/\\/g,""),8))})).replace(/\\[\d\d\d]{2}/gi,function(t){return String.fromCharCode(parseInt(t.replace(/\\/g,""),8))})},hl=function(t){for(var e="",n=0;n>=0;){if(!((n=t.indexOf("<script"))>=0)){e+=t,n=-1;break}e+=t.substr(0,n),(n=(t=t.substr(n+1)).indexOf("<\/script>"))>=0&&(n+=9,t=t.substr(n))}var r=hc(e);return(r=(r=(r=r.replace(/script>/gi,"#")).replace(/javascript:/gi,"#")).replace(/onerror=/gi,"onerror:")).replace(/<iframe/gi,"")},hu=function(t,e){return t?hs().sanitize(function(t,e){var n=t,r=!0;if(e.flowchart&&(!1===e.flowchart.htmlLabels||"false"===e.flowchart.htmlLabels)&&(r=!1),r){var i=e.securityLevel;"antiscript"===i||"strict"===i?n=hl(n):"loose"!==i&&(n=hf(n=(n=(n=hd(n)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"=")))}return n}(t,e)):t},hh=/<br\s*\/?>/gi,hf=function(t){return t.replace(/#br#/g,"<br/>")},hd=function(t){return t.replace(hh,"#br#")},hp=function(t){return"false"!==t&&!1!==t};let hg=function(t){if(!t)return 1;var e=hd(t);
1return(e=e.replace(/\\n/g,"#br#")).split("#br#")},hy=function(t){var e="";return t&&(e=(e=(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),e};var hm=n(8613),hv=function(t,e){return e?(0,hm.adjust)(t,{s:-40,l:10}):(0,hm.adjust)(t,{s:-40,l:-10})};function hb(t){return(hb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var hx=function(){var t;function e(){!function(t,e){if(!(t instanceof e))throw 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"}return t=[{key:"updateColors",value:function(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#ddd":"#333"),this.secondaryColor=this.secondaryColor||(0,hm.adjust)(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||(0,hm.adjust)(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||hv(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||hv(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||hv(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||hv(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||(0,hm.invert)(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||(0,hm.invert)(this.tertiaryColor),this.lineColor=this.lineColor||(0,hm.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,hm.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,hm.darken)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||(0,hm.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,hm.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,hm.adjust)(this.primaryColor,{h:64}),this.fillType3=this.fillType3||(0,hm.adjust)(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||(0,hm.adjust)(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||(0,hm.adjust)(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||(0,hm.adjust)(this.primaryColor,{h:128}),this.fillType7=this.fillType7||(0,hm.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,hm.adjust)(this.primaryColor,{l:-10}),this.pie5=this.pie5||(0,hm.adjust)(this.secondaryColor,{l:-10}),this.pie6=this.pie6||(0,hm.adjust)(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||(0,hm.adjust)(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||(0,hm.adjust)(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||(0,hm.adjust)(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||(0,hm.adjust)(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||(0,hm.adjust)(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||(0,hm.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,hm.darken)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor}},{key:"calculate",value:function(t){var e=this;if("object"===hb(t)){var n=Object.keys(t);n.forEach(function(n){e[n]=t[n]}
1),this.updateColors(),n.forEach(function(n){e[n]=t[n]})}else this.updateColors()}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();function h_(t){return(h_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var hk=function(){var t;function e(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,hm.lighten)(this.primaryColor,16),this.tertiaryColor=(0,hm.adjust)(this.primaryColor,{h:-160}),this.primaryBorderColor=hv(this.primaryColor,this.darkMode),this.secondaryBorderColor=hv(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=hv(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,hm.invert)(this.primaryColor),this.secondaryTextColor=(0,hm.invert)(this.secondaryColor),this.tertiaryTextColor=(0,hm.invert)(this.tertiaryColor),this.lineColor=(0,hm.invert)(this.background),this.textColor=(0,hm.invert)(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,hm.lighten)((0,hm.invert)("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,hm.rgba)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#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,hm.darken)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.taskBorderColor=(0,hm.rgba)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,hm.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"}return t=[{key:"updateColors",value:function(){this.secondBkg=(0,hm.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,hm.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,hm.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.labelBackgroun
1dColor=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,hm.adjust)(this.primaryColor,{h:64}),this.fillType3=(0,hm.adjust)(this.secondaryColor,{h:64}),this.fillType4=(0,hm.adjust)(this.primaryColor,{h:-64}),this.fillType5=(0,hm.adjust)(this.secondaryColor,{h:-64}),this.fillType6=(0,hm.adjust)(this.primaryColor,{h:128}),this.fillType7=(0,hm.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.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,hm.darken)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor}},{key:"calculate",value:function(t){var e=this;if("object"===h_(t)){var n=Object.keys(t);n.forEach(function(n){e[n]=t[n]}
1),this.updateColors(),n.forEach(function(n){e[n]=t[n]})}else this.updateColors()}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();function hw(t){return(hw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var hT=function(){var t;function e(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=(0,hm.adjust)(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=(0,hm.adjust)(this.primaryColor,{h:-160}),this.primaryBorderColor=hv(this.primaryColor,this.darkMode),this.secondaryBorderColor=hv(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=hv(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,hm.invert)(this.primaryColor),this.secondaryTextColor=(0,hm.invert)(this.secondaryColor),this.tertiaryTextColor=(0,hm.invert)(this.tertiaryColor),this.lineColor=(0,hm.invert)(this.background),this.textColor=(0,hm.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,hm.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()}return t=[{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.edgeLabelBackground=this.labelBackground,this.actorBorder=(0,hm.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.labelBackgroun
1dColor=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,hm.adjust)(this.primaryColor,{h:64}),this.fillType3=(0,hm.adjust)(this.secondaryColor,{h:64}),this.fillType4=(0,hm.adjust)(this.primaryColor,{h:-64}),this.fillType5=(0,hm.adjust)(this.secondaryColor,{h:-64}),this.fillType6=(0,hm.adjust)(this.primaryColor,{h:128}),this.fillType7=(0,hm.adjust)(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||(0,hm.adjust)(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||(0,hm.adjust)(this.primaryColor,{l:-10}),this.pie5=this.pie5||(0,hm.adjust)(this.secondaryColor,{l:-30}),this.pie6=this.pie6||(0,hm.adjust)(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||(0,hm.adjust)(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||(0,hm.adjust)(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||(0,hm.adjust)(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||(0,hm.adjust)(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||(0,hm.adjust)(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||(0,hm.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(t){var e=this;if("object"===hw(t)){var n=Object.keys(t);n.forEach(function(n){e[n]=t[n]}
1),this.updateColors(),n.forEach(function(n){e[n]=t[n]})}else this.updateColors()}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();function hE(t){return(hE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var hC=function(){var t;function e(){!function(t,e){if(!(t instanceof e))throw 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,hm.lighten)("#cde498",10),this.primaryBorderColor=hv(this.primaryColor,this.darkMode),this.secondaryBorderColor=hv(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=hv(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,hm.invert)(this.primaryColor),this.secondaryTextColor=(0,hm.invert)(this.secondaryColor),this.tertiaryTextColor=(0,hm.invert)(this.primaryColor),this.lineColor=(0,hm.invert)(this.background),this.textColor=(0,hm.invert)(this.background),this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#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"}return t=[{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,hm.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.compositeTitleBackgroun
1d||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,hm.adjust)(this.primaryColor,{h:64}),this.fillType3=(0,hm.adjust)(this.secondaryColor,{h:64}),this.fillType4=(0,hm.adjust)(this.primaryColor,{h:-64}),this.fillType5=(0,hm.adjust)(this.secondaryColor,{h:-64}),this.fillType6=(0,hm.adjust)(this.primaryColor,{h:128}),this.fillType7=(0,hm.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,hm.adjust)(this.primaryColor,{l:-30}),this.pie5=this.pie5||(0,hm.adjust)(this.secondaryColor,{l:-30}),this.pie6=this.pie6||(0,hm.adjust)(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||(0,hm.adjust)(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||(0,hm.adjust)(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||(0,hm.adjust)(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||(0,hm.adjust)(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||(0,hm.adjust)(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||(0,hm.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.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(t){var e=this;if("object"===hE(t)){var n=Object.keys(t);n.forEach(function(n){e[n]=t[n]}
1),this.updateColors(),n.forEach(function(n){e[n]=t[n]})}else this.updateColors()}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();function hS(t){return(hS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var hA=function(){var t;function e(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,hm.lighten)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=(0,hm.adjust)(this.primaryColor,{h:-160}),this.primaryBorderColor=hv(this.primaryColor,this.darkMode),this.secondaryBorderColor=hv(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=hv(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,hm.invert)(this.primaryColor),this.secondaryTextColor=(0,hm.invert)(this.secondaryColor),this.tertiaryTextColor=(0,hm.invert)(this.tertiaryColor),this.lineColor=(0,hm.invert)(this.background),this.textColor=(0,hm.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"}return t=[{key:"updateColors",value:function(){this.secondBkg=(0,hm.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,hm.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,hm.lighten)(this.contrast,30),this.sectionBkgColor2=(0,hm.lighten)(this.contrast,30),this.taskBorderColor=(0,hm.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,hm.lighten)(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=(0,hm.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,hm.adjust)(this.primaryColor,{h:64}),this.fillType3=(0,hm.adjust)(this.secondaryColor,{h:64}),this.fillType4=(0,hm.adjust)(this.primaryColor,{h:-64}),this.fillType5=(0,hm.adjust)(this.secondaryColor,{h:-64}),this.fillType6=(0,hm.adjust)(this.primaryColor,{h:128}),this.fillType7=(0,hm.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(t){var e=this;if("object"===hS(t)){var n=Object.keys(t);n.forEach(function(n){e[n]=t[n]}
1),this.updateColors(),n.forEach(function(n){e[n]=t[n]})}else this.updateColors()}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}();let hM={base:{getThemeVariables:function(t){var e=new hx;return e.calculate(t),e}},dark:{getThemeVariables:function(t){var e=new hk;return e.calculate(t),e}},default:{getThemeVariables:function(t){var e=new hT;return e.calculate(t),e}},forest:{getThemeVariables:function(t){var e=new hC;return e.calculate(t),e}},neutral:{getThemeVariables:function(t){var e=new hA;return e.calculate(t),e}}};function hN(t){return function(t){if(Array.isArray(t))return hD(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return hD(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hD(t,void 0):void 0}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hD(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function hB(t){return(hB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var hO={theme:"default",themeVariables:hM.default.getThemeVariables(),themeCSS: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}};hO.class.arrowMarkerAbsolute=hO.arrowMarkerAbsolute,hO.git.arrowMarkerAbsolute=hO.arrowMarkerAbsolute;var hL=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.keys(e).reduce(function(r,i){return Array.isArray(e[i])?r:"object"===hB(e[i])&&null!==e[i]?[].concat(hN(r),[n+i],hN(t(e[i],""))):[].concat(hN(r),[n+i])},[])}(hO,""),hI=void 0;function hF(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
1if(!n){if(Array.isArray(t)||(n=hj(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function hP(t){return(hP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function hR(t){return function(t){if(Array.isArray(t))return hY(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||hj(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hj(t,e){if(t){if("string"==typeof t)return hY(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hY(t,e):void 0}}function hY(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var hU,hz={curveBasis:om,curveBasisClosed:function(t){return new ov(t)},curveBasisOpen:function(t){return new ob(t)},curveLinear:oc,curveLinearClosed:function(t){return new ox(t)},curveMonotoneX:function(t){return new oT(t)},curveMonotoneY:function(t){return new oE(t)},curveNatural:function(t){return new oS(t)},curveStep:function(t){return new oM(t,.5)},curveStepAfter:function(t){return new oM(t,1)},curveStepBefore:function(t){return new oM(t,0)}},h$=/[%]{2}[{]\s*(?:(?:(\w+)\s*:|(\w+))\s*(?:(?:(\w+))|((?:(?![}][%]{2}).|\r?\n)*))?\s*)(?:[}][%]{2})?/gi,hq=/\s*(?:(?:(\w+)(?=:):|(\w+))\s*(?:(?:(\w+))|((?:(?![}][%]{2}).|\r?\n)*))?\s*)(?:[}][%]{2})?/gi,hH=/\s*%%.*\n/gm,hW=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var n=RegExp("[%]{2}(?![{]".concat(hq.source,")(?=[}][%]{2}).*\n"),"ig");t=t.trim().replace(n,"").replace(/'/gm,'"'),o.debug("Detecting diagram directive".concat(null!==e?" type:"+e:""," based on the text:").concat(t));for(var r,i=[];null!==(r=h$.exec(t));)if(r.index===h$.lastIndex&&h$.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){var a=r[1]?r[1]:r[2],s=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;i.push({type:a,args:s})}return 0===i.length&&i.push({type:t,args:null}),1===i.length?i[0]:i}catch(n){return o.error("ERROR: ".concat(n.message," - Unable to parse directive\n ").concat(null!==e?" type:"+e:""," based on the text:").concat(t)),{type:null,args:null}}},hV=function(t,e){return(t=t.replace(h$,"").replace(hH,"\n")).match(/^\s*sequenceDiagram/)?"sequence":t.match(/^\s*gantt/)?"gantt":t.match(/^\s*classDiagram-v2/)?"classDiagram":t.match(/^\s*classDiagram/)?e&&e.class&&"dagre-wrapper"===e.class.defaultRenderer?"classDiagram":"class":t.match(/^\s*stateDiagram-v2/)?"stateDiagram":t.match(/^\s*stateDiagram/)?e&&e.class&&"dagre-wrapper"===e.state.defaultRenderer?"stateDiagram":"state":t.match(/^\s*gitGraph/)?"git":t.match(/^\s*flowchart/)?"flowchart-v2":t.match(/^\s*info/)?"info":t.match(/^\s*pie/)?"pie":t.match(/^\s*erDiagram/)?"er":t.match(/^\s*journey/)?"journey":t.match(/^\s*requirement/)||t.match(/^\s*requirementDiagram/)?"requirement":e&&e.flowchart&&"dagre-wrapper"===e.flowchart.defaultRenderer?"flowchart-v2":"flowchart"},hG=function(t,e){var n={};return function(){for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];var o=e?e.apply(hI,i):i[0];if(o in n)return n[o];var s=t.apply(void 0,i);return n[o]=s,s}},hX=function(t,e){return t&&hz["curve".concat(t.charAt(0).toUpperCase()+t.slice(1))]||e},hZ=function(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0},hQ=function(t){for(var e="",n="",r=0;r<t.length;r++)void 0!==t[r]&&(t[r].startsWith("color:")||t[r].startsWith("text-align:")?n=n+t[r]+";":e=e+t[r]+";");return{style:e,labelStyle:n}},hK=0,hJ=function(){return hK++,"id-"+Math.random().toString(36).substr(2,12)+"-"+hK},h0=function(t){return function(t){for(var e="",n="0123456789abcdef",r=n.length,i=0;i<t;i++)e+=n.charAt(Math.floor(Math.random()*r));return e}(t.length)},h1=function t(e,n,r){var i=Object.assign({depth:2,clobber:!1},r),a=i.depth,o=i.clobber;return Array.isArray(n)&&!Array.isArray(e)?(n.forEach(function(n){return t(e,n,r)}),e):Array.isArray(n)&&Array.isArray(e)?(n.forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),e):void 0===e||a<=0?null!=e&&"object"===hP(e)&&"object"===hP(n)?Object.assign(e,n):n:(void 0!==n&&"object"===hP(e)&&"object"===hP(n)&&Object.keys(n).forEac
1h(function(r){"object"!==hP(n[r])||void 0!==e[r]&&"object"!==hP(e[r])?(o||"object"!==hP(e[r])&&"object"!==hP(n[r]))&&(e[r]=n[r]):(void 0===e[r]&&(e[r]=Array.isArray(n[r])?[]:{}),e[r]=t(e[r],n[r],{depth:a-1,clobber:o}))}),e)},h2=function(t,e){var n=e.text.replace(hh," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.style("text-anchor",e.anchor),r.style("font-family",e.fontFamily),r.style("font-size",e.fontSize),r.style("font-weight",e.fontWeight),r.attr("fill",e.fill),void 0!==e.class&&r.attr("class",e.class);var i=r.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.attr("fill",e.fill),i.text(n),r},h3=hG(function(t,e,n){if(!t||(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),hh.test(t)))return t;var r=t.split(" "),i=[],a="";return r.forEach(function(t,o){var s=h4("".concat(t," "),n),c=h4(a,n);if(s>e){var l=h5(t,e,"-",n),u=l.hyphenatedStrings,h=l.remainingWord;i.push.apply(i,[a].concat(hR(u))),a=h}else c+s>=e?(i.push(a),a=t):a=[a,t].filter(Boolean).join(" ");o+1===r.length&&i.push(a)}),i.filter(function(t){return""!==t}).join(n.joinWith)},function(t,e,n){return"".concat(t,"-").concat(e,"-").concat(n.fontSize,"-").concat(n.fontWeight,"-").concat(n.fontFamily,"-").concat(n.joinWith)}),h5=hG(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",r=arguments.length>3?arguments[3]:void 0;r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);var i=t.split(""),a=[],o="";return i.forEach(function(t,s){var c="".concat(o).concat(t);if(h4(c,r)>=e){var l=i.length===s+1,u="".concat(c).concat(n);a.push(l?c:u),o=""}else o=c}),{hyphenatedStrings:a,remainingWord:o}},function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",r=arguments.length>3?arguments[3]:void 0;return"".concat(t,"-").concat(e,"-").concat(n,"-").concat(r.fontSize,"-").concat(r.fontWeight,"-").concat(r.fontFamily)}),h4=function(t,e){return h6(t,e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e)).width},h6=hG(function(t,e){var n=e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e),r=n.fontSize,i=n.fontFamily,a=n.fontWeight;if(!t)return{width:0,height:0};var o=t.split(hh),s=[],c=aq("body");if(!c.remove)return{width:0,height:0,lineHeight:0};for(var l=c.append("svg"),u=0,h=["sans-serif",i];u<h.length;u++){var f,d=h[u],p=0,g={width:0,height:0,lineHeight:0},y=hF(o);try{for(y.s();!(f=y.n()).done;){var m=f.value,v={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0};v.text=m;var b=h2(l,v).style("font-size",r).style("font-weight",a).style("font-family",d),x=(b._groups||b)[0][0].getBBox();g.width=Math.round(Math.max(g.width,x.width)),p=Math.round(x.height),g.height+=p,g.lineHeight=Math.round(Math.max(g.lineHeight,p))}}catch(t){y.e(t)}finally{y.f()}s.push(g)}return l.remove(),s[isNaN(s[1].height)||isNaN(s[1].width)||isNaN(s[1].lineHeight)||s[0].height>s[1].height&&s[0].width>s[1].width&&s[0].lineHeight>s[1].lineHeight?0:1]},function(t,e){return"".concat(t,"-").concat(e.fontSize,"-").concat(e.fontWeight,"-").concat(e.fontFamily)}),h8=function(t,e,n){var r=new Map;return r.set("height",t),n?(r.set("width","100%"),r.set("style","max-width: ".concat(e,"px;"))):r.set("width",e),r},h7=function(t,e,n,r){!function(t,e){var n,r=hF(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;t.attr(i[0],i[1])}}catch(t){r.e(t)}finally{r.f()}}(t,h8(e,n,r))},h9=function t(e){o.debug("directiveSanitizer called with",e),"object"===hP(e)&&(e.length?e.forEach(function(e){return t(e)}):Object.keys(e).forEach(function(n){o.debug("Checking key",n),0===n.indexOf("__")&&(o.debug("sanitize deleting __ option",n),delete e[n]),n.indexOf("proto")>=0&&(o.debug("sanitize deleting proto option",n),delete e[n]),n.indexOf("constr")>=0&&(o.debug("sanitize deleting constr option",n),delete e[n]),n.indexOf("themeCSS")>=0&&(o.debug("sanitizing themeCss option"),e[n]=ft(e[n])),0>hL.indexOf(n)?(o.debug("sanitize deleting option",n),delete e[n]):"object"===hP(e[n])&&(o.debug("sanitize deleting object",n),t(e[n]))}))},ft=function(t){return(t.match(/\{/g)||[]).length!==(t.match(/\}/g)||[]).length?"{ /* ERROR: Unbalanced CSS */ }":t};let fe={assignWithDepth:h1,wrapLabel:h3,calculateTextHeight:function(t,e){return h6(t,e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},e)).height},calculateTextWidth:h4,calculateTextDimensions:h6,calculateSvgSizeAttrs:h8,configureSvgSize:h7,detectInit:function(t,e){var n=hW(t,/(?:init\b)|(?:initialize\b)/),r={};if(Array.isArray(n)){var i=n.map(function(t){return t.args});h9(i),r=h1(r,hR(i))}else r=n.args;if(r){var a=hV(t,e);["config"].forEach(function(t){void 0!==r[t]&&("flowchart-v2"===a&&(a="flowchart"),r[a]=r[t],delete r[t])})}return r},detectDirective:hW,detectType:hV,isSubstringInArray:function(t,e){for(var n=0;n<e.length;n++)if(e[n].match(t))return n;return -1},interpolateToCurve:hX,calcLabelPosition:function(t){var e,n,r,i;return n=0,t.forEach(function(t){n+=hZ(t,e),e=t}),r=n/2,i=void 0,e=void 0,t.forEach(function(t){if(e&&!i){var n=hZ(t,e);if(n<r)r-=n;else{var a=r/n;a<=0&&(i=e),a>=1&&(i={x:t.x,y:t.y}),a>0&&a<1&&(i={x:(1-a)*e.x+a*t.x,y:(1-a)*e.y+a*t.y})}}e=t}),i},calcCardinalityPosition:function(t,e,n){o.info("our points",e),e[0]!==n&&(e=e.reverse()),e.forEach(function(t){hZ(t,r),r=t});var r,i,a=25;r=void 0,e.forEach(function(t){if(r&&!i){var e=hZ(t,r);if(e<a)a-=e;else{var n=a/e;n<=0&&(i=r),n>=1&&(i={x:t.x,y:t.y}),n>0&&n<1&&(i={x:(1-n)*r.x+n*t.x,y:(1-n)*r.y+n*t.y})}}r=t});var s=t?10:5,c=Math.atan2(e[0].y-i.y,e[0].x-i.x),l={x:0,y:0};return l.x=Math.sin(c)*s+(e[0].x+i.x)/2,l.y=-Math.cos(c)*s+(e[0].y+i.y)/2,l},calcTerminalLabelPosition:function(t,e,n){var r,i=JSON.parse(JSON.stringify(n));o.info("our points",i),"start_left"!==e&&"start_right"!==e&&(i=i.reverse()),i.forEac
1h(function(t){hZ(t,r),r=t});var a,s=25+t;r=void 0,i.forEach(function(t){if(r&&!a){var e=hZ(t,r);if(e<s)s-=e;else{var n=s/e;n<=0&&(a=r),n>=1&&(a={x:t.x,y:t.y}),n>0&&n<1&&(a={x:(1-n)*r.x+n*t.x,y:(1-n)*r.y+n*t.y})}}r=t});var c=10+.5*t,l=Math.atan2(i[0].y-a.y,i[0].x-a.x),u={x:0,y:0};return u.x=Math.sin(l)*c+(i[0].x+a.x)/2,u.y=-Math.cos(l)*c+(i[0].y+a.y)/2,"start_left"===e&&(u.x=Math.sin(l+Math.PI)*c+(i[0].x+a.x)/2,u.y=-Math.cos(l+Math.PI)*c+(i[0].y+a.y)/2),"end_right"===e&&(u.x=Math.sin(l-Math.PI)*c+(i[0].x+a.x)/2-5,u.y=-Math.cos(l-Math.PI)*c+(i[0].y+a.y)/2-5),"end_left"===e&&(u.x=Math.sin(l)*c+(i[0].x+a.x)/2-5,u.y=-Math.cos(l)*c+(i[0].y+a.y)/2-5),u},formatUrl:function(t,e){var n=t.trim();if(n)return"loose"!==e.securityLevel?(0,ha.sanitizeUrl)(n):n},getStylesFromArray:hQ,generateId:hJ,random:h0,memoize:hG,runFunc:function(t){for(var e,n=t.split("."),r=n.length-1,i=n[r],a=window,o=0;o<r;o++)if(!(a=a[n[o]]))return;for(var s=arguments.length,c=Array(s>1?s-1:0),l=1;l<s;l++)c[l-1]=arguments[l];(e=a)[i].apply(e,c)},entityDecode:function(t){return hU=hU||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),hU.innerHTML=t,unescape(hU.textContent)},initIdGeneratior:function(){var t;function e(t,n){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),this.deterministic=t,this.seed=n,this.count=n?n.length:0}return t=[{key:"next",value:function(){return this.deterministic?this.count++:Date.now()}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(),directiveSanitizer:h9,sanitizeCss:ft};function fn(t){return(fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var fr,fi=Object.freeze(hO),fa=h1({},fi),fo=[],fs=h1({},fi),fc=function(t,e){for(var n=h1({},t),r={},i=0;i<e.length;i++){var a=e[i];fh(a),r=h1(r,a)}if(n=h1(n,r),r.theme){var o=h1({},fr),s=h1(o.themeVariables||{},r.themeVariables);n.themeVariables=hM[n.theme].getThemeVariables(s)}return fs=n,n},fl=function(){return h1({},fa)},fu=function(){return h1({},fs)},fh=function t(e){Object.keys(fa.secure).forEach(function(t){void 0!==e[fa.secure[t]]&&(o.debug("Denied attempt to modify a secure key ".concat(fa.secure[t]),e[fa.secure[t]]),delete e[fa.secure[t]])}),Object.keys(e).forEach(function(t){0===t.indexOf("__")&&delete e[t]}),Object.keys(e).forEach(function(n){"string"==typeof e[n]&&(e[n].indexOf("<")>-1||e[n].indexOf(">")>-1||e[n].indexOf("url(data:")>-1)&&delete e[n],"object"===fn(e[n])&&t(e[n])})},ff=function(t){t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),fo.push(t),fc(fa,fo)},fd=function(){fc(fa,fo=[])};function fp(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var fg="classid-",fy=[],fm={},fv=0,fb=[],fx=function(t){return hu(t,fu())},f_=function(t){var e="",n=t;if(t.indexOf("~")>0){var r=t.split("~");n=r[0],e=hu(r[1],fu())}return{className:n,type:e}},fk=function(t){var e=f_(t);void 0===fm[e.className]&&(fm[e.className]={id:e.className,type:e.type,cssClasses:[],methods:[],members:[],annotations:[],domId:fg+e.className+"-"+fv},fv++)},fw=function(t){for(var e=Object.keys(fm),n=0;n<e.length;n++)if(fm[e[n]].id===t)return fm[e[n]].domId},fT=function(t,e){var n=fm[f_(t).className];if("string"==typeof e){var r=e.trim();r.startsWith("<<")&&r.endsWith(">>")?n.annotations.push(fx(r.substring(2,r.length-2))):r.indexOf(")")>0?n.methods.push(fx(r)):r&&n.members.push(fx(r))}},fE=function(t,e){t.split(",").forEach(function(t){var n=t;
1t[0].match(/\d/)&&(n=fg+n),void 0!==fm[n]&&fm[n].cssClasses.push(e)})},fC=function(t,e,n){var r=fu(),i=fw(t);if("loose"===r.securityLevel&&void 0!==e&&void 0!==fm[t]){var a=[];if("string"==typeof n){a=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(var o=0;o<a.length;o++){var s=a[o].trim();'"'===s.charAt(0)&&'"'===s.charAt(s.length-1)&&(s=s.substr(1,s.length-2)),a[o]=s}}0===a.length&&a.push(i),fb.push(function(){var t=document.querySelector('[id="'.concat(i,'"]'));null!==t&&t.addEventListener("click",function(){var t;fe.runFunc.apply(fe,[e].concat(function(t){if(Array.isArray(t))return fp(t)}(t=a)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return fp(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fp(t,void 0):void 0}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))},!1)})}},fS={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},fA=function(t){var e=aq(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=aq("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),aq(t).select("svg").selectAll("g.node").on("mouseover",function(){var t=aq(this);if(null!==t.attr("title")){var n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.html(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),t.classed("hover",!0)}}).on("mouseout",function(){e.transition().duration(500).style("opacity",0),aq(this).classed("hover",!1)})};fb.push(fA);var fM="TB";let fN={parseDirective:function(t,e,n){vs.parseDirective(this,t,e,n)},getConfig:function(){return fu().class},addClass:fk,bindFunctions:function(t){fb.forEach(function(e){e(t)})},clear:function(){fy=[],fm={},(fb=[]).push(fA)},getClass:function(t){return fm[t]},getClasses:function(){return fm},addAnnotation:function(t,e){fm[f_(t).className].annotations.push(e)},getRelations:function(){return fy},addRelation:function(t){o.debug("Adding relation: "+JSON.stringify(t)),fk(t.id1),fk(t.id2),t.id1=f_(t.id1).className,t.id2=f_(t.id2).className,t.relationTitle1=hu(t.relationTitle1.trim(),fu()),t.relationTitle2=hu(t.relationTitle2.trim(),fu()),fy.push(t)},getDirection:function(){return fM},setDirection:function(t){fM=t},addMember:fT,addMembers:function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach(function(e){return fT(t,e)}))},cleanupLabel:function(t){return":"===t.substring(0,1)?hu(t.substr(1).trim(),fu()):fx(t.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:fS,setClickEvent:function(t,e,n){t.split(",").forEach(function(t){fC(t,e,n),fm[t].haveCallback=!0}),fE(t,"clickable")},setCssClass:fE,setLink:function(t,e,n){var r=fu();t.split(",").forEach(function(t){var i=t;t[0].match(/\d/)&&(i=fg+i),void 0!==fm[i]&&(fm[i].link=fe.formatUrl(e,r),"sandbox"===r.securityLevel?fm[i].linkTarget="_top":fm[i].linkTarget="string"==typeof n?fx(n):"_blank")}),fE(t,"clickable")},setTooltip:function(t,e){var n=fu();t.split(",").forEach(function(t){void 0!==e&&(fm[t].tooltip=hu(e,n))})},lookUpDomId:fw};var fD=n(681),fB=n.n(fD),fO=n(8282),fL=n.n(fO),fI=n(1362),fF=n.n(fI),fP=0,fR=function(t){var e=t.match(/^(\+|-|~|#)?(\w+)(~\w+~|\[\])?\s+(\w+) *(\*|\$)?$/),n=t.match(/^([+|\-|~|#])?(\w+) *\( *(.*)\) *(\*|\$)? *(\w*[~|[\]]*\s*\w*~?)$/);return e&&!n?fj(e):n?fY(n):fU(t)},fj=function(t){var e="",n="";try{var r=t[1]?t[1].trim():"",i=t[2]?t[2].trim():"",a=t[3]?f$(t[3].trim()):"",o=t[4]?t[4].trim():"",s=t[5]?t[5].trim():"";n=r+i+a+" "+o,e=fq(s)}catch(e){n=t}return{displayText:n,cssStyle:e}},fY=function(t){var e="",n="";try{var r=t[1]?t[1].trim():"",i=t[2]?t[2].trim():"",a=t[3]?f$(t[3].trim()):"",o=t[4]?t[4].trim():"";n=r+i+"("+a+")"+(t[5]?" : "+f$(t[5]).trim():""),e=fq(o)}catch(e){n=t}return{displayText:n,cssStyle:e}},fU=function(t){var e="",n="",r="",i=t.indexOf("("),a=t.indexOf(")");if(i>1&&a>i&&a<=t.length){var o="",s="",c=t.substring(0,1);c.match(/\w/)?s=t.substring(0,i).trim():(c.match(/\+|-|~|#/)&&(o=c),s=t.substring(1,i).trim());var l=t.substring(i+1,a);n=fq(t.substring(a+1,1)),e=o+s+"("+f$(l.trim())+")",a<0&&""!==(r=t.substring(a+2).trim())&&(r=" : "+f$(r))}else e=f$(t);return{displayText:e,cssStyle:n}},fz=function(t,e,n,r){var i=fR(e),a=t.append("tspan").attr("x",r.padding).text(i.displayText);""!==i.cssStyle&&a.attr("style",i.cssStyle),n||a.attr("dy",r.textHeight)},f$=function t(e){var n=e;return -1!=e.indexOf("~")?t(n=(n=n.replace("~","<")).replace("~",">")):n},fq=function(t){switch(t){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}};let fH=function(t,e,n){o.info("Rendering class "+e);var r,i=e.id,a={id:i,label:e.id,width:0,height:0},s=t.append("g").attr("id",fw(i)).attr("class","classGroup");r=e.link?s.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",n.textHeight+n.padding).attr("x",0):s.append("text").attr("y",n.textHeight+n.padding).attr("x",0);var c=!0;e.annotations.forEach(function(t){var e=r.append("tspan").text("\xab"+t+"\xbb");c||e.attr("dy",n.textHeight),c=!1});var l=e.id;void 0!==e.type&&""!==e.type&&(l+="<"+e.type+">");var u=r.append("tspan").text(l).attr("class","title");c||u.attr("dy",n.textHeight);var h=r.node().getBBox().height,f=s.append("line").attr("x1",0).attr("y1",n.padding+h+n.dividerMargin/2).attr("y2",n.padding+h+n.dividerMargin/2),d=s.append("text").attr("x",
1n.padding).attr("y",h+n.dividerMargin+n.textHeight).attr("fill","white").attr("class","classText");c=!0,e.members.forEach(function(t){fz(d,t,c,n),c=!1});var p=d.node().getBBox(),g=s.append("line").attr("x1",0).attr("y1",n.padding+h+n.dividerMargin+p.height).attr("y2",n.padding+h+n.dividerMargin+p.height),y=s.append("text").attr("x",n.padding).attr("y",h+2*n.dividerMargin+p.height+n.textHeight).attr("fill","white").attr("class","classText");c=!0,e.methods.forEach(function(t){fz(y,t,c,n),c=!1});var m=s.node().getBBox(),v=" ";e.cssClasses.length>0&&(v+=e.cssClasses.join(" "));var b=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*n.padding).attr("height",m.height+n.padding+.5*n.dividerMargin).attr("class",v).node().getBBox().width;return r.node().childNodes.forEach(function(t){t.setAttribute("x",(b-t.getBBox().width)/2)}),e.tooltip&&r.insert("title").text(e.tooltip),f.attr("x2",b),g.attr("x2",b),a.width=b,a.height=m.height+n.padding+.5*n.dividerMargin,a};fI.parser.yy=fN;var fW={},fV={dividerMargin:10,padding:5,textHeight:10},fG=function(t){var e=Object.entries(fW).find(function(e){return e[1].label===t});if(e)return e[0]};let fX=function(t){Object.keys(t).forEach(function(e){fV[e]=t[e]})},fZ=function(t,e){fW={},fI.parser.yy.clear(),fI.parser.parse(t),o.info("Rendering diagram "+t);var n,r=fu().securityLevel;"sandbox"===r&&(n=aq("#i"+e));var i=aq("sandbox"===r?n.nodes()[0].contentDocument.body:"body"),a=("sandbox"===r?n.nodes()[0].contentDocument:document,i.select("[id='".concat(e,"']")));a.attr("xmlns:xlink","http://www.w3.org/1999/xlink"),a.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"),a.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"),a.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"),a.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"),a.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"),a.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"),a.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"),a.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 s=new(fL()).Graph({multigraph:!0});s.setGraph({isMultiGraph:!0}),s.setDefaultEdgeLabel(function(){return{}});for(var c=fN.getClasses(),l=Object.keys(c),u=0;u<l.length;u++){var h=fH(a,c[l[u]],fV);fW[h.id]=h,s.setNode(h.id,h),o.info("Org height: "+h.height)}fN.getRelations().forEach(function(t){o.info("tjoho"+fG(t.id1)+fG(t.id2)+JSON.stringify(t)),s.setEdge(fG(t.id1),fG(t.id2),{relation:t},t.title||"DEFAULT")}),fB().layout(s),s.nodes().forEach(function(t){void 0!==t&&void 0!==s.node(t)&&(o.debug("Node "+t+": "+JSON.stringify(s.node(t))),i.select("#"+fw(t)).attr("transform","translate("+(s.node(t).x-s.node(t).width/2)+","+(s.node(t).y-s.node(t).height/2)+" )"))}
1),s.edges().forEach(function(t){void 0!==t&&void 0!==s.edge(t)&&(o.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(s.edge(t))),function(t,e,n,r){var i=function(t){switch(t){case fS.AGGREGATION:return"aggregation";case fS.EXTENSION:return"extension";case fS.COMPOSITION:return"composition";case fS.DEPENDENCY:return"dependency"}};e.points=e.points.filter(function(t){return!Number.isNaN(t.y)});var a,s,c=e.points,l=oh().x(function(t){return t.x}).y(function(t){return t.y}).curve(om),u=t.append("path").attr("d",l(c)).attr("id","edge"+fP).attr("class","relation"),h="";r.arrowMarkerAbsolute&&(h=(h=(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),1==n.relation.lineType&&u.attr("class","relation dashed-line"),"none"!==n.relation.type1&&u.attr("marker-start","url("+h+"#"+i(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&u.attr("marker-end","url("+h+"#"+i(n.relation.type2)+"End)");var f,d,p,g,y=e.points.length,m=fe.calcLabelPosition(e.points);if(a=m.x,s=m.y,y%2!=0&&y>1){var v=fe.calcCardinalityPosition("none"!==n.relation.type1,e.points,e.points[0]),b=fe.calcCardinalityPosition("none"!==n.relation.type2,e.points,e.points[y-1]);o.debug("cardinality_1_point "+JSON.stringify(v)),o.debug("cardinality_2_point "+JSON.stringify(b)),f=v.x,d=v.y,p=b.x,g=b.y}if(void 0!==n.title){var x=t.append("g").attr("class","classLabel"),_=x.append("text").attr("class","label").attr("x",a).attr("y",s).attr("fill","red").attr("text-anchor","middle").text(n.title);window.label=_;var k=_.node().getBBox();x.insert("rect",":first-child").attr("class","box").attr("x",k.x-r.padding/2).attr("y",k.y-r.padding/2).attr("width",k.width+r.padding).attr("height",k.height+r.padding)}o.info("Rendering relation "+JSON.stringify(n)),void 0!==n.relationTitle1&&"none"!==n.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",f).attr("y",d).attr("fill","black").attr("font-size","6").text(n.relationTitle1),void 0!==n.relationTitle2&&"none"!==n.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",p).attr("y",g).attr("fill","black").attr("font-size","6").text(n.relationTitle2),fP++}(a,s.edge(t),s.edge(t).relation,fV))});var f=a.node().getBBox(),d=f.width+40,p=f.height+40;h7(a,p,d,fV.useMaxWidth);var g="".concat(f.x-20," ").concat(f.y-20," ").concat(d," ").concat(p);o.debug("viewBox ".concat(g)),a.attr("viewBox",g)};var fQ={extension:function(t,e,n){o.trace("Making markers for ",n),t.append("defs").append("marker").attr("id",e+"-extensionStart").attr("class","marker extension "+e).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"),t.append("defs").append("marker").attr("id",e+"-extensionEnd").attr("class","marker extension "+e).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(t,e){t.append("defs").append("marker").attr("id",e+"-compositionStart").attr("class","marker composition "+e).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"),t.append("defs").append("marker").attr("id",e+"-compositionEnd").attr("class","marker composition "+e).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(t,e){t.append("defs").append("marker").attr("id",e+"-aggregationStart").attr("class","marker aggregation "+e).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"),t.append("defs").append("marker").attr("id",e+"-aggregationEnd").attr("class","marker aggregation "+e).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(t,e){t.append("defs").append("marker").attr("id",e+"-dependencyStart").attr("class","marker dependency "+e).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"),t.append("defs").append("marker").attr("id",e+"-dependencyEnd").attr("class","marker dependency "+e).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(t,e){t.append("marker").attr("id",e+"-pointEnd").attr("class","marker "+e).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"),t.append("marker").attr("id",e+"-pointStart").attr("class","marker "+e).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(t,e){t.append("marker").attr("id",e+"-circleEnd").attr("class","marker "+e).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"),t.append("marker").attr("id",e+"-circleStart").attr("class","marker "+e).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(t,e){t.append("marker").attr("id",e+"-crossEnd").attr("class","marker cross "+e).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"),t.append("marker").attr("id",e+"-crossStart").attr("class","marker cross "+e).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(t,e){t.append("defs").append("marker").attr("id",e+"-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")}};let fK=function(t,e,n,r){e.forEach(function(e){fQ[e](t,n,r)})};function fJ(t){return(fJ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}let f0=function(t,e,n,r){var i,a,s,c,l,u,h=t||"";
1if("object"===fJ(h)&&(h=h[0]),hp(fu().flowchart.htmlLabels))return h=h.replace(/\\n|\n/g,"<br />"),o.info("vertexText"+h),i={isNode:r,label:h.replace(/fa[lrsb]?:fa-[\w-]+/g,function(t){return"<i class='".concat(t.replace(":"," "),"'></i>")}),labelStyle:e.replace("fill:","color:")},c=(s=aq(document.createElementNS("http://www.w3.org/2000/svg","foreignObject"))).append("xhtml:div"),l=i.label,u=i.isNode?"nodeLabel":"edgeLabel",c.html('<span class="'+u+'" '+(i.labelStyle?'style="'+i.labelStyle+'"':"")+">"+l+"</span>"),(a=i.labelStyle)&&c.attr("style",a),c.style("display","inline-block"),c.style("white-space","nowrap"),c.attr("xmlns","http://www.w3.org/1999/xhtml"),s.node();var f=document.createElementNS("http://www.w3.org/2000/svg","text");f.setAttribute("style",e.replace("color:","fill:"));var d=[];d="string"==typeof h?h.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(h)?h:[];for(var p=0;p<d.length;p++){var g=document.createElementNS("http://www.w3.org/2000/svg","tspan");g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),g.setAttribute("dy","1em"),g.setAttribute("x","0"),n?g.setAttribute("class","title-row"):g.setAttribute("class","row"),g.textContent=d[p].trim(),f.appendChild(g)}return f};var f1=function(t,e,n,r){var i=t.insert("g").attr("class",n||"node default").attr("id",e.domId||e.id),a=i.insert("g").attr("class","label").attr("style",e.labelStyle),o="string"==typeof e.labelText?e.labelText:e.labelText[0],s=a.node().appendChild(f0(hu(vr(o),fu()),e.labelStyle,!1,r)),c=s.getBBox();if(hp(fu().flowchart.htmlLabels)){var l=s.children[0],u=aq(s);c=l.getBoundingClientRect(),u.attr("width",c.width),u.attr("height",c.height)}var h=e.padding/2;return a.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),{shapeSvg:i,bbox:c,halfPadding:h,label:a}},f2=function(t,e){var n=e.node().getBBox();t.width=n.width,t.height=n.height};function f3(t,e,n,r){return t.insert("polygon",":first-child").attr("points",r.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+n/2+")")}var f5={},f4={},f6={},f8=function(t,e){return o.trace("In isDecendant",e," ",t," = ",f4[e].indexOf(t)>=0),f4[e].indexOf(t)>=0},f7=function t(e,n,r,i){o.warn("Copying children of ",e,"root",i,"data",n.node(e),i);var a=n.children(e)||[];e!==i&&a.push(e),o.warn("Copying (nodes) clusterId",e,"nodes",a),a.forEach(function(a){if(n.children(a).length>0)t(a,n,r,i);else{var s=n.node(a);o.info("cp ",a," to ",i," with parent ",e),r.setNode(a,s),i!==n.parent(a)&&(o.warn("Setting parent",a,n.parent(a)),r.setParent(a,n.parent(a))),e!==i&&a!==e?(o.debug("Setting parent",a,e),r.setParent(a,e)):(o.info("In copy ",e,"root",i,"data",n.node(e),i),o.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==i,"node!==clusterId",a!==e));var c=n.edges(a);o.debug("Copying Edges",c),c.forEach(function(t){o.info("Edge",t);var a=n.edge(t.v,t.w,t.name);o.info("Edge data",a,i);try{(o.info("Decendants of ",i," is ",f4[i]),o.info("Edge is ",t),t.v!==i&&t.w!==i&&(f4[i]?(o.info("Here "),f4[i].indexOf(t.v)>=0||!!f8(t.v,i)||!!f8(t.w,i)||f4[i].indexOf(t.w)>=0):(o.debug("Tilt, ",i,",not in decendants"),!1)))?(o.info("Copying as ",t.v,t.w,a,t.name),r.setEdge(t.v,t.w,a,t.name),o.info("newGraph edges ",r.edges(),r.edge(r.edges()[0]))):o.info("Skipping copy of edge ",t.v,"--\x3e",t.w," rootId: ",i," clusterId:",e)}catch(t){o.error(t)}})}o.debug("Removing node",a),n.removeNode(a)})},f9=function t(e,n){for(var r=n.children(e),i=[].concat(r),a=0;a<r.length;a++)f6[r[a]]=e,i=i.concat(t(r[a],n));return i},dt=function t(e,n){o.trace("Searching",e);var r=n.children(e);if(o.trace("Searching children of id ",e,r),r.length<1)return o.trace("This is a valid node",e),e;for(var i=0;i<r.length;i++){var a=t(r[i],n);if(a)return o.trace("Found replacement for",e," => ",a),a}},de=function(t){return f5[t]&&f5[t].externalConnections&&f5[t]?f5[t].id:t},dn=function(t,e){!t||e>10?o.debug("Opting out, no graph "):(o.debug("Opting in, graph "),t.nodes().forEach(function(e){t.children(e).length>0&&(o.warn("Cluster identified",e," Replacement id in edges: ",dt(e,t)),f4[e]=f9(e,t),f5[e]={id:dt(e,t),clusterData:t.node(e)})}
1),t.nodes().forEach(function(e){var n=t.children(e),r=t.edges();n.length>0?(o.debug("Cluster identified",e,f4),r.forEach(function(t){t.v!==e&&t.w!==e&&f8(t.v,e)^f8(t.w,e)&&(o.warn("Edge: ",t," leaves cluster ",e),o.warn("Decendants of XXX ",e,": ",f4[e]),f5[e].externalConnections=!0)})):o.debug("Not a cluster ",e,f4)}),t.edges().forEach(function(e){var n=t.edge(e);o.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),o.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(t.edge(e)));var r=e.v,i=e.w;o.warn("Fix XXX",f5,"ids:",e.v,e.w,"Translateing: ",f5[e.v]," --- ",f5[e.w]),(f5[e.v]||f5[e.w])&&(o.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),r=de(e.v),i=de(e.w),t.removeEdge(e.v,e.w,e.name),r!==e.v&&(n.fromCluster=e.v),i!==e.w&&(n.toCluster=e.w),o.warn("Fix Replacing with XXX",r,i,e.name),t.setEdge(r,i,n,e.name))}),o.warn("Adjusted Graph",fL().json.write(t)),dr(t,0),o.trace(f5))},dr=function t(e,n){if(o.warn("extractor - ",n,fL().json.write(e),e.children("D")),n>10)o.error("Bailing out");else{for(var r=e.nodes(),i=!1,a=0;a<r.length;a++){var s=r[a],c=e.children(s);i=i||c.length>0}if(i){o.debug("Nodes = ",r,n);for(var l=0;l<r.length;l++){var u=r[l];if(o.debug("Extracting node",u,f5,f5[u]&&!f5[u].externalConnections,!e.parent(u),e.node(u),e.children("D")," Depth ",n),f5[u])if(!f5[u].externalConnections&&e.children(u)&&e.children(u).length>0){o.warn("Cluster without external connections, without a parent and with children",u,n);var h="TB"===e.graph().rankdir?"LR":"TB";f5[u]&&f5[u].clusterData&&f5[u].clusterData.dir&&(h=f5[u].clusterData.dir,o.warn("Fixing dir",f5[u].clusterData.dir,h));var f=new(fL()).Graph({multigraph:!0,compound:!0}).setGraph({rankdir:h,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});o.warn("Old graph before copy",fL().json.write(e)),f7(u,e,f,u),e.setNode(u,{clusterNode:!0,id:u,clusterData:f5[u].clusterData,labelText:f5[u].labelText,graph:f}),o.warn("New graph after copy node: (",u,")",fL().json.write(f)),o.debug("Old graph after copy",fL().json.write(e))}else o.warn("Cluster ** ",u," **not meeting the criteria !externalConnections:",!f5[u].externalConnections," no parent: ",!e.parent(u)," children ",e.children(u)&&e.children(u).length>0,e.children("D"),n),o.debug(f5);else o.debug("Not a cluster",u,n)}r=e.nodes(),o.warn("New list of nodes",r);for(var d=0;d<r.length;d++){var p=r[d],g=e.node(p);o.warn(" Now next level",p,g),g.clusterNode&&t(g.graph,n+1)}}else o.debug("Done, no node has children",e.nodes())}},di=function t(e,n){if(0===n.length)return[];var r=Object.assign(n);return n.forEach(function(n){var i=e.children(n),a=t(e,i);r=r.concat(a)}),r},da=n(3841);let ds=function(t,e,n,r){var i=t.x,a=t.y,o=i-r.x,s=a-r.y,c=Math.sqrt(e*e*s*s+n*n*o*o),l=Math.abs(e*n*o/c);r.x<i&&(l=-l);var u=Math.abs(e*n*s/c);return r.y<a&&(u=-u),{x:i+l,y:a+u}},dc=function(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,p,g,y;if(i=e.y-t.y,o=t.x-e.x,c=e.x*t.y-t.x*e.y,f=i*n.x+o*n.y+c,d=i*r.x+o*r.y+c,!(0!==f&&0!==d&&f*d>0||(a=r.y-n.y,s=n.x-r.x,l=r.x*n.y-n.x*r.y,u=a*t.x+s*t.y+l,h=a*e.x+s*e.y+l,0!==u&&0!==h&&u*h>0||0==(p=i*s-a*o))))return g=Math.abs(p/2),{x:(y=o*l-s*c)<0?(y-g)/p:(y+g)/p,y:(y=a*c-i*l)<0?(y-g)/p:(y+g)/p}},dl=function(t,e){var n,r,i=t.x,a=t.y,o=e.x-i,s=e.y-a,c=t.width/2,l=t.height/2;return Math.abs(s)*c>Math.abs(o)*l?(s<0&&(l=-l),n=0===s?0:l*o/s,r=l):(o<0&&(c=-c),n=c,r=0===o?0:c*s/o),{x:i+n,y:a+r}},du=(n.n(da)(),function(t,e,n){return ds(t,e,e,n)}),dh=function(t,e,n){var r=t.x,i=t.y,a=[],o=1/0,s=1/0;"function"==typeof e.forEach?e.forEach(function(t){o=Math.min(o,t.x),s=Math.min(s,t.y)}):(o=Math.min(o,e.x),s=Math.min(s,e.y));for(var c=r-t.width/2-o,l=i-t.height/2-s,u=0;u<e.length;u++){var h=e[u],f=e[u<e.length-1?u+1:0],d=dc(t,n,{x:c+h.x,y:l+h.y},{x:c+f.x,y:l+f.y});d&&a.push(d)}return a.length?(a.length>1&&a.sort(function(t,e){var r=t.x-n.x,i=t.y-n.y,a=Math.sqrt(r*r+i*i),o=e.x-n.x,s=e.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:+(a!==c)}),a[0]):t};function df(t){return(df="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var dd=function(t,e,n){var r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=70,a=10;return"LR"===n&&(i=10,a=70),f2(e,r.append("rect").attr("x",-1*i/2).attr("y",-1*a/2).attr("width",i).attr("height",a).attr("class","fork-join")),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return dl(e,t)},r},dp={question:function(t,e){var n=f1(t,e,void 0,!0),r=n.shapeSvg,i=n.bbox,a=i.width+e.padding+(i.height+e.padding),s=[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}];o.info("Question main (Circle)");var c=f3(r,a,a,s);return c.attr("style",e.style),f2(e,c),e.intersect=function(t){return o.warn("Intersect called"),dh(e,s,t)},r},rect:function(t,e){var n=f1(t,e,"node "+e.classes,!0),r=n.shapeSvg,i=n.bbox,a=n.halfPadding;o.trace("Classes = ",e.classes);var s=r.insert("rect",":first-child"),c=i.width+e.padding,l=i.height+e.padding;if(s.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-a).attr("y",-i.height/2-a).attr("width",c).attr("height",l),e.props){var u,h,f,d,p=new Set(Object.keys(e.props));e.props.borders&&(u=e.props.borders,h=[],f=function(t){h.push(t),h.push(0)},d=function(t){h.push(0),h.push(t)},u.includes("t")?(o.debug("add top border"),f(c)):d(c),u.includes("r")?(o.debug("add right border"),f(l)):d(l),u.includes("b")?(o.debug("add bottom border"),f(c)):d(c),u.includes("l")?(o.debug("add left border"),f(l)):d(l),s.attr("stroke-dasharray",h.join(" ")),p.delete("borders")),p.forEach(function(t){o.warn("Unknown node property ".concat(t))})}return f2(e,s),e.intersect=function(t){return dl(e,t)},r},rectWithTitle:function(t,e){var n,r=e.classes?"node "+e.classes:"node default",i=t.insert("g").attr("class",r).attr("id",e.domId||e.id),a=i.insert("rect",":first-child"),s=i.insert("line"),c=i.insert("g").attr("class","label"),l=e.labelText.flat?e.labelText.flat():e.labelText;n="object"===df(l)?l[0]:l,o.info("Label text abc79",n,l,"object"===df(l));var u=c.node().appendChild(f0(n,e.labelStyle,!0,!0)),h={width:0,height:0};
1if(hp(fu().flowchart.htmlLabels)){var f=u.children[0],d=aq(u);h=f.getBoundingClientRect(),d.attr("width",h.width),d.attr("height",h.height)}o.info("Text 2",l);var p=l.slice(1,l.length),g=u.getBBox(),y=c.node().appendChild(f0(p.join?p.join("<br/>"):p,e.labelStyle,!0,!0));if(hp(fu().flowchart.htmlLabels)){var m=y.children[0],v=aq(y);h=m.getBoundingClientRect(),v.attr("width",h.width),v.attr("height",h.height)}var b=e.padding/2;return aq(y).attr("transform","translate( "+(h.width>g.width?0:(g.width-h.width)/2)+", "+(g.height+b+5)+")"),aq(u).attr("transform","translate( "+(h.width<g.width?0:-(g.width-h.width)/2)+", 0)"),h=c.node().getBBox(),c.attr("transform","translate("+-h.width/2+", "+(-h.height/2-b+3)+")"),a.attr("class","outer title-state").attr("x",-h.width/2-b).attr("y",-h.height/2-b).attr("width",h.width+e.padding).attr("height",h.height+e.padding),s.attr("class","divider").attr("x1",-h.width/2-b).attr("x2",h.width/2+b).attr("y1",-h.height/2-b+g.height+b).attr("y2",-h.height/2-b+g.height+b),f2(e,a),e.intersect=function(t){return dl(e,t)},i},choice:function(t,e){var n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return n.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map(function(t){return t.x+","+t.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return du(e,14,t)},n},circle:function(t,e){var n=f1(t,e,void 0,!0),r=n.shapeSvg,i=n.bbox,a=n.halfPadding,s=r.insert("circle",":first-child");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+a).attr("width",i.width+e.padding).attr("height",i.height+e.padding),o.info("Circle main"),f2(e,s),e.intersect=function(t){return o.info("Circle intersect",e,i.width/2+a,t),du(e,i.width/2+a,t)},r},stadium:function(t,e){var n=f1(t,e,void 0,!0),r=n.shapeSvg,i=n.bbox,a=i.height+e.padding,o=i.width+a/4+e.padding,s=r.insert("rect",":first-child").attr("style",e.style).attr("rx",a/2).attr("ry",a/2).attr("x",-o/2).attr("y",-a/2).attr("width",o).attr("height",a);return f2(e,s),e.intersect=function(t){return dl(e,t)},r},hexagon:function(t,e){var n=f1(t,e,void 0,!0),r=n.shapeSvg,i=n.bbox,a=i.height+e.padding,o=a/4,s=i.width+2*o+e.padding,c=[{x:o,y:0},{x:s-o,y:0},{x:s,y:-a/2},{x:s-o,y:-a},{x:o,y:-a},{x:0,y:-a/2}],l=f3(r,s,a,c);return l.attr("style",e.style),f2(e,l),e.intersect=function(t){return dh(e,c,t)},r},rect_left_inv_arrow:function(t,e){var n=f1(t,e,void 0,!0),r=n.shapeSvg,i=n.bbox,a=i.width+e.padding,o=i.height+e.padding,s=[{x:-o/2,y:0},{x:a,y:0},{x:a,y:-o},{x:-o/2,y:-o},{x:0,y:-o/2}];return f3(r,a,o,s).attr("style",e.style),e.width=a+o,e.height=o,e.intersect=function(t){return dh(e,s,t)},r},lean_right:function(t,e){var n=f1(t,e,void 0,!0),r=n.shapeSvg,i=n.bbox,a=i.width+e.padding,o=i.height+e.padding,s=[{x:-2*o/6,y:0},{x:a-o/6,y:0},{x:a+2*o/6,y:-o},{x:o/6,y:-o}],c=f3(r,a,o,s);return c.attr("style",e.style),f2(e,c),e.intersect=function(t){return dh(e,s,t)},r},lean_left:function(t,e){var n=f1(t,e,void 0,!0),r=n.shapeSvg,i=n.bbox,a=i.width+e.padding,o=i.height+e.padding,s=[{x:2*o/6,y:0},{x:a+o/6,y:0},{x:a-2*o/6,y:-o},{x:-o/6,y:-o}],c=f3(r,a,o,s);return c.attr("style",e.style),f2(e,c),e.intersect=function(t){return dh(e,s,t)},r},trapezoid:function(t,e){var n=f1(t,e,void 0,!0),r=n.shapeSvg,i=n.bbox,a=i.width+e.padding,o=i.height+e.padding,s=[{x:-2*o/6,y:0},{x:a+2*o/6,y:0},{x:a-o/6,y:-o},{x:o/6,y:-o}],c=f3(r,a,o,s);return c.attr("style",e.style),f2(e,c),e.intersect=function(t){return dh(e,s,t)},r},inv_trapezoid:function(t,e){var n=f1(t,e,void 0,!0),r=n.shapeSvg,i=n.bbox,a=i.width+e.padding,o=i.height+e.padding,s=[{x:o/6,y:0},{x:a-o/6,y:0},{x:a+2*o/6,y:-o},{x:-2*o/6,y:-o}],c=f3(r,a,o,s);return c.attr("style",e.style),f2(e,c),e.intersect=function(t){return dh(e,s,t)},r},rect_right_inv_arrow:function(t,e){var n=f1(t,e,void 0,!0),r=n.shapeSvg,i=n.bbox,a=i.width+e.padding,o=i.height+e.padding,s=[{x:0,y:0},{x:a+o/2,y:0},{x:a,y:-o/2},{x:a+o/2,y:-o},{x:0,y:-o}],c=f3(r,a,o,s);return c.attr("style",e.style),f2(e,c),e.intersect=function(t){return dh(e,s,t)},r},cylinder:function(t,e){var n=f1(t,e,void 0,!0),r=n.shapeSvg,i=n.bbox,a=i.width+e.padding,o=a/2,s=o/(2.5+a/50),c=i.height+s+e.padding,l="M 0,"+s+" a "+o+","+s+" 0,0,0 "+a+" 0 a "+o+","+s+" 0,0,0 "+-a+" 0 l 0,"+c+" a "+o+","+s+" 0,0,0 "+a+" 0 l 0,"+-c,u=r.attr("label-offset-y",s).insert("path",":first-child").attr("style",e.style).attr("d",l).attr("transform","translate("+-a/2+","+-(c/2+s)+")");return f2(e,u),e.intersect=function(t){var n=dl(e,t),r=n.x-e.x;
1if(0!=o&&(Math.abs(r)<e.width/2||Math.abs(r)==e.width/2&&Math.abs(n.y-e.y)>e.height/2-s)){var i=s*s*(1-r*r/(o*o));0!=i&&(i=Math.sqrt(i)),i=s-i,t.y-e.y>0&&(i=-i),n.y+=i}return n},r},start:function(t,e){var n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=n.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),f2(e,r),e.intersect=function(t){return du(e,7,t)},n},end:function(t,e){var n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=n.insert("circle",":first-child"),i=n.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),r.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),f2(e,i),e.intersect=function(t){return du(e,7,t)},n},note:function(t,e){var n=f1(t,e,"node "+e.classes,!0),r=n.shapeSvg,i=n.bbox,a=n.halfPadding;o.info("Classes = ",e.classes);var s=r.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-a).attr("y",-i.height/2-a).attr("width",i.width+e.padding).attr("height",i.height+e.padding),f2(e,s),e.intersect=function(t){return dl(e,t)},r},subroutine:function(t,e){var n=f1(t,e,void 0,!0),r=n.shapeSvg,i=n.bbox,a=i.width+e.padding,o=i.height+e.padding,s=[{x:0,y:0},{x:a,y:0},{x:a,y:-o},{x:0,y:-o},{x:0,y:0},{x:-8,y:0},{x:a+8,y:0},{x:a+8,y:-o},{x:-8,y:-o},{x:-8,y:0}],c=f3(r,a,o,s);return c.attr("style",e.style),f2(e,c),e.intersect=function(t){return dh(e,s,t)},r},fork:dd,join:dd,class_box:function(t,e){var n,r=e.padding/2;n=e.classes?"node "+e.classes:"node default";var i=t.insert("g").attr("class",n).attr("id",e.domId||e.id),a=i.insert("rect",":first-child"),o=i.insert("line"),s=i.insert("line"),c=0,l=4,u=i.insert("g").attr("class","label"),h=0,f=e.classData.annotations&&e.classData.annotations[0],d=e.classData.annotations[0]?"\xab"+e.classData.annotations[0]+"\xbb":"",p=u.node().appendChild(f0(d,e.labelStyle,!0,!0)),g=p.getBBox();if(hp(fu().flowchart.htmlLabels)){var y=p.children[0],m=aq(p);g=y.getBoundingClientRect(),m.attr("width",g.width),m.attr("height",g.height)}e.classData.annotations[0]&&(l+=g.height+4,c+=g.width);var v=e.classData.id;void 0!==e.classData.type&&""!==e.classData.type&&(fu().flowchart.htmlLabels?v+="<"+e.classData.type+">":v+="<"+e.classData.type+">");var b=u.node().appendChild(f0(v,e.labelStyle,!0,!0));aq(b).attr("class","classTitle");var x=b.getBBox();if(hp(fu().flowchart.htmlLabels)){var _=b.children[0],k=aq(b);x=_.getBoundingClientRect(),k.attr("width",x.width),k.attr("height",x.height)}l+=x.height+4,x.width>c&&(c=x.width);var w=[];e.classData.members.forEach(function(t){var n=fR(t),r=n.displayText;fu().flowchart.htmlLabels&&(r=r.replace(/</g,"<").replace(/>/g,">"));var i=u.node().appendChild(f0(r,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0)),a=i.getBBox();if(hp(fu().flowchart.htmlLabels)){var o=i.children[0],s=aq(i);a=o.getBoundingClientRect(),s.attr("width",a.width),s.attr("height",a.height)}a.width>c&&(c=a.width),l+=a.height+4,w.push(i)}),l+=8;var T=[];
1if(e.classData.methods.forEach(function(t){var n=fR(t),r=n.displayText;fu().flowchart.htmlLabels&&(r=r.replace(/</g,"<").replace(/>/g,">"));var i=u.node().appendChild(f0(r,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0)),a=i.getBBox();if(hp(fu().flowchart.htmlLabels)){var o=i.children[0],s=aq(i);a=o.getBoundingClientRect(),s.attr("width",a.width),s.attr("height",a.height)}a.width>c&&(c=a.width),l+=a.height+4,T.push(i)}),l+=8,f){var E=(c-g.width)/2;aq(p).attr("transform","translate( "+(-1*c/2+E)+", "+-1*l/2+")"),h=g.height+4}var C=(c-x.width)/2;return aq(b).attr("transform","translate( "+(-1*c/2+C)+", "+(-1*l/2+h)+")"),h+=x.height+4,o.attr("class","divider").attr("x1",-c/2-r).attr("x2",c/2+r).attr("y1",-l/2-r+8+h).attr("y2",-l/2-r+8+h),h+=8,w.forEach(function(t){aq(t).attr("transform","translate( "+-c/2+", "+(-1*l/2+h+4)+")"),h+=x.height+4}),h+=8,s.attr("class","divider").attr("x1",-c/2-r).attr("x2",c/2+r).attr("y1",-l/2-r+8+h).attr("y2",-l/2-r+8+h),h+=8,T.forEach(function(t){aq(t).attr("transform","translate( "+-c/2+", "+(-1*l/2+h)+")"),h+=x.height+4}),a.attr("class","outer title-state").attr("x",-c/2-r).attr("y",-l/2-r).attr("width",c+e.padding).attr("height",l+e.padding),f2(e,a),e.intersect=function(t){return dl(e,t)},i}},dg={},dy=function(t){var e=dg[t.id];o.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");var n=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+n-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),n},dm={rect:function(t,e){o.trace("Creating subgraph rect for ",e.id,e);var n=t.insert("g").attr("class","cluster"+(e.class?" "+e.class:"")).attr("id",e.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),a=i.node().appendChild(f0(e.labelText,e.labelStyle,void 0,!0)),s=a.getBBox();if(hp(fu().flowchart.htmlLabels)){var c=a.children[0],l=aq(a);s=c.getBoundingClientRect(),l.attr("width",s.width),l.attr("height",s.height)}var u=0*e.padding,h=e.width<=s.width+u?s.width+u:e.width;e.width<=s.width+u?e.diff=(s.width-e.width)/2:e.diff=-e.padding/2,o.trace("Data ",e,JSON.stringify(e)),r.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-h/2).attr("y",e.y-e.height/2-u/2).attr("width",h).attr("height",e.height+u),i.attr("transform","translate("+(e.x-s.width/2)+", "+(e.y-e.height/2+e.padding/3)+")");var f=r.node().getBBox();return e.width=f.width,e.height=f.height,e.intersect=function(t){return dl(e,t)},n},roundedWithTitle:function(t,e){var n=t.insert("g").attr("class",e.classes).attr("id",e.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),a=n.append("rect"),o=i.node().appendChild(f0(e.labelText,e.labelStyle,void 0,!0)),s=o.getBBox();if(hp(fu().flowchart.htmlLabels)){var c=o.children[0],l=aq(o);s=c.getBoundingClientRect(),l.attr("width",s.width),l.attr("height",s.height)}s=o.getBBox();var u=0*e.padding,h=u/2,f=e.width<=s.width+e.padding?s.width+e.padding:e.width;return e.width<=s.width+e.padding?e.diff=(s.width+0*e.padding-e.width)/2:e.diff=-e.padding/2,r.attr("class","outer").attr("x",e.x-f/2-h).attr("y",e.y-e.height/2-h).attr("width",f+u).attr("height",e.height+u),a.attr("class","inner").attr("x",e.x-f/2-h).attr("y",e.y-e.height/2-h+s.height-1).attr("width",f+u).attr("height",e.height+u-s.height-3),i.attr("transform","translate("+(e.x-s.width/2)+", "+(e.y-e.height/2-e.padding/3+(hp(fu().flowchart.htmlLabels)?5:3))+")"),e.height=r.node().getBBox().height,e.intersect=function(t){return dl(e,t)},n},noteGroup:function(t,e){var n=t.insert("g").attr("class","note-cluster").attr("id",e.id),r=n.insert("rect",":first-child"),i=0*e.padding,a=i/2;r.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2-a).attr("width",e.width+i).attr("height",e.height+i).attr("fill","none");var o=r.node().getBBox();return e.width=o.width,e.height=o.height,e.intersect=function(t){return dl(e,t)},n},divider:function(t,e){var n=t.insert("g").attr("class",e.classes).attr("id",e.id),r=n.insert("rect",":first-child"),i=0*e.padding;r.attr("class","divider").attr("x",e.x-e.width/2-i/2).attr("y",e.y-e.he
1ight/2).attr("width",e.width+i).attr("height",e.height+i);var a=r.node().getBBox();return e.width=a.width,e.height=a.height,e.diff=-e.padding/2,e.intersect=function(t){return dl(e,t)},n}},dv={},db={},dx={},d_=function(t,e){var n=f0(e.label,e.labelStyle),r=t.insert("g").attr("class","edgeLabel"),i=r.insert("g").attr("class","label");i.node().appendChild(n);var a,o=n.getBBox();if(hp(fu().flowchart.htmlLabels)){var s=n.children[0],c=aq(n);o=s.getBoundingClientRect(),c.attr("width",o.width),c.attr("height",o.height)}if(i.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),db[e.id]=r,e.width=o.width,e.height=o.height,e.startLabelLeft){var l=f0(e.startLabelLeft,e.labelStyle),u=t.insert("g").attr("class","edgeTerminals"),h=u.insert("g").attr("class","inner");a=h.node().appendChild(l);var f=l.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),dx[e.id]||(dx[e.id]={}),dx[e.id].startLeft=u,dk(a,e.startLabelLeft)}if(e.startLabelRight){var d=f0(e.startLabelRight,e.labelStyle),p=t.insert("g").attr("class","edgeTerminals"),g=p.insert("g").attr("class","inner");a=p.node().appendChild(d),g.node().appendChild(d);var y=d.getBBox();g.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),dx[e.id]||(dx[e.id]={}),dx[e.id].startRight=p,dk(a,e.startLabelRight)}if(e.endLabelLeft){var m=f0(e.endLabelLeft,e.labelStyle),v=t.insert("g").attr("class","edgeTerminals"),b=v.insert("g").attr("class","inner");a=b.node().appendChild(m);var x=m.getBBox();b.attr("transform","translate("+-x.width/2+", "+-x.height/2+")"),v.node().appendChild(m),dx[e.id]||(dx[e.id]={}),dx[e.id].endLeft=v,dk(a,e.endLabelLeft)}if(e.endLabelRight){var _=f0(e.endLabelRight,e.labelStyle),k=t.insert("g").attr("class","edgeTerminals"),w=k.insert("g").attr("class","inner");a=w.node().appendChild(_);var T=_.getBBox();w.attr("transform","translate("+-T.width/2+", "+-T.height/2+")"),k.node().appendChild(_),dx[e.id]||(dx[e.id]={}),dx[e.id].endRight=k,dk(a,e.endLabelRight)}};function dk(t,e){fu().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}var dw=function(t,e){o.info("Moving label abc78 ",t.id,t.label,db[t.id]);var n=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){var r=db[t.id],i=t.x,a=t.y;if(n){var s=fe.calcLabelPosition(n);o.info("Moving label from (",i,",",a,") to (",s.x,",",s.y,") abc78")}r.attr("transform","translate("+i+", "+a+")")}if(t.startLabelLeft){var c=dx[t.id].startLeft,l=t.x,u=t.y;if(n){var h=fe.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_left",n);l=h.x,u=h.y}c.attr("transform","translate("+l+", "+u+")")}if(t.startLabelRight){var f=dx[t.id].startRight,d=t.x,p=t.y;if(n){var g=fe.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_right",n);d=g.x,p=g.y}f.attr("transform","translate("+d+", "+p+")")}if(t.endLabelLeft){var y=dx[t.id].endLeft,m=t.x,v=t.y;if(n){var b=fe.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_left",n);m=b.x,v=b.y}y.attr("transform","translate("+m+", "+v+")")}if(t.endLabelRight){var x=dx[t.id].endRight,_=t.x,k=t.y;if(n){var w=fe.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_right",n);_=w.x,k=w.y}x.attr("transform","translate("+_+", "+k+")")}},dT=function(t,e){o.warn("abc88 cutPathAtIntersect",t,e);var n=[],r=t[0],i=!1;return t.forEach(function(t){if(o.info("abc88 checking point",t,e),a=e.x,s=e.y,c=Math.abs(t.x-a),l=Math.abs(t.y-s),u=e.width/2,h=e.height/2,c>=u||l>=h||i)o.warn("abc88 outside",t,r),r=t,i||n.push(t);else{var a,s,c,l,u,h,f=function(t,e,n){o.warn("intersection calc abc89:\n outsidePoint: ".concat(JSON.stringify(e),"\n insidePoint : ").concat(JSON.stringify(n),"\n node : x:").concat(t.x," y:").concat(t.y," w:").concat(t.width," h:").concat(t.height));var r=t.x,i=t.y,a=Math.abs(r-n.x),s=t.width/2,c=n.x<e.x?s-a:s+a,l=t.height/2,u=Math.abs(e.y-n.y),h=Math.abs(e.x-n.x);if(Math.abs(i-e.y)*s>Math.abs(r-e.x)*l){var f=n.y<e.y?e.y-l-i:i-l-e.y;c=h*f/u;var d={x:n.x<e.x?n.x+c:n.x-h+c,y:n.y<e.y?n.y+u-f:n.y-u+f};return 0===c&&(d.x=e.x,d.y=e.y),0===h&&(d.x=e.x),0===u&&(d.y=e.y),o.warn("abc89 topp/bott calc, Q ".concat(u,", q ").concat(f,", R ").concat(h,", r ").concat(c),d),d}var p=u*(c=n.x<e.x?e.x-s-r:r-s-e.x)/h,g=n.x<e.x?n.x+h-c:n.x-h+c,y=n.y<e.y?n.y+p:n.y-p;return o.warn("sides calc abc89, Q ".concat(u,", q ").concat(p,", R ").concat(h,", r ").concat(c),{_x:g,_y:y}),0===c&&(g=e.x,y=e.y),0===h&&(g=e.x),0===u&&(y=e.y),{x:g,y:y}}(e,r,t);o.warn("abc88 inside",t,r,f),o.warn("abc88 intersection",f);var d=!1;
1n.forEach(function(t){d=d||t.x===f.x&&t.y===f.y}),n.find(function(t){return t.x===f.x&&t.y===f.y})?o.warn("abc88 no intersect",f,n):n.push(f),i=!0}}),o.warn("abc88 returning points",n),n},dE=function t(e,n,r,i){o.info("Graph in recursive render: XXX",fL().json.write(n),i);var a=n.graph().rankdir;o.trace("Dir in recursive render - dir:",a);var s=e.insert("g").attr("class","root");n.nodes()?o.info("Recursive render XXX",n.nodes()):o.info("No nodes found for",n),n.edges().length>0&&o.trace("Recursive edges",n.edge(n.edges()[0]));var c=s.insert("g").attr("class","clusters"),l=s.insert("g").attr("class","edgePaths"),u=s.insert("g").attr("class","edgeLabels"),h=s.insert("g").attr("class","nodes");n.nodes().forEach(function(e){var s,c,l,u,f=n.node(e);if(void 0!==i){var d=JSON.parse(JSON.stringify(i.clusterData));o.info("Setting data for cluster XXX (",e,") ",d,i),n.setNode(i.id,d),n.parent(e)||(o.trace("Setting parent",e,i.id),n.setParent(e,i.id,d))}if(o.info("(Insert) Node XXX"+e+": "+JSON.stringify(n.node(e))),f&&f.clusterNode){o.info("Cluster identified",e,f.width,n.node(e));var p=t(h,f.graph,r,n.node(e)),g=p.elem;f2(f,g),f.diff=p.diff||0,o.info("Node bounds (abc123)",e,f,f.width,f.x,f.y),dg[f.id]=g,o.warn("Recursive render complete ",g,f)}else n.children(e).length>0?(o.info("Cluster - the non recursive path XXX",e,f.id,f,n),o.info(dt(f.id,n)),f5[f.id]={id:dt(f.id,n),node:f}):(o.info("Node - the non recursive path",e,f.id,f),s=n.node(e),s.link?("sandbox"===fu().securityLevel?u="_top":s.linkTarget&&(u=s.linkTarget||"_blank"),c=h.insert("svg:a").attr("xlink:href",s.link).attr("target",u),l=dp[s.shape](c,s,a)):c=l=dp[s.shape](h,s,a),s.tooltip&&l.attr("title",s.tooltip),s.class&&l.attr("class","node default "+s.class),dg[s.id]=c,s.haveCallback&&dg[s.id].attr("class",dg[s.id].attr("class")+" clickable"))}
1),n.edges().forEach(function(t){var e=n.edge(t.v,t.w,t.name);o.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),o.info("Edge "+t.v+" -> "+t.w+": ",t," ",JSON.stringify(n.edge(t))),o.info("Fix",f5,"ids:",t.v,t.w,"Translateing: ",f5[t.v],f5[t.w]),d_(u,e)}),n.edges().forEach(function(t){o.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t))}),o.info("#############################################"),o.info("### Layout ###"),o.info("#############################################"),o.info(n),fB().layout(n),o.info("Graph after layout:",fL().json.write(n));var f=0;return di(n,n.children()).forEach(function(t){var e,r=n.node(t);o.info("Position "+t+": "+JSON.stringify(n.node(t))),o.info("Position "+t+": ("+r.x,","+r.y,") width: ",r.width," height: ",r.height),r&&r.clusterNode?dy(r):n.children(t).length>0?(o.trace("Inserting cluster"),e=r.shape||"rect",dv[r.id]=dm[e](c,r),f5[r.id].node=r):dy(r)}),n.edges().forEach(function(t){var e=n.edge(t);o.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e),e);var i=function(t,e,n,r,i,a){var s=n.points,c=!1,l=a.node(e.v),u=a.node(e.w);o.info("abc88 InsertEdge: ",n),u.intersect&&l.intersect&&((s=s.slice(1,n.points.length-1)).unshift(l.intersect(s[0])),o.info("Last point",s[s.length-1],u,u.intersect(s[s.length-1])),s.push(u.intersect(s[s.length-1]))),n.toCluster&&(o.info("to cluster abc88",r[n.toCluster]),s=dT(n.points,r[n.toCluster].node),c=!0),n.fromCluster&&(o.info("from cluster abc88",r[n.fromCluster]),s=dT(s.reverse(),r[n.fromCluster].node).reverse(),c=!0);var h,f=s.filter(function(t){return!Number.isNaN(t.y)});h=("graph"===i||"flowchart"===i)&&n.curve||om;var d,p=oh().x(function(t){return t.x}).y(function(t){return t.y}).curve(h);switch(n.thickness){case"normal":d="edge-thickness-normal";break;case"thick":d="edge-thickness-thick";break;default:d=""}switch(n.pattern){case"solid":d+=" edge-pattern-solid";break;case"dotted":d+=" edge-pattern-dotted";break;case"dashed":d+=" edge-pattern-dashed"}var g=t.append("path").attr("d",p(f)).attr("id",n.id).attr("class"," "+d+(n.classes?" "+n.classes:"")).attr("style",n.style),y="";switch(fu().state.arrowMarkerAbsolute&&(y=(y=(y=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),o.info("arrowTypeStart",n.arrowTypeStart),o.info("arrowTypeEnd",n.arrowTypeEnd),n.arrowTypeStart){case"arrow_cross":g.attr("marker-start","url("+y+"#"+i+"-crossStart)");break;case"arrow_point":g.attr("marker-start","url("+y+"#"+i+"-pointStart)");break;case"arrow_barb":g.attr("marker-start","url("+y+"#"+i+"-barbStart)");break;case"arrow_circle":g.attr("marker-start","url("+y+"#"+i+"-circleStart)");break;case"aggregation":g.attr("marker-start","url("+y+"#"+i+"-aggregationStart)");break;case"extension":g.attr("marker-start","url("+y+"#"+i+"-extensionStart)");break;case"composition":g.attr("marker-start","url("+y+"#"+i+"-compositionStart)");break;case"dependency":g.attr("marker-start","url("+y+"#"+i+"-dependencyStart)")}switch(n.arrowTypeEnd){case"arrow_cross":g.attr("marker-end","url("+y+"#"+i+"-crossEnd)");break;case"arrow_point":g.attr("marker-end","url("+y+"#"+i+"-pointEnd)");break;case"arrow_barb":g.attr("marker-end","url("+y+"#"+i+"-barbEnd)");break;case"arrow_circle":g.attr("marker-end","url("+y+"#"+i+"-circleEnd)");break;case"aggregation":g.attr("marker-end","url("+y+"#"+i+"-aggregationEnd)");break;case"extension":g.attr("marker-end","url("+y+"#"+i+"-extensionEnd)");break;case"composition":g.attr("marker-end","url("+y+"#"+i+"-compositionEnd)");break;case"dependency":g.attr("marker-end","url("+y+"#"+i+"-dependencyEnd)")}var m={};return c&&(m.updatedPath=s),m.originalPath=n.points,m}(l,t,e,f5,r,n);dw(e,i)}),n.nodes().forEach(function(t){var e=n.node(t);o.info(t,e.type,e.diff),"group"===e.type&&(f=e.diff)}),{elem:s,diff:f}},dC=function(t,e,n,r,i){fK(t,n,r,i),dg={},db={},dx={},dv={},f4={},f6={},f5={},o.warn("Graph at first:",fL().json.write(e)),dn(e),o.warn("Graph after:",fL().json.write(e)),dE(t,e,r)};fI.parser.yy=fN;var dS={dividerMargin:10,padding:5,textHeight:10};function dA(t){var e;switch(t){case 0:e="aggregation";break;case 1:e="extension";break;case 2:e="composition";break;case 3:e="dependency";break;default:e="none"}return e}var dM={}
1,dN=[],dD="",dB=function(t){return void 0===dM[t]&&(dM[t]={attributes:[]},o.info("Added new entity :",t)),dM[t]};let dO={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(t,e,n){vs.parseDirective(this,t,e,n)},getConfig:function(){return fu().er},addEntity:dB,addAttributes:function(t,e){var n,r=dB(t);for(n=e.length-1;n>=0;n--)r.attributes.push(e[n]),o.debug("Added attribute ",e[n].attributeName)},getEntities:function(){return dM},addRelationship:function(t,e,n,r){var i={entityA:t,roleA:e,entityB:n,relSpec:r};dN.push(i),o.debug("Added new relationship :",i)},getRelationships:function(){return dN},clear:function(){dM={},dN=[],dD=""},setTitle:function(t){dD=t},getTitle:function(){return dD}};var dL=n(5890),dI=n.n(dL),dF="ONLY_ONE_START",dP="ONLY_ONE_END",dR="ZERO_OR_ONE_START",dj="ZERO_OR_ONE_END",dY="ONE_OR_MORE_START",dU="ONE_OR_MORE_END",dz="ZERO_OR_MORE_START",d$="ZERO_OR_MORE_END",dq={},dH=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},dW=0;let dV=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)dq[e[n]]=t[e[n]]},dG=function(t,e){o.info("Drawing ER diagram"),dO.clear();var n,r,i,a,s=dI().parser;s.yy=dO;var c,l=fu().securityLevel;"sandbox"===l&&(c=aq("#i"+e));var u=aq("sandbox"===l?c.nodes()[0].contentDocument.body:"body");"sandbox"===l&&c.nodes()[0].contentDocument;try{s.parse(t)}catch(t){o.debug("Parsing failed")}var h,f=u.select("[id='".concat(e,"']"));f.append("defs").append("marker").attr("id",dF).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",dq.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),f.append("defs").append("marker").attr("id",dP).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",dq.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),(n=f.append("defs").append("marker").attr("id",dR).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",dq.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("stroke",dq.stroke).attr("fill","none").attr("d","M9,0 L9,18"),(n=f.append("defs").append("marker").attr("id",dj).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",dq.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),n.append("path").attr("stroke",dq.stroke).attr("fill","none").attr("d","M21,0 L21,18"),f.append("defs").append("marker").attr("id",dY).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",dq.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),f.append("defs").append("marker").attr("id",dU).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",dq.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),(n=f.append("defs").append("marker").attr("id",dz).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",dq.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("stroke",dq.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),(n=f.append("defs").append("marker").attr("id",d$).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",dq.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),n.append("path").attr("stroke",dq.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18"),h=new(fL()).Graph({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:dq.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});var d=(r=dO.getEntities(),Object.keys(r).forEach(function(t){var e=f.append("g").attr("id",t);i=void 0===i?t:i;var n="entity-"+t,a=e.append("text").attr("class","er entityLabel").attr("id",n).attr("x",0).attr("y",0).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("style","font-family: "+fu().fontFamily+"; font-size: "+dq.fontSize+"px").text(t),o=function(t,e,n){var r=dq.entityPadding/3,i=dq.entityPadding/3,a=.85*dq.fontSize,o=e.node().getBBox(),s=[],c=!1,l=!1,u=0,h=0,f=0,d=0,p=o.height+2*r,g=1;
1n.forEach(function(t){void 0!==t.attributeKeyType&&(c=!0),void 0!==t.attributeComment&&(l=!0)}),n.forEach(function(n){var i="".concat(e.node().id,"-attr-").concat(g),o=0,y=t.append("text").attr("class","er entityLabel").attr("id","".concat(i,"-type")).attr("x",0).attr("y",0).attr("dominant-baseline","middle").attr("text-anchor","left").attr("style","font-family: "+fu().fontFamily+"; font-size: "+a+"px").text(n.attributeType),m=t.append("text").attr("class","er entityLabel").attr("id","".concat(i,"-name")).attr("x",0).attr("y",0).attr("dominant-baseline","middle").attr("text-anchor","left").attr("style","font-family: "+fu().fontFamily+"; font-size: "+a+"px").text(n.attributeName),v={};v.tn=y,v.nn=m;var b=y.node().getBBox(),x=m.node().getBBox();if(u=Math.max(u,b.width),h=Math.max(h,x.width),o=Math.max(b.height,x.height),c){var _=t.append("text").attr("class","er entityLabel").attr("id","".concat(i,"-key")).attr("x",0).attr("y",0).attr("dominant-baseline","middle").attr("text-anchor","left").attr("style","font-family: "+fu().fontFamily+"; font-size: "+a+"px").text(n.attributeKeyType||"");v.kn=_;var k=_.node().getBBox();f=Math.max(f,k.width),o=Math.max(o,k.height)}if(l){var w=t.append("text").attr("class","er entityLabel").attr("id","".concat(i,"-comment")).attr("x",0).attr("y",0).attr("dominant-baseline","middle").attr("text-anchor","left").attr("style","font-family: "+fu().fontFamily+"; font-size: "+a+"px").text(n.attributeComment||"");v.cn=w;var T=w.node().getBBox();d=Math.max(d,T.width),o=Math.max(o,T.height)}v.height=o,s.push(v),p+=o+2*r,g+=1});var y=4;c&&(y+=2),l&&(y+=2);var m=u+h+f+d,v={width:Math.max(dq.minEntityWidth,Math.max(o.width+2*dq.entityPadding,m+i*y)),height:n.length>0?p:Math.max(dq.minEntityHeight,o.height+2*dq.entityPadding)};if(n.length>0){var b=Math.max(0,(v.width-m-i*y)/(y/2));e.attr("transform","translate("+v.width/2+","+(r+o.height/2)+")");var x=o.height+2*r,_="attributeBoxOdd";s.forEach(function(e){var n=x+r+e.height/2;e.tn.attr("transform","translate("+i+","+n+")");var a=t.insert("rect","#"+e.tn.node().id).attr("class","er ".concat(_)).attr("fill",dq.fill).attr("fill-opacity","100%").attr("stroke",dq.stroke).attr("x",0).attr("y",x).attr("width",u+2*i+b).attr("height",e.height+2*r),o=parseFloat(a.attr("x"))+parseFloat(a.attr("width"));e.nn.attr("transform","translate("+(o+i)+","+n+")");var s=t.insert("rect","#"+e.nn.node().id).attr("class","er ".concat(_)).attr("fill",dq.fill).attr("fill-opacity","100%").attr("stroke",dq.stroke).attr("x",o).attr("y",x).attr("width",h+2*i+b).attr("height",e.height+2*r),p=parseFloat(s.attr("x"))+parseFloat(s.attr("width"));if(c){e.kn.attr("transform","translate("+(p+i)+","+n+")");var g=t.insert("rect","#"+e.kn.node().id).attr("class","er ".concat(_)).attr("fill",dq.fill).attr("fill-opacity","100%").attr("stroke",dq.stroke).attr("x",p).attr("y",x).attr("width",f+2*i+b).attr("height",e.height+2*r);p=parseFloat(g.attr("x"))+parseFloat(g.attr("width"))}l&&(e.cn.attr("transform","translate("+(p+i)+","+n+")"),t.insert("rect","#"+e.cn.node().id).attr("class","er ".concat(_)).attr("fill",dq.fill).attr("fill-opacity","100%").attr("stroke",dq.stroke).attr("x",p).attr("y",x).attr("width",d+2*i+b).attr("height",e.height+2*r)),x+=e.height+2*r,_="attributeBoxOdd"==_?"attributeBoxEven":"attributeBoxOdd"})}else v.height=Math.max(dq.minEntityHeight,p),e.attr("transform","translate("+v.width/2+","+v.height/2+")");return v}(e,a,r[t].attributes),s=o.width,c=o.height,l=e.insert("rect","#"+n).attr("class","er entityBox").attr("fill",dq.fill).attr("fill-opacity","100%").attr("stroke",dq.stroke).attr("x",0).attr("y",0).attr("width",s).attr("height",c).node().getBBox();h.setNode(t,{width:l.width,height:l.height,shape:"rect",id:t})}),i),p=(a=dO.getRelationships(),a.forEach(function(t){h.setEdge(t.entityA,t.entityB,{relationship:t},dH(t))}),a);fB().layout(h),h.nodes().forEach(function(t){void 0!==t&&void 0!==h.node(t)&&f.select("#"+t).attr("transform","translate("+(h.node(t).x-h.node(t).width/2)+","+(h.node(t).y-h.node(t).height/2)+" )")}),p.forEach(function(t){!function(t,e,n,r){dW++;
1var i=n.edge(e.entityA,e.entityB,dH(e)),a=oh().x(function(t){return t.x}).y(function(t){return t.y}).curve(om),o=t.insert("path","#"+r).attr("class","er relationshipLine").attr("d",a(i.points)).attr("stroke",dq.stroke).attr("fill","none");e.relSpec.relType===dO.Identification.NON_IDENTIFYING&&o.attr("stroke-dasharray","8,8");var s="";switch(dq.arrowMarkerAbsolute&&(s=(s=(s=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),e.relSpec.cardA){case dO.Cardinality.ZERO_OR_ONE:o.attr("marker-end","url("+s+"#"+dj+")");break;case dO.Cardinality.ZERO_OR_MORE:o.attr("marker-end","url("+s+"#"+d$+")");break;case dO.Cardinality.ONE_OR_MORE:o.attr("marker-end","url("+s+"#"+dU+")");break;case dO.Cardinality.ONLY_ONE:o.attr("marker-end","url("+s+"#"+dP+")")}switch(e.relSpec.cardB){case dO.Cardinality.ZERO_OR_ONE:o.attr("marker-start","url("+s+"#"+dR+")");break;case dO.Cardinality.ZERO_OR_MORE:o.attr("marker-start","url("+s+"#"+dz+")");break;case dO.Cardinality.ONE_OR_MORE:o.attr("marker-start","url("+s+"#"+dY+")");break;case dO.Cardinality.ONLY_ONE:o.attr("marker-start","url("+s+"#"+dF+")")}var c=o.node().getTotalLength(),l=o.node().getPointAtLength(.5*c),u="rel"+dW,h=t.append("text").attr("class","er relationshipLabel").attr("id",u).attr("x",l.x).attr("y",l.y).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("style","font-family: "+fu().fontFamily+"; font-size: "+dq.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+u).attr("class","er relationshipLabelBox").attr("x",l.x-h.width/2).attr("y",l.y-h.height/2).attr("width",h.width).attr("height",h.height).attr("fill","white").attr("fill-opacity","85%")}(f,t,h,d)});var g=dq.diagramPadding,y=f.node().getBBox(),m=y.width+2*g,v=y.height+2*g;h7(f,v,m,dq.useMaxWidth),f.attr("viewBox","".concat(y.x-g," ").concat(y.y-g," ").concat(m," ").concat(v))};function dX(t){return(dX="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dZ(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var dQ,dK,dJ=0,d0=fu(),d1={},d2=[],d3=[],d5=[],d4={},d6={},d8=0,d7=!0,d9=[],pt=function(t){for(var e=Object.keys(d1),n=0;n<e.length;n++)if(d1[e[n]].id===t)return d1[e[n]].domId;return t},pe=function(t,e,n,r){var i={start:t,end:e,type:void 0,text:""};void 0!==(r=n.text)&&(i.text=hu(r.trim(),d0),'"'===i.text[0]&&'"'===i.text[i.text.length-1]&&(i.text=i.text.substring(1,i.text.length-1))),void 0!==n&&(i.type=n.type,i.stroke=n.stroke,i.length=n.length),d2.push(i)},pn=function(t,e){t.split(",").forEach(function(t){void 0!==d1[t]&&d1[t].classes.push(e),void 0!==d4[t]&&d4[t].classes.push(e)})},pr=function(t){var e=aq(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=aq("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),aq(t).select("svg").selectAll("g.node").on("mouseover",function(){var t=aq(this);if(null!==t.attr("title")){var n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.html(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),t.classed("hover",!0)}}).on("mouseout",function(){e.transition().duration(500).style("opacity",0),aq(this).classed("hover",!1)})};d9.push(pr);var pi=function(t){for(var e=0;e<d5.length;e++)if(d5[e].id===t)return e;return -1},pa=-1,po=[],ps=function t(e,n){var r=d5[n].nodes;if(!((pa+=1)>2e3)){if(po[pa]=n,d5[n].id===e)return{result:!0,count:0};for(var i=0,a=1;i<r.length;){var o=pi(r[i]);if(o>=0){var s=t(e,o);if(s.result)return{result:!0,count:a+s.count};a+=s.count}i+=1}return{result:!1,count:a}}},pc=function(t,e){var n=!1;return t.forEach(function(t){t.nodes.indexOf(e)>=0&&(n=!0)}),n},pl=function(t,e){var n=[];return t.nodes.forEach(function(r,i){pc(e,r)||n.push(t.nodes[i])}),{nodes:n}};let pu={parseDirective:function(t,e,n){vs.parseDirective(this,t,e,n)},defaultConfig:function(){return fi.flowchart},addVertex:function(t,e,n,r,i,a){var o,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{};void 0!==t&&0!==t.trim().length&&(void 0===d1[t]&&(d1[t]={id:t,domId:"flowchart-"+t+"-"+dJ,styles:[],classes:[]}),dJ++,void 0!==e?(d0=fu(),'"'===(o=hu(e.trim(),d0))[0]&&'"'===o[o.length-1]&&(o=o.substring(1,o.length-1)),d1[t].text=o):void 0===d1[t].text&&(d1[t].text=t),void 0!==n&&(d1[t].type=n),null!=r&&r.forEach(function(e){d1[t].styles.push(e)}
1),null!=i&&i.forEach(function(e){d1[t].classes.push(e)}),void 0!==a&&(d1[t].dir=a),d1[t].props=s)},lookUpDomId:pt,addLink:function(t,e,n,r){var i,a;for(i=0;i<t.length;i++)for(a=0;a<e.length;a++)pe(t[i],e[a],n,r)},updateLinkInterpolate:function(t,e){t.forEach(function(t){"default"===t?d2.defaultInterpolate=e:d2[t].interpolate=e})},updateLink:function(t,e){t.forEach(function(t){"default"===t?d2.defaultStyle=e:(-1===fe.isSubstringInArray("fill",e)&&e.push("fill:none"),d2[t].style=e)})},addClass:function(t,e){void 0===d3[t]&&(d3[t]={id:t,styles:[],textStyles:[]}),null!=e&&e.forEach(function(e){if(e.match("color")){var n=e.replace("fill","bgFill").replace("color","fill");d3[t].textStyles.push(n)}d3[t].styles.push(e)})},setDirection:function(t){(dQ=t).match(/.*</)&&(dQ="RL"),dQ.match(/.*\^/)&&(dQ="BT"),dQ.match(/.*>/)&&(dQ="LR"),dQ.match(/.*v/)&&(dQ="TB")},setClass:pn,setTooltip:function(t,e){t.split(",").forEach(function(t){void 0!==e&&(d6["gen-1"===dK?pt(t):t]=hu(e,d0))})},getTooltip:function(t){return d6[t]},setClickEvent:function(t,e,n){t.split(",").forEach(function(t){var r=pt(t);if("loose"===fu().securityLevel&&void 0!==e){var i=[];if("string"==typeof n){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(var a=0;a<i.length;a++){var o=i[a].trim();'"'===o.charAt(0)&&'"'===o.charAt(o.length-1)&&(o=o.substr(1,o.length-2)),i[a]=o}}0===i.length&&i.push(t),void 0!==d1[t]&&(d1[t].haveCallback=!0,d9.push(function(){var t=document.querySelector('[id="'.concat(r,'"]'));null!==t&&t.addEventListener("click",function(){var t;fe.runFunc.apply(fe,[e].concat(function(t){if(Array.isArray(t))return dZ(t)}(t=i)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return dZ(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dZ(t,void 0):void 0}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))},!1)}))}}),pn(t,"clickable")},setLink:function(t,e,n){t.split(",").forEach(function(t){void 0!==d1[t]&&(d1[t].link=fe.formatUrl(e,d0),d1[t].linkTarget=n)}),pn(t,"clickable")},bindFunctions:function(t){d9.forEach(function(e){e(t)})},getDirection:function(){return dQ.trim()},getVertices:function(){return d1},getEdges:function(){return d2},getClasses:function(){return d3},clear:function(t){d1={},d3={},d2=[],(d9=[]).push(pr),d5=[],d4={},d8=0,d6=[],d7=!0,dK=t||"gen-1"},setGen:function(t){dK=t||"gen-1"},defaultStyle:function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},addSubGraph:function(t,e,n){var r,i,a,s,c=t.trim(),l=n;t===n&&n.match(/\s/)&&(c=void 0);var u=[],h=(r=u.concat.apply(u,e),a={boolean:{},number:{},string:{}},s=[],{nodeList:r.filter(function(t){var e=dX(t);return t.stmt&&"dir"===t.stmt?(i=t.value,!1):""!==t.trim()&&(e in a?!a[e].hasOwnProperty(t)&&(a[e][t]=!0):!(s.indexOf(t)>=0)&&s.push(t))}),dir:i}),f=h.nodeList,d=h.dir;if(u=f,"gen-1"===dK){o.warn("LOOKING UP");for(var p=0;p<u.length;p++)u[p]=pt(u[p])}c=c||"subGraph"+d8,l=hu(l=l||"",d0),d8+=1;var g={id:c,nodes:u,title:l.trim(),classes:[],dir:d};return o.info("Adding",g.id,g.nodes,g.dir),g.nodes=pl(g,d5).nodes,d5.push(g),d4[c]=g,c},getDepthFirstPos:function(t){return po[t]},indexNodes:function(){pa=-1,d5.length>0&&ps("none",d5.length-1)},getSubGraphs:function(){return d5},destructLink:function(t,e){var n,r=function(t){var e=t.trim(),n=e.slice(0,-1),r="arrow_open";switch(e.slice(-1)){case"x":r="arrow_cross","x"===e[0]&&(r="double_"+r,n=n.slice(1));break;case">":r="arrow_point","<"===e[0]&&(r="double_"+r,n=n.slice(1));break;case"o":r="arrow_circle","o"===e[0]&&(r="double_"+r,n=n.slice(1))}var i="normal",a=n.length-1;"="===n[0]&&(i="thick");var o=function(t,e){for(var n=e.length,r=0,i=0;i<n;++i)"."===e[i]&&++r;return r}(0,n);return o&&(i="dotted",a=o),{type:r,stroke:i,length:a}}(t);if(e){if((n=function(t){var e=t.trim(),n="arrow_open";switch(e[0]){case"<":n="arrow_point",e=e.slice(1);break;case"x":n="arrow_cross",e=e.slice(1);break;case"o":n="arrow_circle",e=e.slice(1)}
1var r="normal";return -1!==e.indexOf("=")&&(r="thick"),-1!==e.indexOf(".")&&(r="dotted"),{type:n,stroke:r}}(e)).stroke!==r.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===n.type)n.type=r.type;else{if(n.type!==r.type)return{type:"INVALID",stroke:"INVALID"};n.type="double_"+n.type}return"double_arrow"===n.type&&(n.type="double_arrow_point"),n.length=r.length,n}return r},lex:{firstGraph:function(){return!!d7&&(d7=!1,!0)}},exists:pc,makeUniq:pl};var ph=n(3602),pf=n.n(ph),pd=n(4949),pp=n.n(pd),pg=n(8284),py=n.n(pg);function pm(t,e,n){var r=.9*(e.width+e.height),i=[{x:r/2,y:0},{x:r,y:-r/2},{x:r/2,y:-r},{x:0,y:-r/2}],a=pA(t,r,r,i);return n.intersect=function(t){return pp().intersect.polygon(n,i,t)},a}function pv(t,e,n){var r=e.height,i=r/4,a=e.width+2*i,o=[{x:i,y:0},{x:a-i,y:0},{x:a,y:-r/2},{x:a-i,y:-r},{x:i,y:-r},{x:0,y:-r/2}],s=pA(t,a,r,o);return n.intersect=function(t){return pp().intersect.polygon(n,o,t)},s}function pb(t,e,n){var r=e.width,i=e.height,a=[{x:-i/2,y:0},{x:r,y:0},{x:r,y:-i},{x:-i/2,y:-i},{x:0,y:-i/2}],o=pA(t,r,i,a);return n.intersect=function(t){return pp().intersect.polygon(n,a,t)},o}function px(t,e,n){var r=e.width,i=e.height,a=[{x:-2*i/6,y:0},{x:r-i/6,y:0},{x:r+2*i/6,y:-i},{x:i/6,y:-i}],o=pA(t,r,i,a);return n.intersect=function(t){return pp().intersect.polygon(n,a,t)},o}function p_(t,e,n){var r=e.width,i=e.height,a=[{x:2*i/6,y:0},{x:r+i/6,y:0},{x:r-2*i/6,y:-i},{x:-i/6,y:-i}],o=pA(t,r,i,a);return n.intersect=function(t){return pp().intersect.polygon(n,a,t)},o}function pk(t,e,n){var r=e.width,i=e.height,a=[{x:-2*i/6,y:0},{x:r+2*i/6,y:0},{x:r-i/6,y:-i},{x:i/6,y:-i}],o=pA(t,r,i,a);return n.intersect=function(t){return pp().intersect.polygon(n,a,t)},o}function pw(t,e,n){var r=e.width,i=e.height,a=[{x:i/6,y:0},{x:r-i/6,y:0},{x:r+2*i/6,y:-i},{x:-2*i/6,y:-i}],o=pA(t,r,i,a);return n.intersect=function(t){return pp().intersect.polygon(n,a,t)},o}function pT(t,e,n){var r=e.width,i=e.height,a=[{x:0,y:0},{x:r+i/2,y:0},{x:r,y:-i/2},{x:r+i/2,y:-i},{x:0,y:-i}],o=pA(t,r,i,a);return n.intersect=function(t){return pp().intersect.polygon(n,a,t)},o}function pE(t,e,n){var r=e.height,i=e.width+r/4,a=t.insert("rect",":first-child").attr("rx",r/2).attr("ry",r/2).attr("x",-i/2).attr("y",-r/2).attr("width",i).attr("height",r);return n.intersect=function(t){return pp().intersect.rect(n,t)},a}function pC(t,e,n){var r=e.width,i=e.height,a=[{x:0,y:0},{x:r,y:0},{x:r,y:-i},{x:0,y:-i},{x:0,y:0},{x:-8,y:0},{x:r+8,y:0},{x:r+8,y:-i},{x:-8,y:-i},{x:-8,y:0}],o=pA(t,r,i,a);return n.intersect=function(t){return pp().intersect.polygon(n,a,t)},o}function pS(t,e,n){var r=e.width,i=r/2,a=i/(2.5+r/50),o=e.height+a,s="M 0,"+a+" a "+i+","+a+" 0,0,0 "+r+" 0 a "+i+","+a+" 0,0,0 "+-r+" 0 l 0,"+o+" a "+i+","+a+" 0,0,0 "+r+" 0 l 0,"+-o,c=t.attr("label-offset-y",a).insert("path",":first-child").attr("d",s).attr("transform","translate("+-r/2+","+-(o/2+a)+")");return n.intersect=function(t){var e=pp().intersect.rect(n,t),r=e.x-n.x;if(0!=i&&(Math.abs(r)<n.width/2||Math.abs(r)==n.width/2&&Math.abs(e.y-n.y)>n.height/2-a)){var o=a*a*(1-r*r/(i*i));0!=o&&(o=Math.sqrt(o)),o=a-o,t.y-n.y>0&&(o=-o),e.y+=o}return e},c}function pA(t,e,n,r){return t.insert("polygon",":first-child").attr("points",r.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+-e/2+","+n/2+")")}let pM=function(t){t.shapes().question=pm,t.shapes().hexagon=pv,t.shapes().stadium=pE,t.shapes().subroutine=pC,t.shapes().cylinder=pS,t.shapes().rect_left_inv_arrow=pb,t.shapes().lean_right=px,t.shapes().lean_left=p_,t.shapes().trapezoid=pk,t.shapes().inv_trapezoid=pw,t.shapes().rect_right_inv_arrow=pT};var pN={};let pD=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)pN[e[n]]=t[e[n]]},pB=function(t,e){o.info("Drawing flowchart"),pu.clear(),pu.setGen("gen-1");var n,r,i=pf().parser;i.yy=pu;var a,s=fu().securityLevel;"sandbox"===s&&(a=aq("#i"+e));var c=aq("sandbox"===s?a.nodes()[0].contentDocument.body:"body"),l="sandbox"===s?a.nodes()[0].contentDocument:document;i.parse(t);var u=pu.getDirection();void 0===u&&(u="TD");for(var h,f=fu().flowchart,d=f.nodeSpacing||50,p=f.rankSpacing||50,g=new(fL()).Graph({multigraph:!0,compound:!0}).setGraph({rankdir:u,nodesep:d,ranksep:p,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),y=pu.getSubGraphs(),m=y.length-1;m>=0;m--)h=y[m],pu.addVertex(h.id,h.title,"group",void 0,h.classes);var v=pu.getVertices();o.warn("Get vertices",v);var b=pu.getEdges(),x=0;for(x=y.length-1;x>=0;x--){h=y[x],aH("cluster").append("text");for(var _=0;_<h.nodes.length;_++)o.warn("Setting subgraph",h.nodes[_],pu.lookUpDomId(h.nodes[_]),pu.lookUpDomId(h.id)),g.setParent(pu.lookUpDomId(h.nodes[_]),pu.lookUpDomId(h.id))}fu().securityLevel,n=c?c.select('[id="'.concat(e,'"]')):aq('[id="'.concat(e,'"]')),r=l||document,Object.keys(v).forEach(function(t){var e=v[t],i="default";e.classes.length>0&&(i=e.classes.join(" "));var a,s=hQ(e.styles),c=void 0!==e.text?e.text:e.id;
1if(hp(fu().flowchart.htmlLabels)){var l={label:c.replace(/fa[lrsb]?:fa-[\w-]+/g,function(t){return"<i class='".concat(t.replace(":"," "),"'></i>")})};(a=py()(n,l).node()).parentNode.removeChild(a)}else{var u=r.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("style",s.labelStyle.replace("color:","fill:"));for(var h=c.split(hh),f=0;f<h.length;f++){var d=r.createElementNS("http://www.w3.org/2000/svg","tspan");d.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),d.setAttribute("dy","1em"),d.setAttribute("x","1"),d.textContent=h[f],u.appendChild(d)}a=u}var p=0,y="";switch(e.type){case"round":p=5,y="rect";break;case"square":case"group":default:y="rect";break;case"diamond":y="question";break;case"hexagon":y="hexagon";break;case"odd":case"odd_right":y="rect_left_inv_arrow";break;case"lean_right":y="lean_right";break;case"lean_left":y="lean_left";break;case"trapezoid":y="trapezoid";break;case"inv_trapezoid":y="inv_trapezoid";break;case"circle":y="circle";break;case"ellipse":y="ellipse";break;case"stadium":y="stadium";break;case"subroutine":y="subroutine";break;case"cylinder":y="cylinder"}o.warn("Adding node",e.id,e.domId),g.setNode(pu.lookUpDomId(e.id),{labelType:"svg",labelStyle:s.labelStyle,shape:y,label:a,rx:p,ry:p,class:i,style:s.style,id:pu.lookUpDomId(e.id)})}),function(t,e){var n,r,i=0;if(void 0!==t.defaultStyle){var a=hQ(t.defaultStyle);n=a.style,r=a.labelStyle}t.forEach(function(a){i++;var o="L-"+a.start+"-"+a.end,s="LS-"+a.start,c="LE-"+a.end,l={};"arrow_open"===a.type?l.arrowhead="none":l.arrowhead="normal";var u="",h="";if(void 0!==a.style){var f=hQ(a.style);u=f.style,h=f.labelStyle}else switch(a.stroke){case"normal":u="fill:none",void 0!==n&&(u=n),void 0!==r&&(h=r);break;case"dotted":u="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":u=" stroke-width: 3.5px;fill:none"}l.style=u,l.labelStyle=h,void 0!==a.interpolate?l.curve=hX(a.interpolate,oc):void 0!==t.defaultInterpolate?l.curve=hX(t.defaultInterpolate,oc):l.curve=hX(pN.curve,oc),void 0===a.text?void 0!==a.style&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",hp(fu().flowchart.htmlLabels)?(l.labelType="html",l.label='<span id="L-'.concat(o,'" class="edgeLabel L-').concat(s,"' L-").concat(c,'">').concat(a.text.replace(/fa[lrsb]?:fa-[\w-]+/g,function(t){return"<i class='".concat(t.replace(":"," "),"'></i>")}),"</span>")):(l.labelType="text",l.label=a.text.replace(hh,"\n"),void 0===a.style&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),l.id=o,l.class=s+" "+c,l.minlen=a.length||1,e.setEdge(pu.lookUpDomId(a.start),pu.lookUpDomId(a.end),l,i)})}(b,g);var k=new(0,pp().render);pM(k),k.arrows().none=function(t,e,n,r){var i=t.append("marker").attr("id",e).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");pp().util.applyStyle(i,n[r+"Style"])},k.arrows().normal=function(t,e){t.append("marker").attr("id",e).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 w=c.select('[id="'.concat(e,'"]'));w.attr("xmlns:xlink","http://www.w3.org/1999/xlink"),o.warn(g);var T=c.select("#"+e+" g");k(T,g),T.selectAll("g.node").attr("title",function(){return pu.getTooltip(this.id)});var E=f.diagramPadding,C=w.node().getBBox(),S=C.width+2*E,A=C.height+2*E;h7(w,A,S,f.useMaxWidth);var M="".concat(C.x-E," ").concat(C.y-E," ").concat(S," ").concat(A);for(o.debug("viewBox ".concat(M)),w.attr("viewBox",M),pu.indexNodes("subGraph"+x),x=0;x<y.length;x++)if("undefined"!==(h=y[x]).title){var N=l.querySelectorAll("#"+e+' [id="'+pu.lookUpDomId(h.id)+'"] rect'),D=l.querySelectorAll("#"+e+' [id="'+pu.lookUpDomId(h.id)+'"]'),B=N[0].x.baseVal.value,O=N[0].y.baseVal.value,L=N[0].width.baseVal.value,I=aq(D[0]).select(".label");I.attr("transform","translate(".concat(B+L/2,", ").concat(O+14,")")),I.attr("id",e+"Text");for(var F=0;F<h.classes.length;F++)D[0].classList.add(h.classes[F])}hp(f.htmlLabels);for(var P=l.querySelectorAll('[id="'+e+'"] .edgeLabel .label'),R=0;R<P.length;R++){var j=P[R],Y=j.getBBox(),U=l.createElementNS("http://www.w3.org/2000/svg","rect");U.setAttribute("rx",0),U.setAttribute("ry",0),U.setAttribute("width",Y.width),U.setAttribute("height",Y.height),j.insertBefore(U,j.firstChild)}Object.keys(v).forEach(function(t){var n=v[t];if(n.link){var r=c.select("#"+e+' [id="'+pu.lookUpDomId(t)+'"]');if(r){var i=l.createElementNS("http://www.w3.org/2000/svg","a");i.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),i.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),i.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===s?i.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&i.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);var a=r.insert(function(){return i},":first-child"),o=r.select(".label-container");o&&a.append(function(){return o.node()});var u=r.select(".label");u&&a.append(function(){return u.node()})}}})};var pO={};let pL=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)pO[e[n]]=t[e[n]]},pI=function(t,e){o.info("Drawing flowchart"),pu.clear(),pu.setGen("gen-2");var n,r=pf().parser;r.yy=pu,r.parse(t);var i=pu.getDirection();void 0===i&&(i="TD");var a,s=fu().flowchart,c=s.nodeSpacing||50,l=s.rankSpacing||50,u=fu().securityLevel;"sandbox"===u&&(a=aq("#i"+e));var h,f=aq("sandbox"===u?a.nodes()[0].contentDocument.body:"body"),d="sandbox"===u?a.nodes()[0].contentDocument:document,p=new(fL()).Graph({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:c,ranksep:l,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),g=pu.getSubGraphs();o.info("Subgraphs - ",g);for(var y=g.length-1;y>=0;y--)h=g[y],o.info("Subgraph - ",h),pu.addVertex(h.id,h.title,"group",void 0,h.classes,h.dir);var m=pu.getVertices(),v=pu.getEdges();o.info(v);var b=0;for(b=g.length-1;b>=0;b--){h=g[b],aH("cluster").append("text");for(var x=0;x<h.nodes.length;x++)o.info("Setting up subgraphs",h.nodes[x],h.id),p.setParent(h.nodes[x],h.id)}n=f.select('[id="'.concat(e,'"]')),Object.keys(m).forEach(function(t){var e=m[t],r="default";e.classes.length>0&&(r=e.classes.join(" "));var i,a=hQ(e.styles),s=void 0!==e.text?e.text:e.id;
1if(hp(fu().flowchart.htmlLabels)){var c={label:s.replace(/fa[lrsb]?:fa-[\w-]+/g,function(t){return"<i class='".concat(t.replace(":"," "),"'></i>")})};(i=py()(n,c).node()).parentNode.removeChild(i)}else{var l=d.createElementNS("http://www.w3.org/2000/svg","text");l.setAttribute("style",a.labelStyle.replace("color:","fill:"));for(var u=s.split(hh),h=0;h<u.length;h++){var f=d.createElementNS("http://www.w3.org/2000/svg","tspan");f.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),f.setAttribute("dy","1em"),f.setAttribute("x","1"),f.textContent=u[h],l.appendChild(f)}i=l}var g=0,y="";switch(e.type){case"round":g=5,y="rect";break;case"square":case"group":default:y="rect";break;case"diamond":y="question";break;case"hexagon":y="hexagon";break;case"odd":case"odd_right":y="rect_left_inv_arrow";break;case"lean_right":y="lean_right";break;case"lean_left":y="lean_left";break;case"trapezoid":y="trapezoid";break;case"inv_trapezoid":y="inv_trapezoid";break;case"circle":y="circle";break;case"ellipse":y="ellipse";break;case"stadium":y="stadium";break;case"subroutine":y="subroutine";break;case"cylinder":y="cylinder"}p.setNode(e.id,{labelStyle:a.labelStyle,shape:y,labelText:s,rx:g,ry:g,class:r,style:a.style,id:e.id,link:e.link,linkTarget:e.linkTarget,tooltip:pu.getTooltip(e.id)||"",domId:pu.lookUpDomId(e.id),haveCallback:e.haveCallback,width:"group"===e.type?500:void 0,dir:e.dir,type:e.type,props:e.props,padding:fu().flowchart.padding}),o.info("setNode",{labelStyle:a.labelStyle,shape:y,labelText:s,rx:g,ry:g,class:r,style:a.style,id:e.id,domId:pu.lookUpDomId(e.id),width:"group"===e.type?500:void 0,type:e.type,dir:e.dir,props:e.props,padding:fu().flowchart.padding})}),function(t,e){o.info("abc78 edges = ",t);var n,r,i=0,a={};if(void 0!==t.defaultStyle){var s=hQ(t.defaultStyle);n=s.style,r=s.labelStyle}t.forEach(function(s){i++;var c="L-"+s.start+"-"+s.end;void 0===a[c]?a[c]=0:a[c]++,o.info("abc78 new entry",c,a[c]);var l=c+"-"+a[c];o.info("abc78 new link id to be used is",c,l,a[c]);var u="LS-"+s.start,h="LE-"+s.end,f={style:"",labelStyle:""};switch(f.minlen=s.length||1,"arrow_open"===s.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",s.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}var d="",p="";switch(s.stroke){case"normal":d="fill:none;",void 0!==n&&(d=n),void 0!==r&&(p=r),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;"}if(void 0!==s.style){var g=hQ(s.style);d=g.style,p=g.labelStyle}f.style=f.style+=d,f.labelStyle=f.labelStyle+=p,void 0!==s.interpolate?f.curve=hX(s.interpolate,oc):void 0!==t.defaultInterpolate?f.curve=hX(t.defaultInterpolate,oc):f.curve=hX(pO.curve,oc),void 0===s.text?void 0!==s.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType="text",f.label=s.text.replace(hh,"\n"),void 0===s.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=l,f.classes="flowchart-link "+u+" "+h,e.setEdge(s.start,s.end,f,i)})}(v,p);var _=f.select('[id="'.concat(e,'"]'));_.attr("xmlns:xlink","http://www.w3.org/1999/xlink"),dC(f.select("#"+e+" g"),p,["point","circle","cross"],"flowchart",e);var k=s.diagramPadding,w=_.node().getBBox(),T=w.width+2*k,E=w.height+2*k;if(o.debug("new ViewBox 0 0 ".concat(T," ").concat(E),"translate(".concat(k-p._label.marginx,", ").concat(k-p._label.marginy,")")),h7(_,E,T,s.useMaxWidth),_.attr("viewBox","0 0 ".concat(T," ").concat(E)),_.select("g").attr("transform","translate(".concat(k-p._label.marginx,", ").concat(k-w.y,")")),pu.indexNodes("subGraph"+b),!s.htmlLabels)for(var C=d.querySelectorAll('[id="'+e+'"] .edgeLabel .label'),S=0;S<C.length;S++){var A=C[S],M=A.getBBox(),N=d.createElementNS("http://www.w3.org/2000/svg","rect");N.setAttribute("rx",0),N.setAttribute("ry",0),N.setAttribute("width",M.width),N.setAttribute("height",M.height),A.insertBefore(N,A.firstChild)}Object.keys(m).forEach(function(t){var n=m[t];if(n.link){var r=aq("#"+e+' [id="'+t+'"]');
1if(r){var i=d.createElementNS("http://www.w3.org/2000/svg","a");i.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),i.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),i.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===u?i.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&i.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);var a=r.insert(function(){return i},":first-child"),o=r.select(".label-container");o&&a.append(function(){return o.node()});var s=r.select(".label");s&&a.append(function(){return s.node()})}}})};function pF(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var pP,pR,pj="",pY="",pU="",pz=[],p$=[],pq={},pH="",pW=[],pV=[],pG="",pX=["active","done","crit","milestone"],pZ=[],pQ=!1,pK=!1,pJ=0,p0=function(t,e,n,r){return!(r.indexOf(t.format(e.trim()))>=0)&&(t.isoWeekday()>=6&&n.indexOf("weekends")>=0||n.indexOf(t.format("dddd").toLowerCase())>=0||n.indexOf(t.format(e.trim()))>=0)},p1=function(t,e,n,r){if(n.length&&!t.manualEndTime){var a=i()(t.startTime,e,!0);a.add(1,"d");var o=i()(t.endTime,e,!0),s=p2(a,o,e,n,r);t.endTime=o.toDate(),t.renderEndTime=s}},p2=function(t,e,n,r,i){for(var a=!1,o=null;t<=e;)a||(o=e.toDate()),(a=p0(t,n,r,i))&&e.add(1,"d"),t.add(1,"d");return o},p3=function(t,e,n){n=n.trim();var r=/^after\s+([\d\w- ]+)/.exec(n.trim());if(null!==r){var a=null;if(r[1].split(" ").forEach(function(t){var e=gt(t);void 0!==e&&(a?e.endTime>a.endTime&&(a=e):a=e)}),a)return a.endTime;var s=new Date;return s.setHours(0,0,0,0),s}var c=i()(n,e.trim(),!0);return c.isValid()?c.toDate():(o.debug("Invalid date:"+n),o.debug("With date format:"+e.trim()),new Date)},p5=function(t,e){if(null!==t)switch(t[2]){case"s":e.add(t[1],"seconds");break;case"m":e.add(t[1],"minutes");break;case"h":e.add(t[1],"hours");break;case"d":e.add(t[1],"days");break;case"w":e.add(t[1],"weeks")}return e.toDate()},p4=function(t,e,n,r){r=r||!1,n=n.trim();var a=i()(n,e.trim(),!0);return a.isValid()?(r&&a.add(1,"d"),a.toDate()):p5(/^([\d]+)([wdhms])/.exec(n.trim()),i()(t))},p6=0,p8=function(t){return void 0===t?"task"+(p6+=1):t},p7=[],p9={},gt=function(t){return p7[p9[t]]},ge=function(){for(var t=!0,e=0;e<p7.length;e++)(function(t){var e=p7[t],n="";switch(p7[t].raw.startTime.type){case"prevTaskEnd":var r=gt(e.prevTaskId);e.startTime=r.endTime;break;case"getStartDate":(n=p3(0,pj,p7[t].raw.startTime.startData))&&(p7[t].startTime=n)}p7[t].startTime&&(p7[t].endTime=p4(p7[t].startTime,pj,p7[t].raw.endTime.data,pQ),p7[t].endTime&&(p7[t].processed=!0,p7[t].manualEndTime=i()(p7[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),p1(p7[t],pj,p$,pz))),p7[t].processed})(e),t=t&&p7[e].processed;return t},gn=function(t,e){t.split(",").forEach(function(t){var n=gt(t);void 0!==n&&n.classes.push(e)})},gr=function(t,e){pZ.push(function(){var n=document.querySelector('[id="'.concat(t,'"]'));null!==n&&n.addEventListener("click",function(){e()})}),pZ.push(function(){var n=document.querySelector('[id="'.concat(t,'-text"]'));null!==n&&n.addEventListener("click",function(){e()})})};let gi={parseDirective:function(t,e,n){vs.parseDirective(this,t,e,n)},getConfig:function(){return fu().gantt},clear:function(){pW=[],pV=[],pG="",pZ=[],pH="",p6=0,pP=void 0,pR=void 0,p7=[],pj="",pY="",pU="",pz=[],p$=[],pQ=!1,pK=!1,pJ=0,pq={}},setDateFormat:function(t){pj=t},getDateFormat:function(){return pj},enableInclusiveEndDates:function(){pQ=!0},endDatesAreInclusive:function(){return pQ},enableTopAxis:function(){pK=!0},topAxisEnabled:function(){return pK},setAxisFormat:function(t){pY=t},getAxisFormat:function(){return pY},setTodayMarker:function(t){pU=t},getTodayMarker:function(){return pU},setTitle:function(t){pH=t},getTitle:function(){return pH},addSection:function(t){pG=t,pW.push(t)},getSections:function(){return pW},getTasks:function(){for(var t=ge(),e=0;!t&&e<10;)t=ge(),e++;return pV=p7},addTask:function(t,e){var n={section:pG,type:pG,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},r=function(t,e){var n=(":"===e.substr(0,1)?e.substr(1,e.length):e).split(","),r={};ga(n,r,pX);for(var i=0;i<n.length;i++)n[i]=n[i].trim();switch(n.length){case 1:r.id=p8(),r.startTime={type:"prevTaskEnd",id:t},r.endTime={data:n[0]};break;case 2:r.id=p8(),r.startTime={type:"getStartDate",startData:n[0]},r.endTime={data:n[1]};break;case 3:r.id=p8(n[0]),r.startTime={type:"getStartDate",startData:n[1]},r.endTime={data:n[2]}}return r}(pR,e);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=pR,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.order=pJ,pJ++;var i=p7.push(n);pR=n.id,p9[n.id]=i-1},findTaskById:gt,addTaskOrg:function(t,e){var n={section:pG,type:pG,description:t,task:t,classes:[]}
1,r=function(t,e){var n=(":"===e.substr(0,1)?e.substr(1,e.length):e).split(","),r={};ga(n,r,pX);for(var a=0;a<n.length;a++)n[a]=n[a].trim();var o="";switch(n.length){case 1:r.id=p8(),r.startTime=t.endTime,o=n[0];break;case 2:r.id=p8(),r.startTime=p3(0,pj,n[0]),o=n[1];break;case 3:r.id=p8(n[0]),r.startTime=p3(0,pj,n[1]),o=n[2]}return o&&(r.endTime=p4(r.startTime,pj,o,pQ),r.manualEndTime=i()(o,"YYYY-MM-DD",!0).isValid(),p1(r,pj,p$,pz)),r}(pP,e);n.startTime=r.startTime,n.endTime=r.endTime,n.id=r.id,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,pP=n,pV.push(n)},setIncludes:function(t){pz=t.toLowerCase().split(/[\s,]+/)},getIncludes:function(){return pz},setExcludes:function(t){p$=t.toLowerCase().split(/[\s,]+/)},getExcludes:function(){return p$},setClickEvent:function(t,e,n){t.split(",").forEach(function(t){if("loose"===fu().securityLevel&&void 0!==e){var r=[];if("string"==typeof n){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(var i=0;i<r.length;i++){var a=r[i].trim();'"'===a.charAt(0)&&'"'===a.charAt(a.length-1)&&(a=a.substr(1,a.length-2)),r[i]=a}}0===r.length&&r.push(t),void 0!==gt(t)&&gr(t,function(){var t;fe.runFunc.apply(fe,[e].concat(function(t){if(Array.isArray(t))return pF(t)}(t=r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return pF(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pF(t,void 0):void 0}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))})}}),gn(t,"clickable")},setLink:function(t,e){var n=e;"loose"!==fu().securityLevel&&(n=(0,ha.sanitizeUrl)(e)),t.split(",").forEach(function(t){void 0!==gt(t)&&(gr(t,function(){window.open(n,"_self")}),pq[t]=n)}),gn(t,"clickable")},getLinks:function(){return pq},bindFunctions:function(t){pZ.forEach(function(e){e(t)})},durationToDate:p5,isInvalidDate:p0};function ga(t,e,n){for(var r=!0;r;)r=!1,n.forEach(function(n){var i=RegExp("^\\s*"+n+"\\s*$");t[0].match(i)&&(e[n]=!0,t.shift(1),r=!0)})}var go,gs=n(9959),gc=n.n(gs);gs.parser.yy=gi;let gl=function(t,e){var n,r,a,o,s,c=fu().gantt;gs.parser.yy.clear(),gs.parser.parse(t);var l,u=fu().securityLevel;"sandbox"===u&&(l=aq("#i"+e));var h=aq("sandbox"===u?l.nodes()[0].contentDocument.body:"body"),f="sandbox"===u?l.nodes()[0].contentDocument:document,p=f.getElementById(e);void 0===(go=p.parentElement.offsetWidth)&&(go=1200),void 0!==c.useWidth&&(go=c.useWidth);var g=gs.parser.yy.getTasks(),y=g.length*(c.barHeight+c.barGap)+2*c.topPadding;p.setAttribute("viewBox","0 0 "+go+" "+y);for(var m=h.select('[id="'.concat(e,'"]')),v=(function(){return n4.apply((function t(e,n,r,i,a,o,s,c,l,u){var h=n5(),f=h.invert,d=h.domain,p=u(".%L"),g=u(":%S"),y=u("%I:%M"),m=u("%I %p"),v=u("%a %d"),b=u("%b %d"),x=u("%B"),_=u("%Y");function k(t){return(l(t)<t?p:c(t)<t?g:s(t)<t?y:o(t)<t?m:i(t)<t?a(t)<t?v:b:r(t)<t?x:_)(t)}return h.invert=function(t){return new Date(f(t))},h.domain=function(t){return arguments.length?d(Array.from(t,ae)):d().map(at)},h.ticks=function(t){var n=d();return e(n[0],n[n.length-1],null==t?10:t)},h.tickFormat=function(t,e){return null==e?k:u(e)},h.nice=function(t){var e,r,i,a,o,s,c,l=d();return t&&"function"==typeof t.range||(t=n(l[0],l[l.length-1],null==t?10:t)),t?d((e=l,r=t,a=0,o=(e=e.slice()).length-1,s=e[a],(c=e[o])<s&&(i=a,a=o,o=i,i=s,s=c,c=i),e[a]=r.floor(s),e[o]=r.ceil(c),e)):h},h.copy=function(){return n3(h,t(e,n,r,i,a,o,s,c,l,u))},h})(rG,rX,rD,rN,rw,r_,rx,rb,rv,r0).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)})().domain([function(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}(g,function(t){return t.startTime}),function(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n<e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}(g,function(t){return t.endTime})]).rangeRound([0,go-c.leftPadding-c.rightPadding]),b=[],x=0;x<g.length;x++)b.push(g[x].type);var _=b;b=function(t){for(var e={},n=[],r=0,i=t.length;r<i;++r)Object.prototype.hasOwnProperty.call(e,t[r])||(e[t[r]]=!0,n.push(t[r]));return n}(b),g.sort(function(t,e){var n=t.startTime,r=e.startTime,i=0;return n>r?i=1:n<r&&(i=-1),i}),n=go,a=(r=c.barHeight)+c.barGap,o=c.topPadding,s=c.leftPadding,(function t(){var e,n=n5();return n.copy=function(){return n3(n,t())},n4.apply(n,arguments),e=n.domain,n.ticks=function(t){var n=e();return function(t,e,n){var r,i,a,o,s=-1;if(n*=1,(t*=1)==(e*=1)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(o=ns(t,e,n))||!isFinite(o))return[];if(o>0){let n=Math.round(t/o),r=Math.round(e/o);for(n*o<t&&++n,r*o>e&&--r,a=Array(i=r-n+1);++s<i;)a[s]=(n+s)*o}else{let n=Math.round(t*(o=-o)),r=Math.round(e*o);for(n/o<t&&++n,r/o>e&&--r,a=Array(i=r-n+1);++s<i;)a[s]=(n+s)/o}return r&&a.reverse(),a}(n[0],n[n.length-1],null==t?10:t)}
1,n.tickFormat=function(t,n){var r=e();return function(t,e,n,r){var i,a,o=nc(t,e,n);switch((r=n7(null==r?",f":r)).type){case"s":var s=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(a=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(re(s)/3)))-re(Math.abs(o))))||(r.precision=a),rs(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(a=Math.max(0,re(Math.abs(Math.max(Math.abs(t),Math.abs(e)))-(i=Math.abs(i=o)))-re(i))+1)||(r.precision=a-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(a=Math.max(0,-re(Math.abs(o))))||(r.precision=a-2*("%"===r.type))}return ro(r)}(r[0],r[r.length-1],null==t?10:t,n)},n.nice=function(t){null==t&&(t=10);var r,i,a=e(),o=0,s=a.length-1,c=a[o],l=a[s],u=10;for(l<c&&(i=c,c=l,l=i,i=o,o=s,s=i);u-- >0;){if((i=ns(c,l,t))===r)return a[o]=c,a[s]=l,e(a);if(i>0)c=Math.floor(c/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,l=Math.floor(l*i)/i}r=i}return n},n})().domain([0,b.length]).range(["#00B9FA","#F95002"]).interpolate(nr),function(t,e,n,r,a,o,s,l){var u=o.reduce(function(t,e){var n=e.startTime;return t?Math.min(t,n):n},0),h=o.reduce(function(t,e){var n=e.endTime;return t?Math.max(t,n):n},0),f=gs.parser.yy.getDateFormat();if(u&&h){for(var d=[],p=null,g=i()(u);g.valueOf()<=h;)gs.parser.yy.isInvalidDate(g,f,s,l)?p?p.end=g.clone():p={start:g.clone(),end:g.clone()}:p&&(d.push(p),p=null),g.add(1,"d");m.append("g").selectAll("rect").data(d).enter().append("rect").attr("id",function(t){return"exclude-"+t.start.format("YYYY-MM-DD")}).attr("x",function(t){return v(t.start)+n}).attr("y",c.gridLineStartPadding).attr("width",function(t){return v(t.end.clone().add(1,"day"))-v(t.start)}).attr("height",a-e-c.gridLineStartPadding).attr("transform-origin",function(e,r){return(v(e.start)+n+.5*(v(e.end)-v(e.start))).toString()+"px "+(r*t+.5*a).toString()+"px"}).attr("class","exclude-range")}}(a,o,s,0,y,g,gs.parser.yy.getExcludes(),gs.parser.yy.getIncludes()),function(t,e,n,r){var i=d(3,v).tickSize(-r+e+c.gridLineStartPadding).tickFormat(o3(gs.parser.yy.getAxisFormat()||c.axisFormat||"%Y-%m-%d"));if(m.append("g").attr("class","grid").attr("transform","translate("+t+", "+(r-50)+")").call(i).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),gi.topAxisEnabled()||c.topAxis){var a=d(1,v).tickSize(-r+e+c.gridLineStartPadding).tickFormat(o3(gs.parser.yy.getAxisFormat()||c.axisFormat||"%Y-%m-%d"));m.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(a).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(s,o,0,y),function(t,n,r,i,a,o,s){m.append("g").selectAll("rect").data(t).enter().append("rect").attr("x",0).attr("y",function(t,e){return t.order*n+r-2}).attr("width",function(){return s-c.rightPadding/2}).attr("height",n).attr("class",function(t){for(var e=0;e<b.length;e++)if(t.type===b[e])return"section section"+e%c.numberSectionStyles;return"section section0"});var l=m.append("g").selectAll("rect").data(t).enter(),u=gi.getLinks();if(l.append("rect").attr("id",function(t){return t.id}).attr("rx",3).attr("ry",3).attr("x",function(t){return t.milestone?v(t.startTime)+i+.5*(v(t.endTime)-v(t.startTime))-.5*a:v(t.startTime)+i}).attr("y",function(t,e){return t.order*n+r}).attr("width",function(t){return t.milestone?a:v(t.renderEndTime||t.endTime)-v(t.startTime)}).attr("height",a).attr("transform-origin",function(t,e){return e=t.order,(v(t.startTime)+i+.5*(v(t.endTime)-v(t.startTime))).toString()+"px "+(e*n+r+.5*a).toString()+"px"}).attr("class",function(t){var e="";t.classes.length>0&&(e=t.classes.join(" "));for(var n=0,r=0;r<b.length;r++)t.type===b[r]&&(n=r%c.numberSectionStyles);var i="";return t.active?t.crit?i+=" activeCrit":i=" active":t.done?i=t.crit?" doneCrit":" done":t.crit&&(i+=" crit"),0===i.length&&(i=" task"),t.milestone&&(i=" milestone "+i),"task"+(i+=n)+" "+e}),l.append("text").attr("id",function(t){return t.id+"-text"}).text(function(t){return t.task}).attr("font-size",c.fontSize).attr("x",function(t){var e=v(t.startTime),n=v(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(v(t.endTime)-v(t.startTime))-.5*a),t.milestone&&(n=e+a);var r=this.getBBox().width;return r>n-e?n+r+1.5*c.leftPadding>s?e+i-5:n+i+5:(n-e)/2+e+i}).attr("y",function(t,e){return t.order*n+c.barHeight/2+(c.fontSize/2-2)+r}).attr("text-height",a).attr("class",function(t){var e=v(t.startTime),n=v(t.endTime);t.milestone&&(n=e+a);var r=this.getBBox().width,i="";t.classes.length>0&&(i=t.classes.join(" "));for(var o=0,l=0;l<b.length;l++)t.type===b[l]&&(o=l%c.numberSectionStyles);var u="";return t.active&&(u=t.crit?"activeCritText"+o:"activeText"+o),t.done?u=t.crit?u+" doneCritText"+o:u+" doneText"+o:t.crit&&(u=u+" critText"+o),t.milestone&&(u+=" milestoneText"),r>n-e?n+r+1.5*c.leftPadding>s?i+" taskTextOutsideLeft taskTextOutside"+o+" "+u:i+" taskTextOutsideRight taskTextOutside"+o+" "+u+" width-"+r:i+" taskText taskText"+o+" "+u+" width-"+r}),"sandbox"===fu().securityLevel){h=aq("#i"+e),aq(h.nodes()[0].contentDocument.body);var h,f=h.nodes()[0].contentDocument;l.filter(function(t){return void 0!==u[t.id]}).each(function(t){var e=f.querySelector("#"+t.id),n=f.querySelector("#"+t.id+"-text"),r=e.parentNode,i=f.createElement("a");i.setAttribute("xlink:href",u[t.id]),i.setAttribute("target","_top"),r.appendChild(i),i.appendChild(e),i.appendChild(n)})}}(g,a,o,s,r,0,n),function(t,e){for(var n,r=[],i=0,a=0;a<b.length;a++)r[a]=[b[a],(n=b[a],function(t){for(var e=t.length,n={};e;)n[t[--e]]=(n[t[e]]||0)+1;return n}(_)[n]||0)];m.append("g").selectAll("text").data(r).enter().append(function(t){var e=t[0].split(hh),n=-(e.length-1)/2,r=f.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("dy",n+"em");for(var i=0;i<e.length;i++){var a=f.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttribute("alignment-baseline","central"),a.setAttribute("x","10"),i>0&&a.setAttribute("dy","1em"),a.textContent=e[i],r.appendChild(a)}return r}).attr("x",10).attr("y",function(n,a){if(!(a>0))return n[1]*t/2+e;for(var o=0;o<a;o++)return i+=r[a-1][1],n[1]*t/2+i*t+e}).attr("font-size",c.sectionFontSize).attr("font-size",c.sectionFontSize).attr("class",function(t){for(var e=0;e<b.length;e++)if(t[0]===b[e])return"sectionTitle sectionTitle"+e%c.numberSectionStyles;return"sectionTitle"})}(a,o),function(t,e,n,r){var i=gi.getTodayMarker();if("off"!==i){var a=m.append("g").attr("class","today"),o=new Date,s=a.append("line");s.attr("x1",v(o)+t).attr("x2",v(o)+t).attr("y1",c.titleTopMargin).attr("y2",r-c.titleTopMargin).attr("class","today"),""!==i&&s.attr("style",i.replace(/,/g,";"))}}
1(s,0,0,y),h7(m,y,go,c.useMaxWidth),m.append("text").text(gs.parser.yy.getTitle()).attr("x",go/2).attr("y",c.titleTopMargin).attr("class","titleText")};var gu={},gh=null,gf={master:null},gd="master",gp="LR",gg=0;function gy(){return h0({length:7})}function gm(t,e){o.debug("Entering isfastforwardable:",t.id,e.id);for(var n=0;t.seq<=e.seq&&t!==e&&n<1e3&&(n++,null!=e.parent);){if(Array.isArray(e.parent))return o.debug("In merge commit:",e.parent),gm(t,gu[e.parent[0]])||gm(t,gu[e.parent[1]]);e=gu[e.parent]}return o.debug(t.id,e.id),t.id===e.id}var gv={};function gb(t,e,n){var r=t.indexOf(e);-1===r?t.push(n):t.splice(r,1,n)}var gx=function(){var t=Object.keys(gu).map(function(t){return gu[t]});return t.forEach(function(t){o.debug(t.id)}),t.sort(function(t,e){return e.seq-t.seq}),t};let g_={setDirection:function(t){gp=t},setOptions:function(t){o.debug("options str",t),t=(t=t&&t.trim())||"{}";try{gv=JSON.parse(t)}catch(t){o.error("error while parsing gitGraph options",t.message)}},getOptions:function(){return gv},commit:function(t){var e={id:gy(),message:t,seq:gg++,parent:null==gh?null:gh.id};gh=e,gu[e.id]=e,gf[gd]=e.id,o.debug("in pushCommit "+e.id)},branch:function(t){gf[t]=null!=gh?gh.id:null,o.debug("in createBranch")},merge:function(t){var e=gu[gf[gd]],n=gu[gf[t]];if(e.seq>n.seq&&gm(n,e))o.debug("Already merged");else{if(gm(e,n))gf[gd]=gf[t],gh=gu[gf[gd]];else{var r={id:gy(),message:"merged branch "+t+" into "+gd,seq:gg++,parent:[null==gh?null:gh.id,gf[t]]};gh=r,gu[r.id]=r,gf[gd]=r.id}o.debug(gf),o.debug("in mergeBranch")}},checkout:function(t){o.debug("in checkout"),gh=gu[gf[gd=t]]},reset:function(t){o.debug("in reset",t);var e=t.split(":")[0],n=parseInt(t.split(":")[1]),r="HEAD"===e?gh:gu[gf[e]];for(o.debug(r,n);n>0;)if(n--,!(r=gu[r.parent])){var i="Critical error - unique parent commit not found during reset";throw o.error(i),i}gh=r,gf[gd]=r.id},prettyPrint:function(){o.debug(gu),function t(e){var n=e.reduce(function(t,e){return t.seq>e.seq?t:e},e[0]),r="";e.forEach(function(t){r+=t===n?" *":" |"});var i,a,s=[r,n.id,n.seq];for(var c in gf)gf[c]===n.id&&s.push(c);if(o.debug(s.join(" ")),Array.isArray(n.parent)){var l=gu[n.parent[0]];gb(e,n,l),e.push(gu[n.parent[1]])}else{if(null==n.parent)return;var u=gu[n.parent];gb(e,n,u)}i=e,a=Object.create(null),t(e=i.reduce(function(t,e){var n=e.id;return a[n]||(a[n]=!0,t.push(e)),t},[]))}([gx()[0]])},clear:function(){gu={},gf={master:gh=null},gd="master",gg=0},getBranchesAsObjArray:function(){var t=[];for(var e in gf)t.push({name:e,commit:gu[gf[e]]});return t},getBranches:function(){return gf},getCommits:function(){return gu},getCommitsArray:gx,getCurrentBranch:function(){return gd},getDirection:function(){return gp},getHead:function(){return gh}};var gk,gw=n(2553),gT=n.n(gw),gE={},gC={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}},gS={};function gA(t,e,n,r){var i=hX(r,om),a=gC.branchColors[n%gC.branchColors.length],o=oh().x(function(t){return Math.round(t.x)}).y(function(t){return Math.round(t.y)}).curve(i);t.append("svg:path").attr("d",o(e)).style("stroke",a).style("stroke-width",gC.lineStrokeWidth).style("fill","none")}function gM(t,e){e=e||t.node().getBBox();var n=t.node().getCTM();return{left:n.e+e.x*n.a,top:n.f+e.y*n.d,width:e.width,height:e.height}}function gN(t,e,n,r,i){o.debug("svgDrawLineForCommits: ",e,n);var a=gM(t.select("#node-"+e+" circle")),s=gM(t.select("#node-"+n+" circle"));switch(r){case"LR":if(a.left-s.left>gC.nodeSpacing){var c={x:a.left-gC.nodeSpacing,y:s.top+s.height/2};gA(t,[c,{x:s.left+s.width,y:s.top+s.height/2}],i,"linear"),gA(t,[{x:a.left,y:a.top+a.height/2},{x:a.left-gC.nodeSpacing/2,y:a.top+a.height/2},{x:a.left-gC.nodeSpacing/2,y:c.y},c],i)}else gA(t,[{x:a.left,y:a.top+a.height/2},{x:a.left-gC.nodeSpacing/2,y:a.top+a.height/2},{x:a.left-gC.nodeSpacing/2,y:s.top+s.height/2},{x:s.left+s.width,y:s.top+s.height/2}],i);break;case"BT":if(s.top-a.top>gC.nodeSpacing){var l={x:s.left+s.width/2,y:a.top+a.height+gC.nodeSpacing};gA(t,[l,{x:s.left+s.width/2,y:s.top}],i,"linear"),gA(t,[{x:a.left+a.width/2,y:a.top+a.height},{x:a.left+a.width/2,y:a.top+a.height+gC.nodeSpacing/2},{x:s.left+s.width/2,y:l.y-gC.nodeSpacing/2},l],i)}else gA(t,[{x:a.left+a.width/2,y:a.top+a.height},{x:a.left+a.width/2,y:a.top+gC.nodeSpacing/2},{x:s.left+s.width/2,y:s.top-gC.nodeSpacing/2},{x:s.left+s.width/2,y:s.top}],i)}}let gD=function(t){gS=t};var gB="",gO=!1;let gL={setMessage:function(t){o.debug("Setting message to: "+t),gB=t},getMessage:function(){return gB},setInfo:function(t){gO=t},getInfo:function(){return gO}};var gI=n(6765),gF=n.n(gI),gP={};let gR=function(t){Object.keys(t).forEach(function(e){gP[e]=t[e]})};var gj=n(7062),gY=n.n(gj),gU={},gz="",g$=!1;let gq={parseDirective:function(t,e,n){vs.parseDirective(this,t,e,n)},getConfig:function(){return fu().pie},addSection:function(t,e){void 0===gU[t]&&(gU[t]=e,o.debug("Added new section :",t))},getSections:function(){return gU},cleanupValue:function(t){return":"===t.substring(0,1)?Number((t=t.substring(1).trim()).trim()):Number(t.trim())},clear:function(){gU={},gz="",g$=!1},setTitle:function(t){gz=t},getTitle:function(){return gz},setShowData:function(t){g$=t},getShowData:function(){return g$}};var gH,gW=fu();let gV=function(t,e){try{gW=fu();var n=gY().parser;n.yy=gq,o.debug("Rendering info diagram\n"+t);var r,i=fu().securityLevel;"sandbox"===i&&(r=aq("#i"+e));var a=aq("sandbox"===i?r.nodes()[0].contentDocument.body:"body"),s="sandbox"===i?r.nodes()[0].contentDocument:document;n.yy.clear(),n.parse(t),o.debug("Parsed info diagram");var c=s.getElementById(e);void 0===(gH=c.parentElement.offsetWidth)&&(gH=1200),void 0!==gW.useWidth&&(gH=gW.useWidth),void 0!==gW.pie.useW
1idth&&(gH=gW.pie.useWidth);var l=a.select("#"+e);h7(l,450,gH,gW.pie.useMaxWidth),c.setAttribute("viewBox","0 0 "+gH+" 450");var u=Math.min(gH,450)/2-40,h=l.append("g").attr("transform","translate("+gH/2+",225)"),f=gq.getSections(),d=0;Object.keys(f).forEach(function(t){d+=f[t]});var p=gW.themeVariables,g=[p.pie1,p.pie2,p.pie3,p.pie4,p.pie5,p.pie6,p.pie7,p.pie8,p.pie9,p.pie10,p.pie11,p.pie12],y=(function t(){var e=new ru,n=[],r=[],i=rd;function a(t){let a=e.get(t);if(void 0===a){if(i!==rd)return i;e.set(t,a=n.push(t)-1)}return r[a%r.length]}return a.domain=function(t){if(!arguments.length)return n.slice();for(let r of(n=[],e=new ru,t))e.has(r)||e.set(r,n.push(r)-1);return a},a.range=function(t){return arguments.length?(r=Array.from(t),a):r.slice()},a.unknown=function(t){return arguments.length?(i=t,a):i},a.copy=function(){return t(n,r).unknown(i)},n4.apply(a,arguments),a})().range(g),m=(function(){var t=od,e=of,n=null,r=aQ(0),i=aQ(a8),a=aQ(0);function o(o){var s,c,l,u,h,f=(o=oo(o)).length,d=0,p=Array(f),g=Array(f),y=+r.apply(this,arguments),m=Math.min(a8,Math.max(-a8,i.apply(this,arguments)-y)),v=Math.min(Math.abs(m)/f,a.apply(this,arguments)),b=v*(m<0?-1:1);for(s=0;s<f;++s)(h=g[p[s]=s]=+t(o[s],s,o))>0&&(d+=h);for(null!=e?p.sort(function(t,n){return e(g[t],g[n])}):null!=n&&p.sort(function(t,e){return n(o[t],o[e])}),s=0,l=d?(m-f*b)/d:0;s<f;++s,y=u)c=p[s],u=y+((h=g[c])>0?h*l:0)+b,g[c]={data:o[c],index:s,value:h,startAngle:y,endAngle:u,padAngle:v};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:aQ(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,n=null,o):e},o.sort=function(t){return arguments.length?(n=t,e=null,o):n},o.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:aQ(+t),o):r},o.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:aQ(+t),o):i},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:aQ(+t),o):a},o})().value(function(t){return t[1]})(Object.entries(f)),v=oa().innerRadius(0).outerRadius(u);h.selectAll("mySlices").data(m).enter().append("path").attr("d",v).attr("fill",function(t){return y(t.data[0])}).attr("class","pieCircle"),h.selectAll("mySlices").data(m).enter().append("text").text(function(t){return(t.data[1]/d*100).toFixed(0)+"%"}).attr("transform",function(t){return"translate("+v.centroid(t)+")"}).style("text-anchor","middle").attr("class","slice"),h.append("text").text(n.yy.getTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var b=h.selectAll(".legend").data(y.domain()).enter().append("g").attr("class","legend").attr("transform",function(t,e){return"translate(216,"+(22*e-22*y.domain().length/2)+")"});b.append("rect").attr("width",18).attr("height",18).style("fill",y).style("stroke",y),b.data(m).append("text").attr("x",22).attr("y",14).text(function(t){return n.yy.getShowData()||gW.showData||gW.pie.showData?t.data[0]+" ["+t.data[1]+"]":t.data[0]})}catch(t){o.error("Error while rendering info diagram"),o.error(t)}};var gG=n(3176),gX=n.n(gG),gZ=[],gQ={},gK={},gJ={},g0={};let g1={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(t,e,n){vs.parseDirective(this,t,e,n)},getConfig:function(){return fu().req},addRequirement:function(t,e){return void 0===gK[t]&&(gK[t]={name:t,type:e,id:gQ.id,text:gQ.text,risk:gQ.risk,verifyMethod:gQ.verifyMethod}),gQ={},gK[t]},getRequirements:function(){return gK},setNewReqId:function(t){void 0!==gQ&&(gQ.id=t)},setNewReqText:function(t){void 0!==gQ&&(gQ.text=t)},setNewReqRisk:function(t){void 0!==gQ&&(gQ.risk=t)},setNewReqVerifyMethod:function(t){void 0!==gQ&&(gQ.verifyMethod=t)},addElement:function(t){return void 0===g0[t]&&(g0[t]={name:t,type:gJ.type,docRef:gJ.docRef},o.info("Added new requirement: ",t)),gJ={},g0[t]},getElements:function(){return g0},setNewElementType:function(t){void 0!==gJ&&(gJ.type=t)},setNewElementDocRef:function(t){void 0!==gJ&&(gJ.docRef=t)},addRelationship:function(t,e,n){gZ.push({type:t,src:e,dst:n})},getRelationships:function(){return gZ},clear:function(){gZ=[],gQ={}
1,gK={},gJ={},g0={}}};var g2="contains",g3="arrow",g5={},g4=0,g6=function(t,e){return t.insert("rect","#"+e).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",g5.rect_min_width+"px").attr("height",g5.rect_min_height+"px")},g8=function(t,e,n){var r=g5.rect_min_width/2,i=t.append("text").attr("class","req reqLabel reqTitle").attr("id",e).attr("x",r).attr("y",g5.rect_padding).attr("dominant-baseline","hanging"),a=0;n.forEach(function(t){0==a?i.append("tspan").attr("text-anchor","middle").attr("x",g5.rect_min_width/2).attr("dy",0).text(t):i.append("tspan").attr("text-anchor","middle").attr("x",g5.rect_min_width/2).attr("dy",.75*g5.line_height).text(t),a++});var o=1.5*g5.rect_padding+a*g5.line_height*.75;return t.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",g5.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:i,y:o}},g7=function(t,e,n,r){var i=t.append("text").attr("class","req reqLabel").attr("id",e).attr("x",g5.rect_padding).attr("y",r).attr("dominant-baseline","hanging"),a=0,o=[];return n.forEach(function(t){for(var e=t.length;e>30&&a<3;){var n=t.substring(0,30);e=(t=t.substring(30,t.length)).length,o[o.length]=n,a++}if(3==a){var r=o[o.length-1];o[o.length-1]=r.substring(0,r.length-4)+"..."}else o[o.length]=t;a=0}),o.forEach(function(t){i.append("tspan").attr("x",g5.rect_padding).attr("dy",g5.line_height).text(t)}),i},g9=function(t){return t.replace(/\s/g,"").replace(/\./g,"_")};let yt=function(t){if(void 0!==t)for(var e=Object.keys(t),n=0;n<e.length;n++)g5[e[n]]=t[e[n]]},ye=function(t,e){gG.parser.yy=g1,gG.parser.yy.clear(),gG.parser.parse(t);var n,r,i=fu().securityLevel;"sandbox"===i&&(r=aq("#i"+e));var a=aq("sandbox"===i?r.nodes()[0].contentDocument.body:"body"),s=("sandbox"===i?r.nodes()[0].contentDocument:document,a.select("[id='".concat(e,"']")));(n=s.append("defs").append("marker").attr("id",g2+"_line_ending").attr("refX",0).attr("refY",g5.line_height/2).attr("markerWidth",g5.line_height).attr("markerHeight",g5.line_height).attr("orient","auto").append("g")).append("circle").attr("cx",g5.line_height/2).attr("cy",g5.line_height/2).attr("r",g5.line_height/2).attr("fill","none"),n.append("line").attr("x1",0).attr("x2",g5.line_height).attr("y1",g5.line_height/2).attr("y2",g5.line_height/2).attr("stroke-width",1),n.append("line").attr("y1",0).attr("y2",g5.line_height).attr("x1",g5.line_height/2).attr("x2",g5.line_height/2).attr("stroke-width",1),s.append("defs").append("marker").attr("id",g3+"_line_ending").attr("refX",g5.line_height).attr("refY",.5*g5.line_height).attr("markerWidth",g5.line_height).attr("markerHeight",g5.line_height).attr("orient","auto").append("path").attr("d","M0,0\n L".concat(g5.line_height,",").concat(g5.line_height/2,"\n M").concat(g5.line_height,",").concat(g5.line_height/2,"\n L0,").concat(g5.line_height)).attr("stroke-width",1);var c=new(fL()).Graph({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:g5.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}}),l=g1.getRequirements(),u=g1.getElements(),h=g1.getRelationships();Object.keys(l).forEach(function(t){var e=l[t];t=g9(t),o.info("Added new requirement: ",t);var n=s.append("g").attr("id",t),r=g6(n,"req-"+t),i=[],a=g8(n,t+"_title",["<<".concat(e.type,">>"),"".concat(e.name)]);i.push(a.titleNode),i.push(g7(n,t+"_body",["Id: ".concat(e.id),"Text: ".concat(e.text),"Risk: ".concat(e.risk),"Verification: ".concat(e.verifyMethod)],a.y));var u=r.node().getBBox();c.setNode(t,{width:u.width,height:u.height,shape:"rect",id:t})}),Object.keys(u).forEach(function(t){var e=u[t],n=g9(t),r=s.append("g").attr("id",n),i="element-"+n,a=g6(r,i),o=[],l=g8(r,i+"_title",["<<Element>>","".concat(t)]);o.push(l.titleNode),o.push(g7(r,i+"_body",["Type: ".concat(e.type||"Not Specified"),"Doc Ref: ".concat(e.docRef||"None")],l.y));var h=a.node().getBBox();c.setNode(n,{width:h.width,height:h.height,shape:"rect",id:n})}),h.forEach(function(t){var e=g9(t.src),n=g9(t.dst);c.setEdge(e,n,{relationship:t})}),fB().layout(c),c.nodes().forEach(function(t){void 0!==t&&void 0!==c.node(t)&&(s.select("#"+t),s.select("#"+t).attr("transform","translate("+(c.node(t).x-c.node(t).width/2)+","+(c.node(t).y-c.node(t).height/2)+" )"))}),h.forEach(function(t){var n,r,i,a,o,l,u,h;n=c.edge(g9(t.src),g9(t.dst)),r=oh().x(function(t){return t.x}).y(function(t){return t.y}),i=s.insert("path","#"+e).attr("class","er relationshipLine").attr("d",r(n.points)).attr("fill","none"),t.type==g1.Relationships.CONTAINS?i.attr("marker-start","url("+hy(g5.arrowMarkerAbsolute)+"#"+t.type+"_line_ending)"):(i.attr("stroke-dasharray","10,7"),i.attr("marker-end","url("+hy(g5.arrowMarkerAbsolute)+"#"+g3+"_line_ending)")),a="<<".concat(t.type,">>"),o=i.node().getTotalLength(),l=i.node().getPointAtLength(.5*o),u="rel"+g4,g4++,h=s.append("text").attr("class","req relationshipLabel").attr("id",u).attr("x",l.x).attr("y",l.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(a).node().getBBox(),s.insert("rect","#"+u).attr("class","req reqLabelBox").attr("x",l.x-h.width/2).attr("y",l.y-h.height/2).attr("width",h.width).attr("height",h.height).attr("fill","white").attr("fill-opacity","85%")});var f=g5.rect_padding,d=s.node().getBBox(),p=d.width+2*f,g=d.height+2*f;h7(s,g,p,g5.useMaxWidth),s.attr("viewBox","".concat(d.x-f," ").concat(d.y-f," ").concat(p," ").concat(g))};var yn=n(6876),yr=n.n(yn),yi=void 0,ya={},yo=[],ys=[],yc="",yl=!1,yu=!1,yh=!1,yf=function(t,e,n,r){var i=ya[t];i&&e===i.name&&null==n||(null!=n&&null!=n.text||(n={text:e,wrap:null,type:r}),null!=r&&null!=n.text||(n={text:e,wrap:null,type:r}),ya[t]={name:e,description:n.text,wrap:void 0===n.wrap&&yy()||!!n.wrap,prevActor:yi,links:{},properties:{},actorCnt:null,rectData:null,type:r||"participant"},yi&&ya[yi]&&(ya[yi].nextActor=t),yi=t)},yd=function(t){var e,n=0;for(e=0;e<yo.length;e++)yo[e].type===ym.ACTIVE_START&&yo[e].from.actor===t&&n++,yo[e].type===ym.ACTIVE_END&&yo[e].from.actor===t&&n--;return n},yp=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{text:void 0,wrap:void 0},r=arguments.length>3?arguments[3]:void 0;if(r===ym.ACTIVE_END&&1>yd(t.actor)){var i=Error("Trying to inactivate an inactive participant ("+t.actor+")");throw i.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},i}return yo.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&yy()||!!n.wrap,type:r}),!0},yg=function(t){return ya[t]},yy=function(){return yh}
1,ym={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},yv=function(t,e,n){var r={actor:t,placement:e,message:n.text,wrap:void 0===n.wrap&&yy()||!!n.wrap},i=[].concat(t,t);ys.push(r),yo.push({from:i[0],to:i[1],message:n.text,wrap:void 0===n.wrap&&yy()||!!n.wrap,type:ym.NOTE,placement:e})},yb=function(t,e){var n=yg(t);try{var r=hu(e.text,fu());r=(r=r.replace(/&/g,"&")).replace(/=/g,"="),yx(n,JSON.parse(r))}catch(t){o.error("error while parsing actor link text",t)}};function yx(t,e){if(null==t.links)t.links=e;else for(var n in e)t.links[n]=e[n]}var y_=function(t,e){var n=yg(t);try{var r=hu(e.text,fu());yk(n,JSON.parse(r))}catch(t){o.error("error while parsing actor properties text",t)}};function yk(t,e){if(null==t.properties)t.properties=e;else for(var n in e)t.properties[n]=e[n]}var yw=function(t,e){var n=yg(t),r=document.getElementById(e.text);try{var i=r.innerHTML,a=JSON.parse(i);a.properties&&yk(n,a.properties),a.links&&yx(n,a.links)}catch(t){o.error("error while parsing actor details text",t)}},yT=function(t){yc=t.text,yl=void 0===t.wrap&&yy()||!!t.wrap};let yE={addActor:yf,addMessage:function(t,e,n,r){yo.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&yy()||!!n.wrap,answer:r})},addSignal:yp,addLinks:yb,addDetails:yw,addProperties:y_,autoWrap:yy,setWrap:function(t){yh=t},enableSequenceNumbers:function(){yu=!0},showSequenceNumbers:function(){return yu},getMessages:function(){return yo},getActors:function(){return ya},getActor:yg,getActorKeys:function(){return Object.keys(ya)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getTitle:function(){return yc},parseDirective:function(t,e,n){vs.parseDirective(this,t,e,n)},getConfig:function(){return fu().sequence},getTitleWrapped:function(){return yl},clear:function(){ya={},yo=[]},parseMessage:function(t){var e=t.trim(),n={text:e.replace(/^[:]?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^[:]?wrap:/)||null===e.match(/^[:]?nowrap:/)&&void 0};return o.debug("parseMessage:",n),n},LINETYPE:ym,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:yv,setTitle:yT,apply:function t(e){if(e instanceof Array)e.forEach(function(e){t(e)});else switch(e.type){case"addParticipant":yf(e.actor,e.actor,e.description,"participant");break;case"addActor":yf(e.actor,e.actor,e.description,"actor");break;case"activeStart":case"activeEnd":yp(e.actor,void 0,void 0,e.signalType);break;case"addNote":yv(e.actor,e.placement,e.text);break;case"addLinks":yb(e.actor,e.text);break;case"addALink":!function(t,e){var n=yg(t);try{var r={},i=hu(e.text,fu()),a=i.indexOf("@"),s=(i=(i=i.replace(/&/g,"&")).replace(/=/g,"=")).slice(0,a-1).trim(),c=i.slice(a+1).trim();r[s]=c,yx(n,r)}catch(t){o.error("error while parsing actor link text",t)}}(e.actor,e.text);break;case"addProperties":y_(e.actor,e.text);break;case"addDetails":yw(e.actor,e.text);break;case"addMessage":yp(e.from,e.to,e.msg,e.signalType);break;case"loopStart":yp(void 0,void 0,e.loopText,e.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":yp(void 0,void 0,void 0,e.signalType);break;case"rectStart":yp(void 0,void 0,e.color,e.signalType);break;case"optStart":yp(void 0,void 0,e.optText,e.signalType);break;case"altStart":case"else":yp(void 0,void 0,e.altText,e.signalType);break;case"setTitle":yT(e.text);break;case"parStart":case"and":yp(void 0,void 0,e.parText,e.signalType)}}};var yC=[],yS=function(t,e){var n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},yA=function(t,e){yC.push(function(){var n=document.querySelectorAll(t);0!==n.length&&(n[0].addEventListener("mouseover",function(){yD("actor"+e+"_popup")}),n[0].addEventListener("mouseout",function(){yB("actor"+e+"_popup")}))})},yM=function(t,e,n,r){var i=t.append("image");i.attr("x",e),i.attr("y",n);var a=(0,ha.sanitizeUrl)(r);i.attr("xlink:href",a)},yN=function(t,e,n,r){var i=t.append("use");i.attr("x",e),i.attr("y",n);var a=(0,ha.sanitizeUrl)(r);i.attr("xlink:href","#"+a)},yD=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},yB=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},yO=function(t,e){var n=0,r=0,i=e.text.split(hh),a=[],o=0,s=function(){return e.y};if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":s=function(){return Math.round(e.y+e.textMargin)};break;case"middle":case"center":s=function(){return Math.round(e.y+(n+r+e.textMargin)/2)};break;case"bottom":case"end":s=function(){return Math.round(e.y+(n+r+2*e.textMargin)-e.textMargin)}}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="text-after-edge",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="text-before-edge",e.alignmentBaseline="middle"}for(var c=0;c<i.length;c++){var l=i[c];void 0!==e.textMargin&&0===e.textMargin&&void 0!==e.fontSize&&(o=c*e.fontSize);var u=t.append("text");if(u.attr("x",e.x),u.attr("y",s()),void 0!==e.anchor&&u.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&u.style("font-family",e.fontFamily),void 0!==e.fontSize&&u.style("font-size",e.fontSize),void 0!==e.fontWeight&&u.style("font-weight",e.fontWeight),void 0!==e.fill&&u.attr("fill",e.fill),void 0!==e.class&&u.attr("class",e.class),void 0!==e.dy?u.attr("dy",e.dy):0!==o&&u.attr("dy",o),e.tspan){var h=u.append("tspan");h.attr("x",e.x),void 0!==e.fill&&h.attr("fill",e.fill),h.text(l)}else u.text(l);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(u._groups||u)[0][0].getBBox().height,n=r),a.push(u)}return a}
1,yL=function(t,e){var n,r,i,a,o=t.append("polygon");return o.attr("points",(n=e.x,r=e.y,n+","+r+" "+(n+(i=e.width))+","+r+" "+(n+i)+","+(r+(a=e.height)-7)+" "+(n+i-8.4)+","+(r+a)+" "+n+","+(r+a))),o.attr("class","labelBox"),e.y=e.y+e.height/2,yO(t,e),o},yI=-1,yF=function(t,e){t.selectAll&&t.selectAll(".actor-line").attr("class","200").attr("y2",e-55)},yP=function(){function t(t,e,n,i,a,o,s){r(e.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("text-anchor","middle").text(t),s)}function e(t,e,n,i,a,o,s,c){for(var l=c.actorFontSize,u=c.actorFontFamily,h=c.actorFontWeight,f=t.split(hh),d=0;d<f.length;d++){var p=d*l-l*(f.length-1)/2,g=e.append("text").attr("x",n+a/2).attr("y",i).style("text-anchor","middle").style("font-size",l).style("font-weight",h).style("font-family",u);g.append("tspan").attr("x",n+a/2).attr("dy",p).text(f[d]),g.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(g,s)}}function n(t,n,i,a,o,s,c,l){var u=n.append("switch"),h=u.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,u,i,a,o,s,c,l),r(h,c)}function r(t,e){for(var n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?t:e}}(),yR=function(){function t(t,e,n,i,a,o,s){r(e.append("text").attr("x",n).attr("y",i).style("text-anchor","start").text(t),s)}function e(t,e,n,i,a,o,s,c){for(var l=c.actorFontSize,u=c.actorFontFamily,h=c.actorFontWeight,f=t.split(hh),d=0;d<f.length;d++){var p=d*l-l*(f.length-1)/2,g=e.append("text").attr("x",n).attr("y",i).style("text-anchor","start").style("font-size",l).style("font-weight",h).style("font-family",u);g.append("tspan").attr("x",n).attr("dy",p).text(f[d]),g.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(g,s)}}function n(t,n,i,a,o,s,c,l){var u=n.append("switch"),h=u.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,u,i,a,0,s,c,l),r(h,c)}function r(t,e){for(var n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?t:e}}();let yj=function(t,e,n){switch(e.type){case"actor":var r,i,a,o;return r=e.x+e.width/2,0===e.y&&(yI++,t.append("line").attr("id","actor"+yI).attr("x1",r).attr("y1",80).attr("x2",r).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999")),(i=t.append("g")).attr("class","actor-man"),(a={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}).x=e.x,a.y=e.y,a.fill="#eaeaea",a.width=e.width,a.height=e.height,a.class="actor",a.rx=3,a.ry=3,i.append("line").attr("id","actor-man-torso"+yI).attr("x1",r).attr("y1",e.y+25).attr("x2",r).attr("y2",e.y+45),i.append("line").attr("id","actor-man-arms"+yI).attr("x1",r-18).attr("y1",e.y+33).attr("x2",r+18).attr("y2",e.y+33),i.append("line").attr("x1",r-18).attr("y1",e.y+60).attr("x2",r).attr("y2",e.y+45),i.append("line").attr("x1",r).attr("y1",e.y+45).attr("x2",r+16).attr("y2",e.y+60),(o=i.append("circle")).attr("cx",e.x+e.width/2),o.attr("cy",e.y+10),o.attr("r",15),o.attr("width",e.width),o.attr("height",e.height),e.height=i.node().getBBox().height,yP(n)(e.description,i,a.x,a.y+35,a.width,a.height,{class:"actor"},n),e.height;case"participant":return function(t,e,n){var r=e.x+e.width/2,i=t.append("g"),a=i;0===e.y&&(yI++,a.append("line").attr("id","actor"+yI).attr("x1",r).attr("y1",5).attr("x2",r).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"),a=i.append("g"),e.actorCnt=yI,null!=e.links&&(a.attr("id","root-"+yI),yA("#root-"+yI,yI)));var o={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0},s="actor";null!=e.properties&&e.properties.class?s=e.properties.class:o.fill="#eaeaea",o.x=e.x,o.y=e.y,o.width=e.width,o.height=e.height,o.class=s,o.rx=3,o.ry=3;var c=yS(a,o);if(e.rectData=o,null!=e.properties&&e.properties.icon){var l=e.properties.icon.trim();"@"===l.charAt(0)?yN(a,o.x+o.width-20,o.y+10,l.substr(1)):yM(a,o.x+o.width-20,o.y+10,l)}yP(n)(e.description,a,o.x,o.y,o.width,o.height,{class:"actor"},n);var u=e.height;if(c.node){var h=c.node().getBBox();e.height=h.height,u=h.height}return u}(t,e,n)}},yY=function(t,e,n,r,i){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};var a=e.links,o=e.actorCnt,s=e.rectData,c="none";i&&(c="block !important");var l=t.append("g");l.attr("id","actor"+o+"_popup"),l.attr("class","actorPopupMenu"),l.attr("display",c),yA("#actor"+o+"_popup",o);var u="";void 0!==s.class&&(u=" "+s.class);var h=s.width>n?s.width:n,f=l.append("rect");if(f.attr("class","actorPopupMenuPanel"+u),f.attr("x",s.x),f.attr("y",s.height),f.attr("fill",s.fill),f.attr("stroke",s.stroke),f.attr("width",h),f.attr("height",s.height),f.attr("rx",s.rx),f.attr("ry",s.ry),null!=a){var d=20;for(var p in a){var g=l.append("a"),y=(0,ha.sanitizeUrl)(a[p]);g.attr("xlink:href",y),g.attr("target","_blank"),yR(r)(p,g,s.x+10,s.height+d,h,20,{class:"actor"},r),d+=30}}return f.attr("height",d),{height:s.height+d,width:h}},yU=function(t,e,n,r,i){var a={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0},o=e.anchored;a.x=e.startx,a.y=e.starty,a.class="activation"+i%3,a.width=e.stopx-e.startx,a.height=n-e.starty,yS(o,a)},yz=function(t,e,n,r){var i=r.boxMargin,a=r.boxTextMargin,o=r.labelBoxHeight,s=r.labelBoxWidth,c=r.messageFontFamily,l=r.messageFontSize,u=r.messageFontWeight,h=t.append("g"),f=function(t,e,n,r){return h.append("line").attr("x1",t).attr("y1",e).attr("x2",n).attr("y2",r).attr("class","loopLine")};f(e.startx,e.starty,e.stopx,e.starty),f(e.stopx,e.starty,e.stopx,e.stopy),f(e.startx,e.stopy,e.stopx,e.stopy),f(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach(function(t){f(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")});var d={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};d.text=n,d.x=e.startx,d.y=e.starty,d.fontFamily=c,d.fontSize=l,d.fontWeight=u,d.anchor="middle",d.valign="middle",d.tspan=!1,d.width=s||50,d.height=o||20,d.textMargin=a,d.class="labelText",yL(h,d),(d={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=e.title,d.x=e.startx+s/2+(e.stopx-e.startx)/2,d.y=e.starty+i+a,d.anch
1or="middle",d.valign="middle",d.textMargin=a,d.class="loopText",d.fontFamily=c,d.fontSize=l,d.fontWeight=u,d.wrap=!0;yO(h,d);return void 0!==e.sectionTitles&&e.sectionTitles.forEach(function(t,n){if(t.message){d.text=t.message,d.x=e.startx+(e.stopx-e.startx)/2,d.y=e.sections[n].y+i+a,d.class="loopText",d.anchor="middle",d.valign="middle",d.tspan=!1,d.fontFamily=c,d.fontSize=l,d.fontWeight=u,d.wrap=e.wrap;var r=Math.round(yO(h,d).map(function(t){return(t._groups||t)[0][0].getBBox().height}).reduce(function(t,e){return t+e}));e.sections[n].height+=r-(i+a)}}),e.height=Math.round(e.stopy-e.starty),h},y$=function(t,e){yS(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},yq=function(t){t.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")},yH=function(t){t.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")},yW=function(t){t.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)},yV=function(t){var e=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);e.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"),e.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")},yG=function(t){t
vendor: 3,704 bytes, line 1
1.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.
vendor: 9,601 bytes, line 1
1127.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")},
1yX=function(t){t.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")},yZ=function(t){t.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")},yQ=function(){return{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}};ha.sanitizeUrl,yn.parser.yy=yE;var yK={},yJ={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(t){return t.height||0}))+(0===this.loops.length?0:this.loops.map(function(t){return t.height||0}).reduce(function(t,e){return t+e}))+(0===this.messages.length?0:this.messages.map(function(t){return t.height||0}).reduce(function(t,e){return t+e}))+(0===this.notes.length?0:this.notes.map(function(t){return t.height||0}).reduce(function(t,e){return t+e}))},clear:function(){this.actors=[],this.loops=[],this.messages=[],this.notes=[]},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},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,y4(yn.parser.yy.getConfig())},updateVal:function(t,e,n,r){void 0===t[e]?t[e]=n:t[e]=r(n,t[e])},updateBounds:function(t,e,n,r){var i=this,a=0;function o(o){return function(s){a++;var c=i.sequenceItems.length-a+1;i.updateVal(s,"starty",e-c*yK.boxMargin,Math.min),i.updateVal(s,"stopy",r+c*yK.boxMargin,Math.max),i.updateVal(yJ.data,"startx",t-c*yK.boxMargin,Math.min),i.updateVal(yJ.data,"stopx",n+c*yK.boxMargin,Math.max),"activation"!==o&&(i.updateVal(s,"startx",t-c*yK.boxMargin,Math.min),i.updateVal(s,"stopx",n+c*yK.boxMargin,Math.max),i.updateVal(yJ.data,"starty",e-c*yK.boxMargin,Math.min),i.updateVal(yJ.data,"stopy",r+c*yK.boxMargin,Math.max))}}this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},insert:function(t,e,n,r){var i=Math.min(t,n),a=Math.max(t,n),o=Math.min(e,r),s=Math.max(e,r);this.updateVal(yJ.data,"startx",i,Math.min),this.updateVal(yJ.data,"starty",o,Math.min),this.updateVal(yJ.data,"stopx",a,Math.max),this.updateVal(yJ.data,"stopy",s,Math.max),this.updateBounds(i,o,a,s)},newActivation:function(t,e,n){var r=n[t.from.actor],i=y6(t.from.actor).length||0,a=r.x+r.width/2+(i-1)*yK.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+yK.activationWidth,stopy:void 0,actor:t.from.actor,anchored:e.append("g")})},endActivation:function(t){var e=this.activations.map(function(t){return t.actor}).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{message:void 0,wrap:!1,width:void 0},e=arguments.length>1?arguments[1]:void 0;return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{message:void 0,wrap:!1,width:void 0},e=arguments.length>1?arguments[1]:void 0;this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(t){var e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:yJ.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},y0=function(t){return{fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}},y1=function(t){return{fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}},y2=function(t){return{fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}},y3=function(t,e,n,r){for(var i=0,a=0,o=0,s=0;s<n.length;s++){var c=e[n[s]];c.width=c.width||yK.width,c.height=Math.max(c.height||yK.height,yK.height),c.margin=c.margin||yK.actorMargin,c.x=i+a,c.y=r,o=Math.max(o,yj(t,c,yK)),yJ.insert(c.x,r,c.x+c.width,c.height),i+=c.width,a+=c.margin,yJ.models.addActor(c)}yJ.bumpVerticalPos(o)},y5=function(t,e,n,r){for(var i=0,a=0,o=0;o<n.length;o++){var s=e[n[o]],c=y9(s),l=yY(t,s,c,yK,yK.forceMenus,r);l.height>i&&(i=l.height),l.width+s.x>a&&(a=l.width+s.x)}return{maxHeight:i,maxWidth:a}}
1,y4=function(t){h1(yK,t),t.fontFamily&&(yK.actorFontFamily=yK.noteFontFamily=yK.messageFontFamily=t.fontFamily),t.fontSize&&(yK.actorFontSize=yK.noteFontSize=yK.messageFontSize=t.fontSize),t.fontWeight&&(yK.actorFontWeight=yK.noteFontWeight=yK.messageFontWeight=t.fontWeight)},y6=function(t){return yJ.activations.filter(function(e){return e.actor===t})},y8=function(t,e){var n=e[t],r=y6(t);return[r.reduce(function(t,e){return Math.min(t,e.startx)},n.x+n.width/2),r.reduce(function(t,e){return Math.max(t,e.stopx)},n.x+n.width/2)]};function y7(t,e,n,r,i){yJ.bumpVerticalPos(n);var a=r;if(e.id&&e.message&&t[e.id]){var s=t[e.id].width,c=y0(yK);e.message=fe.wrapLabel("[".concat(e.message,"]"),s-2*yK.wrapPadding,c),e.width=s,e.wrap=!0;var l=Math.max(fe.calculateTextDimensions(e.message,c).height,yK.labelBoxHeight);a=r+l,o.debug("".concat(l," - ").concat(e.message))}i(e),yJ.bumpVerticalPos(a)}var y9=function(t){var e=0,n=y2(yK);for(var r in t.links){var i=fe.calculateTextDimensions(r,n).width+2*yK.wrapPadding+2*yK.boxMargin;e<i&&(e=i)}return e};let mt=function(t,e){yK=fu().sequence;var n,r,i,a,s,c,l,u=fu().securityLevel;"sandbox"===u&&(l=aq("#i"+e));var h=aq("sandbox"===u?l.nodes()[0].contentDocument.body:"body"),f="sandbox"===u?l.nodes()[0].contentDocument:document;yn.parser.yy.clear(),yn.parser.yy.setWrap(yK.wrap),yn.parser.parse(t+"\n"),yJ.init(),o.debug("C:".concat(JSON.stringify(yK,null,2)));var d="sandbox"===u?h.select('[id="'.concat(e,'"]')):aq('[id="'.concat(e,'"]')),p=yn.parser.yy.getActors(),g=yn.parser.yy.getActorKeys(),y=yn.parser.yy.getMessages(),m=yn.parser.yy.getTitle(),v=(n={},y.forEach(function(t){if(p[t.to]&&p[t.from]){var e=p[t.to];if((t.placement!==yn.parser.yy.PLACEMENT.LEFTOF||e.prevActor)&&(t.placement!==yn.parser.yy.PLACEMENT.RIGHTOF||e.nextActor)){var r=void 0!==t.placement,i=!r,a=r?y1(yK):y0(yK),o=t.wrap?fe.wrapLabel(t.message,yK.width-2*yK.wrapPadding,a):t.message,s=fe.calculateTextDimensions(o,a).width+2*yK.wrapPadding;i&&t.from===e.nextActor?n[t.to]=Math.max(n[t.to]||0,s):i&&t.from===e.prevActor?n[t.from]=Math.max(n[t.from]||0,s):i&&t.from===t.to?(n[t.from]=Math.max(n[t.from]||0,s/2),n[t.to]=Math.max(n[t.to]||0,s/2)):t.placement===yn.parser.yy.PLACEMENT.RIGHTOF?n[t.from]=Math.max(n[t.from]||0,s):t.placement===yn.parser.yy.PLACEMENT.LEFTOF?n[e.prevActor]=Math.max(n[e.prevActor]||0,s):t.placement===yn.parser.yy.PLACEMENT.OVER&&(e.prevActor&&(n[e.prevActor]=Math.max(n[e.prevActor]||0,s/2)),e.nextActor&&(n[t.from]=Math.max(n[t.from]||0,s/2)))}}}),o.debug("maxMessageWidthPerActor:",n),n);yK.height=function(t,e){var n=0;for(var r in Object.keys(t).forEach(function(e){var r=t[e];r.wrap&&(r.description=fe.wrapLabel(r.description,yK.width-2*yK.wrapPadding,y2(yK)));var i=fe.calculateTextDimensions(r.description,y2(yK));r.width=r.wrap?yK.width:Math.max(yK.width,i.width+2*yK.wrapPadding),r.height=r.wrap?Math.max(i.height,yK.height):yK.height,n=Math.max(n,r.height)}),e){var i=t[r];if(i){var a=t[i.nextActor];if(a){var o=e[r]+yK.actorMargin-i.width/2-a.width/2;i.margin=Math.max(o,yK.actorMargin)}}}return Math.max(n,yK.height)}(p,v),yX(d),yG(d),yZ(d),y3(d,p,g,0);var b=(s={},c=[],y.forEach(function(t){switch(t.id=fe.random({length:10}),t.type){case yn.parser.yy.LINETYPE.LOOP_START:case yn.parser.yy.LINETYPE.ALT_START:case yn.parser.yy.LINETYPE.OPT_START:case yn.parser.yy.LINETYPE.PAR_START:c.push({id:t.id,msg:t.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case yn.parser.yy.LINETYPE.ALT_ELSE:case yn.parser.yy.LINETYPE.PAR_AND:t.message&&(s[(r=c.pop()).id]=r,s[t.id]=r,c.push(r));break;case yn.parser.yy.LINETYPE.LOOP_END:case yn.parser.yy.LINETYPE.ALT_END:case yn.parser.yy.LINETYPE.OPT_END:case yn.parser.yy.LINETYPE.PAR_END:s[(r=c.pop()).id]=r;break;case yn.parser.yy.LINETYPE.ACTIVE_START:var e,n,l,u,h,f=p[t.from?t.from.actor:t.to.actor],d=y6(t.from?t.from.actor:t.to.actor).length,g=f.x+f.width/2+(d-1)*yK.activationWidth/2,y={startx:g,stopx:g+yK.activationWidth,actor:t.from.actor,enabled:!0};yJ.activations.push(y);break;case yn.parser.yy.LINETYPE.ACTIVE_END:var m=yJ.activations.map(function(t){return t.actor}).lastIndexOf(t.from.actor);delete yJ.activations.splice(m,1)[0]}void 0!==t.placement?(e=p[t.from].x,n=p[t.to].x,l=t.wrap&&t.message,u=fe.calculateTextDimensions(l?fe.wrapLabel(t.message,yK.width,y1(yK)):t.message,y1(yK)),h={width:l?yK.width:Math.max(yK.width,u.width+2*yK.noteMargin),height:0,startx:p[t.from].x,stopx:0,starty:0,stopy:0,message:t.message},t.placement===yn.parser.yy.PLACEMENT.RIGHTOF?(h.width=l?Math.max(yK.width,u.width):Math.max(p[t.from].width/2+p[t.to].width/2,u.width+2*yK.noteMargin),h.startx=e+(p[t.from].width+yK.actorMargin)/2):t.placement===yn.parser.yy.PLACEMENT.LEFTOF?(h.width=l?Math.max(yK.width,u.width+2*yK.noteMargin):Math.max(p[t.from].width/2+p[t.to].width/2,u.width+2*yK.noteMargin),h.startx=e-h.width+(p[t.from].width-yK.actorMargin)/2):t.to===t.from?(u=fe.calculateTextDimensions(l?fe.wrapLabel(t.message,Math.max(yK.width,p[t.from].width),y1(yK)):t.message,y1(yK)),h.width=l?Math.max(yK.width,p[t.from].width):Math.max(p[t.from].width,yK.width,u.width+2*yK.noteMargin),h.startx=e+(p[t.from].width-h.width)/2):(h.width=Math.abs(e+p[t.from].width/2-(n+p[t.to].width/2))+yK.actorMargin,h.startx=e<n?e+p[t.from].width/2-yK.actorMargin/2:n+p[t.to].width/2-yK.actorMargin/2),l&&(h.message=fe.wrapLabel(t.message,h.width-2*yK.wrapPadding,y1(yK))),o.debug("NM:[".concat(h.startx,",").concat(h.stopx,",").concat(h.start
1y,",").concat(h.stopy,":").concat(h.width,",").concat(h.height,"=").concat(t.message,"]")),t.noteModel=i=h,c.forEach(function(t){(r=t).from=Math.min(r.from,i.startx),r.to=Math.max(r.to,i.startx+i.width),r.width=Math.max(r.width,Math.abs(r.from-r.to))-yK.labelBoxWidth})):(a=function(t,e){var n=!1;if([yn.parser.yy.LINETYPE.SOLID_OPEN,yn.parser.yy.LINETYPE.DOTTED_OPEN,yn.parser.yy.LINETYPE.SOLID,yn.parser.yy.LINETYPE.DOTTED,yn.parser.yy.LINETYPE.SOLID_CROSS,yn.parser.yy.LINETYPE.DOTTED_CROSS,yn.parser.yy.LINETYPE.SOLID_POINT,yn.parser.yy.LINETYPE.DOTTED_POINT].includes(t.type)&&(n=!0),!n)return{};var r=y8(t.from,e),i=y8(t.to,e),a=+(r[0]<=i[0]),o=r[0]<i[0]?0:1,s=r.concat(i),c=Math.abs(i[o]-r[a]);t.wrap&&t.message&&(t.message=fe.wrapLabel(t.message,Math.max(c+2*yK.wrapPadding,yK.width),y0(yK)));var l=fe.calculateTextDimensions(t.message,y0(yK));return{width:Math.max(t.wrap?0:l.width+2*yK.wrapPadding,c+2*yK.wrapPadding,yK.width),height:0,startx:r[a],stopx:i[o],starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,s),toBounds:Math.max.apply(null,s)}}(t,p),t.msgModel=a,a.startx&&a.stopx&&c.length>0&&c.forEach(function(e){if(r=e,a.startx===a.stopx){var n=p[t.from],i=p[t.to];r.from=Math.min(n.x-a.width/2,n.x-n.width/2,r.from),r.to=Math.max(i.x+a.width/2,i.x+n.width/2,r.to),r.width=Math.max(r.width,Math.abs(r.to-r.from))-yK.labelBoxWidth}else r.from=Math.min(a.startx,r.from),r.to=Math.max(a.stopx,r.to),r.width=Math.max(r.width,a.width)-yK.labelBoxWidth}))}),yJ.activations=[],o.debug("Loop type widths:",s),s);yq(d),yV(d),yH(d),yW(d);var x=1;y.forEach(function(t){var e,n,r,i,a,s,c,l,u,h;switch(t.type){case yn.parser.yy.LINETYPE.NOTE:n=t.noteModel,yJ.bumpVerticalPos(yK.boxMargin),n.height=yK.boxMargin,n.starty=yJ.getVerticalPos(),(i={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}).x=n.startx,i.y=n.starty,i.width=n.width||yK.width,i.class="note",s=yS(a=d.append("g"),i),(c=yQ()).x=n.startx,c.y=n.starty,c.width=i.width,c.dy="1em",c.text=n.message,c.class="noteText",c.fontFamily=yK.noteFontFamily,c.fontSize=yK.noteFontSize,c.fontWeight=yK.noteFontWeight,c.anchor=yK.noteAlign,c.textMargin=yK.noteMargin,c.valign=yK.noteAlign,l=Math.round(yO(a,c).map(function(t){return(t._groups||t)[0][0].getBBox().height}).reduce(function(t,e){return t+e})),s.attr("height",l+2*yK.noteMargin),n.height+=l+2*yK.noteMargin,yJ.bumpVerticalPos(l+2*yK.noteMargin),n.stopy=n.starty+l+2*yK.noteMargin,n.stopx=n.startx+i.width,yJ.insert(n.startx,n.starty,n.stopx,n.stopy),yJ.models.addNote(n);break;case yn.parser.yy.LINETYPE.ACTIVE_START:yJ.newActivation(t,d,p);break;case yn.parser.yy.LINETYPE.ACTIVE_END:u=yJ.getVerticalPos(),(h=yJ.endActivation(t)).start
1y+18>u&&(h.starty=u-6,u+=12),yU(d,h,u,yK,y6(t.from.actor).length),yJ.insert(h.startx,u-10,h.stopx,u);break;case yn.parser.yy.LINETYPE.LOOP_START:y7(b,t,yK.boxMargin,yK.boxMargin+yK.boxTextMargin,function(t){return yJ.newLoop(t)});break;case yn.parser.yy.LINETYPE.LOOP_END:yz(d,e=yJ.endLoop(),"loop",yK),yJ.bumpVerticalPos(e.stopy-yJ.getVerticalPos()),yJ.models.addLoop(e);break;case yn.parser.yy.LINETYPE.RECT_START:y7(b,t,yK.boxMargin,yK.boxMargin,function(t){return yJ.newLoop(void 0,t.message)});break;case yn.parser.yy.LINETYPE.RECT_END:y$(d,e=yJ.endLoop()),yJ.models.addLoop(e),yJ.bumpVerticalPos(e.stopy-yJ.getVerticalPos());break;case yn.parser.yy.LINETYPE.OPT_START:y7(b,t,yK.boxMargin,yK.boxMargin+yK.boxTextMargin,function(t){return yJ.newLoop(t)});break;case yn.parser.yy.LINETYPE.OPT_END:yz(d,e=yJ.endLoop(),"opt",yK),yJ.bumpVerticalPos(e.stopy-yJ.getVerticalPos()),yJ.models.addLoop(e);break;case yn.parser.yy.LINETYPE.ALT_START:y7(b,t,yK.boxMargin,yK.boxMargin+yK.boxTextMargin,function(t){return yJ.newLoop(t)});break;case yn.parser.yy.LINETYPE.ALT_ELSE:y7(b,t,yK.boxMargin+yK.boxTextMargin,yK.boxMargin,function(t){return yJ.addSectionToLoop(t)});break;case yn.parser.yy.LINETYPE.ALT_END:yz(d,e=yJ.endLoop(),"alt",yK),yJ.bumpVerticalPos(e.stopy-yJ.getVerticalPos()),yJ.models.addLoop(e);break;case yn.parser.yy.LINETYPE.PAR_START:y7(b,t,yK.boxMargin,yK.boxMargin+yK.boxTextMargin,function(t){return yJ.newLoop(t)});break;case yn.parser.yy.LINETYPE.PAR_AND:y7(b,t,yK.boxMargin+yK.boxTextMargin,yK.boxMargin,function(t){return yJ.addSectionToLoop(t)});break;case yn.parser.yy.LINETYPE.PAR_END:yz(d,e=yJ.endLoop(),"par",yK),yJ.bumpVerticalPos(e.stopy-yJ.getVerticalPos()),yJ.models.addLoop(e);break;default:try{(r=t.msgModel).starty=yJ.getVerticalPos(),r.sequenceIndex=x,function(t,e){yJ.bumpVerticalPos(10);var n=e.startx,r=e.stopx,i=e.starty,a=e.message,o=e.type,s=e.sequenceIndex,c=a.split(hh).length,l=fe.calculateTextDimensions(a,y0(yK)),u=l.height/c;e.height+=u,yJ.bumpVerticalPos(u);var h=yQ();h.x=n,h.y=i+10,h.width=r-n,h.class="messageText",h.dy="1em",h.text=a,h.fontFamily=yK.messageFontFamily,h.fontSize=yK.messageFontSize,h.fontWeight=yK.messageFontWeight,h.anchor=yK.messageAlign,h.valign=yK.messageAlign,h.textMargin=yK.wrapPadding,h.tspan=!1,yO(t,h);var f,d,p=l.height-10,g=l.width;if(n===r){d=yJ.getVerticalPos()+p,yK.rightAngles?f=t.append("path").attr("d","M ".concat(n,",").concat(d," H ").concat(n+Math.max(yK.width/2,g/2)," V ").concat(d+25," H ").concat(n)):(p+=yK.boxMargin,d=yJ.getVerticalPos()+p,f=t.append("path").attr("d","M "+n+","+d+" C "+(n+60)+","+(d-10)+" "+(n+60)+","+(d+30)+" "+n+","+(d+20))),p+=30;var y=Math.max(g/2,yK.width/2);yJ.insert(n-y,yJ.getVerticalPos()-10+p,r+y,yJ.getVerticalPos()+30+p)}else p+=yK.boxMargin,d=yJ.getVerticalPos()+p,(f=t.append("line")).attr("x1",n),f.attr("y1",d),f.attr("x2",r),f.attr("y2",d),yJ.insert(n,d-10,r,d);o===yn.parser.yy.LINETYPE.DOTTED||o===yn.parser.yy.LINETYPE.DOTTED_CROSS||o===yn.parser.yy.LINETYPE.DOTTED_POINT||o===yn.parser.yy.LINETYPE.DOTTED_OPEN?(f.style("stroke-dasharray","3, 3"),f.attr("class","messageLine1")):f.attr("class","messageLine0");var m="";yK.arrowMarkerAbsolute&&(m=(m=(m=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),f.attr("stroke-width",2),f.attr("stroke","none"),f.style("fill","none"),o!==yn.parser.yy.LINETYPE.SOLID&&o!==yn.parser.yy.LINETYPE.DOTTED||f.attr("marker-end","url("+m+"#arrowhead)"),o!==yn.parser.yy.LINETYPE.SOLID_POINT&&o!==yn.parser.yy.LINETYPE.DOTTED_POINT||f.attr("marker-end","url("+m+"#filled-head)"),o!==yn.parser.yy.LINETYPE.SOLID_CROSS&&o!==yn.parser.yy.LINETYPE.DOTTED_CROSS||f.attr("marker-end","url("+m+"#crosshead)"),(yE.showSequenceNumbers()||yK.showSequenceNumbers)&&(f.attr("marker-start","url("+m+"#sequencenumber)"),t.append("text").attr("x",n).attr("y",d+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("textLength","16px").attr("class","sequenceNumber").text(s)),yJ.bumpVerticalPos(p),e.height+=p,e.stopy=e.starty+e.height,yJ.insert(e.fromBounds,e.starty,e.toBounds,e.stopy)}(d,r),yJ.models.addMessage(r)}catch(t){o.error("error while drawing message",t)}}[yn.parser.yy.LINETYPE.SOLID_OPEN,yn.parser.yy.LINETYPE.DOTTED_OPEN,yn.parser.yy.LINETYPE.SOLID,yn.parser.yy.LINETYPE.DOTTED,yn.parser.yy.LINETYPE.SOLID_CROSS,yn.parser.yy.LINETYPE.DOTTED_CROSS,yn.parser.yy.LINETYPE.SOLID_POINT,yn.parser.yy.LINETYPE.DOTTED_POINT].includes(t.type)&&x++}),yK.mirrorActors&&(yJ.bumpVerticalPos(2*yK.boxMargin),y3(d,p,g,
1yJ.getVerticalPos()),yJ.bumpVerticalPos(yK.boxMargin),yF(d,yJ.getVerticalPos()));var _=y5(d,p,g,f),k=yJ.getBounds().bounds;o.debug("For line height fix Querying: #"+e+" .actor-line"),aH("#"+e+" .actor-line").attr("y2",k.stopy);var w=k.stopy-k.starty;w<_.maxHeight&&(w=_.maxHeight);var T=w+2*yK.diagramMarginY;yK.mirrorActors&&(T=T-yK.boxMargin+yK.bottomMarginAdj);var E=k.stopx-k.startx;E<_.maxWidth&&(E=_.maxWidth);var C=E+2*yK.diagramMarginX;m&&d.append("text").text(m).attr("x",(k.stopx-k.startx)/2-2*yK.diagramMarginX).attr("y",-25),h7(d,T,C,yK.useMaxWidth);var S=40*!!m;d.attr("viewBox",k.startx-yK.diagramMarginX+" -"+(yK.diagramMarginY+S)+" "+C+" "+(T+S)),o.debug("models:",yJ.models)};var me=n(3584),mn=n.n(me);function mr(t){return(mr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var mi=function(t){return JSON.parse(JSON.stringify(t))},ma=[],mo=function t(e,n,r){if("relation"===n.stmt)t(e,n.state1,!0),t(e,n.state2,!1);else if("state"===n.stmt&&"[*]"===n.id&&(n.id=r?e.id+"_start":e.id+"_end",n.start=r),n.doc){var i=[],a=0,o=[];for(a=0;a<n.doc.length;a++)if("divider"===n.doc[a].type){var s=mi(n.doc[a]);s.doc=mi(o),i.push(s),o=[]}else o.push(n.doc[a]);if(i.length>0&&o.length>0){var c={stmt:"state",id:hJ(),type:"divider",doc:mi(o)};i.push(mi(c)),n.doc=i}n.doc.forEach(function(e){return t(n,e,!0)})}},ms={root:{relations:[],states:{},documents:{}}},mc=ms.root,ml=0,mu=function(t,e,n,r,i){void 0===mc.states[t]?mc.states[t]={id:t,descriptions:[],type:e,doc:n,note:i}:(mc.states[t].doc||(mc.states[t].doc=n),mc.states[t].type||(mc.states[t].type=e)),r&&(o.info("Adding state ",t,r),"string"==typeof r&&md(t,r.trim()),"object"===mr(r)&&r.forEach(function(e){return md(t,e.trim())})),i&&(mc.states[t].note=i,mc.states[t].note.text=hu(mc.states[t].note.text,fu()))},mh=function(){mc=(ms={root:{relations:[],states:{},documents:{}}}).root,mc=ms.root,ml=0,mg=[]},mf=function(t,e,n){var r=t,i=e,a="default",o="default";"[*]"===t&&(r="start"+ ++ml,a="start"),"[*]"===e&&(i="end"+ml,o="end"),mu(r,a),mu(i,o),mc.relations.push({id1:r,id2:i,title:hu(n,fu())})},md=function(t,e){var n=mc.states[t],r=e;":"===r[0]&&(r=r.substr(1).trim()),n.descriptions.push(hu(r,fu()))},mp=0,mg=[],my="TB";let mm={parseDirective:function(t,e,n){vs.parseDirective(this,t,e,n)},getConfig:function(){return fu().state},addState:mu,clear:mh,getState:function(t){return mc.states[t]},getStates:function(){return mc.states},getRelations:function(){return mc.relations},getClasses:function(){return mg},getDirection:function(){return my},addRelation:mf,getDividerId:function(){return"divider-id-"+ ++mp},setDirection:function(t){my=t},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){o.info("Documents = ",ms)},getRootDoc:function(){return ma},setRootDoc:function(t){o.info("Setting root doc",t),ma=t},getRootDocV2:function(){return mo({id:"root"},{id:"root",doc:ma},!0),{id:"root",doc:ma}},extract:function(t){var e;e=t.doc?t.doc:t,o.info(e),mh(),o.info("Extract",e),e.forEach(function(t){"state"===t.stmt&&mu(t.id,t.type,t.doc,t.description,t.note),"relation"===t.stmt&&mf(t.state1.id,t.state2.id,t.description)})},trimColon:function(t){return t&&":"===t[0]?t.substr(1).trim():t.trim()}};var mv={};function mb(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var mx,m_=function(t,e,n){var r,i=fu().state.padding,a=2*fu().state.padding,o=t.node().getBBox(),s=o.width,c=o.x,l=t.append("text").attr("x",0).attr("y",fu().state.titleShift).attr("font-size",fu().state.fontSize).attr("class","state-title").text(e.id),u=l.node().getBBox().width+a,h=Math.max(u,s);h===s&&(h+=a);var f=t.node().getBBox();e.doc,r=c-i,u>s&&(r=(s-h)/2+i),Math.abs(c-f.x)<i&&u>s&&(r=c-(u-s)/2);var d=1-fu().state.textHeight;return t.insert("rect",":first-child").attr("x",r).attr("y",d).attr("class",n?"alt-composit":"composit").attr("width",h).attr("height",f.height+fu().state.textHeight+fu().state.titleShift+1).attr("rx","0"),l.attr("x",r+i),u<=s&&l.attr("x",c+(h-a)/2-u/2+i),t.insert("rect",":first-child").attr("x",r).attr("y",fu().state.titleShift-fu().state.textHeight-fu().state.padding).attr("width",h).attr("height",3*fu().state.textHeight).attr("rx",fu().state.radius),t.insert("rect",":first-child").attr("x",r).attr("y",fu().state.titleShift-fu().state.textHeight-fu().state.padding).attr("width",h).attr("height",f.height+3+2*fu().state.textHeight).attr("rx",fu().state.radius),t},mk=function(t,e){e.attr("class","state-note");var n=e.append("rect").attr("x",0).attr("y",fu().state.padding),r=function(t,e,n,r){var i=0,a=r.append("text");a.style("text-anchor","start"),a.attr("class","noteText");var o,s=t.replace(/\r\n/g,"<br/>"),c=(s=s.replace(/\n/g,"<br/>")).split(hh),l=1.25*fu().state.noteMargin,u=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
1if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return mb(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mb(t,void 0):void 0}}(t))){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}(c);try{for(u.s();!(o=u.n()).done;){var h=o.value.trim();if(h.length>0){var f=a.append("tspan");f.text(h),0===l&&(l+=f.node().getBBox().height),i+=l,f.attr("x",0+fu().state.noteMargin),f.attr("y",0+i+1.25*fu().state.noteMargin)}}}catch(t){u.e(t)}finally{u.f()}return{textWidth:a.node().getBBox().width,textHeight:i}}(t,0,0,e.append("g")),i=r.textWidth,a=r.textHeight;return n.attr("height",a+2*fu().state.noteMargin),n.attr("width",i+2*fu().state.noteMargin),n},mw=function(t,e){var n,r,i,a,o,s,c,l,u,h=e.id,f={id:h,label:e.id,width:0,height:0},d=t.append("g").attr("id",h).attr("class","stateGroup");"start"===e.type&&d.append("circle").attr("class","start-state").attr("r",fu().state.sizeUnit).attr("cx",fu().state.padding+fu().state.sizeUnit).attr("cy",fu().state.padding+fu().state.sizeUnit),"end"===e.type&&(d.append("circle").attr("class","end-state-outer").attr("r",fu().state.sizeUnit+fu().state.miniPadding).attr("cx",fu().state.padding+fu().state.sizeUnit+fu().state.miniPadding).attr("cy",fu().state.padding+fu().state.sizeUnit+fu().state.miniPadding),d.append("circle").attr("class","end-state-inner").attr("r",fu().state.sizeUnit).attr("cx",fu().state.padding+fu().state.sizeUnit+2).attr("cy",fu().state.padding+fu().state.sizeUnit+2)),"fork"!==e.type&&"join"!==e.type||function(t,e){var n=fu().state.forkWidth,r=fu().state.forkHeight;if(e.parentId){var i=n;n=r,r=i}t.append("rect").style("stroke","black").style("fill","black").attr("width",n).attr("height",r).attr("x",fu().state.padding).attr("y",fu().state.padding)}(d,e),"note"===e.type&&mk(e.note.text,d),"divider"===e.type&&d.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",fu().state.textHeight).attr("class","divider").attr("x2",2*fu().state.textHeight).attr("y1",0).attr("y2",0),"default"===e.type&&0===e.descriptions.length&&(n=d.append("text").attr("x",2*fu().state.padding).attr("y",fu().state.textHeight+2*fu().state.padding).attr("font-size",fu().state.fontSize).attr("class","state-title").text(e.id).node().getBBox(),d.insert("rect",":first-child").attr("x",fu().state.padding).attr("y",fu().state.padding).attr("width",n.width+2*fu().state.padding).attr("height",n.height+2*fu().state.padding).attr("rx",fu().state.radius)),"default"===e.type&&e.descriptions.length>0&&(i=(r=d.append("text").attr("x",2*fu().state.padding).attr("y",fu().state.textHeight+1.3*fu().state.padding).attr("font-size",fu().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox()).height,a=d.append("text").attr("x",fu().state.padding).attr("y",i+.4*fu().state.padding+fu().state.dividerMargin+fu().state.textHeight).attr("class","state-description"),o=!0,s=!0,e.descriptions.forEach(function(t){var e,n;o||(e=s,n=a.append("tspan").attr("x",2*fu().state.padding).text(t),e||n.attr("dy",fu().state.textHeight),s=!1),o=!1}),c=d.append("line").attr("x1",fu().state.padding).attr("y1",fu().state.padding+i+fu().state.dividerMargin/2).attr("y2",fu().state.padding+i+fu().state.dividerMargin/2).attr("class","descr-divider"),u=Math.max((l=a.node().getBBox()).width,r.width),c.attr("x2",u+3*fu().state.padding),d.insert("rect",":first-child").attr("x",fu().state.padding).attr("y",fu().state.padding).attr("width",u+2*fu().state.padding).attr("height",l.height+i+2*fu().state.padding).attr("rx",fu().state.radius));var p=d.node().getBBox();
1return f.width=p.width+2*fu().state.padding,f.height=p.height+2*fu().state.padding,mv[h]=f,f},mT=0;me.parser.yy=mm;var mE={},mC=function t(e,n,r,i,a,s){var c,l=new(fL()).Graph({compound:!0,multigraph:!0}),u=!0;for(c=0;c<e.length;c++)if("relation"===e[c].stmt){u=!1;break}r?l.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:u?1:mx.edgeLengthFactor,nodeSep:u?1:50,isMultiGraph:!0}):l.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:u?1:mx.edgeLengthFactor,nodeSep:u?1:50,ranker:"tight-tree",isMultiGraph:!0}),l.setDefaultEdgeLabel(function(){return{}}),mm.extract(e);for(var h=mm.getStates(),f=mm.getRelations(),d=Object.keys(h),p=0;p<d.length;p++){var g=h[d[p]];r&&(g.parentId=r);var y=void 0;if(g.doc){var m=n.append("g").attr("id",g.id).attr("class","stateGroup");y=t(g.doc,m,g.id,!i,a,s);var v=(m=m_(m,g,i)).node().getBBox();y.width=v.width,y.height=v.height+mx.padding/2,mE[g.id]={y:mx.compositTitleSize}}else y=mw(n,g);if(g.note){var b=mw(n,{descriptions:[],id:g.id+"-note",note:g.note,type:"note"});"left of"===g.note.position?(l.setNode(y.id+"-note",b),l.setNode(y.id,y)):(l.setNode(y.id,y),l.setNode(y.id+"-note",b)),l.setParent(y.id,y.id+"-group"),l.setParent(y.id+"-note",y.id+"-group")}else l.setNode(y.id,y)}o.debug("Count=",l.nodeCount(),l);var x=0;f.forEach(function(t){var e;x++,o.debug("Setting edge",t),l.setEdge(t.id1,t.id2,{relation:t,width:(e=t.title)?e.length*mx.fontSizeFactor:1,height:mx.labelHeight*hg(t.title).length,labelpos:"c"},"id"+x)}),fB().layout(l),o.debug("Graph after layout",l.nodes());var _=n.node();l.nodes().forEach(function(t){void 0!==t&&void 0!==l.node(t)?(o.warn("Node "+t+": "+JSON.stringify(l.node(t))),a.select("#"+_.id+" #"+t).attr("transform","translate("+(l.node(t).x-l.node(t).width/2)+","+(l.node(t).y+(mE[t]?mE[t].y:0)-l.node(t).height/2)+" )"),a.select("#"+_.id+" #"+t).attr("data-x-shift",l.node(t).x-l.node(t).width/2),s.querySelectorAll("#"+_.id+" #"+t+" .divider").forEach(function(t){var e=t.parentElement,n=0,r=0;e&&(e.parentElement&&(n=e.parentElement.getBBox().width),Number.isNaN(r=parseInt(e.getAttribute("data-x-shift"),10))&&(r=0)),t.setAttribute("x1",0-r+8),t.setAttribute("x2",n-r-8)})):o.debug("No Node "+t+": "+JSON.stringify(l.node(t)))});var k=_.getBBox();
1l.edges().forEach(function(t){void 0!==t&&void 0!==l.edge(t)&&(o.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(l.edge(t))),function(t,e,n){e.points=e.points.filter(function(t){return!Number.isNaN(t.y)});var r=e.points,i=oh().x(function(t){return t.x}).y(function(t){return t.y}).curve(om),a=t.append("path").attr("d",i(r)).attr("id","edge"+mT).attr("class","transition"),s="";if(fu().state.arrowMarkerAbsolute&&(s=(s=(s=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),a.attr("marker-end","url("+s+"#"+function(t){switch(t){case mm.relationType.AGGREGATION:return"aggregation";case mm.relationType.EXTENSION:return"extension";case mm.relationType.COMPOSITION:return"composition";case mm.relationType.DEPENDENCY:return"dependency"}}(mm.relationType.DEPENDENCY)+"End)"),void 0!==n.title){for(var c=t.append("g").attr("class","stateLabel"),l=fe.calcLabelPosition(e.points),u=l.x,h=l.y,f=hg(n.title),d=0,p=[],g=0,y=0,m=0;m<=f.length;m++){var v=c.append("text").attr("text-anchor","middle").text(f[m]).attr("x",u).attr("y",h+d),b=v.node().getBBox();g=Math.max(g,b.width),y=Math.min(y,b.x),o.info(b.x,u,h+d),0===d&&(d=v.node().getBBox().height,o.info("Title height",d,h)),p.push(v)}var x=d*f.length;if(f.length>1){var _=(f.length-1)*d*.5;p.forEach(function(t,e){return t.attr("y",h+e*d-_)}),x=d*f.length}var k=c.node().getBBox();c.insert("rect",":first-child").attr("class","box").attr("x",u-g/2-fu().state.padding/2).attr("y",h-x/2-fu().state.padding/2-3.5).attr("width",g+fu().state.padding).attr("height",x+fu().state.padding),o.info(k)}mT++}(n,l.edge(t),l.edge(t).relation))});var w={id:r||"root",label:r||"root",width:0,height:0};return w.width=(k=_.getBBox()).width+2*mx.padding,w.height=k.height+2*mx.padding,o.debug("Doc rendered",w,l),w};let mS=function(t,e){mx=fu().state;var n,r=fu().securityLevel;"sandbox"===r&&(n=aq("#i"+e));var i=aq("sandbox"===r?n.nodes()[0].contentDocument.body:"body"),a="sandbox"===r?n.nodes()[0].contentDocument:document;me.parser.yy.clear(),me.parser.parse(t),o.debug("Rendering diagram "+t);var s=i.select("[id='".concat(e,"']"));s.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(fL()).Graph({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel(function(){return{}}),mC(mm.getRootDoc(),s,void 0,!1,i,a);var c=mx.padding,l=s.node().getBBox(),u=l.width+2*c,h=l.height+2*c;h7(s,h,1.75*u,mx.useMaxWidth),s.attr("viewBox","".concat(l.x-mx.padding," ").concat(l.y-mx.padding," ")+u+" "+h)};var mA={},mM={},mN=function(t,e,n,r){if("root"!==n.id){var i,a,s="rect";!0===n.start&&(s="start"),!1===n.start&&(s="end"),"default"!==n.type&&(s=n.type),mM[n.id]||(mM[n.id]={id:n.id,shape:s,description:hu(n.id,fu()),classes:"statediagram-state"}),n.description&&(Array.isArray(mM[n.id].description)?(mM[n.id].shape="rectWithTitle",mM[n.id].description.push(n.description)):mM[n.id].description.length>0?(mM[n.id].shape="rectWithTitle",mM[n.id].description===n.id?mM[n.id].description=[n.description]:mM[n.id].description=[mM[n.id].description,n.description]):(mM[n.id].shape="rect",mM[n.id].description=n.description),mM[n.id].description=(i=mM[n.id].description,a=fu(),"string"==typeof i?hu(i,a):i.flat().map(function(t){return hu(t,a)}))),1===mM[n.id].description.length&&"rectWithTitle"===mM[n.id].shape&&(mM[n.id].shape="rect"),!mM[n.id].type&&n.doc&&(o.info("Setting cluster for ",n.id,mO(n)),mM[n.id].type="group",mM[n.id].dir=mO(n),mM[n.id].shape="divider"===n.type?"divider":"roundedWithTitle",mM[n.id].classes=mM[n.id].classes+" "+(r?"statediagram-cluster statediagram-cluster-alt":"statediagram-cluster"));var c={labelStyle:"",shape:mM[n.id].shape,labelText:mM[n.id].description,classes:mM[n.id].classes,style:"",id:n.id,dir:mM[n.id].dir,domId:"state-"+n.id+"-"+mD,type:mM[n.id].type,padding:15};if(n.note){var l={labelStyle:"",shape:"note",labelText:n.note.text,classes:"statediagram-note",style:"",id:n.id+"----note-"+mD,domId:"state-"+n.id+"----note-"+mD,type:mM[n.id].type,padding:15},u={labelStyle:"",shape:"noteGroup",labelText:n.note.text,classes:mM[n.id].classes,style:"",id:n.id+"----parent",domId:"state-"+n.id+"----parent-"+mD,type:"group",padding:0};
1mD++,t.setNode(n.id+"----parent",u),t.setNode(l.id,l),t.setNode(n.id,c),t.setParent(n.id,n.id+"----parent"),t.setParent(l.id,n.id+"----parent");var h=n.id,f=l.id;"left of"===n.note.position&&(h=l.id,f=n.id),t.setEdge(h,f,{arrowhead:"none",arrowType:"",style:"fill:none",labelStyle:"",classes:"transition note-edge",arrowheadStyle:"fill: #333",labelpos:"c",labelType:"text",thickness:"normal"})}else t.setNode(n.id,c)}e&&"root"!==e.id&&(o.trace("Setting node ",n.id," to be child of its parent ",e.id),t.setParent(n.id,e.id)),n.doc&&(o.trace("Adding nodes children "),mB(t,n,n.doc,!r))},mD=0,mB=function(t,e,n,r){o.trace("items",n),n.forEach(function(n){if("state"===n.stmt||"default"===n.stmt)mN(t,e,n,r);else if("relation"===n.stmt){mN(t,e,n.state1,r),mN(t,e,n.state2,r);var i={id:"edge"+mD,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:"fill:none",labelStyle:"",label:hu(n.description,fu()),arrowheadStyle:"fill: #333",labelpos:"c",labelType:"text",thickness:"normal",classes:"transition"},a=n.state1.id,o=n.state2.id;t.setEdge(a,o,i,mD),mD++}})},mO=function(t,e){var n=e||"TB";if(t.doc)for(var r=0;r<t.doc.length;r++){var i=t.doc[r];"dir"===i.stmt&&(n=i.value)}return n};let mL=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)mA[e[n]]=t[e[n]]};function mI(t){return function(t){if(Array.isArray(t))return mF(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return mF(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mF(t,void 0):void 0}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mF(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var mP="",mR="",mj=[],mY=[],mU=[],mz=function(){for(var t=!0,e=0;e<mU.length;e++)mU[e].processed,t=t&&mU[e].processed;return t};let m$={parseDirective:function(t,e,n){vs.parseDirective(this,t,e,n)},getConfig:function(){return fu().journey},clear:function(){mj.length=0,mY.length=0,mR="",mP="",mU.length=0},setTitle:function(t){mP=t},getTitle:function(){return mP},addSection:function(t){mR=t,mj.push(t)},getSections:function(){return mj},getTasks:function(){for(var t=mz(),e=0;!t&&e<100;)t=mz(),e++;return mY.push.apply(mY,mU),mY},addTask:function(t,e){var n=e.substr(1).split(":"),r=0,i=[];1===n.length?(r=Number(n[0]),i=[]):(r=Number(n[0]),i=n[1].split(","));var a=i.map(function(t){return t.trim()}),o={section:mR,type:mR,people:a,task:t,score:r};mU.push(o)},addTaskOrg:function(t){var e={section:mR,type:mR,description:t,task:t,classes:[]};mY.push(e)},getActors:function(){var t;return t=[],mY.forEach(function(e){e.people&&t.push.apply(t,mI(e.people))}),mI(new Set(t)).sort()}};var mq=n(9763),mH=n.n(mq),mW=function(t,e){var n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},mV=function(t,e){var n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n},mG=-1,mX=function(){function t(t,e,n,i,a,o,s,c){r(e.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("font-color",c).style("text-anchor","middle").text(t),s)}function e(t,e,n,i,a,o,s,c,l){for(var u=c.taskFontSize,h=c.taskFontFamily,f=t.split(/<br\s*\/?>/gi),d=0;d<f.length;d++){var p=d*u-u*(f.length-1)/2,g=e.append("text").attr("x",n+a/2).attr("y",i).attr("fill",l).style("text-anchor","middle").style("font-size",u).style("font-family",h);g.append("tspan").attr("x",n+a/2).attr("dy",p).text(f[d]),g.attr("y",i+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(g,s)}}function n(t,n,i,a,o,s,c,l){var u=n.append("switch"),h=u.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,u,i,a,o,s,c,l),r(h,c)}function r(t,e){for(var n in e)n in e&&t.attr(n,e[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?t:e}}();let mZ=function(t,e,n){var r=t.append("g"),i={x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0};i.x=e.x,i.y=e.y,i.fill=e.fill,i.width=n.width,i.height=n.height,i.class="journey-section section-type-"+e.num,i.rx=3,i.ry=3,mW(r,i),mX(n)(e.text,r,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+e.num},n,e.colour)},mQ=function(t,e){var n=e.text.replace(/<br\s*\/?>/gi," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.attr("class","legend"),r.style("text-anchor",e.anchor),void 0!==e.class&&r.attr("class",e.class);var i=r.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.text(n),r},mK=function(t,e,n){var r,i,a,o,s=e.x+n.width/2,c=t.append("g");
1mG++,c.append("line").attr("id","task"+mG).attr("x1",s).attr("y1",e.y).attr("x2",s).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),a={cx:s,cy:300+30*(5-e.score),score:e.score},c.append("circle").attr("cx",a.cx).attr("cy",a.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),(o=c.append("g")).append("circle").attr("cx",a.cx-5).attr("cy",a.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),o.append("circle").attr("cx",a.cx+5).attr("cy",a.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),a.score>3?(r=oa().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2),o.append("path").attr("class","mouth").attr("d",r).attr("transform","translate("+a.cx+","+(a.cy+2)+")")):a.score<3?(i=oa().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2),o.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+a.cx+","+(a.cy+7)+")")):o.append("line").attr("class","mouth").attr("stroke",2).attr("x1",a.cx-5).attr("y1",a.cy+7).attr("x2",a.cx+5).attr("y2",a.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666");var l={x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0};l.x=e.x,l.y=e.y,l.fill=e.fill,l.width=n.width,l.height=n.height,l.class="task task-type-"+e.num,l.rx=3,l.ry=3,mW(c,l);var u=e.x+14;e.people.forEach(function(t){var n=e.actors[t].color;mV(c,{cx:u,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position}),u+=10}),mX(n)(e.task,c,l.x,l.y,l.width,l.height,{class:"task"},n,e.colour)};mq.parser.yy=m$;var mJ={},m0=fu().journey,m1=fu().journey.leftMargin,m2={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},updateVal:function(t,e,n,r){void 0===t[e]?t[e]=n:t[e]=r(n,t[e])},updateBounds:function(t,e,n,r){var i=fu().journey,a=this,o=0;this.sequenceItems.forEach(function(s){o++;var c=a.sequenceItems.length-o+1;a.updateVal(s,"starty",e-c*i.boxMargin,Math.min),a.updateVal(s,"stopy",r+c*i.boxMargin,Math.max),a.updateVal(m2.data,"startx",t-c*i.boxMargin,Math.min),a.updateVal(m2.data,"stopx",n+c*i.boxMargin,Math.max),a.updateVal(s,"startx",t-c*i.boxMargin,Math.min),a.updateVal(s,"stopx",n+c*i.boxMargin,Math.max),a.updateVal(m2.data,"starty",e-c*i.boxMargin,Math.min),a.updateVal(m2.data,"stopy",r+c*i.boxMargin,Math.max)})},insert:function(t,e,n,r){var i=Math.min(t,n),a=Math.max(t,n),o=Math.min(e,r),s=Math.max(e,r);this.updateVal(m2.data,"startx",i,Math.min),this.updateVal(m2.data,"starty",o,Math.min),this.updateVal(m2.data,"stopx",a,Math.max),this.updateVal(m2.data,"stopy",s,Math.max),this.updateBounds(i,o,a,s)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},m3=m0.sectionFills,m5=m0.sectionColours;let m4=function(t){Object.keys(t).forEach(function(e){m0[e]=t[e]})},m6=function(t,e){var n,r,i=fu().journey;mq.parser.yy.clear(),mq.parser.parse(t+"\n");var a,o=fu().securityLevel;"sandbox"===o&&(a=aq("#i"+e));var s=aq("sandbox"===o?a.nodes()[0].contentDocument.body:"body");"sandbox"===o&&a.nodes()[0].contentDocument,m2.init();var c=s.select("#"+e);c.attr("xmlns:xlink","http://www.w3.org/1999/xlink"),c.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 l=mq.parser.yy.getTasks(),u=mq.parser.yy.getTitle(),h=mq.parser.yy.getActors();for(var f in mJ)delete mJ[f];var d=0;h.forEach(function(t){mJ[t]={color:i.actorColours[d%i.actorColours.length],position:d},d++}),n=fu().journey,r=60,Object.keys(mJ).forEach(function(t){var e=mJ[t].color;mV(c,{cx:20,cy:r,r:7,fill:e,stroke:"#000",pos:mJ[t].position}),mQ(c,{x:40,y:r+7,fill:"#666",text:t,textMargin:5|n.boxTextMargin}),r+=20}),m2.insert(0,0,m1,50*Object.keys(mJ).length),function(t,e,n){for(var r=fu().journey,i="",a=0+(2*r.height+r.diagramMarginY),o=0,s="#CCC",c="black",l=0,u=0;u<e.length;u++){var h=e[u];i!==h.section&&(s=m3[o%m3.length],l=o%m3.length,c=m5[o%m5.length],mZ(t,{x:u*r.taskMargin+u*r.width+m1,y:50,text:h.section,fill:s,num:l,colour:c},r),i=h.section,o++);var f=h.people.reduce(function(t,e){return mJ[e]&&(t[e]=mJ[e]),t},{});h.x=u*r.taskMargin+u*r.width+m1,h.y=a,h.width=r.diagramMarginX,h.height=r.diagramMarginY,h.colour=c,h.fill=s,h.num=l,h.actors=f,mK(t,h,r),m2.insert(h.x,h.y,h.x+h.width+r.taskMargin,450)}}(c,l,0);var p=m2.getBounds();u&&c.append("text").text(u).attr("x",m1).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);var g=p.stopy-p.starty+2*i.diagramMarginY,y=m1+p.stopx+2*i.diagramMarginX;h7(c,g,y,i.useMaxWidth),c.append("line").attr("x1",m1).attr("y1",4*i.height).attr("x2",y-m1-4).attr("y2",4*i.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");var m=70*!!u;c.attr("viewBox","".concat(p.startx," -25 ").concat(y," ").concat(g+m)),c.attr("preserveAspectRatio","xMinYMin meet"),c.attr("height",g+m+25)};var m8={};let m7=function(t){return"g.classGroup text {\n fill: ".concat(t.no
1deBorder,";\n fill: ").concat(t.classText,";\n stroke: none;\n font-family: ").concat(t.fontFamily,";\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ").concat(t.classText,";\n}\n.edgeLabel .label rect {\n fill: ").concat(t.mainBkg,";\n}\n.label text {\n fill: ").concat(t.classText,";\n}\n.edgeLabel .label span {\n background: ").concat(t.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(t.mainBkg,";\n stroke: ").concat(t.nodeBorder,";\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ").concat(t.nodeBorder,";\n stroke: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ").concat(t.mainBkg,";\n stroke: ").concat(t.nodeBorder,";\n}\n\ng.classGroup line {\n stroke: ").concat(t.nodeBorder,";\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ").concat(t.mainBkg,";\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ").concat(t.nodeBorder,";\n font-size: 10px;\n}\n\n.relation {\n stroke: ").concat(t.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(t.lineColor," !important;\n stroke: ").concat(t.lineColor," !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ").concat(t.lineColor," !important;\n stroke: ").concat(t.lineColor," !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ").concat(t.lineColor," !important;\n stroke: ").concat(t.lineColor," !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ").concat(t.lineColor," !important;\n stroke: ").concat(t.lineColor," !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: ").concat(t.lineColor," !important;\n stroke: ").concat(t.lineColor," !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: ").concat(t.lineColor," !important;\n stroke: ").concat(t.lineColor," !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: ").concat(t.mainBkg," !important;\n stroke: ").concat(t.lineColor," !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: ").concat(t.mainBkg," !important;\n stroke: ").concat(t.lineColor," !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n}\n\n")},m9=function(t){return".label {\n font-family: ".concat(t.fontFamily,";\n color: ").concat(t.nodeTextColor||t.textColor,";\n }\n .cluster-label text {\n fill: ").concat(t.titleColor,";\n }\n .cluster-label span {\n color: ").concat(t.titleColor,";\n }\n\n .label text,span {\n fill: ").concat(t.nodeTextColor||t.textColor,";\n color: ").concat(t.nodeTextColor||t.textColor,";\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ").concat(t.mainBkg,";\n stroke: ").concat(t.nodeBorder,";\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ").concat(t.arrowheadColor,";\n }\n\n .edgePath .path {\n stroke: ").concat(t.lineColor,";\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ").concat(t.lineColor,";\n fill: none;\n }\n\n .edgeLabel {\n background-color: ").concat(t.edgeLabelBackground,";\n rect {\n opacity: 0.5;\n background-color: ").concat(t.edgeLabelBackground,";\n fill: ").concat(t.edgeLabelBackground,";\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ").concat(t.clusterBkg,";\n stroke: ").concat(t.clusterBorder,";\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ").concat(t.titleColor,";\n }\n\n .cluster span {\n color: ").concat(t.titleColor,";\n }\n /* .cluster div {\n color: ").concat(t.titleColor,";\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ").concat(t.fontFamily,";\n font-size: 12px;\n background: ").concat(t.tertiaryColor,";\n border: 1px solid ").concat(t.border2,";\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n")},vt=function(t){return"\ndefs #statediagram-barbEnd {\n fill: ".concat(t.transitionColor,";\n stroke: ").concat(t.transitionColor,";\n }
1\ng.stateGroup text {\n fill: ").concat(t.nodeBorder,";\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ").concat(t.textColor,";\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ").concat(t.stateLabelColor,";\n}\n\ng.stateGroup rect {\n fill: ").concat(t.mainBkg,";\n stroke: ").concat(t.nodeBorder,";\n}\n\ng.stateGroup line {\n stroke: ").concat(t.lineColor,";\n stroke-width: 1;\n}\n\n.transition {\n stroke: ").concat(t.transitionColor,";\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ").concat(t.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(t.noteBorderColor,";\n fill: ").concat(t.noteBkgColor,";\n\n text {\n fill: ").concat(t.noteTextColor,";\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ").concat(t.mainBkg,";\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ").concat(t.labelBackgroundColor,";\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ").concat(t.transitionLabelColor||t.tertiaryTextColor,";\n}\n.label div .edgeLabel {\n color: ").concat(t.transitionLabelColor||t.tertiaryTextColor,";\n}\n\n.stateLabel text {\n fill: ").concat(t.stateLabelColor,";\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ").concat(t.specialStateColor,";\n stroke: ").concat(t.specialStateColor,";\n}\n\n.node .fork-join {\n fill: ").concat(t.specialStateColor,";\n stroke: ").concat(t.specialStateColor,";\n}\n\n.node circle.state-end {\n fill: ").concat(t.innerEndBackground,";\n stroke: ").concat(t.background,";\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ").concat(t.compositeBackground||t.background,";\n // stroke: ").concat(t.background,";\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ").concat(t.stateBkg||t.mainBkg,";\n stroke: ").concat(t.stateBorder||t.nodeBorder,";\n stroke-width: 1px;\n}\n.node polygon {\n fill: ").concat(t.mainBkg,";\n stroke: ").concat(t.stateBorder||t.nodeBorder,";;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ").concat(t.lineColor,";\n}\n\n.statediagram-cluster rect {\n fill: ").concat(t.compositeTitleBackground,";\n stroke: ").concat(t.stateBorder||t.nodeBorder,";\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ").concat(t.stateLabelColor,";\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ").concat(t.stateBorder||t.nodeBorder,";\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ").concat(t.compositeBackground||t.background,";\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ").concat(t.altBackground?t.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(t.altBackground?t.altBackground:"#efefef",";\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ").concat(t.noteBkgColor,";\n stroke: ").concat(t.noteBorderColor,";\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ").concat(t.noteBkgColor,";\n stroke: ").concat(t.noteBorderColor,";\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ").concat(t.noteTextColor,";\n}\n\n.statediagram-note .nodeLabel {\n color: ").concat(t.noteTextColor,";\n}\n.statediagram .edgeLabel {\n color: red; // ").concat(t.noteTextColor,";\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ").concat(t.lineColor,";\n stroke: ").concat(t.lineColor,";\n stroke-width: 1;\n}\n")};var ve={flowchart:m9,"flowchart-v2":m9,sequence:function(t){return".actor {\n stroke: ".concat(t.actorBorder,";\n fill: ").concat(t.actorBkg,";\n }\n\n text.actor > tspan {\n fill: ").concat(t.actorTextColor,";\n stroke: none;\n }\n\n .actor-line {\n stroke: ").concat(t.actorLineColor,";\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ").concat(t.signalColor,";\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ").concat(t.signalColor,";\n }\n\n #arrowhead path {\n fill: ").concat(t.signalColor,";\n stroke: ").concat(t.signalColor,";\n }\n\n .sequenceNumber {\n fill: ").concat(t.sequenceNumberColor,";\n }\n\n #sequencenumber {\n fill: ").concat(t.signalColor,";\n }\n\n #crosshead path {\n fill: ").concat(t.signalColor,";\n stroke: ").concat(t.signalColor,";\n }\n\n .messageText {\n fill: ").concat(t.signalTextColor,";\n stroke: ").concat(t.signalTextColor,";\n }\n\n .labelBox {\n stroke: ").concat(t.labelBoxBorderColor,";\n fill: ").concat(t.labelBoxBkgColor,";\n }\n\n .labelText, .labelText > tspan {\n fill: ").concat(t.labelTextColor,";\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ").concat(t.loopTextColor,";\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ").concat(t.labelBoxBorderColor,";\n fill: ").concat(t.labelBoxBorderColor,";\n }\n\n .note {\n //stroke: #decc93;
1\n stroke: ").concat(t.noteBorderColor,";\n fill: ").concat(t.noteBkgColor,";\n }\n\n .noteText, .noteText > tspan {\n fill: ").concat(t.noteTextColor,";\n stroke: none;\n }\n\n .activation0 {\n fill: ").concat(t.activationBkgColor,";\n stroke: ").concat(t.activationBorderColor,";\n }\n\n .activation1 {\n fill: ").concat(t.activationBkgColor,";\n stroke: ").concat(t.activationBorderColor,";\n }\n\n .activation2 {\n fill: ").concat(t.activationBkgColor,";\n stroke: ").concat(t.activationBorderColor,";\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ").concat(t.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(t.actorBorder,";\n fill: ").concat(t.actorBkg,";\n }\n .actor-man circle, line {\n stroke: ").concat(t.actorBorder,";\n fill: ").concat(t.actorBkg,";\n stroke-width: 2px;\n }\n")},gantt:function(t){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(t.excludeBkgColor,";\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ").concat(t.sectionBkgColor,";\n }\n\n .section2 {\n fill: ").concat(t.sectionBkgColor2,";\n }\n\n .section1,\n .section3 {\n fill: ").concat(t.altSectionBkgColor,";\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ").concat(t.titleColor,";\n }\n\n .sectionTitle1 {\n fill: ").concat(t.titleColor,";\n }\n\n .sectionTitle2 {\n fill: ").concat(t.titleColor,";\n }\n\n .sectionTitle3 {\n fill: ").concat(t.titleColor,";\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ").concat(t.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(t.gridColor,";\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ").concat(t.fontFamily,";\n fill: ").concat(t.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(t.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(t.ganttFontSize,";\n // }\n\n .taskTextOutsideRight {\n fill: ").concat(t.taskTextDarkColor,";\n text-anchor: start;\n // font-size: ").concat(t.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(t.taskTextDarkColor,";\n text-anchor: end;\n // font-size: ").concat(t.ganttFontSize,";\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ").concat(t.taskTextClickableColor," !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ").concat(t.taskTextClickableColor," !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ").concat(t.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(t.taskTextColor,";\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ").concat(t.taskBkgColor,";\n stroke: ").concat(t.taskBorderColor,";\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ").concat(t.taskTextOutsideColor,";\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ").concat(t.taskTextOutsideColor,";\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ").concat(t.activeTaskBkgColor,";\n stroke: ").concat(t.activeTaskBorderColor,";\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ").concat(t.taskTextDarkColor," !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ").concat(t.doneTaskBorderColor,";\n fill: ").concat(t.doneTaskBkgColor,";\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ").concat(t.taskTextDarkColor," !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ").concat(t.critBorderColor,";\n fill: ").concat(t.critBkgColor,";\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ").concat(t.critBorderColor,";\n fill: ").concat(t.activeTaskBkgColor,";\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ").concat(t.critBorderColor,";\n fill: ").concat(t.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(t.taskTextDarkColor," !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ").concat(t.taskTextDarkColor," !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ").concat(t.textColor," ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n")},classDiagram:m7,"classDiagram-v2":m7,class:m7,stateDiagram:vt,state:vt,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(t){return"\n .pieCircle{\n stroke: ".concat(t.pieStrokeColor,";\n stroke-width : ").concat(t.pieStrokeWidth,";\n opacity : ").concat(t.pieOpacity,";\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ").concat(t.pieTitleTextSize,";\n fill: ").concat(t.pieTitleTextColor,";\n font-family: ").concat(t.fontFamily,";\n }\n .slice {\n font-family: ").concat(t.fontFamily,";\n fill: ").concat(t.pieSectionTextColor,";\n font-size:").concat(t.pieSectionTextSize,";\n // fill: white;\n }\n .legend text {\n fill: ").concat(t.pieLegendTextColor,";\n font-family: ").concat(t.fontFamily,";\n font-size: ").concat(t.pieLegendTextSize,";\n }\n")},er:function(t){return"\n .entityBox {\n fill: ".concat(t.mainBkg,";\n stroke: ").concat(t.nodeBorder,";\n }\n\n .attributeBoxOdd {\n fill: #ffffff;\n stroke: ").concat(t.nodeBorder,";\n }\n\n .attributeBoxEven {\n fill: #f2f2f2;\n stroke: ").concat(t.nodeBorder,";\n }\n\n .relationshipLabelBox {\n fill: ").concat(t.tertiaryColor,";\n opacity: 0.7;\n background-color: ").concat(t.tertiaryColor,";\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ").concat(t.lineColor,";\n }\n")},journey:function(t){return".label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ".concat(t.textColor,";\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ").concat(t.textColor,"\n }\n\n .legend {\n fill: ").concat(t.textColor,";\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ").concat(t.textColor,"\n }\n\n .face {\n ").concat(t.faceColor?"fill: ".concat(t.faceColor):"fill: #FFF8DC",";\n stroke: #999;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ").concat(t.mainBkg,";\n stroke: ").concat(t.nodeBorder,";\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ").concat(t.arrowheadColor,";\n }\n\n .edgePath .path {\n stroke: ").concat(t.lineColor,";\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ").concat(t.lineColor,";\n fill: none;\n }\n\n .edgeLabel {\n background-color: ").concat(t.edgeLabelBackground,";\n rect {\n opacity: 0.5;\n }\n text-align: center;\n }\n\n .cluster rect {\n }\n\n .cluster text {\n fill: ").concat(t.titleColor,";\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ").concat(t.tertiaryColor,";\n border: 1px solid ").concat(t.border2,";\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ").concat(t.fillType0?"fill: ".concat(t.fillType0):"",";\n }\n .task-type-1, .section-type-1 {\n ").concat(t.fillType0?"fill: ".concat(t.fillType1):"",";\n }\n .task-type-2, .section-type-2 {\n ").concat(t.fillType0?"fill: ".concat(t.fillType2):"",";\n }\n .task-type-3, .section-type-3 {\n ").concat(t.fillType0?"fill: ".concat(t.fillType3):"",";\n }\n .task-type-4, .section-type-4 {\n ").concat(t.fillType0?"fill: ".concat(t.fillType4):"",";\n }\n .task-type-5, .section-type-5 {\n ").concat(t.fillType0?"fill: ".concat(t.fillType5):"",";\n }\n .task-type-6, .section-type-6 {\n ").concat(t.fillType0?"fill: ".concat(t.fillType6):"",";\n }\n .task-type-7, .section-type-7 {\n ").concat(t.fillType0?"fill: ".concat(t.fillType7):"",";\n }\n\n .actor-0 {\n ").concat(t.actor0?"fill: ".concat(t.actor0):"",";\n }\n .actor-1 {\n ").concat(t.actor1?"fill: ".concat(t.actor1):"",";\n }\n .actor-2 {\n ").concat(t.actor2?"fill: ".concat(t.actor2):"",";\n }\n .actor-3 {\n ").concat(t.actor3?"fill: ".concat(t.actor3):"",";\n }\n .actor-4 {\n ").concat(t.actor4?"fill: ".concat(t.actor4):"",";\n }\n .actor-5 {\n ").concat(t.actor5?"fill: ".concat(t.actor5):"",";\n }\n\n }\n")},requirement:function(t){return"\n\n marker {\n fill: ".concat(t.relationColor,";\n stroke: ").concat(t.relationColor,";\n }\n\n marker.cross {\n stroke: ").concat(t.lineColor,";\n }\n\n svg {\n font-family: ").concat(t.fontFamily,";\n font-size: ").concat(t.fontSize,";\n }
1\n\n .reqBox {\n fill: ").concat(t.requirementBackground,";\n fill-opacity: 100%;\n stroke: ").concat(t.requirementBorderColor,";\n stroke-width: ").concat(t.requirementBorderSize,";\n }\n \n .reqTitle, .reqLabel{\n fill: ").concat(t.requirementTextColor,";\n }\n .reqLabelBox {\n fill: ").concat(t.relationLabelBackground,";\n fill-opacity: 100%;\n }\n\n .req-title-line {\n stroke: ").concat(t.requirementBorderColor,";\n stroke-width: ").concat(t.requirementBorderSize,";\n }\n .relationshipLine {\n stroke: ").concat(t.relationColor,";\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ").concat(t.relationLabelColor,";\n }\n\n")}};function vn(t){return(vn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var vr=function(t){var e=t;return(e=(e=e.replace(/ï¬Â°Â°/g,function(){return"&#"})).replace(/ï¬Â°/g,function(){return"&"})).replace(/¶Ã/g,function(){return";"})},vi={};function va(t){var e;gD(t.git),pD(t.flowchart),pL(t.flowchart),void 0!==t.sequenceDiagram&&y4(h1(t.sequence,t.sequenceDiagram)),y4(t.sequence),t.gantt,fX(t.class),t.state,mL(t.state),gR(t.class),dV(t.er),m4(t.journey),yt(t.requirement),Object.keys(e=t.class).forEach(function(t){m8[t]=e[t]})}var vo=Object.freeze({render:function(t,e,n,r){fd();var i,a,s,c,l,u,h,f,d=e,p=fe.detectInit(d);p&&(h9(p),ff(p));var g=fu();e.length>g.maxTextSize&&(d="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");var y=aq("body");if(void 0!==r){if("sandbox"===g.securityLevel){var m=aq("body").append("iframe").attr("id","i"+t).attr("style","width: 100%; height: 100%;").attr("sandbox","");(y=aq(m.nodes()[0].contentDocument.body)).node().style.margin=0}if(r.innerHTML="","sandbox"===g.securityLevel){var v=aq(r).append("iframe").attr("id","i"+t).attr("style","width: 100%; height: 100%;").attr("sandbox","");(y=aq(v.nodes()[0].contentDocument.body)).node().style.margin=0}else y=aq(r);y.append("div").attr("id","d"+t).attr("style","font-family: "+g.fontFamily).append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg").append("g")}else{var b,x=document.getElementById(t);if(x&&x.remove(),(b="sandbox"!==g.securityLevel?document.querySelector("#d"+t):document.querySelector("#i"+t))&&b.remove(),"sandbox"===g.securityLevel){var _=aq("body").append("iframe").attr("id","i"+t).attr("style","width: 100%; height: 100%;").attr("sandbox","");(y=aq(_.nodes()[0].contentDocument.body)).node().style.margin=0}else y=aq("body");y.append("div").attr("id","d"+t).append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg").append("g")}d=d.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)}).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)}).replace(/#\w+;/g,function(t){var e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"ï¬\xb0\xb0"+e+"\xb6\xdf":"ï¬\xb0"+e+"\xb6\xdf"});var k=y.select("#d"+t).node(),w=fe.detectType(d,g),T=k.firstChild,E=T.firstChild,C="";if(void 0!==g.themeCSS&&(C+="\n".concat(g.themeCSS)),void 0!==g.fontFamily&&(C+="\n:root { --mermaid-font-family: ".concat(g.fontFamily,"}")),void 0!==g.altFontFamily&&(C+="\n:root { --mermaid-alt-font-family: ".concat(g.altFontFamily,"}")),"flowchart"===w||"flowchart-v2"===w||"graph"===w){var S=function(t){o.info("Extracting classes"),pu.clear();try{var e=pf().parser;return e.yy=pu,e.parse(t),pu.getClasses()}catch(t){return}}(d),A=g.htmlLabels||g.flowchart.htmlLabels;for(var M in S)A?(C+="\n.".concat(M," > * { ").concat(S[M].styles.join(" !important; ")," !important; }"),C+="\n.".concat(M," span { ").concat(S[M].styles.join(" !important; ")," !important; }")):(C+="\n.".concat(M," path { ").concat(S[M].styles.join(" !important; ")," !important; }"),C+="\n.".concat(M," rect { ").concat(S[M].styles.join(" !important; ")," !important; }"),C+="\n.".concat(M," polygon { ").concat(S[M].styles.join(" !important; ")," !important; }"),C+="\n.".concat(M," ellipse { ").concat(S[M].styles.join(" !important; ")," !important; }
1"),C+="\n.".concat(M," circle { ").concat(S[M].styles.join(" !important; ")," !important; }"),S[M].textStyles&&(C+="\n.".concat(M," tspan { ").concat(S[M].textStyles.join(" !important; ")," !important; }")))}var N=(s="#".concat(t),i=C,a=g.themeVariables,c=" {\n font-family: ".concat(a.fontFamily,";\n font-size: ").concat(a.fontSize,";\n fill: ").concat(a.textColor,"\n }\n\n /* Classes common for multiple diagrams */\n\n .error-icon {\n fill: ").concat(a.errorBkgColor,";\n }\n .error-text {\n fill: ").concat(a.errorTextColor,";\n stroke: ").concat(a.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(a.lineColor,";\n stroke: ").concat(a.lineColor,";\n }\n .marker.cross {\n stroke: ").concat(a.lineColor,";\n }\n\n svg {\n font-family: ").concat(a.fontFamily,";\n font-size: ").concat(a.fontSize,";\n }\n\n ").concat(ve[w](a),"\n\n ").concat(i,"\n"),uJ((h=function t(e,n,r,i,a,o,s,c,l){for(var u,h,f=0,d=0,p=s,g=0,y=0,m=0,v=1,b=1,x=1,_=0,k="",w=a,T=o,E=i,C=k;b;)switch(m=_,_=u7()){case 40:if(108!=m&&58==C.charCodeAt(p-1)){-1!=(h=C+=uG(he(_),"&","&\f"),h.indexOf("&\f"))&&(x=-1);break}case 34:case 39:case 91:C+=he(_);break;case 9:case 10:case 13:case 32:C+=function(t){for(;(u4=u9())&&u4<33;)u7();return ht(t)>2||ht(u4)>3?"":" "}(m);break;case 92:C+=function(t,e){for(var n;--e&&u7()&&!(u4<48||u4>102||u4>57&&u4<65||u4>70&&u4<97););return n=u5+(e<6&&32==u9()&&32==u7()),uZ(u6,t,n)}(u5-1,7);continue;case 47:switch(u9()){case 42:case 47:uK((u=function(t,e){for(;u7()&&t+u4!==57&&(t+u4!==84||47!==u9()););return"/*"+uZ(u6,e,u5-1)+"*"+uV(47===t?t:u7())}(u7(),u5),u8(u,n,r,u$,uV(u4),uZ(u,2,-2),0)),l);break;default:C+="/"}break;case 123*v:c[f++]=uQ(C)*x;case 125*v:case 59:case 0:switch(_){case 0:case 125:b=0;case 59+d:y>0&&uQ(C)-p&&uK(y>32?hr(C+";",i,r,p-1):hr(uG(C," ","")+";",i,r,p-2),l);break;case 59:C+=";";default:if(uK(E=hn(C,n,r,f,d,a,c,k,w=[],T=[],p),o),123===_)if(0===d)t(C,n,E,E,w,o,p,c,T);else switch(g){case 100:case 109:case 115:t(e,E,E,i&&uK(hn(e,E,E,0,0,a,c,k,a,w=[],p),T),a,T,p,c,i?w:T);break;default:t(C,E,E,E,[""],T,0,c,T)}}f=d=y=0,v=x=1,k=C="",p=s;break;case 58:p=1+uQ(C),y=m;default:if(v<1){if(123==_)--v;else if(125==_&&0==v++&&125==(u4=u5>0?uX(u6,--u5):0,u2--,10===u4&&(u2=1,u1--),u4))continue}switch(C+=uV(_),_*v){case 38:x=d>0?1:(C+="\f",-1);break;case 44:c[f++]=(uQ(C)-1)*x,x=1;break;case 64:45===u9()&&(C+=he(u7())),g=u9(),d=p=uQ(k=C+=function(t){for(;!ht(u9());)u7();return uZ(u6,t,u5)}(u5)),_++;break;case 45:45===m&&2==uQ(C)&&(v=0)}}return o}("",null,null,null,[""],(u=l="".concat(s,"{").concat(c,"}"),u1=u2=1,u3=uQ(u6=u),u5=0,l=[]),0,[0],l),u6="",h),u0)),D=document.createElement("style");D.innerHTML="#".concat(t," ")+N,T.insertBefore(D,E);try{switch(w){case"git":g.flowchart.arrowMarkerAbsolute=g.arrowMarkerAbsolute,gD(g.git),function(t,e,n){try{var r,i=gT().parser;i.yy=g_,i.yy.clear();var a,s=fu().securityLevel;"sandbox"===s&&(a=aq("#i"+e));var c=aq("sandbox"===s?a.nodes()[0].contentDocument.body:"body");"sandbox"===s&&a.nodes()[0].contentDocument,o.debug("in gitgraph renderer",t+"\n","id:",e,n),i.parse(t+"\n"),gC=Object.assign(gC,gS,g_.getOptions()),o.debug("effective options",gC);var l=g_.getDirection();gE=g_.getCommits();var u=g_.getBranchesAsObjArray();"BT"===l&&(gC.nodeLabel.x=u.length*gC.branchOffset,gC.nodeLabel.width="100%",gC.nodeLabel.y=-2*gC.nodeRadius);var h=c.select('[id="'.concat(e,'"]'));for(var f in(r=h).append("defs").append("g").attr("id","def-commit").append("circle").attr("r",gC.nodeRadius).attr("cx",0).attr("cy",0),r.select("#def-commit").append("foreignObject").attr("width",gC.nodeLabel.width).attr("height",gC.nodeLabel.height).attr("x",gC.nodeLabel.x).attr("y",gC.nodeLabel.y).attr("class","node-label").attr("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility").append("p").html(""),gk=1,u){var d=u[f];(function t(e,n,r,i){var a,s=Object.keys(gE).length;if("string"==typeof n){var c=0;do{if(c++,a=gE[n],o.debug("in renderCommitHistory",a.id,a.seq),e.select("#node-"+n).size()>0)return;e.append(function(){return e.select("#def-commit").node().cloneNode(!0)}).attr("class","commit").attr("id",function(){return"node-"+a.id}).attr("transform",function(){switch(i){case"LR":return"translate("+(a.seq*gC.nodeSpacing+gC.leftMargin)+", "+gk*gC.branchOffset+")";case"BT":return"translate("+(gk*gC.branchOffset+gC.leftMargin)+", "+(s-a.seq)*gC.nodeSpacing+")"}}).attr("fill",gC.nodeFillColor).attr("stroke",gC.nodeStrokeColor).attr("stroke-width",gC.nodeStrokeWidth);var l=void 0;for(var u in r)if(r[u].commit===a){l=r[u];break}l&&(o.debug("found branch ",l.name),e.select("#node-"+a.id+" p").append("xhtml:span").attr("class","branch-label").text(l.name+", ")),e.select("#node-"+a.id+" p").append("xhtml:span").attr("class","commit-id").text(a.id),""!==a.message&&"BT"===i&&e.select("#node-"+a.id+" p").append("xhtml:span").attr("class","commit-msg").text(", "+a.message),n=a.parent}while(n&&gE[n]&&c<1e3)}Array.isArray(n)&&(o.debug("found merge commmit",n),t(e,n[0],r,i),gk++,t(e,n[1],r,i),gk--)})(h,d.commit.id,u,l),function t(e,n,r,i){i=i||0;for(var a=0;n.seq>0&&!n.lineDrawn&&a<1e3;)a++,"string"==typeof n.parent?(gN(e,n.id,n.parent,r,i),n.lineDrawn=!0,n=gE[n.parent]):Array.isArray(n.parent)&&(gN(e,n.id,n.parent[0],r,i),gN(e,n.id,n.parent[1],r,i+1),t(e,gE[n.parent[1]],r,i+1),n.lineDrawn=!0,n=gE[n.parent[0]])}(h,d.commit,l),gk++}
1h.attr("height",function(){return"BT"===l?Object.keys(gE).length*gC.nodeSpacing:(u.length+1)*gC.branchOffset})}catch(t){o.error("Error while rendering gitgraph"),o.error(t.message)}}(d,t,!1);break;case"flowchart":g.flowchart.arrowMarkerAbsolute=g.arrowMarkerAbsolute,pD(g.flowchart),pB(d,t);break;case"flowchart-v2":g.flowchart.arrowMarkerAbsolute=g.arrowMarkerAbsolute,pL(g.flowchart),pI(d,t);break;case"sequence":g.sequence.arrowMarkerAbsolute=g.arrowMarkerAbsolute,g.sequenceDiagram?(y4(Object.assign(g.sequence,g.sequenceDiagram)),console.error("`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.")):y4(g.sequence),mt(d,t);break;case"gantt":g.gantt.arrowMarkerAbsolute=g.arrowMarkerAbsolute,g.gantt,gl(d,t);break;case"class":g.class.arrowMarkerAbsolute=g.arrowMarkerAbsolute,fX(g.class),fZ(d,t);break;case"classDiagram":g.class.arrowMarkerAbsolute=g.arrowMarkerAbsolute,f=g.class,Object.keys(f).forEach(function(t){dS[t]=f[t]}),function(t,e){o.info("Drawing class - ",e),fN.clear(),fI.parser.parse(t);var n,r,i=fu().flowchart,a=fu().securityLevel;o.info("config:",i);var s,c=i.nodeSpacing||50,l=i.rankSpacing||50,u=new(fL()).Graph({multigraph:!0,compound:!0}).setGraph({rankdir:fN.getDirection(),nodesep:c,ranksep:l,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),h=fN.getClasses(),f=fN.getRelations();o.info(f),n=Object.keys(h),o.info("keys:",n),o.info(h),n.forEach(function(t){var e=h[t],n="";e.cssClasses.length>0&&(n=n+" "+e.cssClasses.join(" "));var r={labelStyle:""},i=void 0!==e.text?e.text:e.id;e.type,u.setNode(e.id,{labelStyle:r.labelStyle,shape:"class_box",labelText:hu(i,fu()),classData:e,rx:0,ry:0,class:n,style:r.style,id:e.id,domId:e.domId,haveCallback:e.haveCallback,link:e.link,width:"group"===e.type?500:void 0,type:e.type,padding:fu().flowchart.padding}),o.info("setNode",{labelStyle:r.labelStyle,shape:"class_box",labelText:i,rx:0,ry:0,class:n,style:r.style,id:e.id,width:"group"===e.type?500:void 0,type:e.type,padding:fu().flowchart.padding})}),r=0,f.forEach(function(t){r++;var e={classes:"relation"};e.pattern=1==t.relation.lineType?"dashed":"solid",e.id="id"+r,"arrow_open"===t.type?e.arrowhead="none":e.arrowhead="normal",o.info(e,t),e.startLabelRight="none"===t.relationTitle1?"":t.relationTitle1,e.endLabelLeft="none"===t.relationTitle2?"":t.relationTitle2,e.arrowTypeStart=dA(t.relation.type1),e.arrowTypeEnd=dA(t.relation.type2);var n="",i="";if(void 0!==t.style){var a=hQ(t.style);n=a.style,i=a.labelStyle}else n="fill:none";e.style=n,e.labelStyle=i,void 0!==t.interpolate?e.curve=hX(t.interpolate,oc):void 0!==f.defaultInterpolate?e.curve=hX(f.defaultInterpolate,oc):e.curve=hX(dS.curve,oc),t.text=t.title,void 0===t.text?void 0!==t.style&&(e.arrowheadStyle="fill: #333"):(e.arrowheadStyle="fill: #333",e.labelpos="c",fu().flowchart.htmlLabels?(e.labelType="html",e.label='<span class="edgeLabel">'+t.text+"</span>"):(e.labelType="text",e.label=t.text.replace(hh,"\n"),void 0===t.style&&(e.style=e.style||"stroke: #333; stroke-width: 1.5px;fill:none"),e.labelStyle=e.labelStyle.replace("color:","fill:"))),u.setEdge(t.id1,t.id2,e,r)}),"sandbox"===a&&(s=aq("#i"+e));var d=aq("sandbox"===a?s.nodes()[0].contentDocument.body:"body"),p=d.select('[id="'.concat(e,'"]'));p.attr("xmlns:xlink","http://www.w3.org/1999/xlink");var g=d.select("#"+e+" g");dC(g,u,["aggregation","extension","composition","dependency"],"classDiagram",e);var y=p.node().getBBox(),m=y.width+16,v=y.height+16;if(o.debug("new ViewBox 0 0 ".concat(m," ").concat(v),"translate(".concat(8-u._label.marginx,", ").concat(8-u._label.marginy,")")),h7(p,v,m,i.useMaxWidth),p.attr("viewBox","0 0 ".concat(m," ").concat(v)),p.select("g").attr("transform","translate(".concat(8-u._label.marginx,", ").concat(8-y.y,")")),!i.htmlLabels)for(var b="sandbox"===a?s.nodes()[0].contentDocument:document,x=b.querySelectorAll('[id="'+e+'"] .edgeLabel .label'),_=0;_<x.length;_++){var k=x[_],w=k.getBBox(),T=b.createElementNS("http://www.w3.org/2000/svg","rect");T.setAttribute("rx",0),T.setAttribute("ry",0),T.setAttribute("width",w.width),T.setAttribute("height",w.height),k.insertBefore(T,k.firstChild)}}(d,t);break;case"state":g.class.arrowMarkerAbsolute=g.arrowMarkerAbsolute,g.state,mS(d,t);break;case"stateDiagram":g.class.arrowMarkerAbsolute=g.arrowMarkerAbsolute,mL(g.state),function(t,e){o.info("Drawing state diagram (v2)",e),mm.clear(),mM={};var n=mn().parser;n.yy=mm,n.parse(t);var r=mm.getDirection();void 0===r&&(r="LR");var i=fu().state,a=i.nodeSpacing||50,s=i.rankSpacing||50,c=fu().securityLevel;o.info(mm.getRootDocV2()),mm.extract(mm.getRootDocV2()),o.info(mm.getRootDocV2());var l,u=new(fL()).Graph({multigraph:!0,compound:!0}).setGraph({rankdir:mO(mm.getRootDocV2()),nodesep:a,ranksep:s,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});mN(u,void 0,mm.getRootDocV2(),!0),"sandbox"===c&&(l=aq("#i"+e));var h=aq("sandbox"===c?l.nodes()[0].contentDocument.body:"body"),f=("sandbox"===c?l.nodes()[0].contentDocument:document,h.select('[id="'.concat(e,'"]'))),d=h.select("#"+e+" g");dC(d,u,["barb"],"statediagram",e);var p=f.node().getBBox(),g=p.width+16,y=p.height+16;f.attr("class","statediagram");var m=f.node().getBBox();h7(f,y,1.75*g,i.useMaxWidth);var v="".concat(m.x-8," ").concat(m.y-8," ").concat(g," ").concat(y);o.debug("viewBox ".concat(v)),f.attr("viewBox",v);for(var b=document.querySelectorAll('[id="'+e+'"] .edgeLabel .label'),x=0;x<b.length;x++){var _=b[x],k=_.getBBox(),w=document.createElementNS("http://www.w3.org/2000/svg","rect");w.setAttribute("rx",0),w.setAttribute("ry",0),w.setAttribute("width",k.width),w.setAttribute("height",k.height),_.insertBefore(w,_.firstChild)}}(d,t);break;case"info":g.class.arrowMarkerAbsolute=g.arrowMarkerAbsolute,gR(g.class),function(t,e,n){try{var r=gF().parser;r.yy=gL,o.debug("Renering info diagram\n"+t);var i,a=fu().securityLevel;"sandbox"===a&&(i=aq("#i"+e));var s=aq("sandbox"===a?i.nodes()[0].contentDocument.body:"body");"sandbox"===a&&i.nodes()[0].contentDocument,r.parse(t),o.debug("Parsed info diagram");var c=s.select("#"+e);c.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n),c.attr("height",100),c.attr("width",400)}catch(t){o.error("Error while rendering info diagram"),o.error(t.message)}}(d,t,hi);break;case"pie":gV(d,t);break;case"er":dV(g.er),dG(d,t);break;case"journey":m4(g.journey),m6(d,t);break;case"requirement":yt(g.requirement),ye(d,t)}}catch(e){throw function(t,e){try{o.debug("Renering svg for syntax error\n");var n=aq("#"+t),r=n.append("g");r.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"),r.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"),r.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"),r.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"),r.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"),r.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"),r.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"),r.append("text").attr("class","error-text").attr("x",1050).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+e),n.attr("height",100),n.attr("width",400),n.attr("viewBox","768 0 512 512")}catch(t){o.error("Error while rendering info diagram"),o.error(t.message)}}(t,hi),e}y.select('[id="'.concat(t,'"]')).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");var B=y.select("#d"+t).node().innerHTML;if(o.debug("cnf.arrowMarkerAbsolute",g.arrowMarkerAbsolute),g.arrowMarkerAbsolute&&"false"!==g.arrowMarkerAbsolute||"sandbox"===g.arrowMarkerAbsolute||(B=B.replace(/marker-end="url\(.*?#/g,'marker-end="url(#',"g")),B=(B=vr(B)).replace(/<br>/g,"<br/>"),"sandbox"===g.securityLevel){var O=y.select("#d"+t+" svg").node(),L="100%";O&&(L=O.viewBox.baseVal.height+"px"),B='<iframe style="width:'.concat("100%",";height:").concat(L,';border:0;margin:0;" src="data:text/html;base64,').concat(btoa('<body style="margin:0">'+B+"</body>"),'" sandbox="allow-top-navigation-by-user-activation allow-popups">\n The âiframeâ tag is not supported by your browser.\n</iframe>')}if(void 0!==n)switch(w){case"flowchart":case"flowchart-v2":n(B,pu.bindFunctions);break;case"gantt":n(B,gi.bindFunctions);break;case"class":case"classDiagram":n(B,fN.bindFunctions);break;default:n(B)}else o.debug("CB = undefined!");yC.forEach(function(t){t()}),yC=[];var I="sandbox"===g.securityLevel?"#i"+t:"#d"+t,F=aq(I).node();return null!==F&&"function"==typeof F.remove&&aq(I).node().remove(),B},parse:function(t){var e=fu(),n=fe.detectInit(t,e);n&&o.debug("reinit ",n);var r,i=fe.detectType(t,e);switch(o.debug("Type "+i),i){case"git":(r=gT()).parser.yy=g_;break;case"flowchart":case"flowchart-v2":pu.clear(),(r=pf()).parser.yy=pu;break;case"sequence":(r=yr()).parser.yy=yE;break;case"gantt":(r=gc()).parser.yy=gi;break;case"class":case"classDiagram":(r=fF()).parser.yy=fN;break;case"state":case"stateDiagram":(r=mn()).parser.yy=mm;break;case"info":o.debug("info info info"),(r=gF()).parser.yy=gL;break;case"pie":o.debug("pie"),(r=gY()).parser.yy=gq;break;case"er":o.debug("er"),(r=dI()).parser.yy=dO;break;case"journey":o.debug("Journey"),(r=mH()).parser.yy=m$;break;case"requirement":case"requirementDiagram":o.debug("RequirementDiagram"),(r=gX()).parser.yy=g1}return r.parser.yy.graphType=i,r.parser.yy.parseError=function(t,e){throw{str:t,hash:e}},r.parse(t),r},parseDirective:function(t,e,n,r){try{if(void 0!==e)switch(e=e.trim(),n){case"open_directive":vi={};break;case"type_directive":vi.type=e.toLowerCase();break;case"arg_directive":vi.args=JSON.parse(e);break;case"close_directive":(function(t,e,n){switch(o.debug("Directive type=".concat(e.type," with args:"),e.args),e.type){case"init":case"initialize":["config"].forEach(function(t){void 0!==e.args[t]&&("flowchart-v2"===n&&(n="flowchart"),e.args[n]=e.args[t],delete e.args[t])}),o.debug("sanitize in handleDirective",e.args),h9(e.args),o.debug("sanitize in handleDirective (done)",e.args),e.args,ff(e.args);break;case"wrap":case"nowrap":t&&t.setWrap&&t.setWrap("wrap"===e.type);break;case"themeCss":o.warn("themeCss encountered");break;default:o.warn("Unhandled directive: source: '%%{".concat(e.type,": ").concat(JSON.stringify(e.args?e.args:{}),"}%%"),e)}})(t,vi,r),vi=null}}catch(t){o.error("Error while rendering sequenceDiagram directive: ".concat(e," jison context: ").concat(n)),o.error(t.message)}},initialize:function(t){t&&t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),fr=h1({},t),t&&t.theme&&hM[t.theme]?t.themeVariables=hM[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=hM.default.getThemeVariables(t.themeVariables));var e="object"===vn(t)?(fa=h1({},fi),fa=h1(fa,t),t.theme&&(fa.themeVariables=hM[t.theme].getThemeVariables(t.themeVariables)),fs=fc(fa,fo),fa):fl();va(e),s(e.logLevel)},reinitialize:function(){},getConfig:fu,setConfig:function(t){return h1(fs,t),fu()},getSiteConfig:fl,updateSiteConfig:function(t){return fc(fa=h1(fa,t),fo),fa},reset:function(){fd()}
1,globalReset:function(){fd(),va(fu())},defaultConfig:fi});s(fu().logLevel),fd(fu());let vs=vo;var vc=function(){vl.startOnLoad?vs.getConfig().startOnLoad&&vl.init():void 0===vl.startOnLoad&&(o.debug("In start, no config"),vs.getConfig().startOnLoad&&vl.init())};"undefined"!=typeof document&&window.addEventListener("load",function(){vc()},!1);var vl={startOnLoad:!0,htmlLabels:!0,mermaidAPI:vs,parse:vs.parse,render:vs.render,init:function(){var t,e,n=this,r=vs.getConfig();arguments.length>=2?(void 0!==arguments[0]&&(vl.sequenceConfig=arguments[0]),t=arguments[1]):t=arguments[0],"function"==typeof arguments[arguments.length-1]?(e=arguments[arguments.length-1],o.debug("Callback function found")):void 0!==r.mermaid&&("function"==typeof r.mermaid.callback?(e=r.mermaid.callback,o.debug("Callback function found")):o.debug("No Callback function found")),t=void 0===t?document.querySelectorAll(".mermaid"):"string"==typeof t?document.querySelectorAll(t):t instanceof window.Node?[t]:t,o.debug("Start On Load before: "+vl.startOnLoad),void 0!==vl.startOnLoad&&(o.debug("Start On Load inner: "+vl.startOnLoad),vs.updateSiteConfig({startOnLoad:vl.startOnLoad})),void 0!==vl.ganttConfig&&vs.updateSiteConfig({gantt:vl.ganttConfig});for(var i,a=new fe.initIdGeneratior(r.deterministicIds,r.deterministicIDSeed),s=0;s<t.length;s++)!function(r){var s=t[r];if(!s.getAttribute("data-processed")){s.setAttribute("data-processed",!0);var c="mermaid-".concat(a.next());i=s.innerHTML,i=fe.entityDecode(i).trim().replace(/<br\s*\/?>/gi,"<br/>");var l=fe.detectInit(i);l&&o.debug("Detected early reinit: ",l);try{vs.render(c,i,function(t,n){s.innerHTML=t,void 0!==e&&e(c),n&&n(s)},s)}catch(t){o.warn("Syntax Error rendering"),o.warn(t),n.parseError&&n.parseError(t)}}}(s)},initialize:function(t){void 0!==t.mermaid&&(void 0!==t.mermaid.startOnLoad&&(vl.startOnLoad=t.mermaid.startOnLoad),void 0!==t.mermaid.htmlLabels&&(vl.htmlLabels="false"!==t.mermaid.htmlLabels&&!1!==t.mermaid.htmlLabels)),vs.initialize(t)},contentLoaded:vc};let vu=vl},4949:(t,e,n)=>{t.exports={graphlib:n(6614),dagre:n(1463),intersect:n(8114),render:n(5787),util:n(8355),version:n(5689)}},9144:(t,e,n)=>{var r=n(8355);function i(t,e,n,i){var a=t.append("marker").attr("id",e).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");r.applyStyle(a,n[i+"Style"]),n[i+"Class"]&&a.attr("class",n[i+"Class"])}t.exports={default:i,normal:i,vee:function(t,e,n,i){var a=t.append("marker").attr("id",e).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");r.applyStyle(a,n[i+"Style"]),n[i+"Class"]&&a.attr("class",n[i+"Class"])},undirected:function(t,e,n,i){var a=t.append("marker").attr("id",e).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");r.applyStyle(a,n[i+"Style"]),n[i+"Class"]&&a.attr("class",n[i+"Class"])}}},5632:(t,e,n)=>{var r=n(8355),i=n(4322),a=n(1322);t.exports=function(t,e){var n,o=e.nodes().filter(function(t){return r.isSubgraph(e,t)}),s=t.selectAll("g.cluster").data(o,function(t){return t});return s.selectAll("*").remove(),s.enter().append("g").attr("class","cluster").attr("id",function(t){return e.node(t).id}).style("opacity",0),s=t.selectAll("g.cluster"),r.applyTransition(s,e).style("opacity",1),s.each(function(t){var n=e.node(t),r=i.select(this);i.select(this).append("rect"),a(r.append("g").attr("class","label"),n,n.clusterLabelPos)}),s.selectAll("rect").each(function(t){var n=e.node(t),a=i.select(this);r.applyStyle(a,n.style)}),n=s.exit?s.exit():s.selectAll(null),r.applyTransition(n,e).style("opacity",0).remove(),s}},6315:(t,e,n)=>{var r=n(1034),i=n(1322),a=n(8355),o=n(4322);t.exports=function(t,e){var n,s=t.selectAll("g.edgeLabel").data(e.edges(),function(t){return a.edgeToId(t)}).classed("update",!0);
1return s.exit().remove(),s.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(s=t.selectAll("g.edgeLabel")).each(function(t){var n=o.select(this);n.select(".label").remove();var a=e.edge(t),s=i(n,e.edge(t),0,0).classed("label",!0),c=s.node().getBBox();a.labelId&&s.attr("id",a.labelId),r.has(a,"width")||(a.width=c.width),r.has(a,"height")||(a.height=c.height)}),n=s.exit?s.exit():s.selectAll(null),a.applyTransition(n,e).style("opacity",0).remove(),s}},940:(t,e,n)=>{var r=n(1034),i=n(7584),a=n(8355),o=n(4322);function s(t,e){var n=(o.line||o.svg.line)().x(function(t){return t.x}).y(function(t){return t.y});return(n.curve||n.interpolate)(t.curve),n(e)}t.exports=function(t,e,n){var c,l,u=t.selectAll("g.edgePath").data(e.edges(),function(t){return a.edgeToId(t)}).classed("update",!0),h=((c=u.enter().append("g").attr("class","edgePath").style("opacity",0)).append("path").attr("class","path").attr("d",function(t){var n=e.edge(t),i=e.node(t.v).elem;return s(n,r.range(n.points.length).map(function(){var t,e;return t=i.getBBox(),{x:(e=i.ownerSVGElement.getScreenCTM().inverse().multiply(i.getScreenCTM()).translate(t.width/2,t.height/2)).e,y:e.f}}))}),c.append("defs"),c);l=u.exit(),a.applyTransition(l,e).style("opacity",0).remove();var f=void 0!==u.merge?u.merge(h):u;return a.applyTransition(f,e).style("opacity",1),f.each(function(t){var n=o.select(this),r=e.edge(t);r.elem=this,r.id&&n.attr("id",r.id),a.applyClass(n,r.class,(n.classed("update")?"update ":"")+"edgePath")}),f.selectAll("path.path").each(function(t){var n=e.edge(t);n.arrowheadId=r.uniqueId("arrowhead");var c=o.select(this).attr("marker-end",function(){var t,e;return"url("+(t=location.href,e=n.arrowheadId,t.split("#")[0]+"#"+e+")")}).style("fill","none");a.applyTransition(c,e).attr("d",function(t){var n,r,a,o;return n=e.edge(t),r=e.node(t.v),a=e.node(t.w),(o=n.points.slice(1,n.points.length-1)).unshift(i(r,o[0])),o.push(i(a,o[o.length-1])),s(n,o)}),a.applyStyle(c,n.style)}),f.selectAll("defs *").remove(),f.selectAll("defs").each(function(t){var r=e.edge(t);(0,n[r.arrowhead])(o.select(this),r.arrowheadId,r,"arrowhead")}),f}},607:(t,e,n)=>{var r=n(1034),i=n(1322),a=n(8355),o=n(4322);t.exports=function(t,e,n){var s,c=e.nodes().filter(function(t){return!a.isSubgraph(e,t)}),l=t.selectAll("g.node").data(c,function(t){return t}).classed("update",!0);return l.exit().remove(),l.enter().append("g").attr("class","node").style("opacity",0),(l=t.selectAll("g.node")).each(function(t){var s=e.node(t),c=o.select(this);a.applyClass(c,s.class,(c.classed("update")?"update ":"")+"node"),c.select("g.label").remove();var l=c.append("g").attr("class","label"),u=i(l,s),h=n[s.shape],f=r.pick(u.node().getBBox(),"width","height");s.elem=this,s.id&&c.attr("id",s.id),s.labelId&&l.attr("id",s.labelId),r.has(s,"width")&&(f.width=s.width),r.has(s,"height")&&(f.height=s.height),f.width+=s.paddingLeft+s.paddingRight,f.height+=s.paddingTop+s.paddingBottom,l.attr("transform","translate("+(s.paddingLeft-s.paddingRight)/2+","+(s.paddingTop-s.paddingBottom)/2+")");var d=o.select(this);d.select(".label-container").remove();var p=h(d,f,s).classed("label-container",!0);a.applyStyle(p,s.style);var g=p.node().getBBox();s.width=g.width,s.height=g.height}),s=l.exit?l.exit():l.selectAll(null),a.applyTransition(s,e).style("opacity",0).remove(),l}},4322:(t,e,n)=>{var r;if(!r)try{r=n(7188)}catch(t){}r||(r=window.d3),t.exports=r},1463:(t,e,n)=>{var r;try{r=n(681)}catch(t){}
1r||(r=window.dagre),t.exports=r},6614:(t,e,n)=>{var r;try{r=n(8282)}catch(t){}r||(r=window.graphlib),t.exports=r},8114:(t,e,n)=>{t.exports={node:n(7584),circle:n(6587),ellipse:n(3260),polygon:n(5337),rect:n(8049)}},6587:(t,e,n)=>{var r=n(3260);t.exports=function(t,e,n){return r(t,e,e,n)}},3260:t=>{t.exports=function(t,e,n,r){var i=t.x,a=t.y,o=i-r.x,s=a-r.y,c=Math.sqrt(e*e*s*s+n*n*o*o),l=Math.abs(e*n*o/c);r.x<i&&(l=-l);var u=Math.abs(e*n*s/c);return r.y<a&&(u=-u),{x:i+l,y:a+u}}},6808:t=>{t.exports=function(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,p,g,y;if(i=e.y-t.y,o=t.x-e.x,c=e.x*t.y-t.x*e.y,f=i*n.x+o*n.y+c,d=i*r.x+o*r.y+c,!(0!==f&&0!==d&&f*d>0||(a=r.y-n.y,s=n.x-r.x,l=r.x*n.y-n.x*r.y,u=a*t.x+s*t.y+l,h=a*e.x+s*e.y+l,0!==u&&0!==h&&u*h>0||0==(p=i*s-a*o))))return g=Math.abs(p/2),{x:(y=o*l-s*c)<0?(y-g)/p:(y+g)/p,y:(y=a*c-i*l)<0?(y-g)/p:(y+g)/p}}},7584:t=>{t.exports=function(t,e){return t.intersect(e)}},5337:(t,e,n)=>{var r=n(6808);t.exports=function(t,e,n){var i=t.x,a=t.y,o=[],s=1/0,c=1/0;e.forEach(function(t){s=Math.min(s,t.x),c=Math.min(c,t.y)});for(var l=i-t.width/2-s,u=a-t.height/2-c,h=0;h<e.length;h++){var f=e[h],d=e[h<e.length-1?h+1:0],p=r(t,n,{x:l+f.x,y:u+f.y},{x:l+d.x,y:u+d.y});p&&o.push(p)}return o.length?(o.length>1&&o.sort(function(t,e){var r=t.x-n.x,i=t.y-n.y,a=Math.sqrt(r*r+i*i),o=e.x-n.x,s=e.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:+(a!==c)}),o[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",t),t)}},8049:t=>{t.exports=function(t,e){var n,r,i=t.x,a=t.y,o=e.x-i,s=e.y-a,c=t.width/2,l=t.height/2;return Math.abs(s)*c>Math.abs(o)*l?(s<0&&(l=-l),n=0===s?0:l*o/s,r=l):(o<0&&(c=-c),n=c,r=0===o?0:c*s/o),{x:i+n,y:a+r}}},8284:(t,e,n)=>{var r=n(8355);t.exports=function(t,e){var n=t.append("foreignObject").attr("width","100000"),i=n.append("xhtml:div");i.attr("xmlns","http://www.w3.org/1999/xhtml");var a=e.label;switch(typeof a){case"function":i.insert(a);break;case"object":i.insert(function(){return a});break;default:i.html(a)}r.applyStyle(i,e.labelStyle),i.style("display","inline-block"),i.style("white-space","nowrap");var o=i.node().getBoundingClientRect();return n.attr("width",o.width).attr("height",o.height),n}},1322:(t,e,n)=>{var r=n(7318),i=n(8284),a=n(8287);t.exports=function(t,e,n){var o=e.label,s=t.append("g");"svg"===e.labelType?a(s,e):"string"!=typeof o||"html"===e.labelType?i(s,e):r(s,e);var c,l=s.node().getBBox();switch(n){case"top":c=-e.height/2;break;case"bottom":c=e.height/2-l.height;break;default:c=-l.height/2}return s.attr("transform","translate("+-l.width/2+","+c+")"),s}},8287:(t,e,n)=>{var r=n(8355);t.exports=function(t,e){return t.node().appendChild(e.label),r.applyStyle(t,e.labelStyle),t}},7318:(t,e,n)=>{var r=n(8355);t.exports=function(t,e){for(var n=t.append("text"),i=(function(t){for(var e,n="",r=!1,i=0;i<t.length;++i)e=t[i],r?(n+="n"===e?"\n":e,r=!1):"\\"===e?r=!0:n+=e;return n})(e.label).split("\n"),a=0;a<i.length;a++)n.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(i[a]);return r.applyStyle(n,e.labelStyle),n}},1034:(t,e,n)=>{var r;try{r={defaults:n(1747),each:n(6073),isFunction:n(3560),isPlainObject:n(8630),pick:n(9722),has:n(8721),range:n(6026),uniqueId:n(3955)}}catch(t){}r||(r=window._),t.exports=r},6381:(t,e,n)=>{var r=n(8355),i=n(4322);t.exports=function(t,e){var n=t.filter(function(){return!i.select(this).classed("update")});function a(t){var n=e.node(t);return"translate("+n.x+","+n.y+")"}n.attr("transform",a),r.applyTransition(t,e).style("opacity",1).attr("transform",a),r.applyTransition(n.selectAll("rect"),e).attr("width",function(t){return e.node(t).width}).attr("height",function(t){return e.node(t).height}).attr("x",function(t){return-e.node(t).width/2}).attr("y",function(t){return-e.node(t).height/2})}},4577:(t,e,n)=>{var r=n(8355),i=n(4322),a=n(1034);t.exports=function(t,e){function n(t){var n=e.edge(t);return a.has(n,"x")?"translate("+n.x+","+n.y+")":""}t.filter(function(){return!i.select(this).classed("update")}).attr("transform",n),r.applyTransition(t,e).style("opacity",1).attr("transform",n)}},4849:(t,e,n)=>{var r=n(8355),i=n(4322);t.exports=function(t,e){function n(t){var n=e.node(t);return"translate("+n.x+","+n.y+")"}t.filter(function(){return!i.select(this).classed("update")}).attr("transform",n),r.applyTransition(t,e).style("opacity",1).attr("transform",n)}},5787:(t,e,n)=>{var r=n(1034),i=n(4322),a=n(1463).layout;t.exports=function(){var t=n(607),e=n(5632),i=n(6315),l=n(940),u=n(4849),h=n(4577),f=n(6381),d=n(4418),p=n(9144),g=function(n,g){g.nodes().forEac
1h(function(t){var e=g.node(t);r.has(e,"label")||g.children(t).length||(e.label=t),r.has(e,"paddingX")&&r.defaults(e,{paddingLeft:e.paddingX,paddingRight:e.paddingX}),r.has(e,"paddingY")&&r.defaults(e,{paddingTop:e.paddingY,paddingBottom:e.paddingY}),r.has(e,"padding")&&r.defaults(e,{paddingLeft:e.padding,paddingRight:e.padding,paddingTop:e.padding,paddingBottom:e.padding}),r.defaults(e,o),r.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(t){e[t]=Number(e[t])}),r.has(e,"width")&&(e._prevWidth=e.width),r.has(e,"height")&&(e._prevHeight=e.height)}),g.edges().forEach(function(t){var e=g.edge(t);r.has(e,"label")||(e.label=""),r.defaults(e,s)});var y=c(n,"output"),m=c(y,"clusters"),v=c(y,"edgePaths"),b=i(c(y,"edgeLabels"),g),x=t(c(y,"nodes"),g,d);a(g),u(x,g),h(b,g),l(v,g,p),f(e(m,g),g),r.each(g.nodes(),function(t){var e=g.node(t);r.has(e,"_prevWidth")?e.width=e._prevWidth:delete e.width,r.has(e,"_prevHeight")?e.height=e._prevHeight:delete e.height,delete e._prevWidth,delete e._prevHeight})};return g.createNodes=function(e){return arguments.length?(t=e,g):t},g.createClusters=function(t){return arguments.length?(e=t,g):e},g.createEdgeLabels=function(t){return arguments.length?(i=t,g):i},g.createEdgePaths=function(t){return arguments.length?(l=t,g):l},g.shapes=function(t){return arguments.length?(d=t,g):d},g.arrows=function(t){return arguments.length?(p=t,g):p},g};var o={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},s={arrowhead:"normal",curve:i.curveLinear};function c(t,e){var n=t.select("g."+e);return n.empty()&&(n=t.append("g").attr("class",e)),n}},4418:(t,e,n)=>{var r=n(8049),i=n(3260),a=n(6587),o=n(5337);t.exports={rect:function(t,e,n){var i=t.insert("rect",":first-child").attr("rx",n.rx).attr("ry",n.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return n.intersect=function(t){return r(n,t)},i},ellipse:function(t,e,n){var r=e.width/2,a=e.height/2,o=t.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",r).attr("ry",a);return n.intersect=function(t){return i(n,r,a,t)},o},circle:function(t,e,n){var r=Math.max(e.width,e.height)/2,i=t.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",r);return n.intersect=function(t){return a(n,r,t)},i},diamond:function(t,e,n){var r=e.width*Math.SQRT2/2,i=e.height*Math.SQRT2/2,a=[{x:0,y:-i},{x:-r,y:0},{x:0,y:i},{x:r,y:0}],s=t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" "));return n.intersect=function(t){return o(n,a,t)},s}}},8355:(t,e,n)=>{var r=n(1034);t.exports={isSubgraph:function(t,e){return!!t.children(e).length},edgeToId:function(t){return a(t.v)+":"+a(t.w)+":"+a(t.name)},applyStyle:function(t,e){e&&t.attr("style",e)},applyClass:function(t,e,n){e&&t.attr("class",e).attr("class",n+" "+t.attr("class"))},applyTransition:function(t,e){var n=e.graph();if(r.isPlainObject(n)){var i=n.transition;if(r.isFunction(i))return i(t)}return t}};var i=/:/g;function a(t){return t?String(t).replace(i,"\\:"):""}},5689:t=>{t.exports="0.6.4"},7188:(t,e,n)=>{n.r(e),n.d(e,{FormatSpecifier:()=>aW,active:()=>nD,arc:()=>ye,area:()=>ys,areaRadial:()=>yy,ascending:()=>i,autoType:()=>iB,axisBottom:()=>te,axisLeft:()=>tn,axisRight:()=>tt,axisTop:()=>J,bisect:()=>l,bisectLeft:()=>c,bisectRight:()=>s,bisector:()=>a,blob:()=>at,brush:()=>n5,brushSelection:()=>n1,brushX:()=>n2,brushY:()=>n3,buffer:()=>an,chord:()=>rn,clientPoint:()=>e$,cluster:()=>l7,color:()=>eo,contourDensity:()=>it,contours:()=>r5,create:()=>gU,creator:()=>tB,cross:()=>f,csv:()=>as,csvFormat:()=>ib,csvFormatBody:()=>ix,csvFormatRow:()=>ik,csvFormatRows:()=>i_,csvFormatValue:()=>iw,csvParse:()=>im,csvParseRows:()=>iv,cubehelix:()=>rQ,curveBasis:()=>yX,curveBasisClosed:()=>yQ,curveBasisOpen:()=>yJ,curveBundle:()=>y1,curveCardinal:()=>y5,curveCardinalClosed:()=>y6,curveCardinalOpen:()=>y7,curveCatmullRom:()=>me,curveCatmullRomClosed:()=>mr,curveCatmullRomOpen:()=>ma,curveLinear:()=>yr,curveLinearClosed:()=>ms,curveMonotoneX:()=>mp,curveMonotoneY:()=>mg,curveNatural:()=>mv,curveStep:()=>mx,curveStepAfter:()=>mk,curveStepBefore:()=>m_,customEvent:()=>
1t$,descending:()=>d,deviation:()=>y,dispatch:()=>ts,drag:()=>ic,dragDisable:()=>tK,dragEnable:()=>tJ,dsv:()=>ao,dsvFormat:()=>ig,easeBack:()=>i5,easeBackIn:()=>i2,easeBackInOut:()=>i5,easeBackOut:()=>i3,easeBounce:()=>i0,easeBounceIn:()=>iJ,easeBounceInOut:()=>i1,easeBounceOut:()=>i0,easeCircle:()=>iK,easeCircleIn:()=>iZ,easeCircleInOut:()=>iK,easeCircleOut:()=>iQ,easeCubic:()=>nA,easeCubicIn:()=>nC,easeCubicInOut:()=>nA,easeCubicOut:()=>nS,easeElastic:()=>i8,easeElasticIn:()=>i6,easeElasticInOut:()=>i7,easeElasticOut:()=>i8,easeExp:()=>iX,easeExpIn:()=>iV,easeExpInOut:()=>iX,easeExpOut:()=>iG,easeLinear:()=>iL,easePoly:()=>iY,easePolyIn:()=>iR,easePolyInOut:()=>iY,easePolyOut:()=>ij,easeQuad:()=>iP,easeQuadIn:()=>iI,easeQuadInOut:()=>iP,easeQuadOut:()=>iF,easeSin:()=>iH,easeSinIn:()=>i$,easeSinInOut:()=>iH,easeSinOut:()=>iq,entries:()=>rD,event:()=>tR,extent:()=>m,forceCenter:()=>ay,forceCollide:()=>aM,forceLink:()=>aB,forceManyBody:()=>aP,forceRadial:()=>aR,forceSimulation:()=>aF,forceX:()=>aj,forceY:()=>aY,format:()=>aQ,formatDefaultLocale:()=>a2,formatLocale:()=>a1,formatPrefix:()=>aK,formatSpecifier:()=>aH,geoAlbers:()=>lS,geoAlbersUsa:()=>lA,geoArea:()=>oj,geoAzimuthalEqualArea:()=>lB,geoAzimuthalEqualAreaRaw:()=>lD,geoAzimuthalEquidistant:()=>lL,geoAzimuthalEquidistantRaw:()=>lO,geoBounds:()=>s_,geoCentroid:()=>sO,geoCircle:()=>sq,geoClipAntimeridian:()=>s2,geoClipCircle:()=>s3,geoClipExtent:()=>s4,geoClipRectangle:()=>s5,geoConicConformal:()=>lY,geoConicConformalRaw:()=>lj,geoConicEqualArea:()=>lC,geoConicEqualAreaRaw:()=>lE,geoConicEquidistant:()=>lq,geoConicEquidistantRaw:()=>l$,geoContains:()=>cg,geoDistance:()=>cs,geoEqualEarth:()=>lV,geoEqualEarthRaw:()=>lW,geoEquirectangular:()=>lz,geoEquirectangularRaw:()=>lU,geoGnomonic:()=>lX,geoGnomonicRaw:()=>lG,geoGraticule:()=>cv,geoGraticule10:()=>cb,geoIdentity:()=>lZ,geoInterpolate:()=>cx,geoLength:()=>ci,geoMercator:()=>lF,geoMercatorRaw:()=>lI,geoNaturalEarth1:()=>lK,geoNaturalEarth1Raw:()=>lQ,geoOrthographic:()=>l0,geoOrthographicRaw:()=>lJ,geoPath:()=>ll,geoProjection:()=>lk,geoProjectionMutator:()=>lw,geoRotation:()=>sU,geoStereographic:()=>l2,geoStereographicRaw:()=>l1,geoStream:()=>oC,geoTransform:()=>lu,geoTransverseMercator:()=>l5,geoTransverseMercatorRaw:()=>l3,gray:()=>rR,hcl:()=>rV,hierarchy:()=>ut,histogram:()=>D,hsl:()=>em,html:()=>ap,image:()=>al,interpolate:()=>eU,interpolateArray:()=>eO,interpolateBasis:()=>e_,interpolateBasisClosed:()=>ek,interpolateBlues:()=>gp,interpolateBrBG:()=>pF,interpolateBuGn:()=>p0,interpolateBuPu:()=>p2,interpolateCividis:()=>gE,interpolateCool:()=>gA,interpolateCubehelix:()=>u8,interpolateCubehelixDefault:()=>gC,interpolateCubehelixLong:()=>u7,interpolateDate:()=>eI,interpolateDiscrete:()=>uV,interpolateGnBu:()=>p5,interpolateGreens:()=>gy,interpolateGreys:()=>gv,interpolateHcl:()=>u5,interpolateHclLong:()=>u4,interpolateHsl:()=>u0,interpolateHslLong:()=>u1,interpolateHue:()=>uG,interpolateInferno:()=>gj,interpolateLab:()=>u2,interpolateMagma:()=>gR,interpolateNumber:()=>eF,interpolateNumberArray:()=>eD,interpolateObject:()=>eP,interpolateOrRd:()=>p6,interpolateOranges:()=>gT,interpolatePRGn:()=>pR,interpolatePiYG:()=>pY,interpolatePlasma:()=>gY,interpolatePuBu:()=>gt,interpolatePuBuGn:()=>p7,interpolatePuOr:()=>pz,interpolatePuRd:()=>gn,interpolatePurples:()=>gx,interpolateRainbow:()=>gN,interpolateRdBu:()=>pq,interpolateRdGy:()=>pW,interpolateRdPu:()=>gi,interpolateRdYlBu:()=>pG,interpolateRdYlGn:()=>pZ,interpolateReds:()=>gk,interpolateRgb:()=>eS,interpolateRgbBasis:()=>eM,interpolateRgbBasisClosed:()=>eN,interpolateRound:()=>uX,interpolateSinebow:()=>gL,interpolateSpectral:()=>pK,interpolateString:()=>eY,interpolateTransformCss:()=>ny,interpolateTransformSvg:()=>nm,interpolateTurbo:()=>gI,interpolateViridis:()=>gP,interpolateWarm:()=>gS,interpolateYlGn:()=>gc,interpolateYlGnBu:()=>go,interpolateYlOrBr:()=>gu,interpolateYlOrRd:()=>gf,interpolateZoom:()=>uK,interrupt:()=>ns,interval:()=>mU,isoFormat:()=>mj,isoParse:()=>mY,json:()=>ah,keys:()=>rM,lab:()=>rj,lch:()=>rW,line:()=>yo,lineRadial:()=>yg,linkHorizontal:()=>yE,linkRadial:()=>yS,linkVertical:()=>yC,local:()=>g$,map:()=>rb,matcher:()=>tf,max:()=>I,mean:()=>F,median:()=>P,merge:()=>R,min:()=>j,mouse:()=>eH,namespace:()=>tx,namespaces:()=>tb,nest:()=>rx,now:()=>e2,pack:()=>uk,packEnclose:()=>uo,packSiblings:()=>um,pairs:()=>u,partition:()=>uA,path:()=>ru,permute:()=>Y,pie:()=>yu,piecewise:()=>u9,pointRadial:()=>ym,polygonArea:()=>he,polygonCentroid:()=>hn,polygonContains:()=>ho,polygonHull:()=>ha,polygonLength:()=>hs,precisionFixed:()=>a3,precisionPrefix:()=>a5,precisionRound:()=>a4,quadtree:()=>aw,quantile:()=>B,quantize:()=>ht,radialArea:()=>yy,radialLine:()=>yg,randomBates:()=>hd,randomExponential:()=>hp,randomIrwinHall:()=>hf,randomLogNormal:()=>hh,randomNormal:()=>hu,randomUniform:()=>hl,range:()=>
1w,rgb:()=>eu,ribbon:()=>ry,scaleBand:()=>hk,scaleDiverging:()=>function t(){var e=hL(px()(hC));return e.copy=function(){return pm(e,t())},hy.apply(e,arguments)},scaleDivergingLog:()=>function t(){var e=hz(px()).domain([.1,1,10]);return e.copy=function(){return pm(e,t()).base(e.base())},hy.apply(e,arguments)},scaleDivergingPow:()=>p_,scaleDivergingSqrt:()=>pk,scaleDivergingSymlog:()=>function t(){var e=hH(px());return e.copy=function(){return pm(e,t()).constant(e.constant())},hy.apply(e,arguments)},scaleIdentity:()=>function t(e){var n;function r(t){return isNaN(t*=1)?n:t}return r.invert=r,r.domain=r.range=function(t){return arguments.length?(e=hv.call(t,hT),r):e.slice()},r.unknown=function(t){return arguments.length?(n=t,r):n},r.copy=function(){return t(e).unknown(n)},e=arguments.length?hv.call(e,hT):[0,1],hL(r)},scaleImplicit:()=>hx,scaleLinear:()=>function t(){var e=hB()(hC,hC);return e.copy=function(){return hD(e,t())},hg.apply(e,arguments),hL(e)},scaleLog:()=>function t(){var e=hz(hB()).domain([1,10]);return e.copy=function(){return hD(e,t()).base(e.base())},hg.apply(e,arguments),e},scaleOrdinal:()=>h_,scalePoint:()=>hw,scalePow:()=>hZ,scaleQuantile:()=>function t(){var e,n=[],r=[],a=[];function o(){var t=0,e=Math.max(1,r.length);for(a=Array(e-1);++t<e;)a[t-1]=B(n,t/e);return s}function s(t){return isNaN(t*=1)?e:r[l(a,t)]}return s.invertExtent=function(t){var e=r.indexOf(t);return e<0?[NaN,NaN]:[e>0?a[e-1]:n[0],e<a.length?a[e]:n[n.length-1]]},s.domain=function(t){if(!arguments.length)return n.slice();n=[];for(var e,r=0,a=t.length;r<a;++r)null==(e=t[r])||isNaN(e*=1)||n.push(e);return n.sort(i),o()},s.range=function(t){return arguments.length?(r=hb.call(t),o()):r.slice()},s.unknown=function(t){return arguments.length?(e=t,s):e},s.quantiles=function(){return a.slice()},s.copy=function(){return t().domain(n).range(r).unknown(e)},hg.apply(s,arguments)},scaleQuantize:()=>function t(){var e,n=0,r=1,i=1,a=[.5],o=[0,1];function s(t){return t<=t?o[l(a,t,0,i)]:e}function c(){var t=-1;for(a=Array(i);++t<i;)a[t]=((t+1)*r-(t-i)*n)/(i+1);return s}return s.domain=function(t){return arguments.length?(n=+t[0],r=+t[1],c()):[n,r]},s.range=function(t){return arguments.length?(i=(o=hb.call(t)).length-1,c()):o.slice()},s.invertExtent=function(t){var e=o.indexOf(t);return e<0?[NaN,NaN]:e<1?[n,a[0]]:e>=i?[a[i-1],r]:[a[e-1],a[e]]},s.unknown=function(t){return arguments.length&&(e=t),s},s.thresholds=function(){return a.slice()},s.copy=function(){return t().domain([n,r]).range(o).unknown(e)},hg.apply(hL(s),arguments)},scaleSequential:()=>function t(){var e=hL(py()(hC));return e.copy=function(){return pm(e,t())},hy.apply(e,arguments)},scaleSequentialLog:()=>function t(){var e=hz(py()).domain([1,10]);return e.copy=function(){return pm(e,t()).base(e.base())},hy.apply(e,arguments)},scaleSequentialPow:()=>pv,scaleSequentialQuantile:()=>function t(){var e=[],n=hC;function r(t){if(!isNaN(t*=1))return n((l(e,t)-1)/(e.length-1))}return r.domain=function(t){if(!arguments.length)return e.slice();e=[];for(var n,a=0,o=t.length;a<o;++a)null==(n=t[a])||isNaN(n*=1)||e.push(n);return e.sort(i),r},r.interpolator=function(t){return arguments.length?(n=t,r):n},r.copy=function(){return t(n).domain(e)},hy.apply(r,arguments)},scaleSequentialSqrt:()=>pb,scaleSequentialSymlog:()=>function t(){var e=hH(py());return e.copy=function(){return pm(e,t()).constant(e.constant())},hy.apply(e,arguments)},scaleSqrt:()=>hQ,scaleSymlog:()=>function t(){var e=hH(hB());return e.copy=function(){return hD(e,t()).constant(e.constant())},hg.apply(e,arguments)},scaleThreshold:()=>function t(){var e,n=[.5],r=[0,1],i=1;function a(t){return t<=t?r[l(n,t,0,i)]:e}return a.domain=function(t){return arguments.length?(i=Math.min((n=hb.call(t)).length,r.length-1),a):n.slice()},a.range=function(t){return arguments.length?(r=hb.call(t),i=Math.min(n.length,r.length-1),a):r.slice()},a.invertExtent=function(t){var e=r.indexOf(t);return[n[e-1],n[e]]},a.unknown=function(t){return arguments.length?(e=t,a):e},a.copy=function(){return t().domain(n).range(r).unknown(e)},hg.apply(a,arguments)},scaleTime:()=>pa,scaleUtc:()=>pg,scan:()=>U,schemeAccent:()=>pE,schemeBlues:()=>gd,schemeBrBG:()=>pI,schemeBuGn:()=>pJ,schemeBuPu:()=>p1,schemeCategory10:()=>pT,schemeDark2:()=>pC,schemeGnBu:()=>
1p3,schemeGreens:()=>gg,schemeGreys:()=>gm,schemeOrRd:()=>p4,schemeOranges:()=>gw,schemePRGn:()=>pP,schemePaired:()=>pS,schemePastel1:()=>pA,schemePastel2:()=>pM,schemePiYG:()=>pj,schemePuBu:()=>p9,schemePuBuGn:()=>p8,schemePuOr:()=>pU,schemePuRd:()=>ge,schemePurples:()=>gb,schemeRdBu:()=>p$,schemeRdGy:()=>pH,schemeRdPu:()=>gr,schemeRdYlBu:()=>pV,schemeRdYlGn:()=>pX,schemeReds:()=>g_,schemeSet1:()=>pN,schemeSet2:()=>pD,schemeSet3:()=>pB,schemeSpectral:()=>pQ,schemeTableau10:()=>pO,schemeYlGn:()=>gs,schemeYlGnBu:()=>ga,schemeYlOrBr:()=>gl,schemeYlOrRd:()=>gh,select:()=>tX,selectAll:()=>gH,selection:()=>tG,selector:()=>tl,selectorAll:()=>th,set:()=>rA,shuffle:()=>z,stack:()=>mC,stackOffsetDiverging:()=>mA,stackOffsetExpand:()=>mS,stackOffsetNone:()=>mw,stackOffsetSilhouette:()=>mM,stackOffsetWiggle:()=>mN,stackOrderAppearance:()=>mD,stackOrderAscending:()=>mO,stackOrderDescending:()=>mI,stackOrderInsideOut:()=>mF,stackOrderNone:()=>mT,stackOrderReverse:()=>mP,stratify:()=>uO,style:()=>tk,sum:()=>$,svg:()=>ag,symbol:()=>yH,symbolCircle:()=>yA,symbolCross:()=>yM,symbolDiamond:()=>yB,symbolSquare:()=>yP,symbolStar:()=>yF,symbolTriangle:()=>yj,symbolWye:()=>y$,symbols:()=>yq,text:()=>ai,thresholdFreedmanDiaconis:()=>O,thresholdScott:()=>L,thresholdSturges:()=>N,tickFormat:()=>hO,tickIncrement:()=>A,tickStep:()=>M,ticks:()=>S,timeDay:()=>fd,timeDays:()=>fp,timeFormat:()=>fJ,timeFormatDefaultLocale:()=>pe,timeFormatLocale:()=>fQ,timeFriday:()=>fr,timeFridays:()=>fu,timeHour:()=>fy,timeHours:()=>fm,timeInterval:()=>h0,timeMillisecond:()=>fE,timeMilliseconds:()=>fC,timeMinute:()=>fb,timeMinutes:()=>fx,timeMonday:()=>h9,timeMondays:()=>fo,timeMonth:()=>h4,timeMonths:()=>h6,timeParse:()=>f0,timeSaturday:()=>fi,timeSaturdays:()=>fh,timeSecond:()=>fk,timeSeconds:()=>fw,timeSunday:()=>h7,timeSundays:()=>fa,timeThursday:()=>fn,timeThursdays:()=>fl,timeTuesday:()=>ft,timeTuesdays:()=>fs,timeWednesday:()=>fe,timeWednesdays:()=>fc,timeWeek:()=>h7,timeWeeks:()=>fa,timeYear:()=>h2,timeYears:()=>h3,timeout:()=>nt,timer:()=>e4,timerFlush:()=>e6,touch:()=>eq,touches:()=>gW,transition:()=>nT,transpose:()=>q,tree:()=>uR,treemap:()=>u$,treemapBinary:()=>uq,treemapDice:()=>uS,treemapResquarify:()=>uW,treemapSlice:()=>uj,treemapSliceDice:()=>uH,treemapSquarify:()=>uz,tsv:()=>ac,tsvFormat:()=>iS,tsvFormatBody:()=>iA,tsvFormatRow:()=>iN,tsvFormatRows:()=>iM,tsvFormatValue:()=>iD,tsvParse:()=>iE,tsvParseRows:()=>iC,utcDay:()=>f$,utcDays:()=>fq,utcFormat:()=>f1,utcFriday:()=>fO,utcFridays:()=>fY,utcHour:()=>pu,utcHours:()=>ph,utcMillisecond:()=>fE,utcMilliseconds:()=>fC,utcMinute:()=>pd,utcMinutes:()=>pp,utcMonday:()=>fM,utcMondays:()=>fF,utcMonth:()=>ps,utcMonths:()=>pc,utcParse:()=>f2,utcSaturday:()=>fL,utcSaturdays:()=>fU,utcSecond:()=>fk,utcSeconds:()=>fw,utcSunday:()=>fA,utcSundays:()=>fI,utcThursday:()=>fB,utcThursdays:()=>fj,utcTuesday:()=>fN,utcTuesdays:()=>fP,utcWednesday:()=>fD,utcWednesdays:()=>fR,utcWeek:()=>fA,utcWeeks:()=>fI,utcYear:()=>fW,utcYears:()=>fV,values:()=>rN,variance:()=>g,version:()=>r,voronoi:()=>vs,window:()=>t_,xml:()=>ad,zip:()=>W,zoom:()=>v_,zoomIdentity:()=>vh,zoomTransform:()=>vf});var r="5.16.0";function i(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function a(t){var e;return 1===t.length&&(e=t,t=function(t,n){return i(e(t),n)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var a=r+i>>>1;0>t(e[a],n)?r=a+1:i=a}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var a=r+i>>>1;t(e[a],n)>0?i=a:r=a+1}return r}}}var o=a(i),s=o.right,c=o.left;let l=s;function u(t,e){null==e&&(e=h);for(var n=0,r=t.length-1,i=t[0],a=Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return a}function h(t,e){return[t,e]}function f(t,e,n){var r,i,a,o,s=t.length,c=e.length,l=Array(s*c);for(null==n&&(n=h),r=a=0;r<s;++r)for(o=t[r],i=0;i<c;++i,++a)l[a]=n(o,e[i]);return l}function d(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function p(t){return null===t?NaN:+t}function g(t,e){var n,r,i=t.length,a=0,o=-1,s=0,c=0;if(null==e)for(;++o<i;)isNaN(n=p(t[o]))||(c+=(r=n-s)*(n-(s+=r/++a)));else for(;++o<i;)isNaN(n=p(e(t[o],o,t)))||(c+=(r=n-s)*(n-(s+=r/++a)));if(a>1)return c/(a-1)}function y(t,e){var n=g(t,e);return n?Math.sqrt(n):n}function m(t,e){var n,r,i,a=t.length,o=-1;if(null==e){for(;++o<a;)if(null!=(n=t[o])&&n>=n)for(r=i=n;++o<a;
1)null!=(n=t[o])&&(r>n&&(r=n),i<n&&(i=n))}else for(;++o<a;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=i=n;++o<a;)null!=(n=e(t[o],o,t))&&(r>n&&(r=n),i<n&&(i=n));return[r,i]}var v=Array.prototype,b=v.slice,x=v.map;function _(t){return function(){return t}}function k(t){return t}function w(t,e,n){t*=1,e*=1,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),a=Array(i);++r<i;)a[r]=t+r*n;return a}var T=Math.sqrt(50),E=Math.sqrt(10),C=Math.sqrt(2);function S(t,e,n){var r,i,a,o,s=-1;if(n*=1,(t*=1)==(e*=1)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(o=A(t,e,n))||!isFinite(o))return[];if(o>0)for(t=Math.ceil(t/o),a=Array(i=Math.ceil((e=Math.floor(e/o))-t+1));++s<i;)a[s]=(t+s)*o;else for(a=Array(i=Math.ceil((t=Math.floor(t*o))-(e=Math.ceil(e*o))+1));++s<i;)a[s]=(t-s)/o;return r&&a.reverse(),a}function A(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,i);return i>=0?(a>=T?10:a>=E?5:a>=C?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=T?10:a>=E?5:a>=C?2:1)}function M(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return a>=T?i*=10:a>=E?i*=5:a>=C&&(i*=2),e<t?-i:i}function N(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function D(){var t=k,e=m,n=N;function r(r){var i,a,o=r.length,s=Array(o);for(i=0;i<o;++i)s[i]=t(r[i],i,r);var c=e(s),u=c[0],h=c[1],f=n(s,u,h);Array.isArray(f)||(f=M(u,h,f),f=w(Math.ceil(u/f)*f,h,f));for(var d=f.length;f[0]<=u;)f.shift(),--d;for(;f[d-1]>h;)f.pop(),--d;var p,g=Array(d+1);for(i=0;i<=d;++i)(p=g[i]=[]).x0=i>0?f[i-1]:u,p.x1=i<d?f[i]:h;for(i=0;i<o;++i)u<=(a=s[i])&&a<=h&&g[l(f,a,0,d)].push(r[i]);return g}return r.value=function(e){return arguments.length?(t="function"==typeof e?e:_(e),r):t},r.domain=function(t){return arguments.length?(e="function"==typeof t?t:_([t[0],t[1]]),r):e},r.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?_(b.call(t)):_(t),r):n},r}function B(t,e,n){if(null==n&&(n=p),r=t.length){if((e*=1)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,a=Math.floor(i),o=+n(t[a],a,t);return o+(n(t[a+1],a+1,t)-o)*(i-a)}}function O(t,e,n){return Math.ceil((n-e)/(2*(B(t=x.call(t,p).sort(i),.75)-B(t,.25))*Math.pow(t.length,-1/3)))}function L(t,e,n){return Math.ceil((n-e)/(3.5*y(t)*Math.pow(t.length,-1/3)))}function I(t,e){var n,r,i=t.length,a=-1;if(null==e){for(;++a<i;)if(null!=(n=t[a])&&n>=n)for(r=n;++a<i;)null!=(n=t[a])&&n>r&&(r=n)}else for(;++a<i;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=n;++a<i;)null!=(n=e(t[a],a,t))&&n>r&&(r=n);return r}function F(t,e){var n,r=t.length,i=r,a=-1,o=0;if(null==e)for(;++a<r;)isNaN(n=p(t[a]))?--i:o+=n;else for(;++a<r;)isNaN(n=p(e(t[a],a,t)))?--i:o+=n;if(i)return o/i}function P(t,e){var n,r=t.length,a=-1,o=[];if(null==e)for(;++a<r;)isNaN(n=p(t[a]))||o.push(n);else for(;++a<r;)isNaN(n=p(e(t[a],a,t)))||o.push(n);return B(o.sort(i),.5)}function R(t){for(var e,n,r,i=t.length,a=-1,o=0;++a<i;)o+=t[a].length;for(n=Array(o);--i>=0;)for(e=(r=t[i]).length;--e>=0;)n[--o]=r[e];return n}function j(t,e){var n,r,i=t.length,a=-1;if(null==e){for(;++a<i;)if(null!=(n=t[a])&&n>=n)for(r=n;++a<i;)null!=(n=t[a])&&r>n&&(r=n)}else for(;++a<i;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=n;++a<i;)null!=(n=e(t[a],a,t))&&r>n&&(r=n);return r}function Y(t,e){for(var n=e.length,r=Array(n);n--;)r[n]=t[e[n]];return r}function U(t,e){if(n=t.length){var n,r,a=0,o=0,s=t[0];for(null==e&&(e=i);++a<n;)(0>e(r=t[a],s)||0!==e(s,s))&&(s=r,o=a);return 0===e(s,s)?o:void 0}}function z(t,e,n){for(var r,i,a=(null==n?t.length:n)-(e=null==e?0:+e);a;)i=Math.random()*a--|0,r=t[a+e],t[a+e]=t[i+e],t[i+e]=r;return t}function $(t,e){var n,r=t.length,i=-1,a=0;if(null==e)for(;++i<r;)(n=+t[i])&&(a+=n);else for(;++i<r;)(n=+e(t[i],i,t))&&(a+=n);return a}function q(t){if(!(i=t.length))return[];for(var e=-1,n=j(t,H),r=Array(n);++e<n;)for(var i,a=-1,o=r[e]=Array(i);++a<i;)o[a]=t[a][e];return r}function H(t){return t.length}function W(){return q(arguments)}var V=Array.prototype.slice;function G(t){return t}function X(t){return"translate("+(t+.5)+",0)"}function Z(t){return"translate(0,"+(t+.5)+")"}function Q(){return!this.__axis}function K(t,e){var n=[],r=null,i=null,a=6,o=6,s=3,c=1===t||4===t?-1:1,l=4===t||2===t?"x":"y",u=1===t||3===t?X:Z;function h(h){var f=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,d=null==i?e.tickFormat?e.tickFormat.apply(e,n):G:i,p=Math.max(a,0)+s,g=e.range(),y=+g[0]+.5,m=+g[g.length-1]+.5,v=(e.bandwidth?function(t){var e=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}:function(t){return function(e){return+t(e)}})(e.copy()),b=h.selection?h.selection():h,x=b.selectAll(".domain").data([null]),_=b.selectAll(".tick").data(f,e).order(),k=_.exit(),w=_.enter().append("g").attr("class","tick"),T=_.select("line"),E=_.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),_=_.merge(w),T=T.merge(w.append("line").attr("stroke","currentColor").attr(l+"2",c
1*a)),E=E.merge(w.append("text").attr("fill","currentColor").attr(l,c*p).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),h!==b&&(x=x.transition(h),_=_.transition(h),T=T.transition(h),E=E.transition(h),k=k.transition(h).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=v(t))?u(t):this.getAttribute("transform")}),w.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return u(e&&isFinite(e=e(t))?e:v(t))})),k.remove(),x.attr("d",4===t||2==t?o?"M"+c*o+","+y+"H0.5V"+m+"H"+c*o:"M0.5,"+y+"V"+m:o?"M"+y+","+c*o+"V0.5H"+m+"V"+c*o:"M"+y+",0.5H"+m),_.attr("opacity",1).attr("transform",function(t){return u(v(t))}),T.attr(l+"2",c*a),E.attr(l,c*p).text(d),b.filter(Q).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),b.each(function(){this.__axis=v})}return h.scale=function(t){return arguments.length?(e=t,h):e},h.ticks=function(){return n=V.call(arguments),h},h.tickArguments=function(t){return arguments.length?(n=null==t?[]:V.call(t),h):n.slice()},h.tickValues=function(t){return arguments.length?(r=null==t?null:V.call(t),h):r&&r.slice()},h.tickFormat=function(t){return arguments.length?(i=t,h):i},h.tickSize=function(t){return arguments.length?(a=o=+t,h):a},h.tickSizeInner=function(t){return arguments.length?(a=+t,h):a},h.tickSizeOuter=function(t){return arguments.length?(o=+t,h):o},h.tickPadding=function(t){return arguments.length?(s=+t,h):s},h}function J(t){return K(1,t)}function tt(t){return K(2,t)}function te(t){return K(3,t)}function tn(t){return K(4,t)}var tr={value:function(){}};function ti(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw Error("illegal type: "+t);r[t]=[]}return new ta(r)}function ta(t){this._=t}function to(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=tr,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}ta.prototype=ti.prototype={constructor:ta,on:function(t,e){var n,r=this._,i=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),a=-1,o=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw Error("invalid callback: "+e);for(;++a<o;)if(n=(t=i[a]).type)r[n]=to(r[n],t.name,e);else if(null==e)for(n in r)r[n]=to(r[n],t.name,null);return this}for(;++a<o;)if((n=(t=i[a]).type)&&(n=function(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new ta(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(a=0,n=(r=this._[t]).length;a<n;++a)r[a].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var r=this._[t],i=0,a=r.length;i<a;++i)r[i].value.apply(e,n)}};let ts=ti;function tc(){}function tl(t){return null==t?tc:function(){return this.querySelector(t)}}function tu(){return[]}function th(t){return null==t?tu:function(){return this.querySelectorAll(t)}}function tf(t){return function(){return this.matches(t)}}function td(t){return Array(t.length)}function tp(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function tg(t,e,n,r,i,a){for(var o,s=0,c=e.length,l=a.length;s<l;++s)(o=e[s])?(o.__data__=a[s],r[s]=o):n[s]=new tp(t,a[s]);for(;s<c;++s)(o=e[s])&&(i[s]=o)}function ty(t,e,n,r,i,a,o){var s,c,l,u={},h=e.length,f=a.length,d=Array(h);for(s=0;s<h;++s)(c=e[s])&&(d[s]=l="$"+o.call(c,c.__data__,s,e),l in u?i[s]=c:u[l]=c);for(s=0;s<f;++s)(c=u[l="$"+o.call(t,a[s],s,a)])?(r[s]=c,c.__data__=a[s],u[l]=null):n[s]=new tp(t,a[s]);for(s=0;s<h;++s)(c=e[s])&&u[d[s]]===c&&(i[s]=c)}function tm(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}tp.prototype={constructor:tp,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var tv="http://www.w3.org/1999/xhtml";let tb={svg:"http://www.w3.org/2000/svg",xhtml:tv,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function tx(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),tb.hasOwnProperty(e)?{space:tb[e],local:t}:t}function t_(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function tk(t,e){return t.style.getPropertyValue(e)||t_(t).getComputedStyle(t,null).getPropertyValue(e)}function tw(t){return t.trim().split(/^|\s+/)}function tT(t){return t.classList||new tE(t)}function tE(t){this._node=t,this._names=tw(t.getAttribute("class")||"")}function tC(t,e){for(var n=tT(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function tS(t,e){for(var n=tT(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function tA(){this.textContent=""}function tM(){this.innerHTML=""}function tN(){this.nextSibling&&this.parentNode.appendChild(this)}function tD(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function tB(t){var e=tx(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===tv&&e.documentElement.namespaceURI===tv?e.createElement(t):e.createElementNS(n,t)}})(e)}function tO(){return null}function tL(){var t=this.parentNode;t&&t.removeChild(this)}function tI(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function tF(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}tE.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var tP={},tR=null;function tj(t,e,n){return t=tY(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function tY(t,e,n){return function(r){var i=tR;tR=r;try{t.call(this,this.__data__,e,n)}finally{tR=i}}}function tU(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r<a;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?e.length=i:delete this.__on}}}function tz(t,e,n){var r=tP.hasOwnProperty(t.type)?tj:tY;return function(i,a,o){var s,c=this.__on,l=r(e,a,o);if(c){for(var u=0,h=c.length;u<h;++u)if((s=c[u]).type===t.type&&s.name===t.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=l,s.capture=n),void(s.value=e)}this.addEventListener(t.type,l,n),s={type:t.type,name:t.name,value:e,listener:l,capture:n},c?c.push(s):this.__on=[s]}}function t$(t,e,n,r){var i=tR;t.sourceEvent=tR,tR=t;try{return e.apply(n,r)}finally{tR=i}}function tq(t,e,n){var r=t_(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dis
1patchEvent(i)}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(tP={mouseenter:"mouseover",mouseleave:"mouseout"}));var tH=[null];function tW(t,e){this._groups=t,this._parents=e}function tV(){return new tW([[document.documentElement]],tH)}tW.prototype=tV.prototype={constructor:tW,select:function(t){"function"!=typeof t&&(t=tl(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,o,s=e[i],c=s.length,l=r[i]=Array(c),u=0;u<c;++u)(a=s[u])&&(o=t.call(a,a.__data__,u,s))&&("__data__"in a&&(o.__data__=a.__data__),l[u]=o);return new tW(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=th(t));for(var e=this._groups,n=e.length,r=[],i=[],a=0;a<n;++a)for(var o,s=e[a],c=s.length,l=0;l<c;++l)(o=s[l])&&(r.push(t.call(o,o.__data__,l,s)),i.push(o));return new tW(r,i)},filter:function(t){"function"!=typeof t&&(t=tf(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,o=e[i],s=o.length,c=r[i]=[],l=0;l<s;++l)(a=o[l])&&t.call(a,a.__data__,l,o)&&c.push(a);return new tW(r,this._parents)},data:function(t,e){if(!t)return p=Array(this.size()),u=-1,this.each(function(t){p[++u]=t}),p;var n,r=e?ty:tg,i=this._parents,a=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var o=a.length,s=Array(o),c=Array(o),l=Array(o),u=0;u<o;++u){var h=i[u],f=a[u],d=f.length,p=t.call(h,h&&h.__data__,u,i),g=p.length,y=c[u]=Array(g),m=s[u]=Array(g);r(h,f,y,m,l[u]=Array(d),p,e);for(var v,b,x=0,_=0;x<g;++x)if(v=y[x]){for(x>=_&&(_=x+1);!(b=m[_])&&++_<g;);v._next=b||null}}return(s=new tW(s,i))._enter=c,s._exit=l,s},enter:function(){return new tW(this._enter||this._groups.map(td),this._parents)},exit:function(){return new tW(this._exit||this._groups.map(td),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,a=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=Array(r),s=0;s<a;++s)for(var c,l=e[s],u=n[s],h=l.length,f=o[s]=Array(h),d=0;d<h;++d)(c=l[d]||u[d])&&(f[d]=c);for(;s<r;++s)o[s]=e[s];return new tW(o,this._parents)},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=tm);for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var o,s=n[a],c=s.length,l=i[a]=Array(c),u=0;u<c;++u)(o=s[u])&&(l[u]=o);l.sort(e)}return new tW(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=Array(this.size()),e=-1;return this.each(function(){t[++e]=this}),t},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null},size:function(){var t=0;return this.each(function(){++t}),t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,a=e[n],o=0,s=a.length;o<s;++o)(i=a[o])&&t.call(i,i.__data__,o,a);return this},attr:function(t,e){var n=tx(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?n.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:n.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):tk(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=tw(t+"");
1if(arguments.length<2){for(var r=tT(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?tC:tS)(this,t)}}:e?function(t){return function(){tC(this,t)}}:function(t){return function(){tS(this,t)}})(n,e))},text:function(t){return arguments.length?this.each(null==t?tA:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?tM:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(tN)},lower:function(){return this.each(tD)},append:function(t){var e="function"==typeof t?t:tB(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:tB(t),r=null==e?tO:"function"==typeof e?e:tl(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(tL)},clone:function(t){return this.select(t?tF:tI)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,a=(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),o=a.length;if(!(arguments.length<2)){for(s=e?tz:tU,null==n&&(n=!1),r=0;r<o;++r)this.each(s(a[r],e,n));return this}var s=this.node().__on;if(s){for(var c,l=0,u=s.length;l<u;++l)for(r=0,c=s[l];r<o;++r)if((i=a[r]).type===c.type&&i.name===c.name)return c.value}},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return tq(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return tq(this,t,e)}})(t,e))}};let tG=tV;function tX(t){return"string"==typeof t?new tW([[document.querySelector(t)]],[document.documentElement]):new tW([[t]],tH)}function tZ(){tR.stopImmediatePropagation()}function tQ(){tR.preventDefault(),tR.stopImmediatePropagation()}function tK(t){var e=t.document.documentElement,n=tX(t).on("dragstart.drag",tQ,!0);"onselectstart"in e?n.on("selectstart.drag",tQ,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function tJ(t,e){var n=t.document.documentElement,r=tX(t).on("dragstart.drag",null);e&&(r.on("click.drag",tQ,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function t0(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function t1(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function t2(){}var t3="\\s*([+-]?\\d+)\\s*",t5="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",t4="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",t6=/^#([0-9a-f]{3,8})$/,t8=RegExp("^rgb\\("+[t3,t3,t3]+"\\)$"),t7=RegExp("^rgb\\("+[t4,t4,t4]+"\\)$"),t9=RegExp("^rgba\\("+[t3,t3,t3,t5]+"\\)$"),et=RegExp("^rgba\\("+[t4,t4,t4,t5]+"\\)$"),ee=RegExp("^hsl\\("+[t5,t4,t4]+"\\)$"),en=RegExp("^hsla\\("+[t5,t4,t4,t5]+"\\)$"),er={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function ei(){return this.rgb().formatHex()}function ea(){return this.rgb().formatRgb()}function eo(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=t6.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?es(e):3===n?
vendor: 4,309 bytes, line 1
1new eh(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?ec(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?ec(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=t8.exec(t))?new eh(e[1],e[2],e[3],1):(e=t7.exec(t))?new eh(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=t9.exec(t))?ec(e[1],e[2],e[3],e[4]):(e=et.exec(t))?ec(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=ee.exec(t))?eg(e[1],e[2]/100,e[3]/100,1):(e=en.exec(t))?eg(e[1],e[2]/100,e[3]/100,e[4]):er.hasOwnProperty(t)?es(er[t]):"transparent"===t?new eh(NaN,NaN,NaN,0):null}function es(t){return new eh(t>>16&255,t>>8&255,255&t,1)}function ec(t,e,n,r){return r<=0&&(t=e=n=NaN),new eh(t,e,n,r)}function el(t){return t instanceof t2||(t=eo(t)),t?new eh((t=t.rgb()).r,t.g,t.b,t.opacity):new eh}function eu(t,e,n,r){return 1==arguments.length?el(t):new eh(t,e,n,null==r?1:r)}function eh(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function ef(){return"#"+ep(this.r)+ep(this.g)+ep(this.b)}function ed(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"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===t?")":", "+t+")")}function ep(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function eg(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ev(t,e,n,r)}function ey(t){if(t instanceof ev)return new ev(t.h,t.s,t.l,t.opacity);if(t instanceof t2||(t=eo(t)),!t)return new ev;if(t instanceof ev)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n<r):n===a?(r-e)/s+2:(e-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new ev(o,s,c,t.opacity)}function em(t,e,n,r){return 1==arguments.length?ey(t):new ev(t,e,n,null==r?1:r)}function ev(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function eb(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function ex(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}function e_(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],a=t[r+1],o=r>0?t[r-1]:2*i-a,s=r<e-1?t[r+2]:2*a-i;return ex((n-r/e)*e,o,i,a,s)}}function ek(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],a=t[r%e],o=t[(r+1)%e],s=t[(r+2)%e];return ex((n-r/e)*e,i,a,o,s)}}function ew(t){return function(){return t}}function eT(t,e){return function(n){return t+n*e}}function eE(t,e){var n=e-t;return n?eT(t,n>180||n<-180?n-360*Math.round(n/360):n):ew(isNaN(t)?e:t)}function eC(t,e){var n=e-t;return n?eT(t,n):ew(isNaN(t)?e:t)}t0(t2,eo,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:ei,formatHex:ei,formatHsl:function(){return ey(this).formatHsl()},formatRgb:ea,toString:ea}),t0(eh,eu,t1(t2,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new eh(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new eh(this.r*t,this.g*t,this.b*t,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:ef,formatHex:ef,formatRgb:ed,toString:ed})),t0(ev,em,t1(t2,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new ev(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new ev(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new eh(eb(t>=240?t-240:t+120,i,r),eb(t,i,r),eb(t<120?t+240:t-120,i,r),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 t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));let eS=function t(e){var n,r=1==(n=+e)?eC:function(t,e){var r,i,a;
1return e-t?(r=t,i=e,r=Math.pow(r,a=n),i=Math.pow(i,a)-r,a=1/a,function(t){return Math.pow(r+t*i,a)}):ew(isNaN(t)?e:t)};function i(t,e){var n=r((t=eu(t)).r,(e=eu(e)).r),i=r(t.g,e.g),a=r(t.b,e.b),o=eC(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function eA(t){return function(e){var n,r,i=e.length,a=Array(i),o=Array(i),s=Array(i);for(n=0;n<i;++n)r=eu(e[n]),a[n]=r.r||0,o[n]=r.g||0,s[n]=r.b||0;return a=t(a),o=t(o),s=t(s),r.opacity=1,function(t){return r.r=a(t),r.g=o(t),r.b=s(t),r+""}}}var eM=eA(e_),eN=eA(ek);function eD(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(a){for(n=0;n<r;++n)i[n]=t[n]*(1-a)+e[n]*a;return i}}function eB(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function eO(t,e){return(eB(e)?eD:eL)(t,e)}function eL(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,a=Array(i),o=Array(r);for(n=0;n<i;++n)a[n]=eU(t[n],e[n]);for(;n<r;++n)o[n]=e[n];return function(t){for(n=0;n<i;++n)o[n]=a[n](t);return o}}function eI(t,e){var n=new Date;return t*=1,e*=1,function(r){return n.setTime(t*(1-r)+e*r),n}}function eF(t,e){return t*=1,e*=1,function(n){return t*(1-n)+e*n}}function eP(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=eU(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var eR=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ej=RegExp(eR.source,"g");function eY(t,e){var n,r,i,a,o,s=eR.lastIndex=ej.lastIndex=0,c=-1,l=[],u=[];for(t+="",e+="";(i=eR.exec(t))&&(a=ej.exec(e));)(o=a.index)>s&&(o=e.slice(s,o),l[c]?l[c]+=o:l[++c]=o),(i=i[0])===(a=a[0])?l[c]?l[c]+=a:l[++c]=a:(l[++c]=null,u.push({i:c,x:eF(i,a)})),s=ej.lastIndex;return s<e.length&&(o=e.slice(s),l[c]?l[c]+=o:l[++c]=o),l.length<2?u[0]?(n=u[0].x,function(t){return n(t)+""}):(r=e,function(){return r}):(e=u.length,function(t){for(var n,r=0;r<e;++r)l[(n=u[r]).i]=n.x(t);return l.join("")})}function eU(t,e){var n,r=typeof e;return null==e||"boolean"===r?ew(e):("number"===r?eF:"string"===r?(n=eo(e))?(e=n,eS):eY:e instanceof eo?eS:e instanceof Date?eI:eB(e)?eD:Array.isArray(e)?eL:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?eP:eF)(t,e)}function ez(){for(var t,e=tR;t=e.sourceEvent;)e=t;return e}function e$(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}function eq(t,e,n){arguments.length<3&&(n=e,e=ez().changedTouches);for(var r,i=0,a=e?e.length:0;i<a;++i)if((r=e[i]).identifier===n)return e$(t,r);return null}function eH(t){var e=ez();return e.changedTouches&&(e=e.changedTouches[0]),e$(t,e)}var eW,eV,eG=0,eX=0,eZ=0,eQ=0,eK=0,eJ=0,e0="object"==typeof performance&&performance.now?performance:Date,e1="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function e2(){return eK||(e1(e3),eK=e0.now()+eJ)}function e3(){eK=0}function e5(){this._call=this._time=this._next=null}function e4(t,e,n){var r=new e5;return r.restart(t,e,n),r}function e6(){e2(),++eG;for(var t,e=eW;e;)(t=eK-e._time)>=0&&e._call.call(null,t),e=e._next;--eG}function e8(){eK=(eQ=e0.now())+eJ,eG=eX=0;try{e6()}finally{eG=0,function(){for(var t,e,n=eW,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:eW=e);eV=t,e9(r)}(),eK=0}}function e7(){var t=e0.now(),e=t-eQ;e>1e3&&(eJ-=e,eQ=t)}function e9(t){eG||(eX&&(eX=clearTimeout(eX)),t-eK>24?(t<1/0&&(eX=setTimeout(e8,t-e0.now()-eJ)),eZ&&(eZ=clearInterval(eZ))):(eZ||(eQ=e0.now(),eZ=setInterval(e7,1e3)),eG=1,e1(e8)))}function nt(t,e,n){var r=new e5;return e=null==e?0:+e,r.restart(function(n){r.stop(),t(n+e)},e,n),r}e5.prototype=e4.prototype={constructor:e5,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?e2():+n)+(null==e?0:+e),this._next||eV===this||(eV?eV._next=this:eW=this,eV=this),this._call=t,this._time=n,e9()},stop:function(){this._call&&(this._call=null,this._time=1/0,e9())}};var ne=ts("start","end","cancel","interrupt"),nn=[];function nr(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(c){var l,u,h,f;if(1!==n.state)return s();for(l in i)if((f=i[l]).name===n.name){if(3===f.state)return nt(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+l<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[l])}if(nt(function(){3===n.state&&(n.state=4,n.timer.restart(o,n.delay,n.time),o(c))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=Array(h=n.tween.length),l=0,u=-1;l<h;++l)(f=n.tween[l].value.call(t,t.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function o(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(s),n.state=5,1
1),a=-1,o=r.length;++a<o;)r[a].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),s())}function s(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=e4(function(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)},0,n.time)}(t,n,{name:e,index:r,group:i,on:ne,tween:nn,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function ni(t,e){var n=no(t,e);if(n.state>0)throw Error("too late; already scheduled");return n}function na(t,e){var n=no(t,e);if(n.state>3)throw Error("too late; already running");return n}function no(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw Error("transition not found");return n}function ns(t,e){var n,r,i,a=t.__transition,o=!0;if(a){for(i in e=null==e?null:e+"",a)(n=a[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}var nc,nl,nu,nh,nf=180/Math.PI,nd={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function np(t,e,n,r,i,a){var o,s,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*nf,skewX:Math.atan(c)*nf,scaleX:o,scaleY:s}}function ng(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(a,o){var s,c,l,u,h=[],f=[];return a=t(a),o=t(o),function(t,r,i,a,o,s){if(t!==i||r!==a){var c=o.push("translate(",null,e,null,n);s.push({i:c-4,x:eF(t,i)},{i:c-2,x:eF(r,a)})}else(i||a)&&o.push("translate("+i+e+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,h,f),s=a.rotate,c=o.rotate,s!==c?(s-c>180?c+=360:c-s>180&&(s+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:eF(s,c)})):c&&h.push(i(h)+"rotate("+c+r),l=a.skewX,u=o.skewX,l!==u?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:eF(l,u)}):u&&h.push(i(h)+"skewX("+u+r),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:eF(t,n)},{i:s-2,x:eF(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,h,f),a=o=null,function(t){for(var e,n=-1,r=f.length;++n<r;)h[(e=f[n]).i]=e.x(t);return h.join("")}}}var ny=ng(function(t){return"none"===t?nd:(nc||(nc=document.createElement("DIV"),nl=document.documentElement,nu=document.defaultView),nc.style.transform=t,t=nu.getComputedStyle(nl.appendChild(nc),null).getPropertyValue("transform"),nl.removeChild(nc),np(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))},"px, ","px)","deg)"),nm=ng(function(t){return null==t?nd:(nh||(nh=document.createElementNS("http://www.w3.org/2000/svg","g")),nh.setAttribute("transform",t),(t=nh.transform.baseVal.consolidate())?np((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):nd)},", ",")",")");function nv(t,e,n){var r=t._id;return t.each(function(){var t=na(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return no(t,r).value[e]}}function nb(t,e){var n;return("number"==typeof e?eF:e instanceof eo?eS:(n=eo(e))?(e=n,eS):eY)(t,e)}var nx=tG.prototype.constructor;function n_(t){return function(){this.style.removeProperty(t)}}var nk=0;function nw(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function nT(t){return tG().transition(t)}var nE=tG.prototype;function nC(t){return t*t*t}function nS(t){return--t*t*t+1}function nA(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}nw.prototype=nT.prototype={constructor:nw,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=tl(t));for(var r=this._groups,i=r.length,a=Array(i),o=0;o<i;++o)for(var s,c,l=r[o],u=l.length,h=a[o]=Array(u),f=0;f<u;++f)(s=l[f])&&(c=t.call(s,s.__data__,f,l))&&("__data__"in s&&(c.__data__=s.__data__),h[f]=c,nr(h[f],e,n,f,h,no(s,n)));return new nw(a,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=th(t));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var c,l=r[s],u=l.length,h=0;h<u;++h)if(c=l[h]){for(var f,d=t.call(c,c.__data__,h,l),p=no(c,n),g=0,y=d.length;g<y;++g)(f=d[g])&&nr(f,e,n,g,d,p);a.push(d),o.push(c)}return new nw(a,o,e,n)},filter:function(t){"function"!=typeof t&&(t=tf(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i<n;++i)for(var a,o=e[i],s=o.length,c=r[i]=[],l=0;l<s;++l)(a=o[l])&&t.call(a,a.__data__,l,o)&&c.push(a);return new nw(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=Array(r),s=0;s<a;++s)for(var c,l=e[s],u=n[s],h=l.length,f=o[s]=Array(h),d=0;d<h;++d)(c=l[d]||u[d])&&(f[d]=c);for(;s<r;++s)o[s]=e[s];return new nw(o,this._parents,this._name,this._id)},selection:function(){return new nx(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=++nk,r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],c=s.length,l=0;l<c;++l)if(o=s[l]){var u=no(o,e);nr(o,t,n,l,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new nw(r,this._parents,t,n)},call:nE.call,nodes:nE.nodes,node:nE.node,size:nE.size,empty:nE.empty,each:nE.each,on:function(t,e){var n,r,i,a,o,s,c=this._id;return arguments.length<2?no(this.node(),c).on.on(t):this.each((n=c,r=t,i=e,s=(r+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>
1=0&&(t=t.slice(0,e)),!t||"start"===t})?ni:na,function(){var t=s(this,n),e=t.on;e!==a&&(o=(a=e).copy()).on(r,i),t.on=o}))},attr:function(t,e){var n=tx(t),r="transform"===n?nm:nb;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,i,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:o===r&&s===i?a:(i=s,a=e(r=o,c));this.removeAttributeNS(t.space,t.local)}}:function(t,e,n){var r,i,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttribute(t))===(s=c+"")?null:o===r&&s===i?a:(i=s,a=e(r=o,c));this.removeAttribute(t)}})(n,r,nv(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===r?i:i=e(r=o,n)}}:function(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttribute(t);return o===a?null:o===r?i:i=e(r=o,n)}})(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();var r=tx(t);return this.tween(n,(r.local?function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttributeNS(t.space,t.local,i.call(this,e))}),n}return i._value=e,i}:function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttribute(t,i.call(this,e))}),n}return i._value=e,i})(r,e))},style:function(t,e,n){var r,i,a,o,s,c,l,u,h,f,d,p,g,y,m,v,b,x,_,k,w,T="transform"==(t+="")?ny:nb;return null==e?this.styleTween(t,(r=t,function(){var t=tk(this,r),e=(this.style.removeProperty(r),tk(this,r));return t===e?null:t===i&&e===a?o:o=T(i=t,a=e)})).on("end.style."+t,n_(t)):"function"==typeof e?this.styleTween(t,(s=t,c=nv(this,"style."+t,e),function(){var t=tk(this,s),e=c(this),n=e+"";return null==e&&(this.style.removeProperty(s),n=e=tk(this,s)),t===n?null:t===l&&n===u?h:(u=n,h=T(l=t,e))})).each((f=this._id,b="end."+(v="style."+(d=t)),function(){var t=na(this,f),e=t.on,n=null==t.value[v]?m||(m=n_(d)):void 0;e===p&&y===n||(g=(p=e).copy()).on(b,y=n),t.on=g})):this.styleTween(t,(x=t,w=e+"",function(){var t=tk(this,x);return t===w?null:t===_?k:k=T(_=t,e)}),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();return this.tween(r,function(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&function(e){this.style.setProperty(t,a.call(this,e),n)}),r}return a._value=e,a}(t,e,null==n?"":n))},text:function(t){var e,n;return this.tween("text","function"==typeof t?(e=nv(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(n=null==t?"":t+"",function(){this.textContent=n}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=no(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===t)return r.value;return null}return this.each((null==e?function(t,e){var n,r;return function(){var i=na(this,t),a=i.tween;if(a!==n){for(var o=0,s=(r=n=a).length;o<s;++o)if(r[o].name===e){(r=r.slice()).splice(o,1);break}}i.tween=r}}:function(t,e,n){var r,i;if("function"!=typeof n)throw Error();return function(){var a=na(this,t),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:e,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===e){i[c]=s;break}c===l&&i.push(s)}a.tween=i}})(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){ni(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){ni(this,t).delay=e}})(e,t)):no(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){na(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){na(this,t).duration=e}})(e,t)):no(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw Error();return function(){na(this,t).ease=e}}(e,t)):no(this.node(),e).ease},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(a,o){var s={value:o},c={value:function(){0==--i&&a()}};n.each(function(){var n=na(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e})})}};var nM={time:null,delay:0,duration:250,ease:nA};tG.prototype.interrupt=function(t){return this.each(function(){ns(this,t)})},tG.prototype.transition=function(t){var e,n;t instanceof nw?(e=t._id,t=t._name):(e=++nk,(n=nM).time=e2(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,s=r[a],c=s.length,l=0;l<c;++l)(o=s[l])&&nr(o,t,e,l,s,n||function(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))return nM.time=e2(),nM;return n}(o,e));return new nw(r,this._parents,t,e)};var nN=[null];function nD(t,e){var n,r,i=t.__transition;if(i){for(r in e=null==e?null:e+"",i)if((n=i[r]).state>1&&n.name===e)return new nw([[t]],nN,e,+r)}return null}function nB(t){return function(){return t}}function nO(t,e,n){this.target=t,this.type=e,this.selection=n}function nL(){tR.stopImmediatePropagation()}function nI(){tR.preventDefault(),tR.stopImmediatePropagation()}var nF={name:"drag"},nP={name:"space"},nR={name:"handle"},nj={name:"center"};function nY(t){return[+t[0],+t[1]]}function nU(t){return[nY(t[0]),nY(t[1])]}
1var nz={name:"x",handles:["w","e"].map(nZ),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},n$={name:"y",handles:["n","s"].map(nZ),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},nq={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(nZ),input:function(t){return null==t?null:nU(t)},output:function(t){return t}},nH={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"},nW={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},nV={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},nG={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},nX={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function nZ(t){return{type:t}}function nQ(){return!tR.ctrlKey&&!tR.button}function nK(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function nJ(){return navigator.maxTouchPoints||"ontouchstart"in this}function n0(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function n1(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function n2(){return n4(nz)}function n3(){return n4(n$)}function n5(){return n4(nq)}function n4(t){var e,n=nK,r=nQ,i=nJ,a=!0,o=ts("start","brush","end"),s=6;function c(e){var n=e.property("__brush",g).selectAll(".overlay").data([nZ("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",nH.overlay).merge(n).each(function(){var t=n0(this).extent;tX(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),e.selectAll(".selection").data([nZ("selection")]).enter().append("rect").attr("class","selection").attr("cursor",nH.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(t.handles,function(t){return t.type});r.exit().remove(),r.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return nH[t.type]}),e.each(l).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",f).filter(i).on("touchstart.brush",f).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function l(){var t=tX(this),e=n0(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?e[1][0]-s/2:e[0][0]-s/2}).attr("y",function(t){return"s"===t.type[0]?e[1][1]-s/2:e[0][1]-s/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+s:s}).attr("height",function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+s:s})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(t,e,n){var r=t.__brush.emitter;return!r||n&&r.clean?new h(t,e,n):r}function h(t,e,n){this.that=t,this.args=e,this.state=t.__brush,this.active=0,this.clean=n}function f(){if((!e||tR.touches)&&r.apply(this,arguments)){var n,i,o,s,c,h,f,d,p,g,y,m,v=this,b=tR.target.__data__.type,x="selection"===(a&&tR.metaKey?b="overlay":b)?nF:a&&tR.altKey?nj:nR,_=t===n$?null:nG[b],k=t===nz?null:nX[b],w=n0(v),T=w.extent,E=w.selection,C=T[0][0],S=T[0][1],A=T[1][0],M=T[1][1],N=0,D=0,B=_&&k&&a&&tR.shiftKey,O=tR.touches?(n=tR.changedTouches[0].identifier,function(t){return eq(t,tR.touches,n)}):eH,L=O(v),I=L,F=u(v,arguments,!0).beforestart();"overlay"===b?(E&&(g=!0),w.selection=E=[[i=t===n$?C:L[0],s=t===nz?S:L[1]],[h=t===n$?A:i,d=t===nz?M:s]]):(i=E[0][0],s=E[0][1],h=E[1][0],d=E[1][1]),o=i,c=s,f=h,p=d;var P=tX(v).attr("pointer-events","none"),R=P.selectAll(".overlay").attr("cursor",nH[b]);if(tR.touches)F.moved=Y,F.ended=z;else{var j=tX(tR.view).on("mousemove.brush",Y,!0).on("mouseup.brush",z,!0);a&&j.on("keydown.brush",function(){switch(tR.keyCode){case 16:B=_&&k;break;case 18:x===nR&&(_&&(h=f-N*_,i=o+N*_),k&&(d=p-D*k,s=c+D*k),x=nj,U());break;case 32:x!==nR&&x!==nj||(_<0?h=f-N:_>0&&(i=o-N),k<0?d=p-D:k>0&&(s=c-D),x=nP,R.attr("cursor",nH.selection),U());break;default:return}nI()},!0).on("keyup.brush",function(){switch(tR.keyCode){case 16:B&&(y=m=B=!1,U());break;case 18:x===nj&&(_<0?h=f:_>0&&(i=o),k<0?d=p:k>0&&(s=c),x=nR,U());break;case 32:x===nP&&(tR.altKey?(_&&(h=f-N*_,i=o+N*_),k&&(d=p-D*k,s=c+D*k),x=nj):(_<0?h=f:_>0&&(i=o),k<0?d=p:k>0&&(s=c),x=nR),R.attr("cursor",nH[b]),U());break;default:return}nI()},!0),tK(tR.view)}nL(),ns(v),l.call(v),F.start()}function Y(){var t=O(v);!B||y||m||(Math.abs(t[0]-I[0])>Math.abs(t[1]-I[1])?m=!0:y=!0),I=t,g=!0,nI(),U()}function U(){var t;switch(N=I[0]-L[0],D=I[1]-L[1],x){case nP:case nF:_&&(N=Math.max(C-i,Math.min(A-h,N)),o=i+N,f=h+N),k&&(D=Math.max(S-s,Math.min(M-d,D)),c=s+D,p=d+D);break;case nR:_<0?(N=Math.max(C-i,Math.min(A-i,N)),o=i+N,f=h):_>0&&(N=Math.max(C-h,Math.min(A-h,N)),o=i,f=h+N),k<0?(D=Math.max(S-s,Math.min(M-s,D)),c=s+D,p=d):k>0&&(D=Math.max(S-d,Math.min(M-d,D)),c=s,p=d+D);break;case nj:_&&(o=Math.max(C,Math.min(A,i-N*_)),f=Math.max(C,Math.min(A,h+N*_))),k&&(c=Math.max(S,Math.min(M,s-D*k)),p=Math.max(S,Math.min(M,d+D*k)))}f<o&&(_*=-1,t=i,i=h,h=t,t=o,o=f,f=t,b in nW&&R.attr("cursor",nH[b=nW[b]])),p<c&&(k*=-1,t=s,s=d,d=t,t=c,c=p,p=t,b in nV&&R.attr("cursor",nH[b=nV[b]])),w.selection&&(E=w.selection),y&&(o=E[0][0],f=E[1][0]),m&&(c=E[0][1],p=E[1][1]),E[0][0]===o&&E[0][1]===c&&E[1][0]===f&&E[1][1]===p||(w.selection=[[o,c],[f,p]],l.call(v),F.brush())}function z(){var t;if(nL(),tR.touches){if(tR.touches.length)return;e&&clearTimeout(e),e=setTimeout(function(){e=null},500)}else tJ(tR.view,g),j.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);P.attr("pointer-events","all"),R.attr("cursor",nH.overlay),w.selection&&(E=w.selection),((t=E)[0][0]===t[1][0]||t[0][1]===t[1][1])&&(w.selection=null,l.call(v)),F.end()}}function d(){u(this,arguments).moved()}function p(){u(this,arguments).ended()}function g(){var e=this.__brush||{selection:null};return e.extent=nU(n.apply(this,arguments)),e.dim=t,e}return c.move=function(e,n){e.selection?e.on("start.brush",function(){u(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){u(this,arguments).end()}).tween("brush",function(){var e=this,r=e.__brush,i=u(e,arguments),a=r.selection,o=t.input("function"==typeof n?n.apply(this,arguments):n,r.extent),s=eU(a,o);function c(t){r.selection=1===t&&null===o?null:s(t),l.call(e),i.brush()}return null!==a&&null!==o?c:c(1)}):e.each(function(){var e=arguments,r=this.__brush,i=t.input("function"==typeof n?n.apply(this,e):n,r.extent),a=u(this,e).beforestart();ns(this),r.selection=null===i?null:i,l.call(this),a.start().brush().end()})},c.clear=function(t){c.move(t,null)},h.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(e){t$(new nO(c,e,t.output(this.state.selection)),o.apply,o,[e,this.that,this.args])}},c.extent=function(t){return arguments.length?(n="function"==typeof t?t:nB(nU(t)),c):n},c.filter=function(t){return arguments.length?(r="function"==typeof t?t:nB(!!t),c):r},c.touchable=function(t){return arguments.length?(i="function"==typeof t?t:nB(!!t),c):i},c.handleSize=function(t){return arguments.length?(s=+t,c):s},c.keyModifiers=function(t){return arguments.length?(a=!!t,c):a},c.on=function(){var t=o.on.apply(o,arguments);return t===o?c:t},c}var n6=Math.cos,n8=Math.sin,n7=Math.PI,n9=n7/2,rt=2*n7,re=Math.max;function rn(){var t=0,e=null,n=null,r=null;function i(i){var a,o,s,c,l,u,h=i.length,f=[],d=w(h),p=[],g=[],y=g.groups=Array(h),m=Array(h*h);for(a=0,l=-1;++l<h;){for(o=0,u=-1;++u<h;)o+=i[l][u];f.push(o),p.push(w(h)),a+=o}for(e&&d.sort(function(t,n){return e(f[t],f[n])}),n&&p.forEach(function(t,e){t.sort(function(t,r){return n(i[e][t],i[e][r])})}),c=(a=re(0,rt-t*h)/a)?t:rt/h,o=0,l=-1;++l<h;){for(s=o,u=-1;++u<h;){var v=d[l],b=p[v][u],x=i[v][b],_=o,k=o+=x*a;m[b*h+v]={index:v,subindex:b,startAngle:_,endAngle:k,value:x}}y[v]={index:v,startAngle:s,endAngle:o,value:f[v]},o+=c}for(l=-1;++l<h;)for(u=l-1;++u<h;){var T=m[u*h+l],E=m[l*h+u];(T.value||E.value)&&g.push(T.value<E.value?{source:E,target:T}:{source:T,target:E})}return r?g.sort(r):g}return i.padAngle=function(e){return arguments.length?(t=re(0,e),i):t},i.sortGroups=function(t){return arguments.length?(e=t,i):e},i.sortSubgroups=function(t){return arguments.length?(n=t,i):n},i.sortChords=function(t){return arguments.length?(null==t?r=null:(r=function(e,n){return t(e.source.value+e.target.value,n.source.value+n.target.value)})._=t,i):r&&r._},i}var rr=Array.prototype.slice;function ri(t){return function(){return t}}var ra=Math.PI,ro=2*ra,rs=ro-1e-6;function rc(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function rl(){return new rc}rc.prototype=rl.prototype={constructor:rc,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(t,e,n,r,i){t*=1,e*=1,n*=1,r*=1,i*=1;var a=this._x1,o=this._y1,s=n-t,c=r-e,l=a-t,u=o-e,h=l*l+u*u;if(i<0)throw Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>1e-6)if(Math.abs(u*s-c*l)>1e-6&&i){var f=n-a,d=r-o,p=s*s+c*c,g=Math.sqrt(p),y=Math.sqrt(h),m=i*Math.tan((ra-Math.acos((p+h-(f*f+d*d))/(2*g*y)))/2),v=m/y,b=m/g;Math.abs(v-1)>1e-6&&(this._+="L"+(t+v*l)+","+(e+v*u)),this._+="A"+i+","+i+",0,0,"+ +(u*f>l*d)+","+(this._x1=t+b*s)+","+(this._y1=e+b*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,r,i,a){t*=1,e*=1,a=!!a;var o=(n*=1)*Math.cos(r),s=n*Math.sin(r),c=t+o,l=e+s,u=1^a,h=a?r-i:i-r;if(n<0)throw Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+l:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-l)>1e-6)&&(this._+="L"+c+","+l),n&&(h<0&&(h=h%ro+ro),h>rs?this._+="A"+n+","+n+",0,1,"+u+","+(t-o)+","+(e-s)+"A"+n+","+n+",0,1,"+u+","+(this._x1=c)+","+(this._y1=l):h>1e-6&&(this._+="A"+n+","+n+",0,"+ +(h>=ra)+","+u+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};let ru=rl;function rh(t){return t.source}function rf(t){return t.target}function rd(t){return t.radius}function rp(t){return t.startAngle}function rg(t){return t.endAngle}function ry(){var t=rh,e=rf,n=rd,r=rp,i=rg,a=null;function o(){var o,s=rr.call(arguments),c=t.apply(this,s),l=e.apply(this,s),u=+n.apply(this,(s[0]=c,s)),h=r.apply(this,s)-n9,f=i.apply(this,s)-n9,d=u*n6(h),p=u*n8(h),g=+n.apply(this,(s[0]=l,s)),y=r.apply(this,s)-n9,m=i.apply(this,s)-n9;if(a||(a=o=ru()),a.moveTo(d,p),a.arc(0,0,u,h,f),h===y&&f===m||(a.quadraticCurveTo(0,0,g*n6(y),g*n8(y)),a.arc(0,0,g,y,m)),a.quadraticCurveTo(0,0,d,p),a.closePath(),o)return a=null,o+""||null}return o.radius=function(t){return arguments.length?(n="function"==typeof t?t:ri(+t),o):n},o.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:ri(+t),o):r},o.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:ri(+t),o):i},o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(t){return arguments.length?(e=t,o):e},o.context=function(t){return arguments.length?(a=null==t?null:t,o):a},o}function rm(){}function rv(t,e){var n=new rm;if(t instanceof rm)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r,i=-1,a=t.length;if(null==e)for(;++i<a;)n.set(i,t[i]);else for(;++i<a;)n.set(e(r=t[i],i,t),r)}else if(t)for(var o in t)n.set(o,t[o]);return n}rm.prototype=rv.prototype={constructor:rm,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]}
1,set:function(t,e){return this["$"+t]=e,this},remove:function(t){var e="$"+t;return e in this&&delete this[e]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)"$"===e[0]&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)"$"===e[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var e in this)"$"===e[0]&&t(this[e],e.slice(1),this)}};let rb=rv;function rx(){var t,e,n,r=[],i=[];function a(n,i,o,s){if(i>=r.length)return null!=t&&n.sort(t),null!=e?e(n):n;for(var c,l,u,h=-1,f=n.length,d=r[i++],p=rb(),g=o();++h<f;)(u=p.get(c=d(l=n[h])+""))?u.push(l):p.set(c,[l]);return p.each(function(t,e){s(g,e,a(t,i,o,s))}),g}return n={object:function(t){return a(t,0,r_,rk)},map:function(t){return a(t,0,rw,rT)},entries:function(t){return function t(n,a){if(++a>r.length)return n;var o,s=i[a-1];return null!=e&&a>=r.length?o=n.entries():(o=[],n.each(function(e,n){o.push({key:n,values:t(e,a)})})),null!=s?o.sort(function(t,e){return s(t.key,e.key)}):o}(a(t,0,rw,rT),0)},key:function(t){return r.push(t),n},sortKeys:function(t){return i[r.length-1]=t,n},sortValues:function(e){return t=e,n},rollup:function(t){return e=t,n}}}function r_(){return{}}function rk(t,e,n){t[e]=n}function rw(){return rb()}function rT(t,e,n){t.set(e,n)}function rE(){}var rC=rb.prototype;function rS(t,e){var n=new rE;if(t instanceof rE)t.each(function(t){n.add(t)});else if(t){var r=-1,i=t.length;if(null==e)for(;++r<i;)n.add(t[r]);else for(;++r<i;)n.add(e(t[r],r,t))}return n}rE.prototype=rS.prototype={constructor:rE,has:rC.has,add:function(t){return this["$"+(t+="")]=t,this},remove:rC.remove,clear:rC.clear,values:rC.keys,size:rC.size,empty:rC.empty,each:rC.each};let rA=rS;function rM(t){var e=[];for(var n in t)e.push(n);return e}function rN(t){var e=[];for(var n in t)e.push(t[n]);return e}function rD(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e}var rB=Math.PI/180,rO=180/Math.PI,rL=4/29,rI=6/29,rF=6/29*3*(6/29);function rP(t){if(t instanceof rY)return new rY(t.l,t.a,t.b,t.opacity);if(t instanceof rG)return rX(t);t instanceof eh||(t=el(t));var e,n,r=rq(t.r),i=rq(t.g),a=rq(t.b),o=rU((.2225045*r+.7168786*i+.0606169*a)/1);return r===i&&i===a?e=n=o:(e=rU((.4360747*r+.3850649*i+.1430804*a)/.96422),n=rU((.0139322*r+.0971045*i+.7141733*a)/.82521)),new rY(116*o-16,500*(e-o),200*(o-n),t.opacity)}function rR(t,e){return new rY(t,0,0,null==e?1:e)}function rj(t,e,n,r){return 1==arguments.length?rP(t):new rY(t,e,n,null==r?1:r)}function rY(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function rU(t){return t>.008856451679035631?Math.pow(t,1/3):t/rF+rL}function rz(t){return t>rI?t*t*t:rF*(t-rL)}
1function r$(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function rq(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function rH(t){if(t instanceof rG)return new rG(t.h,t.c,t.l,t.opacity);if(t instanceof rY||(t=rP(t)),0===t.a&&0===t.b)return new rG(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*rO;return new rG(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function rW(t,e,n,r){return 1==arguments.length?rH(t):new rG(n,e,t,null==r?1:r)}function rV(t,e,n,r){return 1==arguments.length?rH(t):new rG(t,e,n,null==r?1:r)}function rG(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function rX(t){if(isNaN(t.h))return new rY(t.l,0,0,t.opacity);var e=t.h*rB;return new rY(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t0(rY,rj,t1(t2,{brighter:function(t){return new rY(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new rY(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new eh(r$(3.1338561*(e=.96422*rz(e))-1.6168667*(t=+rz(t))-.4906146*(n=.82521*rz(n))),r$(-.9787684*e+1.9161415*t+.033454*n),r$(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),t0(rG,rV,t1(t2,{brighter:function(t){return new rG(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new rG(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return rX(this).rgb()}}));var rZ=-1.78277*.29227-.1347134789;function rQ(t,e,n,r){return 1==arguments.length?function(t){if(t instanceof rK)return new rK(t.h,t.s,t.l,t.opacity);t instanceof eh||(t=el(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(rZ*r+-1.7884503806*e-3.5172982438*n)/(rZ+-1.7884503806-3.5172982438),a=r-i,o=-((1.97294*(n-i)- -.29227*a)/.90649),s=Math.sqrt(o*o+a*a)/(1.97294*i*(1-i)),c=s?Math.atan2(o,a)*rO-120:NaN;return new rK(c<0?c+360:c,s,i,t.opacity)}(t):new rK(t,e,n,null==r?1:r)}function rK(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}t0(rK,rQ,t1(t2,{brighter:function(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new rK(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new rK(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*rB,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new eh(255*(e+n*(-.14861*r+1.78277*i)),255*(e+n*(-.29227*r+-.90649*i)),255*(e+1.97294*r*n),this.opacity)}}));var rJ=Array.prototype.slice;function r0(t,e){return t-e}function r1(t){return function(){return t}}function r2(){}var r3=[[],[[[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 r5(){var t=1,e=1,n=N,r=s;function i(t){var e=n(t);if(Array.isArray(e))e=e.slice().sort(r0);else{var r=m(t),i=r[0],o=r[1];e=M(i,o,e),e=w(Math.floor(i/e)*e,Math.floor(o/e)*e,e)}return e.map(function(e){return a(t,e)})}function a(n,i){var a=[],s=[];return function(n,r,i){var a,s,c,l,u,h,f=[],d=[];for(a=s=-1,r3[(l=n[0]>=r)<<1].forEach(p);++a<t-1;)r3[(c=l)|(l=n[a+1]>=r)<<1].forEach(p);for(r3[0|l].forEach(p);++s<e-1;){for(a=-1,r3[(l=n[s*t+t]>=r)<<1|(u=n[s*t]>=r)<<2].forEach(p);++a<t-1;)c=l,l=n[s*t+t+a+1]>=r,h=u,r3[c|l<<1|(u=n[s*t+a+1]>=r)<<2|h<<3].forEach(p);r3[l|u<<3].forEach(p)}for(a=-1,r3[(u=n[s*t]>=r)<<2].forEach(p);++a<t-1;)h=u,r3[(u=n[s*t+a+1]>=r)<<2|h<<3].forEach(p);function p(t){var e,n,r=[t[0][0]+a,t[0][1]+s],c=[t[1][0]+a,t[1][1]+s],l=o(r),u=o(c);(e=d[l])?(n=f[u])?(delete d[e.end],delete f[n.start],e===n?(e.ring.push(c),i(e.ring)):f[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete d[e.end],e.ring.push(c),d[e.end=u]=e):(e=f[u])?(n=d[l])?(delete f[e.start],delete d[n.end],e===n?(e.ring.push(c),i(e.ring)):f[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete f[e.start],e.ring.unshift(r),f[e.start=l]=e):f[l]=d[u]={start:l,end:u,ring:[r,c]}}r3[u<<3].forEach(p)}(n,i,function(t){r(t,n,i),function(t){for(var e=0,n=t.length,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++e<n;)r+=t[e-1][1]*t[e][0]-t[e-1][0]*t[e][1];return r}(t)>0?a.push([t]):s.push(t)}
1),s.forEach(function(t){for(var e,n=0,r=a.length;n<r;++n)if(-1!==function(t,e){for(var n,r=-1,i=e.length;++r<i;)if(n=function(t,e){for(var n=e[0],r=e[1],i=-1,a=0,o=t.length,s=o-1;a<o;s=a++){var c=t[a],l=c[0],u=c[1],h=t[s],f=h[0],d=h[1];if(function(t,e,n){var r,i,a,o;return(e[0]-t[0])*(n[1]-t[1])==(n[0]-t[0])*(e[1]-t[1])&&(i=t[r=+(t[0]===e[0])],a=n[r],o=e[r],i<=a&&a<=o||o<=a&&a<=i)}(c,h,e))return 0;u>r!=d>r&&n<(f-l)*(r-u)/(d-u)+l&&(i=-i)}return i}(t,e[r]))return n;return 0}((e=a[n])[0],t))return void e.push(t)}),{type:"MultiPolygon",value:i,coordinates:a}}function o(e){return 2*e[0]+e[1]*(t+1)*4}function s(n,r,i){n.forEach(function(n){var a,o=n[0],s=n[1],c=0|o,l=0|s,u=r[l*t+c];o>0&&o<t&&c===o&&(a=r[l*t+c-1],n[0]=o+(i-a)/(u-a)-.5),s>0&&s<e&&l===s&&(a=r[(l-1)*t+c],n[1]=s+(i-a)/(u-a)-.5)})}return i.contour=a,i.size=function(n){if(!arguments.length)return[t,e];var r=Math.ceil(n[0]),a=Math.ceil(n[1]);if(!(r>0&&a>0))throw Error("invalid size");return t=r,e=a,i},i.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?r1(rJ.call(t)):r1(t),i):n},i.smooth=function(t){return arguments.length?(r=t?s:r2,i):r===s},i}function r4(t,e,n){for(var r=t.width,i=t.height,a=1+(n<<1),o=0;o<i;++o)for(var s=0,c=0;s<r+n;++s)s<r&&(c+=t.data[s+o*r]),s>=n&&(s>=a&&(c-=t.data[s-a+o*r]),e.data[s-n+o*r]=c/Math.min(s+1,r-1+a-s,a))}function r6(t,e,n){for(var r=t.width,i=t.height,a=1+(n<<1),o=0;o<r;++o)for(var s=0,c=0;s<i+n;++s)s<i&&(c+=t.data[o+s*r]),s>=n&&(s>=a&&(c-=t.data[o+(s-a)*r]),e.data[o+(s-n)*r]=c/Math.min(s+1,i-1+a-s,a))}function r8(t){return t[0]}function r7(t){return t[1]}function r9(){return 1}function it(){var t=r8,e=r7,n=r9,r=960,i=500,a=20,o=2,s=60,c=270,l=155,u=r1(20);function h(r){var i=new Float32Array(c*l),h=new Float32Array(c*l);r.forEach(function(r,a,u){var h=+t(r,a,u)+s>>o,f=+e(r,a,u)+s>>o,d=+n(r,a,u);h>=0&&h<c&&f>=0&&f<l&&(i[h+f*c]+=d)}),r4({width:c,height:l,data:i},{width:c,height:l,data:h},a>>o),r6({width:c,height:l,data:h},{width:c,height:l,data:i},a>>o),r4({width:c,height:l,data:i},{width:c,height:l,data:h},a>>o),r6({width:c,height:l,data:h},{width:c,height:l,data:i},a>>o),r4({width:c,height:l,data:i},{width:c,height:l,data:h},a>>o),r6({width:c,height:l,data:h},{width:c,height:l,data:i},a>>o);var d=u(i);if(!Array.isArray(d)){var p=I(i);d=M(0,p,d),(d=w(0,Math.floor(p/d)*d,d)).shift()}return r5().thresholds(d).size([c,l])(i).map(f)}function f(t){return t.value*=Math.pow(2,-2*o),t.coordinates.forEach(d),t}function d(t){t.forEach(p)}function p(t){t.forEach(g)}function g(t){t[0]=t[0]*Math.pow(2,o)-s,t[1]=t[1]*Math.pow(2,o)-s}function y(){return c=r+2*(s=3*a)>>o,l=i+2*s>>o,h}return h.x=function(e){return arguments.length?(t="function"==typeof e?e:r1(+e),h):t},h.y=function(t){return arguments.length?(e="function"==typeof t?t:r1(+t),h):e},h.weight=function(t){return arguments.length?(n="function"==typeof t?t:r1(+t),h):n},h.size=function(t){if(!arguments.length)return[r,i];var e=Math.ceil(t[0]),n=Math.ceil(t[1]);if(!(e>=0||e>=0))throw Error("invalid size");return r=e,i=n,y()},h.cellSize=function(t){if(!arguments.length)return 1<<o;if(!((t*=1)>=1))throw Error("invalid cell size");return o=Math.floor(Math.log(t)/Math.LN2),y()},h.thresholds=function(t){return arguments.length?(u="function"==typeof t?t:Array.isArray(t)?r1(rJ.call(t)):r1(t),h):u},h.bandwidth=function(t){if(!arguments.length)return Math.sqrt(a*(a+1));if(!((t*=1)>=0))throw Error("invalid bandwidth");return a=Math.round((Math.sqrt(4*t*t+1)-1)/2),y()},h}function ie(t){return function(){return t}}function ir(t,e,n,r,i,a,o,s,c,l){this.target=t,this.type=e,this.subject=n,this.identifier=r,this.active=i,this.x=a,this.y=o,this.dx=s,this.dy=c,this._=l}function ii(){return!tR.ctrlKey&&!tR.button}function ia(){return this.parentNode}function io(t){return null==t?{x:tR.x,y:tR.y}:t}function is(){return navigator.maxTouchPoints||"ontouchstart"in this}function ic(){var t,e,n,r,i=ii,a=ia,o=io,s=is,c={},l=ts("start","drag","end"),u=0,h=0;function f(t){t.on("mousedown.drag",d).filter(s).on("touchstart.drag",y).on("touchmove.drag",m).on("touchend.drag touchcancel.drag",v).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(){if(!r&&i.apply(this,arguments)){var o=b("mouse",a.apply(this,arguments),eH,this,arguments);o&&(tX(tR.view).on("mousemove.drag",p,!0).on("mouseup.drag",g,!0),tK(tR.view),tZ(),n=!1,t=tR.clientX,e=tR.clientY,o("start"))}}function p(){if(tQ(),!n){var r=tR.clientX-t,i=tR.clientY-e;n=r*r+i*i>h}
1c.mouse("drag")}function g(){tX(tR.view).on("mousemove.drag mouseup.drag",null),tJ(tR.view,n),tQ(),c.mouse("end")}function y(){if(i.apply(this,arguments)){var t,e,n=tR.changedTouches,r=a.apply(this,arguments),o=n.length;for(t=0;t<o;++t)(e=b(n[t].identifier,r,eq,this,arguments))&&(tZ(),e("start"))}}function m(){var t,e,n=tR.changedTouches,r=n.length;for(t=0;t<r;++t)(e=c[n[t].identifier])&&(tQ(),e("drag"))}function v(){var t,e,n=tR.changedTouches,i=n.length;for(r&&clearTimeout(r),r=setTimeout(function(){r=null},500),t=0;t<i;++t)(e=c[n[t].identifier])&&(tZ(),e("end"))}function b(t,e,n,r,i){var a,s,h,d=n(e,t),p=l.copy();if(t$(new ir(f,"beforestart",a,t,u,d[0],d[1],0,0,p),function(){return null!=(tR.subject=a=o.apply(r,i))&&(s=a.x-d[0]||0,h=a.y-d[1]||0,!0)}))return function o(l){var g,y=d;switch(l){case"start":c[t]=o,g=u++;break;case"end":delete c[t],--u;case"drag":d=n(e,t),g=u}t$(new ir(f,l,a,t,g,d[0]+s,d[1]+h,d[0]-y[0],d[1]-y[1],p),p.apply,p,[l,r,i])}}return f.filter=function(t){return arguments.length?(i="function"==typeof t?t:ie(!!t),f):i},f.container=function(t){return arguments.length?(a="function"==typeof t?t:ie(t),f):a},f.subject=function(t){return arguments.length?(o="function"==typeof t?t:ie(t),f):o},f.touchable=function(t){return arguments.length?(s="function"==typeof t?t:ie(!!t),f):s},f.on=function(){var t=l.on.apply(l,arguments);return t===l?f:t},f.clickDistance=function(t){return arguments.length?(h=(t*=1)*t,f):Math.sqrt(h)},f}ir.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var il={},iu={};function ih(t){return Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+'] || ""'}).join(",")+"}")}function id(t){var e=Object.create(null),n=[];return t.forEach(function(t){for(var r in t)r in e||n.push(e[r]=r)}),n}function ip(t,e){var n=t+"",r=n.length;return r<e?Array(e-r+1).join(0)+n:n}function ig(t){var e=RegExp('["'+t+"\n\r]"),n=t.charCodeAt(0);function r(t,e){var r,i=[],a=t.length,o=0,s=0,c=a<=0,l=!1;function u(){if(c)return iu;if(l)return l=!1,il;var e,r,i=o;if(34===t.charCodeAt(i)){for(;o++<a&&34!==t.charCodeAt(o)||34===t.charCodeAt(++o););return(e=o)>=a?c=!0:10===(r=t.charCodeAt(o++))?l=!0:13===r&&(l=!0,10===t.charCodeAt(o)&&++o),t.slice(i+1,e-1).replace(/""/g,'"')}for(;o<a;){if(10===(r=t.charCodeAt(e=o++)))l=!0;else if(13===r)l=!0,10===t.charCodeAt(o)&&++o;else if(r!==n)continue;return t.slice(i,e)}return c=!0,t.slice(i,a)}for(10===t.charCodeAt(a-1)&&--a,13===t.charCodeAt(a-1)&&--a;(r=u())!==iu;){for(var h=[];r!==il&&r!==iu;)h.push(r),r=u();e&&null==(h=e(h,s++))||i.push(h)}return i}function i(e,n){return e.map(function(e){return n.map(function(t){return o(e[t])}).join(t)})}function a(e){return e.map(o).join(t)}function o(t){var n,r,i,a,o,s;return null==t?"":t instanceof Date?(r=(n=t).getUTCHours(),i=n.getUTCMinutes(),a=n.getUTCSeconds(),o=n.getUTCMilliseconds(),isNaN(n)?"Invalid Date":((s=n.getUTCFullYear())<0?"-"+ip(-s,6):s>9999?"+"+ip(s,6):ip(s,4))+"-"+ip(n.getUTCMonth()+1,2)+"-"+ip(n.getUTCDate(),2)+(o?"T"+ip(r,2)+":"+ip(i,2)+":"+ip(a,2)+"."+ip(o,3)+"Z":a?"T"+ip(r,2)+":"+ip(i,2)+":"+ip(a,2)+"Z":i||r?"T"+ip(r,2)+":"+ip(i,2)+"Z":"")):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,i,a=r(t,function(t,r){var a;if(n)return n(t,r-1);i=t,n=e?(a=ih(t),function(n,r){return e(a(n),r,t)}):ih(t)});return a.columns=i||[],a},parseRows:r,format:function(e,n){return null==n&&(n=id(e)),[n.map(o).join(t)].concat(i(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=id(t)),i(t,e).join("\n")},formatRows:function(t){return t.map(a).join("\n")},formatRow:a,formatValue:o}}var iy=ig(","),im=iy.parse,iv=iy.parseRows,ib=iy.format,ix=iy.formatBody,i_=iy.formatRows,ik=iy.formatRow,iw=iy.formatValue,iT=ig(" "),iE=iT.parse,iC=iT.parseRows,iS=iT.format,iA=iT.formatBody,iM=iT.formatRows,iN=iT.formatRow,iD=iT.formatValue;function iB(t){for(var e in t){var n,r,i=t[e].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(n=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;iO&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=n;else i=null;t[e]=i}return t}var iO=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function iL(t){return+t}function iI(t){return t*t}function iF(t){return t*(2-t)}function iP(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var iR=function t(e){function n(t){return Math.pow(t,e)}return e*=1,n.exponent=t,n}(3),ij=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e*=1,n.exponent=t,n}(3),iY=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e*=1,n.exponent=t,n}(3),iU=Math.PI,iz=iU/2;function i$(t){return 1==+t?1:1-Math.cos(t*iz)}function iq(t){return Math.sin(t*iz)}function iH(t){return(1-Math.cos(iU*t))/2}function iW(t){return 1.0009775171065494*(Math.pow(2,-10*t)-9765625e-10)}function iV(t){return iW(1-t)}function iG(t){return 1-iW(t)}
1function iX(t){return((t*=2)<=1?iW(1-t):2-iW(t-1))/2}function iZ(t){return 1-Math.sqrt(1-t*t)}function iQ(t){return Math.sqrt(1- --t*t)}function iK(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function iJ(t){return 1-i0(1-t)}function i0(t){return(t*=1)<.36363636363636365?7.5625*t*t:t<.7272727272727273?7.5625*(t-=.5454545454545454)*t+.75:t<.9090909090909091?7.5625*(t-=.8181818181818182)*t+.9375:7.5625*(t-=.9545454545454546)*t+.984375}function i1(t){return((t*=2)<=1?1-i0(1-t):i0(t-1)+1)/2}var i2=function t(e){function n(t){return(t*=1)*t*(e*(t-1)+t)}return e*=1,n.overshoot=t,n}(1.70158),i3=function t(e){function n(t){return--t*t*((t+1)*e+t)+1}return e*=1,n.overshoot=t,n}(1.70158),i5=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e*=1,n.overshoot=t,n}(1.70158),i4=2*Math.PI,i6=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=i4);function i(t){return e*iW(- --t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*i4)},i.period=function(n){return t(e,n)},i}(1,.3),i8=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=i4);function i(t){return 1-e*iW(t*=1)*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*i4)},i.period=function(n){return t(e,n)},i}(1,.3),i7=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=i4);function i(t){return((t=2*t-1)<0?e*iW(-t)*Math.sin((r-t)/n):2-e*iW(t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*i4)},i.period=function(n){return t(e,n)},i}(1,.3);function i9(t){if(!t.ok)throw Error(t.status+" "+t.statusText);return t.blob()}function at(t,e){return fetch(t,e).then(i9)}function ae(t){if(!t.ok)throw Error(t.status+" "+t.statusText);return t.arrayBuffer()}function an(t,e){return fetch(t,e).then(ae)}function ar(t){if(!t.ok)throw Error(t.status+" "+t.statusText);return t.text()}function ai(t,e){return fetch(t,e).then(ar)}function aa(t){return function(e,n,r){return 2==arguments.length&&"function"==typeof n&&(r=n,n=void 0),ai(e,n).then(function(e){return t(e,r)})}}function ao(t,e,n,r){3==arguments.length&&"function"==typeof n&&(r=n,n=void 0);var i=ig(t);return ai(e,n).then(function(t){return i.parse(t,r)})}var as=aa(im),ac=aa(iE);function al(t,e){return new Promise(function(n,r){var i=new Image;for(var a in e)i[a]=e[a];i.onerror=r,i.onload=function(){n(i)},i.src=t})}function au(t){if(!t.ok)throw Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}function ah(t,e){return fetch(t,e).then(au)}function af(t){return function(e,n){return ai(e,n).then(function(e){return(new DOMParser).parseFromString(e,t)})}}let ad=af("application/xml");var ap=af("text/html"),ag=af("image/svg+xml");function ay(t,e){var n;function r(){var r,i,a=n.length,o=0,s=0;for(r=0;r<a;++r)o+=(i=n[r]).x,s+=i.y;for(o=o/a-t,s=s/a-e,r=0;r<a;++r)(i=n[r]).x-=o,i.y-=s}return null==t&&(t=0),null==e&&(e=0),r.initialize=function(t){n=t},r.x=function(e){return arguments.length?(t=+e,r):t},r.y=function(t){return arguments.length?(e=+t,r):e},r}function am(t){return function(){return t}}function av(){return 1e-6*(Math.random()-.5)}function ab(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,a,o,s,c,l,u,h,f,d=t._root,p={data:r},g=t._x0,y=t._y0,m=t._x1,v=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((l=e>=(a=(g+m)/2))?g=a:m=a,(u=n>=(o=(y+v)/2))?y=o:v=o,i=d,!(d=d[h=u<<1|l]))return i[h]=p,t;if(s=+t._x.call(null,d.data),c=+t._y.call(null,d.data),e===s&&n===c)return p.next=d,i?i[h]=p:t._root=p,t;do i=i?i[h]=[,,,,]:t._root=[,,,,],(l=e>=(a=(g+m)/2))?g=a:m=a,(u=n>=(o=(y+v)/2))?y=o:v=o;while((h=u<<1|l)==(f=(c>=o)<<1|s>=a));return i[f]=d,i[h]=p,t}function ax(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function a_(t){return t[0]}function ak(t){return t[1]}function aw(t,e,n){var r=new aT(null==e?a_:e,null==n?ak:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function aT(t,e,n,r,i,a){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function aE(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var aC=aw.prototype=aT.prototype;function aS(t){return t.x+t.vx}function aA(t){return t.y+t.vy}function aM(t){var e,n,r=1,i=1;function a(){for(var t,a,s,c,l,u,h,f=e.length,d=0;d<i;++d)for(a=aw(e,aS,aA).visitAfter(o),t=0;t<f;++t)h=(u=n[(s=e[t]).index])*u,c=s.x+s.vx,l=s.y+s.vy,a.visit(p);function p(t,e,n,i,a){var o=t.data,f=t.r,d=u+f;if(!o)return e>c+d||i<c-d||n>l+d||a<l-d;if(o.index>s.index){var p=c-o.x-o.vx,g=l-o.y-o.vy,y=p*p+g*g;y<d*d&&(0===p&&(y+=(p=av())*p),0===g&&(y+=(g=av())*g),y=(d-(y=Math.sqrt(y)))/y*r,s.vx+=(p*=y)*(d=(f*=f)/(h+f)),s.vy+=(g*=y)*
1d,o.vx-=p*(d=1-d),o.vy-=g*d)}}}function o(t){if(t.data)return t.r=n[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function s(){if(e){var r,i,a=e.length;for(n=Array(a),r=0;r<a;++r)n[(i=e[r]).index]=+t(i,r,e)}}return"function"!=typeof t&&(t=am(null==t?1:+t)),a.initialize=function(t){e=t,s()},a.iterations=function(t){return arguments.length?(i=+t,a):i},a.strength=function(t){return arguments.length?(r=+t,a):r},a.radius=function(e){return arguments.length?(t="function"==typeof e?e:am(+e),s(),a):t},a}function aN(t){return t.index}function aD(t,e){var n=t.get(e);if(!n)throw Error("missing: "+e);return n}function aB(t){var e,n,r,i,a,o=aN,s=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},c=am(30),l=1;function u(r){for(var i=0,o=t.length;i<l;++i)for(var s,c,u,h,f,d,p,g=0;g<o;++g)c=(s=t[g]).source,h=(u=s.target).x+u.vx-c.x-c.vx||av(),f=u.y+u.vy-c.y-c.vy||av(),h*=d=((d=Math.sqrt(h*h+f*f))-n[g])/d*r*e[g],f*=d,u.vx-=h*(p=a[g]),u.vy-=f*p,c.vx+=h*(p=1-p),c.vy+=f*p}function h(){if(r){var s,c,l=r.length,u=t.length,h=rb(r,o);for(s=0,i=Array(l);s<u;++s)(c=t[s]).index=s,"object"!=typeof c.source&&(c.source=aD(h,c.source)),"object"!=typeof c.target&&(c.target=aD(h,c.target)),i[c.source.index]=(i[c.source.index]||0)+1,i[c.target.index]=(i[c.target.index]||0)+1;for(s=0,a=Array(u);s<u;++s)c=t[s],a[s]=i[c.source.index]/(i[c.source.index]+i[c.target.index]);e=Array(u),f(),n=Array(u),d()}}function f(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+s(t[n],n,t)}function d(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+c(t[e],e,t)}return null==t&&(t=[]),u.initialize=function(t){r=t,h()},u.links=function(e){return arguments.length?(t=e,h(),u):t},u.id=function(t){return arguments.length?(o=t,u):o},u.iterations=function(t){return arguments.length?(l=+t,u):l},u.strength=function(t){return arguments.length?(s="function"==typeof t?t:am(+t),f(),u):s},u.distance=function(t){return arguments.length?(c="function"==typeof t?t:am(+t),d(),u):c},u}function aO(t){return t.x}function aL(t){return t.y}aC.copy=function(){var t,e,n=new aT(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=aE(r),n;for(t=[{source:r,target:n._root=[,,,,]}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=[,,,,]}):r.target[i]=aE(e));return n},aC.add=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return ab(this.cover(e,n),e,n,t)},aC.addAll=function(t){var e,n,r,i,a=t.length,o=Array(a),s=Array(a),c=1/0,l=1/0,u=-1/0,h=-1/0;for(n=0;n<a;++n)isNaN(r=+this._x.call(null,e=t[n]))||isNaN(i=+this._y.call(null,e))||(o[n]=r,s[n]=i,r<c&&(c=r),r>u&&(u=r),i<l&&(l=i),i>h&&(h=i));if(c>u||l>h)return this;for(this.cover(c,l).cover(u,h),n=0;n<a;++n)ab(this,o[n],s[n],t[n]);return this},aC.cover=function(t,e){if(isNaN(t*=1)||isNaN(e*=1))return this;var n=this._x0,r=this._y0,i=this._x1,a=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,a=(r=Math.floor(e))+1;else{for(var o,s,c=i-n,l=this._root;n>t||t>=i||r>e||e>=a;)switch(s=(e<r)<<1|t<n,(o=[,,,,])[s]=l,l=o,c*=2,s){case 0:i=n+c,a=r+c;break;case 1:n=i-c,a=r+c;break;case 2:i=n+c,r=a-c;break;case 3:n=i-c,r=a-c}this._root&&this._root.length&&(this._root=l)}return this._x0=n,this._y0=r,this._x1=i,this._y1=a,this},aC.data=function(){var t=[];return this.visit(function(e){if(!e.length)do t.push(e.data);while(e=e.next)}),t},aC.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},aC.find=function(t,e,n){var r,i,a,o,s,c,l,u=this._x0,h=this._y0,f=this._x1,d=this._y1,p=[],g=this._root;for(g&&p.push(new ax(g,u,h,f,d)),null==n?n=1/0:(u=t-n,h=e-n,f=t+n,d=e+n,n*=n);c=p.pop();)if(!(!(g=c.node)||(i=c.x0)>f||(a=c.y0)>d||(o=c.x1)<u||(s=c.y1)<h))if(g.length){var y=(i+o)/2,m=(a+s)/2;p.push(new ax(g[3],y,m,o,s),new ax(g[2],i,m,y,s),new ax(g[1],y,a,o,m),new ax(g[0],i,a,y,m)),(l=(e>=m)<<1|t>=y)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-l],p[p.length-1-l]=c)}else{var v=t-this._x.call(null,g.data),b=e-this._y.call(null,g.data),x=v*v+b*b;if(x<n){var _=Math.sqrt(n=x);u=t-_,h=e-_,f=t+_,d=e+_,r=g.data}}return r},aC.remove=function(t){if(isNaN(a=+this._x.call(null,t))||isNaN(o=+this._y.call(null,t)))return this;var e,n,r,i,a,o,s,c,l,u,h,f,d=this._root,p=this._x0,g=this._y0,y=this._x1,m=this._y1;if(!d)return this;if(d.length)for(;;){if((l=a>=(s=(p+y)/2))?p=s:y=s,(u=o>=(c=(g+m)/2))?g=c:m=c,e=d,!(d=d[h=u<<1|l]))return this;if(!d.length)break;(e[h+1&3]||e[h+2&3]||e[h+3&3])&&(n=e,f=h)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?i?r.next=i:delete r.next:e?(i?e[h]=i:delete e[h],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[f]=d:this._root=d
vendor: 6,345 bytes, line 1
1)):this._root=i,this},aC.removeAll=function(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this},aC.root=function(){return this._root},aC.size=function(){var t=0;return this.visit(function(e){if(!e.length)do++t;while(e=e.next)}),t},aC.visit=function(t){var e,n,r,i,a,o,s=[],c=this._root;for(c&&s.push(new ax(c,this._x0,this._y0,this._x1,this._y1));e=s.pop();)if(!t(c=e.node,r=e.x0,i=e.y0,a=e.x1,o=e.y1)&&c.length){var l=(r+a)/2,u=(i+o)/2;(n=c[3])&&s.push(new ax(n,l,u,a,o)),(n=c[2])&&s.push(new ax(n,r,u,l,o)),(n=c[1])&&s.push(new ax(n,l,i,a,u)),(n=c[0])&&s.push(new ax(n,r,i,l,u))}return this},aC.visitAfter=function(t){var e,n=[],r=[];for(this._root&&n.push(new ax(this._root,this._x0,this._y0,this._x1,this._y1));e=n.pop();){var i=e.node;if(i.length){var a,o=e.x0,s=e.y0,c=e.x1,l=e.y1,u=(o+c)/2,h=(s+l)/2;(a=i[0])&&n.push(new ax(a,o,s,u,h)),(a=i[1])&&n.push(new ax(a,u,s,c,h)),(a=i[2])&&n.push(new ax(a,o,h,u,l)),(a=i[3])&&n.push(new ax(a,u,h,c,l))}r.push(e)}for(;e=r.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},aC.x=function(t){return arguments.length?(this._x=t,this):this._x},aC.y=function(t){return arguments.length?(this._y=t,this):this._y};var aI=Math.PI*(3-Math.sqrt(5));function aF(t){var e,n=1,r=.001,i=1-Math.pow(.001,1/300),a=0,o=.6,s=rb(),c=e4(u),l=ts("tick","end");function u(){h(),l.call("tick",e),n<r&&(c.stop(),l.call("end",e))}function h(r){var c,l,u=t.length;void 0===r&&(r=1);for(var h=0;h<r;++h)for(n+=(a-n)*i,s.each(function(t){t(n)}),c=0;c<u;++c)null==(l=t[c]).fx?l.x+=l.vx*=o:(l.x=l.fx,l.vx=0),null==l.fy?l.y+=l.vy*=o:(l.y=l.fy,l.vy=0);return e}function f(){for(var e,n=0,r=t.length;n<r;++n){if((e=t[n]).index=n,null!=e.fx&&(e.x=e.fx),null!=e.fy&&(e.y=e.fy),isNaN(e.x)||isNaN(e.y)){var i=10*Math.sqrt(n),a=n*aI;e.x=i*Math.cos(a),e.y=i*Math.sin(a)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function d(e){return e.initialize&&e.initialize(t),e}return null==t&&(t=[]),f(),e={tick:h,restart:function(){return c.restart(u),e},stop:function(){return c.stop(),e},nodes:function(n){return arguments.length?(t=n,f(),s.each(d),e):t},alpha:function(t){return arguments.length?(n=+t,e):n},alphaMin:function(t){return arguments.length?(r=+t,e):r},alphaDecay:function(t){return arguments.length?(i=+t,e):+i},alphaTarget:function(t){return arguments.length?(a=+t,e):a},velocityDecay:function(t){return arguments.length?(o=1-t,e):1-o},force:function(t,n){return arguments.length>1?(null==n?s.remove(t):s.set(t,d(n)),e):s.get(t)},find:function(e,n,r){var i,a,o,s,c,l=0,u=t.length;for(null==r?r=1/0:r*=r,l=0;l<u;++l)(o=(i=e-(s=t[l]).x)*i+(a=n-s.y)*a)<r&&(c=s,r=o);return c},on:function(t,n){return arguments.length>1?(l.on(t,n),e):l.on(t)}}}function aP(){var t,e,n,r,i=am(-30),a=1,o=1/0,s=.81;function c(r){var i,a=t.length,o=aw(t,aO,aL).visitAfter(u);for(n=r,i=0;i<a;++i)e=t[i],o.visit(h)}function l(){if(t){var e,n,a=t.length;for(r=Array(a),e=0;e<a;++e)r[(n=t[e]).index]=+i(n,e,t)}}function u(t){var e,n,i,a,o,s=0,c=0;if(t.length){for(i=a=o=0;o<4;++o)(e=t[o])&&(n=Math.abs(e.value))&&(s+=e.value,c+=n,i+=n*e.x,a+=n*e.y);t.x=i/c,t.y=a/c}else{(e=t).x=e.data.x,e.y=e.data.y;do s+=r[e.data.index];while(e=e.next)}t.value=s}function h(t,i,c,l){if(!t.value)return!0;var u=t.x-e.x,h=t.y-e.y,f=l-i,d=u*u+h*h;if(f*f/s<d)return d<o&&(0===u&&(d+=(u=av())*u),0===h&&(d+=(h=av())*h),d<a&&(d=Math.sqrt(a*d)),e.vx+=u*t.value*n/d,e.vy+=h*t.value*n/d),!0;if(!(t.length||d>=o)){(t.data!==e||t.next)&&(0===u&&(d+=(u=av())*u),0===h&&(d+=(h=av())*h),d<a&&(d=Math.sqrt(a*d)));do t.data!==e&&(f=r[t.data.index]*n/d,e.vx+=u*f,e.vy+=h*f);while(t=t.next)}}return c.initialize=function(e){t=e,l()},c.strength=function(t){return arguments.length?(i="function"==typeof t?t:am(+t),l(),c):i},c.distanceMin=function(t){return arguments.length?(a=t*t,c):Math.sqrt(a)},c.distanceMax=function(t){return arguments.length?(o=t*t,c):Math.sqrt(o)},c.theta=function(t){return arguments.length?(s=t*t,c):Math.sqrt(s)},c}function aR(t,e,n){var r,i,a,o=am(.1);function s(t){for(var o=0,s=r.length;o<s;++o){var c=r[o],l=c.x-e||1e-6,u=c.y-n||1e-6,h=Math.sqrt(l*l+u*u),f=(a[o]-h)*i[o]*t/h;c.vx+=l*f,c.vy+=u*f}}function c(){if(r){var e,n=r.length;for(i=Array(n),a=Array(n),e=0;e<n;++e)a[e]=+t(r[e],e,r),i[e]=isNaN(a[e])?0:+o(r[e],e,r)}}return"function"!=typeof t&&(t=am(+t)),null==e&&(e=0),null==n&&(n=0),s.initialize=function(t){r=t,c()},s.strength=function(t){return arguments.length?(o="function"==typeof t?t:am(+t),c(),s):o},s.radius=function(e){return arguments.length?(t="function"==typeof e?e:am(+e),c(),s):t},s.x=function(t){return arguments.length?(e=+t,s):e},s.y=function(t){return arguments.length?(n=+t,s):n},s}function aj(t){var e,n,r,i=am(.1);function a(t){for(var i,a=0,o=e.length;a<o;++a)(i=e[a]).vx+=(r[a]-i.x)*n[a]*t}function o(){if(e){var a,o=e.length;for(n=Array(o),r=Array(o),a=0;a<o;++a)n[a]=isNaN(r[a]=+t(e[a],a,e))?0:+i(e[a],a,e)}}return"function"!=typeof t&&(t=am(null==t?0:+t)),a.initialize=function(t){e=t,o()},a.strength=function(t){return arguments.length?(i="function"==typeof t?t:am(+t),o(),a):i},a.x=function(e){return arguments.length?(t="function"==typeof e?e:am(+e),o(),a):t},a}function aY(t){var e,n,r,i=am(.1);function a(t){for(var i,a=0,o=e.length;a<o;++a)(i=e[a]).vy+=(r[a]-i.y)*n[a]*t}function o(){if(e){var a,o=e.length;for(n=Array(o),r=Array(o),a=0;a<o;++a)n[a]=isNaN(r[a]=+t(e[a],a,e))?0:+i(e[a],a,e)}}return"function"!=typeof t&&(t=am(null==t?0:+t)),a.initialize=function(t){e=t,o()},a.strength=function(t){return arguments.length?(i="function"==typeof t?t:am(+t),o(),a):i},a.y=function(e){return arguments.length?(t="function"==typeof e?e:am(+e),o(),a):t},a}function aU(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function az(t){return(t=aU(Math.abs(t)))?t[1]:NaN}var a$,aq=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function aH(t){var e;if(!(e=aq.exec(t)))throw Error("invalid format: "+t);return new aW({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function aW(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.
1width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function aV(t,e){var n=aU(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}aH.prototype=aW.prototype,aW.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};let aG={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return aV(100*t,e)},r:aV,s:function(t,e){var n=aU(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(a$=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+Array(1-a).join("0")+aU(t,Math.max(0,e+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function aX(t){return t}var aZ,aQ,aK,aJ=Array.prototype.map,a0=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function a1(t){var e,n,r,i=void 0===t.grouping||void 0===t.thousands?aX:(n=aJ.call(t.grouping,Number),r=t.thousands+"",function(t,e){for(var i=t.length,a=[],o=0,s=n[0],c=0;i>0&&s>0&&(c+s+1>e&&(s=Math.max(1,e-c)),a.push(t.substring(i-=s,i+s)),!((c+=s+1)>e));)s=n[o=(o+1)%n.length];return a.reverse().join(r)}),a=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",c=void 0===t.numerals?aX:(e=aJ.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}),l=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"-":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=aH(t)).fill,n=t.align,r=t.sign,f=t.symbol,d=t.zero,p=t.width,g=t.comma,y=t.precision,m=t.trim,v=t.type;"n"===v?(g=!0,v="g"):aG[v]||(void 0===y&&(y=12),m=!0,v="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var b="$"===f?a:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",x="$"===f?o:/[%p]/.test(v)?l:"",_=aG[v],k=/[defgprs%]/.test(v);function w(t){var a,o,l,f=b,w=x;if("c"===v)w=_(t)+w,t="";else{var T=(t*=1)<0||1/t<0;if(t=isNaN(t)?h:_(Math.abs(t),y),m&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),T&&0==+t&&"+"!==r&&(T=!1),f=(T?"("===r?r:u:"-"===r||"("===r?"":r)+f,w=("s"===v?a0[8+a$/3]:"")+w+(T&&"("===r?")":""),k){for(a=-1,o=t.length;++a<o;)if(48>(l=t.charCodeAt(a))||l>57){w=(46===l?s+t.slice(a+1):t.slice(a))+w,t=t.slice(0,a);break}}}g&&!d&&(t=i(t,1/0));var E=f.length+t.length+w.length,C=E<p?Array(p-E+1).join(e):"";switch(g&&d&&(t=i(C+t,C.length?p-w.length:1/0),C=""),n){case"<":t=f+t+w+C;break;case"=":t=f+C+t+w;break;case"^":t=C.slice(0,E=C.length>>1)+f+t+w+C.slice(E);break;default:t=C+f+t+w}return c(t)}return y=void 0===y?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),w.toString=function(){return t+""},w}return{format:f,formatPrefix:function(t,e){var n=f(((t=aH(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(az(e)/3))),i=Math.pow(10,-r),a=a0[8+r/3];return function(t){return n(i*t)+a}}}}function a2(t){return aQ=(aZ=a1(t)).format,aK=aZ.formatPrefix,aZ}function a3(t){return Math.max(0,-az(Math.abs(t)))}function a5(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(az(e)/3)))-az(Math.abs(t)))}function a4(t,e){return Math.max(0,az(e=Math.abs(e)-(t=Math.abs(t)))-az(t))+1}function a6(){return new a8}function a8(){this.reset()}a2({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),a8.prototype={constructor:a8,reset:function(){this.s=this.t=0},add:function(t){a9(a7,t,this.t),a9(this,a7.s,this.s),this.s?this.t+=a7.t:this.s=a7.t}
vendor: 5,554 bytes, line 1
1,valueOf:function(){return this.s}};var a7=new a8;function a9(t,e,n){var r=t.s=e+n,i=r-e;t.t=e-(r-i)+(n-i)}var ot=Math.PI,oe=ot/2,on=ot/4,or=2*ot,oi=180/ot,oa=ot/180,oo=Math.abs,os=Math.atan,oc=Math.atan2,ol=Math.cos,ou=Math.ceil,oh=Math.exp,of=(Math.floor,Math.log),od=Math.pow,op=Math.sin,og=Math.sign||function(t){return t>0?1:t<0?-1:0},oy=Math.sqrt,om=Math.tan;function ov(t){return t>1?0:t<-1?ot:Math.acos(t)}function ob(t){return t>1?oe:t<-1?-oe:Math.asin(t)}function ox(){}function o_(t,e){t&&ow.hasOwnProperty(t.type)&&ow[t.type](t,e)}var ok={Feature:function(t,e){o_(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)o_(n[r].geometry,e)}},ow={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){oT(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)oT(n[r],e,0)},Polygon:function(t,e){oE(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)oE(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)o_(n[r],e)}};function oT(t,e,n){var r,i=-1,a=t.length-n;for(e.lineStart();++i<a;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function oE(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)oT(t[n],e,1);e.polygonEnd()}function oC(t,e){t&&ok.hasOwnProperty(t.type)?ok[t.type](t,e):o_(t,e)}var oS,oA,oM,oN,oD,oB=a6(),oO=a6(),oL={point:ox,lineStart:ox,lineEnd:ox,polygonStart:function(){oB.reset(),oL.lineStart=oI,oL.lineEnd=oF},polygonEnd:function(){var t=+oB;oO.add(t<0?or+t:t),this.lineStart=this.lineEnd=this.point=ox},sphere:function(){oO.add(or)}};function oI(){oL.point=oP}function oF(){oR(oS,oA)}function oP(t,e){oL.point=oR,oS=t,oA=e,oM=t*=oa,oN=ol(e=(e*=oa)/2+on),oD=op(e)}function oR(t,e){var n=(t*=oa)-oM,r=n>=0?1:-1,i=r*n,a=ol(e=(e*=oa)/2+on),o=op(e),s=oD*o,c=oN*a+s*ol(i),l=s*r*op(i);oB.add(oc(l,c)),oM=t,oN=a,oD=o}function oj(t){return oO.reset(),oC(t,oL),2*oO}function oY(t){return[oc(t[1],t[0]),ob(t[2])]}function oU(t){var e=t[0],n=t[1],r=ol(n);return[r*ol(e),r*op(e),op(n)]}function oz(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function o$(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function oq(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function oH(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function oW(t){var e=oy(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var oV,oG,oX,oZ,oQ,oK,oJ,o0,o1,o2,o3,o5,o4,o6,o8,o7,o9,st,se,sn,sr,si,sa,so,ss,sc,sl=a6(),su={point:sh,lineStart:sd,lineEnd:sp,polygonStart:function(){su.point=sg,su.lineStart=sy,su.lineEnd=sm,sl.reset(),oL.polygonStart()},polygonEnd:function(){oL.polygonEnd(),su.point=sh,su.lineStart=sd,su.lineEnd=sp,oB<0?(oV=-(oX=180),oG=-(oZ=90)):sl>1e-6?oZ=90:sl<-1e-6&&(oG=-90),o2[0]=oV,o2[1]=oX},sphere:function(){oV=-(oX=180),oG=-(oZ=90)}};function sh(t,e){o1.push(o2=[oV=t,oX=t]),e<oG&&(oG=e),e>oZ&&(oZ=e)}function sf(t,e){var n=oU([t*oa,e*oa]);if(o0){var r=o$(o0,n),i=o$([r[1],-r[0],0],r);oW(i),i=oY(i);var a,o=t-oQ,s=o>0?1:-1,c=i[0]*oi*s,l=oo(o)>180;l^(s*oQ<c&&c<s*t)?(a=i[1]*oi)>oZ&&(oZ=a):l^(s*oQ<(c=(c+360)%360-180)&&c<s*t)?(a=-i[1]*oi)<oG&&(oG=a):(e<oG&&(oG=e),e>oZ&&(oZ=e)),l?t<oQ?sv(oV,t)>sv(oV,oX)&&(oX=t):sv(t,oX)>sv(oV,oX)&&(oV=t):oX>=oV?(t<oV&&(oV=t),t>oX&&(oX=t)):t>oQ?sv(oV,t)>sv(oV,oX)&&(oX=t):sv(t,oX)>sv(oV,oX)&&(oV=t)}else o1.push(o2=[oV=t,oX=t]);e<oG&&(oG=e),e>oZ&&(oZ=e),o0=n,oQ=t}function sd(){su.point=sf}function sp(){o2[0]=oV,o2[1]=oX,su.point=sh,o0=null}function sg(t,e){if(o0){var n=t-oQ;sl.add(oo(n)>180?n+(n>0?360:-360):n)}else oK=t,oJ=e;oL.point(t,e),sf(t,e)}function sy(){oL.lineStart()}function sm(){sg(oK,oJ),oL.lineEnd(),oo(sl)>1e-6&&(oV=-(oX=180)),o2[0]=oV,o2[1]=oX,o0=null}function sv(t,e){return(e-=t)<0?e+360:e}function sb(t,e){return t[0]-e[0]}function sx(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}function s_(t){var e,n,r,i,a,o,s;if(oZ=oX=-(oV=oG=1/0),o1=[],oC(t,su),n=o1.length){for(o1.sort(sb),e=1,a=[r=o1[0]];e<n;++e)sx(r,(i=o1[e])[0])||sx(r,i[1])?(sv(r[0],i[1])>sv(r[0],r[1])&&(r[1]=i[1]),sv(i[0],r[1])>sv(r[0],r[1])&&(r[0]=i[0])):a.push(r=i);for(o=-1/0,e=0,r=a[n=a.length-1];e<=n;r=i,++e)i=a[e],(s=sv(r[1],i[0]))>o&&(o=s,oV=i[0],oX=r[1])}return o1=o2=null,oV===1/0||oG===1/0?[[NaN,NaN],[NaN,NaN]]:[[oV,oG],[oX,oZ]]}var sk={sphere:ox,point:sw,lineStart:sE,lineEnd:sA,polygonStart:function(){sk.lineStart=sM,sk.lineEnd=sN},polygonEnd:function(){sk.lineStart=sE,sk.lineEnd=sA}};function sw(t,e){t*=oa;var n=ol(e*=oa);sT(n*ol(t),n*op(t),op(e))}function sT(t,e,n){++o3,o4+=(t-o4)/o3,o6+=(e-o6)/o3,o8+=(n-o8)/o3}function sE(){sk.point=sC}function sC(t,e){t*=oa;var n=ol(e*=oa);so=n*ol(t),ss=n*op(t),sc=op(e),sk.point=sS,sT(so,ss,sc)}function sS(t,e){t*=oa;var n=ol(e*=oa),r=n*ol(t),i=n*op(t),a=op(e),o=oc(oy((o=ss*a-sc*i)*o+(o=sc*r-so*a)*o+(o=so*i-ss*r)*o),so*r+ss*i+sc*a);o5+=o,o7+=o*(so+(so=r)),o9+=o*(ss+(ss=i)),st+=o*(sc+(sc=a)),sT(so,ss,sc)}function sA(){sk.point=sw}function sM(){sk.point=sD}function sN(){sB(si,sa),sk.point=sw}function sD(t,e){si=t,sa=e,t*=oa,e*=oa,sk.point=sB;var n=ol(e);so=n*ol(t),ss=n*op(t),sc=op(e),sT(so,ss,sc)}function sB(t,e){t*=oa;var n=ol(e*=oa),r=n*ol(t),i=n*op(t),a=op(e),o=ss*a-sc*i,s=sc*r-so*a,c=so*i-ss*r,l=oy(o*o+s*s+c*c),u=ob(l),h=l&&-u/l;se+=h*o,sn+=h*s,sr+=h*c,o5+=u,o7+=u*(so+(so=r)),o9+=u*(ss+(ss=i)),st+=u*(sc+(sc=a)),sT(so,ss,sc)}function sO(t){o3=o5=o4=o6=o8=o7=o9=st=se=sn=sr=0,oC(t,sk);var e=se,n=sn,r=sr,i=e*e+n*n+r*r;
1return i<1e-12&&(e=o7,n=o9,r=st,o5<1e-6&&(e=o4,n=o6,r=o8),(i=e*e+n*n+r*r)<1e-12)?[NaN,NaN]:[oc(n,e)*oi,ob(r/oy(i))*oi]}function sL(t){return function(){return t}}function sI(t,e){function n(n,r){return e((n=t(n,r))[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n}function sF(t,e){return[oo(t)>ot?t+Math.round(-t/or)*or:t,e]}function sP(t,e,n){return(t%=or)?e||n?sI(sj(t),sY(e,n)):sj(t):e||n?sY(e,n):sF}function sR(t){return function(e,n){return[(e+=t)>ot?e-or:e<-ot?e+or:e,n]}}function sj(t){var e=sR(t);return e.invert=sR(-t),e}function sY(t,e){var n=ol(t),r=op(t),i=ol(e),a=op(e);function o(t,e){var o=ol(e),s=ol(t)*o,c=op(t)*o,l=op(e),u=l*n+s*r;return[oc(c*i-u*a,s*n-l*r),ob(u*i+c*a)]}return o.invert=function(t,e){var o=ol(e),s=ol(t)*o,c=op(t)*o,l=op(e),u=l*i-c*a;return[oc(c*i+l*a,s*n+u*r),ob(u*n-s*r)]},o}function sU(t){function e(e){return(e=t(e[0]*oa,e[1]*oa))[0]*=oi,e[1]*=oi,e}return t=sP(t[0]*oa,t[1]*oa,t.length>2?t[2]*oa:0),e.invert=function(e){return(e=t.invert(e[0]*oa,e[1]*oa))[0]*=oi,e[1]*=oi,e},e}function sz(t,e,n,r,i,a){if(n){var o=ol(e),s=op(e),c=r*n;null==i?(i=e+r*or,a=e-c/2):(i=s$(o,i),a=s$(o,a),(r>0?i<a:i>a)&&(i+=r*or));for(var l,u=i;r>0?u>a:u<a;u-=c)l=oY([o,-s*ol(u),-s*op(u)]),t.point(l[0],l[1])}}function s$(t,e){(e=oU(e))[0]-=t,oW(e);var n=ov(-e[1]);return((0>-e[2]?-n:n)+or-1e-6)%or}function sq(){var t,e,n=sL([0,0]),r=sL(90),i=sL(6),a={point:function(n,r){t.push(n=e(n,r)),n[0]*=oi,n[1]*=oi}};function o(){var o=n.apply(this,arguments),s=r.apply(this,arguments)*oa,c=i.apply(this,arguments)*oa;return t=[],e=sP(-o[0]*oa,-o[1]*oa,0).invert,sz(a,s,c,1),o={type:"Polygon",coordinates:[t]},t=e=null,o}return o.center=function(t){return arguments.length?(n="function"==typeof t?t:sL([+t[0],+t[1]]),o):n},o.radius=function(t){return arguments.length?(r="function"==typeof t?t:sL(+t),o):r},o.precision=function(t){return arguments.length?(i="function"==typeof t?t:sL(+t),o):i},o}function sH(){var t,e=[];return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:ox,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function sW(t,e){return 1e-6>oo(t[0]-e[0])&&1e-6>oo(t[1]-e[1])}function sV(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function sG(t,e,n,r,i){var a,o,s=[],c=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],o=t[e];if(sW(r,o)){if(!r[2]&&!o[2]){for(i.lineStart(),a=0;a<e;++a)i.point((r=t[a])[0],r[1]);return void i.lineEnd()}o[0]+=2e-6}s.push(n=new sV(r,t,null,!0)),c.push(n.o=new sV(r,null,n,!1)),s.push(n=new sV(o,t,null,!1)),c.push(n.o=new sV(o,null,n,!0))}}),s.length){for(c.sort(e),sX(s),sX(c),a=0,o=c.length;a<o;++a)c[a].e=n=!n;for(var l,u,h=s[0];;){for(var f=h,d=!0;f.v;)if((f=f.n)===h)return;l=f.z,i.lineStart();do{if(f.v=f.o.v=!0,f.e){if(d)for(a=0,o=l.length;a<o;++a)i.point((u=l[a])[0],u[1]);else r(f.x,f.n.x,1,i);f=f.n}else{if(d)for(a=(l=f.p.z).length-1;a>=0;--a)i.point((u=l[a])[0],u[1]);else r(f.x,f.p.x,-1,i);f=f.p}l=(f=f.o).z,d=!d}while(!f.v);i.lineEnd()}}}function sX(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}sF.invert=sF;var sZ=a6();function sQ(t){return oo(t[0])<=ot?t[0]:og(t[0])*((oo(t[0])+ot)%or-ot)}function sK(t,e){var n=sQ(e),r=e[1],i=op(r),a=[op(n),-ol(n),0],o=0,s=0;sZ.reset(),1===i?r=oe+1e-6:-1===i&&(r=-oe-1e-6);for(var c=0,l=t.length;c<l;++c)if(h=(u=t[c]).length)for(var u,h,f=u[h-1],d=sQ(f),p=f[1]/2+on,g=op(p),y=ol(p),m=0;m<h;++m,d=b,g=_,y=k,f=v){var v=u[m],b=sQ(v),x=v[1]/2+on,_=op(x),k=ol(x),w=b-d,T=w>=0?1:-1,E=T*w,C=E>ot,S=g*_;if(sZ.add(oc(S*T*op(E),y*k+S*ol(E))),o+=C?w+T*or:w,C^d>=n^b>=n){var A=o$(oU(f),oU(v));oW(A);var M=o$(a,A);oW(M);var N=(C^w>=0?-1:1)*ob(M[2]);(r>N||r===N&&(A[0]||A[1]))&&(s+=C^w>=0?1:-1)}}return(o<-1e-6||o<1e-6&&sZ<-1e-6)^1&s}function sJ(t,e,n,r){return function(i){var a,o,s,c=e(i),l=sH(),u=e(l),h=!1,f={point:d,lineStart:g,lineEnd:y,polygonStart:function(){f.point=m,f.lineStart=v,f.lineEnd=b,o=[],a=[]},polygonEnd:function(){f.point=d,f.lineStart=g,f.lineEnd=y,o=R(o);var t=sK(a,r);
1o.length?(h||(i.polygonStart(),h=!0),sG(o,s1,t,n,i)):t&&(h||(i.polygonStart(),h=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),h&&(i.polygonEnd(),h=!1),o=a=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(e,n){t(e,n)&&i.point(e,n)}function p(t,e){c.point(t,e)}function g(){f.point=p,c.lineStart()}function y(){f.point=d,c.lineEnd()}function m(t,e){s.push([t,e]),u.point(t,e)}function v(){u.lineStart(),s=[]}function b(){m(s[0][0],s[0][1]),u.lineEnd();var t,e,n,r,c=u.clean(),f=l.result(),d=f.length;if(s.pop(),a.push(s),s=null,d)if(1&c){if((e=(n=f[0]).length-1)>0){for(h||(i.polygonStart(),h=!0),i.lineStart(),t=0;t<e;++t)i.point((r=n[t])[0],r[1]);i.lineEnd()}}else d>1&&2&c&&f.push(f.pop().concat(f.shift())),o.push(f.filter(s0))}return f}}function s0(t){return t.length>1}function s1(t,e){return((t=t.x)[0]<0?t[1]-oe-1e-6:oe-t[1])-((e=e.x)[0]<0?e[1]-oe-1e-6:oe-e[1])}let s2=sJ(function(){return!0},function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(a,o){var s,c,l,u,h,f,d=a>0?ot:-ot,p=oo(a-n);1e-6>oo(p-ot)?(t.point(n,r=(r+o)/2>0?oe:-oe),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(d,r),t.point(a,r),e=0):i!==d&&p>=ot&&(1e-6>oo(n-i)&&(n-=1e-6*i),1e-6>oo(a-d)&&(a-=1e-6*d),s=n,c=r,r=oo(f=op(s-(l=a)))>1e-6?os((op(c)*(h=ol(o))*op(l)-op(o)*(u=ol(c))*op(s))/(u*h*f)):(c+o)/2,t.point(i,r),t.lineEnd(),t.lineStart(),t.point(d,r),e=0),t.point(n=a,r=o),i=d},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}},function(t,e,n,r){var i;if(null==t)i=n*oe,r.point(-ot,i),r.point(0,i),r.point(ot,i),r.point(ot,0),r.point(ot,-i),r.point(0,-i),r.point(-ot,-i),r.point(-ot,0),r.point(-ot,i);else if(oo(t[0]-e[0])>1e-6){var a=t[0]<e[0]?ot:-ot;i=n*a/2,r.point(-a,i),r.point(0,i),r.point(a,i)}else r.point(e[0],e[1])},[-ot,-oe]);function s3(t){var e=ol(t),n=6*oa,r=e>0,i=oo(e)>1e-6;function a(t,n){return ol(t)*ol(n)>e}function o(t,n,r){var i=[1,0,0],a=o$(oU(t),oU(n)),o=oz(a,a),s=a[0],c=o-s*s;if(!c)return!r&&t;var l=o$(i,a),u=oH(i,e*o/c);oq(u,oH(a,-e*s/c));var h=oz(u,l),f=oz(l,l),d=h*h-f*(oz(u,u)-1);if(!(d<0)){var p=oy(d),g=oH(l,(-h-p)/f);if(oq(g,u),g=oY(g),!r)return g;var y,m=t[0],v=n[0],b=t[1],x=n[1];v<m&&(y=m,m=v,v=y);var _=v-m,k=1e-6>oo(_-ot);if(!k&&x<b&&(y=b,b=x,x=y),k||_<1e-6?k?b+x>0^g[1]<(1e-6>oo(g[0]-m)?b:x):b<=g[1]&&g[1]<=x:_>ot^(m<=g[0]&&g[0]<=v)){var w=oH(l,(-h+p)/f);return oq(w,u),[g,oY(w)]}}}function s(e,n){var i=r?t:ot-t,a=0;return e<-i?a|=1:e>i&&(a|=2),n<-i?a|=4:n>i&&(a|=8),a}return sJ(a,function(t){var e,n,c,l,u;return{lineStart:function(){l=c=!1,u=1},point:function(h,f){var d,p,g=[h,f],y=a(h,f),m=r?y?0:s(h,f):y?s(h+(h<0?ot:-ot),f):0;(!e&&(l=c=y)&&t.lineStart(),y!==c&&(!(p=o(e,g))||sW(e,p)||sW(g,p))&&(g[2]=1),y!==c)?(u=0,y?(t.lineStart(),p=o(g,e),t.point(p[0],p[1])):(p=o(e,g),t.point(p[0],p[1],2),t.lineEnd()),e=p):i&&e&&r^y&&!(m&n)&&(d=o(g,e,!0))&&(u=0,r?(t.lineStart(),t.point(d[0][0],d[0][1]),t.point(d[1][0],d[1][1]),t.lineEnd()):(t.point(d[1][0],d[1][1]),t.lineEnd(),t.lineStart(),t.point(d[0][0],d[0][1],3))),!y||e&&sW(e,g)||t.point(g[0],g[1]),e=g,c=y,n=m},lineEnd:function(){c&&t.lineEnd(),e=null},clean:function(){return u|(l&&c)<<1}}},function(e,r,i,a){sz(a,t,n,i,e,r)},r?[0,-t]:[-ot,t-ot])}function s5(t,e,n,r){function i(i,a){return t<=i&&i<=n&&e<=a&&a<=r}function a(i,a,s,l){var u=0,h=0;if(null==i||(u=o(i,s))!==(h=o(a,s))||0>c(i,a)^s>0)do l.point(0===u||3===u?t:n,u>1?r:e);while((u=(u+s+4)%4)!==h);else l.point(a[0],a[1])}function o(r,i){return 1e-6>oo(r[0]-t)?i>0?0:3:1e-6>oo(r[0]-n)?i>0?2:1:1e-6>oo(r[1]-e)?+(i>0):i>0?3:2}function s(t,e){return c(t.x,e.x)}function c(t,e){var n=o(t,1),r=o(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(o){var c,l,u,h,f,d,p,g,y,m,v,b=o,x=sH(),_={point:k,lineStart:function(){_.point=w,l&&l.push(u=[]),m=!0,y=!1,p=g=NaN},lineEnd:function(){c&&(w(h,f),d&&y&&x.rejoin(),c.push(x.result())),_.point=k,y&&b.lineEnd()},polygonStart:function(){b=x,c=[],l=[],v=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=l.length;n<i;++n)for(var a,o,s=l[n],c=1,u=s.length,h=s[0],f=h[0],d=h[1];c<u;++c)a=f,o=d,f=(h=s[c])[0],d=h[1],o<=r?d>r&&(f-a)*(r-o)>(d-o)*(t-a)&&++e:d<=r&&(f-a)*(r-o)<(d-o)*(t-a)&&--e;return e}(),n=v&&e,i=(c=R(c)).length;
1(n||i)&&(o.polygonStart(),n&&(o.lineStart(),a(null,null,1,o),o.lineEnd()),i&&sG(c,s,e,a,o),o.polygonEnd()),b=o,c=l=u=null}};function k(t,e){i(t,e)&&b.point(t,e)}function w(a,o){var s=i(a,o);if(l&&u.push([a,o]),m)h=a,f=o,d=s,m=!1,s&&(b.lineStart(),b.point(a,o));else if(s&&y)b.point(a,o);else{var c=[p=Math.max(-1e9,Math.min(1e9,p)),g=Math.max(-1e9,Math.min(1e9,g))],x=[a=Math.max(-1e9,Math.min(1e9,a)),o=Math.max(-1e9,Math.min(1e9,o))];!function(t,e,n,r,i,a){var o,s=t[0],c=t[1],l=0,u=1,h=e[0]-s,f=e[1]-c;if(o=n-s,h||!(o>0)){if(o/=h,h<0){if(o<l)return;o<u&&(u=o)}else if(h>0){if(o>u)return;o>l&&(l=o)}if(o=i-s,h||!(o<0)){if(o/=h,h<0){if(o>u)return;o>l&&(l=o)}else if(h>0){if(o<l)return;o<u&&(u=o)}if(o=r-c,f||!(o>0)){if(o/=f,f<0){if(o<l)return;o<u&&(u=o)}else if(f>0){if(o>u)return;o>l&&(l=o)}if(o=a-c,f||!(o<0)){if(o/=f,f<0){if(o>u)return;o>l&&(l=o)}else if(f>0){if(o<l)return;o<u&&(u=o)}return l>0&&(t[0]=s+l*h,t[1]=c+l*f),u<1&&(e[0]=s+u*h,e[1]=c+u*f),!0}}}}}(c,x,t,e,n,r)?s&&(b.lineStart(),b.point(a,o),v=!1):(y||(b.lineStart(),b.point(c[0],c[1])),b.point(x[0],x[1]),s||b.lineEnd(),v=!1)}p=a,g=o,y=s}return _}}function s4(){var t,e,n,r=0,i=0,a=960,o=500;return n={stream:function(n){return t&&e===n?t:t=s5(r,i,a,o)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],a=+s[1][0],o=+s[1][1],t=e=null,n):[[r,i],[a,o]]}}}var s6,s8,s7,s9=a6(),ct={sphere:ox,point:ox,lineStart:function(){ct.point=cn,ct.lineEnd=ce},lineEnd:ox,polygonStart:ox,polygonEnd:ox};function ce(){ct.point=ct.lineEnd=ox}function cn(t,e){s6=t*=oa,s8=op(e*=oa),s7=ol(e),ct.point=cr}function cr(t,e){t*=oa;var n=op(e*=oa),r=ol(e),i=oo(t-s6),a=ol(i),o=r*op(i),s=s7*n-s8*r*a,c=s8*n+s7*r*a;s9.add(oc(oy(o*o+s*s),c)),s6=t,s8=n,s7=r}function ci(t){return s9.reset(),oC(t,ct),+s9}var ca=[null,null],co={type:"LineString",coordinates:ca};function cs(t,e){return ca[0]=t,ca[1]=e,ci(co)}var cc={Feature:function(t,e){return cu(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)if(cu(n[r].geometry,e))return!0;return!1}},cl={Sphere:function(){return!0},Point:function(t,e){var n;return n=t.coordinates,0===cs(n,e)},MultiPoint:function(t,e){for(var n,r=t.coordinates,i=-1,a=r.length;++i<a;){if(n=r[i],0===cs(n,e))return!0}return!1},LineString:function(t,e){return ch(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(ch(n[r],e))return!0;return!1},Polygon:function(t,e){return cf(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(cf(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)if(cu(n[r],e))return!0;return!1}};function cu(t,e){return!(!t||!cl.hasOwnProperty(t.type))&&cl[t.type](t,e)}function ch(t,e){for(var n,r,i,a=0,o=t.length;a<o;a++){if(0===(r=cs(t[a],e))||a>0&&(i=cs(t[a],t[a-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))<1e-12*i)return!0;n=r}return!1}function cf(t,e){return!!sK(t.map(cd),cp(e))}function cd(t){return(t=t.map(cp)).pop(),t}function cp(t){return[t[0]*oa,t[1]*oa]}function cg(t,e){return(t&&cc.hasOwnProperty(t.type)?cc[t.type]:cu)(t,e)}function cy(t,e,n){var r=w(t,e-1e-6,n).concat(e);return function(t){return r.map(function(e){return[t,e]})}}function cm(t,e,n){var r=w(t,e-1e-6,n).concat(e);return function(t){return r.map(function(e){return[e,t]})}}function cv(){var t,e,n,r,i,a,o,s,c,l,u,h,f=10,d=10,p=90,g=360,y=2.5;function m(){return{type:"MultiLineString",coordinates:v()}}function v(){return w(ou(r/p)*p,n,p).map(u).concat(w(ou(s/g)*g,o,g).map(h)).concat(w(ou(e/f)*f,t,f).filter(function(t){return oo(t%p)>1e-6}).map(c)).concat(w(ou(a/d)*d,i,d).filter(function(t){return oo(t%g)>1e-6}).map(l))}return m.lines=function(){return v().map(function(t){return{type:"LineString",coordinates:t}})},m.outline=function(){return{type:"Polygon",coordinates:[u(r).concat(h(o).slice(1),u(n).reverse().slice(1),h(s).reverse().slice(1))]}},m.extent=function(t){return arguments.length?m.extentMajor(t).extentMinor(t):m.extentMinor()},m.extentMajor=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],s=+t[0][1],o=+t[1][1],r>n&&(t=r,r=n,n=t),s>o&&(t=s,s=o,o=t),m.precision(y)):[[r,s],[n,o]]},m.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],a=+n[0][1],i=+n[1][1],e>t&&(n=e,e=t,t=n),a>i&&(n=a,a=i,i=n),m.precision(y)):[[e,a],[t,i]]},m.step=function(t){return arguments.length?m.stepMajor(t).stepMinor(t):m.stepMinor()},m.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],m):[p,g]},m.stepMinor=function(t){return arguments.length?(f=+t[0],d=+t[1],m):[f,d]},m.precision=function(f){return arguments.length?(y=+f,c=cy(a,i,90),l=cm(e,t,y),u=cy(s,o,90),h=cm(r,n,y),m):y},m.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function cb(){return cv()()}function cx(t,e){var n,r,i=t[0]*oa,a=t[1]*oa,o=e[0]*oa,s=e[1]*oa,c=ol(a),l=op(a),u=ol(s),h=op(s),f=c*ol(i),d=c*op(i),p=u*ol(o),g=u*op(o),y=2*ob(oy((n=op((n=s-a)/2))*n+c*u*((r=op((r=o-i)/2))*r))),m=op(y),v=y?function(t){var e=op(t*=y)/m,n=op(y-t)/m,r=n*f+e*p,i=n*d+e*g;return[oc(i,r)*oi,oc(n*l+e*h,oy(r*r+i*i))*oi]}:function(){return[i*oi,a*oi]};return v.distance=y,v}function c_(t){return t}var ck,cw,cT,cE,cC=a6(),cS=a6(),cA={point:ox,lineStart:ox,lineEnd:ox,polygonStart:function(){cA.lineStart=cM,cA.lineEnd=cB},polygonEnd:function(){cA.lineStart=cA.lineEnd=cA.point=ox,cC.add(oo(cS)),cS.reset()},result:function(){var t=cC/2;return cC.reset(),t}};function cM(){cA.point=cN}function cN(t,e){cA.point=cD,ck=cT=t,cw=cE=e}function cD(t,e){cS.add(cE*t-cT*e),cT=t,cE=e}function cB(){cD(ck,cw)}var cO=1/0,cL=1/0,cI=-1/0,cF=cI;let cP={point:function(t,e){t<cO&&(cO=t),t>cI&&(cI=t),e<cL&&(cL=e),e>cF&&(cF=e)}
vendor: 7,148 bytes, line 1
1,lineStart:ox,lineEnd:ox,polygonStart:ox,polygonEnd:ox,result:function(){var t=[[cO,cL],[cI,cF]];return cI=cF=-(cL=cO=1/0),t}};var cR,cj,cY,cU,cz=0,c$=0,cq=0,cH=0,cW=0,cV=0,cG=0,cX=0,cZ=0,cQ={point:cK,lineStart:cJ,lineEnd:c2,polygonStart:function(){cQ.lineStart=c3,cQ.lineEnd=c5},polygonEnd:function(){cQ.point=cK,cQ.lineStart=cJ,cQ.lineEnd=c2},result:function(){var t=cZ?[cG/cZ,cX/cZ]:cV?[cH/cV,cW/cV]:cq?[cz/cq,c$/cq]:[NaN,NaN];return cz=c$=cq=cH=cW=cV=cG=cX=cZ=0,t}};function cK(t,e){cz+=t,c$+=e,++cq}function cJ(){cQ.point=c0}function c0(t,e){cQ.point=c1,cK(cY=t,cU=e)}function c1(t,e){var n=t-cY,r=e-cU,i=oy(n*n+r*r);cH+=i*(cY+t)/2,cW+=i*(cU+e)/2,cV+=i,cK(cY=t,cU=e)}function c2(){cQ.point=cK}function c3(){cQ.point=c4}function c5(){c6(cR,cj)}function c4(t,e){cQ.point=c6,cK(cR=cY=t,cj=cU=e)}function c6(t,e){var n=t-cY,r=e-cU,i=oy(n*n+r*r);cH+=i*(cY+t)/2,cW+=i*(cU+e)/2,cV+=i,cG+=(i=cU*t-cY*e)*(cY+t),cX+=i*(cU+e),cZ+=3*i,cK(cY=t,cU=e)}function c8(t){this._context=t}c8.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,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(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,or)}},result:ox};var c7,c9,lt,le,ln,lr=a6(),li={point:ox,lineStart:function(){li.point=la},lineEnd:function(){c7&&lo(c9,lt),li.point=ox},polygonStart:function(){c7=!0},polygonEnd:function(){c7=null},result:function(){var t=+lr;return lr.reset(),t}};function la(t,e){li.point=lo,c9=le=t,lt=ln=e}function lo(t,e){le-=t,ln-=e,lr.add(oy(le*le+ln*ln)),le=t,ln=e}function ls(){this._string=[]}function lc(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function ll(t,e){var n,r,i=4.5;function a(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),oC(t,n(r))),r.result()}return a.area=function(t){return oC(t,n(cA)),cA.result()},a.measure=function(t){return oC(t,n(li)),li.result()},a.bounds=function(t){return oC(t,n(cP)),cP.result()},a.centroid=function(t){return oC(t,n(cQ)),cQ.result()},a.projection=function(e){return arguments.length?(n=null==e?(t=null,c_):(t=e).stream,a):t},a.context=function(t){return arguments.length?(r=null==t?(e=null,new ls):new c8(e=t),"function"!=typeof i&&r.pointRadius(i),a):e},a.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),a):i},a.projection(t).context(e)}function lu(t){return{stream:lh(t)}}function lh(t){return function(e){var n=new lf;for(var r in t)n[r]=t[r];return n.stream=e,n}}function lf(){}function ld(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),oC(n,t.stream(cP)),e(cP.result()),null!=r&&t.clipExtent(r),t}function lp(t,e,n){return ld(t,function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],a=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),o=+e[0][0]+(r-a*(n[1][0]+n[0][0]))/2,s=+e[0][1]+(i-a*(n[1][1]+n[0][1]))/2;t.scale(150*a).translate([o,s])},n)}function lg(t,e,n){return lp(t,[[0,0],e],n)}function ly(t,e,n){return ld(t,function(n){var r=+e,i=r/(n[1][0]-n[0][0]),a=(r-i*(n[1][0]+n[0][0]))/2,o=-i*n[0][1];t.scale(150*i).translate([a,o])},n)}function lm(t,e,n){return ld(t,function(n){var r=+e,i=r/(n[1][1]-n[0][1]),a=-i*n[0][0],o=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([a,o])},n)}ls.prototype={_radius:4.5,_circle:lc(4.5),pointRadius:function(t){return(t*=1)!==this._radius&&(this._radius=t,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(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=lc(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},lf.prototype={constructor:lf,point:function(t,e){this.stream.point(t,e)},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 lv=ol(30*oa);function lb(t,e){return+e?function(t,e){function n(r,i,a,o,s,c,l,u,h,f,d,p,g,y){var m=l-r,v=u-i,b=m*m+v*v;if(b>4*e&&g--){var x=o+f,_=s+d,k=c+p,w=oy(x*x+_*_+k*k),T=ob(k/=w),E=1e-6>oo(oo(k)-1)||1e-6>oo(a-h)?(a+h)/2:oc(_,x),C=t(E,T),S=C[0],A=C[1],M=S-r,N=A-i,D=v*M-m*N;(D*D/b>e||oo((m*M+v*N)/b-.5)>.3||o*f+s*d+c*p<lv)&&(n(r,i,a,o,s,c,S,A,E,x/=w,_/=w,k,g,y),y.point(S,A),n(S,A,E,x,_,k,l,u,h,f,d,p,g,y))}}return function(e){var r,i,a,o,s,c,l,u,h,f,d,p,g={point:y,lineStart:m,lineEnd:b,polygonStart:function(){e.polygonStart(),g.lineStart=x},polygonEnd:function(){e.polygonEnd(),g.lineStart=m}};function y(n,r){n=t(n,r),e.point(n[0],n[1])}function m(){u=NaN,g.point=v,e.lineStart()}function v(r,i){var a=oU([r,i]),o=t(r,i);n(u,h,l,f,d,p,u=o[0],h=o[1],l=r,f=a[0],d=a[1],p=a[2],16,e),e.point(u,h)}function b(){g.point=y,e.lineEnd()}function x(){m(),g.point=_,g.lineEnd=k}function _(t,e){v(r=t,e),i=u,a=h,o=f,s=d,c=p,g.point=v}function k(){n(u,h,l,f,d,p,i,a,r,o,s,c,16,e),g.lineEnd=b,b()}return g}}(t,e):lh({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}var lx=lh({point:function(t,e){this.stream.point(t*oa,e*oa)}});function l_(t,e,n,r,i,a){var o=ol(a),s=op(a),c=o*t,l=s*t,u=o/t,h=s/t,f=(s*n-o*e)/t,d=(s*e+o*n)/t;function p(t,a){return[c*(t*=r)-l*(a*=i)+e,n-l*t-c*a]}return p.invert=function(t,e){return[r*(u*t-h*e+f),i*(d-h*t-u*e)]},p}function lk(t){return lw(function(){return t})()}function lw(t){var e,n,r,i,a,o,s,c,l,u,h=150,f=480,d=250,p=0,g=0,y=0,m=0,v=0,b=0,x=1,_=1,k=null,w=s2,T=null,E=c_,C=.5;function S(t){return c(t[0]*oa,t[1]*oa)}function A(t){return(t=c.invert(t[0],t[1]))&&[t[0]*oi,t[1]*oi]}function M(){var t=l_(h,0,0,x,_,b).apply(null,e(p,g)),r=(b?l_:function(t,e,n,r,i){function a(a,o){return[e+t*(a*=r),n-t*(o*=i)]}return a.invert=function(a,o){return[(a-e)/t*r,(n-o)/t*i]},a})(h,f-t[0],d-t[1],x,_,b);return n=sP(y,m,v),s=sI(e,r),c=sI(n,s),o=lb(s,C),N()}function N(){return l=u=null,S}return S.stream=function(t){var e;return l&&u===t?l:l=lx((e=n,lh({point:function(t,n){var r=e(t,n);return this.stream.point(r[0],r[1])}}))(w(o(E(u=t)))))},S.preclip=function(t){return arguments.length?(w=t,k=void 0,N()):w},S.postclip=function(t){return arguments.length?(E=t,T=r=i=a=null,N()):E},S.clipAngle=function(t){return arguments.length?(w=+t?s3(k=t*oa):(k=null,s2),N()):k*oi},S.clipExtent=function(t){return arguments.length?(E=null==t?(T=r=i=a=null,c_):s5(T=+t[0][0],r=+t[0][1],i=+t[1][0],a=+t[1][1]),N()):null==T?null:[[T,r],[i,a]]},S.scale=function(t){return arguments.length?(h=+t,M()):h},S.translate=function(t){return arguments.length?(f=+t[0],d=+t[1],M()):[f,d
1]},S.center=function(t){return arguments.length?(p=t[0]%360*oa,g=t[1]%360*oa,M()):[p*oi,g*oi]},S.rotate=function(t){return arguments.length?(y=t[0]%360*oa,m=t[1]%360*oa,v=t.length>2?t[2]%360*oa:0,M()):[y*oi,m*oi,v*oi]},S.angle=function(t){return arguments.length?(b=t%360*oa,M()):b*oi},S.reflectX=function(t){return arguments.length?(x=t?-1:1,M()):x<0},S.reflectY=function(t){return arguments.length?(_=t?-1:1,M()):_<0},S.precision=function(t){return arguments.length?(o=lb(s,C=t*t),N()):oy(C)},S.fitExtent=function(t,e){return lp(S,t,e)},S.fitSize=function(t,e){return lg(S,t,e)},S.fitWidth=function(t,e){return ly(S,t,e)},S.fitHeight=function(t,e){return lm(S,t,e)},function(){return e=t.apply(this,arguments),S.invert=e.invert&&A,M()}}function lT(t){var e=0,n=ot/3,r=lw(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*oa,n=t[1]*oa):[e*oi,n*oi]},i}function lE(t,e){var n=op(t),r=(n+op(e))/2;if(1e-6>oo(r)){var i=ol(t);function a(t,e){return[t*i,op(e)/i]}return a.invert=function(t,e){return[t/i,ob(e*i)]},a}var o=1+n*(2*r-n),s=oy(o)/r;function c(t,e){var n=oy(o-2*r*op(e))/r;return[n*op(t*=r),s-n*ol(t)]}return c.invert=function(t,e){var n=s-e,i=oc(t,oo(n))*og(n);return n*r<0&&(i-=ot*og(t)*og(n)),[i/r,ob((o-(t*t+n*n)*r*r)/(2*r))]},c}function lC(){return lT(lE).scale(155.424).center([0,33.6442])}function lS(){return lC().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function lA(){var t,e,n,r,i,a,o=lS(),s=lC().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=lC().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,e){a=[t,e]}};function u(t){var e=t[0],o=t[1];return a=null,n.point(e,o),a||(r.point(e,o),a)||(i.point(e,o),a)}function h(){return t=e=null,u}return u.invert=function(t){var e=o.scale(),n=o.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?s:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:o).invert(t)},u.stream=function(n){var r,i;return t&&e===n?t:(i=(r=[o.stream(e=n),s.stream(n),c.stream(n)]).length,t={point:function(t,e){for(var n=-1;++n<i;)r[n].point(t,e)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}})},u.precision=function(t){return arguments.length?(o.precision(t),s.precision(t),c.precision(t),h()):o.precision()},u.scale=function(t){return arguments.length?(o.scale(t),s.scale(.35*t),c.scale(t),u.translate(o.translate())):o.scale()},u.translate=function(t){if(!arguments.length)return o.translate();var e=o.scale(),a=+t[0],u=+t[1];return n=o.translate(t).clipExtent([[a-.455*e,u-.238*e],[a+.455*e,u+.238*e]]).stream(l),r=s.translate([a-.307*e,u+.201*e]).clipExtent([[a-.425*e+1e-6,u+.12*e+1e-6],[a-.214*e-1e-6,u+.234*e-1e-6]]).stream(l),i=c.translate([a-.205*e,u+.212*e]).clipExtent([[a-.214*e+1e-6,u+.166*e+1e-6],[a-.115*e-1e-6,u+.234*e-1e-6]]).stream(l),h()},u.fitExtent=function(t,e){return lp(u,t,e)},u.fitSize=function(t,e){return lg(u,t,e)},u.fitWidth=function(t,e){return ly(u,t,e)},u.fitHeight=function(t,e){return lm(u,t,e)},u.scale(1070)}function lM(t){return function(e,n){var r=ol(e),i=ol(n),a=t(r*i);return[a*i*op(e),a*op(n)]}}function lN(t){return function(e,n){var r=oy(e*e+n*n),i=t(r),a=op(i);return[oc(e*a,r*ol(i)),ob(r&&n*a/r)]}}var lD=lM(function(t){return oy(2/(1+t))});function lB(){return lk(lD).scale(124.75).clipAngle(179.999)}lD.invert=lN(function(t){return 2*ob(t/2)});var lO=lM(function(t){return(t=ov(t))&&t/op(t)});function lL(){return lk(lO).scale(79.4188).clipAngle(179.999)}function lI(t,e){return[t,of(om((oe+e)/2))]}function lF(){return lP(lI).scale(961/or)}function lP(t){var e,n,r,i=lk(t),a=i.center,o=i.scale,s=i.translate,c=i.clipExtent,l=null;function u(){var a=ot*o(),s=i(sU(i.rotate()).invert([0,0]));return c(null==l?[[s[0]-a,s[1]-a],[s[0]+a,s[1]+a]]:t===lI?[[Math.max(s[0]-a,l),e],[Math.min(s[0]+a,n),r]]:[[l,Math.max(s[1]-a,e)],[n,Math.min(s[1]+a,r)]])}return i.scale=function(t){return arguments.length?(o(t),u()):o()},i.translate=function(t){return arguments.length?(s(t),u()):s()},i.center=function(t){return arguments.length?(a(t),u()):a()},i.clipExtent=function(t){return arguments.length?(null==t?l=e=n=r=null:(l=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),u()):null==l?null:[[l,e],[n,r]]},u()}function lR(t){return om((oe+t)/2)}function lj(t,e){var n=ol(t),r=t===e?op(t):of(n/ol(e))/of(lR(e)/lR(t)),i=n*od(lR(t),r)/r;if(!r)return lI;function a(t,e){i>0?e<-oe+1e-6&&(e=-oe+1e-6):e>oe-1e-6&&(e=oe-1e-6);var n=i/od(lR(e),r);return[n*op(r*t),i-n*ol(r*t)]}return a.invert=function(t,e){var n=i-e,a=og(r)*oy(t*t+n*n),o=oc(t,oo(n))*og(n);return n*r<0&&(o-=ot*og(t)*og(n)),[o/r,2*os(od(i/a,1/r))-oe]},a}function lY(){return lT(lj).scale(109.5).parallels([30,30])}function lU(t,e){return[t,e]}function lz(){return lk(lU).scale(152.63)}function l$(t,e){var n=ol(t),r=t===e?op(t):(n-ol(e))/(e-t),i=n/r+t;if(1e-6>oo(r))return lU;function a(t,e){var n=i-e,a=r*t;return[n*op(a),i-n*ol(a)]}return a.invert=function(t,e){var n=i-e,a=oc(t,oo(n))*og(n);return n*r<0&&(a-=ot*og(t)*og(n)),[a/r,i-og(r)*oy(t*t+n*n)]},a}function lq(){return lT(l$).scale(131.154).center([0,13.9389])}lO.invert=lN(function(t){return t}),lI.invert=function(t,e){return[t,2*os(oh(e))-oe]},lU.invert=lU;var lH=oy(3)/2;function lW(t,e){var n=ob(lH*op(e)),r=n*n,i=r*r*r;return[t*ol(n)/(lH*(1.340264+-.24331799999999998*r+i*(.0062510000000000005+.034164*r))),n*(1.340264+-.081106*r+i*(893e-6+.003796
1*r))]}function lV(){return lk(lW).scale(177.158)}function lG(t,e){var n=ol(e),r=ol(t)*n;return[n*op(t)/r,op(e)/r]}function lX(){return lk(lG).scale(144.049).clipAngle(60)}function lZ(){var t,e,n,r,i,a,o,s=1,c=0,l=0,u=1,h=1,f=0,d=null,p=1,g=1,y=lh({point:function(t,e){var n=b([t,e]);this.stream.point(n[0],n[1])}}),m=c_;function v(){return p=s*u,g=s*h,a=o=null,b}function b(n){var r=n[0]*p,i=n[1]*g;if(f){var a=i*t-r*e;r=r*t+i*e,i=a}return[r+c,i+l]}return b.invert=function(n){var r=n[0]-c,i=n[1]-l;if(f){var a=i*t+r*e;r=r*t-i*e,i=a}return[r/p,i/g]},b.stream=function(t){return a&&o===t?a:a=y(m(o=t))},b.postclip=function(t){return arguments.length?(m=t,d=n=r=i=null,v()):m},b.clipExtent=function(t){return arguments.length?(m=null==t?(d=n=r=i=null,c_):s5(d=+t[0][0],n=+t[0][1],r=+t[1][0],i=+t[1][1]),v()):null==d?null:[[d,n],[r,i]]},b.scale=function(t){return arguments.length?(s=+t,v()):s},b.translate=function(t){return arguments.length?(c=+t[0],l=+t[1],v()):[c,l]},b.angle=function(n){return arguments.length?(e=op(f=n%360*oa),t=ol(f),v()):f*oi},b.reflectX=function(t){return arguments.length?(u=t?-1:1,v()):u<0},b.reflectY=function(t){return arguments.length?(h=t?-1:1,v()):h<0},b.fitExtent=function(t,e){return lp(b,t,e)},b.fitSize=function(t,e){return lg(b,t,e)},b.fitWidth=function(t,e){return ly(b,t,e)},b.fitHeight=function(t,e){return lm(b,t,e)},b}function lQ(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}function lK(){return lk(lQ).scale(175.295)}function lJ(t,e){return[ol(e)*op(t),op(e)]}function l0(){return lk(lJ).scale(249.5).clipAngle(90.000001)}function l1(t,e){var n=ol(e),r=1+ol(t)*n;return[n*op(t)/r,op(e)/r]}function l2(){return lk(l1).scale(250).clipAngle(142)}function l3(t,e){return[of(om((oe+e)/2)),-t]}function l5(){var t=lP(l3),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)}function l4(t,e){return t.parent===e.parent?1:2}function l6(t,e){return t+e.x}function l8(t,e){return Math.max(t,e.y)}function l7(){var t=l4,e=1,n=1,r=!1;function i(i){var a,o=0;i.eachAfter(function(e){var n=e.children;n?(e.x=n.reduce(l6,0)/n.length,e.y=1+n.reduce(l8,0)):(e.x=a?o+=t(e,a):0,e.y=0,a=e)});var s=function(t){for(var e;e=t.children;)t=e[0];return t}(i),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),l=s.x-t(s,c)/2,u=c.x+t(c,s)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-l)/(u-l)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function l9(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function ut(t,e){var n,r,i,a,o,s=new ui(t),c=+t.value&&(s.value=t.value),l=[s];for(null==e&&(e=ue);n=l.pop();)if(c&&(n.value=+n.data.value),(i=e(n.data))&&(o=i.length))for(n.children=Array(o),a=o-1;a>=0;--a)l.push(r=n.children[a]=new ui(i[a])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(ur)}function ue(t){return t.children}function un(t){t.data=t.data.data}function ur(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function ui(t){this.data=t,this.depth=this.height=0,this.parent=null}lW.invert=function(t,e){for(var n,r=e,i=r*r,a=i*i*i,o=0;o<12&&(a=(i=(r-=n=(r*(1.340264+-.081106*i+a*(893e-6+.003796*i))-e)/(1.340264+-.24331799999999998*i+a*(.0062510000000000005+.034164*i)))*r)*i*i,!(1e-12>oo(n)));++o);return[lH*t*(1.340264+-.24331799999999998*i+a*(.0062510000000000005+.034164*i))/ol(r),ob(op(r)/lH)]},lG.invert=lN(os),lQ.invert=function(t,e){var n,r=e,i=25;do{var a=r*r,o=a*a;r-=n=(r*(1.007226+a*(.015085+o*(.028874*a-.044475-.005916*o)))-e)/(1.007226+a*(.045255+o*(.259866*a-.311325-.005916*11*o)))}while(oo(n)>1e-6&&--i>0);return[t/(.8707+(a=r*r)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),r]},lJ.invert=lN(ob),l1.invert=lN(function(t){return 2*os(t)}),l3.invert=function(t,e){return[-e,2*os(oh(t))-oe]},ui.prototype=ut.prototype={constructor:ui,count:function(){return this.eachAfter(l9)},each:function(t){var e,n,r,i,a=this,o=[a];do for(e=o.reverse(),o=[];a=e.pop();)if(t(a),n=a.children)for(r=0,i=n.length;r<i;++r)o.push(n[r]);while(o.length);return this},eachAfter:function(t){for(var e,n,r,i=this,a=[i],o=[];i=a.pop();)if(o.push(i),e=i.children)for(n=0,r=e.length;n<r;++n)a.push(e[n]);for(;i=o.pop();)t(i);return this},eachBefore:function(t){for(var e,n,r=this,i=[r];r=i.pop();)if(t(r),e=r.children)for(n=e.length-1;n>=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each(function(e){t.push(e)}),t},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return ut(this).eachBefore(un)}};var ua=Array.prototype.slice;function uo(t){for(var e,n,r=0,i=(t=function(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}(ua.call(t))).length,a=[];r<i;)e=t[r],n&&uc(n,e)?++r:(n=function(t){switch(t.length){case 1:var e;return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return uu(t[0],t[1]);case 3:return uh(t[0],t[1],t[2])}}(a=function(t,e){var n,r;if(ul(e,t))return[e];for(n=0;n<t.length;++n)if(us(e,t[n])&&ul(uu(t[n],e),t))return[t[n],e];for(n=0;n<t.length-1;++n)for(r=n+1;r<t.length;++r)if(us(uu(t[n],t[r]),e)&&us(uu(t[n],e),t[r])&&us(uu(t[r],e),t[n])&&ul(uh(t[n],t[r],e),t))return[t[n],t[r],e];throw Error()}(a,e)),r=0);return n}function us(t,e){var n=t.r-e.r,r=e.x-t.x,i=e.y-t.y;return n<0||n*n<r*r+i*i}function uc(t,e){var n=t.r-e.r+1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function ul(t,e){for(var n=0;n<e.length;++n)if(!uc(t,e[n]))return!1;return!0}function uu(t,e){var n=t.x,r=t.y,i=t.r,a=e.x,o=e.y,s=e.r,c=a-n,l=o-r,u=s-i,h=Math.sqrt(c*c+l*l);
1return{x:(n+a+c/h*u)/2,y:(r+o+l/h*u)/2,r:(h+i+s)/2}}function uh(t,e,n){var r=t.x,i=t.y,a=t.r,o=e.x,s=e.y,c=e.r,l=n.x,u=n.y,h=n.r,f=r-o,d=r-l,p=i-s,g=i-u,y=c-a,m=h-a,v=r*r+i*i-a*a,b=v-o*o-s*s+c*c,x=v-l*l-u*u+h*h,_=d*p-f*g,k=(p*x-g*b)/(2*_)-r,w=(g*y-p*m)/_,T=(d*b-f*x)/(2*_)-i,E=(f*m-d*y)/_,C=w*w+E*E-1,S=2*(a+k*w+T*E),A=k*k+T*T-a*a,M=-(C?(S+Math.sqrt(S*S-4*C*A))/(2*C):A/S);return{x:r+k+w*M,y:i+T+E*M,r:M}}function uf(t,e,n){var r,i,a,o,s=t.x-e.x,c=t.y-e.y,l=s*s+c*c;l?(i=e.r+n.r,i*=i,o=t.r+n.r,i>(o*=o)?(r=(l+o-i)/(2*l),a=Math.sqrt(Math.max(0,o/l-r*r)),n.x=t.x-r*s-a*c,n.y=t.y-r*c+a*s):(r=(l+i-o)/(2*l),a=Math.sqrt(Math.max(0,i/l-r*r)),n.x=e.x+r*s-a*c,n.y=e.y+r*c+a*s)):(n.x=e.x+n.r,n.y=e.y)}function ud(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function up(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,a=(e.y*n.r+n.y*e.r)/r;return i*i+a*a}function ug(t){this._=t,this.next=null,this.previous=null}function uy(t){var e,n,r,i,a,o,s,c,l,u,h;if(!(i=t.length))return 0;if((e=t[0]).x=0,e.y=0,!(i>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(i>2))return e.r+n.r;uf(n,e,r=t[2]),e=new ug(e),n=new ug(n),r=new ug(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(s=3;s<i;++s){uf(e._,n._,r=t[s]),r=new ug(r),c=n.next,l=e.previous,u=n._.r,h=e._.r;do if(u<=h){if(ud(c._,r._)){n=c,e.next=n,n.previous=e,--s;continue t}u+=c._.r,c=c.next}else{if(ud(l._,r._)){(e=l).next=n,n.previous=e,--s;continue t}h+=l._.r,l=l.previous}while(c!==l.next);for(r.previous=e,r.next=n,e.next=n.previous=n=r,a=up(e);(r=r.next)!==n;)(o=up(r))<a&&(e=r,a=o);n=e.next}for(e=[n._],r=n;(r=r.next)!==n;)e.push(r._);for(r=uo(e),s=0;s<i;++s)(e=t[s]).x-=r.x,e.y-=r.y;return r.r}function um(t){return uy(t),t}function uv(t){if("function"!=typeof t)throw Error();return t}function ub(){return 0}function ux(t){return function(){return t}}function u_(t){return Math.sqrt(t.value)}function uk(){var t=null,e=1,n=1,r=ub;function i(i){return i.x=e/2,i.y=n/2,t?i.eachBefore(uw(t)).eachAfter(uT(r,.5)).eachBefore(uE(1)):i.eachBefore(uw(u_)).eachAfter(uT(ub,1)).eachAfter(uT(r,i.r/Math.min(e,n))).eachBefore(uE(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=null==e?null:uv(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:ux(+t),i):r},i}function uw(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function uT(t,e){return function(n){if(r=n.children){var r,i,a,o=r.length,s=t(n)*e||0;if(s)for(i=0;i<o;++i)r[i].r+=s;if(a=uy(r),s)for(i=0;i<o;++i)r[i].r-=s;n.r=a+s}}}function uE(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}function uC(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function uS(t,e,n,r,i){for(var a,o=t.children,s=-1,c=o.length,l=t.value&&(r-e)/t.value;++s<c;)(a=o[s]).y0=n,a.y1=i,a.x0=e,a.x1=e+=a.value*l}function uA(){var t=1,e=1,n=0,r=!1;function i(i){var a,o=i.height+1;return i.x0=i.y0=n,i.x1=t,i.y1=e/o,i.eachBefore((a=e,function(t){t.children&&uS(t,t.x0,a*(t.depth+1)/o,t.x1,a*(t.depth+2)/o);var e=t.x0,r=t.y0,i=t.x1-n,s=t.y1-n;i<e&&(e=i=(e+i)/2),s<r&&(r=s=(r+s)/2),t.x0=e,t.y0=r,t.x1=i,t.y1=s})),r&&i.eachBefore(uC),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(n){return arguments.length?(t=+n[0],e=+n[1],i):[t,e]},i.padding=function(t){return arguments.length?(n=+t,i):n},i}var uM={depth:-1},uN={};function uD(t){return t.id}function uB(t){return t.parentId}function uO(){var t=uD,e=uB;function n(n){var r,i,a,o,s,c,l,u=n.length,h=Array(u),f={};for(i=0;i<u;++i)r=n[i],s=h[i]=new ui(r),null!=(c=t(r,i,n))&&(c+="")&&(f[l="$"+(s.id=c)]=l in f?uN:s);for(i=0;i<u;++i)if(s=h[i],null!=(c=e(n[i],i,n))&&(c+="")){if(!(o=f["$"+c]))throw Error("missing: "+c);if(o===uN)throw Error("ambiguous: "+c);o.children?o.children.push(s):o.children=[s],s.parent=o}else{if(a)throw Error("multiple roots");a=s}if(!a)throw Error("no root");if(a.parent=uM,a.eachBefore(function(t){t.depth=t.parent.depth+1,--u}).eachBefore(ur),a.parent=null,u>0)throw Error("cycle");return a}return n.id=function(e){return arguments.length?(t=uv(e),n):t},n.parentId=function(t){return arguments.length?(e=uv(t),n):e},n}function uL(t,e){return t.parent===e.parent?1:2}function uI(t){var e=t.children;return e?e[0]:t.t}function uF(t){var e=t.children;return e?e[e.length-1]:t.t}function uP(t,e){this._=t,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=e}function uR(){var t=uL,e=1,n=1,r=null;function i(i){var c=function(t){for(var e,n,r,i,a,o=new uP(t,0),s=[o];e=s.pop();)if(r=e._.children)for(e.children=Array(a=r.length),i=a-1;i>=0;--i)s.push(n=e.children[i]=new uP(r[i],i)),n.parent=e;return(o.parent=new uP(null,0)).children=[o],o}(i);if(c.eachAfter(a),c.parent.m=-c.z,c.eachBefore(o),r)i.eachBefore(s);else{var l=i,u=i,h=i;i.eachBefore(function(t){t.x<l.x&&(l=t),t.x>u.x&&(u=t),t.depth>h.depth&&(h=t)});var f=l===u?1:t(l,u)/2,d=f-l.x,p=e/(u.x+f+d),g=n/(h.depth||1);i.eachBefore(function(t){t.x=(t.x+d)*p,t.y=t.depth*g})}return i}function a(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,a=i.length;--a>=0;)(e=i[a]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var a=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-a):e.z=a}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,a,o,s=e,c=e,l=n,u=s.parent.children[0],h=s.m,f=c.m,d=l.m,p=u.m;l=uF(l),s=uI(s),l&&s;)u=uI(u),(c=uF(c)).a=e,(o=l.z+d-s.z-h+t(l._,s._))>0&&(function(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}((i=l,a=r,i.a.parent===e.parent?i.a:a),e,o),h+=o,f+=o),d+=l.m,h+=s.m,p+=u.m,f+=c.m;
1l&&!uF(c)&&(c.t=l,c.m+=d-f),s&&!uI(u)&&(u.t=s,u.m+=h-p,r=e)}return r}(e,i,e.parent.A||r[0])}function o(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function uj(t,e,n,r,i){for(var a,o=t.children,s=-1,c=o.length,l=t.value&&(i-n)/t.value;++s<c;)(a=o[s]).x0=e,a.x1=r,a.y0=n,a.y1=n+=a.value*l}uP.prototype=Object.create(ui.prototype);var uY=(1+Math.sqrt(5))/2;function uU(t,e,n,r,i,a){for(var o,s,c,l,u,h,f,d,p,g,y,m=[],v=e.children,b=0,x=0,_=v.length,k=e.value;b<_;){c=i-n,l=a-r;do u=v[x++].value;while(!u&&x<_);for(h=f=u,p=Math.max(f/(y=u*u*(g=Math.max(l/c,c/l)/(k*t))),y/h);x<_;++x){if(u+=s=v[x].value,s<h&&(h=s),s>f&&(f=s),(d=Math.max(f/(y=u*u*g),y/h))>p){u-=s;break}p=d}m.push(o={value:u,dice:c<l,children:v.slice(b,x)}),o.dice?uS(o,n,r,i,k?r+=l*u/k:a):uj(o,n,r,k?n+=c*u/k:i,a),k-=u,b=x}return m}let uz=function t(e){function n(t,n,r,i,a){uU(e,t,n,r,i,a)}return n.ratio=function(e){return t((e*=1)>1?e:1)},n}(uY);function u$(){var t=uz,e=!1,n=1,r=1,i=[0],a=ub,o=ub,s=ub,c=ub,l=ub;function u(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(h),i=[0],e&&t.eachBefore(uC),t}function h(e){var n=i[e.depth],r=e.x0+n,u=e.y0+n,h=e.x1-n,f=e.y1-n;h<r&&(r=h=(r+h)/2),f<u&&(u=f=(u+f)/2),e.x0=r,e.y0=u,e.x1=h,e.y1=f,e.children&&(n=i[e.depth+1]=a(e)/2,r+=l(e)-n,u+=o(e)-n,(h-=s(e)-n)<r&&(r=h=(r+h)/2),(f-=c(e)-n)<u&&(u=f=(u+f)/2),t(e,r,u,h,f))}return u.round=function(t){return arguments.length?(e=!!t,u):e},u.size=function(t){return arguments.length?(n=+t[0],r=+t[1],u):[n,r]},u.tile=function(e){return arguments.length?(t=uv(e),u):t},u.padding=function(t){return arguments.length?u.paddingInner(t).paddingOuter(t):u.paddingInner()},u.paddingInner=function(t){return arguments.length?(a="function"==typeof t?t:ux(+t),u):a},u.paddingOuter=function(t){return arguments.length?u.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):u.paddingTop()},u.paddingTop=function(t){return arguments.length?(o="function"==typeof t?t:ux(+t),u):o},u.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:ux(+t),u):s},u.paddingBottom=function(t){return arguments.length?(c="function"==typeof t?t:ux(+t),u):c},u.paddingLeft=function(t){return arguments.length?(l="function"==typeof t?t:ux(+t),u):l},u}function uq(t,e,n,r,i){var a,o,s=t.children,c=s.length,l=Array(c+1);for(l[0]=o=a=0;a<c;++a)l[a+1]=o+=s[a].value;!function t(e,n,r,i,a,o,c){if(e>=n-1){var u=s[e];return u.x0=i,u.y0=a,u.x1=o,void(u.y1=c)}for(var h=l[e],f=r/2+h,d=e+1,p=n-1;d<p;){var g=d+p>>>1;l[g]<f?d=g+1:p=g}f-l[d-1]<l[d]-f&&e+1<d&&--d;var y=l[d]-h,m=r-y;if(o-i>c-a){var v=(i*m+o*y)/r;t(e,d,y,i,a,v,c),t(d,n,m,v,a,o,c)}else{var b=(a*m+c*y)/r;t(e,d,y,i,a,o,b),t(d,n,m,i,b,o,c)}}(0,c,t.value,e,n,r,i)}function uH(t,e,n,r,i){(1&t.depth?uj:uS)(t,e,n,r,i)}let uW=function t(e){function n(t,n,r,i,a){if((o=t._squarify)&&o.ratio===e)for(var o,s,c,l,u,h=-1,f=o.length,d=t.value;++h<f;){for(c=(s=o[h]).children,l=s.value=0,u=c.length;l<u;++l)s.value+=c[l].value;s.dice?uS(s,n,r,i,r+=(a-r)*s.value/d):uj(s,n,r,n+=(i-n)*s.value/d,a),d-=s.value}else t._squarify=o=uU(e,t,n,r,i,a),o.ratio=e}return n.ratio=function(e){return t((e*=1)>1?e:1)},n}(uY);function uV(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}function uG(t,e){var n=eE(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}}function uX(t,e){return t*=1,e*=1,function(n){return Math.round(t*(1-n)+e*n)}}var uZ=Math.SQRT2;function uQ(t){return((t=Math.exp(t))+1/t)/2}function uK(t,e){var n,r,i=t[0],a=t[1],o=t[2],s=e[0],c=e[1],l=e[2],u=s-i,h=c-a,f=u*u+h*h;if(f<1e-12)r=Math.log(l/o)/uZ,n=function(t){return[i+t*u,a+t*h,o*Math.exp(uZ*t*r)]};else{var d=Math.sqrt(f),p=(l*l-o*o+4*f)/(2*o*2*d),g=(l*l-o*o-4*f)/(2*l*2*d),y=Math.log(Math.sqrt(p*p+1)-p);r=(Math.log(Math.sqrt(g*g+1)-g)-y)/uZ,n=function(t){var e,n,s=t*r,c=uQ(y),l=o/(2*d)*(c*(((n=Math.exp(2*(n=uZ*s+y)))-1)/(n+1))-((e=Math.exp(e=y))-1/e)/2);return[i+l*u,a+l*h,o*c/uQ(uZ*s+y)]}}return n.duration=1e3*r,n}function uJ(t){return function(e,n){var r=t((e=em(e)).h,(n=em(n)).h),i=eC(e.s,n.s),a=eC(e.l,n.l),o=eC(e.opacity,n.opacity);
1return function(t){return e.h=r(t),e.s=i(t),e.l=a(t),e.opacity=o(t),e+""}}}let u0=uJ(eE);var u1=uJ(eC);function u2(t,e){var n=eC((t=rj(t)).l,(e=rj(e)).l),r=eC(t.a,e.a),i=eC(t.b,e.b),a=eC(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=r(e),t.b=i(e),t.opacity=a(e),t+""}}function u3(t){return function(e,n){var r=t((e=rV(e)).h,(n=rV(n)).h),i=eC(e.c,n.c),a=eC(e.l,n.l),o=eC(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=a(t),e.opacity=o(t),e+""}}}let u5=u3(eE);var u4=u3(eC);function u6(t){return function e(n){function r(e,r){var i=t((e=rQ(e)).h,(r=rQ(r)).h),a=eC(e.s,r.s),o=eC(e.l,r.l),s=eC(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=a(t),e.l=o(Math.pow(t,n)),e.opacity=s(t),e+""}}return n*=1,r.gamma=e,r}(1)}let u8=u6(eE);var u7=u6(eC);function u9(t,e){for(var n=0,r=e.length-1,i=e[0],a=Array(r<0?0:r);n<r;)a[n]=t(i,i=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return a[e](t-e)}}function ht(t,e){for(var n=Array(e),r=0;r<e;++r)n[r]=t(r/(e-1));return n}function he(t){for(var e,n=-1,r=t.length,i=t[r-1],a=0;++n<r;)e=i,i=t[n],a+=e[1]*i[0]-e[0]*i[1];return a/2}function hn(t){for(var e,n,r=-1,i=t.length,a=0,o=0,s=t[i-1],c=0;++r<i;)e=s,s=t[r],c+=n=e[0]*s[1]-s[0]*e[1],a+=(e[0]+s[0])*n,o+=(e[1]+s[1])*n;return[a/(c*=3),o/c]}function hr(t,e){return t[0]-e[0]||t[1]-e[1]}function hi(t){for(var e,n,r,i=t.length,a=[0,1],o=2,s=2;s<i;++s){for(;o>1&&0>=(e=t[a[o-2]],n=t[a[o-1]],r=t[s],(n[0]-e[0])*(r[1]-e[1])-(n[1]-e[1])*(r[0]-e[0]));)--o;a[o++]=s}return a.slice(0,o)}function ha(t){if((n=t.length)<3)return null;var e,n,r=Array(n),i=Array(n);for(e=0;e<n;++e)r[e]=[+t[e][0],+t[e][1],e];for(r.sort(hr),e=0;e<n;++e)i[e]=[r[e][0],-r[e][1]];var a=hi(r),o=hi(i),s=o[0]===a[0],c=o[o.length-1]===a[a.length-1],l=[];for(e=a.length-1;e>=0;--e)l.push(t[r[a[e]][2]]);for(e=+s;e<o.length-c;++e)l.push(t[r[o[e]][2]]);return l}function ho(t,e){for(var n,r,i=t.length,a=t[i-1],o=e[0],s=e[1],c=a[0],l=a[1],u=!1,h=0;h<i;++h)n=(a=t[h])[0],(r=a[1])>s!=l>s&&o<(c-n)*(s-r)/(l-r)+n&&(u=!u),c=n,l=r;return u}function hs(t){for(var e,n,r=-1,i=t.length,a=t[i-1],o=a[0],s=a[1],c=0;++r<i;)e=o,n=s,e-=o=(a=t[r])[0],n-=s=a[1],c+=Math.sqrt(e*e+n*n);return c}function hc(){return Math.random()}let hl=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,1==arguments.length?(n=t,t=0):n-=t,function(){return e()*n+t}}return n.source=t,n}(hc),hu=function t(e){function n(t,n){var r,i;return t=null==t?0:+t,n=null==n?1:+n,function(){var a;if(null!=r)a=r,r=null;else do r=2*e()-1,a=2*e()-1,i=r*r+a*a;while(!i||i>1);return t+n*a*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(hc),hh=function t(e){function n(){var t=hu.source(e).apply(this,arguments);return function(){return Math.exp(t())}}return n.source=t,n}(hc),hf=function t(e){function n(t){return function(){for(var n=0,r=0;r<t;++r)n+=e();return n}}return n.source=t,n}(hc),hd=function t(e){function n(t){var n=hf.source(e)(t);return function(){return n()/t}}return n.source=t,n}(hc),hp=function t(e){function n(t){return function(){return-Math.log(1-e()
1)/t}}return n.source=t,n}(hc);function hg(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function hy(t,e){switch(arguments.length){case 0:break;case 1:this.interpolator(t);break;default:this.interpolator(e).domain(t)}return this}var hm=Array.prototype,hv=hm.map,hb=hm.slice,hx={name:"implicit"};function h_(){var t=rb(),e=[],n=[],r=hx;function i(i){var a=i+"",o=t.get(a);if(!o){if(r!==hx)return r;t.set(a,o=e.push(i))}return n[(o-1)%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=rb();for(var r,a,o=-1,s=n.length;++o<s;)t.has(a=(r=n[o])+"")||t.set(a,e.push(r));return i},i.range=function(t){return arguments.length?(n=hb.call(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return h_(e,n).unknown(r)},hg.apply(i,arguments),i}function hk(){var t,e,n=h_().unknown(void 0),r=n.domain,i=n.range,a=[0,1],o=!1,s=0,c=0,l=.5;function u(){var n=r().length,u=a[1]<a[0],h=a[u-0],f=a[1-u];t=(f-h)/Math.max(1,n-s+2*c),o&&(t=Math.floor(t)),h+=(f-h-t*(n-s))*l,e=t*(1-s),o&&(h=Math.round(h),e=Math.round(e));var d=w(n).map(function(e){return h+t*e});return i(u?d.reverse():d)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),u()):r()}
1,n.range=function(t){return arguments.length?(a=[+t[0],+t[1]],u()):a.slice()},n.rangeRound=function(t){return a=[+t[0],+t[1]],o=!0,u()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(o=!!t,u()):o},n.padding=function(t){return arguments.length?(s=Math.min(1,c=+t),u()):s},n.paddingInner=function(t){return arguments.length?(s=Math.min(1,t),u()):s},n.paddingOuter=function(t){return arguments.length?(c=+t,u()):c},n.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),u()):l},n.copy=function(){return hk(r(),a).round(o).paddingInner(s).paddingOuter(c).align(l)},hg.apply(u(),arguments)}function hw(){return function t(e){var n=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(n())},e}(hk.apply(null,arguments).paddingInner(1))}function hT(t){return+t}var hE=[0,1];function hC(t){return t}function hS(t,e){var n;return(e-=t*=1)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n})}function hA(t){var e,n=t[0],r=t[t.length-1];return n>r&&(e=n,n=r,r=e),function(t){return Math.max(n,Math.min(r,t))}}function hM(t,e,n){var r=t[0],i=t[1],a=e[0],o=e[1];return i<r?(r=hS(i,r),a=n(o,a)):(r=hS(r,i),a=n(a,o)),function(t){return a(r(t))}}function hN(t,e,n){var r=Math.min(t.length,e.length)-1,i=Array(r),a=Array(r),o=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<r;)i[o]=hS(t[o],t[o+1]),a[o]=n(e[o],e[o+1]);return function(e){var n=l(t,e,1,r)-1;return a[n](i[n](e))}}function hD(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function hB(){var t,e,n,r,i,a,o=hE,s=hE,c=eU,l=hC;function u(){return r=Math.min(o.length,s.length)>2?hN:hM,i=a=null,h}function h(e){return isNaN(e*=1)?n:(i||(i=r(o.map(t),s,c)))(t(l(e)))}return h.invert=function(n){return l(e((a||(a=r(s,o.map(t),eF)))(n)))},h.domain=function(t){return arguments.length?(o=hv.call(t,hT),l===hC||(l=hA(o)),u()):o.slice()},h.range=function(t){return arguments.length?(s=hb.call(t),u()):s.slice()},h.rangeRound=function(t){return s=hb.call(t),c=uX,u()},h.clamp=function(t){return arguments.length?(l=t?hA(o):hC,h):l!==hC},h.interpolate=function(t){return arguments.length?(c=t,u()):c},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,u()}}function hO(t,e,n,r){var i,a=M(t,e,n);switch((r=aH(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=a5(a,o))||(r.precision=i),aK(r,o);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=a4(a,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=a3(a))||(r.precision=i-2*("%"===r.type))}return aQ(r)}function hL(t){var e=t.domain;return t.ticks=function(t){var n=e();return S(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return hO(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),a=0,o=i.length-1,s=i[a],c=i[o];return c<s&&(r=s,s=c,c=r,r=a,a=o,o=r),(r=A(s,c,n))>0?r=A(s=Math.floor(s/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=A(s=Math.ceil(s*r)/r,c=Math.floor(c*r)/r,n)),r>0?(i[a]=Math.floor(s/r)*r,i[o]=Math.ceil(c/r)*r,e(i)):r<0&&(i[a]=Math.ceil(s*r)/r,i[o]=Math.floor(c*r)/r,e(i)),t},t}function hI(t,e){var n,r=0,i=(t=t.slice()).length-1,a=t[r],o=t[i];return o<a&&(n=r,r=i,i=n,n=a,a=o,o=n),t[r]=e.floor(a),t[i]=e.ceil(o),t}function hF(t){return Math.log(t)}function hP(t){return Math.exp(t)}function hR(t){return-Math.log(-t)}function hj(t){return-Math.exp(-t)}function hY(t){return isFinite(t)?+("1e"+t):t<0?0:t}function hU(t){return function(e){return-t(-e)}}function hz(t){var e,n,r=t(hF,hP),i=r.domain,a=10;function o(){var o,s;return e=(o=a)===Math.E?Math.log:10===o&&Math.log10||2===o&&Math.log2||(o=Math.log(o),function(t){return Math.log(t)/o}),n=10===(s=a)?hY:s===Math.E?Math.exp:function(t){return Math.pow(s,t)},i()[0]<0?(e=hU(e),n=hU(n),t(hR,hj)):t(hF,hP),r}
1return r.base=function(t){return arguments.length?(a=+t,o()):a},r.domain=function(t){return arguments.length?(i(t),o()):i()},r.ticks=function(t){var r,o=i(),s=o[0],c=o[o.length-1];(r=c<s)&&(f=s,s=c,c=f);var l,u,h,f=e(s),d=e(c),p=null==t?10:+t,g=[];if(!(a%1)&&d-f<p){if(f=Math.round(f)-1,d=Math.round(d)+1,s>0){for(;f<d;++f)for(u=1,l=n(f);u<a;++u)if(!((h=l*u)<s)){if(h>c)break;g.push(h)}}else for(;f<d;++f)for(u=a-1,l=n(f);u>=1;--u)if(!((h=l*u)<s)){if(h>c)break;g.push(h)}}else g=S(f,d,Math.min(d-f,p)).map(n);return r?g.reverse():g},r.tickFormat=function(t,i){if(null==i&&(i=10===a?".0e":","),"function"!=typeof i&&(i=aQ(i)),t===1/0)return i;null==t&&(t=10);var o=Math.max(1,a*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*a<a-.5&&(r*=a),r<=o?i(t):""}},r.nice=function(){return i(hI(i(),{floor:function(t){return n(Math.floor(e(t)))},ceil:function(t){return n(Math.ceil(e(t)))}}))},r}function h$(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function hq(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function hH(t){var e=1,n=t(h$(1),hq(e));return n.constant=function(n){return arguments.length?t(h$(e=+n),hq(e)):e},hL(n)}function hW(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function hV(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function hG(t){return t<0?-t*t:t*t}function hX(t){var e=t(hC,hC),n=1;return e.exponent=function(e){return arguments.length?1==(n=+e)?t(hC,hC):.5===n?t(hV,hG):t(hW(n),hW(1/n)):n},hL(e)}function hZ(){var t=hX(hB());return t.copy=function(){return hD(t,hZ()).exponent(t.exponent())},hg.apply(t,arguments),t}function hQ(){return hZ.apply(null,arguments).exponent(.5)}var hK=new Date,hJ=new Date;function h0(t,e,n,r){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,a){var o,s=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return s;do s.push(o=new Date(+n)),e(n,a),t(n);while(o<n&&n<r);return s},i.filter=function(n){return h0(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return hK.setTime(+e),hJ.setTime(+r),t(hK),t(hJ),Math.floor(n(hK,hJ))},i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var h1=h0(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});h1.every=function(t){return isFinite(t=Math.floor(t))&&t>0?h0(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};let h2=h1;var h3=h1.range,h5=h0(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()});let h4=h5;var h6=h5.range;function h8(t){return h0(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5})}var h7=h8(0),h9=h8(1),ft=h8(2),fe=h8(3),fn=h8(4),fr=h8(5),fi=h8(6),fa=h7.range,fo=h9.range,fs=ft.range,fc=fe.range,fl=fn.range,fu=fr.range,fh=fi.range,ff=h0(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5},function(t){return t.getDate()-1});let fd=ff;var fp=ff.range,fg=h0(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()});let fy=fg;var fm=fg.range,fv=h0(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getMinutes()});let fb=fv;var fx=fv.range,f_=h0(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()});let fk=f_;var fw=f_.range,fT=h0(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});fT.every=function(t){return isFinite(t=Math.floor(t))&&t>0?t>1?h0(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):fT:null};let fE=fT;var fC=fT.range;function fS(t){return h0(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/6048e5})}var fA=fS(0),fM=fS(1),fN=fS(2),fD=fS(3),fB=fS(4),fO=fS(5),fL=fS(6),fI=fA.range,fF=fM.range,fP=fN.range,fR=fD.range,fj=fB.range,fY=fO.range,fU=fL.range,fz=h0(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}
1);let f$=fz;var fq=fz.range,fH=h0(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});fH.every=function(t){return isFinite(t=Math.floor(t))&&t>0?h0(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};let fW=fH;var fV=fH.range;function fG(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function fX(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function fZ(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function fQ(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,o=t.shortDays,s=t.months,c=t.shortMonths,l=f9(i),u=dt(i),h=f9(a),f=dt(a),d=f9(o),p=dt(o),g=f9(s),y=dt(s),m=f9(c),v=dt(c),b={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:dk,e:dk,f:dS,g:dR,G:dY,H:dw,I:dT,j:dE,L:dC,m:dA,M:dM,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:d9,s:pt,S:dN,u:dD,U:dB,V:dL,w:dI,W:dF,x:null,X:null,y:dP,Y:dj,Z:dU,"%":d7},x={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:dz,e:dz,f:dV,g:d5,G:d6,H:d$,I:dq,j:dH,L:dW,m:dG,M:dX,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:d9,s:pt,S:dZ,u:dQ,U:dK,V:d0,w:d1,W:d2,x:null,X:null,y:d3,Y:d4,Z:d8,"%":d7},_={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=v[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=y[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return T(t,e,n,r)},d:df,e:df,f:dv,g:dc,G:ds,H:dp,I:dp,j:dd,L:dm,m:dh,M:dg,p:function(t,e,n){var r=l.exec(e.slice(n));return r?(t.p=u[r[0].toLowerCase()],n+r[0].length):-1},q:du,Q:dx,s:d_,S:dy,u:dn,U:dr,V:di,w:de,W:da,x:function(t,e,r){return T(t,n,e,r)},X:function(t,e,n){return T(t,r,e,n)},y:dc,Y:ds,Z:dl,"%":db};function k(t,e){return function(n){var r,i,a,o=[],s=-1,c=0,l=t.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===t.charCodeAt(s)&&(o.push(t.slice(c,s)),null!=(i=f3[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(a=e[r])&&(r=a(n,i)),o.push(r),c=s+1);return o.push(t.slice(c,s)),o.join("")}}function w(t,e){return function(n){var r,i,a=fZ(1900,void 0,1);if(T(a,t,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(!e||"Z"in a||(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(r=(i=(r=fX(fZ(a.y,0,1))).getUTCDay())>4||0===i?fM.ceil(r):fM(r),r=f$.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(r=(i=(r=fG(fZ(a.y,0,1))).getDay())>4||0===i?h9.ceil(r):h9(r),r=fd.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:+("W"in a)),i="Z"in a?fX(fZ(a.y,0,1)).getUTCDay():fG(fZ(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,fX(a)):fG(a)}}function T(t,e,n,r){for(var i,a,o=0,s=e.length,c=n.length;o<s;){if(r>=c)return -1;if(37===(i=e.charCodeAt(o++))){if(!(a=_[(i=e.charAt(o++))in f3?e.charAt(o++):i])||(r=a(t,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return b.x=k(n,b),b.X=k(r,b),b.c=k(e,b),x.x=k(n,x),x.X=k(r,x),x.c=k(e,x),{format:function(t){var e=k(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=w(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=k(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=w(t+="",!0);return e.toString=function(){return t},e}}}var fK,fJ,f0,f1,f2,f3={"-":"",_:" ",0:"0"},f5=/^\s*\d+/,f4=/^%/,f6=/[\\^$*+?|[\]().{}]/g;function f8(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a<n?Array(n-a+1).join(e)+i:i)}function f7(t){return t.replace(f6,"\\$&")}function f9(t){return RegExp("^(?:"+t.map(f7).join("|")+")","i")}function dt(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function de(t,e,n){var r=f5.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function dn(t,e,n){var r=f5.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function dr(t,e,n){var r=f5.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function di(t,e,n){var r=f5.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function da(t,e,n){var r=f5.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function ds(t,e,n){var r=f5.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function dc(t,e,n){var r=f5.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}
vendor: 5,134 bytes, line 1
1function dl(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function du(t,e,n){var r=f5.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function dh(t,e,n){var r=f5.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function df(t,e,n){var r=f5.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function dd(t,e,n){var r=f5.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function dp(t,e,n){var r=f5.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function dg(t,e,n){var r=f5.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function dy(t,e,n){var r=f5.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function dm(t,e,n){var r=f5.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function dv(t,e,n){var r=f5.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function db(t,e,n){var r=f4.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function dx(t,e,n){var r=f5.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function d_(t,e,n){var r=f5.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function dk(t,e){return f8(t.getDate(),e,2)}function dw(t,e){return f8(t.getHours(),e,2)}function dT(t,e){return f8(t.getHours()%12||12,e,2)}function dE(t,e){return f8(1+fd.count(h2(t),t),e,3)}function dC(t,e){return f8(t.getMilliseconds(),e,3)}function dS(t,e){return dC(t,e)+"000"}function dA(t,e){return f8(t.getMonth()+1,e,2)}function dM(t,e){return f8(t.getMinutes(),e,2)}function dN(t,e){return f8(t.getSeconds(),e,2)}function dD(t){var e=t.getDay();return 0===e?7:e}function dB(t,e){return f8(h7.count(h2(t)-1,t),e,2)}function dO(t){var e=t.getDay();return e>=4||0===e?fn(t):fn.ceil(t)}function dL(t,e){return t=dO(t),f8(fn.count(h2(t),t)+(4===h2(t).getDay()),e,2)}function dI(t){return t.getDay()}function dF(t,e){return f8(h9.count(h2(t)-1,t),e,2)}function dP(t,e){return f8(t.getFullYear()%100,e,2)}function dR(t,e){return f8((t=dO(t)).getFullYear()%100,e,2)}function dj(t,e){return f8(t.getFullYear()%1e4,e,4)}function dY(t,e){var n=t.getDay();return f8((t=n>=4||0===n?fn(t):fn.ceil(t)).getFullYear()%1e4,e,4)}function dU(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+f8(e/60|0,"0",2)+f8(e%60,"0",2)}function dz(t,e){return f8(t.getUTCDate(),e,2)}function d$(t,e){return f8(t.getUTCHours(),e,2)}function dq(t,e){return f8(t.getUTCHours()%12||12,e,2)}function dH(t,e){return f8(1+f$.count(fW(t),t),e,3)}function dW(t,e){return f8(t.getUTCMilliseconds(),e,3)}function dV(t,e){return dW(t,e)+"000"}function dG(t,e){return f8(t.getUTCMonth()+1,e,2)}function dX(t,e){return f8(t.getUTCMinutes(),e,2)}function dZ(t,e){return f8(t.getUTCSeconds(),e,2)}function dQ(t){var e=t.getUTCDay();return 0===e?7:e}function dK(t,e){return f8(fA.count(fW(t)-1,t),e,2)}function dJ(t){var e=t.getUTCDay();return e>=4||0===e?fB(t):fB.ceil(t)}function d0(t,e){return t=dJ(t),f8(fB.count(fW(t),t)+(4===fW(t).getUTCDay()),e,2)}function d1(t){return t.getUTCDay()}function d2(t,e){return f8(fM.count(fW(t)-1,t),e,2)}function d3(t,e){return f8(t.getUTCFullYear()%100,e,2)}function d5(t,e){return f8((t=dJ(t)).getUTCFullYear()%100,e,2)}function d4(t,e){return f8(t.getUTCFullYear()%1e4,e,4)}function d6(t,e){var n=t.getUTCDay();return f8((t=n>=4||0===n?fB(t):fB.ceil(t)).getUTCFullYear()%1e4,e,4)}function d8(){return"+0000"}function d7(){return"%"}function d9(t){return+t}function pt(t){return Math.floor(t/1e3)}function pe(t){return fJ=(fK=fQ(t)).format,f0=fK.parse,f1=fK.utcFormat,f2=fK.utcParse,fK}function pn(t){return new Date(t)}function pr(t){return t instanceof Date?+t:+new Date(+t)}function pi(t,e,n,r,i,o,s,c,l){var u=hB()(hC,hC),h=u.invert,f=u.domain,d=l(".%L"),p=l(":%S"),g=l("%I:%M"),y=l("%I %p"),m=l("%a %d"),v=l("%b %d"),b=l("%B"),x=l("%Y"),_=[[s,1,1e3],[s,5,5e3],[s,15,15e3],[s,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function k(a){return(s(a)<a?d:o(a)<a?p:i(a)<a?g:r(a)<a?y:e(a)<a?n(a)<a?m:v:t(a)<a?b:x)(a)}function w(e,n,r,i){if(null==e&&(e=10),"number"==typeof e){var o=Math.abs(r-n)/e,s=a(function(t){return t[2]}).right(_,o);s===_.length?(i=M(n/31536e6,r/31536e6,e),e=t):s?(i=(s=_[o/_[s-1][2]<_[s][2]/o?s-1:s])[1],e=s[0]):(i=Math.max(M(n,r,e),1),e=c)}return null==i?e:e.every(i)}return u.invert=function(t){return new Date(h(t))},u.domain=function(t){return arguments.length?f(hv.call(t,pr)):f().map(pn)},u.ticks=function(t,e){var n,r=f(),i=r[0],a=r[r.length-1],o=a<i;return o&&(n=i,i=a,a=n),n=(n=w(t,i,a,e))?n.range(i,a+1):[],o?n.reverse():n},u.tickFormat=function(t,e){return null==e?k:l(e)},u.nice=function(t,e){var n=f();return(t=w(t,n[0],n[n.length-1],e))?f(hI(n,t)):u},u.copy=function(){return hD(u,pi(t,e,n,r,i,o,s,c,l))},u}function pa(){return hg.apply(pi(h2,h4,h7,fd,fy,fb,fk,fE,fJ).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}pe({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 po=h0(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()});let ps=po;var pc=po.range,pl=h0(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()});let pu=pl;var ph=pl.range,pf=h0(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+6e4*e)},function(t,e){return(e-t)/6e4},function(t){return t.getUTCMinutes()});let pd=pf;var pp=pf.range;function pg(){return hg.apply(pi(fW,ps,fA,f$,pu,pd,fk,fE,f1).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function py(){var t,e,n,r,i,a=0,o=1,s=hC,c=!1;function l(e){return isNaN(e*=1)?i:s(0===n?.5:(e=(r(e)-t)*n,c?Math.max(0,Math.min(1,e)):e))}return l.domain=function(i){return arguments.length?(t=r(a=+i[0]),e=r(o=+i[1]),n=t===e?0:1/(e-t),l):[a,o]},l.clamp=function(t){return arguments.length?(c=!!t,l):c},l.interpolator=function(t){return arguments.length?(s=t,l):s},l.unknown=function(t){return arguments.length?(i=t,l):i},function(i){return r=i,t=i(a),e=i(o),n=t===e?0:1/(e-t),l}}function pm(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function pv(){var t=hX(py());return t.copy=function(){return pm(t,pv()).exponent(t.exponent())},hy.apply(t,arguments)}function pb(){return pv.apply(null,arguments).exponent(.5)}function px(){var t,e,n,r,i,a,o,s=0,c=.5,l=1,u=hC,h=!1;function f(t){return isNaN(t*=1)?o:(t=.5+((t=+a(t))-e)*(t<e?r:i),u(h?Math.max(0,Math.min(1,t)):t))}return f.domain=function(o){return arguments.length?(t=a(s=+o[0]),e=a(c=+o[1]),n=a(l=+o[2]),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),f):[s,c,l]},f.clamp=function(t){return arguments.length?(h=!!t,f):h},f.interpolator=function(t){return arguments.length?(u=t,f):u},f.unknown=function(t){return arguments.length?(o=t,f):o},function(o){return a=o,t=o(s),e=o(c),n=o(l),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),f}}function p_(){var t=hX(px());return t.copy=function(){return pm(t,p_()).exponent(t.exponent())},hy.apply(t,arguments)}function pk(){return p_.apply(null,arguments).exponent(.5)}function pw(t){for(var e=t.length/6|0,n=Array(e),r=0;r<e;)n[r]="#"+t.slice(6*r,6*++r);return n}let pT=pw("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),pE=pw("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),pC=pw("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),pS=pw("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),pA=pw("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),pM=pw("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),pN=pw("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),pD=pw("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),pB=pw("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),pO=pw("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function pL(t){return eM(t[t.length-1])}var pI=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(pw);let pF=pL(pI);var pP=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(pw);let pR=pL(pP);var pj=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(pw);let pY=pL(pj);var pU=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(pw);let pz=pL(pU);var p$=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(pw);let pq=pL(p$);var pH=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(pw);let pW=pL(pH);var pV=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(pw);let pG=pL(pV);var pX=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d
17191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(pw);let pZ=pL(pX);var pQ=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(pw);let pK=pL(pQ);var pJ=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(pw);let p0=pL(pJ);var p1=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(pw);let p2=pL(p1);var p3=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(pw);let p5=pL(p3);var p4=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(pw);let p6=pL(p4);var p8=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(pw);let p7=pL(p8);var p9=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(pw);let gt=pL(p9);var ge=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(pw);let gn=pL(ge);var gr=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(pw);let gi=pL(gr);var ga=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(pw);let go=pL(ga);var gs=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(pw);let gc=pL(gs);var gl=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(pw);let gu=pL(gl);var gh=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(pw);let gf=pL(gh);var gd=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ec
1ae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(pw);let gp=pL(gd);var gg=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(pw);let gy=pL(gg);var gm=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(pw);let gv=pL(gm);var gb=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(pw);let gx=pL(gb);var g_=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(pw);let gk=pL(g_);var gw=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(pw);let gT=pL(gw);function gE(t){return"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-(t=Math.max(0,Math.min(1,t)))*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"}let gC=u7(rQ(300,.5,0),rQ(-240,.5,1));var gS=u7(rQ(-100,.75,.35),rQ(80,1.5,.8)),gA=u7(rQ(260,.75,.35),rQ(80,1.5,.8)),gM=rQ();function gN(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return gM.h=360*t-100,gM.s=1.5-1.5*e,gM.l=.8-.9*e,gM+""}var gD=eu(),gB=Math.PI/3,gO=2*Math.PI/3;function gL(t){var e;return gD.r=255*(e=Math.sin(t=(.5-t)*Math.PI))*e,gD.g=255*(e=Math.sin(t+gB))*e,gD.b=255*(e=Math.sin(t+gO))*e,gD+""}function gI(t){return"rgb("+Math.max(0,Math.min(255,Math.round(34.61+(t=Math.max(0,Math.min(1,t)))*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"}function gF(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}let gP=gF(pw("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc
15c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var gR=gF(pw("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),gj=gF(pw("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),gY=gF(pw("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));
1function gU(t){return tX(tB(t).call(document.documentElement))}var gz=0;function g$(){return new gq}function gq(){this._="@"+(++gz).toString(36)}function gH(t){return"string"==typeof t?new tW([document.querySelectorAll(t)],[document.documentElement]):new tW([null==t?[]:t],tH)}function gW(t,e){null==e&&(e=ez().touches);for(var n=0,r=e?e.length:0,i=Array(r);n<r;++n)i[n]=e$(t,e[n]);return i}function gV(t){return function(){return t}}gq.prototype=g$.prototype={constructor:gq,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var gG=Math.abs,gX=Math.atan2,gZ=Math.cos,gQ=Math.max,gK=Math.min,gJ=Math.sin,g0=Math.sqrt,g1=Math.PI,g2=g1/2,g3=2*g1;function g5(t){return t>=1?g2:t<=-1?-g2:Math.asin(t)}function g4(t){return t.innerRadius}function g6(t){return t.outerRadius}function g8(t){return t.startAngle}function g7(t){return t.endAngle}function g9(t){return t&&t.padAngle}function yt(t,e,n,r,i,a,o){var s=t-n,c=e-r,l=(o?a:-a)/g0(s*s+c*c),u=l*c,h=-l*s,f=t+u,d=e+h,p=n+u,g=r+h,y=(f+p)/2,m=(d+g)/2,v=p-f,b=g-d,x=v*v+b*b,_=i-a,k=f*g-p*d,w=(b<0?-1:1)*g0(gQ(0,_*_*x-k*k)),T=(k*b-v*w)/x,E=(-k*v-b*w)/x,C=(k*b+v*w)/x,S=(-k*v+b*w)/x,A=T-y,M=E-m,N=C-y,D=S-m;return A*A+M*M>N*N+D*D&&(T=C,E=S),{cx:T,cy:E,x01:-u,y01:-h,x11:T*(i/_-1),y11:E*(i/_-1)}}function ye(){var t=g4,e=g6,n=gV(0),r=null,i=g8,a=g7,o=g9,s=null;function c(){var c,l,u=+t.apply(this,arguments),h=+e.apply(this,arguments),f=i.apply(this,arguments)-g2,d=a.apply(this,arguments)-g2,p=gG(d-f),g=d>f;if(s||(s=c=ru()),h<u&&(l=h,h=u,u=l),h>1e-12)if(p>g3-1e-12)s.moveTo(h*gZ(f),h*gJ(f)),s.arc(0,0,h,f,d,!g),u>1e-12&&(s.moveTo(u*gZ(d),u*gJ(d)),s.arc(0,0,u,d,f,g));else{var y,m,v=f,b=d,x=f,_=d,k=p,w=p,T=o.apply(this,arguments)/2,E=T>1e-12&&(r?+r.apply(this,arguments):g0(u*u+h*h)),C=gK(gG(h-u)/2,+n.apply(this,arguments)),S=C,A=C;if(E>1e-12){var M=g5(E/u*gJ(T)),N=g5(E/h*gJ(T));(k-=2*M)>1e-12?(x+=M*=g?1:-1,_-=M):(k=0,x=_=(f+d)/2),(w-=2*N)>1e-12?(v+=N*=g?1:-1,b-=N):(w=0,v=b=(f+d)/2)}var D=h*gZ(v),B=h*gJ(v),O=u*gZ(_),L=u*gJ(_);if(C>1e-12){var I,F=h*gZ(b),P=h*gJ(b),R=u*gZ(x),j=u*gJ(x);if(p<g1&&(I=function(t,e,n,r,i,a,o,s){var c=n-t,l=r-e,u=o-i,h=s-a,f=h*c-u*l;if(!(f*f<1e-12))return[t+(f=(u*(e-a)-h*(t-i))/f)*c,e+f*l]}(D,B,R,j,F,P,O,L))){var Y,U=D-I[0],z=B-I[1],$=F-I[0],q=P-I[1],H=1/gJ(((Y=(U*$+z*q)/(g0(U*U+z*z)*g0($*$+q*q)))>1?0:Y<-1?g1:Math.acos(Y))/2),W=g0(I[0]*I[0]+I[1]*I[1]);S=gK(C,(u-W)/(H-1)),A=gK(C,(h-W)/(H+1))}}w>1e-12?A>1e-12?(y=yt(R,j,D,B,h,A,g),m=yt(F,P,O,L,h,A,g),s.moveTo(y.cx+y.x01,y.cy+y.y01),A<C?s.arc(y.cx,y.cy,A,gX(y.y01,y.x01),gX(m.y01,m.x01),!g):(s.arc(y.cx,y.cy,A,gX(y.y01,y.x01),gX(y.y11,y.x11),!g),s.arc(0,0,h,gX(y.cy+y.y11,y.cx+y.x11),gX(m.cy+m.y11,m.cx+m.x11),!g),s.arc(m.cx,m.cy,A,gX(m.y11,m.x11),gX(m.y01,m.x01),!g))):(s.moveTo(D,B),s.arc(0,0,h,v,b,!g)):s.moveTo(D,B),u>1e-12&&k>1e-12?S>1e-12?(y=yt(O,L,F,P,u,-S,g),m=yt(D,B,R,j,u,-S,g),s.lineTo(y.cx+y.x01,y.cy+y.y01),S<C?s.arc(y.cx,y.cy,S,gX(y.y01,y.x01),gX(m.y01,m.x01),!g):(s.arc(y.cx,y.cy,S,gX(y.y01,y.x01),gX(y.y11,y.x11),!g),s.arc(0,0,u,gX(y.cy+y.y11,y.cx+y.x11),gX(m.cy+m.y11,m.cx+m.x11),g),s.arc(m.cx,m.cy,S,gX(m.y11,m.x11),gX(m.y01,m.x01),!g))):s.arc(0,0,u,_,x,g):s.lineTo(O,L)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-g1/2;return[gZ(r)*n,gJ(r)*n]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:gV(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:gV(+t),c):e},c.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:gV(+t),c):n},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:gV(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:gV(+t),c):i},c.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:gV(+t),c):a},c.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:gV(+t),c):o},c.context=function(t){return arguments.length?(s=null==t?null:t,c):s},c}function yn(t){this._context=t}function yr(t){return new yn(t)}function yi(t){return t[0]}function ya(t){return t[1]}function yo(){var t=yi,e=ya,n=gV(!0),r=null,i=yr,a=null;function o(o){var s,c,l,u=o.length,h=!1;for(null==r&&(a=i(l=ru())),s=0;s<=u;++s)!(s<u&&n(c=o[s],s,o))===h&&((h=!h)?a.lineStart():a.lineEnd()),h&&a.point(+t(c,s,o),+e(c,s,o));if(l)return a=null,l+""||null}return o.x=function(e){return arguments.length?(t="function"==typeof e?e:gV(+e),o):t},o.y=function(t){return arguments.length?(e="function"==typeof t?t:gV(+t),o):e},o.defined=function(t){return arguments.length?(n="function"==typeof t?t:gV(!!t),o):n}
1,o.curve=function(t){return arguments.length?(i=t,null!=r&&(a=i(r)),o):i},o.context=function(t){return arguments.length?(null==t?r=a=null:a=i(r=t),o):r},o}function ys(){var t=yi,e=null,n=gV(0),r=ya,i=gV(!0),a=null,o=yr,s=null;function c(c){var l,u,h,f,d,p=c.length,g=!1,y=Array(p),m=Array(p);for(null==a&&(s=o(d=ru())),l=0;l<=p;++l){if(!(l<p&&i(f=c[l],l,c))===g)if(g=!g)u=l,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),h=l-1;h>=u;--h)s.point(y[h],m[h]);s.lineEnd(),s.areaEnd()}g&&(y[l]=+t(f,l,c),m[l]=+n(f,l,c),s.point(e?+e(f,l,c):y[l],r?+r(f,l,c):m[l]))}if(d)return s=null,d+""||null}function l(){return yo().defined(i).curve(o).context(a)}return c.x=function(n){return arguments.length?(t="function"==typeof n?n:gV(+n),e=null,c):t},c.x0=function(e){return arguments.length?(t="function"==typeof e?e:gV(+e),c):t},c.x1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:gV(+t),c):e},c.y=function(t){return arguments.length?(n="function"==typeof t?t:gV(+t),r=null,c):n},c.y0=function(t){return arguments.length?(n="function"==typeof t?t:gV(+t),c):n},c.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:gV(+t),c):r},c.lineX0=c.lineY0=function(){return l().x(t).y(n)},c.lineY1=function(){return l().x(t).y(r)},c.lineX1=function(){return l().x(e).y(n)},c.defined=function(t){return arguments.length?(i="function"==typeof t?t:gV(!!t),c):i},c.curve=function(t){return arguments.length?(o=t,null!=a&&(s=o(a)),c):o},c.context=function(t){return arguments.length?(null==t?a=s=null:s=o(a=t),c):a},c}function yc(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function yl(t){return t}function yu(){var t=yl,e=yc,n=null,r=gV(0),i=gV(g3),a=gV(0);function o(o){var s,c,l,u,h,f=o.length,d=0,p=Array(f),g=Array(f),y=+r.apply(this,arguments),m=Math.min(g3,Math.max(-g3,i.apply(this,arguments)-y)),v=Math.min(Math.abs(m)/f,a.apply(this,arguments)),b=v*(m<0?-1:1);for(s=0;s<f;++s)(h=g[p[s]=s]=+t(o[s],s,o))>0&&(d+=h);for(null!=e?p.sort(function(t,n){return e(g[t],g[n])}):null!=n&&p.sort(function(t,e){return n(o[t],o[e])}),s=0,l=d?(m-f*b)/d:0;s<f;++s,y=u)u=y+((h=g[c=p[s]])>0?h*l:0)+b,g[c]={data:o[c],index:s,value:h,startAngle:y,endAngle:u,padAngle:v};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:gV(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,n=null,o):e},o.sort=function(t){return arguments.length?(n=t,e=null,o):n},o.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:gV(+t),o):r},o.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:gV(+t),o):i},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:gV(+t),o):a},o}yn.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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var yh=yd(yr);function yf(t){this._curve=t}function yd(t){function e(e){return new yf(t(e))}return e._curve=t,e}function yp(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(yd(t)):e()._curve},t}function yg(){return yp(yo().curve(yh))}function yy(){var t=ys().curve(yh),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return yp(n())},delete t.lineX0,t.lineEndAngle=function(){return yp(r())},delete t.lineX1,t.lineInnerRadius=function(){return yp(i())},delete t.lineY0,t.lineOuterRadius=function(){return yp(a())},delete t.lineY1,t.curve=function(t){return arguments.length?e(yd(t)):e()._curve},t}function ym(t,e){return[(e*=1)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}yf.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),-(e*Math.cos(t)))}};var yv=Array.prototype.slice;function yb(t){return t.source}function yx(t){return t.target}function y_(t){var e=yb,n=yx,r=yi,i=ya,a=null;function o(){var o,s=yv.call(arguments),c=e.apply(this,s),l=n.apply(this,s);if(a||(a=o=ru()),t(a,+r.apply(this,(s[0]=c,s)),+i.apply(this,s),+r.apply(this,(s[0]=l,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(t){return arguments.length?(e=t,o):e},o.target=function(t){return arguments.length?(n=t,o):n},o.x=function(t){return arguments.length?(r="function"==typeof t?t:gV(+t),o):r},o.y=function(t){return arguments.length?(i="function"==typeof t?t:gV(+t),o):i},o.context=function(t){return arguments.length?(a=null==t?null:t,o):a},o}function yk(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}function yw(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+i)/2,r,n,r,i)}function yT(t,e,n,r,i){var a=ym(e,n),o=ym(e,n=(n+i)/2),s=ym(r,n),c=ym(r,i);
vendor: 9,629 bytes, line 1
1t.moveTo(a[0],a[1]),t.bezierCurveTo(o[0],o[1],s[0],s[1],c[0],c[1])}function yE(){return y_(yk)}function yC(){return y_(yw)}function yS(){var t=y_(yT);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}let yA={draw:function(t,e){var n=Math.sqrt(e/g1);t.moveTo(n,0),t.arc(0,0,n,0,g3)}},yM={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}};var yN=Math.sqrt(1/3),yD=2*yN;let yB={draw:function(t,e){var n=Math.sqrt(e/yD),r=n*yN;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}};var yO=Math.sin(g1/10)/Math.sin(7*g1/10),yL=Math.sin(g3/10)*yO,yI=-Math.cos(g3/10)*yO;let yF={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=yL*n,i=yI*n;t.moveTo(0,-n),t.lineTo(r,i);for(var a=1;a<5;++a){var o=g3*a/5,s=Math.cos(o),c=Math.sin(o);t.lineTo(c*n,-s*n),t.lineTo(s*r-c*i,c*r+s*i)}t.closePath()}},yP={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}};var yR=Math.sqrt(3);let yj={draw:function(t,e){var n=-Math.sqrt(e/(3*yR));t.moveTo(0,2*n),t.lineTo(-yR*n,-n),t.lineTo(yR*n,-n),t.closePath()}};var yY=Math.sqrt(3)/2,yU=1/Math.sqrt(12),yz=3*(yU/2+1);let y$={draw:function(t,e){var n=Math.sqrt(e/yz),r=n/2,i=n*yU,a=n*yU+n,o=-r;t.moveTo(r,i),t.lineTo(r,a),t.lineTo(o,a),t.lineTo(-.5*r-yY*i,yY*r+-.5*i),t.lineTo(-.5*r-yY*a,yY*r+-.5*a),t.lineTo(-.5*o-yY*a,yY*o+-.5*a),t.lineTo(-.5*r+yY*i,-.5*i-yY*r),t.lineTo(-.5*r+yY*a,-.5*a-yY*r),t.lineTo(-.5*o+yY*a,-.5*a-yY*o),t.closePath()}};var yq=[yA,yM,yB,yP,yF,yj,y$];function yH(){var t=gV(yA),e=gV(64),n=null;function r(){var r;if(n||(n=r=ru()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(e){return arguments.length?(t="function"==typeof e?e:gV(e),r):t},r.size=function(t){return arguments.length?(e="function"==typeof t?t:gV(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r}function yW(){}function yV(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function yG(t){this._context=t}function yX(t){return new yG(t)}function yZ(t){this._context=t}function yQ(t){return new yZ(t)}function yK(t){this._context=t}function yJ(t){return new yK(t)}function y0(t,e){this._basis=new yG(t),this._beta=e}yG.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:yV(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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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:yV(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},yZ.prototype={areaStart:yW,areaEnd:yW,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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:yV(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},yK.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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:yV(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},y0.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],a=e[0],o=t[n]-i,s=e[n]-a,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*o),this._beta*e[c]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};let y1=function t(e){function n(t){return 1===e?new yG(t):new y0(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function y2(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function y3(t,e){this._context=t,this._k=(1-e)/6}y3.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:y2(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:y2(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let y5=function t(e){function n(t){return new y3(t,e)}return n.tension=function(e){return t(+e)},n}(0);function y4(t,e){this._context=t,this._k=(1-e)/6}y4.prototype={areaStart:yW,areaEnd:yW,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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:y2(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let y6=function t(e){function n(t){return new y4(t,e)}return n.tension=function(e){return t(+e)},n}(0);function y8(t,e){this._context=t,this._k=(1-e)/6}y8.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(t,e){switch(t*=1,e*=1,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:y2(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let y7=function t(e){function n(t){return new y8(t,e)}return n.tension=function(e){return t(+e)},n}(0);function y9(t,e,n){var r=t._x1,i=t._y1,a=t._x2,o=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>1e-12){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*l+t._x1*t._l23_2a-e*t._l12_2a)/u,o=(o*l+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(r,i,a,o,t._x2,t._y2)}function mt(t,e){this._context=t,this._alpha=e}mt.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},point:function(t,e){if(t*=1,e*=1,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:y9(this,t,e)}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let me=function t(e){function n(t){return e?new mt(t,e):new y3(t,0)}
vendor: 5,222 bytes, line 1
1return n.alpha=function(e){return t(+e)},n}(.5);function mn(t,e){this._context=t,this._alpha=e}mn.prototype={areaStart:yW,areaEnd:yW,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(t,e){if(t*=1,e*=1,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:y9(this,t,e)}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let mr=function t(e){function n(t){return e?new mn(t,e):new y4(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function mi(t,e){this._context=t,this._alpha=e}mi.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(t,e){if(t*=1,e*=1,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,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:y9(this,t,e)}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let ma=function t(e){function n(t){return e?new mi(t,e):new y8(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function mo(t){this._context=t}function ms(t){return new mo(t)}function mc(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs((a*i+o*r)/(r+i)))||0}function ml(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function mu(t,e,n){var r=t._x0,i=t._y0,a=t._x1,o=t._y1,s=(a-r)/3;t._context.bezierCurveTo(r+s,i+s*e,a-s,o-s*n,a,o)}function mh(t){this._context=t}function mf(t){this._context=new md(t)}function md(t){this._context=t}function mp(t){return new mh(t)}function mg(t){return new mf(t)}function my(t){this._context=t}function mm(t){var e,n,r=t.length-1,i=Array(r),a=Array(r),o=Array(r);for(i[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/a[e-1],a[e]-=n,o[e]-=n*o[e-1];for(i[r-1]=o[r-1]/a[r-1],e=r-2;e>=0;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)a[e]=2*t[e+1]-i[e+1];return[i,a]}function mv(t){return new my(t)}function mb(t,e){this._context=t,this._t=e}function mx(t){return new mb(t,.5)}function m_(t){return new mb(t,0)}function mk(t){return new mb(t,1)}function mw(t,e){if((i=t.length)>1)for(var n,r,i,a=1,o=t[e[0]],s=o.length;a<i;++a)for(r=o,o=t[e[a]],n=0;n<s;++n)o[n][1]+=o[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function mT(t){for(var e=t.length,n=Array(e);--e>=0;)n[e]=e;return n}function mE(t,e){return t[e]}function mC(){var t=gV([]),e=mT,n=mw,r=mE;function i(i){var a,o,s=t.apply(this,arguments),c=i.length,l=s.length,u=Array(l);for(a=0;a<l;++a){for(var h,f=s[a],d=u[a]=Array(c),p=0;p<c;++p)d[p]=h=[0,+r(i[p],f,p,i)],h.data=i[p];d.key=f}for(a=0,o=e(u);a<l;++a)u[o[a]].index=a;return n(u,o),u}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:gV(yv.call(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:gV(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?mT:"function"==typeof t?t:gV(yv.call(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?mw:t,i):n},i}function mS(t,e){if((r=t.length)>0){for(var n,r,i,a=0,o=t[0].length;a<o;++a){for(i=n=0;n<r;++n)i+=t[n][a][1]||0;if(i)for(n=0;n<r;++n)t[n][a][1]/=i}mw(t,e)}}function mA(t,e){if((s=t.length)>0)for(var n,r,i,a,o,s,c=0,l=t[e[0]].length;c<l;++c)for(a=o=0,n=0;n<s;++n)(i=(r=t[e[n]][c])[1]-r[0])>0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):(r[0]=0,r[1]=i)}function mM(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],a=i.length;r<a;++r){for(var o=0,s=0;o<n;++o)s+=t[o][r][1]||0;i[r][1]+=i[r][0]=-s/2}mw(t,e)}}function mN(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,a=0,o=1;o<r;++o){for(var s=0,c=0,l=0;s<i;++s){for(var u=t[e[s]],h=u[o][1]||0,f=(h-(u[o-1][1]||0))/2,d=0;d<s;++d){var p=t[e[d]];
1f+=(p[o][1]||0)-(p[o-1][1]||0)}c+=h,l+=f*h}n[o-1][1]+=n[o-1][0]=a,c&&(a-=l/c)}n[o-1][1]+=n[o-1][0]=a,mw(t,e)}}function mD(t){var e=t.map(mB);return mT(t).sort(function(t,n){return e[t]-e[n]})}function mB(t){for(var e,n=-1,r=0,i=t.length,a=-1/0;++n<i;)(e=+t[n][1])>a&&(a=e,r=n);return r}function mO(t){var e=t.map(mL);return mT(t).sort(function(t,n){return e[t]-e[n]})}function mL(t){for(var e,n=0,r=-1,i=t.length;++r<i;)(e=+t[r][1])&&(n+=e);return n}function mI(t){return mO(t).reverse()}function mF(t){var e,n,r=t.length,i=t.map(mL),a=mD(t),o=0,s=0,c=[],l=[];for(e=0;e<r;++e)n=a[e],o<s?(o+=i[n],c.push(n)):(s+=i[n],l.push(n));return l.reverse().concat(c)}function mP(t){return mT(t).reverse()}mo.prototype={areaStart:yW,areaEnd:yW,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t*=1,e*=1,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},mh.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:mu(this,this._t0,ml(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e*=1,(t*=1)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,mu(this,ml(this,n=mc(this,t,e)),n);break;default:mu(this,this._t0,n=mc(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(mf.prototype=Object.create(mh.prototype)).point=function(t,e){mh.prototype.point.call(this,e,t)},md.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,a){this._context.bezierCurveTo(e,t,r,n,a,i)}},my.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=mm(t),i=mm(e),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],t[o],e[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},mb.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(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var mR="%Y-%m-%dT%H:%M:%S.%LZ";let mj=Date.prototype.toISOString?function(t){return t.toISOString()}:f1(mR),mY=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:f2(mR);function mU(t,e,n){var r=new e5,i=e;return null==e?r.restart(t,e,n):(e*=1,n=null==n?e2():+n,r.restart(function a(o){o+=i,r.restart(a,i+=e,n),t(o)},e,n)),r}function mz(t){return function(){return t}}function m$(t){return t[0]}function mq(t){return t[1]}function mH(){this._=null}function mW(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function mV(t,e){var n=e.R,r=e.U;r?r.L===e?r.L=n:r.R=n:t._=n,n.U=r,e.U=n,e.R=n.L,e.R&&(e.R.U=e),n.L=e}function mG(t,e){var n=e.L,r=e.U;r?r.L===e?r.L=n:r.R=n:t._=n,n.U=r,e.U=n,e.L=n.R,e.L&&(e.L.U=e),n.R=e}function mX(t){for(;t.L;)t=t.L;return t}function mZ(t,e,n,r){var i=[null,null],a=vr.push(i)-1;return i.left=t,i.right=e,n&&mK(i,t,e,n),r&&mK(i,e,t,r),ve[t.index].halfedges.push(a),ve[e.index].halfedges.push(a),i}function mQ(t,e,n){var r=[e,n];return r.left=t,r}function mK(t,e,n,r){t[0]||t[1]?t.left===n?t[1]=r:t[0]=r:(t[0]=r,t.left=e,t.right=n)}function mJ(t,e){return e[+(e.left!==t.site)]}mH.prototype={constructor:mH,insert:function(t,e){var n,r,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=mX(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.R&&(mV(this,n),n=(t=n).U),n.C=!1,r.C=!0,mG(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.L&&(mG(this,n),n=(t=n).U),n.C=!1,r.C=!0,mV(this,r)),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,i=t.U,a=t.L,o=t.R;if(n=a?o?mX(o):a:o,i?i.L===t?i.L=n:i.R=n:this._=n,a&&o?(r=n.C,n.C=t.C,n.L=a,a.U=n,n!==o?(i=n.U,n.U=t.U,t=n.R,i.L=t,n.R=o,o.U=n):(n.U=i,i=n,t=n.R)):(r=t.C,t=n),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;
1if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,mV(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,mG(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,mV(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,mG(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,mV(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,mG(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var m0,m1=[];function m2(){mW(this),this.x=this.y=this.arc=this.site=this.cy=null}function m3(t){var e=t.P,n=t.N;if(e&&n){var r=e.site,i=t.site,a=n.site;if(r!==a){var o=i[0],s=i[1],c=r[0]-o,l=r[1]-s,u=a[0]-o,h=a[1]-s,f=2*(c*h-l*u);if(!(f>=-vi)){var d=c*c+l*l,p=u*u+h*h,g=(h*d-l*p)/f,y=(c*p-u*d)/f,m=m1.pop()||new m2;m.arc=t,m.site=i,m.x=g+o,m.y=(m.cy=y+s)+Math.sqrt(g*g+y*y),t.circle=m;for(var v=null,b=vn._;b;)if(m.y<b.y||m.y===b.y&&m.x<=b.x){if(!b.L){v=b.P;break}b=b.L}else{if(!b.R){v=b;break}b=b.R}vn.insert(v,m),v||(m0=m)}}}}function m5(t){var e=t.circle;e&&(e.P||(m0=e.N),vn.remove(e),m1.push(e),mW(e),t.circle=null)}var m4=[];function m6(){mW(this),this.edge=this.site=this.circle=null}function m8(t){var e=m4.pop()||new m6;return e.site=t,e}function m7(t){m5(t),vt.remove(t),m4.push(t),mW(t)}function m9(t,e){var n=t.site,r=n[0],i=n[1],a=i-e;if(!a)return r;var o=t.P;if(!o)return-1/0;var s=(n=o.site)[0],c=n[1],l=c-e;if(!l)return s;var u=s-r,h=1/a-1/l,f=u/l;return h?(-f+Math.sqrt(f*f-2*h*(u*u/(-2*l)-c+l/2+i-a/2)))/h+r:(r+s)/2}var vt,ve,vn,vr,vi=1e-12;function va(t,e){return e[1]-t[1]||e[0]-t[0]}function vo(t,e){var n,r,i,a=t.sort(va).pop();for(vr=[],ve=Array(t.length),vt=new mH,vn=new mH;;)if(i=m0,a&&(!i||a[1]<i.y||a[1]===i.y&&a[0]<i.x))a[0]===n&&a[1]===r||(function(t){for(var e,n,r,i,a=t[0],o=t[1],s=vt._;s;)if((r=m9(s,o)-a)>1e-6)s=s.L;else{if(!((i=a-function(t,e){var n=t.N;if(n)return m9(n,e);var r=t.site;return r[1]===e?r[0]:1/0}(s,o))>1e-6)){r>-1e-6?(e=s.P,n=s):i>-1e-6?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}ve[t.index]={site:t,halfedges:[]};var c=m8(t);if(vt.insert(e,c),e||n){if(e===n)return m5(e),n=m8(e.site),vt.insert(c,n),c.edge=n.edge=mZ(e.site,c.site),m3(e),m3(n);if(n){m5(e),m5(n);var l=e.site,u=l[0],h=l[1],f=t[0]-u,d=t[1]-h,p=n.site,g=p[0]-u,y=p[1]-h,m=2*(f*y-d*g),v=f*f+d*d,b=g*g+y*y,x=[(y*v-d*b)/m+u,(f*b-g*v)/m+h];mK(n.edge,l,p,x),c.edge=mZ(l,t,null,x),n.edge=mZ(t,p,null,x),m3(e),m3(n)}else c.edge=mZ(e.site,c.site)}}(a),n=a[0],r=a[1]),a=t.pop();else{if(!i)break;!function(t){var e=t.circle,n=e.x,r=e.cy,i=[n,r],a=t.P,o=t.N,s=[t];m7(t);for(var c=a;c.circle&&1e-6>Math.abs(n-c.circle.x)&&1e-6>Math.abs(r-c.circle.cy);)a=c.P,s.unshift(c),m7(c),c=a;s.unshift(c),m5(c);for(var l=o;l.circle&&1e-6>Math.abs(n-l.circle.x)&&1e-6>Math.abs(r-l.circle.cy);)o=l.N,s.push(l),m7(l),l=o;s.push(l),m5(l);var u,h=s.length;for(u=1;u<h;++u)l=s[u],c=s[u-1],mK(l.edge,c.site,l.site,i);c=s[0],(l=s[h-1]).edge=mZ(c.site,l.site,null,i),m3(c),m3(l)}(i.arc)}if(function(){for(var t,e,n,r,i=0,a=ve.length;i<a;++i)if((t=ve[i])&&(r=(e=t.halfedges).length)){var o=Array(r),s=Array(r);for(n=0;n<r;++n)o[n]=n,s[n]=function(t,e){var n=t.site,r=e.left,i=e.right;return n===i&&(i=r,r=n),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(n===r?(r=e[1],i=e[0]):(r=e[0],i=e[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}(t,vr[e[n]]);for(o.sort(function(t,e){return s[e]-s[t]}),n=0;n<r;++n)s[n]=e[o[n]];for(n=0;n<r;++n)e[n]=s[n]}}(),e){var o=+e[0][0],s=+e[0][1],c=+e[1][0],l=+e[1][1];!function(t,e,n,r){for(var i,a=vr.length;a--;)(function(t,e,n,r,i){var a=t[1];if(a)return!0;var o,s,c=t[0],l=t.left,u=t.right,h=l[0],f=l[1],d=u[0],p=u[1],g=(h+d)/2;if(p===f){if(g<e||g>=r)return;if(h>d){if(c){if(c[1]>=i)return}else c=[g,n];a=[g,i]}else{if(c){if(c[1]<n)return}else c=[g,i];a=[g,n]}}else if(s=(f+p)/2-(o=(h-d)/(p-f))*g,o<-1||o>1)if(h>d){if(c){if(c[1]>=i)return}else c=[(n-s)/o,n];a=[(i-s)/o,i]}else{if(c){if(c[1]<n)return}else c=[(i-s)/o,i];a=[(n-s)/o,n]}else if(f<p){if(c){if(c[0]>=r)return}else c=[e,o*e+s];a=[r,o*r+s]}else{if(c){if(c[0]<e)return}else c=[r,o*r+s];a=[e,o*e+s]}return t[0]=c,t[1]=a,!0})(i=vr[a],t,e,n,r)&&function(t,e,n,r,i){var a,o=t[0],s=t[1],c=o[0],l=o[1],u=0,h=1,f=s[0]-c,d=s[1]-l;if(a=e-c,f||!(a>0)){if(a/=f,f<0){if(a<u)return;a<h&&(h=a)}else if(f>0){if(a>h)return;a>u&&(u=a)}if(a=r-c,f||!(a<0)){if(a/=f,f<0){if(a>h)return;a>u&&(u=a)}else if(f>0){if(a<u)return;a<h&&(h=a)}if(a=n-l,d||!(a>0)){if(a/=d,d<0){if(a<u)return;a<h&&(h=a)}else if(d>0){if(a>h)return;a>u&&(u=a)}if(a=i-l,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>u&&(u=a)}else if(d>0){if(a<u)return;a<h&&(h=a)}return!(u>0||h<1)||(u>0&&(t[0]=[c+u*f,l+u*d]),h<1&&(t[1]=[c+h*f,l+h*d]),!0)}}}}}(i,t,e,n,r)&&(Math.abs(i[0][0]-i[1][0])>1e-6||Math.abs(i[0][1]-i[1][1])>1e-6)||delete vr[a]}(o,s,c,l),function(t,e,n,r){var i,a,o,s,c,l,u,h,f,d,p,g,y=ve.length,m=!0;for(i=0;i<y;++i)if(a=ve[i]){for(o=a.site,s=(c=a.halfedges).length;s--;)vr[c[s]]||c.splice(s,1);for(s=0,l=c.length;s<l;)p=(v=a,d=(b=vr[c[s]])[+(b.left===v.site)])[0],g=d[1],h=(u=mJ(a,vr[c[++s%l]]))[0],f=u[1],(Math.abs(p-h)>1e-6||Math.abs(g-f)>1e-6)&&(c.splice(s,0,vr.push(mQ(o,d,1e-6>Math.abs(p-t)&&r-g>1e-6?[t,1e-6>Math.abs(h-t)?f:r]:1e-6>Math.abs(g-r)&&n-p>1e-6?[1e-6>Math.abs(f-r)?h:n,r]:1e-6>Math.abs(p-n)&&g-e>1e-6?[n,1e-6>Math.abs(h-n)?f:e]:1e-6>Math.abs(g-e)&&p-t>1e-6?[1e-6>Math.abs(f-e)?h:t,e]:null))-1),++l);l&&(m=!1)}if(m){var v,b,x,_,k,w=1/0;for(i=0,m=null;i<y;++i)(a=ve[i])&&(k=(x=(o=a.site)[0]-t)*x+(_=o[1]-e)*_)<w&&(w=k,m=a);if(m){var T=[t,e],E=[t,r],C=[n,r],S=[n,e];m.halfedges.push(vr.push(mQ(o=m.site,T,E))-1,vr.push(mQ(o,E,C))-1,vr.push(mQ(o,C,S))-1,vr.push(mQ(o,S,T))-1)}}for(i=0;i<y;++i)(a=ve[i])&&(a.halfedges.length||delete ve[i])}(o,s,c,l)}this.edges=vr,this.cells=ve,vt=vn=vr=ve=null}function vs(){var t=m$,e=mq,n=null;function r(r){return new vo(r.map(function(n,i){var a=[1e-6*Math.round(t(n,i,r)/1e-6),1e
1-6*Math.round(e(n,i,r)/1e-6)];return a.index=i,a.data=n,a}),n)}return r.polygons=function(t){return r(t).polygons()},r.links=function(t){return r(t).links()},r.triangles=function(t){return r(t).triangles()},r.x=function(e){return arguments.length?(t="function"==typeof e?e:mz(+e),r):t},r.y=function(t){return arguments.length?(e="function"==typeof t?t:mz(+t),r):e},r.extent=function(t){return arguments.length?(n=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],r):n&&[[n[0][0],n[0][1]],[n[1][0],n[1][1]]]},r.size=function(t){return arguments.length?(n=null==t?null:[[0,0],[+t[0],+t[1]]],r):n&&[n[1][0]-n[0][0],n[1][1]-n[0][1]]},r}function vc(t){return function(){return t}}function vl(t,e,n){this.target=t,this.type=e,this.transform=n}function vu(t,e,n){this.k=t,this.x=e,this.y=n}vo.prototype={constructor:vo,polygons:function(){var t=this.edges;return this.cells.map(function(e){var n=e.halfedges.map(function(n){return mJ(e,t[n])});return n.data=e.site.data,n})},triangles:function(){var t=[],e=this.edges;return this.cells.forEach(function(n,r){if(o=(a=n.halfedges).length)for(var i,a,o,s,c=n.site,l=-1,u=e[a[o-1]],h=u.left===c?u.right:u.left;++l<o;)s=h,h=(u=e[a[l]]).left===c?u.right:u.left,s&&h&&r<s.index&&r<h.index&&0>(i=h,(c[0]-i[0])*(s[1]-c[1])-(c[0]-s[0])*(i[1]-c[1]))&&t.push([c.data,s.data,h.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,e,n){for(var r,i,a=this,o=a._found||0,s=a.cells.length;!(i=a.cells[o]);)if(++o>=s)return null;var c=t-i.site[0],l=e-i.site[1],u=c*c+l*l;
1do i=a.cells[r=o],o=null,i.halfedges.forEach(function(n){var r=a.edges[n],s=r.left;if(s!==i.site&&s||(s=r.right)){var c=t-s[0],l=e-s[1],h=c*c+l*l;h<u&&(u=h,o=s.index)}});while(null!==o);return a._found=r,null==n||u<=n*n?i.site:null}},vu.prototype={constructor:vu,scale:function(t){return 1===t?this:new vu(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new vu(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var vh=new vu(1,0,0);function vf(t){for(;!t.__zoom;)if(!(t=t.parentNode))return vh;return t.__zoom}function vd(){tR.stopImmediatePropagation()}function vp(){tR.preventDefault(),tR.stopImmediatePropagation()}function vg(){return!tR.ctrlKey&&!tR.button}function vy(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function vm(){return this.__zoom||vh}function vv(){return-tR.deltaY*(1===tR.deltaMode?.05:tR.deltaMode?1:.002)}function vb(){return navigator.maxTouchPoints||"ontouchstart"in this}function vx(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],a=t.invertY(e[0][1])-n[0][1],o=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),o>a?(a+o)/2:Math.min(0,a)||Math.max(0,o))}function v_(){var t,e,n=vg,r=vy,i=vx,a=vv,o=vb,s=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],l=250,u=uK,h=ts("start","zoom","end"),f=0;function d(t){t.property("__zoom",vm).on("wheel.zoom",x).on("mousedown.zoom",_).on("dblclick.zoom",k).filter(o).on("touchstart.zoom",w).on("touchmove.zoom",T).on("touchend.zoom touchcancel.zoom",E).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(t,e){return(e=Math.max(s[0],Math.min(s[1],e)))===t.k?t:new vu(e,t.x,t.y)}function g(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new vu(t.k,r,i)}function y(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function m(t,e,n){t.on("start.zoom",function(){v(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){v(this,arguments).end()}).tween("zoom",function(){var t=arguments,i=v(this,t),a=r.apply(this,t),o=null==n?y(a):"function"==typeof n?n.apply(this,t):n,s=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),c=this.__zoom,l="function"==typeof e?e.apply(this,t):e,h=u(c.invert(o).concat(s/c.k),l.invert(o).concat(s/l.k));return function(t){if(1===t)t=l;else{var e=h(t),n=s/e[2];t=new vu(n,o[0]-e[0]*n,o[1]-e[1]*n)}i.zoom(null,t)}})}function v(t,e,n){return!n&&t.__zooming||new b(t,e)}function b(t,e){this.that=t,this.args=e,this.active=0,this.extent=r.apply(t,e),this.taps=0}function x(){if(n.apply(this,arguments)){var t=v(this,arguments),e=this.__zoom,r=Math.max(s[0],Math.min(s[1],e.k*Math.pow(2,a.apply(this,arguments)))),o=eH(this);if(t.wheel)t.mouse[0][0]===o[0]&&t.mouse[0][1]===o[1]||(t.mouse[1]=e.invert(t.mouse[0]=o)),clearTimeout(t.wheel);else{if(e.k===r)return;t.mouse=[o,e.invert(o)],ns(this),t.start()}vp(),t.wheel=setTimeout(function(){t.wheel=null,t.end()},150),t.zoom("mouse",i(g(p(e,r),t.mouse[0],t.mouse[1]),t.extent,c))}}function _(){if(!e&&n.apply(this,arguments)){var t=v(this,arguments,!0),r=tX(tR.view).on("mousemove.zoom",function(){if(vp(),!t.moved){var e=tR.clientX-o,n=tR.clientY-s;t.moved=e*e+n*n>f}t.zoom("mouse",i(g(t.that.__zoom,t.mouse[0]=eH(t.that),t.mouse[1]),t.extent,c))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),tJ(tR.view,t.moved),vp(),t.end()},!0),a=eH(this),o=tR.clientX,s=tR.clientY;
1tK(tR.view),vd(),t.mouse=[a,this.__zoom.invert(a)],ns(this),t.start()}}function k(){if(n.apply(this,arguments)){var t=this.__zoom,e=eH(this),a=t.invert(e),o=t.k*(tR.shiftKey?.5:2),s=i(g(p(t,o),e,a),r.apply(this,arguments),c);vp(),l>0?tX(this).transition().duration(l).call(m,s,e):tX(this).call(d.transform,s)}}function w(){if(n.apply(this,arguments)){var e,r,i,a,o=tR.touches,s=o.length,c=v(this,arguments,tR.changedTouches.length===s);for(vd(),r=0;r<s;++r)a=[a=eq(this,o,(i=o[r]).identifier),this.__zoom.invert(a),i.identifier],c.touch0?c.touch1||c.touch0[2]===a[2]||(c.touch1=a,c.taps=0):(c.touch0=a,e=!0,c.taps=1+!!t);t&&(t=clearTimeout(t)),e&&(c.taps<2&&(t=setTimeout(function(){t=null},500)),ns(this),c.start())}}function T(){if(this.__zooming){var e,n,r,a,o=v(this,arguments),s=tR.changedTouches,l=s.length;for(vp(),t&&(t=clearTimeout(t)),o.taps=0,e=0;e<l;++e)r=eq(this,s,(n=s[e]).identifier),o.touch0&&o.touch0[2]===n.identifier?o.touch0[0]=r:o.touch1&&o.touch1[2]===n.identifier&&(o.touch1[0]=r);if(n=o.that.__zoom,o.touch1){var u=o.touch0[0],h=o.touch0[1],f=o.touch1[0],d=o.touch1[1],y=(y=f[0]-u[0])*y+(y=f[1]-u[1])*y,m=(m=d[0]-h[0])*m+(m=d[1]-h[1])*m;n=p(n,Math.sqrt(y/m)),r=[(u[0]+f[0])/2,(u[1]+f[1])/2],a=[(h[0]+d[0])/2,(h[1]+d[1])/2]}else{if(!o.touch0)return;r=o.touch0[0],a=o.touch0[1]}o.zoom("touch",i(g(n,r,a),o.extent,c))}}function E(){if(this.__zooming){var t,n,r=v(this,arguments),i=tR.changedTouches,a=i.length;for(vd(),e&&clearTimeout(e),e=setTimeout(function(){e=null},500),t=0;t<a;++t)n=i[t],r.touch0&&r.touch0[2]===n.identifier?delete r.touch0:r.touch1&&r.touch1[2]===n.identifier&&delete r.touch1;if(r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0)r.touch0[1]=this.__zoom.invert(r.touch0[0]);else if(r.end(),2===r.taps){var o=tX(this).on("dblclick.zoom");o&&o.apply(this,arguments)}}}return d.transform=function(t,e,n){var r=t.selection?t.selection():t;r.property("__zoom",vm),t!==r?m(t,e,n):r.interrupt().each(function(){v(this,arguments).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()})},d.scaleBy=function(t,e,n){d.scaleTo(t,function(){var t=this.__zoom.k,n="function"==typeof e?e.apply(this,arguments):e;return t*n},n)},d.scaleTo=function(t,e,n){d.transform(t,function(){var t=r.apply(this,arguments),a=this.__zoom,o=null==n?y(t):"function"==typeof n?n.apply(this,arguments):n,s=a.invert(o),l="function"==typeof e?e.apply(this,arguments):e;return i(g(p(a,l),o,s),t,c)},n)},d.translateBy=function(t,e,n){d.transform(t,function(){return i(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof n?n.apply(this,arguments):n),r.apply(this,arguments),c)})},d.translateTo=function(t,e,n,a){d.transform(t,function(){var t=r.apply(this,arguments),o=this.__zoom,s=null==a?y(t):"function"==typeof a?a.apply(this,arguments):a;return i(vh.translate(s[0],s[1]).scale(o.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof n?-n.apply(this,arguments):-n),t,c)},a)},b.prototype={start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){t$(new vl(d,t,this.that.__zoom),h.apply,h,[t,this.that,this.args])}},d.wheelDelta=function(t){return arguments.length?(a="function"==typeof t?t:vc(+t),d):a},d.filter=function(t){return arguments.length?(n="function"==typeof t?t:vc(!!t),d):n},d.touchable=function(t){return arguments.length?(o="function"==typeof t?t:vc(!!t),d):o},d.extent=function(t){return arguments.length?(r="function"==typeof t?t:vc([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),d):r},d.scaleExtent=function(t){return arguments.length?(s[0]=+t[0],s[1]=+t[1],d):[s[0],s[1]]},d.translateExtent=function(t){return arguments.length?(c[0][0]=+t[0][0],c[1][0]=+t[1][0],c[0][1]=+t[0][1],c[1][1]=+t[1][1],d):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},d.constrain=function(t){return arguments.length?(i=t,d):i},d.duration=function(t){return arguments.length?(l=+t,d):l},d.interpolate=function(t){return arguments.length?(u=t,d):u},d.on=function(){var t=h.on.apply(h,arguments);return t===h?d:t},d.clickDistance=function(t){return arguments.length?(f=(t*=1)*t,d):Math.sqrt(f)},d}vf.prototype=vu.prototype},681:(t,e,n)=>{t.exports={graphlib:n(574),layout:n(8123),debug:n(7570),util:{time:n(1138).time,notime:n(1138).notime},version:n(8177)}},1207:(t,e,n)=>{var r=n(8436),i=n(4079);t.exports={run:function(t){var e,n,a,o="greedy"===t.graph().acyclicer?i(t,function(e){return t.edge(e).weight}):(e=[],n={},a={},r.forEach(t.nodes(),function i(o){r.has(a,o)||(a[o]=!0,n[o]=!0,r.forEach(t.outEdges(o),function(t){r.has(n,t.w)?e.push(t):i(t.w)}),delete n[o])}),e);r.forEach(o,function(e){var n=t.edge(e);
1t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,r.uniqueId("rev"))})},undo:function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}})}}},1133:(t,e,n)=>{var r=n(8436),i=n(1138);function a(t,e,n,r,a,o){var s=a[e][o-1],c=i.addDummyNode(t,"border",{width:0,height:0,rank:o,borderType:e},n);a[e][o]=c,t.setParent(c,r),s&&t.setEdge(s,c,{weight:1})}t.exports=function(t){r.forEach(t.children(),function e(n){var i=t.children(n),o=t.node(n);if(i.length&&r.forEach(i,e),r.has(o,"minRank")){o.borderLeft=[],o.borderRight=[];for(var s=o.minRank,c=o.maxRank+1;s<c;++s)a(t,"borderLeft","_bl",n,o,s),a(t,"borderRight","_br",n,o,s)}})}},3258:(t,e,n)=>{var r=n(8436);function i(t){r.forEach(t.nodes(),function(e){a(t.node(e))}),r.forEach(t.edges(),function(e){a(t.edge(e))})}function a(t){var e=t.width;t.width=t.height,t.height=e}function o(t){t.y=-t.y}function s(t){var e=t.x;t.x=t.y,t.y=e}t.exports={adjust:function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||i(t)},undo:function(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||(r.forEach(t.nodes(),function(e){o(t.node(e))}),r.forEach(t.edges(),function(e){var n=t.edge(e);r.forEach(n.points,o),r.has(n,"y")&&o(n)})),"lr"!==e&&"rl"!==e||(r.forEach(t.nodes(),function(e){s(t.node(e))}),r.forEach(t.edges(),function(e){var n=t.edge(e);r.forEach(n.points,s),r.has(n,"x")&&s(n)}),i(t))}}},7822:t=>{function e(){var t={};t._next=t._prev=t,this._sentinel=t}function n(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function r(t,e){if("_next"!==t&&"_prev"!==t)return e}t.exports=e,e.prototype.dequeue=function(){var t=this._sentinel,e=t._prev;if(e!==t)return n(e),e},e.prototype.enqueue=function(t){var e=this._sentinel;t._prev&&t._next&&n(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e},e.prototype.toString=function(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,r)),n=n._prev;return"["+t.join(", ")+"]"}},7570:(t,e,n)=>{var r=n(8436),i=n(1138),a=n(574).Graph;t.exports={debugOrdering:function(t){var e=i.buildLayerMatrix(t),n=new a({compound:!0,multigraph:!0}).setGraph({});return r.forEach(t.nodes(),function(e){n.setNode(e,{label:e}),n.setParent(e,"layer"+t.node(e).rank)}),r.forEach(t.edges(),function(t){n.setEdge(t.v,t.w,{},t.name)}),r.forEach(e,function(t,e){n.setNode("layer"+e,{rank:"same"}),r.reduce(t,function(t,e){return n.setEdge(t,e,{style:"invis"}),e})}),n}}},574:(t,e,n)=>{var r;try{r=n(8282)}catch(t){}r||(r=window.graphlib),t.exports=r},4079:(t,e,n)=>{var r=n(8436),i=n(574).Graph,a=n(7822);t.exports=function(t,e){if(1>=t.nodeCount())return[];var n,l,u,h,f,d,p=(n=e||o,l=new i,u=0,h=0,r.forEach(t.nodes(),function(t){l.setNode(t,{v:t,in:0,out:0})}),r.forEach(t.edges(),function(t){var e=l.edge(t.v,t.w)||0,r=n(t);l.setEdge(t.v,t.w,e+r),h=Math.max(h,l.node(t.v).out+=r),u=Math.max(u,l.node(t.w).in+=r)}),f=r.range(h+u+3).map(function(){return new a}),d=u+1,r.forEach(l.nodes(),function(t){c(f,d,l.node(t))}),{graph:l,buckets:f,zeroIdx:d}),g=function(t,e,n){for(var r,i=[],a=e[e.length-1],o=e[0];t.nodeCount();){for(;r=o.dequeue();)s(t,e,n,r);for(;r=a.dequeue();)s(t,e,n,r);if(t.nodeCount()){for(var c=e.length-2;c>0;--c)if(r=e[c].dequeue()){i=i.concat(s(t,e,n,r,!0));break}}}return i}(p.graph,p.buckets,p.zeroIdx);return r.flatten(r.map(g,function(e){return t.outEdges(e.v,e.w)}),!0)};var o=r.constant(1);function s(t,e,n,i,a){var o=a?[]:void 0;return r.forEach(t.inEdges(i.v),function(r){var i=t.edge(r),s=t.node(r.v);a&&o.push({v:r.v,w:r.w}),s.out-=i,c(e,n,s)}),r.forEach(t.outEdges(i.v),function(r){var i=t.edge(r),a=r.w,o=t.node(a);o.in-=i,c(e,n,o)}),t.removeNode(i.v),o}function c(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}},8123:(t,e,n)=>{var r=n(8436),i=n(1207),a=n(5995),o=n(8093),s=n(1138).normalizeRanks,c=n(4219),l=n(1138).removeEmptyRanks,u=n(2981),h=n(1133),f=n(3258),d=n(3408),p=n(7873),g=n(1138),y=n(574).Graph;t.exports=function(t,e){var n=e&&e.debugTiming?g.time:g.notime;n("layout",function(){var e=n(" buildLayoutGraph",function(){var e,n;return e=new y({multigraph:!0,compound:!0}),n=C(t.graph()),e.setGraph(r.merge({},v,E(n,m),r.pick(n,b))),r.forEach(t.nodes(),function(n){var i=C(t.node(n));e.setNode(n,r.defaults(E(i,x),_)),e.setParent(n,t.parent(n))}),r.forEach(t.edges(),function(n){var i=C(t.edge(n));e.setEdge(n,r.merge({},w,E(i,k),r.pick(i,T)))}),e});n(" runLayout",function(){n(" makeSpaceForEdgeLabels",function(){var t;t=e.graph(),t.ranksep/=2,r.forEach(e.edges(),function(n){var r=e.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}),n(" removeSelfEdges",function(){r.forEach(e.edges(),function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}
1),e.removeEdge(t)}})}),n(" acyclic",function(){i.run(e)}),n(" nestingGraph.run",function(){u.run(e)}),n(" rank",function(){o(g.asNonCompoundGraph(e))}),n(" injectEdgeLabelProxies",function(){r.forEach(e.edges(),function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v),i={rank:(e.node(t.w).rank-r.rank)/2+r.rank,e:t};g.addDummyNode(e,"edge-proxy",i,"_ep")}})}),n(" removeEmptyRanks",function(){l(e)}),n(" nestingGraph.cleanup",function(){u.cleanup(e)}),n(" normalizeRanks",function(){s(e)}),n(" assignRankMinMax",function(){var t;t=0,r.forEach(e.nodes(),function(n){var i=e.node(n);i.borderTop&&(i.minRank=e.node(i.borderTop).rank,i.maxRank=e.node(i.borderBottom).rank,t=r.max(t,i.maxRank))}),e.graph().maxRank=t}),n(" removeEdgeLabelProxies",function(){r.forEach(e.nodes(),function(t){var n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))})}),n(" normalize.run",function(){a.run(e)}),n(" parentDummyChains",function(){c(e)}),n(" addBorderSegments",function(){h(e)}),n(" order",function(){d(e)}),n(" insertSelfEdges",function(){var t;t=g.buildLayerMatrix(e),r.forEach(t,function(t){var n=0;r.forEach(t,function(t,i){var a=e.node(t);a.order=i+n,r.forEach(a.selfEdges,function(t){g.addDummyNode(e,"selfedge",{width:t.label.width,height:t.label.height,rank:a.rank,order:i+ ++n,e:t.e,label:t.label},"_se")}),delete a.selfEdges})})}),n(" adjustCoordinateSystem",function(){f.adjust(e)}),n(" position",function(){p(e)}),n(" positionSelfEdges",function(){r.forEach(e.nodes(),function(t){var n=e.node(t);if("selfedge"===n.dummy){var r=e.node(n.e.v),i=r.x+r.width/2,a=r.y,o=n.x-i,s=r.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:i+2*o/3,y:a-s},{x:i+5*o/6,y:a-s},{x:i+o,y:a},{x:i+5*o/6,y:a+s},{x:i+2*o/3,y:a+s}],n.label.x=n.x,n.label.y=n.y}})}),n(" removeBorderNodes",function(){r.forEach(e.nodes(),function(t){if(e.children(t).length){var n=e.node(t),i=e.node(n.borderTop),a=e.node(n.borderBottom),o=e.node(r.last(n.borderLeft)),s=e.node(r.last(n.borderRight));n.width=Math.abs(s.x-o.x),n.height=Math.abs(a.y-i.y),n.x=o.x+n.width/2,n.y=i.y+n.height/2}}),r.forEach(e.nodes(),function(t){"border"===e.node(t).dummy&&e.removeNode(t)})}),n(" normalize.undo",function(){a.undo(e)}),n(" fixupEdgeLabelCoords",function(){r.forEach(e.edges(),function(t){var n=e.edge(t);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}),n(" undoCoordinateSystem",function(){f.undo(e)}),n(" translateGraph",function(){!function(t){var e=1/0,n=0,i=1/0,a=0,o=t.graph(),s=o.marginx||0,c=o.marginy||0;function l(t){var r=t.x,o=t.y,s=t.width,c=t.height;e=Math.min(e,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,o-c/2),a=Math.max(a,o+c/2)}r.forEach(t.nodes(),function(e){l(t.node(e))}),r.forEach(t.edges(),function(e){var n=t.edge(e);r.has(n,"x")&&l(n)}),e-=s,i-=c,r.forEach(t.nodes(),function(n){var r=t.node(n);r.x-=e,r.y-=i}),r.forEach(t.edges(),function(n){var a=t.edge(n);r.forEach(a.points,function(t){t.x-=e,t.y-=i}),r.has(a,"x")&&(a.x-=e),r.has(a,"y")&&(a.y-=i)}),o.width=n-e+s,o.height=a-i+c}(e)}),n(" assignNodeIntersects",function(){r.forEach(e.edges(),function(t){var n,r,i=e.edge(t),a=e.node(t.v),o=e.node(t.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=o,r=a),i.points.unshift(g.intersectRect(a,n)),i.points.push(g.intersectRect(o,r))})}),n(" reversePoints",function(){r.forEach(e.edges(),function(t){var n=e.edge(t);n.reversed&&n.points.reverse()})}),n(" acyclic.undo",function(){i.undo(e)})}),n(" updateInputGraph",function(){r.forEach(t.nodes(),function(n){var r=t.node(n),i=e.node(n);r&&(r.x=i.x,r.y=i.y,e.children(n).length&&(r.width=i.width,r.height=i.height))}),r.forEach(t.edges(),function(n){var i=t.edge(n),a=e.edge(n);i.points=a.points,r.has(a,"x")&&(i.x=a.x,i.y=a.y)}),t.graph().width=e.graph().width,t.graph().height=e.graph().height})})};var m=["nodesep","edgesep","ranksep","marginx","marginy"],v={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},b=["acyclicer","ranker","rankdir","align"],x=["width","height"],_={width:0,height:0},k=["minlen","weight","width","height","labeloffset"],w={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},T=["labelpos"];function E(t,e){return r.mapValues(r.pick(t,e),Number)}function C(t){var e={};return r.forEach(t,function(t,n){e[n.toLowerCase()]=t}),e}},8436:(t,e,n)=>{var r;try{r={cloneDeep:n(361),constant:n(5703),defaults:n(1747),each:n(6073),filter:n(3105),find:n(3311),flatten:n(5564),forEach:n(4486),forIn:n(2620),has:n(8721),isUndefined:n(2353),last:n(928),map:n(5161),mapValues:n(6604),max:n(6162),merge:n(3857),min:n(3632),minBy:n(2762),now:n(7771),pick:n(9722),range:n(6026),reduce:n(4061),sortBy:n(9734),uniqueId:n(3955),values:n(2628),zipObject:n(7287)}}catch(t){}
1r||(r=window._),t.exports=r},2981:(t,e,n)=>{var r=n(8436),i=n(1138);t.exports={run:function(t){var e,n=i.addDummyNode(t,"root",{},"_root"),a=(e={},r.forEach(t.children(),function(n){!function n(i,a){var o=t.children(i);o&&o.length&&r.forEach(o,function(t){n(t,a+1)}),e[i]=a}(n,1)}),e),o=r.max(r.values(a))-1,s=2*o+1;t.graph().nestingRoot=n,r.forEach(t.edges(),function(e){t.edge(e).minlen*=s});var c=r.reduce(t.edges(),function(e,n){return e+t.edge(n).weight},0)+1;r.forEach(t.children(),function(e){!function t(e,n,a,o,s,c,l){var u=e.children(l);if(u.length){var h=i.addBorderNode(e,"_bt"),f=i.addBorderNode(e,"_bb"),d=e.node(l);e.setParent(h,l),d.borderTop=h,e.setParent(f,l),d.borderBottom=f,r.forEach(u,function(r){t(e,n,a,o,s,c,r);var i=e.node(r),u=i.borderTop?i.borderTop:r,d=i.borderBottom?i.borderBottom:r,p=i.borderTop?o:2*o,g=u!==d?1:s-c[l]+1;e.setEdge(h,u,{weight:p,minlen:g,nestingEdge:!0}),e.setEdge(d,f,{weight:p,minlen:g,nestingEdge:!0})}),e.parent(l)||e.setEdge(n,h,{weight:0,minlen:s+c[l]})}else l!==n&&e.setEdge(n,l,{weight:0,minlen:a})}(t,n,s,c,o,a,e)}),t.graph().nodeRankFactor=s},cleanup:function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,r.forEach(t.edges(),function(e){t.edge(e).nestingEdge&&t.removeEdge(e)})}}},5995:(t,e,n)=>{var r=n(8436),i=n(1138);t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),function(e){!function(t,e){var n,r,a,o=e.v,s=t.node(o).rank,c=e.w,l=t.node(c).rank,u=e.name,h=t.edge(e),f=h.labelRank;if(l!==s+1){for(t.removeEdge(e),a=0,++s;s<l;++a,++s)h.points=[],r={width:0,height:0,edgeLabel:h,edgeObj:e,rank:s},n=i.addDummyNode(t,"edge",r,"_d"),s===f&&(r.width=h.width,r.height=h.height,r.dummy="edge-label",r.labelpos=h.labelpos),t.setEdge(o,n,{weight:h.weight},u),0===a&&t.graph().dummyChains.push(n),o=n;t.setEdge(o,c,{weight:h.weight},u)}}(t,e)})},undo:function(t){r.forEach(t.graph().dummyChains,function(e){var n,r=t.node(e),i=r.edgeLabel;for(t.setEdge(r.edgeObj,i);r.dummy;)n=t.successors(e)[0],t.removeNode(e),i.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(i.x=r.x,i.y=r.y,i.width=r.width,i.height=r.height),e=n,r=t.node(e)})}}},5093:(t,e,n)=>{var r=n(8436);t.exports=function(t,e,n){var i,a={};r.forEach(n,function(n){for(var r,o,s=t.parent(n);s;){if((r=t.parent(s))?(o=a[r],a[r]=s):(o=i,i=s),o&&o!==s)return void e.setEdge(o,s);s=r}})}},5439:(t,e,n)=>{var r=n(8436);t.exports=function(t,e){return r.map(e,function(e){var n=t.inEdges(e);if(n.length){var i=r.reduce(n,function(e,n){var r=t.edge(n),i=t.node(n.v);return{sum:e.sum+r.weight*i.order,weight:e.weight+r.weight}},{sum:0,weight:0});return{v:e,barycenter:i.sum/i.weight,weight:i.weight}}return{v:e}})}},3128:(t,e,n)=>{var r=n(8436),i=n(574).Graph;t.exports=function(t,e,n){var a=function(t){for(var e;t.hasNode(e=r.uniqueId("_root")););return e}(t),o=new i({compound:!0}).setGraph({root:a}).setDefaultNodeLabel(function(e){return t.node(e)});return r.forEach(t.nodes(),function(i){var s=t.node(i),c=t.parent(i);(s.rank===e||s.minRank<=e&&e<=s.maxRank)&&(o.setNode(i),o.setParent(i,c||a),r.forEach(t[n](i),function(e){var n=e.v===i?e.w:e.v,a=o.edge(n,i),s=r.isUndefined(a)?0:a.weight;o.setEdge(n,i,{weight:t.edge(e).weight+s})}),r.has(s,"minRank")&&o.setNode(i,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]}))}),o}},6630:(t,e,n)=>{var r=n(8436);t.exports=function(t,e){for(var n=0,i=1;i<e.length;++i)n+=function(t,e,n){for(var i=r.zipObject(n,r.map(n,function(t,e){return e})),a=r.flatten(r.map(e,function(e){return r.sortBy(r.map(t.outEdges(e),function(e){return{pos:i[e.w],weight:t.edge(e).weight}}),"pos")}),!0),o=1;o<n.length;)o<<=1;var s=2*o-1;o-=1;var c=r.map(Array(s),function(){return 0}),l=0;return r.forEach(a.forEach(function(t){var e=t.pos+o;c[e]+=t.weight;for(var n=0;e>0;)e%2&&(n+=c[e+1]),c[e=e-1>>1]+=t.weight;l+=t.weight*n})),l}(t,e[i-1],e[i]);return n}},3408:(t,e,n)=>{var r=n(8436),i=n(2588),a=n(6630),o=n(1026),s=n(3128),c=n(5093),l=n(574).Graph,u=n(1138);function h(t,e,n){return r.map(e,function(e){return s(t,e,n)})}function f(t,e){r.forEach(e,function(e){r.forEach(e,function(e,n){t.node(e).order=n})})}t.exports=function(t){var e=u.maxRank(t),n=h(t,r.range(1,e+1),"inEdges"),s=h(t,r.range(e-1,-1,-1),"outEdges"),d=i(t);f(t,d);for(var p,g=1/0,y=0,m=0;m<4;++y,++m){(function(t,e){var n=new l;r.forEach(t,function(t){var i=t.graph().root,a=o(t,i,n,e);r.forEach(a.vs,function(e,n){t.node(e).order=n}),c(t,n,a.vs)})})(y%2?n:s,y%4>=2),d=u.buildLayerMatrix(t);var v=a(t,d);v<g&&(m=0,p=r.cloneDeep(d),g=v)}f(t,p)}},2588:(t,e,n)=>{var r=n(8436);t.exports=function(t){var e={},n=r.filter(t.nodes(),function(e){return!t.children(e).length}),i=r.max(r.map(n,function(e){return t.node(e).rank})),a=r.map(r.range(i+1),function(){return[]}),o=r.sortBy(n,function(e){return t.node(e).rank});return r.forEach(o,function n(i){r.has(e,i)||(e[i]=!0,a[t.node(i).rank].push(i),r.forEach(t.successors(i),n)
1)}),a}},9567:(t,e,n)=>{var r=n(8436);t.exports=function(t,e){var n={};return r.forEach(t,function(t,e){var i=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};r.isUndefined(t.barycenter)||(i.barycenter=t.barycenter,i.weight=t.weight)}),r.forEach(e.edges(),function(t){var e=n[t.v],i=n[t.w];r.isUndefined(e)||r.isUndefined(i)||(i.indegree++,e.out.push(n[t.w]))}),function(t){for(var e=[];t.length;){var n=t.pop();e.push(n),r.forEach(n.in.reverse(),function(t){return function(e){var n,i;e.merged||(r.isUndefined(e.barycenter)||r.isUndefined(t.barycenter)||e.barycenter>=t.barycenter)&&(n=0,i=0,t.weight&&(n+=t.barycenter*t.weight,i+=t.weight),e.weight&&(n+=e.barycenter*e.weight,i+=e.weight),t.vs=e.vs.concat(t.vs),t.barycenter=n/i,t.weight=i,t.i=Math.min(e.i,t.i),e.merged=!0)}}(n)),r.forEach(n.out,function(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}(n))}return r.map(r.filter(e,function(t){return!t.merged}),function(t){return r.pick(t,["vs","i","barycenter","weight"])})}(r.filter(n,function(t){return!t.indegree}))}},1026:(t,e,n)=>{var r=n(8436),i=n(5439),a=n(9567),o=n(7304);t.exports=function t(e,n,s,c){var l=e.children(n),u=e.node(n),h=u?u.borderLeft:void 0,f=u?u.borderRight:void 0,d={};h&&(l=r.filter(l,function(t){return t!==h&&t!==f}));var p=i(e,l);r.forEach(p,function(n){if(e.children(n.v).length){var i=t(e,n.v,s,c);d[n.v]=i,r.has(i,"barycenter")&&(r.isUndefined(n.barycenter)?(n.barycenter=i.barycenter,n.weight=i.weight):(n.barycenter=(n.barycenter*n.weight+i.barycenter*i.weight)/(n.weight+i.weight),n.weight+=i.weight))}});var g=a(p,s);r.forEach(g,function(t){t.vs=r.flatten(t.vs.map(function(t){return d[t]?d[t].vs:t}),!0)});var y=o(g,c);if(h&&(y.vs=r.flatten([h,y.vs,f],!0),e.predecessors(h).length)){var m=e.node(e.predecessors(h)[0]),v=e.node(e.predecessors(f)[0]);r.has(y,"barycenter")||(y.barycenter=0,y.weight=0),y.barycenter=(y.barycenter*y.weight+m.order+v.order)/(y.weight+2),y.weight+=2}return y}},7304:(t,e,n)=>{var r=n(8436),i=n(1138);function a(t,e,n){for(var i;e.length&&(i=r.last(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}t.exports=function(t,e){var n,o=i.partition(t,function(t){return r.has(t,"barycenter")}),s=o.lhs,c=r.sortBy(o.rhs,function(t){return-t.i}),l=[],u=0,h=0,f=0;s.sort((n=!!e,function(t,e){return t.barycenter<e.barycenter?-1:t.barycenter>e.barycenter?1:n?e.i-t.i:t.i-e.i})),f=a(l,c,f),r.forEach(s,function(t){f+=t.vs.length,l.push(t.vs),u+=t.barycenter*t.weight,h+=t.weight,f=a(l,c,f)});var d={vs:r.flatten(l,!0)};return h&&(d.barycenter=u/h,d.weight=h),d}},4219:(t,e,n)=>{var r=n(8436);t.exports=function(t){var e,n,i=(e={},n=0,r.forEach(t.children(),function i(a){var o=n;r.forEach(t.children(a),i),e[a]={low:o,lim:n++}}),e);r.forEach(t.graph().dummyChains,function(e){for(var n=t.node(e),r=n.edgeObj,a=function(t,e,n,r){var i,a,o=[],s=[],c=Math.min(e[n].low,e[r].low),l=Math.max(e[n].lim,e[r].lim);i=n;do o.push(i=t.parent(i));while(i&&(e[i].low>c||l>e[i].lim));for(a=i,i=r;(i=t.parent(i))!==a;)s.push(i);return{path:o.concat(s.reverse()),lca:a}}(t,i,r.v,r.w),o=a.path,s=a.lca,c=0,l=o[c],u=!0;e!==r.w;){if(n=t.node(e),u){for(;(l=o[c])!==s&&t.node(l).maxRank<n.rank;)c++;l===s&&(u=!1)}if(!u){for(;c<o.length-1&&t.node(l=o[c+1]).minRank<=n.rank;)c++;l=o[c]}t.setParent(e,l),e=t.successors(e)[0]}})}},3573:(t,e,n)=>{var r=n(8436),i=n(574).Graph,a=n(1138);function o(t,e){var n={};return r.reduce(e,function(e,i){var a=0,o=0,s=e.length,l=r.last(i);return r.forEach(i,function(e,u){var h=function(t,e){if(t.node(e).dummy)return r.find(t.predecessors(e),function(e){return t.node(e).dummy})}(t,e),f=h?t.node(h).order:s;(h||e===l)&&(r.forEach(i.slice(o,u+1),function(e){r.forEach(t.predecessors(e),function(r){var i=t.node(r),o=i.order;!(o<a||f<o)||i.dummy&&t.node(e).dummy||c(n,r,e)})}),o=u+1,a=f)}),i}),n}function s(t,e){var n={};function i(e,i,a,o,s){var l;r.forEach(r.range(i,a),function(i){l=e[i],t.node(l).dummy&&r.forEach(t.predecessors(l),function(e){var r=t.node(e);r.dummy&&(r.order<o||r.order>s)&&c(n,e,l)})})}return r.reduce(e,function(e,n){var a,o=-1,s=0;return r.forEach(n,function(r,c){if("border"===t.node(r).dummy){var l=t.predecessors(r);l.length&&(a=t.node(l[0]).order,i(n,s,c,o,a),s=c,o=a)}i(n,s,n.length,a,e.length)}),n}),n}function c(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function l(t,e,n){if(e>n){var i=e;e=n,n=i}return r.has(t[e],n)}function u(t,e,n,i){var a={},o={},s={};return r.forEach(e,function(t){r.forEach(t,function(t,e){a[t]=t,o[t]=t,s[t]=e})}),r.forEach(e,function(t){var e=-1;r.forEach(t,function(t){var c=i(t);if(c.length){c=r.sortBy(c,function(t){return s[t]});for(var u=(c.length-1)/2,h=Math.floor(u),f=Math.ceil(u);h<=f;++h){var d=c[h];o[t]===t&&e<s[d]&&!l(n,t,d)&&(o[d]=t,o[t]=a[t]=a[d],e=s[d])}}})}),{root:a,align:o}}function h(t,e,n,a,o){var s,c,l,u,h,f={},d=(l=new i,s=(u=t.graph()).nodesep,c=u.edgesep,h=function(t,e,n){var i,a,l=t.node(e),u=t.node(n);if(a=0+l.width/2,r.has(l,"labelpos"))switch(l.labelpos.toLowerCase()){case"l":i=-l.width/2;break;case"r":i=l.width/2}if(i&&(a+=o?i:-i),i=0,a+=(l.dummy?c:s)/2,a+=(u.dummy?c:s)/2,a+=u.width/2,r.has(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":i=u.width/2;break;case"r":i=-u.width/2}return i&&(a+=o?i:-i),i=0,a}
1,r.forEach(e,function(e){var i;r.forEach(e,function(e){var r=n[e];if(l.setNode(r),i){var a=n[i],o=l.edge(a,r);l.setEdge(a,r,Math.max(h(t,e,i),o||0))}i=e})}),l),p=o?"borderLeft":"borderRight";function g(t,e){for(var n=d.nodes(),r=n.pop(),i={};r;)i[r]?t(r):(i[r]=!0,n.push(r),n=n.concat(e(r))),r=n.pop()}return g(function(t){f[t]=d.inEdges(t).reduce(function(t,e){return Math.max(t,f[e.v]+d.edge(e))},0)},d.predecessors.bind(d)),g(function(e){var n=d.outEdges(e).reduce(function(t,e){return Math.min(t,f[e.w]-d.edge(e))},1/0),r=t.node(e);n!==1/0&&r.borderType!==p&&(f[e]=Math.max(f[e],n))},d.successors.bind(d)),r.forEach(a,function(t){f[t]=f[n[t]]}),f}function f(t,e){return r.minBy(r.values(e),function(e){var n=-1/0,i=1/0;return r.forIn(e,function(e,r){var a=t.node(r).width/2;n=Math.max(e+a,n),i=Math.min(e-a,i)}),n-i})}function d(t,e){var n=r.values(e),i=r.min(n),a=r.max(n);r.forEach(["u","d"],function(n){r.forEach(["l","r"],function(o){var s,c=n+o,l=t[c];if(l!==e){var u=r.values(l);(s="l"===o?i-r.min(u):a-r.max(u))&&(t[c]=r.mapValues(l,function(t){return t+s}))}})})}function p(t,e){return r.mapValues(t.ul,function(n,i){if(e)return t[e.toLowerCase()][i];var a=r.sortBy(r.map(t,i));return(a[1]+a[2])/2})}t.exports={positionX:function(t){var e,n=a.buildLayerMatrix(t),i=r.merge(o(t,n),s(t,n)),c={};r.forEach(["u","d"],function(a){e="u"===a?n:r.values(n).reverse(),r.forEach(["l","r"],function(n){"r"===n&&(e=r.map(e,function(t){return r.values(t).reverse()}));var o=("u"===a?t.predecessors:t.successors).bind(t),s=u(0,e,i,o),l=h(t,e,s.root,s.align,"r"===n);"r"===n&&(l=r.mapValues(l,function(t){return-t})),c[a+n]=l})});var l=f(t,c);return d(c,l),p(c,t.graph().align)},findType1Conflicts:o,findType2Conflicts:s,addConflict:c,hasConflict:l,verticalAlignment:u,horizontalCompaction:h,alignCoordinates:d,findSmallestWidthAlignment:f,balance:p}},7873:(t,e,n)=>{var r=n(8436),i=n(1138),a=n(3573).positionX;t.exports=function(t){var e,n,o,s;e=t=i.asNonCompoundGraph(t),n=i.buildLayerMatrix(e),o=e.graph().ranksep,s=0,r.forEach(n,function(t){var n=r.max(r.map(t,function(t){return e.node(t).height}));r.forEach(t,function(t){e.node(t).y=s+n/2}),s+=n+o}),r.forEach(a(t),function(e,n){t.node(n).x=e})}},300:(t,e,n)=>{var r=n(8436),i=n(574).Graph,a=n(6681).slack;t.exports=function(t){var e,n,o=new i({directed:!1}),s=t.nodes()[0],c=t.nodeCount();for(o.setNode(s,{});r.forEach(o.nodes(),function e(n){r.forEach(t.nodeEdges(n),function(r){var i=r.v,s=n===i?r.w:i;o.hasNode(s)||a(t,r)||(o.setNode(s,{}),o.setEdge(n,s,{}),e(s))})}),o.nodeCount()<c;)e=function(t,e){return r.minBy(e.edges(),function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return a(e,n)})}(o,t),n=o.hasNode(e.v)?a(t,e):-a(t,e),function(t,e,n){r.forEach(t.nodes(),function(t){e.node(t).rank+=n})}(o,t,n);return o}},8093:(t,e,n)=>{var r=n(6681).longestPath,i=n(300),a=n(2472);t.exports=function(t){switch(t.graph().ranker){case"network-simplex":default:a(t);break;case"tight-tree":r(t),i(t);break;case"longest-path":o(t)}};var o=r},2472:(t,e,n)=>{var r=n(8436),i=n(300),a=n(6681).slack,o=n(6681).longestPath,s=n(574).alg.preorder,c=n(574).alg.postorder,l=n(1138).simplify;function u(t){o(t=l(t));var e,n=i(t);for(d(n),h(n,t);e=p(n);)y(n,t,e,g(n,t,e))}function h(t,e){var n=c(t,t.nodes());n=n.slice(0,n.length-1),r.forEach(n,function(n){var r;r=t.node(n).parent,t.edge(n,r).cutvalue=f(t,e,n)})}function f(t,e,n){var i=t.node(n).parent,a=!0,o=e.edge(n,i),s=0;return o||(a=!1,o=e.edge(i,n)),s=o.weight,r.forEach(e.nodeEdges(n),function(r){var o=r.v===n,c=o?r.w:r.v;if(c!==i){var l=o===a,u=e.edge(r).weight;if(s+=l?u:-u,t.hasEdge(n,c)){var h=t.edge(n,c).cutvalue;s+=l?-h:h}}}),s}function d(t,e){arguments.length<2&&(e=t.nodes()[0]),function t(e,n,i,a,o){var s=i,c=e.node(a);return n[a]=!0,r.forEach(e.neighbors(a),function(o){r.has(n,o)||(i=t(e,n,i,o,a))}),c.low=s,c.lim=i++,o?c.parent=o:delete c.parent,i}(t,{},1,e)}function p(t){return r.find(t.edges(),function(e){return t.edge(e).cutvalue<0})}function g(t,e,n){var i=n.v,o=n.w;e.hasEdge(i,o)||(i=n.w,o=n.v);var s=t.node(i),c=t.node(o),l=s,u=!1;s.lim>c.lim&&(l=c,u=!0);var h=r.filter(e.edges(),function(e){return u===m(0,t.node(e.v),l)&&u!==m(0,t.node(e.w),l)});return r.minBy(h,function(t){return a(e,t)})}function y(t,e,n,i){var a,o,c=n.v,l=n.w;t.removeEdge(c,l),t.setEdge(i.v,i.w,{}),d(t),h(t,e),a=r.find(t.nodes(),function(t){return!e.node(t).parent}
1),o=(o=s(t,a)).slice(1),r.forEach(o,function(n){var r=t.node(n).parent,i=e.edge(n,r),a=!1;i||(i=e.edge(r,n),a=!0),e.node(n).rank=e.node(r).rank+(a?i.minlen:-i.minlen)})}function m(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}t.exports=u,u.initLowLimValues=d,u.initCutValues=h,u.calcCutValue=f,u.leaveEdge=p,u.enterEdge=g,u.exchangeEdges=y},6681:(t,e,n)=>{var r=n(8436);t.exports={longestPath:function(t){var e={};r.forEach(t.sources(),function n(i){var a=t.node(i);if(r.has(e,i))return a.rank;e[i]=!0;var o=r.min(r.map(t.outEdges(i),function(e){return n(e.w)-t.edge(e).minlen}));return o!==1/0&&null!=o||(o=0),a.rank=o})},slack:function(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}}},1138:(t,e,n)=>{var r=n(8436),i=n(574).Graph;function a(t,e,n,i){var a;do a=r.uniqueId(i);while(t.hasNode(a));return n.dummy=e,t.setNode(a,n),a}function o(t){return r.max(r.map(t.nodes(),function(e){var n=t.node(e).rank;if(!r.isUndefined(n))return n}))}t.exports={addDummyNode:a,simplify:function(t){var e=(new i).setGraph(t.graph());return r.forEach(t.nodes(),function(n){e.setNode(n,t.node(n))}),r.forEach(t.edges(),function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},i=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})}),e},asNonCompoundGraph:function(t){var e=new i({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.forEach(t.nodes(),function(n){t.children(n).length||e.setNode(n,t.node(n))}),r.forEach(t.edges(),function(n){e.setEdge(n,t.edge(n))}),e},successorWeights:function(t){var e=r.map(t.nodes(),function(e){var n={};return r.forEach(t.outEdges(e),function(e){n[e.w]=(n[e.w]||0)+t.edge(e).weight}),n});return r.zipObject(t.nodes(),e)},predecessorWeights:function(t){var e=r.map(t.nodes(),function(e){var n={};return r.forEach(t.inEdges(e),function(e){n[e.v]=(n[e.v]||0)+t.edge(e).weight}),n});return r.zipObject(t.nodes(),e)},intersectRect:function(t,e){var n,r,i=t.x,a=t.y,o=e.x-i,s=e.y-a,c=t.width/2,l=t.height/2;if(!o&&!s)throw Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*c>Math.abs(o)*l?(s<0&&(l=-l),n=l*o/s,r=l):(o<0&&(c=-c),n=c,r=c*s/o),{x:i+n,y:a+r}},buildLayerMatrix:function(t){var e=r.map(r.range(o(t)+1),function(){return[]});return r.forEach(t.nodes(),function(n){var i=t.node(n),a=i.rank;r.isUndefined(a)||(e[a][i.order]=n)}),e},normalizeRanks:function(t){var e=r.min(r.map(t.nodes(),function(e){return t.node(e).rank}));r.forEach(t.nodes(),function(n){var i=t.node(n);r.has(i,"rank")&&(i.rank-=e)})},removeEmptyRanks:function(t){var e=r.min(r.map(t.nodes(),function(e){return t.node(e).rank})),n=[];r.forEach(t.nodes(),function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)});var i=0,a=t.graph().nodeRankFactor;r.forEach(n,function(e,n){r.isUndefined(e)&&n%a!=0?--i:i&&r.forEach(e,function(e){t.node(e).rank+=i})})},addBorderNode:function(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),a(t,"border",i,e)},maxRank:o,partition:function(t,e){var n={lhs:[],rhs:[]};return r.forEach(t,function(t){e(t)?n.lhs.push(t):n.rhs.push(t)}),n},time:function(t,e){var n=r.now();try{return e()}finally{console.log(t+" time: "+(r.now()-n)+"ms")}},notime:function(t,e){return e()}}},8177:t=>{t.exports="0.8.5"},7856:function(t){t.exports=function(){var t=Object.hasOwnProperty,e=Object.setPrototypeOf,n=Object.isFrozen,r=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor,a=Object.freeze,o=Object.seal,s=Object.create,c="undefined"!=typeof Reflect&&Reflect,l=c.apply,u=c.
1construct;l||(l=function(t,e,n){return t.apply(e,n)}),a||(a=function(t){return t}),o||(o=function(t){return t}),u||(u=function(t,e){return new(Function.prototype.bind.apply(t,[null].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(e))))});var h,f=k(Array.prototype.forEach),d=k(Array.prototype.pop),p=k(Array.prototype.push),g=k(String.prototype.toLowerCase),y=k(String.prototype.match),m=k(String.prototype.replace),v=k(String.prototype.indexOf),b=k(String.prototype.trim),x=k(RegExp.prototype.test),_=(h=TypeError,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return u(h,e)});function k(t){return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return l(t,e,r)}}function w(t,r){e&&e(t,null);for(var i=r.length;i--;){var a=r[i];if("string"==typeof a){var o=g(a);o!==a&&(n(r)||(r[i]=o),a=o)}t[a]=!0}return t}function T(e){var n=s(null),r=void 0;for(r in e)l(t,e,[r])&&(n[r]=e[r]);return n}function E(t,e){for(;null!==t;){var n=i(t,e);if(n){if(n.get)return k(n.get);if("function"==typeof n.value)return k(n.value)}t=r(t)}return function(t){return console.warn("fallback value for",t),null}}var C=a(["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"]),S=a(["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"]),A=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M=a(["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"]),N=a(["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"]),D=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),B=a(["#text"]),O=a(["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"]),L=a(["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"]),I=a(["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"]),F=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),P=o(/\{\{[\s\S]*|[\s\S]*\}\}/gm),R=o(/<%[\s\S]*|[\s\S]*%>/gm),j=o(/^data-[\-\w.\u00B7-\uFFFF]/),Y=o(/^aria-[\-\w]+$/),U=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=o(/^(?:\w+script|data):/i),$=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function H(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var W=function(t,e){if("object"!==(void 0===t?"undefined":q(t))||"function"!=typeof t.createPolicy)return null;var n=null,r="data-tt-policy-suffix";e.currentScript&&e.currentScript.hasAttribute(r)&&(n=e.currentScript.getAttribute(r));var i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};return function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,n=function(e){return t(e)};if(n.version="2.3.5",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;var r=e.document,i=e.document,o=e.DocumentFragment,s=e.HTMLTemplateElement,c=e.Node,l=e.Element,u=e.NodeFilter,h=e.NamedNodeMap,k=void 0===h?e.NamedNodeMap||e.MozNamedAttrMap:h,V=e.HTMLFormElement,G=e.DOMParser,X=e.trustedTypes,Z=l.prototype,Q=E(Z,"cloneNode"),K=E(Z,"nextSibling"),J=E(Z,"childNodes"),tt=E(Z,"parentNode");if("function"==typeof s){var te=i.createElement("template");te.content&&te.content.ownerDocument&&(i=te.content.ownerDocument)}var tn=W(X,r),tr=tn?tn.createHTML(""):"",ti=i,ta=ti.implementation,to=ti.createNodeIterator,ts=ti.createDocumentFragment,tc=ti.getElementsByTagName,tl=r.importNode,tu={};try{tu=T(i).documentMode?i.documentMode:{}}catch(t){}var th={};n.isSupported="function"==typeof tt&&ta&&void 0!==ta.createHTMLDocument&&9!==tu;var tf=U,td=null,tp=w({},[].concat(H(C),H(S),H(A),H(N),H(B))),tg=null,ty=w({},[].concat(H(O),H(L),H(I),H(F))),tm=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}})),tv=null,tb=null,tx=!0,t_=!0,tk=!1,tw=!1,tT=!1,tE=!1,tC=!1,tS=!1,tA=!1,tM=!1,tN=!0,tD=!0,tB=!1,tO={},tL=null,tI=w({},["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"]),tF=null,tP=w({},["audio","video","img","source","image","track"]),tR=null,tj=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tY="http://www.w3.org/1998/Math/MathML",tU="http://www.w3.org/2000/svg",tz="http://www.w3.org/1999/xhtml",t$=tz,tq=!1,tH=void 0,tW=["application/xhtml+xml","text/html"],tV=void 0,tG=null,tX=i.
1createElement("form"),tZ=function(t){return t instanceof RegExp||t instanceof Function},tQ=function(t){tG&&tG===t||(t&&"object"===(void 0===t?"undefined":q(t))||(t={}),td="ALLOWED_TAGS"in(t=T(t))?w({},t.ALLOWED_TAGS):tp,tg="ALLOWED_ATTR"in t?w({},t.ALLOWED_ATTR):ty,tR="ADD_URI_SAFE_ATTR"in t?w(T(tj),t.ADD_URI_SAFE_ATTR):tj,tF="ADD_DATA_URI_TAGS"in t?w(T(tP),t.ADD_DATA_URI_TAGS):tP,tL="FORBID_CONTENTS"in t?w({},t.FORBID_CONTENTS):tI,tv="FORBID_TAGS"in t?w({},t.FORBID_TAGS):{},tb="FORBID_ATTR"in t?w({},t.FORBID_ATTR):{},tO="USE_PROFILES"in t&&t.USE_PROFILES,tx=!1!==t.ALLOW_ARIA_ATTR,t_=!1!==t.ALLOW_DATA_ATTR,tk=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tw=t.SAFE_FOR_TEMPLATES||!1,tT=t.WHOLE_DOCUMENT||!1,tS=t.RETURN_DOM||!1,tA=t.RETURN_DOM_FRAGMENT||!1,tM=t.RETURN_TRUSTED_TYPE||!1,tC=t.FORCE_BODY||!1,tN=!1!==t.SANITIZE_DOM,tD=!1!==t.KEEP_CONTENT,tB=t.IN_PLACE||!1,tf=t.ALLOWED_URI_REGEXP||tf,t$=t.NAMESPACE||tz,t.CUSTOM_ELEMENT_HANDLING&&tZ(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(tm.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&tZ(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(tm.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(tm.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tV="application/xhtml+xml"===(tH=tH=-1===tW.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?function(t){return t}:g,tw&&(t_=!1),tA&&(tS=!0),tO&&(td=w({},[].concat(H(B))),tg=[],!0===tO.html&&(w(td,C),w(tg,O)),!0===tO.svg&&(w(td,S),w(tg,L),w(tg,F)),!0===tO.svgFilters&&(w(td,A),w(tg,L),w(tg,F)),!0===tO.mathMl&&(w(td,N),w(tg,I),w(tg,F))),t.ADD_TAGS&&(td===tp&&(td=T(td)),w(td,t.ADD_TAGS)),t.ADD_ATTR&&(tg===ty&&(tg=T(tg)),w(tg,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&w(tR,t.ADD_URI_SAFE_ATTR),t.FORBID_CONTENTS&&(tL===tI&&(tL=T(tL)),w(tL,t.FORBID_CONTENTS)),tD&&(td["#text"]=!0),tT&&w(td,["html","head","body"]),td.table&&(w(td,["tbody"]),delete tv.tbody),a&&a(t),tG=t)},tK=w({},["mi","mo","mn","ms","mtext"]),tJ=w({},["foreignobject","desc","title","annotation-xml"]),t0=w({},S);w(t0,A),w(t0,M);var t1=w({},N);w(t1,D);var t2=function(t){var e=tt(t);e&&e.tagName||(e={namespaceURI:tz,tagName:"template"});var n=g(t.tagName),r=g(e.tagName);if(t.namespaceURI===tU)return e.namespaceURI===tz?"svg"===n:e.namespaceURI===tY?"svg"===n&&("annotation-xml"===r||tK[r]):!!t0[n];if(t.namespaceURI===tY)return e.namespaceURI===tz?"math"===n:e.namespaceURI===tU?"math"===n&&tJ[r]:!!t1[n];if(t.namespaceURI===tz){if(e.namespaceURI===tU&&!tJ[r]||e.namespaceURI===tY&&!tK[r])return!1;var i=w({},["title","style","font","a","script"]);return!t1[n]&&(i[n]||!t0[n])}return!1},t3=function(t){p(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=tr}catch(e){t.remove()}}},t5=function(t,e){try{p(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){p(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!tg[t])if(tS||tA)try{t3(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},t4=function(t){var e=void 0,n=void 0;if(tC)t="<remove></remove>"+t;else{var r=y(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===tH&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");var a=tn?tn.createHTML(t):t;if(t$===tz)try{e=(new G).parseFromString(a,tH)}catch(t){}if(!e||!e.documentElement){e=ta.createDocument(t$,"template",null);try{e.documentElement.innerHTML=tq?"":a}catch(t){}}var o=e.body||e.documentElement;return t&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),t$===tz?tc.call(e,tT?"html":"body")[0]:tT?e.documentElement:o},t6=function(t){return to.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},t8=function(t){return"object"===(void 0===c?"undefined":q(c))?t instanceof c:t&&"object"===(void 0===t?"undefined":q(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},t7=function(t,e,r){th[t]&&f(th[t],function(t){t.call(n,e,r,tG)})},t9=function(t){var e=void 0;if(t7("beforeSanitizeElements",t,null),t instanceof V&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof k)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore)||y(t.nodeName,/[\u0080-\uFFFF]/))return t3(t),!0;var r=tV(t.nodeName);if(t7("uponSanitizeElement",t,{tagName:r,allowedTags:td}),!t8(t.firstElementChild)&&(!t8(t.content)||!t8(t.content.firstElementChild))&&x(/<[/\w]/g,t.innerHTML)&&x(/<[/\w]/g,t.textContent)||"select"===r&&x(/<template/i,t.innerHTML))return t3(t),!0;if(!td[r]||tv[r]){if(tD&&!tL[r]){var i=tt(t)||t.parentNode,a=J(t)||t.childNodes;if(a&&i)for(var o=a.length-1;o>=0;--o)i.insertBefore(Q(a[o],!0),K(t))}return!(!tv[r]&&ee(r)&&(tm.tagNameCheck instanceof RegExp&&x(tm.tagNameCheck,r)||tm.tagNameCheck instanceof Function&&tm.tagNameCheck(r)))&&(t3(t),!0)}return t instanceof l&&!t2(t)||("noscript"===r||"noembed"===r)&&x(/<\/no(script|embed)/i,t.innerHTML)?(t3(t),!0):(tw&&3===t.nodeType&&(e=m(e=t.textContent,P," "),e=m(e,R," "),t.textContent!==e&&(p(n.removed,{element:t.cloneNode()}),t.textContent=e)),t7("afterSanitizeElements",t,null),!1)},et=function(t,e,n){if(tN&&("id"===e||"name"===e)&&(n in i||n in tX))return!1;if(t_&&!tb[e]&&x(j,e));else if(tx&&x(Y,e));else if(!tg[e]||tb[e]){if(!(ee(t)&&(tm.tagNameCheck instanceof RegExp&&x(tm.tagNameCheck,t)||tm.tagNameCheck instanceof Function&&tm.tagNameCheck(t))&&(tm.attributeNameCheck instanceof RegExp&&x(tm.attributeNameCheck,e)||tm.attributeNameCheck instanceof Function&&tm.attributeNameCheck(e))||"is"===e&&tm.allowCustomizedBuiltInElements&&(tm.tagNameCheck instanceof RegExp&&x(tm.tagNameCheck,n)||tm.tagNameCheck instanceof Function&&tm.tagNameCheck(n))))return!1}else if(tR[e]);else if(x(tf,m(n,$,"")));
1else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==v(n,"data:")||!tF[t]){if(tk&&!x(z,m(n,$,"")));else if(n)return!1}return!0},ee=function(t){return t.indexOf("-")>0},en=function(t){var e=void 0,r=void 0,i=void 0,a=void 0;t7("beforeSanitizeAttributes",t,null);var o=t.attributes;if(o){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tg};for(a=o.length;a--;){var c=e=o[a],l=c.name,u=c.namespaceURI;if(r=b(e.value),s.attrName=i=tV(l),s.attrValue=r,s.keepAttr=!0,s.forceKeepAttr=void 0,t7("uponSanitizeAttribute",t,s),r=s.attrValue,!s.forceKeepAttr&&(t5(l,t),s.keepAttr)){if(x(/\/>/i,r))t5(l,t);else if(tw&&(r=m(r,P," "),r=m(r,R," ")),et(tV(t.nodeName),i,r))try{u?t.setAttributeNS(u,l,r):t.setAttribute(l,r),d(n.removed)}catch(t){}}}t7("afterSanitizeAttributes",t,null)}},er=function t(e){var n=void 0,r=t6(e);for(t7("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)t7("uponSanitizeShadowNode",n,null),t9(n)||(n.content instanceof o&&t(n.content),en(n));t7("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t,i){var a=void 0,s=void 0,l=void 0,u=void 0,h=void 0;if((tq=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!t8(t)){if("function"!=typeof t.toString)throw _("toString is not a function");if("string"!=typeof(t=t.toString()))throw _("dirty is not a string, aborting")}if(!n.isSupported){if("object"===q(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof t)return e.toStaticHTML(t);if(t8(t))return e.toStaticHTML(t.outerHTML)}return t}if(tE||tQ(i),n.removed=[],"string"==typeof t&&(tB=!1),tB){if(t.no
1deName){var f=tV(t.nodeName);if(!td[f]||tv[f])throw _("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof c)1===(s=(a=t4("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?a=s:a.appendChild(s);else{if(!tS&&!tw&&!tT&&-1===t.indexOf("<"))return tn&&tM?tn.createHTML(t):t;if(!(a=t4(t)))return tS?null:tM?tr:""}a&&tC&&t3(a.firstChild);for(var d=t6(tB?t:a);l=d.nextNode();)3===l.nodeType&&l===u||t9(l)||(l.content instanceof o&&er(l.content),en(l),u=l);if(u=null,tB)return t;if(tS){if(tA)for(h=ts.call(a.ownerDocument);a.firstChild;)h.appendChild(a.firstChild);else h=a;return tg.shadowroot&&(h=tl.call(r,h,!0)),h}var p=tT?a.outerHTML:a.innerHTML;return tw&&(p=m(p,P," "),p=m(p,R," ")),tn&&tM?tn.createHTML(p):p},n.setConfig=function(t){tQ(t),tE=!0},n.clearConfig=function(){tG=null,tE=!1},n.isValidAttribute=function(t,e,n){return tG||tQ({}),et(tV(t),tV(e),n)},n.addHook=function(t,e){"function"==typeof e&&(th[t]=th[t]||[],p(th[t],e))},n.removeHook=function(t){th[t]&&d(th[t])},n.removeHooks=function(t){th[t]&&(th[t]=[])},n.removeAllHooks=function(){th={}},n}()}()},8282:(t,e,n)=>{var r=n(2354);t.exports={Graph:r.Graph,json:n(8974),alg:n(2440),version:r.version}},2842:(t,e,n)=>{var r=n(9126);t.exports=function(t){var e,n={},i=[];return r.each(t.nodes(),function(a){e=[],function i(a){r.has(n,a)||(n[a]=!0,e.push(a),r.each(t.successors(a),i),r.each(t.predecessors(a),i))}(a),e.length&&i.push(e)}),i}},3984:(t,e,n)=>{var r=n(9126);t.exports=function(t,e,n){r.isArray(e)||(e=[e]);var i=(t.isDirected()?t.successors:t.neighbors).bind(t),a=[],o={};return r.each(e,function(e){if(!t.hasNode(e))throw Error("Graph does not have node: "+e);!function t(e,n,i,a,o,s){r.has(a,n)||(a[n]=!0,i||s.push(n),r.each(o(n),function(n){t(e,n,i,a,o,s)}),i&&s.push(n))}(t,e,"post"===n,o,i,a)}),a}},4847:(t,e,n)=>{var r=n(3763),i=n(9126);t.exports=function(t,e,n){return i.transform(t.nodes(),function(i,a){i[a]=r(t,a,e,n)},{})}},3763:(t,e,n)=>{var r=n(9126),i=n(9675);t.exports=function(t,e,n,r){return function(t,e,n,r){var a,o,s={},c=new i,l=function(t){var e=t.v!==a?t.v:t.w,r=s[e],i=n(t),l=o.distance+i;if(i<0)throw Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);l<r.distance&&(r.distance=l,r.predecessor=a,c.decrease(e,l))};for(t.nodes().forEach(function(t){var n=t===e?0:1/0;s[t]={distance:n},c.add(t,n)});c.size()>0&&(o=s[a=c.removeMin()]).distance!==1/0;)r(a).forEach(l);return s}(t,String(e),n||a,r||function(e){return t.outEdges(e)})};var a=r.constant(1)},9096:(t,e,n)=>{var r=n(9126),i=n(5023);t.exports=function(t){return r.filter(i(t),function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])})}},8924:(t,e,n)=>{var r=n(9126);t.exports=function(t,e,n){var r,a,o,s;return r=e||i,a=n||function(e){return t.outEdges(e)},o={},(s=t.nodes()).forEach(function(t){o[t]={},o[t][t]={distance:0},s.forEach(function(e){t!==e&&(o[t][e]={distance:1/0})}),a(t).forEach(function(e){var n=e.v===t?e.w:e.v,i=r(e);o[t][n]={distance:i,predecessor:t}})}),s.forEach(function(t){var e=o[t];s.forEach(function(n){var r=o[n];s.forEach(function(n){var i=r[t],a=e[n],o=r[n],s=i.distance+a.distance;s<o.distance&&(o.distance=s,o.predecessor=a.predecessor)})})}),o};var i=r.constant(1)},2440:(t,e,n)=>{t.exports={components:n(2842),dijkstra:n(3763),dijkstraAll:n(4847),findCycles:n(9096),floydWarshall:n(8924),isAcyclic:n(2707),postorder:n(8828),preorder:n(2648),prim:n(514),tarjan:n(5023),topsort:n(2166)}},2707:(t,e,n)=>{var r=n(2166);t.exports=function(t){try{r(t)}catch(t){if(t instanceof r.CycleException)return!1;throw t}return!0}},8828:(t,e,n)=>{var r=n(3984);t.exports=function(t,e){return r(t,e,"post")}},2648:(t,e,n)=>{var r=n(3984);t.exports=function(t,e){return r(t,e,"pre")}},514:(t,e,n)=>{var r=n(9126),i=n(771),a=n(9675);t.exports=function(t,e){var n,o=new i,s={},c=new a;function l(t){var r=t.v===n?t.w:t.v,i=c.priority(r);if(void 0!==i){var a=e(t);a<i&&(s[r]=n,c.decrease(r,a))}}if(0===t.nodeCount())return o;r.each(t.nodes(),function(t){c.add(t,1/0),o.setNode(t)}),c.decrease(t.nodes()[0],0);for(var u=!1;c.size()>0;){if(n=c.removeMin(),r.has(s,n))o.setEdge(n,s[n]);else{if(u)throw Error("Input graph is not connected: "+t);u=!0}
1t.nodeEdges(n).forEach(l)}return o}},5023:(t,e,n)=>{var r=n(9126);t.exports=function(t){var e=0,n=[],i={},a=[];return t.nodes().forEach(function(o){r.has(i,o)||function o(s){var c=i[s]={onStack:!0,lowlink:e,index:e++};if(n.push(s),t.successors(s).forEach(function(t){r.has(i,t)?i[t].onStack&&(c.lowlink=Math.min(c.lowlink,i[t].index)):(o(t),c.lowlink=Math.min(c.lowlink,i[t].lowlink))}),c.lowlink===c.index){var l,u=[];do i[l=n.pop()].onStack=!1,u.push(l);while(s!==l);a.push(u)}}(o)}),a}},2166:(t,e,n)=>{var r=n(9126);function i(t){var e={},n={},i=[];if(r.each(t.sinks(),function o(s){if(r.has(n,s))throw new a;r.has(e,s)||(n[s]=!0,e[s]=!0,r.each(t.predecessors(s),o),delete n[s],i.push(s))}),r.size(e)!==t.nodeCount())throw new a;return i}function a(){}t.exports=i,i.CycleException=a,a.prototype=Error()},9675:(t,e,n)=>{var r=n(9126);function i(){this._arr=[],this._keyIndices={}}t.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map(function(t){return t.key})},i.prototype.has=function(t){return r.has(this._keyIndices,t)},i.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},i.prototype.min=function(){if(0===this.size())throw Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(t,e){var n=this._keyIndices;if(t=String(t),!r.has(n,t)){var i=this._arr,a=i.length;return n[t]=a,i.push({key:t,priority:e}),this._decrease(a),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},i.prototype.decrease=function(t,e){var n=this._keyIndices[t];if(e>this._arr[n].priority)throw Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},i.prototype._heapify=function(t){var e=this._arr,n=2*t,r=n+1,i=t;n<e.length&&(i=e[n].priority<e[i].priority?n:i,r<e.length&&(i=e[r].priority<e[i].priority?r:i),i!==t&&(this._swap(t,i),this._heapify(i)))},i.prototype._decrease=function(t){for(var e,n=this._arr,r=n[t].priority;0!==t&&!(n[e=t>>1].priority<r);)this._swap(t,e),t=e},i.prototype._swap=function(t,e){var n=this._arr,r=this._keyIndices,i=n[t],a=n[e];n[t]=a,n[e]=i,r[a.key]=t,r[i.key]=e}},771:(t,e,n)=>{var r=n(9126);function i(t){this._isDirected=!r.has(t,"directed")||t.directed,this._isMultigraph=!!r.has(t,"multigraph")&&t.multigraph,this._isCompound=!!r.has(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=r.constant(void 0),this._defaultEdgeLabelFn=r.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 a(t,e){t[e]?t[e]++:t[e]=1}function o(t,e){--t[e]||delete t[e]}function s(t,e,n,i){var a=""+e,o=""+n;if(!t&&a>o){var s=a;a=o,o=s}return a+"\x01"+o+"\x01"+(r.isUndefined(i)?"\0":i)}function c(t,e){return s(t,e.v,e.w,e.name)}t.exports=i,i.prototype._nodeCount=0,i.prototype._edgeCount=0,i.prototype.isDirected=function(){return this._isDirected},i.prototype.isMultigraph=function(){return this._isMultigraph},i.prototype.isCompound=function(){return this._isCompound},i.prototype.setGraph=function(t){return this._label=t,this},i.prototype.graph=function(){return this._label},i.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},i.prototype.nodeCount=function(){return this._nodeCount},i.prototype.nodes=function(){return r.keys(this._nodes)},i.prototype.sources=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._in[e])})},i.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._out[e])})},i.prototype.setNodes=function(t,e){var n=arguments,i=this;return r.each(t,function(t){n.length>1?i.setNode(t,e):i.setNode(t)}),this},i.prototype.setNode=function(t,e){return r.has(this._nodes,t)?arguments.length>1&&(this._nodes[t]=e):(this._nodes[t]=arguments.length>
11?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount),this},i.prototype.node=function(t){return this._nodes[t]},i.prototype.hasNode=function(t){return r.has(this._nodes,t)},i.prototype.removeNode=function(t){var e=this;if(r.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),function(t){e.setParent(t)}),delete this._children[t]),r.each(r.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},i.prototype.setParent=function(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(r.isUndefined(e))e="\0";else{for(var n=e+="";!r.isUndefined(n);n=this.parent(n))if(n===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},i.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},i.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}},i.prototype.children=function(t){if(r.isUndefined(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return r.keys(e)}else{if("\0"===t)return this.nodes();if(this.hasNode(t))return[]}},i.prototype.predecessors=function(t){var e=this._preds[t];if(e)return r.keys(e)},i.prototype.successors=function(t){var e=this._sucs[t];if(e)return r.keys(e)},i.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return r.union(e,this.successors(t))},i.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},i.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;r.each(this._nodes,function(n,r){t(r)&&e.setNode(r,n)}),r.each(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))});var i={};return this._isCompound&&r.each(e.nodes(),function(t){e.setParent(t,function t(r){var a=n.parent(r);return void 0===a||e.hasNode(a)?(i[r]=a,a):a in i?i[a]:t(a)}(t))}),e},i.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},i.prototype.edgeCount=function(){return this._edgeCount},i.prototype.edges=function(){return r.values(this._edgeObjs)},i.prototype.setPath=function(t,e){var n=this,i=arguments;return r.reduce(t,function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r}),this},i.prototype.setEdge=function(){var t,e,n,i,o=!1,c=arguments[0];"object"==typeof c&&null!==c&&"v"in c?(t=c.v,e=c.w,n=c.name,2==arguments.length&&(i=arguments[1],o=!0)):(t=c,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],o=!0)),t=""+t,e=""+e,r.isUndefined(n)||(n=""+n);var l=s(this._isDirected,t,e,n);if(r.has(this._edgeLabels,l))return o&&(this._edgeLabels[l]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[l]=o?i:this._defaultEdgeLabelFn(t,e,n);var u=function(t,e,n,r){var i=""+e,a=""+n;if(!t&&i>a){var o=i;i=a,a=o}var s={v:i,w:a};return r&&(s.name=r),s}(this._isDirected,t,e,n);return t=u.v,e=u.w,Object.freeze(u),this._edgeObjs[l]=u,a(this._preds[e],t),a(this._sucs[t],e),this._in[e][l]=u,this._out[t][l]=u,this._edgeCount++,this},i.prototype.edge=function(t,e,n){var r=1==arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return this._edgeLabels[r]},i.prototype.hasEdge=function(t,e,n){var i=1==arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return r.has(this._edgeLabels,i)},i.prototype.removeEdge=function(t,e,n){var r=1==arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],o(this._preds[e],t),o(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},i.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var i=r.values(n);return e?r.filter(i,function(t){return t.v===e}):i}},i.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var i=r.values(n);return e?r.filter(i,function(t){return t.w===e}):i}},i.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}},2354:(t,e,n)=>{t.exports={Graph:n(771),version:n(9631)}},8974:(t,e,n)=>{var r=n(9126),i=n(771);t.exports={write:function(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:r.map(t.nodes(),function(e){var n=t.node(e),i=t.parent(e),a={v:e};return r.isUndefined(n)||(a.value=n),r.isUndefined(i)||(a.parent=i),a}),edges:r.map(t.edges(),function(e){var n=t.edge(e),i={v:e.v,w:e.w};return r.isUndefined(e.name)||(i.name=e.name),r.isUndefined(n)||(i.value=n),i})};return r.isUndefined(t.graph())||(e.value=r.clone(t.graph())),e},read:function(t){var e=new i(t.options).setGraph(t.value);return r.each(t.nodes,function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)}),r.each(t.edges,function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),e}}},9126:(t,e,n)=>{var r;try{r={clone:n(6678),constant:n(5703),each:n(6073),filter:n(3105),has:n(8721),isArray:n(1469),isEmpty:n(1609),isFunction:n(3560),isUndefined:n(2353),keys:n(3674),map:n(5161),reduce:n(4061),size:n(4238),transform:n(8718),union:n(3386),values:n(2628)}}catch(t){}
1r||(r=window._),t.exports=r},9631:t=>{t.exports="2.1.8"},1773:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1083),i=n(7628);e.default=function(){function t(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new i.default}return t.prototype.set=function(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=0,this},t.prototype._ensureHSL=function(){var t=this.data,e=t.h,n=t.s,i=t.l;void 0===e&&(t.h=r.default.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=r.default.channel.rgb2hsl(t,"s")),void 0===i&&(t.l=r.default.channel.rgb2hsl(t,"l"))},t.prototype._ensureRGB=function(){var t=this.data,e=t.r,n=t.g,i=t.b;void 0===e&&(t.r=r.default.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=r.default.channel.hsl2rgb(t,"g")),void 0===i&&(t.b=r.default.channel.hsl2rgb(t,"b"))},Object.defineProperty(t.prototype,"r",{get:function(){var t=this.data,e=t.r;return this.type.is(2)||void 0===e?(this._ensureHSL(),r.default.channel.hsl2rgb(t,"r")):e},set:function(t){this.type.set(1),this.changed=!0,this.data.r=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"g",{get:function(){var t=this.data,e=t.g;return this.type.is(2)||void 0===e?(this._ensureHSL(),r.default.channel.hsl2rgb(t,"g")):e},set:function(t){this.type.set(1),this.changed=!0,this.data.g=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"b",{get:function(){var t=this.data,e=t.b;return this.type.is(2)||void 0===e?(this._ensureHSL(),r.default.channel.hsl2rgb(t,"b")):e},set:function(t){this.type.set(1),this.changed=!0,this.data.b=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"h",{get:function(){var t=this.data,e=t.h;return this.type.is(1)||void 0===e?(this._ensureRGB(),r.default.channel.rgb2hsl(t,"h")):e},set:function(t){this.type.set(2),this.changed=!0,this.data.h=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"s",{get:function(){var t=this.data,e=t.s;return this.type.is(1)||void 0===e?(this._ensureRGB(),r.default.channel.rgb2hsl(t,"s")):e},set:function(t){this.type.set(2),this.changed=!0,this.data.s=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"l",{get:function(){var t=this.data,e=t.l;return this.type.is(1)||void 0===e?(this._ensureRGB(),r.default.channel.rgb2hsl(t,"l")):e},set:function(t){this.type.set(2),this.changed=!0,this.data.l=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"a",{get:function(){return this.data.a},set:function(t){this.changed=!0,this.data.a=t},enumerable:!0,configurable:!0}),t}()},8167:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=new(n(1773)).default({r:0,g:0,b:0,a:0},"transparent")},7628:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){function t(){this.type=0}return t.prototype.get=function(){return this.type},t.prototype.set=function(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t},t.prototype.reset=function(){this.type=0},t.prototype.is=function(t){return this.type===t},t}()},1655:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(8167),i=n(6061),a={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:function(t){if(35===t.charCodeAt(0)){var e=t.match(a.re);if(e){var n=e[1],i=parseInt(n,16),o=n.length,s=o%4==0,c=o>4,l=c?1:17,u=c?8:4,h=s?0:-1,f=c?255:15;return r.default.set({r:(i>>u*(h+3)&f)*l,g:(i>>u*(h+2)&f)*l,b:(i>>u*(h+1)&f)*l,a:s?(i&f)*l/255:1},t)}}},stringify:function(t){var e=t.r,n=t.g,r=t.b,a=t.a;return a<1?"#"+i.DEC2HEX[Math.round(e)]+i.DEC2HEX[Math.round(n)]+i.DEC2HEX[Math.round(r)]+i.DEC2HEX[Math.round(255*a)]:"#"+i.DEC2HEX[Math.round(e)]+i.DEC2HEX[Math.round(n)]+i.DEC2HEX[Math.round(r)]}};e.default=a},8589:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1083),i=n(8167),a={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(t){var e=t.match(a.hueRe);if(e){var n=e[1];switch(e[2]){case"grad":return r.default.channel.clamp.h(.9*parseFloat(n));case"rad":return r.default.channel.clamp.h(180*parseFloat(n)/Math.PI);case"turn":return r.default.channel.clamp.h(360*parseFloat(n))}}return r.default.channel.clamp.h(parseFloat(t))},parse:function(t){var e=t.charCodeAt(0);if(104===e||72===e){var n=t.match(a.re);if(n){var o=n[1],s=n[2],c=n[3],l=n[4],u=n[5];return i.default.set({h:a._hue2deg(o),s:r.default.channel.clamp.s(parseFloat(s)),l:r.default.channel.clamp.l(parseFloat(c)),a:l?r.default.channel.clamp.a(u?parseFloat(l)/100:parseFloat(l)):1},t)}}}
1,stringify:function(t){var e=t.h,n=t.s,i=t.l,a=t.a;return a<1?"hsla("+r.default.lang.round(e)+", "+r.default.lang.round(n)+"%, "+r.default.lang.round(i)+"%, "+a+")":"hsl("+r.default.lang.round(e)+", "+r.default.lang.round(n)+"%, "+r.default.lang.round(i)+"%)"}};e.default=a},2191:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1655),i=n(7538),a=n(6762),o=n(8589);e.default={format:{keyword:i.default,hex:r.default,rgb:a.default,rgba:a.default,hsl:o.default,hsla:o.default},parse:function(t){if("string"!=typeof t)return t;var e=r.default.parse(t)||a.default.parse(t)||o.default.parse(t)||i.default.parse(t);if(e)return e;throw Error('Unsupported color format: "'+t+'"')},stringify:function(t){return!t.changed&&t.color?t.color:t.type.is(2)||void 0===t.data.r?o.default.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?r.default.stringify(t):a.default.stringify(t)}}},7538:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1655),i={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(t){t=t.toLowerCase();var e=i.colors[t];if(e)return r.default.parse(e)},stringify:function(t){var e=r.default.stringify(t);for(var n in i.colors)if(i.colors[n]===e)return n}};e.default=i},6762:(t,e,n)=>
1{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1083),i=n(8167),a={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(t){var e=t.charCodeAt(0);if(114===e||82===e){var n=t.match(a.re);if(n){var o=n[1],s=n[2],c=n[3],l=n[4],u=n[5],h=n[6],f=n[7],d=n[8];return i.default.set({r:r.default.channel.clamp.r(s?2.55*parseFloat(o):parseFloat(o)),g:r.default.channel.clamp.g(l?2.55*parseFloat(c):parseFloat(c)),b:r.default.channel.clamp.b(h?2.55*parseFloat(u):parseFloat(u)),a:f?r.default.channel.clamp.a(d?parseFloat(f)/100:parseFloat(f)):1},t)}}},stringify:function(t){var e=t.r,n=t.g,i=t.b,a=t.a;return a<1?"rgba("+r.default.lang.round(e)+", "+r.default.lang.round(n)+", "+r.default.lang.round(i)+", "+r.default.lang.round(a)+")":"rgb("+r.default.lang.round(e)+", "+r.default.lang.round(n)+", "+r.default.lang.round(i)+")"}};e.default=a},6061:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1083),i={};e.DEC2HEX=i;for(var a=0;a<=255;a++)i[a]=r.default.unit.dec2hex(a)},8613:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(1203))},5371:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(2191),i=n(418);e.default=function(t,e){var n=r.default.parse(t),a={};for(var o in e)e[o]&&(a[o]=n[o]+e[o]);return i.default(t,a)}},1416:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1083),i=n(2191);e.default=function(t,e,n){var a=i.default.parse(t),o=a[e],s=r.default.channel.clamp[e](o+n);return o!==s&&(a[e]=s),i.default.stringify(a)}},9353:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(6197);e.default=function(t){return r.default(t,"a")}},3394:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(6197);e.default=function(t){return r.default(t,"b")}},418:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1083),i=n(2191);e.default=function(t,e){var n=i.default.parse(t);for(var a in e)n[a]=r.default.channel.clamp[a](e[a]);return i.default.stringify(n)}},6197:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1083),i=n(2191);e.default=function(t,e){return r.default.lang.round(i.default.parse(t)[e])}},7361:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1416);e.default=function(t){return r.default(t,"h",180)}},3042:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1083),i=n(8346);e.default=function(t,e){var n=i.default(t),a=i.default(e),o=(Math.max(n,a)+Number.EPSILON)/(Math.min(n,a)+Number.EPSILON);return r.default.lang.round(r.default.lang.clamp(o,1,10))}},1364:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1416);e.default=function(t,e){return r.default(t,"l",-e)}},9610:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1416);e.default=function(t,e){return r.default(t,"s",-e)}},572:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(418);e.default=function(t){return r.default(t,{s:0})}},2299:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(6197);e.default=function(t){return r.default(t,"g")}},3116:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1083),i=n(8167),a=n(2191);e.default=function(t,e,n,o){void 0===o&&(o=1);var s=i.default.set({h:r.default.channel.clamp.h(t),s:r.default.channel.clamp.s(e),l:r.default.channel.clamp.l(n),a:r.default.channel.clamp.a(o)});return a.default.stringify(s)}},3008:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(6197);e.default=function(t){return r.default(t,"h")}},1203:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.hex=n(6538).default,e.rgb=n(6538).default,e.rgba=n(6538).default,e.hsl=n(3116).default,e.hsla=n(3116).default,e.toKeyword=n(2619).default,e.toHex=n(4307).default,e.toRgba=n(4125).default,e.toHsla=n(7329).default,e.channel=n(6197).default,e.red=n(9640).default,e.green=n(2299).default,e.blue=n(3394).default,e.hue=n(3008).default,e.saturation=n(6451).default,e.lightness=n(9235).default,e.alpha=n(9353).default,e.opacity=n(9353).default,e.contrast=n(3042).default,e.luminance=n(8346).default,e.isDark=n(4117).default,e.isLight=n(2224).default,e.isValid=n(585).default,e.saturate=n(1080).default,e.de
1saturate=n(9610).default,e.lighten=n(3235).default,e.darken=n(1364).default,e.opacify=n(7189).default,e.fadeIn=n(7189).default,e.transparentize=n(4989).default,e.fadeOut=n(4989).default,e.complement=n(7361).default,e.grayscale=n(572).default,e.adjust=n(5371).default,e.change=n(418).default,e.invert=n(566).default,e.mix=n(1861).default,e.scale=n(7081).default},566:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(2191),i=n(1861);e.default=function(t,e){void 0===e&&(e=100);var n=r.default.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,i.default(n,t,e)}},4117:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(2224);e.default=function(t){return!r.default(t)}},2224:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(8346);e.default=function(t){return r.default(t)>=.5}},585:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(2191);e.default=function(t){try{return r.default.parse(t),!0}catch(t){return!1}}},3235:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1416);e.default=function(t,e){return r.default(t,"l",e)}},9235:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(6197);e.default=function(t){return r.default(t,"l")}},8346:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1083),i=n(2191);e.default=function(t){var e=i.default.parse(t),n=e.r,a=e.g,o=e.b,s=.2126*r.default.channel.toLinear(n)+.7152*r.default.channel.toLinear(a)+.0722*r.default.channel.toLinear(o);return r.default.lang.round(s)}},1861:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(2191),i=n(6538);e.default=function(t,e,n){void 0===n&&(n=50);var a=r.default.parse(t),o=a.r,s=a.g,c=a.b,l=a.a,u=r.default.parse(e),h=u.r,f=u.g,d=u.b,p=u.a,g=n/100,y=2*g-1,m=l-p,v=((y*m==-1?y:(y+m)/(1+y*m))+1)/2,b=1-v;return i.default(o*v+h*b,s*v+f*b,c*v+d*b,l*g+p*(1-g))}},7189:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1416);e.default=function(t,e){return r.default(t,"a",e)}},9640:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(6197);e.default=function(t){return r.default(t,"r")}},6538:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1083),i=n(8167),a=n(2191),o=n(418);e.default=function(t,e,n,s){if(void 0===n&&(n=0),void 0===s&&(s=1),"number"!=typeof t)return o.default(t,{a:e});var c=i.default.set({r:r.default.channel.clamp.r(t),g:r.default.channel.clamp.g(e),b:r.default.channel.clamp.b(n),a:r.default.channel.clamp.a(s)});return a.default.stringify(c)}},1080:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1416);e.default=function(t,e){return r.default(t,"s",e)}},6451:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(6197);e.default=function(t){return r.default(t,"s")}},7081:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1083),i=n(2191),a=n(5371);e.default=function(t,e){var n,o,s,c=i.default.parse(t),l={};for(var u in e)l[u]=(n=c[u],o=e[u],s=r.default.channel.max[u],o>0?(s-n)*o/100:n*o/100);return a.default(t,l)}},4307:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(2191);e.default=function(t){return r.default.format.hex.stringify(r.default.parse(t))}},7329:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(2191);e.default=function(t){return r.default.format.hsla.stringify(r.default.parse(t))}},2619:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(2191);e.default=function(t){return r.default.format.keyword.stringify(r.default.parse(t))}},4125:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(2191);e.default=function(t){return r.default.format.rgba.stringify(r.default.parse(t))}},4989:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(1416);e.default=function(t,e){return r.default(t,"a",-e)}},7994:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var n={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(t){return t>=255?255:t<0?0:t},g:function(t){return t>=255?255:t<0?0:t},b:function(t){return t>=255?255:t<0?0:t},h:function(t){return t%360},s:function(t){return t>=100?100:t<0?0:t},l:function(t){return t>=100?100:t<0?0:t},a:function(t){return t>=1?1:t<0?0:t}},toLinear:function(t){var e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:function(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t},hsl2rgb:function(t,e){var r=t.h,i=t.s,a=t.l;if(!i)return 2.55*a;r/=360,i/=100;var o=(a/=100)<.5?a*(1+i):a+i-a*i,s=2*a-o;switch(e){case"r":return 255*n.hue2rgb(s,o,r+1/3);case"g":return 255*n.hue2rgb(s,o,r);case"b":return 255*n.hue2rgb(s,o,r-1/3)}},rgb2hsl:function(t,e){var n=t.r,r=t.g,i=t.b;n/=255;var a=Math.max(n,r/=255,i/=255),o=Math.min(n,r,i),s=(a+o)/2;if("l"===e)return 100*s;if(a===o)return 0;var c=a-o;if("s"===e)return 100*(s>.5?c/(2-a-o):c/(a+o));switch(a){case n:return 60*((r-i)/c+6*(r<i));case r:return 60*((i-n)/c+2);case i:return 60*((n-r)/c+4);default:return -1}}};e.default=n},1083:(t,e,n)=>
1{Object.defineProperty(e,"__esModule",{value:!0});var r=n(7994),i=n(4027),a=n(318);e.default={channel:r.default,lang:i.default,unit:a.default}},4027:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default={clamp:function(t,e,n){return e>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t))},round:function(t){return Math.round(1e10*t)/1e10}}},318:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default={dec2hex:function(t){var e=Math.round(t).toString(16);return e.length>1?e:"0"+e}}},8552:(t,e,n)=>{t.exports=n(852)(n(5639),"DataView")},1989:(t,e,n)=>{var r=n(1789),i=n(401),a=n(7667),o=n(1327),s=n(1866);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,t.exports=c},8407:(t,e,n)=>{var r=n(7040),i=n(2188),a=n(2117),o=n(7518),s=n(4705);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,t.exports=c},7071:(t,e,n)=>{t.exports=n(852)(n(5639),"Map")},3369:(t,e,n)=>{var r=n(4785),i=n(1285),a=n(6e3),o=n(9916),s=n(5265);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=o,c.prototype.set=s,t.exports=c},3818:(t,e,n)=>{t.exports=n(852)(n(5639),"Promise")},8525:(t,e,n)=>{t.exports=n(852)(n(5639),"Set")},8668:(t,e,n)=>{var r=n(3369),i=n(619),a=n(2385);function o(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}o.prototype.add=o.prototype.push=i,o.prototype.has=a,t.exports=o},6384:(t,e,n)=>{var r=n(8407),i=n(7465),a=n(3779),o=n(7599),s=n(4758),c=n(4309);function l(t){var e=this.__data__=new r(t);this.size=e.size}l.prototype.clear=i,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=s,l.prototype.set=c,t.exports=l},2705:(t,e,n)=>{t.exports=n(5639).Symbol},1149:(t,e,n)=>{t.exports=n(5639).Uint8Array},577:(t,e,n)=>{t.exports=n(852)(n(5639),"WeakMap")},6874:t=>{t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},7412:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},4963:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,a=[];++n<r;){var o=t[n];e(o,n,t)&&(a[i++]=o)}return a}},7443:(t,e,n)=>{var r=n(2118);t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},1196:t=>{t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}},4636:(t,e,n)=>{var r=n(2545),i=n(5694),a=n(1469),o=n(4144),s=n(5776),c=n(6719),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=a(t),u=!n&&i(t),h=!n&&!u&&o(t),f=!n&&!u&&!h&&c(t),d=n||u||h||f,p=d?r(t.length,String):[],g=p.length;for(var y in t)!e&&!l.call(t,y)||d&&("length"==y||h&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g))||p.push(y);return p}},9932:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},2488:t=>{t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},2663:t=>{t.exports=function(t,e,n,r){var i=-1,a=null==t?0:t.length;for(r&&a&&(n=t[++i]);++i<a;)n=e(n,t[i],i,t);return n}},2908:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},8983:(t,e,n)=>{t.exports=n(371)("length")},6556:(t,e,n)=>{var r=n(9465),i=n(7813);t.exports=function(t,e,n){(void 0===n||i(t[e],n))&&(void 0!==n||e in t)||r(t,e,n)}},4865:(t,e,n)=>{var r=n(9465),i=n(7813),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var o=t[e];a.call(t,e)&&i(o,n)&&(void 0!==n||e in t)||r(t,e,n)}},8470:(t,e,n)=>{var r=n(7813);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return -1}},4037:(t,e,n)=>{var r=n(8363),i=n(3674);t.exports=function(t,e){return t&&r(e,i(e),t)}},3886:(t,e,n)=>{var r=n(8363),i=n(1704);t.exports=function(t,e){return t&&r(e,i(e),t)}},9465:(t,e,n)=>{var r=n(8777);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},5990:(t,e,n)=>{var r=n(6384),i=n(7412),a=n(4865),o=n(4037),s=n(3886),c=n(4626),l=n(278),u=n(8805),h=n(1911),f=n(8234),d=n(6904),p=n(4160),g=n(3824),y=n(9148),m=n(8517),v=n(1469),b=n(4144),x=n(6688),_=n(3218),k=n(2928),w=n(3674),T=n(1704),E="[object Arguments]",C="[object Function]",S="[object Object]",A={};A[E]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array
1]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[S]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[C]=A["[object WeakMap]"]=!1,t.exports=function t(e,n,M,N,D,B){var O,L=1&n,I=2&n,F=4&n;if(M&&(O=D?M(e,N,D,B):M(e)),void 0!==O)return O;if(!_(e))return e;var P=v(e);if(P){if(O=g(e),!L)return l(e,O)}else{var R=p(e),j=R==C||"[object GeneratorFunction]"==R;if(b(e))return c(e,L);if(R==S||R==E||j&&!D){if(O=I||j?{}:m(e),!L)return I?h(e,s(O,e)):u(e,o(O,e))}else{if(!A[R])return D?e:{};O=y(e,R,L)}}B||(B=new r);var Y=B.get(e);if(Y)return Y;B.set(e,O),k(e)?e.forEach(function(r){O.add(t(r,n,M,r,e,B))}):x(e)&&e.forEach(function(r,i){O.set(i,t(r,n,M,i,e,B))});var U=P?void 0:(F?I?d:f:I?T:w)(e);return i(U||e,function(r,i){U&&(r=e[i=r]),a(O,i,t(r,n,M,i,e,B))}),O}},3118:(t,e,n)=>{var r=n(3218),i=Object.create;t.exports=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}()},9881:(t,e,n)=>{var r=n(7816);t.exports=n(9291)(r)},6029:(t,e,n)=>{var r=n(3448);t.exports=function(t,e,n){for(var i=-1,a=t.length;++i<a;){var o=t[i],s=e(o);if(null!=s&&(void 0===c?s==s&&!r(s):n(s,c)))var c=s,l=o}return l}},760:(t,e,n)=>{var r=n(9881);t.exports=function(t,e){var n=[];return r(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}},1848:t=>{t.exports=function(t,e,n,r){for(var i=t.length,a=n+(r?1:-1);r?a--:++a<i;)if(e(t[a],a,t))return a;return -1}},1078:(t,e,n)=>{var r=n(2488),i=n(7285);t.exports=function t(e,n,a,o,s){var c=-1,l=e.length;for(a||(a=i),s||(s=[]);++c<l;){var u=e[c];n>0&&a(u)?n>1?t(u,n-1,a,o,s):r(s,u):o||(s[s.length]=u)}return s}},8483:(t,e,n)=>{t.exports=n(5063)()},7816:(t,e,n)=>{var r=n(8483),i=n(3674);t.exports=function(t,e){return t&&r(t,e,i)}},7786:(t,e,n)=>{var r=n(1811),i=n(327);t.exports=function(t,e){for(var n=0,a=(e=r(e,t)).length;null!=t&&n<a;)t=t[i(e[n++])];return n&&n==a?t:void 0}},8866:(t,e,n)=>{var r=n(2488),i=n(1469);t.exports=function(t,e,n){var a=e(t);return i(t)?a:r(a,n(t))}},4239:(t,e,n)=>{var r=n(2705),i=n(9607),a=n(2333),o=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?i(t):a(t)}},3325:t=>{t.exports=function(t,e){return t>e}},8565:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t,n){return null!=t&&e.call(t,n)}},13:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},2118:(t,e,n)=>{var r=n(1848),i=n(2722),a=n(2351);t.exports=function(t,e,n){return e==e?a(t,e,n):r(t,i,n)}},9454:(t,e,n)=>{var r=n(4239),i=n(7005);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},939:(t,e,n)=>{var r=n(2492),i=n(7005);t.exports=function t(e,n,a,o,s){return e===n||(null!=e&&null!=n&&(i(e)||i(n))?r(e,n,a,o,t,s):e!=e&&n!=n)}},2492:(t,e,n)=>{var r=n(6384),i=n(7114),a=n(8351),o=n(6096),s=n(4160),c=n(1469),l=n(4144),u=n(6719),h="[object Arguments]",f="[object Array]",d="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,g,y,m){var v=c(t),b=c(e),x=v?f:s(t),_=b?f:s(e),k=(x=x==h?d:x)==d,w=(_=_==h?d:_)==d,T=x==_;if(T&&l(t)){if(!l(e))return!1;v=!0,k=!1}if(T&&!k)return m||(m=new r),v||u(t)?i(t,e,n,g,y,m):a(t,e,x,n,g,y,m);if(!(1&n)){var E=k&&p.call(t,"__wrapped__"),C=w&&p.call(e,"__wrapped__");
vendor: 3,096 bytes, line 1
1if(E||C){var S=E?t.value():t,A=C?e.value():e;return m||(m=new r),y(S,A,n,g,m)}}return!!T&&(m||(m=new r),o(t,e,n,g,y,m))}},5588:(t,e,n)=>{var r=n(4160),i=n(7005);t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},2958:(t,e,n)=>{var r=n(6384),i=n(939);t.exports=function(t,e,n,a){var o=n.length,s=o,c=!a;if(null==t)return!s;for(t=Object(t);o--;){var l=n[o];if(c&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<s;){var u=(l=n[o])[0],h=t[u],f=l[1];if(c&&l[2]){if(void 0===h&&!(u in t))return!1}else{var d=new r;if(a)var p=a(h,f,u,t,e,d);if(!(void 0===p?i(f,h,3,a,d):p))return!1}}return!0}},2722:t=>{t.exports=function(t){return t!=t}},8458:(t,e,n)=>{var r=n(3560),i=n(5346),a=n(3218),o=n(346),s=/^\[object .+?Constructor\]$/,c=Object.prototype,l=Function.prototype.toString,u=c.hasOwnProperty,h=RegExp("^"+l.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||i(t))&&(r(t)?h:s).test(o(t))}},9221:(t,e,n)=>{var r=n(4160),i=n(7005);t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},8749:(t,e,n)=>{var r=n(4239),i=n(1780),a=n(7005),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&i(t.length)&&!!o[r(t)]}},7206:(t,e,n)=>{var r=n(1573),i=n(6432),a=n(6557),o=n(1469),s=n(9601);t.exports=function(t){return"function"==typeof t?t:null==t?a:"object"==typeof t?o(t)?i(t[0],t[1]):r(t):s(t)}},280:(t,e,n)=>{var r=n(5726),i=n(6916),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}},313:(t,e,n)=>{var r=n(3218),i=n(5726),a=n(3498),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return a(t);var e=i(t),n=[];for(var s in t)("constructor"!=s||!e&&o.call(t,s))&&n.push(s);return n}},433:t=>{t.exports=function(t,e){return t<e}},9199:(t,e,n)=>{var r=n(9881),i=n(8612);t.exports=function(t,e){var n=-1,a=i(t)?Array(t.length):[];return r(t,function(t,r,i){a[++n]=e(t,r,i)}),a}},1573:(t,e,n)=>{var r=n(2958),i=n(1499),a=n(2634);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?a(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},6432:(t,e,n)=>{var r=n(939),i=n(1917),a=n(9095),o=n(5403),s=n(9162),c=n(2634),l=n(327);t.exports=function(t,e){return o(t)&&s(e)?c(l(t),e):function(n){var o=i(n,t);return void 0===o&&o===e?a(n,t):r(e,o,3)}}},2980:(t,e,n)=>{var r=n(6384),i=n(6556),a=n(8483),o=n(9783),s=n(3218),c=n(1704),l=n(6390);t.exports=function t(e,n,u,h,f){e!==n&&a(n,function(a,c){if(f||(f=ne
vendor: 10,713 bytes, line 1
1w r),s(a))o(e,n,c,u,t,h,f);else{var d=h?h(l(e,c),a,c+"",e,n,f):void 0;void 0===d&&(d=a),i(e,c,d)}},c)}},9783:(t,e,n)=>{var r=n(6556),i=n(4626),a=n(7133),o=n(278),s=n(8517),c=n(5694),l=n(1469),u=n(9246),h=n(4144),f=n(3560),d=n(3218),p=n(8630),g=n(6719),y=n(6390),m=n(3678);t.exports=function(t,e,n,v,b,x,_){var k=y(t,n),w=y(e,n),T=_.get(w);if(T)r(t,n,T);else{var E=x?x(k,w,n+"",t,e,_):void 0,C=void 0===E;if(C){var S=l(w),A=!S&&h(w),M=!S&&!A&&g(w);E=w,S||A||M?l(k)?E=k:u(k)?E=o(k):A?(C=!1,E=i(w,!0)):M?(C=!1,E=a(w,!0)):E=[]:p(w)||c(w)?(E=k,c(k)?E=m(k):d(k)&&!f(k)||(E=s(w))):C=!1}C&&(_.set(w,E),b(E,w,v,x,_),_.delete(w)),r(t,n,E)}}},9556:(t,e,n)=>{var r=n(9932),i=n(7786),a=n(7206),o=n(9199),s=n(1131),c=n(1717),l=n(5022),u=n(6557),h=n(1469);t.exports=function(t,e,n){e=e.length?r(e,function(t){return h(t)?function(e){return i(e,1===t.length?t[0]:t)}:t}):[u];var f=-1;return e=r(e,c(a)),s(o(t,function(t,n,i){return{criteria:r(e,function(e){return e(t)}),index:++f,value:t}}),function(t,e){return l(t,e,n)})}},5970:(t,e,n)=>{var r=n(3012),i=n(9095);t.exports=function(t,e){return r(t,e,function(e,n){return i(t,n)})}},3012:(t,e,n)=>{var r=n(7786),i=n(611),a=n(1811);t.exports=function(t,e,n){for(var o=-1,s=e.length,c={};++o<s;){var l=e[o],u=r(t,l);n(u,l)&&i(c,a(l,t),u)}return c}},371:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},9152:(t,e,n)=>{var r=n(7786);t.exports=function(t){return function(e){return r(e,t)}}},98:t=>{var e=Math.ceil,n=Math.max;t.exports=function(t,r,i,a){for(var o=-1,s=n(e((r-t)/(i||1)),0),c=Array(s);s--;)c[a?s:++o]=t,t+=i;return c}},107:t=>{t.exports=function(t,e,n,r,i){return i(t,function(t,i,a){n=r?(r=!1,t):e(n,t,i,a)}),n}},5976:(t,e,n)=>{var r=n(6557),i=n(5357),a=n(61);t.exports=function(t,e){return a(i(t,e,r),t+"")}},611:(t,e,n)=>{var r=n(4865),i=n(1811),a=n(5776),o=n(3218),s=n(327);t.exports=function(t,e,n,c){if(!o(t))return t;for(var l=-1,u=(e=i(e,t)).length,h=u-1,f=t;null!=f&&++l<u;){var d=s(e[l]),p=n;if("__proto__"===d||"constructor"===d||"prototype"===d)break;if(l!=h){var g=f[d];void 0===(p=c?c(g,d,f):void 0)&&(p=o(g)?g:a(e[l+1])?[]:{})}r(f,d,p),f=f[d]}return t}},6560:(t,e,n)=>{var r=n(5703),i=n(8777),a=n(6557);t.exports=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:a},1131:t=>{t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},2545:t=>{t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},531:(t,e,n)=>{var r=n(2705),i=n(9932),a=n(1469),o=n(3448),s=r?r.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(a(e))return i(e,t)+"";if(o(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},7561:(t,e,n)=>{var r=n(7990),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},1717:t=>{t.exports=function(t){return function(e){return t(e)}}},5652:(t,e,n)=>{var r=n(8668),i=n(7443),a=n(1196),o=n(4757),s=n(3593),c=n(1814);t.exports=function(t,e,n){var l=-1,u=i,h=t.length,f=!0,d=[],p=d;if(n)f=!1,u=a;else if(h>=200){var g=e?null:s(t);if(g)return c(g);f=!1,u=o,p=new r}else p=e?[]:d;t:for(;++l<h;){var y=t[l],m=e?e(y):y;if(y=n||0!==y?y:0,f&&m==m){for(var v=p.length;v--;)if(p[v]===m)continue t;e&&p.push(m),d.push(y)}else u(p,m,n)||(p!==d&&p.push(m),d.push(y))}return d}},7415:(t,e,n)=>{var r=n(9932);t.exports=function(t,e){return r(e,function(e){return t[e]})}},1757:t=>{t.exports=function(t,e,n){for(var r=-1,i=t.length,a=e.length,o={};++r<i;){var s=r<a?e[r]:void 0;n(o,t[r],s)}return o}},4757:t=>{t.exports=function(t,e){return t.has(e)}},4290:(t,e,n)=>{var r=n(6557);t.exports=function(t){return"function"==typeof t?t:r}},1811:(t,e,n)=>{var r=n(1469),i=n(5403),a=n(5514),o=n(9833);t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:a(o(t))}},4318:(t,e,n)=>{var r=n(1149);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},4626:(t,e,n)=>{t=n.nmd(t);var r=n(5639),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,o=a&&a.exports===i?r.Buffer:void 0,s=o?o.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}},7157:(t,e,n)=>{var r=n(4318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},3147:t=>{var e=/\w*$/;t.exports=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}},419:(t,e,n)=>{var r=n(2705),i=r?r.prototype:void 0,a=i?i.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},7133:(t,e,n)=>{var r=n(4318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},6393:(t,e,n)=>{var r=n(3448);t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,a=t==t,o=r(t),s=void 0!==e,c=null===e,l=e==e,u=r(e);if(!c&&!u&&!o&&t>e||o&&s&&l&&!c&&!u||i&&s&&l||!n&&l||!a)return 1;if(!i&&!o&&!u&&t<e||u&&n&&a&&!i&&!o||c&&n&&a||!s&&a||!l)return -1}return 0}},5022:(t,e,n)=>{var r=n(6393);t.exports=function(t,e,n){for(var i=-1,a=t.criteria,o=e.criteria,s=a.length,c=n.length;++i<s;){var l=r(a[i],o[i]);if(l)return i>=c?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}},278:t=>{t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},8363:(t,e,n)=>{var r=n(4865),i=n(9465);t.exports=function(t,e,n,a){var o=!n;n||(n={});for(var s=-1,c=e.length;++s<c;){var l=e[s],u=a?a(n[l],t[l],l,n,t):void 0;void 0===u&&(u=t[l]),o?i(n,l,u):r(n,l,u)}return n}},8805:(t,e,n)=>{var r=n(8363),i=n(9551);t.exports=function(t,e){return r(t,i(t),e)}},1911:(t,e,n)=>{var r=n(8363),i=n(1442);t.exports=function(t,e){return r(t,i(t),e)}},4429:(t,e,n)=>{t.exports=n(5639)["__core-js_shared__"]},1750:(t,e,n)=>{var r=n(5976),i=n(6612);t.exports=function(t){return r(function(e,n){var r=-1,a=n.length,o=a>1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(a--,o):void 0,s&&i(n[0],n[1],s)&&(o=a<3?void 0:o,a=1),e=Object(e);++r<a;){var c=n[r];c&&t(e,c,r,o)}return e})}},9291:(t,e,n)=>{var r=n(8612);t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var a=n.length,o=e?a:-1,s=Object(n);(e?o--:++o<a)&&!1!==i(s[o],o,s););return n}}},5063:t=>{t.exports=function(t){return function(e,n,r){for(var i=-1,a=Object(e),o=r(e),s=o.length;s--;){var c=o[t?s:++i];if(!1===n(a[c],c,a))break}return e}}},7740:(t,e,n)=>{var r=n(7206),i=n(8612),a=n(3674);t.exports=function(t){return function(e,n,o){var s=Object(e);if(!i(e)){var c=r(n,3);e=a(e),n=function(t){return c(s[t],t,s)}}var l=t(e,n,o);return l>-1?s[c?e[l]:l]:void 0}}},7445:(t,e,n)=>{var r=n(98),i=n(6612),a=n(8601);t.exports=function(t){return function(e,n,o){return o&&"number"!=typeof o&&i(e,n,o)&&(n=o=void 0),e=a(e),void 0===n?(n=e,e=0):n=a(n),o=void 0===o?e<n?1:-1:a(o),r(e,n,o,t)}}},3593:(t,e,n)=>{var r=n(8525),i=n(308),a=n(1814);t.exports=r&&1/a(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i},8777:(t,e,n)=>{var r=n(852);t.exports=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},7114:(t,e,n)=>{var r=n(8668),i=n(2908),a=n(4757);t.exports=function(t,e,n,o,s,c){var l=1&n,u=t.length,h=e.length;if(u!=h&&!(l&&h>u))return!1;var f=c.get(t),d=c.get(e);if(f&&d)return f==e&&d==t;var p=-1,g=!0,y=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++p<u;){var m=t[p],v=e[p];if(o)var b=l?o(v,m,p,e,t,c):o(m,v,p,t,e,c);if(void 0!==b){if(b)continue;g=!1;break}if(y){if(!i(e,function(t,e){if(!a(y,e)&&(m===t||s(m,t,n,o,c)))return y.push(e)})){g=!1;break}}else if(m!==v&&!s(m,v,n,o,c)){g=!1;break}}return c.delete(t),c.delete(e),g}},8351:(t,e,n)=>{var r=n(2705),i=n(1149),a=n(7813),o=n(7114),s=n(8776),c=n(1814),l=r?r.prototype:void 0,u=l?l.valueOf:void 0;t.exports=function(t,e,n,r,l,h,f){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!h(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=s;case"[object Set]":var p=1&r;if(d||(d=c),t.size!=e.size&&!p)break;var g=f.get(t);if(g)return g==e;r|=2,f.set(t,e);var y=o(d(t),d(e),r,l,h,f);return f.delete(t),y;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},6096:(t,e,n)=>{var r=n(8234),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,a,o,s){var c=1&n,l=r(t),u=l.length;if(u!=r(e).length&&!c)return!1;for(var h=u;h--;){var f=l[h];if(!(c?f in e:i.call(e,f)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var g=!0;s.set(t,e),s.set(e,t);for(var y=c;++h<u;){var m=t[f=l[h]],v=e[f];if(a)var b=c?a(v,m,f,e,t,s):a(m,v,f,t,e,s);if(!(void 0===b?m===v||o(m,v,n,a,s):b)){g=!1;break}y||(y="constructor"==f)}if(g&&!y){var x=t.constructor,_=e.constructor;x==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof _&&_ instanceof _||(g=!1)}return s.delete(t),s.delete(e),g}},9021:(t,e,n)=>{var r=n(5564),i=n(5357),a=n(61);t.exports=function(t){return a(i(t,void 0,r),t+"")}},1957:(t,e,n)=>{t.exports="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g},8234:(t,e,n)=>{var r=n(8866),i=n(9551),a=n(3674);t.exports=function(t){return r(t,a,i)}},6904:(t,e,n)=>{var r=n(8866),i=n(1442),a=n(1704);t.exports=function(t){return r(t,a,i)}},5050:(t,e,n)=>{var r=n(7019);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},1499:(t,e,n)=>{var r=n(9162),i=n(3674);t.exports=function(t){for(var e=i(t),n=e.length;n--;){var a=e[n],o=t[a];e[n]=[a,o,r(o)]}return e}},852:(t,e,n)=>{var r=n(8458),i=n(7801);t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},5924:(t,e,n)=>{t.exports=n(5569)(Object.getPrototypeOf,Object)},9607:(t,e,n)=>{var r=n(2705),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=o.call(t);return r&&(e?t[s]=n:delete t[s]),i}},9551:(t,e,n)=>{var r=n(4963),i=n(479),a=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;t.exports=o?function(t){return null==t?[]:r(o(t=Object(t)),function(e){return a.call(t,e)})}:i},1442:(t,e,n)=>{var r=n(2488),i=n(5924),a=n(9551),o=n(479);t.exports=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,a(t)),t=i(t);return e}:o},4160:(t,e,n)=>{var r=n(8552),i=n(7071),a=n(3818),o=n(8525),s=n(577),c=n(4239),l=n(346),u="[object Map]",h="[object Promise]",f="[object Set]",d="[object WeakMap]",p="[object DataView]",g=l(r),y=l(i),m=l(a),v=l(o),b=l(s),x=c;
1(r&&x(new r(new ArrayBuffer(1)))!=p||i&&x(new i)!=u||a&&x(a.resolve())!=h||o&&x(new o)!=f||s&&x(new s)!=d)&&(x=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,r=n?l(n):"";if(r)switch(r){case g:return p;case y:return u;case m:return h;case v:return f;case b:return d}return e}),t.exports=x},7801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},222:(t,e,n)=>{var r=n(1811),i=n(5694),a=n(1469),o=n(5776),s=n(1780),c=n(327);t.exports=function(t,e,n){for(var l=-1,u=(e=r(e,t)).length,h=!1;++l<u;){var f=c(e[l]);if(!(h=null!=t&&n(t,f)))break;t=t[f]}return h||++l!=u?h:!!(u=null==t?0:t.length)&&s(u)&&o(f,u)&&(a(t)||i(t))}},2689:t=>{var e=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},1789:(t,e,n)=>{var r=n(4536);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e}},7667:(t,e,n)=>{var r=n(4536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0}},1327:(t,e,n)=>{var r=n(4536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},1866:(t,e,n)=>{var r=n(4536);t.exports=function(t,e){var n=this.__data__;return this.size+=+!this.has(t),n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},3824:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},9148:(t,e,n)=>{var r=n(4318),i=n(7157),a=n(3147),o=n(419),s=n(7133);t.exports=function(t,e,n){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return i(t,n);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 s(t,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Symbol]":return o(t)}}},8517:(t,e,n)=>{var r=n(3118),i=n(5924),a=n(5726);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:r(i(t))}},7285:(t,e,n)=>{var r=n(2705),i=n(5694),a=n(1469),o=r?r.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||i(t)||!!(o&&t&&t[o])}},5776:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?0x1fffffffffffff:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},6612:(t,e,n)=>{var r=n(7813),i=n(8612),a=n(5776),o=n(3218);t.exports=function(t,e,n){if(!o(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&a(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},5403:(t,e,n)=>{var r=n(1469),i=n(3448),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||o.test(t)||!a.test(t)||null!=e&&t in Object(e)}},7019:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:(t,e,n)=>{var r,i=n(4429),a=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!a&&a in t}},5726:t=>{var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},9162:(t,e,n)=>{var r=n(3218);t.exports=function(t){return t==t&&!r(t)}},7040:t=>{t.exports=function(){this.__data__=[],this.size=0}},2188:(t,e,n)=>{var r=n(8470),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():i.call(e,n,1),--this.size,0))}},2117:(t,e,n)=>{var r=n(8470);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},7518:(t,e,n)=>{var r=n(8470);t.exports=function(t){return r(this.__data__,t)>-1}
1},4705:(t,e,n)=>{var r=n(8470);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},4785:(t,e,n)=>{var r=n(1989),i=n(8407),a=n(7071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||i),string:new r}}},1285:(t,e,n)=>{var r=n(5050);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=!!e,e}},6e3:(t,e,n)=>{var r=n(5050);t.exports=function(t){return r(this,t).get(t)}},9916:(t,e,n)=>{var r=n(5050);t.exports=function(t){return r(this,t).has(t)}},5265:(t,e,n)=>{var r=n(5050);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=+(n.size!=i),this}},8776:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}},2634:t=>{t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},4523:(t,e,n)=>{var r=n(8306);t.exports=function(t){var e=r(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}},4536:(t,e,n)=>{t.exports=n(852)(Object,"create")},6916:(t,e,n)=>{t.exports=n(5569)(Object.keys,Object)},3498:t=>{t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},1167:(t,e,n)=>{t=n.nmd(t);var r=n(1957),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,o=a&&a.exports===i&&r.process,s=function(){try{return a&&a.require&&a.require("util").types||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=s},2333:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:t=>{t.exports=function(t,e){return function(n){return t(e(n))}}},5357:(t,e,n)=>{var r=n(6874),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var a=arguments,o=-1,s=i(a.length-e,0),c=Array(s);++o<s;)c[o]=a[e+o];o=-1;for(var l=Array(e+1);++o<e;)l[o]=a[o];return l[e]=n(c),r(t,this,l)}}},5639:(t,e,n)=>{var r=n(1957),i="object"==typeof self&&self&&self.Object===Object&&self;t.exports=r||i||Function("return this")()},6390:t=>{t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},619:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2385:t=>{t.exports=function(t){return this.__data__.has(t)}},1814:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}},61:(t,e,n)=>{var r=n(6560);t.exports=n(1275)(r)},1275:t=>{var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var i=e(),a=16-(i-r);if(r=i,a>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},7465:(t,e,n)=>{var r=n(8407);t.exports=function(){this.__data__=new r,this.size=0}},3779:t=>{t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},7599:t=>{t.exports=function(t){return this.__data__.get(t)}},4758:t=>{t.exports=function(t){return this.__data__.has(t)}},4309:(t,e,n)=>{var r=n(8407),i=n(7071),a=n(3369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!i||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new a(o)}return n.set(t,e),this.size=n.size,this}},2351:t=>{t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return -1}},8016:(t,e,n)=>{var r=n(8983),i=n(2689),a=n(1903);t.exports=function(t){return i(t)?a(t):r(t)}},5514:(t,e,n)=>{var r=n(4523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g;t.exports=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,n,r,i){e.push(r?i.replace(a,"$1"):n||t)}),e})},327:(t,e,n)=>{var r=n(3448);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},346:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7990:t=>{var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},1903:t=>{var e="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",r="[^\ud800-\udfff]",i="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",o="(?:"+e+"|"+n+")?",s="[\\ufe0e\\ufe0f]?",c=s+o+"(?:\\u200d(?:"+[r,i,a].join("|")+")"+s+o+")*",l=RegExp(n+"(?="+n+")|"+("(?:"+[r+e+"?",e,i,a,"[\ud800-\udfff]"].join("|"))+")"+c,"g");t.exports=function(t){for(var e=l.lastIndex=0;l.test(t);)++e;return e}},6678:(t,e,n)=>{var r=n(5990);t.exports=function(t){return r(t,4)}},361:(t,e,n)=>{var r=n(5990);t.exports=function(t){return r(t,5)}},5703:t=>{t.exports=function(t){return function(){return t}}},1747:(t,e,n)=>{var r=n(5976),i=n(7813),a=n(6612),o=n(1704),s=Object.prototype,c=s.hasOwnProperty;t.exports=r(function(t,e){t=Object(t);var n=-1,r=e.length,l=r>2?e[2]:void 0;for(l&&a(e[0],e[1],l)&&(r=1);++n<r;)for(var u=e[n],h=o(u),f=-1,d=h.length;++f<d;){var p=h[f],g=t[p];(void 0===g||i(g,s[p])&&!c.call(t,p))&&(t[p]=u[p])}return t})},6073:(t,e,n)=>{t.exports=n(4486)},7813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},3105:(t,e,n)=>{var r=n(4963),i=n(760),a=n(7206),o=n(1469);t.exports=function(t,e){return(o(t)?r:i)(t,a(e,3))}},3311:(t,e,n)=>{t.exports=n(7740)(n(998))},998:(t,e,n)=>{var r=n(1848),i=n(7206),a=n(554),o=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return -1;var c=null==n?0:a(n);return c<0&&(c=o(s+c,0)),r(t,i(e,3),c)}},5564:(t,e,n)=>{var r=n(1078);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},4486:(t,e,n)=>{var r=n(7412),i=n(9881),a=n(4290),o=n(1469);t.exports=function(t,e){return(o(t)?r:i)(t,a(e))}},2620:(t,e,n)=>{var r=n(8483),i=n(4290),a=n(1704);t.exports=function(t,e){return null==t?t:r(t,i(e),a)}},1917:(t,e,n)=>{var r=n(7786);t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},8721:(t,e,n)=>{var r=n(8565),i=n(222);t.exports=function(t,e){return null!=t&&i(t,e,r)}},9095:(t,e,n)=>{var r=n(13),i=n(222);t.exports=function(t,e){return null!=t&&i(t,e,r)}},6557:t=>{t.exports=function(t){return t}},5694:(t,e,n)=>{var r=n(9454),i=n(7005),a=Object.prototype,o=a.hasOwnProperty,s=a.propertyIsEnumerable;t.exports=r(function(){return arguments}())?r:function(t){return i(t)&&o.call(t,"callee")&&!s.call(t,"callee")}},1469:t=>{t.exports=Array.isArray},8612:(t,e,n)=>{var r=n(3560),i=n(1780);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},9246:(t,e,n)=>{var r=n(8612),i=n(7005);t.exports=function(t){return i(t)&&r(t)}},4144:(t,e,n)=>{t=n.nmd(t);var r=n(5639),i=n(5062),a=e&&!e.nodeType&&e,o=a&&t&&!t.nodeType&&t,s=o&&o.exports===a?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;t.exports=c},1609:(t,e,n)=>{var r=n(280),i=n(4160),a=n(5694),o=n(1469),s=n(8612),c=n(4144),l=n(5726),u=n(6719),h=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;
1if(s(t)&&(o(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||u(t)||a(t)))return!t.length;var e=i(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(l(t))return!r(t).length;for(var n in t)if(h.call(t,n))return!1;return!0}},3560:(t,e,n)=>{var r=n(4239),i=n(3218);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},6688:(t,e,n)=>{var r=n(5588),i=n(1717),a=n(1167),o=a&&a.isMap;t.exports=o?i(o):r},3218:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},8630:(t,e,n)=>{var r=n(4239),i=n(5924),a=n(7005),o=Object.prototype,s=Function.prototype.toString,c=o.hasOwnProperty,l=s.call(Object);t.exports=function(t){if(!a(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==l}},2928:(t,e,n)=>{var r=n(9221),i=n(1717),a=n(1167),o=a&&a.isSet;t.exports=o?i(o):r},7037:(t,e,n)=>{var r=n(4239),i=n(1469),a=n(7005);t.exports=function(t){return"string"==typeof t||!i(t)&&a(t)&&"[object String]"==r(t)}},3448:(t,e,n)=>{var r=n(4239),i=n(7005);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},6719:(t,e,n)=>{var r=n(8749),i=n(1717),a=n(1167),o=a&&a.isTypedArray;t.exports=o?i(o):r},2353:t=>{t.exports=function(t){return void 0===t}},3674:(t,e,n)=>{var r=n(4636),i=n(280),a=n(8612);t.exports=function(t){return a(t)?r(t):i(t)}},1704:(t,e,n)=>{var r=n(4636),i=n(313),a=n(8612);t.exports=function(t){return a(t)?r(t,!0):i(t)}},928:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},5161:(t,e,n)=>{var r=n(9932),i=n(7206),a=n(9199),o=n(1469);t.exports=function(t,e){return(o(t)?r:a)(t,i(e,3))}},6604:(t,e,n)=>{var r=n(9465),i=n(7816),a=n(7206);t.exports=function(t,e){var n={};return e=a(e,3),i(t,function(t,i,a){r(n,i,e(t,i,a))}),n}},6162:(t,e,n)=>{var r=n(6029),i=n(3325),a=n(6557);t.exports=function(t){return t&&t.length?r(t,a,i):void 0}},8306:(t,e,n)=>{var r=n(3369);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=t.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},3857:(t,e,n)=>{var r=n(2980);t.exports=n(1750)(function(t,e,n){r(t,e,n)})},3632:(t,e,n)=>{var r=n(6029),i=n(433),a=n(6557);t.exports=function(t){return t&&t.length?r(t,a,i):void 0}},2762:(t,e,n)=>{var r=n(6029),i=n(7206),a=n(433);t.exports=function(t,e){return t&&t.length?r(t,i(e,2),a):void 0}},308:t=>{t.exports=function(){}},7771:(t,e,n)=>{var r=n(5639);t.exports=function(){return r.Date.now()}},9722:(t,e,n)=>{var r=n(5970);t.exports=n(9021)(function(t,e){return null==t?{}:r(t,e)})},9601:(t,e,n)=>{var r=n(371),i=n(9152),a=n(5403),o=n(327);t.exports=function(t){return a(t)?r(o(t)):i(t)}},6026:(t,e,n)=>{t.exports=n(7445)()},4061:(t,e,n)=>{var r=n(2663),i=n(9881),a=n(7206),o=n(107),s=n(1469);t.exports=function(t,e,n){var c=s(t)?r:o,l=arguments.length<3;return c(t,a(e,4),n,l,i)}},4238:(t,e,n)=>{var r=n(280),i=n(4160),a=n(8612),o=n(7037),s=n(8016);t.exports=function(t){if(null==t)return 0;if(a(t))return o(t)?s(t):t.length;var e=i(t);return"[object Map]"==e||"[object Set]"==e?t.size:r(t).length}},9734:(t,e,n)=>{var r=n(1078),i=n(9556),a=n(5976),o=n(6612);t.exports=a(function(t,e){if(null==t)return[];var n=e.length;return n>1&&o(t,e[0],e[1])?e=[]:n>2&&o(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])})},479:t=>{t.exports=function(){return[]}},5062:t=>{t.exports=function(){return!1}},8601:(t,e,n)=>{var r=n(4841);t.exports=function(t){return t?1/0===(t=r(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},554:(t,e,n)=>{var r=n(8601);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},4841:(t,e,n)=>{var r=n(7561),i=n(3218),a=n(3448),o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(a(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):o.test(t)?NaN:+t}},3678:(t,e,n)=>{var r=n(8363),i=n(1704);t.exports=function(t){return r(t,i(t))}},9833:(t,e,n)=>{var r=n(531);t.exports=function(t){return null==t?"":r(t)}},8718:(t,e,n)=>{var r=n(7412),i=n(3118),a=n(7816),o=n(7206),s=n(5924),c=n(1469),l=n(4144),u=n(3560),h=n(3218),f=n(6719);t.exports=function(t,e,n){var d=c(t),p=d||l(t)||f(t);if(e=o(e,4),null==n){var g=t&&t.constructor;n=p?d?new g:[]:h(t)&&u(g)?i(s(t)):{}}return(p?r:a)(t,function(t,r,i){return e(n,t,r,i)}),n}},3386:(t,e,n)=>{var r=n(1078),i=n(5976),a=n(5652),o=n(9246);t.exports=i(function(t){return a(r(t,1,o,!0))})},3955:(t,e,n)=>{var r=n(9833),i=0;t.exports=function(t){var e=++i;return r(t)+e}},2628:(t,e,n)=>{var r=n(7415),i=n(3674);t.exports=function(t){return null==t?[]:r(t,i(t))}},7287:(t,e,n)=>{var r=n(4865),i=n(1757);t.exports=function(t,e){return i(t||[],e||[],r)}},9234:()=>{},1748:(t,e,n)=>{var r={"./locale":9234,"./locale.js":9234};function i(t){return n(a(t))}function a(t){if(!n.o(r,t)){var e=Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=a,t.exports=i,i.id=1748},1941:function(t,e,n){(t=n.nmd(t)).exports=function(){function e(){return E.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function o(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function c(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function l(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(t,e){for(var n in e)l(e,n)&&(t[n]=e[n]);return l(e,"toString")&&(t.toString=e.toString),l(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,n,r){return t9(t,e,n,r,!0).utc()}function f(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invali
vendor: 4,306 bytes, line 1
1dFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function d(t){if(null==t._isValid){var e=f(t),n=C.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function p(t){var e=h(NaN);return null!=t?u(f(e),t):f(e).userInvalidated=!0,e}C=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var g=e.momentProperties=[];function y(t,e){var n,r,i;if(a(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),a(e._i)||(t._i=e._i),a(e._f)||(t._f=e._f),a(e._l)||(t._l=e._l),a(e._strict)||(t._strict=e._strict),a(e._tzm)||(t._tzm=e._tzm),a(e._isUTC)||(t._isUTC=e._isUTC),a(e._offset)||(t._offset=e._offset),a(e._pf)||(t._pf=f(e)),a(e._locale)||(t._locale=e._locale),0<g.length)for(n=0;n<g.length;n++)a(i=e[r=g[n]])||(t[r]=i);return t}var m=!1;function v(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===m&&(m=!0,e.updateOffset(this),m=!1)}function b(t){return t instanceof v||null!=t&&null!=t._isAMomentObject}function x(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function _(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=x(e)),n}function k(t,e,n){var r,i=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),o=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&_(t[r])!==_(e[r]))&&o++;return o+a}function w(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function T(t,n){var r=!0;return u(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){for(var i,a=[],o=0;o<arguments.length;o++){if(i="","object"==typeof arguments[o]){for(var s in i+="\n["+o+"] ",arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[o];a.push(i)}w(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+Error().stack),r=!1}return n.apply(this,arguments)},n)}var E,C,S,A={};function M(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),A[t]||(w(n),A[t]=!0)}function N(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function D(t,e){var n,r=u({},t);for(n in e)l(e,n)&&(i(t[n])&&i(e[n])?(r[n]={},u(r[n],t[n]),u(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)l(t,n)&&!l(e,n)&&i(t[n])&&(r[n]=u({},r[n]));return r}function B(t){null!=t&&this.set(t)}e.suppressDeprecationWarnings=!1,e.deprecationHandler=null,S=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)l(t,e)&&n.push(e);return n};var O={};function L(t,e){var n=t.toLowerCase();O[n]=O[n+"s"]=O[e]=t}function I(t){return"string"==typeof t?O[t]||O[t.toLowerCase()]:void 0}function F(t){var e,n,r={};for(n in t)l(t,n)&&(e=I(n))&&(r[e]=t[n]);return r}var P={};function R(t,e,n){var r=""+Math.abs(t);return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,e-r.length)).toString().substr(1)+r}var j=/(\[[^\[]*\])|(\\)?([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}|x|X|zz?|ZZ?|.)/g,Y=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,U={},z={};function $(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(z[t]=i),e&&(z[e[0]]=function(){return R(i.apply(this,arguments),e[1],e[2])}),n&&(z[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function q(t,e){return t.isValid()?(U[e=H(e,t.localeData())]=U[e]||function(t){var e,n,r,i=t.match(j);for(e=0,n=i.length;e<n;e++)z[i[e]]?i[e]=z[i[e]]:i[e]=(r=i[e]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(e){var r,a="";for(r=0;r<n;r++)a+=N(i[r])?i[r].call(e,t):i[r];return a}}(e),U[e](t)):t.localeData().invalidDate()}function H(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}for(Y.lastIndex=0;0<=n&&Y.test(t);)t=t.replace(Y,r),Y.lastIndex=0,n-=1;return t}var W=/\d/,V=/\d\d/,G=/\d{3}/,X=/\d{4}/,Z=/[+-]?\d{6}
1/,Q=/\d\d?/,K=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,tt=/\d{1,3}/,te=/\d{1,4}/,tn=/[+-]?\d{1,6}/,tr=/\d+/,ti=/[+-]?\d+/,ta=/Z|[+-]\d\d:?\d\d/gi,to=/Z|[+-]\d\d(?::?\d\d)?/gi,ts=/[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,tc={};function tl(t,e,n){tc[t]=N(e)?e:function(t,r){return t&&n?n:e}}function tu(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var th={};function tf(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),o(e)&&(r=function(t,n){n[e]=_(t)}),n=0;n<t.length;n++)th[t[n]]=r}function td(t,e){tf(t,function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)})}function tp(t){return tg(t)?366:365}function tg(t){return t%4==0&&t%100!=0||t%400==0}$("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),$(0,["YY",2],0,function(){return this.year()%100}),$(0,["YYYY",4],0,"year"),$(0,["YYYYY",5],0,"year"),$(0,["YYYYYY",6,!0],0,"year"),L("year","y"),P.year=1,tl("Y",ti),tl("YY",Q,V),tl("YYYY",te,X),tl("YYYYY",tn,Z),tl("YYYYYY",tn,Z),tf(["YYYYY","YYYYYY"],0),tf("YYYY",function(t,n){n[0]=2===t.length?e.parseTwoDigitYear(t):_(t)}),tf("YY",function(t,n){n[0]=e.parseTwoDigitYear(t)}),tf("Y",function(t,e){e[0]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return _(t)+(68<_(t)?1900:2e3)};var ty,tm=tv("FullYear",!0);function tv(t,n){return function(r){return null!=r?(tx(this,t,r),e.updateOffset(this,n),this):tb(this,t)}}function tb(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function tx(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&tg(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),t_(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function t_(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?tg(t)?29:28:31-n%7%2}ty=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return -1},$("M",["MM",2],"Mo",function(){return this.month()+1}),$("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),$("MMMM",0,0,function(t){return this.localeData().months(this,t)}),L("month","M"),P.month=8,tl("M",Q),tl("MM",Q,V),tl("MMM",function(t,e){return e.monthsShortRegex(t)}),tl("MMMM",function(t,e){return e.monthsRegex(t)}),tf(["M","MM"],function(t,e){e[1]=_(t)-1}),tf(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[1]=i:f(n).invalidMonth=t});var tk=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,tw="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function tT(t,e){var n;if(!t.isValid())return t;if("string"==typeof e){if(/^\d+$/.test(e))e=_(e);else if(!o(e=t.localeData().monthsParse(e)))return t}return n=Math.min(t.date(),t_(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function tE(t){return null!=t?(tT(this,t),e.updateOffset(this,!0),this):tb(this,"Month")}function tC(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],a=[];for(e=0;e<12;e++)n=h([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),a.sort(t),e=0;e<12;e++)r[e]=tu(r[e]),i[e]=tu(i[e]);for(e=0;e<24;e++)a[e]=tu(a[e]);this._monthsRegex=RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=RegExp("^("+r.join("|")+")","i")}function tS(t){var e;if(t<100&&0<=t){var n=Array.prototype.slice.call(arguments);n[0]=t+400,isFinite((e=new Date(Date.UTC.apply(null,n))).getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function tA(t,e,n){var r=7+e-n;return-(7+tS(t,0,r).getUTCDay()-e)%7+r-1}function tM(t,e,n,r,i){var a,o,s=1+7*(e-1)+(7+n-r)%7+tA(t,r,i);return o=s<=0?tp(a=t-1)+s:s>tp(t)?(a=t+1,s-tp(t)):(a=t,s),{year:a,dayOfYear:o}}function tN(t,e,n){var r,i,a=tA(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?r=o+tD(i=t.year()-1,e,n):o>tD(t.year(),e,n)?(r=o-tD(t.year(),e,n),i=t.year()+1):(i=t.year(),r=o),{week:r,year:i}}function tD(t,e,n){var r=tA(t,e,n),i=tA(t+1,e,n);return(tp(t)-r+i)/7}function tB(t,e){return t.slice(e,7).concat(t.slice(0,e))}$("w",["ww",2],"wo","week"),$("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),P.week=5,P.isoWeek=5,tl("w",Q),tl("ww",Q,V),tl("W",Q),tl("WW",Q,V),td(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=_(t)}),$("d",0,"do","day"),$("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),$("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),$("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),P.day=11,P.weekday=11,P.isoWeekday=11,tl("d",Q),tl("e",Q),tl("E",Q),tl("dd",function(t,e){return e.weekdaysMinRegex(t)}),tl("ddd",function(t,e){return e.weekdaysShortRegex(t)}),tl("dddd",function(t,e){return e.weekdaysRegex(t)}),td(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._str
1ict);null!=i?e.d=i:f(n).invalidWeekday=t}),td(["d","e","E"],function(t,e,n,r){e[r]=_(t)});var tO="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function tL(){function t(t,e){return e.length-t.length}var e,n,r,i,a,o=[],s=[],c=[],l=[];for(e=0;e<7;e++)n=h([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(r),s.push(i),c.push(a),l.push(r),l.push(i),l.push(a);for(o.sort(t),s.sort(t),c.sort(t),l.sort(t),e=0;e<7;e++)s[e]=tu(s[e]),c[e]=tu(c[e]),l[e]=tu(l[e]);this._weekdaysRegex=RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=RegExp("^("+o.join("|")+")","i")}function tI(){return this.hours()%12||12}function tF(t,e){$(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function tP(t,e){return e._meridiemParse}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,tI),$("k",["kk",2],0,function(){return this.hours()||24}),$("hmm",0,0,function(){return""+tI.apply(this)+R(this.minutes(),2)}),$("hmmss",0,0,function(){return""+tI.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)}),$("Hmm",0,0,function(){return""+this.hours()+R(this.minutes(),2)}),$("Hmmss",0,0,function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)}),tF("a",!0),tF("A",!1),L("hour","h"),P.hour=13,tl("a",tP),tl("A",tP),tl("H",Q),tl("h",Q),tl("k",Q),tl("HH",Q,V),tl("hh",Q,V),tl("kk",Q,V),tl("hmm",K),tl("hmmss",J),tl("Hmm",K),tl("Hmmss",J),tf(["H","HH"],3),tf(["k","kk"],function(t,e,n){var r=_(t);e[3]=24===r?0:r}),tf(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),tf(["h","hh"],function(t,e,n){e[3]=_(t),f(n).bigHour=!0}),tf("hmm",function(t,e,n){var r=t.length-2;e[3]=_(t.substr(0,r)),e[4]=_(t.substr(r)),f(n).bigHour=!0}),tf("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=_(t.substr(0,r)),e[4]=_(t.substr(r,2)),e[5]=_(t.substr(i)),f(n).bigHour=!0}),tf("Hmm",function(t,e,n){var r=t.length-2;e[3]=_(t.substr(0,r)),e[4]=_(t.substr(r))}),tf("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=_(t.substr(0,r)),e[4]=_(t.substr(r,2)),e[5]=_(t.substr(i))});var tR,tj=tv("Hours",!0),tY={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:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:tw,week:{dow:0,doy:6},weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysShort:tO,meridiemParse:/[ap]\.?m?\.?/i},tU={},tz={};function t$(t){return t?t.toLowerCase().replace("_","-"):t}function tq(e){var r=null;if(!tU[e]&&t&&t.exports)try{r=tR._abbr,n(1748)("./"+e),tH(r)}catch(t){}return tU[e]}function tH(t,e){var n;return t&&((n=a(e)?tV(t):tW(t,e))?tR=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),tR._abbr}function tW(t,e){if(null===e)return delete tU[t],null;var n,r=tY;if(e.abbr=t,null!=tU[t])M("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."),r=tU[t]._config;else if(null!=e.parentLocale)if(null!=tU[e.parentLocale])r=tU[e.parentLocale]._config;else{if(null==(n=tq(e.parentLocale)))return tz[e.parentLocale]||(tz[e.parentLocale]=[]),tz[e.parentLocale].push({name:t,config:e}),null;r=n._config}return tU[t]=new B(D(r,e)),tz[t]&&tz[t].forEach(function(t){tW(t.name,t.config)}),tH(t),tU[t]}function tV(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return tR;if(!r(t)){if(e=tq(t))return e;t=[t]}return function(t){for(var e,n,r,i,a=0;a<t.length;){for(e=(i=t$(t[a]).split("-")).length,n=(n=t$(t[a+1]))?n.split("-"):null;0<e;){if(r=tq(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&k(i,n,!0)>=e-1)break;e--}a++}return tR}(t)}function tG(t){var e,n=t._a;return n&&-2===f(t).overflow&&(e=n[1]<0||11<n[1]?1:n[2]<1||n[2]>t_(n[0],n[1])?2:n[3]<0||24<n[3]||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||59<n[4]?4:n[5]<0||59<n[5]?5:n[6]<0||999<n[6]?6:-1,f(t)._overflowDayOfYear&&(e<0||2<e)&&(e=2),f(t)._overflowWeeks&&-1===e&&(e=7),f(t)._overflowWeekday&&-1===e&&(e=8),f(t).overflow=e),t}function tX(t,e,n){return null!=t?t:null!=e?e:n}function tZ(t){var n,r,i,a,o,s,c=[];if(!t._d){for(n=new Date(e.now()),a=t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()],t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,n,r,i,a,o,s,c;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)a=1,o=4,n=tX(e.GG,t._a[0],tN(et(),1,4).year),r=tX(e.W,1),((i=tX(e.E,1))<1||7<i)&&(c=!0);else{a=t._locale._week.dow,o=t._locale._week.doy;var l=tN(et(),a,o);n=tX(e.gg,t._a[0],l.year),r=tX(e.w,l.week),null!=e.d?((i=e.d)<0||6<i)&&(c=!0):null!=e.e?(i=e.e+a,(e.e<0||6<e.e)&&(c=!0)):i=a}r<1||r>tD(n,a,o)?f(t)._overflowWeeks=!0:null!=c?f(t)._overflowWeekday=!0:(s=tM(n,r,i,a,o),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(s=tX(t._a[0],a[0]),(t._dayOfYear>tp(s)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),i=tS(s,0,t._dayOfYear),t._a[1]=i.getUTCMonth(),t._a[2]=i.getUTCDate()),r=0;r<3&&null==t._a[r];++r)t._a[r]=c[r]=a[r];for(;r<7;r++)t._a[r]=c[r]=null==t._a[r]?+(2===r):t._a[r];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?tS:function(t,e,n,r,i,a,o){var s;return t<100&&0<=t?isFinite((s=new Date(t+400,e,n,r,i,a,o)).getFullYear())&&s.setFullYear(t):s=new Date(t,e,n,r,i,a,o),s}).apply(null,c),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(f(t).weekdayMismatch=!0)}}var tQ=/^\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)?)?$/,tK=/^\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)?)?$/,tJ=/Z|[+-]\d\d(?::?\d\d)?/,t0=[["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}/]],t1=[["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/]],t2=/^\/?Date\((\-?\d+)/i;function t3(t){var e,n,r,i,a,o,s=t._i,c=tQ.exec(s)||tK.exec(s);if(c){for(f(t).iso=!0,e=0,n=t0.length;e<n;
1e++)if(t0[e][1].exec(c[1])){i=t0[e][0],r=!1!==t0[e][2];break}if(null==i)return void(t._isValid=!1);if(c[3]){for(e=0,n=t1.length;e<n;e++)if(t1[e][1].exec(c[3])){a=(c[2]||" ")+t1[e][0];break}if(null==a)return void(t._isValid=!1)}if(!r&&null!=a)return void(t._isValid=!1);if(c[4]){if(!tJ.exec(c[4]))return void(t._isValid=!1);o="Z"}t._f=i+(a||"")+(o||""),t8(t)}else t._isValid=!1}var t5=/^(?:(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}))$/,t4={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function t6(t){var e,n=t5.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(n){var r,i,a,o,s,c,l,u,h=(r=n[4],i=n[3],a=n[2],o=n[5],s=n[6],c=n[7],u=[(l=parseInt(r,10))<=49?2e3+l:l<=999?1900+l:l,tw.indexOf(i),parseInt(a,10),parseInt(o,10),parseInt(s,10)],c&&u.push(parseInt(c,10)),u);if((e=n[1])&&tO.indexOf(e)!==new Date(h[0],h[1],h[2]).getDay()&&(f(t).weekdayMismatch=!0,t._isValid=!1,1))return;t._a=h,t._tzm=function(t,e,n){if(t)return t4[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(n[8],n[9],n[10]),t._d=tS.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function t8(t){if(t._f!==e.ISO_8601)if(t._f!==e.RFC_2822){t._a=[],f(t).empty=!0;var n,r,i,a,o,s,c,u,h,d=""+t._i,p=d.length,g=0;for(c=H(t._f,t._locale).match(j)||[],o=0;o<c.length;o++)u=c[o],(s=(d.match(l(tc,u)?tc[u](t._strict,t._locale):new RegExp(tu(u.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))))||[])[0])&&(0<(h=d.substr(0,d.indexOf(s))).length&&f(t).unusedInput.push(h),d=d.slice(d.indexOf(s)+s.length),g+=s.length),z[u]?(s?f(t).empty=!1:f(t).unusedTokens.push(u),null!=s&&l(th,u)&&th[u](s,t._a,t,u)):t._strict&&!s&&f(t).unusedTokens.push(u);f(t).charsLeftOver=p-g,0<d.length&&f(t).unusedInput.push(d),t._a[3]<=12&&!0===f(t).bigHour&&0<t._a[3]&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[3]=(n=t._locale,r=t._a[3],null==(i=t._meridiem)?r:null!=n.meridiemHour?n.meridiemHour(r,i):(null!=n.isPM&&((a=n.isPM(i))&&r<12&&(r+=12),a||12!==r||(r=0)),r)),tZ(t),tG(t)}else t6(t);else t3(t)}function t7(t){var n,l,h=t._i,g=t._f;return t._locale=t._locale||tV(t._l),null===h||void 0===g&&""===h?p({nullInput:!0}):("string"==typeof h&&(t._i=h=t._locale.preparse(h)),b(h)?new v(tG(h)):(s(h)?t._d=h:r(g)?function(t){var e,n,r,i,a;if(0===t._f.length)return f(t).invalidFormat=!0,t._d=new Date(NaN);for(i=0;i<t._f.length;i++)a=0,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],t8(e),d(e)&&(a+=f(e).charsLeftOver,a+=10*f(e).unusedTokens.length,f(e).score=a,(null==r||a<r)&&(r=a,n=e));u(t,n||e)}(t):g?t8(t):a(n=t._i)?t._d=new Date(e.now()):s(n)?t._d=new Date(n.valueOf()):"string"==typeof n?null===(l=t2.exec(t._i))?(t3(t),!1===t._isValid&&(delete t._isValid,t6(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))):t._d=new Date(+l[1]):r(n)?(t._a=c(n.slice(0),function(t){return parseInt(t,10)}),tZ(t)):i(n)?function(t){if(!t._d){var e=F(t._i);t._a=c([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),tZ(t)}}(t):o(n)?t._d=new Date(n):e.createFromInputFallback(t),d(t)||(t._d=null),t))}function t9(t,e,n,a,o){var s,c={};return!0!==n&&!1!==n||(a=n,n=void 0),(i(t)&&function(t){var e;if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||r(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=o,c._l=n,c._i=t,c._f=e,c._strict=a,(s=new v(tG(t7(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function et(t,e,n,r){return t9(t,e,n,r,!1)}e.createFromInputFallback=T("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var ee=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=et.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:p()}),en=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=et.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:p()});function er(t,e){var n,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return et();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var ei=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ea(t){var e=F(t),n=e.year||0,r=e.quarter||0,i=e.month||0,a=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,c=e.minute||0,l=e.second||0,u=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===ty.call(ei,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<ei.length;++r)if(t[ei[r]]){if(n)return!1;parseFloat(t[ei[r]])!==_(t[ei[r]])&&(n=!0)}return!0}(e),this._milliseconds=+u+1e3*l+6e4*c+1e3*s*3600,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=tV(),this._bubble()}function eo(t){return t instanceof ea}function es(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function ec(t,e){$(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+R(~~(t/60),2)+e+R(~~t%60,2)})}ec("Z",":"),ec("ZZ",""),tl("Z",to),tl("ZZ",to),tf(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=eu(to,t)});var el=/([\+\-]|\d\d)/gi;function eu(t,e){var n=(e||"").match(t);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(el)||["-",0,0],i=60*r[1]+_(r[2]);return 0===i?0:"+"===r[0]?i:-i}function eh(t,n){var r,i;return n._isUTC?(r=n.clone(),i=(b(t)||s(t)?t.valueOf():et(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),e.updateOffset(r,!1),r):et(t).local()}function ef(t){return-(15*Math.round(t._d.getTimezoneOffset()/15))}function ed(){return!!this.isValid()&&this._isUTC&&0===this._offset}e.updateOffset=function(){};var ep=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,eg=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ey(t,e){var n,r,i,a,s,c,u=t,h=null;return eo(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:o(t)?(u={},e?u[e]=t:u.milliseconds=t):(h=ep.exec(t))?(a="-"===h[1]?-1:1,u={y:0,d:_(h[2])*a,h:_(h[3])*a,m:_(h[4])*a,s:_(h[5])*a,ms:_(es(1e3*h[6]))*a}):(h=eg.exec(t))?(a="-"===h[1]?-1:1,u={y:em(h[2],a),M:em(h[3],a),w:em(h[4],a),d:em(h[5],a),h:em(h[6],a),m:em(h[7],a),s:em(h[8],a)}):null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(n=et(u.from),r=et(u.to),c=n.isValid()&&r.isValid()?(r=eh(r,n),n.isBefore(r)?
1i=ev(n,r):((i=ev(r,n)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(u={}).ms=c.milliseconds,u.M=c.months),s=new ea(u),eo(t)&&l(t,"_locale")&&(s._locale=t._locale),s}function em(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function ev(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=e-t.clone().add(n.months,"M"),n}function eb(t,e){return function(n,r){var i;return null===r||isNaN(+r)||(M(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),ex(this,ey(n="string"==typeof n?+n:n,r),t),this}}function ex(t,n,r,i){var a=n._milliseconds,o=es(n._days),s=es(n._months);t.isValid()&&(i=null==i||i,s&&tT(t,tb(t,"Month")+s*r),o&&tx(t,"Date",tb(t,"Date")+o*r),a&&t._d.setTime(t._d.valueOf()+a*r),i&&e.updateOffset(t,o||s))}ey.fn=ea.prototype,ey.invalid=function(){return ey(NaN)};var e_=eb(1,"add"),ek=eb(-1,"subtract");function ew(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,"months");return-(n+(e-r<0?(e-r)/(r-t.clone().add(n-1,"months")):(e-r)/(t.clone().add(n+1,"months")-r)))||0}function eT(t){var e;return void 0===t?this._locale._abbr:(null!=(e=tV(t))&&(this._locale=e),this)}e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var eE=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function eC(){return this._locale}function eS(t,e,n){return t<100&&0<=t?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function eA(t,e,n){return t<100&&0<=t?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function eM(t,e){$(0,[t,t.length],0,e)}function eN(t,e,n,r,i){var a;return null==t?tN(this,r,i).year:((a=tD(t,r,i))<e&&(e=a),(function(t,e,n,r,i){var a=tM(t,e,n,r,i),o=tS(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}).call(this,t,e,n,r,i))}$(0,["gg",2],0,function(){return this.weekYear()%100}),$(0,["GG",2],0,function(){return this.isoWeekYear()%100}),eM("gggg","weekYear"),eM("ggggg","weekYear"),eM("GGGG","isoWeekYear"),eM("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),P.weekYear=1,P.isoWeekYear=1,tl("G",ti),tl("g",ti),tl("GG",Q,V),tl("gg",Q,V),tl("GGGG",te,X),tl("gggg",te,X),tl("GGGGG",tn,Z),tl("ggggg",tn,Z),td(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=_(t)}),td(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),$("Q",0,"Qo","quarter"),L("quarter","Q"),P.quarter=7,tl("Q",W),tf("Q",function(t,e){e[1]=3*(_(t)-1)}),$("D",["DD",2],"Do","date"),L("date","D"),P.date=9,tl("D",Q),tl("DD",Q,V),tl("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),tf(["D","DD"],2),tf("Do",function(t,e){e[2]=_(t.match(Q)[0])});var eD=tv("Date",!0);$("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),P.dayOfYear=4,tl("DDD",tt),tl("DDDD",G),tf(["DDD","DDDD"],function(t,e,n){n._dayOfYear=_(t)}),$("m",["mm",2],0,"minute"),L("minute","m"),P.minute=14,tl("m",Q),tl("mm",Q,V),tf(["m","mm"],4);var eB=tv("Minutes",!1);$("s",["ss",2],0,"second"),L("second","s"),P.second=15,tl("s",Q),tl("ss",Q,V),tf(["s","ss"],5);var eO,eL=tv("Seconds",!1);for($("S",0,0,function(){return~~(this.millisecond()/100)}),$(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),$(0,["SSS",3],0,"millisecond"),$(0,["SSSS",4],0,function(){return 10*this.millisecond()}),$(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),$(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),$(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),$(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),$(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),L("millisecond","ms"),P.millisecond=16,tl("S",tt,W),tl("SS",tt,V),tl("SSS",tt,G),eO="SSSS";eO.length<=9;eO+="S")tl(eO,tr);function eI(t,e){e[6]=_(1e3*("0."+t))}for(eO="S";eO.length<=9;eO+="S")tf(eO,eI);var eF=tv("Milliseconds",!1);$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var eP=v.prototype;function eR(t){return t}eP.add=e_,eP.calendar=function(t,n){var r=t||et(),i=eh(r,this).startOf("day"),a=e.calendarFormat(this,i)||"sameElse",o=n&&(N(n[a])?n[a].call(this,r):n[a]);
1return this.format(o||this.localeData().calendar(a,this,et(r)))},eP.clone=function(){return new v(this)},eP.diff=function(t,e,n){var r,i,a;if(!this.isValid()||!(r=eh(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=I(e)){case"year":a=ew(this,r)/12;break;case"month":a=ew(this,r);break;case"quarter":a=ew(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:x(a)},eP.endOf=function(t){if(void 0===(t=I(t))||"millisecond"===t||!this.isValid())return this;var n,r=this._isUTC?eA:eS;switch(t){case"year":n=r(this.year()+1,0,1)-1;break;case"quarter":n=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=r(this.year(),this.month()+1,1)-1;break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=36e5-((n+(this._isUTC?0:6e4*this.utcOffset()))%36e5+36e5)%36e5-1;break;case"minute":n=this._d.valueOf(),n+=6e4-(n%6e4+6e4)%6e4-1;break;case"second":n=this._d.valueOf(),n+=1e3-(n%1e3+1e3)%1e3-1}return this._d.setTime(n),e.updateOffset(this,!0),this},eP.format=function(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=q(this,t);return this.localeData().postformat(n)},eP.from=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||et(t).isValid())?ey({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},eP.fromNow=function(t){return this.from(et(),t)},eP.to=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||et(t).isValid())?ey({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},eP.toNow=function(t){return this.to(et(),t)},eP.get=function(t){return N(this[t=I(t)])?this[t]():this},eP.invalidAt=function(){return f(this).overflow},eP.isAfter=function(t,e){var n=b(t)?t:et(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},eP.isBefore=function(t,e){var n=b(t)?t:et(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},eP.isBetween=function(t,e,n,r){var i=b(t)?t:et(t),a=b(e)?e:et(e);return!!(this.isValid()&&i.isValid()&&a.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(a,n):!this.isAfter(a,n))},eP.isSame=function(t,e){var n,r=b(t)?t:et(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},eP.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},eP.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},eP.isValid=function(){return d(this)},eP.lang=eE,eP.locale=eT,eP.localeData=eC,eP.max=en,eP.min=ee,eP.parsingFlags=function(){return u({},f(this))},eP.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e=[];for(var n in t)e.push({unit:n,priority:P[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=F(t)),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit]);else if(N(this[t=I(t)]))return this[t](e);return this},eP.startOf=function(t){if(void 0===(t=I(t))||"millisecond"===t||!this.isValid())return this;var n,r=this._isUTC?eA:eS;switch(t){case"year":n=r(this.year(),0,1);break;case"quarter":n=r(this.year(),this.month()-this.month()%3,1);break;case"month":n=r(this.year(),this.month(),1);break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=r(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=((n+(this._isUTC?0:6e4*this.utcOffset()))%36e5+36e5)%36e5;break;case"minute":n=this._d.valueOf(),n-=(n%6e4+6e4)%6e4;break;case"second":n=this._d.valueOf(),n-=(n%1e3+1e3)%1e3}return this._d.setTime(n),e.updateOffset(this,!0),this},eP.subtract=ek,eP.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},eP.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},eP.toDate=function(){return new Date(this.valueOf())},eP.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return 0>n.year()||9999<n.year()?q(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):N(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",q(n,"Z")):q(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
vendor: 16,585 bytes, line 1
1,eP.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&9999>=this.year()?"YYYY":"YYYYYY",i=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},eP.toJSON=function(){return this.isValid()?this.toISOString():null},eP.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},eP.unix=function(){return Math.floor(this.valueOf()/1e3)},eP.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},eP.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},eP.year=tm,eP.isLeapYear=function(){return tg(this.year())},eP.weekYear=function(t){return eN.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},eP.isoWeekYear=function(t){return eN.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},eP.quarter=eP.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},eP.month=tE,eP.daysInMonth=function(){return t_(this.year(),this.month())},eP.week=eP.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},eP.isoWeek=eP.isoWeeks=function(t){var e=tN(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},eP.weeksInYear=function(){var t=this.localeData()._week;return tD(this.year(),t.dow,t.doy)},eP.isoWeeksInYear=function(){return tD(this.year(),1,4)},eP.date=eD,eP.day=eP.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,n=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-r,"d")):r},eP.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},eP.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null==t)return this.day()||7;var e,n=(e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?n:n-7)},eP.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},eP.hour=eP.hours=tj,eP.minute=eP.minutes=eB,eP.second=eP.seconds=eL,eP.millisecond=eP.milliseconds=eF,eP.utcOffset=function(t,n,r){var i,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?a:ef(this);if("string"==typeof t){if(null===(t=eu(to,t)))return this}else 16>Math.abs(t)&&!r&&(t*=60);return!this._isUTC&&n&&(i=ef(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==t&&(!n||this._changeInProgress?ex(this,ey(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this},eP.utc=function(t){return this.utcOffset(0,t)},eP.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ef(this),"m")),this},eP.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=eu(ta,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},eP.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?et(t).utcOffset():0,(this.utcOffset()-t)%60==0)},eP.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},eP.isLocal=function(){return!!this.isValid()&&!this._isUTC},eP.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},eP.isUtc=ed,eP.isUTC=ed,eP.zoneAbbr=function(){return this._isUTC?"UTC":""},eP.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},eP.dates=T("dates accessor is deprecated. Use date instead.",eD),eP.months=T("months accessor is deprecated. Use month instead",tE),eP.years=T("years accessor is deprecated. Use year instead",tm),eP.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),eP.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),(t=t7(t))._a){var e=t._isUTC?h(t._a):et(t._a);this._isDSTShifted=this.isValid()&&0<k(t._a,e.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var ej=B.prototype;function eY(t,e,n,r){var i=tV(),a=h().set(r,e);return i[n](a,t)}function eU(t,e,n){if(o(t)&&(e=t,t=void 0),t=t||"",null!=e)return eY(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=eY(t,r,n,"month");return i}function ez(t,e,n,r){"boolean"==typeof t?o(e)&&(n=e,e=void 0):(e=t,t=!1,o(n=e)&&(n=e,e=void 0)),e=e||"";var i,a=tV(),s=t?a._week.dow:0;if(null!=n)return eY(e,(n+s)%7,r,"day");var c=[];for(i=0;i<7;i++)c[i]=eY(e,(i+s)%7,r,"day");return c}ej.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return N(r)?r.call(e,n):r},ej.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},ej.invalidDate=function(){return this._invalidDate},ej.ordinal=function(t){return this._ordinal.replace("%d",t)},ej.preparse=eR,ej.postformat=eR,ej.relativeTime=function(t,e,n,r){var i=this._relativeTime[n];return N(i)?i(t,e,n,r):i.replace(/%d/i,t)},ej.pastFuture=function(t,e){var n=this._relativeTime[0<t?"future":"past"];return N(n)?n(e):n.replace(/%s/i,e)},ej.set=function(t){var e,n;for(n in t)N(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ej.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||tk).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},ej.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[tk.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ej.monthsParse=function(t,e,n){var r,i,a;if(this._monthsParseExact)return(function(t,e,n){var r,i,a,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=ty.call(this._shortMonthsParse,o))?i:null:-1!==(i=ty.call(this._longMonthsParse,o))?i:null:"MMM"===e?-1!==(i=ty.call(this._shortMonthsParse,o))||-1!==(i=ty.call(this._longMonthsParse,o))?i:null:-1!==(i=ty.call(this._longMonthsParse,o))||-1!==(i=ty.call(this._shortMonthsParse,o))?i:null}).call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if(i=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t)||n&&"MMM"===e&&this._shortMonthsParse[r].test(t)||!n&&this._monthsParse[r].test(t))return r},ej.monthsRegex=function(t){return this._monthsParseExact?(l(this,"_monthsRegex")||tC.call(this),t?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=ts),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},ej.monthsShortRegex=function(t){return this._monthsParseExact?(l(this,"_monthsRegex")||tC.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=ts),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},ej.week=function(t){return tN(t,this._week.dow,this._week.doy).week},ej.firstDayOfYear=function(){return this._week.doy},ej.firstDayOfWeek=function(){return this._week.dow},ej.weekdays=function(t,e){var n=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?tB(n,this._week.dow):t?n[t.day()]:n},ej.weekdaysMin=function(t){return!0===t?tB(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},ej.weekdaysShort=function(t){return!0===t?tB(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},ej.weekdaysParse=function(t,e,n){var r,i,a;if(this._weekdaysParseExact)return(function(t,e,n){var r,i,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=ty.call(this._weekdaysParse,o))?i:null:"ddd"===e?-1!==(i=ty.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=ty.call(this._minWeekdaysParse,o))?i:null:"dddd"===e?-1!==(i=ty.call(this._weekdaysParse,o))||-1!==(i=ty.call(this._shortWeekdaysParse,o))||-1!==(i=ty.call(this._minWeekdaysParse,o))?i:null:"ddd"===e?-1!==(i=ty.call(this._shortWeekdaysParse,o))||-1!==(i=ty.call(this._weekdaysParse,o))||-1!==(i=ty.call(this._minWeekdaysParse,o))?i:null:-1!==(i=ty.call(this._minWeekdaysParse,o))||-1!==(i=ty.call(this._weekdaysParse,o))||-1!==(i=ty.call(this._shortWeekdaysParse,o))?i:null}).call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if(i=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t)||n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t)||n&&"dd"===e&&this._minWeekdaysParse[r].test(t)||!n&&this._weekdaysParse[r].test(t))return r},ej.weekdaysRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||tL.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=ts),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},ej.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||tL.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ts),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ej.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||tL.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ts),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ej.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},ej.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},tH("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===_(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=T("moment.lang is deprecated. Use moment.locale instead.",tH),e.langData=T("moment.langData is deprecated. Use moment.localeData instead.",tV);var e$=Math.abs;function eq(t,e,n,r){var i=ey(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function eH(t){return t<0?Math.floor(t):Math.ceil(t)}function eW(t){return 4800*t/146097}function eV(t){return 146097*t/4800}function eG(t){return function(){return this.as(t)}}var eX=eG("ms"),eZ=eG("s"),eQ=eG("m"),eK=eG("h"),eJ=eG("d"),e0=eG("w"),e1=eG("M"),e2=eG("Q"),e3=eG("y");function e5(t){return function(){return this.isValid()?this._data[t]:NaN}}var e4=e5("milliseconds"),e6=e5("seconds"),e8=e5("minutes"),e7=e5("hours"),e9=e5("days"),nt=e5("months"),ne=e5("years"),nn=Math.round,nr={ss:44,s:45,m:45,h:22,d:26,M:11},ni=Math.abs;function na(t){return(0<t)-(t<0)||+t}function no(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=ni(this._milliseconds)/1e3,r=ni(this._days),i=ni(this._months);e=x((t=x(n/60))/60),n%=60,t%=60;var a=x(i/12),o=i%=12,s=t,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",l=this.asSeconds();if(!l)return"P0D";var u=l<0?"-":"",h=na(this._months)!==na(l)?"-":"",f=na(this._days)!==na(l)?"-":"",d=na(this._milliseconds)!==na(l)?"-":"";return u+"P"+(a?h+a+"Y":"")+(o?h+o+"M":"")+(r?f+r+"D":"")+(e||s||c?"T":"")+(e?d+e+"H":"")+(s?d+s+"M":"")+(c?d+c+"S":"")}var ns=ea.prototype;return ns.isValid=function(){return this._isValid},ns.abs=function(){var t=this._data;return this._milliseconds=e$(this._milliseconds),this._days=e$(this._days),this._months=e$(this._months),t.milliseconds=e$(t.milliseconds),t.seconds=e$(t.seconds),t.minutes=e$(t.minutes),t.hours=e$(t.hours),t.months=e$(t.months),t.years=e$(t.years),this},ns.add=function(t,e){return eq(this,t,e,1)},ns.subtract=function(t,e){return eq(this,t,e,-1)},ns.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=I(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+eW(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(eV(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw Error("Unknown unit "+t)}},ns.asMilliseconds=eX,ns.asSeconds=eZ,ns.asMinutes=eQ,ns.asHours=eK,ns.asDays=eJ,ns.asWeeks=e0,ns.asMonths=e1,ns.asQuarters=e2,ns.asYears=e3,ns.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12):NaN},ns._bubble=function(){var t,e,n,r,i,a=this._milliseconds,o=this._days,s=this._months,c=this._data;return 0<=a&&0<=o&&0<=s||a<=0&&o<=0&&s<=0||(a+=864e5*eH(eV(s)+o),s=o=0),c.milliseconds=a%1e3,c.seconds=(t=x(a/1e3))%60,c.minutes=(e=x(t/60))%60,c.hours=(n=x(e/60))%24,s+=i=x(eW(o+=x(n/24))),o-=eH(eV(i)),r=x(s/12),s%=12,c.days=o,c.months=s,c.years=r,this},ns.clone=function(){return ey(this)},ns.get=function(t){return t=I(t),this.isValid()?this[t+"s"]():NaN},ns.milliseconds=e4,ns.seconds=e6,ns.minutes=e8,ns.hours=e7,ns.days=e9,ns.weeks=function(){return x(this.days()/7)},ns.months=nt,ns.years=ne,ns.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e,n,r,i,a,o,s,c,l,u=this.localeData(),h=(e=!t,n=ey(this).abs(),r=nn(n.as("s")),i=nn(n.as("m")),a=nn(n.as("h")),o=nn(n.as("d")),s=nn(n.as("M")),c=nn(n.as("y")),(l=r<=nr.ss&&["s",r]||r<nr.s&&["ss",r]||i<=1&&["m"]||i<nr.m&&["mm",i]||a<=1&&["h"]||a<nr.h&&["hh",a]||o<=1&&["d"]||o<nr.d&&["dd",o]||s<=1&&["M"]||s<nr.M&&["MM",s]||c<=1&&["y"]||["yy",c])[2]=e,l[3]=0<+this,l[4]=u,(function(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}).apply(null,l));return t&&(h=u.pastFuture(+this,h)),u.postformat(h)},ns.toISOString=no,ns.toString=no,ns.toJSON=no,ns.locale=eT,ns.localeData=eC,ns.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",no),ns.lang=eE,$("X",0,0,"unix"),$("x",0,0,"valueOf"),tl("x",ti),tl("X",/[+-]?\d+(\.\d{1,3})?/),tf("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),tf("x",function(t,e,n){n._d=new Date(_(t))}),e.version="2.24.0",E=et,e.fn=eP,e.min=function(){return er("isBefore",[].slice.call(arguments,0))},e.max=function(){return er("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=h,e.unix=function(t){return et(1e3*t)},e.months=function(t,e){return eU(t,e,"months")}
vendor: 6,077 bytes, line 1
1,e.isDate=s,e.locale=tH,e.invalid=p,e.duration=ey,e.isMoment=b,e.weekdays=function(t,e,n){return ez(t,e,n,"weekdays")},e.parseZone=function(){return et.apply(null,arguments).parseZone()},e.localeData=tV,e.isDuration=eo,e.monthsShort=function(t,e){return eU(t,e,"monthsShort")},e.weekdaysMin=function(t,e,n){return ez(t,e,n,"weekdaysMin")},e.defineLocale=tW,e.updateLocale=function(t,e){if(null!=e){var n,r,i=tY;null!=(r=tq(t))&&(i=r._config),(n=new B(e=D(i,e))).parentLocale=tU[t],tU[t]=n,tH(t)}else null!=tU[t]&&(null!=tU[t].parentLocale?tU[t]=tU[t].parentLocale:null!=tU[t]&&delete tU[t]);return tU[t]},e.locales=function(){return S(tU)},e.weekdaysShort=function(t,e,n){return ez(t,e,n,"weekdaysShort")},e.normalizeUnits=I,e.relativeTimeRounding=function(t){return void 0===t?nn:"function"==typeof t&&(nn=t,!0)},e.relativeTimeThreshold=function(t,e){return void 0!==nr[t]&&(void 0===e?nr[t]:(nr[t]=e,"s"===t&&(nr.ss=e-1),!0))},e.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},e.prototype=eP,e.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"},e}()},6470:t=>{function e(t){if("string"!=typeof t)throw TypeError("Path must be a string. Received "+JSON.stringify(t))}function n(t,e){for(var n,r="",i=0,a=-1,o=0,s=0;s<=t.length;++s){if(s<t.length)n=t.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(a===s-1||1===o);else if(a!==s-1&&2===o){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2)){if(r.length>2){var c=r.lastIndexOf("/");if(c!==r.length-1){-1===c?(r="",i=0):i=(r=r.slice(0,c)).length-1-r.lastIndexOf("/"),a=s,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,a=s,o=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+t.slice(a+1,s):r=t.slice(a+1,s),i=s-a-1;a=s,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var t,r,i="",a=!1,o=arguments.length-1;o>=-1&&!a;o--)o>=0?t=arguments[o]:(void 0===r&&(r=process.cwd()),t=r),e(t),0!==t.length&&(i=t+"/"+i,a=47===t.charCodeAt(0));return i=n(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(t){if(e(t),0===t.length)return".";var r=47===t.charCodeAt(0),i=47===t.charCodeAt(t.length-1);return 0!==(t=n(t,!r)).length||r||(t="."),t.length>0&&i&&(t+="/"),r?"/"+t:t},isAbsolute:function(t){return e(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var t,n=0;n<arguments.length;++n){var i=arguments[n];e(i),i.length>0&&(void 0===t?t=i:t+="/"+i)}return void 0===t?".":r.normalize(t)},relative:function(t,n){if(e(t),e(n),t===n||(t=r.resolve(t))===(n=r.resolve(n)))return"";for(var i=1;i<t.length&&47===t.charCodeAt(i);++i);for(var a=t.length,o=a-i,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var c=n.length-s,l=o<c?o:c,u=-1,h=0;h<=l;++h){if(h===l){if(c>l){if(47===n.charCodeAt(s+h))return n.slice(s+h+1);if(0===h)return n.slice(s+h)}else o>l&&(47===t.charCodeAt(i+h)?u=h:0===h&&(u=0));break}var f=t.charCodeAt(i+h);if(f!==n.charCodeAt(s+h))break;47===f&&(u=h)}var d="";for(h=i+u+1;h<=a;++h)h!==a&&47!==t.charCodeAt(h)||(0===d.length?d+="..":d+="/..");return d.length>0?d+n.slice(s+u):(s+=u,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(t){return t},dirname:function(t){if(e(t),0===t.length)return".";for(var n=t.charCodeAt(0),r=47===n,i=-1,a=!0,o=t.length-1;o>=1;--o)if(47===(n=t.charCodeAt(o))){if(!a){i=o;break}}else a=!1;return -1===i?r?"/":".":r&&1===i?"//":t.slice(0,i)},basename:function(t,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');e(t);var r,i=0,a=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var s=n.length-1,c=-1;for(r=t.length-1;r>=0;--r){var l=t.charCodeAt(r);if(47===l){if(!o){i=r+1;break}}else -1===c&&(o=!1,c=r+1),s>=0&&(l===n.charCodeAt(s)?-1==--s&&(a=r):(s=-1,a=c))}return i===a?a=c:-1===a&&(a=t.length),t.slice(i,a)}for(r=t.length-1;r>=0;--r)if(47===t.charCodeAt(r)){if(!o){i=r+1;break}}else -1===a&&(o=!1,a=r+1);return -1===a?"":t.slice(i,a)},extname:function(t){e(t);for(var n=-1,r=0,i=-1,a=!0,o=0,s=t.length-1;s>=0;--s){var c=t.charCodeAt(s);if(47!==c)-1===i&&(a=!1,i=s+1),46===c?-1===n?n=s:1!==o&&(o=1):-1!==n&&(o=-1);else if(!a){r=s+1;break}}return -1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":t.slice(n,i)},format:function(t){var e,n;if(null===t||"object"!=typeof t)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return e=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||""),e?e===t.root?e+n:e+"/"+n:n},parse:function(t){e(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return n;var r,i=t.charCodeAt(0),a=47===i;a?(n.root="/",r=1):r=0;for(var o=-1,s=0,c=-1,l=!0,u=t.length-1,h=0;u>=r;--u)if(47!==(i=t.charCodeAt(u)))-1===c&&(l=!1,c=u+1),46===i?-1===o?o=u:1!==h&&(h=1):-1!==o&&(h=-1);else if(!l){s=u+1;break}return -1===o||-1===c||0===h||1===h&&o===c-1&&o===s+1?-1!==c&&(n.base=n.name=0===s&&a?t.slice(1,c):t.slice(s,c)):(0===s&&a?(n.name=t.slice(1,o),n.base=t.slice(1,c)):(n.name=t.slice(s,o),n.base=t.slice(s,c)),n.ext=t.slice(o,c)),s>0?n.dir=t.slice(0,s-1):a&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,t.exports=r},8218:()=>{},8009:()=>{},5354:()=>{},6878:()=>{},8183:()=>{},1428:()=>{},4551:()=>{},8800:()=>{},1993:()=>{},3069:()=>{},9143:()=>{}},h={};function f(t){var e=h[t];if(void 0!==e)return e.exports;var n=h[t]={id:t,loaded:!1,exports:{}};return u[t].call(n.exports,n,n.exports,f),n.loaded=!0,n.exports}f.c=h,f.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return f.d(e,{a:e}),e},f.d=(t,e)=>{for(var n in e)f.o(e,n)&&!f.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}
1}(),f.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),f.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},f.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var d=f(f.s=7458).Z;function p(t,e){var n,r,i,a,o,s,c;for(r=3&(n=new TextEncoder().encode(t)).length,i=n.length-r,a=e,c=0;c<i;)s=255&n[c]|(255&n[++c])<<8|(255&n[++c])<<16|(255&n[++c])<<24,++c,a^=s=(65535&(s=(s=(65535&s)*0xcc9e2d51+(((s>>>16)*0xcc9e2d51&65535)<<16)|0)<<15|s>>>17))*0x1b873593+(((s>>>16)*0x1b873593&65535)<<16)|0,a=(65535&(o=(65535&(a=a<<13|a>>>19))*5+(((a>>>16)*5&65535)<<16)|0))+27492+(((o>>>16)+58964&65535)<<16);switch(s=0,r){case 3:s^=(255&n[c+2])<<16;case 2:s^=(255&n[c+1])<<8;case 1:s^=255&n[c],a^=s=(65535&(s=(s=(65535&s)*0xcc9e2d51+(((s>>>16)*0xcc9e2d51&65535)<<16)|0)<<15|s>>>17))*0x1b873593+(((s>>>16)*0x1b873593&65535)<<16)|0}return a^=n.length,a^=a>>>16,a=(65535&a)*0x85ebca6b+(((a>>>16)*0x85ebca6b&65535)<<16)|0,a^=a>>>13,a=(65535&a)*0xc2b2ae35+(((a>>>16)*0xc2b2ae35&65535)<<16)|0,(a^=a>>>16)>>>0}var g=function(t){var e=t,n=/[ï¼ï¼ããï¼ï¼ããããï¼ï¼ï¼;:,.!?\-·ãããããããã[]ï½ï½\?\!\"\'\`\~\@\#\$\%\^\&\*\(\)\[\]\{\}\|\\\/\<\>]/;return[{regex:/([A-Za-z0-9_\u4e00-\u9fa5]+)\[([^\]]+)\]/g,wrapper:"["},{regex:/([A-Za-z0-9_\u4e00-\u9fa5]+)\(([^)]+)\)/g,wrapper:"("},{regex:/([A-Za-z0-9_\u4e00-\u9fa5]+)\{([^}]+)\}/g,wrapper:"{"}].forEach(function(t){var r=t.regex,i=t.wrapper;e=e.replace(r,function(t,e,r){if(/[\u4e00-\u9fa5]/.test(r)||n.test(r)||/\s/.test(r)||r.includes('"')||r.includes("'")){var a=r.replace(/\\\\/g,"\\\\\\\\").replace(/"/g,'\\"').replace(/'/g,"\\'");switch(i){case"[":return"".concat(e,'["').concat(a,'"]');case"(":return"".concat(e,'("').concat(a,'")');case"{":return"".concat(e,'{"').concat(a,'"}')}}return t})}),e=(e=(e=(e=(e=(e=e.replace(/[ââ]/g,"'")).replace(/[ï¼]/g,"?")).replace(/â¦/g,"...")).replace(/â/g,"--")).replace(/â/g,"-")).replace(/·/g,"\xb7")},y=function(t){var e=t;
1return(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/-->/g,"--\x3e")).replace(/<--/g,"<--")).replace(/-->>/g,"--\x3e>")).replace(/<<--/g,"<<--")).replace(/"/g,'"')).replace(/'/g,"'")).replace(/&/g,"&")).replace(/ /g," ")).replace(/</g,"<")).replace(/>/g,">")},m=function(t){var e=t.trim();(e=y(e=e.replace(/\u200B/g,"").replace(/\u200C/g,""))).match(/^(graph|flowchart|sequenceDiagram|classDiagram|stateDiagram|erDiagram|journey|gantt|pie|gitgraph|C4Context|mindmap|timeline|quadrantChart|xyChart|block|requirementDiagram)/m)||(e=e.includes("A[")||e.includes("B[")||e.includes("--\x3e")||e.includes("---")?"graph TD\n"+e:e.includes("participant")||e.includes("->>")||e.includes("--\x3e>")?"sequenceDiagram\n"+e:e.includes("class")||e.includes("interface")||e.includes("extends")?"classDiagram\n"+e:e.includes("[*]")||e.includes("state")||e.includes("--\x3e")?"stateDiagram\n"+e:"graph TD\n"+e);var n=e.split("\n"),r=n[0].trim(),i=n[n.length-1].trim();return r.includes("```")&&!i.includes("```")&&(n.push("```"),e=n.join("\n")),e.startsWith("```mermaid")?(e=e.replace(/^```mermaid\n/,"")).endsWith("```")&&(e=e.replace(/```$/,"")):e.startsWith("```")&&(e=e.replace(/^```\n/,"")).endsWith("```")&&(e=e.replace(/```$/,"")),(e=g(e=(e=(e=(e=(e=e.replace(/->>/g,"--\x3e>")).replace(/<-</g,"--<<")).replace(/([A-Za-z0-9_]+)\[([^\]]+)\]/g,"$1[$2]")).replace(/([A-Za-z0-9_]+)\(([^)]+)\)/g,"$1($2)")).replace(/([A-Za-z0-9_]+)\{([^}]+)\}/g,"$1{$2}"))).trim()},v=function(t){try{var e=m(t),n="render"+p(e,42).toString();return d.mermaidAPI.render(n,e,function(e){t=e}),'<div class="mermaid">'.concat(t,"</div>")}catch(e){try{var r="render"+p(t,42).toString();return d.mermaidAPI.render(r,t,function(e){t=e}),'<div class="mermaid">'.concat(t,"</div>")}catch(e){return console.error("Mermaid rendering error:",e),'<pre class="mermaid">'.concat(String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),"</pre>")}}},b={startOnLoad:!1,securityLevel:"loose",theme:"default",flowchart:{htmlLabels:!1,useMaxWidth:!0}},x=function(t,e){d.initialize(Object.assign(b,e));var n=t.renderer.rules.fence.bind(t.renderer.rules);t.renderer.rules.fence=function(t,e,r,i,a){var o=t[e],s=o.content.trim();return o.info.startsWith("mermaid")?v(s):n(t,e,r,i,a)}},_=n(85369),k=n(1948),w=null;function T(){if(!w){(w=new s.Z({html:!0,linkify:!1,breaks:!0,highlight:function(t,e){if(e&&o.Z.getLanguage(e)){var n=null!=e?e:"";return E(o.Z.highlight(t,{language:n}).value,n,t)}return E(o.Z.highlightAuto(t).value,"",t)}})).use(l(),{attrs:{target:"_blank",rel:"noopener"}}),w.use(i(),{blockClass:"katexmath-block rounded-md p10",errorColor:" #cc0000",delimiters:[{left:"$$",right:"$$",display:!0},{left:"\\[",right:"\\]",display:!0},{left:"\\(",right:"\\)",display:!1}],throwOnError:!0}),w.use(x),w.renderer.rules.table_open=function(t,e){var n=function(t,e){for(var n=0,r=e+1;r<t.length;r++){var i=t[r].type;if("th_open"===i&&(n+=1),"tr_close"===i||"table_close"===i)break}return n}(t,e);return'<div class="markdown-table-wrapper'.concat(n>3?" markdown-table-wrapper--scrollable":"",'"><table>\n')},w.renderer.rules.table_close=function(){return"</table></div>\n"};var t=w.render.bind(w);w.render=function(e,n){return t(function(t){if("string"!=typeof t||0===t.length)return t;for(var e=t.split(/(\r\n|\r|\n)/),n=!1,r="",i=0,a=0;a<e.length;a+=2){var o=e[a],s=o.match(/^ {0,3}(`{3,}|~{3,})(.*)$/);if(s){n?s[1][0]===r&&s[1].length>=i&&/^[ \t]*$/.test(s[2])&&(n=!1,r="",i=0):(n=!0,r=s[1][0],i=s[1].length);continue}if(!n&&/^ {0,3}---[ \t]*$/.test(o)){for(var c=a-2;c>=0&&/^[ \t]*$/.test(e[c]);)c-=2;for(var l=e[c]||"",u=a+2;u<e.length&&/^[ \t]*$/.test(e[u]);)u+=2;(function(t,e){var n=/^###[ \t]+åéèåæ¹æ¡[ \t]*$/.test(t)&&/^####[ \t]+æ¹æ¡Aï½æ ¸å¿ç´ æï¼/.test(e),r=t.startsWith("**ææ¿ä»·å¼**ï¼")&&(/^####[ \t]+æ¹æ¡[ABC]ï½æ ¸å¿ç´ æï¼/.test(e)||e.startsWith("æ¨å¯ä»¥ç´æ¥åå¤A/B/Cï¼ä¹å¯ä»¥è¯´"));return n||r})(l,e[u]||"")&&(a>=2&&""!==e[a-2]&&(e.splice(a,0,"",e[a-1]),a+=2),e[a+2]&&!/^[ \t]*$/.test(e[a+2])&&e.splice(a+1,0,e[a+1],""))}}return e.join("")}(e),n)},window.markdownInstance_copyCode=C}return w}function E(t,e){return'<pre class="code-block-wrapper"><div class="code-block-header" data-lang=\''.concat(e,'\'><span class="code-block-header__lang">').concat(e?"# "+e:"",'</span>\n <div class="code-block-header__copy pointer"><div class="copy-btn">å¤å¶ä»£ç <svg width="13" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M5.93432 8.7245C6.24673 9.03692 6.75327 9.03692 7.06569 8.7245L10.9548 4.83541C11.2672 4.52299 11.2672 4.01646 10.9548 3.70404C10.6424 3.39162 10.1358 3.39162 9.8234 3.70404L6.5 7.02744L3.1766 3.70404C2.86418 3.39162 2.35765 3.39162 2.04523 3.70404C1.73281 4.01646 1.73281 4.52299 2.04523 4.83541L5.93432 8.7245Z" fill="#90949D"/>\n </svg><div class="copy-btn__inner"><div class="wraper"><div class="inner-item" onclick="markdownInstance_copyCode(event)">æºä»£ç </div><div class="inner-item" onclick="markdownInstance_copyCode(event,\'md\')">markdown(é带è¯è¨)</div></div></div></div></div></div><code class="hljs code-block-body ').concat(e,'">').concat(t,"</code></pre>")}function C(t,e){var n,r=t.target,i=function(t,e){for(var n=t;n&&"BODY"!==n.tagName;){if(n.id&&n.id.startsWith(e))return n.id;n=n.parentElement}return""}(r,"user-received-item-");i&&(n=i.split("user-received-item-")[1]);var o=function(t,e){for(var n=t.parentElement;n;){if(n.classList.contains(e))return n;n=n.parentElement}return null}(r.parentElement,"code-block-header"),s=o.nextElementSibling,c=o.getAttribute("data-lang")||"";if(s){if(!s.textContent)return;var l,u,h="md"===e?"```"+c+"\n"+s.textContent+"```":s.textContent;navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(h||""):(l=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r})}return t}({origin:!0},{text:h||"",origin:!0}),u=null,(u=l.origin?document.createElement("textarea"):document.createElement("input")).setAttribute("readonly","readonly"),u.value=l.text,document.body.appendChild(u),u.select(),document.execCommand("copy")&&document.execCommand("copy"),document.body.removeChild(u)),_.Z.emit(k.GM.RECEIVED_ITEM_COPY,{action_log:{action:"copy",text:h,time_ms:new Date().getTime()},talk_record_id:n}),(0,a.Message)({message:"代ç å·²å¤å¶",type:"success",customClass:"toastMessage-dark-1"})}}function S(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.extractContent,r=void 0===n||n;if("string"!=typeof t||0===t.length)return{totalBlocks:0,currentBlockIndex:-1,isInPlainText:!0,hasUnclosedBlock:!1,blocks:[],segments:[]};for(var i=[],a=[],o=[],s=t.split(/\r\n|\r|\n/),c=/^ {0,3}(`{3,}|~{3,})([^\r\n]*)$/,l=/^ {0,3}(`{3,}|~{3,})[ \t]*$/,u=!1,h="",f=0,d=-1,p=null,g=0;g<s.length;g++){var y=s[g];if(!u){var m=y.match(c);if(!m){o.push(y);continue}var v=o.join("\n");""!==v.trim()&&a.push({type:"text",content:v,id:"text_".concat(a.length)}),o=[];var b=m[1],x=b[0],_=(m[2]||"").trim(),k=function(t,e){if(!t)return"";var n=t.trim();if(!n)return"";var r=n.split(/\s+/)[0];
1return"`"===e&&r.includes("`")?"":r}(_,x);u=!0,h=x,f=b.length,p={index:d=i.length,language:k,infoString:_,fenceChar:x,fenceLength:b.length,status:"generating",startLine:g,endLine:null,contentStartLine:g+1,contentEndLine:null,isUnclosed:!1},r&&(p.contentLines=[],p.content=null),i.push(p),a.push({type:"code",data:p,id:"code_".concat(p.index),content:null==p?void 0:p.content});continue}var w=y.match(l);w&&w[1][0]===h&&w[1].length>=f?(p.status="finished",p.endLine=g,r?(0===p.contentLines.length?(p.contentStartLine=null,p.contentEndLine=null,p.content=""):(p.contentEndLine=g-1,p.content=p.contentLines.join("\n")),delete p.contentLines):p.contentEndLine=g>p.contentStartLine?g-1:null,u=!1,h="",f=0,d=-1,p=null):r&&p.contentLines.push(y)}if(u&&p)p.isUnclosed=!0,p.contentEndLine=s.length-1,r&&(p.content=p.contentLines.join("\n"),delete p.contentLines);else if(!u){var T=o.join("\n");""!==T.trim()&&a.push({type:"text",content:T,id:"text_".concat(a.length)})}return{totalBlocks:i.length,currentBlockIndex:u?d:-1,isInPlainText:!u,hasUnclosedBlock:u,blocks:i,segments:a}}},80671:function(t,e,n){var r,i=n(39409),a=n(59198),o=n(27323).f,s=n(2341),c=n(3123),l=n(21554),u=n(21453),h=n(28891),f=n(96037),d=a("".slice),p=Math.min,g=h("endsWith");i({target:"String",proto:!0,forced:!(!f&&!g&&(r=o(String.prototype,"endsWith"))&&!r.writable)&&!g},{endsWith:function(t){var e=c(u(this));l(t);var n=c(t),r=arguments.length>1?arguments[1]:void 0,i=e.length,a=void 0===r?i:p(s(r),i);return d(e,a-n.length,a)===n}})}}]);
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.