1import { p as prop, b as set_class } from './i18n-dpAHICcw.js'; 2import { t as template_effect, a as append, W as from_html, a0 as set_text, V as child, Y as reset } from './index-CDZuCcOm.js'; 3 4var root = from_html(`<div> </div>`); 5 6function Example($$anchor, $$props) { 7 8 let selected = prop($$props, 'selected', 3, false); 9 var div = root(); 10 let classes; 11 var text = child(div, true); 12 13 reset(div); 14 15 template_effect(() => { 16 classes = set_class(div, 1, 'svelte-9pg6fh', null, classes, { 17 table: $$props.type === "table", 18 gallery: $$props.type === "gallery", 19 selected: selected() 20 }); 21 22 set_text(text, $$props.value ? $$props.value : ""); 23 }); 24 25 append($$anchor, div); 26} 27 28export { Example as default }; 29//# sourceMappingURL=Example-BMH0SM7L.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.