ripple 0.3.64 → 0.3.66

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 (63) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/package.json +3 -3
  3. package/src/jsx-runtime.d.ts +17 -3
  4. package/src/runtime/index-client.js +47 -8
  5. package/src/runtime/index-server.js +0 -2
  6. package/src/runtime/internal/client/index.js +5 -0
  7. package/src/runtime/internal/client/runtime.js +111 -11
  8. package/src/runtime/internal/client/types.d.ts +5 -0
  9. package/src/runtime/internal/server/blocks.js +1 -0
  10. package/src/runtime/internal/server/index.js +175 -20
  11. package/src/utils/errors.js +13 -0
  12. package/tests/client/async-suspend.test.tsrx +2 -2
  13. package/tests/client/basic/basic.get-set.test.tsrx +26 -26
  14. package/tests/client/compiler/__snapshots__/compiler.assignments.test.rsrx.snap +1 -1
  15. package/tests/client/compiler/__snapshots__/compiler.assignments.test.tsrx.snap +1 -1
  16. package/tests/client/compiler/compiler.assignments.test.tsrx +80 -0
  17. package/tests/client/compiler/compiler.tracked-access.test.tsrx +52 -8
  18. package/tests/client/compiler/compiler.typescript.test.tsrx +23 -0
  19. package/tests/client/lazy-array.test.tsrx +34 -0
  20. package/tests/client/lazy-destructuring.test.tsrx +79 -8
  21. package/tests/client/tracked-index-access.test.tsrx +113 -0
  22. package/tests/client/tsx.test.tsrx +66 -21
  23. package/tests/hydration/compiled/client/basic.js +2 -2
  24. package/tests/hydration/compiled/client/events.js +9 -9
  25. package/tests/hydration/compiled/client/for.js +50 -54
  26. package/tests/hydration/compiled/client/head.js +9 -9
  27. package/tests/hydration/compiled/client/hmr.js +1 -1
  28. package/tests/hydration/compiled/client/html.js +2 -2
  29. package/tests/hydration/compiled/client/if-children.js +14 -14
  30. package/tests/hydration/compiled/client/if.js +10 -10
  31. package/tests/hydration/compiled/client/mixed-control-flow.js +7 -7
  32. package/tests/hydration/compiled/client/portal.js +2 -2
  33. package/tests/hydration/compiled/client/reactivity.js +7 -7
  34. package/tests/hydration/compiled/client/return.js +37 -37
  35. package/tests/hydration/compiled/client/switch.js +8 -8
  36. package/tests/hydration/compiled/client/track-async-serialization.js +12 -12
  37. package/tests/hydration/compiled/client/try.js +116 -33
  38. package/tests/hydration/compiled/server/basic.js +2 -2
  39. package/tests/hydration/compiled/server/events.js +8 -8
  40. package/tests/hydration/compiled/server/for.js +21 -21
  41. package/tests/hydration/compiled/server/head.js +10 -10
  42. package/tests/hydration/compiled/server/hmr.js +1 -1
  43. package/tests/hydration/compiled/server/html.js +1 -1
  44. package/tests/hydration/compiled/server/if-children.js +9 -9
  45. package/tests/hydration/compiled/server/if.js +6 -6
  46. package/tests/hydration/compiled/server/mixed-control-flow.js +4 -4
  47. package/tests/hydration/compiled/server/portal.js +1 -1
  48. package/tests/hydration/compiled/server/reactivity.js +7 -7
  49. package/tests/hydration/compiled/server/return.js +14 -14
  50. package/tests/hydration/compiled/server/switch.js +4 -4
  51. package/tests/hydration/compiled/server/track-async-serialization.js +12 -12
  52. package/tests/hydration/compiled/server/try.js +116 -4
  53. package/tests/hydration/components/basic.tsrx +3 -1
  54. package/tests/hydration/components/try.tsrx +26 -0
  55. package/tests/hydration/try.test.js +100 -1
  56. package/tests/server/await.test.tsrx +1 -1
  57. package/tests/server/basic.test.tsrx +3 -1
  58. package/tests/server/compiler.test.tsrx +109 -0
  59. package/tests/server/lazy-destructuring.test.tsrx +62 -0
  60. package/tests/server/tracked-index-access.test.tsrx +76 -0
  61. package/tests/setup-hydration.js +31 -0
  62. package/types/index.d.ts +11 -9
  63. package/types/server.d.ts +2 -1
@@ -114,7 +114,7 @@ export function ForLoopWithIndex(__anchor, _, __block) {
114
114
  {
115
115
  var expression_1 = _$_.child(li_2);
116
116
 
117
- _$_.expression(expression_1, () => `${_$_.get(i)}: ${item}`);
117
+ _$_.expression(expression_1, () => `${i.value}: ${item}`);
118
118
  _$_.pop(li_2);
119
119
  }
120
120
 
@@ -176,7 +176,7 @@ export function ReactiveForLoopAdd(__anchor, _, __block) {
176
176
  var button_1 = _$_.first_child_frag(fragment);
177
177
 
178
178
  button_1.__click = () => {
179
- _$_.set(lazy, [..._$_.get(lazy), 'C']);
179
+ _$_.set(lazy, [...lazy.value, 'C']);
180
180
  };
181
181
 
182
182
  var ul_4 = _$_.sibling(button_1);
@@ -184,7 +184,7 @@ export function ReactiveForLoopAdd(__anchor, _, __block) {
184
184
  {
185
185
  _$_.for(
186
186
  ul_4,
187
- () => _$_.get(lazy),
187
+ () => lazy.value,
188
188
  (__anchor, item) => {
189
189
  var li_4 = root_7();
190
190
 
@@ -216,7 +216,7 @@ export function ReactiveForLoopRemove(__anchor, _, __block) {
216
216
  var button_2 = _$_.first_child_frag(fragment_1);
217
217
 
218
218
  button_2.__click = () => {
219
- _$_.set(lazy_1, _$_.with_scope(__block, () => _$_.get(lazy_1).slice(0, -1)));
219
+ _$_.set(lazy_1, _$_.with_scope(__block, () => lazy_1.value.slice(0, -1)));
220
220
  };
221
221
 
222
222
  var ul_5 = _$_.sibling(button_2);
@@ -224,7 +224,7 @@ export function ReactiveForLoopRemove(__anchor, _, __block) {
224
224
  {
225
225
  _$_.for(
226
226
  ul_5,
227
- () => _$_.get(lazy_1),
227
+ () => lazy_1.value,
228
228
  (__anchor, item) => {
229
229
  var li_5 = root_9();
230
230
 
@@ -257,7 +257,7 @@ export function ForLoopInteractive(__anchor, _, __block) {
257
257
  {
258
258
  _$_.for(
259
259
  div_1,
260
- () => _$_.get(lazy_2),
260
+ () => lazy_2.value,
261
261
  (__anchor, count, i) => {
262
262
  var div_2 = root_11();
263
263
 
@@ -274,15 +274,15 @@ export function ForLoopInteractive(__anchor, _, __block) {
274
274
  var button_3 = _$_.sibling(span_1);
275
275
 
276
276
  button_3.__click = () => {
277
- const newCounts = [..._$_.get(lazy_2)];
277
+ const newCounts = [...lazy_2.value];
278
278
 
279
- newCounts[_$_.get(i)]++;
279
+ newCounts[i.value]++;
280
280
  _$_.set(lazy_2, newCounts);
281
281
  };
282
282
  }
283
283
 
284
284
  _$_.render(() => {
285
- _$_.set_class(div_2, `item-${_$_.get(i)}`, void 0, true);
285
+ _$_.set_class(div_2, `item-${i.value}`, void 0, true);
286
286
  });
287
287
 
288
288
  _$_.append(__anchor, div_2);
@@ -325,7 +325,7 @@ export function NestedForLoop(__anchor, _, __block) {
325
325
  }
326
326
 
327
327
  _$_.render(() => {
328
- _$_.set_class(span_2, `cell-${_$_.get(rowIndex)}-${_$_.get(colIndex)}`, void 0, true);
328
+ _$_.set_class(span_2, `cell-${rowIndex.value}-${colIndex.value}`, void 0, true);
329
329
  });
330
330
 
331
331
  _$_.append(__anchor, span_2);
@@ -336,7 +336,7 @@ export function NestedForLoop(__anchor, _, __block) {
336
336
  _$_.pop(div_4);
337
337
 
338
338
  _$_.render(() => {
339
- _$_.set_class(div_4, `row-${_$_.get(rowIndex)}`, void 0, true);
339
+ _$_.set_class(div_4, `row-${rowIndex.value}`, void 0, true);
340
340
  });
341
341
  }
342
342
 
@@ -455,7 +455,7 @@ export function KeyedForLoopReorder(__anchor, _, __block) {
455
455
  var button_4 = _$_.first_child_frag(fragment_2);
456
456
 
457
457
  button_4.__click = () => {
458
- _$_.set(lazy_3, [_$_.get(lazy_3)[2], _$_.get(lazy_3)[0], _$_.get(lazy_3)[1]]);
458
+ _$_.set(lazy_3, [lazy_3.value[2], lazy_3.value[0], lazy_3.value[1]]);
459
459
  };
460
460
 
461
461
  var ul_6 = _$_.sibling(button_4);
@@ -463,7 +463,7 @@ export function KeyedForLoopReorder(__anchor, _, __block) {
463
463
  {
464
464
  _$_.for_keyed(
465
465
  ul_6,
466
- () => _$_.get(lazy_3),
466
+ () => lazy_3.value,
467
467
  (__anchor, pattern_2) => {
468
468
  var li_6 = root_20();
469
469
 
@@ -500,7 +500,7 @@ export function KeyedForLoopUpdate(__anchor, _, __block) {
500
500
  var button_5 = _$_.first_child_frag(fragment_3);
501
501
 
502
502
  button_5.__click = () => {
503
- _$_.set(lazy_4, _$_.with_scope(__block, () => _$_.get(lazy_4).map((item) => item.id === 1 ? { ...item, name: 'Updated' } : item)));
503
+ _$_.set(lazy_4, _$_.with_scope(__block, () => lazy_4.value.map((item) => item.id === 1 ? { ...item, name: 'Updated' } : item)));
504
504
  };
505
505
 
506
506
  var ul_7 = _$_.sibling(button_5);
@@ -508,7 +508,7 @@ export function KeyedForLoopUpdate(__anchor, _, __block) {
508
508
  {
509
509
  _$_.for_keyed(
510
510
  ul_7,
511
- () => _$_.get(lazy_4),
511
+ () => lazy_4.value,
512
512
  (__anchor, pattern_3) => {
513
513
  var li_7 = root_22();
514
514
 
@@ -553,7 +553,7 @@ export function ForLoopMixedOperations(__anchor, _, __block) {
553
553
  {
554
554
  _$_.for(
555
555
  ul_8,
556
- () => _$_.get(lazy_5),
556
+ () => lazy_5.value,
557
557
  (__anchor, item) => {
558
558
  var li_8 = root_24();
559
559
 
@@ -588,13 +588,13 @@ export function ForLoopInsideIf(__anchor, _, __block) {
588
588
  var button_7 = _$_.first_child_frag(fragment_5);
589
589
 
590
590
  button_7.__click = () => {
591
- _$_.set(lazy_6, !_$_.get(lazy_6));
591
+ _$_.set(lazy_6, !lazy_6.value);
592
592
  };
593
593
 
594
594
  var button_8 = _$_.sibling(button_7);
595
595
 
596
596
  button_8.__click = () => {
597
- _$_.set(lazy_7, [..._$_.get(lazy_7), 'W']);
597
+ _$_.set(lazy_7, [...lazy_7.value, 'W']);
598
598
  };
599
599
 
600
600
  var node = _$_.sibling(button_8);
@@ -606,7 +606,7 @@ export function ForLoopInsideIf(__anchor, _, __block) {
606
606
  {
607
607
  _$_.for(
608
608
  ul_9,
609
- () => _$_.get(lazy_7),
609
+ () => lazy_7.value,
610
610
  (__anchor, item) => {
611
611
  var li_9 = root_27();
612
612
 
@@ -629,7 +629,7 @@ export function ForLoopInsideIf(__anchor, _, __block) {
629
629
  };
630
630
 
631
631
  _$_.if(node, (__render) => {
632
- if (_$_.get(lazy_6)) __render(consequent);
632
+ if (lazy_6.value) __render(consequent);
633
633
  });
634
634
  }
635
635
 
@@ -653,7 +653,7 @@ export function ForLoopEmptyToPopulated(__anchor, _, __block) {
653
653
  {
654
654
  _$_.for(
655
655
  ul_10,
656
- () => _$_.get(lazy_8),
656
+ () => lazy_8.value,
657
657
  (__anchor, item) => {
658
658
  var li_10 = root_29();
659
659
 
@@ -693,7 +693,7 @@ export function ForLoopPopulatedToEmpty(__anchor, _, __block) {
693
693
  {
694
694
  _$_.for(
695
695
  ul_11,
696
- () => _$_.get(lazy_9),
696
+ () => lazy_9.value,
697
697
  (__anchor, item) => {
698
698
  var li_11 = root_31();
699
699
 
@@ -725,13 +725,13 @@ export function NestedForLoopReactive(__anchor, _, __block) {
725
725
  var button_11 = _$_.first_child_frag(fragment_8);
726
726
 
727
727
  button_11.__click = () => {
728
- _$_.set(lazy_10, [..._$_.get(lazy_10), [5, 6]]);
728
+ _$_.set(lazy_10, [...lazy_10.value, [5, 6]]);
729
729
  };
730
730
 
731
731
  var button_12 = _$_.sibling(button_11);
732
732
 
733
733
  button_12.__click = () => {
734
- const newGrid = _$_.with_scope(__block, () => _$_.get(lazy_10).map((row) => [...row]));
734
+ const newGrid = _$_.with_scope(__block, () => lazy_10.value.map((row) => [...row]));
735
735
 
736
736
  newGrid[0][0] = 99;
737
737
  _$_.set(lazy_10, newGrid);
@@ -742,7 +742,7 @@ export function NestedForLoopReactive(__anchor, _, __block) {
742
742
  {
743
743
  _$_.for(
744
744
  div_8,
745
- () => _$_.get(lazy_10),
745
+ () => lazy_10.value,
746
746
  (__anchor, row, rowIndex) => {
747
747
  var div_9 = root_33();
748
748
 
@@ -761,7 +761,7 @@ export function NestedForLoopReactive(__anchor, _, __block) {
761
761
  }
762
762
 
763
763
  _$_.render(() => {
764
- _$_.set_class(span_6, `cell-${_$_.get(rowIndex)}-${_$_.get(colIndex)}`, void 0, true);
764
+ _$_.set_class(span_6, `cell-${rowIndex.value}-${colIndex.value}`, void 0, true);
765
765
  });
766
766
 
767
767
  _$_.append(__anchor, span_6);
@@ -772,7 +772,7 @@ export function NestedForLoopReactive(__anchor, _, __block) {
772
772
  _$_.pop(div_9);
773
773
 
774
774
  _$_.render(() => {
775
- _$_.set_class(div_9, `row-${_$_.get(rowIndex)}`, void 0, true);
775
+ _$_.set_class(div_9, `row-${rowIndex.value}`, void 0, true);
776
776
  });
777
777
  }
778
778
 
@@ -909,7 +909,7 @@ export function ForLoopIndexUpdate(__anchor, _, __block) {
909
909
  var button_13 = _$_.first_child_frag(fragment_9);
910
910
 
911
911
  button_13.__click = () => {
912
- _$_.set(lazy_11, ['Zeroth', ..._$_.get(lazy_11)]);
912
+ _$_.set(lazy_11, ['Zeroth', ...lazy_11.value]);
913
913
  };
914
914
 
915
915
  var ul_13 = _$_.sibling(button_13);
@@ -917,19 +917,19 @@ export function ForLoopIndexUpdate(__anchor, _, __block) {
917
917
  {
918
918
  _$_.for(
919
919
  ul_13,
920
- () => _$_.get(lazy_11),
920
+ () => lazy_11.value,
921
921
  (__anchor, item, i) => {
922
922
  var li_13 = root_40();
923
923
 
924
924
  {
925
925
  var expression_20 = _$_.child(li_13);
926
926
 
927
- _$_.expression(expression_20, () => `[${_$_.get(i)}] ${item}`);
927
+ _$_.expression(expression_20, () => `[${i.value}] ${item}`);
928
928
  _$_.pop(li_13);
929
929
  }
930
930
 
931
931
  _$_.render(() => {
932
- _$_.set_class(li_13, `item-${_$_.get(i)}`, void 0, true);
932
+ _$_.set_class(li_13, `item-${i.value}`, void 0, true);
933
933
  });
934
934
 
935
935
  _$_.append(__anchor, li_13);
@@ -962,11 +962,7 @@ export function KeyedForLoopWithIndex(__anchor, _, __block) {
962
962
  var button_14 = _$_.first_child_frag(fragment_10);
963
963
 
964
964
  button_14.__click = () => {
965
- _$_.set(lazy_12, [
966
- _$_.get(lazy_12)[1],
967
- _$_.get(lazy_12)[2],
968
- _$_.get(lazy_12)[0]
969
- ]);
965
+ _$_.set(lazy_12, [lazy_12.value[1], lazy_12.value[2], lazy_12.value[0]]);
970
966
  };
971
967
 
972
968
  var ul_14 = _$_.sibling(button_14);
@@ -974,20 +970,20 @@ export function KeyedForLoopWithIndex(__anchor, _, __block) {
974
970
  {
975
971
  _$_.for_keyed(
976
972
  ul_14,
977
- () => _$_.get(lazy_12),
973
+ () => lazy_12.value,
978
974
  (__anchor, pattern_6, i) => {
979
975
  var li_14 = root_42();
980
976
 
981
977
  {
982
978
  var expression_21 = _$_.child(li_14);
983
979
 
984
- _$_.expression(expression_21, () => `[${_$_.get(i)}] ${_$_.get(pattern_6).id}: ${_$_.get(pattern_6).value}`);
980
+ _$_.expression(expression_21, () => `[${i.value}] ${_$_.get(pattern_6).id}: ${_$_.get(pattern_6).value}`);
985
981
  _$_.pop(li_14);
986
982
  }
987
983
 
988
984
  _$_.render(
989
985
  (__prev) => {
990
- var __a = _$_.get(i);
986
+ var __a = i.value;
991
987
 
992
988
  if (__prev.a !== __a) {
993
989
  _$_.set_attribute(li_14, 'data-index', __prev.a = __a);
@@ -1029,7 +1025,7 @@ export function ForLoopWithSiblings(__anchor, _, __block) {
1029
1025
 
1030
1026
  _$_.for(
1031
1027
  node_2,
1032
- () => _$_.get(lazy_13),
1028
+ () => lazy_13.value,
1033
1029
  (__anchor, item) => {
1034
1030
  var div_14 = root_44();
1035
1031
 
@@ -1053,7 +1049,7 @@ export function ForLoopWithSiblings(__anchor, _, __block) {
1053
1049
  var button_15 = _$_.sibling(div_13);
1054
1050
 
1055
1051
  button_15.__click = () => {
1056
- _$_.set(lazy_13, [..._$_.get(lazy_13), 'C']);
1052
+ _$_.set(lazy_13, [...lazy_13.value, 'C']);
1057
1053
  };
1058
1054
 
1059
1055
  _$_.next();
@@ -1132,13 +1128,13 @@ function TodoItem(__anchor, props, __block) {
1132
1128
 
1133
1129
  _$_.render(
1134
1130
  (__prev) => {
1135
- var __a = _$_.get(lazy_14);
1131
+ var __a = lazy_14.value;
1136
1132
 
1137
1133
  if (__prev.a !== __a) {
1138
1134
  _$_.set_checked(input_1, __prev.a = __a);
1139
1135
  }
1140
1136
 
1141
- var __b = _$_.get(lazy_14) ? 'completed' : 'pending';
1137
+ var __b = lazy_14.value ? 'completed' : 'pending';
1142
1138
 
1143
1139
  if (__prev.b !== __b) {
1144
1140
  _$_.set_class(span_7, __prev.b = __b, void 0, true);
@@ -1197,7 +1193,7 @@ export function ForLoopAddAtBeginning(__anchor, _, __block) {
1197
1193
  var button_16 = _$_.first_child_frag(fragment_13);
1198
1194
 
1199
1195
  button_16.__click = () => {
1200
- _$_.set(lazy_15, ['A', ..._$_.get(lazy_15)]);
1196
+ _$_.set(lazy_15, ['A', ...lazy_15.value]);
1201
1197
  };
1202
1198
 
1203
1199
  var ul_16 = _$_.sibling(button_16);
@@ -1205,7 +1201,7 @@ export function ForLoopAddAtBeginning(__anchor, _, __block) {
1205
1201
  {
1206
1202
  _$_.for(
1207
1203
  ul_16,
1208
- () => _$_.get(lazy_15),
1204
+ () => lazy_15.value,
1209
1205
  (__anchor, item) => {
1210
1206
  var li_16 = root_51();
1211
1207
 
@@ -1239,7 +1235,7 @@ export function ForLoopAddInMiddle(__anchor, _, __block) {
1239
1235
  var button_17 = _$_.first_child_frag(fragment_14);
1240
1236
 
1241
1237
  button_17.__click = () => {
1242
- const copy = [..._$_.get(lazy_16)];
1238
+ const copy = [...lazy_16.value];
1243
1239
 
1244
1240
  _$_.with_scope(__block, () => copy.splice(1, 0, 'B'));
1245
1241
  _$_.set(lazy_16, copy);
@@ -1250,7 +1246,7 @@ export function ForLoopAddInMiddle(__anchor, _, __block) {
1250
1246
  {
1251
1247
  _$_.for(
1252
1248
  ul_17,
1253
- () => _$_.get(lazy_16),
1249
+ () => lazy_16.value,
1254
1250
  (__anchor, item) => {
1255
1251
  var li_17 = root_53();
1256
1252
 
@@ -1284,7 +1280,7 @@ export function ForLoopRemoveFromMiddle(__anchor, _, __block) {
1284
1280
  var button_18 = _$_.first_child_frag(fragment_15);
1285
1281
 
1286
1282
  button_18.__click = () => {
1287
- _$_.set(lazy_17, _$_.with_scope(__block, () => _$_.get(lazy_17).filter((item) => item !== 'B')));
1283
+ _$_.set(lazy_17, _$_.with_scope(__block, () => lazy_17.value.filter((item) => item !== 'B')));
1288
1284
  };
1289
1285
 
1290
1286
  var ul_18 = _$_.sibling(button_18);
@@ -1292,7 +1288,7 @@ export function ForLoopRemoveFromMiddle(__anchor, _, __block) {
1292
1288
  {
1293
1289
  _$_.for(
1294
1290
  ul_18,
1295
- () => _$_.get(lazy_17),
1291
+ () => lazy_17.value,
1296
1292
  (__anchor, item) => {
1297
1293
  var li_18 = root_55();
1298
1294
 
@@ -1339,7 +1335,7 @@ export function ForLoopLargeList(__anchor, _, __block) {
1339
1335
  }
1340
1336
 
1341
1337
  _$_.render(() => {
1342
- _$_.set_class(li_19, `item-${_$_.get(i)}`, void 0, true);
1338
+ _$_.set_class(li_19, `item-${i.value}`, void 0, true);
1343
1339
  });
1344
1340
 
1345
1341
  _$_.append(__anchor, li_19);
@@ -1362,7 +1358,7 @@ export function ForLoopSwap(__anchor, _, __block) {
1362
1358
  var button_19 = _$_.first_child_frag(fragment_16);
1363
1359
 
1364
1360
  button_19.__click = () => {
1365
- const copy = [..._$_.get(lazy_18)];
1361
+ const copy = [...lazy_18.value];
1366
1362
 
1367
1363
  [copy[0], copy[3]] = [copy[3], copy[0]];
1368
1364
  _$_.set(lazy_18, copy);
@@ -1373,7 +1369,7 @@ export function ForLoopSwap(__anchor, _, __block) {
1373
1369
  {
1374
1370
  _$_.for(
1375
1371
  ul_20,
1376
- () => _$_.get(lazy_18),
1372
+ () => lazy_18.value,
1377
1373
  (__anchor, item) => {
1378
1374
  var li_20 = root_59();
1379
1375
 
@@ -1407,7 +1403,7 @@ export function ForLoopReverse(__anchor, _, __block) {
1407
1403
  var button_20 = _$_.first_child_frag(fragment_17);
1408
1404
 
1409
1405
  button_20.__click = () => {
1410
- _$_.set(lazy_19, _$_.with_scope(__block, () => [..._$_.get(lazy_19)].reverse()));
1406
+ _$_.set(lazy_19, _$_.with_scope(__block, () => [...lazy_19.value].reverse()));
1411
1407
  };
1412
1408
 
1413
1409
  var ul_21 = _$_.sibling(button_20);
@@ -1415,7 +1411,7 @@ export function ForLoopReverse(__anchor, _, __block) {
1415
1411
  {
1416
1412
  _$_.for(
1417
1413
  ul_21,
1418
- () => _$_.get(lazy_19),
1414
+ () => lazy_19.value,
1419
1415
  (__anchor, item) => {
1420
1416
  var li_21 = root_61();
1421
1417
 
@@ -42,14 +42,14 @@ export function ReactiveTitle(__anchor, _, __block) {
42
42
  {
43
43
  var expression = _$_.child(span_1);
44
44
 
45
- _$_.expression(expression, () => _$_.get(lazy));
45
+ _$_.expression(expression, () => lazy.value);
46
46
  _$_.pop(span_1);
47
47
  }
48
48
  }
49
49
 
50
50
  _$_.head('8af28792', (__anchor) => {
51
51
  _$_.render(() => {
52
- _$_.document.title = _$_.get(lazy);
52
+ _$_.document.title = lazy.value;
53
53
  });
54
54
  });
55
55
 
@@ -83,7 +83,7 @@ export function ReactiveMetaTags(__anchor, _, __block) {
83
83
  {
84
84
  var expression_1 = _$_.child(div_4);
85
85
 
86
- _$_.expression(expression_1, () => _$_.get(lazy_1));
86
+ _$_.expression(expression_1, () => lazy_1.value);
87
87
  _$_.pop(div_4);
88
88
  }
89
89
 
@@ -108,13 +108,13 @@ export function TitleWithTemplate(__anchor, _, __block) {
108
108
  {
109
109
  var expression_2 = _$_.child(div_5);
110
110
 
111
- _$_.expression(expression_2, () => _$_.get(lazy_2));
111
+ _$_.expression(expression_2, () => lazy_2.value);
112
112
  _$_.pop(div_5);
113
113
  }
114
114
 
115
115
  _$_.head('72f81455', (__anchor) => {
116
116
  _$_.render(() => {
117
- _$_.document.title = `Hello ${_$_.get(lazy_2)}!`;
117
+ _$_.document.title = `Hello ${lazy_2.value}!`;
118
118
  });
119
119
  });
120
120
 
@@ -145,13 +145,13 @@ export function ConditionalTitle(__anchor, _, __block) {
145
145
  {
146
146
  var expression_3 = _$_.child(div_7);
147
147
 
148
- _$_.expression(expression_3, () => _$_.get(lazy_4));
148
+ _$_.expression(expression_3, () => lazy_4.value);
149
149
  _$_.pop(div_7);
150
150
  }
151
151
 
152
152
  _$_.head('453e9ed4', (__anchor) => {
153
153
  _$_.render(() => {
154
- _$_.document.title = _$_.get(lazy_3) ? 'App - ' + _$_.get(lazy_4) : _$_.get(lazy_4);
154
+ _$_.document.title = lazy_3.value ? 'App - ' + lazy_4.value : lazy_4.value;
155
155
  });
156
156
  });
157
157
 
@@ -172,14 +172,14 @@ export function ComputedTitle(__anchor, _, __block) {
172
172
  {
173
173
  var expression_4 = _$_.child(span_2);
174
174
 
175
- _$_.expression(expression_4, () => _$_.get(lazy_5));
175
+ _$_.expression(expression_4, () => lazy_5.value);
176
176
  _$_.pop(span_2);
177
177
  }
178
178
  }
179
179
 
180
180
  _$_.head('63888c83', (__anchor) => {
181
181
  _$_.render(() => {
182
- _$_.document.title = prefix + _$_.get(lazy_5);
182
+ _$_.document.title = prefix + lazy_5.value;
183
183
  });
184
184
  });
185
185
 
@@ -47,7 +47,7 @@ export function Content(__anchor, _, __block) {
47
47
  };
48
48
 
49
49
  _$_.if(node, (__render) => {
50
- if (_$_.get(lazy)) __render(consequent);
50
+ if (lazy.value) __render(consequent);
51
51
  });
52
52
  }
53
53
 
@@ -880,7 +880,7 @@ function SidebarSection(__anchor, { title, children }, __block) {
880
880
 
881
881
  var button_1 = _$_.sibling(h2_2);
882
882
 
883
- button_1.__click = () => _$_.set(lazy, !_$_.get(lazy));
883
+ button_1.__click = () => _$_.set(lazy, !lazy.value);
884
884
  }
885
885
 
886
886
  _$_.pop(div_29);
@@ -902,7 +902,7 @@ function SidebarSection(__anchor, { title, children }, __block) {
902
902
  };
903
903
 
904
904
  _$_.if(node_34, (__render) => {
905
- if (_$_.get(lazy)) __render(consequent_4);
905
+ if (lazy.value) __render(consequent_4);
906
906
  });
907
907
  }
908
908
 
@@ -33,7 +33,7 @@ export function IfWithChildren(__anchor, { children }, __block) {
33
33
  {
34
34
  var div_2 = _$_.child(div_1);
35
35
 
36
- div_2.__click = () => _$_.set(lazy, !_$_.get(lazy));
36
+ div_2.__click = () => _$_.set(lazy, !lazy.value);
37
37
 
38
38
  var node = _$_.sibling(div_2);
39
39
 
@@ -52,7 +52,7 @@ export function IfWithChildren(__anchor, { children }, __block) {
52
52
  };
53
53
 
54
54
  _$_.if(node, (__render) => {
55
- if (_$_.get(lazy)) __render(consequent);
55
+ if (lazy.value) __render(consequent);
56
56
  });
57
57
  }
58
58
 
@@ -116,7 +116,7 @@ export function IfWithStaticChildren(__anchor, _, __block) {
116
116
  {
117
117
  var div_6 = _$_.child(div_5);
118
118
 
119
- div_6.__click = () => _$_.set(lazy_1, !_$_.get(lazy_1));
119
+ div_6.__click = () => _$_.set(lazy_1, !lazy_1.value);
120
120
 
121
121
  var node_4 = _$_.sibling(div_6);
122
122
 
@@ -128,7 +128,7 @@ export function IfWithStaticChildren(__anchor, _, __block) {
128
128
  };
129
129
 
130
130
  _$_.if(node_4, (__render) => {
131
- if (_$_.get(lazy_1)) __render(consequent_1);
131
+ if (lazy_1.value) __render(consequent_1);
132
132
  });
133
133
  }
134
134
 
@@ -148,7 +148,7 @@ export function IfWithSiblingsAndChildren(__anchor, { children }, __block) {
148
148
  {
149
149
  var div_8 = _$_.child(section_1);
150
150
 
151
- div_8.__click = () => _$_.set(lazy_2, !_$_.get(lazy_2));
151
+ div_8.__click = () => _$_.set(lazy_2, !lazy_2.value);
152
152
  _$_.pop(div_8);
153
153
 
154
154
  var node_5 = _$_.sibling(div_8);
@@ -168,7 +168,7 @@ export function IfWithSiblingsAndChildren(__anchor, { children }, __block) {
168
168
  };
169
169
 
170
170
  _$_.if(node_5, (__render) => {
171
- if (_$_.get(lazy_2)) __render(consequent_2);
171
+ if (lazy_2.value) __render(consequent_2);
172
172
  });
173
173
  }
174
174
 
@@ -229,7 +229,7 @@ export function ElementWithChildrenThenIf(__anchor, _, __block) {
229
229
  };
230
230
 
231
231
  _$_.if(node_9, (__render) => {
232
- if (_$_.get(lazy_3)) __render(consequent_3);
232
+ if (lazy_3.value) __render(consequent_3);
233
233
  });
234
234
  }
235
235
 
@@ -238,7 +238,7 @@ export function ElementWithChildrenThenIf(__anchor, _, __block) {
238
238
 
239
239
  var button_1 = _$_.sibling(div_11);
240
240
 
241
- button_1.__click = () => _$_.set(lazy_3, !_$_.get(lazy_3));
241
+ button_1.__click = () => _$_.set(lazy_3, !lazy_3.value);
242
242
  _$_.next();
243
243
  _$_.append(__anchor, fragment_4, true);
244
244
  _$_.pop_component();
@@ -266,7 +266,7 @@ export function DeepNestingThenIf(__anchor, _, __block) {
266
266
  };
267
267
 
268
268
  _$_.if(node_10, (__render) => {
269
- if (_$_.get(lazy_4)) __render(consequent_4);
269
+ if (lazy_4.value) __render(consequent_4);
270
270
  });
271
271
  }
272
272
 
@@ -275,7 +275,7 @@ export function DeepNestingThenIf(__anchor, _, __block) {
275
275
 
276
276
  var button_2 = _$_.sibling(section_2);
277
277
 
278
- button_2.__click = () => _$_.set(lazy_4, !_$_.get(lazy_4));
278
+ button_2.__click = () => _$_.set(lazy_4, !lazy_4.value);
279
279
  _$_.next();
280
280
  _$_.append(__anchor, fragment_5, true);
281
281
  _$_.pop_component();
@@ -321,7 +321,7 @@ export function DomElementChildrenThenSibling(__anchor, _, __block) {
321
321
  };
322
322
 
323
323
  _$_.if(node_11, (__render) => {
324
- if (_$_.get(lazy_5) === 'code') __render(consequent_5); else __render(alternate, false);
324
+ if (lazy_5.value === 'code') __render(consequent_5); else __render(alternate, false);
325
325
  });
326
326
  }
327
327
 
@@ -331,13 +331,13 @@ export function DomElementChildrenThenSibling(__anchor, _, __block) {
331
331
 
332
332
  _$_.render(
333
333
  (__prev) => {
334
- var __a = _$_.get(lazy_5) === 'code' ? 'true' : 'false';
334
+ var __a = lazy_5.value === 'code' ? 'true' : 'false';
335
335
 
336
336
  if (__prev.a !== __a) {
337
337
  _$_.set_attribute(button_3, 'aria-selected', __prev.a = __a);
338
338
  }
339
339
 
340
- var __b = _$_.get(lazy_5) === 'preview' ? 'true' : 'false';
340
+ var __b = lazy_5.value === 'preview' ? 'true' : 'false';
341
341
 
342
342
  if (__prev.b !== __b) {
343
343
  _$_.set_attribute(button_4, 'aria-selected', __prev.b = __b);
@@ -366,7 +366,7 @@ export function DomChildrenThenStaticSiblings(__anchor, _, __block) {
366
366
  {
367
367
  var expression_3 = _$_.child(li_1);
368
368
 
369
- _$_.expression(expression_3, () => 'Item count: ' + _$_.with_scope(__block, () => String(_$_.get(lazy_6))));
369
+ _$_.expression(expression_3, () => 'Item count: ' + _$_.with_scope(__block, () => String(lazy_6.value)));
370
370
  _$_.pop(li_1);
371
371
  }
372
372
  }