---
import { filterProps } from './asto-utils';

type Props = Record<string, unknown>;

const props = Astro.props as Props;
---

<script is:inline set:html={`window.op('setGlobalProperties', ${JSON.stringify(filterProps(props))});`} />