!functiont(e,n,s){functioni(a,o){if(!n[a]){if(!e[a]){varc="function"==typeofrequire&&require;if(!o&&c)returnc(a,!0);if(r)returnr(a,!0);thrownewError("Cannot find module '"+a+"'")}varl=n[a]={exports:{}};e[a][0].call(l.exports,function(t){varn=e[a][1][t];returni(n?n:t)},l,l.exports,t,e,n,s)}returnn[a].exports}for(varr="function"==typeofrequire&&require,a=0;a<s.length;a++)i(s[a]);returni}({1:[function(){},{}],2:[function(t,e,n){(function(t){functione(t,e){for(varn=0,s=t.length-1;s>=0;s--){vari=t[s];"."===i?t.splice(s,1):".."===i?(t.splice(s,1),n++):n&&(t.splice(s,1),n--)}if(e)for(;n--;n)t.unshift("..");returnt}functions(t,e){if(t.filter)returnt.filter(e);for(varn=[],s=0;s<t.length;s++)e(t[s],s,t)&&n.push(t[s]);returnn}vari=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,r=function(t){returni.exec(t).slice(1)};n.resolve=function(){for(varn="",i=!1,r=arguments.length-1;r>=-1&&!i;r--){vara=r>=0?arguments[r]:t.cwd();if("string"!=typeofa)thrownewTypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,i="/"===a.charAt(0))}returnn=e(s(n.split("/"),function(t){return!!t}),!i).join("/"),(i?"/":"")+n||"."},n.normalize=function(t){vari=n.isAbsolute(t),r="/"===a(t,-1);returnt=e(s(t.split("/"),function(t){return!!t}),!i).join("/"),t||i||(t="."),t&&r&&(t+="/"),(i?"/":"")+t},n.isAbsolute=function(t){return"/"===t.charAt(0)},n.join=function(){vart=Array.prototype.slice.call(arguments,0);returnn.normalize(s(t,function(t){if("string"!=typeoft)thrownewTypeError("Arguments to path.join must be strings");returnt}).join("/"))},n.relative=function(t,e){functions(t){for(vare=0;e<t.length&&""===t[e];e++);for(varn=t.length-1;n>=0&&""===t[n];n--);returne>n?[]:t.slice(e,n-e+1)}t=n.resolve(t).substr(1),e=n.resolve(e).substr(1);for(vari=s(t.split("/")),r=s(e.split("/")),a=Math.min(i.length,r.length),o=a,c=0;a>c;c++)if(i[c]!==r[c]){o=c;break}for(varl=[],c=o;c<i.length;c++)l.push("..");returnl=l.concat(r.slice(o)),l.join("/")},n.sep="/",n.delimiter=":",n.dirname=function(t){vare=r(t),n=e[0],s=e[1];returnn||s?(s&&(s=s.substr(0,s.length-1)),n+s):"."},n.basename=function(t,e){varn=r(t)[2];returne&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},n.extname=function(t){returnr(t)[3]};vara="b"==="ab".substr(-1)?function(t,e,n){returnt.substr(e,n)}:function(t,e,n){return0>e&&(e=t.length+e),t.substr(e,n)}}).call(this,t("1YiZ5S"))},{"1YiZ5S":3}],3:[function(t,e){functionn(){}vars=e.exports={};s.nextTick=function(){vart="undefined"!=typeofwindow&&window.setImmediate,e="undefined"!=typeofwindow&&window.postMessage&&window.addEventListener;if(t)returnfunction(t){returnwindow.setImmediate(t)};if(e){varn=[];returnwindow.addEventListener("message",function(t){vare=t.source;if((e===window||null===e)&&"process-tick"===t.data&&(t.stopPropagation(),n.length>0)){vars=n.shift();s()}},!0),function(t){n.push(t),window.postMessage("process-tick","*")}}returnfunction(t){setTimeout(t,0)}}(),s.title="browser",s.browser=!0,s.env={},s.argv=[],s.on=n,s.addListener=n,s.once=n,s.off=n,s.removeListener=n,s.removeAllListeners=n,s.emit=n,s.binding=function(){thrownewError("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(){thrownewError("process.chdir is not supported")}},{}],4:[function(t,e,n){(function(e){vars=t("./graphDb"),r=t("./parser/flow"),a=t("./utils"),o=t("./sequenceRenderer"),c=function(t,e){varn=Object.keys(t),i=function(t,e){varn;for(n=0;n<e.length;n++)"undefined"!=typeofe[n]&&(t=t+e[n]+";");returnt};n.forEach(function(n){varr,a,o=t[n],c="",l=s.getClasses();if(o.classes.length>0)for(a=0;a<o.classes.length;a++)c=i(c,l[o.classes[a]].styles);elsec=i(c,l.default.styles);c=i(c,o.styles),r=void0===o.text?o.id:o.text,"round"===o.type?e.setNode(o.id,{labelType:"html",label:r,rx:5,ry:5,style:c,id:o.id}):"diamond"===o.type?e.setNode(o.id,{shape:"question",label:r,rx:0,ry:0,style:c,id:o.id}):e.setNode(o.id,{label:r,rx:0,ry:0,style:c,id:o.id})})},l=function(t,e){varn=0;t.forEach(function(t){n++,aHead="arrow_open"===t.type?"none":"vee"
return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){vart=this.match;returnt.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){vart=this.pastInput(),e=newArray(t.length+1).join("-");returnt+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){varn,s,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))),s=t[0].match(/(?:\r\n?|\n).*/g),s&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.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)returnn;if(this._backtrack){for(varrini)this[r]=i[r];return!1}return!1},next:function(){if(this.done)returnthis.EOF;this._input||(this.done=!0);vart,e,n,s;this._more||(this.yytext="",this.match="");for(vari=this._currentRules(),r=0;r<i.length;r++)if(n=this._input.match(this.rules[i[r]]),n&&(!e||n[0].length>e[0].length)){if(e=n,s=r,this.options.backtrack_lexer){if(t=this.test_match(n,i[r]),t!==!1)returnt;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}returne?(t=this.test_match(e,i[s]),t!==!1?t:!1):""===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(){vart=this.next();returnt?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){vart=this.conditionStack.length-1;returnt>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){returnthis.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){returnt=this.conditionStack.length-1-Math.abs(t||0),t>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){returnthis.conditionStack.length},options:{},performAction:function(t,e,n,s){switch(n){case0:return28;case1:return7;case2:return9;case3:return32;case4:return14;case5:return"MINUS";case6:return"PLUS";case7:return18;case8:return31;case9:return"SLASH";case10:return"PS";case11:return"PE";case12:return21;case13:return22;case14:return16;case15:return8;case16:return6}},rules:[/^(?:\n)/,/^(?:sequence\b)/,/^(?:TB\b)/,/^(?:[0-9]+)/,/^(?::)/,/^(?:-)/,/^(?:\+)/,/^(?:=)/,/^(?:[a-zåäöæøA-ZÅÄÖÆØ()]+)/,/^(?:\/)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\.)/,/^(?:\s)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],inclusive:!0}}};returnt}();returny.lexer=f,t.prototype=y,y.Parser=t,newt}();"undefined"!=typeoft&&"undefined"!=typeofn&&(n.parser=i,n.Parser=i.Parser,n.parse=function(){returni.parse.apply(i,arguments)},n.main=function(e){e[1]||(console.log("Usage: "+e[0]+" FILE"),s.exit(1));vari=t("fs").readFileSync(t("path").normalize(e[1]),"utf8");returnn.parser.parse(i)},"undefined"!=typeofe&&t.main===e&&n.main(s.argv.slice(1)))}).call(this,t("1YiZ5S"))},{"1YiZ5S":3,fs:1,path:2}],8:[function(t,e,n){vars={},i=[],r=[];n.addActor=function(t,e,n){cons