parser-angular.mjs 57 KB

12
  1. "use strict";var De=Object.defineProperty,on=Object.getOwnPropertyDescriptor,ze=Object.getOwnPropertyNames,cn=Object.prototype.hasOwnProperty,Y=(e,t)=>function(){return e&&(t=(0,e[ze(e)[0]])(e=0)),t},U=(e,t)=>function(){return t||(0,e[ze(e)[0]])((t={exports:{}}).exports,t),t.exports},He=(e,t)=>{for(var n in t)De(e,n,{get:t[n],enumerable:!0})},un=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of ze(t))!cn.call(e,s)&&s!==n&&De(e,s,{get:()=>t[s],enumerable:!(r=on(t,s))||r.enumerable});return e},Ne=e=>un(De({},"__esModule",{value:!0}),e),L=Y({"<define:process>"(){}}),ln=U({"src/utils/is-non-empty-array.js"(e,t){"use strict";L();function n(r){return Array.isArray(r)&&r.length>0}t.exports=n}}),hn=U({"src/language-js/loc.js"(e,t){"use strict";L();var n=ln();function r(l,P){let{ignoreDecorators:p}=P||{};if(!p){let x=l.declaration&&l.declaration.decorators||l.decorators;if(n(x))return r(x[0])}return l.range?l.range[0]:l.start}function s(l){return l.range?l.range[1]:l.end}function a(l,P){let p=r(l);return Number.isInteger(p)&&p===r(P)}function i(l,P){let p=s(l);return Number.isInteger(p)&&p===s(P)}function h(l,P){return a(l,P)&&i(l,P)}t.exports={locStart:r,locEnd:s,hasSameLocStart:a,hasSameLoc:h}}}),pn=U({"node_modules/angular-estree-parser/node_modules/lines-and-columns/build/index.js"(e){"use strict";L(),e.__esModule=!0,e.LinesAndColumns=void 0;var t=`
  2. `,n="\r",r=function(){function s(a){this.string=a;for(var i=[0],h=0;h<a.length;)switch(a[h]){case t:h+=t.length,i.push(h);break;case n:h+=n.length,a[h]===t&&(h+=t.length),i.push(h);break;default:h++;break}this.offsets=i}return s.prototype.locationForIndex=function(a){if(a<0||a>this.string.length)return null;for(var i=0,h=this.offsets;h[i+1]<=a;)i++;var l=a-h[i];return{line:i,column:l}},s.prototype.indexForLocation=function(a){var i=a.line,h=a.column;return i<0||i>=this.offsets.length||h<0||h>this.lengthOfLine(i)?null:this.offsets[i]+h},s.prototype.lengthOfLine=function(a){var i=this.offsets[a],h=a===this.offsets.length-1?this.string.length:this.offsets[a+1];return h-i},s}();e.LinesAndColumns=r,e.default=r}}),dn=U({"node_modules/angular-estree-parser/lib/context.js"(e){"use strict";L(),Object.defineProperty(e,"__esModule",{value:!0}),e.Context=void 0;var t=pn(),n=class{constructor(s){this.text=s,this.locator=new r(this.text)}};e.Context=n;var r=class{constructor(s){this._lineAndColumn=new t.default(s)}locationForIndex(s){let{line:a,column:i}=this._lineAndColumn.locationForIndex(s);return{line:a+1,column:i}}}}}),Xe={};He(Xe,{AST:()=>k,ASTWithName:()=>G,ASTWithSource:()=>V,AbsoluteSourceSpan:()=>F,AstMemoryEfficientTransformer:()=>Pt,AstTransformer:()=>wt,Binary:()=>K,BindingPipe:()=>fe,BoundElementProperty:()=>_t,Chain:()=>oe,Conditional:()=>ce,EmptyExpr:()=>M,ExpressionBinding:()=>Ye,FunctionCall:()=>Pe,ImplicitReceiver:()=>Oe,Interpolation:()=>me,KeyedRead:()=>he,KeyedWrite:()=>de,LiteralArray:()=>ge,LiteralMap:()=>ve,LiteralPrimitive:()=>B,MethodCall:()=>ye,NonNullAssert:()=>Se,ParseSpan:()=>q,ParsedEvent:()=>Et,ParsedProperty:()=>Ct,ParsedPropertyType:()=>se,ParsedVariable:()=>At,ParserError:()=>ae,PrefixNot:()=>xe,PropertyRead:()=>re,PropertyWrite:()=>ue,Quote:()=>be,RecursiveAstVisitor:()=>Ze,SafeKeyedRead:()=>pe,SafeMethodCall:()=>we,SafePropertyRead:()=>le,ThisReceiver:()=>Je,Unary:()=>j,VariableBinding:()=>Le});var ae,q,k,G,be,M,Oe,Je,oe,ce,re,ue,le,he,pe,de,fe,B,ge,ve,me,K,j,xe,Se,ye,we,Pe,F,V,Le,Ye,Ze,wt,Pt,Ct,se,Et,At,_t,et=Y({"node_modules/@angular/compiler/esm2015/src/expression_parser/ast.js"(){L(),ae=class{constructor(e,t,n,r){this.input=t,this.errLocation=n,this.ctxLocation=r,this.message="Parser Error: ".concat(e," ").concat(n," [").concat(t,"] in ").concat(r)}},q=class{constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new F(e+this.start,e+this.end)}},k=class{constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}},G=class extends k{constructor(e,t,n){super(e,t);this.nameSpan=n}},be=class extends k{constructor(e,t,n,r,s){super(e,t);this.prefix=n,this.uninterpretedExpression=r,this.location=s}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitQuote(this,t)}toString(){return"Quote"}},M=class extends k{visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null}},Oe=class extends k{visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitImplicitReceiver(this,t)}},Je=class extends Oe{visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;var n;return(n=e.visitThisReceiver)===null||n===void 0?void 0:n.call(e,this,t)}},oe=class extends k{constructor(e,t,n){super(e,t);this.expressions=n}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitChain(this,t)}},ce=class extends k{constructor(e,t,n,r,s){super(e,t);this.condition=n,this.trueExp=r,this.falseExp=s}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitConditional(this,t)}},re=class extends G{constructor(e,t,n,r,s){super(e,t,n);this.receiver=r,this.name=s}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitPropertyRead(this,t)}},ue=class extends G{constructor(e,t,n,r,s,a){super(e,t,n);this.receiver=r,this.name=s,this.value=a}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitPropertyWrite(this,t)}},le=class extends G{constructor(e,t,n,r,s){super(e,t,n);this.receiver=r,this.name=s}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitSafePropertyRead(this,t)}},he=class extends k{constructor(e,t,n,r){super(e,t);this.receiver=n,this.key=r}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitKeyedRead(this,t)}},pe=class extends k{constructor(e,t,n,r){super(e,t);this.receiver=n,this.key=r}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitSafeKeyedRead(this,t)}},de=class extends k{constructor(e,t,n,r,s){super(e,t);this.receiver=n,this.key=r,this.value=s}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitKeyedWrite(this,t)}},fe=class extends G{constructor(e,t,n,r,s,a){super(e,t,a);this.exp=n,this.name=r,this.args=s}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitPipe(this,t)}},B=class extends k{constructor(e,t,n){super(e,t);this.value=n}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitLiteralPrimitive(this,t)}},ge=class extends k{constructor(e,t,n){super(e,t);this.expressions=n}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitLiteralArray(this,t)}},ve=class extends k{constructor(e,t,n,r){super(e,t);this.keys=n,this.values=r}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitLiteralMap(this,t)}},me=class extends k{constructor(e,t,n,r){super(e,t);this.strings=n,this.expressions=r}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitInterpolation(this,t)}},K=class extends k{constructor(e,t,n,r,s){super(e,t);this.operation=n,this.left=r,this.right=s}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitBinary(this,t)}},j=class extends K{constructor(e,t,n,r,s,a,i){super(e,t,s,a,i);this.operator=n,this.expr=r}static createMinus(e,t,n){return new j(e,t,"-",n,"-",new B(e,t,0),n)}static createPlus(e,t,n){return new j(e,t,"+",n,"-",n,new B(e,t,0))}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitUnary!==void 0?e.visitUnary(this,t):e.visitBinary(this,t)}},xe=class extends k{constructor(e,t,n){super(e,t);this.expression=n}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitPrefixNot(this,t)}},Se=class extends k{constructor(e,t,n){super(e,t);this.expression=n}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitNonNullAssert(this,t)}},ye=class extends G{constructor(e,t,n,r,s,a,i){super(e,t,n);this.receiver=r,this.name=s,this.args=a,this.argumentSpan=i}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitMethodCall(this,t)}},we=class extends G{constructor(e,t,n,r,s,a,i){super(e,t,n);this.receiver=r,this.name=s,this.args=a,this.argumentSpan=i}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitSafeMethodCall(this,t)}},Pe=class extends k{constructor(e,t,n,r){super(e,t);this.target=n,this.args=r}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitFunctionCall(this,t)}},F=class{constructor(e,t){this.start=e,this.end=t}},V=class extends k{constructor(e,t,n,r,s){super(new q(0,t===null?0:t.length),new F(r,t===null?r:r+t.length));this.ast=e,this.source=t,this.location=n,this.errors=s}visit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return"".concat(this.source," in ").concat(this.location)}},Le=class{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}},Ye=class{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}},Ze=class{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitFunctionCall(e,t){e.target&&this.visit(e.target,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.receiver,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitPrefixNot(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitQuote(e,t){}visitAll(e,t){for(let n of e)this.visit(n,t)}},wt=class{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){return new me(e.span,e.sourceSpan,e.strings,this.visitAll(e.expressions))}visitLiteralPrimitive(e,t){return new B(e.span,e.sourceSpan,e.value)}visitPropertyRead(e,t){return new re(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitPropertyWrite(e,t){return new ue(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,e.value.visit(this))}visitSafePropertyRead(e,t){return new le(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitMethodCall(e,t){return new ye(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args),e.argumentSpan)}visitSafeMethodCall(e,t){return new we(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args),e.argumentSpan)}visitFunctionCall(e,t){return new Pe(e.span,e.sourceSpan,e.target.visit(this),this.visitAll(e.args))}visitLiteralArray(e,t){return new ge(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitLiteralMap(e,t){return new ve(e.span,e.sourceSpan,e.keys,this.visitAll(e.values))}visitUnary(e,t){switch(e.operator){case"+":return j.createPlus(e.span,e.sourceSpan,e.expr.visit(this));case"-":return j.createMinus(e.span,e.sourceSpan,e.expr.visit(this));default:throw new Error("Unknown unary operator ".concat(e.operator))}}visitBinary(e,t){return new K(e.span,e.sourceSpan,e.operation,e.left.visit(this),e.right.visit(this))}visitPrefixNot(e,t){return new xe(e.span,e.sourceSpan,e.expression.visit(this))}visitNonNullAssert(e,t){return new Se(e.span,e.sourceSpan,e.expression.visit(this))}visitConditional(e,t){return new ce(e.span,e.sourceSpan,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))}visitPipe(e,t){return new fe(e.span,e.sourceSpan,e.exp.visit(this),e.name,this.visitAll(e.args),e.nameSpan)}visitKeyedRead(e,t){return new he(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}visitKeyedWrite(e,t){return new de(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this),e.value.visit(this))}visitAll(e){let t=[];for(let n=0;n<e.length;++n)t[n]=e[n].visit(this);return t}visitChain(e,t){return new oe(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitQuote(e,t){return new be(e.span,e.sourceSpan,e.prefix,e.uninterpretedExpression,e.location)}visitSafeKeyedRead(e,t){return new pe(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}},Pt=class{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){let n=this.visitAll(e.expressions);return n!==e.expressions?new me(e.span,e.sourceSpan,e.strings,n):e}visitLiteralPrimitive(e,t){return e}visitPropertyRead(e,t){let n=e.receiver.visit(this);return n!==e.receiver?new re(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitPropertyWrite(e,t){let n=e.receiver.visit(this),r=e.value.visit(this);return n!==e.receiver||r!==e.value?new ue(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitSafePropertyRead(e,t){let n=e.receiver.visit(this);return n!==e.receiver?new le(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitMethodCall(e,t){let n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new ye(e.span,e.sourceSpan,e.nameSpan,n,e.name,r,e.argumentSpan):e}visitSafeMethodCall(e,t){let n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new we(e.span,e.sourceSpan,e.nameSpan,n,e.name,r,e.argumentSpan):e}visitFunctionCall(e,t){let n=e.target&&e.target.visit(this),r=this.visitAll(e.args);return n!==e.target||r!==e.args?new Pe(e.span,e.sourceSpan,n,r):e}visitLiteralArray(e,t){let n=this.visitAll(e.expressions);return n!==e.expressions?new ge(e.span,e.sourceSpan,n):e}visitLiteralMap(e,t){let n=this.visitAll(e.values);return n!==e.values?new ve(e.span,e.sourceSpan,e.keys,n):e}visitUnary(e,t){let n=e.expr.visit(this);if(n!==e.expr)switch(e.operator){case"+":return j.createPlus(e.span,e.sourceSpan,n);case"-":return j.createMinus(e.span,e.sourceSpan,n);default:throw new Error("Unknown unary operator ".concat(e.operator))}return e}visitBinary(e,t){let n=e.left.visit(this),r=e.right.visit(this);return n!==e.left||r!==e.right?new K(e.span,e.sourceSpan,e.operation,n,r):e}visitPrefixNot(e,t){let n=e.expression.visit(this);return n!==e.expression?new xe(e.span,e.sourceSpan,n):e}visitNonNullAssert(e,t){let n=e.expression.visit(this);return n!==e.expression?new Se(e.span,e.sourceSpan,n):e}visitConditional(e,t){let n=e.condition.visit(this),r=e.trueExp.visit(this),s=e.falseExp.visit(this);return n!==e.condition||r!==e.trueExp||s!==e.falseExp?new ce(e.span,e.sourceSpan,n,r,s):e}visitPipe(e,t){let n=e.exp.visit(this),r=this.visitAll(e.args);return n!==e.exp||r!==e.args?new fe(e.span,e.sourceSpan,n,e.name,r,e.nameSpan):e}visitKeyedRead(e,t){let n=e.receiver.visit(this),r=e.key.visit(this);return n!==e.receiver||r!==e.key?new he(e.span,e.sourceSpan,n,r):e}visitKeyedWrite(e,t){let n=e.receiver.visit(this),r=e.key.visit(this),s=e.value.visit(this);return n!==e.receiver||r!==e.key||s!==e.value?new de(e.span,e.sourceSpan,n,r,s):e}visitAll(e){let t=[],n=!1;for(let r=0;r<e.length;++r){let s=e[r],a=s.visit(this);t[r]=a,n=n||a!==s}return n?t:e}visitChain(e,t){let n=this.visitAll(e.expressions);return n!==e.expressions?new oe(e.span,e.sourceSpan,n):e}visitQuote(e,t){return e}visitSafeKeyedRead(e,t){let n=e.receiver.visit(this),r=e.key.visit(this);return n!==e.receiver||r!==e.key?new pe(e.span,e.sourceSpan,n,r):e}},Ct=class{constructor(e,t,n,r,s,a){this.name=e,this.expression=t,this.type=n,this.sourceSpan=r,this.keySpan=s,this.valueSpan=a,this.isLiteral=this.type===se.LITERAL_ATTR,this.isAnimation=this.type===se.ANIMATION}},function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.ANIMATION=2]="ANIMATION"}(se||(se={})),Et=class{constructor(e,t,n,r,s,a,i){this.name=e,this.targetOrPhase=t,this.type=n,this.handler=r,this.sourceSpan=s,this.handlerSpan=a,this.keySpan=i}},At=class{constructor(e,t,n,r,s){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=s}},_t=class{constructor(e,t,n,r,s,a,i,h){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=s,this.sourceSpan=a,this.keySpan=i,this.valueSpan=h}}}});function fn(e){return e>=tt&&e<=nt||e==pt}function Q(e){return Mt<=e&&e<=$t}function gn(e){return e>=lt&&e<=ht||e>=ct&&e<=ut}function vt(e){return e===it||e===rt||e===Ht}var Ce,tt,It,Ot,kt,Nt,nt,bt,rt,Lt,st,Rt,$e,it,Ee,z,Tt,at,ee,ot,H,Re,X,te,Bt,ie,Kt,je,Mt,$t,ct,jt,ut,Ae,Ft,ne,Ut,Be,lt,Wt,Gt,Vt,qt,Qt,Dt,zt,ht,Te,Fe,_e,pt,Ht,Xt=Y({"node_modules/@angular/compiler/esm2015/src/chars.js"(){L(),Ce=0,tt=9,It=10,Ot=11,kt=12,Nt=13,nt=32,bt=33,rt=34,Lt=35,st=36,Rt=37,$e=38,it=39,Ee=40,z=41,Tt=42,at=43,ee=44,ot=45,H=46,Re=47,X=58,te=59,Bt=60,ie=61,Kt=62,je=63,Mt=48,$t=57,ct=65,jt=69,ut=90,Ae=91,Ft=92,ne=93,Ut=94,Be=95,lt=97,Wt=101,Gt=102,Vt=110,qt=114,Qt=116,Dt=117,zt=118,ht=122,Te=123,Fe=124,_e=125,pt=160,Ht=96}}),Jt={};He(Jt,{EOF:()=>Ie,Lexer:()=>Zt,Token:()=>$,TokenType:()=>S,isIdentifier:()=>Yt});function mt(e,t,n){return new $(e,t,S.Character,n,String.fromCharCode(n))}function vn(e,t,n){return new $(e,t,S.Identifier,0,n)}function mn(e,t,n){return new $(e,t,S.PrivateIdentifier,0,n)}function xn(e,t,n){return new $(e,t,S.Keyword,0,n)}function Ke(e,t,n){return new $(e,t,S.Operator,0,n)}function Sn(e,t,n){return new $(e,t,S.String,0,n)}function yn(e,t,n){return new $(e,t,S.Number,n,"")}function wn(e,t,n){return new $(e,t,S.Error,0,n)}function Ue(e){return lt<=e&&e<=ht||ct<=e&&e<=ut||e==Be||e==st}function Yt(e){if(e.length==0)return!1;let t=new Ge(e);if(!Ue(t.peek))return!1;for(t.advance();t.peek!==Ce;){if(!We(t.peek))return!1;t.advance()}return!0}function We(e){return gn(e)||Q(e)||e==Be||e==st}function Pn(e){return e==Wt||e==jt}function Cn(e){return e==ot||e==at}function En(e){switch(e){case Vt:return It;case Gt:return kt;case qt:return Nt;case Qt:return tt;case zt:return Ot;default:return e}}function An(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var S,xt,Zt,$,Ie,Ge,en=Y({"node_modules/@angular/compiler/esm2015/src/expression_parser/lexer.js"(){L(),Xt(),function(e){e[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.PrivateIdentifier=2]="PrivateIdentifier",e[e.Keyword=3]="Keyword",e[e.String=4]="String",e[e.Operator=5]="Operator",e[e.Number=6]="Number",e[e.Error=7]="Error"}(S||(S={})),xt=["var","let","as","null","undefined","true","false","if","else","this"],Zt=class{tokenize(e){let t=new Ge(e),n=[],r=t.scanToken();for(;r!=null;)n.push(r),r=t.scanToken();return n}},$=class{constructor(e,t,n,r,s){this.index=e,this.end=t,this.type=n,this.numValue=r,this.strValue=s}isCharacter(e){return this.type==S.Character&&this.numValue==e}isNumber(){return this.type==S.Number}isString(){return this.type==S.String}isOperator(e){return this.type==S.Operator&&this.strValue==e}isIdentifier(){return this.type==S.Identifier}isPrivateIdentifier(){return this.type==S.PrivateIdentifier}isKeyword(){return this.type==S.Keyword}isKeywordLet(){return this.type==S.Keyword&&this.strValue=="let"}isKeywordAs(){return this.type==S.Keyword&&this.strValue=="as"}isKeywordNull(){return this.type==S.Keyword&&this.strValue=="null"}isKeywordUndefined(){return this.type==S.Keyword&&this.strValue=="undefined"}isKeywordTrue(){return this.type==S.Keyword&&this.strValue=="true"}isKeywordFalse(){return this.type==S.Keyword&&this.strValue=="false"}isKeywordThis(){return this.type==S.Keyword&&this.strValue=="this"}isError(){return this.type==S.Error}toNumber(){return this.type==S.Number?this.numValue:-1}toString(){switch(this.type){case S.Character:case S.Identifier:case S.Keyword:case S.Operator:case S.PrivateIdentifier:case S.String:case S.Error:return this.strValue;case S.Number:return this.numValue.toString();default:return null}}},Ie=new $(-1,-1,S.Character,0,""),Ge=class{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?Ce:this.input.charCodeAt(this.index)}scanToken(){let e=this.input,t=this.length,n=this.peek,r=this.index;for(;n<=nt;)if(++r>=t){n=Ce;break}else n=e.charCodeAt(r);if(this.peek=n,this.index=r,r>=t)return null;if(Ue(n))return this.scanIdentifier();if(Q(n))return this.scanNumber(r);let s=r;switch(n){case H:return this.advance(),Q(this.peek)?this.scanNumber(s):mt(s,this.index,H);case Ee:case z:case Te:case _e:case Ae:case ne:case ee:case X:case te:return this.scanCharacter(s,n);case it:case rt:return this.scanString();case Lt:return this.scanPrivateIdentifier();case at:case ot:case Tt:case Re:case Rt:case Ut:return this.scanOperator(s,String.fromCharCode(n));case je:return this.scanQuestion(s);case Bt:case Kt:return this.scanComplexOperator(s,String.fromCharCode(n),ie,"=");case bt:case ie:return this.scanComplexOperator(s,String.fromCharCode(n),ie,"=",ie,"=");case $e:return this.scanComplexOperator(s,"&",$e,"&");case Fe:return this.scanComplexOperator(s,"|",Fe,"|");case pt:for(;fn(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character [".concat(String.fromCharCode(n),"]"),0)}scanCharacter(e,t){return this.advance(),mt(e,this.index,t)}scanOperator(e,t){return this.advance(),Ke(e,this.index,t)}scanComplexOperator(e,t,n,r,s,a){this.advance();let i=t;return this.peek==n&&(this.advance(),i+=r),s!=null&&this.peek==s&&(this.advance(),i+=a),Ke(e,this.index,i)}scanIdentifier(){let e=this.index;for(this.advance();We(this.peek);)this.advance();let t=this.input.substring(e,this.index);return xt.indexOf(t)>-1?xn(e,this.index,t):vn(e,this.index,t)}scanPrivateIdentifier(){let e=this.index;if(this.advance(),!Ue(this.peek))return this.error("Invalid character [#]",-1);for(;We(this.peek);)this.advance();let t=this.input.substring(e,this.index);return mn(e,this.index,t)}scanNumber(e){let t=this.index===e,n=!1;for(this.advance();;){if(!Q(this.peek))if(this.peek===Be){if(!Q(this.input.charCodeAt(this.index-1))||!Q(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);n=!0}else if(this.peek===H)t=!1;else if(Pn(this.peek)){if(this.advance(),Cn(this.peek)&&this.advance(),!Q(this.peek))return this.error("Invalid exponent",-1);t=!1}else break;this.advance()}let r=this.input.substring(e,this.index);n&&(r=r.replace(/_/g,""));let s=t?An(r):parseFloat(r);return yn(e,this.index,s)}scanString(){let e=this.index,t=this.peek;this.advance();let n="",r=this.index,s=this.input;for(;this.peek!=t;)if(this.peek==Ft){n+=s.substring(r,this.index),this.advance();let i;if(this.peek=this.peek,this.peek==Dt){let h=s.substring(this.index+1,this.index+5);if(/^[0-9a-f]+$/i.test(h))i=parseInt(h,16);else return this.error("Invalid unicode escape [\\u".concat(h,"]"),0);for(let l=0;l<5;l++)this.advance()}else i=En(this.peek),this.advance();n+=String.fromCharCode(i),r=this.index}else{if(this.peek==Ce)return this.error("Unterminated quote",0);this.advance()}let a=s.substring(r,this.index);return this.advance(),Sn(e,this.index,n+a)}scanQuestion(e){this.advance();let t="?";return(this.peek===je||this.peek===H)&&(t+=this.peek===H?".":"?",this.advance()),Ke(e,this.index,t)}error(e,t){let n=this.index+t;return wn(n,this.index,"Lexer Error: ".concat(e," at column ").concat(n," in expression [").concat(this.input,"]"))}}}});function _n(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error("Expected '".concat(e,"' to be an array, [start, end]."));if(t!=null){let n=t[0],r=t[1];tn.forEach(s=>{if(s.test(n)||s.test(r))throw new Error("['".concat(n,"', '").concat(r,"'] contains unusable interpolation symbol."))})}}var tn,In=Y({"node_modules/@angular/compiler/esm2015/src/assertions.js"(){L(),tn=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//]}}),Me,J,On=Y({"node_modules/@angular/compiler/esm2015/src/ml_parser/interpolation_config.js"(){L(),In(),Me=class{constructor(e,t){this.start=e,this.end=t}static fromArray(e){return e?(_n("interpolation",e),new Me(e[0],e[1])):J}},J=new Me("{{","}}")}}),nn={};He(nn,{IvyParser:()=>rn,Parser:()=>Qe,SplitInterpolation:()=>Ve,TemplateBindingParseResult:()=>qe,_ParseAST:()=>D});var Ve,qe,Qe,rn,Z,D,St,yt,kn=Y({"node_modules/@angular/compiler/esm2015/src/expression_parser/parser.js"(){L(),Xt(),On(),et(),en(),Ve=class{constructor(e,t,n){this.strings=e,this.expressions=t,this.offsets=n}},qe=class{constructor(e,t,n){this.templateBindings=e,this.warnings=t,this.errors=n}},Qe=class{constructor(e){this._lexer=e,this.errors=[],this.simpleExpressionChecker=St}parseAction(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:J;this._checkNoInterpolation(e,t,r);let s=this._stripComments(e),a=this._lexer.tokenize(this._stripComments(e)),i=new D(e,t,n,a,s.length,!0,this.errors,e.length-s.length).parseChain();return new V(i,e,t,n,this.errors)}parseBinding(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:J,s=this._parseBindingAst(e,t,n,r);return new V(s,e,t,n,this.errors)}checkSimpleExpression(e){let t=new this.simpleExpressionChecker;return e.visit(t),t.errors}parseSimpleBinding(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:J,s=this._parseBindingAst(e,t,n,r),a=this.checkSimpleExpression(s);return a.length>0&&this._reportError("Host binding expression cannot contain ".concat(a.join(" ")),e,t),new V(s,e,t,n,this.errors)}_reportError(e,t,n,r){this.errors.push(new ae(e,t,n,r))}_parseBindingAst(e,t,n,r){let s=this._parseQuote(e,t,n);if(s!=null)return s;this._checkNoInterpolation(e,t,r);let a=this._stripComments(e),i=this._lexer.tokenize(a);return new D(e,t,n,i,a.length,!1,this.errors,e.length-a.length).parseChain()}_parseQuote(e,t,n){if(e==null)return null;let r=e.indexOf(":");if(r==-1)return null;let s=e.substring(0,r).trim();if(!Yt(s))return null;let a=e.substring(r+1),i=new q(0,e.length);return new be(i,i.toAbsolute(n),s,a,t)}parseTemplateBindings(e,t,n,r,s){let a=this._lexer.tokenize(t);return new D(t,n,s,a,t.length,!1,this.errors,0).parseTemplateBindings({source:e,span:new F(r,r+e.length)})}parseInterpolation(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:J,{strings:s,expressions:a,offsets:i}=this.splitInterpolation(e,t,r);if(a.length===0)return null;let h=[];for(let l=0;l<a.length;++l){let P=a[l].text,p=this._stripComments(P),x=this._lexer.tokenize(p),A=new D(e,t,n,x,p.length,!1,this.errors,i[l]+(P.length-p.length)).parseChain();h.push(A)}return this.createInterpolationAst(s.map(l=>l.text),h,e,t,n)}parseInterpolationExpression(e,t,n){let r=this._stripComments(e),s=this._lexer.tokenize(r),a=new D(e,t,n,s,r.length,!1,this.errors,0).parseChain(),i=["",""];return this.createInterpolationAst(i,[a],e,t,n)}createInterpolationAst(e,t,n,r,s){let a=new q(0,n.length),i=new me(a,a.toAbsolute(s),e,t);return new V(i,n,r,s,this.errors)}splitInterpolation(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:J,r=[],s=[],a=[],i=0,h=!1,l=!1,{start:P,end:p}=n;for(;i<e.length;)if(h){let x=i,A=x+P.length,b=this._getInterpolationEndIndex(e,p,A);if(b===-1){h=!1,l=!0;break}let _=b+p.length,R=e.substring(A,b);R.trim().length===0&&this._reportError("Blank expressions are not allowed in interpolated strings",e,"at column ".concat(i," in"),t),s.push({text:R,start:x,end:_}),a.push(A),i=_,h=!1}else{let x=i;i=e.indexOf(P,i),i===-1&&(i=e.length);let A=e.substring(x,i);r.push({text:A,start:x,end:i}),h=!0}if(!h)if(l){let x=r[r.length-1];x.text+=e.substring(i),x.end=e.length}else r.push({text:e.substring(i),start:i,end:e.length});return new Ve(r,s,a)}wrapLiteralPrimitive(e,t,n){let r=new q(0,e==null?0:e.length);return new V(new B(r,r.toAbsolute(n),e),e,t,n,this.errors)}_stripComments(e){let t=this._commentStart(e);return t!=null?e.substring(0,t).trim():e}_commentStart(e){let t=null;for(let n=0;n<e.length-1;n++){let r=e.charCodeAt(n),s=e.charCodeAt(n+1);if(r===Re&&s==Re&&t==null)return n;t===r?t=null:t==null&&vt(r)&&(t=r)}return null}_checkNoInterpolation(e,t,n){let{start:r,end:s}=n,a=-1,i=-1;for(let h of this._forEachUnquotedChar(e,0))if(a===-1)e.startsWith(r)&&(a=h);else if(i=this._getInterpolationEndIndex(e,s,h),i>-1)break;a>-1&&i>-1&&this._reportError("Got interpolation (".concat(r).concat(s,") where expression was expected"),e,"at column ".concat(a," in"),t)}_getInterpolationEndIndex(e,t,n){for(let r of this._forEachUnquotedChar(e,n)){if(e.startsWith(t,r))return r;if(e.startsWith("//",r))return e.indexOf(t,r)}return-1}*_forEachUnquotedChar(e,t){let n=null,r=0;for(let s=t;s<e.length;s++){let a=e[s];vt(e.charCodeAt(s))&&(n===null||n===a)&&r%2===0?n=n===null?a:null:n===null&&(yield s),r=a==="\\"?r+1:0}}},rn=class extends Qe{constructor(){super(...arguments);this.simpleExpressionChecker=yt}},function(e){e[e.None=0]="None",e[e.Writable=1]="Writable"}(Z||(Z={})),D=class{constructor(e,t,n,r,s,a,i,h){this.input=e,this.location=t,this.absoluteOffset=n,this.tokens=r,this.inputLength=s,this.parseAction=a,this.errors=i,this.offset=h,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.context=Z.None,this.sourceSpanCache=new Map,this.index=0}peek(e){let t=this.index+e;return t<this.tokens.length?this.tokens[t]:Ie}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:this.tokens.length===0?this.inputLength+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let n=this.currentEndIndex;if(t!==void 0&&t>this.currentEndIndex&&(n=t),e>n){let r=n;n=e,e=r}return new q(e,n)}sourceSpan(e,t){let n="".concat(e,"@").concat(this.inputIndex,":").concat(t);return this.sourceSpanCache.has(n)||this.sourceSpanCache.set(n,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(n)}advance(){this.index++}withContext(e,t){this.context|=e;let n=t();return this.context^=e,n}consumeOptionalCharacter(e){return this.next.isCharacter(e)?(this.advance(),!0):!1}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error("Missing expected ".concat(String.fromCharCode(e)))}consumeOptionalOperator(e){return this.next.isOperator(e)?(this.advance(),!0):!1}expectOperator(e){this.consumeOptionalOperator(e)||this.error("Missing expected operator ".concat(e))}prettyPrintToken(e){return e===Ie?"end of input":"token ".concat(e)}expectIdentifierOrKeyword(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error("Unexpected ".concat(this.prettyPrintToken(e),", expected identifier or keyword")),null):(this.advance(),e.toString())}expectIdentifierOrKeywordOrString(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()&&!e.isString()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error("Unexpected ".concat(this.prettyPrintToken(e),", expected identifier, keyword, or string")),""):(this.advance(),e.toString())}parseChain(){let e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){let n=this.parsePipe();if(e.push(n),this.consumeOptionalCharacter(te))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(te););else this.index<this.tokens.length&&this.error("Unexpected token '".concat(this.next,"'"))}if(e.length==0){let n=this.offset,r=this.offset+this.inputLength;return new M(this.span(n,r),this.sourceSpan(n,r))}return e.length==1?e[0]:new oe(this.span(t),this.sourceSpan(t),e)}parsePipe(){let e=this.inputIndex,t=this.parseExpression();if(this.consumeOptionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{let n=this.inputIndex,r=this.expectIdentifierOrKeyword(),s,a;r!==null?s=this.sourceSpan(n):(r="",a=this.next.index!==-1?this.next.index:this.inputLength+this.offset,s=new q(a,a).toAbsolute(this.absoluteOffset));let i=[];for(;this.consumeOptionalCharacter(X);)i.push(this.parseExpression());t=new fe(this.span(e),this.sourceSpan(e,a),t,r,i,s)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){let e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){let n=this.parsePipe(),r;if(this.consumeOptionalCharacter(X))r=this.parsePipe();else{let s=this.inputIndex,a=this.input.substring(e,s);this.error("Conditional expression ".concat(a," requires all 3 expressions")),r=new M(this.span(e),this.sourceSpan(e))}return new ce(this.span(e),this.sourceSpan(e),t,n,r)}else return t}parseLogicalOr(){let e=this.inputIndex,t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){let n=this.parseLogicalAnd();t=new K(this.span(e),this.sourceSpan(e),"||",t,n)}return t}parseLogicalAnd(){let e=this.inputIndex,t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){let n=this.parseNullishCoalescing();t=new K(this.span(e),this.sourceSpan(e),"&&",t,n)}return t}parseNullishCoalescing(){let e=this.inputIndex,t=this.parseEquality();for(;this.consumeOptionalOperator("??");){let n=this.parseEquality();t=new K(this.span(e),this.sourceSpan(e),"??",t,n)}return t}parseEquality(){let e=this.inputIndex,t=this.parseRelational();for(;this.next.type==S.Operator;){let n=this.next.strValue;switch(n){case"==":case"===":case"!=":case"!==":this.advance();let r=this.parseRelational();t=new K(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseRelational(){let e=this.inputIndex,t=this.parseAdditive();for(;this.next.type==S.Operator;){let n=this.next.strValue;switch(n){case"<":case">":case"<=":case">=":this.advance();let r=this.parseAdditive();t=new K(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseAdditive(){let e=this.inputIndex,t=this.parseMultiplicative();for(;this.next.type==S.Operator;){let n=this.next.strValue;switch(n){case"+":case"-":this.advance();let r=this.parseMultiplicative();t=new K(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseMultiplicative(){let e=this.inputIndex,t=this.parsePrefix();for(;this.next.type==S.Operator;){let n=this.next.strValue;switch(n){case"*":case"%":case"/":this.advance();let r=this.parsePrefix();t=new K(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parsePrefix(){if(this.next.type==S.Operator){let e=this.inputIndex,t=this.next.strValue,n;switch(t){case"+":return this.advance(),n=this.parsePrefix(),j.createPlus(this.span(e),this.sourceSpan(e),n);case"-":return this.advance(),n=this.parsePrefix(),j.createMinus(this.span(e),this.sourceSpan(e),n);case"!":return this.advance(),n=this.parsePrefix(),new xe(this.span(e),this.sourceSpan(e),n)}}return this.parseCallChain()}parseCallChain(){let e=this.inputIndex,t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(H))t=this.parseAccessMemberOrMethodCall(t,e,!1);else if(this.consumeOptionalOperator("?."))t=this.consumeOptionalCharacter(Ae)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMemberOrMethodCall(t,e,!0);else if(this.consumeOptionalCharacter(Ae))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(Ee)){this.rparensExpected++;let n=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(z),t=new Pe(this.span(e),this.sourceSpan(e),t,n)}else if(this.consumeOptionalOperator("!"))t=new Se(this.span(e),this.sourceSpan(e),t);else return t}parsePrimary(){let e=this.inputIndex;if(this.consumeOptionalCharacter(Ee)){this.rparensExpected++;let t=this.parsePipe();return this.rparensExpected--,this.expectCharacter(z),t}else{if(this.next.isKeywordNull())return this.advance(),new B(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new B(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new B(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new B(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new Je(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(Ae)){this.rbracketsExpected++;let t=this.parseExpressionList(ne);return this.rbracketsExpected--,this.expectCharacter(ne),new ge(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isCharacter(Te))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new Oe(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){let t=this.next.toNumber();return this.advance(),new B(this.span(e),this.sourceSpan(e),t)}else if(this.next.isString()){let t=this.next.toString();return this.advance(),new B(this.span(e),this.sourceSpan(e),t)}else return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new M(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error("Unexpected end of expression: ".concat(this.input)),new M(this.span(e),this.sourceSpan(e))):(this.error("Unexpected token ".concat(this.next)),new M(this.span(e),this.sourceSpan(e)))}}}parseExpressionList(e){let t=[];do if(!this.next.isCharacter(e))t.push(this.parsePipe());else break;while(this.consumeOptionalCharacter(ee));return t}parseLiteralMap(){let e=[],t=[],n=this.inputIndex;if(this.expectCharacter(Te),!this.consumeOptionalCharacter(_e)){this.rbracesExpected++;do{let r=this.inputIndex,s=this.next.isString(),a=this.expectIdentifierOrKeywordOrString();if(e.push({key:a,quoted:s}),s)this.expectCharacter(X),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(X))t.push(this.parsePipe());else{let i=this.span(r),h=this.sourceSpan(r);t.push(new re(i,h,h,new Oe(i,h),a))}}while(this.consumeOptionalCharacter(ee));this.rbracesExpected--,this.expectCharacter(_e)}return new ve(this.span(n),this.sourceSpan(n),e,t)}parseAccessMemberOrMethodCall(e,t,n){let r=this.inputIndex,s=this.withContext(Z.Writable,()=>{var i;let h=(i=this.expectIdentifierOrKeyword())!==null&&i!==void 0?i:"";return h.length===0&&this.error("Expected identifier for property access",e.span.end),h}),a=this.sourceSpan(r);if(this.consumeOptionalCharacter(Ee)){let i=this.inputIndex;this.rparensExpected++;let h=this.parseCallArguments(),l=this.span(i,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(z),this.rparensExpected--;let P=this.span(t),p=this.sourceSpan(t);return n?new we(P,p,a,e,s,h,l):new ye(P,p,a,e,s,h,l)}else{if(n)return this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new M(this.span(t),this.sourceSpan(t))):new le(this.span(t),this.sourceSpan(t),a,e,s);if(this.consumeOptionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new M(this.span(t),this.sourceSpan(t));let i=this.parseConditional();return new ue(this.span(t),this.sourceSpan(t),a,e,s,i)}else return new re(this.span(t),this.sourceSpan(t),a,e,s)}}parseCallArguments(){if(this.next.isCharacter(z))return[];let e=[];do e.push(this.parsePipe());while(this.consumeOptionalCharacter(ee));return e}expectTemplateBindingKey(){let e="",t=!1,n=this.currentAbsoluteOffset;do e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-");while(t);return{source:e,span:new F(n,n+e.length)}}parseTemplateBindings(e){let t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){let n=this.parseLetBinding();if(n)t.push(n);else{let r=this.expectTemplateBindingKey(),s=this.parseAsBinding(r);s?t.push(s):(r.source=e.source+r.source.charAt(0).toUpperCase()+r.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(r)))}this.consumeStatementTerminator()}return new qe(t,[],this.errors)}parseKeyedReadOrWrite(e,t,n){return this.withContext(Z.Writable,()=>{this.rbracketsExpected++;let r=this.parsePipe();if(r instanceof M&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(ne),this.consumeOptionalOperator("="))if(n)this.error("The '?.' operator cannot be used in the assignment");else{let s=this.parseConditional();return new de(this.span(t),this.sourceSpan(t),e,r,s)}else return n?new pe(this.span(t),this.sourceSpan(t),e,r):new he(this.span(t),this.sourceSpan(t),e,r);return new M(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){let t=[];this.consumeOptionalCharacter(X);let n=this.getDirectiveBoundTarget(),r=this.currentAbsoluteOffset,s=this.parseAsBinding(e);s||(this.consumeStatementTerminator(),r=this.currentAbsoluteOffset);let a=new F(e.span.start,r);return t.push(new Ye(a,e,n)),s&&t.push(s),t}getDirectiveBoundTarget(){if(this.next===Ie||this.peekKeywordAs()||this.peekKeywordLet())return null;let e=this.parsePipe(),{start:t,end:n}=e.span,r=this.input.substring(t,n);return new V(e,r,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();let t=this.expectTemplateBindingKey();this.consumeStatementTerminator();let n=new F(e.span.start,this.currentAbsoluteOffset);return new Le(n,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;let e=this.currentAbsoluteOffset;this.advance();let t=this.expectTemplateBindingKey(),n=null;this.consumeOptionalOperator("=")&&(n=this.expectTemplateBindingKey()),this.consumeStatementTerminator();let r=new F(e,this.currentAbsoluteOffset);return new Le(r,t,n)}consumeStatementTerminator(){this.consumeOptionalCharacter(te)||this.consumeOptionalCharacter(ee)}error(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.errors.push(new ae(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return e==null&&(e=this.index),e<this.tokens.length?"at column ".concat(this.tokens[e].index+1," in"):"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let n="Private identifiers are not supported. Unexpected private identifier: ".concat(e);t!==null&&(n+=", ".concat(t)),this.error(n)}skip(){let e=this.next;for(;this.index<this.tokens.length&&!e.isCharacter(te)&&!e.isOperator("|")&&(this.rparensExpected<=0||!e.isCharacter(z))&&(this.rbracesExpected<=0||!e.isCharacter(_e))&&(this.rbracketsExpected<=0||!e.isCharacter(ne))&&(!(this.context&Z.Writable)||!e.isOperator("="));)this.next.isError()&&this.errors.push(new ae(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next}},St=class{constructor(){this.errors=[]}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){}visitLiteralPrimitive(e,t){}visitPropertyRead(e,t){}visitPropertyWrite(e,t){}visitSafePropertyRead(e,t){}visitMethodCall(e,t){}visitSafeMethodCall(e,t){}visitFunctionCall(e,t){}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitUnary(e,t){}visitBinary(e,t){}visitPrefixNot(e,t){}visitNonNullAssert(e,t){}visitConditional(e,t){}visitPipe(e,t){this.errors.push("pipes")}visitKeyedRead(e,t){}visitKeyedWrite(e,t){}visitAll(e,t){return e.map(n=>n.visit(this,t))}visitChain(e,t){}visitQuote(e,t){}visitSafeKeyedRead(e,t){}},yt=class extends Ze{constructor(){super(...arguments);this.errors=[]}visitPipe(){this.errors.push("pipes")}}}}),dt=U({"node_modules/angular-estree-parser/lib/utils.js"(e){"use strict";L(),Object.defineProperty(e,"__esModule",{value:!0}),e.getLast=e.toLowerCamelCase=e.findBackChar=e.findFrontChar=e.fitSpans=e.getNgType=e.parseNgInterpolation=e.parseNgTemplateBindings=e.parseNgAction=e.parseNgSimpleBinding=e.parseNgBinding=e.NG_PARSE_TEMPLATE_BINDINGS_FAKE_PREFIX=void 0;var t=(et(),Ne(Xe)),n=(en(),Ne(Jt)),r=(kn(),Ne(nn)),s="angular-estree-parser";e.NG_PARSE_TEMPLATE_BINDINGS_FAKE_PREFIX="NgEstreeParser";var a=0,i=[s,a];function h(){return new r.Parser(new n.Lexer)}function l(o,d){let y=h(),{astInput:C,comments:E}=T(o,y),{ast:O,errors:W}=d(C,y);return R(W),{ast:O,comments:E}}function P(o){return l(o,(d,y)=>y.parseBinding(d,...i))}e.parseNgBinding=P;function p(o){return l(o,(d,y)=>y.parseSimpleBinding(d,...i))}e.parseNgSimpleBinding=p;function x(o){return l(o,(d,y)=>y.parseAction(d,...i))}e.parseNgAction=x;function A(o){let d=h(),{templateBindings:y,errors:C}=d.parseTemplateBindings(e.NG_PARSE_TEMPLATE_BINDINGS_FAKE_PREFIX,o,s,a,a);return R(C),y}e.parseNgTemplateBindings=A;function b(o){let d=h(),{astInput:y,comments:C}=T(o,d),E="{{",O="}}",{ast:W,errors:an}=d.parseInterpolation(E+y+O,...i);R(an);let ft=W.expressions[0],gt=new Set;return _(ft,ke=>{gt.has(ke)||(ke.start-=E.length,ke.end-=E.length,gt.add(ke))}),{ast:ft,comments:C}}e.parseNgInterpolation=b;function _(o,d){if(!(!o||typeof o!="object")){if(Array.isArray(o))return o.forEach(y=>_(y,d));for(let y of Object.keys(o)){let C=o[y];y==="span"?d(C):_(C,d)}}}function R(o){if(o.length!==0){let[{message:d}]=o;throw new SyntaxError(d.replace(/^Parser Error: | at column \d+ in [^]*$/g,""))}}function T(o,d){let y=d._commentStart(o);return y===null?{astInput:o,comments:[]}:{astInput:o.slice(0,y),comments:[{type:"Comment",value:o.slice(y+2),span:{start:y,end:o.length}}]}}function I(o){return t.Unary&&o instanceof t.Unary?"Unary":o instanceof t.Binary?"Binary":o instanceof t.BindingPipe?"BindingPipe":o instanceof t.Chain?"Chain":o instanceof t.Conditional?"Conditional":o instanceof t.EmptyExpr?"EmptyExpr":o instanceof t.FunctionCall?"FunctionCall":o instanceof t.ImplicitReceiver?"ImplicitReceiver":o instanceof t.KeyedRead?"KeyedRead":o instanceof t.KeyedWrite?"KeyedWrite":o instanceof t.LiteralArray?"LiteralArray":o instanceof t.LiteralMap?"LiteralMap":o instanceof t.LiteralPrimitive?"LiteralPrimitive":o instanceof t.MethodCall?"MethodCall":o instanceof t.NonNullAssert?"NonNullAssert":o instanceof t.PrefixNot?"PrefixNot":o instanceof t.PropertyRead?"PropertyRead":o instanceof t.PropertyWrite?"PropertyWrite":o instanceof t.Quote?"Quote":o instanceof t.SafeMethodCall?"SafeMethodCall":o instanceof t.SafePropertyRead?"SafePropertyRead":o.type}e.getNgType=I;function N(o,d){let{start:y,end:C}=o,E=y,O=C;for(;O!==E&&/\s/.test(d[O-1]);)O--;for(;E!==O&&/\s/.test(d[E]);)E++;return{start:E,end:O}}function c(o,d){let{start:y,end:C}=o,E=y,O=C;for(;O!==d.length&&/\s/.test(d[O]);)O++;for(;E!==0&&/\s/.test(d[E-1]);)E--;return{start:E,end:O}}function m(o,d){return d[o.start-1]==="("&&d[o.end]===")"?{start:o.start-1,end:o.end+1}:o}function u(o,d,y){let C=0,E={start:o.start,end:o.end};for(;;){let O=c(E,d),W=m(O,d);if(O.start===W.start&&O.end===W.end)break;E.start=W.start,E.end=W.end,C++}return{hasParens:(y?C-1:C)!==0,outerSpan:N(y?{start:E.start+1,end:E.end-1}:E,d),innerSpan:N(o,d)}}e.fitSpans=u;function g(o,d,y){let C=d;for(;!o.test(y[C]);)if(--C<0)throw new Error("Cannot find front char ".concat(o," from index ").concat(d," in ").concat(JSON.stringify(y)));return C}e.findFrontChar=g;function v(o,d,y){let C=d;for(;!o.test(y[C]);)if(++C>=y.length)throw new Error("Cannot find back char ".concat(o," from index ").concat(d," in ").concat(JSON.stringify(y)));return C}e.findBackChar=v;function f(o){return o.slice(0,1).toLowerCase()+o.slice(1)}e.toLowerCamelCase=f;function w(o){return o.length===0?void 0:o[o.length-1]}e.getLast=w}}),sn=U({"node_modules/angular-estree-parser/lib/transform.js"(e){"use strict";L(),Object.defineProperty(e,"__esModule",{value:!0}),e.transformSpan=e.transform=void 0;var t=dt(),n=function(s,a){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=t.getNgType(s);switch(h){case"Unary":{let{operator:c,expr:m}=s,u=l(m);return p("UnaryExpression",{prefix:!0,argument:u,operator:c},s.span,{hasParentParens:i})}case"Binary":{let{left:c,operation:m,right:u}=s,g=u.span.start===u.span.end,v=c.span.start===c.span.end;if(g||v){let o=c.span.start===c.span.end?l(u):l(c);return p("UnaryExpression",{prefix:!0,argument:o,operator:g?"+":"-"},{start:s.span.start,end:N(o)},{hasParentParens:i})}let f=l(c),w=l(u);return p(m==="&&"||m==="||"?"LogicalExpression":"BinaryExpression",{left:f,right:w,operator:m},{start:I(f),end:N(w)},{hasParentParens:i})}case"BindingPipe":{let{exp:c,name:m,args:u}=s,g=l(c),v=b(/\S/,b(/\|/,N(g))+1),f=p("Identifier",{name:m},{start:v,end:v+m.length}),w=u.map(l);return p("NGPipeExpression",{left:g,right:f,arguments:w},{start:I(g),end:N(w.length===0?f:t.getLast(w))},{hasParentParens:i})}case"Chain":{let{expressions:c}=s;return p("NGChainedExpression",{expressions:c.map(l)},s.span,{hasParentParens:i})}case"Comment":{let{value:c}=s;return p("CommentLine",{value:c},s.span,{processSpan:!1})}case"Conditional":{let{condition:c,trueExp:m,falseExp:u}=s,g=l(c),v=l(m),f=l(u);return p("ConditionalExpression",{test:g,consequent:v,alternate:f},{start:I(g),end:N(f)},{hasParentParens:i})}case"EmptyExpr":return p("NGEmptyExpression",{},s.span,{hasParentParens:i});case"FunctionCall":{let{target:c,args:m}=s,u=m.length===1?[P(m[0])]:m.map(l),g=l(c);return p("CallExpression",{callee:g,arguments:u},{start:I(g),end:s.span.end},{hasParentParens:i})}case"ImplicitReceiver":return p("ThisExpression",{},s.span,{hasParentParens:i});case"KeyedRead":{let{key:c}=s,m=Object.prototype.hasOwnProperty.call(s,"receiver")?s.receiver:s.obj,u=l(c);return x(m,u,{computed:!0,optional:!1},{end:s.span.end,hasParentParens:i})}case"LiteralArray":{let{expressions:c}=s;return p("ArrayExpression",{elements:c.map(l)},s.span,{hasParentParens:i})}case"LiteralMap":{let{keys:c,values:m}=s,u=m.map(v=>l(v)),g=c.map((v,f)=>{let{key:w,quoted:o}=v,d=u[f],y=b(/\S/,f===0?s.span.start+1:b(/,/,N(u[f-1]))+1),C=A(/\S/,A(/:/,I(d)-1)-1)+1,E={start:y,end:C},O=o?p("StringLiteral",{value:w},E):p("Identifier",{name:w},E);return p("ObjectProperty",{key:O,value:d,method:!1,shorthand:!1,computed:!1},{start:I(O),end:N(d)})});return p("ObjectExpression",{properties:g},s.span,{hasParentParens:i})}case"LiteralPrimitive":{let{value:c}=s;switch(typeof c){case"boolean":return p("BooleanLiteral",{value:c},s.span,{hasParentParens:i});case"number":return p("NumericLiteral",{value:c},s.span,{hasParentParens:i});case"object":return p("NullLiteral",{},s.span,{hasParentParens:i});case"string":return p("StringLiteral",{value:c},s.span,{hasParentParens:i});case"undefined":return p("Identifier",{name:"undefined"},s.span,{hasParentParens:i});default:throw new Error("Unexpected LiteralPrimitive value type ".concat(typeof c))}}case"MethodCall":case"SafeMethodCall":{let c=h==="SafeMethodCall",{receiver:m,name:u,args:g}=s,v=g.length===1?[P(g[0])]:g.map(l),f=A(/\S/,A(/\(/,(v.length===0?A(/\)/,s.span.end-1):I(v[0]))-1)-1)+1,w=p("Identifier",{name:u},{start:f-u.length,end:f}),o=x(m,w,{computed:!1,optional:c}),d=R(o);return p(c||d?"OptionalCallExpression":"CallExpression",{callee:o,arguments:v},{start:I(o),end:s.span.end},{hasParentParens:i})}case"NonNullAssert":{let{expression:c}=s,m=l(c);return p("TSNonNullExpression",{expression:m},{start:I(m),end:s.span.end},{hasParentParens:i})}case"PrefixNot":{let{expression:c}=s,m=l(c);return p("UnaryExpression",{prefix:!0,operator:"!",argument:m},{start:s.span.start,end:N(m)},{hasParentParens:i})}case"PropertyRead":case"SafePropertyRead":{let c=h==="SafePropertyRead",{receiver:m,name:u}=s,g=A(/\S/,s.span.end-1)+1,v=p("Identifier",{name:u},{start:g-u.length,end:g},_(m)?{hasParentParens:i}:{});return x(m,v,{computed:!1,optional:c},{hasParentParens:i})}case"KeyedWrite":{let{key:c,value:m}=s,u=Object.prototype.hasOwnProperty.call(s,"receiver")?s.receiver:s.obj,g=l(c),v=l(m),f=x(u,g,{computed:!0,optional:!1},{end:b(/\]/,N(g))+1});return p("AssignmentExpression",{left:f,operator:"=",right:v},{start:I(f),end:N(v)},{hasParentParens:i})}case"PropertyWrite":{let{receiver:c,name:m,value:u}=s,g=l(u),v=A(/\S/,A(/=/,I(g)-1)-1)+1,f=p("Identifier",{name:m},{start:v-m.length,end:v}),w=x(c,f,{computed:!1,optional:!1});return p("AssignmentExpression",{left:w,operator:"=",right:g},{start:I(w),end:N(g)},{hasParentParens:i})}case"Quote":{let{prefix:c,uninterpretedExpression:m}=s;return p("NGQuotedExpression",{prefix:c,value:m},s.span,{hasParentParens:i})}default:throw new Error("Unexpected node ".concat(h))}function l(c){return e.transform(c,a)}function P(c){return e.transform(c,a,!0)}function p(c,m,u){let{processSpan:g=!0,hasParentParens:v=!1}=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},f=Object.assign(Object.assign({type:c},r(u,a,g,v)),m);switch(c){case"Identifier":{let w=f;w.loc.identifierName=w.name;break}case"NumericLiteral":{let w=f;w.extra=Object.assign(Object.assign({},w.extra),{raw:a.text.slice(w.start,w.end),rawValue:w.value});break}case"StringLiteral":{let w=f;w.extra=Object.assign(Object.assign({},w.extra),{raw:a.text.slice(w.start,w.end),rawValue:w.value});break}}return f}function x(c,m,u){let{end:g=N(m),hasParentParens:v=!1}=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(_(c))return m;let f=l(c),w=R(f);return p(u.optional||w?"OptionalMemberExpression":"MemberExpression",Object.assign({object:f,property:m,computed:u.computed},u.optional?{optional:!0}:w?{optional:!1}:null),{start:I(f),end:g},{hasParentParens:v})}function A(c,m){return t.findFrontChar(c,m,a.text)}function b(c,m){return t.findBackChar(c,m,a.text)}function _(c){return c.span.start>=c.span.end||/^\s+$/.test(a.text.slice(c.span.start,c.span.end))}function R(c){return(c.type==="OptionalCallExpression"||c.type==="OptionalMemberExpression")&&!T(c)}function T(c){return c.extra&&c.extra.parenthesized}function I(c){return T(c)?c.extra.parenStart:c.start}function N(c){return T(c)?c.extra.parenEnd:c.end}};e.transform=n;function r(s,a){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!i){let{start:x,end:A}=s;return{start:x,end:A,loc:{start:a.locator.locationForIndex(x),end:a.locator.locationForIndex(A)}}}let{outerSpan:l,innerSpan:P,hasParens:p}=t.fitSpans(s,a.text,h);return Object.assign({start:P.start,end:P.end,loc:{start:a.locator.locationForIndex(P.start),end:a.locator.locationForIndex(P.end)}},p&&{extra:{parenthesized:!0,parenStart:l.start,parenEnd:l.end}})}e.transformSpan=r}}),Nn=U({"node_modules/angular-estree-parser/lib/transform-microsyntax.js"(e){"use strict";L(),Object.defineProperty(e,"__esModule",{value:!0}),e.transformTemplateBindings=void 0;var t=(et(),Ne(Xe)),n=sn(),r=dt();function s(a,i){a.forEach(N);let[h]=a,{key:l}=h,P=i.text.slice(h.sourceSpan.start,h.sourceSpan.end).trim().length===0?a.slice(1):a,p=[],x=null;for(let u=0;u<P.length;u++){let g=P[u];if(x&&T(x)&&I(g)&&g.value&&g.value.source===x.key.source){let v=_("NGMicrosyntaxKey",{name:g.key.source},g.key.span),f=(d,y)=>Object.assign(Object.assign({},d),n.transformSpan({start:d.start,end:y},i)),w=d=>Object.assign(Object.assign({},f(d,v.end)),{alias:v}),o=p.pop();if(o.type==="NGMicrosyntaxExpression")p.push(w(o));else if(o.type==="NGMicrosyntaxKeyedExpression"){let d=w(o.expression);p.push(f(Object.assign(Object.assign({},o),{expression:d}),d.end))}else throw new Error("Unexpected type ".concat(o.type))}else p.push(A(g,u));x=g}return _("NGMicrosyntax",{body:p},p.length===0?a[0].sourceSpan:{start:p[0].start,end:p[p.length-1].end});function A(u,g){if(T(u)){let{key:v,value:f}=u;return f?g===0?_("NGMicrosyntaxExpression",{expression:b(f.ast),alias:null},f.sourceSpan):_("NGMicrosyntaxKeyedExpression",{key:_("NGMicrosyntaxKey",{name:R(v.source)},v.span),expression:_("NGMicrosyntaxExpression",{expression:b(f.ast),alias:null},f.sourceSpan)},{start:v.span.start,end:f.sourceSpan.end}):_("NGMicrosyntaxKey",{name:R(v.source)},v.span)}else{let{key:v,sourceSpan:f}=u;if(/^let\s$/.test(i.text.slice(f.start,f.start+4))){let{value:o}=u;return _("NGMicrosyntaxLet",{key:_("NGMicrosyntaxKey",{name:v.source},v.span),value:o?_("NGMicrosyntaxKey",{name:o.source},o.span):null},{start:f.start,end:o?o.span.end:v.span.end})}else{let o=m(u);return _("NGMicrosyntaxAs",{key:_("NGMicrosyntaxKey",{name:o.source},o.span),alias:_("NGMicrosyntaxKey",{name:v.source},v.span)},{start:o.span.start,end:v.span.end})}}}function b(u){return n.transform(u,i)}function _(u,g,v){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;return Object.assign(Object.assign({type:u},n.transformSpan(v,i,f)),g)}function R(u){return r.toLowerCamelCase(u.slice(l.source.length))}function T(u){return u instanceof t.ExpressionBinding}function I(u){return u instanceof t.VariableBinding}function N(u){c(u.key.span),I(u)&&u.value&&c(u.value.span)}function c(u){if(i.text[u.start]!=='"'&&i.text[u.start]!=="'")return;let g=i.text[u.start],v=!1;for(let f=u.start+1;f<i.text.length;f++)switch(i.text[f]){case g:if(!v){u.end=f+1;return}default:v=!1;break;case"\\":v=!v;break}}function m(u){if(!u.value||u.value.source!==r.NG_PARSE_TEMPLATE_BINDINGS_FAKE_PREFIX)return u.value;let g=r.findBackChar(/\S/,u.sourceSpan.start,i.text);return{source:"$implicit",span:{start:g,end:g}}}}e.transformTemplateBindings=s}}),bn=U({"node_modules/angular-estree-parser/lib/index.js"(e){"use strict";L(),Object.defineProperty(e,"__esModule",{value:!0}),e.parseTemplateBindings=e.parseAction=e.parseInterpolation=e.parseSimpleBinding=e.parseBinding=void 0;var t=dn(),n=sn(),r=Nn(),s=dt();function a(x,A){let{ast:b,comments:_}=A(x),R=new t.Context(x),T=N=>n.transform(N,R),I=T(b);return I.comments=_.map(T),I}function i(x){return a(x,s.parseNgBinding)}e.parseBinding=i;function h(x){return a(x,s.parseNgSimpleBinding)}e.parseSimpleBinding=h;function l(x){return a(x,s.parseNgInterpolation)}e.parseInterpolation=l;function P(x){return a(x,s.parseNgAction)}e.parseAction=P;function p(x){return r.transformTemplateBindings(s.parseNgTemplateBindings(x),new t.Context(x))}e.parseTemplateBindings=p}}),Ln=U({"src/language-js/parse/angular.js"(e,t){L();var{locStart:n,locEnd:r}=hn();function s(a){return{astFormat:"estree",parse:(h,l,P)=>{let p=bn(),x=a(h,p);return{type:"NGRoot",node:P.parser==="__ng_action"&&x.type!=="NGChainedExpression"?Object.assign(Object.assign({},x),{},{type:"NGChainedExpression",expressions:[x]}):x}},locStart:n,locEnd:r}}t.exports={parsers:{__ng_action:s((a,i)=>i.parseAction(a)),__ng_binding:s((a,i)=>i.parseBinding(a)),__ng_interpolation:s((a,i)=>i.parseInterpolation(a)),__ng_directive:s((a,i)=>i.parseTemplateBindings(a))}}}}),Rn=Ln();"use strict";export{Rn as default};