1import { p as prop, i as if_block, b as set_class } from './i18n-CMo5lpzy.js'; 2import { t as template_effect, a as append, W as from_html, V as child, Y as reset } from './index-BvBk1Iap.js'; 3import { J as JSON_1 } from './JSON-BER32Vo9.js'; 4import './Check-BlnBgjLT.js'; 5import './Copy-DFFray7x.js'; 6import './ScrollFade.svelte_svelte_type_style_lang-Xm-PLg9E.js'; 7import './snippet-Bl5YVoCg.js'; 8import './Empty-CHa-gxv7.js'; 9import './IconButtonWrapper-Ba0GidgU.js'; 10 11var root = from_html(`<div><!></div>`); 12 13function Example($$anchor, $$props) { 14 let theme_mode = prop($$props, 'theme_mode', 3, "system"), 15 selected = prop($$props, 'selected', 3, false); 16 17 let show_indices = false; 18 let label_height = 0; 19 var div = root(); 20 let classes; 21 var node = child(div); 22 23 { 24 var consequent = ($$anchor) => { 25 JSON_1($$anchor, { 26 get value() { 27 return $$props.value; 28 }, 29 open: true, 30 get theme_mode() { 31 return theme_mode(); 32 }, 33 show_indices, 34 label_height, 35 interactive: false, 36 show_copy_button: false 37 }); 38 }; 39 40 if_block(node, ($$render) => { 41 if ($$props.value) $$render(consequent); 42 }); 43 } 44 45 reset(div); 46 47 template_effect(() => classes = set_class(div, 1, 'container svelte-19cq9h3', null, classes, { 48 table: $$props.type === "table", 49 gallery: $$props.type === "gallery", 50 selected: selected(), 51 border: $$props.value 52 })); 53 54 append($$anchor, div); 55} 56 57export { Example as default }; 58//# sourceMappingURL=Example-igKOU0iw.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.