`);for(var[r,{detector:n}]of Object.entries(Zt))if(n(t,e))return r;throw new Kt("No diagram type detected matching given configuration for text: "+t)},"detectType"),Jt=Ae((...t)=>{for(var{id:e,detector:r,loader:n}of t)te(e,r,n)},"registerLazyLoadedDiagrams"),te=Ae((t,e,r)=>{Zt[t]&&R.warn(`Detectorwithkey${t}alreadyexists.Overwriting.`),Zt[t]={detector:e,loader:r},R.debug(`Detectorwithkey${t}added`+(r?" with loader":""))},"addDetector"),ee=Ae(t=>Zt[t].loader,"getDiagramLoader")}),jr=t(()=>{function B(){this.yy={}}var t=Ae(function(t,e,r,n){for(r=r||{},n=t.length;n--;r[t[n]]=e);return r},"o"),e=[1,24],r=[1,25],F=[1,26],$=[1,27],z=[1,28],n=[1,63],i=[1,64],a=[1,65],o=[1,66],s=[1,67],l=[1,68],h=[1,69],u=[1,29],d=[1,30],p=[1,31],g=[1,32],f=[1,33],m=[1,34],y=[1,35],v=[1,36],x=[1,37],b=[1,38],w=[1,39],k=[1,40],T=[1,41],E=[1,42],_=[1,43],C=[1,44],S=[1,45],A=[1,46],L=[1,47],N=[1,48],I=[1,50],G=[1,51],U=[1,52],q=[1,53],Y=[1,54],j=[1,55],H=[1,56],W=[1,57],V=[1,58],X=[1,59],K=[1,60],Z=[14,42],Q=[14,34,36,37,38,39,40,41,42,44,45,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,72,73,74],J=[12,14,34,36,37,38,39,40,41,42,44,45,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,72,73,74],M=[1,82],R=[1,83],D=[1,84],O=[1,85],P=[12,14,42],tt=[12,14,33,42],et=[12,14,33,42,76,77,79,80],rt=[12,33],nt=[34,36,37,38,39,40,41,44,45,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,72,73,74],e={trace:Ae(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},r={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
pleasereportwhatinputcausedthisbug`);return{type:"verb",mode:"text",body:n=n.slice(1,-1),star:i}}ul.hasOwnProperty(e[0])&&!ga[this.mode][e[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+e[0]+'" used in math mode',t),e=ul[e[0]]+e.slice(1));var r=Ks.exec(e);if(r&&("i"===(e=e.substring(0,r.index))?e="ı":"j"===e&&(e="ȷ")),ga[this.mode][e]){this.settings.strict&&"math"===this.mode&&0<=Ia.indexOf(e)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+e[0]+'" used in math mode',t);var n=ga[this.mode][e].group,i=hi.range(t),a=da.hasOwnProperty(n)?{type:"atom",mode:this.mode,family:n,loc:i,text:e}:{type:n,mode:this.mode,loc:i,text:e}}else{if(!(128<=e.charCodeAt(0)))return null;this.settings.strict&&(Fn(e.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+e[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+e[0]+'" ('+e.charCodeAt(0)+")",t)),a={type:"textord",mode:"text",loc:hi.range(t),text:e}}if(this.consume(),r)for(var o=0;o<r[0].length;o++){var s=r[0][o];if(!hl[s])throw new X("Unknown accent ' "+s+"'",t);var l=hl[s][this.mode]||hl[s].text;if(!l)throw new X("Accent "+s+" unsupported in "+this.mode+" mode",t);a={type:"accent",mode:this.mode,loc:hi.range(t),label:l,isStretchy:!1,isShifty:!0,base:a}}return a}}).endOfExpression=["}","\\endgroup","\\end","\\right","&"],pl=Ae(function(t,e){if(!("string"==typeof t||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");delete(t=new dl(t,e)).gullet.macros.current["\\df@tag"];var r=t.parse();if(delete t.gullet.macros.current["\\current@color"],delete t.gullet.macros.current["\\color"],t.gullet.macros.get("\\df@tag")){if(!e.displayMode)throw new X("\\tag works only in display equations");r=[{type:"tag",mode:"text",body:r,tag:t.subparse([new ui("\\df@tag")])}]}return r},"parseTree"),m=Ae(function(t,e,r){e.textContent="",t=yl(t,r).toNode(),e.appendChild(t)},"render"),typeof document<"u"&&"CSS1Compat"!==document.compatMode&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),m=Ae(function(){throw new X("KaTeX doesn't work in quirks mode.")},"render")),gl=Ae(function(t,e){return yl(t,e).toMarkup()},"renderToString"),fl=Ae(function(t,e){return e=new xi(e),pl(t,e)},"generateParseTree"),ml=Ae(function(t,e,r){if(!r.throwOnError&&t instanceof X)return(e=Z.makeSpan(["katex-error"],[new la(e)])).setAttribute("title",t.toString()),e.setAttribute("style","color:"+r.errorColor),e;throw t},"renderError"),yl=Ae(function(t,e){e=new xi(e);try{var r=pl(t,e);return _o(r,t,e)}catch(r){return ml(r,t,e)}},"renderToDomTree"),y=Ae(function(t,e){e=new xi(e);try{var r=pl(t,e);return Co(r,t,e)}catch(r){return ml(r,t,e)}},"renderToHTMLTree"),vl={version:"0.16.11",render:m,renderToString:gl,ParseError:X,SETTINGS_SCHEMA:vi,__parse:fl,__renderToDomTree:yl,__renderToHTMLTree:y,__setFontMetrics:$n,__defineSymbol:s,__defineFunction:l,__defineMacro:h,__domTree:{Span:ia,Anchor:aa,SymbolNode:la,SvgNode:ca,PathNode:ha,LineNode:ua}}});function bl(){let e="data-temp-href-target";wl.default.addHook("beforeSanitizeAttributes",t=>{"A"===t.tagName&&t.hasAttribute("target")&&t.setAttribute(e,t.getAttribute("target")??"")}),wl.default.addHook("afterSanitizeAttributes",t=>{"A"===t.tagName&&t.hasAttribute(e)&&(t.setAttribute("target",t.getAttribute(e)??""),t.removeAttribute(e),"_blank"===t.getAttribute("target"))&&t.setAttribute("rel","noopener")})}var wl,kl,Tl,El,_l,Cl,Sl,Al,Ll,Nl,Il,Ml,Rl,Dl,Ol,Pl,Bl,Fl,$l,zl,Gl,Ul,ql,Yl,jl,L,Hl,Wl,Vl,Xl,Kl,Zl,Ql,Jl,tc=t(()=>{wl=rt(Rn(),1),kl=/<br\s*\/?>/gi,Tl=Ae(t=>t?Ml(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),El=(()=>{let t=!1;return()=>{t||(bl(),t=!0)}})(),Ae(bl,"setupDompurifyHooks"),_l=Ae(t=>(El(),wl.default.sanitize(t)),"removeScript"),Cl=Ae((t,e)=>(!1!==e.flowchart?.htmlLabels&&("antiscript"===(
`,"ig");t=t.trim().replace(r,"").replace(/'/gm,'"'),R.debug(`Detectingdiagramdirective${null!==e?" type:"+e:""}basedonthetext:`+t);for(var n,i,a,o=[];null!==(n=Vt.exec(t));)n.index===Vt.lastIndex&&Vt.lastIndex++,(n&&!e||e&&n[1]?.match(e)||e&&n[2]?.match(e))&&(i=n[1]||n[2],a=n[3]?n[3].trim():n[4]?JSON.parse(n[4].trim()):null,o.push({type:i,args:a}));return 0===o.length?{type:t,args:null}:1===o.length?o[0]:o}catch(r){return R.error(`ERROR:${r.message}-Unabletoparsedirectivetype:'${e}'basedonthetext:'${t}'`),{type:void 0,args:null}}},"detectDirective"),S8=Ae(function(t){return t.replace(Vt,"")},"removeDirectives"),A8=Ae(function(t,e){for(var[r,n]of e.entries())if(n.match(t))return r;return-1},"isSubstringInArray"),Ae(c8,"interpolateToCurve"),Ae(h8,"formatUrl"),L8=Ae((e,...t)=>{let r=e.split("."),n=r.length-1,i=r[n],a=window;for(let t=0;t<n;t++)if(!(a=a[r[t]]))return void R.error(`Functionname:${e}notfoundinwindow`);a[i](...t)},"runFunc"),Ae(u8,"distance"),Ae(d8,"traverseEdge"),Ae(p8,"calcLabelPosition"),N8=Ae((t,e=2)=>(e=Math.pow(10,e),Math.round(t*e)/e),"roundNumber"),I8=Ae((t,e)=>{let r,n=e;for(var i of t){if(r){var a=u8(i,r);if(a<n)n-=a;else{if((a=n/a)<=0)return r;if(1<=a)return{x:i.x,y:i.y};if(0<a&&a<1)return{x:N8((1-a)*r.x+a*i.x,5),y:N8((1-a)*r.y+a*i.y,5)}}}r=i}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),M8=Ae((t,e,r)=>{R.info("our points "+JSON.stringify(e)),e[0]!==r&&(e=e.reverse());var r=I8(e,25),t=t?10:5,n=Math.atan2(e[0].y-r.y,e[0].x-r.x),i={x:0,y:0};return i.x=Math.sin(n)*t+(e[0].x+r.x)/2,i.y=-Math.cos(n)*t+(e[0].y+r.y)/2,i},"calcCardinalityPosition"),Ae(g8,"calcTerminalLabelPosition"),Ae(f8,"getStylesFromArray"),R8=0,D8=Ae(()=>(R8++,"id-"+Math.random().toString(36).substr(2,12)+"-"+R8),"generateId"),Ae(m8,"makeRandomHex"),O8=Ae(t=>m8(t.length),"random"),P8=Ae(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),B8=Ae(function(t,e){var r=e.text.replace(L.lineBreakRegex," "),[,n]=j8(e.fontSize);return(t=t.append("text")).attr("x",e.x),t.attr("y",e.y),t.style("text-anchor",e.anchor),t.style("font-family",e.fontFamily),t.style("font-size",n),t.style("font-weight",e.fontWeight),t.attr("fill",e.fill),void 0!==e.class&&t.attr("class",e.class),(n=t.append("tspan")).attr("x",e.x+2*e.textMargin),n.attr("fill",e.fill),n.text(r),t},"drawSimpleText"),F8=Cw((t,o,s)=>{if(!t||(s=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},s),L.lineBreakRegex.test(t)))return t;let l=t.split(" ").filter(Boolean),c=[],h="";return l.forEach((t,e)=>{var r,n,i=v8(t+" ",s),a=v8(h,s);h=o<i?({hyphenatedStrings:r,remainingWord:n}=$8(t,o,"-",s),c.push(h,...r),n):o<=a+i?(c.push(h),t):[h,t].filter(Boolean).join(" "),e+1===l.length&&c.push(h)}),c.filter(t=>""!==t).join(s.joinWith)},(t,e,r)=>""+t+e+r.fontSize+r.fontWeight+r.fontFamily+r.joinWith),$8=Cw((t,n,i="-",a)=>{a=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},a);let o=[...t],s=[],l="";return o.forEach((t,e)=>{var r,t=""+l+t;l=v8(t,a)>=n?(e+=1,e=o.length===e,r=t+i,s.push(e?t:r),""):t}),{hyphenatedStrings:s,remainingWord:l}},(t,e,r="-",n)=>""+t+e+r+n.fontSize+n.fontWeight+n.fontFamily),Ae(y8,"calculateTextHeight"),Ae(v8,"calculateTextWidth"),z8=Cw((t,e)=>{var{fontSize:e=12,fontFamily:r="Arial",fontWeight:n=400}=e;if(!t)return{width:0,height:0};var[,i]=j8(e),e=["sans-serif",r],a=t.split(L.lineBreakRegex),o=[];if(!(r=O("body")).remove)return{width:0,height:0,lineHeight:0};var s,l=r.append("svg");for(s of e){var c,h={width:0,height:0,lineHeight:0};for(c of a){var u=P8();if(u.text=c||k8,0===(u=((u=B8(l,u).style("font-size",i).style("font-weight",n).style("font-family",s))._groups||u)[0][0].getBBox()).width&&0===u.height)throw new Error("svg element not in render tree");h.width=Math.round(Math.max(h.width,u.width)),u=Math.round(u.height),h.height+=u,h.lineHeight=Math.round(Math.max(h.lineHeight,u))}o.push(h)}return l.remove(),o[isNaN(o[1].height)||isNaN(o[1].width)||isNaN(o[1].lineHei
`):[],n={type:"table",raw:i[0],header:[],align:[],rows:[]};if(e.length===t.length){for(var a of t)/^ *-+: *$/.test(a)?n.align.push("right"):/^ *:-+: *$/.test(a)?n.align.push("center"):/^ *:-+ *$/.test(a)?n.align.push("left"):n.align.push(null);for(let t=0;t<e.length;t++)n.header.push({text:e[t],tokens:this.lexer.inline(e[t]),header:!0,align:n.align[t]});for(var o of r)n.rows.push($_(o,n.header.length).map((t,e)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:n.align[e]})));return n}}}lheading(t){if(t=this.rules.block.lheading.exec(t))return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(t){var e;if(t=this.rules.block.paragraph.exec(t))return e=t[1].charAt(t[1].length-1)===`
`+this.renderer.text(t);a+=i?this.renderer.paragraph({type:"paragraph",raw:e,text:e,tokens:[{type:"text",raw:e,text:e}]}):e;continue}default:var l='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}return a}parseInline(e,r){r=r||this.renderer;let n="";for(let t=0;t<e.length;t++){var i=e[t];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){var a=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==a||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=a||"";continue}}var o=i;switch(o.type){case"escape":n+=r.text(o);break;case"html":n+=r.html(o);break;case"link":n+=r.link(o);break;case"image":n+=r.image(o);break;case"strong":n+=r.strong(o);break;case"em":n+=r.em(o);break;case"codespan":n+=r.codespan(o);break;case"br":n+=r.br(o);break;case"del":n+=r.del(o);break;case"text":n+=r.text(o);break;default:var s='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}return n}},SC=class{static{Ae(this,"_Hooks")}options;constructor(t){this.options=t||j_}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}},AC=class{static{Ae(this,"Marked")}defaults=R_();options=this.setOptions;parse=this.#e(TC.lex,CC.parse);parseInline=this.#e(TC.lexInline,CC.parseInline);Parser=CC;Renderer=EC;TextRenderer=_C;Lexer=TC;Tokenizer=eC;Hooks=SC;constructor(...t){this.use(...t)}walkTokens(t,r){let n=[];for(var i of t)switch(n=n.concat(r.call(this,i)),i.type){case"table":var e,a,o=i;for(e of o.header)n=n.concat(this.walkTokens(e.tokens,r));for(a of o.rows)for(var s of a)n=n.concat(this.walkTokens(s.tokens,r));break;case"list":o=i,n=n.concat(this.walkTokens(o.items,r));break;default:{let e=i;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(t=>{t=e[t].flat(1/0),n=n.concat(this.walkTokens(t,r))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,r)))}}return n}use(...t){let i=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(e=>{var t={...e};if(t.async=this.defaults.async||t.async||!1,e.extensions&&(e.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let r=i.renderers[n.name];r?i.renderers[n.name]=function(...t){var e=n.renderer.apply(this,t);return!1===e?r.apply(this,t):e}:i.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||"block"!==n.level&&"inline"!==n.level)throw new Error("extension level must be 'block' or 'inline'");var t=i[n.level];t?t.unshift(n.tokenizer):i[n.level]=[n.tokenizer],n.start&&("block"===n.level?i.startBlock?i.startBlock.push(n.start):i.startBlock=[n.start]:"inline"===n.level&&(i.startInline?i.startInline.push(n.start):i.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(i.childTokens[n.name]=n.childTokens)}),t.extensions=i),e.renderer){let i=this.defaults.renderer||new EC(this.defaults);for(var a in e.renderer){if(!(a in i))throw new Error(`renderer'${a}'doesnotexist`);if(!["options","parser"].includes(a)){let t=a,r=e.renderer[t],n=(e.useNewRenderer||(r=this.#t(r,t,i)),i[t]);i[t]=(...t)=>{var e=r.apply(i,t);return(!1===e?n.apply(i,t):e)||""}}}t.renderer=i}if(e.tokenizer){let i=this.defaults.tokenizer||new eC(this.defaults);for(var o in e.tokenizer){if(!(o in i))throw new Error(`tokenizer'${o}'doesnotexist`);if(!["options","rules","lexer"].includes(o)){let t=o,r=e.tokenizer[t],n=i[t];i[t]=(...t)=>{var e=r.apply(i,t);return!1===e?n.apply(i,t):e}}}t.tokenizer=i}if(e.hooks){let i=this.defaults.hooks||new SC;for(var s in e.hooks){if(!(s in i))throw new Error(`hook'${s}'doesnotexist`);if("options"!==s){let t=s,r=e.hooks[t],n=i[t];SC.passThroughHooks.has(s)?i[t]=t=>this.defaults.async?Promise.resolve(r.call(i,t)).then(t=>n.call(i,t)):(t=r.call(i,t),n.call(i,t)):i[t]=(...t)=>{var e=r.apply(i,t);return!1===e?n.apply(i,t):e}}}t.hooks=i}if(e.walkTokens){
`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return $C(t,e)}function $C(t,e,r=[],n=[]){if(0===t.length)return 0<n.length&&r.push(n),0<r.length?r:[];let i="";" "===t[0].content&&(i=" ",t.shift());var a=t.shift()??{content:" ",type:"normal"},o=[...n];return""!==i&&o.push({content:i,type:"normal"}),o.push(a),e(o)?$C(t,e,r,o):(0<n.length?(r.push(n),t.unshift(a)):a.content&&([o,n]=PC(e,a),r.push([o]),n.content)&&t.unshift(n),$C(t,e,r))}var zC=t(()=>{Ae(OC,"splitTextToChars"),Ae(PC,"splitWordToFitWidth"),Ae(BC,"splitWordToFitWidthRecursion"),Ae(FC,"splitLineToFitWidth"),Ae($C,"splitLineToFitWidthRecursion")});function GC(t,e){e&&t.attr("style",e)}async function UC(t,e,r,n,i=!1){let a=t.append("foreignObject"),o=a.append("xhtml:div"),s=e.label;e.label&&ql(e.label)&&(s=await jl(e.label.replace(L.lineBreakRegex,`
`),D()));var t=e.isNode?"nodeLabel":"edgeLabel",l=o.append("span");return l.html(s),GC(l,e.labelStyle),l.attr("class",t+" "+n),GC(o,e.labelStyle),o.style("display","table-cell"),o.style("white-space","nowrap"),o.style("line-height","1.5"),o.style("max-width",r+"px"),o.style("text-align","center"),o.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&o.attr("class","labelBkg"),(l=o.node().getBoundingClientRect()).width===r&&(o.style("display","table"),o.style("white-space","break-spaces"),o.style("width",r+"px"),l=o.node().getBoundingClientRect()),a.node()}function qC(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}function YC(t,e,r){return WC(e=qC(t=t.append("text"),1,e),r),r=e.node().getComputedTextLength(),t.remove(),r}function jC(t,e,r){return WC(e=qC(t=t.append("text"),1,e),[{content:r,type:"normal"}]),(r=e.node()?.getBoundingClientRect())&&t.remove(),r}function HC(e,t,r,n=!1){let i=t.append("g"),a=i.insert("rect").attr("class","background").attr("style","stroke: none"),o=i.append("text").attr("y","-10.1"),s=0;for(var l of r){var c,h=Ae(t=>YC(i,1.1,t)<=e,"checkWidth");for(c of h(l)?[l]:FC(l,h))WC(qC(o,s,1.1),c),s++}return(n?(t=o.node().getBBox(),a.attr("x",-2).attr("y",-2).attr("width",t.width+4).attr("height",t.height+4),i):o).node()}function WC(n,t){n.text(""),t.forEach((t,e)=>{var r=n.append("tspan").attr("font-style","em"===t.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===t.type?"bold":"normal");0===e?r.text(t.content):r.text(" "+t.content)})}function VC(t){return t.replace(/fa[bklrs]?:fa-[\w-]+/g,t=>`<iclass='${t.replace(":"," ")}'></i>`)}var XC,KC=t(()=>{i(),tc(),Q3(),e(),DC(),K8(),zC(),Ae(GC,"applyStyle"),Ae(UC,"addHtmlSpan"),Ae(qC,"createTspan"),Ae(YC,"computeWidthOfText"),Ae(jC,"computeDimensionOfText"),Ae(HC,"createFormattedText"),Ae(WC,"updateTextContentAndStyles"),Ae(VC,"replaceIconSubstring"),XC=Ae(async(t,e="",{style:r="",isTitle:n=!1,classes:i="",useHtmlLabels:a=!0,isNode:o=!0,width:s=200,addSvgBackground:l=!1}={},c)=>(R.info("XYZ createText",e,r,n,i,a,o,"addSvgBackground: ",l),a?(n=RC(e,c),a=VC(V8(n)),n=e.replace(/\\\\/g,"\\"),UC(t,{isNode:o,label:ql(e)?n:a,labelStyle:r.replace("fill:","color:")},s,i,l)):(n=HC(s,t,MC(e.replace(/<br\s*\/?>/g,"<br/>").replace("<br>","<br/>"),c),!!e&&l),o?(a=(r=/stroke:/.exec(r)?r.replace("stroke:","lineColor:"):r).replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:"),O(n).attr("style",a)):(i=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:"),O(n).select("rect").attr("style",i.replace(/background:/g,"fill:")),s=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:"),O(n).select("text").attr("style",s)),n)),"createText")});functionZC(t,e){e&&t.attr("style",e)}functionQC(t){vare=O(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),n=t.label,i=t.isNode?"nodeLabel":"edgeLabel",a=r.append("span");returna.html(n),ZC(a,t.labelStyle),a.attr("class",i),ZC(r,t.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap"),r.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}varJC,tS,eS=t(()=>{Q3(),e(),i(),tc(),K8(),KC(),Ae(ZC,"applyStyle"),Ae(QC,"addHtmlLabel"),JC=Ae((t,e,r,n)=>{leti=t||"";if("object"==typeofi&&(i=i[0]),Dl(D().flowchart.htmlLabels))returni=i.replace(/\\n|\n/g,"<br />"),R.debug("vertexText"+i),QC({isNode:n,label:VC(V8(i)),labelStyle:e.replace("fill:","color:")});vara,o=document.createElementNS("http://www.w3.org/2000/svg","text");o.setAttribute("style",e.replace("color:","fill:"));for(aof"string"==typeofi?i.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(i)?i:[]){vars=document.createElementNS("http://www.w3.org/2000/svg","tspan");s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),s.setAttribute("dy","1em"),s.setAttribute("x","0"),r?s.setAttribute("class","
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},F={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},i={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
`:case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:return{type:"Character",value:wK(this.popChar())}}}characterClass(){let t=[],e=!1;for(this.consumeChar("["),"^"===this.peekChar(0)&&(this.consumeChar("^"),e=!0);this.isClassAtom();){var r=this.classAtom();if(r.type,CK(r)&&this.isRangeDash()){this.consumeChar("-");var n=this.classAtom();if(n.type,CK(n)){if(n.value<r.value)throw Error("Range out of order in character class");t.push({from:r.value,to:n.value})}else kK(r.value,t),t.push(wK("-")),kK(n.value,t)}else kK(r.value,t)}return this.consumeChar("]"),{type:"Set",complement:e,value:t}}classAtom(){switch(this.peekChar()){case"]":case`
FordetailsSee:https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`)):(e=FQ(t.PATTERN,i.ensureOptimizations),E$(e)&&(m=!1),v(e,t=>{bJ(r,t,f[n])})):(i.ensureOptimizations&&GZ(`${HQ} TokenType: <${t.name}> is using a custom token pattern without providing <start_chars_hint> parameter.
FordetailsSee:https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),m=!1);return r},[])}),{emptyGroups:g,patternIdxToConfig:f,charCodeToPatternIdxToConfig:y,hasCustom:n,canBeOptimized:m}}function KQ(t,e){let r=[],n=QQ(t);r=r.concat(n.errors);var i=(t=JQ(n.valid)).valid;return r=(r=(r=(r=(r=r.concat(t.errors)).concat(ZQ(i))).concat(aJ(i))).concat(oJ(i,e))).concat(sJ(i))}function ZQ(t){let e=[],r=gF(t,t=>L$(t[TJ]));return e=(e=(e=(e=(e=e.concat(tJ(r))).concat(rJ(r))).concat(nJ(r))).concat(iJ(r))).concat(eJ(r))}function QQ(t){var e=gF(t,t=>!b(t,TJ));return{errors:x(e,t=>({message:"Token Type: ->"+t.name+"<- missing static 'PATTERN' property",type:XJ.MISSING_PATTERN,tokenTypes:[t]})),valid:BB(t,e)}}function JQ(t){var e=gF(t,t=>(t=t[TJ],!(L$(t)||C5(t)||b(t,"exec")||a$(t))));return{errors:x(e,t=>({message:"Token Type: ->"+t.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:XJ.INVALID_PATTERN,tokenTypes:[t]})),valid:BB(t,e)}}function tJ(t){class n extends DK{static{Ae(this,"EndAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitEndAnchor(t){this.found=!0}}return t=gF(t,t=>{t=t.PATTERN;try{var e=RQ(t),r=new n;return r.visit(e),r.found}catch{return SJ.test(t.source)}}),x(t,t=>({message:`Unexpected RegExp Anchor Error:
Seechevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORSfordetails.`,type:XJ.EOI_ANCHOR_FOUND,tokenTypes:[t]}))}function eJ(t){return t=gF(t,t=>t.PATTERN.test("")),x(t,t=>({message:"Token Type: ->"+t.name+"<- static 'PATTERN' must not match an empty string",type:XJ.EMPTY_MATCH_PATTERN,tokenTypes:[t]}))}function rJ(t){class n extends DK{static{Ae(this,"StartAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitStartAnchor(t){this.found=!0}}return t=gF(t,t=>{t=t.PATTERN;try{var e=RQ(t),r=new n;return r.visit(e),r.found}catch{return AJ.test(t.source)}}),x(t,t=>({message:`UnexpectedRegExpAnchorError:
Seehttps://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:XJ.SOI_ANCHOR_FOUND,tokenTypes:[t]}))}function nJ(t){return t=gF(t,t=>(t=t[TJ])instanceof RegExp&&(t.multiline||t.global)),x(t,t=>({message:"Token Type: ->"+t.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:XJ.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[t]}))}function iJ(t){let n=[],e=x(t,r=>sG(t,(t,e)=>(r.PATTERN.source!==e.PATTERN.source||f$(n,e)||e.PATTERN===ZJ.NA||(n.push(e),t.push(e)),t),[]));e=SO(e);var r=gF(e,t=>1<t.length);return x(r,t=>{var e=x(t,t=>t.name);return{message:`The same RegExp pattern ->${SF(t).PATTERN}<-has been used in all of the following Token Types: ${e.join(", ")} <-`,type:XJ.DUPLICATE_PATTERNS_FOUND,tokenTypes:t}})}function aJ(t){return t=gF(t,t=>!!b(t,"GROUP")&&(t=t.GROUP)!==ZJ.SKIPPED&&t!==ZJ.NA&&!a$(t)),x(t,t=>({message:"Token Type: ->"+t.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:XJ.INVALID_GROUP_TYPE_FOUND,tokenTypes:[t]}))}function oJ(t,e){return t=gF(t,t=>void 0!==t.PUSH_MODE&&!f$(e,t.PUSH_MODE)),x(t,t=>({message:`Token Type: ->${t.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${t.PUSH_MODE}<-which does not exist`,type:XJ.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[t]}))}function sJ(t){let a=[],e=sG(t,(t,e,r)=>{var n=e.PATTERN;return n!==ZJ.NA&&(a$(n)?t.push({str:n,idx:r,tokenType:e}):L$(n)&&cJ(n)&&t.push({str:n.source,idx:r,tokenType:e})),t},[]);return v(t,(n,i)=>{v(e,({str:t,idx:e,tokenType:r})=>{i<e&&lJ(t,n.PATTERN)&&(e=`Token: ->${r.name}<- can never be matched.
Seehttps://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`,a.push({message:e,type:XJ.UNREACHABLE_PATTERN,tokenTypes:[n,r]}))})}),a}function lJ(t,e){var r;if(L$(e))return null!==(r=e.exec(t))&&0===r.index;if(C5(e))return e(t,0,[],{});if(b(e,"exec"))return e.exec(t,0,[],{});if("string"==typeof e)return e===t;throw Error("non exhaustive match")}function cJ(e){return void 0===TF([".","\\","[","]","|","^","$","(",")","?","*","+","{"],t=>-1!==e.source.indexOf(t))}function hJ(t){var e=t.ignoreCase?"i":"";return new RegExp(`^(?:${t.source})`,e)}function uJ(t){var e=t.ignoreCase?"iy":"y";return new RegExp(""+t.source,e)}function dJ(t,e,r){let i=[];return b(t,EJ)||i.push({message:"A MultiMode Lexer cannot be initialized without a <"+EJ+`> property in its definition
`,type:XJ.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),b(t,_J)||i.push({message:"A MultiMode Lexer cannot be initialized without a <"+_J+`>propertyinitsdefinition
FordetailsSee:https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(e.issue===XJ.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the <line_breaks> option.
`+t)}tokenizeInternal(i,P){let t,a,e,r,n,o,s,l,c,h,B,u,d,F,p,g=i,$=g.length,f=0,m=0,z=this.hasCustom?0:Math.floor(i.length/10),y=new Array(z),v=[],x=this.trackStartLines?1:void 0,b=this.trackStartLines?1:void 0,w=gJ(this.emptyGroups),G=this.trackStartLines,k=this.config.lineTerminatorsPattern,T=0,E=[],_=[],C=[],U=[];Object.freeze(U);let S;function A(){return E}function L(t){return t=wJ(t),void 0===(t=_[t])?U:t}Ae(A,"getPossiblePatternsSlow"),Ae(L,"getPossiblePatternsOptimized");var q=Ae(t=>{var e;1===C.length&&void 0===t.tokenType.PUSH_MODE?(e=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(t),v.push({offset:t.startOffset,line:t.startLine,column:t.startColumn,length:t.image.length,message:e})):(C.pop(),t=GB(C),E=this.patternIdxToConfig[t],_=this.charCodeToPatternIdxToConfig[t],T=E.length,e=this.canModeBeOptimized[t]&&!1===this.config.safeMode,S=_&&e?L:A)},"pop_mode");function N(t){C.push(t),_=this.charCodeToPatternIdxToConfig[t],E=this.patternIdxToConfig[t],T=E.length,T=E.length,t=this.canModeBeOptimized[t]&&!1===this.config.safeMode,S=_&&t?L:A}Ae(N,"push_mode"),N.call(this,P);let I,Y=this.config.recoveryEnabled;for(;f<$;){o=null;var j=g.charCodeAt(f),H=S(j),W=H.length;for(t=0;t<W;t++){var M=(I=H[t]).pattern,V=(s=null,I.short);if(!1!==V?j===V&&(o=M):!0===I.isCustom?null!==(p=M.exec(g,f,y,w))?(o=p[0],void 0!==p.payload&&(s=p.payload)):o=null:(this.updateLastIndex(M,f),o=this.match(M,i,f)),null!==o){if(void 0!==(n=I.longerAlt)){var X=n.length;for(e=0;e<X;e++){var R=E[n[e]],D=R.pattern;if(!(l=null)===R.isCustom?null!==(p=D.exec(g,f,y,w))?(r=p[0],void 0!==p.payload&&(l=p.payload)):r=null:(this.updateLastIndex(D,f),r=this.match(D,i,f)),r&&r.length>o.length){o=r,s=l,I=R;break}}}break}}if(null!==o){if(c=o.length,void 0!==(h=I.group)&&(B=I.tokenTypeIdx,u=this.createTokenInstance(o,f,B,I.tokenType,x,b,c),this.handlePayload(u,s),!1===h?m=this.addToken(y,m,u):w[h].push(u)),i=this.chopInput(i,c),f+=c,b=this.computeNewColumn(b,c),!0===G&&!0===I.canLineTerminator){let t=0,e,r;for(k.lastIndex=0;!0===(e=k.test(o))&&(r=k.lastIndex-1,t++),!0===e;);0!==t&&(x+=t,b=c-r,this.updateTokenEndLineColumnLocation(u,h,r,t,x,b,c))}this.handleModes(I,q,N,u)}else{let t=f,e=x,r=b,n=!1===Y;for(;!1===n&&f<$;)for(i=this.chopInput(i,1),f++,a=0;a<T;a++){var O=E[a],K=O.pattern,Z=O.short;if(!1!==Z?g.charCodeAt(f)===Z&&(n=!0):n=!0===O.isCustom?null!==K.exec(g,f,y,w):(this.updateLastIndex(K,f),null!==K.exec(i)),!0===n)break}if(d=f-t,b=this.computeNewColumn(b,d),F=this.config.errorMessageProvider.buildUnexpectedCharactersMessage(g,t,d,e,r),v.push({offset:t,line:e,column:r,length:d,message:F}),!1===Y)break}}return this.hasCustom||(y.length=m),{tokens:y,groups:w,errors:v}}handleModes(t,e,r,n){var i;!0===t.pop?(i=t.push,e(n),void 0!==i&&r.call(this,i)):void 0!==t.push&&r.call(this,t.push)}chopInput(t,e){return t.substring(e)}updateLastIndex(t,e){t.lastIndex=e}updateTokenEndLineColumnLocation(t,e,r,n,i,a,o){void 0!==e&&(r=(e=r===o-1)?-1:0,1===n&&1==e||(t.endLine=i+r,t.endColumn=a-1-r))}computeNewColumn(t,e){return t+e}createOffsetOnlyToken(t,e,r,n){return{image:t,startOffset:e,tokenTypeIdx:r,tokenType:n}}createStartOnlyToken(t,e,r,n,i,a){return{image:t,startOffset:e,startLine:i,startColumn:a,tokenTypeIdx:r,tokenType:n}}createFullToken(t,e,r,n,i,a,o){return{image:t,startOffset:e,endOffset:e+o-1,startLine:i,endLine:i,startColumn:a,endColumn:a+o-1,tokenTypeIdx:r,tokenType:n}}addTokenUsingPush(t,e,r){return t.push(r),e}addTokenUsingMemberAccess(t,e,r){return t[e]=r,++e}handlePayloadNoCustom(t,e){}handlePayloadWithCustom(t,e){null!==e&&(t.payload=e)}matchWithTest(t,e,r){return!0===t.test(e)?e.substring(r,t.lastIndex):null}matchWithExec(t,e){return null!==(t=t.exec(e))?t[0]:null}}).SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",ZJ.NA=/NOT_APPLICABLE/});function ett(t){return rtt(t)?t.LABEL:t.name}function rtt(t){return a$(t.LABEL)&&""!==t.LABEL}function ntt(t){return itt(t)}function itt(t){var e=t.pattern,r
See:https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return b(t,ltt)&&(r.CATEGORIES=t[ltt]),OJ([r]),b(t,ctt)&&(r.LABEL=t[ctt]),b(t,htt)&&(r.GROUP=t[htt]),b(t,dtt)&&(r.POP_MODE=t[dtt]),b(t,utt)&&(r.PUSH_MODE=t[utt]),b(t,ptt)&&(r.LONGER_ALT=t[ptt]),b(t,gtt)&&(r.LINE_BREAKS=t[gtt]),b(t,ftt)&&(r.START_CHARS_HINT=t[ftt]),r}function att(t,e,r,n,i,a,o,s){return{image:e,startOffset:r,endOffset:n,startLine:i,endLine:a,startColumn:o,endColumn:s,tokenTypeIdx:t.tokenTypeIdx,tokenType:t}}function ott(t,e){return RJ(t,e)}var stt,ltt,ctt,htt,utt,dtt,ptt,gtt,ftt,mtt,ytt,vtt,xtt,btt=t(()=>{XG(),ttt(),QJ(),Ae(ett,"tokenLabel"),Ae(rtt,"hasTokenLabel"),stt="parent",ltt="categories",ctt="label",htt="group",utt="push_mode",dtt="pop_mode",ptt="longer_alt",gtt="line_breaks",ftt="start_chars_hint",Ae(ntt,"createToken"),Ae(itt,"createTokenInternal"),OJ([mtt=ntt({name:"EOF",pattern:ZJ.NA})]),Ae(att,"createTokenInstance"),Ae(ott,"tokenMatcher")}),wtt=t(()=>{btt(),XG(),vQ(),ytt={buildMismatchTokenMessage({expected:t,actual:e}){return`Expecting ${rtt(t)?`--> ${ett(t)} <--`:`token of type --> ${t.name} <--`} but found --> '${e.image}' <--`},buildNotAllInputParsedMessage({firstRedundant:t}){return"Redundant input, expecting EOF but found: "+t.image},buildNoViableAltMessage({expectedPathsPerAlt:t,actual:e,customUserDescription:r}){var n="Expecting: ",e=`
butfound:'`+SF(e).image+"'";returnr?n+r+e:n+`expecting at least one iteration which starts with one of these possible Token sequences::
<${x(t,t=>`[${x(t,t=>ett(t)).join(",")}]`).join(" ,")}>`+e}},Object.freeze(ytt),vtt={buildRuleNotFoundError(t,e){return"Invalid grammar, reference to a rule which is not defined: ->"+e.nonTerminalName+`<-
insidetoplevelrule:->`+t.name+"<-"}},xtt={buildDuplicateFoundError(t,e){function r(t){return t instanceof cQ?t.terminalType.name:t instanceof tQ?t.nonTerminalName:""}Ae(r,"getExtraProductionArgument");let n=t.name,i=SF(e),a=i.idx,o=mQ(i),s=r(i),l=0<a,c=`->${o}${l?a:""}<-${s?`with argument: ->${s}<-`:""}
ForFurtherdetails.`)}if(Zk(t))this.tokensMap=sG(t,(t,e)=>(t[e.name]=e,t),{});else if(b(t,"modes")&&lF(pR(u$(t.modes)),jJ))e=pR(u$(t.modes)),e=DG(e),this.tokensMap=sG(e,(t,e)=>(t[e.name]=e,t),{});else{if(!T5(t))throw new Error("<tokensDictionary> argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap=wO(t)}this.tokensMap.EOF=mtt,e=b(t,"modes")?pR(u$(t.modes)):u$(t),t=lF(e,t=>E$(t.categoryMatches)),this.tokenMatcher=t?DJ:RJ,OJ(u$(this.tokensMap))}defineRule(r,n,t){if(this.selfAnalysisDone)throw Error(`Grammarrule<${r}>maynotbedefinedafterthe'performSelfAnalysis'methodhasbeencalled'
Idxvaluemustbeanonenegativevaluesmallerthan`+(Crt+1))).KNOWN_RECORDER_ERROR=!0,t}var _rt,Crt,Srt,Art,Lrt,Nrt,Irt,Mrt=t(()=>{XG(),vQ(),ttt(),QJ(),btt(),qrt(),Get(),_rt={description:"This Object indicates the Parser is during Recording Phase"},Object.freeze(_rt),Crt=Math.pow(2,8)-1,OJ([Srt=ntt({name:"RECORDING_PHASE_TOKEN",pattern:ZJ.NA})]),Art=att(Srt,`ThisITokenindicatestheParserisinRecordingPhase
See:https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1),Object.freeze(Art),Lrt={name:`This CSTNode indicates the Parser is in Recording Phase
`))})}constructor(t,e){if(this.definitionErrors=[],this.selfAnalysisDone=!1,this.initErrorHandler(e),this.initLexerAdapter(),this.initLooksAhead(e),this.initRecognizerEngine(t,e),this.initRecoverable(e),this.initTreeBuilder(e),this.initContentAssist(),this.initGastRecorder(e),this.initPerformanceTracer(e),b(e,"ignoredIssues"))throw new Error(`The<ignoredIssues>IParserConfigpropertyhasbeendeprecated.
`}var Blt,Flt,$lt,zlt,Glt,Ult,qlt,Ylt,jlt,Hlt,Wlt,Vlt,Xlt,Klt,Zlt,Qlt=t(()=>{Wat(),QK(),dst(),Ae(vlt,"parseJSDoc"),Ae(xlt,"isJSDoc"),Ae(blt,"getLines"),Blt=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,Flt=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu,Ae(wlt,"tokenize"),Ae(klt,"buildInlineTokens"),$lt=/\S/,zlt=/\s*$/,Ae(Tlt,"skipWhitespace"),Ae(Elt,"lastCharacter"),Ae(_lt,"parseJSDocComment"),Ae(Clt,"parseJSDocElement"),Ae(Slt,"appendEmptyLine"),Ae(Alt,"parseJSDocText"),Ae(Llt,"parseJSDocInline"),Ae(Nlt,"parseJSDocTag"),Ae(Ilt,"parseJSDocLine"),Ae(Mlt,"normalizeOptions"),Ae(Rlt,"normalizeOption"),Glt=class{static{Ae(this,"JSDocCommentImpl")}constructor(t,e){this.elements=t,this.range=e}getTag(e){return this.getAllTags().find(t=>t.name===e)}getTags(e){return this.getAllTags().filter(t=>t.name===e)}getAllTags(){return this.elements.filter(t=>"name"in t)}toString(){let t="";for(var e of this.elements)0===t.length?t=e.toString():(e=e.toString(),t+=Plt(t)+e);return t.trim()}toMarkdown(t){let e="";for(var r of this.elements)0===e.length?e=r.toMarkdown(t):(r=r.toMarkdown(t),e+=Plt(e)+r);return e.trim()}},Ult=class{static{Ae(this,"JSDocTagImpl")}constructor(t,e,r,n){this.name=t,this.content=e,this.inline=r,this.range=n}toString(){let t="@"+this.name,e=this.content.toString();return 1===this.content.inlines.length?t=t+" "+e:1<this.content.inlines.length&&(t=t+`
${o.x+10},`+(y+m+2)).attr("transform","translate(12,12) rotate(45, "+o.x+","+s+")"),p.attr("cx",o.x+2).attr("cy",y).attr("transform","translate(12,12) rotate(45, "+o.x+","+s+")"),d.attr("x",o.x+5).attr("y",y+3).attr("transform","translate(14,14) rotate(45, "+o.x+","+s+")"))}}},"drawCommitTags"),pdt=Ae(t=>{switch(t.customType??t.type){case uut.NORMAL:return"commit-normal";case uut.REVERSE:return"commit-reverse";case uut.HIGHLIGHT:return"commit-highlight";case uut.MERGE:return"commit-merge";case uut.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),gdt=Ae((t,e,r,n)=>{var i,a={x:0,y:0};return 0<t.parents.length?(i=ndt(t.parents))?(i=n.get(i)??a,"TB"===e?i.y+40:"BT"===e?(n.get(t.id)??a).y-40:i.x+40):0:"TB"===e?30:"BT"===e?(n.get(t.id)??a).y-40:0},"calculatePosition"),fdt=Ae((t,e,r)=>{var r="BT"===tdt&&r?e:e+10,e="TB"===tdt||"BT"===tdt?r:Xut.get(t.branch)?.pos,n="TB"===tdt||"BT"===tdt?Xut.get(t.branch)?.pos:r;if(void 0===n||void 0===e)throw new Error("Position were undefined for commit "+t.id);return{x:n,y:e,posWithOffset:r}},"getCommitPosition"),mdt=Ae((t,a,o)=>{if(!Vut)throw new Error("GitGraph config not found");let s=t.append("g").attr("class","commit-bullets"),l=t.append("g").attr("class","commit-labels"),c="TB"===tdt||"BT"===tdt?30:0,e=[...a.keys()],h=Vut?.parallelCommits??!1,r=Ae((t,e)=>(t=a.get(t)?.seq,e=a.get(e)?.seq,void 0!==t&&void 0!==e?t-e:0),"sortKeys"),n=e.sort(r);"BT"===tdt&&(h&&adt(n,a,c),n=n.reverse()),n.forEach(t=>{var e=a.get(t);if(!e)throw new Error("Commit not found for key "+t);h&&(c=gdt(e,tdt,c,Kut));var r,n,i,t=fdt(e,c,h);o&&(r=pdt(e),n=e.customType??e.type,i=Xut.get(e.branch)?.index??0,hdt(s,e,t,r,i,n),udt(l,e,t,c),ddt(l,e,t,c)),"TB"===tdt||"BT"===tdt?Kut.set(e.id,{x:t.x,y:t.posWithOffset}):Kut.set(e.id,{x:t.posWithOffset,y:t.y}),(c="BT"===tdt&&h?c+40:c+40+10)>Jut&&(Jut=c)})},"drawCommits"),ydt=Ae((e,r,t,n,i)=>{let a=(("TB"===tdt||"BT"===tdt?t.x<n.x:t.y<n.y)?r:e).branch,o=Ae(t=>t.branch===a,"isOnBranchToGetCurve"),s=Ae(t=>t.seq>e.seq&&t.seq<r.seq,"isBetweenCommits");return[...i.values()].some(t=>s(t)&&o(t))},"shouldRerouteArrow"),vdt=Ae((t,e,r=0)=>{let n=t+Math.abs(t-e)/2;var i;return 5<r?n:Qut.every(t=>10<=Math.abs(t-n))?(Qut.push(n),n):(i=Math.abs(t-e),vdt(t,e-i/5,r+1))},"findLane"),xdt=Ae((t,e,r,n)=>{var i,a=Kut.get(e.id),o=Kut.get(r.id);if(void 0===a||void 0===o)throw new Error(`Commitpositionsnotfoundforcommits${e.id}and`+r.id);let s=ydt(e,r,a,o,n),l="",c="",h=0,u=0,d=Xut.get(r.branch)?.index;r.type===uut.MERGE&&e.id!==r.parents[0]&&(d=Xut.get(e.branch)?.index);let p;if(s?(l="A 10 10, 0, 0, 0,",c="A 10 10, 0, 0, 1,",h=10,u=10,n=a.y<o.y?vdt(a.y,o.y):vdt(o.y,a.y),i=a.x<o.x?vdt(a.x,o.x):vdt(o.x,a.x),p="TB"===tdt?a.x<o.x?`M${a.x}${a.y}L${i-h}${a.y}${c}${i}${a.y+u}L${i}${o.y-h}${l}${i+u}${o.y}L${o.x}`+o.y:(d=Xut.get(e.branch)?.index,`M${a.x}${a.y}L${i+h}${a.y}${l}${i}${a.y+u}L${i}${o.y-h}${c}${i-u}${o.y}L${o.x}`+o.y):"BT"===tdt?a.x<o.x?`M${a.x}${a.y}L${i-h}${a.y}${l}${i}${a.y-u}L${i}${o.y+h}${c}${i+u}${o.y}L${o.x}`+o.y:(d=Xut.get(e.branch)?.index,`M${a.x}${a.y}L${i+h}${a.y}${c}${i}${a.y-u}L${i}${o.y+h}${l}${i-u}${o.y}L${o.x}`+o.y):a.y<o.y?`M${a.x}${a.y}L${a.x}${n-h}${l}${a.x+u}${n}L${o.x-h}${n}${c}${o.x}${n+u}L${o.x}`+o.y:(d=Xut.get(e.branch)?.index,`M${a.x}${a.y}L${a.x}${n+h}${c}${a.x+u}${n}L${o.x-h}${n}${l}${o.x}${n-u}L${o.x}`+o.y)):(l="A 20 20, 0, 0, 0,",c="A 20 20, 0, 0, 1,",h=20,u=20,"TB"===tdt?(a.x<o.x&&(p=r.type===uut.MERGE&&e.id!==r.parents[0]?`M${a.x}${a.y}L${a.x}${o.y-h}${l}${a.x+u}${o.y}L${o.x}`+o.y:`M${a.x}${a.y}L${o.x-h}${a.y}${c}${o.x}${a.y+u}L${o.x}`+o.y),a.x>o.x&&(l="A 20 20, 0, 0, 0,",c="A 20 20, 0, 0, 1,",h=20,u=20,p=r.type===uut.MERGE&&e.id!==r.parents[0]?`M${a.x}${a.y}L${a.x}${o.y-h}${c}${a.x-u}${o.y}L${o.x}`+o.y:`M${a.x}${a.y}L${o.x+h}${a.y}${l}${o.x}${a.y+u}L${o.x}`+o.y),a.x===o.x&&(p=`M${a.x}${a.y}L${o.x}`+o.y)):"BT"===tdt?(a.x<o.x&&(p=r.type===uut.MERGE&&e.id!==r.parent
`,"id:",e,r),!Vut)throw new Error("GitGraph config not found");let o=Vut.rotateCommitLabel??!1,i=n.db,s=(Zut=i.getCommits(),t=i.getBranchesAsObjArray(),tdt=i.getDirection(),O(`[id="${e}"]`)),l=0;t.forEach((t,e)=>{var r=rdt(t.name),n=s.append("g"),i=n.insert("g").attr("class","branchLabel"),a=i.insert("g").attr("class","label branch-label"),r=(a.node()?.appendChild(r),r.getBBox());l=kdt(t.name,l,e,r,o),a.remove(),i.remove(),n.remove()}),mdt(s,Zut,!1),Vut.showBranches&&wdt(s,t),bdt(s,Zut),mdt(s,Zut,!0),H8.insertTitle(s,"gitTitleText",Vut.titleTopMargin??0,i.getDiagramTitle()),bc(void 0,s,Vut.diagramPadding,Vut.useMaxWidth)},"draw"),Edt={draw:Tdt}}),Ndt=t(()=>{_dt=Ae(e=>`
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},i={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},n={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},i={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},o={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},B={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},r={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},n={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},i={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},i={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},c={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},r={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(x==d?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:g.match,token:this.terminals_[x]||x,line:g.yylineno,loc:m,expected:A})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+x);switch(k[0]){case 1:n.push(x),a.push(g.yytext),o.push(g.yylloc),n.push(k[1]),x=null,b?(x=b,b=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(E=this.productions_[k[1]][1],C.$=a[a.length-E],C._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},y&&(C._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),typeof(_=this.performAction.apply(C,[l,h,c,f.yy,k[1],a,o].concat(p)))<"u")return _;E&&(n=n.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),n.push(this.productions_[k[1]][0]),a.push(C.$),o.push(C._$),_=s[n[n.length-2]][n[n.length-1]],n.push(_);break;case 3:return!0}}return!0},"parse")},d={EOF:1,parseError:Ae(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:Ae(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:Ae(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:Ae(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g),t=(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e,this.match.split(/(?:\r\n?|\n)/g)),n=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1),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:r?(r.length===t.length?this.yylloc.first_column:0)+t[t.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:Ae(function(){return this._more=!0,this},"more"),reject:Ae(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+e+"^"},"showPosition"),test_match:Ae(function(t,e){var r,n;if(this.options.backtrack_lexer&&(n={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)&&(n.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],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var i in n)this[i]=n[i];return!1},"test_match"),next:Ae(function(){if(this.done)return this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!e||r[0].length>e[0].length)){if(e=r,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,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[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
`,"getStyles"),oIt=aIt});function cIt(t,e){if(0===t||!Number.isInteger(t))throw new Error("Columns must be an integer !== 0.");if(e<0||!Number.isInteger(e))throw new Error("Position must be a non-negative integer."+e);return t<0?{px:e,py:0}:1===t?{px:0,py:e}:{px:e%t,py:Math.floor(e/t)}}function hIt(o,s,l=0,c=0){if(R.debug("setBlockSizes abc95 (start)",o.id,o?.size?.x,"block width =",o?.size,"sieblingWidth",l),o?.size?.width||(o.size={width:l,height:c,x:0,y:0}),0<o.children?.length){for(var h of o.children)hIt(h,s);var u,d,p,g=fIt(o),f=g.width,m=g.height;R.debug("setBlockSizes abc95 maxWidth of",o.id,":s children is ",f,m);for(u of o.children)u.size&&(R.debug(`abc95Settingsizeofchildrenof${o.id}id=${u.id}${f}${m}`+JSON.stringify(u.size)),u.size.width=f*(u.widthInColumns??1)+gIt*((u.widthInColumns??1)-1),u.size.height=m,u.size.x=0,u.size.y=0,R.debug(`abc95updatingsizeof${o.id}childrenchild:${u.id}maxWidth:${f}maxHeight:`+m));for(d of o.children)hIt(d,s,f,m);let t=o.columns??-1,e=0;for(p of o.children)e+=p.widthInColumns??1;let r=o.children.length,n=(0<t&&t<e&&(r=t),Math.ceil(e/r)),i=r*(f+gIt)+gIt,a=n*(m+gIt)+gIt;if(i<l){R.debug(`Detectedtosmallsiebling:abc95${o.id}sieblingWidth${l}sieblingHeight${c}width`+i),i=l,a=c;var y,v=(l-r*gIt-gIt)/r,x=(c-n*gIt-gIt)/n;R.debug("Size indata abc88",o.id,"childWidth",v,"maxWidth",f),R.debug("Size indata abc88",o.id,"childHeight",x,"maxHeight",m),R.debug("Size indata abc88 xSize",r,"padding",gIt);for(y of o.children)y.size&&(y.size.width=v,y.size.height=x,y.size.x=0,y.size.y=0)}if(R.debug(`abc95(finalecalc)${o.id}xSize${r}ySize${n}columns${t}${o.children.length}width=`+Math.max(i,o.size?.width||0)),i<(o?.size?.width||0)&&(i=o?.size?.width||0,0<(g=0<t?Math.min(o.children.length,t):o.children.length))){var b,w=(i-g*gIt-gIt)/g;R.debug("abc95 (growing to fit) width",o.id,i,o.size?.width,w);for(b of o.children)b.size&&(b.size.width=w)}o.size={width:i,height:a,x:0,y:0}}R.debug("setBlockSizes abc94 (done)",o.id,o?.size?.x,o?.size?.width,o?.size?.y,o?.size?.height)}function uIt(n,i){R.debug(`abc85layoutblocks(=>layoutBlocks)${n.id}x:${n?.size?.x}y:${n?.size?.y}width:`+n?.size?.width);var a=n.columns??-1;if(R.debug("layoutBlocks columns abc95",n.id,"=>",a,n),n.children&&0<n.children.length){var o,s=n?.children[0]?.size?.width??0,s=n.children.length*s+(n.children.length-1)*gIt;R.debug("widthOfChildren 88",s,"posX");let t=0,e=(R.debug("abc91 block?.size?.x",n.id,n?.size?.x),n?.size?.x?n?.size?.x+(-n?.size?.width/2||0):-gIt),r=0;for(o of n.children){var l,c,h,u,d=n;o.size&&({width:l,height:c}=o.size,{px:u,py:h}=cIt(a,t),h!=r&&(r=h,e=n?.size?.x?n?.size?.x+(-n?.size?.width/2||0):-gIt,R.debug("New row in layout for block",n.id," and child ",o.id,r)),R.debug(`abc89layoutblocks(child)id:${o.id}Pos:${t}(px,py)${u},${h}(${d?.size?.x},${d?.size?.y})parent:${d.id}width:`+l+gIt),d.size&&(u=l/2,o.size.x=e+gIt+u,R.debug(`abc91layoutblocks(calc)px,pyid:${o.id}startingPos=X${e}newstartingPosX${o.size.x}${u}padding=${gIt}width=${l}halfWidth=${u}=>x:${o.size.x}y:${o.size.y}${o.widthInColumns}(width*(child?.w||1))/2`+l*(o?.widthInColumns??1)/2),e=o.size.x+u,o.size.y=d.size.y-d.size.height/2+h*(c+gIt)+c/2+gIt,R.debug(`abc88layoutblocks(calc)px,pyid:${o.id}startingPosX${e}${gIt}${u}=>x:${o.size.x}y:${o.size.y}${o.widthInColumns}(width*(child?.w||1))/2`+l*(o?.widthInColumns??1)/2)),o.children&&uIt(o,i),t+=o?.widthInColumns??1,R.debug("abc88 columnsPos",o,t))}}R.debug(`layoutblocks(<==layoutBlocks)${n.id}x:${n?.size?.x}y:${n?.size?.y}width:`+n?.size?.width)}function dIt(t,{minX:e,minY:r,maxX:n,maxY:i}={minX:0,minY:0,maxX:0,maxY:0}){var a,o,s,l;if(t.size&&"root"!==t.id&&({x:a,y:o,width:s,height:l}=t.size,a-s/2<e&&(e=a-s/2),o-l/2<r&&(r=o-l/2),n<a+s/2&&(n=a+s/2),i<o+l/2)&&(i=o+l/2),t.children)for(var c of t.children)({minX:e,minY:r,maxX:n,maxY:i}=dIt(c,{minX:e,minY:r,maxX:n,maxY:i}));return{minX:e,minY:r,maxX:n,maxY:i}}function pIt(t){var e,r,n=t.getBlock("root");if(n)return hIt(n,t,0,0),uIt(n,t),R.debug("getBlocks",
.edge{
stroke-width:${t.archEdgeWidth};
stroke:${t.archEdgeColor};
fill:none;
}
.arrow{
fill:${t.archEdgeArrowColor};
}
.node-bkg{
fill:none;
stroke:${t.archGroupBorderColor};
stroke-width:${t.archGroupBorderWidth};
stroke-dasharray:8;
}
.node-icon-text{
display:flex;
align-items:center;
}
.node-icon-text>div{
color:#fff;
margin:1px;
height:fit-content;
text-align:center;
overflow:hidden;
display:-webkit-box;
-webkit-box-orient:vertical;
}
`,"getStyles"),yMt=mMt}),SMt=jMt((r,n)=>{Ae(function(t,e){"object"==typeof r&&"object"==typeof n?n.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof r?r.layoutBase=e():t.layoutBase=e()},"webpackUniversalModuleDefinition")(r,function(){return r=[function(t,e,r){function n(){}Ae(n,"LayoutConstants"),n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_HALF_SIZE=(n.SIMPLE_NODE_SIZE=40)/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.INITIAL_WORLD_BOUNDARY=(n.WORLD_BOUNDARY=1e6)/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,t.exports=n},function(t,e,r){var n,i=r(2),a=r(8),o=r(9);function s(t,e,r){i.call(this,r),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=r,this.bendpoints=[],this.source=t,this.target=e}for(n in Ae(s,"LEdge"),s.prototype=Object.create(i.prototype),i)s[n]=i[n];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.prototype.getOtherEnd=function(t){if(this.source===t)return this.target;if(this.target===t)return this.source;throw"Node is not incident with this edge"},s.prototype.getOtherEndInGraph=function(t,e){for(var r=this.getOtherEnd(t),n=e.getGraphManager().getRoot();;){if(r.getOwner()==e)return r;if(r.getOwner()==n)break;r=r.getOwner().getParent()}return null},s.prototype.updateLength=function(){var t=new Array(4);this.isOverlapingSourceAndTarget=a.getIntersection(this.target.getRect(),this.source.getRect(),t),this.isOverlapingSourceAndTarget||(this.lengthX=t[0]-t[2],this.lengthY=t[1]-t[3],Math.abs(this.lengthX)<1&&(this.lengthX=o.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=o.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,r){function n(t){this.vGraphObject=t}Ae(n,"LGraphObject"),t.exports=n},function(t,e,r){var n,i=r(2),a=r(10),o=r(13),s=r(0),l=r(16),c=r(5);function h(t,e,r,n){i.call(this,n=null==r&&null==n?e:n),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=a.MIN_VALUE,this.inclusionTreeDepth=a.MAX_VALUE,this.vGraphObject=n,this.edges=[],this.graphManager=t,this.rect=null!=r&&null!=e?new o(e.x,e.y,r.width,r.height):new o}for(n in Ae(h,"LNode"),h.prototype=Object.create(i.prototype),i)h[n]=i[n];h.prototype.getEdges=function(){return this.edges},h.prototype.getChild=function(){return this.child},h.prototype.getOwner=function(){return this.owner},h.prototype.getWidth=function(){return this.rect.width},h.prototype.setWidth=function(t){this.rect.width=t},h.prototype.getHeight=function(){return this.rect.height},h.prototype.setHeight=function(t){this.rect.height=t},h.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},h.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},h.prototype.getCenter=function(){return new c(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},h.prototype.getLocation=function(){return new c(this.rect.x,this.rect.y)},h.prototype.getRect=function(){return this.rect},h.prototype.getDiagonal=function(){return Math.sqrt(t
`;return l.replace(/\n$/,"")}Ae(MDt,"getLine"),Ae(RDt,"padStart"),Ae(DDt,"makeSnippet");var ODt=DDt,PDt=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],BDt=["scalar","sequence","mapping"];function FDt(t){var r={};return null!==t&&Object.keys(t).forEach(function(e){t[e].forEach(function(t){r[String(t)]=e})}),r}function $Dt(e,t){if(t=t||{},Object.keys(t).forEach(function(t){if(-1===PDt.indexOf(t))throw new IDt('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(t){return t},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=FDt(t.styleAliases||null),-1===BDt.indexOf(this.kind))throw new IDt('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}Ae(FDt,"compileStyleAliases"),Ae($Dt,"Type$1");var zDt=$Dt;function GDt(t,e){var i=[];return t[e].forEach(function(r){var n=i.length;i.forEach(function(t,e){t.tag===r.tag&&t.kind===r.kind&&t.multi===r.multi&&(n=e)}),i[n]=r}),i}function UDt(){var t,e,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function n(t){t.multi?(r.multi[t.kind].push(t),r.multi.fallback.push(t)):r[t.kind][t.tag]=r.fallback[t.tag]=t}for(Ae(n,"collectType"),t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(n);return r}function qDt(t){return this.extend(t)}function YDt(t){var e;return null===t||1===(e=t.length)&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function jDt(){return null}function HDt(t){return null===t}function WDt(t){var e;return null!==t&&(4===(e=t.length)&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t))}function VDt(t){return"true"===t||"True"===t||"TRUE"===t}function XDt(t){return"[object Boolean]"===Object.prototype.toString.call(t)}Ae(GDt,"compileList"),Ae(UDt,"compileMap"),Ae(qDt,"Schema$1"),qDt.prototype.extend=Ae(function(t){var e=[],r=[];if(t instanceof zDt)r.push(t);else if(Array.isArray(t))r=r.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new IDt("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(r=r.concat(t.explicit))}return e.forEach(function(t){if(!(t instanceof zDt))throw new IDt("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new IDt("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new IDt("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(t){if(!(t instanceof zDt))throw new IDt("Specified list of YAML types (or a single Type object) contains a non-Type object.")}),(t=Object.create(qDt.prototype)).implicit=(this.implicit||[]).concat(e),t.explicit=(this.explicit||[]).concat(r),t.compiledImplicit=GDt(t,"implicit"),t.compiledExplicit=GDt(t,"explicit"),t.compiledTypeMap=UDt(t.compiledImplicit,t.compiledExplicit),t},"extend"),J=new qDt({explicit:[new zDt("tag:yaml.org,2002:str",{kind:"scalar",construct:Ae(function(t){return null!==t?t:""},"construct")}),new zDt("tag:yaml.org,2002:seq",{kind:"sequence",construct:Ae(function(t){return null!==t?t:[]},"construct")}),new zDt("tag:yaml.org,2002:map",{kind:"mapping",construct:Ae(function(t){return null!==t?t:{}},"construct")})]}),Ae(YDt,"resolveYamlNull"),Ae(jDt,"constructYamlNull"),Ae(HDt,"isNull"),t=new zDt("tag:yaml.org,2002:null",{kind:"scalar",resolve:YDt,construct:jDt,predicate:HDt,represent:{canonical:Ae(function(){return"~"},"canonical"),lowercase:Ae(function(){return"null"},"lowercase"),uppercase:Ae(function(){return"NULL"},"uppercase"),camelcase:Ae(func
`:118===t?"\v":102===t?"\f":114===t?"\r":101===t?"":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"":95===t?"":76===t?"\u2028":80===t?"\u2029":""}function iPt(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}Ae(XOt,"_class"),Ae(KOt,"is_EOL"),Ae(ZOt,"is_WHITE_SPACE"),Ae(QOt,"is_WS_OR_EOL"),Ae(JOt,"is_FLOW_INDICATOR"),Ae(tPt,"fromHexCode"),Ae(ePt,"escapedHexLen"),Ae(rPt,"fromDecimalCode"),Ae(nPt,"simpleEscapeSequence"),Ae(iPt,"charFromCodepoint");for(var aPt=new Array(256),oPt=new Array(256),sPt=0;sPt<256;sPt++)aPt[sPt]=nPt(sPt)?1:0,oPt[sPt]=nPt(sPt);function lPt(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||OOt,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function cPt(t,e){return(t={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart}).snippet=ODt(t),new IDt(e,t)}function hPt(t,e){throw cPt(t,e)}function uPt(t,e){t.onWarning&&t.onWarning.call(null,cPt(t,e))}Ae(lPt,"State$1"),Ae(cPt,"generateError"),Ae(hPt,"throwError"),Ae(uPt,"throwWarning");var dPt={YAML:Ae(function(t,e,r){var n,i;null!==t.version&&hPt(t,"duplication of %YAML directive"),1!==r.length&&hPt(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&hPt(t,"ill-formed argument of the YAML directive"),n=parseInt(i[1],10),i=parseInt(i[2],10),1!==n&&hPt(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=i<2,1!==i&&2!==i&&uPt(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:Ae(function(t,e,r){var n;2!==r.length&&hPt(t,"TAG directive accepts exactly two arguments"),n=r[0],r=r[1],WOt.test(n)||hPt(t,"ill-formed tag handle (first argument) of the TAG directive"),POt.call(t.tagMap,n)&&hPt(t,'there is a previously declared suffix for "'+n+'" tag handle'),VOt.test(r)||hPt(t,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r)}catch{hPt(t,"tag prefix is malformed: "+r)}t.tagMap[n]=r},"handleTagDirective")};function pPt(t,e,r,n){var i,a,o,s;if(e<r){if(s=t.input.slice(e,r),n)for(i=0,a=s.length;i<a;i+=1)9===(o=s.charCodeAt(i))||32<=o&&o<=1114111||hPt(t,"expected valid JSON character");else YOt.test(s)&&hPt(t,"the stream contains non-printable characters");t.result+=s}}function gPt(t,e,r,n){var i,a,o,s;for(ADt.isObject(r)||hPt(t,"cannot merge mappings; the provided source object is unacceptable"),o=0,s=(i=Object.keys(r)).length;o<s;o+=1)a=i[o],POt.call(e,a)||(e[a]=r[a],n[a]=!0)}function fPt(t,e,r,n,i,a,o,s,l){var c,h;if(Array.isArray(i))for(c=0,h=(i=Array.prototype.slice.call(i)).length;c<h;c+=1)Array.isArray(i[c])&&hPt(t,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===XOt(i[c])&&(i[c]="[object Object]");if("object"==typeof i&&"[object Object]"===XOt(i)&&(i="[object Object]"),i=String(i),null===e&&(e={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(a))for(c=0,h=a.length;c<h;c+=1)gPt(t,e,a[c],r);else gPt(t,e,a,r);else t.json||POt.call(r,i)||!POt.call(e,i)||(t.line=o||t.line,t.lineStart=s||t.lineStart,t.position=l||t.position,hPt(t,"duplicated mapping key")),"__proto__"===i?Object.defineProperty(e,i,{configurable:!0,enumerable:!0,writable:!0,value:a}):e[i]=a,delete r[i];return e}function mPt(t){var e=t.input.charCodeAt(t.position);10===e?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):hPt(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function yPt(t,e,r){for(var n=0,i=t.input.charCodeAt(t.position);0!==i;){for(;ZOt(i);)9===i&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),i=t.input.charCodeAt(++t.position);if(e&&35===i)for(;10!==(i=t.input.charCodeAt(++t.position))&&13!==i&&0!==i;);if(!KOt(i))break;for(mPt(t),i=t.in
`,e-1))}function bPt(t,e,r){var n,i,a,o,s,l,c,h=t.kind,u=t.result,d=t.input.charCodeAt(t.position);if(QOt(d)||JOt(d)||35===d||38===d||42===d||33===d||124===d||62===d||39===d||34===d||37===d||64===d||96===d||(63===d||45===d)&&(QOt(n=t.input.charCodeAt(t.position+1))||r&&JOt(n)))return!1;for(t.kind="scalar",t.result="",i=a=t.position,o=!1;0!==d;){if(58===d){if(QOt(n=t.input.charCodeAt(t.position+1))||r&&JOt(n))break}else if(35===d){if(QOt(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&vPt(t)||r&&JOt(d))break;if(KOt(d)){if(s=t.line,l=t.lineStart,c=t.lineIndent,yPt(t,!1,-1),t.lineIndent>=e){o=!0,d=t.input.charCodeAt(t.position);continue}t.position=a,t.line=s,t.lineStart=l,t.lineIndent=c;break}}o&&(pPt(t,i,a,!1),xPt(t,t.line-s),i=a=t.position,o=!1),ZOt(d)||(a=t.position+1),d=t.input.charCodeAt(++t.position)}return pPt(t,i,a,!1),!!t.result||(t.kind=h,t.result=u,!1)}function wPt(t,e){var r,n,i=t.input.charCodeAt(t.position);if(39!==i)return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;0!==(i=t.input.charCodeAt(t.position));)if(39===i){if(pPt(t,r,t.position,!0),39!==(i=t.input.charCodeAt(++t.position)))return!0;r=t.position,t.position++,n=t.position}else KOt(i)?(pPt(t,r,n,!0),xPt(t,yPt(t,!1,e)),r=n=t.position):t.position===t.lineStart&&vPt(t)?hPt(t,"unexpected end of the document within a single quoted scalar"):(t.position++,n=t.position);hPt(t,"unexpected end of the stream within a single quoted scalar")}function kPt(t,e){var r,n,i,a,o,s=t.input.charCodeAt(t.position);if(34!==s)return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return pPt(t,r,t.position,!0),t.position++,!0;if(92===s){if(pPt(t,r,t.position,!0),KOt(s=t.input.charCodeAt(++t.position)))yPt(t,!1,e);else if(s<256&&aPt[s])t.result+=oPt[s],t.position++;else if(0<(o=ePt(s))){for(i=o,a=0;0<i;i--)0<=(o=tPt(s=t.input.charCodeAt(++t.position)))?a=(a<<4)+o:hPt(t,"expected hexadecimal character");t.result+=iPt(a),t.position++}else hPt(t,"unknown escape sequence");r=n=t.position}else KOt(s)?(pPt(t,r,n,!0),xPt(t,yPt(t,!1,e)),r=n=t.position):t.position===t.lineStart&&vPt(t)?hPt(t,"unexpected end of the document within a double quoted scalar"):(t.position++,n=t.position)}hPt(t,"unexpected end of the stream within a double quoted scalar")}function TPt(t,e){var r,n,i,a,o,s,l,c,h,u,d,p=!0,g=t.tag,f=t.anchor,m=Object.create(null),y=t.input.charCodeAt(t.position);if(91===y)c=!(o=93),a=[];else{if(123!==y)return!1;o=125,c=!0,a={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),y=t.input.charCodeAt(++t.position);0!==y;){if(yPt(t,!0,e),(y=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=g,t.anchor=f,t.kind=c?"mapping":"sequence",t.result=a,!0;p?44===y&&hPt(t,"expected the node content, but found ','"):hPt(t,"missed comma between flow collection entries"),d=null,s=l=!1,63===y&&QOt(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,yPt(t,!0,e)),r=t.line,n=t.lineStart,i=t.position,NPt(t,e,BOt,!1,!0),u=t.tag,h=t.result,yPt(t,!0,e),y=t.input.charCodeAt(t.position),!l&&t.line!==r||58!==y||(s=!0,y=t.input.charCodeAt(++t.position),yPt(t,!0,e),NPt(t,e,BOt,!1,!0),d=t.result),c?fPt(t,a,m,u,h,d,r,n,i):s?a.push(fPt(t,null,m,u,h,d,r,n,i)):a.push(h),yPt(t,!0,e),44===(y=t.input.charCodeAt(t.position))?(p=!0,y=t.input.charCodeAt(++t.position)):p=!1}hPt(t,"unexpected end of the stream within a flow collection")}function EPt(t,e){var r,n,i,a=GOt,o=!1,s=!1,l=e,c=0,h=!1,u=t.input.charCodeAt(t.position);if(124===u)n=!1;else{if(62!==u)return!1;n=!0}for(t.kind="scalar",t.result="";0!==u;)if(43===(u=t.input.charCodeAt(++t.position))||45===u)GOt===a?a=43===u?qOt:UOt:hPt(t,"repeat of a chomping mode identifier");else{if(!(0<=(i=rPt(u))))break;0===i?hPt(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?hPt(t,"repeat of an indentation width identifier"):(l=e+i-1,s=!0)}if(ZOt(u)){for(;ZOt(u=t.input.charCodeAt(++t.position)););if(35===u)for(;!KOt(u=t.input.charCodeAt(++t.position))&&0!==u;);}for(;0!==u;){for(mPt(t),t.lineIndent=0,u=t.input.charCodeAt(t.posi
`,o?1+c:c),s=o=!0,c=0,r=t.position;!KOt(u)&&0!==u;)u=t.input.charCodeAt(++t.position);pPt(t,r,t.position,!1)}}return!0}function _Pt(t,e){var r,n,i=t.tag,a=t.anchor,o=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),n=t.input.charCodeAt(t.position);0!==n&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,hPt(t,"tab characters must not be used in indentation")),45===n)&&QOt(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,yPt(t,!0,-1)&&t.lineIndent<=e)o.push(null),n=t.input.charCodeAt(t.position);else if(r=t.line,NPt(t,e,$Ot,!1,!0),o.push(t.result),yPt(t,!0,-1),n=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&0!==n)hPt(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!s&&(t.tag=i,t.anchor=a,t.kind="sequence",t.result=o,!0)}function CPt(t,e,r){var n,i,a,o,s,l,c,h=t.tag,u=t.anchor,d={},p=Object.create(null),g=null,f=null,m=null,y=!1,v=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=d),c=t.input.charCodeAt(t.position);0!==c;){if(y||-1===t.firstTabInLine||(t.position=t.firstTabInLine,hPt(t,"tab characters must not be used in indentation")),n=t.input.charCodeAt(t.position+1),a=t.line,63!==c&&58!==c||!QOt(n)){if(o=t.line,s=t.lineStart,l=t.position,!NPt(t,r,FOt,!1,!0))break;if(t.line===a){for(c=t.input.charCodeAt(t.position);ZOt(c);)c=t.input.charCodeAt(++t.position);if(58===c)QOt(c=t.input.charCodeAt(++t.position))||hPt(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(fPt(t,d,p,g,f,null,o,s,l),g=f=m=null),i=y=!(v=!0),g=t.tag,f=t.result;else{if(!v)return t.tag=h,t.anchor=u,!0;hPt(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!v)return t.tag=h,t.anchor=u,!0;hPt(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(y&&(fPt(t,d,p,g,f,null,o,s,l),g=f=m=null),i=y=v=!0):y?i=!(y=!1):hPt(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,c=n;if((t.line===a||t.lineIndent>e)&&(y&&(o=t.line,s=t.lineStart,l=t.position),NPt(t,e,zOt,!0,i)&&(y?f=t.result:m=t.result),y||(fPt(t,d,p,g,f,m,o,s,l),g=f=m=null),yPt(t,!0,-1),c=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==c)hPt(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&fPt(t,d,p,g,f,null,o,s,l),v&&(t.tag=h,t.anchor=u,t.kind="mapping",t.result=d),v}function SPt(t){var e,r,n,i=!1,a=!1,o=t.input.charCodeAt(t.position);if(33!==o)return!1;if(null!==t.tag&&hPt(t,"duplication of a tag property"),60===(o=t.input.charCodeAt(++t.position))?(i=!0,o=t.input.charCodeAt(++t.position)):33===o?(a=!0,r="!!",o=t.input.charCodeAt(++t.position)):r="!",e=t.position,i){for(;0!==(o=t.input.charCodeAt(++t.position))&&62!==o;);t.position<t.length?(n=t.input.slice(e,t.position),o=t.input.charCodeAt(++t.position)):hPt(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!QOt(o);)33===o&&(a?hPt(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),WOt.test(r)||hPt(t,"named tag handle cannot contain such characters"),a=!0,e=t.position+1)),o=t.input.charCodeAt(++t.position);n=t.input.slice(e,t.position),HOt.test(n)&&hPt(t,"tag suffix cannot contain flow indicator characters")}n&&!VOt.test(n)&&hPt(t,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch{hPt(t,"tag name is malformed: "+n)}return i?t.tag=n:POt.call(t.tagMap,r)?t.tag=t.tagMap[r]+n:"!"===r?t.tag="!"+n:"!!"===r?t.tag="tag:yaml.org,2002:"+n:hPt(t,'undeclared tag handle "'+r+'"'),!0}function APt(t){var e,r=t.input.charCodeAt(t.position);if(38!==r)return!1;for(null!==t.anchor&&hPt(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!QOt(r)&&!JOt(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&hPt(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function LPt(t){var e,r=t.input.charCodeAt(t.position);if(42!==r)return!1;for(r=t.input.
`),65279===t.charCodeAt(0))?t.slice(1):t,e);for(-1!==(e=t.indexOf("\0"))&&(r.position=e,hPt(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)IPt(r);return r.documents}function RPt(t,e,r){null!==e&&"object"==typeof e&&"u"<typeof r&&(r=e,e=null);var n=MPt(t,r);if("function"!=typeof e)return n;for(var i=0,a=n.length;i<a;i+=1)e(n[i])}function DPt(t,e){if(0!==(t=MPt(t,e)).length){if(1===t.length)return t[0];throw new IDt("expected a single document in the stream, but found more")}}Ae(pPt,"captureSegment"),Ae(gPt,"mergeMappings"),Ae(fPt,"storeMappingPair"),Ae(mPt,"readLineBreak"),Ae(yPt,"skipSeparationSpace"),Ae(vPt,"testDocumentSeparator"),Ae(xPt,"writeFoldedLines"),Ae(bPt,"readPlainScalar"),Ae(wPt,"readSingleQuotedScalar"),Ae(kPt,"readDoubleQuotedScalar"),Ae(TPt,"readFlowCollection"),Ae(EPt,"readBlockScalar"),Ae(_Pt,"readBlockSequence"),Ae(CPt,"readBlockMapping"),Ae(SPt,"readTagProperty"),Ae(APt,"readAnchorProperty"),Ae(LPt,"readAlias"),Ae(NPt,"composeNode"),Ae(IPt,"readDocument"),Ae(MPt,"loadDocuments"),Ae(RPt,"loadAll$1"),Ae(DPt,"load$1");var t={loadAll:RPt,load:DPt},OPt=Object.prototype.toString,PPt=Object.prototype.hasOwnProperty,BPt=65279,FPt=10,$Pt={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},zPt=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],GPt=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function UPt(t,e){var r,n,i,a,o,s,l;if(null===e)return{};for(r={},i=0,a=(n=Object.keys(e)).length;i<a;i+=1)o=n[i],s=String(e[o]),"!!"===o.slice(0,2)&&(o="tag:yaml.org,2002:"+o.slice(2)),(l=t.compiledTypeMap.fallback[o])&&PPt.call(l.styleAliases,s)&&(s=l.styleAliases[s]),r[o]=s;return r}function qPt(t){var e,r,n=t.toString(16).toUpperCase();if(t<=255)e="x",r=2;else if(t<=65535)e="u",r=4;else{if(!(t<=4294967295))throw new IDt("code point within a string may not be greater than 0xFFFFFFFF");e="U",r=8}return"\\"+e+ADt.repeat("0",r-n.length)+n}Ae(UPt,"compileStyleMap"),Ae(qPt,"encodeHex");var YPt=2;function jPt(t){this.schema=t.schema||OOt,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=ADt.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=UPt(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?YPt:1,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function HPt(t,e){for(var r,n,i=ADt.repeat(" ",e),a=0,o="",s=t.length;a<s;)a=-1===(r=t.indexOf(`
`+t.slice(o+1):s+=t.slice(a),s.slice(1)}function gBt(t){for(var e,r,n="",i=0;i<t.length;65536<=e?i+=2:i++)e=eBt(t,i),!(r=$Pt[e])&&KPt(e)?(n+=t[i],65536<=e&&(n+=t[i+1])):n+=r||qPt(e);return n}function fBt(t,e,r){for(var n,i="",a=t.tag,o=0,s=r.length;o<s;o+=1)n=r[o],t.replacer&&(n=t.replacer.call(r,String(o),n)),(bBt(t,e,n,!1,!1)||"u"<typeof n&&bBt(t,e,null,!1,!1))&&(""!==i&&(i+=","+(t.condenseFlow?"":" ")),i+=t.dump);t.tag=a,t.dump="["+i+"]"}function mBt(t,e,r,n){for(var i,a="",o=t.tag,s=0,l=r.length;s<l;s+=1)i=r[s],t.replacer&&(i=t.replacer.call(r,String(s),i)),(bBt(t,e+1,i,!0,!0,!1,!0)||"u"<typeof i&&bBt(t,e+1,null,!0,!0,!1,!0))&&(n&&""===a||(a+=WPt(t,e)),t.dump&&FPt===t.dump.charCodeAt(0)?a+="-":a+="- ",a+=t.dump);t.tag=o,t.dump=a||"[]"}function yBt(t,e,r){for(var n,i,a,o="",s=t.tag,l=Object.keys(r),c=0,h=l.length;c<h;c+=1)(a="")!==o&&(a+=", "),t.condenseFlow&&(a+='"'),i=r[n=l[c]],t.replacer&&(i=t.replacer.call(r,n,i)),bBt(t,e,n,!1,!1)&&(1024<t.dump.length&&(a+="? "),a+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),bBt(t,e,i,!1,!1))&&(o+=a+=t.dump);t.tag=s,t.dump="{"+o+"}"}function vBt(t,e,r,n){var i,a,o,s,l,c="",h=t.tag,u=Object.keys(r);if(!0===t.sortKeys)u.sort();else if("function"==typeof t.sortKeys)u.sort(t.sortKeys);else if(t.sortKeys)throw new IDt("sortKeys must be a boolean or a function");for(i=0,a=u.length;i<a;i+=1)l="",n&&""===c||(l+=WPt(t,e)),o=r[s=u[i]],t.replacer&&(o=t.replacer.call(r,s,o)),bBt(t,e+1,s,!0,!0,!0)&&((s=null!==t.tag&&"?"!==t.tag||t.dump&&1024<t.dump.length)&&(t.dump&&FPt===t.dump.charCodeAt(0)?l+="?":l+="? "),l+=t.dump,s&&(l+=WPt(t,e)),bBt(t,e+1,o,!0,s))&&(t.dump&&FPt===t.dump.charCodeAt(0)?l+=":":l+=": ",c+=l+=t.dump);t.tag=h,t.dump=c||"{}"}function xBt(t,e,r){for(var n,i,a,o=r?t.explicitTypes:t.implicitTypes,s=0,l=o.length;s<l;s+=1)if(((i=o[s]).instanceOf||i.predicate)&&(!i.instanceOf||"object"==typeof e&&e instanceof i.instanceOf)&&(!i.predicate||i.predicate(e))){if(r?i.multi&&i.representName?t.tag=i.representName(e):t.tag=i.tag:t.tag="?",i.represent){if(a=t.styleMap[i.tag]||i.defaultStyle,"[object Function]"===OPt.call(i.represent))n=i.represent(e,a);else{if(!PPt.call(i.represent,a))throw new IDt("!<"+i.tag+'> tag resolver accepts not "'+a+'" style');n=i.represent[a](e,a)}t.dump=n}return!0}return!1}function bBt(t,e,r,n,i,a,o){t.tag=null,t.dump=r,xBt(t,r,!1)||xBt(t,r,!0);var s,l,c=OPt.call(t.dump),h=n,u=(n=n&&(t.flowLevel<0||t.flowLevel>e),"[object Object]"===c||"[object Array]"===c);if(u&&(l=-1!==(s=t.duplicates.indexOf(r))),(null!==t.tag&&"?"!==t.tag||l||2!==t.indent&&0<e)&&(i=!1),l&&t.usedDuplicates[s])t.dump="*ref_"+s;else{if(u&&l&&!t.usedDuplicates[s]&&(t.usedDuplicates[s]=!0),"[object Object]"===c)n&&0!==Object.keys(t.dump).length?(vBt(t,e,t.dump,i),l&&(t.dump="&ref_"+s+t.dump)):(yBt(t,e,t.dump),l&&(t.dump="&ref_"+s+" "+t.dump));else if("[object Array]"===c)n&&0!==t.dump.length?(t.noArrayIndent&&!o&&0<e?mBt(t,e-1,t.dump,i):mBt(t,e,t.dump,i),l&&(t.dump="&ref_"+s+t.dump)):(fBt(t,e,t.dump),l&&(t.dump="&ref_"+s+" "+t.dump));else{if("[object String]"!==c){if("[object Undefined]"===c)return!1;if(t.skipInvalid)return!1;throw new IDt("unacceptable kind of an object to dump "+c)}"?"!==t.tag&&cBt(t,t.dump,e,a,h)}null!==t.tag&&"?"!==t.tag&&(r=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),r="!"===t.tag[0]?"!"+r:"tag:yaml.org,2002:"===r.slice(0,18)?"!!"+r.slice(18):"!<"+r+">",t.dump=r+" "+t.dump)}return!0}function wBt(t,e){var r,n,i=[],a=[];for(kBt(t,i,a),r=0,n=a.length;r<n;r+=1)e.duplicates.push(i[a[r]]);e.usedDuplicates=new Array(n)}function kBt(t,e,r){var n,i,a;if(null!==t&&"object"==typeof t)if(-1!==(i=e.indexOf(t)))-1===r.indexOf(i)&&r.push(i);else if(e.push(t),Array.isArray(t))for(i=0,a=t.length;i<a;i+=1)kBt(t[i],e,r);else for(i=0,a=(n=Object.keys(t)).length;i<a;i+=1)kBt(t[n[i]],e,r)}function TBt(t,e){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}Ae(lBt,"chooseScalarStyle"),Ae(cBt,"writeScalar"),Ae(hBt,"blockHeader"),Ae(uBt,"dropEndingNewline"),Ae(dBt,"foldString"),A