PageSourceSearch

https://lg3370-hindi-refiner.hf.space/assets/Index-BHwo3edq.js

js lg3370-hindi-refiner.hf.space collected 2026-10-04 17:04:44 UTC 3,319 bytes, 134 lines download raw bytes

1import { g as spread_props, i as if_block, r as rest_props } from './i18n-CMo5lpzy.js';
2import { R as push, S as first_child, w as get, a as append, X as sibling, a5 as user_derived, T as pop, W as from_html } from './index-BvBk1Iap.js';
3import { G as Gradio } from './utils.svelte-CYLB_jIA.js';
4import { B as Block } from './Block-Bx3BikCN.js';
5import { I as Info } from './Info-BrkJhX6_.js';
6import './ScrollFade.svelte_svelte_type_style_lang-Xm-PLg9E.js';
7import { I as IconButtonWrapper } from './IconButtonWrapper-Ba0GidgU.js';
8import { S as Static } from './index-Lz7fsHFt.js';
9import './StreamingBar.svelte_svelte_type_style_lang-CdFIGsJa.js';
10import { C as Checkbox } from './Checkbox-BwK0lQJ8.js';
11import './clone-DaB-S2nH.js';
12import './html-CdUEtR5E.js';
13import './snippet-Bl5YVoCg.js';
14import './Clear-Dgs5UhTO.js';
15import './index-C7e-J7CF.js';
16import './input-C317uaXR.js';
17
18var root_1 = from_html(`<!> <!> <!> <!>`, 1);
19
20function Index($$anchor, $$props) {
21	push($$props, true);
22
23	let props = rest_props($$props, ['$$slots', '$$events', '$$legacy']);
24	const gradio = new Gradio(props);
25
26	Block($$anchor, {
27		get visible() {
28			return gradio.shared.visible;
29		},
30
31		get elem_id() {
32			return gradio.shared.elem_id;
33		},
34
35		get elem_classes() {
36			return gradio.shared.elem_classes;
37		},
38
39		children: ($$anchor, $$slotProps) => {
40			var fragment_1 = root_1();
41			var node = first_child(fragment_1);
42
43			Static(node, spread_props(
44				{
45					get autoscroll() {
46						return gradio.shared.autoscroll;
47					},
48
49					get i18n() {
50						return gradio.i18n;
51					}
52				},
53				() => gradio.shared.loading_status,
54				{
55					on_clear_status: () => gradio.dispatch("clear_status", gradio.shared.loading_status)
56				}
57			));
58
59			var node_1 = sibling(node, 2);
60
61			{
62				var consequent = ($$anchor) => {
63					IconButtonWrapper($$anchor, {
64						get buttons() {
65							return gradio.props.buttons;
66						},
67
68						on_custom_button_click: (id) => {
69							gradio.dispatch("custom_button_click", { id });
70						}
71					});
72				};
73
74				if_block(node_1, ($$render) => {
75					if (gradio.shared.show_label && gradio.props.buttons && gradio.props.buttons.length > 0) $$render(consequent);
76				});
77			}
78
79			var node_2 = sibling(node_1, 2);
80
81			{
82				let $0 = user_derived(() => gradio.shared.label || gradio.i18n("checkbox.checkbox"));
83
84				Checkbox(node_2, {
85					get label() {
86						return get($0);
87					},
88
89					get interactive() {
90						return gradio.shared.interactive;
91					},
92
93					get show_label() {
94						return gradio.shared.show_label;
95					},
96					on_change: (val) => gradio.dispatch("change", val),
97					on_input: () => gradio.dispatch("input"),
98					on_select: (data) => gradio.dispatch("select", data),
99					get value() {
100						return gradio.props.value;
101					},
102
103					set value($$value) {
104						gradio.props.value = $$value;
105					}
106				});
107			}
108
109			var node_3 = sibling(node_2, 2);
110
111			{
112				var consequent_1 = ($$anchor) => {
113					Info($$anchor, {
114						get info() {
115							return gradio.props.info;
116						}
117					});
118				};
119
120				if_block(node_3, ($$render) => {
121					if (gradio.props.info) $$render(consequent_1);
122				});
123			}
124
125			append($$anchor, fragment_1);
126		},
127		$$slots: { default: true }
128	});
129
130	pop();
131}
132
133export { Checkbox as BaseCheckbox, Index as default };
134//# sourceMappingURL=Index-BHwo3edq.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.