PageSourceSearch

https://opencoder-llm-opencoder-8b-instruct.hf.space/assets/Index-adf98f57.js

js opencoder-llm-opencoder-8b-instruct.hf.space collected 2026-10-03 10:24:09 UTC 7,162 bytes, 2 lines download raw bytes

1import{B as D,F as G}from"./FileUpload-1878093d.js";import{a as Ue}from"./FileUpload-1878093d.js";import{B as H}from"./SelectSource.svelte_svelte_type_style_lang-0a285437.js";import{S as K}from"./Index-26cfc80a.js";import{U as L}from"./UploadText-39c67ae9.js";import{default as Oe}from"./Example-4a4da230.js";import"./BlockLabel-f27805b1.js";import"./Empty-28f63bf0.js";import"./File-d0b52941.js";import"./ModifyUpload.svelte_svelte_type_style_lang-4ba51100.js";import"./index-a80d931b.js";import"./svelte/svelte.js";import"./ModifyUpload-66b0c302.js";import"./IconButton-7294c90b.js";import"./Clear-2c7bae91.js";import"./DownloadLink-7ff36416.js";import"./file-url-bef2dc1b.js";import"./Undo-b088de14.js";import"./Upload-351cc897.js";/* empty css                                              */const{SvelteComponent:M,assign:Q,check_outros:R,create_component:v,destroy_component:B,detach:q,empty:V,flush:r,get_spread_object:W,get_spread_update:X,group_outros:Y,init:Z,insert:C,mount_component:F,safe_not_equal:p,space:y,transition_in:h,transition_out:m}=window.__gradio__svelte__internal;function $(i){let e,s;return e=new D({props:{label:i[6],show_label:i[7],value:i[0],file_count:i[15],file_types:i[16],selectable:i[9],root:i[5],height:i[8],i18n:i[14].i18n,$$slots:{default:[ee]},$$scope:{ctx:i}}}),e.$on("change",i[20]),e.$on("drag",i[21]),e.$on("clear",i[22]),e.$on("select",i[23]),e.$on("upload",i[24]),{c(){v(e.$$.fragment)},m(t,l){F(e,t,l),s=!0},p(t,l){const n={};l&64&&(n.label=t[6]),l&128&&(n.show_label=t[7]),l&1&&(n.value=t[0]),l&32768&&(n.file_count=t[15]),l&65536&&(n.file_types=t[16]),l&512&&(n.selectable=t[9]),l&32&&(n.root=t[5]),l&256&&(n.height=t[8]),l&16384&&(n.i18n=t[14].i18n),l&33570816&&(n.$$scope={dirty:l,ctx:t}),e.$set(n)},i(t){s||(h(e.$$.fragment,t),s=!0)},o(t){m(e.$$.fragment,t),s=!1},d(t){B(e,t)}}}function x(i){let e,s;return e=new G({props:{selectable:i[9],value:i[0],label:i[6],show_label:i[7],height:i[8],i18n:i[14].i18n}}),e.$on("select",i[19]),{c(){v(e.$$.fragment)},m(t,l){F(e,t,l),s=!0},p(t,l){const n={};l&512&&(n.selectable=t[9]),l&1&&(n.value=t[0]),l&64&&(n.label=t[6]),l&128&&(n.show_label=t[7]),l&256&&(n.height=t[8]),l&16384&&(n.i18n=t[14].i18n),e.$set(n)},i(t){s||(h(e.$$.fragment,t),s=!0)},o(t){m(e.$$.fragment,t),s=!1},d(t){B(e,t)}}}function ee(i){let e,s;return e=new L({props:{i18n:i[14].i18n,type:"file"}}),{c(){v(e.$$.fragment)},m(t,l){F(e,t,l),s=!0},p(t,l){const n={};l&16384&&(n.i18n=t[14].i18n),e.$set(n)},i(t){s||(h(e.$$.fragment,t),s=!0)},o(t){m(e.$$.fragment,t),s=!1},d(t){B(e,t)}}}function te(i){let e,s,t,l,n,u;const g=[{autoscroll:i[14].autoscroll},{i18n:i[14].i18n},i[10],{status:i[10]?.status||"complete"}];let b={};for(let o=0;o<g.length;o+=1)b=Q(b,g[o]);e=new K({props:b});const w=[x,$],_=[];function k(o,f){return o[4]?1:0}return t=k(i),l=_[t]=w[t](i),{c(){v(e.$$.fragment),s=y(),l.c(),n=V()},m(o,f){F(e,o,f),C(o,s,f),_[t].m(o,f),C(o,n,f),u=!0},p(o,f){const S=f&17408?X(g,[f&16384&&{autoscroll:o[14].autoscroll},f&16384&&{i18n:o[14].i18n},f&1024&&W(o[10]),f&1024&&{status:o[10]?.status||"complete"}]):{};e.$set(S);let d=t;t=k(o),t===d?_[t].p(o,f):(Y(),m(_[d],1,1,()=>{_[d]=null}),R(),l=_[t],l?l.p(o,f):(l=_[t]=w[t](o),l.c()),h(l,1),l.m(n.parentNode,n))},i(o){u||(h(e.$$.fragment,o),h(l),u=!0)},o(o){m(e.$$.fragment,o),m(l),u=!1},d(o){o&&(q(s),q(n)),B(e,o),_[t].d(o)}}}function le(i){let e,s;return e=new H({props:{visible:i[3],variant:i[0]===null?"dashed":"solid",border_mode:i[17]?"focus":"base",padding:!1,elem_id:i[1],elem_classes:i[2],container:i[11],scale:i[12],min_width:i[13],allow_overflow:!1,$$slots:{default:[te]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},m(t,l){F(e,t,l),s=!0},p(t,[l]){const n={};l&8&&(n.visible=t[3]),l&1&&(n.variant=t[0]===null?"dashed":"solid"),l&131072&&(n.border_mode=t[17]?"focus":"base"),l&2&&(n.elem_id=t[1]),l&4&&(n.elem_classes=t[2]),l&2048&&(n.container=t[11]),l&4096&&(n.scale=t[12]),l&8192&&(n.min_width=t[13]),l&33802225&&(n.$$scope={dirty:l,ctx:t}),e.$set(n)},i(t){s||(h(e.$$.fragment,t),s=!0)},o(t){m(e.$$.fragment,t),s=!1},d(t){B(e,t)}}}function ie(i,e,s){let{elem_id:t=""}=e,{elem_classes:l=[]}=e,{visible:n=!0}=e,{value:u}=e,{interactive:g}=e,{root:b}=e,{label:w}=e,{show_label:_}=e,{height:k=void 0}=e,{_selectable:o=!1}=e,{loading_status:f}=e,{container:S=!0}=e,{scale:d=null}=e,{min_width:U=void 0}=e,{gradio:c}=e,{file_count:J}=e,{file_types:O=["file"]}=e,N=u,j=!1;const E=({detail:a})=>c.dispatch("select",a),I=({detail:a})=>{s(0,u=a)},P=({detail:a})=>s(17,j=a),T=()=>c.dispatch("clear"),z=({detail:a})=>c.dispatch("select",a),A=()=>c.dispatch("upload");return i.$$set=a=>{"elem_id"in a&&s(1,t=a.elem_id),"elem_classes"in a&&s(2,l=a.elem_classes),"visible"in a&&s(3,n=a.visible),"value"in a&&s(0,u=a.value),"interactive"in a&&s(4,g=a.interactive),"root"in a&&s(5,b=a.root),"label"in a&&s(6,w=a.label),"show_label"in a&&s(7,_=a.show_label),"height"in a&&s(8,k=a.height),"_selectable"in a&&s(9,o=a._selectable),"loading_status"in a&&s(10,f=a.loading_status),"container"in a&&s(11,S=a.container),"scale"in a&&s(12,d=a.scale),"min_width"in a&&s(13,U=a.min_width),"gradio"in a&&s(14,c=a.gradio),"file_count"in a&&s(15,J=a.file_count),"file_types"in a&&s(16,O=a.file_types)},i.$$.update=()=>{i.$$.dirty&278529&&JSON.stringify(N)!==JSON.stringify(u)&&(c.dispatch("change"),s(18,N=u))},[u,t,l,n,g,b,w,_,k,o,f,S,d,U,c,J,O,j,N,E,I,P,T,z,A]}class Fe extends M{constructor(e){super(),Z(this,e,ie,le,p,{elem_id:1,elem_classes:2,visible:3,value:0,interactive:4,root:5,label:6,show_label:7,height:8,_selectable:9,loading_status:10,container:11,scale:12,min_width:13,gradio:14,file_count:15,file_types:16})}get elem_id(){return this.$$.ctx[1]}set elem_id(e){this.$$set({elem_id:e}),r()}get elem_classes(){return this.$$.ctx[2]}set elem_classes(e){this.$$set({elem_classes:e}),r()}get visible(){return this.$$.ctx[3]}set visible(e){this.$$set({visible:e}),r()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),r()}get interactive(){return this.$$.ctx[4]}set interactive(e){this.$$set({interactive:e}),r()}get root(){return this.$$.ctx[5]}set root(e){this.$$set({root:e}),r()}get label(){return this.$$.ctx[6]}set label(e){this.$$set({label:e}),r()}get show_label(){return this.$$.ctx[7]}set show_label(e){this.$$set({show_label:e}),r()}get height(){return this.$$.ctx[8]}set height(e){this.$$set({height:e}),r()}get _selectable(){return this.$$.ctx[9]}set _selectable(e){this.$$set({_selectable:e}),r()}get loading_status(){return this.$$.ctx[10]}set loading_status(e){this.$$set({loading_status:e}),r()}get container(){return this.$$.ctx[11]}set container(e){this.$$set({container:e}),r()}get scale(){return this.$$.ctx[12]}set scale(e){this.$$set({scale:e}),r()}get min_width(){return this.$$.ctx[13]}set min_width(e){this.$$set({min_width:e}),r()}get gradio(){return this.$$.ctx[14]}set gradio(e){this.$$set({gradio:e}),r()}get file_count(){return this.$$.ctx[15]}set file_count(e){this.$$set({file_count:e}),r()}get file_types(){return this.$$.ctx[16]}set file_types(e){this.$$set({file_types:e}),r()}}export{Oe as BaseExample,G as BaseFile,D as BaseFileUpload,Ue as FilePreview,Fe as default};
2//# sourceMappingURL=Index-adf98f57.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.