1import './Button-d6e4788d.js'; 2 3/* home/runner/work/gradio/gradio/js/atoms/src/Info.svelte generated by Svelte v4.2.2 */ 4const { 5 SvelteComponent, 6 attr, 7 create_slot, 8 detach, 9 element, 10 get_all_dirty_from_scope, 11 get_slot_changes, 12 init, 13 insert, 14 safe_not_equal, 15 transition_in, 16 transition_out, 17 update_slot_base 18} = window.__gradio__svelte__internal; 19function create_fragment(ctx) { 20 let div; 21 let current; 22 const default_slot_template = /*#slots*/ ctx[1].default; 23 const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[0], null); 24 25 return { 26 c() { 27 div = element("div"); 28 if (default_slot) default_slot.c(); 29 attr(div, "class", "svelte-e8n7p6"); 30 }, 31 m(target, anchor) { 32 insert(target, div, anchor); 33 34 if (default_slot) { 35 default_slot.m(div, null); 36 } 37 38 current = true; 39 }, 40 p(ctx, [dirty]) { 41 if (default_slot) { 42 if (default_slot.p && (!current || dirty & /*$$scope*/ 1)) { 43 update_slot_base( 44 default_slot, 45 default_slot_template, 46 ctx, 47 /*$$scope*/ ctx[0], 48 !current 49 ? get_all_dirty_from_scope(/*$$scope*/ ctx[0]) 50 : get_slot_changes(default_slot_template, /*$$scope*/ ctx[0], dirty, null), 51 null 52 ); 53 } 54 } 55 }, 56 i(local) { 57 if (current) return; 58 transition_in(default_slot, local); 59 current = true; 60 }, 61 o(local) { 62 transition_out(default_slot, local); 63 current = false; 64 }, 65 d(detaching) { 66 if (detaching) { 67 detach(div); 68 } 69 70 if (default_slot) default_slot.d(detaching); 71 } 72 }; 73} 74 75function instance($$self, $$props, $$invalidate) { 76 let { $$slots: slots = {}, $$scope } = $$props; 77 78 $$self.$$set = $$props => {
79 if ('$$scope' in $$props) $$invalidate(0, $$scope = $$props.$$scope); 80 }; 81 82 return [$$scope, slots]; 83} 84 85class Info extends SvelteComponent { 86 constructor(options) { 87 super(); 88 init(this, options, instance, create_fragment, safe_not_equal, {}); 89 } 90} 91 92export { Info as I }; 93//# sourceMappingURL=Info-56a5f58d.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.