/* generated by Svelte vX.Y.Z */ import { SvelteComponent as SvelteComponent_1, flush, init, noop, run, safe_not_equal } from "svelte/internal"; import { onMount } from "svelte"; function create_fragment(component, ctx) { var current; return { c: noop, m: noop, p: noop, i: noop, o: run, d: noop }; } function define($$self, $$props) { let { foo = 'bar' } = $$props; onMount(() => { alert(JSON.stringify(data())); }); $$self.$$.get = () => ({ foo }); $$self.$$.set = $$props => { if ('foo' in $$props) foo = $$props.foo; }; } class SvelteComponent extends SvelteComponent_1 { constructor(options) { super(); init(this, options, define, create_fragment, safe_not_equal); } get foo() { return this.$$.get().foo; } set foo(value) { this.$set({ foo: value }); flush(); } } export default SvelteComponent;