tempo-sdk 0.0.60 → 0.0.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 (108) hide show
  1. package/astro/client.d.ts +4 -0
  2. package/dist/assets/editor.js +1 -1
  3. package/dist/assets/index.d.ts +10 -63
  4. package/dist/assets/index.js +12 -32
  5. package/dist/assets/index.js.map +1 -1
  6. package/dist/assets/parser.js +1 -1
  7. package/dist/astro/asset-preview-client.d.ts +4 -0
  8. package/dist/astro/asset-preview-client.js +93 -0
  9. package/dist/astro/asset-preview-client.js.map +1 -0
  10. package/dist/astro/controls.d.ts +7 -0
  11. package/dist/astro/controls.js +7 -0
  12. package/dist/astro/controls.js.map +1 -0
  13. package/dist/astro/document-client.d.ts +10 -0
  14. package/dist/astro/document-client.js +78 -0
  15. package/dist/astro/document-client.js.map +1 -0
  16. package/dist/astro/runtime.d.ts +15 -0
  17. package/dist/astro/runtime.js +86 -0
  18. package/dist/astro/runtime.js.map +1 -0
  19. package/dist/astro.d.ts +21 -0
  20. package/dist/astro.js +749 -0
  21. package/dist/astro.js.map +1 -0
  22. package/dist/canvas/astro-contract.d.ts +21 -0
  23. package/dist/canvas/astro-contract.js +9 -0
  24. package/dist/canvas/astro-contract.js.map +1 -0
  25. package/dist/canvas/astro.d.ts +18 -0
  26. package/dist/canvas/astro.js +42 -0
  27. package/dist/canvas/astro.js.map +1 -0
  28. package/dist/canvas/editor.d.ts +1 -1
  29. package/dist/canvas/editor.js +3 -2
  30. package/dist/canvas/editor.js.map +1 -1
  31. package/dist/canvas/index.d.ts +1 -1
  32. package/dist/canvas/index.js +40 -16
  33. package/dist/canvas/index.js.map +1 -1
  34. package/dist/canvas/interact-projection.js +4 -4
  35. package/dist/canvas/parser.d.ts +3 -1
  36. package/dist/canvas/parser.js +1 -1
  37. package/dist/canvas/svelte.d.ts +1 -1
  38. package/dist/canvas/svelte.js +3 -3
  39. package/dist/{chunk-5BHIHP25.js → chunk-2JRAG36X.js} +37 -11
  40. package/dist/chunk-2JRAG36X.js.map +1 -0
  41. package/dist/{chunk-N2TYN3RB.js → chunk-6AAE4LYV.js} +123 -123
  42. package/dist/chunk-6AAE4LYV.js.map +1 -0
  43. package/dist/{chunk-7DT5DDSH.js → chunk-6IR5JY6W.js} +106 -7
  44. package/dist/chunk-6IR5JY6W.js.map +1 -0
  45. package/dist/{chunk-FQSZRVSL.js → chunk-6W6UKDSY.js} +45 -4
  46. package/dist/chunk-6W6UKDSY.js.map +1 -0
  47. package/dist/chunk-77DZCV5Z.js +38 -0
  48. package/dist/chunk-77DZCV5Z.js.map +1 -0
  49. package/dist/chunk-DELFOKU3.js +2495 -0
  50. package/dist/chunk-DELFOKU3.js.map +1 -0
  51. package/dist/{chunk-MXKZZOLM.js → chunk-EYKOOLPL.js} +368 -32
  52. package/dist/chunk-EYKOOLPL.js.map +1 -0
  53. package/dist/chunk-F23JGM4U.js +107 -0
  54. package/dist/chunk-F23JGM4U.js.map +1 -0
  55. package/dist/chunk-FE6TYCLF.js +1514 -0
  56. package/dist/chunk-FE6TYCLF.js.map +1 -0
  57. package/dist/chunk-H6OZIX2U.js +133 -0
  58. package/dist/chunk-H6OZIX2U.js.map +1 -0
  59. package/dist/chunk-JVVHU3A7.js +1077 -0
  60. package/dist/chunk-JVVHU3A7.js.map +1 -0
  61. package/dist/{chunk-2IQD2KPS.js → chunk-KOSJXE4G.js} +3 -102
  62. package/dist/chunk-KOSJXE4G.js.map +1 -0
  63. package/dist/{chunk-TL4MGN7E.js → chunk-NSKYOKG5.js} +254 -10
  64. package/dist/chunk-NSKYOKG5.js.map +1 -0
  65. package/dist/chunk-OX2YKYSL.js +13 -0
  66. package/dist/chunk-OX2YKYSL.js.map +1 -0
  67. package/dist/{chunk-VMTQDG4U.js → chunk-PXDTH36X.js} +12 -10
  68. package/dist/chunk-PXDTH36X.js.map +1 -0
  69. package/dist/{chunk-XLEKCOB7.js → chunk-PYAJHLXO.js} +56 -1
  70. package/dist/chunk-PYAJHLXO.js.map +1 -0
  71. package/dist/{chunk-OTVBSF7U.js → chunk-Q2A46HHW.js} +17 -12
  72. package/dist/chunk-Q2A46HHW.js.map +1 -0
  73. package/dist/controls-reader-SNMI2UY7.js +191 -0
  74. package/dist/controls-reader-SNMI2UY7.js.map +1 -0
  75. package/dist/controls-uCaQ3CNX.d.ts +61 -0
  76. package/dist/expo/plugin.cjs +16 -11
  77. package/dist/expo/plugin.cjs.map +1 -1
  78. package/dist/expo/plugin.js +1 -1
  79. package/dist/expo-babel-plugin.cjs +16 -11
  80. package/dist/expo-babel-plugin.cjs.map +1 -1
  81. package/dist/expo-babel-plugin.js +1 -1
  82. package/dist/index.d.ts +4 -0
  83. package/dist/index.js +10 -2465
  84. package/dist/index.js.map +1 -1
  85. package/dist/nextjs/plugin.cjs +44 -3
  86. package/dist/nextjs/plugin.cjs.map +1 -1
  87. package/dist/nextjs/plugin.js +1 -1
  88. package/dist/nextjs-loader.cjs +60 -14
  89. package/dist/nextjs-loader.cjs.map +1 -1
  90. package/dist/nextjs.cjs +44 -3
  91. package/dist/nextjs.cjs.map +1 -1
  92. package/dist/nextjs.d.cts +4 -4
  93. package/dist/nextjs.d.ts +4 -4
  94. package/dist/nextjs.js +1 -1
  95. package/dist/{storyboard-DjOF61B_.d.ts → storyboard-4YdTYq_e.d.ts} +1 -1
  96. package/dist/svelte.js +7 -1075
  97. package/dist/svelte.js.map +1 -1
  98. package/package.json +44 -3
  99. package/dist/chunk-2IQD2KPS.js.map +0 -1
  100. package/dist/chunk-5BHIHP25.js.map +0 -1
  101. package/dist/chunk-7DT5DDSH.js.map +0 -1
  102. package/dist/chunk-FQSZRVSL.js.map +0 -1
  103. package/dist/chunk-MXKZZOLM.js.map +0 -1
  104. package/dist/chunk-N2TYN3RB.js.map +0 -1
  105. package/dist/chunk-OTVBSF7U.js.map +0 -1
  106. package/dist/chunk-TL4MGN7E.js.map +0 -1
  107. package/dist/chunk-VMTQDG4U.js.map +0 -1
  108. package/dist/chunk-XLEKCOB7.js.map +0 -1
@@ -4,7 +4,7 @@ import {
4
4
  generateSelector,
5
5
  observeRuntimeMutations,
6
6
  removeScriptTags
7
- } from "./chunk-N2TYN3RB.js";
7
+ } from "./chunk-6AAE4LYV.js";
8
8
 
9
9
  // ../../modules/iframe-projection/fiber/react-types.ts
10
10
  var FiberTag = {
@@ -521,6 +521,194 @@ function isProjectionScopePlumbing(fiber) {
521
521
  return role(fiber) !== void 0 || isOutputInvocation(fiber);
522
522
  }
523
523
 
524
+ // ../../modules/iframe-projection/combined/projection-astro-alpine.ts
525
+ function createAstroAlpineOwnership(key, original) {
526
+ let active = /* @__PURE__ */ new Map();
527
+ const emissions = /* @__PURE__ */ new WeakMap();
528
+ const walk = (node, visit) => {
529
+ visit(node);
530
+ for (const child of node.childNodes) walk(child, visit);
531
+ if (node instanceof HTMLTemplateElement) walk(node.content, visit);
532
+ };
533
+ const source2 = (node) => {
534
+ const token = key(node);
535
+ if (!token) return null;
536
+ if (original(token) === node) return node;
537
+ for (let parent = node; parent; parent = parent.parentNode) {
538
+ if (!(parent instanceof Element)) continue;
539
+ const template = active.get(parent), record = emissions.get(parent);
540
+ if (!template || !record || record.template !== template || !record.tokens.has(token) || record.owners.get(token) !== node)
541
+ continue;
542
+ const owner = original(token);
543
+ return owner ?? null;
544
+ }
545
+ return null;
546
+ };
547
+ return {
548
+ source: source2,
549
+ refresh(templates) {
550
+ const previous = active;
551
+ active = /* @__PURE__ */ new Map();
552
+ const pending = [...templates];
553
+ for (let pass = 0; pass < 32 && pending.length; pass++) {
554
+ let progress = false;
555
+ for (let index = pending.length - 1; index >= 0; index--) {
556
+ const template = pending[index];
557
+ const origin = source2(template);
558
+ if (!(origin instanceof HTMLTemplateElement)) continue;
559
+ pending.splice(index, 1);
560
+ progress = true;
561
+ const roots = template.hasAttribute("x-for") && template._x_lookup instanceof Map ? [...template._x_lookup.values()] : template.hasAttribute("x-if") && template._x_currentIfEl ? [template._x_currentIfEl] : template.hasAttribute("x-teleport") && template._x_teleport && template._x_teleport._x_teleportBack === template ? [template._x_teleport] : [];
562
+ for (const root of roots) {
563
+ if (!(root instanceof Element) || !root.isConnected) continue;
564
+ active.set(root, template);
565
+ if (emissions.get(root)?.template === template && previous.get(root) === template)
566
+ continue;
567
+ const tokens = /* @__PURE__ */ new Set();
568
+ walk(origin.content, (node) => {
569
+ const token = key(node);
570
+ if (token && original(token) === node) tokens.add(token);
571
+ });
572
+ const owners = /* @__PURE__ */ new Map();
573
+ walk(root, (node) => {
574
+ const token = key(node);
575
+ if (token) owners.set(token, owners.has(token) ? null : node);
576
+ });
577
+ emissions.set(root, { template, owners, tokens });
578
+ }
579
+ }
580
+ if (!progress) break;
581
+ }
582
+ }
583
+ };
584
+ }
585
+
586
+ // ../../modules/iframe-projection/combined/projection-astro-metadata.ts
587
+ var ASTRO_NODE_ATTRIBUTE = "data-tempo-astro-node";
588
+ function source(value) {
589
+ return !!value && typeof value.filepath === "string" && value.filepath.length > 0 && typeof value.sourceVersion === "string" && value.sourceVersion.length > 0 && Number.isSafeInteger(value.modifiedTs) && value.modifiedTs >= 0;
590
+ }
591
+ function readAstroMarker(node) {
592
+ if (node.nodeType !== 8) return null;
593
+ const match = /^tempo:astro:([bem]):(.*)$/.exec(node.textContent ?? "");
594
+ if (!match) return null;
595
+ try {
596
+ const value = JSON.parse(decodeURIComponent(match[2]));
597
+ if (match[1] === "m" && source(value)) return { kind: "m", value };
598
+ if (typeof value?.occurrence !== "string" || value.occurrence.length === 0)
599
+ return null;
600
+ if (match[1] === "e") return { kind: "e", value };
601
+ if (match[1] === "b" && source(value.source) && Number.isSafeInteger(value.source.position) && value.source.position >= 0 && typeof value.source.name === "string" && (value.definition === null || source(value.definition) && (value.definition.exportName === void 0 || typeof value.definition.exportName === "string")))
602
+ return { kind: "b", value };
603
+ } catch {
604
+ }
605
+ return null;
606
+ }
607
+ var documents = /* @__PURE__ */ new WeakMap();
608
+ function trackAstroSources(document2) {
609
+ const existing = documents.get(document2);
610
+ if (existing) return existing;
611
+ const owners = /* @__PURE__ */ new Map();
612
+ const inertOwners = /* @__PURE__ */ new Map();
613
+ const modules = /* @__PURE__ */ new Map();
614
+ const templates = /* @__PURE__ */ new Set();
615
+ const serverHosts = /* @__PURE__ */ new WeakMap();
616
+ const completed = /* @__PURE__ */ new WeakSet();
617
+ const hostReceipt = (element) => {
618
+ const file = element.getAttribute("data-tempo-filepath");
619
+ const version = element.getAttribute("data-tempo-source-version");
620
+ const position = element.getAttribute("data-tempo-position");
621
+ const modified = element.getAttribute("data-tempo-modifiedts");
622
+ return file && /\.[jt]sx?$/.test(file) && version && position !== null && /^\d+$/.test(position) && modified !== null && /^\d+$/.test(modified) ? JSON.stringify([file, version, position, modified]) : null;
623
+ };
624
+ const acceptServerHosts = (end) => {
625
+ const marker = readAstroMarker(end);
626
+ if (marker?.kind !== "e" || completed.has(end)) return;
627
+ let begin = end.previousSibling;
628
+ while (begin) {
629
+ const candidate = readAstroMarker(begin);
630
+ if (candidate?.kind === "b" && candidate.value.occurrence === marker.value.occurrence)
631
+ break;
632
+ begin = begin.previousSibling;
633
+ }
634
+ if (!begin || owners.get(`b:${marker.value.occurrence}`) !== begin || owners.get(`e:${marker.value.occurrence}`) !== end)
635
+ return;
636
+ completed.add(end);
637
+ const accept = (node) => {
638
+ if (node instanceof Element) {
639
+ const receipt = hostReceipt(node);
640
+ if (receipt) serverHosts.set(node, receipt);
641
+ }
642
+ for (const child of node.childNodes) accept(child);
643
+ };
644
+ for (let node = begin.nextSibling; node && node !== end; node = node.nextSibling)
645
+ accept(node);
646
+ };
647
+ const key = (node) => {
648
+ if (node.nodeType === 1)
649
+ return node.getAttribute(ASTRO_NODE_ATTRIBUTE);
650
+ const marker = readAstroMarker(node);
651
+ return marker && marker.kind !== "m" ? `${marker.kind}:${marker.value.occurrence}` : null;
652
+ };
653
+ const visit = (node, introduced, inert = false) => {
654
+ const token = key(node);
655
+ if (token) {
656
+ if (inert) {
657
+ if (!inertOwners.has(token)) inertOwners.set(token, node);
658
+ else if (inertOwners.get(token) !== node) inertOwners.set(token, null);
659
+ owners.set(token, inertOwners.get(token));
660
+ } else if (!owners.has(token)) {
661
+ owners.set(token, node);
662
+ introduced.add(token);
663
+ } else if (!inertOwners.has(token) && introduced.has(token) && owners.get(token) !== node)
664
+ owners.set(token, null);
665
+ }
666
+ const marker = readAstroMarker(node);
667
+ if (marker?.kind === "m") modules.set(node, marker.value);
668
+ for (const child of node.childNodes) visit(child, introduced, inert);
669
+ if (node instanceof HTMLTemplateElement) {
670
+ templates.add(node);
671
+ visit(
672
+ node.content,
673
+ introduced,
674
+ token !== null && owners.get(token) === node
675
+ );
676
+ }
677
+ acceptServerHosts(node);
678
+ };
679
+ visit(document2, /* @__PURE__ */ new Set());
680
+ const alpine = createAstroAlpineOwnership(key, (token) => owners.get(token));
681
+ alpine.refresh(templates);
682
+ const observe = (records) => {
683
+ if (!records.length) return;
684
+ const introduced = /* @__PURE__ */ new Set();
685
+ for (const record of records)
686
+ for (const node of record.addedNodes) visit(node, introduced);
687
+ for (const [node] of modules) if (!node.isConnected) modules.delete(node);
688
+ alpine.refresh(templates);
689
+ };
690
+ const observer = new MutationObserver(observe);
691
+ observer.observe(document2, { childList: true, subtree: true });
692
+ const flush = () => observe(observer.takeRecords());
693
+ const tracking = {
694
+ owns(node) {
695
+ flush();
696
+ const token = key(node);
697
+ return token !== null && (owners.get(token) === node || alpine.source(node) !== null) || node instanceof Element && serverHosts.has(node) && serverHosts.get(node) === hostReceipt(node);
698
+ },
699
+ hasAstro() {
700
+ flush();
701
+ return owners.size > 0 || modules.size > 0;
702
+ },
703
+ moduleSources() {
704
+ flush();
705
+ return [...modules.values()];
706
+ }
707
+ };
708
+ documents.set(document2, tracking);
709
+ return tracking;
710
+ }
711
+
524
712
  // ../../modules/iframe-projection/combined/realm-epoch.ts
525
713
  var REALM_DOCUMENT_EPOCH = `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 10)}`;
526
714
  var nextCaptureSequence = 0;
@@ -528,6 +716,24 @@ function nextRealmCaptureSequence() {
528
716
  return nextCaptureSequence++;
529
717
  }
530
718
 
719
+ // ../../modules/iframe-projection/html/pending-hydration.ts
720
+ function hasPendingReactHydration(element) {
721
+ for (let parent = element.parentElement; parent; parent = parent.parentElement) {
722
+ if (parent.localName !== "astro-island") continue;
723
+ if (!/(?:@astrojs\/react|astrojs_react)/.test(
724
+ parent.getAttribute("renderer-url") ?? ""
725
+ ))
726
+ continue;
727
+ const key = Object.keys(parent).find(
728
+ (name) => name.startsWith("__reactContainer$")
729
+ );
730
+ const container = key ? parent[key] : null;
731
+ const state = container?.stateNode?.current?.memoizedState;
732
+ if (state?.isDehydrated !== false) return true;
733
+ }
734
+ return false;
735
+ }
736
+
531
737
  // ../../modules/iframe-projection/html/watch-dom.ts
532
738
  var DOM_ID_ATTR = "data-dom-id";
533
739
  var HOST_LAYER_ID_ATTR = "data-host-layer-id";
@@ -562,12 +768,38 @@ function projectedElements(scope) {
562
768
  }
563
769
  return elements;
564
770
  }
771
+ function cloneProjectionDom(scope) {
772
+ const boundaries = scope.querySelectorAll(`[${PROJECTION_ROOT_ATTRIBUTE}]`);
773
+ if (!boundaries.length) return scope.cloneNode(true);
774
+ const paths = /* @__PURE__ */ new Set();
775
+ for (const boundary of boundaries) {
776
+ for (let parent = boundary.parentElement; parent && !paths.has(parent); parent = parent.parentElement) {
777
+ paths.add(parent);
778
+ if (parent === scope) break;
779
+ }
780
+ }
781
+ const clone = scope.cloneNode(false);
782
+ const pending = [[scope, clone]];
783
+ while (pending.length) {
784
+ const [live, copy] = pending.pop();
785
+ for (const child of Array.from(live.childNodes)) {
786
+ const element = child.nodeType === 1 ? child : null;
787
+ const boundary = element?.hasAttribute(PROJECTION_ROOT_ATTRIBUTE);
788
+ const shallow = !!element && (boundary || paths.has(element));
789
+ const childCopy = child.cloneNode(!shallow);
790
+ copy.appendChild(childCopy);
791
+ if (shallow && !boundary) pending.push([element, childCopy]);
792
+ }
793
+ }
794
+ return clone;
795
+ }
565
796
  function assignDomId(element) {
566
797
  let id2 = liveElementIds.get(element);
567
798
  if (!id2) {
568
799
  id2 = nextProjectionId();
569
800
  liveElementIds.set(element, id2);
570
801
  }
802
+ if (hasPendingReactHydration(element)) return id2;
571
803
  if (element.getAttribute(DOM_ID_ATTR) !== id2) {
572
804
  element.setAttribute(DOM_ID_ATTR, id2);
573
805
  }
@@ -578,11 +810,12 @@ function assignDomId(element) {
578
810
  }
579
811
  function ensureProjectionDomId(element, root) {
580
812
  if (element.nodeType === 3 || element.nodeType === 8) {
813
+ if (readAstroMarker(element)) return null;
581
814
  let parent = element.parentElement;
582
815
  if (!parent) return readProjectionDomId(element);
583
816
  const position = [
584
817
  Array.from(parent.childNodes).filter(
585
- (child) => !(child instanceof Element) || child.localName !== "script" && !child.hasAttribute("data-tempo-svelte-source-registry")
818
+ (child) => !readAstroMarker(child) && (!(child instanceof Element) || child.localName !== "script" && !child.hasAttribute("data-tempo-svelte-source-registry"))
586
819
  ).indexOf(element)
587
820
  ];
588
821
  const rootDomId = root ? ensureProjectionDomId(root) : null;
@@ -591,7 +824,7 @@ function ensureProjectionDomId(element, root) {
591
824
  while (!parentId && parent !== root && parent.parentElement) {
592
825
  position.unshift(
593
826
  Array.from(parent.parentElement.childNodes).filter(
594
- (child) => !(child instanceof Element) || child.localName !== "script" && !child.hasAttribute("data-tempo-svelte-source-registry")
827
+ (child) => !readAstroMarker(child) && (!(child instanceof Element) || child.localName !== "script" && !child.hasAttribute("data-tempo-svelte-source-registry"))
595
828
  ).indexOf(parent)
596
829
  );
597
830
  parent = parent.parentElement;
@@ -1450,7 +1683,7 @@ function captureProjectionPortalRegion(element, removed = false, coordinateRoot)
1450
1683
  };
1451
1684
  }
1452
1685
  for (const live of projectedElements(element)) ensureProjectionDomId(live);
1453
- const clone = element.cloneNode(true);
1686
+ const clone = cloneProjectionDom(element);
1454
1687
  syncProjectionDomIdsToClone(element, clone);
1455
1688
  for (const script of clone.querySelectorAll("script")) script.remove();
1456
1689
  const observedFiles = new ProjectionObservedFileAccumulator();
@@ -1499,7 +1732,7 @@ function reverseDocumentOrder(left, right) {
1499
1732
  }
1500
1733
  function capturePlacedElementWithoutAnnotations(element, observedFiles) {
1501
1734
  for (const live of projectedElements(element)) ensureProjectionDomId(live);
1502
- const clone = element.cloneNode(true);
1735
+ const clone = cloneProjectionDom(element);
1503
1736
  syncProjectionDomIdsToClone(element, clone);
1504
1737
  if (clone.tagName.toLowerCase() === "script") {
1505
1738
  return { html: "" };
@@ -1530,6 +1763,14 @@ function stripSourceAnnotations(cloneRoot, observedFiles, includeRoot) {
1530
1763
  "template[data-tempo-svelte-source-registry]"
1531
1764
  ))
1532
1765
  registry.remove();
1766
+ const comments = cloneRoot.ownerDocument.createTreeWalker(
1767
+ cloneRoot,
1768
+ NodeFilter.SHOW_COMMENT
1769
+ );
1770
+ const markers = [];
1771
+ for (let node = comments.nextNode(); node; node = comments.nextNode())
1772
+ if (readAstroMarker(node)) markers.push(node);
1773
+ for (const node of markers) node.parentNode?.removeChild(node);
1533
1774
  const hostDomIds = /* @__PURE__ */ new Set();
1534
1775
  const walker = cloneRoot.ownerDocument.createTreeWalker(
1535
1776
  cloneRoot,
@@ -1551,7 +1792,7 @@ function stripSourceAnnotations(cloneRoot, observedFiles, includeRoot) {
1551
1792
  }
1552
1793
  function captureRegionWithoutAnnotations(element, observedFiles) {
1553
1794
  for (const live of projectedElements(element)) ensureProjectionDomId(live);
1554
- const clone = element.cloneNode(true);
1795
+ const clone = cloneProjectionDom(element);
1555
1796
  syncProjectionDomIdsToClone(element, clone, false);
1556
1797
  for (const script of clone.querySelectorAll("script")) script.remove();
1557
1798
  stripSourceAnnotations(clone, observedFiles, false);
@@ -2165,7 +2406,7 @@ function createProjectionLayerSerializer(watchedRoot, contentsScope = false, inc
2165
2406
  if (!included) return children;
2166
2407
  if (kind === null || kind === "text" || kind === "comment")
2167
2408
  return children;
2168
- const source = {
2409
+ const source2 = {
2169
2410
  kind: "react-fiber",
2170
2411
  fiber: { tag: fiber.tag, name, id: fiberId(fiber) }
2171
2412
  };
@@ -2181,7 +2422,7 @@ function createProjectionLayerSerializer(watchedRoot, contentsScope = false, inc
2181
2422
  domId,
2182
2423
  elementTag: name,
2183
2424
  props,
2184
- source,
2425
+ source: source2,
2185
2426
  ...portal ? { portal } : {},
2186
2427
  children
2187
2428
  };
@@ -2195,7 +2436,7 @@ function createProjectionLayerSerializer(watchedRoot, contentsScope = false, inc
2195
2436
  domId: null,
2196
2437
  elementTag: null,
2197
2438
  props,
2198
- source,
2439
+ source: source2,
2199
2440
  ...portal ? { portal } : {},
2200
2441
  children
2201
2442
  };
@@ -2529,12 +2770,15 @@ export {
2529
2770
  initHook,
2530
2771
  REALM_DOCUMENT_EPOCH,
2531
2772
  nextRealmCaptureSequence,
2773
+ readAstroMarker,
2774
+ trackAstroSources,
2532
2775
  DOM_ID_ATTR,
2533
2776
  PROJECTION_ROOT_ATTRIBUTE,
2534
2777
  nextProjectionId,
2535
2778
  seedProjectionIds,
2536
2779
  underForeignProjectionRoot,
2537
2780
  projectedElements,
2781
+ cloneProjectionDom,
2538
2782
  ensureProjectionDomId,
2539
2783
  readProjectionDomId,
2540
2784
  syncProjectionDomIdsToClone,
@@ -2567,4 +2811,4 @@ export {
2567
2811
  serializeDomLayerNode,
2568
2812
  captureProjectionDomLayerProps
2569
2813
  };
2570
- //# sourceMappingURL=chunk-TL4MGN7E.js.map
2814
+ //# sourceMappingURL=chunk-NSKYOKG5.js.map