|
|
|
@ -405,10 +405,9 @@ async function run_test_variant(
|
|
|
|
|
|
|
|
|
|
|
|
const run_hydratables_init = () => {
|
|
|
|
const run_hydratables_init = () => {
|
|
|
|
if (variant !== 'hydrate') return;
|
|
|
|
if (variant !== 'hydrate') return;
|
|
|
|
const script = document.head
|
|
|
|
const script = [...document.head.querySelectorAll('script').values()].find((script) =>
|
|
|
|
.querySelectorAll('script')
|
|
|
|
script.textContent.includes('(window.__svelte ??= {}).h')
|
|
|
|
.values()
|
|
|
|
)?.textContent;
|
|
|
|
.find((script) => script.textContent.includes('(window.__svelte ??= {}).h'))?.textContent;
|
|
|
|
|
|
|
|
if (!script) return;
|
|
|
|
if (!script) return;
|
|
|
|
(0, eval)(script);
|
|
|
|
(0, eval)(script);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|