@alignui/cli 0.0.7 → 0.0.9
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/acorn-EYV4PDMH.js +16 -0
- package/dist/acorn-EYV4PDMH.js.map +1 -0
- package/dist/angular-TC473YFC.js +3 -0
- package/dist/angular-TC473YFC.js.map +1 -0
- package/dist/babel-LEKTDS7L.js +16 -0
- package/dist/babel-LEKTDS7L.js.map +1 -0
- package/dist/estree-PSOZDKNG.js +37 -0
- package/dist/estree-PSOZDKNG.js.map +1 -0
- package/dist/flow-SLL5ZRPZ.js +20 -0
- package/dist/flow-SLL5ZRPZ.js.map +1 -0
- package/dist/glimmer-N45MS77V.js +30 -0
- package/dist/glimmer-N45MS77V.js.map +1 -0
- package/dist/{graphql-T4H7YJOH.js → graphql-QTATSPDP.js} +13 -13
- package/dist/graphql-QTATSPDP.js.map +1 -0
- package/dist/html-KSAWNJSD.js +24 -0
- package/dist/html-KSAWNJSD.js.map +1 -0
- package/dist/index.js +115 -103
- package/dist/index.js.map +1 -1
- package/dist/markdown-NMF2LIIF.js +64 -0
- package/dist/markdown-NMF2LIIF.js.map +1 -0
- package/dist/meriyah-GGIQ265B.js +5 -0
- package/dist/meriyah-GGIQ265B.js.map +1 -0
- package/dist/postcss-LEYOLHZE.js +55 -0
- package/dist/postcss-LEYOLHZE.js.map +1 -0
- package/dist/typescript-UFTL2RQ6.js +21 -0
- package/dist/typescript-UFTL2RQ6.js.map +1 -0
- package/dist/yaml-FHI3PI2W.js +161 -0
- package/dist/yaml-FHI3PI2W.js.map +1 -0
- package/package.json +1 -1
- package/dist/acorn-6WD555LV.js +0 -16
- package/dist/acorn-6WD555LV.js.map +0 -1
- package/dist/angular-FB6XRNTO.js +0 -2
- package/dist/angular-FB6XRNTO.js.map +0 -1
- package/dist/babel-TBSVEBBW.js +0 -16
- package/dist/babel-TBSVEBBW.js.map +0 -1
- package/dist/estree-5SEZL7TU.js +0 -37
- package/dist/estree-5SEZL7TU.js.map +0 -1
- package/dist/flow-NFXK7JF7.js +0 -20
- package/dist/flow-NFXK7JF7.js.map +0 -1
- package/dist/glimmer-G2NSKFGE.js +0 -31
- package/dist/glimmer-G2NSKFGE.js.map +0 -1
- package/dist/graphql-T4H7YJOH.js.map +0 -1
- package/dist/html-XLFMJAO7.js +0 -24
- package/dist/html-XLFMJAO7.js.map +0 -1
- package/dist/markdown-NVP463HS.js +0 -63
- package/dist/markdown-NVP463HS.js.map +0 -1
- package/dist/meriyah-EU4YCQJJ.js +0 -5
- package/dist/meriyah-EU4YCQJJ.js.map +0 -1
- package/dist/postcss-FTEKMW3I.js +0 -53
- package/dist/postcss-FTEKMW3I.js.map +0 -1
- package/dist/typescript-2E2VSDEC.js +0 -21
- package/dist/typescript-2E2VSDEC.js.map +0 -1
- package/dist/yaml-QCH4GKYQ.js +0 -162
- package/dist/yaml-QCH4GKYQ.js.map +0 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import"./chunk-4C666HHU.js";var Ei=Object.defineProperty,ws=e=>{throw TypeError(e)},Ss=(e,t)=>{for(var s in t)Ei(e,s,{get:t[s],enumerable:!0})},vt=(e,t,s)=>t.has(e)||ws("Cannot "+s),M=(e,t,s)=>(vt(e,t,"read from private field"),s?s.call(e):t.get(e)),J=(e,t,s)=>t.has(e)?ws("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,s),Ne=(e,t,s,i)=>(vt(e,t,"write to private field"),i?i.call(e,s):t.set(e,s),s),l=(e,t,s)=>(vt(e,t,"access private method"),s),Cs={};Ss(Cs,{parsers:()=>Ns});var Ns={};Ss(Ns,{__ng_action:()=>un,__ng_binding:()=>cn,__ng_directive:()=>pn,__ng_interpolation:()=>hn});var dn=new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,"g"),Ct;(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"})(Ct||(Ct={}));var Nt;(function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"})(Nt||(Nt={}));var It;(function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"})(It||(It={}));var R;(function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"})(R||(R={}));var Pt;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"})(Pt||(Pt={}));var Tt;(function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"})(Tt||(Tt={}));var Ot;(function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"})(Ot||(Ot={}));var bt;(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"})(bt||(bt={}));var kt;(function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"})(kt||(kt={}));var Lt;(function(e){e[e.None=0]="None",e[e.Const=1]="Const"})(Lt||(Lt={}));var At;(function(e){e[e.Dynamic=0]="Dynamic",e[e.Bool=1]="Bool",e[e.String=2]="String",e[e.Int=3]="Int",e[e.Number=4]="Number",e[e.Function=5]="Function",e[e.Inferred=6]="Inferred",e[e.None=7]="None"})(At||(At={}));var wi=void 0,Mt;(function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus"})(Mt||(Mt={}));var S;(function(e){e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.Identical=2]="Identical",e[e.NotIdentical=3]="NotIdentical",e[e.Minus=4]="Minus",e[e.Plus=5]="Plus",e[e.Divide=6]="Divide",e[e.Multiply=7]="Multiply",e[e.Modulo=8]="Modulo",e[e.And=9]="And",e[e.Or=10]="Or",e[e.BitwiseOr=11]="BitwiseOr",e[e.BitwiseAnd=12]="BitwiseAnd",e[e.Lower=13]="Lower",e[e.LowerEquals=14]="LowerEquals",e[e.Bigger=15]="Bigger",e[e.BiggerEquals=16]="BiggerEquals",e[e.NullishCoalesce=17]="NullishCoalesce",e[e.Exponentiation=18]="Exponentiation",e[e.In=19]="In"})(S||(S={}));function Si(e,t){return e==null||t==null?e==t:e.isEquivalent(t)}function Ci(e,t,s){let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(!s(e[r],t[r]))return!1;return!0}function Le(e,t){return Ci(e,t,(s,i)=>s.isEquivalent(i))}var I=class{type;sourceSpan;constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new Ai(this,e,null,t)}key(e,t,s){return new Mi(this,e,t,s)}callFn(e,t,s){return new Oi(this,e,null,t,s)}instantiate(e,t,s){return new bi(this,e,t,s)}conditional(e,t=null,s){return new Li(this,e,t,null,s)}equals(e,t){return new C(S.Equals,this,e,null,t)}notEquals(e,t){return new C(S.NotEquals,this,e,null,t)}identical(e,t){return new C(S.Identical,this,e,null,t)}notIdentical(e,t){return new C(S.NotIdentical,this,e,null,t)}minus(e,t){return new C(S.Minus,this,e,null,t)}plus(e,t){return new C(S.Plus,this,e,null,t)}divide(e,t){return new C(S.Divide,this,e,null,t)}multiply(e,t){return new C(S.Multiply,this,e,null,t)}modulo(e,t){return new C(S.Modulo,this,e,null,t)}power(e,t){return new C(S.Exponentiation,this,e,null,t)}and(e,t){return new C(S.And,this,e,null,t)}bitwiseOr(e,t){return new C(S.BitwiseOr,this,e,null,t)}bitwiseAnd(e,t){return new C(S.BitwiseAnd,this,e,null,t)}or(e,t){return new C(S.Or,this,e,null,t)}lower(e,t){return new C(S.Lower,this,e,null,t)}lowerEquals(e,t){return new C(S.LowerEquals,this,e,null,t)}bigger(e,t){return new C(S.Bigger,this,e,null,t)}biggerEquals(e,t){return new C(S.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(TYPED_NULL_EXPR,e)}nullishCoalesce(e,t){return new C(S.NullishCoalesce,this,e,null,t)}toStmt(){return new Fi(this,null)}},Is=class We extends I{name;constructor(t,s,i){super(s,i),this.name=t}isEquivalent(t){return t instanceof We&&this.name===t.name}isConstant(){return!1}visitExpression(t,s){return t.visitReadVarExpr(this,s)}clone(){return new We(this.name,this.type,this.sourceSpan)}set(t){return new Ii(this.name,t,null,this.sourceSpan)}},Ni=class Ke extends I{expr;constructor(t,s,i){super(s,i),this.expr=t}visitExpression(t,s){return t.visitTypeofExpr(this,s)}isEquivalent(t){return t instanceof Ke&&t.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new Ke(this.expr.clone())}},Ii=class qe extends I{name;value;constructor(t,s,i,r){super(i||s.type,r),this.name=t,this.value=s}isEquivalent(t){return t instanceof qe&&this.name===t.name&&this.value.isEquivalent(t.value)}isConstant(){return!1}visitExpression(t,s){return t.visitWriteVarExpr(this,s)}clone(){return new qe(this.name,this.value.clone(),this.type,this.sourceSpan)}toDeclStmt(t,s){return new Di(this.name,this.value,t,s,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(wi,ce.Final)}},Pi=class $e extends I{receiver;index;value;constructor(t,s,i,r,a){super(r||i.type,a),this.receiver=t,this.index=s,this.value=i}isEquivalent(t){return t instanceof $e&&this.receiver.isEquivalent(t.receiver)&&this.index.isEquivalent(t.index)&&this.value.isEquivalent(t.value)}isConstant(){return!1}visitExpression(t,s){return t.visitWriteKeyExpr(this,s)}clone(){return new $e(this.receiver.clone(),this.index.clone(),this.value.clone(),this.type,this.sourceSpan)}},Ti=class He extends I{receiver;name;value;constructor(t,s,i,r,a){super(r||i.type,a),this.receiver=t,this.name=s,this.value=i}isEquivalent(t){return t instanceof He&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name&&this.value.isEquivalent(t.value)}isConstant(){return!1}visitExpression(t,s){return t.visitWritePropExpr(this,s)}clone(){return new He(this.receiver.clone(),this.name,this.value.clone(),this.type,this.sourceSpan)}},Oi=class Ue extends I{fn;args;pure;constructor(t,s,i,r,a=!1){super(i,r),this.fn=t,this.args=s,this.pure=a}get receiver(){return this.fn}isEquivalent(t){return t instanceof Ue&&this.fn.isEquivalent(t.fn)&&Le(this.args,t.args)&&this.pure===t.pure}isConstant(){return!1}visitExpression(t,s){return t.visitInvokeFunctionExpr(this,s)}clone(){return new Ue(this.fn.clone(),this.args.map(t=>t.clone()),this.type,this.sourceSpan,this.pure)}},bi=class je extends I{classExpr;args;constructor(t,s,i,r){super(i,r),this.classExpr=t,this.args=s}isEquivalent(t){return t instanceof je&&this.classExpr.isEquivalent(t.classExpr)&&Le(this.args,t.args)}isConstant(){return!1}visitExpression(t,s){return t.visitInstantiateExpr(this,s)}clone(){return new je(this.classExpr.clone(),this.args.map(t=>t.clone()),this.type,this.sourceSpan)}},Rt=class _e extends I{value;constructor(t,s,i){super(s,i),this.value=t}isEquivalent(t){return t instanceof _e&&this.value===t.value}isConstant(){return!0}visitExpression(t,s){return t.visitLiteralExpr(this,s)}clone(){return new _e(this.value,this.type,this.sourceSpan)}},ki=class Ge extends I{value;typeParams;constructor(t,s,i=null,r){super(s,r),this.value=t,this.typeParams=i}isEquivalent(t){return t instanceof Ge&&this.value.name===t.value.name&&this.value.moduleName===t.value.moduleName}isConstant(){return!1}visitExpression(t,s){return t.visitExternalExpr(this,s)}clone(){return new Ge(this.value,this.type,this.typeParams,this.sourceSpan)}},Li=class ze extends I{condition;falseCase;trueCase;constructor(t,s,i=null,r,a){super(r||s.type,a),this.condition=t,this.falseCase=i,this.trueCase=s}isEquivalent(t){return t instanceof ze&&this.condition.isEquivalent(t.condition)&&this.trueCase.isEquivalent(t.trueCase)&&Si(this.falseCase,t.falseCase)}isConstant(){return!1}visitExpression(t,s){return t.visitConditionalExpr(this,s)}clone(){var t;return new ze(this.condition.clone(),this.trueCase.clone(),(t=this.falseCase)==null?void 0:t.clone(),this.type,this.sourceSpan)}},C=class Qe extends I{operator;rhs;lhs;constructor(t,s,i,r,a){super(r||s.type,a),this.operator=t,this.rhs=i,this.lhs=s}isEquivalent(t){return t instanceof Qe&&this.operator===t.operator&&this.lhs.isEquivalent(t.lhs)&&this.rhs.isEquivalent(t.rhs)}isConstant(){return!1}visitExpression(t,s){return t.visitBinaryOperatorExpr(this,s)}clone(){return new Qe(this.operator,this.lhs.clone(),this.rhs.clone(),this.type,this.sourceSpan)}},Ai=class Ye extends I{receiver;name;constructor(t,s,i,r){super(i,r),this.receiver=t,this.name=s}get index(){return this.name}isEquivalent(t){return t instanceof Ye&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name}isConstant(){return!1}visitExpression(t,s){return t.visitReadPropExpr(this,s)}set(t){return new Ti(this.receiver,this.name,t,null,this.sourceSpan)}clone(){return new Ye(this.receiver.clone(),this.name,this.type,this.sourceSpan)}},Mi=class Xe extends I{receiver;index;constructor(t,s,i,r){super(i,r),this.receiver=t,this.index=s}isEquivalent(t){return t instanceof Xe&&this.receiver.isEquivalent(t.receiver)&&this.index.isEquivalent(t.index)}isConstant(){return!1}visitExpression(t,s){return t.visitReadKeyExpr(this,s)}set(t){return new Pi(this.receiver,this.index,t,null,this.sourceSpan)}clone(){return new Xe(this.receiver.clone(),this.index.clone(),this.type,this.sourceSpan)}},Ri=class Je extends I{entries;constructor(t,s,i){super(s,i),this.entries=t}isConstant(){return this.entries.every(t=>t.isConstant())}isEquivalent(t){return t instanceof Je&&Le(this.entries,t.entries)}visitExpression(t,s){return t.visitLiteralArrayExpr(this,s)}clone(){return new Je(this.entries.map(t=>t.clone()),this.type,this.sourceSpan)}},Bi=class Ze extends I{entries;valueType=null;constructor(t,s,i){super(s,i),this.entries=t,s&&(this.valueType=s.valueType)}isEquivalent(t){return t instanceof Ze&&Le(this.entries,t.entries)}isConstant(){return this.entries.every(t=>t.value.isConstant())}visitExpression(t,s){return t.visitLiteralMapExpr(this,s)}clone(){let t=this.entries.map(s=>s.clone());return new Ze(t,this.type,this.sourceSpan)}},ce;(function(e){e[e.None=0]="None",e[e.Final=1]="Final",e[e.Private=2]="Private",e[e.Exported=4]="Exported",e[e.Static=8]="Static"})(ce||(ce={}));var Ps=class{modifiers;sourceSpan;leadingComments;constructor(e=ce.None,t=null,s){this.modifiers=e,this.sourceSpan=t,this.leadingComments=s}hasModifier(e){return(this.modifiers&e)!==0}addLeadingComment(e){this.leadingComments=this.leadingComments??[],this.leadingComments.push(e)}},Di=class Ts extends Ps{name;value;type;constructor(t,s,i,r,a,o){super(r,a,o),this.name=t,this.value=s,this.type=i||s&&s.type||null}isEquivalent(t){return t instanceof Ts&&this.name===t.name&&(this.value?!!t.value&&this.value.isEquivalent(t.value):!t.value)}visitStatement(t,s){return t.visitDeclareVarStmt(this,s)}},Fi=class Os extends Ps{expr;constructor(t,s,i){super(ce.None,s,i),this.expr=t}isEquivalent(t){return t instanceof Os&&this.expr.isEquivalent(t.expr)}visitStatement(t,s){return t.visitExpressionStmt(this,s)}};function Vi(e,t,s){return new Is(e,t,s)}var mn=Vi("<unknown>"),fn=class bs{static INSTANCE=new bs;keyOf(t){if(t instanceof Rt&&typeof t.value=="string")return`"${t.value}"`;if(t instanceof Rt)return String(t.value);if(t instanceof Ri){let s=[];for(let i of t.entries)s.push(this.keyOf(i));return`[${s.join(",")}]`}else if(t instanceof Bi){let s=[];for(let i of t.entries){let r=i.key;i.quoted&&(r=`"${r}"`),s.push(r+":"+this.keyOf(i.value))}return`{${s.join(",")}}`}else{if(t instanceof ki)return`import("${t.value.moduleName}", ${t.value.name})`;if(t instanceof Is)return`read(${t.name})`;if(t instanceof Ni)return`typeof(${this.keyOf(t.expr)})`;throw new Error(`${this.constructor.name} does not handle expressions of type ${t.constructor.name}`)}}},n="@angular/core",c=class{static NEW_METHOD="factory";static TRANSFORM_METHOD="transform";static PATCH_DEPS="patchedDeps";static core={name:null,moduleName:n};static namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:n};static namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:n};static namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:n};static element={name:"\u0275\u0275element",moduleName:n};static elementStart={name:"\u0275\u0275elementStart",moduleName:n};static elementEnd={name:"\u0275\u0275elementEnd",moduleName:n};static advance={name:"\u0275\u0275advance",moduleName:n};static syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:n};static syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:n};static attribute={name:"\u0275\u0275attribute",moduleName:n};static classProp={name:"\u0275\u0275classProp",moduleName:n};static elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:n};static elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:n};static elementContainer={name:"\u0275\u0275elementContainer",moduleName:n};static styleMap={name:"\u0275\u0275styleMap",moduleName:n};static classMap={name:"\u0275\u0275classMap",moduleName:n};static styleProp={name:"\u0275\u0275styleProp",moduleName:n};static interpolate={name:"\u0275\u0275interpolate",moduleName:n};static interpolate1={name:"\u0275\u0275interpolate1",moduleName:n};static interpolate2={name:"\u0275\u0275interpolate2",moduleName:n};static interpolate3={name:"\u0275\u0275interpolate3",moduleName:n};static interpolate4={name:"\u0275\u0275interpolate4",moduleName:n};static interpolate5={name:"\u0275\u0275interpolate5",moduleName:n};static interpolate6={name:"\u0275\u0275interpolate6",moduleName:n};static interpolate7={name:"\u0275\u0275interpolate7",moduleName:n};static interpolate8={name:"\u0275\u0275interpolate8",moduleName:n};static interpolateV={name:"\u0275\u0275interpolateV",moduleName:n};static nextContext={name:"\u0275\u0275nextContext",moduleName:n};static resetView={name:"\u0275\u0275resetView",moduleName:n};static templateCreate={name:"\u0275\u0275template",moduleName:n};static defer={name:"\u0275\u0275defer",moduleName:n};static deferWhen={name:"\u0275\u0275deferWhen",moduleName:n};static deferOnIdle={name:"\u0275\u0275deferOnIdle",moduleName:n};static deferOnImmediate={name:"\u0275\u0275deferOnImmediate",moduleName:n};static deferOnTimer={name:"\u0275\u0275deferOnTimer",moduleName:n};static deferOnHover={name:"\u0275\u0275deferOnHover",moduleName:n};static deferOnInteraction={name:"\u0275\u0275deferOnInteraction",moduleName:n};static deferOnViewport={name:"\u0275\u0275deferOnViewport",moduleName:n};static deferPrefetchWhen={name:"\u0275\u0275deferPrefetchWhen",moduleName:n};static deferPrefetchOnIdle={name:"\u0275\u0275deferPrefetchOnIdle",moduleName:n};static deferPrefetchOnImmediate={name:"\u0275\u0275deferPrefetchOnImmediate",moduleName:n};static deferPrefetchOnTimer={name:"\u0275\u0275deferPrefetchOnTimer",moduleName:n};static deferPrefetchOnHover={name:"\u0275\u0275deferPrefetchOnHover",moduleName:n};static deferPrefetchOnInteraction={name:"\u0275\u0275deferPrefetchOnInteraction",moduleName:n};static deferPrefetchOnViewport={name:"\u0275\u0275deferPrefetchOnViewport",moduleName:n};static deferHydrateWhen={name:"\u0275\u0275deferHydrateWhen",moduleName:n};static deferHydrateNever={name:"\u0275\u0275deferHydrateNever",moduleName:n};static deferHydrateOnIdle={name:"\u0275\u0275deferHydrateOnIdle",moduleName:n};static deferHydrateOnImmediate={name:"\u0275\u0275deferHydrateOnImmediate",moduleName:n};static deferHydrateOnTimer={name:"\u0275\u0275deferHydrateOnTimer",moduleName:n};static deferHydrateOnHover={name:"\u0275\u0275deferHydrateOnHover",moduleName:n};static deferHydrateOnInteraction={name:"\u0275\u0275deferHydrateOnInteraction",moduleName:n};static deferHydrateOnViewport={name:"\u0275\u0275deferHydrateOnViewport",moduleName:n};static deferEnableTimerScheduling={name:"\u0275\u0275deferEnableTimerScheduling",moduleName:n};static conditionalCreate={name:"\u0275\u0275conditionalCreate",moduleName:n};static conditionalBranchCreate={name:"\u0275\u0275conditionalBranchCreate",moduleName:n};static conditional={name:"\u0275\u0275conditional",moduleName:n};static repeater={name:"\u0275\u0275repeater",moduleName:n};static repeaterCreate={name:"\u0275\u0275repeaterCreate",moduleName:n};static repeaterTrackByIndex={name:"\u0275\u0275repeaterTrackByIndex",moduleName:n};static repeaterTrackByIdentity={name:"\u0275\u0275repeaterTrackByIdentity",moduleName:n};static componentInstance={name:"\u0275\u0275componentInstance",moduleName:n};static text={name:"\u0275\u0275text",moduleName:n};static enableBindings={name:"\u0275\u0275enableBindings",moduleName:n};static disableBindings={name:"\u0275\u0275disableBindings",moduleName:n};static getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:n};static textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:n};static textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:n};static textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:n};static textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:n};static textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:n};static textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:n};static textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:n};static textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:n};static textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:n};static textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:n};static restoreView={name:"\u0275\u0275restoreView",moduleName:n};static pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:n};static pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:n};static pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:n};static pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:n};static pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:n};static pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:n};static pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:n};static pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:n};static pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:n};static pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:n};static pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:n};static pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:n};static pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:n};static pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:n};static pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:n};static domProperty={name:"\u0275\u0275domProperty",moduleName:n};static property={name:"\u0275\u0275property",moduleName:n};static i18n={name:"\u0275\u0275i18n",moduleName:n};static i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:n};static i18nExp={name:"\u0275\u0275i18nExp",moduleName:n};static i18nStart={name:"\u0275\u0275i18nStart",moduleName:n};static i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:n};static i18nApply={name:"\u0275\u0275i18nApply",moduleName:n};static i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:n};static pipe={name:"\u0275\u0275pipe",moduleName:n};static projection={name:"\u0275\u0275projection",moduleName:n};static projectionDef={name:"\u0275\u0275projectionDef",moduleName:n};static reference={name:"\u0275\u0275reference",moduleName:n};static inject={name:"\u0275\u0275inject",moduleName:n};static injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:n};static directiveInject={name:"\u0275\u0275directiveInject",moduleName:n};static invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:n};static invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:n};static templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:n};static forwardRef={name:"forwardRef",moduleName:n};static resolveForwardRef={name:"resolveForwardRef",moduleName:n};static replaceMetadata={name:"\u0275\u0275replaceMetadata",moduleName:n};static getReplaceMetadataURL={name:"\u0275\u0275getReplaceMetadataURL",moduleName:n};static \u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:n};static declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:n};static InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:n};static resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:n};static resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:n};static resolveBody={name:"\u0275\u0275resolveBody",moduleName:n};static getComponentDepsFactory={name:"\u0275\u0275getComponentDepsFactory",moduleName:n};static defineComponent={name:"\u0275\u0275defineComponent",moduleName:n};static declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:n};static setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:n};static ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:n};static ViewEncapsulation={name:"ViewEncapsulation",moduleName:n};static ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:n};static FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:n};static declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:n};static FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:n};static defineDirective={name:"\u0275\u0275defineDirective",moduleName:n};static declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:n};static DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:n};static InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:n};static InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:n};static defineInjector={name:"\u0275\u0275defineInjector",moduleName:n};static declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:n};static NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:n};static ModuleWithProviders={name:"ModuleWithProviders",moduleName:n};static defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:n};static declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:n};static setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:n};static registerNgModuleType={name:"\u0275\u0275registerNgModuleType",moduleName:n};static PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:n};static definePipe={name:"\u0275\u0275definePipe",moduleName:n};static declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:n};static declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:n};static declareClassMetadataAsync={name:"\u0275\u0275ngDeclareClassMetadataAsync",moduleName:n};static setClassMetadata={name:"\u0275setClassMetadata",moduleName:n};static setClassMetadataAsync={name:"\u0275setClassMetadataAsync",moduleName:n};static setClassDebugInfo={name:"\u0275setClassDebugInfo",moduleName:n};static queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:n};static viewQuery={name:"\u0275\u0275viewQuery",moduleName:n};static loadQuery={name:"\u0275\u0275loadQuery",moduleName:n};static contentQuery={name:"\u0275\u0275contentQuery",moduleName:n};static viewQuerySignal={name:"\u0275\u0275viewQuerySignal",moduleName:n};static contentQuerySignal={name:"\u0275\u0275contentQuerySignal",moduleName:n};static queryAdvance={name:"\u0275\u0275queryAdvance",moduleName:n};static twoWayProperty={name:"\u0275\u0275twoWayProperty",moduleName:n};static twoWayBindingSet={name:"\u0275\u0275twoWayBindingSet",moduleName:n};static twoWayListener={name:"\u0275\u0275twoWayListener",moduleName:n};static declareLet={name:"\u0275\u0275declareLet",moduleName:n};static storeLet={name:"\u0275\u0275storeLet",moduleName:n};static readContextLet={name:"\u0275\u0275readContextLet",moduleName:n};static attachSourceLocations={name:"\u0275\u0275attachSourceLocations",moduleName:n};static NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:n};static InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:n};static CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:n};static ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:n};static HostDirectivesFeature={name:"\u0275\u0275HostDirectivesFeature",moduleName:n};static ExternalStylesFeature={name:"\u0275\u0275ExternalStylesFeature",moduleName:n};static listener={name:"\u0275\u0275listener",moduleName:n};static getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:n};static sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:n};static sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:n};static sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:n};static sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:n};static sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:n};static sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:n};static trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:n};static trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:n};static validateIframeAttribute={name:"\u0275\u0275validateIframeAttribute",moduleName:n};static InputSignalBrandWriteType={name:"\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE",moduleName:n};static UnwrapDirectiveSignalInputs={name:"\u0275UnwrapDirectiveSignalInputs",moduleName:n};static unwrapWritableSignal={name:"\u0275unwrapWritableSignal",moduleName:n}},Wi=class{full;major;minor;patch;constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},Bt;(function(e){e[e.Class=0]="Class",e[e.Function=1]="Function"})(Bt||(Bt={}));var et=class{input;errLocation;ctxLocation;message;constructor(e,t,s,i){this.input=t,this.errLocation=s,this.ctxLocation=i,this.message=`Parser Error: ${e} ${s} [${t}] in ${i}`}},he=class{start;end;constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new $(e+this.start,e+this.end)}},g=class{span;sourceSpan;constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}},Ae=class extends g{nameSpan;constructor(e,t,s){super(e,t),this.nameSpan=s}},k=class extends g{visit(e,t=null){}},Ie=class extends g{visit(e,t=null){return e.visitImplicitReceiver(this,t)}},Ki=class extends Ie{visit(e,t=null){var s;return(s=e.visitThisReceiver)==null?void 0:s.call(e,this,t)}},ks=class extends g{expressions;constructor(e,t,s){super(e,t),this.expressions=s}visit(e,t=null){return e.visitChain(this,t)}},Ls=class extends g{condition;trueExp;falseExp;constructor(e,t,s,i,r){super(e,t),this.condition=s,this.trueExp=i,this.falseExp=r}visit(e,t=null){return e.visitConditional(this,t)}},tt=class extends Ae{receiver;name;constructor(e,t,s,i,r){super(e,t,s),this.receiver=i,this.name=r}visit(e,t=null){return e.visitPropertyRead(this,t)}},As=class extends Ae{receiver;name;value;constructor(e,t,s,i,r,a){super(e,t,s),this.receiver=i,this.name=r,this.value=a}visit(e,t=null){return e.visitPropertyWrite(this,t)}},st=class extends Ae{receiver;name;constructor(e,t,s,i,r){super(e,t,s),this.receiver=i,this.name=r}visit(e,t=null){return e.visitSafePropertyRead(this,t)}},Ms=class extends g{receiver;key;constructor(e,t,s,i){super(e,t),this.receiver=s,this.key=i}visit(e,t=null){return e.visitKeyedRead(this,t)}},it=class extends g{receiver;key;constructor(e,t,s,i){super(e,t),this.receiver=s,this.key=i}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}},Rs=class extends g{receiver;key;value;constructor(e,t,s,i,r){super(e,t),this.receiver=s,this.key=i,this.value=r}visit(e,t=null){return e.visitKeyedWrite(this,t)}},Bs=class extends Ae{exp;name;args;constructor(e,t,s,i,r,a){super(e,t,a),this.exp=s,this.name=i,this.args=r}visit(e,t=null){return e.visitPipe(this,t)}},L=class extends g{value;constructor(e,t,s){super(e,t),this.value=s}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}},Ds=class extends g{expressions;constructor(e,t,s){super(e,t),this.expressions=s}visit(e,t=null){return e.visitLiteralArray(this,t)}},Fs=class extends g{keys;values;constructor(e,t,s,i){super(e,t),this.keys=s,this.values=i}visit(e,t=null){return e.visitLiteralMap(this,t)}},Vs=class extends g{strings;expressions;constructor(e,t,s,i){super(e,t),this.strings=s,this.expressions=i}visit(e,t=null){return e.visitInterpolation(this,t)}},A=class extends g{operation;left;right;constructor(e,t,s,i,r){super(e,t),this.operation=s,this.left=i,this.right=r}visit(e,t=null){return e.visitBinary(this,t)}},ge=class rt extends A{operator;expr;left=null;right=null;operation=null;static createMinus(t,s,i){return new rt(t,s,"-",i,"-",new L(t,s,0),i)}static createPlus(t,s,i){return new rt(t,s,"+",i,"-",i,new L(t,s,0))}constructor(t,s,i,r,a,o,h){super(t,s,a,o,h),this.operator=i,this.expr=r}visit(t,s=null){return t.visitUnary!==void 0?t.visitUnary(this,s):t.visitBinary(this,s)}},Pe=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitPrefixNot(this,t)}},Te=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitTypeofExpression(this,t)}},Oe=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitVoidExpression(this,t)}},Ws=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t=null){return e.visitNonNullAssert(this,t)}},Ks=class extends g{receiver;args;argumentSpan;constructor(e,t,s,i,r){super(e,t),this.receiver=s,this.args=i,this.argumentSpan=r}visit(e,t=null){return e.visitCall(this,t)}},nt=class extends g{receiver;args;argumentSpan;constructor(e,t,s,i,r){super(e,t),this.receiver=s,this.args=i,this.argumentSpan=r}visit(e,t=null){return e.visitSafeCall(this,t)}},at=class extends g{tag;template;constructor(e,t,s,i){super(e,t),this.tag=s,this.template=i}visit(e,t){return e.visitTaggedTemplateLiteral(this,t)}},ot=class extends g{elements;expressions;constructor(e,t,s,i){super(e,t),this.elements=s,this.expressions=i}visit(e,t){return e.visitTemplateLiteral(this,t)}},lt=class extends g{text;constructor(e,t,s){super(e,t),this.text=s}visit(e,t){return e.visitTemplateLiteralElement(this,t)}},qs=class extends g{expression;constructor(e,t,s){super(e,t),this.expression=s}visit(e,t){return e.visitParenthesizedExpression(this,t)}},$=class{start;end;constructor(e,t){this.start=e,this.end=t}},j=class extends g{ast;source;location;errors;constructor(e,t,s,i,r){super(new he(0,t===null?0:t.length),new $(i,t===null?i:i+t.length)),this.ast=e,this.source=t,this.location=s,this.errors=r}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}},ut=class{sourceSpan;key;value;constructor(e,t,s){this.sourceSpan=e,this.key=t,this.value=s}},$s=class{sourceSpan;key;value;constructor(e,t,s){this.sourceSpan=e,this.key=t,this.value=s}},qi=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)}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){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitTypeofExpression(e,t){this.visit(e.expression,t)}visitVoidExpression(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)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitTemplateLiteral(e,t){for(let s=0;s<e.elements.length;s++){this.visit(e.elements[s],t);let i=s<e.expressions.length?e.expressions[s]:null;i!==null&&this.visit(i,t)}}visitTemplateLiteralElement(e,t){}visitTaggedTemplateLiteral(e,t){this.visit(e.tag,t),this.visit(e.template,t)}visitParenthesizedExpression(e,t){this.visit(e.expression,t)}visitAll(e,t){for(let s of e)this.visit(s,t)}},Dt;(function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.ANIMATION=2]="ANIMATION",e[e.TWO_WAY=3]="TWO_WAY"})(Dt||(Dt={}));var Ft;(function(e){e[e.Regular=0]="Regular",e[e.Animation=1]="Animation",e[e.TwoWay=2]="TwoWay"})(Ft||(Ft={}));var F;(function(e){e[e.Property=0]="Property",e[e.Attribute=1]="Attribute",e[e.Class=2]="Class",e[e.Style=3]="Style",e[e.Animation=4]="Animation",e[e.TwoWay=5]="TwoWay"})(F||(F={}));var Vt;(function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"})(Vt||(Vt={}));var $i=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Hi(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let s=t[0],i=t[1];$i.forEach(r=>{if(r.test(s)||r.test(i))throw new Error(`['${s}', '${i}'] contains unusable interpolation symbol.`)})}}var Ui=class Hs{start;end;static fromArray(t){return t?(Hi("interpolation",t),new Hs(t[0],t[1])):_}constructor(t,s){this.start=t,this.end=s}},_=new Ui("{{","}}"),fe=0,Us=9,ji=10,_i=11,Gi=12,zi=13,js=32,Qi=33,_s=34,Yi=35,xt=36,Xi=37,Wt=38,Gs=39,Ee=40,G=41,Kt=42,zs=43,ie=44,Qs=45,z=46,ct=47,Q=58,re=59,Ji=60,ve=61,Zi=62,qt=63,er=48,tr=57,Ys=65,sr=69,Xs=90,we=91,$t=92,ne=93,ir=94,yt=95,Js=97,rr=101,nr=102,ar=110,or=114,lr=116,ur=117,cr=118,Zs=122,be=123,Ht=124,ae=125,ei=160,ht=96;function hr(e){return e>=Us&&e<=js||e==ei}function q(e){return er<=e&&e<=tr}function pr(e){return e>=Js&&e<=Zs||e>=Ys&&e<=Xs}function Ut(e){return e===Gs||e===_s||e===ht}var jt;(function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"})(jt||(jt={}));var _t;(function(e){e[e.Inline=0]="Inline",e[e.SideEffect=1]="SideEffect",e[e.Omit=2]="Omit"})(_t||(_t={}));var Gt;(function(e){e[e.Global=0]="Global",e[e.Local=1]="Local"})(Gt||(Gt={}));var zt;(function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"})(zt||(zt={}));var dr="(:(where|is)\\()?",ti="-shadowcsshost",mr="-shadowcsscontext",si="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))",vn=new RegExp(ti+si+"?([^,{]*)","gim"),ii=mr+si+"?([^{]*)",xn=new RegExp(`${dr}(${ii})`,"gim"),yn=new RegExp(ii,"im"),fr=ti+"-no-combinator",gn=new RegExp(`${fr}(?![^(]*\\))`,"g"),ri="%COMMENT%",En=new RegExp(ri,"g"),wn=new RegExp(`(\\s*(?:${ri}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`,"g"),vr="%COMMA_IN_PLACEHOLDER%",xr="%SEMI_IN_PLACEHOLDER%",yr="%COLON_IN_PLACEHOLDER%",Sn=new RegExp(vr,"g"),Cn=new RegExp(xr,"g"),Nn=new RegExp(yr,"g"),d;(function(e){e[e.ListEnd=0]="ListEnd",e[e.Statement=1]="Statement",e[e.Variable=2]="Variable",e[e.ElementStart=3]="ElementStart",e[e.Element=4]="Element",e[e.Template=5]="Template",e[e.ElementEnd=6]="ElementEnd",e[e.ContainerStart=7]="ContainerStart",e[e.Container=8]="Container",e[e.ContainerEnd=9]="ContainerEnd",e[e.DisableBindings=10]="DisableBindings",e[e.ConditionalCreate=11]="ConditionalCreate",e[e.ConditionalBranchCreate=12]="ConditionalBranchCreate",e[e.Conditional=13]="Conditional",e[e.EnableBindings=14]="EnableBindings",e[e.Text=15]="Text",e[e.Listener=16]="Listener",e[e.InterpolateText=17]="InterpolateText",e[e.Binding=18]="Binding",e[e.Property=19]="Property",e[e.StyleProp=20]="StyleProp",e[e.ClassProp=21]="ClassProp",e[e.StyleMap=22]="StyleMap",e[e.ClassMap=23]="ClassMap",e[e.Advance=24]="Advance",e[e.Pipe=25]="Pipe",e[e.Attribute=26]="Attribute",e[e.ExtractedAttribute=27]="ExtractedAttribute",e[e.Defer=28]="Defer",e[e.DeferOn=29]="DeferOn",e[e.DeferWhen=30]="DeferWhen",e[e.I18nMessage=31]="I18nMessage",e[e.DomProperty=32]="DomProperty",e[e.Namespace=33]="Namespace",e[e.ProjectionDef=34]="ProjectionDef",e[e.Projection=35]="Projection",e[e.RepeaterCreate=36]="RepeaterCreate",e[e.Repeater=37]="Repeater",e[e.TwoWayProperty=38]="TwoWayProperty",e[e.TwoWayListener=39]="TwoWayListener",e[e.DeclareLet=40]="DeclareLet",e[e.StoreLet=41]="StoreLet",e[e.I18nStart=42]="I18nStart",e[e.I18n=43]="I18n",e[e.I18nEnd=44]="I18nEnd",e[e.I18nExpression=45]="I18nExpression",e[e.I18nApply=46]="I18nApply",e[e.IcuStart=47]="IcuStart",e[e.IcuEnd=48]="IcuEnd",e[e.IcuPlaceholder=49]="IcuPlaceholder",e[e.I18nContext=50]="I18nContext",e[e.I18nAttributes=51]="I18nAttributes",e[e.SourceLocation=52]="SourceLocation"})(d||(d={}));var Z;(function(e){e[e.LexicalRead=0]="LexicalRead",e[e.Context=1]="Context",e[e.TrackContext=2]="TrackContext",e[e.ReadVariable=3]="ReadVariable",e[e.NextContext=4]="NextContext",e[e.Reference=5]="Reference",e[e.StoreLet=6]="StoreLet",e[e.ContextLetReference=7]="ContextLetReference",e[e.GetCurrentView=8]="GetCurrentView",e[e.RestoreView=9]="RestoreView",e[e.ResetView=10]="ResetView",e[e.PureFunctionExpr=11]="PureFunctionExpr",e[e.PureFunctionParameterExpr=12]="PureFunctionParameterExpr",e[e.PipeBinding=13]="PipeBinding",e[e.PipeBindingVariadic=14]="PipeBindingVariadic",e[e.SafePropertyRead=15]="SafePropertyRead",e[e.SafeKeyedRead=16]="SafeKeyedRead",e[e.SafeInvokeFunction=17]="SafeInvokeFunction",e[e.SafeTernaryExpr=18]="SafeTernaryExpr",e[e.EmptyExpr=19]="EmptyExpr",e[e.AssignTemporaryExpr=20]="AssignTemporaryExpr",e[e.ReadTemporaryExpr=21]="ReadTemporaryExpr",e[e.SlotLiteralExpr=22]="SlotLiteralExpr",e[e.ConditionalCase=23]="ConditionalCase",e[e.ConstCollected=24]="ConstCollected",e[e.TwoWayBindingSet=25]="TwoWayBindingSet"})(Z||(Z={}));var Qt;(function(e){e[e.None=0]="None",e[e.AlwaysInline=1]="AlwaysInline"})(Qt||(Qt={}));var Yt;(function(e){e[e.Context=0]="Context",e[e.Identifier=1]="Identifier",e[e.SavedView=2]="SavedView",e[e.Alias=3]="Alias"})(Yt||(Yt={}));var Xt;(function(e){e[e.Normal=0]="Normal",e[e.TemplateDefinitionBuilder=1]="TemplateDefinitionBuilder"})(Xt||(Xt={}));var V;(function(e){e[e.Attribute=0]="Attribute",e[e.ClassName=1]="ClassName",e[e.StyleProperty=2]="StyleProperty",e[e.Property=3]="Property",e[e.Template=4]="Template",e[e.I18n=5]="I18n",e[e.Animation=6]="Animation",e[e.TwoWayProperty=7]="TwoWayProperty"})(V||(V={}));var Jt;(function(e){e[e.Creation=0]="Creation",e[e.Postproccessing=1]="Postproccessing"})(Jt||(Jt={}));var Zt;(function(e){e[e.I18nText=0]="I18nText",e[e.I18nAttribute=1]="I18nAttribute"})(Zt||(Zt={}));var es;(function(e){e[e.None=0]="None",e[e.ElementTag=1]="ElementTag",e[e.TemplateTag=2]="TemplateTag",e[e.OpenTag=4]="OpenTag",e[e.CloseTag=8]="CloseTag",e[e.ExpressionIndex=16]="ExpressionIndex"})(es||(es={}));var ts;(function(e){e[e.HTML=0]="HTML",e[e.SVG=1]="SVG",e[e.Math=2]="Math"})(ts||(ts={}));var ss;(function(e){e[e.Idle=0]="Idle",e[e.Immediate=1]="Immediate",e[e.Timer=2]="Timer",e[e.Hover=3]="Hover",e[e.Interaction=4]="Interaction",e[e.Viewport=5]="Viewport",e[e.Never=6]="Never"})(ss||(ss={}));var is;(function(e){e[e.RootI18n=0]="RootI18n",e[e.Icu=1]="Icu",e[e.Attr=2]="Attr"})(is||(is={}));var rs;(function(e){e[e.NgTemplate=0]="NgTemplate",e[e.Structural=1]="Structural",e[e.Block=2]="Block"})(rs||(rs={}));var gr=Symbol("ConsumesSlot"),ni=Symbol("DependsOnSlotContext"),pe=Symbol("ConsumesVars"),gt=Symbol("UsesVarOffset"),In={[gr]:!0,numSlotsUsed:1},Pn={[ni]:!0},Tn={[pe]:!0},ai=class{strings;expressions;i18nPlaceholders;constructor(e,t,s){if(this.strings=e,this.expressions=t,this.i18nPlaceholders=s,s.length!==0&&s.length!==t.length)throw new Error(`Expected ${t.length} placeholders to match interpolation expression count, but got ${s.length}`)}},Me=class extends I{constructor(e=null){super(null,e)}},On=class pt extends Me{target;value;sourceSpan;kind=Z.StoreLet;[pe]=!0;[ni]=!0;constructor(t,s,i){super(),this.target=t,this.value=s,this.sourceSpan=i}visitExpression(){}isEquivalent(t){return t instanceof pt&&t.target===this.target&&t.value.isEquivalent(this.value)}isConstant(){return!1}transformInternalExpressions(t,s){this.value=(this.value,void 0)}clone(){return new pt(this.target,this.value,this.sourceSpan)}},bn=class dt extends Me{kind=Z.PureFunctionExpr;[pe]=!0;[gt]=!0;varOffset=null;body;args;fn=null;constructor(t,s){super(),this.body=t,this.args=s}visitExpression(t,s){var i;(i=this.body)==null||i.visitExpression(t,s);for(let r of this.args)r.visitExpression(t,s)}isEquivalent(t){return!(t instanceof dt)||t.args.length!==this.args.length?!1:t.body!==null&&this.body!==null&&t.body.isEquivalent(this.body)&&t.args.every((s,i)=>s.isEquivalent(this.args[i]))}isConstant(){return!1}transformInternalExpressions(t,s){this.body!==null?this.body=(this.body,s|mt.InChildOperation,void 0):this.fn!==null&&(this.fn=(this.fn,void 0));for(let i=0;i<this.args.length;i++)this.args[i]=(this.args[i],void 0)}clone(){var t,s;let i=new dt(((t=this.body)==null?void 0:t.clone())??null,this.args.map(r=>r.clone()));return i.fn=((s=this.fn)==null?void 0:s.clone())??null,i.varOffset=this.varOffset,i}},kn=class oi extends Me{target;targetSlot;name;args;kind=Z.PipeBinding;[pe]=!0;[gt]=!0;varOffset=null;constructor(t,s,i,r){super(),this.target=t,this.targetSlot=s,this.name=i,this.args=r}visitExpression(t,s){for(let i of this.args)i.visitExpression(t,s)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(t,s){for(let i=0;i<this.args.length;i++)this.args[i]=(this.args[i],void 0)}clone(){let t=new oi(this.target,this.targetSlot,this.name,this.args.map(s=>s.clone()));return t.varOffset=this.varOffset,t}},Ln=class li extends Me{target;targetSlot;name;args;numArgs;kind=Z.PipeBindingVariadic;[pe]=!0;[gt]=!0;varOffset=null;constructor(t,s,i,r,a){super(),this.target=t,this.targetSlot=s,this.name=i,this.args=r,this.numArgs=a}visitExpression(t,s){this.args.visitExpression(t,s)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(t,s){this.args=(this.args,void 0)}clone(){let t=new li(this.target,this.targetSlot,this.name,this.args.clone(),this.numArgs);return t.varOffset=this.varOffset,t}},mt;(function(e){e[e.None=0]="None",e[e.InChildOperation=1]="InChildOperation"})(mt||(mt={}));var An=new Set([d.Element,d.ElementStart,d.Container,d.ContainerStart,d.Template,d.RepeaterCreate,d.ConditionalCreate,d.ConditionalBranchCreate]),ns;(function(e){e[e.Tmpl=0]="Tmpl",e[e.Host=1]="Host",e[e.Both=2]="Both"})(ns||(ns={}));var Mn=new Map([[c.attribute,c.attribute],[c.classProp,c.classProp],[c.element,c.element],[c.elementContainer,c.elementContainer],[c.elementContainerEnd,c.elementContainerEnd],[c.elementContainerStart,c.elementContainerStart],[c.elementEnd,c.elementEnd],[c.elementStart,c.elementStart],[c.domProperty,c.domProperty],[c.i18nExp,c.i18nExp],[c.listener,c.listener],[c.listener,c.listener],[c.property,c.property],[c.styleProp,c.styleProp],[c.syntheticHostListener,c.syntheticHostListener],[c.syntheticHostProperty,c.syntheticHostProperty],[c.templateCreate,c.templateCreate],[c.twoWayProperty,c.twoWayProperty],[c.twoWayListener,c.twoWayListener],[c.declareLet,c.declareLet],[c.conditionalCreate,c.conditionalBranchCreate],[c.conditionalBranchCreate,c.conditionalBranchCreate]]),Rn=Object.freeze([]),Bn=new Map([[d.ElementEnd,[d.ElementStart,d.Element]],[d.ContainerEnd,[d.ContainerStart,d.Container]],[d.I18nEnd,[d.I18nStart,d.I18n]]]),Dn=new Set([d.Pipe]),Er={},wr="\uE500";Er.ngsp=wr;var as;(function(e){e.HEX="hexadecimal",e.DEC="decimal"})(as||(as={}));var ui=` \f
|
|
2
|
+
\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`,Fn=new RegExp(`[^${ui}]`),Vn=new RegExp(`[${ui}]{2,}`,"g"),m;(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"})(m||(m={}));var W;(function(e){e[e.Plain=0]="Plain",e[e.TemplateLiteralPart=1]="TemplateLiteralPart",e[e.TemplateLiteralEnd=2]="TemplateLiteralEnd"})(W||(W={}));var Sr=["var","let","as","null","undefined","true","false","if","else","this","typeof","void","in"],ci=class{tokenize(e){return new Or(e).scan()}},D=class{index;end;type;numValue;strValue;constructor(e,t,s,i,r){this.index=e,this.end=t,this.type=s,this.numValue=i,this.strValue=r}isCharacter(e){return this.type===m.Character&&this.numValue===e}isNumber(){return this.type===m.Number}isString(){return this.type===m.String}isOperator(e){return this.type===m.Operator&&this.strValue===e}isIdentifier(){return this.type===m.Identifier}isPrivateIdentifier(){return this.type===m.PrivateIdentifier}isKeyword(){return this.type===m.Keyword}isKeywordLet(){return this.type===m.Keyword&&this.strValue==="let"}isKeywordAs(){return this.type===m.Keyword&&this.strValue==="as"}isKeywordNull(){return this.type===m.Keyword&&this.strValue==="null"}isKeywordUndefined(){return this.type===m.Keyword&&this.strValue==="undefined"}isKeywordTrue(){return this.type===m.Keyword&&this.strValue==="true"}isKeywordFalse(){return this.type===m.Keyword&&this.strValue==="false"}isKeywordThis(){return this.type===m.Keyword&&this.strValue==="this"}isKeywordTypeof(){return this.type===m.Keyword&&this.strValue==="typeof"}isKeywordVoid(){return this.type===m.Keyword&&this.strValue==="void"}isKeywordIn(){return this.type===m.Keyword&&this.strValue==="in"}isError(){return this.type===m.Error}toNumber(){return this.type===m.Number?this.numValue:-1}isTemplateLiteralPart(){return this.isString()&&this.kind===W.TemplateLiteralPart}isTemplateLiteralEnd(){return this.isString()&&this.kind===W.TemplateLiteralEnd}isTemplateLiteralInterpolationStart(){return this.isOperator("${")}isTemplateLiteralInterpolationEnd(){return this.isOperator("}")}toString(){switch(this.type){case m.Character:case m.Identifier:case m.Keyword:case m.Operator:case m.PrivateIdentifier:case m.String:case m.Error:return this.strValue;case m.Number:return this.numValue.toString();default:return null}}},Be=class extends D{kind;constructor(e,t,s,i){super(e,t,m.String,0,s),this.kind=i}};function xe(e,t,s){return new D(e,t,m.Character,s,String.fromCharCode(s))}function Cr(e,t,s){return new D(e,t,m.Identifier,0,s)}function Nr(e,t,s){return new D(e,t,m.PrivateIdentifier,0,s)}function Ir(e,t,s){return new D(e,t,m.Keyword,0,s)}function ee(e,t,s){return new D(e,t,m.Operator,0,s)}function Pr(e,t,s){return new D(e,t,m.Number,s,"")}function Tr(e,t,s){return new D(e,t,m.Error,0,s)}var ye=new D(-1,-1,m.Character,0,""),Or=class{input;tokens=[];length;peek=0;index=-1;braceStack=[];constructor(e){this.input=e,this.length=e.length,this.advance()}scan(){let e=this.scanToken();for(;e!==null;)this.tokens.push(e),e=this.scanToken();return this.tokens}advance(){this.peek=++this.index>=this.length?fe:this.input.charCodeAt(this.index)}scanToken(){let e=this.input,t=this.length,s=this.peek,i=this.index;for(;s<=js;)if(++i>=t){s=fe;break}else s=e.charCodeAt(i);if(this.peek=s,this.index=i,i>=t)return null;if(os(s))return this.scanIdentifier();if(q(s))return this.scanNumber(i);let r=i;switch(s){case z:return this.advance(),q(this.peek)?this.scanNumber(r):xe(r,this.index,z);case Ee:case G:case we:case ne:case ie:case Q:case re:return this.scanCharacter(r,s);case be:return this.scanOpenBrace(r,s);case ae:return this.scanCloseBrace(r,s);case Gs:case _s:return this.scanString();case ht:return this.advance(),this.scanTemplateLiteralPart(r);case Yi:return this.scanPrivateIdentifier();case zs:case Qs:case ct:case Xi:case ir:return this.scanOperator(r,String.fromCharCode(s));case Kt:return this.scanComplexOperator(r,"*",Kt,"*");case qt:return this.scanQuestion(r);case Ji:case Zi:return this.scanComplexOperator(r,String.fromCharCode(s),ve,"=");case Qi:case ve:return this.scanComplexOperator(r,String.fromCharCode(s),ve,"=",ve,"=");case Wt:return this.scanComplexOperator(r,"&",Wt,"&");case Ht:return this.scanComplexOperator(r,"|",Ht,"|");case ei:for(;hr(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(s)}]`,0)}scanCharacter(e,t){return this.advance(),xe(e,this.index,t)}scanOperator(e,t){return this.advance(),ee(e,this.index,t)}scanOpenBrace(e,t){return this.braceStack.push("expression"),this.advance(),xe(e,this.index,t)}scanCloseBrace(e,t){return this.advance(),this.braceStack.pop()==="interpolation"?(this.tokens.push(ee(e,this.index,"}")),this.scanTemplateLiteralPart(this.index)):xe(e,this.index,t)}scanComplexOperator(e,t,s,i,r,a){this.advance();let o=t;return this.peek==s&&(this.advance(),o+=i),r!=null&&this.peek==r&&(this.advance(),o+=a),ee(e,this.index,o)}scanIdentifier(){let e=this.index;for(this.advance();ls(this.peek);)this.advance();let t=this.input.substring(e,this.index);return Sr.indexOf(t)>-1?Ir(e,this.index,t):Cr(e,this.index,t)}scanPrivateIdentifier(){let e=this.index;if(this.advance(),!os(this.peek))return this.error("Invalid character [#]",-1);for(;ls(this.peek);)this.advance();let t=this.input.substring(e,this.index);return Nr(e,this.index,t)}scanNumber(e){let t=this.index===e,s=!1;for(this.advance();;){if(!q(this.peek))if(this.peek===yt){if(!q(this.input.charCodeAt(this.index-1))||!q(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);s=!0}else if(this.peek===z)t=!1;else if(br(this.peek)){if(this.advance(),kr(this.peek)&&this.advance(),!q(this.peek))return this.error("Invalid exponent",-1);t=!1}else break;this.advance()}let i=this.input.substring(e,this.index);s&&(i=i.replace(/_/g,""));let r=t?Ar(i):parseFloat(i);return Pr(e,this.index,r)}scanString(){let e=this.index,t=this.peek;this.advance();let s="",i=this.index,r=this.input;for(;this.peek!=t;)if(this.peek==$t){let o=this.scanStringBackslash(s,i);if(typeof o!="string")return o;s=o,i=this.index}else{if(this.peek==fe)return this.error("Unterminated quote",0);this.advance()}let a=r.substring(i,this.index);return this.advance(),new Be(e,this.index,s+a,W.Plain)}scanQuestion(e){this.advance();let t="?";return(this.peek===qt||this.peek===z)&&(t+=this.peek===z?".":"?",this.advance()),ee(e,this.index,t)}scanTemplateLiteralPart(e){let t="",s=this.index;for(;this.peek!==ht;)if(this.peek===$t){let r=this.scanStringBackslash(t,s);if(typeof r!="string")return r;t=r,s=this.index}else if(this.peek===xt){let r=this.index;if(this.advance(),this.peek===be)return this.braceStack.push("interpolation"),this.tokens.push(new Be(e,r,t+this.input.substring(s,r),W.TemplateLiteralPart)),this.advance(),ee(r,this.index,this.input.substring(r,this.index))}else{if(this.peek===fe)return this.error("Unterminated template literal",0);this.advance()}let i=this.input.substring(s,this.index);return this.advance(),new Be(e,this.index,t+i,W.TemplateLiteralEnd)}error(e,t){let s=this.index+t;return Tr(s,this.index,`Lexer Error: ${e} at column ${s} in expression [${this.input}]`)}scanStringBackslash(e,t){e+=this.input.substring(t,this.index);let s;if(this.advance(),this.peek===ur){let i=this.input.substring(this.index+1,this.index+5);if(/^[0-9a-f]+$/i.test(i))s=parseInt(i,16);else return this.error(`Invalid unicode escape [\\u${i}]`,0);for(let r=0;r<5;r++)this.advance()}else s=Lr(this.peek),this.advance();return e+=String.fromCharCode(s),e}};function os(e){return Js<=e&&e<=Zs||Ys<=e&&e<=Xs||e==yt||e==xt}function ls(e){return pr(e)||q(e)||e==yt||e==xt}function br(e){return e==rr||e==sr}function kr(e){return e==Qs||e==zs}function Lr(e){switch(e){case ar:return ji;case nr:return Gi;case or:return zi;case lr:return Us;case cr:return _i;default:return e}}function Ar(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var Mr=class{strings;expressions;offsets;constructor(e,t,s){this.strings=e,this.expressions=t,this.offsets=s}},Rr=class{templateBindings;warnings;errors;constructor(e,t,s){this.templateBindings=e,this.warnings=t,this.errors=s}},Et=class{_lexer;errors=[];constructor(e){this._lexer=e}parseAction(e,t,s,i=_){this._checkNoInterpolation(e,t,i);let r=this._stripComments(e),a=this._lexer.tokenize(r),o=new te(e,t,s,a,1,this.errors,0).parseChain();return new j(o,e,t,s,this.errors)}parseBinding(e,t,s,i=_){let r=this._parseBindingAst(e,t,s,i);return new j(r,e,t,s,this.errors)}checkSimpleExpression(e){let t=new Br;return e.visit(t),t.errors}parseSimpleBinding(e,t,s,i=_){let r=this._parseBindingAst(e,t,s,i),a=this.checkSimpleExpression(r);return a.length>0&&this._reportError(`Host binding expression cannot contain ${a.join(" ")}`,e,t),new j(r,e,t,s,this.errors)}_reportError(e,t,s,i){this.errors.push(new et(e,t,s,i))}_parseBindingAst(e,t,s,i){this._checkNoInterpolation(e,t,i);let r=this._stripComments(e),a=this._lexer.tokenize(r);return new te(e,t,s,a,0,this.errors,0).parseChain()}parseTemplateBindings(e,t,s,i,r){let a=this._lexer.tokenize(t);return new te(t,s,r,a,0,this.errors,0).parseTemplateBindings({source:e,span:new $(i,i+e.length)})}parseInterpolation(e,t,s,i,r=_){let{strings:a,expressions:o,offsets:h}=this.splitInterpolation(e,t,i,r);if(o.length===0)return null;let p=[];for(let f=0;f<o.length;++f){let E=o[f].text,w=this._stripComments(E),T=this._lexer.tokenize(w),N=new te(e,t,s,T,0,this.errors,h[f]).parseChain();p.push(N)}return this.createInterpolationAst(a.map(f=>f.text),p,e,t,s)}parseInterpolationExpression(e,t,s){let i=this._stripComments(e),r=this._lexer.tokenize(i),a=new te(e,t,s,r,0,this.errors,0).parseChain(),o=["",""];return this.createInterpolationAst(o,[a],e,t,s)}createInterpolationAst(e,t,s,i,r){let a=new he(0,s.length),o=new Vs(a,a.toAbsolute(r),e,t);return new j(o,s,i,r,this.errors)}splitInterpolation(e,t,s,i=_){let r=[],a=[],o=[],h=s?Dr(s):null,p=0,f=!1,E=!1,{start:w,end:T}=i;for(;p<e.length;)if(f){let N=p,H=N+w.length,U=this._getInterpolationEndIndex(e,T,H);if(U===-1){f=!1,E=!0;break}let K=U+T.length,me=e.substring(H,U);me.trim().length===0&&this._reportError("Blank expressions are not allowed in interpolated strings",e,`at column ${p} in`,t),a.push({text:me,start:N,end:K});let gi=(h?.get(N)??N)+w.length;o.push(gi),p=K,f=!1}else{let N=p;p=e.indexOf(w,p),p===-1&&(p=e.length);let H=e.substring(N,p);r.push({text:H,start:N,end:p}),f=!0}if(!f)if(E){let N=r[r.length-1];N.text+=e.substring(p),N.end=e.length}else r.push({text:e.substring(p),start:p,end:e.length});return new Mr(r,a,o)}wrapLiteralPrimitive(e,t,s){let i=new he(0,e==null?0:e.length);return new j(new L(i,i.toAbsolute(s),e),e,t,s,this.errors)}_stripComments(e){let t=this._commentStart(e);return t!=null?e.substring(0,t):e}_commentStart(e){let t=null;for(let s=0;s<e.length-1;s++){let i=e.charCodeAt(s),r=e.charCodeAt(s+1);if(i===ct&&r==ct&&t==null)return s;t===i?t=null:t==null&&Ut(i)&&(t=i)}return null}_checkNoInterpolation(e,t,{start:s,end:i}){let r=-1,a=-1;for(let o of this._forEachUnquotedChar(e,0))if(r===-1)e.startsWith(s)&&(r=o);else if(a=this._getInterpolationEndIndex(e,i,o),a>-1)break;r>-1&&a>-1&&this._reportError(`Got interpolation (${s}${i}) where expression was expected`,e,`at column ${r} in`,t)}_getInterpolationEndIndex(e,t,s){for(let i of this._forEachUnquotedChar(e,s)){if(e.startsWith(t,i))return i;if(e.startsWith("//",i))return e.indexOf(t,i)}return-1}*_forEachUnquotedChar(e,t){let s=null,i=0;for(let r=t;r<e.length;r++){let a=e[r];Ut(e.charCodeAt(r))&&(s===null||s===a)&&i%2===0?s=s===null?a:null:s===null&&(yield r),i=a==="\\"?i+1:0}}},Y;(function(e){e[e.None=0]="None",e[e.Writable=1]="Writable"})(Y||(Y={}));var te=class{input;location;absoluteOffset;tokens;parseFlags;errors;offset;rparensExpected=0;rbracketsExpected=0;rbracesExpected=0;context=Y.None;sourceSpanCache=new Map;index=0;constructor(e,t,s,i,r,a,o){this.input=e,this.location=t,this.absoluteOffset=s,this.tokens=i,this.parseFlags=r,this.errors=a,this.offset=o}peek(e){let t=this.index+e;return t<this.tokens.length?this.tokens[t]:ye}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.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let s=this.currentEndIndex;if(t!==void 0&&t>this.currentEndIndex&&(s=t),e>s){let i=s;s=e,e=i}return new he(e,s)}sourceSpan(e,t){let s=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(s)||this.sourceSpanCache.set(s,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(s)}advance(){this.index++}withContext(e,t){this.context|=e;let s=t();return this.context^=e,s}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 ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return this.next.isOperator(e)?(this.advance(),!0):!1}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===ye?"end of input":`token ${e}`}expectIdentifierOrKeyword(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${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 ${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 s=this.parsePipe();if(e.push(s),this.consumeOptionalCharacter(re))for(this.parseFlags&1||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(re););else if(this.index<this.tokens.length){let i=this.index;if(this.error(`Unexpected token '${this.next}'`),this.index===i)break}}if(e.length===0){let s=this.offset,i=this.offset+this.input.length;return new k(this.span(s,i),this.sourceSpan(s,i))}return e.length==1?e[0]:new ks(this.span(t),this.sourceSpan(t),e)}parsePipe(){let e=this.inputIndex,t=this.parseExpression();if(this.consumeOptionalOperator("|")){this.parseFlags&1&&this.error("Cannot have a pipe in an action expression");do{let s=this.inputIndex,i=this.expectIdentifierOrKeyword(),r,a;i!==null?r=this.sourceSpan(s):(i="",a=this.next.index!==-1?this.next.index:this.input.length+this.offset,r=new he(a,a).toAbsolute(this.absoluteOffset));let o=[];for(;this.consumeOptionalCharacter(Q);)o.push(this.parseExpression());t=new Bs(this.span(e),this.sourceSpan(e,a),t,i,o,r)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){let e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){let s=this.parsePipe(),i;if(this.consumeOptionalCharacter(Q))i=this.parsePipe();else{let r=this.inputIndex,a=this.input.substring(e,r);this.error(`Conditional expression ${a} requires all 3 expressions`),i=new k(this.span(e),this.sourceSpan(e))}return new Ls(this.span(e),this.sourceSpan(e),t,s,i)}else return t}parseLogicalOr(){let e=this.inputIndex,t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){let s=this.parseLogicalAnd();t=new A(this.span(e),this.sourceSpan(e),"||",t,s)}return t}parseLogicalAnd(){let e=this.inputIndex,t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){let s=this.parseNullishCoalescing();t=new A(this.span(e),this.sourceSpan(e),"&&",t,s)}return t}parseNullishCoalescing(){let e=this.inputIndex,t=this.parseEquality();for(;this.consumeOptionalOperator("??");){let s=this.parseEquality();t=new A(this.span(e),this.sourceSpan(e),"??",t,s)}return t}parseEquality(){let e=this.inputIndex,t=this.parseRelational();for(;this.next.type==m.Operator;){let s=this.next.strValue;switch(s){case"==":case"===":case"!=":case"!==":this.advance();let i=this.parseRelational();t=new A(this.span(e),this.sourceSpan(e),s,t,i);continue}break}return t}parseRelational(){let e=this.inputIndex,t=this.parseAdditive();for(;this.next.type==m.Operator||this.next.isKeywordIn;){let s=this.next.strValue;switch(s){case"<":case">":case"<=":case">=":case"in":this.advance();let i=this.parseAdditive();t=new A(this.span(e),this.sourceSpan(e),s,t,i);continue}break}return t}parseAdditive(){let e=this.inputIndex,t=this.parseMultiplicative();for(;this.next.type==m.Operator;){let s=this.next.strValue;switch(s){case"+":case"-":this.advance();let i=this.parseMultiplicative();t=new A(this.span(e),this.sourceSpan(e),s,t,i);continue}break}return t}parseMultiplicative(){let e=this.inputIndex,t=this.parseExponentiation();for(;this.next.type==m.Operator;){let s=this.next.strValue;switch(s){case"*":case"%":case"/":this.advance();let i=this.parseExponentiation();t=new A(this.span(e),this.sourceSpan(e),s,t,i);continue}break}return t}parseExponentiation(){let e=this.inputIndex,t=this.parsePrefix();for(;this.next.type==m.Operator&&this.next.strValue==="**";){(t instanceof ge||t instanceof Pe||t instanceof Te||t instanceof Oe)&&this.error("Unary operator used immediately before exponentiation expression. Parenthesis must be used to disambiguate operator precedence"),this.advance();let s=this.parseExponentiation();t=new A(this.span(e),this.sourceSpan(e),"**",t,s)}return t}parsePrefix(){if(this.next.type==m.Operator){let e=this.inputIndex,t=this.next.strValue,s;switch(t){case"+":return this.advance(),s=this.parsePrefix(),ge.createPlus(this.span(e),this.sourceSpan(e),s);case"-":return this.advance(),s=this.parsePrefix(),ge.createMinus(this.span(e),this.sourceSpan(e),s);case"!":return this.advance(),s=this.parsePrefix(),new Pe(this.span(e),this.sourceSpan(e),s)}}else if(this.next.isKeywordTypeof()){this.advance();let e=this.inputIndex,t=this.parsePrefix();return new Te(this.span(e),this.sourceSpan(e),t)}else if(this.next.isKeywordVoid()){this.advance();let e=this.inputIndex,t=this.parsePrefix();return new Oe(this.span(e),this.sourceSpan(e),t)}return this.parseCallChain()}parseCallChain(){let e=this.inputIndex,t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(z))t=this.parseAccessMember(t,e,!1);else if(this.consumeOptionalOperator("?."))this.consumeOptionalCharacter(Ee)?t=this.parseCall(t,e,!0):t=this.consumeOptionalCharacter(we)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMember(t,e,!0);else if(this.consumeOptionalCharacter(we))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(Ee))t=this.parseCall(t,e,!1);else if(this.consumeOptionalOperator("!"))t=new Ws(this.span(e),this.sourceSpan(e),t);else if(this.next.isTemplateLiteralEnd())t=this.parseNoInterpolationTaggedTemplateLiteral(t,e);else if(this.next.isTemplateLiteralPart())t=this.parseTaggedTemplateLiteral(t,e);else return t}parsePrimary(){let e=this.inputIndex;if(this.consumeOptionalCharacter(Ee)){this.rparensExpected++;let t=this.parsePipe();return this.consumeOptionalCharacter(G)||(this.error("Missing closing parentheses"),this.consumeOptionalCharacter(G)),this.rparensExpected--,new qs(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isKeywordNull())return this.advance(),new L(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new L(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new L(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new L(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordIn())return this.advance(),new L(this.span(e),this.sourceSpan(e),"in");if(this.next.isKeywordThis())return this.advance(),new Ki(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(we)){this.rbracketsExpected++;let t=this.parseExpressionList(ne);return this.rbracketsExpected--,this.expectCharacter(ne),new Ds(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isCharacter(be))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new Ie(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){let t=this.next.toNumber();return this.advance(),new L(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isTemplateLiteralEnd())return this.parseNoInterpolationTemplateLiteral();if(this.next.isTemplateLiteralPart())return this.parseTemplateLiteral();if(this.next.isString()&&this.next.kind===W.Plain){let t=this.next.toString();return this.advance(),new L(this.span(e),this.sourceSpan(e),t)}else return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new k(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new k(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new k(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(ie));return t}parseLiteralMap(){let e=[],t=[],s=this.inputIndex;if(this.expectCharacter(be),!this.consumeOptionalCharacter(ae)){this.rbracesExpected++;do{let i=this.inputIndex,r=this.next.isString(),a=this.expectIdentifierOrKeywordOrString(),o={key:a,quoted:r};if(e.push(o),r)this.expectCharacter(Q),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(Q))t.push(this.parsePipe());else{o.isShorthandInitialized=!0;let h=this.span(i),p=this.sourceSpan(i);t.push(new tt(h,p,p,new Ie(h,p),a))}}while(this.consumeOptionalCharacter(ie)&&!this.next.isCharacter(ae));this.rbracesExpected--,this.expectCharacter(ae)}return new Fs(this.span(s),this.sourceSpan(s),e,t)}parseAccessMember(e,t,s){let i=this.inputIndex,r=this.withContext(Y.Writable,()=>{let h=this.expectIdentifierOrKeyword()??"";return h.length===0&&this.error("Expected identifier for property access",e.span.end),h}),a=this.sourceSpan(i),o;if(s)this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),o=new k(this.span(t),this.sourceSpan(t))):o=new st(this.span(t),this.sourceSpan(t),a,e,r);else if(this.consumeOptionalOperator("=")){if(!(this.parseFlags&1))return this.error("Bindings cannot contain assignments"),new k(this.span(t),this.sourceSpan(t));let h=this.parseConditional();o=new As(this.span(t),this.sourceSpan(t),a,e,r,h)}else o=new tt(this.span(t),this.sourceSpan(t),a,e,r);return o}parseCall(e,t,s){let i=this.inputIndex;this.rparensExpected++;let r=this.parseCallArguments(),a=this.span(i,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(G),this.rparensExpected--;let o=this.span(t),h=this.sourceSpan(t);return s?new nt(o,h,e,r,a):new Ks(o,h,e,r,a)}parseCallArguments(){if(this.next.isCharacter(G))return[];let e=[];do e.push(this.parsePipe());while(this.consumeOptionalCharacter(ie));return e}expectTemplateBindingKey(){let e="",t=!1,s=this.currentAbsoluteOffset;do e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-");while(t);return{source:e,span:new $(s,s+e.length)}}parseTemplateBindings(e){let t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){let s=this.parseLetBinding();if(s)t.push(s);else{let i=this.expectTemplateBindingKey(),r=this.parseAsBinding(i);r?t.push(r):(i.source=e.source+i.source.charAt(0).toUpperCase()+i.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(i)))}this.consumeStatementTerminator()}return new Rr(t,[],this.errors)}parseKeyedReadOrWrite(e,t,s){return this.withContext(Y.Writable,()=>{this.rbracketsExpected++;let i=this.parsePipe();if(i instanceof k&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(ne),this.consumeOptionalOperator("="))if(s)this.error("The '?.' operator cannot be used in the assignment");else{let r=this.parseConditional();return new Rs(this.span(t),this.sourceSpan(t),e,i,r)}else return s?new it(this.span(t),this.sourceSpan(t),e,i):new Ms(this.span(t),this.sourceSpan(t),e,i);return new k(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){let t=[];this.consumeOptionalCharacter(Q);let s=this.getDirectiveBoundTarget(),i=this.currentAbsoluteOffset,r=this.parseAsBinding(e);r||(this.consumeStatementTerminator(),i=this.currentAbsoluteOffset);let a=new $(e.span.start,i);return t.push(new $s(a,e,s)),r&&t.push(r),t}getDirectiveBoundTarget(){if(this.next===ye||this.peekKeywordAs()||this.peekKeywordLet())return null;let e=this.parsePipe(),{start:t,end:s}=e.span,i=this.input.substring(t,s);return new j(e,i,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();let t=this.expectTemplateBindingKey();this.consumeStatementTerminator();let s=new $(e.span.start,this.currentAbsoluteOffset);return new ut(s,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;let e=this.currentAbsoluteOffset;this.advance();let t=this.expectTemplateBindingKey(),s=null;this.consumeOptionalOperator("=")&&(s=this.expectTemplateBindingKey()),this.consumeStatementTerminator();let i=new $(e,this.currentAbsoluteOffset);return new ut(i,t,s)}parseNoInterpolationTaggedTemplateLiteral(e,t){let s=this.parseNoInterpolationTemplateLiteral();return new at(this.span(t),this.sourceSpan(t),e,s)}parseNoInterpolationTemplateLiteral(){let e=this.next.strValue,t=this.inputIndex;this.advance();let s=this.span(t),i=this.sourceSpan(t);return new ot(s,i,[new lt(s,i,e)],[])}parseTaggedTemplateLiteral(e,t){let s=this.parseTemplateLiteral();return new at(this.span(t),this.sourceSpan(t),e,s)}parseTemplateLiteral(){let e=[],t=[],s=this.inputIndex;for(;this.next!==ye;){let i=this.next;if(i.isTemplateLiteralPart()||i.isTemplateLiteralEnd()){let r=this.inputIndex;if(this.advance(),e.push(new lt(this.span(r),this.sourceSpan(r),i.strValue)),i.isTemplateLiteralEnd())break}else if(i.isTemplateLiteralInterpolationStart()){this.advance();let r=this.parsePipe();r instanceof k?this.error("Template literal interpolation cannot be empty"):t.push(r)}else this.advance()}return new ot(this.span(s),this.sourceSpan(s),e,t)}consumeStatementTerminator(){this.consumeOptionalCharacter(re)||this.consumeOptionalCharacter(ie)}error(e,t=null){this.errors.push(new et(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(e=null){return e==null&&(e=this.index),e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let s=`Private identifiers are not supported. Unexpected private identifier: ${e}`;t!==null&&(s+=`, ${t}`),this.error(s)}skip(){let e=this.next;for(;this.index<this.tokens.length&&!e.isCharacter(re)&&!e.isOperator("|")&&(this.rparensExpected<=0||!e.isCharacter(G))&&(this.rbracesExpected<=0||!e.isCharacter(ae))&&(this.rbracketsExpected<=0||!e.isCharacter(ne))&&(!(this.context&Y.Writable)||!e.isOperator("="));)this.next.isError()&&this.errors.push(new et(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next}},Br=class extends qi{errors=[];visitPipe(){this.errors.push("pipes")}};function Dr(e){let t=new Map,s=0,i=0,r=0;for(;r<e.length;){let a=e[r];if(a.type===9){let[o,h]=a.parts;s+=h.length,i+=o.length}else{let o=a.parts.reduce((h,p)=>h+p.length,0);i+=o,s+=o}t.set(i,s),r++}return t}var Fr=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Wn=Array.from(Fr).reduce((e,[t,s])=>(e.set(t,s),e),new Map),Kn=new Et(new ci);function B(e){return t=>t.kind===e}function oe(e,t){return s=>s.kind===e&&t===s.expression instanceof ai}function Vr(e){return(e.kind===d.Property||e.kind===d.TwoWayProperty)&&!(e.expression instanceof ai)}var qn=[{test:B(d.StyleMap),transform:ke},{test:B(d.ClassMap),transform:ke},{test:B(d.StyleProp)},{test:B(d.ClassProp)},{test:oe(d.Attribute,!0)},{test:oe(d.Property,!0)},{test:Vr},{test:oe(d.Attribute,!1)}],$n=[{test:oe(d.DomProperty,!0)},{test:oe(d.DomProperty,!1)},{test:B(d.Attribute)},{test:B(d.StyleMap),transform:ke},{test:B(d.ClassMap),transform:ke},{test:B(d.StyleProp)},{test:B(d.ClassProp)}],Hn=new Set([d.Listener,d.TwoWayListener,d.StyleMap,d.ClassMap,d.StyleProp,d.ClassProp,d.Property,d.TwoWayProperty,d.DomProperty,d.Attribute]);function ke(e){return e.slice(e.length-1)}var Un={constant:[c.interpolate,c.interpolate1,c.interpolate2,c.interpolate3,c.interpolate4,c.interpolate5,c.interpolate6,c.interpolate7,c.interpolate8],variable:c.interpolateV,mapping:e=>{if(e%2===0)throw new Error("Expected odd number of arguments");return(e-1)/2}},jn=new Map([["window",c.resolveWindow],["document",c.resolveDocument],["body",c.resolveBody]]),_n=new Map([[R.HTML,c.sanitizeHtml],[R.RESOURCE_URL,c.sanitizeResourceUrl],[R.SCRIPT,c.sanitizeScript],[R.STYLE,c.sanitizeStyle],[R.URL,c.sanitizeUrl]]),Gn=new Map([[R.HTML,c.trustConstantHtml],[R.RESOURCE_URL,c.trustConstantResourceUrl]]),us;(function(e){e[e.None=0]="None",e[e.ViewContextRead=1]="ViewContextRead",e[e.ViewContextWrite=2]="ViewContextWrite",e[e.SideEffectful=4]="SideEffectful"})(us||(us={}));var zn=new Map([[F.Property,V.Property],[F.TwoWay,V.TwoWayProperty],[F.Attribute,V.Attribute],[F.Class,V.ClassName],[F.Style,V.StyleProperty],[F.Animation,V.Animation]]),Qn=Symbol("queryAdvancePlaceholder"),cs;(function(e){e[e.NG_CONTENT=0]="NG_CONTENT",e[e.STYLE=1]="STYLE",e[e.STYLESHEET=2]="STYLESHEET",e[e.SCRIPT=3]="SCRIPT",e[e.OTHER=4]="OTHER"})(cs||(cs={}));var hs;(function(e){e.IDLE="idle",e.TIMER="timer",e.INTERACTION="interaction",e.IMMEDIATE="immediate",e.HOVER="hover",e.VIEWPORT="viewport",e.NEVER="never"})(hs||(hs={}));var hi="%COMP%",Yn=`_nghost-${hi}`,Xn=`_ngcontent-${hi}`,ps;(function(e){e[e.Extract=0]="Extract",e[e.Merge=1]="Merge"})(ps||(ps={}));var Jn=new Wi("20.0.5");function ds({start:e,end:t},s){let i=e,r=t;for(;r!==i&&/\s/.test(s[r-1]);)r--;for(;i!==r&&/\s/.test(s[i]);)i++;return{start:i,end:r}}function Wr({start:e,end:t},s){let i=e,r=t;for(;r!==s.length&&/\s/.test(s[r]);)r++;for(;i!==0&&/\s/.test(s[i-1]);)i--;return{start:i,end:r}}function Kr(e,t){return t[e.start-1]==="("&&t[e.end]===")"?{start:e.start-1,end:e.end+1}:e}function qr(e,t,s){let i=0,r={start:e.start,end:e.end};for(;;){let a=Wr(r,t),o=Kr(a,t);if(a.start===o.start&&a.end===o.end)break;r.start=o.start,r.end=o.end,i++}return{hasParens:(s?i-1:i)!==0,outerSpan:ds(s?{start:r.start+1,end:r.end-1}:r,t),innerSpan:ds(e,t)}}function pi(e){return typeof e=="string"?t=>t===e:t=>e.test(t)}function $r(e,t,s){let i=pi(t);for(let r=s;r>=0;r--){let a=e[r];if(i(a))return r}throw new Error(`Cannot find front char ${t} from index ${s} in ${JSON.stringify(e)}`)}function Hr(e,t,s){let i=pi(t);for(let r=s;r<e.length;r++){let a=e[r];if(i(a))return r}throw new Error(`Cannot find character ${t} from index ${s} in ${JSON.stringify(e)}`)}function Ur(e){return e.slice(0,1).toLowerCase()+e.slice(1)}function ft(e){let{start:t,end:s}=e;return{start:t,end:s,range:[t,s]}}var jr=e=>Et.prototype._commentStart(e);function _r(e,t){let s=t?jr(e):null;if(s===null)return{text:e,comments:[]};let i={type:"CommentLine",value:e.slice(s+2),...ft({start:s,end:e.length})};return{text:e.slice(0,s),comments:[i]}}function de(e,t=!0){return s=>{let i=new ci,r=new Et(i),{text:a,comments:o}=_r(s,t),h=e(a,r);if(h.errors.length!==0){let[{message:p}]=h.errors;throw new SyntaxError(p.replace(/^Parser Error: | at column \d+ in [^]*$/g,""))}return{result:h,comments:o,text:a}}}var Gr=de((e,t)=>t.parseBinding(e,"",0)),Zn=de((e,t)=>t.parseSimpleBinding(e,"",0)),zr=de((e,t)=>t.parseAction(e,"",0)),Qr=de((e,t)=>t.parseInterpolationExpression(e,"",0)),Yr=de((e,t)=>t.parseTemplateBindings("",e,"",0,0),!1),Xr=(e,t,s)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[s<0?t.length+s:s]:t.at(s)},di=Xr,Jr=class{text;constructor(e){this.text=e}getCharacterIndex(e,t){return Hr(this.text,e,t)}getCharacterLastIndex(e,t){return $r(this.text,e,t)}transformSpan(e,{stripSpaces:t=!1,hasParentParens:s=!1}={}){if(!t)return ft(e);let{outerSpan:i,innerSpan:r,hasParens:a}=qr(e,this.text,s),o=ft(r);return a&&(o.extra={parenthesized:!0,parenStart:i.start,parenEnd:i.end}),o}createNode(e,{stripSpaces:t=!0,hasParentParens:s=!1}={}){let{type:i,start:r,end:a}=e,o={...e,...this.transformSpan({start:r,end:a},{stripSpaces:t,hasParentParens:s})};switch(i){case"NumericLiteral":case"StringLiteral":{let h=this.text.slice(o.start,o.end),{value:p}=o;o.extra={...o.extra,raw:h,rawValue:p};break}case"ObjectProperty":{let{shorthand:h}=o;h&&(o.extra={...o.extra,shorthand:h});break}}return o}},Zr=Jr;function wt(e){var t;return!!((t=e.extra)!=null&&t.parenthesized)}function O(e){return wt(e)?e.extra.parenStart:e.start}function b(e){return wt(e)?e.extra.parenEnd:e.end}function ms(e){return(e.type==="OptionalCallExpression"||e.type==="OptionalMemberExpression")&&!wt(e)}function fs(e,t){let{start:s,end:i}=e.sourceSpan;return s>=i||/^\s+$/.test(t.slice(s,i))}var Se,le,u,v,se,x,Ce,mi=class extends Zr{constructor(e,t){super(t),J(this,u),J(this,Se),J(this,le),Ne(this,Se,e),Ne(this,le,t)}get node(){return l(this,u,x).call(this,M(this,Se))}transformNode(e){return l(this,u,Ce).call(this,e)}};Se=new WeakMap,le=new WeakMap,u=new WeakSet,v=function(e,{stripSpaces:t=!0,hasParentParens:s=!1}={}){return this.createNode(e,{stripSpaces:t,hasParentParens:s})},se=function(e,t,{computed:s,optional:i,end:r=b(t),hasParentParens:a=!1}){if(fs(e,M(this,le))||e.sourceSpan.start===t.start)return t;let o=l(this,u,x).call(this,e),h=ms(o);return l(this,u,v).call(this,{type:i||h?"OptionalMemberExpression":"MemberExpression",object:o,property:t,computed:s,...i?{optional:!0}:h?{optional:!1}:void 0,start:O(o),end:r},{hasParentParens:a})},x=function(e,t){return l(this,u,Ce).call(this,e,t)},Ce=function(e,t){let{isInParentParens:s}={isInParentParens:!1,...t};if(e instanceof Vs){let{expressions:i}=e;if(i.length!==1)throw new Error("Unexpected 'Interpolation'");return l(this,u,x).call(this,i[0])}if(e instanceof ge)return l(this,u,v).call(this,{type:"UnaryExpression",prefix:!0,argument:l(this,u,x).call(this,e.expr),operator:e.operator,...e.sourceSpan},{hasParentParens:s});if(e instanceof A){let{left:i,operation:r,right:a}=e,o=l(this,u,x).call(this,i),h=l(this,u,x).call(this,a),p=O(o),f=b(h),E={left:o,right:h,start:p,end:f};return r==="&&"||r==="||"||r==="??"?l(this,u,v).call(this,{...E,type:"LogicalExpression",operator:r},{hasParentParens:s}):l(this,u,v).call(this,{...E,type:"BinaryExpression",operator:r},{hasParentParens:s})}if(e instanceof Bs){let{exp:i,name:r,args:a}=e,o=l(this,u,x).call(this,i),h=O(o),p=b(o),f=this.getCharacterIndex(/\S/,this.getCharacterIndex("|",p)+1),E=l(this,u,v).call(this,{type:"Identifier",name:r,start:f,end:f+r.length}),w=a.map(T=>l(this,u,x).call(this,T));return l(this,u,v).call(this,{type:"NGPipeExpression",left:o,right:E,arguments:w,start:h,end:b(w.length===0?E:di(!1,w,-1))},{hasParentParens:s})}if(e instanceof ks)return l(this,u,v).call(this,{type:"NGChainedExpression",expressions:e.expressions.map(i=>l(this,u,x).call(this,i)),...e.sourceSpan},{hasParentParens:s});if(e instanceof Ls){let{condition:i,trueExp:r,falseExp:a}=e,o=l(this,u,x).call(this,i),h=l(this,u,x).call(this,r),p=l(this,u,x).call(this,a);return l(this,u,v).call(this,{type:"ConditionalExpression",test:o,consequent:h,alternate:p,start:O(o),end:b(p)},{hasParentParens:s})}if(e instanceof k)return l(this,u,v).call(this,{type:"NGEmptyExpression",...e.sourceSpan},{hasParentParens:s});if(e instanceof Ie)return l(this,u,v).call(this,{type:"ThisExpression",...e.sourceSpan},{hasParentParens:s});if(e instanceof Ms||e instanceof it)return l(this,u,se).call(this,e.receiver,l(this,u,x).call(this,e.key),{computed:!0,optional:e instanceof it,end:e.sourceSpan.end,hasParentParens:s});if(e instanceof Ds)return l(this,u,v).call(this,{type:"ArrayExpression",elements:e.expressions.map(i=>l(this,u,x).call(this,i)),...e.sourceSpan},{hasParentParens:s});if(e instanceof Fs){let{keys:i,values:r}=e,a=r.map(h=>l(this,u,x).call(this,h)),o=i.map(({key:h,quoted:p},f)=>{let E=a[f],w=O(E),T=b(E),N=this.getCharacterIndex(/\S/,f===0?e.sourceSpan.start+1:this.getCharacterIndex(",",b(a[f-1]))+1),H=w===N?T:this.getCharacterLastIndex(/\S/,this.getCharacterLastIndex(":",w-1)-1)+1,U={start:N,end:H},K=p?l(this,u,v).call(this,{type:"StringLiteral",value:h,...U}):l(this,u,v).call(this,{type:"Identifier",name:h,...U}),me=K.end<K.start||N===w;return l(this,u,v).call(this,{type:"ObjectProperty",key:K,value:E,shorthand:me,computed:!1,start:O(K),end:T})});return l(this,u,v).call(this,{type:"ObjectExpression",properties:o,...e.sourceSpan},{hasParentParens:s})}if(e instanceof L){let{value:i}=e;switch(typeof i){case"boolean":return l(this,u,v).call(this,{type:"BooleanLiteral",value:i,...e.sourceSpan},{hasParentParens:s});case"number":return l(this,u,v).call(this,{type:"NumericLiteral",value:i,...e.sourceSpan},{hasParentParens:s});case"object":return l(this,u,v).call(this,{type:"NullLiteral",...e.sourceSpan},{hasParentParens:s});case"string":return l(this,u,v).call(this,{type:"StringLiteral",value:i,...e.sourceSpan},{hasParentParens:s});case"undefined":return l(this,u,v).call(this,{type:"Identifier",name:"undefined",...e.sourceSpan},{hasParentParens:s});default:throw new Error(`Unexpected LiteralPrimitive value type ${typeof i}`)}}if(e instanceof Ks||e instanceof nt){let i=e instanceof nt,{receiver:r,args:a}=e,o=a.length===1?[l(this,u,x).call(this,a[0],{isInParentParens:!0})]:a.map(E=>l(this,u,x).call(this,E)),h=l(this,u,x).call(this,r),p=ms(h),f=i||p?"OptionalCallExpression":"CallExpression";return l(this,u,v).call(this,{type:f,callee:h,arguments:o,...f==="OptionalCallExpression"?{optional:i}:void 0,start:O(h),end:e.sourceSpan.end},{hasParentParens:s})}if(e instanceof Ws){let i=l(this,u,x).call(this,e.expression);return l(this,u,v).call(this,{type:"TSNonNullExpression",expression:i,start:O(i),end:e.sourceSpan.end},{hasParentParens:s})}if(e instanceof Pe||e instanceof Te||e instanceof Oe){let i=e instanceof Pe?"!":e instanceof Te?"typeof":e instanceof Oe?"void":void 0;if(!i)throw new Error("Unexpected expression.");let{start:r}=e.sourceSpan;if(i==="typeof"||i==="void"){let o=this.text.lastIndexOf(i,r);if(o===-1)throw new Error(`Cannot find operator '${i}' from index ${r} in ${JSON.stringify(this.text)}`);r=o}let a=l(this,u,x).call(this,e.expression);return l(this,u,v).call(this,{type:"UnaryExpression",prefix:!0,operator:i,argument:a,start:r,end:b(a)},{hasParentParens:s})}if(e instanceof tt||e instanceof st){let{receiver:i,name:r}=e,a=this.getCharacterLastIndex(/\S/,e.sourceSpan.end-1)+1,o=l(this,u,v).call(this,{type:"Identifier",name:r,start:a-r.length,end:a},fs(i,M(this,le))?{hasParentParens:s}:{});return l(this,u,se).call(this,i,o,{computed:!1,optional:e instanceof st,hasParentParens:s})}if(e instanceof Rs){let i=l(this,u,x).call(this,e.key),r=l(this,u,x).call(this,e.value),a=l(this,u,se).call(this,e.receiver,i,{computed:!0,optional:!1,end:this.getCharacterIndex("]",b(i))+1});return l(this,u,v).call(this,{type:"AssignmentExpression",left:a,operator:"=",right:r,start:O(a),end:b(r)},{hasParentParens:s})}if(e instanceof As){let{receiver:i,name:r,value:a}=e,o=l(this,u,x).call(this,a),h=this.getCharacterLastIndex(/\S/,this.getCharacterLastIndex("=",O(o)-1)-1)+1,p=l(this,u,v).call(this,{type:"Identifier",name:r,start:h-r.length,end:h}),f=l(this,u,se).call(this,i,p,{computed:!1,optional:!1});return l(this,u,v).call(this,{type:"AssignmentExpression",left:f,operator:"=",right:o,start:O(f),end:b(o)},{hasParentParens:s})}if(e instanceof at)return l(this,u,v).call(this,{type:"TaggedTemplateExpression",tag:l(this,u,x).call(this,e.tag),quasi:l(this,u,x).call(this,e.template),...e.sourceSpan});if(e instanceof ot){let{elements:i,expressions:r}=e;return l(this,u,v).call(this,{type:"TemplateLiteral",quasis:i.map(a=>l(this,u,x).call(this,a,{parent:e})),expressions:r.map(a=>l(this,u,x).call(this,a)),...e.sourceSpan})}if(e instanceof lt){let{elements:i}=t.parent,r=i.indexOf(e),a=r===0,o=r===i.length-1,h=e.sourceSpan.end-(o?1:0),p=e.sourceSpan.start+(a?1:0),f=this.text.slice(p,h);return l(this,u,v).call(this,{type:"TemplateElement",value:{cooked:e.text,raw:f},start:p,end:h,tail:o},{stripSpaces:!1})}if(e instanceof qs)return l(this,u,Ce).call(this,e.expression);throw new Error(`Unexpected node type '${e.constructor.name}'`)};function en(e,t){return new mi(e,t).node}function vs(e){return e instanceof $s}function xs(e){return e instanceof ut}var ue,X,y,ys,P,De,Fe,Ve,fi,gs,vi,Es,tn=class extends mi{constructor(e,t){super(void 0,t),J(this,y),J(this,ue),J(this,X),Ne(this,ue,e),Ne(this,X,t);for(let s of e)l(this,y,fi).call(this,s)}get expressions(){return l(this,y,vi).call(this)}};ue=new WeakMap,X=new WeakMap,y=new WeakSet,ys=function(){return M(this,ue)[0].key},P=function(e,{stripSpaces:t=!0}={}){return this.createNode(e,{stripSpaces:t})},De=function(e){return this.transformNode(e)},Fe=function(e){return Ur(e.slice(M(this,y,ys).source.length))},Ve=function(e){let t=M(this,X);if(t[e.start]!=='"'&&t[e.start]!=="'")return;let s=t[e.start],i=!1;for(let r=e.start+1;r<t.length;r++)switch(t[r]){case s:if(!i){e.end=r+1;return}default:i=!1;break;case"\\":i=!i;break}},fi=function(e){l(this,y,Ve).call(this,e.key.span),xs(e)&&e.value&&l(this,y,Ve).call(this,e.value.span)},gs=function(e){if(!e.value||e.value.source)return e.value;let t=this.getCharacterIndex(/\S/,e.sourceSpan.start);return{source:"$implicit",span:{start:t,end:t}}},vi=function(){let e=M(this,ue),[t]=e,s=M(this,X).slice(t.sourceSpan.start,t.sourceSpan.end).trim().length===0?e.slice(1):e,i=[],r=null;for(let[a,o]of s.entries()){if(r&&vs(r)&&xs(o)&&o.value&&o.value.source===r.key.source){let h=l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:o.key.source,...o.key.span}),p=(w,T)=>({...w,...this.transformSpan({start:w.start,end:T})}),f=w=>({...p(w,h.end),alias:h}),E=i.pop();if(E.type==="NGMicrosyntaxExpression")i.push(f(E));else if(E.type==="NGMicrosyntaxKeyedExpression"){let w=f(E.expression);i.push(p({...E,expression:w},w.end))}else throw new Error(`Unexpected type ${E.type}`)}else i.push(l(this,y,Es).call(this,o,a));r=o}return l(this,y,P).call(this,{type:"NGMicrosyntax",body:i,...i.length===0?e[0].sourceSpan:{start:i[0].start,end:di(!1,i,-1).end}})},Es=function(e,t){if(vs(e)){let{key:s,value:i}=e;return i?t===0?l(this,y,P).call(this,{type:"NGMicrosyntaxExpression",expression:l(this,y,De).call(this,i.ast),alias:null,...i.sourceSpan}):l(this,y,P).call(this,{type:"NGMicrosyntaxKeyedExpression",key:l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:l(this,y,Fe).call(this,s.source),...s.span}),expression:l(this,y,P).call(this,{type:"NGMicrosyntaxExpression",expression:l(this,y,De).call(this,i.ast),alias:null,...i.sourceSpan}),start:s.span.start,end:i.sourceSpan.end}):l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:l(this,y,Fe).call(this,s.source),...s.span})}else{let{key:s,sourceSpan:i}=e;if(/^let\s$/.test(M(this,X).slice(i.start,i.start+4))){let{value:r}=e;return l(this,y,P).call(this,{type:"NGMicrosyntaxLet",key:l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:s.source,...s.span}),value:r?l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:r.source,...r.span}):null,start:i.start,end:r?r.span.end:s.span.end})}else{let r=l(this,y,gs).call(this,e);return l(this,y,P).call(this,{type:"NGMicrosyntaxAs",key:l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:r.source,...r.span}),alias:l(this,y,P).call(this,{type:"NGMicrosyntaxKey",name:s.source,...s.span}),start:r.span.start,end:s.span.end})}}};function sn(e,t){return new tn(e,t).expressions}function St({result:{ast:e},text:t,comments:s}){return Object.assign(en(e,t),{comments:s})}function rn({result:{templateBindings:e},text:t}){return sn(e,t)}var nn=e=>St(Gr(e)),an=e=>St(Qr(e)),xi=e=>St(zr(e)),on=e=>rn(Yr(e));function yi(e){var t,s,i;let r=((t=e.range)==null?void 0:t[0])??e.start,a=(i=((s=e.declaration)==null?void 0:s.decorators)??e.decorators)==null?void 0:i[0];return a?Math.min(yi(a),r):r}function ln(e){var t;return((t=e.range)==null?void 0:t[1])??e.end}function Re(e){return{astFormat:"estree",parse(t){let s=e(t);return{type:"NGRoot",node:e===xi&&s.type!=="NGChainedExpression"?{...s,type:"NGChainedExpression",expressions:[s]}:s}},locStart:yi,locEnd:ln}}var un=Re(xi),cn=Re(nn),hn=Re(an),pn=Re(on),ea=Cs;export{ea as default,Ns as parsers};
|
|
3
|
+
//# sourceMappingURL=angular-TC473YFC.js.map
|