ripple 0.4.1 → 0.4.3

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 (96) hide show
  1. package/CHANGELOG.md +162 -0
  2. package/package.json +9 -3
  3. package/src/constants.js +4 -0
  4. package/src/jsx-runtime.d.ts +2 -1
  5. package/src/runtime/array.js +15 -9
  6. package/src/runtime/index-client.js +25 -7
  7. package/src/runtime/index-server.js +1 -0
  8. package/src/runtime/internal/client/attributes.js +313 -0
  9. package/src/runtime/internal/client/blocks.js +4 -14
  10. package/src/runtime/internal/client/component.js +2 -5
  11. package/src/runtime/internal/client/composite.js +14 -6
  12. package/src/runtime/internal/client/constants.js +12 -6
  13. package/src/runtime/internal/client/context.js +3 -2
  14. package/src/runtime/internal/client/css.js +11 -26
  15. package/src/runtime/internal/client/errors.js +188 -0
  16. package/src/runtime/internal/client/events.js +79 -34
  17. package/src/runtime/internal/client/expression.js +21 -116
  18. package/src/runtime/internal/client/for.js +272 -222
  19. package/src/runtime/internal/client/head.js +4 -3
  20. package/src/runtime/internal/client/html.js +5 -3
  21. package/src/runtime/internal/client/hydrate.js +484 -0
  22. package/src/runtime/internal/client/hydration-enabled.js +7 -0
  23. package/src/runtime/internal/client/hydration.js +16 -97
  24. package/src/runtime/internal/client/if.js +13 -9
  25. package/src/runtime/internal/client/index.js +16 -8
  26. package/src/runtime/internal/client/operations.js +12 -9
  27. package/src/runtime/internal/client/portal.js +3 -2
  28. package/src/runtime/internal/client/render.js +75 -321
  29. package/src/runtime/internal/client/root-boundary-enabled.js +7 -0
  30. package/src/runtime/internal/client/runtime.js +129 -362
  31. package/src/runtime/internal/client/template-ns.js +47 -0
  32. package/src/runtime/internal/client/template.js +63 -140
  33. package/src/runtime/internal/client/track-async.js +356 -0
  34. package/src/runtime/internal/client/try.js +133 -319
  35. package/src/runtime/internal/client/types.d.ts +48 -24
  36. package/src/runtime/internal/server/index.js +38 -33
  37. package/src/runtime/internal/server/prerender.js +27 -0
  38. package/src/server/index.js +1 -0
  39. package/src/utils/class-name.js +28 -0
  40. package/tests/client/basic/basic.errors.test.tsrx +3 -3
  41. package/tests/client/compiler/__snapshots__/compiler.typescript.test.tsrx.snap +0 -2
  42. package/tests/client/compiler/compiler.basic.test.tsrx +4 -4
  43. package/tests/client/compiler/compiler.tracked-access.test.tsrx +3 -3
  44. package/tests/client/composite/composite.props.test.tsrx +10 -10
  45. package/tests/client/derived-release.test.tsrx +3 -3
  46. package/tests/client/for-item.test.tsrx +443 -0
  47. package/tests/client/for-selector.test.tsrx +95 -0
  48. package/tests/hydration/compiled/client/basic.js +97 -123
  49. package/tests/hydration/compiled/client/composite.js +5 -5
  50. package/tests/hydration/compiled/client/events.js +84 -79
  51. package/tests/hydration/compiled/client/for.js +229 -233
  52. package/tests/hydration/compiled/client/fragment-cursor.js +781 -481
  53. package/tests/hydration/compiled/client/head.js +23 -26
  54. package/tests/hydration/compiled/client/hmr.js +4 -4
  55. package/tests/hydration/compiled/client/html-in-template.js +5 -5
  56. package/tests/hydration/compiled/client/html.js +174 -208
  57. package/tests/hydration/compiled/client/if-children.js +71 -70
  58. package/tests/hydration/compiled/client/if-fragment-controlflow.js +46 -46
  59. package/tests/hydration/compiled/client/if.js +26 -26
  60. package/tests/hydration/compiled/client/mixed-control-flow.js +63 -105
  61. package/tests/hydration/compiled/client/nested-control-flow.js +170 -390
  62. package/tests/hydration/compiled/client/portal.js +10 -10
  63. package/tests/hydration/compiled/client/reactivity.js +36 -50
  64. package/tests/hydration/compiled/client/return.js +2 -2
  65. package/tests/hydration/compiled/client/streaming.js +34 -40
  66. package/tests/hydration/compiled/client/switch.js +25 -25
  67. package/tests/hydration/compiled/client/track-async-serialization.js +41 -41
  68. package/tests/hydration/compiled/client/try.js +15 -15
  69. package/tests/hydration/compiled/client/typed-text.js +8 -19
  70. package/tests/hydration/compiled/server/basic.js +6 -6
  71. package/tests/hydration/compiled/server/events.js +13 -61
  72. package/tests/hydration/compiled/server/for.js +23 -31
  73. package/tests/hydration/compiled/server/fragment-cursor.js +214 -366
  74. package/tests/hydration/compiled/server/head.js +6 -6
  75. package/tests/hydration/compiled/server/hmr.js +1 -1
  76. package/tests/hydration/compiled/server/html.js +1 -1
  77. package/tests/hydration/compiled/server/if-children.js +9 -9
  78. package/tests/hydration/compiled/server/if.js +5 -5
  79. package/tests/hydration/compiled/server/mixed-control-flow.js +4 -4
  80. package/tests/hydration/compiled/server/portal.js +1 -1
  81. package/tests/hydration/compiled/server/reactivity.js +9 -9
  82. package/tests/hydration/compiled/server/streaming.js +9 -9
  83. package/tests/hydration/compiled/server/switch.js +4 -4
  84. package/tests/hydration/compiled/server/track-async-serialization.js +16 -16
  85. package/tests/hydration/compiled/server/try.js +4 -4
  86. package/tests/hydration/compiled/server/typed-text.js +1 -1
  87. package/tests/hydration/components/fragment-cursor.tsrx +60 -0
  88. package/tests/hydration/components/track-async-serialization.tsrx +2 -2
  89. package/tests/hydration/fragment-cursor.test.js +34 -1
  90. package/tests/hydration/track-async-serialization.test.js +1 -1
  91. package/tests/server/basic.components.test.tsrx +3 -3
  92. package/tests/server/basic.test.tsrx +23 -0
  93. package/tests/server/track-async-serialization.test.tsrx +6 -6
  94. package/tests/utils/tracked-types.test.js +3 -3
  95. package/types/index.d.ts +8 -8
  96. package/types/server.d.ts +17 -0
@@ -16,20 +16,12 @@ function Leaf() {
16
16
 
17
17
  export function TrailingNavigatedElements() {
18
18
  return _$_.tsrx_element(() => {
19
- const n = _$_.track(0, 'a695c021');
19
+ const n = _$_.track(0, '1a7yy3l');
20
20
 
21
21
  _$_.regular_block(() => {
22
22
  let __out = '';
23
23
 
24
- __out += '<div class="count">';
25
-
26
- {
27
- _$_.output_push(__out);
28
- __out = '';
29
- _$_.render_expression(n.value);
30
- }
31
-
32
- __out += '</div><button class="inc">inc</button><button class="dec">dec</button>';
24
+ __out += '<div class="count">' + _$_.escape(n.value) + '</div><button class="inc">inc</button><button class="dec">dec</button>';
33
25
  _$_.output_push(__out);
34
26
  });
35
27
  });
@@ -37,7 +29,7 @@ export function TrailingNavigatedElements() {
37
29
 
38
30
  export function TrailingStaticNavigatedElements() {
39
31
  return _$_.tsrx_element(() => {
40
- const n = _$_.track(0, '0afd9398');
32
+ const n = _$_.track(0, '31s4ns');
41
33
 
42
34
  _$_.regular_block(() => {
43
35
  let __out = '';
@@ -50,7 +42,7 @@ export function TrailingStaticNavigatedElements() {
50
42
 
51
43
  export function NavigatedThenStatic() {
52
44
  return _$_.tsrx_element(() => {
53
- const n = _$_.track(0, '3cea07db');
45
+ const n = _$_.track(0, 'gwgdej');
54
46
 
55
47
  _$_.regular_block(() => {
56
48
  let __out = '';
@@ -63,7 +55,7 @@ export function NavigatedThenStatic() {
63
55
 
64
56
  export function LeadingNavigatedThenStatic() {
65
57
  return _$_.tsrx_element(() => {
66
- const n = _$_.track(0, '8ca89613');
58
+ const n = _$_.track(0, '130zymr');
67
59
 
68
60
  _$_.regular_block(() => {
69
61
  let __out = '';
@@ -76,7 +68,7 @@ export function LeadingNavigatedThenStatic() {
76
68
 
77
69
  export function TrailingNestedNavigated() {
78
70
  return _$_.tsrx_element(() => {
79
- const n = _$_.track(0, 'f0f5a337');
71
+ const n = _$_.track(0, '1uuvl87');
80
72
 
81
73
  _$_.regular_block(() => {
82
74
  let __out = '';
@@ -89,7 +81,7 @@ export function TrailingNestedNavigated() {
89
81
 
90
82
  export function NestedNavigatedThenStatic() {
91
83
  return _$_.tsrx_element(() => {
92
- const n = _$_.track(0, '2a6293f9');
84
+ const n = _$_.track(0, 'brdeyh');
93
85
 
94
86
  _$_.regular_block(() => {
95
87
  let __out = '';
@@ -102,7 +94,7 @@ export function NestedNavigatedThenStatic() {
102
94
 
103
95
  export function TrackedTextThenStatic() {
104
96
  return _$_.tsrx_element(() => {
105
- const n = _$_.track(0, 'db93f6f0');
97
+ const n = _$_.track(0, '1oxax2o');
106
98
 
107
99
  _$_.regular_block(() => {
108
100
  let __out = '';
@@ -115,7 +107,7 @@ export function TrackedTextThenStatic() {
115
107
 
116
108
  export function StaticThenTrackedText() {
117
109
  return _$_.tsrx_element(() => {
118
- const n = _$_.track(0, '84cf2507');
110
+ const n = _$_.track(0, '10ulddz');
119
111
 
120
112
  _$_.regular_block(() => {
121
113
  let __out = '';
@@ -150,7 +142,7 @@ export function AllStatic() {
150
142
 
151
143
  export function TrailingDynamicChild() {
152
144
  return _$_.tsrx_element(() => {
153
- const n = _$_.track(0, '9be343a7');
145
+ const n = _$_.track(0, '1794alj');
154
146
 
155
147
  _$_.regular_block(() => {
156
148
  let __out = '';
@@ -163,7 +155,7 @@ export function TrailingDynamicChild() {
163
155
 
164
156
  export function DynamicChildThenStatic() {
165
157
  return _$_.tsrx_element(() => {
166
- const n = _$_.track(0, 'c76dd5a9');
158
+ const n = _$_.track(0, '1jc1h9l');
167
159
 
168
160
  _$_.regular_block(() => {
169
161
  let __out = '';
@@ -176,7 +168,7 @@ export function DynamicChildThenStatic() {
176
168
 
177
169
  export function IfThenStatic() {
178
170
  return _$_.tsrx_element(() => {
179
- const n = _$_.track(0, 'fb175ecd');
171
+ const n = _$_.track(0, '1xo2wul');
180
172
 
181
173
  _$_.regular_block(() => {
182
174
  let __out = '';
@@ -195,7 +187,7 @@ export function IfThenStatic() {
195
187
 
196
188
  export function StaticThenIf() {
197
189
  return _$_.tsrx_element(() => {
198
- const n = _$_.track(0, 'c8563a58');
190
+ const n = _$_.track(0, '1jl3wwo');
199
191
 
200
192
  _$_.regular_block(() => {
201
193
  let __out = '';
@@ -277,7 +269,7 @@ export function SiblingComps() {
277
269
 
278
270
  export function WrapTrailingNavigatedElements() {
279
271
  return _$_.tsrx_element(() => {
280
- const n = _$_.track(0, '1032dbec');
272
+ const n = _$_.track(0, '4hsxyk');
281
273
 
282
274
  _$_.regular_block(() => {
283
275
  let __out = '';
@@ -293,15 +285,7 @@ export function WrapTrailingNavigatedElements() {
293
285
  _$_.render_component(comp, ...args);
294
286
  }
295
287
 
296
- __out += '<span class="after">';
297
-
298
- {
299
- _$_.output_push(__out);
300
- __out = '';
301
- _$_.render_expression(n.value);
302
- }
303
-
304
- __out += '</span><button class="outer-inc">outer</button></div>';
288
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
305
289
  _$_.output_push(__out);
306
290
  });
307
291
  });
@@ -309,7 +293,7 @@ export function WrapTrailingNavigatedElements() {
309
293
 
310
294
  export function WrapTrailingStaticNavigatedElements() {
311
295
  return _$_.tsrx_element(() => {
312
- const n = _$_.track(0, 'c2e2a938');
296
+ const n = _$_.track(0, '1i2nm0o');
313
297
 
314
298
  _$_.regular_block(() => {
315
299
  let __out = '';
@@ -325,15 +309,7 @@ export function WrapTrailingStaticNavigatedElements() {
325
309
  _$_.render_component(comp, ...args);
326
310
  }
327
311
 
328
- __out += '<span class="after">';
329
-
330
- {
331
- _$_.output_push(__out);
332
- __out = '';
333
- _$_.render_expression(n.value);
334
- }
335
-
336
- __out += '</span><button class="outer-inc">outer</button></div>';
312
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
337
313
  _$_.output_push(__out);
338
314
  });
339
315
  });
@@ -341,7 +317,7 @@ export function WrapTrailingStaticNavigatedElements() {
341
317
 
342
318
  export function WrapNavigatedThenStatic() {
343
319
  return _$_.tsrx_element(() => {
344
- const n = _$_.track(0, 'b4046e87');
320
+ const n = _$_.track(0, '1dy54zr');
345
321
 
346
322
  _$_.regular_block(() => {
347
323
  let __out = '';
@@ -357,15 +333,7 @@ export function WrapNavigatedThenStatic() {
357
333
  _$_.render_component(comp, ...args);
358
334
  }
359
335
 
360
- __out += '<span class="after">';
361
-
362
- {
363
- _$_.output_push(__out);
364
- __out = '';
365
- _$_.render_expression(n.value);
366
- }
367
-
368
- __out += '</span><button class="outer-inc">outer</button></div>';
336
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
369
337
  _$_.output_push(__out);
370
338
  });
371
339
  });
@@ -373,7 +341,7 @@ export function WrapNavigatedThenStatic() {
373
341
 
374
342
  export function WrapLeadingNavigatedThenStatic() {
375
343
  return _$_.tsrx_element(() => {
376
- const n = _$_.track(0, 'bed7f7ef');
344
+ const n = _$_.track(0, '1gya7sf');
377
345
 
378
346
  _$_.regular_block(() => {
379
347
  let __out = '';
@@ -389,15 +357,7 @@ export function WrapLeadingNavigatedThenStatic() {
389
357
  _$_.render_component(comp, ...args);
390
358
  }
391
359
 
392
- __out += '<span class="after">';
393
-
394
- {
395
- _$_.output_push(__out);
396
- __out = '';
397
- _$_.render_expression(n.value);
398
- }
399
-
400
- __out += '</span><button class="outer-inc">outer</button></div>';
360
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
401
361
  _$_.output_push(__out);
402
362
  });
403
363
  });
@@ -405,7 +365,7 @@ export function WrapLeadingNavigatedThenStatic() {
405
365
 
406
366
  export function WrapTrailingNestedNavigated() {
407
367
  return _$_.tsrx_element(() => {
408
- const n = _$_.track(0, 'eddbe7bc');
368
+ const n = _$_.track(0, '1tzwnuk');
409
369
 
410
370
  _$_.regular_block(() => {
411
371
  let __out = '';
@@ -421,15 +381,7 @@ export function WrapTrailingNestedNavigated() {
421
381
  _$_.render_component(comp, ...args);
422
382
  }
423
383
 
424
- __out += '<span class="after">';
425
-
426
- {
427
- _$_.output_push(__out);
428
- __out = '';
429
- _$_.render_expression(n.value);
430
- }
431
-
432
- __out += '</span><button class="outer-inc">outer</button></div>';
384
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
433
385
  _$_.output_push(__out);
434
386
  });
435
387
  });
@@ -437,7 +389,7 @@ export function WrapTrailingNestedNavigated() {
437
389
 
438
390
  export function WrapNestedNavigatedThenStatic() {
439
391
  return _$_.tsrx_element(() => {
440
- const n = _$_.track(0, '1bdc4523');
392
+ const n = _$_.track(0, '7qafxf');
441
393
 
442
394
  _$_.regular_block(() => {
443
395
  let __out = '';
@@ -453,15 +405,7 @@ export function WrapNestedNavigatedThenStatic() {
453
405
  _$_.render_component(comp, ...args);
454
406
  }
455
407
 
456
- __out += '<span class="after">';
457
-
458
- {
459
- _$_.output_push(__out);
460
- __out = '';
461
- _$_.render_expression(n.value);
462
- }
463
-
464
- __out += '</span><button class="outer-inc">outer</button></div>';
408
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
465
409
  _$_.output_push(__out);
466
410
  });
467
411
  });
@@ -469,7 +413,7 @@ export function WrapNestedNavigatedThenStatic() {
469
413
 
470
414
  export function WrapTrackedTextThenStatic() {
471
415
  return _$_.tsrx_element(() => {
472
- const n = _$_.track(0, '97e02c24');
416
+ const n = _$_.track(0, '1651kpw');
473
417
 
474
418
  _$_.regular_block(() => {
475
419
  let __out = '';
@@ -485,15 +429,7 @@ export function WrapTrackedTextThenStatic() {
485
429
  _$_.render_component(comp, ...args);
486
430
  }
487
431
 
488
- __out += '<span class="after">';
489
-
490
- {
491
- _$_.output_push(__out);
492
- __out = '';
493
- _$_.render_expression(n.value);
494
- }
495
-
496
- __out += '</span><button class="outer-inc">outer</button></div>';
432
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
497
433
  _$_.output_push(__out);
498
434
  });
499
435
  });
@@ -501,7 +437,7 @@ export function WrapTrackedTextThenStatic() {
501
437
 
502
438
  export function WrapStaticThenTrackedText() {
503
439
  return _$_.tsrx_element(() => {
504
- const n = _$_.track(0, 'd5526861');
440
+ const n = _$_.track(0, '1n6t9pd');
505
441
 
506
442
  _$_.regular_block(() => {
507
443
  let __out = '';
@@ -517,15 +453,7 @@ export function WrapStaticThenTrackedText() {
517
453
  _$_.render_component(comp, ...args);
518
454
  }
519
455
 
520
- __out += '<span class="after">';
521
-
522
- {
523
- _$_.output_push(__out);
524
- __out = '';
525
- _$_.render_expression(n.value);
526
- }
527
-
528
- __out += '</span><button class="outer-inc">outer</button></div>';
456
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
529
457
  _$_.output_push(__out);
530
458
  });
531
459
  });
@@ -533,7 +461,7 @@ export function WrapStaticThenTrackedText() {
533
461
 
534
462
  export function WrapStaticNestedThenStatic() {
535
463
  return _$_.tsrx_element(() => {
536
- const n = _$_.track(0, '7e2d3fad');
464
+ const n = _$_.track(0, 'z0cect');
537
465
 
538
466
  _$_.regular_block(() => {
539
467
  let __out = '';
@@ -549,15 +477,7 @@ export function WrapStaticNestedThenStatic() {
549
477
  _$_.render_component(comp, ...args);
550
478
  }
551
479
 
552
- __out += '<span class="after">';
553
-
554
- {
555
- _$_.output_push(__out);
556
- __out = '';
557
- _$_.render_expression(n.value);
558
- }
559
-
560
- __out += '</span><button class="outer-inc">outer</button></div>';
480
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
561
481
  _$_.output_push(__out);
562
482
  });
563
483
  });
@@ -565,7 +485,7 @@ export function WrapStaticNestedThenStatic() {
565
485
 
566
486
  export function WrapAllStatic() {
567
487
  return _$_.tsrx_element(() => {
568
- const n = _$_.track(0, 'b894f45a');
488
+ const n = _$_.track(0, '1f7qiqi');
569
489
 
570
490
  _$_.regular_block(() => {
571
491
  let __out = '';
@@ -581,15 +501,7 @@ export function WrapAllStatic() {
581
501
  _$_.render_component(comp, ...args);
582
502
  }
583
503
 
584
- __out += '<span class="after">';
585
-
586
- {
587
- _$_.output_push(__out);
588
- __out = '';
589
- _$_.render_expression(n.value);
590
- }
591
-
592
- __out += '</span><button class="outer-inc">outer</button></div>';
504
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
593
505
  _$_.output_push(__out);
594
506
  });
595
507
  });
@@ -597,7 +509,7 @@ export function WrapAllStatic() {
597
509
 
598
510
  export function WrapTrailingDynamicChild() {
599
511
  return _$_.tsrx_element(() => {
600
- const n = _$_.track(0, '038446ca');
512
+ const n = _$_.track(0, 'z4l3e');
601
513
 
602
514
  _$_.regular_block(() => {
603
515
  let __out = '';
@@ -613,15 +525,7 @@ export function WrapTrailingDynamicChild() {
613
525
  _$_.render_component(comp, ...args);
614
526
  }
615
527
 
616
- __out += '<span class="after">';
617
-
618
- {
619
- _$_.output_push(__out);
620
- __out = '';
621
- _$_.render_expression(n.value);
622
- }
623
-
624
- __out += '</span><button class="outer-inc">outer</button></div>';
528
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
625
529
  _$_.output_push(__out);
626
530
  });
627
531
  });
@@ -629,7 +533,7 @@ export function WrapTrailingDynamicChild() {
629
533
 
630
534
  export function WrapDynamicChildThenStatic() {
631
535
  return _$_.tsrx_element(() => {
632
- const n = _$_.track(0, '3ec460c3');
536
+ const n = _$_.track(0, 'heyo5f');
633
537
 
634
538
  _$_.regular_block(() => {
635
539
  let __out = '';
@@ -645,15 +549,7 @@ export function WrapDynamicChildThenStatic() {
645
549
  _$_.render_component(comp, ...args);
646
550
  }
647
551
 
648
- __out += '<span class="after">';
649
-
650
- {
651
- _$_.output_push(__out);
652
- __out = '';
653
- _$_.render_expression(n.value);
654
- }
655
-
656
- __out += '</span><button class="outer-inc">outer</button></div>';
552
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
657
553
  _$_.output_push(__out);
658
554
  });
659
555
  });
@@ -661,7 +557,7 @@ export function WrapDynamicChildThenStatic() {
661
557
 
662
558
  export function WrapIfThenStatic() {
663
559
  return _$_.tsrx_element(() => {
664
- const n = _$_.track(0, '95b417dd');
560
+ const n = _$_.track(0, '15jcgyl');
665
561
 
666
562
  _$_.regular_block(() => {
667
563
  let __out = '';
@@ -677,15 +573,7 @@ export function WrapIfThenStatic() {
677
573
  _$_.render_component(comp, ...args);
678
574
  }
679
575
 
680
- __out += '<span class="after">';
681
-
682
- {
683
- _$_.output_push(__out);
684
- __out = '';
685
- _$_.render_expression(n.value);
686
- }
687
-
688
- __out += '</span><button class="outer-inc">outer</button></div>';
576
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
689
577
  _$_.output_push(__out);
690
578
  });
691
579
  });
@@ -693,7 +581,7 @@ export function WrapIfThenStatic() {
693
581
 
694
582
  export function WrapStaticThenIf() {
695
583
  return _$_.tsrx_element(() => {
696
- const n = _$_.track(0, '1f01fa6f');
584
+ const n = _$_.track(0, '8lq6wf');
697
585
 
698
586
  _$_.regular_block(() => {
699
587
  let __out = '';
@@ -709,15 +597,7 @@ export function WrapStaticThenIf() {
709
597
  _$_.render_component(comp, ...args);
710
598
  }
711
599
 
712
- __out += '<span class="after">';
713
-
714
- {
715
- _$_.output_push(__out);
716
- __out = '';
717
- _$_.render_expression(n.value);
718
- }
719
-
720
- __out += '</span><button class="outer-inc">outer</button></div>';
600
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
721
601
  _$_.output_push(__out);
722
602
  });
723
603
  });
@@ -725,7 +605,7 @@ export function WrapStaticThenIf() {
725
605
 
726
606
  export function WrapCompThenStatic() {
727
607
  return _$_.tsrx_element(() => {
728
- const n = _$_.track(0, 'e6bdb91d');
608
+ const n = _$_.track(0, '1s0t3x9');
729
609
 
730
610
  _$_.regular_block(() => {
731
611
  let __out = '';
@@ -741,15 +621,7 @@ export function WrapCompThenStatic() {
741
621
  _$_.render_component(comp, ...args);
742
622
  }
743
623
 
744
- __out += '<span class="after">';
745
-
746
- {
747
- _$_.output_push(__out);
748
- __out = '';
749
- _$_.render_expression(n.value);
750
- }
751
-
752
- __out += '</span><button class="outer-inc">outer</button></div>';
624
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
753
625
  _$_.output_push(__out);
754
626
  });
755
627
  });
@@ -757,7 +629,7 @@ export function WrapCompThenStatic() {
757
629
 
758
630
  export function WrapStaticThenComp() {
759
631
  return _$_.tsrx_element(() => {
760
- const n = _$_.track(0, '89d5704c');
632
+ const n = _$_.track(0, '128s6ks');
761
633
 
762
634
  _$_.regular_block(() => {
763
635
  let __out = '';
@@ -773,15 +645,7 @@ export function WrapStaticThenComp() {
773
645
  _$_.render_component(comp, ...args);
774
646
  }
775
647
 
776
- __out += '<span class="after">';
777
-
778
- {
779
- _$_.output_push(__out);
780
- __out = '';
781
- _$_.render_expression(n.value);
782
- }
783
-
784
- __out += '</span><button class="outer-inc">outer</button></div>';
648
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
785
649
  _$_.output_push(__out);
786
650
  });
787
651
  });
@@ -789,7 +653,7 @@ export function WrapStaticThenComp() {
789
653
 
790
654
  export function WrapSiblingComps() {
791
655
  return _$_.tsrx_element(() => {
792
- const n = _$_.track(0, 'c5c51af6');
656
+ const n = _$_.track(0, '1ivgvli');
793
657
 
794
658
  _$_.regular_block(() => {
795
659
  let __out = '';
@@ -805,15 +669,7 @@ export function WrapSiblingComps() {
805
669
  _$_.render_component(comp, ...args);
806
670
  }
807
671
 
808
- __out += '<span class="after">';
809
-
810
- {
811
- _$_.output_push(__out);
812
- __out = '';
813
- _$_.render_expression(n.value);
814
- }
815
-
816
- __out += '</span><button class="outer-inc">outer</button></div>';
672
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
817
673
  _$_.output_push(__out);
818
674
  });
819
675
  });
@@ -849,20 +705,12 @@ export function NestedFragmentThenStatic() {
849
705
 
850
706
  export function TrailingNestedFragment() {
851
707
  return _$_.tsrx_element(() => {
852
- const n = _$_.track(0, '82cbc65f');
708
+ const n = _$_.track(0, '10ahg7z');
853
709
 
854
710
  _$_.regular_block(() => {
855
711
  let __out = '';
856
712
 
857
- __out += '<div class="count">';
858
-
859
- {
860
- _$_.output_push(__out);
861
- __out = '';
862
- _$_.render_expression(n.value);
863
- }
864
-
865
- __out += '</div><span class="x">x</span><button class="inc">inc</button>';
713
+ __out += '<div class="count">' + _$_.escape(n.value) + '</div><span class="x">x</span><button class="inc">inc</button>';
866
714
  _$_.output_push(__out);
867
715
  });
868
716
  });
@@ -897,7 +745,7 @@ export function ForThenStatic() {
897
745
 
898
746
  export function SwitchThenStatic() {
899
747
  return _$_.tsrx_element(() => {
900
- const n = _$_.track(0, '800f9ff3');
748
+ const n = _$_.track(0, 'zj5z3n');
901
749
 
902
750
  _$_.regular_block(() => {
903
751
  let __out = '';
@@ -1018,7 +866,7 @@ export function InlineElementThenStatic() {
1018
866
 
1019
867
  export function WrapUntrackedTextThenStatic() {
1020
868
  return _$_.tsrx_element(() => {
1021
- const n = _$_.track(0, '3a78abea');
869
+ const n = _$_.track(0, 'g81yay');
1022
870
 
1023
871
  _$_.regular_block(() => {
1024
872
  let __out = '';
@@ -1034,15 +882,7 @@ export function WrapUntrackedTextThenStatic() {
1034
882
  _$_.render_component(comp, ...args);
1035
883
  }
1036
884
 
1037
- __out += '<span class="after">';
1038
-
1039
- {
1040
- _$_.output_push(__out);
1041
- __out = '';
1042
- _$_.render_expression(n.value);
1043
- }
1044
-
1045
- __out += '</span><button class="outer-inc">outer</button></div>';
885
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1046
886
  _$_.output_push(__out);
1047
887
  });
1048
888
  });
@@ -1050,7 +890,7 @@ export function WrapUntrackedTextThenStatic() {
1050
890
 
1051
891
  export function WrapNestedFragmentThenStatic() {
1052
892
  return _$_.tsrx_element(() => {
1053
- const n = _$_.track(0, 'db289d00');
893
+ const n = _$_.track(0, '1ot44jk');
1054
894
 
1055
895
  _$_.regular_block(() => {
1056
896
  let __out = '';
@@ -1066,15 +906,7 @@ export function WrapNestedFragmentThenStatic() {
1066
906
  _$_.render_component(comp, ...args);
1067
907
  }
1068
908
 
1069
- __out += '<span class="after">';
1070
-
1071
- {
1072
- _$_.output_push(__out);
1073
- __out = '';
1074
- _$_.render_expression(n.value);
1075
- }
1076
-
1077
- __out += '</span><button class="outer-inc">outer</button></div>';
909
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1078
910
  _$_.output_push(__out);
1079
911
  });
1080
912
  });
@@ -1082,7 +914,7 @@ export function WrapNestedFragmentThenStatic() {
1082
914
 
1083
915
  export function WrapTrailingNestedFragment() {
1084
916
  return _$_.tsrx_element(() => {
1085
- const n = _$_.track(0, 'bb509235');
917
+ const n = _$_.track(0, '1fz18vp');
1086
918
 
1087
919
  _$_.regular_block(() => {
1088
920
  let __out = '';
@@ -1098,15 +930,7 @@ export function WrapTrailingNestedFragment() {
1098
930
  _$_.render_component(comp, ...args);
1099
931
  }
1100
932
 
1101
- __out += '<span class="after">';
1102
-
1103
- {
1104
- _$_.output_push(__out);
1105
- __out = '';
1106
- _$_.render_expression(n.value);
1107
- }
1108
-
1109
- __out += '</span><button class="outer-inc">outer</button></div>';
933
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1110
934
  _$_.output_push(__out);
1111
935
  });
1112
936
  });
@@ -1114,7 +938,7 @@ export function WrapTrailingNestedFragment() {
1114
938
 
1115
939
  export function WrapForThenStatic() {
1116
940
  return _$_.tsrx_element(() => {
1117
- const n = _$_.track(0, 'a715e40a');
941
+ const n = _$_.track(0, '1acyxvu');
1118
942
 
1119
943
  _$_.regular_block(() => {
1120
944
  let __out = '';
@@ -1130,15 +954,7 @@ export function WrapForThenStatic() {
1130
954
  _$_.render_component(comp, ...args);
1131
955
  }
1132
956
 
1133
- __out += '<span class="after">';
1134
-
1135
- {
1136
- _$_.output_push(__out);
1137
- __out = '';
1138
- _$_.render_expression(n.value);
1139
- }
1140
-
1141
- __out += '</span><button class="outer-inc">outer</button></div>';
957
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1142
958
  _$_.output_push(__out);
1143
959
  });
1144
960
  });
@@ -1146,7 +962,7 @@ export function WrapForThenStatic() {
1146
962
 
1147
963
  export function WrapSwitchThenStatic() {
1148
964
  return _$_.tsrx_element(() => {
1149
- const n = _$_.track(0, 'a598ad9f');
965
+ const n = _$_.track(0, '19y3grj');
1150
966
 
1151
967
  _$_.regular_block(() => {
1152
968
  let __out = '';
@@ -1162,15 +978,7 @@ export function WrapSwitchThenStatic() {
1162
978
  _$_.render_component(comp, ...args);
1163
979
  }
1164
980
 
1165
- __out += '<span class="after">';
1166
-
1167
- {
1168
- _$_.output_push(__out);
1169
- __out = '';
1170
- _$_.render_expression(n.value);
1171
- }
1172
-
1173
- __out += '</span><button class="outer-inc">outer</button></div>';
981
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1174
982
  _$_.output_push(__out);
1175
983
  });
1176
984
  });
@@ -1178,7 +986,7 @@ export function WrapSwitchThenStatic() {
1178
986
 
1179
987
  export function WrapTryThenStatic() {
1180
988
  return _$_.tsrx_element(() => {
1181
- const n = _$_.track(0, '1030b116');
989
+ const n = _$_.track(0, '4hpwd2');
1182
990
 
1183
991
  _$_.regular_block(() => {
1184
992
  let __out = '';
@@ -1194,15 +1002,7 @@ export function WrapTryThenStatic() {
1194
1002
  _$_.render_component(comp, ...args);
1195
1003
  }
1196
1004
 
1197
- __out += '<span class="after">';
1198
-
1199
- {
1200
- _$_.output_push(__out);
1201
- __out = '';
1202
- _$_.render_expression(n.value);
1203
- }
1204
-
1205
- __out += '</span><button class="outer-inc">outer</button></div>';
1005
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1206
1006
  _$_.output_push(__out);
1207
1007
  });
1208
1008
  });
@@ -1210,7 +1010,7 @@ export function WrapTryThenStatic() {
1210
1010
 
1211
1011
  export function WrapStyleThenStatic() {
1212
1012
  return _$_.tsrx_element(() => {
1213
- const n = _$_.track(0, 'f35d8716');
1013
+ const n = _$_.track(0, '1viwphy');
1214
1014
 
1215
1015
  _$_.regular_block(() => {
1216
1016
  let __out = '';
@@ -1226,15 +1026,7 @@ export function WrapStyleThenStatic() {
1226
1026
  _$_.render_component(comp, ...args);
1227
1027
  }
1228
1028
 
1229
- __out += '<span class="after">';
1230
-
1231
- {
1232
- _$_.output_push(__out);
1233
- __out = '';
1234
- _$_.render_expression(n.value);
1235
- }
1236
-
1237
- __out += '</span><button class="outer-inc">outer</button></div>';
1029
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1238
1030
  _$_.output_push(__out);
1239
1031
  });
1240
1032
  });
@@ -1242,7 +1034,7 @@ export function WrapStyleThenStatic() {
1242
1034
 
1243
1035
  export function WrapCollectionThenStatic() {
1244
1036
  return _$_.tsrx_element(() => {
1245
- const n = _$_.track(0, 'b1e7a298');
1037
+ const n = _$_.track(0, '1dd1i1k');
1246
1038
 
1247
1039
  _$_.regular_block(() => {
1248
1040
  let __out = '';
@@ -1258,15 +1050,7 @@ export function WrapCollectionThenStatic() {
1258
1050
  _$_.render_component(comp, ...args);
1259
1051
  }
1260
1052
 
1261
- __out += '<span class="after">';
1262
-
1263
- {
1264
- _$_.output_push(__out);
1265
- __out = '';
1266
- _$_.render_expression(n.value);
1267
- }
1268
-
1269
- __out += '</span><button class="outer-inc">outer</button></div>';
1053
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1270
1054
  _$_.output_push(__out);
1271
1055
  });
1272
1056
  });
@@ -1274,7 +1058,7 @@ export function WrapCollectionThenStatic() {
1274
1058
 
1275
1059
  export function WrapInlineElementThenStatic() {
1276
1060
  return _$_.tsrx_element(() => {
1277
- const n = _$_.track(0, 'df10dc38');
1061
+ const n = _$_.track(0, '1pw54xk');
1278
1062
 
1279
1063
  _$_.regular_block(() => {
1280
1064
  let __out = '';
@@ -1290,15 +1074,7 @@ export function WrapInlineElementThenStatic() {
1290
1074
  _$_.render_component(comp, ...args);
1291
1075
  }
1292
1076
 
1293
- __out += '<span class="after">';
1294
-
1295
- {
1296
- _$_.output_push(__out);
1297
- __out = '';
1298
- _$_.render_expression(n.value);
1299
- }
1300
-
1301
- __out += '</span><button class="outer-inc">outer</button></div>';
1077
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1302
1078
  _$_.output_push(__out);
1303
1079
  });
1304
1080
  });
@@ -1306,7 +1082,7 @@ export function WrapInlineElementThenStatic() {
1306
1082
 
1307
1083
  export function IfOnly() {
1308
1084
  return _$_.tsrx_element(() => {
1309
- const n = _$_.track(0, 'c6afe814');
1085
+ const n = _$_.track(0, '1j4mp04');
1310
1086
 
1311
1087
  _$_.regular_block(() => {
1312
1088
  let __out = '';
@@ -1325,7 +1101,7 @@ export function IfOnly() {
1325
1101
 
1326
1102
  export function IfThenOne() {
1327
1103
  return _$_.tsrx_element(() => {
1328
- const n = _$_.track(0, 'c3b63525');
1104
+ const n = _$_.track(0, '1iawrhh');
1329
1105
 
1330
1106
  _$_.regular_block(() => {
1331
1107
  let __out = '';
@@ -1344,7 +1120,7 @@ export function IfThenOne() {
1344
1120
 
1345
1121
  export function SingleRootWithIf() {
1346
1122
  return _$_.tsrx_element(() => {
1347
- const n = _$_.track(0, '63d962e3');
1123
+ const n = _$_.track(0, 'rpd5nn');
1348
1124
 
1349
1125
  _$_.regular_block(() => {
1350
1126
  let __out = '';
@@ -1363,7 +1139,7 @@ export function SingleRootWithIf() {
1363
1139
 
1364
1140
  export function WrapIfOnly() {
1365
1141
  return _$_.tsrx_element(() => {
1366
- const n = _$_.track(0, '83c8f19d');
1142
+ const n = _$_.track(0, '10kd2fx');
1367
1143
 
1368
1144
  _$_.regular_block(() => {
1369
1145
  let __out = '';
@@ -1379,15 +1155,7 @@ export function WrapIfOnly() {
1379
1155
  _$_.render_component(comp, ...args);
1380
1156
  }
1381
1157
 
1382
- __out += '<span class="after">';
1383
-
1384
- {
1385
- _$_.output_push(__out);
1386
- __out = '';
1387
- _$_.render_expression(n.value);
1388
- }
1389
-
1390
- __out += '</span><button class="outer-inc">outer</button></div>';
1158
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1391
1159
  _$_.output_push(__out);
1392
1160
  });
1393
1161
  });
@@ -1395,7 +1163,7 @@ export function WrapIfOnly() {
1395
1163
 
1396
1164
  export function WrapIfThenOne() {
1397
1165
  return _$_.tsrx_element(() => {
1398
- const n = _$_.track(0, '2cee9a57');
1166
+ const n = _$_.track(0, 'cgtahj');
1399
1167
 
1400
1168
  _$_.regular_block(() => {
1401
1169
  let __out = '';
@@ -1411,15 +1179,7 @@ export function WrapIfThenOne() {
1411
1179
  _$_.render_component(comp, ...args);
1412
1180
  }
1413
1181
 
1414
- __out += '<span class="after">';
1415
-
1416
- {
1417
- _$_.output_push(__out);
1418
- __out = '';
1419
- _$_.render_expression(n.value);
1420
- }
1421
-
1422
- __out += '</span><button class="outer-inc">outer</button></div>';
1182
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1423
1183
  _$_.output_push(__out);
1424
1184
  });
1425
1185
  });
@@ -1427,7 +1187,7 @@ export function WrapIfThenOne() {
1427
1187
 
1428
1188
  export function WrapSingleRootWithIf() {
1429
1189
  return _$_.tsrx_element(() => {
1430
- const n = _$_.track(0, 'c179a57b');
1190
+ const n = _$_.track(0, '1hoki9n');
1431
1191
 
1432
1192
  _$_.regular_block(() => {
1433
1193
  let __out = '';
@@ -1443,15 +1203,7 @@ export function WrapSingleRootWithIf() {
1443
1203
  _$_.render_component(comp, ...args);
1444
1204
  }
1445
1205
 
1446
- __out += '<span class="after">';
1447
-
1448
- {
1449
- _$_.output_push(__out);
1450
- __out = '';
1451
- _$_.render_expression(n.value);
1452
- }
1453
-
1454
- __out += '</span><button class="outer-inc">outer</button></div>';
1206
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1455
1207
  _$_.output_push(__out);
1456
1208
  });
1457
1209
  });
@@ -1459,7 +1211,7 @@ export function WrapSingleRootWithIf() {
1459
1211
 
1460
1212
  export function ExprThenSiblingInDiv() {
1461
1213
  return _$_.tsrx_element(() => {
1462
- const n = _$_.track(0, 'db1d59ee');
1214
+ const n = _$_.track(0, '1osob1q');
1463
1215
  const label = 'label';
1464
1216
 
1465
1217
  _$_.regular_block(() => {
@@ -1469,15 +1221,7 @@ export function ExprThenSiblingInDiv() {
1469
1221
  _$_.output_push(__out);
1470
1222
  __out = '';
1471
1223
  _$_.render_expression(label.toUpperCase());
1472
- __out += '<span class="after">';
1473
-
1474
- {
1475
- _$_.output_push(__out);
1476
- __out = '';
1477
- _$_.render_expression(n.value);
1478
- }
1479
-
1480
- __out += '</span><button class="outer-inc">outer</button></div>';
1224
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1481
1225
  _$_.output_push(__out);
1482
1226
  });
1483
1227
  });
@@ -1485,7 +1229,7 @@ export function ExprThenSiblingInDiv() {
1485
1229
 
1486
1230
  export function IfTwoThenStatic() {
1487
1231
  return _$_.tsrx_element(() => {
1488
- const n = _$_.track(0, 'd8310b12');
1232
+ const n = _$_.track(0, '1nzh6oi');
1489
1233
 
1490
1234
  _$_.regular_block(() => {
1491
1235
  let __out = '';
@@ -1504,7 +1248,7 @@ export function IfTwoThenStatic() {
1504
1248
 
1505
1249
  export function IfTwoInDiv() {
1506
1250
  return _$_.tsrx_element(() => {
1507
- const n = _$_.track(0, '0c602c2f');
1251
+ const n = _$_.track(0, '3fm7u7');
1508
1252
 
1509
1253
  _$_.regular_block(() => {
1510
1254
  let __out = '';
@@ -1515,15 +1259,7 @@ export function IfTwoInDiv() {
1515
1259
  __out += '<b class="if">x</b><i class="if2">y</i>';
1516
1260
  }
1517
1261
 
1518
- __out += '<!--]--><span class="after">';
1519
-
1520
- {
1521
- _$_.output_push(__out);
1522
- __out = '';
1523
- _$_.render_expression(n.value);
1524
- }
1525
-
1526
- __out += '</span><button class="outer-inc">outer</button></div>';
1262
+ __out += '<!--]--><span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1527
1263
  _$_.output_push(__out);
1528
1264
  });
1529
1265
  });
@@ -1531,7 +1267,7 @@ export function IfTwoInDiv() {
1531
1267
 
1532
1268
  export function WrapIfTwoThenStatic() {
1533
1269
  return _$_.tsrx_element(() => {
1534
- const n = _$_.track(0, 'cd8f8438');
1270
+ const n = _$_.track(0, '1l1acs8');
1535
1271
 
1536
1272
  _$_.regular_block(() => {
1537
1273
  let __out = '';
@@ -1547,15 +1283,7 @@ export function WrapIfTwoThenStatic() {
1547
1283
  _$_.render_component(comp, ...args);
1548
1284
  }
1549
1285
 
1550
- __out += '<span class="after">';
1551
-
1552
- {
1553
- _$_.output_push(__out);
1554
- __out = '';
1555
- _$_.render_expression(n.value);
1556
- }
1557
-
1558
- __out += '</span><button class="outer-inc">outer</button></div>';
1286
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1559
1287
  _$_.output_push(__out);
1560
1288
  });
1561
1289
  });
@@ -1624,7 +1352,7 @@ export function StaticThenStyleThenStatic() {
1624
1352
 
1625
1353
  export function WrapStaticCallThenStatic() {
1626
1354
  return _$_.tsrx_element(() => {
1627
- const n = _$_.track(0, '4513c76f');
1355
+ const n = _$_.track(0, 'j5zrlb');
1628
1356
 
1629
1357
  _$_.regular_block(() => {
1630
1358
  let __out = '';
@@ -1640,23 +1368,39 @@ export function WrapStaticCallThenStatic() {
1640
1368
  _$_.render_component(comp, ...args);
1641
1369
  }
1642
1370
 
1643
- __out += '<span class="after">';
1371
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1372
+ _$_.output_push(__out);
1373
+ });
1374
+ });
1375
+ }
1376
+
1377
+ export function WrapStaticThenStyleThenStatic() {
1378
+ return _$_.tsrx_element(() => {
1379
+ const n = _$_.track(0, 'pw4k4f');
1380
+
1381
+ _$_.regular_block(() => {
1382
+ let __out = '';
1383
+
1384
+ __out += '<div class="outer">';
1644
1385
 
1645
1386
  {
1387
+ const comp = StaticThenStyleThenStatic;
1388
+ const args = [{}];
1389
+
1646
1390
  _$_.output_push(__out);
1647
1391
  __out = '';
1648
- _$_.render_expression(n.value);
1392
+ _$_.render_component(comp, ...args);
1649
1393
  }
1650
1394
 
1651
- __out += '</span><button class="outer-inc">outer</button></div>';
1395
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1652
1396
  _$_.output_push(__out);
1653
1397
  });
1654
1398
  });
1655
1399
  }
1656
1400
 
1657
- export function WrapStaticThenStyleThenStatic() {
1401
+ export function CompThenStaticInDiv() {
1658
1402
  return _$_.tsrx_element(() => {
1659
- const n = _$_.track(0, '5d5162df');
1403
+ const n = _$_.track(0, '1r4hpd1');
1660
1404
 
1661
1405
  _$_.regular_block(() => {
1662
1406
  let __out = '';
@@ -1664,7 +1408,7 @@ export function WrapStaticThenStyleThenStatic() {
1664
1408
  __out += '<div class="outer">';
1665
1409
 
1666
1410
  {
1667
- const comp = StaticThenStyleThenStatic;
1411
+ const comp = Leaf;
1668
1412
  const args = [{}];
1669
1413
 
1670
1414
  _$_.output_push(__out);
@@ -1672,15 +1416,119 @@ export function WrapStaticThenStyleThenStatic() {
1672
1416
  _$_.render_component(comp, ...args);
1673
1417
  }
1674
1418
 
1675
- __out += '<span class="after">';
1419
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1420
+ _$_.output_push(__out);
1421
+ });
1422
+ });
1423
+ }
1424
+
1425
+ export function SiblingCompsInDiv() {
1426
+ return _$_.tsrx_element(() => {
1427
+ const n = _$_.track(0, 'qa5dkx');
1428
+
1429
+ _$_.regular_block(() => {
1430
+ let __out = '';
1431
+
1432
+ __out += '<div class="outer">';
1676
1433
 
1677
1434
  {
1435
+ const comp = Leaf;
1436
+ const args = [{}];
1437
+
1438
+ _$_.output_push(__out);
1439
+ __out = '';
1440
+ _$_.render_component(comp, ...args);
1441
+ }
1442
+
1443
+ {
1444
+ const comp = Leaf;
1445
+ const args = [{}];
1446
+
1678
1447
  _$_.output_push(__out);
1679
1448
  __out = '';
1680
- _$_.render_expression(n.value);
1449
+ _$_.render_component(comp, ...args);
1450
+ }
1451
+
1452
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1453
+ _$_.output_push(__out);
1454
+ });
1455
+ });
1456
+ }
1457
+
1458
+ export function IfSwapThenStaticInDiv() {
1459
+ return _$_.tsrx_element(() => {
1460
+ const n = _$_.track(0, '155m7jb');
1461
+
1462
+ _$_.regular_block(() => {
1463
+ let __out = '';
1464
+
1465
+ __out += '<div class="outer"><!--[-->';
1466
+
1467
+ if (n.value % 2 === 0) {
1468
+ __out += '<b class="even">even</b>';
1469
+ } else {
1470
+ __out += '<i class="odd">odd</i>';
1471
+ }
1472
+
1473
+ __out += '<!--]--><span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1474
+ _$_.output_push(__out);
1475
+ });
1476
+ });
1477
+ }
1478
+
1479
+ export function ForThenStaticInDiv() {
1480
+ return _$_.tsrx_element(() => {
1481
+ const n = _$_.track(0, '1ve0yjw');
1482
+ const items = [1, 2];
1483
+
1484
+ _$_.regular_block(() => {
1485
+ let __out = '';
1486
+
1487
+ __out += '<div class="outer"><!--[-->';
1488
+
1489
+ for (const item of items) {
1490
+ __out += '<b class="item">';
1491
+
1492
+ {
1493
+ _$_.output_push(__out);
1494
+ __out = '';
1495
+ _$_.render_expression(item);
1496
+ }
1497
+
1498
+ __out += '</b>';
1499
+ }
1500
+
1501
+ __out += '<!--]--><span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1502
+ _$_.output_push(__out);
1503
+ });
1504
+ });
1505
+ }
1506
+
1507
+ export function CompThenStatementThenStaticInDiv() {
1508
+ return _$_.tsrx_element(() => {
1509
+ const n = _$_.track(0, '178iuvb');
1510
+
1511
+ _$_.regular_block(() => {
1512
+ let __out = '';
1513
+
1514
+ __out += '<div class="outer">';
1515
+
1516
+ {
1517
+ const comp = Leaf;
1518
+ const args = [{}];
1519
+
1520
+ _$_.output_push(__out);
1521
+ __out = '';
1522
+ _$_.render_component(comp, ...args);
1523
+ }
1524
+
1525
+ {
1526
+ const label = 'after';
1527
+
1528
+ console.assert(label === 'after');
1681
1529
  }
1682
1530
 
1683
- __out += '</span><button class="outer-inc">outer</button></div>';
1531
+ __out += '<span class="after">' + _$_.escape(n.value) + '</span><button class="outer-inc">outer</button></div>';
1684
1532
  _$_.output_push(__out);
1685
1533
  });
1686
1534
  });