@zenuml/core 3.23.9 → 3.23.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{StylePanel.2584aeb2.js → StylePanel.68d43221.js} +2 -2
- package/dist/{close.b936af85.js → close.f635f75a.js} +2 -2
- package/dist/{collapse-expanded.52bc9563.js → collapse-expanded.76b5eeab.js} +2 -2
- package/dist/{collapse-unexpanded.8b59c6d6.js → collapse-unexpanded.2b46ba59.js} +2 -2
- package/dist/{core.2db7f197.js → core.63462460.js} +510 -494
- package/dist/{debug.f80fe23f.js → debug.73bc15d1.js} +2 -2
- package/dist/{message-arrow.0dbf6c88.js → message-arrow.235a72ff.js} +2 -2
- package/dist/{non-selected-cycle.825bf383.js → non-selected-cycle.02b23375.js} +2 -2
- package/dist/{numbering.c15af55d.js → numbering.c3df3200.js} +2 -2
- package/dist/{privacy.b6feb91f.js → privacy.07f28fb0.js} +2 -2
- package/dist/{selected-cycle.f0f900d1.js → selected-cycle.2e3b5634.js} +2 -2
- package/dist/{theme.a9291fd0.js → theme.ba4f3a71.js} +2 -2
- package/dist/{tip.753267d5.js → tip.1476f8eb.js} +2 -2
- package/dist/zenuml.esm.mjs +1 -1
- package/dist/zenuml.js +1 -1
- package/dist/{zoom-in.bd33bc62.js → zoom-in.354630fe.js} +2 -2
- package/dist/{zoom-out.d6892b58.js → zoom-out.102bbec9.js} +2 -2
- package/package.json +1 -1
package/dist/zenuml.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
`,n)),n.context===null||n.context.hasEmptyPath()){if(n.context===null||n.context.isEmpty())return i.add(n),!0;i.add(new V1({state:n.state,context:S2.EMPTY},n)),s=!0}if(n.context!==null&&!n.context.isEmpty()){for(let L=0;L<n.context.length;L++)if(n.context.getReturnState(L)!==S2.EMPTY_RETURN_STATE){const a=n.context.getParent(L),c=this.atn.states[n.context.getReturnState(L)];l=new V1({state:c,context:a},n),s=this.closure(e,l,i,s,r,o)}}return s}n.state.epsilonOnlyTransitions||(!s||!n.passedThroughNonGreedyDecision)&&i.add(n);for(let L=0;L<n.state.transitions.length;L++){const a=n.state.transitions[L];l=this.getEpsilonTarget(e,n,a,i,r,o),l!==null&&(s=this.closure(e,l,i,s,r,o))}return s}getEpsilonTarget(e,n,i,s,r,o){let l=null;if(i.serializationType===o2.RULE){const L=E1.create(n.context,i.followState.stateNumber);l=new V1({state:i.target,context:L},n)}else{if(i.serializationType===o2.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(i.serializationType===o2.PREDICATE)r1.debug&&console.log("EVAL rule "+i.ruleIndex+":"+i.predIndex),s.hasSemanticContext=!0,this.evaluatePredicate(e,i.ruleIndex,i.predIndex,r)&&(l=new V1({state:i.target},n));else if(i.serializationType===o2.ACTION)if(n.context===null||n.context.hasEmptyPath()){const L=H9.append(n.lexerActionExecutor,this.atn.lexerActions[i.actionIndex]);l=new V1({state:i.target,lexerActionExecutor:L},n)}else l=new V1({state:i.target},n);else i.serializationType===o2.EPSILON?l=new V1({state:i.target},n):(i.serializationType===o2.ATOM||i.serializationType===o2.RANGE||i.serializationType===o2.SET)&&o&&i.matches(H.EOF,0,s1.MAX_CHAR_VALUE)&&(l=new V1({state:i.target},n))}return l}evaluatePredicate(e,n,i,s){if(this.recog===null)return!0;if(!s)return this.recog.sempred(null,n,i);const r=this.column,o=this.line,l=e.index,L=e.mark();try{return this.consume(e),this.recog.sempred(null,n,i)}finally{this.column=r,this.line=o,e.seek(l),e.release(L)}}captureSimState(e,n,i){e.index=n.index,e.line=this.line,e.column=this.column,e.dfaState=i}addDFAEdge(e,n,i,s){if(i===void 0&&(i=null),s===void 0&&(s=null),i===null&&s!==null){const r=s.hasSemanticContext;if(s.hasSemanticContext=!1,i=this.addDFAState(s),r)return i}return n<r1.MIN_DFA_EDGE||n>r1.MAX_DFA_EDGE||(r1.debug&&console.log("EDGE "+e+" -> "+i+" upon "+n),e.edges===null&&(e.edges=[]),e.edges[n-r1.MIN_DFA_EDGE]=i),i}addDFAState(e){const n=new i4(null,e);let i=null;for(let l=0;l<e.items.length;l++){const L=e.items[l];if(L.state instanceof I1){i=L;break}}i!==null&&(n.isAcceptState=!0,n.lexerActionExecutor=i.lexerActionExecutor,n.prediction=this.atn.ruleToTokenType[i.state.ruleIndex]);const s=this.decisionToDFA[this.mode],r=s.states.get(n);if(r!==null)return r;const o=n;return o.stateNumber=s.states.length,e.setReadonly(!0),o.configs=e,s.states.add(o),o}getDFA(e){return this.decisionToDFA[e]}getText(e){return e.getText(this.startIndex,e.index-1)}consume(e){e.LA(1)===`
|
|
13
13
|
`.charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,e.consume()}getTokenName(e){return e===-1?"EOF":"'"+String.fromCharCode(e)+"'"}}r1.debug=!1,r1.dfa_debug=!1,r1.MIN_DFA_EDGE=0,r1.MAX_DFA_EDGE=127;class Wr{constructor(e,n){this.alt=n,this.pred=e}toString(){return"("+this.pred+", "+this.alt+")"}}class qd{constructor(){this.data={}}get(e){return this.data["k-"+e]||null}set(e,n){this.data["k-"+e]=n}values(){return Object.keys(this.data).filter(e=>e.startsWith("k-")).map(e=>this.data[e],this)}}const q2={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(t,e){if(q2.allConfigsInRuleStopStates(e))return!0;if(t===q2.SLL&&e.hasSemanticContext){const i=new F1;for(let s=0;s<e.items.length;s++){let r=e.items[s];r=new a1({semanticContext:P2.NONE},r),i.add(r)}e=i}const n=q2.getConflictingAltSubsets(e);return q2.hasConflictingAltSet(n)&&!q2.hasStateAssociatedWithOneAlt(e)},hasConfigInRuleStopState:function(t){for(let e=0;e<t.items.length;e++)if(t.items[e].state instanceof I1)return!0;return!1},allConfigsInRuleStopStates:function(t){for(let e=0;e<t.items.length;e++)if(!(t.items[e].state instanceof I1))return!1;return!0},resolvesToJustOneViableAlt:function(t){return q2.getSingleViableAlt(t)},allSubsetsConflict:function(t){return!q2.hasNonConflictingAltSet(t)},hasNonConflictingAltSet:function(t){for(let e=0;e<t.length;e++)if(t[e].length===1)return!0;return!1},hasConflictingAltSet:function(t){for(let e=0;e<t.length;e++)if(t[e].length>1)return!0;return!1},allSubsetsEqual:function(t){let e=null;for(let n=0;n<t.length;n++){const i=t[n];if(e===null)e=i;else if(i!==e)return!1}return!0},getUniqueAlt:function(t){const e=q2.getAlts(t);return e.length===1?e.minValue():J2.INVALID_ALT_NUMBER},getAlts:function(t){const e=new B3;return t.map(function(n){e.or(n)}),e},getConflictingAltSubsets:function(t){const e=new z0;return e.hashFunction=function(n){n3.hashStuff(n.state.stateNumber,n.context)},e.equalsFunction=function(n,i){return n.state.stateNumber===i.state.stateNumber&&n.context.equals(i.context)},t.items.map(function(n){let i=e.get(n);i===null&&(i=new B3,e.set(n,i)),i.add(n.alt)}),e.getValues()},getStateToAltMap:function(t){const e=new qd;return t.items.map(function(n){let i=e.get(n.state);i===null&&(i=new B3,e.set(n.state,i)),i.add(n.alt)}),e},hasStateAssociatedWithOneAlt:function(t){const e=q2.getStateToAltMap(t).values();for(let n=0;n<e.length;n++)if(e[n].length===1)return!0;return!1},getSingleViableAlt:function(t){let e=null;for(let n=0;n<t.length;n++){const s=t[n].minValue();if(e===null)e=s;else if(e!==s)return J2.INVALID_ALT_NUMBER}return e}};class de extends _4{constructor(e,n,i,s,r,o){o=o||e._ctx,s=s||e.getCurrentToken(),i=i||e.getCurrentToken(),n=n||e.getInputStream(),super({message:"",recognizer:e,input:n,ctx:o}),this.deadEndConfigs=r,this.startToken=i,this.offendingToken=s}}class Kd{constructor(e){this.defaultMapCtor=e||z0,this.cacheMap=new this.defaultMapCtor}get(e,n){const i=this.cacheMap.get(e)||null;return i===null?null:i.get(n)||null}set(e,n,i){let s=this.cacheMap.get(e)||null;s===null&&(s=new this.defaultMapCtor,this.cacheMap.set(e,s)),s.set(n,i)}}class Yd extends P3{constructor(e,n,i,s){super(n,s),this.parser=e,this.decisionToDFA=i,this.predictionMode=q2.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this.debug=!1,this.debug_closure=!1,this.debug_add=!1,this.debug_list_atn_decisions=!1,this.dfa_debug=!1,this.retry_debug=!1}reset(){}adaptivePredict(e,n,i){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+n+" exec LA(1)=="+this.getLookaheadName(e)+" line "+e.LT(1).line+":"+e.LT(1).column),this._input=e,this._startIndex=e.index,this._outerContext=i;const s=this.decisionToDFA[n];this._dfa=s;const r=e.mark(),o=e.index;try{let l;if(s.precedenceDfa?l=s.getPrecedenceStartState(this.parser.getPrecedence()):l=s.s0,l===null){i===null&&(i=P9.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+s.decision+" exec LA(1)=="+this.getLookaheadName(e)+", outerContext="+i.toString(this.parser.ruleNames));const a=!1;let c=this.computeStartState(s.atnStartState,P9.EMPTY,a);s.precedenceDfa?(s.s0.configs=c,c=this.applyPrecedenceFilter(c),l=this.addDFAState(s,new i4(null,c)),s.setPrecedenceStartState(this.parser.getPrecedence(),l)):(l=this.addDFAState(s,new i4(null,c)),s.s0=l)}const L=this.execATN(s,l,e,o,i);return this.debug&&console.log("DFA after predictATN: "+s.toString(this.parser.literalNames,this.parser.symbolicNames)),L}finally{this._dfa=null,this.mergeCache=null,e.seek(o),e.release(r)}}execATN(e,n,i,s,r){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+e.decision+" exec LA(1)=="+this.getLookaheadName(i)+" line "+i.LT(1).line+":"+i.LT(1).column);let o,l=n;this.debug&&console.log("s0 = "+n);let L=i.LA(1);for(;;){let a=this.getExistingTargetState(l,L);if(a===null&&(a=this.computeTargetState(e,l,L)),a===P3.ERROR){const c=this.noViableAlt(i,r,l.configs,s);if(i.seek(s),o=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(l.configs,r),o!==J2.INVALID_ALT_NUMBER)return o;throw c}if(a.requiresFullContext&&this.predictionMode!==q2.SLL){let c=null;if(a.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const h=i.index;if(h!==s&&i.seek(s),c=this.evalSemanticContext(a.predicates,r,!0),c.length===1)return this.debug&&console.log("Full LL avoided"),c.minValue();h!==s&&i.seek(h)}this.dfa_debug&&console.log("ctx sensitive state "+r+" in "+a);const C=!0,u=this.computeStartState(e.atnStartState,r,C);return this.reportAttemptingFullContext(e,c,a.configs,s,i.index),o=this.execATNWithFullContext(e,a,u,i,s,r),o}if(a.isAcceptState){if(a.predicates===null)return a.prediction;const c=i.index;i.seek(s);const C=this.evalSemanticContext(a.predicates,r,!0);if(C.length===0)throw this.noViableAlt(i,r,a.configs,s);return C.length===1||this.reportAmbiguity(e,a,s,c,!1,C,a.configs),C.minValue()}l=a,L!==H.EOF&&(i.consume(),L=i.LA(1))}}getExistingTargetState(e,n){const i=e.edges;return i===null?null:i[n+1]||null}computeTargetState(e,n,i){const s=this.computeReachSet(n.configs,i,!1);if(s===null)return this.addDFAEdge(e,n,i,P3.ERROR),P3.ERROR;let r=new i4(null,s);const o=this.getUniqueAlt(s);if(this.debug){const l=q2.getConflictingAltSubsets(s);console.log("SLL altSubSets="+v4(l)+", configs="+s+", predict="+o+", allSubsetsConflict="+q2.allSubsetsConflict(l)+", conflictingAlts="+this.getConflictingAlts(s))}return o!==J2.INVALID_ALT_NUMBER?(r.isAcceptState=!0,r.configs.uniqueAlt=o,r.prediction=o):q2.hasSLLConflictTerminatingPrediction(this.predictionMode,s)&&(r.configs.conflictingAlts=this.getConflictingAlts(s),r.requiresFullContext=!0,r.isAcceptState=!0,r.prediction=r.configs.conflictingAlts.minValue()),r.isAcceptState&&r.configs.hasSemanticContext&&(this.predicateDFAState(r,this.atn.getDecisionState(e.decision)),r.predicates!==null&&(r.prediction=J2.INVALID_ALT_NUMBER)),r=this.addDFAEdge(e,n,i,r),r}predicateDFAState(e,n){const i=n.transitions.length,s=this.getConflictingAltsOrUniqueAlt(e.configs),r=this.getPredsForAmbigAlts(s,e.configs,i);r!==null?(e.predicates=this.getPredicatePredictions(s,r),e.prediction=J2.INVALID_ALT_NUMBER):e.prediction=s.minValue()}execATNWithFullContext(e,n,i,s,r,o){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+i);const l=!0;let L=!1,a,c=i;s.seek(r);let C=s.LA(1),u=-1;for(;;){if(a=this.computeReachSet(c,C,l),a===null){const f=this.noViableAlt(s,o,c,r);s.seek(r);const m=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(c,o);if(m!==J2.INVALID_ALT_NUMBER)return m;throw f}const h=q2.getConflictingAltSubsets(a);if(this.debug&&console.log("LL altSubSets="+h+", predict="+q2.getUniqueAlt(h)+", resolvesToJustOneViableAlt="+q2.resolvesToJustOneViableAlt(h)),a.uniqueAlt=this.getUniqueAlt(a),a.uniqueAlt!==J2.INVALID_ALT_NUMBER){u=a.uniqueAlt;break}else if(this.predictionMode!==q2.LL_EXACT_AMBIG_DETECTION){if(u=q2.resolvesToJustOneViableAlt(h),u!==J2.INVALID_ALT_NUMBER)break}else if(q2.allSubsetsConflict(h)&&q2.allSubsetsEqual(h)){L=!0,u=q2.getSingleViableAlt(h);break}c=a,C!==H.EOF&&(s.consume(),C=s.LA(1))}return a.uniqueAlt!==J2.INVALID_ALT_NUMBER?(this.reportContextSensitivity(e,u,a,r,s.index),u):(this.reportAmbiguity(e,n,r,s.index,L,null,a),u)}computeReachSet(e,n,i){this.debug&&console.log("in computeReachSet, starting closure: "+e),this.mergeCache===null&&(this.mergeCache=new Kd);const s=new F1(i);let r=null;for(let l=0;l<e.items.length;l++){const L=e.items[l];if(this.debug&&console.log("testing "+this.getTokenName(n)+" at "+L),L.state instanceof I1){(i||n===H.EOF)&&(r===null&&(r=[]),r.push(L),this.debug_add&&console.log("added "+L+" to skippedStopStates"));continue}for(let a=0;a<L.state.transitions.length;a++){const c=L.state.transitions[a],C=this.getReachableTarget(c,n);if(C!==null){const u=new a1({state:C},L);s.add(u,this.mergeCache),this.debug_add&&console.log("added "+u+" to intermediate")}}}let o=null;if(r===null&&n!==H.EOF&&(s.items.length===1||this.getUniqueAlt(s)!==J2.INVALID_ALT_NUMBER)&&(o=s),o===null){o=new F1(i);const l=new i3,L=n===H.EOF;for(let a=0;a<s.items.length;a++)this.closure(s.items[a],o,l,!1,i,L)}if(n===H.EOF&&(o=this.removeAllConfigsNotInRuleStopState(o,o===s)),r!==null&&(!i||!q2.hasConfigInRuleStopState(o)))for(let l=0;l<r.length;l++)o.add(r[l],this.mergeCache);return o.items.length===0?null:o}removeAllConfigsNotInRuleStopState(e,n){if(q2.allConfigsInRuleStopStates(e))return e;const i=new F1(e.fullCtx);for(let s=0;s<e.items.length;s++){const r=e.items[s];if(r.state instanceof I1){i.add(r,this.mergeCache);continue}if(n&&r.state.epsilonOnlyTransitions&&this.atn.nextTokens(r.state).contains(H.EPSILON)){const l=this.atn.ruleToStopState[r.state.ruleIndex];i.add(new a1({state:l},r),this.mergeCache)}}return i}computeStartState(e,n,i){const s=Y6(this.atn,n),r=new F1(i);for(let o=0;o<e.transitions.length;o++){const l=e.transitions[o].target,L=new a1({state:l,alt:o+1,context:s},null),a=new i3;this.closure(L,r,a,!0,i,!1)}return r}applyPrecedenceFilter(e){let n;const i=[],s=new F1(e.fullCtx);for(let r=0;r<e.items.length;r++){if(n=e.items[r],n.alt!==1)continue;const o=n.semanticContext.evalPrecedence(this.parser,this._outerContext);o!==null&&(i[n.state.stateNumber]=n.context,o!==n.semanticContext?s.add(new a1({semanticContext:o},n),this.mergeCache):s.add(n,this.mergeCache))}for(let r=0;r<e.items.length;r++)if(n=e.items[r],n.alt!==1){if(!n.precedenceFilterSuppressed){const o=i[n.state.stateNumber]||null;if(o!==null&&o.equals(n.context))continue}s.add(n,this.mergeCache)}return s}getReachableTarget(e,n){return e.matches(n,0,this.atn.maxTokenType)?e.target:null}getPredsForAmbigAlts(e,n,i){let s=[];for(let o=0;o<n.items.length;o++){const l=n.items[o];e.has(l.alt)&&(s[l.alt]=P2.orContext(s[l.alt]||null,l.semanticContext))}let r=0;for(let o=1;o<i+1;o++){const l=s[o]||null;l===null?s[o]=P2.NONE:l!==P2.NONE&&(r+=1)}return r===0&&(s=null),this.debug&&console.log("getPredsForAmbigAlts result "+v4(s)),s}getPredicatePredictions(e,n){const i=[];let s=!1;for(let r=1;r<n.length;r++){const o=n[r];e!==null&&e.has(r)&&i.push(new Wr(o,r)),o!==P2.NONE&&(s=!0)}return s?i:null}getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(e,n){const i=this.splitAccordingToSemanticValidity(e,n),s=i[0],r=i[1];let o=this.getAltThatFinishedDecisionEntryRule(s);return o!==J2.INVALID_ALT_NUMBER||r.items.length>0&&(o=this.getAltThatFinishedDecisionEntryRule(r),o!==J2.INVALID_ALT_NUMBER)?o:J2.INVALID_ALT_NUMBER}getAltThatFinishedDecisionEntryRule(e){const n=[];for(let i=0;i<e.items.length;i++){const s=e.items[i];(s.reachesIntoOuterContext>0||s.state instanceof I1&&s.context.hasEmptyPath())&&n.indexOf(s.alt)<0&&n.push(s.alt)}return n.length===0?J2.INVALID_ALT_NUMBER:Math.min.apply(null,n)}splitAccordingToSemanticValidity(e,n){const i=new F1(e.fullCtx),s=new F1(e.fullCtx);for(let r=0;r<e.items.length;r++){const o=e.items[r];o.semanticContext!==P2.NONE?o.semanticContext.evaluate(this.parser,n)?i.add(o):s.add(o):i.add(o)}return[i,s]}evalSemanticContext(e,n,i){const s=new B3;for(let r=0;r<e.length;r++){const o=e[r];if(o.pred===P2.NONE){if(s.add(o.alt),!i)break;continue}const l=o.pred.evaluate(this.parser,n);if((this.debug||this.dfa_debug)&&console.log("eval pred "+o+"="+l),l&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+o.alt),s.add(o.alt),!i))break}return s}closure(e,n,i,s,r,o){this.closureCheckingStopState(e,n,i,s,r,0,o)}closureCheckingStopState(e,n,i,s,r,o,l){if((this.debug||this.debug_closure)&&(console.log("closure("+e.toString(this.parser,!0)+")"),e.reachesIntoOuterContext>50))throw"problem";if(e.state instanceof I1)if(e.context.isEmpty())if(r){n.add(e,this.mergeCache);return}else this.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex));else{for(let L=0;L<e.context.length;L++){if(e.context.getReturnState(L)===S2.EMPTY_RETURN_STATE){if(r){n.add(new a1({state:e.state,context:S2.EMPTY},e),this.mergeCache);continue}else this.debug&&console.log("FALLING off rule "+this.getRuleName(e.state.ruleIndex)),this.closure_(e,n,i,s,r,o,l);continue}const a=this.atn.states[e.context.getReturnState(L)],c=e.context.getParent(L),C={state:a,alt:e.alt,context:c,semanticContext:e.semanticContext},u=new a1(C,null);u.reachesIntoOuterContext=e.reachesIntoOuterContext,this.closureCheckingStopState(u,n,i,s,r,o-1,l)}return}this.closure_(e,n,i,s,r,o,l)}closure_(e,n,i,s,r,o,l){const L=e.state;L.epsilonOnlyTransitions||n.add(e,this.mergeCache);for(let a=0;a<L.transitions.length;a++){if(a===0&&this.canDropLoopEntryEdgeInLeftRecursiveRule(e))continue;const c=L.transitions[a],C=s&&!(c instanceof Br),u=this.getEpsilonTarget(e,c,C,o===0,r,l);if(u!==null){let h=o;if(e.state instanceof I1){if(this._dfa!==null&&this._dfa.precedenceDfa&&c.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(u.precedenceFilterSuppressed=!0),u.reachesIntoOuterContext+=1,i.add(u)!==u)continue;n.dipsIntoOuterContext=!0,h-=1,this.debug&&console.log("dips into outer ctx: "+u)}else{if(!c.isEpsilon&&i.add(u)!==u)continue;c instanceof g8&&h>=0&&(h+=1)}this.closureCheckingStopState(u,n,i,C,r,h,l)}}}canDropLoopEntryEdgeInLeftRecursiveRule(e){const n=e.state;if(n.stateType!==a2.STAR_LOOP_ENTRY||n.stateType!==a2.STAR_LOOP_ENTRY||!n.isPrecedenceDecision||e.context.isEmpty()||e.context.hasEmptyPath())return!1;const i=e.context.length;for(let l=0;l<i;l++)if(this.atn.states[e.context.getReturnState(l)].ruleIndex!==n.ruleIndex)return!1;const r=n.transitions[0].target.endState.stateNumber,o=this.atn.states[r];for(let l=0;l<i;l++){const L=e.context.getReturnState(l),a=this.atn.states[L];if(a.transitions.length!==1||!a.transitions[0].isEpsilon)return!1;const c=a.transitions[0].target;if(!(a.stateType===a2.BLOCK_END&&c===n)&&a!==o&&c!==o&&!(c.stateType===a2.BLOCK_END&&c.transitions.length===1&&c.transitions[0].isEpsilon&&c.transitions[0].target===n))return!1}return!0}getRuleName(e){return this.parser!==null&&e>=0?this.parser.ruleNames[e]:"<rule "+e+">"}getEpsilonTarget(e,n,i,s,r,o){switch(n.serializationType){case o2.RULE:return this.ruleTransition(e,n);case o2.PRECEDENCE:return this.precedenceTransition(e,n,i,s,r);case o2.PREDICATE:return this.predTransition(e,n,i,s,r);case o2.ACTION:return this.actionTransition(e,n);case o2.EPSILON:return new a1({state:n.target},e);case o2.ATOM:case o2.RANGE:case o2.SET:return o&&n.matches(H.EOF,0,1)?new a1({state:n.target},e):null;default:return null}}actionTransition(e,n){if(this.debug){const i=n.actionIndex===-1?65535:n.actionIndex;console.log("ACTION edge "+n.ruleIndex+":"+i)}return new a1({state:n.target},e)}precedenceTransition(e,n,i,s,r){this.debug&&(console.log("PRED (collectPredicates="+i+") "+n.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+v4(this.parser.getRuleInvocationStack())));let o=null;if(i&&s)if(r){const l=this._input.index;this._input.seek(this._startIndex);const L=n.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(l),L&&(o=new a1({state:n.target},e))}else{const l=P2.andContext(e.semanticContext,n.getPredicate());o=new a1({state:n.target,semanticContext:l},e)}else o=new a1({state:n.target},e);return this.debug&&console.log("config from pred transition="+o),o}predTransition(e,n,i,s,r){this.debug&&(console.log("PRED (collectPredicates="+i+") "+n.ruleIndex+":"+n.predIndex+", ctx dependent="+n.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+v4(this.parser.getRuleInvocationStack())));let o=null;if(i&&(n.isCtxDependent&&s||!n.isCtxDependent))if(r){const l=this._input.index;this._input.seek(this._startIndex);const L=n.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(l),L&&(o=new a1({state:n.target},e))}else{const l=P2.andContext(e.semanticContext,n.getPredicate());o=new a1({state:n.target,semanticContext:l},e)}else o=new a1({state:n.target},e);return this.debug&&console.log("config from pred transition="+o),o}ruleTransition(e,n){this.debug&&console.log("CALL rule "+this.getRuleName(n.target.ruleIndex)+", ctx="+e.context);const i=n.followState,s=E1.create(e.context,i.stateNumber);return new a1({state:n.target,context:s},e)}getConflictingAlts(e){const n=q2.getConflictingAltSubsets(e);return q2.getAlts(n)}getConflictingAltsOrUniqueAlt(e){let n=null;return e.uniqueAlt!==J2.INVALID_ALT_NUMBER?(n=new B3,n.add(e.uniqueAlt)):n=e.conflictingAlts,n}getTokenName(e){if(e===H.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null)if(e>=this.parser.literalNames.length&&e>=this.parser.symbolicNames.length)console.log(""+e+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens());else return(this.parser.literalNames[e]||this.parser.symbolicNames[e])+"<"+e+">";return""+e}getLookaheadName(e){return this.getTokenName(e.LA(1))}dumpDeadEndConfigs(e){console.log("dead end configs: ");const n=e.getDeadEndConfigs();for(let i=0;i<n.length;i++){const s=n[i];let r="no edges";if(s.state.transitions.length>0){const o=s.state.transitions[0];o instanceof x8?r="Atom "+this.getTokenName(o.label):o instanceof G6&&(r=(o instanceof j6?"~":"")+"Set "+o.set)}console.error(s.toString(this.parser,!0)+":"+r)}}noViableAlt(e,n,i,s){return new de(this.parser,e,e.get(s),e.LT(1),i,n)}getUniqueAlt(e){let n=J2.INVALID_ALT_NUMBER;for(let i=0;i<e.items.length;i++){const s=e.items[i];if(n===J2.INVALID_ALT_NUMBER)n=s.alt;else if(s.alt!==n)return J2.INVALID_ALT_NUMBER}return n}addDFAEdge(e,n,i,s){if(this.debug&&console.log("EDGE "+n+" -> "+s+" upon "+this.getTokenName(i)),s===null)return null;if(s=this.addDFAState(e,s),n===null||i<-1||i>this.atn.maxTokenType)return s;if(n.edges===null&&(n.edges=[]),n.edges[i+1]=s,this.debug){const r=this.parser===null?null:this.parser.literalNames,o=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
|
|
14
14
|
`+e.toString(r,o))}return s}addDFAState(e,n){if(n===P3.ERROR)return n;const i=e.states.get(n);return i!==null?i:(n.stateNumber=e.states.length,n.configs.readOnly||(n.configs.optimizeConfigs(this),n.configs.setReadonly(!0)),e.states.add(n),this.debug&&console.log("adding new DFA state: "+n),n)}reportAttemptingFullContext(e,n,i,s,r){if(this.debug||this.retry_debug){const o=new z2(s,r+1);console.log("reportAttemptingFullContext decision="+e.decision+":"+i+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,e,s,r,n,i)}reportContextSensitivity(e,n,i,s,r){if(this.debug||this.retry_debug){const o=new z2(s,r+1);console.log("reportContextSensitivity decision="+e.decision+":"+i+", input="+this.parser.getTokenStream().getText(o))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,e,s,r,n,i)}reportAmbiguity(e,n,i,s,r,o,l){if(this.debug||this.retry_debug){const L=new z2(i,s+1);console.log("reportAmbiguity "+o+":"+l+", input="+this.parser.getTokenStream().getText(L))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,e,i,s,r,o,l)}}const Qd={ATN:J2,ATNDeserializer:zr,LexerATNSimulator:r1,ParserATNSimulator:Yd,PredictionMode:q2};class fe{constructor(e,n,i){this.dfa=e,this.literalNames=n||[],this.symbolicNames=i||[]}toString(){if(this.dfa.s0===null)return null;let e="";const n=this.dfa.sortedStates();for(let i=0;i<n.length;i++){const s=n[i];if(s.edges!==null){const r=s.edges.length;for(let o=0;o<r;o++){const l=s.edges[o]||null;l!==null&&l.stateNumber!==2147483647&&(e=e.concat(this.getStateString(s)),e=e.concat("-"),e=e.concat(this.getEdgeLabel(o)),e=e.concat("->"),e=e.concat(this.getStateString(l)),e=e.concat(`
|
|
15
|
-
`))}}}return e.length===0?null:e}getEdgeLabel(e){return e===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[e-1]||this.symbolicNames[e-1]:String.fromCharCode(e-1)}getStateString(e){const n=(e.isAcceptState?":":"")+"s"+e.stateNumber+(e.requiresFullContext?"^":"");return e.isAcceptState?e.predicates!==null?n+"=>"+v4(e.predicates):n+"=>"+e.prediction.toString():n}}class Hr extends fe{constructor(e){super(e,null)}getEdgeLabel(e){return"'"+String.fromCharCode(e)+"'"}}class Xd{constructor(e,n){if(n===void 0&&(n=0),this.atnStartState=e,this.decision=n,this._states=new i3,this.s0=null,this.precedenceDfa=!1,e instanceof t9&&e.isPrecedenceDecision){this.precedenceDfa=!0;const i=new i4(null,new F1);i.edges=[],i.isAcceptState=!1,i.requiresFullContext=!1,this.s0=i}}getPrecedenceStartState(e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return e<0||e>=this.s0.edges.length?null:this.s0.edges[e]||null}setPrecedenceStartState(e,n){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";e<0||(this.s0.edges[e]=n)}setPrecedenceDfa(e){if(this.precedenceDfa!==e){if(this._states=new i3,e){const n=new i4(null,new F1);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}else this.s0=null;this.precedenceDfa=e}}sortedStates(){return this._states.values().sort(function(n,i){return n.stateNumber-i.stateNumber})}toString(e,n){return e=e||null,n=n||null,this.s0===null?"":new fe(this,e,n).toString()}toLexerString(){return this.s0===null?"":new Hr(this).toString()}get states(){return this._states}}const Jd={DFA:Xd,DFASerializer:fe,LexerDFASerializer:Hr,PredPrediction:Wr};class Vr{visitTerminal(e){}visitErrorNode(e){}enterEveryRule(e){}exitEveryRule(e){}}class ef{visit(e){return Array.isArray(e)?e.map(function(n){return n.accept(this)},this):e.accept(this)}visitChildren(e){return e.children?this.visit(e.children):null}visitTerminal(e){}visitErrorNode(e){}}class ge{walk(e,n){if(n instanceof m8||n.isErrorNode!==void 0&&n.isErrorNode())e.visitErrorNode(n);else if(n instanceof t4)e.visitTerminal(n);else{this.enterRule(e,n);for(let s=0;s<n.getChildCount();s++){const r=n.getChild(s);this.walk(e,r)}this.exitRule(e,n)}}enterRule(e,n){const i=n.getRuleContext();e.enterEveryRule(i),i.enterRule(e)}exitRule(e,n){const i=n.getRuleContext();i.exitRule(e),e.exitEveryRule(i)}}ge.DEFAULT=new ge;const tf={Trees:D3,RuleNode:p8,ErrorNode:m8,TerminalNode:t4,ParseTreeListener:Vr,ParseTreeVisitor:ef,ParseTreeWalker:ge};class H0 extends _4{constructor(e){super({message:"",recognizer:e,input:e.getInputStream(),ctx:e._ctx}),this.offendingToken=e.getCurrentToken()}}class Gr extends _4{constructor(e,n,i){super({message:nf(n,i||null),recognizer:e,input:e.getInputStream(),ctx:e._ctx});const r=e._interp.atn.states[e.state].transitions[0];r instanceof Pr?(this.ruleIndex=r.ruleIndex,this.predicateIndex=r.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=n,this.offendingToken=e.getCurrentToken()}}function nf(t,e){return e!==null?e:"failed predicate: {"+t+"}?"}class sf extends y8{constructor(e){super(),e=e||!0,this.exactOnly=e}reportAmbiguity(e,n,i,s,r,o,l){if(this.exactOnly&&!r)return;const L="reportAmbiguity d="+this.getDecisionDescription(e,n)+": ambigAlts="+this.getConflictingAlts(o,l)+", input='"+e.getTokenStream().getText(new z2(i,s))+"'";e.notifyErrorListeners(L)}reportAttemptingFullContext(e,n,i,s,r,o){const l="reportAttemptingFullContext d="+this.getDecisionDescription(e,n)+", input='"+e.getTokenStream().getText(new z2(i,s))+"'";e.notifyErrorListeners(l)}reportContextSensitivity(e,n,i,s,r,o){const l="reportContextSensitivity d="+this.getDecisionDescription(e,n)+", input='"+e.getTokenStream().getText(new z2(i,s))+"'";e.notifyErrorListeners(l)}getDecisionDescription(e,n){const i=n.decision,s=n.atnStartState.ruleIndex,r=e.ruleNames;if(s<0||s>=r.length)return""+i;const o=r[s]||null;return o===null||o.length===0?""+i:`${i} (${o})`}getConflictingAlts(e,n){if(e!==null)return e;const i=new B3;for(let s=0;s<n.items.length;s++)i.add(n.items[s].alt);return`{${i.values().join(", ")}}`}}class pe extends Error{constructor(){super(),Error.captureStackTrace(this,pe)}}class rf{reset(e){}recoverInline(e){}recover(e,n){}sync(e){}inErrorRecoveryMode(e){}reportError(e){}}class me extends rf{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(e){this.endErrorCondition(e)}beginErrorCondition(e){this.errorRecoveryMode=!0}inErrorRecoveryMode(e){return this.errorRecoveryMode}endErrorCondition(e){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(e){this.endErrorCondition(e)}reportError(e,n){this.inErrorRecoveryMode(e)||(this.beginErrorCondition(e),n instanceof de?this.reportNoViableAlternative(e,n):n instanceof H0?this.reportInputMismatch(e,n):n instanceof Gr?this.reportFailedPredicate(e,n):(console.log("unknown recognition error type: "+n.constructor.name),console.log(n.stack),e.notifyErrorListeners(n.getOffendingToken(),n.getMessage(),n)))}recover(e,n){this.lastErrorIndex===e.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(e.state)>=0&&e.consume(),this.lastErrorIndex=e._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(e.state);const i=this.getErrorRecoverySet(e);this.consumeUntil(e,i)}sync(e){if(this.inErrorRecoveryMode(e))return;const n=e._interp.atn.states[e.state],i=e.getTokenStream().LA(1),s=e.atn.nextTokens(n);if(s.contains(i)){this.nextTokensContext=null,this.nextTokenState=a2.INVALID_STATE_NUMBER;return}else if(s.contains(H.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=e._ctx,this.nextTokensState=e._stateNumber);return}switch(n.stateType){case a2.BLOCK_START:case a2.STAR_BLOCK_START:case a2.PLUS_BLOCK_START:case a2.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(e)!==null)return;throw new H0(e);case a2.PLUS_LOOP_BACK:case a2.STAR_LOOP_BACK:{this.reportUnwantedToken(e);const r=new u3;r.addSet(e.getExpectedTokens());const o=r.addSet(this.getErrorRecoverySet(e));this.consumeUntil(e,o)}break}}reportNoViableAlternative(e,n){const i=e.getTokenStream();let s;i!==null?n.startToken.type===H.EOF?s="<EOF>":s=i.getText(new z2(n.startToken.tokenIndex,n.offendingToken.tokenIndex)):s="<unknown input>";const r="no viable alternative at input "+this.escapeWSAndQuote(s);e.notifyErrorListeners(r,n.offendingToken,n)}reportInputMismatch(e,n){const i="mismatched input "+this.getTokenErrorDisplay(n.offendingToken)+" expecting "+n.getExpectedTokens().toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(i,n.offendingToken,n)}reportFailedPredicate(e,n){const s="rule "+e.ruleNames[e._ctx.ruleIndex]+" "+n.message;e.notifyErrorListeners(s,n.offendingToken,n)}reportUnwantedToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const n=e.getCurrentToken(),i=this.getTokenErrorDisplay(n),s=this.getExpectedTokens(e),r="extraneous input "+i+" expecting "+s.toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(r,n,null)}reportMissingToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const n=e.getCurrentToken(),s="missing "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames)+" at "+this.getTokenErrorDisplay(n);e.notifyErrorListeners(s,n,null)}recoverInline(e){const n=this.singleTokenDeletion(e);if(n!==null)return e.consume(),n;if(this.singleTokenInsertion(e))return this.getMissingSymbol(e);throw new H0(e)}singleTokenInsertion(e){const n=e.getTokenStream().LA(1),i=e._interp.atn,r=i.states[e.state].transitions[0].target;return i.nextTokens(r,e._ctx).contains(n)?(this.reportMissingToken(e),!0):!1}singleTokenDeletion(e){const n=e.getTokenStream().LA(2);if(this.getExpectedTokens(e).contains(n)){this.reportUnwantedToken(e),e.consume();const s=e.getCurrentToken();return this.reportMatch(e),s}else return null}getMissingSymbol(e){const n=e.getCurrentToken(),s=this.getExpectedTokens(e).first();let r;s===H.EOF?r="<missing EOF>":r="<missing "+e.literalNames[s]+">";let o=n;const l=e.getTokenStream().LT(-1);return o.type===H.EOF&&l!==null&&(o=l),e.getTokenFactory().create(o.source,s,r,H.DEFAULT_CHANNEL,-1,-1,o.line,o.column)}getExpectedTokens(e){return e.getExpectedTokens()}getTokenErrorDisplay(e){if(e===null)return"<no token>";let n=e.text;return n===null&&(e.type===H.EOF?n="<EOF>":n="<"+e.type+">"),this.escapeWSAndQuote(n)}escapeWSAndQuote(e){return e=e.replace(/\n/g,"\\n"),e=e.replace(/\r/g,"\\r"),e=e.replace(/\t/g,"\\t"),"'"+e+"'"}getErrorRecoverySet(e){const n=e._interp.atn;let i=e._ctx;const s=new u3;for(;i!==null&&i.invokingState>=0;){const o=n.states[i.invokingState].transitions[0],l=n.nextTokens(o.followState);s.addSet(l),i=i.parentCtx}return s.removeOne(H.EPSILON),s}consumeUntil(e,n){let i=e.getTokenStream().LA(1);for(;i!==H.EOF&&!n.contains(i);)e.consume(),i=e.getTokenStream().LA(1)}}class of extends me{constructor(){super()}recover(e,n){let i=e._ctx;for(;i!==null;)i.exception=n,i=i.parentCtx;throw new pe(n)}recoverInline(e){this.recover(e,new H0(e))}sync(e){}}const lf={RecognitionException:_4,NoViableAltException:de,LexerNoViableAltException:he,InputMismatchException:H0,FailedPredicateException:Gr,DiagnosticErrorListener:sf,BailErrorStrategy:of,DefaultErrorStrategy:me,ErrorListener:y8};class i9{constructor(e,n){if(this.name="<empty>",this.strdata=e,this.decodeToUnicodeCodePoints=n||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let i=0;i<this.strdata.length;){const s=this.strdata.codePointAt(i);this.data.push(s),i+=s<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let i=0;i<this.strdata.length;i++){const s=this.strdata.charCodeAt(i);this.data[i]=s}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(e){if(e===0)return 0;e<0&&(e+=1);const n=this._index+e-1;return n<0||n>=this._size?H.EOF:this.data[n]}LT(e){return this.LA(e)}mark(){return-1}release(e){}seek(e){if(e<=this._index){this._index=e;return}this._index=Math.min(e,this._size)}getText(e,n){if(n>=this._size&&(n=this._size-1),e>=this._size)return"";if(this.decodeToUnicodeCodePoints){let i="";for(let s=e;s<=n;s++)i+=String.fromCodePoint(this.data[s]);return i}else return this.strdata.slice(e,n+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const we={},Lf={fromString:function(t){return new i9(t,!0)},fromBlob:function(t,e,n,i){const s=new window.FileReader;s.onload=function(r){const o=new i9(r.target.result,!0);n(o)},s.onerror=i,s.readAsText(t,e)},fromBuffer:function(t,e){return new i9(t.toString(e),!0)},fromPath:function(t,e,n){we.readFile(t,e,function(i,s){let r=null;s!==null&&(r=new i9(s,!0)),n(i,r)})},fromPathSync:function(t,e){const n=we.readFileSync(t,e);return new i9(n,!0)}};class af extends i9{constructor(e,n){const i=we.readFileSync(e,"utf8");super(i,n),this.fileName=e}}class cf{}class Cf extends cf{constructor(e){super(),this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(e){}reset(){this.seek(0)}seek(e){this.lazyInit(),this.index=this.adjustSeekIndex(e)}get(e){return this.lazyInit(),this.tokens[e]}consume(){let e=!1;if(this.index>=0?this.fetchedEOF?e=this.index<this.tokens.length-1:e=this.index<this.tokens.length:e=!1,!e&&this.LA(1)===H.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(e){const n=e-this.tokens.length+1;return n>0?this.fetch(n)>=n:!0}fetch(e){if(this.fetchedEOF)return 0;for(let n=0;n<e;n++){const i=this.tokenSource.nextToken();if(i.tokenIndex=this.tokens.length,this.tokens.push(i),i.type===H.EOF)return this.fetchedEOF=!0,n+1}return e}getTokens(e,n,i){if(i===void 0&&(i=null),e<0||n<0)return null;this.lazyInit();const s=[];n>=this.tokens.length&&(n=this.tokens.length-1);for(let r=e;r<n;r++){const o=this.tokens[r];if(o.type===H.EOF)break;(i===null||i.contains(o.type))&&s.push(o)}return s}LA(e){return this.LT(e).type}LB(e){return this.index-e<0?null:this.tokens[this.index-e]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);const n=this.index+e-1;return this.sync(n),n>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[n]}adjustSeekIndex(e){return e}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(e){this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(e,n){if(this.sync(e),e>=this.tokens.length)return-1;let i=this.tokens[e];for(;i.channel!==this.channel;){if(i.type===H.EOF)return-1;e+=1,this.sync(e),i=this.tokens[e]}return e}previousTokenOnChannel(e,n){for(;e>=0&&this.tokens[e].channel!==n;)e-=1;return e}getHiddenTokensToRight(e,n){if(n===void 0&&(n=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const i=this.nextTokenOnChannel(e+1,s1.DEFAULT_TOKEN_CHANNEL),s=e+1,r=i===-1?this.tokens.length-1:i;return this.filterForChannel(s,r,n)}getHiddenTokensToLeft(e,n){if(n===void 0&&(n=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const i=this.previousTokenOnChannel(e-1,s1.DEFAULT_TOKEN_CHANNEL);if(i===e-1)return null;const s=i+1,r=e-1;return this.filterForChannel(s,r,n)}filterForChannel(e,n,i){const s=[];for(let r=e;r<n+1;r++){const o=this.tokens[r];i===-1?o.channel!==s1.DEFAULT_TOKEN_CHANNEL&&s.push(o):o.channel===i&&s.push(o)}return s.length===0?null:s}getSourceName(){return this.tokenSource.getSourceName()}getText(e){this.lazyInit(),this.fill(),e==null&&(e=new z2(0,this.tokens.length-1));let n=e.start;n instanceof H&&(n=n.tokenIndex);let i=e.stop;if(i instanceof H&&(i=i.tokenIndex),n===null||i===null||n<0||i<0)return"";i>=this.tokens.length&&(i=this.tokens.length-1);let s="";for(let r=n;r<i+1;r++){const o=this.tokens[r];if(o.type===H.EOF)break;s=s+o.text}return s}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class uf extends Cf{constructor(e,n){super(e),this.channel=n===void 0?H.DEFAULT_CHANNEL:n}adjustSeekIndex(e){return this.nextTokenOnChannel(e,this.channel)}LB(e){if(e===0||this.index-e<0)return null;let n=this.index,i=1;for(;i<=e;)n=this.previousTokenOnChannel(n-1,this.channel),i+=1;return n<0?null:this.tokens[n]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);let n=this.index,i=1;for(;i<e;)this.sync(n+1)&&(n=this.nextTokenOnChannel(n+1,this.channel)),i+=1;return this.tokens[n]}getNumberOfOnChannelTokens(){let e=0;this.fill();for(let n=0;n<this.tokens.length;n++){const i=this.tokens[n];if(i.channel===this.channel&&(e+=1),i.type===H.EOF)break}return e}}class hf extends Vr{constructor(e){super(),this.parser=e}enterEveryRule(e){console.log("enter "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(e){console.log("consume "+e.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(e){console.log("exit "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}class jr extends R8{constructor(e){super(),this._input=null,this._errHandler=new me,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(e)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(e){let n=this.getCurrentToken();return n.type===e?(this._errHandler.reportMatch(this),this.consume()):(n=this._errHandler.recoverInline(this),this.buildParseTrees&&n.tokenIndex===-1&&this._ctx.addErrorNode(n)),n}matchWildcard(){let e=this.getCurrentToken();return e.type>0?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this._buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}getParseListeners(){return this._parseListeners||[]}addParseListener(e){if(e===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(e)}removeParseListener(e){if(this._parseListeners!==null){const n=this._parseListeners.indexOf(e);n>=0&&this._parseListeners.splice(n,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.forEach(function(n){n.enterEveryRule(e),e.enterRule(n)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(n){e.exitRule(n),n.exitEveryRule(e)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(e){this._input.tokenSource._factory=e}getATNWithBypassAlts(){const e=this.getSerializedATN();if(e===null)throw"The current parser does not support an ATN with bypass alternatives.";let n=this.bypassAltsAtnCache[e];if(n===null){const i=new $0;i.generateRuleBypassTransitions=!0,n=new zr(i).deserialize(e),this.bypassAltsAtnCache[e]=n}return n}getInputStream(){return this.getTokenStream()}setInputStream(e){this.setTokenStream(e)}getTokenStream(){return this._input}setTokenStream(e){this._input=null,this.reset(),this._input=e}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(e,n,i){n=n||null,i=i||null,n===null&&(n=this.getCurrentToken()),this._syntaxErrors+=1;const s=n.line,r=n.column;this.getErrorListenerDispatch().syntaxError(this,n,s,r,e,i)}consume(){const e=this.getCurrentToken();e.type!==H.EOF&&this.getInputStream().consume();const n=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||n){let i;this._errHandler.inErrorRecoveryMode(this)?i=this._ctx.addErrorNode(e):i=this._ctx.addTokenNode(e),i.invokingState=this.state,n&&this._parseListeners.forEach(function(s){i instanceof m8||i.isErrorNode!==void 0&&i.isErrorNode()?s.visitErrorNode(i):i instanceof t4&&s.visitTerminal(i)})}return e}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(e,n,i){this.state=n,this._ctx=e,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(e,n){e.setAltNumber(n),this.buildParseTrees&&this._ctx!==e&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(e)),this._ctx=e}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(e,n,i,s){this.state=n,this._precedenceStack.push(s),this._ctx=e,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(e,n,i){const s=this._ctx;s.parentCtx=e,s.invokingState=n,s.stop=this._input.LT(-1),this._ctx=e,this._ctx.start=s.start,this.buildParseTrees&&this._ctx.addChild(s),this.triggerEnterRuleEvent()}unrollRecursionContexts(e){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const n=this._ctx,i=this.getParseListeners();if(i!==null&&i.length>0)for(;this._ctx!==e;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=e;n.parentCtx=e,this.buildParseTrees&&e!==null&&e.addChild(n)}getInvokingContext(e){let n=this._ctx;for(;n!==null;){if(n.ruleIndex===e)return n;n=n.parentCtx}return null}precpred(e,n){return n>=this._precedenceStack[this._precedenceStack.length-1]}inContext(e){return!1}isExpectedToken(e){const n=this._interp.atn;let i=this._ctx;const s=n.states[this.state];let r=n.nextTokens(s);if(r.contains(e))return!0;if(!r.contains(H.EPSILON))return!1;for(;i!==null&&i.invokingState>=0&&r.contains(H.EPSILON);){const l=n.states[i.invokingState].transitions[0];if(r=n.nextTokens(l.followState),r.contains(e))return!0;i=i.parentCtx}return!!(r.contains(H.EPSILON)&&e===H.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const e=this._interp.atn,n=e.states[this.state];return e.nextTokens(n)}getRuleIndex(e){const n=this.getRuleIndexMap()[e];return n!==null?n:-1}getRuleInvocationStack(e){e=e||null,e===null&&(e=this._ctx);const n=[];for(;e!==null;){const i=e.ruleIndex;i<0?n.push("n/a"):n.push(this.ruleNames[i]),e=e.parentCtx}return n}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let e=!1;for(let n=0;n<this._interp.decisionToDFA.length;n++){const i=this._interp.decisionToDFA[n];i.states.length>0&&(e&&console.log(),this.printer.println("Decision "+i.decision+":"),this.printer.print(i.toString(this.literalNames,this.symbolicNames)),e=!0)}}getSourceName(){return this._input.sourceName}setTrace(e){e?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new hf(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}jr.bypassAltsAtnCache={};class df{constructor(){this.cache=new z0}add(e){if(e===S2.EMPTY)return S2.EMPTY;const n=this.cache.get(e)||null;return n!==null?n:(this.cache.set(e,e),e)}get(e){return this.cache.get(e)||null}get length(){return this.cache.length}}class qr extends t4{constructor(e){super(),this.parentCtx=null,this.symbol=e}getChild(e){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return z2.INVALID_INTERVAL;const e=this.symbol.tokenIndex;return new z2(e,e)}getChildCount(){return 0}accept(e){return e.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===H.EOF?"<EOF>":this.symbol.text}}class Kr extends qr{constructor(e){super(e)}isErrorNode(){return!0}accept(e){return e.visitErrorNode(this)}}class Yr extends P9{constructor(e,n){e=e||null,n=n||null,super(e,n),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(e){this.parentCtx=e.parentCtx,this.invokingState=e.invokingState,this.children=null,this.start=e.start,this.stop=e.stop,e.children&&(this.children=[],e.children.map(function(n){n instanceof Kr&&(this.children.push(n),n.parentCtx=this)},this))}enterRule(e){}exitRule(e){}addChild(e){return this.children===null&&(this.children=[]),this.children.push(e),e}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(e){const n=new qr(e);return this.addChild(n),n.parentCtx=this,n}addErrorNode(e){const n=new Kr(e);return this.addChild(n),n.parentCtx=this,n}getChild(e,n){if(n=n||null,this.children===null||e<0||e>=this.children.length)return null;if(n===null)return this.children[e];for(let i=0;i<this.children.length;i++){const s=this.children[i];if(s instanceof n){if(e===0)return s;e-=1}}return null}getToken(e,n){if(this.children===null||n<0||n>=this.children.length)return null;for(let i=0;i<this.children.length;i++){const s=this.children[i];if(s instanceof t4&&s.symbol.type===e){if(n===0)return s;n-=1}}return null}getTokens(e){if(this.children===null)return[];{const n=[];for(let i=0;i<this.children.length;i++){const s=this.children[i];s instanceof t4&&s.symbol.type===e&&n.push(s)}return n}}getTypedRuleContext(e,n){return this.getChild(n,e)}getTypedRuleContexts(e){if(this.children===null)return[];{const n=[];for(let i=0;i<this.children.length;i++){const s=this.children[i];s instanceof e&&n.push(s)}return n}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?z2.INVALID_INTERVAL:new z2(this.start.tokenIndex,this.stop.tokenIndex)}}P9.EMPTY=new Yr;const A={atn:Qd,dfa:Jd,tree:tf,error:lf,Token:H,CommonToken:n9,CharStreams:Lf,InputStream:i9,FileStream:af,CommonTokenStream:uf,Lexer:s1,Parser:jr,PredictionContextCache:df,ParserRuleContext:Yr,Interval:z2,IntervalSet:u3,LL1Analyzer:z9,Utils:{arrayToString:v4}},ff=[4,0,65,511,6,-1,6,-1,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,11,1,11,4,11,201,8,11,11,11,12,11,202,1,12,1,12,1,12,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,1,20,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,3,36,273,8,36,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39,309,8,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,376,8,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,404,8,51,1,52,1,52,5,52,408,8,52,10,52,12,52,411,9,52,1,53,1,53,1,54,1,54,5,54,417,8,54,10,54,12,54,420,9,54,1,55,4,55,423,8,55,11,55,12,55,424,1,56,4,56,428,8,56,11,56,12,56,429,1,56,1,56,5,56,434,8,56,10,56,12,56,437,9,56,1,56,1,56,4,56,441,8,56,11,56,12,56,442,3,56,445,8,56,1,57,1,57,1,57,1,57,5,57,451,8,57,10,57,12,57,454,9,57,1,57,3,57,457,8,57,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,467,8,59,10,59,12,59,470,9,59,1,59,1,59,1,59,1,59,1,60,1,60,1,61,1,61,5,61,480,8,61,10,61,12,61,483,9,61,1,61,1,61,1,61,1,61,5,61,489,8,61,10,61,12,61,492,9,61,1,62,4,62,495,8,62,11,62,12,62,496,1,63,1,63,1,63,1,63,1,64,4,64,504,8,64,11,64,12,64,505,1,65,1,65,1,65,1,65,1,468,0,66,3,1,5,2,7,3,9,4,11,5,13,6,15,7,17,8,19,9,21,10,23,0,25,11,27,12,29,13,31,14,33,15,35,16,37,17,39,18,41,19,43,20,45,21,47,22,49,23,51,24,53,25,55,26,57,27,59,28,61,29,63,30,65,31,67,32,69,33,71,34,73,35,75,36,77,37,79,38,81,39,83,40,85,41,87,42,89,43,91,44,93,45,95,46,97,47,99,48,101,49,103,50,105,51,107,52,109,53,111,54,113,55,115,56,117,57,119,58,121,59,123,60,125,61,127,62,129,63,131,64,133,65,3,0,1,2,7,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,3,0,65,90,95,95,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,532,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,1,127,1,0,0,0,1,129,1,0,0,0,2,131,1,0,0,0,2,133,1,0,0,0,3,135,1,0,0,0,5,139,1,0,0,0,7,147,1,0,0,0,9,158,1,0,0,0,11,167,1,0,0,0,13,175,1,0,0,0,15,183,1,0,0,0,17,187,1,0,0,0,19,190,1,0,0,0,21,193,1,0,0,0,23,196,1,0,0,0,25,198,1,0,0,0,27,204,1,0,0,0,29,207,1,0,0,0,31,210,1,0,0,0,33,213,1,0,0,0,35,216,1,0,0,0,37,218,1,0,0,0,39,220,1,0,0,0,41,223,1,0,0,0,43,226,1,0,0,0,45,228,1,0,0,0,47,230,1,0,0,0,49,232,1,0,0,0,51,234,1,0,0,0,53,236,1,0,0,0,55,238,1,0,0,0,57,240,1,0,0,0,59,242,1,0,0,0,61,244,1,0,0,0,63,246,1,0,0,0,65,248,1,0,0,0,67,250,1,0,0,0,69,252,1,0,0,0,71,254,1,0,0,0,73,259,1,0,0,0,75,272,1,0,0,0,77,274,1,0,0,0,79,277,1,0,0,0,81,308,1,0,0,0,83,310,1,0,0,0,85,317,1,0,0,0,87,321,1,0,0,0,89,325,1,0,0,0,91,331,1,0,0,0,93,335,1,0,0,0,95,338,1,0,0,0,97,342,1,0,0,0,99,348,1,0,0,0,101,356,1,0,0,0,103,375,1,0,0,0,105,403,1,0,0,0,107,405,1,0,0,0,109,412,1,0,0,0,111,414,1,0,0,0,113,422,1,0,0,0,115,444,1,0,0,0,117,446,1,0,0,0,119,458,1,0,0,0,121,462,1,0,0,0,123,475,1,0,0,0,125,477,1,0,0,0,127,494,1,0,0,0,129,498,1,0,0,0,131,503,1,0,0,0,133,507,1,0,0,0,135,136,7,0,0,0,136,137,1,0,0,0,137,138,6,0,0,0,138,4,1,0,0,0,139,140,5,99,0,0,140,141,5,111,0,0,141,142,5,110,0,0,142,143,5,115,0,0,143,144,5,116,0,0,144,145,1,0,0,0,145,146,6,1,1,0,146,6,1,0,0,0,147,148,5,114,0,0,148,149,5,101,0,0,149,150,5,97,0,0,150,151,5,100,0,0,151,152,5,111,0,0,152,153,5,110,0,0,153,154,5,108,0,0,154,155,5,121,0,0,155,156,1,0,0,0,156,157,6,2,1,0,157,8,1,0,0,0,158,159,5,115,0,0,159,160,5,116,0,0,160,161,5,97,0,0,161,162,5,116,0,0,162,163,5,105,0,0,163,164,5,99,0,0,164,165,1,0,0,0,165,166,6,3,1,0,166,10,1,0,0,0,167,168,5,97,0,0,168,169,5,119,0,0,169,170,5,97,0,0,170,171,5,105,0,0,171,172,5,116,0,0,172,173,1,0,0,0,173,174,6,4,1,0,174,12,1,0,0,0,175,176,5,116,0,0,176,177,5,105,0,0,177,178,5,116,0,0,178,179,5,108,0,0,179,180,5,101,0,0,180,181,1,0,0,0,181,182,6,5,2,0,182,14,1,0,0,0,183,184,5,58,0,0,184,185,1,0,0,0,185,186,6,6,3,0,186,16,1,0,0,0,187,188,5,60,0,0,188,189,5,60,0,0,189,18,1,0,0,0,190,191,5,62,0,0,191,192,5,62,0,0,192,20,1,0,0,0,193,194,5,45,0,0,194,195,5,62,0,0,195,22,1,0,0,0,196,197,7,1,0,0,197,24,1,0,0,0,198,200,5,35,0,0,199,201,3,23,10,0,200,199,1,0,0,0,201,202,1,0,0,0,202,200,1,0,0,0,202,203,1,0,0,0,203,26,1,0,0,0,204,205,5,124,0,0,205,206,5,124,0,0,206,28,1,0,0,0,207,208,5,38,0,0,208,209,5,38,0,0,209,30,1,0,0,0,210,211,5,61,0,0,211,212,5,61,0,0,212,32,1,0,0,0,213,214,5,33,0,0,214,215,5,61,0,0,215,34,1,0,0,0,216,217,5,62,0,0,217,36,1,0,0,0,218,219,5,60,0,0,219,38,1,0,0,0,220,221,5,62,0,0,221,222,5,61,0,0,222,40,1,0,0,0,223,224,5,60,0,0,224,225,5,61,0,0,225,42,1,0,0,0,226,227,5,43,0,0,227,44,1,0,0,0,228,229,5,45,0,0,229,46,1,0,0,0,230,231,5,42,0,0,231,48,1,0,0,0,232,233,5,47,0,0,233,50,1,0,0,0,234,235,5,37,0,0,235,52,1,0,0,0,236,237,5,94,0,0,237,54,1,0,0,0,238,239,5,33,0,0,239,56,1,0,0,0,240,241,5,59,0,0,241,58,1,0,0,0,242,243,5,44,0,0,243,60,1,0,0,0,244,245,5,61,0,0,245,62,1,0,0,0,246,247,5,40,0,0,247,64,1,0,0,0,248,249,5,41,0,0,249,66,1,0,0,0,250,251,5,123,0,0,251,68,1,0,0,0,252,253,5,125,0,0,253,70,1,0,0,0,254,255,5,116,0,0,255,256,5,114,0,0,256,257,5,117,0,0,257,258,5,101,0,0,258,72,1,0,0,0,259,260,5,102,0,0,260,261,5,97,0,0,261,262,5,108,0,0,262,263,5,115,0,0,263,264,5,101,0,0,264,74,1,0,0,0,265,266,5,110,0,0,266,267,5,105,0,0,267,273,5,108,0,0,268,269,5,110,0,0,269,270,5,117,0,0,270,271,5,108,0,0,271,273,5,108,0,0,272,265,1,0,0,0,272,268,1,0,0,0,273,76,1,0,0,0,274,275,5,105,0,0,275,276,5,102,0,0,276,78,1,0,0,0,277,278,5,101,0,0,278,279,5,108,0,0,279,280,5,115,0,0,280,281,5,101,0,0,281,80,1,0,0,0,282,283,5,119,0,0,283,284,5,104,0,0,284,285,5,105,0,0,285,286,5,108,0,0,286,309,5,101,0,0,287,288,5,102,0,0,288,289,5,111,0,0,289,309,5,114,0,0,290,291,5,102,0,0,291,292,5,111,0,0,292,293,5,114,0,0,293,294,5,101,0,0,294,295,5,97,0,0,295,296,5,99,0,0,296,309,5,104,0,0,297,298,5,102,0,0,298,299,5,111,0,0,299,300,5,114,0,0,300,301,5,69,0,0,301,302,5,97,0,0,302,303,5,99,0,0,303,309,5,104,0,0,304,305,5,108,0,0,305,306,5,111,0,0,306,307,5,111,0,0,307,309,5,112,0,0,308,282,1,0,0,0,308,287,1,0,0,0,308,290,1,0,0,0,308,297,1,0,0,0,308,304,1,0,0,0,309,82,1,0,0,0,310,311,5,114,0,0,311,312,5,101,0,0,312,313,5,116,0,0,313,314,5,117,0,0,314,315,5,114,0,0,315,316,5,110,0,0,316,84,1,0,0,0,317,318,5,110,0,0,318,319,5,101,0,0,319,320,5,119,0,0,320,86,1,0,0,0,321,322,5,112,0,0,322,323,5,97,0,0,323,324,5,114,0,0,324,88,1,0,0,0,325,326,5,103,0,0,326,327,5,114,0,0,327,328,5,111,0,0,328,329,5,117,0,0,329,330,5,112,0,0,330,90,1,0,0,0,331,332,5,111,0,0,332,333,5,112,0,0,333,334,5,116,0,0,334,92,1,0,0,0,335,336,5,97,0,0,336,337,5,115,0,0,337,94,1,0,0,0,338,339,5,116,0,0,339,340,5,114,0,0,340,341,5,121,0,0,341,96,1,0,0,0,342,343,5,99,0,0,343,344,5,97,0,0,344,345,5,116,0,0,345,346,5,99,0,0,346,347,5,104,0,0,347,98,1,0,0,0,348,349,5,102,0,0,349,350,5,105,0,0,350,351,5,110,0,0,351,352,5,97,0,0,352,353,5,108,0,0,353,354,5,108,0,0,354,355,5,121,0,0,355,100,1,0,0,0,356,357,5,105,0,0,357,358,5,110,0,0,358,102,1,0,0,0,359,360,5,64,0,0,360,361,5,83,0,0,361,362,5,116,0,0,362,363,5,97,0,0,363,364,5,114,0,0,364,365,5,116,0,0,365,366,5,101,0,0,366,376,5,114,0,0,367,368,5,64,0,0,368,369,5,115,0,0,369,370,5,116,0,0,370,371,5,97,0,0,371,372,5,114,0,0,372,373,5,116,0,0,373,374,5,101,0,0,374,376,5,114,0,0,375,359,1,0,0,0,375,367,1,0,0,0,376,104,1,0,0,0,377,378,5,64,0,0,378,379,5,82,0,0,379,380,5,101,0,0,380,381,5,116,0,0,381,382,5,117,0,0,382,383,5,114,0,0,383,404,5,110,0,0,384,385,5,64,0,0,385,386,5,114,0,0,386,387,5,101,0,0,387,388,5,116,0,0,388,389,5,117,0,0,389,390,5,114,0,0,390,404,5,110,0,0,391,392,5,64,0,0,392,393,5,82,0,0,393,394,5,101,0,0,394,395,5,112,0,0,395,396,5,108,0,0,396,404,5,121,0,0,397,398,5,64,0,0,398,399,5,114,0,0,399,400,5,101,0,0,400,401,5,112,0,0,401,402,5,108,0,0,402,404,5,121,0,0,403,377,1,0,0,0,403,384,1,0,0,0,403,391,1,0,0,0,403,397,1,0,0,0,404,106,1,0,0,0,405,409,5,64,0,0,406,408,7,2,0,0,407,406,1,0,0,0,408,411,1,0,0,0,409,407,1,0,0,0,409,410,1,0,0,0,410,108,1,0,0,0,411,409,1,0,0,0,412,413,5,46,0,0,413,110,1,0,0,0,414,418,7,3,0,0,415,417,7,2,0,0,416,415,1,0,0,0,417,420,1,0,0,0,418,416,1,0,0,0,418,419,1,0,0,0,419,112,1,0,0,0,420,418,1,0,0,0,421,423,7,4,0,0,422,421,1,0,0,0,423,424,1,0,0,0,424,422,1,0,0,0,424,425,1,0,0,0,425,114,1,0,0,0,426,428,7,4,0,0,427,426,1,0,0,0,428,429,1,0,0,0,429,427,1,0,0,0,429,430,1,0,0,0,430,431,1,0,0,0,431,435,5,46,0,0,432,434,7,4,0,0,433,432,1,0,0,0,434,437,1,0,0,0,435,433,1,0,0,0,435,436,1,0,0,0,436,445,1,0,0,0,437,435,1,0,0,0,438,440,5,46,0,0,439,441,7,4,0,0,440,439,1,0,0,0,441,442,1,0,0,0,442,440,1,0,0,0,442,443,1,0,0,0,443,445,1,0,0,0,444,427,1,0,0,0,444,438,1,0,0,0,445,116,1,0,0,0,446,452,5,34,0,0,447,451,8,5,0,0,448,449,5,34,0,0,449,451,5,34,0,0,450,447,1,0,0,0,450,448,1,0,0,0,451,454,1,0,0,0,452,450,1,0,0,0,452,453,1,0,0,0,453,456,1,0,0,0,454,452,1,0,0,0,455,457,7,5,0,0,456,455,1,0,0,0,456,457,1,0,0,0,457,118,1,0,0,0,458,459,7,6,0,0,459,460,1,0,0,0,460,461,6,58,0,0,461,120,1,0,0,0,462,463,5,47,0,0,463,464,5,47,0,0,464,468,1,0,0,0,465,467,9,0,0,0,466,465,1,0,0,0,467,470,1,0,0,0,468,469,1,0,0,0,468,466,1,0,0,0,469,471,1,0,0,0,470,468,1,0,0,0,471,472,5,10,0,0,472,473,1,0,0,0,473,474,6,59,4,0,474,122,1,0,0,0,475,476,9,0,0,0,476,124,1,0,0,0,477,481,4,61,0,0,478,480,3,3,0,0,479,478,1,0,0,0,480,483,1,0,0,0,481,479,1,0,0,0,481,482,1,0,0,0,482,484,1,0,0,0,483,481,1,0,0,0,484,485,5,61,0,0,485,486,5,61,0,0,486,490,1,0,0,0,487,489,8,6,0,0,488,487,1,0,0,0,489,492,1,0,0,0,490,488,1,0,0,0,490,491,1,0,0,0,491,126,1,0,0,0,492,490,1,0,0,0,493,495,8,6,0,0,494,493,1,0,0,0,495,496,1,0,0,0,496,494,1,0,0,0,496,497,1,0,0,0,497,128,1,0,0,0,498,499,7,6,0,0,499,500,1,0,0,0,500,501,6,63,5,0,501,130,1,0,0,0,502,504,8,6,0,0,503,502,1,0,0,0,504,505,1,0,0,0,505,503,1,0,0,0,505,506,1,0,0,0,506,132,1,0,0,0,507,508,7,6,0,0,508,509,1,0,0,0,509,510,6,65,5,0,510,134,1,0,0,0,23,0,1,2,202,272,308,375,403,409,418,424,429,435,442,444,450,452,456,468,481,490,496,505,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],xe=new A.atn.ATNDeserializer().deserialize(ff),gf=xe.decisionToState.map((t,e)=>new A.dfa.DFA(t,e));class Y extends A.Lexer{constructor(e){super(e),this._interp=new A.atn.LexerATNSimulator(this,xe,gf,new A.PredictionContextCache)}get atn(){return xe}}J(Y,"grammarFileName","sequenceLexer.g4"),J(Y,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),J(Y,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),J(Y,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),J(Y,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),J(Y,"ruleNames",["WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","HEX","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),Y.EOF=A.Token.EOF,Y.WS=1,Y.CONSTANT=2,Y.READONLY=3,Y.STATIC=4,Y.AWAIT=5,Y.TITLE=6,Y.COL=7,Y.SOPEN=8,Y.SCLOSE=9,Y.ARROW=10,Y.COLOR=11,Y.OR=12,Y.AND=13,Y.EQ=14,Y.NEQ=15,Y.GT=16,Y.LT=17,Y.GTEQ=18,Y.LTEQ=19,Y.PLUS=20,Y.MINUS=21,Y.MULT=22,Y.DIV=23,Y.MOD=24,Y.POW=25,Y.NOT=26,Y.SCOL=27,Y.COMMA=28,Y.ASSIGN=29,Y.OPAR=30,Y.CPAR=31,Y.OBRACE=32,Y.CBRACE=33,Y.TRUE=34,Y.FALSE=35,Y.NIL=36,Y.IF=37,Y.ELSE=38,Y.WHILE=39,Y.RETURN=40,Y.NEW=41,Y.PAR=42,Y.GROUP=43,Y.OPT=44,Y.AS=45,Y.TRY=46,Y.CATCH=47,Y.FINALLY=48,Y.IN=49,Y.STARTER_LXR=50,Y.ANNOTATION_RET=51,Y.ANNOTATION=52,Y.DOT=53,Y.ID=54,Y.INT=55,Y.FLOAT=56,Y.STRING=57,Y.CR=58,Y.COMMENT=59,Y.OTHER=60,Y.DIVIDER=61,Y.EVENT_PAYLOAD_LXR=62,Y.EVENT_END=63,Y.TITLE_CONTENT=64,Y.TITLE_END=65,Y.COMMENT_CHANNEL=2,Y.MODIFIER_CHANNEL=3,Y.EVENT=1,Y.TITLE_MODE=2,Y.prototype.sempred=function(t,e,n){switch(e){case 61:return this.DIVIDER_sempred(t,n);default:throw"No registered predicate for:"+e}},Y.prototype.DIVIDER_sempred=function(t,e){switch(e){case 0:return this.column===0;default:throw"No predicate with index:"+e}};class S extends A.tree.ParseTreeListener{enterProg(e){}exitProg(e){}enterTitle(e){}exitTitle(e){}enterHead(e){}exitHead(e){}enterGroup(e){}exitGroup(e){}enterStarterExp(e){}exitStarterExp(e){}enterStarter(e){}exitStarter(e){}enterParticipant(e){}exitParticipant(e){}enterStereotype(e){}exitStereotype(e){}enterLabel(e){}exitLabel(e){}enterParticipantType(e){}exitParticipantType(e){}enterName(e){}exitName(e){}enterWidth(e){}exitWidth(e){}enterBlock(e){}exitBlock(e){}enterRet(e){}exitRet(e){}enterDivider(e){}exitDivider(e){}enterDividerNote(e){}exitDividerNote(e){}enterStat(e){}exitStat(e){}enterPar(e){}exitPar(e){}enterOpt(e){}exitOpt(e){}enterCreation(e){}exitCreation(e){}enterCreationBody(e){}exitCreationBody(e){}enterMessage(e){}exitMessage(e){}enterMessageBody(e){}exitMessageBody(e){}enterFunc(e){}exitFunc(e){}enterFrom(e){}exitFrom(e){}enterTo(e){}exitTo(e){}enterSignature(e){}exitSignature(e){}enterInvocation(e){}exitInvocation(e){}enterAssignment(e){}exitAssignment(e){}enterAsyncMessage(e){}exitAsyncMessage(e){}enterContent(e){}exitContent(e){}enterConstruct(e){}exitConstruct(e){}enterType(e){}exitType(e){}enterAssignee(e){}exitAssignee(e){}enterMethodName(e){}exitMethodName(e){}enterParameters(e){}exitParameters(e){}enterParameter(e){}exitParameter(e){}enterDeclaration(e){}exitDeclaration(e){}enterTcf(e){}exitTcf(e){}enterTryBlock(e){}exitTryBlock(e){}enterCatchBlock(e){}exitCatchBlock(e){}enterFinallyBlock(e){}exitFinallyBlock(e){}enterAlt(e){}exitAlt(e){}enterIfBlock(e){}exitIfBlock(e){}enterElseIfBlock(e){}exitElseIfBlock(e){}enterElseBlock(e){}exitElseBlock(e){}enterBraceBlock(e){}exitBraceBlock(e){}enterLoop(e){}exitLoop(e){}enterAssignmentExpr(e){}exitAssignmentExpr(e){}enterFuncExpr(e){}exitFuncExpr(e){}enterAtomExpr(e){}exitAtomExpr(e){}enterOrExpr(e){}exitOrExpr(e){}enterAdditiveExpr(e){}exitAdditiveExpr(e){}enterRelationalExpr(e){}exitRelationalExpr(e){}enterPlusExpr(e){}exitPlusExpr(e){}enterNotExpr(e){}exitNotExpr(e){}enterUnaryMinusExpr(e){}exitUnaryMinusExpr(e){}enterCreationExpr(e){}exitCreationExpr(e){}enterParenthesizedExpr(e){}exitParenthesizedExpr(e){}enterMultiplicationExpr(e){}exitMultiplicationExpr(e){}enterEqualityExpr(e){}exitEqualityExpr(e){}enterAndExpr(e){}exitAndExpr(e){}enterNumberAtom(e){}exitNumberAtom(e){}enterBooleanAtom(e){}exitBooleanAtom(e){}enterIdAtom(e){}exitIdAtom(e){}enterStringAtom(e){}exitStringAtom(e){}enterNilAtom(e){}exitNilAtom(e){}enterParExpr(e){}exitParExpr(e){}enterCondition(e){}exitCondition(e){}enterInExpr(e){}exitInExpr(e){}}const pf=[4,1,65,552,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,1,0,3,0,108,8,0,1,0,1,0,3,0,112,8,0,1,0,1,0,1,0,1,0,3,0,118,8,0,1,0,3,0,121,8,0,1,0,1,0,1,0,3,0,126,8,0,1,1,1,1,3,1,130,8,1,1,1,3,1,133,8,1,1,2,1,2,4,2,137,8,2,11,2,12,2,138,1,2,1,2,5,2,143,8,2,10,2,12,2,146,9,2,1,2,3,2,149,8,2,1,3,1,3,3,3,153,8,3,1,3,1,3,5,3,157,8,3,10,3,12,3,160,9,3,1,3,1,3,1,3,3,3,165,8,3,1,3,1,3,1,3,3,3,170,8,3,3,3,172,8,3,1,4,1,4,1,4,3,4,177,8,4,1,4,3,4,180,8,4,1,4,3,4,183,8,4,1,5,1,5,1,6,3,6,188,8,6,1,6,3,6,191,8,6,1,6,1,6,3,6,195,8,6,1,6,3,6,198,8,6,1,6,3,6,201,8,6,1,6,1,6,3,6,205,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,214,8,7,1,7,1,7,3,7,218,8,7,3,7,220,8,7,1,8,1,8,1,8,3,8,225,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,234,8,12,11,12,12,12,235,1,13,1,13,3,13,240,8,13,1,13,3,13,243,8,13,1,13,1,13,1,13,3,13,248,8,13,3,13,250,8,13,1,14,1,14,1,15,1,15,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,3,16,264,8,16,1,16,1,16,1,16,1,16,1,16,3,16,271,8,16,1,17,1,17,1,17,3,17,276,8,17,1,18,1,18,1,18,3,18,281,8,18,1,19,1,19,1,19,3,19,286,8,19,1,20,3,20,289,8,20,1,20,1,20,1,20,1,20,3,20,295,8,20,1,20,3,20,298,8,20,1,20,3,20,301,8,20,1,20,3,20,304,8,20,1,21,1,21,1,21,3,21,309,8,21,1,22,3,22,312,8,22,1,22,1,22,1,22,3,22,317,8,22,1,22,1,22,1,22,3,22,322,8,22,1,22,1,22,1,22,1,22,1,22,3,22,329,8,22,1,22,1,22,1,22,3,22,334,8,22,1,23,1,23,1,23,5,23,339,8,23,10,23,12,23,342,9,23,1,24,1,24,1,25,1,25,1,26,1,26,3,26,350,8,26,1,27,1,27,3,27,354,8,27,1,27,1,27,1,28,3,28,359,8,28,1,28,1,28,1,28,1,29,1,29,1,29,3,29,367,8,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,3,29,376,8,29,3,29,378,8,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,33,1,33,5,33,390,8,33,10,33,12,33,393,9,33,1,33,3,33,396,8,33,1,34,1,34,1,35,1,35,1,35,5,35,403,8,35,10,35,12,35,406,9,35,1,35,3,35,409,8,35,1,36,1,36,3,36,413,8,36,1,37,1,37,1,37,1,38,1,38,5,38,420,8,38,10,38,12,38,423,9,38,1,38,3,38,426,8,38,1,39,1,39,1,39,1,40,1,40,3,40,433,8,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,5,42,442,8,42,10,42,12,42,445,9,42,1,42,3,42,448,8,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,3,46,464,8,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,475,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,486,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,497,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,5,48,520,8,48,10,48,12,48,523,9,48,1,49,1,49,1,49,1,49,1,49,3,49,530,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,541,8,50,1,51,1,51,1,51,3,51,546,8,51,1,52,1,52,1,52,1,52,1,52,0,1,96,53,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,0,10,2,0,54,54,57,57,2,0,8,8,17,17,2,0,9,9,16,16,2,0,10,10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,55,56,1,0,34,35,609,0,125,1,0,0,0,2,127,1,0,0,0,4,148,1,0,0,0,6,171,1,0,0,0,8,182,1,0,0,0,10,184,1,0,0,0,12,204,1,0,0,0,14,219,1,0,0,0,16,224,1,0,0,0,18,226,1,0,0,0,20,228,1,0,0,0,22,230,1,0,0,0,24,233,1,0,0,0,26,249,1,0,0,0,28,251,1,0,0,0,30,253,1,0,0,0,32,270,1,0,0,0,34,275,1,0,0,0,36,280,1,0,0,0,38,282,1,0,0,0,40,303,1,0,0,0,42,305,1,0,0,0,44,333,1,0,0,0,46,335,1,0,0,0,48,343,1,0,0,0,50,345,1,0,0,0,52,347,1,0,0,0,54,351,1,0,0,0,56,358,1,0,0,0,58,377,1,0,0,0,60,379,1,0,0,0,62,381,1,0,0,0,64,383,1,0,0,0,66,395,1,0,0,0,68,397,1,0,0,0,70,399,1,0,0,0,72,412,1,0,0,0,74,414,1,0,0,0,76,417,1,0,0,0,78,427,1,0,0,0,80,430,1,0,0,0,82,436,1,0,0,0,84,439,1,0,0,0,86,449,1,0,0,0,88,453,1,0,0,0,90,458,1,0,0,0,92,461,1,0,0,0,94,474,1,0,0,0,96,496,1,0,0,0,98,529,1,0,0,0,100,540,1,0,0,0,102,545,1,0,0,0,104,547,1,0,0,0,106,108,3,2,1,0,107,106,1,0,0,0,107,108,1,0,0,0,108,109,1,0,0,0,109,126,5,0,0,1,110,112,3,2,1,0,111,110,1,0,0,0,111,112,1,0,0,0,112,113,1,0,0,0,113,114,3,4,2,0,114,115,5,0,0,1,115,126,1,0,0,0,116,118,3,2,1,0,117,116,1,0,0,0,117,118,1,0,0,0,118,120,1,0,0,0,119,121,3,4,2,0,120,119,1,0,0,0,120,121,1,0,0,0,121,122,1,0,0,0,122,123,3,24,12,0,123,124,5,0,0,1,124,126,1,0,0,0,125,107,1,0,0,0,125,111,1,0,0,0,125,117,1,0,0,0,126,1,1,0,0,0,127,129,5,6,0,0,128,130,5,64,0,0,129,128,1,0,0,0,129,130,1,0,0,0,130,132,1,0,0,0,131,133,5,65,0,0,132,131,1,0,0,0,132,133,1,0,0,0,133,3,1,0,0,0,134,137,3,6,3,0,135,137,3,12,6,0,136,134,1,0,0,0,136,135,1,0,0,0,137,138,1,0,0,0,138,136,1,0,0,0,138,139,1,0,0,0,139,149,1,0,0,0,140,143,3,6,3,0,141,143,3,12,6,0,142,140,1,0,0,0,142,141,1,0,0,0,143,146,1,0,0,0,144,142,1,0,0,0,144,145,1,0,0,0,145,147,1,0,0,0,146,144,1,0,0,0,147,149,3,8,4,0,148,136,1,0,0,0,148,144,1,0,0,0,149,5,1,0,0,0,150,152,5,43,0,0,151,153,3,20,10,0,152,151,1,0,0,0,152,153,1,0,0,0,153,154,1,0,0,0,154,158,5,32,0,0,155,157,3,12,6,0,156,155,1,0,0,0,157,160,1,0,0,0,158,156,1,0,0,0,158,159,1,0,0,0,159,161,1,0,0,0,160,158,1,0,0,0,161,172,5,33,0,0,162,164,5,43,0,0,163,165,3,20,10,0,164,163,1,0,0,0,164,165,1,0,0,0,165,166,1,0,0,0,166,172,5,32,0,0,167,169,5,43,0,0,168,170,3,20,10,0,169,168,1,0,0,0,169,170,1,0,0,0,170,172,1,0,0,0,171,150,1,0,0,0,171,162,1,0,0,0,171,167,1,0,0,0,172,7,1,0,0,0,173,179,5,50,0,0,174,176,5,30,0,0,175,177,3,10,5,0,176,175,1,0,0,0,176,177,1,0,0,0,177,178,1,0,0,0,178,180,5,31,0,0,179,174,1,0,0,0,179,180,1,0,0,0,180,183,1,0,0,0,181,183,5,52,0,0,182,173,1,0,0,0,182,181,1,0,0,0,183,9,1,0,0,0,184,185,7,0,0,0,185,11,1,0,0,0,186,188,3,18,9,0,187,186,1,0,0,0,187,188,1,0,0,0,188,190,1,0,0,0,189,191,3,14,7,0,190,189,1,0,0,0,190,191,1,0,0,0,191,192,1,0,0,0,192,194,3,20,10,0,193,195,3,22,11,0,194,193,1,0,0,0,194,195,1,0,0,0,195,197,1,0,0,0,196,198,3,16,8,0,197,196,1,0,0,0,197,198,1,0,0,0,198,200,1,0,0,0,199,201,5,11,0,0,200,199,1,0,0,0,200,201,1,0,0,0,201,205,1,0,0,0,202,205,3,14,7,0,203,205,3,18,9,0,204,187,1,0,0,0,204,202,1,0,0,0,204,203,1,0,0,0,205,13,1,0,0,0,206,207,5,8,0,0,207,208,3,20,10,0,208,209,5,9,0,0,209,220,1,0,0,0,210,211,5,8,0,0,211,213,3,20,10,0,212,214,5,16,0,0,213,212,1,0,0,0,213,214,1,0,0,0,214,220,1,0,0,0,215,217,7,1,0,0,216,218,7,2,0,0,217,216,1,0,0,0,217,218,1,0,0,0,218,220,1,0,0,0,219,206,1,0,0,0,219,210,1,0,0,0,219,215,1,0,0,0,220,15,1,0,0,0,221,222,5,45,0,0,222,225,3,20,10,0,223,225,5,45,0,0,224,221,1,0,0,0,224,223,1,0,0,0,225,17,1,0,0,0,226,227,5,52,0,0,227,19,1,0,0,0,228,229,7,0,0,0,229,21,1,0,0,0,230,231,5,55,0,0,231,23,1,0,0,0,232,234,3,32,16,0,233,232,1,0,0,0,234,235,1,0,0,0,235,233,1,0,0,0,235,236,1,0,0,0,236,25,1,0,0,0,237,239,5,40,0,0,238,240,3,96,48,0,239,238,1,0,0,0,239,240,1,0,0,0,240,242,1,0,0,0,241,243,5,27,0,0,242,241,1,0,0,0,242,243,1,0,0,0,243,250,1,0,0,0,244,245,5,51,0,0,245,247,3,58,29,0,246,248,5,63,0,0,247,246,1,0,0,0,247,248,1,0,0,0,248,250,1,0,0,0,249,237,1,0,0,0,249,244,1,0,0,0,250,27,1,0,0,0,251,252,3,30,15,0,252,29,1,0,0,0,253,254,5,61,0,0,254,31,1,0,0,0,255,271,3,84,42,0,256,271,3,34,17,0,257,271,3,36,18,0,258,271,3,94,47,0,259,271,3,38,19,0,260,271,3,42,21,0,261,263,3,58,29,0,262,264,5,63,0,0,263,262,1,0,0,0,263,264,1,0,0,0,264,271,1,0,0,0,265,271,3,26,13,0,266,271,3,28,14,0,267,271,3,76,38,0,268,269,5,60,0,0,269,271,6,16,-1,0,270,255,1,0,0,0,270,256,1,0,0,0,270,257,1,0,0,0,270,258,1,0,0,0,270,259,1,0,0,0,270,260,1,0,0,0,270,261,1,0,0,0,270,265,1,0,0,0,270,266,1,0,0,0,270,267,1,0,0,0,270,268,1,0,0,0,271,33,1,0,0,0,272,273,5,42,0,0,273,276,3,92,46,0,274,276,5,42,0,0,275,272,1,0,0,0,275,274,1,0,0,0,276,35,1,0,0,0,277,278,5,44,0,0,278,281,3,92,46,0,279,281,5,44,0,0,280,277,1,0,0,0,280,279,1,0,0,0,281,37,1,0,0,0,282,285,3,40,20,0,283,286,5,27,0,0,284,286,3,92,46,0,285,283,1,0,0,0,285,284,1,0,0,0,285,286,1,0,0,0,286,39,1,0,0,0,287,289,3,56,28,0,288,287,1,0,0,0,288,289,1,0,0,0,289,290,1,0,0,0,290,291,5,41,0,0,291,297,3,62,31,0,292,294,5,30,0,0,293,295,3,70,35,0,294,293,1,0,0,0,294,295,1,0,0,0,295,296,1,0,0,0,296,298,5,31,0,0,297,292,1,0,0,0,297,298,1,0,0,0,298,304,1,0,0,0,299,301,3,56,28,0,300,299,1,0,0,0,300,301,1,0,0,0,301,302,1,0,0,0,302,304,5,41,0,0,303,288,1,0,0,0,303,300,1,0,0,0,304,41,1,0,0,0,305,308,3,44,22,0,306,309,5,27,0,0,307,309,3,92,46,0,308,306,1,0,0,0,308,307,1,0,0,0,308,309,1,0,0,0,309,43,1,0,0,0,310,312,3,56,28,0,311,310,1,0,0,0,311,312,1,0,0,0,312,321,1,0,0,0,313,314,3,48,24,0,314,315,5,10,0,0,315,317,1,0,0,0,316,313,1,0,0,0,316,317,1,0,0,0,317,318,1,0,0,0,318,319,3,50,25,0,319,320,5,53,0,0,320,322,1,0,0,0,321,316,1,0,0,0,321,322,1,0,0,0,322,323,1,0,0,0,323,334,3,46,23,0,324,334,3,56,28,0,325,326,3,48,24,0,326,327,5,10,0,0,327,329,1,0,0,0,328,325,1,0,0,0,328,329,1,0,0,0,329,330,1,0,0,0,330,331,3,50,25,0,331,332,5,53,0,0,332,334,1,0,0,0,333,311,1,0,0,0,333,324,1,0,0,0,333,328,1,0,0,0,334,45,1,0,0,0,335,340,3,52,26,0,336,337,5,53,0,0,337,339,3,52,26,0,338,336,1,0,0,0,339,342,1,0,0,0,340,338,1,0,0,0,340,341,1,0,0,0,341,47,1,0,0,0,342,340,1,0,0,0,343,344,7,0,0,0,344,49,1,0,0,0,345,346,7,0,0,0,346,51,1,0,0,0,347,349,3,68,34,0,348,350,3,54,27,0,349,348,1,0,0,0,349,350,1,0,0,0,350,53,1,0,0,0,351,353,5,30,0,0,352,354,3,70,35,0,353,352,1,0,0,0,353,354,1,0,0,0,354,355,1,0,0,0,355,356,5,31,0,0,356,55,1,0,0,0,357,359,3,64,32,0,358,357,1,0,0,0,358,359,1,0,0,0,359,360,1,0,0,0,360,361,3,66,33,0,361,362,5,29,0,0,362,57,1,0,0,0,363,364,3,48,24,0,364,365,5,10,0,0,365,367,1,0,0,0,366,363,1,0,0,0,366,367,1,0,0,0,367,368,1,0,0,0,368,369,3,50,25,0,369,370,5,7,0,0,370,371,3,60,30,0,371,378,1,0,0,0,372,373,3,48,24,0,373,375,7,3,0,0,374,376,3,50,25,0,375,374,1,0,0,0,375,376,1,0,0,0,376,378,1,0,0,0,377,366,1,0,0,0,377,372,1,0,0,0,378,59,1,0,0,0,379,380,5,62,0,0,380,61,1,0,0,0,381,382,7,0,0,0,382,63,1,0,0,0,383,384,7,0,0,0,384,65,1,0,0,0,385,396,3,98,49,0,386,391,5,54,0,0,387,388,5,28,0,0,388,390,5,54,0,0,389,387,1,0,0,0,390,393,1,0,0,0,391,389,1,0,0,0,391,392,1,0,0,0,392,396,1,0,0,0,393,391,1,0,0,0,394,396,5,57,0,0,395,385,1,0,0,0,395,386,1,0,0,0,395,394,1,0,0,0,396,67,1,0,0,0,397,398,7,0,0,0,398,69,1,0,0,0,399,404,3,72,36,0,400,401,5,28,0,0,401,403,3,72,36,0,402,400,1,0,0,0,403,406,1,0,0,0,404,402,1,0,0,0,404,405,1,0,0,0,405,408,1,0,0,0,406,404,1,0,0,0,407,409,5,28,0,0,408,407,1,0,0,0,408,409,1,0,0,0,409,71,1,0,0,0,410,413,3,74,37,0,411,413,3,96,48,0,412,410,1,0,0,0,412,411,1,0,0,0,413,73,1,0,0,0,414,415,3,64,32,0,415,416,5,54,0,0,416,75,1,0,0,0,417,421,3,78,39,0,418,420,3,80,40,0,419,418,1,0,0,0,420,423,1,0,0,0,421,419,1,0,0,0,421,422,1,0,0,0,422,425,1,0,0,0,423,421,1,0,0,0,424,426,3,82,41,0,425,424,1,0,0,0,425,426,1,0,0,0,426,77,1,0,0,0,427,428,5,46,0,0,428,429,3,92,46,0,429,79,1,0,0,0,430,432,5,47,0,0,431,433,3,54,27,0,432,431,1,0,0,0,432,433,1,0,0,0,433,434,1,0,0,0,434,435,3,92,46,0,435,81,1,0,0,0,436,437,5,48,0,0,437,438,3,92,46,0,438,83,1,0,0,0,439,443,3,86,43,0,440,442,3,88,44,0,441,440,1,0,0,0,442,445,1,0,0,0,443,441,1,0,0,0,443,444,1,0,0,0,444,447,1,0,0,0,445,443,1,0,0,0,446,448,3,90,45,0,447,446,1,0,0,0,447,448,1,0,0,0,448,85,1,0,0,0,449,450,5,37,0,0,450,451,3,100,50,0,451,452,3,92,46,0,452,87,1,0,0,0,453,454,5,38,0,0,454,455,5,37,0,0,455,456,3,100,50,0,456,457,3,92,46,0,457,89,1,0,0,0,458,459,5,38,0,0,459,460,3,92,46,0,460,91,1,0,0,0,461,463,5,32,0,0,462,464,3,24,12,0,463,462,1,0,0,0,463,464,1,0,0,0,464,465,1,0,0,0,465,466,5,33,0,0,466,93,1,0,0,0,467,468,5,39,0,0,468,469,3,100,50,0,469,470,3,92,46,0,470,475,1,0,0,0,471,472,5,39,0,0,472,475,3,100,50,0,473,475,5,39,0,0,474,467,1,0,0,0,474,471,1,0,0,0,474,473,1,0,0,0,475,95,1,0,0,0,476,477,6,48,-1,0,477,497,3,98,49,0,478,479,5,21,0,0,479,497,3,96,48,13,480,481,5,26,0,0,481,497,3,96,48,12,482,483,3,50,25,0,483,484,5,53,0,0,484,486,1,0,0,0,485,482,1,0,0,0,485,486,1,0,0,0,486,487,1,0,0,0,487,497,3,46,23,0,488,497,3,38,19,0,489,490,5,30,0,0,490,491,3,96,48,0,491,492,5,31,0,0,492,497,1,0,0,0,493,494,3,56,28,0,494,495,3,96,48,1,495,497,1,0,0,0,496,476,1,0,0,0,496,478,1,0,0,0,496,480,1,0,0,0,496,485,1,0,0,0,496,488,1,0,0,0,496,489,1,0,0,0,496,493,1,0,0,0,497,521,1,0,0,0,498,499,10,11,0,0,499,500,7,4,0,0,500,520,3,96,48,12,501,502,10,10,0,0,502,503,7,5,0,0,503,520,3,96,48,11,504,505,10,9,0,0,505,506,7,6,0,0,506,520,3,96,48,10,507,508,10,8,0,0,508,509,7,7,0,0,509,520,3,96,48,9,510,511,10,7,0,0,511,512,5,13,0,0,512,520,3,96,48,8,513,514,10,6,0,0,514,515,5,12,0,0,515,520,3,96,48,7,516,517,10,5,0,0,517,518,5,20,0,0,518,520,3,96,48,6,519,498,1,0,0,0,519,501,1,0,0,0,519,504,1,0,0,0,519,507,1,0,0,0,519,510,1,0,0,0,519,513,1,0,0,0,519,516,1,0,0,0,520,523,1,0,0,0,521,519,1,0,0,0,521,522,1,0,0,0,522,97,1,0,0,0,523,521,1,0,0,0,524,530,7,8,0,0,525,530,7,9,0,0,526,530,5,54,0,0,527,530,5,57,0,0,528,530,5,36,0,0,529,524,1,0,0,0,529,525,1,0,0,0,529,526,1,0,0,0,529,527,1,0,0,0,529,528,1,0,0,0,530,99,1,0,0,0,531,532,5,30,0,0,532,533,3,102,51,0,533,534,5,31,0,0,534,541,1,0,0,0,535,536,5,30,0,0,536,541,3,102,51,0,537,538,5,30,0,0,538,541,5,31,0,0,539,541,5,30,0,0,540,531,1,0,0,0,540,535,1,0,0,0,540,537,1,0,0,0,540,539,1,0,0,0,541,101,1,0,0,0,542,546,3,98,49,0,543,546,3,96,48,0,544,546,3,104,52,0,545,542,1,0,0,0,545,543,1,0,0,0,545,544,1,0,0,0,546,103,1,0,0,0,547,548,5,54,0,0,548,549,5,49,0,0,549,550,5,54,0,0,550,105,1,0,0,0,77,107,111,117,120,125,129,132,136,138,142,144,148,152,158,164,169,171,176,179,182,187,190,194,197,200,204,213,217,219,224,235,239,242,247,249,263,270,275,280,285,288,294,297,300,303,308,311,316,321,328,333,340,349,353,358,366,375,377,391,395,404,408,412,421,425,432,443,447,463,474,485,496,519,521,529,540,545],ve=new A.atn.ATNDeserializer().deserialize(pf),mf=ve.decisionToState.map((t,e)=>new A.dfa.DFA(t,e)),wf=new A.PredictionContextCache,R=class extends A.Parser{constructor(e){super(e),this._interp=new A.atn.ParserATNSimulator(this,ve,mf,wf),this.ruleNames=R.ruleNames,this.literalNames=R.literalNames,this.symbolicNames=R.symbolicNames}get atn(){return ve}sempred(e,n,i){switch(n){case 48:return this.expr_sempred(e,i);default:throw"No predicate with index:"+n}}expr_sempred(e,n){switch(n){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);default:throw"No predicate with index:"+n}}prog(){let e=new Qr(this,this._ctx,this.state);this.enterRule(e,0,R.RULE_prog);var n=0;try{this.state=125,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,4,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=107,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=106,this.title()),this.state=109,this.match(R.EOF);break;case 2:this.enterOuterAlt(e,2),this.state=111,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=110,this.title()),this.state=113,this.head(),this.state=114,this.match(R.EOF);break;case 3:this.enterOuterAlt(e,3),this.state=117,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=116,this.title()),this.state=120,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,3,this._ctx);i===1&&(this.state=119,this.head()),this.state=122,this.block(),this.state=123,this.match(R.EOF);break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}title(){let e=new _e(this,this._ctx,this.state);this.enterRule(e,2,R.RULE_title);var n=0;try{this.enterOuterAlt(e,1),this.state=127,this.match(R.TITLE),this.state=129,this._errHandler.sync(this),n=this._input.LA(1),n===64&&(this.state=128,this.match(R.TITLE_CONTENT)),this.state=132,this._errHandler.sync(this),n=this._input.LA(1),n===65&&(this.state=131,this.match(R.TITLE_END))}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}head(){let e=new Me(this,this._ctx,this.state);this.enterRule(e,4,R.RULE_head);try{this.state=148,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,11,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=136,this._errHandler.sync(this);var i=1;do{switch(i){case 1:switch(this.state=136,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=134,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=135,this.participant();break;default:throw new A.error.NoViableAltException(this)}break;default:throw new A.error.NoViableAltException(this)}this.state=138,this._errHandler.sync(this),i=this._interp.adaptivePredict(this._input,8,this._ctx)}while(i!=2&&i!=A.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(e,2),this.state=144,this._errHandler.sync(this);for(var i=this._interp.adaptivePredict(this._input,10,this._ctx);i!=2&&i!=A.atn.ATN.INVALID_ALT_NUMBER;){if(i===1)switch(this.state=142,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=140,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=141,this.participant();break;default:throw new A.error.NoViableAltException(this)}this.state=146,this._errHandler.sync(this),i=this._interp.adaptivePredict(this._input,10,this._ctx)}this.state=147,this.starterExp();break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}group(){let e=new Z8(this,this._ctx,this.state);this.enterRule(e,6,R.RULE_group);var n=0;try{this.state=171,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,16,this._ctx);switch(i){case 1:for(this.enterOuterAlt(e,1),this.state=150,this.match(R.GROUP),this.state=152,this._errHandler.sync(this),n=this._input.LA(1),(n===54||n===57)&&(this.state=151,this.name()),this.state=154,this.match(R.OBRACE),this.state=158,this._errHandler.sync(this),n=this._input.LA(1);n===8||n===17||(n-52&-32)==0&&(1<<n-52&37)!==0;)this.state=155,this.participant(),this.state=160,this._errHandler.sync(this),n=this._input.LA(1);this.state=161,this.match(R.CBRACE);break;case 2:this.enterOuterAlt(e,2),this.state=162,this.match(R.GROUP),this.state=164,this._errHandler.sync(this),n=this._input.LA(1),(n===54||n===57)&&(this.state=163,this.name()),this.state=166,this.match(R.OBRACE);break;case 3:this.enterOuterAlt(e,3),this.state=167,this.match(R.GROUP),this.state=169,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,15,this._ctx);i===1&&(this.state=168,this.name());break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}starterExp(){let e=new ye(this,this._ctx,this.state);this.enterRule(e,8,R.RULE_starterExp);var n=0;try{switch(this.state=182,this._errHandler.sync(this),this._input.LA(1)){case 50:this.enterOuterAlt(e,1),this.state=173,this.match(R.STARTER_LXR),this.state=179,this._errHandler.sync(this),n=this._input.LA(1),n===30&&(this.state=174,this.match(R.OPAR),this.state=176,this._errHandler.sync(this),n=this._input.LA(1),(n===54||n===57)&&(this.state=175,this.starter()),this.state=178,this.match(R.CPAR));break;case 52:this.enterOuterAlt(e,2),this.state=181,this.match(R.ANNOTATION);break;default:throw new A.error.NoViableAltException(this)}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}starter(){let e=new Re(this,this._ctx,this.state);this.enterRule(e,10,R.RULE_starter);var n=0;try{this.enterOuterAlt(e,1),this.state=184,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}participant(){let e=new V9(this,this._ctx,this.state);this.enterRule(e,12,R.RULE_participant);var n=0;try{this.state=204,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,25,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=187,this._errHandler.sync(this),n=this._input.LA(1),n===52&&(this.state=186,this.participantType()),this.state=190,this._errHandler.sync(this),n=this._input.LA(1),(n===8||n===17)&&(this.state=189,this.stereotype()),this.state=192,this.name(),this.state=194,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,22,this._ctx);i===1&&(this.state=193,this.width()),this.state=197,this._errHandler.sync(this),n=this._input.LA(1),n===45&&(this.state=196,this.label()),this.state=200,this._errHandler.sync(this),n=this._input.LA(1),n===11&&(this.state=199,this.match(R.COLOR));break;case 2:this.enterOuterAlt(e,2),this.state=202,this.stereotype();break;case 3:this.enterOuterAlt(e,3),this.state=203,this.participantType();break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}stereotype(){let e=new Ze(this,this._ctx,this.state);this.enterRule(e,14,R.RULE_stereotype);var n=0;try{this.state=219,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,28,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=206,this.match(R.SOPEN),this.state=207,this.name(),this.state=208,this.match(R.SCLOSE);break;case 2:this.enterOuterAlt(e,2),this.state=210,this.match(R.SOPEN),this.state=211,this.name(),this.state=213,this._errHandler.sync(this),n=this._input.LA(1),n===16&&(this.state=212,this.match(R.GT));break;case 3:this.enterOuterAlt(e,3),this.state=215,n=this._input.LA(1),n===8||n===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=217,this._errHandler.sync(this),n=this._input.LA(1),(n===9||n===16)&&(this.state=216,n=this._input.LA(1),n===9||n===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}label(){let e=new Ae(this,this._ctx,this.state);this.enterRule(e,16,R.RULE_label);try{this.state=224,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,29,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=221,this.match(R.AS),this.state=222,this.name();break;case 2:this.enterOuterAlt(e,2),this.state=223,this.match(R.AS);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}participantType(){let e=new ke(this,this._ctx,this.state);this.enterRule(e,18,R.RULE_participantType);try{this.enterOuterAlt(e,1),this.state=226,this.match(R.ANNOTATION)}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}name(){let e=new G9(this,this._ctx,this.state);this.enterRule(e,20,R.RULE_name);var n=0;try{this.enterOuterAlt(e,1),this.state=228,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}width(){let e=new Se(this,this._ctx,this.state);this.enterRule(e,22,R.RULE_width);try{this.enterOuterAlt(e,1),this.state=230,this.match(R.INT)}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}block(){let e=new A8(this,this._ctx,this.state);this.enterRule(e,24,R.RULE_block);var n=0;try{this.enterOuterAlt(e,1),this.state=233,this._errHandler.sync(this),n=this._input.LA(1);do this.state=232,this.stat(),this.state=235,this._errHandler.sync(this),n=this._input.LA(1);while((n-34&-32)==0&&(1<<n-34&217191919)!==0)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}ret(){let e=new be(this,this._ctx,this.state);this.enterRule(e,26,R.RULE_ret);var n=0;try{switch(this.state=249,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(e,1),this.state=237,this.match(R.RETURN),this.state=239,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,31,this._ctx);i===1&&(this.state=238,this.expr(0)),this.state=242,this._errHandler.sync(this),n=this._input.LA(1),n===27&&(this.state=241,this.match(R.SCOL));break;case 51:this.enterOuterAlt(e,2),this.state=244,this.match(R.ANNOTATION_RET),this.state=245,this.asyncMessage(),this.state=247,this._errHandler.sync(this),n=this._input.LA(1),n===63&&(this.state=246,this.match(R.EVENT_END));break;default:throw new A.error.NoViableAltException(this)}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}divider(){let e=new Te(this,this._ctx,this.state);this.enterRule(e,28,R.RULE_divider);try{this.enterOuterAlt(e,1),this.state=251,this.dividerNote()}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}dividerNote(){let e=new Ie(this,this._ctx,this.state);this.enterRule(e,30,R.RULE_dividerNote);try{this.enterOuterAlt(e,1),this.state=253,this.match(R.DIVIDER)}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}stat(){let e=new k8(this,this._ctx,this.state);this.enterRule(e,32,R.RULE_stat);var n=0;try{this.state=270,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,36,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=255,this.alt();break;case 2:this.enterOuterAlt(e,2),this.state=256,this.par();break;case 3:this.enterOuterAlt(e,3),this.state=257,this.opt();break;case 4:this.enterOuterAlt(e,4),this.state=258,this.loop();break;case 5:this.enterOuterAlt(e,5),this.state=259,this.creation();break;case 6:this.enterOuterAlt(e,6),this.state=260,this.message();break;case 7:this.enterOuterAlt(e,7),this.state=261,this.asyncMessage(),this.state=263,this._errHandler.sync(this),n=this._input.LA(1),n===63&&(this.state=262,this.match(R.EVENT_END));break;case 8:this.enterOuterAlt(e,8),this.state=265,this.ret();break;case 9:this.enterOuterAlt(e,9),this.state=266,this.divider();break;case 10:this.enterOuterAlt(e,10),this.state=267,this.tcf();break;case 11:this.enterOuterAlt(e,11),this.state=268,e._OTHER=this.match(R.OTHER),console.log("unknown char: "+(e._OTHER===null?null:e._OTHER.text));break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}par(){let e=new Ee(this,this._ctx,this.state);this.enterRule(e,34,R.RULE_par);try{this.state=275,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,37,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=272,this.match(R.PAR),this.state=273,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=274,this.match(R.PAR);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}opt(){let e=new Fe(this,this._ctx,this.state);this.enterRule(e,36,R.RULE_opt);try{this.state=280,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,38,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=277,this.match(R.OPT),this.state=278,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=279,this.match(R.OPT);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}creation(){let e=new S8(this,this._ctx,this.state);this.enterRule(e,38,R.RULE_creation);try{this.enterOuterAlt(e,1),this.state=282,this.creationBody(),this.state=285,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,39,this._ctx);n===1?(this.state=283,this.match(R.SCOL)):n===2&&(this.state=284,this.braceBlock())}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}creationBody(){let e=new Oe(this,this._ctx,this.state);this.enterRule(e,40,R.RULE_creationBody);var n=0;try{this.state=303,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,44,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=288,this._errHandler.sync(this),n=this._input.LA(1),(n-34&-32)==0&&(1<<n-34&15728647)!==0&&(this.state=287,this.assignment()),this.state=290,this.match(R.NEW),this.state=291,this.construct(),this.state=297,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,42,this._ctx);i===1&&(this.state=292,this.match(R.OPAR),this.state=294,this._errHandler.sync(this),n=this._input.LA(1),((n&-32)==0&&(1<<n&1142947840)!==0||(n-34&-32)==0&&(1<<n-34&15728775)!==0)&&(this.state=293,this.parameters()),this.state=296,this.match(R.CPAR));break;case 2:this.enterOuterAlt(e,2),this.state=300,this._errHandler.sync(this),n=this._input.LA(1),(n-34&-32)==0&&(1<<n-34&15728647)!==0&&(this.state=299,this.assignment()),this.state=302,this.match(R.NEW);break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}message(){let e=new De(this,this._ctx,this.state);this.enterRule(e,42,R.RULE_message);try{switch(this.enterOuterAlt(e,1),this.state=305,this.messageBody(),this.state=308,this._errHandler.sync(this),this._input.LA(1)){case 27:this.state=306,this.match(R.SCOL);break;case 32:this.state=307,this.braceBlock();break;case-1:case 33:case 34:case 35:case 36:case 37:case 39:case 40:case 41:case 42:case 44:case 46:case 51:case 54:case 55:case 56:case 57:case 60:case 61:break;default:break}}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}messageBody(){let e=new Ne(this,this._ctx,this.state);this.enterRule(e,44,R.RULE_messageBody);try{this.state=333,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,50,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=311,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,46,this._ctx);n===1&&(this.state=310,this.assignment()),this.state=321,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,48,this._ctx);if(n===1){this.state=316,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,47,this._ctx);n===1&&(this.state=313,this.from(),this.state=314,this.match(R.ARROW)),this.state=318,this.to(),this.state=319,this.match(R.DOT)}this.state=323,this.func();break;case 2:this.enterOuterAlt(e,2),this.state=324,this.assignment();break;case 3:this.enterOuterAlt(e,3),this.state=328,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,49,this._ctx);n===1&&(this.state=325,this.from(),this.state=326,this.match(R.ARROW)),this.state=330,this.to(),this.state=331,this.match(R.DOT);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}func(){let e=new b8(this,this._ctx,this.state);this.enterRule(e,46,R.RULE_func);try{this.enterOuterAlt(e,1),this.state=335,this.signature(),this.state=340,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,51,this._ctx);n!=2&&n!=A.atn.ATN.INVALID_ALT_NUMBER;)n===1&&(this.state=336,this.match(R.DOT),this.state=337,this.signature()),this.state=342,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,51,this._ctx)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}from(){let e=new T8(this,this._ctx,this.state);this.enterRule(e,48,R.RULE_from);var n=0;try{this.enterOuterAlt(e,1),this.state=343,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}to(){let e=new V0(this,this._ctx,this.state);this.enterRule(e,50,R.RULE_to);var n=0;try{this.enterOuterAlt(e,1),this.state=345,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}signature(){let e=new I8(this,this._ctx,this.state);this.enterRule(e,52,R.RULE_signature);try{this.enterOuterAlt(e,1),this.state=347,this.methodName(),this.state=349,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,52,this._ctx);n===1&&(this.state=348,this.invocation())}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}invocation(){let e=new E8(this,this._ctx,this.state);this.enterRule(e,54,R.RULE_invocation);var n=0;try{this.enterOuterAlt(e,1),this.state=351,this.match(R.OPAR),this.state=353,this._errHandler.sync(this),n=this._input.LA(1),((n&-32)==0&&(1<<n&1142947840)!==0||(n-34&-32)==0&&(1<<n-34&15728775)!==0)&&(this.state=352,this.parameters()),this.state=355,this.match(R.CPAR)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}assignment(){let e=new G0(this,this._ctx,this.state);this.enterRule(e,56,R.RULE_assignment);try{this.enterOuterAlt(e,1),this.state=358,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,54,this._ctx);n===1&&(this.state=357,this.type()),this.state=360,this.assignee(),this.state=361,this.match(R.ASSIGN)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}asyncMessage(){let e=new F8(this,this._ctx,this.state);this.enterRule(e,58,R.RULE_asyncMessage);var n=0;try{this.state=377,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,57,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=366,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,55,this._ctx);i===1&&(this.state=363,this.from(),this.state=364,this.match(R.ARROW)),this.state=368,this.to(),this.state=369,this.match(R.COL),this.state=370,this.content();break;case 2:this.enterOuterAlt(e,2),this.state=372,this.from(),this.state=373,n=this._input.LA(1),n===10||n===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=375,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,56,this._ctx);i===1&&(this.state=374,this.to());break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}content(){let e=new Be(this,this._ctx,this.state);this.enterRule(e,60,R.RULE_content);try{this.enterOuterAlt(e,1),this.state=379,this.match(R.EVENT_PAYLOAD_LXR)}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}construct(){let e=new Pe(this,this._ctx,this.state);this.enterRule(e,62,R.RULE_construct);var n=0;try{this.enterOuterAlt(e,1),this.state=381,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}type(){let e=new O8(this,this._ctx,this.state);this.enterRule(e,64,R.RULE_type);var n=0;try{this.enterOuterAlt(e,1),this.state=383,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}assignee(){let e=new ze(this,this._ctx,this.state);this.enterRule(e,66,R.RULE_assignee);var n=0;try{this.state=395,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,59,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=385,this.atom();break;case 2:for(this.enterOuterAlt(e,2),this.state=386,this.match(R.ID),this.state=391,this._errHandler.sync(this),n=this._input.LA(1);n===28;)this.state=387,this.match(R.COMMA),this.state=388,this.match(R.ID),this.state=393,this._errHandler.sync(this),n=this._input.LA(1);break;case 3:this.enterOuterAlt(e,3),this.state=394,this.match(R.STRING);break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}methodName(){let e=new Ue(this,this._ctx,this.state);this.enterRule(e,68,R.RULE_methodName);var n=0;try{this.enterOuterAlt(e,1),this.state=397,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}parameters(){let e=new D8(this,this._ctx,this.state);this.enterRule(e,70,R.RULE_parameters);var n=0;try{this.enterOuterAlt(e,1),this.state=399,this.parameter(),this.state=404,this._errHandler.sync(this);for(var i=this._interp.adaptivePredict(this._input,60,this._ctx);i!=2&&i!=A.atn.ATN.INVALID_ALT_NUMBER;)i===1&&(this.state=400,this.match(R.COMMA),this.state=401,this.parameter()),this.state=406,this._errHandler.sync(this),i=this._interp.adaptivePredict(this._input,60,this._ctx);this.state=408,this._errHandler.sync(this),n=this._input.LA(1),n===28&&(this.state=407,this.match(R.COMMA))}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}parameter(){let e=new N8(this,this._ctx,this.state);this.enterRule(e,72,R.RULE_parameter);try{this.state=412,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,62,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=410,this.declaration();break;case 2:this.enterOuterAlt(e,2),this.state=411,this.expr(0);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}declaration(){let e=new $e(this,this._ctx,this.state);this.enterRule(e,74,R.RULE_declaration);try{this.enterOuterAlt(e,1),this.state=414,this.type(),this.state=415,this.match(R.ID)}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}tcf(){let e=new We(this,this._ctx,this.state);this.enterRule(e,76,R.RULE_tcf);var n=0;try{for(this.enterOuterAlt(e,1),this.state=417,this.tryBlock(),this.state=421,this._errHandler.sync(this),n=this._input.LA(1);n===47;)this.state=418,this.catchBlock(),this.state=423,this._errHandler.sync(this),n=this._input.LA(1);this.state=425,this._errHandler.sync(this),n=this._input.LA(1),n===48&&(this.state=424,this.finallyBlock())}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}tryBlock(){let e=new He(this,this._ctx,this.state);this.enterRule(e,78,R.RULE_tryBlock);try{this.enterOuterAlt(e,1),this.state=427,this.match(R.TRY),this.state=428,this.braceBlock()}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}catchBlock(){let e=new B8(this,this._ctx,this.state);this.enterRule(e,80,R.RULE_catchBlock);var n=0;try{this.enterOuterAlt(e,1),this.state=430,this.match(R.CATCH),this.state=432,this._errHandler.sync(this),n=this._input.LA(1),n===30&&(this.state=431,this.invocation()),this.state=434,this.braceBlock()}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}finallyBlock(){let e=new Ve(this,this._ctx,this.state);this.enterRule(e,82,R.RULE_finallyBlock);try{this.enterOuterAlt(e,1),this.state=436,this.match(R.FINALLY),this.state=437,this.braceBlock()}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}alt(){let e=new Ge(this,this._ctx,this.state);this.enterRule(e,84,R.RULE_alt);var n=0;try{this.enterOuterAlt(e,1),this.state=439,this.ifBlock(),this.state=443,this._errHandler.sync(this);for(var i=this._interp.adaptivePredict(this._input,66,this._ctx);i!=2&&i!=A.atn.ATN.INVALID_ALT_NUMBER;)i===1&&(this.state=440,this.elseIfBlock()),this.state=445,this._errHandler.sync(this),i=this._interp.adaptivePredict(this._input,66,this._ctx);this.state=447,this._errHandler.sync(this),n=this._input.LA(1),n===38&&(this.state=446,this.elseBlock())}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}ifBlock(){let e=new je(this,this._ctx,this.state);this.enterRule(e,86,R.RULE_ifBlock);try{this.enterOuterAlt(e,1),this.state=449,this.match(R.IF),this.state=450,this.parExpr(),this.state=451,this.braceBlock()}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}elseIfBlock(){let e=new P8(this,this._ctx,this.state);this.enterRule(e,88,R.RULE_elseIfBlock);try{this.enterOuterAlt(e,1),this.state=453,this.match(R.ELSE),this.state=454,this.match(R.IF),this.state=455,this.parExpr(),this.state=456,this.braceBlock()}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}elseBlock(){let e=new qe(this,this._ctx,this.state);this.enterRule(e,90,R.RULE_elseBlock);try{this.enterOuterAlt(e,1),this.state=458,this.match(R.ELSE),this.state=459,this.braceBlock()}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}braceBlock(){let e=new s3(this,this._ctx,this.state);this.enterRule(e,92,R.RULE_braceBlock);var n=0;try{this.enterOuterAlt(e,1),this.state=461,this.match(R.OBRACE),this.state=463,this._errHandler.sync(this),n=this._input.LA(1),(n-34&-32)==0&&(1<<n-34&217191919)!==0&&(this.state=462,this.block()),this.state=465,this.match(R.CBRACE)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}loop(){let e=new Ke(this,this._ctx,this.state);this.enterRule(e,94,R.RULE_loop);try{this.state=474,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,69,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=467,this.match(R.WHILE),this.state=468,this.parExpr(),this.state=469,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=471,this.match(R.WHILE),this.state=472,this.parExpr();break;case 3:this.enterOuterAlt(e,3),this.state=473,this.match(R.WHILE);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}expr(e){e===void 0&&(e=0);const n=this._ctx,i=this.state;let s=new y2(this,this._ctx,i),r=s;const o=96;this.enterRecursionRule(s,96,R.RULE_expr,e);var l=0;try{this.enterOuterAlt(s,1),this.state=496,this._errHandler.sync(this);var L=this._interp.adaptivePredict(this._input,71,this._ctx);switch(L){case 1:s=new eo(this,s),this._ctx=s,r=s,this.state=477,this.atom();break;case 2:s=new oo(this,s),this._ctx=s,r=s,this.state=478,this.match(R.MINUS),this.state=479,this.expr(13);break;case 3:s=new ro(this,s),this._ctx=s,r=s,this.state=480,this.match(R.NOT),this.state=481,this.expr(12);break;case 4:s=new Jr(this,s),this._ctx=s,r=s,this.state=485,this._errHandler.sync(this);var L=this._interp.adaptivePredict(this._input,70,this._ctx);L===1&&(this.state=482,this.to(),this.state=483,this.match(R.DOT)),this.state=487,this.func();break;case 5:s=new lo(this,s),this._ctx=s,r=s,this.state=488,this.creation();break;case 6:s=new Lo(this,s),this._ctx=s,r=s,this.state=489,this.match(R.OPAR),this.state=490,this.expr(0),this.state=491,this.match(R.CPAR);break;case 7:s=new Xr(this,s),this._ctx=s,r=s,this.state=493,this.assignment(),this.state=494,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=521,this._errHandler.sync(this);for(var a=this._interp.adaptivePredict(this._input,73,this._ctx);a!=2&&a!=A.atn.ATN.INVALID_ALT_NUMBER;){if(a===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),r=s,this.state=519,this._errHandler.sync(this);var L=this._interp.adaptivePredict(this._input,72,this._ctx);switch(L){case 1:if(s=new ao(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=498,!this.precpred(this._ctx,11))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=499,s.op=this._input.LT(1),l=this._input.LA(1),(l&-32)==0&&(1<<l&29360128)!==0?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=500,this.expr(12);break;case 2:if(s=new no(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=501,!this.precpred(this._ctx,10))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=502,s.op=this._input.LT(1),l=this._input.LA(1),l===20||l===21?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=503,this.expr(11);break;case 3:if(s=new io(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=504,!this.precpred(this._ctx,9))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=505,s.op=this._input.LT(1),l=this._input.LA(1),(l&-32)==0&&(1<<l&983040)!==0?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=506,this.expr(10);break;case 4:if(s=new co(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=507,!this.precpred(this._ctx,8))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=508,s.op=this._input.LT(1),l=this._input.LA(1),l===14||l===15?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=509,this.expr(9);break;case 5:if(s=new Co(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=510,!this.precpred(this._ctx,7))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=511,this.match(R.AND),this.state=512,this.expr(8);break;case 6:if(s=new to(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=513,!this.precpred(this._ctx,6))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=514,this.match(R.OR),this.state=515,this.expr(7);break;case 7:if(s=new so(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=516,!this.precpred(this._ctx,5))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=517,this.match(R.PLUS),this.state=518,this.expr(6);break}}this.state=523,this._errHandler.sync(this),a=this._interp.adaptivePredict(this._input,73,this._ctx)}}catch(c){if(c instanceof A.error.RecognitionException)s.exception=c,this._errHandler.reportError(this,c),this._errHandler.recover(this,c);else throw c}finally{this.unrollRecursionContexts(n)}return s}atom(){let e=new z3(this,this._ctx,this.state);this.enterRule(e,98,R.RULE_atom);var n=0;try{switch(this.state=529,this._errHandler.sync(this),this._input.LA(1)){case 55:case 56:e=new po(this,e),this.enterOuterAlt(e,1),this.state=524,n=this._input.LA(1),n===55||n===56?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 34:case 35:e=new uo(this,e),this.enterOuterAlt(e,2),this.state=525,n=this._input.LA(1),n===34||n===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 54:e=new ho(this,e),this.enterOuterAlt(e,3),this.state=526,this.match(R.ID);break;case 57:e=new fo(this,e),this.enterOuterAlt(e,4),this.state=527,this.match(R.STRING);break;case 36:e=new go(this,e),this.enterOuterAlt(e,5),this.state=528,this.match(R.NIL);break;default:throw new A.error.NoViableAltException(this)}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}parExpr(){let e=new j0(this,this._ctx,this.state);this.enterRule(e,100,R.RULE_parExpr);try{this.state=540,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,75,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=531,this.match(R.OPAR),this.state=532,this.condition(),this.state=533,this.match(R.CPAR);break;case 2:this.enterOuterAlt(e,2),this.state=535,this.match(R.OPAR),this.state=536,this.condition();break;case 3:this.enterOuterAlt(e,3),this.state=537,this.match(R.OPAR),this.state=538,this.match(R.CPAR);break;case 4:this.enterOuterAlt(e,4),this.state=539,this.match(R.OPAR);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}condition(){let e=new Ye(this,this._ctx,this.state);this.enterRule(e,102,R.RULE_condition);try{this.state=545,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,76,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=542,this.atom();break;case 2:this.enterOuterAlt(e,2),this.state=543,this.expr(0);break;case 3:this.enterOuterAlt(e,3),this.state=544,this.inExpr();break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}inExpr(){let e=new Qe(this,this._ctx,this.state);this.enterRule(e,104,R.RULE_inExpr);try{this.enterOuterAlt(e,1),this.state=547,this.match(R.ID),this.state=548,this.match(R.IN),this.state=549,this.match(R.ID)}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}};let d=R;J(d,"grammarFileName","java-escape"),J(d,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),J(d,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),J(d,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","dividerNote","stat","par","opt","creation","creationBody","message","messageBody","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr"]),d.EOF=A.Token.EOF,d.WS=1,d.CONSTANT=2,d.READONLY=3,d.STATIC=4,d.AWAIT=5,d.TITLE=6,d.COL=7,d.SOPEN=8,d.SCLOSE=9,d.ARROW=10,d.COLOR=11,d.OR=12,d.AND=13,d.EQ=14,d.NEQ=15,d.GT=16,d.LT=17,d.GTEQ=18,d.LTEQ=19,d.PLUS=20,d.MINUS=21,d.MULT=22,d.DIV=23,d.MOD=24,d.POW=25,d.NOT=26,d.SCOL=27,d.COMMA=28,d.ASSIGN=29,d.OPAR=30,d.CPAR=31,d.OBRACE=32,d.CBRACE=33,d.TRUE=34,d.FALSE=35,d.NIL=36,d.IF=37,d.ELSE=38,d.WHILE=39,d.RETURN=40,d.NEW=41,d.PAR=42,d.GROUP=43,d.OPT=44,d.AS=45,d.TRY=46,d.CATCH=47,d.FINALLY=48,d.IN=49,d.STARTER_LXR=50,d.ANNOTATION_RET=51,d.ANNOTATION=52,d.DOT=53,d.ID=54,d.INT=55,d.FLOAT=56,d.STRING=57,d.CR=58,d.COMMENT=59,d.OTHER=60,d.DIVIDER=61,d.EVENT_PAYLOAD_LXR=62,d.EVENT_END=63,d.TITLE_CONTENT=64,d.TITLE_END=65,d.RULE_prog=0,d.RULE_title=1,d.RULE_head=2,d.RULE_group=3,d.RULE_starterExp=4,d.RULE_starter=5,d.RULE_participant=6,d.RULE_stereotype=7,d.RULE_label=8,d.RULE_participantType=9,d.RULE_name=10,d.RULE_width=11,d.RULE_block=12,d.RULE_ret=13,d.RULE_divider=14,d.RULE_dividerNote=15,d.RULE_stat=16,d.RULE_par=17,d.RULE_opt=18,d.RULE_creation=19,d.RULE_creationBody=20,d.RULE_message=21,d.RULE_messageBody=22,d.RULE_func=23,d.RULE_from=24,d.RULE_to=25,d.RULE_signature=26,d.RULE_invocation=27,d.RULE_assignment=28,d.RULE_asyncMessage=29,d.RULE_content=30,d.RULE_construct=31,d.RULE_type=32,d.RULE_assignee=33,d.RULE_methodName=34,d.RULE_parameters=35,d.RULE_parameter=36,d.RULE_declaration=37,d.RULE_tcf=38,d.RULE_tryBlock=39,d.RULE_catchBlock=40,d.RULE_finallyBlock=41,d.RULE_alt=42,d.RULE_ifBlock=43,d.RULE_elseIfBlock=44,d.RULE_elseBlock=45,d.RULE_braceBlock=46,d.RULE_loop=47,d.RULE_expr=48,d.RULE_atom=49,d.RULE_parExpr=50,d.RULE_condition=51,d.RULE_inExpr=52;class Qr extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_prog}EOF(){return this.getToken(d.EOF,0)}title(){return this.getTypedRuleContext(_e,0)}head(){return this.getTypedRuleContext(Me,0)}block(){return this.getTypedRuleContext(A8,0)}enterRule(e){e instanceof S&&e.enterProg(this)}exitRule(e){e instanceof S&&e.exitProg(this)}}class _e extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_title}TITLE(){return this.getToken(d.TITLE,0)}TITLE_CONTENT(){return this.getToken(d.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(d.TITLE_END,0)}enterRule(e){e instanceof S&&e.enterTitle(this)}exitRule(e){e instanceof S&&e.exitTitle(this)}}class Me extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"group",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(Z8):this.getTypedRuleContext(Z8,n)});J(this,"participant",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(V9):this.getTypedRuleContext(V9,n)});this.parser=n,this.ruleIndex=d.RULE_head}starterExp(){return this.getTypedRuleContext(ye,0)}enterRule(n){n instanceof S&&n.enterHead(this)}exitRule(n){n instanceof S&&n.exitHead(this)}}class Z8 extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"participant",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(V9):this.getTypedRuleContext(V9,n)});this.parser=n,this.ruleIndex=d.RULE_group}GROUP(){return this.getToken(d.GROUP,0)}OBRACE(){return this.getToken(d.OBRACE,0)}CBRACE(){return this.getToken(d.CBRACE,0)}name(){return this.getTypedRuleContext(G9,0)}enterRule(n){n instanceof S&&n.enterGroup(this)}exitRule(n){n instanceof S&&n.exitGroup(this)}}class ye extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_starterExp}STARTER_LXR(){return this.getToken(d.STARTER_LXR,0)}OPAR(){return this.getToken(d.OPAR,0)}CPAR(){return this.getToken(d.CPAR,0)}starter(){return this.getTypedRuleContext(Re,0)}ANNOTATION(){return this.getToken(d.ANNOTATION,0)}enterRule(e){e instanceof S&&e.enterStarterExp(this)}exitRule(e){e instanceof S&&e.exitStarterExp(this)}}class Re extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_starter}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterStarter(this)}exitRule(e){e instanceof S&&e.exitStarter(this)}}class V9 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_participant}name(){return this.getTypedRuleContext(G9,0)}participantType(){return this.getTypedRuleContext(ke,0)}stereotype(){return this.getTypedRuleContext(Ze,0)}width(){return this.getTypedRuleContext(Se,0)}label(){return this.getTypedRuleContext(Ae,0)}COLOR(){return this.getToken(d.COLOR,0)}enterRule(e){e instanceof S&&e.enterParticipant(this)}exitRule(e){e instanceof S&&e.exitParticipant(this)}}class Ze extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_stereotype}SOPEN(){return this.getToken(d.SOPEN,0)}name(){return this.getTypedRuleContext(G9,0)}SCLOSE(){return this.getToken(d.SCLOSE,0)}GT(){return this.getToken(d.GT,0)}LT(){return this.getToken(d.LT,0)}enterRule(e){e instanceof S&&e.enterStereotype(this)}exitRule(e){e instanceof S&&e.exitStereotype(this)}}class Ae extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_label}AS(){return this.getToken(d.AS,0)}name(){return this.getTypedRuleContext(G9,0)}enterRule(e){e instanceof S&&e.enterLabel(this)}exitRule(e){e instanceof S&&e.exitLabel(this)}}class ke extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_participantType}ANNOTATION(){return this.getToken(d.ANNOTATION,0)}enterRule(e){e instanceof S&&e.enterParticipantType(this)}exitRule(e){e instanceof S&&e.exitParticipantType(this)}}class G9 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_name}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterName(this)}exitRule(e){e instanceof S&&e.exitName(this)}}class Se extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_width}INT(){return this.getToken(d.INT,0)}enterRule(e){e instanceof S&&e.enterWidth(this)}exitRule(e){e instanceof S&&e.exitWidth(this)}}class A8 extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"stat",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(k8):this.getTypedRuleContext(k8,n)});this.parser=n,this.ruleIndex=d.RULE_block}enterRule(n){n instanceof S&&n.enterBlock(this)}exitRule(n){n instanceof S&&n.exitBlock(this)}}class be extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_ret}RETURN(){return this.getToken(d.RETURN,0)}expr(){return this.getTypedRuleContext(y2,0)}SCOL(){return this.getToken(d.SCOL,0)}ANNOTATION_RET(){return this.getToken(d.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(F8,0)}EVENT_END(){return this.getToken(d.EVENT_END,0)}enterRule(e){e instanceof S&&e.enterRet(this)}exitRule(e){e instanceof S&&e.exitRet(this)}}class Te extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_divider}dividerNote(){return this.getTypedRuleContext(Ie,0)}enterRule(e){e instanceof S&&e.enterDivider(this)}exitRule(e){e instanceof S&&e.exitDivider(this)}}class Ie extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_dividerNote}DIVIDER(){return this.getToken(d.DIVIDER,0)}enterRule(e){e instanceof S&&e.enterDividerNote(this)}exitRule(e){e instanceof S&&e.exitDividerNote(this)}}class k8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_stat,this._OTHER=null}alt(){return this.getTypedRuleContext(Ge,0)}par(){return this.getTypedRuleContext(Ee,0)}opt(){return this.getTypedRuleContext(Fe,0)}loop(){return this.getTypedRuleContext(Ke,0)}creation(){return this.getTypedRuleContext(S8,0)}message(){return this.getTypedRuleContext(De,0)}asyncMessage(){return this.getTypedRuleContext(F8,0)}EVENT_END(){return this.getToken(d.EVENT_END,0)}ret(){return this.getTypedRuleContext(be,0)}divider(){return this.getTypedRuleContext(Te,0)}tcf(){return this.getTypedRuleContext(We,0)}OTHER(){return this.getToken(d.OTHER,0)}enterRule(e){e instanceof S&&e.enterStat(this)}exitRule(e){e instanceof S&&e.exitStat(this)}}class Ee extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_par}PAR(){return this.getToken(d.PAR,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterPar(this)}exitRule(e){e instanceof S&&e.exitPar(this)}}class Fe extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_opt}OPT(){return this.getToken(d.OPT,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterOpt(this)}exitRule(e){e instanceof S&&e.exitOpt(this)}}class S8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_creation}creationBody(){return this.getTypedRuleContext(Oe,0)}SCOL(){return this.getToken(d.SCOL,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterCreation(this)}exitRule(e){e instanceof S&&e.exitCreation(this)}}class Oe extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_creationBody}NEW(){return this.getToken(d.NEW,0)}construct(){return this.getTypedRuleContext(Pe,0)}assignment(){return this.getTypedRuleContext(G0,0)}OPAR(){return this.getToken(d.OPAR,0)}CPAR(){return this.getToken(d.CPAR,0)}parameters(){return this.getTypedRuleContext(D8,0)}enterRule(e){e instanceof S&&e.enterCreationBody(this)}exitRule(e){e instanceof S&&e.exitCreationBody(this)}}class De extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_message}messageBody(){return this.getTypedRuleContext(Ne,0)}SCOL(){return this.getToken(d.SCOL,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterMessage(this)}exitRule(e){e instanceof S&&e.exitMessage(this)}}class Ne extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_messageBody}func(){return this.getTypedRuleContext(b8,0)}assignment(){return this.getTypedRuleContext(G0,0)}to(){return this.getTypedRuleContext(V0,0)}DOT(){return this.getToken(d.DOT,0)}from(){return this.getTypedRuleContext(T8,0)}ARROW(){return this.getToken(d.ARROW,0)}enterRule(e){e instanceof S&&e.enterMessageBody(this)}exitRule(e){e instanceof S&&e.exitMessageBody(this)}}class b8 extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"signature",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(I8):this.getTypedRuleContext(I8,n)});J(this,"DOT",function(n){return n===void 0&&(n=null),n===null?this.getTokens(d.DOT):this.getToken(d.DOT,n)});this.parser=n,this.ruleIndex=d.RULE_func}enterRule(n){n instanceof S&&n.enterFunc(this)}exitRule(n){n instanceof S&&n.exitFunc(this)}}class T8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_from}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterFrom(this)}exitRule(e){e instanceof S&&e.exitFrom(this)}}class V0 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_to}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterTo(this)}exitRule(e){e instanceof S&&e.exitTo(this)}}class I8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_signature}methodName(){return this.getTypedRuleContext(Ue,0)}invocation(){return this.getTypedRuleContext(E8,0)}enterRule(e){e instanceof S&&e.enterSignature(this)}exitRule(e){e instanceof S&&e.exitSignature(this)}}class E8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_invocation}OPAR(){return this.getToken(d.OPAR,0)}CPAR(){return this.getToken(d.CPAR,0)}parameters(){return this.getTypedRuleContext(D8,0)}enterRule(e){e instanceof S&&e.enterInvocation(this)}exitRule(e){e instanceof S&&e.exitInvocation(this)}}class G0 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_assignment}assignee(){return this.getTypedRuleContext(ze,0)}ASSIGN(){return this.getToken(d.ASSIGN,0)}type(){return this.getTypedRuleContext(O8,0)}enterRule(e){e instanceof S&&e.enterAssignment(this)}exitRule(e){e instanceof S&&e.exitAssignment(this)}}class F8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_asyncMessage}to(){return this.getTypedRuleContext(V0,0)}COL(){return this.getToken(d.COL,0)}content(){return this.getTypedRuleContext(Be,0)}from(){return this.getTypedRuleContext(T8,0)}ARROW(){return this.getToken(d.ARROW,0)}MINUS(){return this.getToken(d.MINUS,0)}enterRule(e){e instanceof S&&e.enterAsyncMessage(this)}exitRule(e){e instanceof S&&e.exitAsyncMessage(this)}}class Be extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(d.EVENT_PAYLOAD_LXR,0)}enterRule(e){e instanceof S&&e.enterContent(this)}exitRule(e){e instanceof S&&e.exitContent(this)}}class Pe extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_construct}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterConstruct(this)}exitRule(e){e instanceof S&&e.exitConstruct(this)}}class O8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_type}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterType(this)}exitRule(e){e instanceof S&&e.exitType(this)}}class ze extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"ID",function(n){return n===void 0&&(n=null),n===null?this.getTokens(d.ID):this.getToken(d.ID,n)});J(this,"COMMA",function(n){return n===void 0&&(n=null),n===null?this.getTokens(d.COMMA):this.getToken(d.COMMA,n)});this.parser=n,this.ruleIndex=d.RULE_assignee}atom(){return this.getTypedRuleContext(z3,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(n){n instanceof S&&n.enterAssignee(this)}exitRule(n){n instanceof S&&n.exitAssignee(this)}}class Ue extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_methodName}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterMethodName(this)}exitRule(e){e instanceof S&&e.exitMethodName(this)}}class D8 extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"parameter",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(N8):this.getTypedRuleContext(N8,n)});J(this,"COMMA",function(n){return n===void 0&&(n=null),n===null?this.getTokens(d.COMMA):this.getToken(d.COMMA,n)});this.parser=n,this.ruleIndex=d.RULE_parameters}enterRule(n){n instanceof S&&n.enterParameters(this)}exitRule(n){n instanceof S&&n.exitParameters(this)}}class N8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_parameter}declaration(){return this.getTypedRuleContext($e,0)}expr(){return this.getTypedRuleContext(y2,0)}enterRule(e){e instanceof S&&e.enterParameter(this)}exitRule(e){e instanceof S&&e.exitParameter(this)}}class $e extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_declaration}type(){return this.getTypedRuleContext(O8,0)}ID(){return this.getToken(d.ID,0)}enterRule(e){e instanceof S&&e.enterDeclaration(this)}exitRule(e){e instanceof S&&e.exitDeclaration(this)}}class We extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"catchBlock",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(B8):this.getTypedRuleContext(B8,n)});this.parser=n,this.ruleIndex=d.RULE_tcf}tryBlock(){return this.getTypedRuleContext(He,0)}finallyBlock(){return this.getTypedRuleContext(Ve,0)}enterRule(n){n instanceof S&&n.enterTcf(this)}exitRule(n){n instanceof S&&n.exitTcf(this)}}class He extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_tryBlock}TRY(){return this.getToken(d.TRY,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterTryBlock(this)}exitRule(e){e instanceof S&&e.exitTryBlock(this)}}class B8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_catchBlock}CATCH(){return this.getToken(d.CATCH,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}invocation(){return this.getTypedRuleContext(E8,0)}enterRule(e){e instanceof S&&e.enterCatchBlock(this)}exitRule(e){e instanceof S&&e.exitCatchBlock(this)}}class Ve extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_finallyBlock}FINALLY(){return this.getToken(d.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterFinallyBlock(this)}exitRule(e){e instanceof S&&e.exitFinallyBlock(this)}}class Ge extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"elseIfBlock",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(P8):this.getTypedRuleContext(P8,n)});this.parser=n,this.ruleIndex=d.RULE_alt}ifBlock(){return this.getTypedRuleContext(je,0)}elseBlock(){return this.getTypedRuleContext(qe,0)}enterRule(n){n instanceof S&&n.enterAlt(this)}exitRule(n){n instanceof S&&n.exitAlt(this)}}class je extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_ifBlock}IF(){return this.getToken(d.IF,0)}parExpr(){return this.getTypedRuleContext(j0,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterIfBlock(this)}exitRule(e){e instanceof S&&e.exitIfBlock(this)}}class P8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_elseIfBlock}ELSE(){return this.getToken(d.ELSE,0)}IF(){return this.getToken(d.IF,0)}parExpr(){return this.getTypedRuleContext(j0,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterElseIfBlock(this)}exitRule(e){e instanceof S&&e.exitElseIfBlock(this)}}class qe extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_elseBlock}ELSE(){return this.getToken(d.ELSE,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterElseBlock(this)}exitRule(e){e instanceof S&&e.exitElseBlock(this)}}class s3 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_braceBlock}OBRACE(){return this.getToken(d.OBRACE,0)}CBRACE(){return this.getToken(d.CBRACE,0)}block(){return this.getTypedRuleContext(A8,0)}enterRule(e){e instanceof S&&e.enterBraceBlock(this)}exitRule(e){e instanceof S&&e.exitBraceBlock(this)}}class Ke extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_loop}WHILE(){return this.getToken(d.WHILE,0)}parExpr(){return this.getTypedRuleContext(j0,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterLoop(this)}exitRule(e){e instanceof S&&e.exitLoop(this)}}class y2 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_expr}copyFrom(e){super.copyFrom(e)}}class Xr extends y2{constructor(e,n){super(e),super.copyFrom(n)}assignment(){return this.getTypedRuleContext(G0,0)}expr(){return this.getTypedRuleContext(y2,0)}enterRule(e){e instanceof S&&e.enterAssignmentExpr(this)}exitRule(e){e instanceof S&&e.exitAssignmentExpr(this)}}d.AssignmentExprContext=Xr;class Jr extends y2{constructor(e,n){super(e),super.copyFrom(n)}func(){return this.getTypedRuleContext(b8,0)}to(){return this.getTypedRuleContext(V0,0)}DOT(){return this.getToken(d.DOT,0)}enterRule(e){e instanceof S&&e.enterFuncExpr(this)}exitRule(e){e instanceof S&&e.exitFuncExpr(this)}}d.FuncExprContext=Jr;class eo extends y2{constructor(e,n){super(e),super.copyFrom(n)}atom(){return this.getTypedRuleContext(z3,0)}enterRule(e){e instanceof S&&e.enterAtomExpr(this)}exitRule(e){e instanceof S&&e.exitAtomExpr(this)}}d.AtomExprContext=eo;class to extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});super.copyFrom(i)}OR(){return this.getToken(d.OR,0)}enterRule(n){n instanceof S&&n.enterOrExpr(this)}exitRule(n){n instanceof S&&n.exitOrExpr(this)}}d.OrExprContext=to;class no extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});this.op=null,super.copyFrom(i)}PLUS(){return this.getToken(d.PLUS,0)}MINUS(){return this.getToken(d.MINUS,0)}enterRule(n){n instanceof S&&n.enterAdditiveExpr(this)}exitRule(n){n instanceof S&&n.exitAdditiveExpr(this)}}d.AdditiveExprContext=no;class io extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});this.op=null,super.copyFrom(i)}LTEQ(){return this.getToken(d.LTEQ,0)}GTEQ(){return this.getToken(d.GTEQ,0)}LT(){return this.getToken(d.LT,0)}GT(){return this.getToken(d.GT,0)}enterRule(n){n instanceof S&&n.enterRelationalExpr(this)}exitRule(n){n instanceof S&&n.exitRelationalExpr(this)}}d.RelationalExprContext=io;class so extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});super.copyFrom(i)}PLUS(){return this.getToken(d.PLUS,0)}enterRule(n){n instanceof S&&n.enterPlusExpr(this)}exitRule(n){n instanceof S&&n.exitPlusExpr(this)}}d.PlusExprContext=so;class ro extends y2{constructor(e,n){super(e),super.copyFrom(n)}NOT(){return this.getToken(d.NOT,0)}expr(){return this.getTypedRuleContext(y2,0)}enterRule(e){e instanceof S&&e.enterNotExpr(this)}exitRule(e){e instanceof S&&e.exitNotExpr(this)}}d.NotExprContext=ro;class oo extends y2{constructor(e,n){super(e),super.copyFrom(n)}MINUS(){return this.getToken(d.MINUS,0)}expr(){return this.getTypedRuleContext(y2,0)}enterRule(e){e instanceof S&&e.enterUnaryMinusExpr(this)}exitRule(e){e instanceof S&&e.exitUnaryMinusExpr(this)}}d.UnaryMinusExprContext=oo;class lo extends y2{constructor(e,n){super(e),super.copyFrom(n)}creation(){return this.getTypedRuleContext(S8,0)}enterRule(e){e instanceof S&&e.enterCreationExpr(this)}exitRule(e){e instanceof S&&e.exitCreationExpr(this)}}d.CreationExprContext=lo;class Lo extends y2{constructor(e,n){super(e),super.copyFrom(n)}OPAR(){return this.getToken(d.OPAR,0)}expr(){return this.getTypedRuleContext(y2,0)}CPAR(){return this.getToken(d.CPAR,0)}enterRule(e){e instanceof S&&e.enterParenthesizedExpr(this)}exitRule(e){e instanceof S&&e.exitParenthesizedExpr(this)}}d.ParenthesizedExprContext=Lo;class ao extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});this.op=null,super.copyFrom(i)}MULT(){return this.getToken(d.MULT,0)}DIV(){return this.getToken(d.DIV,0)}MOD(){return this.getToken(d.MOD,0)}enterRule(n){n instanceof S&&n.enterMultiplicationExpr(this)}exitRule(n){n instanceof S&&n.exitMultiplicationExpr(this)}}d.MultiplicationExprContext=ao;class co extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});this.op=null,super.copyFrom(i)}EQ(){return this.getToken(d.EQ,0)}NEQ(){return this.getToken(d.NEQ,0)}enterRule(n){n instanceof S&&n.enterEqualityExpr(this)}exitRule(n){n instanceof S&&n.exitEqualityExpr(this)}}d.EqualityExprContext=co;class Co extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});super.copyFrom(i)}AND(){return this.getToken(d.AND,0)}enterRule(n){n instanceof S&&n.enterAndExpr(this)}exitRule(n){n instanceof S&&n.exitAndExpr(this)}}d.AndExprContext=Co;class z3 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_atom}copyFrom(e){super.copyFrom(e)}}class uo extends z3{constructor(e,n){super(e),super.copyFrom(n)}TRUE(){return this.getToken(d.TRUE,0)}FALSE(){return this.getToken(d.FALSE,0)}enterRule(e){e instanceof S&&e.enterBooleanAtom(this)}exitRule(e){e instanceof S&&e.exitBooleanAtom(this)}}d.BooleanAtomContext=uo;class ho extends z3{constructor(e,n){super(e),super.copyFrom(n)}ID(){return this.getToken(d.ID,0)}enterRule(e){e instanceof S&&e.enterIdAtom(this)}exitRule(e){e instanceof S&&e.exitIdAtom(this)}}d.IdAtomContext=ho;class fo extends z3{constructor(e,n){super(e),super.copyFrom(n)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterStringAtom(this)}exitRule(e){e instanceof S&&e.exitStringAtom(this)}}d.StringAtomContext=fo;class go extends z3{constructor(e,n){super(e),super.copyFrom(n)}NIL(){return this.getToken(d.NIL,0)}enterRule(e){e instanceof S&&e.enterNilAtom(this)}exitRule(e){e instanceof S&&e.exitNilAtom(this)}}d.NilAtomContext=go;class po extends z3{constructor(e,n){super(e),super.copyFrom(n)}INT(){return this.getToken(d.INT,0)}FLOAT(){return this.getToken(d.FLOAT,0)}enterRule(e){e instanceof S&&e.enterNumberAtom(this)}exitRule(e){e instanceof S&&e.exitNumberAtom(this)}}d.NumberAtomContext=po;class j0 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_parExpr}OPAR(){return this.getToken(d.OPAR,0)}condition(){return this.getTypedRuleContext(Ye,0)}CPAR(){return this.getToken(d.CPAR,0)}enterRule(e){e instanceof S&&e.enterParExpr(this)}exitRule(e){e instanceof S&&e.exitParExpr(this)}}class Ye extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_condition}atom(){return this.getTypedRuleContext(z3,0)}expr(){return this.getTypedRuleContext(y2,0)}inExpr(){return this.getTypedRuleContext(Qe,0)}enterRule(e){e instanceof S&&e.enterCondition(this)}exitRule(e){e instanceof S&&e.exitCondition(this)}}class Qe extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"ID",function(n){return n===void 0&&(n=null),n===null?this.getTokens(d.ID):this.getToken(d.ID,n)});this.parser=n,this.ruleIndex=d.RULE_inExpr}IN(){return this.getToken(d.IN,0)}enterRule(n){n instanceof S&&n.enterInExpr(this)}exitRule(n){n instanceof S&&n.exitInExpr(this)}}d.ProgContext=Qr,d.TitleContext=_e,d.HeadContext=Me,d.GroupContext=Z8,d.StarterExpContext=ye,d.StarterContext=Re,d.ParticipantContext=V9,d.StereotypeContext=Ze,d.LabelContext=Ae,d.ParticipantTypeContext=ke,d.NameContext=G9,d.WidthContext=Se,d.BlockContext=A8,d.RetContext=be,d.DividerContext=Te,d.DividerNoteContext=Ie,d.StatContext=k8,d.ParContext=Ee,d.OptContext=Fe,d.CreationContext=S8,d.CreationBodyContext=Oe,d.MessageContext=De,d.MessageBodyContext=Ne,d.FuncContext=b8,d.FromContext=T8,d.ToContext=V0,d.SignatureContext=I8,d.InvocationContext=E8,d.AssignmentContext=G0,d.AsyncMessageContext=F8,d.ContentContext=Be,d.ConstructContext=Pe,d.TypeContext=O8,d.AssigneeContext=ze,d.MethodNameContext=Ue,d.ParametersContext=D8,d.ParameterContext=N8,d.DeclarationContext=$e,d.TcfContext=We,d.TryBlockContext=He,d.CatchBlockContext=B8,d.FinallyBlockContext=Ve,d.AltContext=Ge,d.IfBlockContext=je,d.ElseIfBlockContext=P8,d.ElseBlockContext=qe,d.BraceBlockContext=s3,d.LoopContext=Ke,d.ExprContext=y2,d.AtomContext=z3,d.ParExprContext=j0,d.ConditionContext=Ye,d.InExprContext=Qe;function xf(){this.__data__=[],this.size=0}var vf=xf;function _f(t,e){return t===e||t!==t&&e!==e}var z8=_f,Mf=z8;function yf(t,e){for(var n=t.length;n--;)if(Mf(t[n][0],e))return n;return-1}var U8=yf,Rf=U8,Zf=Array.prototype,Af=Zf.splice;function kf(t){var e=this.__data__,n=Rf(e,t);if(n<0)return!1;var i=e.length-1;return n==i?e.pop():Af.call(e,n,1),--this.size,!0}var Sf=kf,bf=U8;function Tf(t){var e=this.__data__,n=bf(e,t);return n<0?void 0:e[n][1]}var If=Tf,Ef=U8;function Ff(t){return Ef(this.__data__,t)>-1}var Of=Ff,Df=U8;function Nf(t,e){var n=this.__data__,i=Df(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}var Bf=Nf,Pf=vf,zf=Sf,Uf=If,$f=Of,Wf=Bf;function j9(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}j9.prototype.clear=Pf,j9.prototype.delete=zf,j9.prototype.get=Uf,j9.prototype.has=$f,j9.prototype.set=Wf;var $8=j9,Hf=$8;function Vf(){this.__data__=new Hf,this.size=0}var Gf=Vf;function jf(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}var qf=jf;function Kf(t){return this.__data__.get(t)}var Yf=Kf;function Qf(t){return this.__data__.has(t)}var Xf=Qf,Jf=e9,eg=Jf.Symbol,mo=eg,wo=mo,xo=Object.prototype,tg=xo.hasOwnProperty,ng=xo.toString,q0=wo?wo.toStringTag:void 0;function ig(t){var e=tg.call(t,q0),n=t[q0];try{t[q0]=void 0;var i=!0}catch{}var s=ng.call(t);return i&&(e?t[q0]=n:delete t[q0]),s}var sg=ig,rg=Object.prototype,og=rg.toString;function lg(t){return og.call(t)}var Lg=lg,vo=mo,ag=sg,cg=Lg,Cg="[object Null]",ug="[object Undefined]",_o=vo?vo.toStringTag:void 0;function hg(t){return t==null?t===void 0?ug:Cg:_o&&_o in Object(t)?ag(t):cg(t)}var W8=hg;function dg(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var s9=dg,fg=W8,gg=s9,pg="[object AsyncFunction]",mg="[object Function]",wg="[object GeneratorFunction]",xg="[object Proxy]";function vg(t){if(!gg(t))return!1;var e=fg(t);return e==mg||e==wg||e==pg||e==xg}var Xe=vg,_g=e9,Mg=_g["__core-js_shared__"],yg=Mg,Je=yg,Mo=function(){var t=/[^.]+$/.exec(Je&&Je.keys&&Je.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Rg(t){return!!Mo&&Mo in t}var Zg=Rg,Ag=Function.prototype,kg=Ag.toString;function Sg(t){if(t!=null){try{return kg.call(t)}catch{}try{return t+""}catch{}}return""}var bg=Sg,Tg=Xe,Ig=Zg,Eg=s9,Fg=bg,Og=/[\\^$.*+?()[\]{}|]/g,Dg=/^\[object .+?Constructor\]$/,Ng=Function.prototype,Bg=Object.prototype,Pg=Ng.toString,zg=Bg.hasOwnProperty,Ug=RegExp("^"+Pg.call(zg).replace(Og,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function $g(t){if(!Eg(t)||Ig(t))return!1;var e=Tg(t)?Ug:Dg;return e.test(Fg(t))}var Wg=$g;function Hg(t,e){return t==null?void 0:t[e]}var Vg=Hg,Gg=Wg,jg=Vg;function qg(t,e){var n=jg(t,e);return Gg(n)?n:void 0}var et=qg,Kg=et,Yg=e9,Qg=Kg(Yg,"Map"),yo=Qg,Xg=et,Jg=Xg(Object,"create"),H8=Jg,Ro=H8;function ep(){this.__data__=Ro?Ro(null):{},this.size=0}var tp=ep;function np(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var ip=np,sp=H8,rp="__lodash_hash_undefined__",op=Object.prototype,lp=op.hasOwnProperty;function Lp(t){var e=this.__data__;if(sp){var n=e[t];return n===rp?void 0:n}return lp.call(e,t)?e[t]:void 0}var ap=Lp,cp=H8,Cp=Object.prototype,up=Cp.hasOwnProperty;function hp(t){var e=this.__data__;return cp?e[t]!==void 0:up.call(e,t)}var dp=hp,fp=H8,gp="__lodash_hash_undefined__";function pp(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=fp&&e===void 0?gp:e,this}var mp=pp,wp=tp,xp=ip,vp=ap,_p=dp,Mp=mp;function q9(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}q9.prototype.clear=wp,q9.prototype.delete=xp,q9.prototype.get=vp,q9.prototype.has=_p,q9.prototype.set=Mp;var yp=q9,Zo=yp,Rp=$8,Zp=yo;function Ap(){this.size=0,this.__data__={hash:new Zo,map:new(Zp||Rp),string:new Zo}}var kp=Ap;function Sp(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var bp=Sp,Tp=bp;function Ip(t,e){var n=t.__data__;return Tp(e)?n[typeof e=="string"?"string":"hash"]:n.map}var V8=Ip,Ep=V8;function Fp(t){var e=Ep(this,t).delete(t);return this.size-=e?1:0,e}var Op=Fp,Dp=V8;function Np(t){return Dp(this,t).get(t)}var Bp=Np,Pp=V8;function zp(t){return Pp(this,t).has(t)}var Up=zp,$p=V8;function Wp(t,e){var n=$p(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}var Hp=Wp,Vp=kp,Gp=Op,jp=Bp,qp=Up,Kp=Hp;function K9(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}K9.prototype.clear=Vp,K9.prototype.delete=Gp,K9.prototype.get=jp,K9.prototype.has=qp,K9.prototype.set=Kp;var Yp=K9,Qp=$8,Xp=yo,Jp=Yp,em=200;function tm(t,e){var n=this.__data__;if(n instanceof Qp){var i=n.__data__;if(!Xp||i.length<em-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Jp(i)}return n.set(t,e),this.size=n.size,this}var nm=tm,im=$8,sm=Gf,rm=qf,om=Yf,lm=Xf,Lm=nm;function Y9(t){var e=this.__data__=new im(t);this.size=e.size}Y9.prototype.clear=sm,Y9.prototype.delete=rm,Y9.prototype.get=om,Y9.prototype.has=lm,Y9.prototype.set=Lm;var am=Y9,cm=et,Cm=function(){try{var t=cm(Object,"defineProperty");return t({},"",{}),t}catch{}}(),Ao=Cm,ko=Ao;function um(t,e,n){e=="__proto__"&&ko?ko(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var tt=um,hm=tt,dm=z8;function fm(t,e,n){(n!==void 0&&!dm(t[e],n)||n===void 0&&!(e in t))&&hm(t,e,n)}var So=fm;function gm(t){return function(e,n,i){for(var s=-1,r=Object(e),o=i(e),l=o.length;l--;){var L=o[t?l:++s];if(n(r[L],L,r)===!1)break}return e}}var pm=gm,mm=pm,wm=mm(),xm=wm,nt={exports:{}};(function(t,e){var n=e9,i=e&&!e.nodeType&&e,s=i&&!0&&t&&!t.nodeType&&t,r=s&&s.exports===i,o=r?n.Buffer:void 0,l=o?o.allocUnsafe:void 0;function L(a,c){if(c)return a.slice();var C=a.length,u=l?l(C):new a.constructor(C);return a.copy(u),u}t.exports=L})(nt,nt.exports);var vm=e9,_m=vm.Uint8Array,Mm=_m,bo=Mm;function ym(t){var e=new t.constructor(t.byteLength);return new bo(e).set(new bo(t)),e}var Rm=ym,Zm=Rm;function Am(t,e){var n=e?Zm(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var km=Am;function Sm(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}var bm=Sm,Tm=s9,To=Object.create,Im=function(){function t(){}return function(e){if(!Tm(e))return{};if(To)return To(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),Em=Im;function Fm(t,e){return function(n){return t(e(n))}}var Om=Fm,Dm=Om,Nm=Dm(Object.getPrototypeOf,Object),Io=Nm,Bm=Object.prototype;function Pm(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||Bm;return t===n}var Eo=Pm,zm=Em,Um=Io,$m=Eo;function Wm(t){return typeof t.constructor=="function"&&!$m(t)?zm(Um(t)):{}}var Hm=Wm;function Vm(t){return t!=null&&typeof t=="object"}var K0=Vm,Gm=W8,jm=K0,qm="[object Arguments]";function Km(t){return jm(t)&&Gm(t)==qm}var Ym=Km,Fo=Ym,Qm=K0,Oo=Object.prototype,Xm=Oo.hasOwnProperty,Jm=Oo.propertyIsEnumerable,ew=Fo(function(){return arguments}())?Fo:function(t){return Qm(t)&&Xm.call(t,"callee")&&!Jm.call(t,"callee")},Do=ew,tw=Array.isArray,No=tw,nw=9007199254740991;function iw(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=nw}var Bo=iw,sw=Xe,rw=Bo;function ow(t){return t!=null&&rw(t.length)&&!sw(t)}var it=ow,lw=it,Lw=K0;function aw(t){return Lw(t)&&lw(t)}var cw=aw,G8={exports:{}};function Cw(){return!1}var uw=Cw;(function(t,e){var n=e9,i=uw,s=e&&!e.nodeType&&e,r=s&&!0&&t&&!t.nodeType&&t,o=r&&r.exports===s,l=o?n.Buffer:void 0,L=l?l.isBuffer:void 0,a=L||i;t.exports=a})(G8,G8.exports);var hw=W8,dw=Io,fw=K0,gw="[object Object]",pw=Function.prototype,mw=Object.prototype,Po=pw.toString,ww=mw.hasOwnProperty,xw=Po.call(Object);function vw(t){if(!fw(t)||hw(t)!=gw)return!1;var e=dw(t);if(e===null)return!0;var n=ww.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&Po.call(n)==xw}var _w=vw,Mw=W8,yw=Bo,Rw=K0,Zw="[object Arguments]",Aw="[object Array]",kw="[object Boolean]",Sw="[object Date]",bw="[object Error]",Tw="[object Function]",Iw="[object Map]",Ew="[object Number]",Fw="[object Object]",Ow="[object RegExp]",Dw="[object Set]",Nw="[object String]",Bw="[object WeakMap]",Pw="[object ArrayBuffer]",zw="[object DataView]",Uw="[object Float32Array]",$w="[object Float64Array]",Ww="[object Int8Array]",Hw="[object Int16Array]",Vw="[object Int32Array]",Gw="[object Uint8Array]",jw="[object Uint8ClampedArray]",qw="[object Uint16Array]",Kw="[object Uint32Array]",X2={};X2[Uw]=X2[$w]=X2[Ww]=X2[Hw]=X2[Vw]=X2[Gw]=X2[jw]=X2[qw]=X2[Kw]=!0,X2[Zw]=X2[Aw]=X2[Pw]=X2[kw]=X2[zw]=X2[Sw]=X2[bw]=X2[Tw]=X2[Iw]=X2[Ew]=X2[Fw]=X2[Ow]=X2[Dw]=X2[Nw]=X2[Bw]=!1;function Yw(t){return Rw(t)&&yw(t.length)&&!!X2[Mw(t)]}var Qw=Yw;function Xw(t){return function(e){return t(e)}}var Jw=Xw,st={exports:{}};(function(t,e){var n=Rr,i=e&&!e.nodeType&&e,s=i&&!0&&t&&!t.nodeType&&t,r=s&&s.exports===i,o=r&&n.process,l=function(){try{var L=s&&s.require&&s.require("util").types;return L||o&&o.binding&&o.binding("util")}catch{}}();t.exports=l})(st,st.exports);var ex=Qw,tx=Jw,zo=st.exports,Uo=zo&&zo.isTypedArray,nx=Uo?tx(Uo):ex,$o=nx;function ix(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var Wo=ix,sx=tt,rx=z8,ox=Object.prototype,lx=ox.hasOwnProperty;function Lx(t,e,n){var i=t[e];(!(lx.call(t,e)&&rx(i,n))||n===void 0&&!(e in t))&&sx(t,e,n)}var ax=Lx,cx=ax,Cx=tt;function ux(t,e,n,i){var s=!n;n||(n={});for(var r=-1,o=e.length;++r<o;){var l=e[r],L=i?i(n[l],t[l],l,n,t):void 0;L===void 0&&(L=t[l]),s?Cx(n,l,L):cx(n,l,L)}return n}var hx=ux;function dx(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}var fx=dx,gx=9007199254740991,px=/^(?:0|[1-9]\d*)$/;function mx(t,e){var n=typeof t;return e=e==null?gx:e,!!e&&(n=="number"||n!="symbol"&&px.test(t))&&t>-1&&t%1==0&&t<e}var Ho=mx,wx=fx,xx=Do,vx=No,_x=G8.exports,Mx=Ho,yx=$o,Rx=Object.prototype,Zx=Rx.hasOwnProperty;function Ax(t,e){var n=vx(t),i=!n&&xx(t),s=!n&&!i&&_x(t),r=!n&&!i&&!s&&yx(t),o=n||i||s||r,l=o?wx(t.length,String):[],L=l.length;for(var a in t)(e||Zx.call(t,a))&&!(o&&(a=="length"||s&&(a=="offset"||a=="parent")||r&&(a=="buffer"||a=="byteLength"||a=="byteOffset")||Mx(a,L)))&&l.push(a);return l}var kx=Ax;function Sx(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}var bx=Sx,Tx=s9,Ix=Eo,Ex=bx,Fx=Object.prototype,Ox=Fx.hasOwnProperty;function Dx(t){if(!Tx(t))return Ex(t);var e=Ix(t),n=[];for(var i in t)i=="constructor"&&(e||!Ox.call(t,i))||n.push(i);return n}var Nx=Dx,Bx=kx,Px=Nx,zx=it;function Ux(t){return zx(t)?Bx(t,!0):Px(t)}var Vo=Ux,$x=hx,Wx=Vo;function Hx(t){return $x(t,Wx(t))}var Vx=Hx,Go=So,Gx=nt.exports,jx=km,qx=bm,Kx=Hm,jo=Do,qo=No,Yx=cw,Qx=G8.exports,Xx=Xe,Jx=s9,ev=_w,tv=$o,Ko=Wo,nv=Vx;function iv(t,e,n,i,s,r,o){var l=Ko(t,n),L=Ko(e,n),a=o.get(L);if(a){Go(t,n,a);return}var c=r?r(l,L,n+"",t,e,o):void 0,C=c===void 0;if(C){var u=qo(L),h=!u&&Qx(L),f=!u&&!h&&tv(L);c=L,u||h||f?qo(l)?c=l:Yx(l)?c=qx(l):h?(C=!1,c=Gx(L,!0)):f?(C=!1,c=jx(L,!0)):c=[]:ev(L)||jo(L)?(c=l,jo(l)?c=nv(l):(!Jx(l)||Xx(l))&&(c=Kx(L))):C=!1}C&&(o.set(L,c),s(c,L,i,r,o),o.delete(L)),Go(t,n,c)}var sv=iv,rv=am,ov=So,lv=xm,Lv=sv,av=s9,cv=Vo,Cv=Wo;function Yo(t,e,n,i,s){t!==e&&lv(e,function(r,o){if(s||(s=new rv),av(r))Lv(t,e,o,n,Yo,i,s);else{var l=i?i(Cv(t,o),r,o+"",t,e,s):void 0;l===void 0&&(l=r),ov(t,o,l)}},cv)}var uv=Yo;function hv(t){return t}var Qo=hv;function dv(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var fv=dv,gv=fv,Xo=Math.max;function pv(t,e,n){return e=Xo(e===void 0?t.length-1:e,0),function(){for(var i=arguments,s=-1,r=Xo(i.length-e,0),o=Array(r);++s<r;)o[s]=i[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=i[s];return l[e]=n(o),gv(t,this,l)}}var mv=pv;function wv(t){return function(){return t}}var xv=wv,vv=xv,Jo=Ao,_v=Qo,Mv=Jo?function(t,e){return Jo(t,"toString",{configurable:!0,enumerable:!1,value:vv(e),writable:!0})}:_v,yv=Mv,Rv=800,Zv=16,Av=Date.now;function kv(t){var e=0,n=0;return function(){var i=Av(),s=Zv-(i-n);if(n=i,s>0){if(++e>=Rv)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Sv=kv,bv=yv,Tv=Sv,Iv=Tv(bv),Ev=Iv,Fv=Qo,Ov=mv,Dv=Ev;function Nv(t,e){return Dv(Ov(t,e,Fv),t+"")}var Bv=Nv,Pv=z8,zv=it,Uv=Ho,$v=s9;function Wv(t,e,n){if(!$v(n))return!1;var i=typeof e;return(i=="number"?zv(n)&&Uv(e,n.length):i=="string"&&e in n)?Pv(n[e],t):!1}var Hv=Wv,Vv=Bv,Gv=Hv;function jv(t){return Vv(function(e,n){var i=-1,s=n.length,r=s>1?n[s-1]:void 0,o=s>2?n[2]:void 0;for(r=t.length>3&&typeof r=="function"?(s--,r):void 0,o&&Gv(n[0],n[1],o)&&(r=s<3?void 0:r,s=1),e=Object(e);++i<s;){var l=n[i];l&&t(e,l,i,r)}return e})}var qv=jv,Kv=uv,Yv=qv,Qv=Yv(function(t,e,n,i){Kv(t,e,n,i)}),Xv=Qv;class Jv{constructor(e,n){J(this,"name");J(this,"stereotype");J(this,"width");J(this,"groupId");J(this,"explicit");J(this,"isStarter");J(this,"label");J(this,"type");J(this,"color");J(this,"comment");J(this,"assignee");this.name=e;const{stereotype:i,width:s,groupId:r,label:o,explicit:l,isStarter:L,type:a,color:c,comment:C,assignee:u}=n;this.stereotype=i,this.width=s,this.groupId=r,this.explicit=l,this.isStarter=L,this.label=o,this.type=a,this.color=c,this.comment=C,this.assignee=u}Type(){var e;switch((e=this.type)==null?void 0:e.toLowerCase()){case"@actor":return 1;case"@boundary":return 2;case"@collection":return 3;case"@control":return 4;case"@database":return 5;case"@entity":return 6;case"@queue":return 7;case"@ec2":return 8;case"@ecs":return 9;case"@iam":return 10;case"@lambda":return 11;case"@rds":return 12;case"@s3":return 13}return 14}}class e_{constructor(){J(this,"participants",new Map);J(this,"participantPositions",new Map)}Add(e,n={}){const i=new Jv(e,n);this.participants.set(e,Xv({},this.Get(e),i,(o,l)=>o||l));const{start:s,end:r}=n;s!==void 0&&r!==void 0&&this.addPosition(e,s,r)}ImplicitArray(){return this.Array().filter(e=>{var n;return!((n=this.Get(e.name))!=null&&n.explicit)&&!e.isStarter})}Array(){return Array.from(this.participants.entries()).map(e=>e[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(e){return this.participants.get(e)}Size(){return this.participants.size}Starter(){const e=this.First();return e.isStarter?e:void 0}Positions(){return this.participantPositions}GetPositions(e){return this.participantPositions.get(e)}addPosition(e,n,i){let s=this.participantPositions.get(e);s||(s=new Set,this.participantPositions.set(e,s)),s.add(`[${n},${i}]`)}}const t_=d.ProgContext;let G1,r9=!1,rt;const j1=new S;let n_=function(t){var h,f,m,_,p,g;if(r9)return;const e=(h=t==null?void 0:t.participantType())==null?void 0:h.getFormattedText().replace("@",""),n=((f=t==null?void 0:t.name())==null?void 0:f.getFormattedText())||"Missing `Participant`",i=(_=(m=t.stereotype())==null?void 0:m.name())==null?void 0:_.getFormattedText(),s=t.width&&t.width()&&Number.parseInt(t.width().getText())||void 0,r=t.label&&t.label(),o=(p=r==null?void 0:r.name())==null?void 0:p.getFormattedText(),l=!0,L=(g=t.COLOR())==null?void 0:g.getText(),a=t.getComment(),c=t.name();let C,u;if(r){const x=r.name();x&&(C=x.start.start,u=x.stop.stop+1)}else c&&(C=c.start.start,u=c.stop.stop+1);G1.Add(n,{isStarter:!1,start:C,end:u,type:e,stereotype:i,width:s,groupId:rt,label:o,explicit:l,color:L,comment:a})};j1.enterParticipant=n_;let el=function(t){if(r9)return;let e=t.getFormattedText();const n=G1.Get(e);if(n!=null&&n.label)G1.Add(e,{isStarter:!1});else if(n!=null&&n.assignee){const i=t.start.start+n.assignee.length+2;G1.Add(e,{isStarter:!1,start:i,end:t.stop.stop})}else G1.Add(e,{isStarter:!1,start:t.start.start,end:t.stop.stop+1})};j1.enterFrom=el,j1.enterTo=el,j1.enterStarter=function(t){let e=t.getFormattedText();G1.Add(e,{isStarter:!0,start:t.start.start,end:t.stop.stop+1})},j1.enterCreation=function(t){var s;if(r9)return;const e=t.Owner(),n=(s=t==null?void 0:t.creationBody())==null?void 0:s.construct(),i=G1.Get(e);if(n&&!(i!=null&&i.label)){const r=t.Assignee();G1.Add(e,{isStarter:!1,start:n.start.start,end:n.stop.stop+1,assignee:r})}else G1.Add(e,{isStarter:!1})},j1.enterParameters=function(){r9=!0},j1.exitParameters=function(){r9=!1},j1.enterCondition=function(){r9=!0},j1.exitCondition=function(){r9=!1},j1.enterGroup=function(t){var e;rt=(e=t.name())==null?void 0:e.getFormattedText()},j1.exitGroup=function(){rt=void 0},j1.enterRet=function(t){t.asyncMessage()||(G1.Add(t.From()),G1.Add(t.ReturnTo()))};const i_=A.tree.ParseTreeWalker.DEFAULT;j1.getParticipants=function(t,e){return G1=new e_,e&&t instanceof t_&&G1.Add(t.Starter(),{isStarter:!0}),i_.walk(this,t),G1};const s_=A.tree.ParseTreeWalker.DEFAULT;var _3=new S,Z1=0,h3=0;_3.enterTcf=function(){Z1++},_3.enterOpt=function(){Z1++},_3.enterPar=function(){Z1++},_3.enterAlt=function(){Z1++},_3.enterLoop=function(){Z1++},_3.exitTcf=function(){h3=Math.max(h3,Z1),Z1--},_3.exitOpt=function(){h3=Math.max(h3,Z1),Z1--},_3.exitPar=function(){h3=Math.max(h3,Z1),Z1--},_3.exitAlt=function(){h3=Math.max(h3,Z1),Z1--},_3.exitLoop=function(){h3=Math.max(h3,Z1),Z1--},_3.depth=function(t){return function(e){return Z1=0,h3=0,e.children.map(function(n){s_.walk(t,n)}),h3}};const r_=d.TitleContext;r_.prototype.content=function(){return this.children.length<2?"":this.children[1].getText().trim()};const tl=d,ot=tl.CreationContext;ot.prototype.Body=ot.prototype.creationBody,ot.prototype.isCurrent=function(t){return nl.bind(this)(t)};const lt=tl.MessageContext;lt.prototype.Body=lt.prototype.messageBody,lt.prototype.isCurrent=function(t){return nl.bind(this)(t)};function nl(t){try{if(t==null)return!1;const e=this.start.start,n=this.Body().stop.stop+1;return t>=e&&t<=n}catch{return!1}}const Lt=d,j8=Lt.CreationContext,at=Lt.MessageContext,il=Lt.AsyncMessageContext;j8.prototype.Assignee=function(){var t,e,n;return(n=(e=(t=this.creationBody())==null?void 0:t.assignment())==null?void 0:e.assignee())==null?void 0:n.getFormattedText()},j8.prototype.Constructor=function(){var t,e;return(e=(t=this.creationBody())==null?void 0:t.construct())==null?void 0:e.getFormattedText()},j8.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const t=this.Assignee(),e=this.Constructor();return t?`${t}:${e}`:e},at.prototype.To=function(){var t,e;return(e=(t=this.messageBody())==null?void 0:t.to())==null?void 0:e.getFormattedText()},at.prototype.Owner=function(){return this.To()||sl(this.parentCtx)};function sl(t){for(;t;){if(t instanceof j8||t instanceof at)return t.Owner();t=t.parentCtx}}il.prototype.To=function(){var t;return(t=this.to())==null?void 0:t.getFormattedText()},il.prototype.Owner=function(){return this.To()||sl(this.parentCtx)};const o_=d.ProgContext;o_.prototype.Starter=function(){var r,o,l,L,a,c,C,u,h,f,m,_;const t=(l=(o=(r=this.head())==null?void 0:r.starterExp())==null?void 0:o.starter())==null?void 0:l.getFormattedText();let e,n,i;const s=(L=this.block())==null?void 0:L.stat();if(s&&s[0]){const p=(C=(c=(a=s[0].message())==null?void 0:a.messageBody())==null?void 0:c.from())==null?void 0:C.getFormattedText(),g=(h=(u=s[0].asyncMessage())==null?void 0:u.from())==null?void 0:h.getFormattedText();e=p||g}else{const p=(f=this.head())==null?void 0:f.children;if(p&&p[0]){const g=p[0];if(g instanceof d.ParticipantContext&&(n=(m=g.name())==null?void 0:m.getFormattedText()),g instanceof d.GroupContext){const x=g.participant();x&&x[0]&&(i=(_=x[0].name())==null?void 0:_.getFormattedText())}}}return t||e||n||i||"_STARTER_"};const q8=d,l_=q8.RetContext,rl=q8.ProgContext,ol=q8.MessageContext,L_=q8.CreationContext;l_.prototype.ReturnTo=function(){var i,s;const n=this.parentCtx.parentCtx.parentCtx;if(n instanceof rl)return n.Starter();{let r=n;for(;r&&!(r instanceof ol)&&!(r instanceof L_);){if(r instanceof rl)return r.Starter();r=r.parentCtx}return r instanceof ol&&((s=(i=r.messageBody())==null?void 0:i.from())==null?void 0:s.getFormattedText())||r.ClosestAncestorStat().Origin()}};const a_=A.ParserRuleContext,ll=d.StatContext,ct=d.ProgContext,c_=d.MessageContext,C_=d.CreationContext;a_.prototype.Origin=function(){let t=this.parentCtx;for(;t&&!(t instanceof ll||t instanceof ct);)t=this.parentCtx;return t.Origin()},ll.prototype.Origin=function(){let t=this.parentCtx;for(;t;){if(t instanceof ct)return t.Starter();if(t instanceof c_||t instanceof C_){const e=t.Owner();if(e)return e}t=t.parentCtx}},ct.prototype.Origin=function(){return this.Starter()};const u_=d.DividerContext;u_.prototype.Note=function(){var e;const t=(e=this.dividerNote())==null?void 0:e.getFormattedText().trim();if(!t.startsWith("=="))throw new Error("Divider note must start with ==");return t==null?void 0:t.replace(/^=+|=+$/g,"")};const Ct=d,h_=Ct.MessageContext,d_=Ct.AsyncMessageContext,f_=Ct.CreationContext;h_.prototype.SignatureText=function(){var t,e,n;return(n=(e=(t=this.messageBody())==null?void 0:t.func())==null?void 0:e.signature())==null?void 0:n.map(i=>i==null?void 0:i.getFormattedText()).join(".")},d_.prototype.SignatureText=function(){var t;return(t=this.content())==null?void 0:t.getFormattedText()},f_.prototype.SignatureText=function(){var n;const t=this.creationBody().parameters();return"\xAB"+(((n=t==null?void 0:t.parameter())==null?void 0:n.length)>0?t.getFormattedText():"create")+"\xBB"};const g_=d.MessageContext;class p_{constructor(e,n){J(this,"assignee");J(this,"type");if(n&&!e)throw new Error("assignee must be defined if type is defined");this.assignee=e||"",this.type=n||""}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}g_.prototype.Assignment=function(){var i,s;const t=this.messageBody().assignment(),e=(i=t==null?void 0:t.assignee())==null?void 0:i.getFormattedText(),n=(s=t==null?void 0:t.type())==null?void 0:s.getFormattedText();if(e)return new p_(e,n)};const Y0=d,m_=Y0.CreationContext,w_=Y0.StatContext,Ll=Y0.MessageContext,x_=Y0.AsyncMessageContext,v_=Y0.RetContext;m_.prototype.From=function(){if(this.parentCtx instanceof w_)return this.ClosestAncestorStat().Origin()},Ll.prototype.ProvidedFrom=function(){var t,e;return(e=(t=this.messageBody())==null?void 0:t.from())==null?void 0:e.getFormattedText()},Ll.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},x_.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},v_.prototype.From=function(){return this.ClosestAncestorStat().Origin()},A.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const ut=d,ht=ut.CreationContext;ht.prototype.Body=ht.prototype.creationBody,ht.prototype.isInitedFromOccurrence=function(t){return al.bind(this)(t)};const dt=ut.MessageContext;dt.prototype.Body=dt.prototype.messageBody,dt.prototype.isInitedFromOccurrence=function(t){return al.bind(this)(t)};function al(t){let e=this;for(;e!=null;){if(e instanceof ut.StatContext){let n;if(e.message&&e.message()?n=e.message().Owner():e.creation&&e.creation()?n=e.creation().Owner():e.asyncMessage&&e.asyncMessage()&&(n=e.asyncMessage().to().getFormattedText()),n===t)return!0}e=e.parentCtx}return!1}const cl=d,Cl=cl.StatContext;A.ParserRuleContext.prototype.ClosestAncestorStat=function(){let t=this;for(;!(t instanceof Cl);)t=t.parentCtx;if(t instanceof Cl)return t},A.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var e;const t=(e=this.ClosestAncestorStat())==null?void 0:e.parentCtx;if(t instanceof cl.BlockContext)return t;console.warn("Cannot find closest ancestor block for context:",this)};function __(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(n){return e.apply(this,arguments)};case 2:return function(n,i){return e.apply(this,arguments)};case 3:return function(n,i,s){return e.apply(this,arguments)};case 4:return function(n,i,s,r){return e.apply(this,arguments)};case 5:return function(n,i,s,r,o){return e.apply(this,arguments)};case 6:return function(n,i,s,r,o,l){return e.apply(this,arguments)};case 7:return function(n,i,s,r,o,l,L){return e.apply(this,arguments)};case 8:return function(n,i,s,r,o,l,L,a){return e.apply(this,arguments)};case 9:return function(n,i,s,r,o,l,L,a,c){return e.apply(this,arguments)};case 10:return function(n,i,s,r,o,l,L,a,c,C){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var ul=__;function M_(t,e){return function(){return e.call(this,t.apply(this,arguments))}}var y_=M_;function R_(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}var ft=R_,Z_=ft;function A_(t){return function e(n){return arguments.length===0||Z_(n)?e:t.apply(this,arguments)}}var K8=A_,gt=K8,Q0=ft;function k_(t){return function e(n,i){switch(arguments.length){case 0:return e;case 1:return Q0(n)?e:gt(function(s){return t(n,s)});default:return Q0(n)&&Q0(i)?e:Q0(n)?gt(function(s){return t(s,i)}):Q0(i)?gt(function(s){return t(n,s)}):t(n,i)}}}var hl=k_,Y8=K8,Q9=hl,x1=ft;function S_(t){return function e(n,i,s){switch(arguments.length){case 0:return e;case 1:return x1(n)?e:Q9(function(r,o){return t(n,r,o)});case 2:return x1(n)&&x1(i)?e:x1(n)?Q9(function(r,o){return t(r,i,o)}):x1(i)?Q9(function(r,o){return t(n,r,o)}):Y8(function(r){return t(n,i,r)});default:return x1(n)&&x1(i)&&x1(s)?e:x1(n)&&x1(i)?Q9(function(r,o){return t(r,o,s)}):x1(n)&&x1(s)?Q9(function(r,o){return t(r,i,o)}):x1(i)&&x1(s)?Q9(function(r,o){return t(n,r,o)}):x1(n)?Y8(function(r){return t(r,i,s)}):x1(i)?Y8(function(r){return t(n,r,s)}):x1(s)?Y8(function(r){return t(n,i,r)}):t(n,i,s)}}}var pt=S_,dl=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function b_(t){return Object.prototype.toString.call(t)==="[object String]"}var T_=b_,I_=K8,E_=dl,F_=T_,O_=I_(function(e){return E_(e)?!0:!e||typeof e!="object"||F_(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),D_=O_,N_=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,n){return this.f(e,n)},t}();function B_(t){return new N_(t)}var P_=B_,z_=ul,U_=hl,$_=U_(function(e,n){return z_(e.length,function(){return e.apply(n,arguments)})}),W_=$_,H_=D_,V_=P_,G_=W_;function j_(t,e,n){for(var i=0,s=n.length;i<s;){if(e=t["@@transducer/step"](e,n[i]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}i+=1}return t["@@transducer/result"](e)}function fl(t,e,n){for(var i=n.next();!i.done;){if(e=t["@@transducer/step"](e,i.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}i=n.next()}return t["@@transducer/result"](e)}function gl(t,e,n,i){return t["@@transducer/result"](n[i](G_(t["@@transducer/step"],t),e))}var pl=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function q_(t,e,n){if(typeof t=="function"&&(t=V_(t)),H_(n))return j_(t,e,n);if(typeof n["fantasy-land/reduce"]=="function")return gl(t,e,n,"fantasy-land/reduce");if(n[pl]!=null)return fl(t,e,n[pl]());if(typeof n.next=="function")return fl(t,e,n);if(typeof n.reduce=="function")return gl(t,e,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}var K_=q_,Y_=pt,Q_=K_,X_=Y_(Q_),J_=X_,eM=dl;function tM(t,e){return function(){var n=arguments.length;if(n===0)return e();var i=arguments[n-1];return eM(i)||typeof i[t]!="function"?e.apply(this,arguments):i[t].apply(i,Array.prototype.slice.call(arguments,0,n-1))}}var ml=tM,nM=ml,iM=pt,sM=iM(nM("slice",function(e,n,i){return Array.prototype.slice.call(i,e,n)})),rM=sM,oM=ml,lM=K8,LM=rM,aM=lM(oM("tail",LM(1,1/0))),cM=aM,CM=ul,uM=y_,hM=J_,dM=cM;function fM(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return CM(arguments[0].length,hM(uM,arguments[0],dM(arguments)))}var gM=fM;const pM=gM;var mM=pt,wM=mM(function(e,n,i){return i.replace(e,n)}),xM=wM;const X9=xM,vM=X9(/[\n\r]/g," "),_M=X9(/\s+/g," "),MM=X9(/\s*([,;.])\s*/g,"$1"),yM=X9(/\s*(\()\s*|\s*(\))/g,"$1$2"),RM=X9(/\s+$/g,""),ZM=X9(/^"(.*)"$/,"$1"),AM=pM(vM,_M,MM,yM,RM,ZM),mt=(t,e)=>{let n=e;for(t[n]===`
|
|
15
|
+
`))}}}return e.length===0?null:e}getEdgeLabel(e){return e===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[e-1]||this.symbolicNames[e-1]:String.fromCharCode(e-1)}getStateString(e){const n=(e.isAcceptState?":":"")+"s"+e.stateNumber+(e.requiresFullContext?"^":"");return e.isAcceptState?e.predicates!==null?n+"=>"+v4(e.predicates):n+"=>"+e.prediction.toString():n}}class Hr extends fe{constructor(e){super(e,null)}getEdgeLabel(e){return"'"+String.fromCharCode(e)+"'"}}class Xd{constructor(e,n){if(n===void 0&&(n=0),this.atnStartState=e,this.decision=n,this._states=new i3,this.s0=null,this.precedenceDfa=!1,e instanceof t9&&e.isPrecedenceDecision){this.precedenceDfa=!0;const i=new i4(null,new F1);i.edges=[],i.isAcceptState=!1,i.requiresFullContext=!1,this.s0=i}}getPrecedenceStartState(e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return e<0||e>=this.s0.edges.length?null:this.s0.edges[e]||null}setPrecedenceStartState(e,n){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";e<0||(this.s0.edges[e]=n)}setPrecedenceDfa(e){if(this.precedenceDfa!==e){if(this._states=new i3,e){const n=new i4(null,new F1);n.edges=[],n.isAcceptState=!1,n.requiresFullContext=!1,this.s0=n}else this.s0=null;this.precedenceDfa=e}}sortedStates(){return this._states.values().sort(function(n,i){return n.stateNumber-i.stateNumber})}toString(e,n){return e=e||null,n=n||null,this.s0===null?"":new fe(this,e,n).toString()}toLexerString(){return this.s0===null?"":new Hr(this).toString()}get states(){return this._states}}const Jd={DFA:Xd,DFASerializer:fe,LexerDFASerializer:Hr,PredPrediction:Wr};class Vr{visitTerminal(e){}visitErrorNode(e){}enterEveryRule(e){}exitEveryRule(e){}}class ef{visit(e){return Array.isArray(e)?e.map(function(n){return n.accept(this)},this):e.accept(this)}visitChildren(e){return e.children?this.visit(e.children):null}visitTerminal(e){}visitErrorNode(e){}}class ge{walk(e,n){if(n instanceof m8||n.isErrorNode!==void 0&&n.isErrorNode())e.visitErrorNode(n);else if(n instanceof t4)e.visitTerminal(n);else{this.enterRule(e,n);for(let s=0;s<n.getChildCount();s++){const r=n.getChild(s);this.walk(e,r)}this.exitRule(e,n)}}enterRule(e,n){const i=n.getRuleContext();e.enterEveryRule(i),i.enterRule(e)}exitRule(e,n){const i=n.getRuleContext();i.exitRule(e),e.exitEveryRule(i)}}ge.DEFAULT=new ge;const tf={Trees:D3,RuleNode:p8,ErrorNode:m8,TerminalNode:t4,ParseTreeListener:Vr,ParseTreeVisitor:ef,ParseTreeWalker:ge};class H0 extends _4{constructor(e){super({message:"",recognizer:e,input:e.getInputStream(),ctx:e._ctx}),this.offendingToken=e.getCurrentToken()}}class Gr extends _4{constructor(e,n,i){super({message:nf(n,i||null),recognizer:e,input:e.getInputStream(),ctx:e._ctx});const r=e._interp.atn.states[e.state].transitions[0];r instanceof Pr?(this.ruleIndex=r.ruleIndex,this.predicateIndex=r.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=n,this.offendingToken=e.getCurrentToken()}}function nf(t,e){return e!==null?e:"failed predicate: {"+t+"}?"}class sf extends y8{constructor(e){super(),e=e||!0,this.exactOnly=e}reportAmbiguity(e,n,i,s,r,o,l){if(this.exactOnly&&!r)return;const L="reportAmbiguity d="+this.getDecisionDescription(e,n)+": ambigAlts="+this.getConflictingAlts(o,l)+", input='"+e.getTokenStream().getText(new z2(i,s))+"'";e.notifyErrorListeners(L)}reportAttemptingFullContext(e,n,i,s,r,o){const l="reportAttemptingFullContext d="+this.getDecisionDescription(e,n)+", input='"+e.getTokenStream().getText(new z2(i,s))+"'";e.notifyErrorListeners(l)}reportContextSensitivity(e,n,i,s,r,o){const l="reportContextSensitivity d="+this.getDecisionDescription(e,n)+", input='"+e.getTokenStream().getText(new z2(i,s))+"'";e.notifyErrorListeners(l)}getDecisionDescription(e,n){const i=n.decision,s=n.atnStartState.ruleIndex,r=e.ruleNames;if(s<0||s>=r.length)return""+i;const o=r[s]||null;return o===null||o.length===0?""+i:`${i} (${o})`}getConflictingAlts(e,n){if(e!==null)return e;const i=new B3;for(let s=0;s<n.items.length;s++)i.add(n.items[s].alt);return`{${i.values().join(", ")}}`}}class pe extends Error{constructor(){super(),Error.captureStackTrace(this,pe)}}class rf{reset(e){}recoverInline(e){}recover(e,n){}sync(e){}inErrorRecoveryMode(e){}reportError(e){}}class me extends rf{constructor(){super(),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this.nextTokensContext=null,this.nextTokenState=0}reset(e){this.endErrorCondition(e)}beginErrorCondition(e){this.errorRecoveryMode=!0}inErrorRecoveryMode(e){return this.errorRecoveryMode}endErrorCondition(e){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}reportMatch(e){this.endErrorCondition(e)}reportError(e,n){this.inErrorRecoveryMode(e)||(this.beginErrorCondition(e),n instanceof de?this.reportNoViableAlternative(e,n):n instanceof H0?this.reportInputMismatch(e,n):n instanceof Gr?this.reportFailedPredicate(e,n):(console.log("unknown recognition error type: "+n.constructor.name),console.log(n.stack),e.notifyErrorListeners(n.getOffendingToken(),n.getMessage(),n)))}recover(e,n){this.lastErrorIndex===e.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(e.state)>=0&&e.consume(),this.lastErrorIndex=e._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(e.state);const i=this.getErrorRecoverySet(e);this.consumeUntil(e,i)}sync(e){if(this.inErrorRecoveryMode(e))return;const n=e._interp.atn.states[e.state],i=e.getTokenStream().LA(1),s=e.atn.nextTokens(n);if(s.contains(i)){this.nextTokensContext=null,this.nextTokenState=a2.INVALID_STATE_NUMBER;return}else if(s.contains(H.EPSILON)){this.nextTokensContext===null&&(this.nextTokensContext=e._ctx,this.nextTokensState=e._stateNumber);return}switch(n.stateType){case a2.BLOCK_START:case a2.STAR_BLOCK_START:case a2.PLUS_BLOCK_START:case a2.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(e)!==null)return;throw new H0(e);case a2.PLUS_LOOP_BACK:case a2.STAR_LOOP_BACK:{this.reportUnwantedToken(e);const r=new u3;r.addSet(e.getExpectedTokens());const o=r.addSet(this.getErrorRecoverySet(e));this.consumeUntil(e,o)}break}}reportNoViableAlternative(e,n){const i=e.getTokenStream();let s;i!==null?n.startToken.type===H.EOF?s="<EOF>":s=i.getText(new z2(n.startToken.tokenIndex,n.offendingToken.tokenIndex)):s="<unknown input>";const r="no viable alternative at input "+this.escapeWSAndQuote(s);e.notifyErrorListeners(r,n.offendingToken,n)}reportInputMismatch(e,n){const i="mismatched input "+this.getTokenErrorDisplay(n.offendingToken)+" expecting "+n.getExpectedTokens().toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(i,n.offendingToken,n)}reportFailedPredicate(e,n){const s="rule "+e.ruleNames[e._ctx.ruleIndex]+" "+n.message;e.notifyErrorListeners(s,n.offendingToken,n)}reportUnwantedToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const n=e.getCurrentToken(),i=this.getTokenErrorDisplay(n),s=this.getExpectedTokens(e),r="extraneous input "+i+" expecting "+s.toString(e.literalNames,e.symbolicNames);e.notifyErrorListeners(r,n,null)}reportMissingToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);const n=e.getCurrentToken(),s="missing "+this.getExpectedTokens(e).toString(e.literalNames,e.symbolicNames)+" at "+this.getTokenErrorDisplay(n);e.notifyErrorListeners(s,n,null)}recoverInline(e){const n=this.singleTokenDeletion(e);if(n!==null)return e.consume(),n;if(this.singleTokenInsertion(e))return this.getMissingSymbol(e);throw new H0(e)}singleTokenInsertion(e){const n=e.getTokenStream().LA(1),i=e._interp.atn,r=i.states[e.state].transitions[0].target;return i.nextTokens(r,e._ctx).contains(n)?(this.reportMissingToken(e),!0):!1}singleTokenDeletion(e){const n=e.getTokenStream().LA(2);if(this.getExpectedTokens(e).contains(n)){this.reportUnwantedToken(e),e.consume();const s=e.getCurrentToken();return this.reportMatch(e),s}else return null}getMissingSymbol(e){const n=e.getCurrentToken(),s=this.getExpectedTokens(e).first();let r;s===H.EOF?r="<missing EOF>":r="<missing "+e.literalNames[s]+">";let o=n;const l=e.getTokenStream().LT(-1);return o.type===H.EOF&&l!==null&&(o=l),e.getTokenFactory().create(o.source,s,r,H.DEFAULT_CHANNEL,-1,-1,o.line,o.column)}getExpectedTokens(e){return e.getExpectedTokens()}getTokenErrorDisplay(e){if(e===null)return"<no token>";let n=e.text;return n===null&&(e.type===H.EOF?n="<EOF>":n="<"+e.type+">"),this.escapeWSAndQuote(n)}escapeWSAndQuote(e){return e=e.replace(/\n/g,"\\n"),e=e.replace(/\r/g,"\\r"),e=e.replace(/\t/g,"\\t"),"'"+e+"'"}getErrorRecoverySet(e){const n=e._interp.atn;let i=e._ctx;const s=new u3;for(;i!==null&&i.invokingState>=0;){const o=n.states[i.invokingState].transitions[0],l=n.nextTokens(o.followState);s.addSet(l),i=i.parentCtx}return s.removeOne(H.EPSILON),s}consumeUntil(e,n){let i=e.getTokenStream().LA(1);for(;i!==H.EOF&&!n.contains(i);)e.consume(),i=e.getTokenStream().LA(1)}}class of extends me{constructor(){super()}recover(e,n){let i=e._ctx;for(;i!==null;)i.exception=n,i=i.parentCtx;throw new pe(n)}recoverInline(e){this.recover(e,new H0(e))}sync(e){}}const lf={RecognitionException:_4,NoViableAltException:de,LexerNoViableAltException:he,InputMismatchException:H0,FailedPredicateException:Gr,DiagnosticErrorListener:sf,BailErrorStrategy:of,DefaultErrorStrategy:me,ErrorListener:y8};class i9{constructor(e,n){if(this.name="<empty>",this.strdata=e,this.decodeToUnicodeCodePoints=n||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(let i=0;i<this.strdata.length;){const s=this.strdata.codePointAt(i);this.data.push(s),i+=s<=65535?1:2}else{this.data=new Array(this.strdata.length);for(let i=0;i<this.strdata.length;i++){const s=this.strdata.charCodeAt(i);this.data[i]=s}}this._size=this.data.length}reset(){this._index=0}consume(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}LA(e){if(e===0)return 0;e<0&&(e+=1);const n=this._index+e-1;return n<0||n>=this._size?H.EOF:this.data[n]}LT(e){return this.LA(e)}mark(){return-1}release(e){}seek(e){if(e<=this._index){this._index=e;return}this._index=Math.min(e,this._size)}getText(e,n){if(n>=this._size&&(n=this._size-1),e>=this._size)return"";if(this.decodeToUnicodeCodePoints){let i="";for(let s=e;s<=n;s++)i+=String.fromCodePoint(this.data[s]);return i}else return this.strdata.slice(e,n+1)}toString(){return this.strdata}get index(){return this._index}get size(){return this._size}}const we={},Lf={fromString:function(t){return new i9(t,!0)},fromBlob:function(t,e,n,i){const s=new window.FileReader;s.onload=function(r){const o=new i9(r.target.result,!0);n(o)},s.onerror=i,s.readAsText(t,e)},fromBuffer:function(t,e){return new i9(t.toString(e),!0)},fromPath:function(t,e,n){we.readFile(t,e,function(i,s){let r=null;s!==null&&(r=new i9(s,!0)),n(i,r)})},fromPathSync:function(t,e){const n=we.readFileSync(t,e);return new i9(n,!0)}};class af extends i9{constructor(e,n){const i=we.readFileSync(e,"utf8");super(i,n),this.fileName=e}}class cf{}class Cf extends cf{constructor(e){super(),this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(e){}reset(){this.seek(0)}seek(e){this.lazyInit(),this.index=this.adjustSeekIndex(e)}get(e){return this.lazyInit(),this.tokens[e]}consume(){let e=!1;if(this.index>=0?this.fetchedEOF?e=this.index<this.tokens.length-1:e=this.index<this.tokens.length:e=!1,!e&&this.LA(1)===H.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}sync(e){const n=e-this.tokens.length+1;return n>0?this.fetch(n)>=n:!0}fetch(e){if(this.fetchedEOF)return 0;for(let n=0;n<e;n++){const i=this.tokenSource.nextToken();if(i.tokenIndex=this.tokens.length,this.tokens.push(i),i.type===H.EOF)return this.fetchedEOF=!0,n+1}return e}getTokens(e,n,i){if(i===void 0&&(i=null),e<0||n<0)return null;this.lazyInit();const s=[];n>=this.tokens.length&&(n=this.tokens.length-1);for(let r=e;r<n;r++){const o=this.tokens[r];if(o.type===H.EOF)break;(i===null||i.contains(o.type))&&s.push(o)}return s}LA(e){return this.LT(e).type}LB(e){return this.index-e<0?null:this.tokens[this.index-e]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);const n=this.index+e-1;return this.sync(n),n>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[n]}adjustSeekIndex(e){return e}lazyInit(){this.index===-1&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(e){this.tokenSource=e,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(e,n){if(this.sync(e),e>=this.tokens.length)return-1;let i=this.tokens[e];for(;i.channel!==this.channel;){if(i.type===H.EOF)return-1;e+=1,this.sync(e),i=this.tokens[e]}return e}previousTokenOnChannel(e,n){for(;e>=0&&this.tokens[e].channel!==n;)e-=1;return e}getHiddenTokensToRight(e,n){if(n===void 0&&(n=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const i=this.nextTokenOnChannel(e+1,s1.DEFAULT_TOKEN_CHANNEL),s=e+1,r=i===-1?this.tokens.length-1:i;return this.filterForChannel(s,r,n)}getHiddenTokensToLeft(e,n){if(n===void 0&&(n=-1),this.lazyInit(),e<0||e>=this.tokens.length)throw""+e+" not in 0.."+this.tokens.length-1;const i=this.previousTokenOnChannel(e-1,s1.DEFAULT_TOKEN_CHANNEL);if(i===e-1)return null;const s=i+1,r=e-1;return this.filterForChannel(s,r,n)}filterForChannel(e,n,i){const s=[];for(let r=e;r<n+1;r++){const o=this.tokens[r];i===-1?o.channel!==s1.DEFAULT_TOKEN_CHANNEL&&s.push(o):o.channel===i&&s.push(o)}return s.length===0?null:s}getSourceName(){return this.tokenSource.getSourceName()}getText(e){this.lazyInit(),this.fill(),e==null&&(e=new z2(0,this.tokens.length-1));let n=e.start;n instanceof H&&(n=n.tokenIndex);let i=e.stop;if(i instanceof H&&(i=i.tokenIndex),n===null||i===null||n<0||i<0)return"";i>=this.tokens.length&&(i=this.tokens.length-1);let s="";for(let r=n;r<i+1;r++){const o=this.tokens[r];if(o.type===H.EOF)break;s=s+o.text}return s}fill(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}class uf extends Cf{constructor(e,n){super(e),this.channel=n===void 0?H.DEFAULT_CHANNEL:n}adjustSeekIndex(e){return this.nextTokenOnChannel(e,this.channel)}LB(e){if(e===0||this.index-e<0)return null;let n=this.index,i=1;for(;i<=e;)n=this.previousTokenOnChannel(n-1,this.channel),i+=1;return n<0?null:this.tokens[n]}LT(e){if(this.lazyInit(),e===0)return null;if(e<0)return this.LB(-e);let n=this.index,i=1;for(;i<e;)this.sync(n+1)&&(n=this.nextTokenOnChannel(n+1,this.channel)),i+=1;return this.tokens[n]}getNumberOfOnChannelTokens(){let e=0;this.fill();for(let n=0;n<this.tokens.length;n++){const i=this.tokens[n];if(i.channel===this.channel&&(e+=1),i.type===H.EOF)break}return e}}class hf extends Vr{constructor(e){super(),this.parser=e}enterEveryRule(e){console.log("enter "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}visitTerminal(e){console.log("consume "+e.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}exitEveryRule(e){console.log("exit "+this.parser.ruleNames[e.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}class jr extends R8{constructor(e){super(),this._input=null,this._errHandler=new me,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(e)}reset(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}match(e){let n=this.getCurrentToken();return n.type===e?(this._errHandler.reportMatch(this),this.consume()):(n=this._errHandler.recoverInline(this),this.buildParseTrees&&n.tokenIndex===-1&&this._ctx.addErrorNode(n)),n}matchWildcard(){let e=this.getCurrentToken();return e.type>0?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this._buildParseTrees&&e.tokenIndex===-1&&this._ctx.addErrorNode(e)),e}getParseListeners(){return this._parseListeners||[]}addParseListener(e){if(e===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(e)}removeParseListener(e){if(this._parseListeners!==null){const n=this._parseListeners.indexOf(e);n>=0&&this._parseListeners.splice(n,1),this._parseListeners.length===0&&(this._parseListeners=null)}}removeParseListeners(){this._parseListeners=null}triggerEnterRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.forEach(function(n){n.enterEveryRule(e),e.enterRule(n)})}}triggerExitRuleEvent(){if(this._parseListeners!==null){const e=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(n){e.exitRule(n),n.exitEveryRule(e)})}}getTokenFactory(){return this._input.tokenSource._factory}setTokenFactory(e){this._input.tokenSource._factory=e}getATNWithBypassAlts(){const e=this.getSerializedATN();if(e===null)throw"The current parser does not support an ATN with bypass alternatives.";let n=this.bypassAltsAtnCache[e];if(n===null){const i=new $0;i.generateRuleBypassTransitions=!0,n=new zr(i).deserialize(e),this.bypassAltsAtnCache[e]=n}return n}getInputStream(){return this.getTokenStream()}setInputStream(e){this.setTokenStream(e)}getTokenStream(){return this._input}setTokenStream(e){this._input=null,this.reset(),this._input=e}getCurrentToken(){return this._input.LT(1)}notifyErrorListeners(e,n,i){n=n||null,i=i||null,n===null&&(n=this.getCurrentToken()),this._syntaxErrors+=1;const s=n.line,r=n.column;this.getErrorListenerDispatch().syntaxError(this,n,s,r,e,i)}consume(){const e=this.getCurrentToken();e.type!==H.EOF&&this.getInputStream().consume();const n=this._parseListeners!==null&&this._parseListeners.length>0;if(this.buildParseTrees||n){let i;this._errHandler.inErrorRecoveryMode(this)?i=this._ctx.addErrorNode(e):i=this._ctx.addTokenNode(e),i.invokingState=this.state,n&&this._parseListeners.forEach(function(s){i instanceof m8||i.isErrorNode!==void 0&&i.isErrorNode()?s.visitErrorNode(i):i instanceof t4&&s.visitTerminal(i)})}return e}addContextToParseTree(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}enterRule(e,n,i){this.state=n,this._ctx=e,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}enterOuterAlt(e,n){e.setAltNumber(n),this.buildParseTrees&&this._ctx!==e&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(e)),this._ctx=e}getPrecedence(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}enterRecursionRule(e,n,i,s){this.state=n,this._precedenceStack.push(s),this._ctx=e,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(e,n,i){const s=this._ctx;s.parentCtx=e,s.invokingState=n,s.stop=this._input.LT(-1),this._ctx=e,this._ctx.start=s.start,this.buildParseTrees&&this._ctx.addChild(s),this.triggerEnterRuleEvent()}unrollRecursionContexts(e){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);const n=this._ctx,i=this.getParseListeners();if(i!==null&&i.length>0)for(;this._ctx!==e;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=e;n.parentCtx=e,this.buildParseTrees&&e!==null&&e.addChild(n)}getInvokingContext(e){let n=this._ctx;for(;n!==null;){if(n.ruleIndex===e)return n;n=n.parentCtx}return null}precpred(e,n){return n>=this._precedenceStack[this._precedenceStack.length-1]}inContext(e){return!1}isExpectedToken(e){const n=this._interp.atn;let i=this._ctx;const s=n.states[this.state];let r=n.nextTokens(s);if(r.contains(e))return!0;if(!r.contains(H.EPSILON))return!1;for(;i!==null&&i.invokingState>=0&&r.contains(H.EPSILON);){const l=n.states[i.invokingState].transitions[0];if(r=n.nextTokens(l.followState),r.contains(e))return!0;i=i.parentCtx}return!!(r.contains(H.EPSILON)&&e===H.EOF)}getExpectedTokens(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}getExpectedTokensWithinCurrentRule(){const e=this._interp.atn,n=e.states[this.state];return e.nextTokens(n)}getRuleIndex(e){const n=this.getRuleIndexMap()[e];return n!==null?n:-1}getRuleInvocationStack(e){e=e||null,e===null&&(e=this._ctx);const n=[];for(;e!==null;){const i=e.ruleIndex;i<0?n.push("n/a"):n.push(this.ruleNames[i]),e=e.parentCtx}return n}getDFAStrings(){return this._interp.decisionToDFA.toString()}dumpDFA(){let e=!1;for(let n=0;n<this._interp.decisionToDFA.length;n++){const i=this._interp.decisionToDFA[n];i.states.length>0&&(e&&console.log(),this.printer.println("Decision "+i.decision+":"),this.printer.print(i.toString(this.literalNames,this.symbolicNames)),e=!0)}}getSourceName(){return this._input.sourceName}setTrace(e){e?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new hf(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}jr.bypassAltsAtnCache={};class df{constructor(){this.cache=new z0}add(e){if(e===S2.EMPTY)return S2.EMPTY;const n=this.cache.get(e)||null;return n!==null?n:(this.cache.set(e,e),e)}get(e){return this.cache.get(e)||null}get length(){return this.cache.length}}class qr extends t4{constructor(e){super(),this.parentCtx=null,this.symbol=e}getChild(e){return null}getSymbol(){return this.symbol}getParent(){return this.parentCtx}getPayload(){return this.symbol}getSourceInterval(){if(this.symbol===null)return z2.INVALID_INTERVAL;const e=this.symbol.tokenIndex;return new z2(e,e)}getChildCount(){return 0}accept(e){return e.visitTerminal(this)}getText(){return this.symbol.text}toString(){return this.symbol.type===H.EOF?"<EOF>":this.symbol.text}}class Kr extends qr{constructor(e){super(e)}isErrorNode(){return!0}accept(e){return e.visitErrorNode(this)}}class Yr extends P9{constructor(e,n){e=e||null,n=n||null,super(e,n),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}copyFrom(e){this.parentCtx=e.parentCtx,this.invokingState=e.invokingState,this.children=null,this.start=e.start,this.stop=e.stop,e.children&&(this.children=[],e.children.map(function(n){n instanceof Kr&&(this.children.push(n),n.parentCtx=this)},this))}enterRule(e){}exitRule(e){}addChild(e){return this.children===null&&(this.children=[]),this.children.push(e),e}removeLastChild(){this.children!==null&&this.children.pop()}addTokenNode(e){const n=new qr(e);return this.addChild(n),n.parentCtx=this,n}addErrorNode(e){const n=new Kr(e);return this.addChild(n),n.parentCtx=this,n}getChild(e,n){if(n=n||null,this.children===null||e<0||e>=this.children.length)return null;if(n===null)return this.children[e];for(let i=0;i<this.children.length;i++){const s=this.children[i];if(s instanceof n){if(e===0)return s;e-=1}}return null}getToken(e,n){if(this.children===null||n<0||n>=this.children.length)return null;for(let i=0;i<this.children.length;i++){const s=this.children[i];if(s instanceof t4&&s.symbol.type===e){if(n===0)return s;n-=1}}return null}getTokens(e){if(this.children===null)return[];{const n=[];for(let i=0;i<this.children.length;i++){const s=this.children[i];s instanceof t4&&s.symbol.type===e&&n.push(s)}return n}}getTypedRuleContext(e,n){return this.getChild(n,e)}getTypedRuleContexts(e){if(this.children===null)return[];{const n=[];for(let i=0;i<this.children.length;i++){const s=this.children[i];s instanceof e&&n.push(s)}return n}}getChildCount(){return this.children===null?0:this.children.length}getSourceInterval(){return this.start===null||this.stop===null?z2.INVALID_INTERVAL:new z2(this.start.tokenIndex,this.stop.tokenIndex)}}P9.EMPTY=new Yr;const A={atn:Qd,dfa:Jd,tree:tf,error:lf,Token:H,CommonToken:n9,CharStreams:Lf,InputStream:i9,FileStream:af,CommonTokenStream:uf,Lexer:s1,Parser:jr,PredictionContextCache:df,ParserRuleContext:Yr,Interval:z2,IntervalSet:u3,LL1Analyzer:z9,Utils:{arrayToString:v4}},ff=[4,0,65,511,6,-1,6,-1,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,6,1,6,1,6,1,6,1,7,1,7,1,7,1,8,1,8,1,8,1,9,1,9,1,9,1,10,1,10,1,11,1,11,4,11,201,8,11,11,11,12,11,202,1,12,1,12,1,12,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,16,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,1,20,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,34,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,3,36,273,8,36,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,1,39,3,39,309,8,39,1,40,1,40,1,40,1,40,1,40,1,40,1,40,1,41,1,41,1,41,1,41,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,376,8,50,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,1,51,3,51,404,8,51,1,52,1,52,5,52,408,8,52,10,52,12,52,411,9,52,1,53,1,53,1,54,1,54,5,54,417,8,54,10,54,12,54,420,9,54,1,55,4,55,423,8,55,11,55,12,55,424,1,56,4,56,428,8,56,11,56,12,56,429,1,56,1,56,5,56,434,8,56,10,56,12,56,437,9,56,1,56,1,56,4,56,441,8,56,11,56,12,56,442,3,56,445,8,56,1,57,1,57,1,57,1,57,5,57,451,8,57,10,57,12,57,454,9,57,1,57,3,57,457,8,57,1,58,1,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,467,8,59,10,59,12,59,470,9,59,1,59,1,59,1,59,1,59,1,60,1,60,1,61,1,61,5,61,480,8,61,10,61,12,61,483,9,61,1,61,1,61,1,61,1,61,5,61,489,8,61,10,61,12,61,492,9,61,1,62,4,62,495,8,62,11,62,12,62,496,1,63,1,63,1,63,1,63,1,64,4,64,504,8,64,11,64,12,64,505,1,65,1,65,1,65,1,65,1,468,0,66,3,1,5,2,7,3,9,4,11,5,13,6,15,7,17,8,19,9,21,10,23,0,25,11,27,12,29,13,31,14,33,15,35,16,37,17,39,18,41,19,43,20,45,21,47,22,49,23,51,24,53,25,55,26,57,27,59,28,61,29,63,30,65,31,67,32,69,33,71,34,73,35,75,36,77,37,79,38,81,39,83,40,85,41,87,42,89,43,91,44,93,45,95,46,97,47,99,48,101,49,103,50,105,51,107,52,109,53,111,54,113,55,115,56,117,57,119,58,121,59,123,60,125,61,127,62,129,63,131,64,133,65,3,0,1,2,7,2,0,9,9,32,32,3,0,48,57,65,70,97,102,4,0,48,57,65,90,95,95,97,122,3,0,65,90,95,95,97,122,1,0,48,57,3,0,10,10,13,13,34,34,2,0,10,10,13,13,532,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,0,0,0,0,125,1,0,0,0,1,127,1,0,0,0,1,129,1,0,0,0,2,131,1,0,0,0,2,133,1,0,0,0,3,135,1,0,0,0,5,139,1,0,0,0,7,147,1,0,0,0,9,158,1,0,0,0,11,167,1,0,0,0,13,175,1,0,0,0,15,183,1,0,0,0,17,187,1,0,0,0,19,190,1,0,0,0,21,193,1,0,0,0,23,196,1,0,0,0,25,198,1,0,0,0,27,204,1,0,0,0,29,207,1,0,0,0,31,210,1,0,0,0,33,213,1,0,0,0,35,216,1,0,0,0,37,218,1,0,0,0,39,220,1,0,0,0,41,223,1,0,0,0,43,226,1,0,0,0,45,228,1,0,0,0,47,230,1,0,0,0,49,232,1,0,0,0,51,234,1,0,0,0,53,236,1,0,0,0,55,238,1,0,0,0,57,240,1,0,0,0,59,242,1,0,0,0,61,244,1,0,0,0,63,246,1,0,0,0,65,248,1,0,0,0,67,250,1,0,0,0,69,252,1,0,0,0,71,254,1,0,0,0,73,259,1,0,0,0,75,272,1,0,0,0,77,274,1,0,0,0,79,277,1,0,0,0,81,308,1,0,0,0,83,310,1,0,0,0,85,317,1,0,0,0,87,321,1,0,0,0,89,325,1,0,0,0,91,331,1,0,0,0,93,335,1,0,0,0,95,338,1,0,0,0,97,342,1,0,0,0,99,348,1,0,0,0,101,356,1,0,0,0,103,375,1,0,0,0,105,403,1,0,0,0,107,405,1,0,0,0,109,412,1,0,0,0,111,414,1,0,0,0,113,422,1,0,0,0,115,444,1,0,0,0,117,446,1,0,0,0,119,458,1,0,0,0,121,462,1,0,0,0,123,475,1,0,0,0,125,477,1,0,0,0,127,494,1,0,0,0,129,498,1,0,0,0,131,503,1,0,0,0,133,507,1,0,0,0,135,136,7,0,0,0,136,137,1,0,0,0,137,138,6,0,0,0,138,4,1,0,0,0,139,140,5,99,0,0,140,141,5,111,0,0,141,142,5,110,0,0,142,143,5,115,0,0,143,144,5,116,0,0,144,145,1,0,0,0,145,146,6,1,1,0,146,6,1,0,0,0,147,148,5,114,0,0,148,149,5,101,0,0,149,150,5,97,0,0,150,151,5,100,0,0,151,152,5,111,0,0,152,153,5,110,0,0,153,154,5,108,0,0,154,155,5,121,0,0,155,156,1,0,0,0,156,157,6,2,1,0,157,8,1,0,0,0,158,159,5,115,0,0,159,160,5,116,0,0,160,161,5,97,0,0,161,162,5,116,0,0,162,163,5,105,0,0,163,164,5,99,0,0,164,165,1,0,0,0,165,166,6,3,1,0,166,10,1,0,0,0,167,168,5,97,0,0,168,169,5,119,0,0,169,170,5,97,0,0,170,171,5,105,0,0,171,172,5,116,0,0,172,173,1,0,0,0,173,174,6,4,1,0,174,12,1,0,0,0,175,176,5,116,0,0,176,177,5,105,0,0,177,178,5,116,0,0,178,179,5,108,0,0,179,180,5,101,0,0,180,181,1,0,0,0,181,182,6,5,2,0,182,14,1,0,0,0,183,184,5,58,0,0,184,185,1,0,0,0,185,186,6,6,3,0,186,16,1,0,0,0,187,188,5,60,0,0,188,189,5,60,0,0,189,18,1,0,0,0,190,191,5,62,0,0,191,192,5,62,0,0,192,20,1,0,0,0,193,194,5,45,0,0,194,195,5,62,0,0,195,22,1,0,0,0,196,197,7,1,0,0,197,24,1,0,0,0,198,200,5,35,0,0,199,201,3,23,10,0,200,199,1,0,0,0,201,202,1,0,0,0,202,200,1,0,0,0,202,203,1,0,0,0,203,26,1,0,0,0,204,205,5,124,0,0,205,206,5,124,0,0,206,28,1,0,0,0,207,208,5,38,0,0,208,209,5,38,0,0,209,30,1,0,0,0,210,211,5,61,0,0,211,212,5,61,0,0,212,32,1,0,0,0,213,214,5,33,0,0,214,215,5,61,0,0,215,34,1,0,0,0,216,217,5,62,0,0,217,36,1,0,0,0,218,219,5,60,0,0,219,38,1,0,0,0,220,221,5,62,0,0,221,222,5,61,0,0,222,40,1,0,0,0,223,224,5,60,0,0,224,225,5,61,0,0,225,42,1,0,0,0,226,227,5,43,0,0,227,44,1,0,0,0,228,229,5,45,0,0,229,46,1,0,0,0,230,231,5,42,0,0,231,48,1,0,0,0,232,233,5,47,0,0,233,50,1,0,0,0,234,235,5,37,0,0,235,52,1,0,0,0,236,237,5,94,0,0,237,54,1,0,0,0,238,239,5,33,0,0,239,56,1,0,0,0,240,241,5,59,0,0,241,58,1,0,0,0,242,243,5,44,0,0,243,60,1,0,0,0,244,245,5,61,0,0,245,62,1,0,0,0,246,247,5,40,0,0,247,64,1,0,0,0,248,249,5,41,0,0,249,66,1,0,0,0,250,251,5,123,0,0,251,68,1,0,0,0,252,253,5,125,0,0,253,70,1,0,0,0,254,255,5,116,0,0,255,256,5,114,0,0,256,257,5,117,0,0,257,258,5,101,0,0,258,72,1,0,0,0,259,260,5,102,0,0,260,261,5,97,0,0,261,262,5,108,0,0,262,263,5,115,0,0,263,264,5,101,0,0,264,74,1,0,0,0,265,266,5,110,0,0,266,267,5,105,0,0,267,273,5,108,0,0,268,269,5,110,0,0,269,270,5,117,0,0,270,271,5,108,0,0,271,273,5,108,0,0,272,265,1,0,0,0,272,268,1,0,0,0,273,76,1,0,0,0,274,275,5,105,0,0,275,276,5,102,0,0,276,78,1,0,0,0,277,278,5,101,0,0,278,279,5,108,0,0,279,280,5,115,0,0,280,281,5,101,0,0,281,80,1,0,0,0,282,283,5,119,0,0,283,284,5,104,0,0,284,285,5,105,0,0,285,286,5,108,0,0,286,309,5,101,0,0,287,288,5,102,0,0,288,289,5,111,0,0,289,309,5,114,0,0,290,291,5,102,0,0,291,292,5,111,0,0,292,293,5,114,0,0,293,294,5,101,0,0,294,295,5,97,0,0,295,296,5,99,0,0,296,309,5,104,0,0,297,298,5,102,0,0,298,299,5,111,0,0,299,300,5,114,0,0,300,301,5,69,0,0,301,302,5,97,0,0,302,303,5,99,0,0,303,309,5,104,0,0,304,305,5,108,0,0,305,306,5,111,0,0,306,307,5,111,0,0,307,309,5,112,0,0,308,282,1,0,0,0,308,287,1,0,0,0,308,290,1,0,0,0,308,297,1,0,0,0,308,304,1,0,0,0,309,82,1,0,0,0,310,311,5,114,0,0,311,312,5,101,0,0,312,313,5,116,0,0,313,314,5,117,0,0,314,315,5,114,0,0,315,316,5,110,0,0,316,84,1,0,0,0,317,318,5,110,0,0,318,319,5,101,0,0,319,320,5,119,0,0,320,86,1,0,0,0,321,322,5,112,0,0,322,323,5,97,0,0,323,324,5,114,0,0,324,88,1,0,0,0,325,326,5,103,0,0,326,327,5,114,0,0,327,328,5,111,0,0,328,329,5,117,0,0,329,330,5,112,0,0,330,90,1,0,0,0,331,332,5,111,0,0,332,333,5,112,0,0,333,334,5,116,0,0,334,92,1,0,0,0,335,336,5,97,0,0,336,337,5,115,0,0,337,94,1,0,0,0,338,339,5,116,0,0,339,340,5,114,0,0,340,341,5,121,0,0,341,96,1,0,0,0,342,343,5,99,0,0,343,344,5,97,0,0,344,345,5,116,0,0,345,346,5,99,0,0,346,347,5,104,0,0,347,98,1,0,0,0,348,349,5,102,0,0,349,350,5,105,0,0,350,351,5,110,0,0,351,352,5,97,0,0,352,353,5,108,0,0,353,354,5,108,0,0,354,355,5,121,0,0,355,100,1,0,0,0,356,357,5,105,0,0,357,358,5,110,0,0,358,102,1,0,0,0,359,360,5,64,0,0,360,361,5,83,0,0,361,362,5,116,0,0,362,363,5,97,0,0,363,364,5,114,0,0,364,365,5,116,0,0,365,366,5,101,0,0,366,376,5,114,0,0,367,368,5,64,0,0,368,369,5,115,0,0,369,370,5,116,0,0,370,371,5,97,0,0,371,372,5,114,0,0,372,373,5,116,0,0,373,374,5,101,0,0,374,376,5,114,0,0,375,359,1,0,0,0,375,367,1,0,0,0,376,104,1,0,0,0,377,378,5,64,0,0,378,379,5,82,0,0,379,380,5,101,0,0,380,381,5,116,0,0,381,382,5,117,0,0,382,383,5,114,0,0,383,404,5,110,0,0,384,385,5,64,0,0,385,386,5,114,0,0,386,387,5,101,0,0,387,388,5,116,0,0,388,389,5,117,0,0,389,390,5,114,0,0,390,404,5,110,0,0,391,392,5,64,0,0,392,393,5,82,0,0,393,394,5,101,0,0,394,395,5,112,0,0,395,396,5,108,0,0,396,404,5,121,0,0,397,398,5,64,0,0,398,399,5,114,0,0,399,400,5,101,0,0,400,401,5,112,0,0,401,402,5,108,0,0,402,404,5,121,0,0,403,377,1,0,0,0,403,384,1,0,0,0,403,391,1,0,0,0,403,397,1,0,0,0,404,106,1,0,0,0,405,409,5,64,0,0,406,408,7,2,0,0,407,406,1,0,0,0,408,411,1,0,0,0,409,407,1,0,0,0,409,410,1,0,0,0,410,108,1,0,0,0,411,409,1,0,0,0,412,413,5,46,0,0,413,110,1,0,0,0,414,418,7,3,0,0,415,417,7,2,0,0,416,415,1,0,0,0,417,420,1,0,0,0,418,416,1,0,0,0,418,419,1,0,0,0,419,112,1,0,0,0,420,418,1,0,0,0,421,423,7,4,0,0,422,421,1,0,0,0,423,424,1,0,0,0,424,422,1,0,0,0,424,425,1,0,0,0,425,114,1,0,0,0,426,428,7,4,0,0,427,426,1,0,0,0,428,429,1,0,0,0,429,427,1,0,0,0,429,430,1,0,0,0,430,431,1,0,0,0,431,435,5,46,0,0,432,434,7,4,0,0,433,432,1,0,0,0,434,437,1,0,0,0,435,433,1,0,0,0,435,436,1,0,0,0,436,445,1,0,0,0,437,435,1,0,0,0,438,440,5,46,0,0,439,441,7,4,0,0,440,439,1,0,0,0,441,442,1,0,0,0,442,440,1,0,0,0,442,443,1,0,0,0,443,445,1,0,0,0,444,427,1,0,0,0,444,438,1,0,0,0,445,116,1,0,0,0,446,452,5,34,0,0,447,451,8,5,0,0,448,449,5,34,0,0,449,451,5,34,0,0,450,447,1,0,0,0,450,448,1,0,0,0,451,454,1,0,0,0,452,450,1,0,0,0,452,453,1,0,0,0,453,456,1,0,0,0,454,452,1,0,0,0,455,457,7,5,0,0,456,455,1,0,0,0,456,457,1,0,0,0,457,118,1,0,0,0,458,459,7,6,0,0,459,460,1,0,0,0,460,461,6,58,0,0,461,120,1,0,0,0,462,463,5,47,0,0,463,464,5,47,0,0,464,468,1,0,0,0,465,467,9,0,0,0,466,465,1,0,0,0,467,470,1,0,0,0,468,469,1,0,0,0,468,466,1,0,0,0,469,471,1,0,0,0,470,468,1,0,0,0,471,472,5,10,0,0,472,473,1,0,0,0,473,474,6,59,4,0,474,122,1,0,0,0,475,476,9,0,0,0,476,124,1,0,0,0,477,481,4,61,0,0,478,480,3,3,0,0,479,478,1,0,0,0,480,483,1,0,0,0,481,479,1,0,0,0,481,482,1,0,0,0,482,484,1,0,0,0,483,481,1,0,0,0,484,485,5,61,0,0,485,486,5,61,0,0,486,490,1,0,0,0,487,489,8,6,0,0,488,487,1,0,0,0,489,492,1,0,0,0,490,488,1,0,0,0,490,491,1,0,0,0,491,126,1,0,0,0,492,490,1,0,0,0,493,495,8,6,0,0,494,493,1,0,0,0,495,496,1,0,0,0,496,494,1,0,0,0,496,497,1,0,0,0,497,128,1,0,0,0,498,499,7,6,0,0,499,500,1,0,0,0,500,501,6,63,5,0,501,130,1,0,0,0,502,504,8,6,0,0,503,502,1,0,0,0,504,505,1,0,0,0,505,503,1,0,0,0,505,506,1,0,0,0,506,132,1,0,0,0,507,508,7,6,0,0,508,509,1,0,0,0,509,510,6,65,5,0,510,134,1,0,0,0,23,0,1,2,202,272,308,375,403,409,418,424,429,435,442,444,450,452,456,468,481,490,496,505,6,0,1,0,0,3,0,5,2,0,5,1,0,0,2,0,4,0,0],xe=new A.atn.ATNDeserializer().deserialize(ff),gf=xe.decisionToState.map((t,e)=>new A.dfa.DFA(t,e));class Y extends A.Lexer{constructor(e){super(e),this._interp=new A.atn.LexerATNSimulator(this,xe,gf,new A.PredictionContextCache)}get atn(){return xe}}J(Y,"grammarFileName","sequenceLexer.g4"),J(Y,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN","COMMENT_CHANNEL","MODIFIER_CHANNEL"]),J(Y,"modeNames",["DEFAULT_MODE","EVENT","TITLE_MODE"]),J(Y,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),J(Y,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),J(Y,"ruleNames",["WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","HEX","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),Y.EOF=A.Token.EOF,Y.WS=1,Y.CONSTANT=2,Y.READONLY=3,Y.STATIC=4,Y.AWAIT=5,Y.TITLE=6,Y.COL=7,Y.SOPEN=8,Y.SCLOSE=9,Y.ARROW=10,Y.COLOR=11,Y.OR=12,Y.AND=13,Y.EQ=14,Y.NEQ=15,Y.GT=16,Y.LT=17,Y.GTEQ=18,Y.LTEQ=19,Y.PLUS=20,Y.MINUS=21,Y.MULT=22,Y.DIV=23,Y.MOD=24,Y.POW=25,Y.NOT=26,Y.SCOL=27,Y.COMMA=28,Y.ASSIGN=29,Y.OPAR=30,Y.CPAR=31,Y.OBRACE=32,Y.CBRACE=33,Y.TRUE=34,Y.FALSE=35,Y.NIL=36,Y.IF=37,Y.ELSE=38,Y.WHILE=39,Y.RETURN=40,Y.NEW=41,Y.PAR=42,Y.GROUP=43,Y.OPT=44,Y.AS=45,Y.TRY=46,Y.CATCH=47,Y.FINALLY=48,Y.IN=49,Y.STARTER_LXR=50,Y.ANNOTATION_RET=51,Y.ANNOTATION=52,Y.DOT=53,Y.ID=54,Y.INT=55,Y.FLOAT=56,Y.STRING=57,Y.CR=58,Y.COMMENT=59,Y.OTHER=60,Y.DIVIDER=61,Y.EVENT_PAYLOAD_LXR=62,Y.EVENT_END=63,Y.TITLE_CONTENT=64,Y.TITLE_END=65,Y.COMMENT_CHANNEL=2,Y.MODIFIER_CHANNEL=3,Y.EVENT=1,Y.TITLE_MODE=2,Y.prototype.sempred=function(t,e,n){switch(e){case 61:return this.DIVIDER_sempred(t,n);default:throw"No registered predicate for:"+e}},Y.prototype.DIVIDER_sempred=function(t,e){switch(e){case 0:return this.column===0;default:throw"No predicate with index:"+e}};class S extends A.tree.ParseTreeListener{enterProg(e){}exitProg(e){}enterTitle(e){}exitTitle(e){}enterHead(e){}exitHead(e){}enterGroup(e){}exitGroup(e){}enterStarterExp(e){}exitStarterExp(e){}enterStarter(e){}exitStarter(e){}enterParticipant(e){}exitParticipant(e){}enterStereotype(e){}exitStereotype(e){}enterLabel(e){}exitLabel(e){}enterParticipantType(e){}exitParticipantType(e){}enterName(e){}exitName(e){}enterWidth(e){}exitWidth(e){}enterBlock(e){}exitBlock(e){}enterRet(e){}exitRet(e){}enterDivider(e){}exitDivider(e){}enterDividerNote(e){}exitDividerNote(e){}enterStat(e){}exitStat(e){}enterPar(e){}exitPar(e){}enterOpt(e){}exitOpt(e){}enterCreation(e){}exitCreation(e){}enterCreationBody(e){}exitCreationBody(e){}enterMessage(e){}exitMessage(e){}enterMessageBody(e){}exitMessageBody(e){}enterFunc(e){}exitFunc(e){}enterFrom(e){}exitFrom(e){}enterTo(e){}exitTo(e){}enterSignature(e){}exitSignature(e){}enterInvocation(e){}exitInvocation(e){}enterAssignment(e){}exitAssignment(e){}enterAsyncMessage(e){}exitAsyncMessage(e){}enterContent(e){}exitContent(e){}enterConstruct(e){}exitConstruct(e){}enterType(e){}exitType(e){}enterAssignee(e){}exitAssignee(e){}enterMethodName(e){}exitMethodName(e){}enterParameters(e){}exitParameters(e){}enterParameter(e){}exitParameter(e){}enterDeclaration(e){}exitDeclaration(e){}enterTcf(e){}exitTcf(e){}enterTryBlock(e){}exitTryBlock(e){}enterCatchBlock(e){}exitCatchBlock(e){}enterFinallyBlock(e){}exitFinallyBlock(e){}enterAlt(e){}exitAlt(e){}enterIfBlock(e){}exitIfBlock(e){}enterElseIfBlock(e){}exitElseIfBlock(e){}enterElseBlock(e){}exitElseBlock(e){}enterBraceBlock(e){}exitBraceBlock(e){}enterLoop(e){}exitLoop(e){}enterAssignmentExpr(e){}exitAssignmentExpr(e){}enterFuncExpr(e){}exitFuncExpr(e){}enterAtomExpr(e){}exitAtomExpr(e){}enterOrExpr(e){}exitOrExpr(e){}enterAdditiveExpr(e){}exitAdditiveExpr(e){}enterRelationalExpr(e){}exitRelationalExpr(e){}enterPlusExpr(e){}exitPlusExpr(e){}enterNotExpr(e){}exitNotExpr(e){}enterUnaryMinusExpr(e){}exitUnaryMinusExpr(e){}enterCreationExpr(e){}exitCreationExpr(e){}enterParenthesizedExpr(e){}exitParenthesizedExpr(e){}enterMultiplicationExpr(e){}exitMultiplicationExpr(e){}enterEqualityExpr(e){}exitEqualityExpr(e){}enterAndExpr(e){}exitAndExpr(e){}enterNumberAtom(e){}exitNumberAtom(e){}enterBooleanAtom(e){}exitBooleanAtom(e){}enterIdAtom(e){}exitIdAtom(e){}enterStringAtom(e){}exitStringAtom(e){}enterNilAtom(e){}exitNilAtom(e){}enterParExpr(e){}exitParExpr(e){}enterCondition(e){}exitCondition(e){}enterInExpr(e){}exitInExpr(e){}}const pf=[4,1,65,553,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,1,0,3,0,108,8,0,1,0,1,0,3,0,112,8,0,1,0,1,0,1,0,1,0,3,0,118,8,0,1,0,3,0,121,8,0,1,0,1,0,1,0,3,0,126,8,0,1,1,1,1,3,1,130,8,1,1,1,3,1,133,8,1,1,2,1,2,4,2,137,8,2,11,2,12,2,138,1,2,1,2,5,2,143,8,2,10,2,12,2,146,9,2,1,2,3,2,149,8,2,1,3,1,3,3,3,153,8,3,1,3,1,3,5,3,157,8,3,10,3,12,3,160,9,3,1,3,1,3,1,3,3,3,165,8,3,1,3,1,3,1,3,3,3,170,8,3,3,3,172,8,3,1,4,1,4,1,4,3,4,177,8,4,1,4,3,4,180,8,4,1,4,3,4,183,8,4,1,5,1,5,1,6,3,6,188,8,6,1,6,3,6,191,8,6,1,6,1,6,3,6,195,8,6,1,6,3,6,198,8,6,1,6,3,6,201,8,6,1,6,1,6,3,6,205,8,6,1,7,1,7,1,7,1,7,1,7,1,7,1,7,3,7,214,8,7,1,7,1,7,3,7,218,8,7,3,7,220,8,7,1,8,1,8,1,8,3,8,225,8,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,234,8,12,11,12,12,12,235,1,13,1,13,3,13,240,8,13,1,13,3,13,243,8,13,1,13,1,13,1,13,3,13,248,8,13,3,13,250,8,13,1,14,1,14,1,15,1,15,1,16,1,16,1,16,1,16,1,16,1,16,1,16,1,16,3,16,264,8,16,1,16,1,16,1,16,1,16,1,16,3,16,271,8,16,1,17,1,17,1,17,3,17,276,8,17,1,18,1,18,1,18,3,18,281,8,18,1,19,1,19,1,19,3,19,286,8,19,1,20,3,20,289,8,20,1,20,1,20,1,20,1,20,3,20,295,8,20,1,20,3,20,298,8,20,1,20,3,20,301,8,20,1,20,3,20,304,8,20,1,21,1,21,1,21,3,21,309,8,21,1,22,3,22,312,8,22,1,22,1,22,1,22,3,22,317,8,22,1,22,1,22,1,22,3,22,322,8,22,1,22,1,22,1,22,1,22,1,22,3,22,329,8,22,1,22,1,22,1,22,3,22,334,8,22,1,23,1,23,1,23,5,23,339,8,23,10,23,12,23,342,9,23,1,24,1,24,1,25,1,25,1,26,1,26,3,26,350,8,26,1,27,1,27,3,27,354,8,27,1,27,1,27,1,28,3,28,359,8,28,1,28,1,28,1,28,1,29,1,29,1,29,3,29,367,8,29,1,29,1,29,1,29,3,29,372,8,29,1,29,1,29,1,29,3,29,377,8,29,3,29,379,8,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,1,33,1,33,5,33,391,8,33,10,33,12,33,394,9,33,1,33,3,33,397,8,33,1,34,1,34,1,35,1,35,1,35,5,35,404,8,35,10,35,12,35,407,9,35,1,35,3,35,410,8,35,1,36,1,36,3,36,414,8,36,1,37,1,37,1,37,1,38,1,38,5,38,421,8,38,10,38,12,38,424,9,38,1,38,3,38,427,8,38,1,39,1,39,1,39,1,40,1,40,3,40,434,8,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,5,42,443,8,42,10,42,12,42,446,9,42,1,42,3,42,449,8,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,46,1,46,3,46,465,8,46,1,46,1,46,1,47,1,47,1,47,1,47,1,47,1,47,1,47,3,47,476,8,47,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,487,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,3,48,498,8,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,1,48,5,48,521,8,48,10,48,12,48,524,9,48,1,49,1,49,1,49,1,49,1,49,3,49,531,8,49,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,1,50,3,50,542,8,50,1,51,1,51,1,51,3,51,547,8,51,1,52,1,52,1,52,1,52,1,52,0,1,96,53,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,0,10,2,0,54,54,57,57,2,0,8,8,17,17,2,0,9,9,16,16,2,0,10,10,21,21,1,0,22,24,1,0,20,21,1,0,16,19,1,0,14,15,1,0,55,56,1,0,34,35,611,0,125,1,0,0,0,2,127,1,0,0,0,4,148,1,0,0,0,6,171,1,0,0,0,8,182,1,0,0,0,10,184,1,0,0,0,12,204,1,0,0,0,14,219,1,0,0,0,16,224,1,0,0,0,18,226,1,0,0,0,20,228,1,0,0,0,22,230,1,0,0,0,24,233,1,0,0,0,26,249,1,0,0,0,28,251,1,0,0,0,30,253,1,0,0,0,32,270,1,0,0,0,34,275,1,0,0,0,36,280,1,0,0,0,38,282,1,0,0,0,40,303,1,0,0,0,42,305,1,0,0,0,44,333,1,0,0,0,46,335,1,0,0,0,48,343,1,0,0,0,50,345,1,0,0,0,52,347,1,0,0,0,54,351,1,0,0,0,56,358,1,0,0,0,58,378,1,0,0,0,60,380,1,0,0,0,62,382,1,0,0,0,64,384,1,0,0,0,66,396,1,0,0,0,68,398,1,0,0,0,70,400,1,0,0,0,72,413,1,0,0,0,74,415,1,0,0,0,76,418,1,0,0,0,78,428,1,0,0,0,80,431,1,0,0,0,82,437,1,0,0,0,84,440,1,0,0,0,86,450,1,0,0,0,88,454,1,0,0,0,90,459,1,0,0,0,92,462,1,0,0,0,94,475,1,0,0,0,96,497,1,0,0,0,98,530,1,0,0,0,100,541,1,0,0,0,102,546,1,0,0,0,104,548,1,0,0,0,106,108,3,2,1,0,107,106,1,0,0,0,107,108,1,0,0,0,108,109,1,0,0,0,109,126,5,0,0,1,110,112,3,2,1,0,111,110,1,0,0,0,111,112,1,0,0,0,112,113,1,0,0,0,113,114,3,4,2,0,114,115,5,0,0,1,115,126,1,0,0,0,116,118,3,2,1,0,117,116,1,0,0,0,117,118,1,0,0,0,118,120,1,0,0,0,119,121,3,4,2,0,120,119,1,0,0,0,120,121,1,0,0,0,121,122,1,0,0,0,122,123,3,24,12,0,123,124,5,0,0,1,124,126,1,0,0,0,125,107,1,0,0,0,125,111,1,0,0,0,125,117,1,0,0,0,126,1,1,0,0,0,127,129,5,6,0,0,128,130,5,64,0,0,129,128,1,0,0,0,129,130,1,0,0,0,130,132,1,0,0,0,131,133,5,65,0,0,132,131,1,0,0,0,132,133,1,0,0,0,133,3,1,0,0,0,134,137,3,6,3,0,135,137,3,12,6,0,136,134,1,0,0,0,136,135,1,0,0,0,137,138,1,0,0,0,138,136,1,0,0,0,138,139,1,0,0,0,139,149,1,0,0,0,140,143,3,6,3,0,141,143,3,12,6,0,142,140,1,0,0,0,142,141,1,0,0,0,143,146,1,0,0,0,144,142,1,0,0,0,144,145,1,0,0,0,145,147,1,0,0,0,146,144,1,0,0,0,147,149,3,8,4,0,148,136,1,0,0,0,148,144,1,0,0,0,149,5,1,0,0,0,150,152,5,43,0,0,151,153,3,20,10,0,152,151,1,0,0,0,152,153,1,0,0,0,153,154,1,0,0,0,154,158,5,32,0,0,155,157,3,12,6,0,156,155,1,0,0,0,157,160,1,0,0,0,158,156,1,0,0,0,158,159,1,0,0,0,159,161,1,0,0,0,160,158,1,0,0,0,161,172,5,33,0,0,162,164,5,43,0,0,163,165,3,20,10,0,164,163,1,0,0,0,164,165,1,0,0,0,165,166,1,0,0,0,166,172,5,32,0,0,167,169,5,43,0,0,168,170,3,20,10,0,169,168,1,0,0,0,169,170,1,0,0,0,170,172,1,0,0,0,171,150,1,0,0,0,171,162,1,0,0,0,171,167,1,0,0,0,172,7,1,0,0,0,173,179,5,50,0,0,174,176,5,30,0,0,175,177,3,10,5,0,176,175,1,0,0,0,176,177,1,0,0,0,177,178,1,0,0,0,178,180,5,31,0,0,179,174,1,0,0,0,179,180,1,0,0,0,180,183,1,0,0,0,181,183,5,52,0,0,182,173,1,0,0,0,182,181,1,0,0,0,183,9,1,0,0,0,184,185,7,0,0,0,185,11,1,0,0,0,186,188,3,18,9,0,187,186,1,0,0,0,187,188,1,0,0,0,188,190,1,0,0,0,189,191,3,14,7,0,190,189,1,0,0,0,190,191,1,0,0,0,191,192,1,0,0,0,192,194,3,20,10,0,193,195,3,22,11,0,194,193,1,0,0,0,194,195,1,0,0,0,195,197,1,0,0,0,196,198,3,16,8,0,197,196,1,0,0,0,197,198,1,0,0,0,198,200,1,0,0,0,199,201,5,11,0,0,200,199,1,0,0,0,200,201,1,0,0,0,201,205,1,0,0,0,202,205,3,14,7,0,203,205,3,18,9,0,204,187,1,0,0,0,204,202,1,0,0,0,204,203,1,0,0,0,205,13,1,0,0,0,206,207,5,8,0,0,207,208,3,20,10,0,208,209,5,9,0,0,209,220,1,0,0,0,210,211,5,8,0,0,211,213,3,20,10,0,212,214,5,16,0,0,213,212,1,0,0,0,213,214,1,0,0,0,214,220,1,0,0,0,215,217,7,1,0,0,216,218,7,2,0,0,217,216,1,0,0,0,217,218,1,0,0,0,218,220,1,0,0,0,219,206,1,0,0,0,219,210,1,0,0,0,219,215,1,0,0,0,220,15,1,0,0,0,221,222,5,45,0,0,222,225,3,20,10,0,223,225,5,45,0,0,224,221,1,0,0,0,224,223,1,0,0,0,225,17,1,0,0,0,226,227,5,52,0,0,227,19,1,0,0,0,228,229,7,0,0,0,229,21,1,0,0,0,230,231,5,55,0,0,231,23,1,0,0,0,232,234,3,32,16,0,233,232,1,0,0,0,234,235,1,0,0,0,235,233,1,0,0,0,235,236,1,0,0,0,236,25,1,0,0,0,237,239,5,40,0,0,238,240,3,96,48,0,239,238,1,0,0,0,239,240,1,0,0,0,240,242,1,0,0,0,241,243,5,27,0,0,242,241,1,0,0,0,242,243,1,0,0,0,243,250,1,0,0,0,244,245,5,51,0,0,245,247,3,58,29,0,246,248,5,63,0,0,247,246,1,0,0,0,247,248,1,0,0,0,248,250,1,0,0,0,249,237,1,0,0,0,249,244,1,0,0,0,250,27,1,0,0,0,251,252,3,30,15,0,252,29,1,0,0,0,253,254,5,61,0,0,254,31,1,0,0,0,255,271,3,84,42,0,256,271,3,34,17,0,257,271,3,36,18,0,258,271,3,94,47,0,259,271,3,38,19,0,260,271,3,42,21,0,261,263,3,58,29,0,262,264,5,63,0,0,263,262,1,0,0,0,263,264,1,0,0,0,264,271,1,0,0,0,265,271,3,26,13,0,266,271,3,28,14,0,267,271,3,76,38,0,268,269,5,60,0,0,269,271,6,16,-1,0,270,255,1,0,0,0,270,256,1,0,0,0,270,257,1,0,0,0,270,258,1,0,0,0,270,259,1,0,0,0,270,260,1,0,0,0,270,261,1,0,0,0,270,265,1,0,0,0,270,266,1,0,0,0,270,267,1,0,0,0,270,268,1,0,0,0,271,33,1,0,0,0,272,273,5,42,0,0,273,276,3,92,46,0,274,276,5,42,0,0,275,272,1,0,0,0,275,274,1,0,0,0,276,35,1,0,0,0,277,278,5,44,0,0,278,281,3,92,46,0,279,281,5,44,0,0,280,277,1,0,0,0,280,279,1,0,0,0,281,37,1,0,0,0,282,285,3,40,20,0,283,286,5,27,0,0,284,286,3,92,46,0,285,283,1,0,0,0,285,284,1,0,0,0,285,286,1,0,0,0,286,39,1,0,0,0,287,289,3,56,28,0,288,287,1,0,0,0,288,289,1,0,0,0,289,290,1,0,0,0,290,291,5,41,0,0,291,297,3,62,31,0,292,294,5,30,0,0,293,295,3,70,35,0,294,293,1,0,0,0,294,295,1,0,0,0,295,296,1,0,0,0,296,298,5,31,0,0,297,292,1,0,0,0,297,298,1,0,0,0,298,304,1,0,0,0,299,301,3,56,28,0,300,299,1,0,0,0,300,301,1,0,0,0,301,302,1,0,0,0,302,304,5,41,0,0,303,288,1,0,0,0,303,300,1,0,0,0,304,41,1,0,0,0,305,308,3,44,22,0,306,309,5,27,0,0,307,309,3,92,46,0,308,306,1,0,0,0,308,307,1,0,0,0,308,309,1,0,0,0,309,43,1,0,0,0,310,312,3,56,28,0,311,310,1,0,0,0,311,312,1,0,0,0,312,321,1,0,0,0,313,314,3,48,24,0,314,315,5,10,0,0,315,317,1,0,0,0,316,313,1,0,0,0,316,317,1,0,0,0,317,318,1,0,0,0,318,319,3,50,25,0,319,320,5,53,0,0,320,322,1,0,0,0,321,316,1,0,0,0,321,322,1,0,0,0,322,323,1,0,0,0,323,334,3,46,23,0,324,334,3,56,28,0,325,326,3,48,24,0,326,327,5,10,0,0,327,329,1,0,0,0,328,325,1,0,0,0,328,329,1,0,0,0,329,330,1,0,0,0,330,331,3,50,25,0,331,332,5,53,0,0,332,334,1,0,0,0,333,311,1,0,0,0,333,324,1,0,0,0,333,328,1,0,0,0,334,45,1,0,0,0,335,340,3,52,26,0,336,337,5,53,0,0,337,339,3,52,26,0,338,336,1,0,0,0,339,342,1,0,0,0,340,338,1,0,0,0,340,341,1,0,0,0,341,47,1,0,0,0,342,340,1,0,0,0,343,344,7,0,0,0,344,49,1,0,0,0,345,346,7,0,0,0,346,51,1,0,0,0,347,349,3,68,34,0,348,350,3,54,27,0,349,348,1,0,0,0,349,350,1,0,0,0,350,53,1,0,0,0,351,353,5,30,0,0,352,354,3,70,35,0,353,352,1,0,0,0,353,354,1,0,0,0,354,355,1,0,0,0,355,356,5,31,0,0,356,55,1,0,0,0,357,359,3,64,32,0,358,357,1,0,0,0,358,359,1,0,0,0,359,360,1,0,0,0,360,361,3,66,33,0,361,362,5,29,0,0,362,57,1,0,0,0,363,364,3,48,24,0,364,365,5,10,0,0,365,367,1,0,0,0,366,363,1,0,0,0,366,367,1,0,0,0,367,368,1,0,0,0,368,369,3,50,25,0,369,371,5,7,0,0,370,372,3,60,30,0,371,370,1,0,0,0,371,372,1,0,0,0,372,379,1,0,0,0,373,374,3,48,24,0,374,376,7,3,0,0,375,377,3,50,25,0,376,375,1,0,0,0,376,377,1,0,0,0,377,379,1,0,0,0,378,366,1,0,0,0,378,373,1,0,0,0,379,59,1,0,0,0,380,381,5,62,0,0,381,61,1,0,0,0,382,383,7,0,0,0,383,63,1,0,0,0,384,385,7,0,0,0,385,65,1,0,0,0,386,397,3,98,49,0,387,392,5,54,0,0,388,389,5,28,0,0,389,391,5,54,0,0,390,388,1,0,0,0,391,394,1,0,0,0,392,390,1,0,0,0,392,393,1,0,0,0,393,397,1,0,0,0,394,392,1,0,0,0,395,397,5,57,0,0,396,386,1,0,0,0,396,387,1,0,0,0,396,395,1,0,0,0,397,67,1,0,0,0,398,399,7,0,0,0,399,69,1,0,0,0,400,405,3,72,36,0,401,402,5,28,0,0,402,404,3,72,36,0,403,401,1,0,0,0,404,407,1,0,0,0,405,403,1,0,0,0,405,406,1,0,0,0,406,409,1,0,0,0,407,405,1,0,0,0,408,410,5,28,0,0,409,408,1,0,0,0,409,410,1,0,0,0,410,71,1,0,0,0,411,414,3,74,37,0,412,414,3,96,48,0,413,411,1,0,0,0,413,412,1,0,0,0,414,73,1,0,0,0,415,416,3,64,32,0,416,417,5,54,0,0,417,75,1,0,0,0,418,422,3,78,39,0,419,421,3,80,40,0,420,419,1,0,0,0,421,424,1,0,0,0,422,420,1,0,0,0,422,423,1,0,0,0,423,426,1,0,0,0,424,422,1,0,0,0,425,427,3,82,41,0,426,425,1,0,0,0,426,427,1,0,0,0,427,77,1,0,0,0,428,429,5,46,0,0,429,430,3,92,46,0,430,79,1,0,0,0,431,433,5,47,0,0,432,434,3,54,27,0,433,432,1,0,0,0,433,434,1,0,0,0,434,435,1,0,0,0,435,436,3,92,46,0,436,81,1,0,0,0,437,438,5,48,0,0,438,439,3,92,46,0,439,83,1,0,0,0,440,444,3,86,43,0,441,443,3,88,44,0,442,441,1,0,0,0,443,446,1,0,0,0,444,442,1,0,0,0,444,445,1,0,0,0,445,448,1,0,0,0,446,444,1,0,0,0,447,449,3,90,45,0,448,447,1,0,0,0,448,449,1,0,0,0,449,85,1,0,0,0,450,451,5,37,0,0,451,452,3,100,50,0,452,453,3,92,46,0,453,87,1,0,0,0,454,455,5,38,0,0,455,456,5,37,0,0,456,457,3,100,50,0,457,458,3,92,46,0,458,89,1,0,0,0,459,460,5,38,0,0,460,461,3,92,46,0,461,91,1,0,0,0,462,464,5,32,0,0,463,465,3,24,12,0,464,463,1,0,0,0,464,465,1,0,0,0,465,466,1,0,0,0,466,467,5,33,0,0,467,93,1,0,0,0,468,469,5,39,0,0,469,470,3,100,50,0,470,471,3,92,46,0,471,476,1,0,0,0,472,473,5,39,0,0,473,476,3,100,50,0,474,476,5,39,0,0,475,468,1,0,0,0,475,472,1,0,0,0,475,474,1,0,0,0,476,95,1,0,0,0,477,478,6,48,-1,0,478,498,3,98,49,0,479,480,5,21,0,0,480,498,3,96,48,13,481,482,5,26,0,0,482,498,3,96,48,12,483,484,3,50,25,0,484,485,5,53,0,0,485,487,1,0,0,0,486,483,1,0,0,0,486,487,1,0,0,0,487,488,1,0,0,0,488,498,3,46,23,0,489,498,3,38,19,0,490,491,5,30,0,0,491,492,3,96,48,0,492,493,5,31,0,0,493,498,1,0,0,0,494,495,3,56,28,0,495,496,3,96,48,1,496,498,1,0,0,0,497,477,1,0,0,0,497,479,1,0,0,0,497,481,1,0,0,0,497,486,1,0,0,0,497,489,1,0,0,0,497,490,1,0,0,0,497,494,1,0,0,0,498,522,1,0,0,0,499,500,10,11,0,0,500,501,7,4,0,0,501,521,3,96,48,12,502,503,10,10,0,0,503,504,7,5,0,0,504,521,3,96,48,11,505,506,10,9,0,0,506,507,7,6,0,0,507,521,3,96,48,10,508,509,10,8,0,0,509,510,7,7,0,0,510,521,3,96,48,9,511,512,10,7,0,0,512,513,5,13,0,0,513,521,3,96,48,8,514,515,10,6,0,0,515,516,5,12,0,0,516,521,3,96,48,7,517,518,10,5,0,0,518,519,5,20,0,0,519,521,3,96,48,6,520,499,1,0,0,0,520,502,1,0,0,0,520,505,1,0,0,0,520,508,1,0,0,0,520,511,1,0,0,0,520,514,1,0,0,0,520,517,1,0,0,0,521,524,1,0,0,0,522,520,1,0,0,0,522,523,1,0,0,0,523,97,1,0,0,0,524,522,1,0,0,0,525,531,7,8,0,0,526,531,7,9,0,0,527,531,5,54,0,0,528,531,5,57,0,0,529,531,5,36,0,0,530,525,1,0,0,0,530,526,1,0,0,0,530,527,1,0,0,0,530,528,1,0,0,0,530,529,1,0,0,0,531,99,1,0,0,0,532,533,5,30,0,0,533,534,3,102,51,0,534,535,5,31,0,0,535,542,1,0,0,0,536,537,5,30,0,0,537,542,3,102,51,0,538,539,5,30,0,0,539,542,5,31,0,0,540,542,5,30,0,0,541,532,1,0,0,0,541,536,1,0,0,0,541,538,1,0,0,0,541,540,1,0,0,0,542,101,1,0,0,0,543,547,3,98,49,0,544,547,3,96,48,0,545,547,3,104,52,0,546,543,1,0,0,0,546,544,1,0,0,0,546,545,1,0,0,0,547,103,1,0,0,0,548,549,5,54,0,0,549,550,5,49,0,0,550,551,5,54,0,0,551,105,1,0,0,0,78,107,111,117,120,125,129,132,136,138,142,144,148,152,158,164,169,171,176,179,182,187,190,194,197,200,204,213,217,219,224,235,239,242,247,249,263,270,275,280,285,288,294,297,300,303,308,311,316,321,328,333,340,349,353,358,366,371,376,378,392,396,405,409,413,422,426,433,444,448,464,475,486,497,520,522,530,541,546],ve=new A.atn.ATNDeserializer().deserialize(pf),mf=ve.decisionToState.map((t,e)=>new A.dfa.DFA(t,e)),wf=new A.PredictionContextCache,R=class extends A.Parser{constructor(e){super(e),this._interp=new A.atn.ParserATNSimulator(this,ve,mf,wf),this.ruleNames=R.ruleNames,this.literalNames=R.literalNames,this.symbolicNames=R.symbolicNames}get atn(){return ve}sempred(e,n,i){switch(n){case 48:return this.expr_sempred(e,i);default:throw"No predicate with index:"+n}}expr_sempred(e,n){switch(n){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);default:throw"No predicate with index:"+n}}prog(){let e=new Qr(this,this._ctx,this.state);this.enterRule(e,0,R.RULE_prog);var n=0;try{this.state=125,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,4,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=107,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=106,this.title()),this.state=109,this.match(R.EOF);break;case 2:this.enterOuterAlt(e,2),this.state=111,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=110,this.title()),this.state=113,this.head(),this.state=114,this.match(R.EOF);break;case 3:this.enterOuterAlt(e,3),this.state=117,this._errHandler.sync(this),n=this._input.LA(1),n===6&&(this.state=116,this.title()),this.state=120,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,3,this._ctx);i===1&&(this.state=119,this.head()),this.state=122,this.block(),this.state=123,this.match(R.EOF);break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}title(){let e=new _e(this,this._ctx,this.state);this.enterRule(e,2,R.RULE_title);var n=0;try{this.enterOuterAlt(e,1),this.state=127,this.match(R.TITLE),this.state=129,this._errHandler.sync(this),n=this._input.LA(1),n===64&&(this.state=128,this.match(R.TITLE_CONTENT)),this.state=132,this._errHandler.sync(this),n=this._input.LA(1),n===65&&(this.state=131,this.match(R.TITLE_END))}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}head(){let e=new Me(this,this._ctx,this.state);this.enterRule(e,4,R.RULE_head);try{this.state=148,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,11,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=136,this._errHandler.sync(this);var i=1;do{switch(i){case 1:switch(this.state=136,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=134,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=135,this.participant();break;default:throw new A.error.NoViableAltException(this)}break;default:throw new A.error.NoViableAltException(this)}this.state=138,this._errHandler.sync(this),i=this._interp.adaptivePredict(this._input,8,this._ctx)}while(i!=2&&i!=A.atn.ATN.INVALID_ALT_NUMBER);break;case 2:this.enterOuterAlt(e,2),this.state=144,this._errHandler.sync(this);for(var i=this._interp.adaptivePredict(this._input,10,this._ctx);i!=2&&i!=A.atn.ATN.INVALID_ALT_NUMBER;){if(i===1)switch(this.state=142,this._errHandler.sync(this),this._input.LA(1)){case 43:this.state=140,this.group();break;case 8:case 17:case 52:case 54:case 57:this.state=141,this.participant();break;default:throw new A.error.NoViableAltException(this)}this.state=146,this._errHandler.sync(this),i=this._interp.adaptivePredict(this._input,10,this._ctx)}this.state=147,this.starterExp();break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}group(){let e=new Z8(this,this._ctx,this.state);this.enterRule(e,6,R.RULE_group);var n=0;try{this.state=171,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,16,this._ctx);switch(i){case 1:for(this.enterOuterAlt(e,1),this.state=150,this.match(R.GROUP),this.state=152,this._errHandler.sync(this),n=this._input.LA(1),(n===54||n===57)&&(this.state=151,this.name()),this.state=154,this.match(R.OBRACE),this.state=158,this._errHandler.sync(this),n=this._input.LA(1);n===8||n===17||(n-52&-32)==0&&(1<<n-52&37)!==0;)this.state=155,this.participant(),this.state=160,this._errHandler.sync(this),n=this._input.LA(1);this.state=161,this.match(R.CBRACE);break;case 2:this.enterOuterAlt(e,2),this.state=162,this.match(R.GROUP),this.state=164,this._errHandler.sync(this),n=this._input.LA(1),(n===54||n===57)&&(this.state=163,this.name()),this.state=166,this.match(R.OBRACE);break;case 3:this.enterOuterAlt(e,3),this.state=167,this.match(R.GROUP),this.state=169,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,15,this._ctx);i===1&&(this.state=168,this.name());break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}starterExp(){let e=new ye(this,this._ctx,this.state);this.enterRule(e,8,R.RULE_starterExp);var n=0;try{switch(this.state=182,this._errHandler.sync(this),this._input.LA(1)){case 50:this.enterOuterAlt(e,1),this.state=173,this.match(R.STARTER_LXR),this.state=179,this._errHandler.sync(this),n=this._input.LA(1),n===30&&(this.state=174,this.match(R.OPAR),this.state=176,this._errHandler.sync(this),n=this._input.LA(1),(n===54||n===57)&&(this.state=175,this.starter()),this.state=178,this.match(R.CPAR));break;case 52:this.enterOuterAlt(e,2),this.state=181,this.match(R.ANNOTATION);break;default:throw new A.error.NoViableAltException(this)}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}starter(){let e=new Re(this,this._ctx,this.state);this.enterRule(e,10,R.RULE_starter);var n=0;try{this.enterOuterAlt(e,1),this.state=184,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}participant(){let e=new V9(this,this._ctx,this.state);this.enterRule(e,12,R.RULE_participant);var n=0;try{this.state=204,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,25,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=187,this._errHandler.sync(this),n=this._input.LA(1),n===52&&(this.state=186,this.participantType()),this.state=190,this._errHandler.sync(this),n=this._input.LA(1),(n===8||n===17)&&(this.state=189,this.stereotype()),this.state=192,this.name(),this.state=194,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,22,this._ctx);i===1&&(this.state=193,this.width()),this.state=197,this._errHandler.sync(this),n=this._input.LA(1),n===45&&(this.state=196,this.label()),this.state=200,this._errHandler.sync(this),n=this._input.LA(1),n===11&&(this.state=199,this.match(R.COLOR));break;case 2:this.enterOuterAlt(e,2),this.state=202,this.stereotype();break;case 3:this.enterOuterAlt(e,3),this.state=203,this.participantType();break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}stereotype(){let e=new Ze(this,this._ctx,this.state);this.enterRule(e,14,R.RULE_stereotype);var n=0;try{this.state=219,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,28,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=206,this.match(R.SOPEN),this.state=207,this.name(),this.state=208,this.match(R.SCLOSE);break;case 2:this.enterOuterAlt(e,2),this.state=210,this.match(R.SOPEN),this.state=211,this.name(),this.state=213,this._errHandler.sync(this),n=this._input.LA(1),n===16&&(this.state=212,this.match(R.GT));break;case 3:this.enterOuterAlt(e,3),this.state=215,n=this._input.LA(1),n===8||n===17?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=217,this._errHandler.sync(this),n=this._input.LA(1),(n===9||n===16)&&(this.state=216,n=this._input.LA(1),n===9||n===16?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this));break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}label(){let e=new Ae(this,this._ctx,this.state);this.enterRule(e,16,R.RULE_label);try{this.state=224,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,29,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=221,this.match(R.AS),this.state=222,this.name();break;case 2:this.enterOuterAlt(e,2),this.state=223,this.match(R.AS);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}participantType(){let e=new ke(this,this._ctx,this.state);this.enterRule(e,18,R.RULE_participantType);try{this.enterOuterAlt(e,1),this.state=226,this.match(R.ANNOTATION)}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}name(){let e=new G9(this,this._ctx,this.state);this.enterRule(e,20,R.RULE_name);var n=0;try{this.enterOuterAlt(e,1),this.state=228,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}width(){let e=new Se(this,this._ctx,this.state);this.enterRule(e,22,R.RULE_width);try{this.enterOuterAlt(e,1),this.state=230,this.match(R.INT)}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}block(){let e=new A8(this,this._ctx,this.state);this.enterRule(e,24,R.RULE_block);var n=0;try{this.enterOuterAlt(e,1),this.state=233,this._errHandler.sync(this),n=this._input.LA(1);do this.state=232,this.stat(),this.state=235,this._errHandler.sync(this),n=this._input.LA(1);while((n-34&-32)==0&&(1<<n-34&217191919)!==0)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}ret(){let e=new be(this,this._ctx,this.state);this.enterRule(e,26,R.RULE_ret);var n=0;try{switch(this.state=249,this._errHandler.sync(this),this._input.LA(1)){case 40:this.enterOuterAlt(e,1),this.state=237,this.match(R.RETURN),this.state=239,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,31,this._ctx);i===1&&(this.state=238,this.expr(0)),this.state=242,this._errHandler.sync(this),n=this._input.LA(1),n===27&&(this.state=241,this.match(R.SCOL));break;case 51:this.enterOuterAlt(e,2),this.state=244,this.match(R.ANNOTATION_RET),this.state=245,this.asyncMessage(),this.state=247,this._errHandler.sync(this),n=this._input.LA(1),n===63&&(this.state=246,this.match(R.EVENT_END));break;default:throw new A.error.NoViableAltException(this)}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}divider(){let e=new Te(this,this._ctx,this.state);this.enterRule(e,28,R.RULE_divider);try{this.enterOuterAlt(e,1),this.state=251,this.dividerNote()}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}dividerNote(){let e=new Ie(this,this._ctx,this.state);this.enterRule(e,30,R.RULE_dividerNote);try{this.enterOuterAlt(e,1),this.state=253,this.match(R.DIVIDER)}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}stat(){let e=new k8(this,this._ctx,this.state);this.enterRule(e,32,R.RULE_stat);var n=0;try{this.state=270,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,36,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=255,this.alt();break;case 2:this.enterOuterAlt(e,2),this.state=256,this.par();break;case 3:this.enterOuterAlt(e,3),this.state=257,this.opt();break;case 4:this.enterOuterAlt(e,4),this.state=258,this.loop();break;case 5:this.enterOuterAlt(e,5),this.state=259,this.creation();break;case 6:this.enterOuterAlt(e,6),this.state=260,this.message();break;case 7:this.enterOuterAlt(e,7),this.state=261,this.asyncMessage(),this.state=263,this._errHandler.sync(this),n=this._input.LA(1),n===63&&(this.state=262,this.match(R.EVENT_END));break;case 8:this.enterOuterAlt(e,8),this.state=265,this.ret();break;case 9:this.enterOuterAlt(e,9),this.state=266,this.divider();break;case 10:this.enterOuterAlt(e,10),this.state=267,this.tcf();break;case 11:this.enterOuterAlt(e,11),this.state=268,e._OTHER=this.match(R.OTHER),console.log("unknown char: "+(e._OTHER===null?null:e._OTHER.text));break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}par(){let e=new Ee(this,this._ctx,this.state);this.enterRule(e,34,R.RULE_par);try{this.state=275,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,37,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=272,this.match(R.PAR),this.state=273,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=274,this.match(R.PAR);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}opt(){let e=new Fe(this,this._ctx,this.state);this.enterRule(e,36,R.RULE_opt);try{this.state=280,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,38,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=277,this.match(R.OPT),this.state=278,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=279,this.match(R.OPT);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}creation(){let e=new S8(this,this._ctx,this.state);this.enterRule(e,38,R.RULE_creation);try{this.enterOuterAlt(e,1),this.state=282,this.creationBody(),this.state=285,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,39,this._ctx);n===1?(this.state=283,this.match(R.SCOL)):n===2&&(this.state=284,this.braceBlock())}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}creationBody(){let e=new Oe(this,this._ctx,this.state);this.enterRule(e,40,R.RULE_creationBody);var n=0;try{this.state=303,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,44,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=288,this._errHandler.sync(this),n=this._input.LA(1),(n-34&-32)==0&&(1<<n-34&15728647)!==0&&(this.state=287,this.assignment()),this.state=290,this.match(R.NEW),this.state=291,this.construct(),this.state=297,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,42,this._ctx);i===1&&(this.state=292,this.match(R.OPAR),this.state=294,this._errHandler.sync(this),n=this._input.LA(1),((n&-32)==0&&(1<<n&1142947840)!==0||(n-34&-32)==0&&(1<<n-34&15728775)!==0)&&(this.state=293,this.parameters()),this.state=296,this.match(R.CPAR));break;case 2:this.enterOuterAlt(e,2),this.state=300,this._errHandler.sync(this),n=this._input.LA(1),(n-34&-32)==0&&(1<<n-34&15728647)!==0&&(this.state=299,this.assignment()),this.state=302,this.match(R.NEW);break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}message(){let e=new De(this,this._ctx,this.state);this.enterRule(e,42,R.RULE_message);try{switch(this.enterOuterAlt(e,1),this.state=305,this.messageBody(),this.state=308,this._errHandler.sync(this),this._input.LA(1)){case 27:this.state=306,this.match(R.SCOL);break;case 32:this.state=307,this.braceBlock();break;case-1:case 33:case 34:case 35:case 36:case 37:case 39:case 40:case 41:case 42:case 44:case 46:case 51:case 54:case 55:case 56:case 57:case 60:case 61:break;default:break}}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}messageBody(){let e=new Ne(this,this._ctx,this.state);this.enterRule(e,44,R.RULE_messageBody);try{this.state=333,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,50,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=311,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,46,this._ctx);n===1&&(this.state=310,this.assignment()),this.state=321,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,48,this._ctx);if(n===1){this.state=316,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,47,this._ctx);n===1&&(this.state=313,this.from(),this.state=314,this.match(R.ARROW)),this.state=318,this.to(),this.state=319,this.match(R.DOT)}this.state=323,this.func();break;case 2:this.enterOuterAlt(e,2),this.state=324,this.assignment();break;case 3:this.enterOuterAlt(e,3),this.state=328,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,49,this._ctx);n===1&&(this.state=325,this.from(),this.state=326,this.match(R.ARROW)),this.state=330,this.to(),this.state=331,this.match(R.DOT);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}func(){let e=new b8(this,this._ctx,this.state);this.enterRule(e,46,R.RULE_func);try{this.enterOuterAlt(e,1),this.state=335,this.signature(),this.state=340,this._errHandler.sync(this);for(var n=this._interp.adaptivePredict(this._input,51,this._ctx);n!=2&&n!=A.atn.ATN.INVALID_ALT_NUMBER;)n===1&&(this.state=336,this.match(R.DOT),this.state=337,this.signature()),this.state=342,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,51,this._ctx)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}from(){let e=new T8(this,this._ctx,this.state);this.enterRule(e,48,R.RULE_from);var n=0;try{this.enterOuterAlt(e,1),this.state=343,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}to(){let e=new V0(this,this._ctx,this.state);this.enterRule(e,50,R.RULE_to);var n=0;try{this.enterOuterAlt(e,1),this.state=345,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}signature(){let e=new I8(this,this._ctx,this.state);this.enterRule(e,52,R.RULE_signature);try{this.enterOuterAlt(e,1),this.state=347,this.methodName(),this.state=349,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,52,this._ctx);n===1&&(this.state=348,this.invocation())}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}invocation(){let e=new E8(this,this._ctx,this.state);this.enterRule(e,54,R.RULE_invocation);var n=0;try{this.enterOuterAlt(e,1),this.state=351,this.match(R.OPAR),this.state=353,this._errHandler.sync(this),n=this._input.LA(1),((n&-32)==0&&(1<<n&1142947840)!==0||(n-34&-32)==0&&(1<<n-34&15728775)!==0)&&(this.state=352,this.parameters()),this.state=355,this.match(R.CPAR)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}assignment(){let e=new G0(this,this._ctx,this.state);this.enterRule(e,56,R.RULE_assignment);try{this.enterOuterAlt(e,1),this.state=358,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,54,this._ctx);n===1&&(this.state=357,this.type()),this.state=360,this.assignee(),this.state=361,this.match(R.ASSIGN)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}asyncMessage(){let e=new F8(this,this._ctx,this.state);this.enterRule(e,58,R.RULE_asyncMessage);var n=0;try{this.state=378,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,58,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=366,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,55,this._ctx);i===1&&(this.state=363,this.from(),this.state=364,this.match(R.ARROW)),this.state=368,this.to(),this.state=369,this.match(R.COL),this.state=371,this._errHandler.sync(this),n=this._input.LA(1),n===62&&(this.state=370,this.content());break;case 2:this.enterOuterAlt(e,2),this.state=373,this.from(),this.state=374,n=this._input.LA(1),n===10||n===21?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=376,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,57,this._ctx);i===1&&(this.state=375,this.to());break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}content(){let e=new Be(this,this._ctx,this.state);this.enterRule(e,60,R.RULE_content);try{this.enterOuterAlt(e,1),this.state=380,this.match(R.EVENT_PAYLOAD_LXR)}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}construct(){let e=new Pe(this,this._ctx,this.state);this.enterRule(e,62,R.RULE_construct);var n=0;try{this.enterOuterAlt(e,1),this.state=382,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}type(){let e=new O8(this,this._ctx,this.state);this.enterRule(e,64,R.RULE_type);var n=0;try{this.enterOuterAlt(e,1),this.state=384,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}assignee(){let e=new ze(this,this._ctx,this.state);this.enterRule(e,66,R.RULE_assignee);var n=0;try{this.state=396,this._errHandler.sync(this);var i=this._interp.adaptivePredict(this._input,60,this._ctx);switch(i){case 1:this.enterOuterAlt(e,1),this.state=386,this.atom();break;case 2:for(this.enterOuterAlt(e,2),this.state=387,this.match(R.ID),this.state=392,this._errHandler.sync(this),n=this._input.LA(1);n===28;)this.state=388,this.match(R.COMMA),this.state=389,this.match(R.ID),this.state=394,this._errHandler.sync(this),n=this._input.LA(1);break;case 3:this.enterOuterAlt(e,3),this.state=395,this.match(R.STRING);break}}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}methodName(){let e=new Ue(this,this._ctx,this.state);this.enterRule(e,68,R.RULE_methodName);var n=0;try{this.enterOuterAlt(e,1),this.state=398,n=this._input.LA(1),n===54||n===57?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}parameters(){let e=new D8(this,this._ctx,this.state);this.enterRule(e,70,R.RULE_parameters);var n=0;try{this.enterOuterAlt(e,1),this.state=400,this.parameter(),this.state=405,this._errHandler.sync(this);for(var i=this._interp.adaptivePredict(this._input,61,this._ctx);i!=2&&i!=A.atn.ATN.INVALID_ALT_NUMBER;)i===1&&(this.state=401,this.match(R.COMMA),this.state=402,this.parameter()),this.state=407,this._errHandler.sync(this),i=this._interp.adaptivePredict(this._input,61,this._ctx);this.state=409,this._errHandler.sync(this),n=this._input.LA(1),n===28&&(this.state=408,this.match(R.COMMA))}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}parameter(){let e=new N8(this,this._ctx,this.state);this.enterRule(e,72,R.RULE_parameter);try{this.state=413,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,63,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=411,this.declaration();break;case 2:this.enterOuterAlt(e,2),this.state=412,this.expr(0);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}declaration(){let e=new $e(this,this._ctx,this.state);this.enterRule(e,74,R.RULE_declaration);try{this.enterOuterAlt(e,1),this.state=415,this.type(),this.state=416,this.match(R.ID)}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}tcf(){let e=new We(this,this._ctx,this.state);this.enterRule(e,76,R.RULE_tcf);var n=0;try{for(this.enterOuterAlt(e,1),this.state=418,this.tryBlock(),this.state=422,this._errHandler.sync(this),n=this._input.LA(1);n===47;)this.state=419,this.catchBlock(),this.state=424,this._errHandler.sync(this),n=this._input.LA(1);this.state=426,this._errHandler.sync(this),n=this._input.LA(1),n===48&&(this.state=425,this.finallyBlock())}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}tryBlock(){let e=new He(this,this._ctx,this.state);this.enterRule(e,78,R.RULE_tryBlock);try{this.enterOuterAlt(e,1),this.state=428,this.match(R.TRY),this.state=429,this.braceBlock()}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}catchBlock(){let e=new B8(this,this._ctx,this.state);this.enterRule(e,80,R.RULE_catchBlock);var n=0;try{this.enterOuterAlt(e,1),this.state=431,this.match(R.CATCH),this.state=433,this._errHandler.sync(this),n=this._input.LA(1),n===30&&(this.state=432,this.invocation()),this.state=435,this.braceBlock()}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}finallyBlock(){let e=new Ve(this,this._ctx,this.state);this.enterRule(e,82,R.RULE_finallyBlock);try{this.enterOuterAlt(e,1),this.state=437,this.match(R.FINALLY),this.state=438,this.braceBlock()}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}alt(){let e=new Ge(this,this._ctx,this.state);this.enterRule(e,84,R.RULE_alt);var n=0;try{this.enterOuterAlt(e,1),this.state=440,this.ifBlock(),this.state=444,this._errHandler.sync(this);for(var i=this._interp.adaptivePredict(this._input,67,this._ctx);i!=2&&i!=A.atn.ATN.INVALID_ALT_NUMBER;)i===1&&(this.state=441,this.elseIfBlock()),this.state=446,this._errHandler.sync(this),i=this._interp.adaptivePredict(this._input,67,this._ctx);this.state=448,this._errHandler.sync(this),n=this._input.LA(1),n===38&&(this.state=447,this.elseBlock())}catch(s){if(s instanceof A.error.RecognitionException)e.exception=s,this._errHandler.reportError(this,s),this._errHandler.recover(this,s);else throw s}finally{this.exitRule()}return e}ifBlock(){let e=new je(this,this._ctx,this.state);this.enterRule(e,86,R.RULE_ifBlock);try{this.enterOuterAlt(e,1),this.state=450,this.match(R.IF),this.state=451,this.parExpr(),this.state=452,this.braceBlock()}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}elseIfBlock(){let e=new P8(this,this._ctx,this.state);this.enterRule(e,88,R.RULE_elseIfBlock);try{this.enterOuterAlt(e,1),this.state=454,this.match(R.ELSE),this.state=455,this.match(R.IF),this.state=456,this.parExpr(),this.state=457,this.braceBlock()}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}elseBlock(){let e=new qe(this,this._ctx,this.state);this.enterRule(e,90,R.RULE_elseBlock);try{this.enterOuterAlt(e,1),this.state=459,this.match(R.ELSE),this.state=460,this.braceBlock()}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}braceBlock(){let e=new s3(this,this._ctx,this.state);this.enterRule(e,92,R.RULE_braceBlock);var n=0;try{this.enterOuterAlt(e,1),this.state=462,this.match(R.OBRACE),this.state=464,this._errHandler.sync(this),n=this._input.LA(1),(n-34&-32)==0&&(1<<n-34&217191919)!==0&&(this.state=463,this.block()),this.state=466,this.match(R.CBRACE)}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}loop(){let e=new Ke(this,this._ctx,this.state);this.enterRule(e,94,R.RULE_loop);try{this.state=475,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,70,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=468,this.match(R.WHILE),this.state=469,this.parExpr(),this.state=470,this.braceBlock();break;case 2:this.enterOuterAlt(e,2),this.state=472,this.match(R.WHILE),this.state=473,this.parExpr();break;case 3:this.enterOuterAlt(e,3),this.state=474,this.match(R.WHILE);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}expr(e){e===void 0&&(e=0);const n=this._ctx,i=this.state;let s=new y2(this,this._ctx,i),r=s;const o=96;this.enterRecursionRule(s,96,R.RULE_expr,e);var l=0;try{this.enterOuterAlt(s,1),this.state=497,this._errHandler.sync(this);var L=this._interp.adaptivePredict(this._input,72,this._ctx);switch(L){case 1:s=new eo(this,s),this._ctx=s,r=s,this.state=478,this.atom();break;case 2:s=new oo(this,s),this._ctx=s,r=s,this.state=479,this.match(R.MINUS),this.state=480,this.expr(13);break;case 3:s=new ro(this,s),this._ctx=s,r=s,this.state=481,this.match(R.NOT),this.state=482,this.expr(12);break;case 4:s=new Jr(this,s),this._ctx=s,r=s,this.state=486,this._errHandler.sync(this);var L=this._interp.adaptivePredict(this._input,71,this._ctx);L===1&&(this.state=483,this.to(),this.state=484,this.match(R.DOT)),this.state=488,this.func();break;case 5:s=new lo(this,s),this._ctx=s,r=s,this.state=489,this.creation();break;case 6:s=new Lo(this,s),this._ctx=s,r=s,this.state=490,this.match(R.OPAR),this.state=491,this.expr(0),this.state=492,this.match(R.CPAR);break;case 7:s=new Xr(this,s),this._ctx=s,r=s,this.state=494,this.assignment(),this.state=495,this.expr(1);break}this._ctx.stop=this._input.LT(-1),this.state=522,this._errHandler.sync(this);for(var a=this._interp.adaptivePredict(this._input,74,this._ctx);a!=2&&a!=A.atn.ATN.INVALID_ALT_NUMBER;){if(a===1){this._parseListeners!==null&&this.triggerExitRuleEvent(),r=s,this.state=520,this._errHandler.sync(this);var L=this._interp.adaptivePredict(this._input,73,this._ctx);switch(L){case 1:if(s=new ao(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=499,!this.precpred(this._ctx,11))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=500,s.op=this._input.LT(1),l=this._input.LA(1),(l&-32)==0&&(1<<l&29360128)!==0?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=501,this.expr(12);break;case 2:if(s=new no(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=502,!this.precpred(this._ctx,10))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=503,s.op=this._input.LT(1),l=this._input.LA(1),l===20||l===21?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=504,this.expr(11);break;case 3:if(s=new io(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=505,!this.precpred(this._ctx,9))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=506,s.op=this._input.LT(1),l=this._input.LA(1),(l&-32)==0&&(1<<l&983040)!==0?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=507,this.expr(10);break;case 4:if(s=new co(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=508,!this.precpred(this._ctx,8))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=509,s.op=this._input.LT(1),l=this._input.LA(1),l===14||l===15?(this._errHandler.reportMatch(this),this.consume()):s.op=this._errHandler.recoverInline(this),this.state=510,this.expr(9);break;case 5:if(s=new Co(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=511,!this.precpred(this._ctx,7))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=512,this.match(R.AND),this.state=513,this.expr(8);break;case 6:if(s=new to(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=514,!this.precpred(this._ctx,6))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=515,this.match(R.OR),this.state=516,this.expr(7);break;case 7:if(s=new so(this,new y2(this,n,i)),this.pushNewRecursionContext(s,o,R.RULE_expr),this.state=517,!this.precpred(this._ctx,5))throw new A.error.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=518,this.match(R.PLUS),this.state=519,this.expr(6);break}}this.state=524,this._errHandler.sync(this),a=this._interp.adaptivePredict(this._input,74,this._ctx)}}catch(c){if(c instanceof A.error.RecognitionException)s.exception=c,this._errHandler.reportError(this,c),this._errHandler.recover(this,c);else throw c}finally{this.unrollRecursionContexts(n)}return s}atom(){let e=new z3(this,this._ctx,this.state);this.enterRule(e,98,R.RULE_atom);var n=0;try{switch(this.state=530,this._errHandler.sync(this),this._input.LA(1)){case 55:case 56:e=new po(this,e),this.enterOuterAlt(e,1),this.state=525,n=this._input.LA(1),n===55||n===56?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 34:case 35:e=new uo(this,e),this.enterOuterAlt(e,2),this.state=526,n=this._input.LA(1),n===34||n===35?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this);break;case 54:e=new ho(this,e),this.enterOuterAlt(e,3),this.state=527,this.match(R.ID);break;case 57:e=new fo(this,e),this.enterOuterAlt(e,4),this.state=528,this.match(R.STRING);break;case 36:e=new go(this,e),this.enterOuterAlt(e,5),this.state=529,this.match(R.NIL);break;default:throw new A.error.NoViableAltException(this)}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}parExpr(){let e=new j0(this,this._ctx,this.state);this.enterRule(e,100,R.RULE_parExpr);try{this.state=541,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,76,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=532,this.match(R.OPAR),this.state=533,this.condition(),this.state=534,this.match(R.CPAR);break;case 2:this.enterOuterAlt(e,2),this.state=536,this.match(R.OPAR),this.state=537,this.condition();break;case 3:this.enterOuterAlt(e,3),this.state=538,this.match(R.OPAR),this.state=539,this.match(R.CPAR);break;case 4:this.enterOuterAlt(e,4),this.state=540,this.match(R.OPAR);break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}condition(){let e=new Ye(this,this._ctx,this.state);this.enterRule(e,102,R.RULE_condition);try{this.state=546,this._errHandler.sync(this);var n=this._interp.adaptivePredict(this._input,77,this._ctx);switch(n){case 1:this.enterOuterAlt(e,1),this.state=543,this.atom();break;case 2:this.enterOuterAlt(e,2),this.state=544,this.expr(0);break;case 3:this.enterOuterAlt(e,3),this.state=545,this.inExpr();break}}catch(i){if(i instanceof A.error.RecognitionException)e.exception=i,this._errHandler.reportError(this,i),this._errHandler.recover(this,i);else throw i}finally{this.exitRule()}return e}inExpr(){let e=new Qe(this,this._ctx,this.state);this.enterRule(e,104,R.RULE_inExpr);try{this.enterOuterAlt(e,1),this.state=548,this.match(R.ID),this.state=549,this.match(R.IN),this.state=550,this.match(R.ID)}catch(n){if(n instanceof A.error.RecognitionException)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}};let d=R;J(d,"grammarFileName","java-escape"),J(d,"literalNames",[null,null,"'const'","'readonly'","'static'","'await'","'title'","':'","'<<'","'>>'","'->'",null,"'||'","'&&'","'=='","'!='","'>'","'<'","'>='","'<='","'+'","'-'","'*'","'/'","'%'","'^'","'!'","';'","','","'='","'('","')'","'{'","'}'","'true'","'false'",null,"'if'","'else'",null,"'return'","'new'","'par'","'group'","'opt'","'as'","'try'","'catch'","'finally'","'in'",null,null,null,"'.'"]),J(d,"symbolicNames",[null,"WS","CONSTANT","READONLY","STATIC","AWAIT","TITLE","COL","SOPEN","SCLOSE","ARROW","COLOR","OR","AND","EQ","NEQ","GT","LT","GTEQ","LTEQ","PLUS","MINUS","MULT","DIV","MOD","POW","NOT","SCOL","COMMA","ASSIGN","OPAR","CPAR","OBRACE","CBRACE","TRUE","FALSE","NIL","IF","ELSE","WHILE","RETURN","NEW","PAR","GROUP","OPT","AS","TRY","CATCH","FINALLY","IN","STARTER_LXR","ANNOTATION_RET","ANNOTATION","DOT","ID","INT","FLOAT","STRING","CR","COMMENT","OTHER","DIVIDER","EVENT_PAYLOAD_LXR","EVENT_END","TITLE_CONTENT","TITLE_END"]),J(d,"ruleNames",["prog","title","head","group","starterExp","starter","participant","stereotype","label","participantType","name","width","block","ret","divider","dividerNote","stat","par","opt","creation","creationBody","message","messageBody","func","from","to","signature","invocation","assignment","asyncMessage","content","construct","type","assignee","methodName","parameters","parameter","declaration","tcf","tryBlock","catchBlock","finallyBlock","alt","ifBlock","elseIfBlock","elseBlock","braceBlock","loop","expr","atom","parExpr","condition","inExpr"]),d.EOF=A.Token.EOF,d.WS=1,d.CONSTANT=2,d.READONLY=3,d.STATIC=4,d.AWAIT=5,d.TITLE=6,d.COL=7,d.SOPEN=8,d.SCLOSE=9,d.ARROW=10,d.COLOR=11,d.OR=12,d.AND=13,d.EQ=14,d.NEQ=15,d.GT=16,d.LT=17,d.GTEQ=18,d.LTEQ=19,d.PLUS=20,d.MINUS=21,d.MULT=22,d.DIV=23,d.MOD=24,d.POW=25,d.NOT=26,d.SCOL=27,d.COMMA=28,d.ASSIGN=29,d.OPAR=30,d.CPAR=31,d.OBRACE=32,d.CBRACE=33,d.TRUE=34,d.FALSE=35,d.NIL=36,d.IF=37,d.ELSE=38,d.WHILE=39,d.RETURN=40,d.NEW=41,d.PAR=42,d.GROUP=43,d.OPT=44,d.AS=45,d.TRY=46,d.CATCH=47,d.FINALLY=48,d.IN=49,d.STARTER_LXR=50,d.ANNOTATION_RET=51,d.ANNOTATION=52,d.DOT=53,d.ID=54,d.INT=55,d.FLOAT=56,d.STRING=57,d.CR=58,d.COMMENT=59,d.OTHER=60,d.DIVIDER=61,d.EVENT_PAYLOAD_LXR=62,d.EVENT_END=63,d.TITLE_CONTENT=64,d.TITLE_END=65,d.RULE_prog=0,d.RULE_title=1,d.RULE_head=2,d.RULE_group=3,d.RULE_starterExp=4,d.RULE_starter=5,d.RULE_participant=6,d.RULE_stereotype=7,d.RULE_label=8,d.RULE_participantType=9,d.RULE_name=10,d.RULE_width=11,d.RULE_block=12,d.RULE_ret=13,d.RULE_divider=14,d.RULE_dividerNote=15,d.RULE_stat=16,d.RULE_par=17,d.RULE_opt=18,d.RULE_creation=19,d.RULE_creationBody=20,d.RULE_message=21,d.RULE_messageBody=22,d.RULE_func=23,d.RULE_from=24,d.RULE_to=25,d.RULE_signature=26,d.RULE_invocation=27,d.RULE_assignment=28,d.RULE_asyncMessage=29,d.RULE_content=30,d.RULE_construct=31,d.RULE_type=32,d.RULE_assignee=33,d.RULE_methodName=34,d.RULE_parameters=35,d.RULE_parameter=36,d.RULE_declaration=37,d.RULE_tcf=38,d.RULE_tryBlock=39,d.RULE_catchBlock=40,d.RULE_finallyBlock=41,d.RULE_alt=42,d.RULE_ifBlock=43,d.RULE_elseIfBlock=44,d.RULE_elseBlock=45,d.RULE_braceBlock=46,d.RULE_loop=47,d.RULE_expr=48,d.RULE_atom=49,d.RULE_parExpr=50,d.RULE_condition=51,d.RULE_inExpr=52;class Qr extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_prog}EOF(){return this.getToken(d.EOF,0)}title(){return this.getTypedRuleContext(_e,0)}head(){return this.getTypedRuleContext(Me,0)}block(){return this.getTypedRuleContext(A8,0)}enterRule(e){e instanceof S&&e.enterProg(this)}exitRule(e){e instanceof S&&e.exitProg(this)}}class _e extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_title}TITLE(){return this.getToken(d.TITLE,0)}TITLE_CONTENT(){return this.getToken(d.TITLE_CONTENT,0)}TITLE_END(){return this.getToken(d.TITLE_END,0)}enterRule(e){e instanceof S&&e.enterTitle(this)}exitRule(e){e instanceof S&&e.exitTitle(this)}}class Me extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"group",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(Z8):this.getTypedRuleContext(Z8,n)});J(this,"participant",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(V9):this.getTypedRuleContext(V9,n)});this.parser=n,this.ruleIndex=d.RULE_head}starterExp(){return this.getTypedRuleContext(ye,0)}enterRule(n){n instanceof S&&n.enterHead(this)}exitRule(n){n instanceof S&&n.exitHead(this)}}class Z8 extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"participant",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(V9):this.getTypedRuleContext(V9,n)});this.parser=n,this.ruleIndex=d.RULE_group}GROUP(){return this.getToken(d.GROUP,0)}OBRACE(){return this.getToken(d.OBRACE,0)}CBRACE(){return this.getToken(d.CBRACE,0)}name(){return this.getTypedRuleContext(G9,0)}enterRule(n){n instanceof S&&n.enterGroup(this)}exitRule(n){n instanceof S&&n.exitGroup(this)}}class ye extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_starterExp}STARTER_LXR(){return this.getToken(d.STARTER_LXR,0)}OPAR(){return this.getToken(d.OPAR,0)}CPAR(){return this.getToken(d.CPAR,0)}starter(){return this.getTypedRuleContext(Re,0)}ANNOTATION(){return this.getToken(d.ANNOTATION,0)}enterRule(e){e instanceof S&&e.enterStarterExp(this)}exitRule(e){e instanceof S&&e.exitStarterExp(this)}}class Re extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_starter}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterStarter(this)}exitRule(e){e instanceof S&&e.exitStarter(this)}}class V9 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_participant}name(){return this.getTypedRuleContext(G9,0)}participantType(){return this.getTypedRuleContext(ke,0)}stereotype(){return this.getTypedRuleContext(Ze,0)}width(){return this.getTypedRuleContext(Se,0)}label(){return this.getTypedRuleContext(Ae,0)}COLOR(){return this.getToken(d.COLOR,0)}enterRule(e){e instanceof S&&e.enterParticipant(this)}exitRule(e){e instanceof S&&e.exitParticipant(this)}}class Ze extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_stereotype}SOPEN(){return this.getToken(d.SOPEN,0)}name(){return this.getTypedRuleContext(G9,0)}SCLOSE(){return this.getToken(d.SCLOSE,0)}GT(){return this.getToken(d.GT,0)}LT(){return this.getToken(d.LT,0)}enterRule(e){e instanceof S&&e.enterStereotype(this)}exitRule(e){e instanceof S&&e.exitStereotype(this)}}class Ae extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_label}AS(){return this.getToken(d.AS,0)}name(){return this.getTypedRuleContext(G9,0)}enterRule(e){e instanceof S&&e.enterLabel(this)}exitRule(e){e instanceof S&&e.exitLabel(this)}}class ke extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_participantType}ANNOTATION(){return this.getToken(d.ANNOTATION,0)}enterRule(e){e instanceof S&&e.enterParticipantType(this)}exitRule(e){e instanceof S&&e.exitParticipantType(this)}}class G9 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_name}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterName(this)}exitRule(e){e instanceof S&&e.exitName(this)}}class Se extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_width}INT(){return this.getToken(d.INT,0)}enterRule(e){e instanceof S&&e.enterWidth(this)}exitRule(e){e instanceof S&&e.exitWidth(this)}}class A8 extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"stat",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(k8):this.getTypedRuleContext(k8,n)});this.parser=n,this.ruleIndex=d.RULE_block}enterRule(n){n instanceof S&&n.enterBlock(this)}exitRule(n){n instanceof S&&n.exitBlock(this)}}class be extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_ret}RETURN(){return this.getToken(d.RETURN,0)}expr(){return this.getTypedRuleContext(y2,0)}SCOL(){return this.getToken(d.SCOL,0)}ANNOTATION_RET(){return this.getToken(d.ANNOTATION_RET,0)}asyncMessage(){return this.getTypedRuleContext(F8,0)}EVENT_END(){return this.getToken(d.EVENT_END,0)}enterRule(e){e instanceof S&&e.enterRet(this)}exitRule(e){e instanceof S&&e.exitRet(this)}}class Te extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_divider}dividerNote(){return this.getTypedRuleContext(Ie,0)}enterRule(e){e instanceof S&&e.enterDivider(this)}exitRule(e){e instanceof S&&e.exitDivider(this)}}class Ie extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_dividerNote}DIVIDER(){return this.getToken(d.DIVIDER,0)}enterRule(e){e instanceof S&&e.enterDividerNote(this)}exitRule(e){e instanceof S&&e.exitDividerNote(this)}}class k8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_stat,this._OTHER=null}alt(){return this.getTypedRuleContext(Ge,0)}par(){return this.getTypedRuleContext(Ee,0)}opt(){return this.getTypedRuleContext(Fe,0)}loop(){return this.getTypedRuleContext(Ke,0)}creation(){return this.getTypedRuleContext(S8,0)}message(){return this.getTypedRuleContext(De,0)}asyncMessage(){return this.getTypedRuleContext(F8,0)}EVENT_END(){return this.getToken(d.EVENT_END,0)}ret(){return this.getTypedRuleContext(be,0)}divider(){return this.getTypedRuleContext(Te,0)}tcf(){return this.getTypedRuleContext(We,0)}OTHER(){return this.getToken(d.OTHER,0)}enterRule(e){e instanceof S&&e.enterStat(this)}exitRule(e){e instanceof S&&e.exitStat(this)}}class Ee extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_par}PAR(){return this.getToken(d.PAR,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterPar(this)}exitRule(e){e instanceof S&&e.exitPar(this)}}class Fe extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_opt}OPT(){return this.getToken(d.OPT,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterOpt(this)}exitRule(e){e instanceof S&&e.exitOpt(this)}}class S8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_creation}creationBody(){return this.getTypedRuleContext(Oe,0)}SCOL(){return this.getToken(d.SCOL,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterCreation(this)}exitRule(e){e instanceof S&&e.exitCreation(this)}}class Oe extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_creationBody}NEW(){return this.getToken(d.NEW,0)}construct(){return this.getTypedRuleContext(Pe,0)}assignment(){return this.getTypedRuleContext(G0,0)}OPAR(){return this.getToken(d.OPAR,0)}CPAR(){return this.getToken(d.CPAR,0)}parameters(){return this.getTypedRuleContext(D8,0)}enterRule(e){e instanceof S&&e.enterCreationBody(this)}exitRule(e){e instanceof S&&e.exitCreationBody(this)}}class De extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_message}messageBody(){return this.getTypedRuleContext(Ne,0)}SCOL(){return this.getToken(d.SCOL,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterMessage(this)}exitRule(e){e instanceof S&&e.exitMessage(this)}}class Ne extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_messageBody}func(){return this.getTypedRuleContext(b8,0)}assignment(){return this.getTypedRuleContext(G0,0)}to(){return this.getTypedRuleContext(V0,0)}DOT(){return this.getToken(d.DOT,0)}from(){return this.getTypedRuleContext(T8,0)}ARROW(){return this.getToken(d.ARROW,0)}enterRule(e){e instanceof S&&e.enterMessageBody(this)}exitRule(e){e instanceof S&&e.exitMessageBody(this)}}class b8 extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"signature",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(I8):this.getTypedRuleContext(I8,n)});J(this,"DOT",function(n){return n===void 0&&(n=null),n===null?this.getTokens(d.DOT):this.getToken(d.DOT,n)});this.parser=n,this.ruleIndex=d.RULE_func}enterRule(n){n instanceof S&&n.enterFunc(this)}exitRule(n){n instanceof S&&n.exitFunc(this)}}class T8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_from}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterFrom(this)}exitRule(e){e instanceof S&&e.exitFrom(this)}}class V0 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_to}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterTo(this)}exitRule(e){e instanceof S&&e.exitTo(this)}}class I8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_signature}methodName(){return this.getTypedRuleContext(Ue,0)}invocation(){return this.getTypedRuleContext(E8,0)}enterRule(e){e instanceof S&&e.enterSignature(this)}exitRule(e){e instanceof S&&e.exitSignature(this)}}class E8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_invocation}OPAR(){return this.getToken(d.OPAR,0)}CPAR(){return this.getToken(d.CPAR,0)}parameters(){return this.getTypedRuleContext(D8,0)}enterRule(e){e instanceof S&&e.enterInvocation(this)}exitRule(e){e instanceof S&&e.exitInvocation(this)}}class G0 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_assignment}assignee(){return this.getTypedRuleContext(ze,0)}ASSIGN(){return this.getToken(d.ASSIGN,0)}type(){return this.getTypedRuleContext(O8,0)}enterRule(e){e instanceof S&&e.enterAssignment(this)}exitRule(e){e instanceof S&&e.exitAssignment(this)}}class F8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_asyncMessage}to(){return this.getTypedRuleContext(V0,0)}COL(){return this.getToken(d.COL,0)}from(){return this.getTypedRuleContext(T8,0)}ARROW(){return this.getToken(d.ARROW,0)}content(){return this.getTypedRuleContext(Be,0)}MINUS(){return this.getToken(d.MINUS,0)}enterRule(e){e instanceof S&&e.enterAsyncMessage(this)}exitRule(e){e instanceof S&&e.exitAsyncMessage(this)}}class Be extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_content}EVENT_PAYLOAD_LXR(){return this.getToken(d.EVENT_PAYLOAD_LXR,0)}enterRule(e){e instanceof S&&e.enterContent(this)}exitRule(e){e instanceof S&&e.exitContent(this)}}class Pe extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_construct}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterConstruct(this)}exitRule(e){e instanceof S&&e.exitConstruct(this)}}class O8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_type}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterType(this)}exitRule(e){e instanceof S&&e.exitType(this)}}class ze extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"ID",function(n){return n===void 0&&(n=null),n===null?this.getTokens(d.ID):this.getToken(d.ID,n)});J(this,"COMMA",function(n){return n===void 0&&(n=null),n===null?this.getTokens(d.COMMA):this.getToken(d.COMMA,n)});this.parser=n,this.ruleIndex=d.RULE_assignee}atom(){return this.getTypedRuleContext(z3,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(n){n instanceof S&&n.enterAssignee(this)}exitRule(n){n instanceof S&&n.exitAssignee(this)}}class Ue extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_methodName}ID(){return this.getToken(d.ID,0)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterMethodName(this)}exitRule(e){e instanceof S&&e.exitMethodName(this)}}class D8 extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"parameter",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(N8):this.getTypedRuleContext(N8,n)});J(this,"COMMA",function(n){return n===void 0&&(n=null),n===null?this.getTokens(d.COMMA):this.getToken(d.COMMA,n)});this.parser=n,this.ruleIndex=d.RULE_parameters}enterRule(n){n instanceof S&&n.enterParameters(this)}exitRule(n){n instanceof S&&n.exitParameters(this)}}class N8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_parameter}declaration(){return this.getTypedRuleContext($e,0)}expr(){return this.getTypedRuleContext(y2,0)}enterRule(e){e instanceof S&&e.enterParameter(this)}exitRule(e){e instanceof S&&e.exitParameter(this)}}class $e extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_declaration}type(){return this.getTypedRuleContext(O8,0)}ID(){return this.getToken(d.ID,0)}enterRule(e){e instanceof S&&e.enterDeclaration(this)}exitRule(e){e instanceof S&&e.exitDeclaration(this)}}class We extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"catchBlock",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(B8):this.getTypedRuleContext(B8,n)});this.parser=n,this.ruleIndex=d.RULE_tcf}tryBlock(){return this.getTypedRuleContext(He,0)}finallyBlock(){return this.getTypedRuleContext(Ve,0)}enterRule(n){n instanceof S&&n.enterTcf(this)}exitRule(n){n instanceof S&&n.exitTcf(this)}}class He extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_tryBlock}TRY(){return this.getToken(d.TRY,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterTryBlock(this)}exitRule(e){e instanceof S&&e.exitTryBlock(this)}}class B8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_catchBlock}CATCH(){return this.getToken(d.CATCH,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}invocation(){return this.getTypedRuleContext(E8,0)}enterRule(e){e instanceof S&&e.enterCatchBlock(this)}exitRule(e){e instanceof S&&e.exitCatchBlock(this)}}class Ve extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_finallyBlock}FINALLY(){return this.getToken(d.FINALLY,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterFinallyBlock(this)}exitRule(e){e instanceof S&&e.exitFinallyBlock(this)}}class Ge extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"elseIfBlock",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(P8):this.getTypedRuleContext(P8,n)});this.parser=n,this.ruleIndex=d.RULE_alt}ifBlock(){return this.getTypedRuleContext(je,0)}elseBlock(){return this.getTypedRuleContext(qe,0)}enterRule(n){n instanceof S&&n.enterAlt(this)}exitRule(n){n instanceof S&&n.exitAlt(this)}}class je extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_ifBlock}IF(){return this.getToken(d.IF,0)}parExpr(){return this.getTypedRuleContext(j0,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterIfBlock(this)}exitRule(e){e instanceof S&&e.exitIfBlock(this)}}class P8 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_elseIfBlock}ELSE(){return this.getToken(d.ELSE,0)}IF(){return this.getToken(d.IF,0)}parExpr(){return this.getTypedRuleContext(j0,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterElseIfBlock(this)}exitRule(e){e instanceof S&&e.exitElseIfBlock(this)}}class qe extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_elseBlock}ELSE(){return this.getToken(d.ELSE,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterElseBlock(this)}exitRule(e){e instanceof S&&e.exitElseBlock(this)}}class s3 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_braceBlock}OBRACE(){return this.getToken(d.OBRACE,0)}CBRACE(){return this.getToken(d.CBRACE,0)}block(){return this.getTypedRuleContext(A8,0)}enterRule(e){e instanceof S&&e.enterBraceBlock(this)}exitRule(e){e instanceof S&&e.exitBraceBlock(this)}}class Ke extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_loop}WHILE(){return this.getToken(d.WHILE,0)}parExpr(){return this.getTypedRuleContext(j0,0)}braceBlock(){return this.getTypedRuleContext(s3,0)}enterRule(e){e instanceof S&&e.enterLoop(this)}exitRule(e){e instanceof S&&e.exitLoop(this)}}class y2 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_expr}copyFrom(e){super.copyFrom(e)}}class Xr extends y2{constructor(e,n){super(e),super.copyFrom(n)}assignment(){return this.getTypedRuleContext(G0,0)}expr(){return this.getTypedRuleContext(y2,0)}enterRule(e){e instanceof S&&e.enterAssignmentExpr(this)}exitRule(e){e instanceof S&&e.exitAssignmentExpr(this)}}d.AssignmentExprContext=Xr;class Jr extends y2{constructor(e,n){super(e),super.copyFrom(n)}func(){return this.getTypedRuleContext(b8,0)}to(){return this.getTypedRuleContext(V0,0)}DOT(){return this.getToken(d.DOT,0)}enterRule(e){e instanceof S&&e.enterFuncExpr(this)}exitRule(e){e instanceof S&&e.exitFuncExpr(this)}}d.FuncExprContext=Jr;class eo extends y2{constructor(e,n){super(e),super.copyFrom(n)}atom(){return this.getTypedRuleContext(z3,0)}enterRule(e){e instanceof S&&e.enterAtomExpr(this)}exitRule(e){e instanceof S&&e.exitAtomExpr(this)}}d.AtomExprContext=eo;class to extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});super.copyFrom(i)}OR(){return this.getToken(d.OR,0)}enterRule(n){n instanceof S&&n.enterOrExpr(this)}exitRule(n){n instanceof S&&n.exitOrExpr(this)}}d.OrExprContext=to;class no extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});this.op=null,super.copyFrom(i)}PLUS(){return this.getToken(d.PLUS,0)}MINUS(){return this.getToken(d.MINUS,0)}enterRule(n){n instanceof S&&n.enterAdditiveExpr(this)}exitRule(n){n instanceof S&&n.exitAdditiveExpr(this)}}d.AdditiveExprContext=no;class io extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});this.op=null,super.copyFrom(i)}LTEQ(){return this.getToken(d.LTEQ,0)}GTEQ(){return this.getToken(d.GTEQ,0)}LT(){return this.getToken(d.LT,0)}GT(){return this.getToken(d.GT,0)}enterRule(n){n instanceof S&&n.enterRelationalExpr(this)}exitRule(n){n instanceof S&&n.exitRelationalExpr(this)}}d.RelationalExprContext=io;class so extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});super.copyFrom(i)}PLUS(){return this.getToken(d.PLUS,0)}enterRule(n){n instanceof S&&n.enterPlusExpr(this)}exitRule(n){n instanceof S&&n.exitPlusExpr(this)}}d.PlusExprContext=so;class ro extends y2{constructor(e,n){super(e),super.copyFrom(n)}NOT(){return this.getToken(d.NOT,0)}expr(){return this.getTypedRuleContext(y2,0)}enterRule(e){e instanceof S&&e.enterNotExpr(this)}exitRule(e){e instanceof S&&e.exitNotExpr(this)}}d.NotExprContext=ro;class oo extends y2{constructor(e,n){super(e),super.copyFrom(n)}MINUS(){return this.getToken(d.MINUS,0)}expr(){return this.getTypedRuleContext(y2,0)}enterRule(e){e instanceof S&&e.enterUnaryMinusExpr(this)}exitRule(e){e instanceof S&&e.exitUnaryMinusExpr(this)}}d.UnaryMinusExprContext=oo;class lo extends y2{constructor(e,n){super(e),super.copyFrom(n)}creation(){return this.getTypedRuleContext(S8,0)}enterRule(e){e instanceof S&&e.enterCreationExpr(this)}exitRule(e){e instanceof S&&e.exitCreationExpr(this)}}d.CreationExprContext=lo;class Lo extends y2{constructor(e,n){super(e),super.copyFrom(n)}OPAR(){return this.getToken(d.OPAR,0)}expr(){return this.getTypedRuleContext(y2,0)}CPAR(){return this.getToken(d.CPAR,0)}enterRule(e){e instanceof S&&e.enterParenthesizedExpr(this)}exitRule(e){e instanceof S&&e.exitParenthesizedExpr(this)}}d.ParenthesizedExprContext=Lo;class ao extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});this.op=null,super.copyFrom(i)}MULT(){return this.getToken(d.MULT,0)}DIV(){return this.getToken(d.DIV,0)}MOD(){return this.getToken(d.MOD,0)}enterRule(n){n instanceof S&&n.enterMultiplicationExpr(this)}exitRule(n){n instanceof S&&n.exitMultiplicationExpr(this)}}d.MultiplicationExprContext=ao;class co extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});this.op=null,super.copyFrom(i)}EQ(){return this.getToken(d.EQ,0)}NEQ(){return this.getToken(d.NEQ,0)}enterRule(n){n instanceof S&&n.enterEqualityExpr(this)}exitRule(n){n instanceof S&&n.exitEqualityExpr(this)}}d.EqualityExprContext=co;class Co extends y2{constructor(n,i){super(n);J(this,"expr",function(n){return n===void 0&&(n=null),n===null?this.getTypedRuleContexts(y2):this.getTypedRuleContext(y2,n)});super.copyFrom(i)}AND(){return this.getToken(d.AND,0)}enterRule(n){n instanceof S&&n.enterAndExpr(this)}exitRule(n){n instanceof S&&n.exitAndExpr(this)}}d.AndExprContext=Co;class z3 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_atom}copyFrom(e){super.copyFrom(e)}}class uo extends z3{constructor(e,n){super(e),super.copyFrom(n)}TRUE(){return this.getToken(d.TRUE,0)}FALSE(){return this.getToken(d.FALSE,0)}enterRule(e){e instanceof S&&e.enterBooleanAtom(this)}exitRule(e){e instanceof S&&e.exitBooleanAtom(this)}}d.BooleanAtomContext=uo;class ho extends z3{constructor(e,n){super(e),super.copyFrom(n)}ID(){return this.getToken(d.ID,0)}enterRule(e){e instanceof S&&e.enterIdAtom(this)}exitRule(e){e instanceof S&&e.exitIdAtom(this)}}d.IdAtomContext=ho;class fo extends z3{constructor(e,n){super(e),super.copyFrom(n)}STRING(){return this.getToken(d.STRING,0)}enterRule(e){e instanceof S&&e.enterStringAtom(this)}exitRule(e){e instanceof S&&e.exitStringAtom(this)}}d.StringAtomContext=fo;class go extends z3{constructor(e,n){super(e),super.copyFrom(n)}NIL(){return this.getToken(d.NIL,0)}enterRule(e){e instanceof S&&e.enterNilAtom(this)}exitRule(e){e instanceof S&&e.exitNilAtom(this)}}d.NilAtomContext=go;class po extends z3{constructor(e,n){super(e),super.copyFrom(n)}INT(){return this.getToken(d.INT,0)}FLOAT(){return this.getToken(d.FLOAT,0)}enterRule(e){e instanceof S&&e.enterNumberAtom(this)}exitRule(e){e instanceof S&&e.exitNumberAtom(this)}}d.NumberAtomContext=po;class j0 extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_parExpr}OPAR(){return this.getToken(d.OPAR,0)}condition(){return this.getTypedRuleContext(Ye,0)}CPAR(){return this.getToken(d.CPAR,0)}enterRule(e){e instanceof S&&e.enterParExpr(this)}exitRule(e){e instanceof S&&e.exitParExpr(this)}}class Ye extends A.ParserRuleContext{constructor(e,n,i){n===void 0&&(n=null),i==null&&(i=-1),super(n,i),this.parser=e,this.ruleIndex=d.RULE_condition}atom(){return this.getTypedRuleContext(z3,0)}expr(){return this.getTypedRuleContext(y2,0)}inExpr(){return this.getTypedRuleContext(Qe,0)}enterRule(e){e instanceof S&&e.enterCondition(this)}exitRule(e){e instanceof S&&e.exitCondition(this)}}class Qe extends A.ParserRuleContext{constructor(n,i,s){i===void 0&&(i=null),s==null&&(s=-1);super(i,s);J(this,"ID",function(n){return n===void 0&&(n=null),n===null?this.getTokens(d.ID):this.getToken(d.ID,n)});this.parser=n,this.ruleIndex=d.RULE_inExpr}IN(){return this.getToken(d.IN,0)}enterRule(n){n instanceof S&&n.enterInExpr(this)}exitRule(n){n instanceof S&&n.exitInExpr(this)}}d.ProgContext=Qr,d.TitleContext=_e,d.HeadContext=Me,d.GroupContext=Z8,d.StarterExpContext=ye,d.StarterContext=Re,d.ParticipantContext=V9,d.StereotypeContext=Ze,d.LabelContext=Ae,d.ParticipantTypeContext=ke,d.NameContext=G9,d.WidthContext=Se,d.BlockContext=A8,d.RetContext=be,d.DividerContext=Te,d.DividerNoteContext=Ie,d.StatContext=k8,d.ParContext=Ee,d.OptContext=Fe,d.CreationContext=S8,d.CreationBodyContext=Oe,d.MessageContext=De,d.MessageBodyContext=Ne,d.FuncContext=b8,d.FromContext=T8,d.ToContext=V0,d.SignatureContext=I8,d.InvocationContext=E8,d.AssignmentContext=G0,d.AsyncMessageContext=F8,d.ContentContext=Be,d.ConstructContext=Pe,d.TypeContext=O8,d.AssigneeContext=ze,d.MethodNameContext=Ue,d.ParametersContext=D8,d.ParameterContext=N8,d.DeclarationContext=$e,d.TcfContext=We,d.TryBlockContext=He,d.CatchBlockContext=B8,d.FinallyBlockContext=Ve,d.AltContext=Ge,d.IfBlockContext=je,d.ElseIfBlockContext=P8,d.ElseBlockContext=qe,d.BraceBlockContext=s3,d.LoopContext=Ke,d.ExprContext=y2,d.AtomContext=z3,d.ParExprContext=j0,d.ConditionContext=Ye,d.InExprContext=Qe;function xf(){this.__data__=[],this.size=0}var vf=xf;function _f(t,e){return t===e||t!==t&&e!==e}var z8=_f,Mf=z8;function yf(t,e){for(var n=t.length;n--;)if(Mf(t[n][0],e))return n;return-1}var U8=yf,Rf=U8,Zf=Array.prototype,Af=Zf.splice;function kf(t){var e=this.__data__,n=Rf(e,t);if(n<0)return!1;var i=e.length-1;return n==i?e.pop():Af.call(e,n,1),--this.size,!0}var Sf=kf,bf=U8;function Tf(t){var e=this.__data__,n=bf(e,t);return n<0?void 0:e[n][1]}var If=Tf,Ef=U8;function Ff(t){return Ef(this.__data__,t)>-1}var Of=Ff,Df=U8;function Nf(t,e){var n=this.__data__,i=Df(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}var Bf=Nf,Pf=vf,zf=Sf,Uf=If,$f=Of,Wf=Bf;function j9(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}j9.prototype.clear=Pf,j9.prototype.delete=zf,j9.prototype.get=Uf,j9.prototype.has=$f,j9.prototype.set=Wf;var $8=j9,Hf=$8;function Vf(){this.__data__=new Hf,this.size=0}var Gf=Vf;function jf(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}var qf=jf;function Kf(t){return this.__data__.get(t)}var Yf=Kf;function Qf(t){return this.__data__.has(t)}var Xf=Qf,Jf=e9,eg=Jf.Symbol,mo=eg,wo=mo,xo=Object.prototype,tg=xo.hasOwnProperty,ng=xo.toString,q0=wo?wo.toStringTag:void 0;function ig(t){var e=tg.call(t,q0),n=t[q0];try{t[q0]=void 0;var i=!0}catch{}var s=ng.call(t);return i&&(e?t[q0]=n:delete t[q0]),s}var sg=ig,rg=Object.prototype,og=rg.toString;function lg(t){return og.call(t)}var Lg=lg,vo=mo,ag=sg,cg=Lg,Cg="[object Null]",ug="[object Undefined]",_o=vo?vo.toStringTag:void 0;function hg(t){return t==null?t===void 0?ug:Cg:_o&&_o in Object(t)?ag(t):cg(t)}var W8=hg;function dg(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var s9=dg,fg=W8,gg=s9,pg="[object AsyncFunction]",mg="[object Function]",wg="[object GeneratorFunction]",xg="[object Proxy]";function vg(t){if(!gg(t))return!1;var e=fg(t);return e==mg||e==wg||e==pg||e==xg}var Xe=vg,_g=e9,Mg=_g["__core-js_shared__"],yg=Mg,Je=yg,Mo=function(){var t=/[^.]+$/.exec(Je&&Je.keys&&Je.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Rg(t){return!!Mo&&Mo in t}var Zg=Rg,Ag=Function.prototype,kg=Ag.toString;function Sg(t){if(t!=null){try{return kg.call(t)}catch{}try{return t+""}catch{}}return""}var bg=Sg,Tg=Xe,Ig=Zg,Eg=s9,Fg=bg,Og=/[\\^$.*+?()[\]{}|]/g,Dg=/^\[object .+?Constructor\]$/,Ng=Function.prototype,Bg=Object.prototype,Pg=Ng.toString,zg=Bg.hasOwnProperty,Ug=RegExp("^"+Pg.call(zg).replace(Og,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function $g(t){if(!Eg(t)||Ig(t))return!1;var e=Tg(t)?Ug:Dg;return e.test(Fg(t))}var Wg=$g;function Hg(t,e){return t==null?void 0:t[e]}var Vg=Hg,Gg=Wg,jg=Vg;function qg(t,e){var n=jg(t,e);return Gg(n)?n:void 0}var et=qg,Kg=et,Yg=e9,Qg=Kg(Yg,"Map"),yo=Qg,Xg=et,Jg=Xg(Object,"create"),H8=Jg,Ro=H8;function ep(){this.__data__=Ro?Ro(null):{},this.size=0}var tp=ep;function np(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var ip=np,sp=H8,rp="__lodash_hash_undefined__",op=Object.prototype,lp=op.hasOwnProperty;function Lp(t){var e=this.__data__;if(sp){var n=e[t];return n===rp?void 0:n}return lp.call(e,t)?e[t]:void 0}var ap=Lp,cp=H8,Cp=Object.prototype,up=Cp.hasOwnProperty;function hp(t){var e=this.__data__;return cp?e[t]!==void 0:up.call(e,t)}var dp=hp,fp=H8,gp="__lodash_hash_undefined__";function pp(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=fp&&e===void 0?gp:e,this}var mp=pp,wp=tp,xp=ip,vp=ap,_p=dp,Mp=mp;function q9(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}q9.prototype.clear=wp,q9.prototype.delete=xp,q9.prototype.get=vp,q9.prototype.has=_p,q9.prototype.set=Mp;var yp=q9,Zo=yp,Rp=$8,Zp=yo;function Ap(){this.size=0,this.__data__={hash:new Zo,map:new(Zp||Rp),string:new Zo}}var kp=Ap;function Sp(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var bp=Sp,Tp=bp;function Ip(t,e){var n=t.__data__;return Tp(e)?n[typeof e=="string"?"string":"hash"]:n.map}var V8=Ip,Ep=V8;function Fp(t){var e=Ep(this,t).delete(t);return this.size-=e?1:0,e}var Op=Fp,Dp=V8;function Np(t){return Dp(this,t).get(t)}var Bp=Np,Pp=V8;function zp(t){return Pp(this,t).has(t)}var Up=zp,$p=V8;function Wp(t,e){var n=$p(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}var Hp=Wp,Vp=kp,Gp=Op,jp=Bp,qp=Up,Kp=Hp;function K9(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}K9.prototype.clear=Vp,K9.prototype.delete=Gp,K9.prototype.get=jp,K9.prototype.has=qp,K9.prototype.set=Kp;var Yp=K9,Qp=$8,Xp=yo,Jp=Yp,em=200;function tm(t,e){var n=this.__data__;if(n instanceof Qp){var i=n.__data__;if(!Xp||i.length<em-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Jp(i)}return n.set(t,e),this.size=n.size,this}var nm=tm,im=$8,sm=Gf,rm=qf,om=Yf,lm=Xf,Lm=nm;function Y9(t){var e=this.__data__=new im(t);this.size=e.size}Y9.prototype.clear=sm,Y9.prototype.delete=rm,Y9.prototype.get=om,Y9.prototype.has=lm,Y9.prototype.set=Lm;var am=Y9,cm=et,Cm=function(){try{var t=cm(Object,"defineProperty");return t({},"",{}),t}catch{}}(),Ao=Cm,ko=Ao;function um(t,e,n){e=="__proto__"&&ko?ko(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var tt=um,hm=tt,dm=z8;function fm(t,e,n){(n!==void 0&&!dm(t[e],n)||n===void 0&&!(e in t))&&hm(t,e,n)}var So=fm;function gm(t){return function(e,n,i){for(var s=-1,r=Object(e),o=i(e),l=o.length;l--;){var L=o[t?l:++s];if(n(r[L],L,r)===!1)break}return e}}var pm=gm,mm=pm,wm=mm(),xm=wm,nt={exports:{}};(function(t,e){var n=e9,i=e&&!e.nodeType&&e,s=i&&!0&&t&&!t.nodeType&&t,r=s&&s.exports===i,o=r?n.Buffer:void 0,l=o?o.allocUnsafe:void 0;function L(a,c){if(c)return a.slice();var C=a.length,u=l?l(C):new a.constructor(C);return a.copy(u),u}t.exports=L})(nt,nt.exports);var vm=e9,_m=vm.Uint8Array,Mm=_m,bo=Mm;function ym(t){var e=new t.constructor(t.byteLength);return new bo(e).set(new bo(t)),e}var Rm=ym,Zm=Rm;function Am(t,e){var n=e?Zm(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var km=Am;function Sm(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}var bm=Sm,Tm=s9,To=Object.create,Im=function(){function t(){}return function(e){if(!Tm(e))return{};if(To)return To(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),Em=Im;function Fm(t,e){return function(n){return t(e(n))}}var Om=Fm,Dm=Om,Nm=Dm(Object.getPrototypeOf,Object),Io=Nm,Bm=Object.prototype;function Pm(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||Bm;return t===n}var Eo=Pm,zm=Em,Um=Io,$m=Eo;function Wm(t){return typeof t.constructor=="function"&&!$m(t)?zm(Um(t)):{}}var Hm=Wm;function Vm(t){return t!=null&&typeof t=="object"}var K0=Vm,Gm=W8,jm=K0,qm="[object Arguments]";function Km(t){return jm(t)&&Gm(t)==qm}var Ym=Km,Fo=Ym,Qm=K0,Oo=Object.prototype,Xm=Oo.hasOwnProperty,Jm=Oo.propertyIsEnumerable,ew=Fo(function(){return arguments}())?Fo:function(t){return Qm(t)&&Xm.call(t,"callee")&&!Jm.call(t,"callee")},Do=ew,tw=Array.isArray,No=tw,nw=9007199254740991;function iw(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=nw}var Bo=iw,sw=Xe,rw=Bo;function ow(t){return t!=null&&rw(t.length)&&!sw(t)}var it=ow,lw=it,Lw=K0;function aw(t){return Lw(t)&&lw(t)}var cw=aw,G8={exports:{}};function Cw(){return!1}var uw=Cw;(function(t,e){var n=e9,i=uw,s=e&&!e.nodeType&&e,r=s&&!0&&t&&!t.nodeType&&t,o=r&&r.exports===s,l=o?n.Buffer:void 0,L=l?l.isBuffer:void 0,a=L||i;t.exports=a})(G8,G8.exports);var hw=W8,dw=Io,fw=K0,gw="[object Object]",pw=Function.prototype,mw=Object.prototype,Po=pw.toString,ww=mw.hasOwnProperty,xw=Po.call(Object);function vw(t){if(!fw(t)||hw(t)!=gw)return!1;var e=dw(t);if(e===null)return!0;var n=ww.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&Po.call(n)==xw}var _w=vw,Mw=W8,yw=Bo,Rw=K0,Zw="[object Arguments]",Aw="[object Array]",kw="[object Boolean]",Sw="[object Date]",bw="[object Error]",Tw="[object Function]",Iw="[object Map]",Ew="[object Number]",Fw="[object Object]",Ow="[object RegExp]",Dw="[object Set]",Nw="[object String]",Bw="[object WeakMap]",Pw="[object ArrayBuffer]",zw="[object DataView]",Uw="[object Float32Array]",$w="[object Float64Array]",Ww="[object Int8Array]",Hw="[object Int16Array]",Vw="[object Int32Array]",Gw="[object Uint8Array]",jw="[object Uint8ClampedArray]",qw="[object Uint16Array]",Kw="[object Uint32Array]",X2={};X2[Uw]=X2[$w]=X2[Ww]=X2[Hw]=X2[Vw]=X2[Gw]=X2[jw]=X2[qw]=X2[Kw]=!0,X2[Zw]=X2[Aw]=X2[Pw]=X2[kw]=X2[zw]=X2[Sw]=X2[bw]=X2[Tw]=X2[Iw]=X2[Ew]=X2[Fw]=X2[Ow]=X2[Dw]=X2[Nw]=X2[Bw]=!1;function Yw(t){return Rw(t)&&yw(t.length)&&!!X2[Mw(t)]}var Qw=Yw;function Xw(t){return function(e){return t(e)}}var Jw=Xw,st={exports:{}};(function(t,e){var n=Rr,i=e&&!e.nodeType&&e,s=i&&!0&&t&&!t.nodeType&&t,r=s&&s.exports===i,o=r&&n.process,l=function(){try{var L=s&&s.require&&s.require("util").types;return L||o&&o.binding&&o.binding("util")}catch{}}();t.exports=l})(st,st.exports);var ex=Qw,tx=Jw,zo=st.exports,Uo=zo&&zo.isTypedArray,nx=Uo?tx(Uo):ex,$o=nx;function ix(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var Wo=ix,sx=tt,rx=z8,ox=Object.prototype,lx=ox.hasOwnProperty;function Lx(t,e,n){var i=t[e];(!(lx.call(t,e)&&rx(i,n))||n===void 0&&!(e in t))&&sx(t,e,n)}var ax=Lx,cx=ax,Cx=tt;function ux(t,e,n,i){var s=!n;n||(n={});for(var r=-1,o=e.length;++r<o;){var l=e[r],L=i?i(n[l],t[l],l,n,t):void 0;L===void 0&&(L=t[l]),s?Cx(n,l,L):cx(n,l,L)}return n}var hx=ux;function dx(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}var fx=dx,gx=9007199254740991,px=/^(?:0|[1-9]\d*)$/;function mx(t,e){var n=typeof t;return e=e==null?gx:e,!!e&&(n=="number"||n!="symbol"&&px.test(t))&&t>-1&&t%1==0&&t<e}var Ho=mx,wx=fx,xx=Do,vx=No,_x=G8.exports,Mx=Ho,yx=$o,Rx=Object.prototype,Zx=Rx.hasOwnProperty;function Ax(t,e){var n=vx(t),i=!n&&xx(t),s=!n&&!i&&_x(t),r=!n&&!i&&!s&&yx(t),o=n||i||s||r,l=o?wx(t.length,String):[],L=l.length;for(var a in t)(e||Zx.call(t,a))&&!(o&&(a=="length"||s&&(a=="offset"||a=="parent")||r&&(a=="buffer"||a=="byteLength"||a=="byteOffset")||Mx(a,L)))&&l.push(a);return l}var kx=Ax;function Sx(t){var e=[];if(t!=null)for(var n in Object(t))e.push(n);return e}var bx=Sx,Tx=s9,Ix=Eo,Ex=bx,Fx=Object.prototype,Ox=Fx.hasOwnProperty;function Dx(t){if(!Tx(t))return Ex(t);var e=Ix(t),n=[];for(var i in t)i=="constructor"&&(e||!Ox.call(t,i))||n.push(i);return n}var Nx=Dx,Bx=kx,Px=Nx,zx=it;function Ux(t){return zx(t)?Bx(t,!0):Px(t)}var Vo=Ux,$x=hx,Wx=Vo;function Hx(t){return $x(t,Wx(t))}var Vx=Hx,Go=So,Gx=nt.exports,jx=km,qx=bm,Kx=Hm,jo=Do,qo=No,Yx=cw,Qx=G8.exports,Xx=Xe,Jx=s9,ev=_w,tv=$o,Ko=Wo,nv=Vx;function iv(t,e,n,i,s,r,o){var l=Ko(t,n),L=Ko(e,n),a=o.get(L);if(a){Go(t,n,a);return}var c=r?r(l,L,n+"",t,e,o):void 0,C=c===void 0;if(C){var u=qo(L),h=!u&&Qx(L),f=!u&&!h&&tv(L);c=L,u||h||f?qo(l)?c=l:Yx(l)?c=qx(l):h?(C=!1,c=Gx(L,!0)):f?(C=!1,c=jx(L,!0)):c=[]:ev(L)||jo(L)?(c=l,jo(l)?c=nv(l):(!Jx(l)||Xx(l))&&(c=Kx(L))):C=!1}C&&(o.set(L,c),s(c,L,i,r,o),o.delete(L)),Go(t,n,c)}var sv=iv,rv=am,ov=So,lv=xm,Lv=sv,av=s9,cv=Vo,Cv=Wo;function Yo(t,e,n,i,s){t!==e&&lv(e,function(r,o){if(s||(s=new rv),av(r))Lv(t,e,o,n,Yo,i,s);else{var l=i?i(Cv(t,o),r,o+"",t,e,s):void 0;l===void 0&&(l=r),ov(t,o,l)}},cv)}var uv=Yo;function hv(t){return t}var Qo=hv;function dv(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var fv=dv,gv=fv,Xo=Math.max;function pv(t,e,n){return e=Xo(e===void 0?t.length-1:e,0),function(){for(var i=arguments,s=-1,r=Xo(i.length-e,0),o=Array(r);++s<r;)o[s]=i[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=i[s];return l[e]=n(o),gv(t,this,l)}}var mv=pv;function wv(t){return function(){return t}}var xv=wv,vv=xv,Jo=Ao,_v=Qo,Mv=Jo?function(t,e){return Jo(t,"toString",{configurable:!0,enumerable:!1,value:vv(e),writable:!0})}:_v,yv=Mv,Rv=800,Zv=16,Av=Date.now;function kv(t){var e=0,n=0;return function(){var i=Av(),s=Zv-(i-n);if(n=i,s>0){if(++e>=Rv)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Sv=kv,bv=yv,Tv=Sv,Iv=Tv(bv),Ev=Iv,Fv=Qo,Ov=mv,Dv=Ev;function Nv(t,e){return Dv(Ov(t,e,Fv),t+"")}var Bv=Nv,Pv=z8,zv=it,Uv=Ho,$v=s9;function Wv(t,e,n){if(!$v(n))return!1;var i=typeof e;return(i=="number"?zv(n)&&Uv(e,n.length):i=="string"&&e in n)?Pv(n[e],t):!1}var Hv=Wv,Vv=Bv,Gv=Hv;function jv(t){return Vv(function(e,n){var i=-1,s=n.length,r=s>1?n[s-1]:void 0,o=s>2?n[2]:void 0;for(r=t.length>3&&typeof r=="function"?(s--,r):void 0,o&&Gv(n[0],n[1],o)&&(r=s<3?void 0:r,s=1),e=Object(e);++i<s;){var l=n[i];l&&t(e,l,i,r)}return e})}var qv=jv,Kv=uv,Yv=qv,Qv=Yv(function(t,e,n,i){Kv(t,e,n,i)}),Xv=Qv;class Jv{constructor(e,n){J(this,"name");J(this,"stereotype");J(this,"width");J(this,"groupId");J(this,"explicit");J(this,"isStarter");J(this,"label");J(this,"type");J(this,"color");J(this,"comment");J(this,"assignee");this.name=e;const{stereotype:i,width:s,groupId:r,label:o,explicit:l,isStarter:L,type:a,color:c,comment:C,assignee:u}=n;this.stereotype=i,this.width=s,this.groupId=r,this.explicit=l,this.isStarter=L,this.label=o,this.type=a,this.color=c,this.comment=C,this.assignee=u}Type(){var e;switch((e=this.type)==null?void 0:e.toLowerCase()){case"@actor":return 1;case"@boundary":return 2;case"@collection":return 3;case"@control":return 4;case"@database":return 5;case"@entity":return 6;case"@queue":return 7;case"@ec2":return 8;case"@ecs":return 9;case"@iam":return 10;case"@lambda":return 11;case"@rds":return 12;case"@s3":return 13}return 14}}class e_{constructor(){J(this,"participants",new Map);J(this,"participantPositions",new Map)}Add(e,n={}){const i=new Jv(e,n);this.participants.set(e,Xv({},this.Get(e),i,(o,l)=>o||l));const{start:s,end:r}=n;s!==void 0&&r!==void 0&&this.addPosition(e,s,r)}ImplicitArray(){return this.Array().filter(e=>{var n;return!((n=this.Get(e.name))!=null&&n.explicit)&&!e.isStarter})}Array(){return Array.from(this.participants.entries()).map(e=>e[1])}Names(){return Array.from(this.participants.keys())}First(){return this.participants.values().next().value}Get(e){return this.participants.get(e)}Size(){return this.participants.size}Starter(){const e=this.First();return e.isStarter?e:void 0}Positions(){return this.participantPositions}GetPositions(e){return this.participantPositions.get(e)}addPosition(e,n,i){let s=this.participantPositions.get(e);s||(s=new Set,this.participantPositions.set(e,s)),s.add(`[${n},${i}]`)}}const t_=d.ProgContext;let G1,r9=!1,rt;const j1=new S;let n_=function(t){var h,f,m,_,p,g;if(r9)return;const e=(h=t==null?void 0:t.participantType())==null?void 0:h.getFormattedText().replace("@",""),n=((f=t==null?void 0:t.name())==null?void 0:f.getFormattedText())||"Missing `Participant`",i=(_=(m=t.stereotype())==null?void 0:m.name())==null?void 0:_.getFormattedText(),s=t.width&&t.width()&&Number.parseInt(t.width().getText())||void 0,r=t.label&&t.label(),o=(p=r==null?void 0:r.name())==null?void 0:p.getFormattedText(),l=!0,L=(g=t.COLOR())==null?void 0:g.getText(),a=t.getComment(),c=t.name();let C,u;if(r){const x=r.name();x&&(C=x.start.start,u=x.stop.stop+1)}else c&&(C=c.start.start,u=c.stop.stop+1);G1.Add(n,{isStarter:!1,start:C,end:u,type:e,stereotype:i,width:s,groupId:rt,label:o,explicit:l,color:L,comment:a})};j1.enterParticipant=n_;let el=function(t){if(r9)return;let e=t.getFormattedText();const n=G1.Get(e);if(n!=null&&n.label)G1.Add(e,{isStarter:!1});else if(n!=null&&n.assignee){const i=t.start.start+n.assignee.length+2;G1.Add(e,{isStarter:!1,start:i,end:t.stop.stop})}else G1.Add(e,{isStarter:!1,start:t.start.start,end:t.stop.stop+1})};j1.enterFrom=el,j1.enterTo=el,j1.enterStarter=function(t){let e=t.getFormattedText();G1.Add(e,{isStarter:!0,start:t.start.start,end:t.stop.stop+1})},j1.enterCreation=function(t){var s;if(r9)return;const e=t.Owner(),n=(s=t==null?void 0:t.creationBody())==null?void 0:s.construct(),i=G1.Get(e);if(n&&!(i!=null&&i.label)){const r=t.Assignee();G1.Add(e,{isStarter:!1,start:n.start.start,end:n.stop.stop+1,assignee:r})}else G1.Add(e,{isStarter:!1})},j1.enterParameters=function(){r9=!0},j1.exitParameters=function(){r9=!1},j1.enterCondition=function(){r9=!0},j1.exitCondition=function(){r9=!1},j1.enterGroup=function(t){var e;rt=(e=t.name())==null?void 0:e.getFormattedText()},j1.exitGroup=function(){rt=void 0},j1.enterRet=function(t){t.asyncMessage()||(G1.Add(t.From()),G1.Add(t.ReturnTo()))};const i_=A.tree.ParseTreeWalker.DEFAULT;j1.getParticipants=function(t,e){return G1=new e_,e&&t instanceof t_&&G1.Add(t.Starter(),{isStarter:!0}),i_.walk(this,t),G1};const s_=A.tree.ParseTreeWalker.DEFAULT;var _3=new S,Z1=0,h3=0;_3.enterTcf=function(){Z1++},_3.enterOpt=function(){Z1++},_3.enterPar=function(){Z1++},_3.enterAlt=function(){Z1++},_3.enterLoop=function(){Z1++},_3.exitTcf=function(){h3=Math.max(h3,Z1),Z1--},_3.exitOpt=function(){h3=Math.max(h3,Z1),Z1--},_3.exitPar=function(){h3=Math.max(h3,Z1),Z1--},_3.exitAlt=function(){h3=Math.max(h3,Z1),Z1--},_3.exitLoop=function(){h3=Math.max(h3,Z1),Z1--},_3.depth=function(t){return function(e){return Z1=0,h3=0,e.children.map(function(n){s_.walk(t,n)}),h3}};const r_=d.TitleContext;r_.prototype.content=function(){return this.children.length<2?"":this.children[1].getText().trim()};const tl=d,ot=tl.CreationContext;ot.prototype.Body=ot.prototype.creationBody,ot.prototype.isCurrent=function(t){return nl.bind(this)(t)};const lt=tl.MessageContext;lt.prototype.Body=lt.prototype.messageBody,lt.prototype.isCurrent=function(t){return nl.bind(this)(t)};function nl(t){try{if(t==null)return!1;const e=this.start.start,n=this.Body().stop.stop+1;return t>=e&&t<=n}catch{return!1}}const Lt=d,j8=Lt.CreationContext,at=Lt.MessageContext,il=Lt.AsyncMessageContext;j8.prototype.Assignee=function(){var t,e,n;return(n=(e=(t=this.creationBody())==null?void 0:t.assignment())==null?void 0:e.assignee())==null?void 0:n.getFormattedText()},j8.prototype.Constructor=function(){var t,e;return(e=(t=this.creationBody())==null?void 0:t.construct())==null?void 0:e.getFormattedText()},j8.prototype.Owner=function(){if(!this.Constructor())return"Missing Constructor";const t=this.Assignee(),e=this.Constructor();return t?`${t}:${e}`:e},at.prototype.To=function(){var t,e;return(e=(t=this.messageBody())==null?void 0:t.to())==null?void 0:e.getFormattedText()},at.prototype.Owner=function(){return this.To()||sl(this.parentCtx)};function sl(t){for(;t;){if(t instanceof j8||t instanceof at)return t.Owner();t=t.parentCtx}}il.prototype.To=function(){var t;return(t=this.to())==null?void 0:t.getFormattedText()},il.prototype.Owner=function(){return this.To()||sl(this.parentCtx)};const o_=d.ProgContext;o_.prototype.Starter=function(){var r,o,l,L,a,c,C,u,h,f,m,_;const t=(l=(o=(r=this.head())==null?void 0:r.starterExp())==null?void 0:o.starter())==null?void 0:l.getFormattedText();let e,n,i;const s=(L=this.block())==null?void 0:L.stat();if(s&&s[0]){const p=(C=(c=(a=s[0].message())==null?void 0:a.messageBody())==null?void 0:c.from())==null?void 0:C.getFormattedText(),g=(h=(u=s[0].asyncMessage())==null?void 0:u.from())==null?void 0:h.getFormattedText();e=p||g}else{const p=(f=this.head())==null?void 0:f.children;if(p&&p[0]){const g=p[0];if(g instanceof d.ParticipantContext&&(n=(m=g.name())==null?void 0:m.getFormattedText()),g instanceof d.GroupContext){const x=g.participant();x&&x[0]&&(i=(_=x[0].name())==null?void 0:_.getFormattedText())}}}return t||e||n||i||"_STARTER_"};const q8=d,l_=q8.RetContext,rl=q8.ProgContext,ol=q8.MessageContext,L_=q8.CreationContext;l_.prototype.ReturnTo=function(){var i,s;const n=this.parentCtx.parentCtx.parentCtx;if(n instanceof rl)return n.Starter();{let r=n;for(;r&&!(r instanceof ol)&&!(r instanceof L_);){if(r instanceof rl)return r.Starter();r=r.parentCtx}return r instanceof ol&&((s=(i=r.messageBody())==null?void 0:i.from())==null?void 0:s.getFormattedText())||r.ClosestAncestorStat().Origin()}};const a_=A.ParserRuleContext,ll=d.StatContext,ct=d.ProgContext,c_=d.MessageContext,C_=d.CreationContext;a_.prototype.Origin=function(){let t=this.parentCtx;for(;t&&!(t instanceof ll||t instanceof ct);)t=this.parentCtx;return t.Origin()},ll.prototype.Origin=function(){let t=this.parentCtx;for(;t;){if(t instanceof ct)return t.Starter();if(t instanceof c_||t instanceof C_){const e=t.Owner();if(e)return e}t=t.parentCtx}},ct.prototype.Origin=function(){return this.Starter()};const u_=d.DividerContext;u_.prototype.Note=function(){var e;const t=(e=this.dividerNote())==null?void 0:e.getFormattedText().trim();if(!t.startsWith("=="))throw new Error("Divider note must start with ==");return t==null?void 0:t.replace(/^=+|=+$/g,"")};const Ct=d,h_=Ct.MessageContext,d_=Ct.AsyncMessageContext,f_=Ct.CreationContext;h_.prototype.SignatureText=function(){var t,e,n;return(n=(e=(t=this.messageBody())==null?void 0:t.func())==null?void 0:e.signature())==null?void 0:n.map(i=>i==null?void 0:i.getFormattedText()).join(".")},d_.prototype.SignatureText=function(){var t;return(t=this.content())==null?void 0:t.getFormattedText()},f_.prototype.SignatureText=function(){var n;const t=this.creationBody().parameters();return"\xAB"+(((n=t==null?void 0:t.parameter())==null?void 0:n.length)>0?t.getFormattedText():"create")+"\xBB"};const g_=d.MessageContext;class p_{constructor(e,n){J(this,"assignee");J(this,"type");if(n&&!e)throw new Error("assignee must be defined if type is defined");this.assignee=e||"",this.type=n||""}getText(){return[this.assignee,this.type].filter(Boolean).join(":")}}g_.prototype.Assignment=function(){var i,s;const t=this.messageBody().assignment(),e=(i=t==null?void 0:t.assignee())==null?void 0:i.getFormattedText(),n=(s=t==null?void 0:t.type())==null?void 0:s.getFormattedText();if(e)return new p_(e,n)};const Y0=d,m_=Y0.CreationContext,w_=Y0.StatContext,Ll=Y0.MessageContext,x_=Y0.AsyncMessageContext,v_=Y0.RetContext;m_.prototype.From=function(){if(this.parentCtx instanceof w_)return this.ClosestAncestorStat().Origin()},Ll.prototype.ProvidedFrom=function(){var t,e;return(e=(t=this.messageBody())==null?void 0:t.from())==null?void 0:e.getFormattedText()},Ll.prototype.From=function(){return this.ProvidedFrom()||this.ClosestAncestorStat().Origin()},x_.prototype.From=function(){return this.from()?this.from().getFormattedText():this.ClosestAncestorStat().Origin()},v_.prototype.From=function(){return this.ClosestAncestorStat().Origin()},A.ParserRuleContext.prototype.Key=function(){return`${this.start.start}:${this.stop.stop}`};const ut=d,ht=ut.CreationContext;ht.prototype.Body=ht.prototype.creationBody,ht.prototype.isInitedFromOccurrence=function(t){return al.bind(this)(t)};const dt=ut.MessageContext;dt.prototype.Body=dt.prototype.messageBody,dt.prototype.isInitedFromOccurrence=function(t){return al.bind(this)(t)};function al(t){let e=this;for(;e!=null;){if(e instanceof ut.StatContext){let n;if(e.message&&e.message()?n=e.message().Owner():e.creation&&e.creation()?n=e.creation().Owner():e.asyncMessage&&e.asyncMessage()&&(n=e.asyncMessage().to().getFormattedText()),n===t)return!0}e=e.parentCtx}return!1}const cl=d,Cl=cl.StatContext;A.ParserRuleContext.prototype.ClosestAncestorStat=function(){let t=this;for(;!(t instanceof Cl);)t=t.parentCtx;if(t instanceof Cl)return t},A.ParserRuleContext.prototype.ClosestAncestorBlock=function(){var e;const t=(e=this.ClosestAncestorStat())==null?void 0:e.parentCtx;if(t instanceof cl.BlockContext)return t;console.warn("Cannot find closest ancestor block for context:",this)};function __(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(n){return e.apply(this,arguments)};case 2:return function(n,i){return e.apply(this,arguments)};case 3:return function(n,i,s){return e.apply(this,arguments)};case 4:return function(n,i,s,r){return e.apply(this,arguments)};case 5:return function(n,i,s,r,o){return e.apply(this,arguments)};case 6:return function(n,i,s,r,o,l){return e.apply(this,arguments)};case 7:return function(n,i,s,r,o,l,L){return e.apply(this,arguments)};case 8:return function(n,i,s,r,o,l,L,a){return e.apply(this,arguments)};case 9:return function(n,i,s,r,o,l,L,a,c){return e.apply(this,arguments)};case 10:return function(n,i,s,r,o,l,L,a,c,C){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}var ul=__;function M_(t,e){return function(){return e.call(this,t.apply(this,arguments))}}var y_=M_;function R_(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}var ft=R_,Z_=ft;function A_(t){return function e(n){return arguments.length===0||Z_(n)?e:t.apply(this,arguments)}}var K8=A_,gt=K8,Q0=ft;function k_(t){return function e(n,i){switch(arguments.length){case 0:return e;case 1:return Q0(n)?e:gt(function(s){return t(n,s)});default:return Q0(n)&&Q0(i)?e:Q0(n)?gt(function(s){return t(s,i)}):Q0(i)?gt(function(s){return t(n,s)}):t(n,i)}}}var hl=k_,Y8=K8,Q9=hl,x1=ft;function S_(t){return function e(n,i,s){switch(arguments.length){case 0:return e;case 1:return x1(n)?e:Q9(function(r,o){return t(n,r,o)});case 2:return x1(n)&&x1(i)?e:x1(n)?Q9(function(r,o){return t(r,i,o)}):x1(i)?Q9(function(r,o){return t(n,r,o)}):Y8(function(r){return t(n,i,r)});default:return x1(n)&&x1(i)&&x1(s)?e:x1(n)&&x1(i)?Q9(function(r,o){return t(r,o,s)}):x1(n)&&x1(s)?Q9(function(r,o){return t(r,i,o)}):x1(i)&&x1(s)?Q9(function(r,o){return t(n,r,o)}):x1(n)?Y8(function(r){return t(r,i,s)}):x1(i)?Y8(function(r){return t(n,r,s)}):x1(s)?Y8(function(r){return t(n,i,r)}):t(n,i,s)}}}var pt=S_,dl=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function b_(t){return Object.prototype.toString.call(t)==="[object String]"}var T_=b_,I_=K8,E_=dl,F_=T_,O_=I_(function(e){return E_(e)?!0:!e||typeof e!="object"||F_(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),D_=O_,N_=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,n){return this.f(e,n)},t}();function B_(t){return new N_(t)}var P_=B_,z_=ul,U_=hl,$_=U_(function(e,n){return z_(e.length,function(){return e.apply(n,arguments)})}),W_=$_,H_=D_,V_=P_,G_=W_;function j_(t,e,n){for(var i=0,s=n.length;i<s;){if(e=t["@@transducer/step"](e,n[i]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}i+=1}return t["@@transducer/result"](e)}function fl(t,e,n){for(var i=n.next();!i.done;){if(e=t["@@transducer/step"](e,i.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}i=n.next()}return t["@@transducer/result"](e)}function gl(t,e,n,i){return t["@@transducer/result"](n[i](G_(t["@@transducer/step"],t),e))}var pl=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function q_(t,e,n){if(typeof t=="function"&&(t=V_(t)),H_(n))return j_(t,e,n);if(typeof n["fantasy-land/reduce"]=="function")return gl(t,e,n,"fantasy-land/reduce");if(n[pl]!=null)return fl(t,e,n[pl]());if(typeof n.next=="function")return fl(t,e,n);if(typeof n.reduce=="function")return gl(t,e,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}var K_=q_,Y_=pt,Q_=K_,X_=Y_(Q_),J_=X_,eM=dl;function tM(t,e){return function(){var n=arguments.length;if(n===0)return e();var i=arguments[n-1];return eM(i)||typeof i[t]!="function"?e.apply(this,arguments):i[t].apply(i,Array.prototype.slice.call(arguments,0,n-1))}}var ml=tM,nM=ml,iM=pt,sM=iM(nM("slice",function(e,n,i){return Array.prototype.slice.call(i,e,n)})),rM=sM,oM=ml,lM=K8,LM=rM,aM=lM(oM("tail",LM(1,1/0))),cM=aM,CM=ul,uM=y_,hM=J_,dM=cM;function fM(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return CM(arguments[0].length,hM(uM,arguments[0],dM(arguments)))}var gM=fM;const pM=gM;var mM=pt,wM=mM(function(e,n,i){return i.replace(e,n)}),xM=wM;const X9=xM,vM=X9(/[\n\r]/g," "),_M=X9(/\s+/g," "),MM=X9(/\s*([,;.])\s*/g,"$1"),yM=X9(/\s*(\()\s*|\s*(\))/g,"$1$2"),RM=X9(/\s+$/g,""),ZM=X9(/^"(.*)"$/,"$1"),AM=pM(vM,_M,MM,yM,RM,ZM),mt=(t,e)=>{let n=e;for(t[n]===`
|
|
16
16
|
`&&n--;n>=0;){if(t[n]===`
|
|
17
17
|
`)return n+1;n--}return 0},wl=(t,e)=>{const n=mt(t,e);if(n===0)return 0;let i=n-2;for(;i>=0;){if(t[i]===`
|
|
18
18
|
`)return i+1;i--}return 0},kM=(t,e)=>{const n=mt(t,e);if(n===0)return"";const i=wl(t,e);return t.slice(i,n)};class SM extends A.error.ErrorListener{syntaxError(e,n,i,s,r){}}function bM(t){const e=new A.InputStream(t),n=new Y(e),i=new A.CommonTokenStream(n),s=new d(i);return s.addErrorListener(new SM),s._syntaxErrors?null:s.prog()}A.ParserRuleContext.prototype.getFormattedText=function(){const t=this.parser.getTokenStream().getText(this.getSourceInterval());return AM(t)},A.ParserRuleContext.prototype.getComment=function(){let t=this.start.tokenIndex,e=Y.channelNames.indexOf("COMMENT_CHANNEL");this.constructor.name==="BraceBlockContext"&&(t=this.stop.tokenIndex);let n=this.parser.getTokenStream().getHiddenTokensToLeft(t,e);return n&&n.map(i=>i.text.substring(2)).join("")},A.ParserRuleContext.prototype.returnedValue=function(){return this.braceBlock().block().ret().value()};const TM=d.ProgContext,IM=bM,xl=d.GroupContext,vl=d.ParticipantContext,J9=function(t,e){return j1.getParticipants(t,e)};var M4=(t=>(t[t.MessageContent=0]="MessageContent",t[t.ParticipantName=1]="ParticipantName",t))(M4||{});let wt={};const _l={},Ml=t=>{var e;if(t!=null){const n=(e=wt[t])!=null?e:_l[t];return n!==void 0?n:null}return null},yl=(t,e,n=!1)=>{wt[t]=e,n&&(_l[t]=e)},Rl=()=>{wt={}};function X0(t,e){const n=`WidthProviderOnBrowser_${t}_${e}`,i=Ml(n);if(i!=null)return i;let s=document.querySelector(".textarea-hidden-div");if(!s){const o=document.createElement("div");o.className="textarea-hidden-div ",o.style.fontSize=e===M4.MessageContent?"0.875rem":"1rem",o.style.fontFamily="Helvetica, Verdana, serif",o.style.display="inline",o.style.whiteSpace="nowrap",o.style.visibility="hidden",o.style.position="absolute",o.style.top="0",o.style.left="0",o.style.overflow="hidden",o.style.width="0px",o.style.paddingLeft="0px",o.style.paddingRight="0px",o.style.margin="0px",o.style.border="0px",document.body.appendChild(o),s=o}s.textContent=t;const r=s.scrollWidth;return yl(n,r,!0),r}const EM=110,xt=20,FM=10,OM=14,DM=100,Zl=70,NM=d;class vt extends S{constructor(){super(...arguments);J(this,"explicitParticipants",[]);J(this,"starter","");J(this,"implicitParticipants",[]);J(this,"isBlind",!1)}enterCondition(){this.isBlind=!0}exitCondition(){this.isBlind=!1}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}enterStarter(n){this.starter=n.getFormattedText()}enterParticipant(n){var o,l,L;const i=((o=n==null?void 0:n.name())==null?void 0:o.getFormattedText())||"Missing `Participant` name",s=(L=(l=n.label())==null?void 0:l.name())==null?void 0:L.getFormattedText(),r={name:i,label:s,left:""};this.explicitParticipants.push(r)}enterFrom(n){if(this.isBlind)return;const i=n==null?void 0:n.getFormattedText();if(n.ClosestAncestorBlock().parentCtx instanceof NM.ProgContext&&n.ClosestAncestorStat()===n.ClosestAncestorBlock().children[0]){this.starter=i;return}this.enterTo(n)}enterTo(n){if(this.isBlind)return;const i=n==null?void 0:n.getFormattedText();if(i===this.starter||this.explicitParticipants.some(r=>r.name===i))return;const s={name:i,left:""};this.implicitParticipants.push(s)}enterCreation(n){if(this.isBlind)return;const i=n==null?void 0:n.Owner();if(i===this.starter||this.explicitParticipants.some(r=>r.name===i))return;const s={name:i,left:""};this.implicitParticipants.push(s)}result(){let n=[...this.explicitParticipants,...this.implicitParticipants];return this._isStarterExplicitlyPositioned()||n.unshift(this._getStarter()),n=this._dedup(n),vt._assignLeft(n),n}_isStarterExplicitlyPositioned(){return this.starter&&this.explicitParticipants.find(n=>n.name===this.starter)}_getStarter(){return{name:this.starter||"_STARTER_",left:""}}_dedup(n){return n.filter((i,s)=>n.findIndex(r=>r.name===i.name)===s)}static _assignLeft(n){n.reduce((i,s)=>(s.left=i.name||"",s),{name:"",left:""})}}function BM(t){const e=new vt;return A.tree.ParseTreeWalker.DEFAULT.walk(e,t),e.result()}function Q8(t,e){return{position:t,velocity:e}}function Al(t,e){return Q8(t.position+e.position,t.velocity+e.velocity)}const kl=Math.sqrt(Number.EPSILON);function PM(t,e){const n=t.position-e.position;return n<-kl||Math.abs(n)<=kl&&t.velocity<e.velocity}function zM(){return{delta:1/0,dualLessThan:function(t,e){const n=PM(t,e);return n&&([t,e]=[e,t]),t.velocity<e.velocity&&(this.delta=Math.min(this.delta,(t.position-e.position)/(e.velocity-t.velocity))),n}}}function UM(t,e){const n=Array();for(let i=0;i<t;i++){n.push([]);for(let s=0;s<i;s++)e[s][i]>0&&n[i].push({i:s,length:Q8(e[s][i],0)})}return n}function $M(t,e){const n=zM();let i=Q8(0,0);const s=[];for(let r=0;r<t.length;r++){let o=null;r>0&&(i=Al(i,e[r-1]));for(const l of t[r]){const L=Al(s[l.i].maximum,l.length);n.dualLessThan(i,L)&&(o=l.i,i=L)}s.push({argument:o,maximum:i})}return[n.delta,s]}function WM(t,e,n){let i=t.length-1;for(;i>0;){const s=t[i].argument;s!==null?i=s:(i--,n[i].velocity=0)}}function HM(t,e){for(let n=0;n<t.length;n++)t[n].position+=t[n].velocity*e}function VM(t){const e=[];for(const n of t)e.push(n.maximum.position);return e}function GM(t){const e=t.length,n=UM(e,t),i=[];for(let s=1;s<e;s++)i.push(Q8(0,1));for(;;){const[s,r]=$M(n,i);if(s==1/0)return VM(r);r[e-1].maximum.velocity>0?WM(r,n,i):HM(i,s)}}var J0=(t=>(t[t.SyncMessage=0]="SyncMessage",t[t.AsyncMessage=1]="AsyncMessage",t[t.CreationMessage=2]="CreationMessage",t))(J0||{});class jM extends S{constructor(){super(...arguments);J(this,"isBlind",!1);J(this,"ownableMessages",[]);J(this,"enterMessage",n=>this._addOwnedMessage(J0.SyncMessage)(n));J(this,"enterAsyncMessage",n=>this._addOwnedMessage(J0.AsyncMessage)(n));J(this,"enterCreation",n=>this._addOwnedMessage(J0.CreationMessage)(n));J(this,"_addOwnedMessage",n=>i=>{if(this.isBlind)return;const s=i.From(),r=i==null?void 0:i.Owner(),o=i==null?void 0:i.SignatureText();this.ownableMessages.push({from:s,signature:o,type:n,to:r})})}enterParameters(){this.isBlind=!0}exitParameters(){this.isBlind=!1}result(){return this.ownableMessages}}function Sl(t){const e=A.tree.ParseTreeWalker.DEFAULT,n=new jM;return e.walk(n,t),n.result()}class qM{constructor(e,n){J(this,"m",[]);J(this,"widthProvider");J(this,"participantModels");J(this,"ownableMessages");Rl(),this.participantModels=BM(e),this.ownableMessages=Sl(e),this.widthProvider=n,this.walkThrough()}orderedParticipantNames(){return this.participantModels.map(e=>e.name)}getPosition(e){const n=this.participantModels.findIndex(l=>l.name===e);if(n===-1)throw Error(`Participant ${e} not found`);const i=`getPosition_${e}`,s=Ml(i);if(s!=null)return s;const o=this.getParticipantGap(this.participantModels[0])+GM(this.m)[n];return yl(i,o),console.debug(`Position of ${e} is ${o}`),o}walkThrough(){this.withParticipantGaps(this.participantModels),this.withMessageGaps(this.ownableMessages,this.participantModels)}half(e){if(e==="_STARTER_")return xt/2;const n=this.halfWithMargin(this.labelOrName(e));return Math.max(n,EM/2)}getWidth(){const e=this.participantModels[this.participantModels.length-1].name,n=this.getPosition(e)+this.half(e);return Math.max(n,200)}distance(e,n){return this.getPosition(n)-this.getPosition(e)}withMessageGaps(e,n){e.forEach(i=>{const s=n.findIndex(L=>L.name===i.from),r=n.findIndex(L=>L.name===i.to);if(s===-1||r===-1){console.warn(`Participant ${i.from} or ${i.to} not found`);return}const o=Math.min(s,r),l=Math.max(s,r);try{const L=this.getMessageWidth(i);this.m[o][l]=Math.max(L+FM+OM,this.m[o][l])}catch{console.warn(`Could not set message gap between ${i.from} and ${i.to}`)}})}getMessageWidth(e){const n=this.half(e.to);let i=this.widthProvider(e.signature,M4.MessageContent);return e.type===J0.CreationMessage&&(i+=n),i}withParticipantGaps(e){this.m=e.map((n,i)=>e.map((s,r)=>r-i===1?this.getParticipantGap(s):0))}getParticipantGap(e){const n=this.half(e.left),i=this.half(e.name),s=e.left&&e.left!=="_STARTER_",r=e.name&&e.name!=="_STARTER_";return(s&&n||0)+(r&&i||0)}labelOrName(e){const n=this.participantModels.findIndex(i=>i.name===e);return n===-1?"":this.participantModels[n].label||this.participantModels[n].name}halfWithMargin(e){return this._getParticipantWidth(e)/2+xt/2}_getParticipantWidth(e){return Math.max(this.widthProvider(e||"",M4.ParticipantName),DM)}}let bl=0;setTimeout(function(){bl||console.warn("[@zenuml/core] Store is a function and is not initiated in 1 second.")},1e3);var r3=(t=>(t.Static="static",t.Dynamic="dynamic",t))(r3||{});const Tl=()=>(bl=Id(),{state:{warning:void 0,code:"",theme:"theme-default",enableScopedTheming:!1,themeIconDot:Boolean(localStorage.getItem(`${location.hostname}-zenuml-theme-icon-dot`)),enableMultiTheme:!0,scale:1,selected:[],cursor:null,showTips:!1,mode:"dynamic",numbering:Boolean(localStorage.getItem(`${location.hostname}-zenuml-numbering`)),stickyOffset:0,diagramElement:null,onElementClick:t=>{console.log("Element clicked",t)},onMessageClick:()=>{},onContentChange:()=>{},onThemeChange:()=>{},onEventEmit:()=>{}},getters:{code:t=>t.code,rootContext:t=>IM(t.code),title:(t,e)=>{var n,i;return(i=(n=e.rootContext)==null?void 0:n.title())==null?void 0:i.content()},participants:(t,e)=>J9(e.rootContext,!0),coordinates:(t,e)=>new qM(e.rootContext,X0),centerOf:(t,e)=>n=>{if(!n)return console.error("[@zenuml/core] centerOf: entity is undefined"),0;try{return e.coordinates.getPosition(n)||0}catch(i){return console.error(i),0}},GroupContext:()=>xl,ParticipantContext:()=>vl,cursor:t=>t.cursor,distance:(t,e)=>(n,i)=>e.centerOf(n)-e.centerOf(i),distance2:(t,e)=>(n,i)=>!n||!i?0:e.centerOf(i)-e.centerOf(n),onElementClick:t=>t.onElementClick,onMessageClick:t=>t.onMessageClick,diagramElement:t=>t.diagramElement,onContentChange:t=>t.onContentChange,onThemeChange:t=>t.onThemeChange,onEventEmit:t=>t.onEventEmit},mutations:{code:function(t,e){t.code=e},setScale:function(t,e){t.scale=e},onSelect:function(t,e){t.selected.includes(e)?t.selected=t.selected.filter(n=>n!==e):t.selected.push(e)},cursor:function(t,e){t.cursor=e},toggleNumbering(t,e){e?localStorage.setItem(`${location.hostname}-zenuml-numbering`,"1"):localStorage.setItem(`${location.hostname}-zenuml-numbering`,""),t.numbering=e},setTheme:function(t,e){var n;t.theme=e,(n=t.onThemeChange)==null||n.call(t,{theme:e,scoped:Boolean(t.enableScopedTheming)})},setThemeIconDot:function(t,e){localStorage.setItem(`${location.hostname}-zenuml-theme-icon-dot`,e?"1":""),t.themeIconDot=e},setEnableScopedTheming:function(t,e){var n;t.enableScopedTheming=e,(n=t.onThemeChange)==null||n.call(t,{theme:t.theme,scoped:e})},eventEmit:function(t,e){var n;(n=t.onEventEmit)==null||n.call(t,e.event,e.data)},onEventEmit:function(t,e){t.onEventEmit=e},onMessageClick:function(t,e){t.onMessageClick=e},onContentChange:function(t,e){t.onContentChange=e},onThemeChange:function(t,e){t.onThemeChange=e},diagramElement:function(t,e){t.diagramElement=e}},actions:{updateCode:function({commit:t},e){if(typeof e=="string")throw Error("You are using a old version of vue-sequence. New version requires {code, cursor}.");e.code!==this.state.code&&t("code",e.code)}},strict:!1}),KM=(t,e)=>{const n=t[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((i,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e)))})},y4={__name:"Icon",props:{name:{type:String,required:!0},iconClass:{type:String,required:!1}},setup(t){const e=t,n=S9(()=>KM(Object.assign({"./icons/close.svg":()=>Promise.resolve().then(()=>gP),"./icons/collapse-expanded.svg":()=>Promise.resolve().then(()=>wP),"./icons/collapse-unexpanded.svg":()=>Promise.resolve().then(()=>_P),"./icons/debug.svg":()=>Promise.resolve().then(()=>RP),"./icons/message-arrow.svg":()=>Promise.resolve().then(()=>kP),"./icons/non-selected-cycle.svg":()=>Promise.resolve().then(()=>TP),"./icons/numbering.svg":()=>Promise.resolve().then(()=>FP),"./icons/privacy.svg":()=>Promise.resolve().then(()=>NP),"./icons/selected-cycle.svg":()=>Promise.resolve().then(()=>zP),"./icons/theme.svg":()=>Promise.resolve().then(()=>WP),"./icons/tip.svg":()=>Promise.resolve().then(()=>GP),"./icons/zoom-in.svg":()=>Promise.resolve().then(()=>KP),"./icons/zoom-out.svg":()=>Promise.resolve().then(()=>XP)}),`./icons/${e.name}.svg`));return(i,s)=>(b(),$("span",{class:_2(["flex items-center justify-center",t.iconClass]),onClick:s[0]||(s[0]=r=>i.$emit("icon-click"))},[(b(),k2(Y5(D(n)),{class:"w-full h-full"}))],2))}},fU="",j2=(t,e)=>{const n=t.__vccOpts||t;for(const[i,s]of e)n[i]=s;return n},YM={name:"Privacy",components:{Icon:y4}},QM={class:"privacy tooltip bottom whitespace-normal flex items-center","data-tooltip":"We (the vendor) do not have access to your data. The diagram is generated in this browser."};function XM(t,e,n,i,s,r){const o=g2("Icon");return b(),$("div",null,[Z("div",QM,[V(o,{name:"privacy","icon-class":"fill-current h-6 w-6 m-auto"})])])}const JM=j2(YM,[["render",XM],["__scopeId","data-v-3e7c8bd7"]]),ey={name:"DiagramTitle",props:["context"],computed:{title:function(){var t;return(t=this.context)==null?void 0:t.content()}}},ty={class:"title text-skin-title text-base font-semibold"};function ny(t,e,n,i,s,r){return b(),$("div",ty,H2(r.title),1)}const iy=j2(ey,[["render",ny]]),_t=new Lr;function sy(t,e,n,i){t.commit("eventEmit",{event:"trackEvent",data:{label:JSON.stringify(e),action:n,category:i}})}var Mt={exports:{}},ry={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Il={exports:{}},oy=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},ly=oy,Ly=Array.prototype.concat,ay=Array.prototype.slice,El=Il.exports=function(e){for(var n=[],i=0,s=e.length;i<s;i++){var r=e[i];ly(r)?n=Ly.call(n,ay.call(r)):n.push(r)}return n};El.wrap=function(t){return function(){return t(El(arguments))}};var X8=ry,e5=Il.exports,Fl={};for(var yt in X8)X8.hasOwnProperty(yt)&&(Fl[X8[yt]]=yt);var o3=Mt.exports={to:{},get:{}};o3.get=function(t){var e=t.substring(0,3).toLowerCase(),n,i;switch(e){case"hsl":n=o3.get.hsl(t),i="hsl";break;case"hwb":n=o3.get.hwb(t),i="hwb";break;default:n=o3.get.rgb(t),i="rgb";break}return n?{model:i,value:n}:null},o3.get.rgb=function(t){if(!t)return null;var e=/^#([a-f0-9]{3,4})$/i,n=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,i=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,s=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,r=/(\D+)/,o=[0,0,0,1],l,L,a;if(l=t.match(n)){for(a=l[2],l=l[1],L=0;L<3;L++){var c=L*2;o[L]=parseInt(l.slice(c,c+2),16)}a&&(o[3]=parseInt(a,16)/255)}else if(l=t.match(e)){for(l=l[1],a=l[3],L=0;L<3;L++)o[L]=parseInt(l[L]+l[L],16);a&&(o[3]=parseInt(a+a,16)/255)}else if(l=t.match(i)){for(L=0;L<3;L++)o[L]=parseInt(l[L+1],0);l[4]&&(o[3]=parseFloat(l[4]))}else if(l=t.match(s)){for(L=0;L<3;L++)o[L]=Math.round(parseFloat(l[L+1])*2.55);l[4]&&(o[3]=parseFloat(l[4]))}else return(l=t.match(r))?l[1]==="transparent"?[0,0,0,0]:(o=X8[l[1]],o?(o[3]=1,o):null):null;for(L=0;L<3;L++)o[L]=R4(o[L],0,255);return o[3]=R4(o[3],0,1),o},o3.get.hsl=function(t){if(!t)return null;var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,n=t.match(e);if(n){var i=parseFloat(n[4]),s=(parseFloat(n[1])+360)%360,r=R4(parseFloat(n[2]),0,100),o=R4(parseFloat(n[3]),0,100),l=R4(isNaN(i)?1:i,0,1);return[s,r,o,l]}return null},o3.get.hwb=function(t){if(!t)return null;var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,n=t.match(e);if(n){var i=parseFloat(n[4]),s=(parseFloat(n[1])%360+360)%360,r=R4(parseFloat(n[2]),0,100),o=R4(parseFloat(n[3]),0,100),l=R4(isNaN(i)?1:i,0,1);return[s,r,o,l]}return null},o3.to.hex=function(){var t=e5(arguments);return"#"+J8(t[0])+J8(t[1])+J8(t[2])+(t[3]<1?J8(Math.round(t[3]*255)):"")},o3.to.rgb=function(){var t=e5(arguments);return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},o3.to.rgb.percent=function(){var t=e5(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),i=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+n+"%, "+i+"%)":"rgba("+e+"%, "+n+"%, "+i+"%, "+t[3]+")"},o3.to.hsl=function(){var t=e5(arguments);return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},o3.to.hwb=function(){var t=e5(arguments),e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},o3.to.keyword=function(t){return Fl[t.slice(0,3)]};function R4(t,e,n){return Math.min(Math.max(e,t),n)}function J8(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}function cy(t){const e=Mt.exports.get.rgb(t),[n,i,s]=e;return(n*299+i*587+s*114)/1e3}function Cy(t){const e=Mt.exports.get.rgb(t),[n,i,s]=e;return`rgb(${n}, ${i}, ${s})`}const uy=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|