`);for(var[r,{detector:n}]of Object.entries(Kt))if(n(t,e))return r;throw new Xt("No diagram type detected matching given configuration for text: "+t)},"detectType"),Qt=Ae((...t)=>{for(var{id:e,detector:r,loader:n}of t)Jt(e,r,n)},"registerLazyLoadedDiagrams"),Jt=Ae((t,e,r)=>{Kt[t]&&R.warn(`Detectorwithkey${t}alreadyexists.Overwriting.`),Kt[t]={detector:e,loader:r},R.debug(`Detectorwithkey${t}added`+(r?" with loader":""))},"addDetector"),te=Ae(t=>Kt[t].loader,"getDiagramLoader")}),Yr=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}}hl.hasOwnProperty(e[0])&&!pa[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=hl[e[0]]+e.slice(1));var r=Xs.exec(e);if(r&&("i"===(e=e.substring(0,r.index))?e="ı":"j"===e&&(e="ȷ")),pa[this.mode][e]){this.settings.strict&&"math"===this.mode&&0<=Na.indexOf(e)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+e[0]+'" used in math mode',t);var n=pa[this.mode][e].group,i=ci.range(t),a=ua.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&&(Bn(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:ci.range(t),text:e}}if(this.consume(),r)for(var o=0;o<r[0].length;o++){var s=r[0][o];if(!cl[s])throw new X("Unknown accent ' "+s+"'",t);var l=cl[s][this.mode]||cl[s].text;if(!l)throw new X("Accent "+s+" unsupported in "+this.mode+" mode",t);a={type:"accent",mode:this.mode,loc:ci.range(t),label:l,isStretchy:!1,isShifty:!0,base:a}}return a}}).endOfExpression=["}","\\endgroup","\\end","\\right","&"],dl=Ae(function(t,e){if(!("string"==typeof t||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");delete(t=new ul(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 hi("\\df@tag")])}]}return r},"parseTree"),m=Ae(function(t,e,r){e.textContent="",t=ml(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")),pl=Ae(function(t,e){return ml(t,e).toMarkup()},"renderToString"),gl=Ae(function(t,e){return e=new vi(e),dl(t,e)},"generateParseTree"),fl=Ae(function(t,e,r){if(!r.throwOnError&&t instanceof X)return(e=Z.makeSpan(["katex-error"],[new sa(e)])).setAttribute("title",t.toString()),e.setAttribute("style","color:"+r.errorColor),e;throw t},"renderError"),ml=Ae(function(t,e){e=new vi(e);try{var r=dl(t,e);return Eo(r,t,e)}catch(r){return fl(r,t,e)}},"renderToDomTree"),y=Ae(function(t,e){e=new vi(e);try{var r=dl(t,e);return _o(r,t,e)}catch(r){return fl(r,t,e)}},"renderToHTMLTree"),yl={version:"0.16.11",render:m,renderToString:pl,ParseError:X,SETTINGS_SCHEMA:yi,__parse:gl,__renderToDomTree:ml,__renderToHTMLTree:y,__setFontMetrics:Fn,__defineSymbol:s,__defineFunction:l,__defineMacro:h,__domTree:{Span:na,Anchor:ia,SymbolNode:sa,SvgNode:la,PathNode:ca,LineNode:ha}}});function xl(){let e="data-temp-href-target";bl.default.addHook("beforeSanitizeAttributes",t=>{"A"===t.tagName&&t.hasAttribute("target")&&t.setAttribute(e,t.getAttribute("target")??"")}),bl.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 bl,wl,kl,Tl,El,_l,Cl,Sl,Al,Ll,Nl,Il,Ml,Rl,Dl,Ol,Pl,Bl,Fl,$l,zl,Gl,Ul,ql,Yl,L,jl,Hl,Wl,Vl,Xl,Kl,Zl,Ql,Jl=t(()=>{bl=et(Mn(),1),wl=/<br\s*\/?>/gi,kl=Ae(t=>t?Il(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),Tl=(()=>{let t=!1;return()=>{t||(xl(),t=!0)}})(),Ae(xl,"setupDompurifyHooks"),El=Ae(t=>(Tl(),bl.default.sanitize(t)),"removeScript"),_l=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=Wt.exec(t));)n.index===Wt.lastIndex&&Wt.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"),C8=Ae(function(t){return t.replace(Wt,"")},"removeDirectives"),S8=Ae(function(t,e){for(var[r,n]of e.entries())if(n.match(t))return r;return-1},"isSubstringInArray"),Ae(l8,"interpolateToCurve"),Ae(c8,"formatUrl"),A8=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(h8,"distance"),Ae(u8,"traverseEdge"),Ae(d8,"calcLabelPosition"),L8=Ae((t,e=2)=>(e=Math.pow(10,e),Math.round(t*e)/e),"roundNumber"),N8=Ae((t,e)=>{let r,n=e;for(var i of t){if(r){var a=h8(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:L8((1-a)*r.x+a*i.x,5),y:L8((1-a)*r.y+a*i.y,5)}}}r=i}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),I8=Ae((t,e,r)=>{R.info("our points "+JSON.stringify(e)),e[0]!==r&&(e=e.reverse());var r=N8(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(p8,"calcTerminalLabelPosition"),Ae(g8,"getStylesFromArray"),M8=0,R8=Ae(()=>(M8++,"id-"+Math.random().toString(36).substr(2,12)+"-"+M8),"generateId"),Ae(f8,"makeRandomHex"),D8=Ae(t=>f8(t.length),"random"),O8=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"),P8=Ae(function(t,e){var r=e.text.replace(L.lineBreakRegex," "),[,n]=Y8(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"),B8=_w((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=y8(t+" ",s),a=y8(h,s);h=o<i?({hyphenatedStrings:r,remainingWord:n}=F8(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),F8=_w((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=y8(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(m8,"calculateTextHeight"),Ae(y8,"calculateTextWidth"),$8=_w((t,e)=>{var{fontSize:e=12,fontFamily:r="Arial",fontWeight:n=400}=e;if(!t)return{width:0,height:0};var[,i]=Y8(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=O8();if(u.text=c||w8,0===(u=((u=P8(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
`,e-1))}function P_(t,e,r){var n,i,a,o,s,l,c,h=t.kind,u=t.result,d=t.input.charCodeAt(t.position);if(v_(d)||x_(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)&&(v_(n=t.input.charCodeAt(t.position+1))||r&&x_(n)))return!1;for(t.kind="scalar",t.result="",i=a=t.position,o=!1;0!==d;){if(58===d){if(v_(n=t.input.charCodeAt(t.position+1))||r&&x_(n))break}else if(35===d){if(v_(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&D_(t)||r&&x_(d))break;if(m_(d)){if(s=t.line,l=t.lineStart,c=t.lineIndent,R_(t,!1,-1),e<=t.lineIndent){o=!0,d=t.input.charCodeAt(t.position);continue}t.position=a,t.line=s,t.lineStart=l,t.lineIndent=c;break}}o&&(L_(t,i,a,!1),O_(t,t.line-s),i=a=t.position,o=!1),y_(d)||(a=t.position+1),d=t.input.charCodeAt(++t.position)}return L_(t,i,a,!1),!!t.result||(t.kind=h,t.result=u,!1)}function B_(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(L_(t,r,t.position,!0),39!==(i=t.input.charCodeAt(++t.position)))return!0;r=t.position,t.position++,n=t.position}else m_(i)?(L_(t,r,n,!0),O_(t,R_(t,!1,e)),r=n=t.position):t.position===t.lineStart&&D_(t)?S_(t,"unexpected end of the document within a single quoted scalar"):(t.position++,n=t.position);S_(t,"unexpected end of the stream within a single quoted scalar")}function F_(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 L_(t,r,t.position,!0),t.position++,!0;if(92===s){if(L_(t,r,t.position,!0),m_(s=t.input.charCodeAt(++t.position)))R_(t,!1,e);else if(s<256&&hS[s])t.result+=uS[s],t.position++;else if(0<(o=w_(s))){for(i=o,a=0;0<i;i--)0<=(o=b_(s=t.input.charCodeAt(++t.position)))?a=(a<<4)+o:S_(t,"expected hexadecimal character");t.result+=E_(a),t.position++}else S_(t,"unknown escape sequence");r=n=t.position}else m_(s)?(L_(t,r,n,!0),O_(t,R_(t,!1,e)),r=n=t.position):t.position===t.lineStart&&D_(t)?S_(t,"unexpected end of the document within a double quoted scalar"):(t.position++,n=t.position)}S_(t,"unexpected end of the stream within a double quoted scalar")}function $_(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(R_(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&&S_(t,"expected the node content, but found ','"):S_(t,"missed comma between flow collection entries"),d=null,s=l=!1,63===y&&v_(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,R_(t,!0,e)),r=t.line,n=t.lineStart,i=t.position,H_(t,e,QC,!1,!0),u=t.tag,h=t.result,R_(t,!0,e),y=t.input.charCodeAt(t.position),!l&&t.line!==r||58!==y||(s=!0,y=t.input.charCodeAt(++t.position),R_(t,!0,e),H_(t,e,QC,!1,!0),d=t.result),c?I_(t,a,m,u,h,d,r,n,i):s?a.push(I_(t,null,m,u,h,d,r,n,i)):a.push(h),R_(t,!0,e),44===(y=t.input.charCodeAt(t.position))?(p=!0,y=t.input.charCodeAt(++t.position)):p=!1}S_(t,"unexpected end of the stream within a flow collection")}function z_(t,e){var r,n,i,a=rS,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)rS===a?a=43===u?iS:nS:S_(t,"repeat of a chomping mode identifier");else{if(!(0<=(i=k_(u))))break;0===i?S_(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?S_(t,"repeat of an indentation width identifier"):(l=e+i-1,s=!0)}if(y_(u)){for(;y_(u=t.input.charCodeAt(++t.position)););if(35===u)for(;!m_(u=t.input.charCodeAt(++t.position))&&0!==u;);}for(;0!==u;){for(M_(t),t.lineIndent=0,u=t.input.charCodeAt(t.position);(!s||t.lineIndent<l)&&32===u;)t.lineIndent++,u=t.input.charCodeAt(+
`,o?1+c:c),s=o=!0,c=0,r=t.position;!m_(u)&&0!==u;)u=t.input.charCodeAt(++t.position);L_(t,r,t.position,!1)}}return!0}function G_(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,S_(t,"tab characters must not be used in indentation")),45===n)&&v_(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,R_(t,!0,-1)&&t.lineIndent<=e)o.push(null),n=t.input.charCodeAt(t.position);else if(r=t.line,H_(t,e,tS,!1,!0),o.push(t.result),R_(t,!0,-1),n=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&0!==n)S_(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 U_(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,S_(t,"tab characters must not be used in indentation")),n=t.input.charCodeAt(t.position+1),a=t.line,63!==c&&58!==c||!v_(n)){if(o=t.line,s=t.lineStart,l=t.position,!H_(t,r,JC,!1,!0))break;if(t.line===a){for(c=t.input.charCodeAt(t.position);y_(c);)c=t.input.charCodeAt(++t.position);if(58===c)v_(c=t.input.charCodeAt(++t.position))||S_(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(I_(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;S_(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!v)return t.tag=h,t.anchor=u,!0;S_(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(y&&(I_(t,d,p,g,f,null,o,s,l),g=f=m=null),i=y=v=!0):y?i=!(y=!1):S_(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),H_(t,e,eS,!0,i)&&(y?f=t.result:m=t.result),y||(I_(t,d,p,g,f,m,o,s,l),g=f=m=null),R_(t,!0,-1),c=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==c)S_(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&I_(t,d,p,g,f,null,o,s,l),v&&(t.tag=h,t.anchor=u,t.kind="mapping",t.result=d),v}function q_(t){var e,r,n,i=!1,a=!1,o=t.input.charCodeAt(t.position);if(33!==o)return!1;if(null!==t.tag&&S_(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)):S_(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==o&&!v_(o);)33===o&&(a?S_(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),lS.test(r)||S_(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),sS.test(n)&&S_(t,"tag suffix cannot contain flow indicator characters")}n&&!cS.test(n)&&S_(t,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch{S_(t,"tag name is malformed: "+n)}return i?t.tag=n:ZC.call(t.tagMap,r)?t.tag=t.tagMap[r]+n:"!"===r?t.tag="!"+n:"!!"===r?t.tag="tag:yaml.org,2002:"+n:S_(t,'undeclared tag handle "'+r+'"'),!0}function Y_(t){var e,r=t.input.charCodeAt(t.position);if(38!==r)return!1;for(null!==t.anchor&&S_(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!v_(r)&&!x_(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&S_(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function j_(t){var e,r=t.input.charCodeAt(t.position);if(42!==r)return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!v_(
`),65279===t.charCodeAt(0))?t.slice(1):t,e);for(-1!==(e=t.indexOf("\0"))&&(r.position=e,S_(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;)W_(r);return r.documents}function X_(t,e,r){null!==e&&"object"==typeof e&&"u"<typeof r&&(r=e,e=null);var n=V_(t,r);if("function"!=typeof e)return n;for(var i=0,a=n.length;i<a;i+=1)e(n[i])}function K_(t,e){if(0!==(t=V_(t,e)).length){if(1===t.length)return t[0];throw new LC("expected a single document in the stream, but found more")}}function Z_(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])&&mS.call(l.styleAliases,s)&&(s=l.styleAliases[s]),r[o]=s;return r}function Q_(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 LC("code point within a string may not be greater than 0xFFFFFFFF");e="U",r=8}return"\\"+e+AC.repeat("0",r-n.length)+n}function J_(t){this.schema=t.schema||KC,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=AC.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=Z_(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?kS: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 tC(t,e){for(var r,n,i=AC.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 yC(t){for(var e,r,n="",i=0;i<t.length;65536<=e?i+=2:i++)e=cC(t,i),!(r=xS[e])&&iC(e)?(n+=t[i],65536<=e&&(n+=t[i+1])):n+=r||Q_(e);return n}function vC(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)),(TC(t,e,n,!1,!1)||"u"<typeof n&&TC(t,e,null,!1,!1))&&(""!==i&&(i+=","+(t.condenseFlow?"":" ")),i+=t.dump);t.tag=a,t.dump="["+i+"]"}function xC(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)),(TC(t,e+1,i,!0,!0,!1,!0)||"u"<typeof i&&TC(t,e+1,null,!0,!0,!1,!0))&&(n&&""===a||(a+=eC(t,e)),t.dump&&vS===t.dump.charCodeAt(0)?a+="-":a+="- ",a+=t.dump);t.tag=o,t.dump=a||"[]"}function bC(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)),TC(t,e,n,!1,!1)&&(1024<t.dump.length&&(a+="? "),a+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),TC(t,e,i,!1,!1))&&(o+=a+=t.dump);t.tag=s,t.dump="{"+o+"}"}function wC(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 LC("sortKeys must be a boolean or a function");for(i=0,a=u.length;i<a;i+=1)l="",n&&""===c||(l+=eC(t,e)),o=r[s=u[i]],t.replacer&&(o=t.replacer.call(r,s,o)),TC(t,e+1,s,!0,!0,!0)&&((s=null!==t.tag&&"?"!==t.tag||t.dump&&1024<t.dump.length)&&(t.dump&&vS===t.dump.charCodeAt(0)?l+="?":l+="? "),l+=t.dump,s&&(l+=eC(t,e)),TC(t,e+1,o,!0,s))&&(t.dump&&vS===t.dump.charCodeAt(0)?l+=":":l+=": ",c+=l+=t.dump);t.tag=h,t.dump=c||"{}"}function kC(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]"===fS.call(i.represent))n=i.represent(e,a);else{if(!mS.call(i.represent,a))throw new LC("!<"+i.tag+'> tag resolver accepts not "'+a+'" style');n=i.represent[a](e,a)}t.dump=n}return!0}return!1}function TC(t,e,r,n,i,a,o){t.tag=null,t.dump=r,kC(t,r,!1)||kC(t,r,!0);var s,l,c=fS.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?(wC(t,e,t.dump,i),l&&(t.dump="&ref_"+s+t.dump)):(bC(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?xC(t,e-1,t.dump,i):xC(t,e,t.dump,i),l&&(t.dump="&ref_"+s+t.dump)):(vC(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 LC("unacceptable kind of an object to dump "+c)}"?"!==t.tag&&dC(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 EC(t,e){var r,n,i=[],a=[];for(_C(t,i,a),r=0,n=a.length;r<n;r+=1)e.duplicates.push(i[a[r]]);e.usedDuplicates=new Array(n)}function _C(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)_C(t[i],e,r);else for(i=0,a=(n=Object.keys(t)).length;i<a;i+=1)_C(t[n[i]],e,r)}function CC(t,e){return(e=new J_(e=e||{})).noRefs||EC(t,e),e.replacer&&(t=e.replacer.call({"":t},"",t)),TC(e,0,t,!0,!0)?e.dump+`
`:""}function SC(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.")}}var AC,LC,NC,IC,MC,RC,DC,OC,PC,BC,FC,$C,zC,GC,UC,qC,YC,jC,HC,WC,VC,XC,KC,ZC,QC,JC,tS,eS,rS,nS,iS,aS,oS,sS,lS,cS,hS,uS,dS,pS,gS,fS,mS,yS,vS,xS,bS,wS,kS,TS,ES,_S,CS,SS,AS,LS,NS=t(()=>{for(Ae(TE,"isNothing"),Ae(EE,"isObject"),Ae(_E,"toArray"),Ae(CE,"extend"),Ae(SE,"repeat"),Ae(AE,"isNegativeZero"),AC={isNothing:TE,isObject:EE,toArray:_E,repeat:SE,isNegativeZero:AE,extend:CE},Ae(LE,"formatError"),Ae(NE,"YAMLException$1"),((NE.prototype=Object.create(Error.prototype)).constructor=NE).prototype.toString=Ae(function(t){return this.name+": "+LE(this,t)},"toString"),LC=NE,Ae(IE,"getLine"),Ae(ME,"padStart"),Ae(RE,"makeSnippet"),NC=RE,IC=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],MC=["scalar","sequence","mapping"],Ae(DE,"compileStyleAliases"),Ae(OE,"Type$1"),RC=OE,Ae(PE,"compileList"),Ae(BE,"compileMap"),Ae(FE,"Schema$1"),FE.prototype.extend=Ae(function(t){var e=[],r=[];if(t instanceof RC)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 LC("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 RC))throw new LC("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new LC("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 LC("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 RC))throw new LC("Specified list of YAML types (or a single Type object) contains a non-Type object.")}),(t=Object.create(FE.prototype)).implicit=(this.implicit||[]).concat(e),t.explicit=(this.explicit||[]).concat(r),t.compiledImplicit=PE(t,"implicit"),t.compiledExplicit=PE(t,"explicit"),t.compiledTypeMap=BE(t.compiledImplicit,t.compiledExplicit),t},"extend"),PC=FE,gS=new RC("tag:yaml.org,2002:str",{kind:"scalar",construct:Ae(function(t){return null!==t?t:""},"construct")}),$C=new RC("tag:yaml.org,2002:seq",{kind:"sequence",construct:Ae(function(t){return null!==t?t:[]},"construct")}),zC=new RC("tag:yaml.org,2002:map",{kind:"mapping",construct:Ae(function(t){return null!==t?t:{}},"construct")}),PC=new PC({explicit:[gS,$C,zC]}),Ae($E,"resolveYamlNull"),Ae(zE,"constructYamlNull"),Ae(GE,"isNull"),gS=new RC("tag:yaml.org,2002:null",{kind:"scalar",resolve:$E,construct:zE,predicate:GE,represent:{canonical:Ae(function(){return"~"},"canonical"),lowercase:Ae(function(){return"null"},"lowercase"),uppercase:Ae(function(){return"NULL"},"uppercase"),camelcase:Ae(function(){return"Null"},"camelcase"),empty:Ae(function(){return""},"empty")},defaultStyle:"lowercase"}),Ae(UE,"resolveYamlBoolean"),Ae(qE,"constructYamlBoolean"),Ae(YE,"isBoolean"),$C=new RC("tag:yaml.org,2002:bool",{kind:"scalar",resolve:UE,construct:qE,predicate:YE,represent:{lowercase:Ae(function(t){return t?"true":"false"},"lowercase"),uppercase:Ae(function(t){return t?"TRUE":"FALSE"},"uppercase"),camelcase:Ae(function(t){return t?"True":"False"},"camelcase")},defaultStyle:"lowercase"}),Ae(jE,"isHexCode"),Ae(HE,"isOctCode"),Ae(WE,"isDecCode"),Ae(VE,"resolveYamlInteger"),Ae(XE,"constructYamlInteger"),Ae(KE,"isInteger"),zC=new RC("tag:yaml.org,2002:int",{kind:"scalar",resolve:VE,construct:XE,predicate:KE,represent:{binary:Ae(function(t){return 0<=t?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:Ae(function(t){return 0<=t?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},"octal"),decimal:Ae(function(t){return t.toString(10)},"decimal"),hexadecimal:Ae(function(t){return 0<=t?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)},"hexadecima
\r`,Ae(a_,"resolveYamlBinary"),Ae(o_,"constructYamlBinary"),Ae(s_,"representYamlBinary"),Ae(l_,"isBinary"),UC=new RC("tag:yaml.org,2002:binary",{kind:"scalar",resolve:a_,construct:o_,predicate:l_,represent:s_}),qC=Object.prototype.hasOwnProperty,YC=Object.prototype.toString,Ae(c_,"resolveYamlOmap"),Ae(h_,"constructYamlOmap"),jC=new RC("tag:yaml.org,2002:omap",{kind:"sequence",resolve:c_,construct:h_}),HC=Object.prototype.toString,Ae(u_,"resolveYamlPairs"),Ae(d_,"constructYamlPairs"),WC=new RC("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:u_,construct:d_}),VC=Object.prototype.hasOwnProperty,Ae(p_,"resolveYamlSet"),Ae(g_,"constructYamlSet"),XC=new RC("tag:yaml.org,2002:set",{kind:"mapping",resolve:p_,construct:g_}),KC=gS.extend({implicit:[$C,zC],explicit:[UC,jC,WC,XC]}),ZC=Object.prototype.hasOwnProperty,eS=4,rS=QC=1,nS=JC=2,iS=tS=3,aS=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oS=/[\x85\u2028\u2029]/,sS=/[,\[\]\{\}]/,lS=/^(?:!|!!|![a-z\-]+!)$/i,cS=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,Ae(f_,"_class"),Ae(m_,"is_EOL"),Ae(y_,"is_WHITE_SPACE"),Ae(v_,"is_WS_OR_EOL"),Ae(x_,"is_FLOW_INDICATOR"),Ae(b_,"fromHexCode"),Ae(w_,"escapedHexLen"),Ae(k_,"fromDecimalCode"),Ae(T_,"simpleEscapeSequence"),Ae(E_,"charFromCodepoint"),hS=new Array(256),uS=new Array(256),dS=0;dS<256;dS++)hS[dS]=T_(dS)?1:0,uS[dS]=T_(dS);Ae(__,"State$1"),Ae(C_,"generateError"),Ae(S_,"throwError"),Ae(A_,"throwWarning"),pS={YAML:Ae(function(t,e,r){var n,i;null!==t.version&&S_(t,"duplication of %YAML directive"),1!==r.length&&S_(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&S_(t,"ill-formed argument of the YAML directive"),n=parseInt(i[1],10),i=parseInt(i[2],10),1!==n&&S_(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=i<2,1!==i&&2!==i&&A_(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:Ae(function(t,e,r){var n;2!==r.length&&S_(t,"TAG directive accepts exactly two arguments"),n=r[1],lS.test(r=r[0])||S_(t,"ill-formed tag handle (first argument) of the TAG directive"),ZC.call(t.tagMap,r)&&S_(t,'there is a previously declared suffix for "'+r+'" tag handle'),cS.test(n)||S_(t,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch{S_(t,"tag prefix is malformed: "+n)}t.tagMap[r]=n},"handleTagDirective")},Ae(L_,"captureSegment"),Ae(N_,"mergeMappings"),Ae(I_,"storeMappingPair"),Ae(M_,"readLineBreak"),Ae(R_,"skipSeparationSpace"),Ae(D_,"testDocumentSeparator"),Ae(O_,"writeFoldedLines"),Ae(P_,"readPlainScalar"),Ae(B_,"readSingleQuotedScalar"),Ae(F_,"readDoubleQuotedScalar"),Ae($_,"readFlowCollection"),Ae(z_,"readBlockScalar"),Ae(G_,"readBlockSequence"),Ae(U_,"readBlockMapping"),Ae(q_,"readTagProperty"),Ae(Y_,"readAnchorProperty"),Ae(j_,"readAlias"),Ae(H_,"composeNode"),Ae(W_,"readDocument"),Ae(V_,"loadDocuments"),Ae(X_,"loadAll$1"),Ae(K_,"load$1"),gS={loadAll:X_,load:K_},fS=Object.prototype.toString,mS=Object.prototype.hasOwnProperty,yS=65279,vS=10,xS={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"},bS=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],wS=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/,Ae(Z_,"compileStyleMap"),Ae(Q_,"encodeHex"),kS=2,Ae(J_,"State"),Ae(tC,"indentString"),Ae(eC,"generateNextLine"),Ae(rC,"testImplicitResolving"),Ae(nC,"isWhitespace"),Ae(iC,"isPrintable"),Ae(aC,"isNsCharOrWhitespace"),Ae(oC,"isPlainSafe"),Ae(sC,"isPlainSafeFirst"),Ae(lC,"isPlainSafeLast"),Ae(cC,"codePointAt"),Ae(hC,"needIndentIndicator"),TS=1,ES=2,_S=3,CS=4,SS=5,Ae(uC,"chooseScalarStyle"),Ae(dC,"writeScalar"),Ae(pC,"blockHeader"),Ae(gC,"dropEndingNewline"),Ae(fC,"foldString"),Ae(mC,"foldLine"),Ae(yC,"escapeString"),Ae(vC,"writeFlowSequence"),Ae(xC,"writeBlockSequence"),Ae(bC,"writeFlowMapping"),Ae(wC,"writeBlockMapping"),Ae(kC,"detectType"),Ae(TC,"writeNode"),Ae(EC,"getDuplicate
`)?c+`
`:`{
`+c+`
}`,(n=LS(i,{schema:AS})).shape&&(n.shape!==n.shape.toLowerCase()||n.shape.includes("_")))throw new Error(`Nosuchshape:${n.shape}.Shapenamesshouldbelowercase.`);n?.shape&&(e.type=n?.shape),n?.label&&(e.text=n?.label),n?.icon&&(e.icon=n?.icon,!n.label?.trim())&&e.text===r&&(e.text=""),n?.form&&(e.form=n?.form),n?.pos&&(e.pos=n?.pos),n?.img&&(e.img=n?.img,!n.label?.trim())&&e.text===r&&(e.text=""),n?.constraint&&(e.constraint=n.constraint),n.w&&(e.assetWidth=Number(n.w)),n.h&&(e.assetHeight=Number(n.h))}}},"addVertex"),VS=Ae(function(t,e,r){if(R.info("abc78 Got edge...",t={start:t,end:e,type:void 0,text:"",labelType:"text"}),void 0!==(e=r.text)&&(t.text=jS(e.text.trim()),t.text.startsWith('"')&&t.text.endsWith('"')&&(t.text=t.text.substring(1,t.text.length-1)),t.labelType=e.type),void 0!==r&&(t.type=r.type,t.stroke=r.stroke,t.length=10<r.length?10:r.length),!(OS.length<(RS.maxEdges??500)))throw new Error(`Edgelimitexceeded.${OS.length}edgesfound,butthelimitis${RS.maxEdges}.
`):[],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(tL(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}},UL=class{static{Ae(this,"_Hooks")}options;constructor(t){this.options=t||oL}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}},qL=class{static{Ae(this,"Marked")}defaults=V9();options=this.setOptions;parse=this.#t(FL.lex,GL.parse);parseInline=this.#t(FL.lexInline,GL.parseInline);Parser=GL;Renderer=$L;TextRenderer=zL;Lexer=FL;Tokenizer=mL;Hooks=UL;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 $L(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.#e(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 mL(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 UL;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];UL.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 tN(t,e)}function tN(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)?tN(t,e,r,o):(0<n.length?(r.push(n),t.unshift(a)):a.content&&([o,n]=ZL(e,a),r.push([o]),n.content)&&t.unshift(n),tN(t,e,r))}var eN=t(()=>{Ae(KL,"splitTextToChars"),Ae(ZL,"splitWordToFitWidth"),Ae(QL,"splitWordToFitWidthRecursion"),Ae(JL,"splitLineToFitWidth"),Ae(tN,"splitLineToFitWidthRecursion")});function rN(t,e){e&&t.attr("style",e)}async function nN(t,e,r,n,i=!1){(t=t.append("foreignObject")).attr("width",10*r+"px"),t.attr("height",10*r+"px");let a=t.append("xhtml:div"),o=e.label;e.label&&Ul(e.label)&&(o=await Yl(e.label.replace(L.lineBreakRegex,`
`),D()));var s=e.isNode?"nodeLabel":"edgeLabel",l=a.append("span");return l.html(o),rN(l,e.labelStyle),l.attr("class",s+" "+n),rN(a,e.labelStyle),a.style("display","table-cell"),a.style("white-space","nowrap"),a.style("line-height","1.5"),a.style("max-width",r+"px"),a.style("text-align","center"),a.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&a.attr("class","labelBkg"),(l=a.node().getBoundingClientRect()).width===r&&(a.style("display","table"),a.style("white-space","break-spaces"),a.style("width",r+"px"),l=a.node().getBoundingClientRect()),t.node()}function iN(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 aN(t,e,r){return lN(e=iN(t=t.append("text"),1,e),r),r=e.node().getComputedTextLength(),t.remove(),r}function oN(t,e,r){return lN(e=iN(t=t.append("text"),1,e),[{content:r,type:"normal"}]),(r=e.node()?.getBoundingClientRect())&&t.remove(),r}function sN(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=>aN(i,1.1,t)<=e,"checkWidth");for(c of h(l)?[l]:JL(l,h))lN(iN(o,s,1.1),c),s++}return(n?(t=o.node().getBBox(),a.attr("x",t.x-2).attr("y",t.y-2).attr("width",t.width+4).attr("height",t.height+4),i):o).node()}function lN(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 cN(t){return t.replace(/fa[bklrs]?:fa-[\w-]+/g,t=>`<iclass='${t.replace(":"," ")}'></i>`)}var hN,uN,dN,pN=t(()=>{fh(),Jl(),Z3(),e(),XL(),X8(),eN(),Ae(rN,"applyStyle"),Ae(nN,"addHtmlSpan"),Ae(iN,"createTspan"),Ae(aN,"computeWidthOfText"),Ae(oN,"computeDimensionOfText"),Ae(sN,"createFormattedText"),Ae(lN,"updateTextContentAndStyles"),Ae(cN,"replaceIconSubstring"),hN=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.debug("XYZ createText",e,r,n,i,a,o,"addSvgBackground: ",l),a?(n=VL(e,c),a=cN(W8(n)),n=e.replace(/\\\\/g,"\\"),nN(t,{isNode:o,label:Ul(e)?n:a,labelStyle:r.replace("fill:","color:")},s,i,l)):(n=sN(s,t,WL(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")}),gN=t(()=>{uN=Ae((t,e)=>{varr,n=t.x,i=t.y,a=e.x-n,e=e.y-i,o=t.width/2,t=t.height/2,t=Math.abs(e)*o>Math.abs(a)*t?(e<0&&(t=-t),r=0==e?0:t*a/e,t):(r=o=a<0?-o:o,0==a?0:o*e/a);return{x:n+r,y:i+t}},"intersectRect"),dN=uN});functionfN(t,e){e&&t.attr("style",e)}asyncfunctionmN(t){lete=O(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),r=e.append("xhtml:div"),n=t.label;returnt.label&&Ul(t.label)&&(n=awaitYl(t.label.replace(L.lineBreakRegex,`
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:PJ(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,GJ(r)&&this.isRangeDash()){this.consumeChar("-");var n=this.classAtom();if(n.type,GJ(n)){if(n.value<r.value)throw Error("Range out of order in character class");t.push({from:r.value,to:n.value})}else BJ(r.value,t),t.push(PJ("-")),BJ(n.value,t)}else BJ(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=ert(t.PATTERN,i.ensureOptimizations),$U(e)&&(m=!1),v(e,t=>{Brt(r,t,f[n])})):(i.ensureOptimizations&&ret(`${crt} 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 prt(t,e){let r=[],n=frt(t);r=r.concat(n.errors);var i=(t=mrt(n.valid)).valid;return r=(r=(r=(r=(r=r.concat(t.errors)).concat(grt(i))).concat(krt(i))).concat(Trt(i,e))).concat(Ert(i))}function grt(t){let e=[],r=LG(t,t=>YU(t[zrt]));return e=(e=(e=(e=(e=e.concat(yrt(r))).concat(xrt(r))).concat(brt(r))).concat(wrt(r))).concat(vrt(r))}function frt(t){var e=LG(t,t=>!b(t,zrt));return{errors:x(e,t=>({message:"Token Type: ->"+t.name+"<- missing static 'PATTERN' property",type:pnt.MISSING_PATTERN,tokenTypes:[t]})),valid:Qz(t,e)}}function mrt(t){var e=LG(t,t=>(t=t[zrt],!(YU(t)||_5(t)||b(t,"exec")||bU(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:pnt.INVALID_PATTERN,tokenTypes:[t]})),valid:Qz(t,e)}}function yrt(t){class n extends XJ{static{Ae(this,"EndAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitEndAnchor(t){this.found=!0}}return t=LG(t,t=>{t=t.PATTERN;try{var e=Ket(t),r=new n;return r.visit(e),r.found}catch{return Yrt.test(t.source)}}),x(t,t=>({message:`Unexpected RegExp Anchor Error:
Seechevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORSfordetails.`,type:pnt.EOI_ANCHOR_FOUND,tokenTypes:[t]}))}function vrt(t){return t=LG(t,t=>t.PATTERN.test("")),x(t,t=>({message:"Token Type: ->"+t.name+"<- static 'PATTERN' must not match an empty string",type:pnt.EMPTY_MATCH_PATTERN,tokenTypes:[t]}))}function xrt(t){class n extends XJ{static{Ae(this,"StartAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitStartAnchor(t){this.found=!0}}return t=LG(t,t=>{t=t.PATTERN;try{var e=Ket(t),r=new n;return r.visit(e),r.found}catch{return jrt.test(t.source)}}),x(t,t=>({message:`UnexpectedRegExpAnchorError:
Seehttps://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:pnt.SOI_ANCHOR_FOUND,tokenTypes:[t]}))}function brt(t){return t=LG(t,t=>(t=t[zrt])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:pnt.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[t]}))}function wrt(t){let n=[],e=x(t,r=>kY(t,(t,e)=>(r.PATTERN.source!==e.PATTERN.source||NU(n,e)||e.PATTERN===fnt.NA||(n.push(e),t.push(e)),t),[]));e=UF(e);var r=LG(e,t=>1<t.length);return x(r,t=>{var e=x(t,t=>t.name);return{message:`The same RegExp pattern ->${UG(t).PATTERN}<-has been used in all of the following Token Types: ${e.join(", ")} <-`,type:pnt.DUPLICATE_PATTERNS_FOUND,tokenTypes:t}})}function krt(t){return t=LG(t,t=>!!b(t,"GROUP")&&(t=t.GROUP)!==fnt.SKIPPED&&t!==fnt.NA&&!bU(t)),x(t,t=>({message:"Token Type: ->"+t.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:pnt.INVALID_GROUP_TYPE_FOUND,tokenTypes:[t]}))}function Trt(t,e){return t=LG(t,t=>void 0!==t.PUSH_MODE&&!NU(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:pnt.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[t]}))}function Ert(t){let a=[],e=kY(t,(t,e,r)=>{var n=e.PATTERN;return n!==fnt.NA&&(bU(n)?t.push({str:n,idx:r,tokenType:e}):YU(n)&&Crt(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&&_rt(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:pnt.UNREACHABLE_PATTERN,tokenTypes:[n,r]}))})}),a}function _rt(t,e){var r;if(YU(e))return null!==(r=e.exec(t))&&0===r.index;if(_5(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 Crt(e){return void 0===FG([".","\\","[","]","|","^","$","(",")","?","*","+","{"],t=>-1!==e.source.indexOf(t))}function Srt(t){var e=t.ignoreCase?"i":"";return new RegExp(`^(?:${t.source})`,e)}function Art(t){var e=t.ignoreCase?"iy":"y";return new RegExp(""+t.source,e)}function Lrt(t,e,r){let i=[];return b(t,Grt)||i.push({message:"A MultiMode Lexer cannot be initialized without a <"+Grt+`> property in its definition
`,type:pnt.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),b(t,Urt)||i.push({message:"A MultiMode Lexer cannot be initialized without a <"+Urt+`>propertyinitsdefinition
FordetailsSee:https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(e.issue===pnt.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=Irt(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=Frt(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=rG(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.",fnt.NA=/NOT_APPLICABLE/});function xnt(t){return bnt(t)?t.LABEL:t.name}function bnt(t){return bU(t.LABEL)&&""!==t.LABEL}function wnt(t){return knt(t)}function knt(t){var e=t.patter
See:https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return b(t,Cnt)&&(r.CATEGORIES=t[Cnt]),Qrt([r]),b(t,Snt)&&(r.LABEL=t[Snt]),b(t,Ant)&&(r.GROUP=t[Ant]),b(t,Nnt)&&(r.POP_MODE=t[Nnt]),b(t,Lnt)&&(r.PUSH_MODE=t[Lnt]),b(t,Int)&&(r.LONGER_ALT=t[Int]),b(t,Mnt)&&(r.LINE_BREAKS=t[Mnt]),b(t,Rnt)&&(r.START_CHARS_HINT=t[Rnt]),r}function Tnt(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 Ent(t,e){return Krt(t,e)}var _nt,Cnt,Snt,Ant,Lnt,Nnt,Int,Mnt,Rnt,Dnt,Ont,Pnt,Bnt,Fnt=t(()=>{hj(),vnt(),mnt(),Ae(xnt,"tokenLabel"),Ae(bnt,"hasTokenLabel"),_nt="parent",Cnt="categories",Snt="label",Ant="group",Lnt="push_mode",Nnt="pop_mode",Int="longer_alt",Mnt="line_breaks",Rnt="start_chars_hint",Ae(wnt,"createToken"),Ae(knt,"createTokenInternal"),Qrt([Dnt=wnt({name:"EOF",pattern:fnt.NA})]),Ae(Tnt,"createTokenInstance"),Ae(Ent,"tokenMatcher")}),$nt=t(()=>{Fnt(),hj(),Oet(),Ont={buildMismatchTokenMessage({expected:t,actual:e}){return`Expecting ${bnt(t)?`--> ${xnt(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:'`+UG(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=>xnt(t)).join(",")}]`).join(" ,")}>`+e}},Object.freeze(Ont),Pnt={buildRuleNotFoundError(t,e){return"Invalid grammar, reference to a rule which is not defined: ->"+e.nonTerminalName+`<-
insidetoplevelrule:->`+t.name+"<-"}},Bnt={buildDuplicateFoundError(t,e){function r(t){return t instanceof _et?t.terminalType.name:t instanceof met?t.nonTerminalName:""}Ae(r,"getExtraProductionArgument");let n=t.name,i=UG(e),a=i.idx,o=Ret(i),s=r(i),l=0<a,c=`->${o}${l?a:""}<-${s?`with argument: ->${s}<-`:""}
ForFurtherdetails.`)}if(Kk(t))this.tokensMap=kY(t,(t,e)=>(t[e.name]=e,t),{});else if(b(t,"modes")&&TG(AP(CU(t.modes)),cnt))e=AP(CU(t.modes)),e=XY(e),this.tokensMap=kY(e,(t,e)=>(t[e.name]=e,t),{});else{if(!k5(t))throw new Error("<tokensDictionary> argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap=PF(t)}this.tokensMap.EOF=Dnt,e=b(t,"modes")?AP(CU(t.modes)):CU(t),t=TG(e,t=>$U(t.categoryMatches)),this.tokenMatcher=t?Zrt:Krt,Qrt(CU(this.tokensMap))}defineRule(r,n,t){if(this.selfAnalysisDone)throw Error(`Grammarrule<${r}>maynotbedefinedafterthe'performSelfAnalysis'methodhasbeencalled'
Idxvaluemustbeanonenegativevaluesmallerthan`+(Uat+1))).KNOWN_RECORDER_ERROR=!0,t}var Gat,Uat,qat,Yat,jat,Hat,Wat,Vat=t(()=>{hj(),Oet(),vnt(),mnt(),Fnt(),aot(),nat(),Gat={description:"This Object indicates the Parser is during Recording Phase"},Object.freeze(Gat),Uat=Math.pow(2,8)-1,Qrt([qat=wnt({name:"RECORDING_PHASE_TOKEN",pattern:fnt.NA})]),Yat=Tnt(qat,`ThisITokenindicatestheParserisinRecordingPhase
See:https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1),Object.freeze(Yat),jat={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 Qut,Jut,tdt,edt,rdt,ndt,idt,adt,odt,sdt,ldt,cdt,hdt,udt,ddt,pdt=t(()=>{lct(),ptt(),Sht(),Ae(Rut,"parseJSDoc"),Ae(Dut,"isJSDoc"),Ae(Out,"getLines"),Qut=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,Jut=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu,Ae(Put,"tokenize"),Ae(But,"buildInlineTokens"),tdt=/\S/,edt=/\s*$/,Ae(Fut,"skipWhitespace"),Ae($ut,"lastCharacter"),Ae(zut,"parseJSDocComment"),Ae(Gut,"parseJSDocElement"),Ae(Uut,"appendEmptyLine"),Ae(qut,"parseJSDocText"),Ae(Yut,"parseJSDocInline"),Ae(jut,"parseJSDocTag"),Ae(Hut,"parseJSDocLine"),Ae(Wut,"normalizeOptions"),Ae(Vut,"normalizeOption"),rdt=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+=Zut(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+=Zut(e)+r);return e.trim()}},ndt=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"),S1t=Ae(t=>{switch(t.customType??t.type){case _pt.NORMAL:return"commit-normal";case _pt.REVERSE:return"commit-reverse";case _pt.HIGHLIGHT:return"commit-highlight";case _pt.MERGE:return"commit-merge";case _pt.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),A1t=Ae((t,e,r,n)=>{var i,a={x:0,y:0};return 0<t.parents.length?(i=y1t(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"),L1t=Ae((t,e,r)=>{var r="BT"===g1t&&r?e:e+10,e="TB"===g1t||"BT"===g1t?r:c1t.get(t.branch)?.pos,n="TB"===g1t||"BT"===g1t?c1t.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"),N1t=Ae((t,a,o)=>{if(!l1t)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"===g1t||"BT"===g1t?30:0,e=[...a.keys()],h=l1t?.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"===g1t&&(h&&x1t(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=A1t(e,g1t,c,h1t));var r,n,i,t=L1t(e,c,h);o&&(r=S1t(e),n=e.customType??e.type,i=c1t.get(e.branch)?.index??0,E1t(s,e,t,r,i,n),_1t(l,e,t,c),C1t(l,e,t,c)),"TB"===g1t||"BT"===g1t?h1t.set(e.id,{x:t.x,y:t.posWithOffset}):h1t.set(e.id,{x:t.posWithOffset,y:t.y}),(c="BT"===g1t&&h?c+40:c+40+10)>p1t&&(p1t=c)})},"drawCommits"),I1t=Ae((e,r,t,n,i)=>{let a=(("TB"===g1t||"BT"===g1t?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"),M1t=Ae((t,e,r=0)=>{let n=t+Math.abs(t-e)/2,i;return 5<r?n:d1t.every(t=>10<=Math.abs(t-n))?(d1t.push(n),n):(i=Math.abs(t-e),M1t(t,e-i/5,r+1))},"findLane"),R1t=Ae((t,e,r,n)=>{var i,a=h1t.get(e.id),o=h1t.get(r.id);if(void 0===a||void 0===o)throw new Error(`Commitpositionsnotfoundforcommits${e.id}and`+r.id);let s=I1t(e,r,a,o,n),l="",c="",h=0,u=0,d=c1t.get(r.branch)?.index;r.type===_pt.MERGE&&e.id!==r.parents[0]&&(d=c1t.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?M1t(a.y,o.y):M1t(o.y,a.y),i=a.x<o.x?M1t(a.x,o.x):M1t(o.x,a.x),p="TB"===g1t?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=c1t.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"===g1t?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=c1t.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=c1t.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"===g1t?(a.x<o.x&&(p=r.type===_pt.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===_pt.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"===g1t?(a.x<o.x&&(p=r.type===_pt.MERGE&&e.id!==r.parents[0]
`,"id:",e,r),!l1t)throw new Error("GitGraph config not found");let o=l1t.rotateCommitLabel??!1,i=n.db,s=(u1t=i.getCommits(),t=i.getBranchesAsObjArray(),g1t=i.getDirection(),O(`[id="${e}"]`)),l=0;t.forEach((t,e)=>{var r=m1t(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=P1t(t.name,l,e,r,o),a.remove(),i.remove(),n.remove()}),N1t(s,u1t,!1),l1t.showBranches&&O1t(s,t),D1t(s,u1t),N1t(s,u1t,!0),j8.insertTitle(s,"gitTitleText",l1t.titleTopMargin??0,i.getDiagramTitle()),xc(void 0,s,l1t.diagramPadding,l1t.useMaxWidth)},"draw"),F1t={draw:B1t}}),Y1t=t(()=>{$1t=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"),OOt=DOt});function FOt(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 $Ot(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)$Ot(h,s);var u,d,p,g,f=YOt(o),m=f.width;R.debug("setBlockSizes abc95 maxWidth of",o.id,":s children is ",m,u=f.height);for(d of o.children)d.size&&(R.debug(`abc95Settingsizeofchildrenof${o.id}id=${d.id}${m}${u}`+JSON.stringify(d.size)),d.size.width=m*(d.widthInColumns??1)+qOt*((d.widthInColumns??1)-1),d.size.height=u,d.size.x=0,d.size.y=0,R.debug(`abc95updatingsizeof${o.id}childrenchild:${d.id}maxWidth:${m}maxHeight:`+u));for(p of o.children)$Ot(p,s,m,u);let t=o.columns??-1,e=0;for(g of o.children)e+=g.widthInColumns??1;let r=o.children.length,n=(0<t&&t<e&&(r=t),Math.ceil(e/r)),i=r*(m+qOt)+qOt,a=n*(u+qOt)+qOt;if(i<l){R.debug(`Detectedtosmallsiebling:abc95${o.id}sieblingWidth${l}sieblingHeight${c}width`+i),i=l,a=c;var y,v=(l-r*qOt-qOt)/r,x=(c-n*qOt-qOt)/n;R.debug("Size indata abc88",o.id,"childWidth",v,"maxWidth",m),R.debug("Size indata abc88",o.id,"childHeight",x,"maxHeight",u),R.debug("Size indata abc88 xSize",r,"padding",qOt);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<(f=0<t?Math.min(o.children.length,t):o.children.length))){var b,w=(i-f*qOt-qOt)/f;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 zOt(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)*qOt;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):-qOt),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}=FOt(a,t),h!=r&&(r=h,e=n?.size?.x?n?.size?.x+(-n?.size?.width/2||0):-qOt,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+qOt),d.size&&(u=l/2,o.size.x=e+qOt+u,R.debug(`abc91layoutblocks(calc)px,pyid:${o.id}startingPos=X${e}newstartingPosX${o.size.x}${u}padding=${qOt}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+qOt)+c/2+qOt,R.debug(`abc88layoutblocks(calc)px,pyid:${o.id}startingPosX${e}${qOt}${u}=>x:${o.size.x}y:${o.size.y}${o.widthInColumns}(width*(child?.w||1))/2`+l*(o?.widthInColumns??1)/2)),o.children&&zOt(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 GOt(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}=GOt(c,{minX:e,minY:r,maxX:n,maxY:i}));return{minX:e,minY:r,maxX:n,maxY:i}}function UOt(t){var e,r,n=t.getBlock("root");if(n)return $Ot(n,t,0,0),zOt(n,t),R.debug("getBlocks",