@lingo.dev/_compiler 0.7.15 → 0.7.18

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.
Files changed (39) hide show
  1. package/build/acorn-GCP5ZV2A.mjs +3152 -0
  2. package/build/acorn-U6XNAJW3.cjs +3152 -0
  3. package/build/angular-JQSQXFBY.mjs +2937 -0
  4. package/build/angular-VRWVFJ3P.cjs +2937 -0
  5. package/build/babel-R5G642DR.mjs +7246 -0
  6. package/build/babel-XUIPTQVD.cjs +7246 -0
  7. package/build/chunk-253QCR45.cjs +21 -0
  8. package/build/chunk-6BWS3CLP.mjs +16 -0
  9. package/build/chunk-77OA7KVH.cjs +22599 -0
  10. package/build/chunk-SRWLOKRJ.mjs +22598 -0
  11. package/build/estree-4GAWSYZ3.cjs +4388 -0
  12. package/build/estree-XLH46TSP.mjs +4388 -0
  13. package/build/flow-E755VYYN.mjs +27251 -0
  14. package/build/flow-Q7PWYY7R.cjs +27251 -0
  15. package/build/glimmer-CMYCELEM.cjs +2823 -0
  16. package/build/glimmer-E47Q6F77.mjs +2823 -0
  17. package/build/graphql-22VX22UI.mjs +1257 -0
  18. package/build/graphql-ATU26IOQ.cjs +1257 -0
  19. package/build/html-L366VYHK.cjs +2792 -0
  20. package/build/html-ZAWF5C3B.mjs +2792 -0
  21. package/build/index.cjs +36 -29
  22. package/build/index.d.cts +1 -1
  23. package/build/index.mjs +16 -7
  24. package/build/lingo-turbopack-loader.cjs +4 -5
  25. package/build/lingo-turbopack-loader.d.cts +1 -1
  26. package/build/lingo-turbopack-loader.mjs +2 -1
  27. package/build/markdown-5YN6HSRL.mjs +3536 -0
  28. package/build/markdown-VRQCW4QH.cjs +3536 -0
  29. package/build/meriyah-FBYDJ6EA.mjs +2631 -0
  30. package/build/meriyah-QKHCCSUI.cjs +2631 -0
  31. package/build/postcss-NNGTIRRJ.mjs +5083 -0
  32. package/build/postcss-PVIIR2IT.cjs +5083 -0
  33. package/build/typescript-FJLY3MEC.mjs +13205 -0
  34. package/build/typescript-VKODJRCW.cjs +13205 -0
  35. package/build/yaml-6I36QTON.cjs +4222 -0
  36. package/build/yaml-MMD4LQP5.mjs +4222 -0
  37. package/package.json +12 -5
  38. package/build/chunk-COKHINWO.mjs +0 -2743
  39. package/build/chunk-TMPC4O5V.cjs +0 -2743
@@ -0,0 +1,2937 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8; var _class9; var _class10; var _class11; var _class12;require('./chunk-253QCR45.cjs');
2
+
3
+ // ../../node_modules/.pnpm/prettier@3.6.2/node_modules/prettier/plugins/angular.mjs
4
+ var qs = Object.defineProperty;
5
+ var tn = (n25) => {
6
+ throw TypeError(n25);
7
+ };
8
+ var nn = (n25, e) => {
9
+ for (var t in e) qs(n25, t, { get: e[t], enumerable: true });
10
+ };
11
+ var dt = (n25, e, t) => e.has(n25) || tn("Cannot " + t);
12
+ var L = (n25, e, t) => (dt(n25, e, "read from private field"), t ? t.call(n25) : e.get(n25));
13
+ var V = (n25, e, t) => e.has(n25) ? tn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n25) : e.set(n25, t);
14
+ var te = (n25, e, t, s) => (dt(n25, e, "write to private field"), s ? s.call(n25, t) : e.set(n25, t), t);
15
+ var c = (n25, e, t) => (dt(n25, e, "access private method"), t);
16
+ var Zt = {};
17
+ nn(Zt, { parsers: () => Kt });
18
+ var Kt = {};
19
+ nn(Kt, { __ng_action: () => Jr, __ng_binding: () => Yr, __ng_directive: () => Kr, __ng_interpolation: () => Qr });
20
+ var ei = new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`, "g");
21
+ var sn;
22
+ (function(n25) {
23
+ n25[n25.Emulated = 0] = "Emulated", n25[n25.None = 2] = "None", n25[n25.ShadowDom = 3] = "ShadowDom";
24
+ })(sn || (sn = {}));
25
+ var rn;
26
+ (function(n25) {
27
+ n25[n25.OnPush = 0] = "OnPush", n25[n25.Default = 1] = "Default";
28
+ })(rn || (rn = {}));
29
+ var on;
30
+ (function(n25) {
31
+ n25[n25.None = 0] = "None", n25[n25.SignalBased = 1] = "SignalBased", n25[n25.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
32
+ })(on || (on = {}));
33
+ var D;
34
+ (function(n25) {
35
+ n25[n25.NONE = 0] = "NONE", n25[n25.HTML = 1] = "HTML", n25[n25.STYLE = 2] = "STYLE", n25[n25.SCRIPT = 3] = "SCRIPT", n25[n25.URL = 4] = "URL", n25[n25.RESOURCE_URL = 5] = "RESOURCE_URL";
36
+ })(D || (D = {}));
37
+ var an;
38
+ (function(n25) {
39
+ n25[n25.Error = 0] = "Error", n25[n25.Warning = 1] = "Warning", n25[n25.Ignore = 2] = "Ignore";
40
+ })(an || (an = {}));
41
+ var ln;
42
+ (function(n25) {
43
+ n25[n25.Directive = 0] = "Directive", n25[n25.Component = 1] = "Component", n25[n25.Injectable = 2] = "Injectable", n25[n25.Pipe = 3] = "Pipe", n25[n25.NgModule = 4] = "NgModule";
44
+ })(ln || (ln = {}));
45
+ var cn;
46
+ (function(n25) {
47
+ n25[n25.Directive = 0] = "Directive", n25[n25.Pipe = 1] = "Pipe", n25[n25.NgModule = 2] = "NgModule";
48
+ })(cn || (cn = {}));
49
+ var un;
50
+ (function(n25) {
51
+ n25[n25.Emulated = 0] = "Emulated", n25[n25.None = 2] = "None", n25[n25.ShadowDom = 3] = "ShadowDom";
52
+ })(un || (un = {}));
53
+ var pn;
54
+ (function(n25) {
55
+ n25[n25.Little = 0] = "Little", n25[n25.Big = 1] = "Big";
56
+ })(pn || (pn = {}));
57
+ var hn;
58
+ (function(n25) {
59
+ n25[n25.None = 0] = "None", n25[n25.Const = 1] = "Const";
60
+ })(hn || (hn = {}));
61
+ var fn;
62
+ (function(n25) {
63
+ n25[n25.Dynamic = 0] = "Dynamic", n25[n25.Bool = 1] = "Bool", n25[n25.String = 2] = "String", n25[n25.Int = 3] = "Int", n25[n25.Number = 4] = "Number", n25[n25.Function = 5] = "Function", n25[n25.Inferred = 6] = "Inferred", n25[n25.None = 7] = "None";
64
+ })(fn || (fn = {}));
65
+ var js = void 0;
66
+ var dn;
67
+ (function(n25) {
68
+ n25[n25.Minus = 0] = "Minus", n25[n25.Plus = 1] = "Plus";
69
+ })(dn || (dn = {}));
70
+ var _;
71
+ (function(n25) {
72
+ n25[n25.Equals = 0] = "Equals", n25[n25.NotEquals = 1] = "NotEquals", n25[n25.Identical = 2] = "Identical", n25[n25.NotIdentical = 3] = "NotIdentical", n25[n25.Minus = 4] = "Minus", n25[n25.Plus = 5] = "Plus", n25[n25.Divide = 6] = "Divide", n25[n25.Multiply = 7] = "Multiply", n25[n25.Modulo = 8] = "Modulo", n25[n25.And = 9] = "And", n25[n25.Or = 10] = "Or", n25[n25.BitwiseOr = 11] = "BitwiseOr", n25[n25.BitwiseAnd = 12] = "BitwiseAnd", n25[n25.Lower = 13] = "Lower", n25[n25.LowerEquals = 14] = "LowerEquals", n25[n25.Bigger = 15] = "Bigger", n25[n25.BiggerEquals = 16] = "BiggerEquals", n25[n25.NullishCoalesce = 17] = "NullishCoalesce", n25[n25.Exponentiation = 18] = "Exponentiation", n25[n25.In = 19] = "In";
73
+ })(_ || (_ = {}));
74
+ function zs(n25, e) {
75
+ return n25 == null || e == null ? n25 == e : n25.isEquivalent(e);
76
+ }
77
+ function Gs(n25, e, t) {
78
+ let s = n25.length;
79
+ if (s !== e.length) return false;
80
+ for (let r = 0; r < s; r++) if (!t(n25[r], e[r])) return false;
81
+ return true;
82
+ }
83
+ function ct(n25, e) {
84
+ return Gs(n25, e, (t, s) => t.isEquivalent(s));
85
+ }
86
+ var b = class {
87
+
88
+
89
+ constructor(e, t) {
90
+ this.type = e || null, this.sourceSpan = t || null;
91
+ }
92
+ prop(e, t) {
93
+ return new _t(this, e, null, t);
94
+ }
95
+ key(e, t, s) {
96
+ return new Ct(this, e, t, s);
97
+ }
98
+ callFn(e, t, s) {
99
+ return new xt(this, e, null, t, s);
100
+ }
101
+ instantiate(e, t, s) {
102
+ return new St(this, e, t, s);
103
+ }
104
+ conditional(e, t = null, s) {
105
+ return new yt(this, e, t, null, s);
106
+ }
107
+ equals(e, t) {
108
+ return new C(_.Equals, this, e, null, t);
109
+ }
110
+ notEquals(e, t) {
111
+ return new C(_.NotEquals, this, e, null, t);
112
+ }
113
+ identical(e, t) {
114
+ return new C(_.Identical, this, e, null, t);
115
+ }
116
+ notIdentical(e, t) {
117
+ return new C(_.NotIdentical, this, e, null, t);
118
+ }
119
+ minus(e, t) {
120
+ return new C(_.Minus, this, e, null, t);
121
+ }
122
+ plus(e, t) {
123
+ return new C(_.Plus, this, e, null, t);
124
+ }
125
+ divide(e, t) {
126
+ return new C(_.Divide, this, e, null, t);
127
+ }
128
+ multiply(e, t) {
129
+ return new C(_.Multiply, this, e, null, t);
130
+ }
131
+ modulo(e, t) {
132
+ return new C(_.Modulo, this, e, null, t);
133
+ }
134
+ power(e, t) {
135
+ return new C(_.Exponentiation, this, e, null, t);
136
+ }
137
+ and(e, t) {
138
+ return new C(_.And, this, e, null, t);
139
+ }
140
+ bitwiseOr(e, t) {
141
+ return new C(_.BitwiseOr, this, e, null, t);
142
+ }
143
+ bitwiseAnd(e, t) {
144
+ return new C(_.BitwiseAnd, this, e, null, t);
145
+ }
146
+ or(e, t) {
147
+ return new C(_.Or, this, e, null, t);
148
+ }
149
+ lower(e, t) {
150
+ return new C(_.Lower, this, e, null, t);
151
+ }
152
+ lowerEquals(e, t) {
153
+ return new C(_.LowerEquals, this, e, null, t);
154
+ }
155
+ bigger(e, t) {
156
+ return new C(_.Bigger, this, e, null, t);
157
+ }
158
+ biggerEquals(e, t) {
159
+ return new C(_.BiggerEquals, this, e, null, t);
160
+ }
161
+ isBlank(e) {
162
+ return this.equals(TYPED_NULL_EXPR, e);
163
+ }
164
+ nullishCoalesce(e, t) {
165
+ return new C(_.NullishCoalesce, this, e, null, t);
166
+ }
167
+ toStmt() {
168
+ return new It(this, null);
169
+ }
170
+ };
171
+ var st = class n extends b {
172
+
173
+ constructor(e, t, s) {
174
+ super(t, s), this.name = e;
175
+ }
176
+ isEquivalent(e) {
177
+ return e instanceof n && this.name === e.name;
178
+ }
179
+ isConstant() {
180
+ return false;
181
+ }
182
+ visitExpression(e, t) {
183
+ return e.visitReadVarExpr(this, t);
184
+ }
185
+ clone() {
186
+ return new n(this.name, this.type, this.sourceSpan);
187
+ }
188
+ set(e) {
189
+ return new gt(this.name, e, null, this.sourceSpan);
190
+ }
191
+ };
192
+ var mt = class n2 extends b {
193
+
194
+ constructor(e, t, s) {
195
+ super(t, s), this.expr = e;
196
+ }
197
+ visitExpression(e, t) {
198
+ return e.visitTypeofExpr(this, t);
199
+ }
200
+ isEquivalent(e) {
201
+ return e instanceof n2 && e.expr.isEquivalent(this.expr);
202
+ }
203
+ isConstant() {
204
+ return this.expr.isConstant();
205
+ }
206
+ clone() {
207
+ return new n2(this.expr.clone());
208
+ }
209
+ };
210
+ var gt = class n3 extends b {
211
+
212
+
213
+ constructor(e, t, s, r) {
214
+ super(s || t.type, r), this.name = e, this.value = t;
215
+ }
216
+ isEquivalent(e) {
217
+ return e instanceof n3 && this.name === e.name && this.value.isEquivalent(e.value);
218
+ }
219
+ isConstant() {
220
+ return false;
221
+ }
222
+ visitExpression(e, t) {
223
+ return e.visitWriteVarExpr(this, t);
224
+ }
225
+ clone() {
226
+ return new n3(this.name, this.value.clone(), this.type, this.sourceSpan);
227
+ }
228
+ toDeclStmt(e, t) {
229
+ return new bt(this.name, this.value, e, t, this.sourceSpan);
230
+ }
231
+ toConstDecl() {
232
+ return this.toDeclStmt(js, Ae.Final);
233
+ }
234
+ };
235
+ var vt = class n4 extends b {
236
+
237
+
238
+
239
+ constructor(e, t, s, r, i) {
240
+ super(r || s.type, i), this.receiver = e, this.index = t, this.value = s;
241
+ }
242
+ isEquivalent(e) {
243
+ return e instanceof n4 && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index) && this.value.isEquivalent(e.value);
244
+ }
245
+ isConstant() {
246
+ return false;
247
+ }
248
+ visitExpression(e, t) {
249
+ return e.visitWriteKeyExpr(this, t);
250
+ }
251
+ clone() {
252
+ return new n4(this.receiver.clone(), this.index.clone(), this.value.clone(), this.type, this.sourceSpan);
253
+ }
254
+ };
255
+ var wt = class n5 extends b {
256
+
257
+
258
+
259
+ constructor(e, t, s, r, i) {
260
+ super(r || s.type, i), this.receiver = e, this.name = t, this.value = s;
261
+ }
262
+ isEquivalent(e) {
263
+ return e instanceof n5 && this.receiver.isEquivalent(e.receiver) && this.name === e.name && this.value.isEquivalent(e.value);
264
+ }
265
+ isConstant() {
266
+ return false;
267
+ }
268
+ visitExpression(e, t) {
269
+ return e.visitWritePropExpr(this, t);
270
+ }
271
+ clone() {
272
+ return new n5(this.receiver.clone(), this.name, this.value.clone(), this.type, this.sourceSpan);
273
+ }
274
+ };
275
+ var xt = class n6 extends b {
276
+
277
+
278
+
279
+ constructor(e, t, s, r, i = false) {
280
+ super(s, r), this.fn = e, this.args = t, this.pure = i;
281
+ }
282
+ get receiver() {
283
+ return this.fn;
284
+ }
285
+ isEquivalent(e) {
286
+ return e instanceof n6 && this.fn.isEquivalent(e.fn) && ct(this.args, e.args) && this.pure === e.pure;
287
+ }
288
+ isConstant() {
289
+ return false;
290
+ }
291
+ visitExpression(e, t) {
292
+ return e.visitInvokeFunctionExpr(this, t);
293
+ }
294
+ clone() {
295
+ return new n6(this.fn.clone(), this.args.map((e) => e.clone()), this.type, this.sourceSpan, this.pure);
296
+ }
297
+ };
298
+ var St = class n7 extends b {
299
+
300
+
301
+ constructor(e, t, s, r) {
302
+ super(s, r), this.classExpr = e, this.args = t;
303
+ }
304
+ isEquivalent(e) {
305
+ return e instanceof n7 && this.classExpr.isEquivalent(e.classExpr) && ct(this.args, e.args);
306
+ }
307
+ isConstant() {
308
+ return false;
309
+ }
310
+ visitExpression(e, t) {
311
+ return e.visitInstantiateExpr(this, t);
312
+ }
313
+ clone() {
314
+ return new n7(this.classExpr.clone(), this.args.map((e) => e.clone()), this.type, this.sourceSpan);
315
+ }
316
+ };
317
+ var rt = class n8 extends b {
318
+
319
+ constructor(e, t, s) {
320
+ super(t, s), this.value = e;
321
+ }
322
+ isEquivalent(e) {
323
+ return e instanceof n8 && this.value === e.value;
324
+ }
325
+ isConstant() {
326
+ return true;
327
+ }
328
+ visitExpression(e, t) {
329
+ return e.visitLiteralExpr(this, t);
330
+ }
331
+ clone() {
332
+ return new n8(this.value, this.type, this.sourceSpan);
333
+ }
334
+ };
335
+ var Et = class n9 extends b {
336
+
337
+
338
+ constructor(e, t, s = null, r) {
339
+ super(t, r), this.value = e, this.typeParams = s;
340
+ }
341
+ isEquivalent(e) {
342
+ return e instanceof n9 && this.value.name === e.value.name && this.value.moduleName === e.value.moduleName;
343
+ }
344
+ isConstant() {
345
+ return false;
346
+ }
347
+ visitExpression(e, t) {
348
+ return e.visitExternalExpr(this, t);
349
+ }
350
+ clone() {
351
+ return new n9(this.value, this.type, this.typeParams, this.sourceSpan);
352
+ }
353
+ };
354
+ var yt = class n10 extends b {
355
+
356
+
357
+
358
+ constructor(e, t, s = null, r, i) {
359
+ super(r || t.type, i), this.condition = e, this.falseCase = s, this.trueCase = t;
360
+ }
361
+ isEquivalent(e) {
362
+ return e instanceof n10 && this.condition.isEquivalent(e.condition) && this.trueCase.isEquivalent(e.trueCase) && zs(this.falseCase, e.falseCase);
363
+ }
364
+ isConstant() {
365
+ return false;
366
+ }
367
+ visitExpression(e, t) {
368
+ return e.visitConditionalExpr(this, t);
369
+ }
370
+ clone() {
371
+ var e;
372
+ return new n10(this.condition.clone(), this.trueCase.clone(), (e = this.falseCase) == null ? void 0 : e.clone(), this.type, this.sourceSpan);
373
+ }
374
+ };
375
+ var C = class n11 extends b {
376
+
377
+
378
+
379
+ constructor(e, t, s, r, i) {
380
+ super(r || t.type, i), this.operator = e, this.rhs = s, this.lhs = t;
381
+ }
382
+ isEquivalent(e) {
383
+ return e instanceof n11 && this.operator === e.operator && this.lhs.isEquivalent(e.lhs) && this.rhs.isEquivalent(e.rhs);
384
+ }
385
+ isConstant() {
386
+ return false;
387
+ }
388
+ visitExpression(e, t) {
389
+ return e.visitBinaryOperatorExpr(this, t);
390
+ }
391
+ clone() {
392
+ return new n11(this.operator, this.lhs.clone(), this.rhs.clone(), this.type, this.sourceSpan);
393
+ }
394
+ };
395
+ var _t = class n12 extends b {
396
+
397
+
398
+ constructor(e, t, s, r) {
399
+ super(s, r), this.receiver = e, this.name = t;
400
+ }
401
+ get index() {
402
+ return this.name;
403
+ }
404
+ isEquivalent(e) {
405
+ return e instanceof n12 && this.receiver.isEquivalent(e.receiver) && this.name === e.name;
406
+ }
407
+ isConstant() {
408
+ return false;
409
+ }
410
+ visitExpression(e, t) {
411
+ return e.visitReadPropExpr(this, t);
412
+ }
413
+ set(e) {
414
+ return new wt(this.receiver, this.name, e, null, this.sourceSpan);
415
+ }
416
+ clone() {
417
+ return new n12(this.receiver.clone(), this.name, this.type, this.sourceSpan);
418
+ }
419
+ };
420
+ var Ct = class n13 extends b {
421
+
422
+
423
+ constructor(e, t, s, r) {
424
+ super(s, r), this.receiver = e, this.index = t;
425
+ }
426
+ isEquivalent(e) {
427
+ return e instanceof n13 && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index);
428
+ }
429
+ isConstant() {
430
+ return false;
431
+ }
432
+ visitExpression(e, t) {
433
+ return e.visitReadKeyExpr(this, t);
434
+ }
435
+ set(e) {
436
+ return new vt(this.receiver, this.index, e, null, this.sourceSpan);
437
+ }
438
+ clone() {
439
+ return new n13(this.receiver.clone(), this.index.clone(), this.type, this.sourceSpan);
440
+ }
441
+ };
442
+ var Tt = class n14 extends b {
443
+
444
+ constructor(e, t, s) {
445
+ super(t, s), this.entries = e;
446
+ }
447
+ isConstant() {
448
+ return this.entries.every((e) => e.isConstant());
449
+ }
450
+ isEquivalent(e) {
451
+ return e instanceof n14 && ct(this.entries, e.entries);
452
+ }
453
+ visitExpression(e, t) {
454
+ return e.visitLiteralArrayExpr(this, t);
455
+ }
456
+ clone() {
457
+ return new n14(this.entries.map((e) => e.clone()), this.type, this.sourceSpan);
458
+ }
459
+ };
460
+ var kt = (_class = class n15 extends b {
461
+
462
+ __init() {this.valueType = null}
463
+ constructor(e, t, s) {
464
+ super(t, s);_class.prototype.__init.call(this);, this.entries = e, t && (this.valueType = t.valueType);
465
+ }
466
+ isEquivalent(e) {
467
+ return e instanceof n15 && ct(this.entries, e.entries);
468
+ }
469
+ isConstant() {
470
+ return this.entries.every((e) => e.value.isConstant());
471
+ }
472
+ visitExpression(e, t) {
473
+ return e.visitLiteralMapExpr(this, t);
474
+ }
475
+ clone() {
476
+ let e = this.entries.map((t) => t.clone());
477
+ return new n15(e, this.type, this.sourceSpan);
478
+ }
479
+ }, _class);
480
+ var Ae;
481
+ (function(n25) {
482
+ n25[n25.None = 0] = "None", n25[n25.Final = 1] = "Final", n25[n25.Private = 2] = "Private", n25[n25.Exported = 4] = "Exported", n25[n25.Static = 8] = "Static";
483
+ })(Ae || (Ae = {}));
484
+ var it = class {
485
+
486
+
487
+
488
+ constructor(e = Ae.None, t = null, s) {
489
+ this.modifiers = e, this.sourceSpan = t, this.leadingComments = s;
490
+ }
491
+ hasModifier(e) {
492
+ return (this.modifiers & e) !== 0;
493
+ }
494
+ addLeadingComment(e) {
495
+ this.leadingComments = _nullishCoalesce(this.leadingComments, () => ( [])), this.leadingComments.push(e);
496
+ }
497
+ };
498
+ var bt = class n16 extends it {
499
+
500
+
501
+
502
+ constructor(e, t, s, r, i, a) {
503
+ super(r, i, a), this.name = e, this.value = t, this.type = s || t && t.type || null;
504
+ }
505
+ isEquivalent(e) {
506
+ return e instanceof n16 && this.name === e.name && (this.value ? !!e.value && this.value.isEquivalent(e.value) : !e.value);
507
+ }
508
+ visitStatement(e, t) {
509
+ return e.visitDeclareVarStmt(this, t);
510
+ }
511
+ };
512
+ var It = class n17 extends it {
513
+
514
+ constructor(e, t, s) {
515
+ super(Ae.None, t, s), this.expr = e;
516
+ }
517
+ isEquivalent(e) {
518
+ return e instanceof n17 && this.expr.isEquivalent(e.expr);
519
+ }
520
+ visitStatement(e, t) {
521
+ return e.visitExpressionStmt(this, t);
522
+ }
523
+ };
524
+ function Xs(n25, e, t) {
525
+ return new st(n25, e, t);
526
+ }
527
+ var ti = Xs("<unknown>");
528
+ var mn = (_class2 = class n18 {
529
+ static __initStatic() {this.INSTANCE = new n18()}
530
+ keyOf(e) {
531
+ if (e instanceof rt && typeof e.value == "string") return `"${e.value}"`;
532
+ if (e instanceof rt) return String(e.value);
533
+ if (e instanceof Tt) {
534
+ let t = [];
535
+ for (let s of e.entries) t.push(this.keyOf(s));
536
+ return `[${t.join(",")}]`;
537
+ } else if (e instanceof kt) {
538
+ let t = [];
539
+ for (let s of e.entries) {
540
+ let r = s.key;
541
+ s.quoted && (r = `"${r}"`), t.push(r + ":" + this.keyOf(s.value));
542
+ }
543
+ return `{${t.join(",")}}`;
544
+ } else {
545
+ if (e instanceof Et) return `import("${e.value.moduleName}", ${e.value.name})`;
546
+ if (e instanceof st) return `read(${e.name})`;
547
+ if (e instanceof mt) return `typeof(${this.keyOf(e.expr)})`;
548
+ throw new Error(`${this.constructor.name} does not handle expressions of type ${e.constructor.name}`);
549
+ }
550
+ }
551
+ }, _class2.__initStatic(), _class2);
552
+ var o = "@angular/core";
553
+ var p = (_class3 = class {
554
+ static __initStatic2() {this.NEW_METHOD = "factory"}
555
+ static __initStatic3() {this.TRANSFORM_METHOD = "transform"}
556
+ static __initStatic4() {this.PATCH_DEPS = "patchedDeps"}
557
+ static __initStatic5() {this.core = { name: null, moduleName: o }}
558
+ static __initStatic6() {this.namespaceHTML = { name: "\u0275\u0275namespaceHTML", moduleName: o }}
559
+ static __initStatic7() {this.namespaceMathML = { name: "\u0275\u0275namespaceMathML", moduleName: o }}
560
+ static __initStatic8() {this.namespaceSVG = { name: "\u0275\u0275namespaceSVG", moduleName: o }}
561
+ static __initStatic9() {this.element = { name: "\u0275\u0275element", moduleName: o }}
562
+ static __initStatic10() {this.elementStart = { name: "\u0275\u0275elementStart", moduleName: o }}
563
+ static __initStatic11() {this.elementEnd = { name: "\u0275\u0275elementEnd", moduleName: o }}
564
+ static __initStatic12() {this.advance = { name: "\u0275\u0275advance", moduleName: o }}
565
+ static __initStatic13() {this.syntheticHostProperty = { name: "\u0275\u0275syntheticHostProperty", moduleName: o }}
566
+ static __initStatic14() {this.syntheticHostListener = { name: "\u0275\u0275syntheticHostListener", moduleName: o }}
567
+ static __initStatic15() {this.attribute = { name: "\u0275\u0275attribute", moduleName: o }}
568
+ static __initStatic16() {this.classProp = { name: "\u0275\u0275classProp", moduleName: o }}
569
+ static __initStatic17() {this.elementContainerStart = { name: "\u0275\u0275elementContainerStart", moduleName: o }}
570
+ static __initStatic18() {this.elementContainerEnd = { name: "\u0275\u0275elementContainerEnd", moduleName: o }}
571
+ static __initStatic19() {this.elementContainer = { name: "\u0275\u0275elementContainer", moduleName: o }}
572
+ static __initStatic20() {this.styleMap = { name: "\u0275\u0275styleMap", moduleName: o }}
573
+ static __initStatic21() {this.classMap = { name: "\u0275\u0275classMap", moduleName: o }}
574
+ static __initStatic22() {this.styleProp = { name: "\u0275\u0275styleProp", moduleName: o }}
575
+ static __initStatic23() {this.interpolate = { name: "\u0275\u0275interpolate", moduleName: o }}
576
+ static __initStatic24() {this.interpolate1 = { name: "\u0275\u0275interpolate1", moduleName: o }}
577
+ static __initStatic25() {this.interpolate2 = { name: "\u0275\u0275interpolate2", moduleName: o }}
578
+ static __initStatic26() {this.interpolate3 = { name: "\u0275\u0275interpolate3", moduleName: o }}
579
+ static __initStatic27() {this.interpolate4 = { name: "\u0275\u0275interpolate4", moduleName: o }}
580
+ static __initStatic28() {this.interpolate5 = { name: "\u0275\u0275interpolate5", moduleName: o }}
581
+ static __initStatic29() {this.interpolate6 = { name: "\u0275\u0275interpolate6", moduleName: o }}
582
+ static __initStatic30() {this.interpolate7 = { name: "\u0275\u0275interpolate7", moduleName: o }}
583
+ static __initStatic31() {this.interpolate8 = { name: "\u0275\u0275interpolate8", moduleName: o }}
584
+ static __initStatic32() {this.interpolateV = { name: "\u0275\u0275interpolateV", moduleName: o }}
585
+ static __initStatic33() {this.nextContext = { name: "\u0275\u0275nextContext", moduleName: o }}
586
+ static __initStatic34() {this.resetView = { name: "\u0275\u0275resetView", moduleName: o }}
587
+ static __initStatic35() {this.templateCreate = { name: "\u0275\u0275template", moduleName: o }}
588
+ static __initStatic36() {this.defer = { name: "\u0275\u0275defer", moduleName: o }}
589
+ static __initStatic37() {this.deferWhen = { name: "\u0275\u0275deferWhen", moduleName: o }}
590
+ static __initStatic38() {this.deferOnIdle = { name: "\u0275\u0275deferOnIdle", moduleName: o }}
591
+ static __initStatic39() {this.deferOnImmediate = { name: "\u0275\u0275deferOnImmediate", moduleName: o }}
592
+ static __initStatic40() {this.deferOnTimer = { name: "\u0275\u0275deferOnTimer", moduleName: o }}
593
+ static __initStatic41() {this.deferOnHover = { name: "\u0275\u0275deferOnHover", moduleName: o }}
594
+ static __initStatic42() {this.deferOnInteraction = { name: "\u0275\u0275deferOnInteraction", moduleName: o }}
595
+ static __initStatic43() {this.deferOnViewport = { name: "\u0275\u0275deferOnViewport", moduleName: o }}
596
+ static __initStatic44() {this.deferPrefetchWhen = { name: "\u0275\u0275deferPrefetchWhen", moduleName: o }}
597
+ static __initStatic45() {this.deferPrefetchOnIdle = { name: "\u0275\u0275deferPrefetchOnIdle", moduleName: o }}
598
+ static __initStatic46() {this.deferPrefetchOnImmediate = { name: "\u0275\u0275deferPrefetchOnImmediate", moduleName: o }}
599
+ static __initStatic47() {this.deferPrefetchOnTimer = { name: "\u0275\u0275deferPrefetchOnTimer", moduleName: o }}
600
+ static __initStatic48() {this.deferPrefetchOnHover = { name: "\u0275\u0275deferPrefetchOnHover", moduleName: o }}
601
+ static __initStatic49() {this.deferPrefetchOnInteraction = { name: "\u0275\u0275deferPrefetchOnInteraction", moduleName: o }}
602
+ static __initStatic50() {this.deferPrefetchOnViewport = { name: "\u0275\u0275deferPrefetchOnViewport", moduleName: o }}
603
+ static __initStatic51() {this.deferHydrateWhen = { name: "\u0275\u0275deferHydrateWhen", moduleName: o }}
604
+ static __initStatic52() {this.deferHydrateNever = { name: "\u0275\u0275deferHydrateNever", moduleName: o }}
605
+ static __initStatic53() {this.deferHydrateOnIdle = { name: "\u0275\u0275deferHydrateOnIdle", moduleName: o }}
606
+ static __initStatic54() {this.deferHydrateOnImmediate = { name: "\u0275\u0275deferHydrateOnImmediate", moduleName: o }}
607
+ static __initStatic55() {this.deferHydrateOnTimer = { name: "\u0275\u0275deferHydrateOnTimer", moduleName: o }}
608
+ static __initStatic56() {this.deferHydrateOnHover = { name: "\u0275\u0275deferHydrateOnHover", moduleName: o }}
609
+ static __initStatic57() {this.deferHydrateOnInteraction = { name: "\u0275\u0275deferHydrateOnInteraction", moduleName: o }}
610
+ static __initStatic58() {this.deferHydrateOnViewport = { name: "\u0275\u0275deferHydrateOnViewport", moduleName: o }}
611
+ static __initStatic59() {this.deferEnableTimerScheduling = { name: "\u0275\u0275deferEnableTimerScheduling", moduleName: o }}
612
+ static __initStatic60() {this.conditionalCreate = { name: "\u0275\u0275conditionalCreate", moduleName: o }}
613
+ static __initStatic61() {this.conditionalBranchCreate = { name: "\u0275\u0275conditionalBranchCreate", moduleName: o }}
614
+ static __initStatic62() {this.conditional = { name: "\u0275\u0275conditional", moduleName: o }}
615
+ static __initStatic63() {this.repeater = { name: "\u0275\u0275repeater", moduleName: o }}
616
+ static __initStatic64() {this.repeaterCreate = { name: "\u0275\u0275repeaterCreate", moduleName: o }}
617
+ static __initStatic65() {this.repeaterTrackByIndex = { name: "\u0275\u0275repeaterTrackByIndex", moduleName: o }}
618
+ static __initStatic66() {this.repeaterTrackByIdentity = { name: "\u0275\u0275repeaterTrackByIdentity", moduleName: o }}
619
+ static __initStatic67() {this.componentInstance = { name: "\u0275\u0275componentInstance", moduleName: o }}
620
+ static __initStatic68() {this.text = { name: "\u0275\u0275text", moduleName: o }}
621
+ static __initStatic69() {this.enableBindings = { name: "\u0275\u0275enableBindings", moduleName: o }}
622
+ static __initStatic70() {this.disableBindings = { name: "\u0275\u0275disableBindings", moduleName: o }}
623
+ static __initStatic71() {this.getCurrentView = { name: "\u0275\u0275getCurrentView", moduleName: o }}
624
+ static __initStatic72() {this.textInterpolate = { name: "\u0275\u0275textInterpolate", moduleName: o }}
625
+ static __initStatic73() {this.textInterpolate1 = { name: "\u0275\u0275textInterpolate1", moduleName: o }}
626
+ static __initStatic74() {this.textInterpolate2 = { name: "\u0275\u0275textInterpolate2", moduleName: o }}
627
+ static __initStatic75() {this.textInterpolate3 = { name: "\u0275\u0275textInterpolate3", moduleName: o }}
628
+ static __initStatic76() {this.textInterpolate4 = { name: "\u0275\u0275textInterpolate4", moduleName: o }}
629
+ static __initStatic77() {this.textInterpolate5 = { name: "\u0275\u0275textInterpolate5", moduleName: o }}
630
+ static __initStatic78() {this.textInterpolate6 = { name: "\u0275\u0275textInterpolate6", moduleName: o }}
631
+ static __initStatic79() {this.textInterpolate7 = { name: "\u0275\u0275textInterpolate7", moduleName: o }}
632
+ static __initStatic80() {this.textInterpolate8 = { name: "\u0275\u0275textInterpolate8", moduleName: o }}
633
+ static __initStatic81() {this.textInterpolateV = { name: "\u0275\u0275textInterpolateV", moduleName: o }}
634
+ static __initStatic82() {this.restoreView = { name: "\u0275\u0275restoreView", moduleName: o }}
635
+ static __initStatic83() {this.pureFunction0 = { name: "\u0275\u0275pureFunction0", moduleName: o }}
636
+ static __initStatic84() {this.pureFunction1 = { name: "\u0275\u0275pureFunction1", moduleName: o }}
637
+ static __initStatic85() {this.pureFunction2 = { name: "\u0275\u0275pureFunction2", moduleName: o }}
638
+ static __initStatic86() {this.pureFunction3 = { name: "\u0275\u0275pureFunction3", moduleName: o }}
639
+ static __initStatic87() {this.pureFunction4 = { name: "\u0275\u0275pureFunction4", moduleName: o }}
640
+ static __initStatic88() {this.pureFunction5 = { name: "\u0275\u0275pureFunction5", moduleName: o }}
641
+ static __initStatic89() {this.pureFunction6 = { name: "\u0275\u0275pureFunction6", moduleName: o }}
642
+ static __initStatic90() {this.pureFunction7 = { name: "\u0275\u0275pureFunction7", moduleName: o }}
643
+ static __initStatic91() {this.pureFunction8 = { name: "\u0275\u0275pureFunction8", moduleName: o }}
644
+ static __initStatic92() {this.pureFunctionV = { name: "\u0275\u0275pureFunctionV", moduleName: o }}
645
+ static __initStatic93() {this.pipeBind1 = { name: "\u0275\u0275pipeBind1", moduleName: o }}
646
+ static __initStatic94() {this.pipeBind2 = { name: "\u0275\u0275pipeBind2", moduleName: o }}
647
+ static __initStatic95() {this.pipeBind3 = { name: "\u0275\u0275pipeBind3", moduleName: o }}
648
+ static __initStatic96() {this.pipeBind4 = { name: "\u0275\u0275pipeBind4", moduleName: o }}
649
+ static __initStatic97() {this.pipeBindV = { name: "\u0275\u0275pipeBindV", moduleName: o }}
650
+ static __initStatic98() {this.domProperty = { name: "\u0275\u0275domProperty", moduleName: o }}
651
+ static __initStatic99() {this.property = { name: "\u0275\u0275property", moduleName: o }}
652
+ static __initStatic100() {this.i18n = { name: "\u0275\u0275i18n", moduleName: o }}
653
+ static __initStatic101() {this.i18nAttributes = { name: "\u0275\u0275i18nAttributes", moduleName: o }}
654
+ static __initStatic102() {this.i18nExp = { name: "\u0275\u0275i18nExp", moduleName: o }}
655
+ static __initStatic103() {this.i18nStart = { name: "\u0275\u0275i18nStart", moduleName: o }}
656
+ static __initStatic104() {this.i18nEnd = { name: "\u0275\u0275i18nEnd", moduleName: o }}
657
+ static __initStatic105() {this.i18nApply = { name: "\u0275\u0275i18nApply", moduleName: o }}
658
+ static __initStatic106() {this.i18nPostprocess = { name: "\u0275\u0275i18nPostprocess", moduleName: o }}
659
+ static __initStatic107() {this.pipe = { name: "\u0275\u0275pipe", moduleName: o }}
660
+ static __initStatic108() {this.projection = { name: "\u0275\u0275projection", moduleName: o }}
661
+ static __initStatic109() {this.projectionDef = { name: "\u0275\u0275projectionDef", moduleName: o }}
662
+ static __initStatic110() {this.reference = { name: "\u0275\u0275reference", moduleName: o }}
663
+ static __initStatic111() {this.inject = { name: "\u0275\u0275inject", moduleName: o }}
664
+ static __initStatic112() {this.injectAttribute = { name: "\u0275\u0275injectAttribute", moduleName: o }}
665
+ static __initStatic113() {this.directiveInject = { name: "\u0275\u0275directiveInject", moduleName: o }}
666
+ static __initStatic114() {this.invalidFactory = { name: "\u0275\u0275invalidFactory", moduleName: o }}
667
+ static __initStatic115() {this.invalidFactoryDep = { name: "\u0275\u0275invalidFactoryDep", moduleName: o }}
668
+ static __initStatic116() {this.templateRefExtractor = { name: "\u0275\u0275templateRefExtractor", moduleName: o }}
669
+ static __initStatic117() {this.forwardRef = { name: "forwardRef", moduleName: o }}
670
+ static __initStatic118() {this.resolveForwardRef = { name: "resolveForwardRef", moduleName: o }}
671
+ static __initStatic119() {this.replaceMetadata = { name: "\u0275\u0275replaceMetadata", moduleName: o }}
672
+ static __initStatic120() {this.getReplaceMetadataURL = { name: "\u0275\u0275getReplaceMetadataURL", moduleName: o }}
673
+ static __initStatic121() {this.\u0275\u0275defineInjectable = { name: "\u0275\u0275defineInjectable", moduleName: o }}
674
+ static __initStatic122() {this.declareInjectable = { name: "\u0275\u0275ngDeclareInjectable", moduleName: o }}
675
+ static __initStatic123() {this.InjectableDeclaration = { name: "\u0275\u0275InjectableDeclaration", moduleName: o }}
676
+ static __initStatic124() {this.resolveWindow = { name: "\u0275\u0275resolveWindow", moduleName: o }}
677
+ static __initStatic125() {this.resolveDocument = { name: "\u0275\u0275resolveDocument", moduleName: o }}
678
+ static __initStatic126() {this.resolveBody = { name: "\u0275\u0275resolveBody", moduleName: o }}
679
+ static __initStatic127() {this.getComponentDepsFactory = { name: "\u0275\u0275getComponentDepsFactory", moduleName: o }}
680
+ static __initStatic128() {this.defineComponent = { name: "\u0275\u0275defineComponent", moduleName: o }}
681
+ static __initStatic129() {this.declareComponent = { name: "\u0275\u0275ngDeclareComponent", moduleName: o }}
682
+ static __initStatic130() {this.setComponentScope = { name: "\u0275\u0275setComponentScope", moduleName: o }}
683
+ static __initStatic131() {this.ChangeDetectionStrategy = { name: "ChangeDetectionStrategy", moduleName: o }}
684
+ static __initStatic132() {this.ViewEncapsulation = { name: "ViewEncapsulation", moduleName: o }}
685
+ static __initStatic133() {this.ComponentDeclaration = { name: "\u0275\u0275ComponentDeclaration", moduleName: o }}
686
+ static __initStatic134() {this.FactoryDeclaration = { name: "\u0275\u0275FactoryDeclaration", moduleName: o }}
687
+ static __initStatic135() {this.declareFactory = { name: "\u0275\u0275ngDeclareFactory", moduleName: o }}
688
+ static __initStatic136() {this.FactoryTarget = { name: "\u0275\u0275FactoryTarget", moduleName: o }}
689
+ static __initStatic137() {this.defineDirective = { name: "\u0275\u0275defineDirective", moduleName: o }}
690
+ static __initStatic138() {this.declareDirective = { name: "\u0275\u0275ngDeclareDirective", moduleName: o }}
691
+ static __initStatic139() {this.DirectiveDeclaration = { name: "\u0275\u0275DirectiveDeclaration", moduleName: o }}
692
+ static __initStatic140() {this.InjectorDef = { name: "\u0275\u0275InjectorDef", moduleName: o }}
693
+ static __initStatic141() {this.InjectorDeclaration = { name: "\u0275\u0275InjectorDeclaration", moduleName: o }}
694
+ static __initStatic142() {this.defineInjector = { name: "\u0275\u0275defineInjector", moduleName: o }}
695
+ static __initStatic143() {this.declareInjector = { name: "\u0275\u0275ngDeclareInjector", moduleName: o }}
696
+ static __initStatic144() {this.NgModuleDeclaration = { name: "\u0275\u0275NgModuleDeclaration", moduleName: o }}
697
+ static __initStatic145() {this.ModuleWithProviders = { name: "ModuleWithProviders", moduleName: o }}
698
+ static __initStatic146() {this.defineNgModule = { name: "\u0275\u0275defineNgModule", moduleName: o }}
699
+ static __initStatic147() {this.declareNgModule = { name: "\u0275\u0275ngDeclareNgModule", moduleName: o }}
700
+ static __initStatic148() {this.setNgModuleScope = { name: "\u0275\u0275setNgModuleScope", moduleName: o }}
701
+ static __initStatic149() {this.registerNgModuleType = { name: "\u0275\u0275registerNgModuleType", moduleName: o }}
702
+ static __initStatic150() {this.PipeDeclaration = { name: "\u0275\u0275PipeDeclaration", moduleName: o }}
703
+ static __initStatic151() {this.definePipe = { name: "\u0275\u0275definePipe", moduleName: o }}
704
+ static __initStatic152() {this.declarePipe = { name: "\u0275\u0275ngDeclarePipe", moduleName: o }}
705
+ static __initStatic153() {this.declareClassMetadata = { name: "\u0275\u0275ngDeclareClassMetadata", moduleName: o }}
706
+ static __initStatic154() {this.declareClassMetadataAsync = { name: "\u0275\u0275ngDeclareClassMetadataAsync", moduleName: o }}
707
+ static __initStatic155() {this.setClassMetadata = { name: "\u0275setClassMetadata", moduleName: o }}
708
+ static __initStatic156() {this.setClassMetadataAsync = { name: "\u0275setClassMetadataAsync", moduleName: o }}
709
+ static __initStatic157() {this.setClassDebugInfo = { name: "\u0275setClassDebugInfo", moduleName: o }}
710
+ static __initStatic158() {this.queryRefresh = { name: "\u0275\u0275queryRefresh", moduleName: o }}
711
+ static __initStatic159() {this.viewQuery = { name: "\u0275\u0275viewQuery", moduleName: o }}
712
+ static __initStatic160() {this.loadQuery = { name: "\u0275\u0275loadQuery", moduleName: o }}
713
+ static __initStatic161() {this.contentQuery = { name: "\u0275\u0275contentQuery", moduleName: o }}
714
+ static __initStatic162() {this.viewQuerySignal = { name: "\u0275\u0275viewQuerySignal", moduleName: o }}
715
+ static __initStatic163() {this.contentQuerySignal = { name: "\u0275\u0275contentQuerySignal", moduleName: o }}
716
+ static __initStatic164() {this.queryAdvance = { name: "\u0275\u0275queryAdvance", moduleName: o }}
717
+ static __initStatic165() {this.twoWayProperty = { name: "\u0275\u0275twoWayProperty", moduleName: o }}
718
+ static __initStatic166() {this.twoWayBindingSet = { name: "\u0275\u0275twoWayBindingSet", moduleName: o }}
719
+ static __initStatic167() {this.twoWayListener = { name: "\u0275\u0275twoWayListener", moduleName: o }}
720
+ static __initStatic168() {this.declareLet = { name: "\u0275\u0275declareLet", moduleName: o }}
721
+ static __initStatic169() {this.storeLet = { name: "\u0275\u0275storeLet", moduleName: o }}
722
+ static __initStatic170() {this.readContextLet = { name: "\u0275\u0275readContextLet", moduleName: o }}
723
+ static __initStatic171() {this.attachSourceLocations = { name: "\u0275\u0275attachSourceLocations", moduleName: o }}
724
+ static __initStatic172() {this.NgOnChangesFeature = { name: "\u0275\u0275NgOnChangesFeature", moduleName: o }}
725
+ static __initStatic173() {this.InheritDefinitionFeature = { name: "\u0275\u0275InheritDefinitionFeature", moduleName: o }}
726
+ static __initStatic174() {this.CopyDefinitionFeature = { name: "\u0275\u0275CopyDefinitionFeature", moduleName: o }}
727
+ static __initStatic175() {this.ProvidersFeature = { name: "\u0275\u0275ProvidersFeature", moduleName: o }}
728
+ static __initStatic176() {this.HostDirectivesFeature = { name: "\u0275\u0275HostDirectivesFeature", moduleName: o }}
729
+ static __initStatic177() {this.ExternalStylesFeature = { name: "\u0275\u0275ExternalStylesFeature", moduleName: o }}
730
+ static __initStatic178() {this.listener = { name: "\u0275\u0275listener", moduleName: o }}
731
+ static __initStatic179() {this.getInheritedFactory = { name: "\u0275\u0275getInheritedFactory", moduleName: o }}
732
+ static __initStatic180() {this.sanitizeHtml = { name: "\u0275\u0275sanitizeHtml", moduleName: o }}
733
+ static __initStatic181() {this.sanitizeStyle = { name: "\u0275\u0275sanitizeStyle", moduleName: o }}
734
+ static __initStatic182() {this.sanitizeResourceUrl = { name: "\u0275\u0275sanitizeResourceUrl", moduleName: o }}
735
+ static __initStatic183() {this.sanitizeScript = { name: "\u0275\u0275sanitizeScript", moduleName: o }}
736
+ static __initStatic184() {this.sanitizeUrl = { name: "\u0275\u0275sanitizeUrl", moduleName: o }}
737
+ static __initStatic185() {this.sanitizeUrlOrResourceUrl = { name: "\u0275\u0275sanitizeUrlOrResourceUrl", moduleName: o }}
738
+ static __initStatic186() {this.trustConstantHtml = { name: "\u0275\u0275trustConstantHtml", moduleName: o }}
739
+ static __initStatic187() {this.trustConstantResourceUrl = { name: "\u0275\u0275trustConstantResourceUrl", moduleName: o }}
740
+ static __initStatic188() {this.validateIframeAttribute = { name: "\u0275\u0275validateIframeAttribute", moduleName: o }}
741
+ static __initStatic189() {this.InputSignalBrandWriteType = { name: "\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE", moduleName: o }}
742
+ static __initStatic190() {this.UnwrapDirectiveSignalInputs = { name: "\u0275UnwrapDirectiveSignalInputs", moduleName: o }}
743
+ static __initStatic191() {this.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: o }}
744
+ }, _class3.__initStatic2(), _class3.__initStatic3(), _class3.__initStatic4(), _class3.__initStatic5(), _class3.__initStatic6(), _class3.__initStatic7(), _class3.__initStatic8(), _class3.__initStatic9(), _class3.__initStatic10(), _class3.__initStatic11(), _class3.__initStatic12(), _class3.__initStatic13(), _class3.__initStatic14(), _class3.__initStatic15(), _class3.__initStatic16(), _class3.__initStatic17(), _class3.__initStatic18(), _class3.__initStatic19(), _class3.__initStatic20(), _class3.__initStatic21(), _class3.__initStatic22(), _class3.__initStatic23(), _class3.__initStatic24(), _class3.__initStatic25(), _class3.__initStatic26(), _class3.__initStatic27(), _class3.__initStatic28(), _class3.__initStatic29(), _class3.__initStatic30(), _class3.__initStatic31(), _class3.__initStatic32(), _class3.__initStatic33(), _class3.__initStatic34(), _class3.__initStatic35(), _class3.__initStatic36(), _class3.__initStatic37(), _class3.__initStatic38(), _class3.__initStatic39(), _class3.__initStatic40(), _class3.__initStatic41(), _class3.__initStatic42(), _class3.__initStatic43(), _class3.__initStatic44(), _class3.__initStatic45(), _class3.__initStatic46(), _class3.__initStatic47(), _class3.__initStatic48(), _class3.__initStatic49(), _class3.__initStatic50(), _class3.__initStatic51(), _class3.__initStatic52(), _class3.__initStatic53(), _class3.__initStatic54(), _class3.__initStatic55(), _class3.__initStatic56(), _class3.__initStatic57(), _class3.__initStatic58(), _class3.__initStatic59(), _class3.__initStatic60(), _class3.__initStatic61(), _class3.__initStatic62(), _class3.__initStatic63(), _class3.__initStatic64(), _class3.__initStatic65(), _class3.__initStatic66(), _class3.__initStatic67(), _class3.__initStatic68(), _class3.__initStatic69(), _class3.__initStatic70(), _class3.__initStatic71(), _class3.__initStatic72(), _class3.__initStatic73(), _class3.__initStatic74(), _class3.__initStatic75(), _class3.__initStatic76(), _class3.__initStatic77(), _class3.__initStatic78(), _class3.__initStatic79(), _class3.__initStatic80(), _class3.__initStatic81(), _class3.__initStatic82(), _class3.__initStatic83(), _class3.__initStatic84(), _class3.__initStatic85(), _class3.__initStatic86(), _class3.__initStatic87(), _class3.__initStatic88(), _class3.__initStatic89(), _class3.__initStatic90(), _class3.__initStatic91(), _class3.__initStatic92(), _class3.__initStatic93(), _class3.__initStatic94(), _class3.__initStatic95(), _class3.__initStatic96(), _class3.__initStatic97(), _class3.__initStatic98(), _class3.__initStatic99(), _class3.__initStatic100(), _class3.__initStatic101(), _class3.__initStatic102(), _class3.__initStatic103(), _class3.__initStatic104(), _class3.__initStatic105(), _class3.__initStatic106(), _class3.__initStatic107(), _class3.__initStatic108(), _class3.__initStatic109(), _class3.__initStatic110(), _class3.__initStatic111(), _class3.__initStatic112(), _class3.__initStatic113(), _class3.__initStatic114(), _class3.__initStatic115(), _class3.__initStatic116(), _class3.__initStatic117(), _class3.__initStatic118(), _class3.__initStatic119(), _class3.__initStatic120(), _class3.__initStatic121(), _class3.__initStatic122(), _class3.__initStatic123(), _class3.__initStatic124(), _class3.__initStatic125(), _class3.__initStatic126(), _class3.__initStatic127(), _class3.__initStatic128(), _class3.__initStatic129(), _class3.__initStatic130(), _class3.__initStatic131(), _class3.__initStatic132(), _class3.__initStatic133(), _class3.__initStatic134(), _class3.__initStatic135(), _class3.__initStatic136(), _class3.__initStatic137(), _class3.__initStatic138(), _class3.__initStatic139(), _class3.__initStatic140(), _class3.__initStatic141(), _class3.__initStatic142(), _class3.__initStatic143(), _class3.__initStatic144(), _class3.__initStatic145(), _class3.__initStatic146(), _class3.__initStatic147(), _class3.__initStatic148(), _class3.__initStatic149(), _class3.__initStatic150(), _class3.__initStatic151(), _class3.__initStatic152(), _class3.__initStatic153(), _class3.__initStatic154(), _class3.__initStatic155(), _class3.__initStatic156(), _class3.__initStatic157(), _class3.__initStatic158(), _class3.__initStatic159(), _class3.__initStatic160(), _class3.__initStatic161(), _class3.__initStatic162(), _class3.__initStatic163(), _class3.__initStatic164(), _class3.__initStatic165(), _class3.__initStatic166(), _class3.__initStatic167(), _class3.__initStatic168(), _class3.__initStatic169(), _class3.__initStatic170(), _class3.__initStatic171(), _class3.__initStatic172(), _class3.__initStatic173(), _class3.__initStatic174(), _class3.__initStatic175(), _class3.__initStatic176(), _class3.__initStatic177(), _class3.__initStatic178(), _class3.__initStatic179(), _class3.__initStatic180(), _class3.__initStatic181(), _class3.__initStatic182(), _class3.__initStatic183(), _class3.__initStatic184(), _class3.__initStatic185(), _class3.__initStatic186(), _class3.__initStatic187(), _class3.__initStatic188(), _class3.__initStatic189(), _class3.__initStatic190(), _class3.__initStatic191(), _class3);
745
+ var Nt = class {
746
+
747
+
748
+
749
+
750
+ constructor(e) {
751
+ this.full = e;
752
+ let t = e.split(".");
753
+ this.major = t[0], this.minor = t[1], this.patch = t.slice(2).join(".");
754
+ }
755
+ };
756
+ var gn;
757
+ (function(n25) {
758
+ n25[n25.Class = 0] = "Class", n25[n25.Function = 1] = "Function";
759
+ })(gn || (gn = {}));
760
+ var Pe = class {
761
+
762
+
763
+
764
+
765
+ constructor(e, t, s, r) {
766
+ this.input = t, this.errLocation = s, this.ctxLocation = r, this.message = `Parser Error: ${e} ${s} [${t}] in ${r}`;
767
+ }
768
+ };
769
+ var J = class {
770
+
771
+
772
+ constructor(e, t) {
773
+ this.start = e, this.end = t;
774
+ }
775
+ toAbsolute(e) {
776
+ return new O(e + this.start, e + this.end);
777
+ }
778
+ };
779
+ var S = class {
780
+
781
+
782
+ constructor(e, t) {
783
+ this.span = e, this.sourceSpan = t;
784
+ }
785
+ toString() {
786
+ return "AST";
787
+ }
788
+ };
789
+ var ae = class extends S {
790
+
791
+ constructor(e, t, s) {
792
+ super(e, t), this.nameSpan = s;
793
+ }
794
+ };
795
+ var P = class extends S {
796
+ visit(e, t = null) {
797
+ }
798
+ };
799
+ var Y = class extends S {
800
+ visit(e, t = null) {
801
+ return e.visitImplicitReceiver(this, t);
802
+ }
803
+ };
804
+ var At = class extends Y {
805
+ visit(e, t = null) {
806
+ var s;
807
+ return (s = e.visitThisReceiver) == null ? void 0 : s.call(e, this, t);
808
+ }
809
+ };
810
+ var Le = class extends S {
811
+
812
+ constructor(e, t, s) {
813
+ super(e, t), this.expressions = s;
814
+ }
815
+ visit(e, t = null) {
816
+ return e.visitChain(this, t);
817
+ }
818
+ };
819
+ var Me = class extends S {
820
+
821
+
822
+
823
+ constructor(e, t, s, r, i) {
824
+ super(e, t), this.condition = s, this.trueExp = r, this.falseExp = i;
825
+ }
826
+ visit(e, t = null) {
827
+ return e.visitConditional(this, t);
828
+ }
829
+ };
830
+ var le = class extends ae {
831
+
832
+
833
+ constructor(e, t, s, r, i) {
834
+ super(e, t, s), this.receiver = r, this.name = i;
835
+ }
836
+ visit(e, t = null) {
837
+ return e.visitPropertyRead(this, t);
838
+ }
839
+ };
840
+ var $e = class extends ae {
841
+
842
+
843
+
844
+ constructor(e, t, s, r, i, a) {
845
+ super(e, t, s), this.receiver = r, this.name = i, this.value = a;
846
+ }
847
+ visit(e, t = null) {
848
+ return e.visitPropertyWrite(this, t);
849
+ }
850
+ };
851
+ var ce = class extends ae {
852
+
853
+
854
+ constructor(e, t, s, r, i) {
855
+ super(e, t, s), this.receiver = r, this.name = i;
856
+ }
857
+ visit(e, t = null) {
858
+ return e.visitSafePropertyRead(this, t);
859
+ }
860
+ };
861
+ var Re = class extends S {
862
+
863
+
864
+ constructor(e, t, s, r) {
865
+ super(e, t), this.receiver = s, this.key = r;
866
+ }
867
+ visit(e, t = null) {
868
+ return e.visitKeyedRead(this, t);
869
+ }
870
+ };
871
+ var ue = class extends S {
872
+
873
+
874
+ constructor(e, t, s, r) {
875
+ super(e, t), this.receiver = s, this.key = r;
876
+ }
877
+ visit(e, t = null) {
878
+ return e.visitSafeKeyedRead(this, t);
879
+ }
880
+ };
881
+ var De = class extends S {
882
+
883
+
884
+
885
+ constructor(e, t, s, r, i) {
886
+ super(e, t), this.receiver = s, this.key = r, this.value = i;
887
+ }
888
+ visit(e, t = null) {
889
+ return e.visitKeyedWrite(this, t);
890
+ }
891
+ };
892
+ var Be = class extends ae {
893
+
894
+
895
+
896
+ constructor(e, t, s, r, i, a) {
897
+ super(e, t, a), this.exp = s, this.name = r, this.args = i;
898
+ }
899
+ visit(e, t = null) {
900
+ return e.visitPipe(this, t);
901
+ }
902
+ };
903
+ var I = class extends S {
904
+
905
+ constructor(e, t, s) {
906
+ super(e, t), this.value = s;
907
+ }
908
+ visit(e, t = null) {
909
+ return e.visitLiteralPrimitive(this, t);
910
+ }
911
+ };
912
+ var Oe = class extends S {
913
+
914
+ constructor(e, t, s) {
915
+ super(e, t), this.expressions = s;
916
+ }
917
+ visit(e, t = null) {
918
+ return e.visitLiteralArray(this, t);
919
+ }
920
+ };
921
+ var Fe = class extends S {
922
+
923
+
924
+ constructor(e, t, s, r) {
925
+ super(e, t), this.keys = s, this.values = r;
926
+ }
927
+ visit(e, t = null) {
928
+ return e.visitLiteralMap(this, t);
929
+ }
930
+ };
931
+ var Vt = class extends S {
932
+
933
+
934
+ constructor(e, t, s, r) {
935
+ super(e, t), this.strings = s, this.expressions = r;
936
+ }
937
+ visit(e, t = null) {
938
+ return e.visitInterpolation(this, t);
939
+ }
940
+ };
941
+ var A = class extends S {
942
+
943
+
944
+
945
+ constructor(e, t, s, r, i) {
946
+ super(e, t), this.operation = s, this.left = r, this.right = i;
947
+ }
948
+ visit(e, t = null) {
949
+ return e.visitBinary(this, t);
950
+ }
951
+ };
952
+ var X = (_class4 = class n19 extends A {
953
+
954
+
955
+ __init2() {this.left = null}
956
+ __init3() {this.right = null}
957
+ __init4() {this.operation = null}
958
+ static createMinus(e, t, s) {
959
+ return new n19(e, t, "-", s, "-", new I(e, t, 0), s);
960
+ }
961
+ static createPlus(e, t, s) {
962
+ return new n19(e, t, "+", s, "-", s, new I(e, t, 0));
963
+ }
964
+ constructor(e, t, s, r, i, a, l) {
965
+ super(e, t, i, a, l);_class4.prototype.__init2.call(this);_class4.prototype.__init3.call(this);_class4.prototype.__init4.call(this);, this.operator = s, this.expr = r;
966
+ }
967
+ visit(e, t = null) {
968
+ return e.visitUnary !== void 0 ? e.visitUnary(this, t) : e.visitBinary(this, t);
969
+ }
970
+ }, _class4);
971
+ var Q = class extends S {
972
+
973
+ constructor(e, t, s) {
974
+ super(e, t), this.expression = s;
975
+ }
976
+ visit(e, t = null) {
977
+ return e.visitPrefixNot(this, t);
978
+ }
979
+ };
980
+ var K = class extends S {
981
+
982
+ constructor(e, t, s) {
983
+ super(e, t), this.expression = s;
984
+ }
985
+ visit(e, t = null) {
986
+ return e.visitTypeofExpression(this, t);
987
+ }
988
+ };
989
+ var Z = class extends S {
990
+
991
+ constructor(e, t, s) {
992
+ super(e, t), this.expression = s;
993
+ }
994
+ visit(e, t = null) {
995
+ return e.visitVoidExpression(this, t);
996
+ }
997
+ };
998
+ var Ve = class extends S {
999
+
1000
+ constructor(e, t, s) {
1001
+ super(e, t), this.expression = s;
1002
+ }
1003
+ visit(e, t = null) {
1004
+ return e.visitNonNullAssert(this, t);
1005
+ }
1006
+ };
1007
+ var Ue = class extends S {
1008
+
1009
+
1010
+
1011
+ constructor(e, t, s, r, i) {
1012
+ super(e, t), this.receiver = s, this.args = r, this.argumentSpan = i;
1013
+ }
1014
+ visit(e, t = null) {
1015
+ return e.visitCall(this, t);
1016
+ }
1017
+ };
1018
+ var pe = class extends S {
1019
+
1020
+
1021
+
1022
+ constructor(e, t, s, r, i) {
1023
+ super(e, t), this.receiver = s, this.args = r, this.argumentSpan = i;
1024
+ }
1025
+ visit(e, t = null) {
1026
+ return e.visitSafeCall(this, t);
1027
+ }
1028
+ };
1029
+ var he = class extends S {
1030
+
1031
+
1032
+ constructor(e, t, s, r) {
1033
+ super(e, t), this.tag = s, this.template = r;
1034
+ }
1035
+ visit(e, t) {
1036
+ return e.visitTaggedTemplateLiteral(this, t);
1037
+ }
1038
+ };
1039
+ var fe = class extends S {
1040
+
1041
+
1042
+ constructor(e, t, s, r) {
1043
+ super(e, t), this.elements = s, this.expressions = r;
1044
+ }
1045
+ visit(e, t) {
1046
+ return e.visitTemplateLiteral(this, t);
1047
+ }
1048
+ };
1049
+ var de = class extends S {
1050
+
1051
+ constructor(e, t, s) {
1052
+ super(e, t), this.text = s;
1053
+ }
1054
+ visit(e, t) {
1055
+ return e.visitTemplateLiteralElement(this, t);
1056
+ }
1057
+ };
1058
+ var He = class extends S {
1059
+
1060
+ constructor(e, t, s) {
1061
+ super(e, t), this.expression = s;
1062
+ }
1063
+ visit(e, t) {
1064
+ return e.visitParenthesizedExpression(this, t);
1065
+ }
1066
+ };
1067
+ var O = class {
1068
+
1069
+
1070
+ constructor(e, t) {
1071
+ this.start = e, this.end = t;
1072
+ }
1073
+ };
1074
+ var W = class extends S {
1075
+
1076
+
1077
+
1078
+
1079
+ constructor(e, t, s, r, i) {
1080
+ super(new J(0, t === null ? 0 : t.length), new O(r, t === null ? r : r + t.length)), this.ast = e, this.source = t, this.location = s, this.errors = i;
1081
+ }
1082
+ visit(e, t = null) {
1083
+ return e.visitASTWithSource ? e.visitASTWithSource(this, t) : this.ast.visit(e, t);
1084
+ }
1085
+ toString() {
1086
+ return `${this.source} in ${this.location}`;
1087
+ }
1088
+ };
1089
+ var me = class {
1090
+
1091
+
1092
+
1093
+ constructor(e, t, s) {
1094
+ this.sourceSpan = e, this.key = t, this.value = s;
1095
+ }
1096
+ };
1097
+ var We = class {
1098
+
1099
+
1100
+
1101
+ constructor(e, t, s) {
1102
+ this.sourceSpan = e, this.key = t, this.value = s;
1103
+ }
1104
+ };
1105
+ var Pt = class {
1106
+ visit(e, t) {
1107
+ e.visit(this, t);
1108
+ }
1109
+ visitUnary(e, t) {
1110
+ this.visit(e.expr, t);
1111
+ }
1112
+ visitBinary(e, t) {
1113
+ this.visit(e.left, t), this.visit(e.right, t);
1114
+ }
1115
+ visitChain(e, t) {
1116
+ this.visitAll(e.expressions, t);
1117
+ }
1118
+ visitConditional(e, t) {
1119
+ this.visit(e.condition, t), this.visit(e.trueExp, t), this.visit(e.falseExp, t);
1120
+ }
1121
+ visitPipe(e, t) {
1122
+ this.visit(e.exp, t), this.visitAll(e.args, t);
1123
+ }
1124
+ visitImplicitReceiver(e, t) {
1125
+ }
1126
+ visitThisReceiver(e, t) {
1127
+ }
1128
+ visitInterpolation(e, t) {
1129
+ this.visitAll(e.expressions, t);
1130
+ }
1131
+ visitKeyedRead(e, t) {
1132
+ this.visit(e.receiver, t), this.visit(e.key, t);
1133
+ }
1134
+ visitKeyedWrite(e, t) {
1135
+ this.visit(e.receiver, t), this.visit(e.key, t), this.visit(e.value, t);
1136
+ }
1137
+ visitLiteralArray(e, t) {
1138
+ this.visitAll(e.expressions, t);
1139
+ }
1140
+ visitLiteralMap(e, t) {
1141
+ this.visitAll(e.values, t);
1142
+ }
1143
+ visitLiteralPrimitive(e, t) {
1144
+ }
1145
+ visitPrefixNot(e, t) {
1146
+ this.visit(e.expression, t);
1147
+ }
1148
+ visitTypeofExpression(e, t) {
1149
+ this.visit(e.expression, t);
1150
+ }
1151
+ visitVoidExpression(e, t) {
1152
+ this.visit(e.expression, t);
1153
+ }
1154
+ visitNonNullAssert(e, t) {
1155
+ this.visit(e.expression, t);
1156
+ }
1157
+ visitPropertyRead(e, t) {
1158
+ this.visit(e.receiver, t);
1159
+ }
1160
+ visitPropertyWrite(e, t) {
1161
+ this.visit(e.receiver, t), this.visit(e.value, t);
1162
+ }
1163
+ visitSafePropertyRead(e, t) {
1164
+ this.visit(e.receiver, t);
1165
+ }
1166
+ visitSafeKeyedRead(e, t) {
1167
+ this.visit(e.receiver, t), this.visit(e.key, t);
1168
+ }
1169
+ visitCall(e, t) {
1170
+ this.visit(e.receiver, t), this.visitAll(e.args, t);
1171
+ }
1172
+ visitSafeCall(e, t) {
1173
+ this.visit(e.receiver, t), this.visitAll(e.args, t);
1174
+ }
1175
+ visitTemplateLiteral(e, t) {
1176
+ for (let s = 0; s < e.elements.length; s++) {
1177
+ this.visit(e.elements[s], t);
1178
+ let r = s < e.expressions.length ? e.expressions[s] : null;
1179
+ r !== null && this.visit(r, t);
1180
+ }
1181
+ }
1182
+ visitTemplateLiteralElement(e, t) {
1183
+ }
1184
+ visitTaggedTemplateLiteral(e, t) {
1185
+ this.visit(e.tag, t), this.visit(e.template, t);
1186
+ }
1187
+ visitParenthesizedExpression(e, t) {
1188
+ this.visit(e.expression, t);
1189
+ }
1190
+ visitAll(e, t) {
1191
+ for (let s of e) this.visit(s, t);
1192
+ }
1193
+ };
1194
+ var vn;
1195
+ (function(n25) {
1196
+ n25[n25.DEFAULT = 0] = "DEFAULT", n25[n25.LITERAL_ATTR = 1] = "LITERAL_ATTR", n25[n25.ANIMATION = 2] = "ANIMATION", n25[n25.TWO_WAY = 3] = "TWO_WAY";
1197
+ })(vn || (vn = {}));
1198
+ var wn;
1199
+ (function(n25) {
1200
+ n25[n25.Regular = 0] = "Regular", n25[n25.Animation = 1] = "Animation", n25[n25.TwoWay = 2] = "TwoWay";
1201
+ })(wn || (wn = {}));
1202
+ var U;
1203
+ (function(n25) {
1204
+ n25[n25.Property = 0] = "Property", n25[n25.Attribute = 1] = "Attribute", n25[n25.Class = 2] = "Class", n25[n25.Style = 3] = "Style", n25[n25.Animation = 4] = "Animation", n25[n25.TwoWay = 5] = "TwoWay";
1205
+ })(U || (U = {}));
1206
+ var xn;
1207
+ (function(n25) {
1208
+ n25[n25.RAW_TEXT = 0] = "RAW_TEXT", n25[n25.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", n25[n25.PARSABLE_DATA = 2] = "PARSABLE_DATA";
1209
+ })(xn || (xn = {}));
1210
+ var Js = [/@/, /^\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\/\//];
1211
+ function Ys(n25, e) {
1212
+ if (e != null && !(Array.isArray(e) && e.length == 2)) throw new Error(`Expected '${n25}' to be an array, [start, end].`);
1213
+ if (e != null) {
1214
+ let t = e[0], s = e[1];
1215
+ Js.forEach((r) => {
1216
+ if (r.test(t) || r.test(s)) throw new Error(`['${t}', '${s}'] contains unusable interpolation symbol.`);
1217
+ });
1218
+ }
1219
+ }
1220
+ var Lt = class n20 {
1221
+
1222
+
1223
+ static fromArray(e) {
1224
+ return e ? (Ys("interpolation", e), new n20(e[0], e[1])) : ne;
1225
+ }
1226
+ constructor(e, t) {
1227
+ this.start = e, this.end = t;
1228
+ }
1229
+ };
1230
+ var ne = new Lt("{{", "}}");
1231
+ var Qe = 0;
1232
+ var Kn = 9;
1233
+ var Qs = 10;
1234
+ var Ks = 11;
1235
+ var Zs = 12;
1236
+ var er = 13;
1237
+ var Zn = 32;
1238
+ var tr = 33;
1239
+ var es = 34;
1240
+ var nr = 35;
1241
+ var Ut = 36;
1242
+ var sr = 37;
1243
+ var Sn = 38;
1244
+ var ts = 39;
1245
+ var tt = 40;
1246
+ var se = 41;
1247
+ var En = 42;
1248
+ var ns = 43;
1249
+ var Ce = 44;
1250
+ var ss = 45;
1251
+ var re = 46;
1252
+ var Mt = 47;
1253
+ var ie = 58;
1254
+ var Te = 59;
1255
+ var rr = 60;
1256
+ var Ke = 61;
1257
+ var ir = 62;
1258
+ var yn = 63;
1259
+ var or = 48;
1260
+ var ar = 57;
1261
+ var rs = 65;
1262
+ var lr = 69;
1263
+ var is = 90;
1264
+ var nt = 91;
1265
+ var _n = 92;
1266
+ var ke = 93;
1267
+ var cr = 94;
1268
+ var Ht = 95;
1269
+ var os = 97;
1270
+ var ur = 101;
1271
+ var pr = 102;
1272
+ var hr = 110;
1273
+ var fr = 114;
1274
+ var dr = 116;
1275
+ var mr = 117;
1276
+ var gr = 118;
1277
+ var as = 122;
1278
+ var ot = 123;
1279
+ var Cn = 124;
1280
+ var be = 125;
1281
+ var ls = 160;
1282
+ var $t = 96;
1283
+ function vr(n25) {
1284
+ return n25 >= Kn && n25 <= Zn || n25 == ls;
1285
+ }
1286
+ function z(n25) {
1287
+ return or <= n25 && n25 <= ar;
1288
+ }
1289
+ function wr(n25) {
1290
+ return n25 >= os && n25 <= as || n25 >= rs && n25 <= is;
1291
+ }
1292
+ function Tn(n25) {
1293
+ return n25 === ts || n25 === es || n25 === $t;
1294
+ }
1295
+ var kn;
1296
+ (function(n25) {
1297
+ n25[n25.WARNING = 0] = "WARNING", n25[n25.ERROR = 1] = "ERROR";
1298
+ })(kn || (kn = {}));
1299
+ var bn;
1300
+ (function(n25) {
1301
+ n25[n25.Inline = 0] = "Inline", n25[n25.SideEffect = 1] = "SideEffect", n25[n25.Omit = 2] = "Omit";
1302
+ })(bn || (bn = {}));
1303
+ var In;
1304
+ (function(n25) {
1305
+ n25[n25.Global = 0] = "Global", n25[n25.Local = 1] = "Local";
1306
+ })(In || (In = {}));
1307
+ var Nn;
1308
+ (function(n25) {
1309
+ n25[n25.Directive = 0] = "Directive", n25[n25.Pipe = 1] = "Pipe", n25[n25.NgModule = 2] = "NgModule";
1310
+ })(Nn || (Nn = {}));
1311
+ var xr = "(:(where|is)\\()?";
1312
+ var cs = "-shadowcsshost";
1313
+ var Sr = "-shadowcsscontext";
1314
+ var us = "(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))";
1315
+ var ri = new RegExp(cs + us + "?([^,{]*)", "gim");
1316
+ var ps = Sr + us + "?([^{]*)";
1317
+ var ii = new RegExp(`${xr}(${ps})`, "gim");
1318
+ var oi = new RegExp(ps, "im");
1319
+ var Er = cs + "-no-combinator";
1320
+ var ai = new RegExp(`${Er}(?![^(]*\\))`, "g");
1321
+ var hs = "%COMMENT%";
1322
+ var li = new RegExp(hs, "g");
1323
+ var ci = new RegExp(`(\\s*(?:${hs}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`, "g");
1324
+ var yr = "%COMMA_IN_PLACEHOLDER%";
1325
+ var _r = "%SEMI_IN_PLACEHOLDER%";
1326
+ var Cr = "%COLON_IN_PLACEHOLDER%";
1327
+ var ui = new RegExp(yr, "g");
1328
+ var pi = new RegExp(_r, "g");
1329
+ var hi = new RegExp(Cr, "g");
1330
+ var d;
1331
+ (function(n25) {
1332
+ n25[n25.ListEnd = 0] = "ListEnd", n25[n25.Statement = 1] = "Statement", n25[n25.Variable = 2] = "Variable", n25[n25.ElementStart = 3] = "ElementStart", n25[n25.Element = 4] = "Element", n25[n25.Template = 5] = "Template", n25[n25.ElementEnd = 6] = "ElementEnd", n25[n25.ContainerStart = 7] = "ContainerStart", n25[n25.Container = 8] = "Container", n25[n25.ContainerEnd = 9] = "ContainerEnd", n25[n25.DisableBindings = 10] = "DisableBindings", n25[n25.ConditionalCreate = 11] = "ConditionalCreate", n25[n25.ConditionalBranchCreate = 12] = "ConditionalBranchCreate", n25[n25.Conditional = 13] = "Conditional", n25[n25.EnableBindings = 14] = "EnableBindings", n25[n25.Text = 15] = "Text", n25[n25.Listener = 16] = "Listener", n25[n25.InterpolateText = 17] = "InterpolateText", n25[n25.Binding = 18] = "Binding", n25[n25.Property = 19] = "Property", n25[n25.StyleProp = 20] = "StyleProp", n25[n25.ClassProp = 21] = "ClassProp", n25[n25.StyleMap = 22] = "StyleMap", n25[n25.ClassMap = 23] = "ClassMap", n25[n25.Advance = 24] = "Advance", n25[n25.Pipe = 25] = "Pipe", n25[n25.Attribute = 26] = "Attribute", n25[n25.ExtractedAttribute = 27] = "ExtractedAttribute", n25[n25.Defer = 28] = "Defer", n25[n25.DeferOn = 29] = "DeferOn", n25[n25.DeferWhen = 30] = "DeferWhen", n25[n25.I18nMessage = 31] = "I18nMessage", n25[n25.DomProperty = 32] = "DomProperty", n25[n25.Namespace = 33] = "Namespace", n25[n25.ProjectionDef = 34] = "ProjectionDef", n25[n25.Projection = 35] = "Projection", n25[n25.RepeaterCreate = 36] = "RepeaterCreate", n25[n25.Repeater = 37] = "Repeater", n25[n25.TwoWayProperty = 38] = "TwoWayProperty", n25[n25.TwoWayListener = 39] = "TwoWayListener", n25[n25.DeclareLet = 40] = "DeclareLet", n25[n25.StoreLet = 41] = "StoreLet", n25[n25.I18nStart = 42] = "I18nStart", n25[n25.I18n = 43] = "I18n", n25[n25.I18nEnd = 44] = "I18nEnd", n25[n25.I18nExpression = 45] = "I18nExpression", n25[n25.I18nApply = 46] = "I18nApply", n25[n25.IcuStart = 47] = "IcuStart", n25[n25.IcuEnd = 48] = "IcuEnd", n25[n25.IcuPlaceholder = 49] = "IcuPlaceholder", n25[n25.I18nContext = 50] = "I18nContext", n25[n25.I18nAttributes = 51] = "I18nAttributes", n25[n25.SourceLocation = 52] = "SourceLocation";
1333
+ })(d || (d = {}));
1334
+ var ge;
1335
+ (function(n25) {
1336
+ n25[n25.LexicalRead = 0] = "LexicalRead", n25[n25.Context = 1] = "Context", n25[n25.TrackContext = 2] = "TrackContext", n25[n25.ReadVariable = 3] = "ReadVariable", n25[n25.NextContext = 4] = "NextContext", n25[n25.Reference = 5] = "Reference", n25[n25.StoreLet = 6] = "StoreLet", n25[n25.ContextLetReference = 7] = "ContextLetReference", n25[n25.GetCurrentView = 8] = "GetCurrentView", n25[n25.RestoreView = 9] = "RestoreView", n25[n25.ResetView = 10] = "ResetView", n25[n25.PureFunctionExpr = 11] = "PureFunctionExpr", n25[n25.PureFunctionParameterExpr = 12] = "PureFunctionParameterExpr", n25[n25.PipeBinding = 13] = "PipeBinding", n25[n25.PipeBindingVariadic = 14] = "PipeBindingVariadic", n25[n25.SafePropertyRead = 15] = "SafePropertyRead", n25[n25.SafeKeyedRead = 16] = "SafeKeyedRead", n25[n25.SafeInvokeFunction = 17] = "SafeInvokeFunction", n25[n25.SafeTernaryExpr = 18] = "SafeTernaryExpr", n25[n25.EmptyExpr = 19] = "EmptyExpr", n25[n25.AssignTemporaryExpr = 20] = "AssignTemporaryExpr", n25[n25.ReadTemporaryExpr = 21] = "ReadTemporaryExpr", n25[n25.SlotLiteralExpr = 22] = "SlotLiteralExpr", n25[n25.ConditionalCase = 23] = "ConditionalCase", n25[n25.ConstCollected = 24] = "ConstCollected", n25[n25.TwoWayBindingSet = 25] = "TwoWayBindingSet";
1337
+ })(ge || (ge = {}));
1338
+ var An;
1339
+ (function(n25) {
1340
+ n25[n25.None = 0] = "None", n25[n25.AlwaysInline = 1] = "AlwaysInline";
1341
+ })(An || (An = {}));
1342
+ var Pn;
1343
+ (function(n25) {
1344
+ n25[n25.Context = 0] = "Context", n25[n25.Identifier = 1] = "Identifier", n25[n25.SavedView = 2] = "SavedView", n25[n25.Alias = 3] = "Alias";
1345
+ })(Pn || (Pn = {}));
1346
+ var Ln;
1347
+ (function(n25) {
1348
+ n25[n25.Normal = 0] = "Normal", n25[n25.TemplateDefinitionBuilder = 1] = "TemplateDefinitionBuilder";
1349
+ })(Ln || (Ln = {}));
1350
+ var H;
1351
+ (function(n25) {
1352
+ n25[n25.Attribute = 0] = "Attribute", n25[n25.ClassName = 1] = "ClassName", n25[n25.StyleProperty = 2] = "StyleProperty", n25[n25.Property = 3] = "Property", n25[n25.Template = 4] = "Template", n25[n25.I18n = 5] = "I18n", n25[n25.Animation = 6] = "Animation", n25[n25.TwoWayProperty = 7] = "TwoWayProperty";
1353
+ })(H || (H = {}));
1354
+ var Mn;
1355
+ (function(n25) {
1356
+ n25[n25.Creation = 0] = "Creation", n25[n25.Postproccessing = 1] = "Postproccessing";
1357
+ })(Mn || (Mn = {}));
1358
+ var $n;
1359
+ (function(n25) {
1360
+ n25[n25.I18nText = 0] = "I18nText", n25[n25.I18nAttribute = 1] = "I18nAttribute";
1361
+ })($n || ($n = {}));
1362
+ var Rn;
1363
+ (function(n25) {
1364
+ n25[n25.None = 0] = "None", n25[n25.ElementTag = 1] = "ElementTag", n25[n25.TemplateTag = 2] = "TemplateTag", n25[n25.OpenTag = 4] = "OpenTag", n25[n25.CloseTag = 8] = "CloseTag", n25[n25.ExpressionIndex = 16] = "ExpressionIndex";
1365
+ })(Rn || (Rn = {}));
1366
+ var Dn;
1367
+ (function(n25) {
1368
+ n25[n25.HTML = 0] = "HTML", n25[n25.SVG = 1] = "SVG", n25[n25.Math = 2] = "Math";
1369
+ })(Dn || (Dn = {}));
1370
+ var Bn;
1371
+ (function(n25) {
1372
+ n25[n25.Idle = 0] = "Idle", n25[n25.Immediate = 1] = "Immediate", n25[n25.Timer = 2] = "Timer", n25[n25.Hover = 3] = "Hover", n25[n25.Interaction = 4] = "Interaction", n25[n25.Viewport = 5] = "Viewport", n25[n25.Never = 6] = "Never";
1373
+ })(Bn || (Bn = {}));
1374
+ var On;
1375
+ (function(n25) {
1376
+ n25[n25.RootI18n = 0] = "RootI18n", n25[n25.Icu = 1] = "Icu", n25[n25.Attr = 2] = "Attr";
1377
+ })(On || (On = {}));
1378
+ var Fn;
1379
+ (function(n25) {
1380
+ n25[n25.NgTemplate = 0] = "NgTemplate", n25[n25.Structural = 1] = "Structural", n25[n25.Block = 2] = "Block";
1381
+ })(Fn || (Fn = {}));
1382
+ var Tr = Symbol("ConsumesSlot");
1383
+ var fs = Symbol("DependsOnSlotContext");
1384
+ var je = Symbol("ConsumesVars");
1385
+ var Wt = Symbol("UsesVarOffset");
1386
+ var fi = { [Tr]: true, numSlotsUsed: 1 };
1387
+ var di = { [fs]: true };
1388
+ var mi = { [je]: true };
1389
+ var at = class {
1390
+
1391
+
1392
+
1393
+ constructor(e, t, s) {
1394
+ 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}`);
1395
+ }
1396
+ };
1397
+ var ve = class extends b {
1398
+ constructor(e = null) {
1399
+ super(null, e);
1400
+ }
1401
+ };
1402
+ var Vn = (_class5 = class n21 extends ve {
1403
+
1404
+
1405
+
1406
+ __init5() {this.kind = ge.StoreLet}
1407
+ __init6() {this[je] = true}
1408
+ __init7() {this[fs] = true}
1409
+ constructor(e, t, s) {
1410
+ super();_class5.prototype.__init5.call(this);_class5.prototype.__init6.call(this);_class5.prototype.__init7.call(this);, this.target = e, this.value = t, this.sourceSpan = s;
1411
+ }
1412
+ visitExpression() {
1413
+ }
1414
+ isEquivalent(e) {
1415
+ return e instanceof n21 && e.target === this.target && e.value.isEquivalent(this.value);
1416
+ }
1417
+ isConstant() {
1418
+ return false;
1419
+ }
1420
+ transformInternalExpressions(e, t) {
1421
+ this.value = (this.value, void 0);
1422
+ }
1423
+ clone() {
1424
+ return new n21(this.target, this.value, this.sourceSpan);
1425
+ }
1426
+ }, _class5);
1427
+ var Un = (_class6 = class n22 extends ve {
1428
+ __init8() {this.kind = ge.PureFunctionExpr}
1429
+ __init9() {this[je] = true}
1430
+ __init10() {this[Wt] = true}
1431
+ __init11() {this.varOffset = null}
1432
+
1433
+
1434
+ __init12() {this.fn = null}
1435
+ constructor(e, t) {
1436
+ super();_class6.prototype.__init8.call(this);_class6.prototype.__init9.call(this);_class6.prototype.__init10.call(this);_class6.prototype.__init11.call(this);_class6.prototype.__init12.call(this);, this.body = e, this.args = t;
1437
+ }
1438
+ visitExpression(e, t) {
1439
+ var s;
1440
+ (s = this.body) == null || s.visitExpression(e, t);
1441
+ for (let r of this.args) r.visitExpression(e, t);
1442
+ }
1443
+ isEquivalent(e) {
1444
+ return !(e instanceof n22) || e.args.length !== this.args.length ? false : e.body !== null && this.body !== null && e.body.isEquivalent(this.body) && e.args.every((t, s) => t.isEquivalent(this.args[s]));
1445
+ }
1446
+ isConstant() {
1447
+ return false;
1448
+ }
1449
+ transformInternalExpressions(e, t) {
1450
+ this.body !== null ? this.body = (this.body, t | Rt.InChildOperation, void 0) : this.fn !== null && (this.fn = (this.fn, void 0));
1451
+ for (let s = 0; s < this.args.length; s++) this.args[s] = (this.args[s], void 0);
1452
+ }
1453
+ clone() {
1454
+ var t, s;
1455
+ let e = new n22(_nullishCoalesce(((t = this.body) == null ? void 0 : t.clone()), () => ( null)), this.args.map((r) => r.clone()));
1456
+ return e.fn = _nullishCoalesce(((s = this.fn) == null ? void 0 : s.clone()), () => ( null)), e.varOffset = this.varOffset, e;
1457
+ }
1458
+ }, _class6);
1459
+ var Hn = (_class7 = class n23 extends ve {
1460
+
1461
+
1462
+
1463
+
1464
+ __init13() {this.kind = ge.PipeBinding}
1465
+ __init14() {this[je] = true}
1466
+ __init15() {this[Wt] = true}
1467
+ __init16() {this.varOffset = null}
1468
+ constructor(e, t, s, r) {
1469
+ super();_class7.prototype.__init13.call(this);_class7.prototype.__init14.call(this);_class7.prototype.__init15.call(this);_class7.prototype.__init16.call(this);, this.target = e, this.targetSlot = t, this.name = s, this.args = r;
1470
+ }
1471
+ visitExpression(e, t) {
1472
+ for (let s of this.args) s.visitExpression(e, t);
1473
+ }
1474
+ isEquivalent() {
1475
+ return false;
1476
+ }
1477
+ isConstant() {
1478
+ return false;
1479
+ }
1480
+ transformInternalExpressions(e, t) {
1481
+ for (let s = 0; s < this.args.length; s++) this.args[s] = (this.args[s], void 0);
1482
+ }
1483
+ clone() {
1484
+ let e = new n23(this.target, this.targetSlot, this.name, this.args.map((t) => t.clone()));
1485
+ return e.varOffset = this.varOffset, e;
1486
+ }
1487
+ }, _class7);
1488
+ var Wn = (_class8 = class n24 extends ve {
1489
+
1490
+
1491
+
1492
+
1493
+
1494
+ __init17() {this.kind = ge.PipeBindingVariadic}
1495
+ __init18() {this[je] = true}
1496
+ __init19() {this[Wt] = true}
1497
+ __init20() {this.varOffset = null}
1498
+ constructor(e, t, s, r, i) {
1499
+ super();_class8.prototype.__init17.call(this);_class8.prototype.__init18.call(this);_class8.prototype.__init19.call(this);_class8.prototype.__init20.call(this);, this.target = e, this.targetSlot = t, this.name = s, this.args = r, this.numArgs = i;
1500
+ }
1501
+ visitExpression(e, t) {
1502
+ this.args.visitExpression(e, t);
1503
+ }
1504
+ isEquivalent() {
1505
+ return false;
1506
+ }
1507
+ isConstant() {
1508
+ return false;
1509
+ }
1510
+ transformInternalExpressions(e, t) {
1511
+ this.args = (this.args, void 0);
1512
+ }
1513
+ clone() {
1514
+ let e = new n24(this.target, this.targetSlot, this.name, this.args.clone(), this.numArgs);
1515
+ return e.varOffset = this.varOffset, e;
1516
+ }
1517
+ }, _class8);
1518
+ var Rt;
1519
+ (function(n25) {
1520
+ n25[n25.None = 0] = "None", n25[n25.InChildOperation = 1] = "InChildOperation";
1521
+ })(Rt || (Rt = {}));
1522
+ var gi = /* @__PURE__ */ new Set([d.Element, d.ElementStart, d.Container, d.ContainerStart, d.Template, d.RepeaterCreate, d.ConditionalCreate, d.ConditionalBranchCreate]);
1523
+ var qn;
1524
+ (function(n25) {
1525
+ n25[n25.Tmpl = 0] = "Tmpl", n25[n25.Host = 1] = "Host", n25[n25.Both = 2] = "Both";
1526
+ })(qn || (qn = {}));
1527
+ var vi = /* @__PURE__ */ new Map([[p.attribute, p.attribute], [p.classProp, p.classProp], [p.element, p.element], [p.elementContainer, p.elementContainer], [p.elementContainerEnd, p.elementContainerEnd], [p.elementContainerStart, p.elementContainerStart], [p.elementEnd, p.elementEnd], [p.elementStart, p.elementStart], [p.domProperty, p.domProperty], [p.i18nExp, p.i18nExp], [p.listener, p.listener], [p.listener, p.listener], [p.property, p.property], [p.styleProp, p.styleProp], [p.syntheticHostListener, p.syntheticHostListener], [p.syntheticHostProperty, p.syntheticHostProperty], [p.templateCreate, p.templateCreate], [p.twoWayProperty, p.twoWayProperty], [p.twoWayListener, p.twoWayListener], [p.declareLet, p.declareLet], [p.conditionalCreate, p.conditionalBranchCreate], [p.conditionalBranchCreate, p.conditionalBranchCreate]]);
1528
+ var wi = Object.freeze([]);
1529
+ var xi = /* @__PURE__ */ new Map([[d.ElementEnd, [d.ElementStart, d.Element]], [d.ContainerEnd, [d.ContainerStart, d.Container]], [d.I18nEnd, [d.I18nStart, d.I18n]]]);
1530
+ var Si = /* @__PURE__ */ new Set([d.Pipe]);
1531
+ var kr = {};
1532
+ var br = "\uE500";
1533
+ kr.ngsp = br;
1534
+ var jn;
1535
+ (function(n25) {
1536
+ n25.HEX = "hexadecimal", n25.DEC = "decimal";
1537
+ })(jn || (jn = {}));
1538
+ var ds = ` \f
1539
+ \r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`;
1540
+ var Ei = new RegExp(`[^${ds}]`);
1541
+ var yi = new RegExp(`[${ds}]{2,}`, "g");
1542
+ var m;
1543
+ (function(n25) {
1544
+ n25[n25.Character = 0] = "Character", n25[n25.Identifier = 1] = "Identifier", n25[n25.PrivateIdentifier = 2] = "PrivateIdentifier", n25[n25.Keyword = 3] = "Keyword", n25[n25.String = 4] = "String", n25[n25.Operator = 5] = "Operator", n25[n25.Number = 6] = "Number", n25[n25.Error = 7] = "Error";
1545
+ })(m || (m = {}));
1546
+ var q;
1547
+ (function(n25) {
1548
+ n25[n25.Plain = 0] = "Plain", n25[n25.TemplateLiteralPart = 1] = "TemplateLiteralPart", n25[n25.TemplateLiteralEnd = 2] = "TemplateLiteralEnd";
1549
+ })(q || (q = {}));
1550
+ var Ir = ["var", "let", "as", "null", "undefined", "true", "false", "if", "else", "this", "typeof", "void", "in"];
1551
+ var qe = class {
1552
+ tokenize(e) {
1553
+ return new Dt(e).scan();
1554
+ }
1555
+ };
1556
+ var M = class {
1557
+
1558
+
1559
+
1560
+
1561
+
1562
+ constructor(e, t, s, r, i) {
1563
+ this.index = e, this.end = t, this.type = s, this.numValue = r, this.strValue = i;
1564
+ }
1565
+ isCharacter(e) {
1566
+ return this.type === m.Character && this.numValue === e;
1567
+ }
1568
+ isNumber() {
1569
+ return this.type === m.Number;
1570
+ }
1571
+ isString() {
1572
+ return this.type === m.String;
1573
+ }
1574
+ isOperator(e) {
1575
+ return this.type === m.Operator && this.strValue === e;
1576
+ }
1577
+ isIdentifier() {
1578
+ return this.type === m.Identifier;
1579
+ }
1580
+ isPrivateIdentifier() {
1581
+ return this.type === m.PrivateIdentifier;
1582
+ }
1583
+ isKeyword() {
1584
+ return this.type === m.Keyword;
1585
+ }
1586
+ isKeywordLet() {
1587
+ return this.type === m.Keyword && this.strValue === "let";
1588
+ }
1589
+ isKeywordAs() {
1590
+ return this.type === m.Keyword && this.strValue === "as";
1591
+ }
1592
+ isKeywordNull() {
1593
+ return this.type === m.Keyword && this.strValue === "null";
1594
+ }
1595
+ isKeywordUndefined() {
1596
+ return this.type === m.Keyword && this.strValue === "undefined";
1597
+ }
1598
+ isKeywordTrue() {
1599
+ return this.type === m.Keyword && this.strValue === "true";
1600
+ }
1601
+ isKeywordFalse() {
1602
+ return this.type === m.Keyword && this.strValue === "false";
1603
+ }
1604
+ isKeywordThis() {
1605
+ return this.type === m.Keyword && this.strValue === "this";
1606
+ }
1607
+ isKeywordTypeof() {
1608
+ return this.type === m.Keyword && this.strValue === "typeof";
1609
+ }
1610
+ isKeywordVoid() {
1611
+ return this.type === m.Keyword && this.strValue === "void";
1612
+ }
1613
+ isKeywordIn() {
1614
+ return this.type === m.Keyword && this.strValue === "in";
1615
+ }
1616
+ isError() {
1617
+ return this.type === m.Error;
1618
+ }
1619
+ toNumber() {
1620
+ return this.type === m.Number ? this.numValue : -1;
1621
+ }
1622
+ isTemplateLiteralPart() {
1623
+ return this.isString() && this.kind === q.TemplateLiteralPart;
1624
+ }
1625
+ isTemplateLiteralEnd() {
1626
+ return this.isString() && this.kind === q.TemplateLiteralEnd;
1627
+ }
1628
+ isTemplateLiteralInterpolationStart() {
1629
+ return this.isOperator("${");
1630
+ }
1631
+ isTemplateLiteralInterpolationEnd() {
1632
+ return this.isOperator("}");
1633
+ }
1634
+ toString() {
1635
+ switch (this.type) {
1636
+ case m.Character:
1637
+ case m.Identifier:
1638
+ case m.Keyword:
1639
+ case m.Operator:
1640
+ case m.PrivateIdentifier:
1641
+ case m.String:
1642
+ case m.Error:
1643
+ return this.strValue;
1644
+ case m.Number:
1645
+ return this.numValue.toString();
1646
+ default:
1647
+ return null;
1648
+ }
1649
+ }
1650
+ };
1651
+ var Ie = class extends M {
1652
+
1653
+ constructor(e, t, s, r) {
1654
+ super(e, t, m.String, 0, s), this.kind = r;
1655
+ }
1656
+ };
1657
+ function Ze(n25, e, t) {
1658
+ return new M(n25, e, m.Character, t, String.fromCharCode(t));
1659
+ }
1660
+ function Nr(n25, e, t) {
1661
+ return new M(n25, e, m.Identifier, 0, t);
1662
+ }
1663
+ function Ar(n25, e, t) {
1664
+ return new M(n25, e, m.PrivateIdentifier, 0, t);
1665
+ }
1666
+ function Pr(n25, e, t) {
1667
+ return new M(n25, e, m.Keyword, 0, t);
1668
+ }
1669
+ function _e(n25, e, t) {
1670
+ return new M(n25, e, m.Operator, 0, t);
1671
+ }
1672
+ function Lr(n25, e, t) {
1673
+ return new M(n25, e, m.Number, t, "");
1674
+ }
1675
+ function Mr(n25, e, t) {
1676
+ return new M(n25, e, m.Error, 0, t);
1677
+ }
1678
+ var et = new M(-1, -1, m.Character, 0, "");
1679
+ var Dt = (_class9 = class {
1680
+
1681
+ __init21() {this.tokens = []}
1682
+
1683
+ __init22() {this.peek = 0}
1684
+ __init23() {this.index = -1}
1685
+ __init24() {this.braceStack = []}
1686
+ constructor(e) {;_class9.prototype.__init21.call(this);_class9.prototype.__init22.call(this);_class9.prototype.__init23.call(this);_class9.prototype.__init24.call(this);
1687
+ this.input = e, this.length = e.length, this.advance();
1688
+ }
1689
+ scan() {
1690
+ let e = this.scanToken();
1691
+ for (; e !== null; ) this.tokens.push(e), e = this.scanToken();
1692
+ return this.tokens;
1693
+ }
1694
+ advance() {
1695
+ this.peek = ++this.index >= this.length ? Qe : this.input.charCodeAt(this.index);
1696
+ }
1697
+ scanToken() {
1698
+ let e = this.input, t = this.length, s = this.peek, r = this.index;
1699
+ for (; s <= Zn; ) if (++r >= t) {
1700
+ s = Qe;
1701
+ break;
1702
+ } else s = e.charCodeAt(r);
1703
+ if (this.peek = s, this.index = r, r >= t) return null;
1704
+ if (zn(s)) return this.scanIdentifier();
1705
+ if (z(s)) return this.scanNumber(r);
1706
+ let i = r;
1707
+ switch (s) {
1708
+ case re:
1709
+ return this.advance(), z(this.peek) ? this.scanNumber(i) : Ze(i, this.index, re);
1710
+ case tt:
1711
+ case se:
1712
+ case nt:
1713
+ case ke:
1714
+ case Ce:
1715
+ case ie:
1716
+ case Te:
1717
+ return this.scanCharacter(i, s);
1718
+ case ot:
1719
+ return this.scanOpenBrace(i, s);
1720
+ case be:
1721
+ return this.scanCloseBrace(i, s);
1722
+ case ts:
1723
+ case es:
1724
+ return this.scanString();
1725
+ case $t:
1726
+ return this.advance(), this.scanTemplateLiteralPart(i);
1727
+ case nr:
1728
+ return this.scanPrivateIdentifier();
1729
+ case ns:
1730
+ case ss:
1731
+ case Mt:
1732
+ case sr:
1733
+ case cr:
1734
+ return this.scanOperator(i, String.fromCharCode(s));
1735
+ case En:
1736
+ return this.scanComplexOperator(i, "*", En, "*");
1737
+ case yn:
1738
+ return this.scanQuestion(i);
1739
+ case rr:
1740
+ case ir:
1741
+ return this.scanComplexOperator(i, String.fromCharCode(s), Ke, "=");
1742
+ case tr:
1743
+ case Ke:
1744
+ return this.scanComplexOperator(i, String.fromCharCode(s), Ke, "=", Ke, "=");
1745
+ case Sn:
1746
+ return this.scanComplexOperator(i, "&", Sn, "&");
1747
+ case Cn:
1748
+ return this.scanComplexOperator(i, "|", Cn, "|");
1749
+ case ls:
1750
+ for (; vr(this.peek); ) this.advance();
1751
+ return this.scanToken();
1752
+ }
1753
+ return this.advance(), this.error(`Unexpected character [${String.fromCharCode(s)}]`, 0);
1754
+ }
1755
+ scanCharacter(e, t) {
1756
+ return this.advance(), Ze(e, this.index, t);
1757
+ }
1758
+ scanOperator(e, t) {
1759
+ return this.advance(), _e(e, this.index, t);
1760
+ }
1761
+ scanOpenBrace(e, t) {
1762
+ return this.braceStack.push("expression"), this.advance(), Ze(e, this.index, t);
1763
+ }
1764
+ scanCloseBrace(e, t) {
1765
+ return this.advance(), this.braceStack.pop() === "interpolation" ? (this.tokens.push(_e(e, this.index, "}")), this.scanTemplateLiteralPart(this.index)) : Ze(e, this.index, t);
1766
+ }
1767
+ scanComplexOperator(e, t, s, r, i, a) {
1768
+ this.advance();
1769
+ let l = t;
1770
+ return this.peek == s && (this.advance(), l += r), i != null && this.peek == i && (this.advance(), l += a), _e(e, this.index, l);
1771
+ }
1772
+ scanIdentifier() {
1773
+ let e = this.index;
1774
+ for (this.advance(); Gn(this.peek); ) this.advance();
1775
+ let t = this.input.substring(e, this.index);
1776
+ return Ir.indexOf(t) > -1 ? Pr(e, this.index, t) : Nr(e, this.index, t);
1777
+ }
1778
+ scanPrivateIdentifier() {
1779
+ let e = this.index;
1780
+ if (this.advance(), !zn(this.peek)) return this.error("Invalid character [#]", -1);
1781
+ for (; Gn(this.peek); ) this.advance();
1782
+ let t = this.input.substring(e, this.index);
1783
+ return Ar(e, this.index, t);
1784
+ }
1785
+ scanNumber(e) {
1786
+ let t = this.index === e, s = false;
1787
+ for (this.advance(); ; ) {
1788
+ if (!z(this.peek)) if (this.peek === Ht) {
1789
+ if (!z(this.input.charCodeAt(this.index - 1)) || !z(this.input.charCodeAt(this.index + 1))) return this.error("Invalid numeric separator", 0);
1790
+ s = true;
1791
+ } else if (this.peek === re) t = false;
1792
+ else if ($r(this.peek)) {
1793
+ if (this.advance(), Rr(this.peek) && this.advance(), !z(this.peek)) return this.error("Invalid exponent", -1);
1794
+ t = false;
1795
+ } else break;
1796
+ this.advance();
1797
+ }
1798
+ let r = this.input.substring(e, this.index);
1799
+ s && (r = r.replace(/_/g, ""));
1800
+ let i = t ? Br(r) : parseFloat(r);
1801
+ return Lr(e, this.index, i);
1802
+ }
1803
+ scanString() {
1804
+ let e = this.index, t = this.peek;
1805
+ this.advance();
1806
+ let s = "", r = this.index, i = this.input;
1807
+ for (; this.peek != t; ) if (this.peek == _n) {
1808
+ let l = this.scanStringBackslash(s, r);
1809
+ if (typeof l != "string") return l;
1810
+ s = l, r = this.index;
1811
+ } else {
1812
+ if (this.peek == Qe) return this.error("Unterminated quote", 0);
1813
+ this.advance();
1814
+ }
1815
+ let a = i.substring(r, this.index);
1816
+ return this.advance(), new Ie(e, this.index, s + a, q.Plain);
1817
+ }
1818
+ scanQuestion(e) {
1819
+ this.advance();
1820
+ let t = "?";
1821
+ return (this.peek === yn || this.peek === re) && (t += this.peek === re ? "." : "?", this.advance()), _e(e, this.index, t);
1822
+ }
1823
+ scanTemplateLiteralPart(e) {
1824
+ let t = "", s = this.index;
1825
+ for (; this.peek !== $t; ) if (this.peek === _n) {
1826
+ let i = this.scanStringBackslash(t, s);
1827
+ if (typeof i != "string") return i;
1828
+ t = i, s = this.index;
1829
+ } else if (this.peek === Ut) {
1830
+ let i = this.index;
1831
+ if (this.advance(), this.peek === ot) return this.braceStack.push("interpolation"), this.tokens.push(new Ie(e, i, t + this.input.substring(s, i), q.TemplateLiteralPart)), this.advance(), _e(i, this.index, this.input.substring(i, this.index));
1832
+ } else {
1833
+ if (this.peek === Qe) return this.error("Unterminated template literal", 0);
1834
+ this.advance();
1835
+ }
1836
+ let r = this.input.substring(s, this.index);
1837
+ return this.advance(), new Ie(e, this.index, t + r, q.TemplateLiteralEnd);
1838
+ }
1839
+ error(e, t) {
1840
+ let s = this.index + t;
1841
+ return Mr(s, this.index, `Lexer Error: ${e} at column ${s} in expression [${this.input}]`);
1842
+ }
1843
+ scanStringBackslash(e, t) {
1844
+ e += this.input.substring(t, this.index);
1845
+ let s;
1846
+ if (this.advance(), this.peek === mr) {
1847
+ let r = this.input.substring(this.index + 1, this.index + 5);
1848
+ if (/^[0-9a-f]+$/i.test(r)) s = parseInt(r, 16);
1849
+ else return this.error(`Invalid unicode escape [\\u${r}]`, 0);
1850
+ for (let i = 0; i < 5; i++) this.advance();
1851
+ } else s = Dr(this.peek), this.advance();
1852
+ return e += String.fromCharCode(s), e;
1853
+ }
1854
+ }, _class9);
1855
+ function zn(n25) {
1856
+ return os <= n25 && n25 <= as || rs <= n25 && n25 <= is || n25 == Ht || n25 == Ut;
1857
+ }
1858
+ function Gn(n25) {
1859
+ return wr(n25) || z(n25) || n25 == Ht || n25 == Ut;
1860
+ }
1861
+ function $r(n25) {
1862
+ return n25 == ur || n25 == lr;
1863
+ }
1864
+ function Rr(n25) {
1865
+ return n25 == ss || n25 == ns;
1866
+ }
1867
+ function Dr(n25) {
1868
+ switch (n25) {
1869
+ case hr:
1870
+ return Qs;
1871
+ case pr:
1872
+ return Zs;
1873
+ case fr:
1874
+ return er;
1875
+ case dr:
1876
+ return Kn;
1877
+ case gr:
1878
+ return Ks;
1879
+ default:
1880
+ return n25;
1881
+ }
1882
+ }
1883
+ function Br(n25) {
1884
+ let e = parseInt(n25);
1885
+ if (isNaN(e)) throw new Error("Invalid integer literal when parsing " + n25);
1886
+ return e;
1887
+ }
1888
+ var Bt = class {
1889
+
1890
+
1891
+
1892
+ constructor(e, t, s) {
1893
+ this.strings = e, this.expressions = t, this.offsets = s;
1894
+ }
1895
+ };
1896
+ var Ot = class {
1897
+
1898
+
1899
+
1900
+ constructor(e, t, s) {
1901
+ this.templateBindings = e, this.warnings = t, this.errors = s;
1902
+ }
1903
+ };
1904
+ var we = (_class10 = class {
1905
+
1906
+ __init25() {this.errors = []}
1907
+ constructor(e) {;_class10.prototype.__init25.call(this);
1908
+ this._lexer = e;
1909
+ }
1910
+ parseAction(e, t, s, r = ne) {
1911
+ this._checkNoInterpolation(e, t, r);
1912
+ let i = this._stripComments(e), a = this._lexer.tokenize(i), l = new G(e, t, s, a, 1, this.errors, 0).parseChain();
1913
+ return new W(l, e, t, s, this.errors);
1914
+ }
1915
+ parseBinding(e, t, s, r = ne) {
1916
+ let i = this._parseBindingAst(e, t, s, r);
1917
+ return new W(i, e, t, s, this.errors);
1918
+ }
1919
+ checkSimpleExpression(e) {
1920
+ let t = new Ft();
1921
+ return e.visit(t), t.errors;
1922
+ }
1923
+ parseSimpleBinding(e, t, s, r = ne) {
1924
+ let i = this._parseBindingAst(e, t, s, r), a = this.checkSimpleExpression(i);
1925
+ return a.length > 0 && this._reportError(`Host binding expression cannot contain ${a.join(" ")}`, e, t), new W(i, e, t, s, this.errors);
1926
+ }
1927
+ _reportError(e, t, s, r) {
1928
+ this.errors.push(new Pe(e, t, s, r));
1929
+ }
1930
+ _parseBindingAst(e, t, s, r) {
1931
+ this._checkNoInterpolation(e, t, r);
1932
+ let i = this._stripComments(e), a = this._lexer.tokenize(i);
1933
+ return new G(e, t, s, a, 0, this.errors, 0).parseChain();
1934
+ }
1935
+ parseTemplateBindings(e, t, s, r, i) {
1936
+ let a = this._lexer.tokenize(t);
1937
+ return new G(t, s, i, a, 0, this.errors, 0).parseTemplateBindings({ source: e, span: new O(r, r + e.length) });
1938
+ }
1939
+ parseInterpolation(e, t, s, r, i = ne) {
1940
+ let { strings: a, expressions: l, offsets: h } = this.splitInterpolation(e, t, r, i);
1941
+ if (l.length === 0) return null;
1942
+ let f = [];
1943
+ for (let v = 0; v < l.length; ++v) {
1944
+ let E = l[v].text, y = this._stripComments(E), T = this._lexer.tokenize(y), k = new G(e, t, s, T, 0, this.errors, h[v]).parseChain();
1945
+ f.push(k);
1946
+ }
1947
+ return this.createInterpolationAst(a.map((v) => v.text), f, e, t, s);
1948
+ }
1949
+ parseInterpolationExpression(e, t, s) {
1950
+ let r = this._stripComments(e), i = this._lexer.tokenize(r), a = new G(e, t, s, i, 0, this.errors, 0).parseChain(), l = ["", ""];
1951
+ return this.createInterpolationAst(l, [a], e, t, s);
1952
+ }
1953
+ createInterpolationAst(e, t, s, r, i) {
1954
+ let a = new J(0, s.length), l = new Vt(a, a.toAbsolute(i), e, t);
1955
+ return new W(l, s, r, i, this.errors);
1956
+ }
1957
+ splitInterpolation(e, t, s, r = ne) {
1958
+ let i = [], a = [], l = [], h = s ? Or(s) : null, f = 0, v = false, E = false, { start: y, end: T } = r;
1959
+ for (; f < e.length; ) if (v) {
1960
+ let k = f, F = k + y.length, Ee = this._getInterpolationEndIndex(e, T, F);
1961
+ if (Ee === -1) {
1962
+ v = false, E = true;
1963
+ break;
1964
+ }
1965
+ let ye = Ee + T.length, j = e.substring(F, Ee);
1966
+ j.trim().length === 0 && this._reportError("Blank expressions are not allowed in interpolated strings", e, `at column ${f} in`, t), a.push({ text: j, start: k, end: ye });
1967
+ let Ws = (_nullishCoalesce((h == null ? void 0 : h.get(k)), () => ( k))) + y.length;
1968
+ l.push(Ws), f = ye, v = false;
1969
+ } else {
1970
+ let k = f;
1971
+ f = e.indexOf(y, f), f === -1 && (f = e.length);
1972
+ let F = e.substring(k, f);
1973
+ i.push({ text: F, start: k, end: f }), v = true;
1974
+ }
1975
+ if (!v) if (E) {
1976
+ let k = i[i.length - 1];
1977
+ k.text += e.substring(f), k.end = e.length;
1978
+ } else i.push({ text: e.substring(f), start: f, end: e.length });
1979
+ return new Bt(i, a, l);
1980
+ }
1981
+ wrapLiteralPrimitive(e, t, s) {
1982
+ let r = new J(0, e == null ? 0 : e.length);
1983
+ return new W(new I(r, r.toAbsolute(s), e), e, t, s, this.errors);
1984
+ }
1985
+ _stripComments(e) {
1986
+ let t = this._commentStart(e);
1987
+ return t != null ? e.substring(0, t) : e;
1988
+ }
1989
+ _commentStart(e) {
1990
+ let t = null;
1991
+ for (let s = 0; s < e.length - 1; s++) {
1992
+ let r = e.charCodeAt(s), i = e.charCodeAt(s + 1);
1993
+ if (r === Mt && i == Mt && t == null) return s;
1994
+ t === r ? t = null : t == null && Tn(r) && (t = r);
1995
+ }
1996
+ return null;
1997
+ }
1998
+ _checkNoInterpolation(e, t, { start: s, end: r }) {
1999
+ let i = -1, a = -1;
2000
+ for (let l of this._forEachUnquotedChar(e, 0)) if (i === -1) e.startsWith(s) && (i = l);
2001
+ else if (a = this._getInterpolationEndIndex(e, r, l), a > -1) break;
2002
+ i > -1 && a > -1 && this._reportError(`Got interpolation (${s}${r}) where expression was expected`, e, `at column ${i} in`, t);
2003
+ }
2004
+ _getInterpolationEndIndex(e, t, s) {
2005
+ for (let r of this._forEachUnquotedChar(e, s)) {
2006
+ if (e.startsWith(t, r)) return r;
2007
+ if (e.startsWith("//", r)) return e.indexOf(t, r);
2008
+ }
2009
+ return -1;
2010
+ }
2011
+ *_forEachUnquotedChar(e, t) {
2012
+ let s = null, r = 0;
2013
+ for (let i = t; i < e.length; i++) {
2014
+ let a = e[i];
2015
+ Tn(e.charCodeAt(i)) && (s === null || s === a) && r % 2 === 0 ? s = s === null ? a : null : s === null && (yield i), r = a === "\\" ? r + 1 : 0;
2016
+ }
2017
+ }
2018
+ }, _class10);
2019
+ var oe;
2020
+ (function(n25) {
2021
+ n25[n25.None = 0] = "None", n25[n25.Writable = 1] = "Writable";
2022
+ })(oe || (oe = {}));
2023
+ var G = (_class11 = class {
2024
+
2025
+
2026
+
2027
+
2028
+
2029
+
2030
+
2031
+ __init26() {this.rparensExpected = 0}
2032
+ __init27() {this.rbracketsExpected = 0}
2033
+ __init28() {this.rbracesExpected = 0}
2034
+ __init29() {this.context = oe.None}
2035
+ __init30() {this.sourceSpanCache = /* @__PURE__ */ new Map()}
2036
+ __init31() {this.index = 0}
2037
+ constructor(e, t, s, r, i, a, l) {;_class11.prototype.__init26.call(this);_class11.prototype.__init27.call(this);_class11.prototype.__init28.call(this);_class11.prototype.__init29.call(this);_class11.prototype.__init30.call(this);_class11.prototype.__init31.call(this);
2038
+ this.input = e, this.location = t, this.absoluteOffset = s, this.tokens = r, this.parseFlags = i, this.errors = a, this.offset = l;
2039
+ }
2040
+ peek(e) {
2041
+ let t = this.index + e;
2042
+ return t < this.tokens.length ? this.tokens[t] : et;
2043
+ }
2044
+ get next() {
2045
+ return this.peek(0);
2046
+ }
2047
+ get atEOF() {
2048
+ return this.index >= this.tokens.length;
2049
+ }
2050
+ get inputIndex() {
2051
+ return this.atEOF ? this.currentEndIndex : this.next.index + this.offset;
2052
+ }
2053
+ get currentEndIndex() {
2054
+ return this.index > 0 ? this.peek(-1).end + this.offset : this.tokens.length === 0 ? this.input.length + this.offset : this.next.index + this.offset;
2055
+ }
2056
+ get currentAbsoluteOffset() {
2057
+ return this.absoluteOffset + this.inputIndex;
2058
+ }
2059
+ span(e, t) {
2060
+ let s = this.currentEndIndex;
2061
+ if (t !== void 0 && t > this.currentEndIndex && (s = t), e > s) {
2062
+ let r = s;
2063
+ s = e, e = r;
2064
+ }
2065
+ return new J(e, s);
2066
+ }
2067
+ sourceSpan(e, t) {
2068
+ let s = `${e}@${this.inputIndex}:${t}`;
2069
+ return this.sourceSpanCache.has(s) || this.sourceSpanCache.set(s, this.span(e, t).toAbsolute(this.absoluteOffset)), this.sourceSpanCache.get(s);
2070
+ }
2071
+ advance() {
2072
+ this.index++;
2073
+ }
2074
+ withContext(e, t) {
2075
+ this.context |= e;
2076
+ let s = t();
2077
+ return this.context ^= e, s;
2078
+ }
2079
+ consumeOptionalCharacter(e) {
2080
+ return this.next.isCharacter(e) ? (this.advance(), true) : false;
2081
+ }
2082
+ peekKeywordLet() {
2083
+ return this.next.isKeywordLet();
2084
+ }
2085
+ peekKeywordAs() {
2086
+ return this.next.isKeywordAs();
2087
+ }
2088
+ expectCharacter(e) {
2089
+ this.consumeOptionalCharacter(e) || this.error(`Missing expected ${String.fromCharCode(e)}`);
2090
+ }
2091
+ consumeOptionalOperator(e) {
2092
+ return this.next.isOperator(e) ? (this.advance(), true) : false;
2093
+ }
2094
+ expectOperator(e) {
2095
+ this.consumeOptionalOperator(e) || this.error(`Missing expected operator ${e}`);
2096
+ }
2097
+ prettyPrintToken(e) {
2098
+ return e === et ? "end of input" : `token ${e}`;
2099
+ }
2100
+ expectIdentifierOrKeyword() {
2101
+ let e = this.next;
2102
+ 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());
2103
+ }
2104
+ expectIdentifierOrKeywordOrString() {
2105
+ let e = this.next;
2106
+ 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());
2107
+ }
2108
+ parseChain() {
2109
+ let e = [], t = this.inputIndex;
2110
+ for (; this.index < this.tokens.length; ) {
2111
+ let s = this.parsePipe();
2112
+ if (e.push(s), this.consumeOptionalCharacter(Te)) for (this.parseFlags & 1 || this.error("Binding expression cannot contain chained expression"); this.consumeOptionalCharacter(Te); ) ;
2113
+ else if (this.index < this.tokens.length) {
2114
+ let r = this.index;
2115
+ if (this.error(`Unexpected token '${this.next}'`), this.index === r) break;
2116
+ }
2117
+ }
2118
+ if (e.length === 0) {
2119
+ let s = this.offset, r = this.offset + this.input.length;
2120
+ return new P(this.span(s, r), this.sourceSpan(s, r));
2121
+ }
2122
+ return e.length == 1 ? e[0] : new Le(this.span(t), this.sourceSpan(t), e);
2123
+ }
2124
+ parsePipe() {
2125
+ let e = this.inputIndex, t = this.parseExpression();
2126
+ if (this.consumeOptionalOperator("|")) {
2127
+ this.parseFlags & 1 && this.error("Cannot have a pipe in an action expression");
2128
+ do {
2129
+ let s = this.inputIndex, r = this.expectIdentifierOrKeyword(), i, a;
2130
+ r !== null ? i = this.sourceSpan(s) : (r = "", a = this.next.index !== -1 ? this.next.index : this.input.length + this.offset, i = new J(a, a).toAbsolute(this.absoluteOffset));
2131
+ let l = [];
2132
+ for (; this.consumeOptionalCharacter(ie); ) l.push(this.parseExpression());
2133
+ t = new Be(this.span(e), this.sourceSpan(e, a), t, r, l, i);
2134
+ } while (this.consumeOptionalOperator("|"));
2135
+ }
2136
+ return t;
2137
+ }
2138
+ parseExpression() {
2139
+ return this.parseConditional();
2140
+ }
2141
+ parseConditional() {
2142
+ let e = this.inputIndex, t = this.parseLogicalOr();
2143
+ if (this.consumeOptionalOperator("?")) {
2144
+ let s = this.parsePipe(), r;
2145
+ if (this.consumeOptionalCharacter(ie)) r = this.parsePipe();
2146
+ else {
2147
+ let i = this.inputIndex, a = this.input.substring(e, i);
2148
+ this.error(`Conditional expression ${a} requires all 3 expressions`), r = new P(this.span(e), this.sourceSpan(e));
2149
+ }
2150
+ return new Me(this.span(e), this.sourceSpan(e), t, s, r);
2151
+ } else return t;
2152
+ }
2153
+ parseLogicalOr() {
2154
+ let e = this.inputIndex, t = this.parseLogicalAnd();
2155
+ for (; this.consumeOptionalOperator("||"); ) {
2156
+ let s = this.parseLogicalAnd();
2157
+ t = new A(this.span(e), this.sourceSpan(e), "||", t, s);
2158
+ }
2159
+ return t;
2160
+ }
2161
+ parseLogicalAnd() {
2162
+ let e = this.inputIndex, t = this.parseNullishCoalescing();
2163
+ for (; this.consumeOptionalOperator("&&"); ) {
2164
+ let s = this.parseNullishCoalescing();
2165
+ t = new A(this.span(e), this.sourceSpan(e), "&&", t, s);
2166
+ }
2167
+ return t;
2168
+ }
2169
+ parseNullishCoalescing() {
2170
+ let e = this.inputIndex, t = this.parseEquality();
2171
+ for (; this.consumeOptionalOperator("??"); ) {
2172
+ let s = this.parseEquality();
2173
+ t = new A(this.span(e), this.sourceSpan(e), "??", t, s);
2174
+ }
2175
+ return t;
2176
+ }
2177
+ parseEquality() {
2178
+ let e = this.inputIndex, t = this.parseRelational();
2179
+ for (; this.next.type == m.Operator; ) {
2180
+ let s = this.next.strValue;
2181
+ switch (s) {
2182
+ case "==":
2183
+ case "===":
2184
+ case "!=":
2185
+ case "!==":
2186
+ this.advance();
2187
+ let r = this.parseRelational();
2188
+ t = new A(this.span(e), this.sourceSpan(e), s, t, r);
2189
+ continue;
2190
+ }
2191
+ break;
2192
+ }
2193
+ return t;
2194
+ }
2195
+ parseRelational() {
2196
+ let e = this.inputIndex, t = this.parseAdditive();
2197
+ for (; this.next.type == m.Operator || this.next.isKeywordIn; ) {
2198
+ let s = this.next.strValue;
2199
+ switch (s) {
2200
+ case "<":
2201
+ case ">":
2202
+ case "<=":
2203
+ case ">=":
2204
+ case "in":
2205
+ this.advance();
2206
+ let r = this.parseAdditive();
2207
+ t = new A(this.span(e), this.sourceSpan(e), s, t, r);
2208
+ continue;
2209
+ }
2210
+ break;
2211
+ }
2212
+ return t;
2213
+ }
2214
+ parseAdditive() {
2215
+ let e = this.inputIndex, t = this.parseMultiplicative();
2216
+ for (; this.next.type == m.Operator; ) {
2217
+ let s = this.next.strValue;
2218
+ switch (s) {
2219
+ case "+":
2220
+ case "-":
2221
+ this.advance();
2222
+ let r = this.parseMultiplicative();
2223
+ t = new A(this.span(e), this.sourceSpan(e), s, t, r);
2224
+ continue;
2225
+ }
2226
+ break;
2227
+ }
2228
+ return t;
2229
+ }
2230
+ parseMultiplicative() {
2231
+ let e = this.inputIndex, t = this.parseExponentiation();
2232
+ for (; this.next.type == m.Operator; ) {
2233
+ let s = this.next.strValue;
2234
+ switch (s) {
2235
+ case "*":
2236
+ case "%":
2237
+ case "/":
2238
+ this.advance();
2239
+ let r = this.parseExponentiation();
2240
+ t = new A(this.span(e), this.sourceSpan(e), s, t, r);
2241
+ continue;
2242
+ }
2243
+ break;
2244
+ }
2245
+ return t;
2246
+ }
2247
+ parseExponentiation() {
2248
+ let e = this.inputIndex, t = this.parsePrefix();
2249
+ for (; this.next.type == m.Operator && this.next.strValue === "**"; ) {
2250
+ (t instanceof X || t instanceof Q || t instanceof K || t instanceof Z) && this.error("Unary operator used immediately before exponentiation expression. Parenthesis must be used to disambiguate operator precedence"), this.advance();
2251
+ let s = this.parseExponentiation();
2252
+ t = new A(this.span(e), this.sourceSpan(e), "**", t, s);
2253
+ }
2254
+ return t;
2255
+ }
2256
+ parsePrefix() {
2257
+ if (this.next.type == m.Operator) {
2258
+ let e = this.inputIndex, t = this.next.strValue, s;
2259
+ switch (t) {
2260
+ case "+":
2261
+ return this.advance(), s = this.parsePrefix(), X.createPlus(this.span(e), this.sourceSpan(e), s);
2262
+ case "-":
2263
+ return this.advance(), s = this.parsePrefix(), X.createMinus(this.span(e), this.sourceSpan(e), s);
2264
+ case "!":
2265
+ return this.advance(), s = this.parsePrefix(), new Q(this.span(e), this.sourceSpan(e), s);
2266
+ }
2267
+ } else if (this.next.isKeywordTypeof()) {
2268
+ this.advance();
2269
+ let e = this.inputIndex, t = this.parsePrefix();
2270
+ return new K(this.span(e), this.sourceSpan(e), t);
2271
+ } else if (this.next.isKeywordVoid()) {
2272
+ this.advance();
2273
+ let e = this.inputIndex, t = this.parsePrefix();
2274
+ return new Z(this.span(e), this.sourceSpan(e), t);
2275
+ }
2276
+ return this.parseCallChain();
2277
+ }
2278
+ parseCallChain() {
2279
+ let e = this.inputIndex, t = this.parsePrimary();
2280
+ for (; ; ) if (this.consumeOptionalCharacter(re)) t = this.parseAccessMember(t, e, false);
2281
+ else if (this.consumeOptionalOperator("?.")) this.consumeOptionalCharacter(tt) ? t = this.parseCall(t, e, true) : t = this.consumeOptionalCharacter(nt) ? this.parseKeyedReadOrWrite(t, e, true) : this.parseAccessMember(t, e, true);
2282
+ else if (this.consumeOptionalCharacter(nt)) t = this.parseKeyedReadOrWrite(t, e, false);
2283
+ else if (this.consumeOptionalCharacter(tt)) t = this.parseCall(t, e, false);
2284
+ else if (this.consumeOptionalOperator("!")) t = new Ve(this.span(e), this.sourceSpan(e), t);
2285
+ else if (this.next.isTemplateLiteralEnd()) t = this.parseNoInterpolationTaggedTemplateLiteral(t, e);
2286
+ else if (this.next.isTemplateLiteralPart()) t = this.parseTaggedTemplateLiteral(t, e);
2287
+ else return t;
2288
+ }
2289
+ parsePrimary() {
2290
+ let e = this.inputIndex;
2291
+ if (this.consumeOptionalCharacter(tt)) {
2292
+ this.rparensExpected++;
2293
+ let t = this.parsePipe();
2294
+ return this.consumeOptionalCharacter(se) || (this.error("Missing closing parentheses"), this.consumeOptionalCharacter(se)), this.rparensExpected--, new He(this.span(e), this.sourceSpan(e), t);
2295
+ } else {
2296
+ if (this.next.isKeywordNull()) return this.advance(), new I(this.span(e), this.sourceSpan(e), null);
2297
+ if (this.next.isKeywordUndefined()) return this.advance(), new I(this.span(e), this.sourceSpan(e), void 0);
2298
+ if (this.next.isKeywordTrue()) return this.advance(), new I(this.span(e), this.sourceSpan(e), true);
2299
+ if (this.next.isKeywordFalse()) return this.advance(), new I(this.span(e), this.sourceSpan(e), false);
2300
+ if (this.next.isKeywordIn()) return this.advance(), new I(this.span(e), this.sourceSpan(e), "in");
2301
+ if (this.next.isKeywordThis()) return this.advance(), new At(this.span(e), this.sourceSpan(e));
2302
+ if (this.consumeOptionalCharacter(nt)) {
2303
+ this.rbracketsExpected++;
2304
+ let t = this.parseExpressionList(ke);
2305
+ return this.rbracketsExpected--, this.expectCharacter(ke), new Oe(this.span(e), this.sourceSpan(e), t);
2306
+ } else {
2307
+ if (this.next.isCharacter(ot)) return this.parseLiteralMap();
2308
+ if (this.next.isIdentifier()) return this.parseAccessMember(new Y(this.span(e), this.sourceSpan(e)), e, false);
2309
+ if (this.next.isNumber()) {
2310
+ let t = this.next.toNumber();
2311
+ return this.advance(), new I(this.span(e), this.sourceSpan(e), t);
2312
+ } else {
2313
+ if (this.next.isTemplateLiteralEnd()) return this.parseNoInterpolationTemplateLiteral();
2314
+ if (this.next.isTemplateLiteralPart()) return this.parseTemplateLiteral();
2315
+ if (this.next.isString() && this.next.kind === q.Plain) {
2316
+ let t = this.next.toString();
2317
+ return this.advance(), new I(this.span(e), this.sourceSpan(e), t);
2318
+ } else return this.next.isPrivateIdentifier() ? (this._reportErrorForPrivateIdentifier(this.next, null), new P(this.span(e), this.sourceSpan(e))) : this.index >= this.tokens.length ? (this.error(`Unexpected end of expression: ${this.input}`), new P(this.span(e), this.sourceSpan(e))) : (this.error(`Unexpected token ${this.next}`), new P(this.span(e), this.sourceSpan(e)));
2319
+ }
2320
+ }
2321
+ }
2322
+ }
2323
+ parseExpressionList(e) {
2324
+ let t = [];
2325
+ do
2326
+ if (!this.next.isCharacter(e)) t.push(this.parsePipe());
2327
+ else break;
2328
+ while (this.consumeOptionalCharacter(Ce));
2329
+ return t;
2330
+ }
2331
+ parseLiteralMap() {
2332
+ let e = [], t = [], s = this.inputIndex;
2333
+ if (this.expectCharacter(ot), !this.consumeOptionalCharacter(be)) {
2334
+ this.rbracesExpected++;
2335
+ do {
2336
+ let r = this.inputIndex, i = this.next.isString(), a = this.expectIdentifierOrKeywordOrString(), l = { key: a, quoted: i };
2337
+ if (e.push(l), i) this.expectCharacter(ie), t.push(this.parsePipe());
2338
+ else if (this.consumeOptionalCharacter(ie)) t.push(this.parsePipe());
2339
+ else {
2340
+ l.isShorthandInitialized = true;
2341
+ let h = this.span(r), f = this.sourceSpan(r);
2342
+ t.push(new le(h, f, f, new Y(h, f), a));
2343
+ }
2344
+ } while (this.consumeOptionalCharacter(Ce) && !this.next.isCharacter(be));
2345
+ this.rbracesExpected--, this.expectCharacter(be);
2346
+ }
2347
+ return new Fe(this.span(s), this.sourceSpan(s), e, t);
2348
+ }
2349
+ parseAccessMember(e, t, s) {
2350
+ let r = this.inputIndex, i = this.withContext(oe.Writable, () => {
2351
+ let h = _nullishCoalesce(this.expectIdentifierOrKeyword(), () => ( ""));
2352
+ return h.length === 0 && this.error("Expected identifier for property access", e.span.end), h;
2353
+ }), a = this.sourceSpan(r), l;
2354
+ if (s) this.consumeOptionalOperator("=") ? (this.error("The '?.' operator cannot be used in the assignment"), l = new P(this.span(t), this.sourceSpan(t))) : l = new ce(this.span(t), this.sourceSpan(t), a, e, i);
2355
+ else if (this.consumeOptionalOperator("=")) {
2356
+ if (!(this.parseFlags & 1)) return this.error("Bindings cannot contain assignments"), new P(this.span(t), this.sourceSpan(t));
2357
+ let h = this.parseConditional();
2358
+ l = new $e(this.span(t), this.sourceSpan(t), a, e, i, h);
2359
+ } else l = new le(this.span(t), this.sourceSpan(t), a, e, i);
2360
+ return l;
2361
+ }
2362
+ parseCall(e, t, s) {
2363
+ let r = this.inputIndex;
2364
+ this.rparensExpected++;
2365
+ let i = this.parseCallArguments(), a = this.span(r, this.inputIndex).toAbsolute(this.absoluteOffset);
2366
+ this.expectCharacter(se), this.rparensExpected--;
2367
+ let l = this.span(t), h = this.sourceSpan(t);
2368
+ return s ? new pe(l, h, e, i, a) : new Ue(l, h, e, i, a);
2369
+ }
2370
+ parseCallArguments() {
2371
+ if (this.next.isCharacter(se)) return [];
2372
+ let e = [];
2373
+ do
2374
+ e.push(this.parsePipe());
2375
+ while (this.consumeOptionalCharacter(Ce));
2376
+ return e;
2377
+ }
2378
+ expectTemplateBindingKey() {
2379
+ let e = "", t = false, s = this.currentAbsoluteOffset;
2380
+ do
2381
+ e += this.expectIdentifierOrKeywordOrString(), t = this.consumeOptionalOperator("-"), t && (e += "-");
2382
+ while (t);
2383
+ return { source: e, span: new O(s, s + e.length) };
2384
+ }
2385
+ parseTemplateBindings(e) {
2386
+ let t = [];
2387
+ for (t.push(...this.parseDirectiveKeywordBindings(e)); this.index < this.tokens.length; ) {
2388
+ let s = this.parseLetBinding();
2389
+ if (s) t.push(s);
2390
+ else {
2391
+ let r = this.expectTemplateBindingKey(), i = this.parseAsBinding(r);
2392
+ i ? t.push(i) : (r.source = e.source + r.source.charAt(0).toUpperCase() + r.source.substring(1), t.push(...this.parseDirectiveKeywordBindings(r)));
2393
+ }
2394
+ this.consumeStatementTerminator();
2395
+ }
2396
+ return new Ot(t, [], this.errors);
2397
+ }
2398
+ parseKeyedReadOrWrite(e, t, s) {
2399
+ return this.withContext(oe.Writable, () => {
2400
+ this.rbracketsExpected++;
2401
+ let r = this.parsePipe();
2402
+ if (r instanceof P && this.error("Key access cannot be empty"), this.rbracketsExpected--, this.expectCharacter(ke), this.consumeOptionalOperator("=")) if (s) this.error("The '?.' operator cannot be used in the assignment");
2403
+ else {
2404
+ let i = this.parseConditional();
2405
+ return new De(this.span(t), this.sourceSpan(t), e, r, i);
2406
+ }
2407
+ else return s ? new ue(this.span(t), this.sourceSpan(t), e, r) : new Re(this.span(t), this.sourceSpan(t), e, r);
2408
+ return new P(this.span(t), this.sourceSpan(t));
2409
+ });
2410
+ }
2411
+ parseDirectiveKeywordBindings(e) {
2412
+ let t = [];
2413
+ this.consumeOptionalCharacter(ie);
2414
+ let s = this.getDirectiveBoundTarget(), r = this.currentAbsoluteOffset, i = this.parseAsBinding(e);
2415
+ i || (this.consumeStatementTerminator(), r = this.currentAbsoluteOffset);
2416
+ let a = new O(e.span.start, r);
2417
+ return t.push(new We(a, e, s)), i && t.push(i), t;
2418
+ }
2419
+ getDirectiveBoundTarget() {
2420
+ if (this.next === et || this.peekKeywordAs() || this.peekKeywordLet()) return null;
2421
+ let e = this.parsePipe(), { start: t, end: s } = e.span, r = this.input.substring(t, s);
2422
+ return new W(e, r, this.location, this.absoluteOffset + t, this.errors);
2423
+ }
2424
+ parseAsBinding(e) {
2425
+ if (!this.peekKeywordAs()) return null;
2426
+ this.advance();
2427
+ let t = this.expectTemplateBindingKey();
2428
+ this.consumeStatementTerminator();
2429
+ let s = new O(e.span.start, this.currentAbsoluteOffset);
2430
+ return new me(s, t, e);
2431
+ }
2432
+ parseLetBinding() {
2433
+ if (!this.peekKeywordLet()) return null;
2434
+ let e = this.currentAbsoluteOffset;
2435
+ this.advance();
2436
+ let t = this.expectTemplateBindingKey(), s = null;
2437
+ this.consumeOptionalOperator("=") && (s = this.expectTemplateBindingKey()), this.consumeStatementTerminator();
2438
+ let r = new O(e, this.currentAbsoluteOffset);
2439
+ return new me(r, t, s);
2440
+ }
2441
+ parseNoInterpolationTaggedTemplateLiteral(e, t) {
2442
+ let s = this.parseNoInterpolationTemplateLiteral();
2443
+ return new he(this.span(t), this.sourceSpan(t), e, s);
2444
+ }
2445
+ parseNoInterpolationTemplateLiteral() {
2446
+ let e = this.next.strValue, t = this.inputIndex;
2447
+ this.advance();
2448
+ let s = this.span(t), r = this.sourceSpan(t);
2449
+ return new fe(s, r, [new de(s, r, e)], []);
2450
+ }
2451
+ parseTaggedTemplateLiteral(e, t) {
2452
+ let s = this.parseTemplateLiteral();
2453
+ return new he(this.span(t), this.sourceSpan(t), e, s);
2454
+ }
2455
+ parseTemplateLiteral() {
2456
+ let e = [], t = [], s = this.inputIndex;
2457
+ for (; this.next !== et; ) {
2458
+ let r = this.next;
2459
+ if (r.isTemplateLiteralPart() || r.isTemplateLiteralEnd()) {
2460
+ let i = this.inputIndex;
2461
+ if (this.advance(), e.push(new de(this.span(i), this.sourceSpan(i), r.strValue)), r.isTemplateLiteralEnd()) break;
2462
+ } else if (r.isTemplateLiteralInterpolationStart()) {
2463
+ this.advance();
2464
+ let i = this.parsePipe();
2465
+ i instanceof P ? this.error("Template literal interpolation cannot be empty") : t.push(i);
2466
+ } else this.advance();
2467
+ }
2468
+ return new fe(this.span(s), this.sourceSpan(s), e, t);
2469
+ }
2470
+ consumeStatementTerminator() {
2471
+ this.consumeOptionalCharacter(Te) || this.consumeOptionalCharacter(Ce);
2472
+ }
2473
+ error(e, t = null) {
2474
+ this.errors.push(new Pe(e, this.input, this.locationText(t), this.location)), this.skip();
2475
+ }
2476
+ locationText(e = null) {
2477
+ return e == null && (e = this.index), e < this.tokens.length ? `at column ${this.tokens[e].index + 1} in` : "at the end of the expression";
2478
+ }
2479
+ _reportErrorForPrivateIdentifier(e, t) {
2480
+ let s = `Private identifiers are not supported. Unexpected private identifier: ${e}`;
2481
+ t !== null && (s += `, ${t}`), this.error(s);
2482
+ }
2483
+ skip() {
2484
+ let e = this.next;
2485
+ for (; this.index < this.tokens.length && !e.isCharacter(Te) && !e.isOperator("|") && (this.rparensExpected <= 0 || !e.isCharacter(se)) && (this.rbracesExpected <= 0 || !e.isCharacter(be)) && (this.rbracketsExpected <= 0 || !e.isCharacter(ke)) && (!(this.context & oe.Writable) || !e.isOperator("=")); ) this.next.isError() && this.errors.push(new Pe(this.next.toString(), this.input, this.locationText(), this.location)), this.advance(), e = this.next;
2486
+ }
2487
+ }, _class11);
2488
+ var Ft = (_class12 = class extends Pt {constructor(...args2) { super(...args2); _class12.prototype.__init32.call(this); }
2489
+ __init32() {this.errors = []}
2490
+ visitPipe() {
2491
+ this.errors.push("pipes");
2492
+ }
2493
+ }, _class12);
2494
+ function Or(n25) {
2495
+ let e = /* @__PURE__ */ new Map(), t = 0, s = 0, r = 0;
2496
+ for (; r < n25.length; ) {
2497
+ let i = n25[r];
2498
+ if (i.type === 9) {
2499
+ let [a, l] = i.parts;
2500
+ t += l.length, s += a.length;
2501
+ } else {
2502
+ let a = i.parts.reduce((l, h) => l + h.length, 0);
2503
+ s += a, t += a;
2504
+ }
2505
+ e.set(s, t), r++;
2506
+ }
2507
+ return e;
2508
+ }
2509
+ var Fr = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" }));
2510
+ var _i = Array.from(Fr).reduce((n25, [e, t]) => (n25.set(e, t), n25), /* @__PURE__ */ new Map());
2511
+ var Ci = new we(new qe());
2512
+ function B(n25) {
2513
+ return (e) => e.kind === n25;
2514
+ }
2515
+ function Ne(n25, e) {
2516
+ return (t) => t.kind === n25 && e === t.expression instanceof at;
2517
+ }
2518
+ function Vr(n25) {
2519
+ return (n25.kind === d.Property || n25.kind === d.TwoWayProperty) && !(n25.expression instanceof at);
2520
+ }
2521
+ var Ti = [{ test: B(d.StyleMap), transform: lt }, { test: B(d.ClassMap), transform: lt }, { test: B(d.StyleProp) }, { test: B(d.ClassProp) }, { test: Ne(d.Attribute, true) }, { test: Ne(d.Property, true) }, { test: Vr }, { test: Ne(d.Attribute, false) }];
2522
+ var ki = [{ test: Ne(d.DomProperty, true) }, { test: Ne(d.DomProperty, false) }, { test: B(d.Attribute) }, { test: B(d.StyleMap), transform: lt }, { test: B(d.ClassMap), transform: lt }, { test: B(d.StyleProp) }, { test: B(d.ClassProp) }];
2523
+ var bi = /* @__PURE__ */ new Set([d.Listener, d.TwoWayListener, d.StyleMap, d.ClassMap, d.StyleProp, d.ClassProp, d.Property, d.TwoWayProperty, d.DomProperty, d.Attribute]);
2524
+ function lt(n25) {
2525
+ return n25.slice(n25.length - 1);
2526
+ }
2527
+ var Ii = { constant: [p.interpolate, p.interpolate1, p.interpolate2, p.interpolate3, p.interpolate4, p.interpolate5, p.interpolate6, p.interpolate7, p.interpolate8], variable: p.interpolateV, mapping: (n25) => {
2528
+ if (n25 % 2 === 0) throw new Error("Expected odd number of arguments");
2529
+ return (n25 - 1) / 2;
2530
+ } };
2531
+ var Ni = /* @__PURE__ */ new Map([["window", p.resolveWindow], ["document", p.resolveDocument], ["body", p.resolveBody]]);
2532
+ var Ai = /* @__PURE__ */ new Map([[D.HTML, p.sanitizeHtml], [D.RESOURCE_URL, p.sanitizeResourceUrl], [D.SCRIPT, p.sanitizeScript], [D.STYLE, p.sanitizeStyle], [D.URL, p.sanitizeUrl]]);
2533
+ var Pi = /* @__PURE__ */ new Map([[D.HTML, p.trustConstantHtml], [D.RESOURCE_URL, p.trustConstantResourceUrl]]);
2534
+ var Xn;
2535
+ (function(n25) {
2536
+ n25[n25.None = 0] = "None", n25[n25.ViewContextRead = 1] = "ViewContextRead", n25[n25.ViewContextWrite = 2] = "ViewContextWrite", n25[n25.SideEffectful = 4] = "SideEffectful";
2537
+ })(Xn || (Xn = {}));
2538
+ var Li = /* @__PURE__ */ new Map([[U.Property, H.Property], [U.TwoWay, H.TwoWayProperty], [U.Attribute, H.Attribute], [U.Class, H.ClassName], [U.Style, H.StyleProperty], [U.Animation, H.Animation]]);
2539
+ var Mi = Symbol("queryAdvancePlaceholder");
2540
+ var Jn;
2541
+ (function(n25) {
2542
+ n25[n25.NG_CONTENT = 0] = "NG_CONTENT", n25[n25.STYLE = 1] = "STYLE", n25[n25.STYLESHEET = 2] = "STYLESHEET", n25[n25.SCRIPT = 3] = "SCRIPT", n25[n25.OTHER = 4] = "OTHER";
2543
+ })(Jn || (Jn = {}));
2544
+ var Yn;
2545
+ (function(n25) {
2546
+ n25.IDLE = "idle", n25.TIMER = "timer", n25.INTERACTION = "interaction", n25.IMMEDIATE = "immediate", n25.HOVER = "hover", n25.VIEWPORT = "viewport", n25.NEVER = "never";
2547
+ })(Yn || (Yn = {}));
2548
+ var ms = "%COMP%";
2549
+ var $i = `_nghost-${ms}`;
2550
+ var Ri = `_ngcontent-${ms}`;
2551
+ var Qn;
2552
+ (function(n25) {
2553
+ n25[n25.Extract = 0] = "Extract", n25[n25.Merge = 1] = "Merge";
2554
+ })(Qn || (Qn = {}));
2555
+ var Di = new Nt("20.0.5");
2556
+ function gs({ start: n25, end: e }, t) {
2557
+ let s = n25, r = e;
2558
+ for (; r !== s && /\s/.test(t[r - 1]); ) r--;
2559
+ for (; s !== r && /\s/.test(t[s]); ) s++;
2560
+ return { start: s, end: r };
2561
+ }
2562
+ function Hr({ start: n25, end: e }, t) {
2563
+ let s = n25, r = e;
2564
+ for (; r !== t.length && /\s/.test(t[r]); ) r++;
2565
+ for (; s !== 0 && /\s/.test(t[s - 1]); ) s--;
2566
+ return { start: s, end: r };
2567
+ }
2568
+ function Wr(n25, e) {
2569
+ return e[n25.start - 1] === "(" && e[n25.end] === ")" ? { start: n25.start - 1, end: n25.end + 1 } : n25;
2570
+ }
2571
+ function vs(n25, e, t) {
2572
+ let s = 0, r = { start: n25.start, end: n25.end };
2573
+ for (; ; ) {
2574
+ let i = Hr(r, e), a = Wr(i, e);
2575
+ if (i.start === a.start && i.end === a.end) break;
2576
+ r.start = a.start, r.end = a.end, s++;
2577
+ }
2578
+ return { hasParens: (t ? s - 1 : s) !== 0, outerSpan: gs(t ? { start: r.start + 1, end: r.end - 1 } : r, e), innerSpan: gs(n25, e) };
2579
+ }
2580
+ function ws(n25) {
2581
+ return typeof n25 == "string" ? (e) => e === n25 : (e) => n25.test(e);
2582
+ }
2583
+ function xs(n25, e, t) {
2584
+ let s = ws(e);
2585
+ for (let r = t; r >= 0; r--) {
2586
+ let i = n25[r];
2587
+ if (s(i)) return r;
2588
+ }
2589
+ throw new Error(`Cannot find front char ${e} from index ${t} in ${JSON.stringify(n25)}`);
2590
+ }
2591
+ function Ss(n25, e, t) {
2592
+ let s = ws(e);
2593
+ for (let r = t; r < n25.length; r++) {
2594
+ let i = n25[r];
2595
+ if (s(i)) return r;
2596
+ }
2597
+ throw new Error(`Cannot find character ${e} from index ${t} in ${JSON.stringify(n25)}`);
2598
+ }
2599
+ function Es(n25) {
2600
+ return n25.slice(0, 1).toLowerCase() + n25.slice(1);
2601
+ }
2602
+ function ze(n25) {
2603
+ let { start: e, end: t } = n25;
2604
+ return { start: e, end: t, range: [e, t] };
2605
+ }
2606
+ var qr = (n25) => we.prototype._commentStart(n25);
2607
+ function jr(n25, e) {
2608
+ let t = e ? qr(n25) : null;
2609
+ if (t === null) return { text: n25, comments: [] };
2610
+ let s = { type: "CommentLine", value: n25.slice(t + 2), ...ze({ start: t, end: n25.length }) };
2611
+ return { text: n25.slice(0, t), comments: [s] };
2612
+ }
2613
+ function Ge(n25, e = true) {
2614
+ return (t) => {
2615
+ let s = new qe(), r = new we(s), { text: i, comments: a } = jr(t, e), l = n25(i, r);
2616
+ if (l.errors.length !== 0) {
2617
+ let [{ message: h }] = l.errors;
2618
+ throw new SyntaxError(h.replace(/^Parser Error: | at column \d+ in [^]*$/g, ""));
2619
+ }
2620
+ return { result: l, comments: a, text: i };
2621
+ };
2622
+ }
2623
+ var ys = Ge((n25, e) => e.parseBinding(n25, "", 0));
2624
+ var zr = Ge((n25, e) => e.parseSimpleBinding(n25, "", 0));
2625
+ var _s = Ge((n25, e) => e.parseAction(n25, "", 0));
2626
+ var Cs = Ge((n25, e) => e.parseInterpolationExpression(n25, "", 0));
2627
+ var Ts = Ge((n25, e) => e.parseTemplateBindings("", n25, "", 0, 0), false);
2628
+ var Xr = (n25, e, t) => {
2629
+ if (!(n25 && e == null)) return Array.isArray(e) || typeof e == "string" ? e[t < 0 ? e.length + t : t] : e.at(t);
2630
+ };
2631
+ var ut = Xr;
2632
+ var qt = class {
2633
+
2634
+ constructor(e) {
2635
+ this.text = e;
2636
+ }
2637
+ getCharacterIndex(e, t) {
2638
+ return Ss(this.text, e, t);
2639
+ }
2640
+ getCharacterLastIndex(e, t) {
2641
+ return xs(this.text, e, t);
2642
+ }
2643
+ transformSpan(e, { stripSpaces: t = false, hasParentParens: s = false } = {}) {
2644
+ if (!t) return ze(e);
2645
+ let { outerSpan: r, innerSpan: i, hasParens: a } = vs(e, this.text, s), l = ze(i);
2646
+ return a && (l.extra = { parenthesized: true, parenStart: r.start, parenEnd: r.end }), l;
2647
+ }
2648
+ createNode(e, { stripSpaces: t = true, hasParentParens: s = false } = {}) {
2649
+ let { type: r, start: i, end: a } = e, l = { ...e, ...this.transformSpan({ start: i, end: a }, { stripSpaces: t, hasParentParens: s }) };
2650
+ switch (r) {
2651
+ case "NumericLiteral":
2652
+ case "StringLiteral": {
2653
+ let h = this.text.slice(l.start, l.end), { value: f } = l;
2654
+ l.extra = { ...l.extra, raw: h, rawValue: f };
2655
+ break;
2656
+ }
2657
+ case "ObjectProperty": {
2658
+ let { shorthand: h } = l;
2659
+ h && (l.extra = { ...l.extra, shorthand: h });
2660
+ break;
2661
+ }
2662
+ }
2663
+ return l;
2664
+ }
2665
+ };
2666
+ var ks = qt;
2667
+ function jt(n25) {
2668
+ var e;
2669
+ return !!((e = n25.extra) != null && e.parenthesized);
2670
+ }
2671
+ function $(n25) {
2672
+ return jt(n25) ? n25.extra.parenStart : n25.start;
2673
+ }
2674
+ function R(n25) {
2675
+ return jt(n25) ? n25.extra.parenEnd : n25.end;
2676
+ }
2677
+ function bs(n25) {
2678
+ return (n25.type === "OptionalCallExpression" || n25.type === "OptionalMemberExpression") && !jt(n25);
2679
+ }
2680
+ function Is(n25, e) {
2681
+ let { start: t, end: s } = n25.sourceSpan;
2682
+ return t >= s || /^\s+$/.test(e.slice(t, s));
2683
+ }
2684
+ var Ye;
2685
+ var xe;
2686
+ var u;
2687
+ var w;
2688
+ var Xe;
2689
+ var x;
2690
+ var pt;
2691
+ var Je = class extends ks {
2692
+ constructor(t, s) {
2693
+ super(s);
2694
+ V(this, u);
2695
+ V(this, Ye);
2696
+ V(this, xe);
2697
+ te(this, Ye, t), te(this, xe, s);
2698
+ }
2699
+ get node() {
2700
+ return c(this, u, x).call(this, L(this, Ye));
2701
+ }
2702
+ transformNode(t) {
2703
+ return c(this, u, pt).call(this, t);
2704
+ }
2705
+ };
2706
+ Ye = /* @__PURE__ */ new WeakMap(), xe = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakSet(), w = function(t, { stripSpaces: s = true, hasParentParens: r = false } = {}) {
2707
+ return this.createNode(t, { stripSpaces: s, hasParentParens: r });
2708
+ }, Xe = function(t, s, { computed: r, optional: i, end: a = R(s), hasParentParens: l = false }) {
2709
+ if (Is(t, L(this, xe)) || t.sourceSpan.start === s.start) return s;
2710
+ let h = c(this, u, x).call(this, t), f = bs(h);
2711
+ return c(this, u, w).call(this, { type: i || f ? "OptionalMemberExpression" : "MemberExpression", object: h, property: s, computed: r, ...i ? { optional: true } : f ? { optional: false } : void 0, start: $(h), end: a }, { hasParentParens: l });
2712
+ }, x = function(t, s) {
2713
+ return c(this, u, pt).call(this, t, s);
2714
+ }, pt = function(t, s) {
2715
+ let { isInParentParens: r } = { isInParentParens: false, ...s };
2716
+ if (t instanceof Vt) {
2717
+ let { expressions: i } = t;
2718
+ if (i.length !== 1) throw new Error("Unexpected 'Interpolation'");
2719
+ return c(this, u, x).call(this, i[0]);
2720
+ }
2721
+ if (t instanceof X) return c(this, u, w).call(this, { type: "UnaryExpression", prefix: true, argument: c(this, u, x).call(this, t.expr), operator: t.operator, ...t.sourceSpan }, { hasParentParens: r });
2722
+ if (t instanceof A) {
2723
+ let { left: i, operation: a, right: l } = t, h = c(this, u, x).call(this, i), f = c(this, u, x).call(this, l), v = $(h), E = R(f), y = { left: h, right: f, start: v, end: E };
2724
+ return a === "&&" || a === "||" || a === "??" ? c(this, u, w).call(this, { ...y, type: "LogicalExpression", operator: a }, { hasParentParens: r }) : c(this, u, w).call(this, { ...y, type: "BinaryExpression", operator: a }, { hasParentParens: r });
2725
+ }
2726
+ if (t instanceof Be) {
2727
+ let { exp: i, name: a, args: l } = t, h = c(this, u, x).call(this, i), f = $(h), v = R(h), E = this.getCharacterIndex(/\S/, this.getCharacterIndex("|", v) + 1), y = c(this, u, w).call(this, { type: "Identifier", name: a, start: E, end: E + a.length }), T = l.map((k) => c(this, u, x).call(this, k));
2728
+ return c(this, u, w).call(this, { type: "NGPipeExpression", left: h, right: y, arguments: T, start: f, end: R(T.length === 0 ? y : ut(false, T, -1)) }, { hasParentParens: r });
2729
+ }
2730
+ if (t instanceof Le) return c(this, u, w).call(this, { type: "NGChainedExpression", expressions: t.expressions.map((i) => c(this, u, x).call(this, i)), ...t.sourceSpan }, { hasParentParens: r });
2731
+ if (t instanceof Me) {
2732
+ let { condition: i, trueExp: a, falseExp: l } = t, h = c(this, u, x).call(this, i), f = c(this, u, x).call(this, a), v = c(this, u, x).call(this, l);
2733
+ return c(this, u, w).call(this, { type: "ConditionalExpression", test: h, consequent: f, alternate: v, start: $(h), end: R(v) }, { hasParentParens: r });
2734
+ }
2735
+ if (t instanceof P) return c(this, u, w).call(this, { type: "NGEmptyExpression", ...t.sourceSpan }, { hasParentParens: r });
2736
+ if (t instanceof Y) return c(this, u, w).call(this, { type: "ThisExpression", ...t.sourceSpan }, { hasParentParens: r });
2737
+ if (t instanceof Re || t instanceof ue) return c(this, u, Xe).call(this, t.receiver, c(this, u, x).call(this, t.key), { computed: true, optional: t instanceof ue, end: t.sourceSpan.end, hasParentParens: r });
2738
+ if (t instanceof Oe) return c(this, u, w).call(this, { type: "ArrayExpression", elements: t.expressions.map((i) => c(this, u, x).call(this, i)), ...t.sourceSpan }, { hasParentParens: r });
2739
+ if (t instanceof Fe) {
2740
+ let { keys: i, values: a } = t, l = a.map((f) => c(this, u, x).call(this, f)), h = i.map(({ key: f, quoted: v }, E) => {
2741
+ let y = l[E], T = $(y), k = R(y), F = this.getCharacterIndex(/\S/, E === 0 ? t.sourceSpan.start + 1 : this.getCharacterIndex(",", R(l[E - 1])) + 1), Ee = T === F ? k : this.getCharacterLastIndex(/\S/, this.getCharacterLastIndex(":", T - 1) - 1) + 1, ye = { start: F, end: Ee }, j = v ? c(this, u, w).call(this, { type: "StringLiteral", value: f, ...ye }) : c(this, u, w).call(this, { type: "Identifier", name: f, ...ye }), en = j.end < j.start || F === T;
2742
+ return c(this, u, w).call(this, { type: "ObjectProperty", key: j, value: y, shorthand: en, computed: false, start: $(j), end: k });
2743
+ });
2744
+ return c(this, u, w).call(this, { type: "ObjectExpression", properties: h, ...t.sourceSpan }, { hasParentParens: r });
2745
+ }
2746
+ if (t instanceof I) {
2747
+ let { value: i } = t;
2748
+ switch (typeof i) {
2749
+ case "boolean":
2750
+ return c(this, u, w).call(this, { type: "BooleanLiteral", value: i, ...t.sourceSpan }, { hasParentParens: r });
2751
+ case "number":
2752
+ return c(this, u, w).call(this, { type: "NumericLiteral", value: i, ...t.sourceSpan }, { hasParentParens: r });
2753
+ case "object":
2754
+ return c(this, u, w).call(this, { type: "NullLiteral", ...t.sourceSpan }, { hasParentParens: r });
2755
+ case "string":
2756
+ return c(this, u, w).call(this, { type: "StringLiteral", value: i, ...t.sourceSpan }, { hasParentParens: r });
2757
+ case "undefined":
2758
+ return c(this, u, w).call(this, { type: "Identifier", name: "undefined", ...t.sourceSpan }, { hasParentParens: r });
2759
+ default:
2760
+ throw new Error(`Unexpected LiteralPrimitive value type ${typeof i}`);
2761
+ }
2762
+ }
2763
+ if (t instanceof Ue || t instanceof pe) {
2764
+ let i = t instanceof pe, { receiver: a, args: l } = t, h = l.length === 1 ? [c(this, u, x).call(this, l[0], { isInParentParens: true })] : l.map((y) => c(this, u, x).call(this, y)), f = c(this, u, x).call(this, a), v = bs(f), E = i || v ? "OptionalCallExpression" : "CallExpression";
2765
+ return c(this, u, w).call(this, { type: E, callee: f, arguments: h, ...E === "OptionalCallExpression" ? { optional: i } : void 0, start: $(f), end: t.sourceSpan.end }, { hasParentParens: r });
2766
+ }
2767
+ if (t instanceof Ve) {
2768
+ let i = c(this, u, x).call(this, t.expression);
2769
+ return c(this, u, w).call(this, { type: "TSNonNullExpression", expression: i, start: $(i), end: t.sourceSpan.end }, { hasParentParens: r });
2770
+ }
2771
+ if (t instanceof Q || t instanceof K || t instanceof Z) {
2772
+ let i = t instanceof Q ? "!" : t instanceof K ? "typeof" : t instanceof Z ? "void" : void 0;
2773
+ if (!i) throw new Error("Unexpected expression.");
2774
+ let { start: a } = t.sourceSpan;
2775
+ if (i === "typeof" || i === "void") {
2776
+ let h = this.text.lastIndexOf(i, a);
2777
+ if (h === -1) throw new Error(`Cannot find operator '${i}' from index ${a} in ${JSON.stringify(this.text)}`);
2778
+ a = h;
2779
+ }
2780
+ let l = c(this, u, x).call(this, t.expression);
2781
+ return c(this, u, w).call(this, { type: "UnaryExpression", prefix: true, operator: i, argument: l, start: a, end: R(l) }, { hasParentParens: r });
2782
+ }
2783
+ if (t instanceof le || t instanceof ce) {
2784
+ let { receiver: i, name: a } = t, l = this.getCharacterLastIndex(/\S/, t.sourceSpan.end - 1) + 1, h = c(this, u, w).call(this, { type: "Identifier", name: a, start: l - a.length, end: l }, Is(i, L(this, xe)) ? { hasParentParens: r } : {});
2785
+ return c(this, u, Xe).call(this, i, h, { computed: false, optional: t instanceof ce, hasParentParens: r });
2786
+ }
2787
+ if (t instanceof De) {
2788
+ let i = c(this, u, x).call(this, t.key), a = c(this, u, x).call(this, t.value), l = c(this, u, Xe).call(this, t.receiver, i, { computed: true, optional: false, end: this.getCharacterIndex("]", R(i)) + 1 });
2789
+ return c(this, u, w).call(this, { type: "AssignmentExpression", left: l, operator: "=", right: a, start: $(l), end: R(a) }, { hasParentParens: r });
2790
+ }
2791
+ if (t instanceof $e) {
2792
+ let { receiver: i, name: a, value: l } = t, h = c(this, u, x).call(this, l), f = this.getCharacterLastIndex(/\S/, this.getCharacterLastIndex("=", $(h) - 1) - 1) + 1, v = c(this, u, w).call(this, { type: "Identifier", name: a, start: f - a.length, end: f }), E = c(this, u, Xe).call(this, i, v, { computed: false, optional: false });
2793
+ return c(this, u, w).call(this, { type: "AssignmentExpression", left: E, operator: "=", right: h, start: $(E), end: R(h) }, { hasParentParens: r });
2794
+ }
2795
+ if (t instanceof he) return c(this, u, w).call(this, { type: "TaggedTemplateExpression", tag: c(this, u, x).call(this, t.tag), quasi: c(this, u, x).call(this, t.template), ...t.sourceSpan });
2796
+ if (t instanceof fe) {
2797
+ let { elements: i, expressions: a } = t;
2798
+ return c(this, u, w).call(this, { type: "TemplateLiteral", quasis: i.map((l) => c(this, u, x).call(this, l, { parent: t })), expressions: a.map((l) => c(this, u, x).call(this, l)), ...t.sourceSpan });
2799
+ }
2800
+ if (t instanceof de) {
2801
+ let { elements: i } = s.parent, a = i.indexOf(t), l = a === 0, h = a === i.length - 1, f = t.sourceSpan.end - (h ? 1 : 0), v = t.sourceSpan.start + (l ? 1 : 0), E = this.text.slice(v, f);
2802
+ return c(this, u, w).call(this, { type: "TemplateElement", value: { cooked: t.text, raw: E }, start: v, end: f, tail: h }, { stripSpaces: false });
2803
+ }
2804
+ if (t instanceof He) return c(this, u, pt).call(this, t.expression);
2805
+ throw new Error(`Unexpected node type '${t.constructor.name}'`);
2806
+ };
2807
+ function Ns(n25, e) {
2808
+ return new Je(n25, e).node;
2809
+ }
2810
+ function As(n25) {
2811
+ return n25 instanceof We;
2812
+ }
2813
+ function Ps(n25) {
2814
+ return n25 instanceof me;
2815
+ }
2816
+ var Se;
2817
+ var ee;
2818
+ var g;
2819
+ var Ls;
2820
+ var N;
2821
+ var Gt;
2822
+ var Xt;
2823
+ var Jt;
2824
+ var Ms;
2825
+ var $s;
2826
+ var Rs;
2827
+ var Ds;
2828
+ var zt = class extends Je {
2829
+ constructor(t, s) {
2830
+ super(void 0, s);
2831
+ V(this, g);
2832
+ V(this, Se);
2833
+ V(this, ee);
2834
+ te(this, Se, t), te(this, ee, s);
2835
+ for (let r of t) c(this, g, Ms).call(this, r);
2836
+ }
2837
+ get expressions() {
2838
+ return c(this, g, Rs).call(this);
2839
+ }
2840
+ };
2841
+ Se = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakSet(), Ls = function() {
2842
+ return L(this, Se)[0].key;
2843
+ }, N = function(t, { stripSpaces: s = true } = {}) {
2844
+ return this.createNode(t, { stripSpaces: s });
2845
+ }, Gt = function(t) {
2846
+ return this.transformNode(t);
2847
+ }, Xt = function(t) {
2848
+ return Es(t.slice(L(this, g, Ls).source.length));
2849
+ }, Jt = function(t) {
2850
+ let s = L(this, ee);
2851
+ if (s[t.start] !== '"' && s[t.start] !== "'") return;
2852
+ let r = s[t.start], i = false;
2853
+ for (let a = t.start + 1; a < s.length; a++) switch (s[a]) {
2854
+ case r:
2855
+ if (!i) {
2856
+ t.end = a + 1;
2857
+ return;
2858
+ }
2859
+ default:
2860
+ i = false;
2861
+ break;
2862
+ case "\\":
2863
+ i = !i;
2864
+ break;
2865
+ }
2866
+ }, Ms = function(t) {
2867
+ c(this, g, Jt).call(this, t.key.span), Ps(t) && t.value && c(this, g, Jt).call(this, t.value.span);
2868
+ }, $s = function(t) {
2869
+ if (!t.value || t.value.source) return t.value;
2870
+ let s = this.getCharacterIndex(/\S/, t.sourceSpan.start);
2871
+ return { source: "$implicit", span: { start: s, end: s } };
2872
+ }, Rs = function() {
2873
+ let t = L(this, Se), [s] = t, r = L(this, ee).slice(s.sourceSpan.start, s.sourceSpan.end).trim().length === 0 ? t.slice(1) : t, i = [], a = null;
2874
+ for (let [l, h] of r.entries()) {
2875
+ if (a && As(a) && Ps(h) && h.value && h.value.source === a.key.source) {
2876
+ let f = c(this, g, N).call(this, { type: "NGMicrosyntaxKey", name: h.key.source, ...h.key.span }), v = (T, k) => ({ ...T, ...this.transformSpan({ start: T.start, end: k }) }), E = (T) => ({ ...v(T, f.end), alias: f }), y = i.pop();
2877
+ if (y.type === "NGMicrosyntaxExpression") i.push(E(y));
2878
+ else if (y.type === "NGMicrosyntaxKeyedExpression") {
2879
+ let T = E(y.expression);
2880
+ i.push(v({ ...y, expression: T }, T.end));
2881
+ } else throw new Error(`Unexpected type ${y.type}`);
2882
+ } else i.push(c(this, g, Ds).call(this, h, l));
2883
+ a = h;
2884
+ }
2885
+ return c(this, g, N).call(this, { type: "NGMicrosyntax", body: i, ...i.length === 0 ? t[0].sourceSpan : { start: i[0].start, end: ut(false, i, -1).end } });
2886
+ }, Ds = function(t, s) {
2887
+ if (As(t)) {
2888
+ let { key: r, value: i } = t;
2889
+ return i ? s === 0 ? c(this, g, N).call(this, { type: "NGMicrosyntaxExpression", expression: c(this, g, Gt).call(this, i.ast), alias: null, ...i.sourceSpan }) : c(this, g, N).call(this, { type: "NGMicrosyntaxKeyedExpression", key: c(this, g, N).call(this, { type: "NGMicrosyntaxKey", name: c(this, g, Xt).call(this, r.source), ...r.span }), expression: c(this, g, N).call(this, { type: "NGMicrosyntaxExpression", expression: c(this, g, Gt).call(this, i.ast), alias: null, ...i.sourceSpan }), start: r.span.start, end: i.sourceSpan.end }) : c(this, g, N).call(this, { type: "NGMicrosyntaxKey", name: c(this, g, Xt).call(this, r.source), ...r.span });
2890
+ } else {
2891
+ let { key: r, sourceSpan: i } = t;
2892
+ if (/^let\s$/.test(L(this, ee).slice(i.start, i.start + 4))) {
2893
+ let { value: l } = t;
2894
+ return c(this, g, N).call(this, { type: "NGMicrosyntaxLet", key: c(this, g, N).call(this, { type: "NGMicrosyntaxKey", name: r.source, ...r.span }), value: l ? c(this, g, N).call(this, { type: "NGMicrosyntaxKey", name: l.source, ...l.span }) : null, start: i.start, end: l ? l.span.end : r.span.end });
2895
+ } else {
2896
+ let l = c(this, g, $s).call(this, t);
2897
+ return c(this, g, N).call(this, { type: "NGMicrosyntaxAs", key: c(this, g, N).call(this, { type: "NGMicrosyntaxKey", name: l.source, ...l.span }), alias: c(this, g, N).call(this, { type: "NGMicrosyntaxKey", name: r.source, ...r.span }), start: l.span.start, end: r.span.end });
2898
+ }
2899
+ }
2900
+ };
2901
+ function Bs(n25, e) {
2902
+ return new zt(n25, e).expressions;
2903
+ }
2904
+ function ht({ result: { ast: n25 }, text: e, comments: t }) {
2905
+ return Object.assign(Ns(n25, e), { comments: t });
2906
+ }
2907
+ function Os({ result: { templateBindings: n25 }, text: e }) {
2908
+ return Bs(n25, e);
2909
+ }
2910
+ var Fs = (n25) => ht(ys(n25));
2911
+ var Vs = (n25) => ht(Cs(n25));
2912
+ var Yt = (n25) => ht(_s(n25));
2913
+ var Us = (n25) => Os(Ts(n25));
2914
+ function Qt(n25) {
2915
+ var s, r, i;
2916
+ let e = _nullishCoalesce(((s = n25.range) == null ? void 0 : s[0]), () => ( n25.start)), t = (i = _nullishCoalesce(((r = n25.declaration) == null ? void 0 : r.decorators), () => ( n25.decorators))) == null ? void 0 : i[0];
2917
+ return t ? Math.min(Qt(t), e) : e;
2918
+ }
2919
+ function Hs(n25) {
2920
+ var t;
2921
+ return _nullishCoalesce(((t = n25.range) == null ? void 0 : t[1]), () => ( n25.end));
2922
+ }
2923
+ function ft(n25) {
2924
+ return { astFormat: "estree", parse(e) {
2925
+ let t = n25(e);
2926
+ return { type: "NGRoot", node: n25 === Yt && t.type !== "NGChainedExpression" ? { ...t, type: "NGChainedExpression", expressions: [t] } : t };
2927
+ }, locStart: Qt, locEnd: Hs };
2928
+ }
2929
+ var Jr = ft(Yt);
2930
+ var Yr = ft(Fs);
2931
+ var Qr = ft(Vs);
2932
+ var Kr = ft(Us);
2933
+ var ho = Zt;
2934
+
2935
+
2936
+
2937
+ exports.default = ho; exports.parsers = Kt;