PageSourceSearch

https://spiderreddy-videotoanime.hf.space/assets/Index-DeSepgoB.js

js spiderreddy-videotoanime.hf.space collected 2026-10-03 10:24:03 UTC 23,420 bytes, 2 lines download raw bytes

1import{C as Oe,S as Qe}from"./Index-CdNwo3lV.js";import{B as Xe}from"./BlockTitle-B8MiwV5W.js";import{F as xe}from"./File-BQ_9P3Ye.js";import{M as $e}from"./Music-CDm0RGMk.js";import{V as et}from"./Video-fsmLZWjA.js";import{U as tt}from"./ModifyUpload.svelte_svelte_type_style_lang-Du0s1Wxv.js";import{I as lt}from"./Image-qTpgsDKf.js";import{B as it}from"./Button-6iwMg6dW.js";import{default as rl}from"./Example-BUWpwO8W.js";import"./index-Xl9iYhYF.js";import"./svelte/svelte.js";import"./Info-CWf5-QQ9.js";import"./file-url-CUYFthGu.js";const{SvelteComponent:nt,append:se,attr:V,detach:st,init:ut,insert:ot,noop:de,safe_not_equal:at,svg_element:ee}=window.__gradio__svelte__internal;function ft(l){let e,t,i,o,n;return{c(){e=ee("svg"),t=ee("g"),i=ee("g"),o=ee("g"),n=ee("path"),V(t,"id","SVGRepo_bgCarrier"),V(t,"stroke-width","0"),V(i,"id","SVGRepo_tracerCarrier"),V(i,"stroke-linecap","round"),V(i,"stroke-linejoin","round"),V(n,"d","M19.1168 12.1484C19.474 12.3581 19.9336 12.2384 20.1432 11.8811C20.3528 11.5238 20.2331 11.0643 19.8758 10.8547L19.1168 12.1484ZM6.94331 4.13656L6.55624 4.77902L6.56378 4.78344L6.94331 4.13656ZM5.92408 4.1598L5.50816 3.5357L5.50816 3.5357L5.92408 4.1598ZM5.51031 5.09156L4.76841 5.20151C4.77575 5.25101 4.78802 5.29965 4.80505 5.34671L5.51031 5.09156ZM7.12405 11.7567C7.26496 12.1462 7.69495 12.3477 8.08446 12.2068C8.47397 12.0659 8.67549 11.6359 8.53458 11.2464L7.12405 11.7567ZM19.8758 12.1484C20.2331 11.9388 20.3528 11.4793 20.1432 11.122C19.9336 10.7648 19.474 10.6451 19.1168 10.8547L19.8758 12.1484ZM6.94331 18.8666L6.56375 18.2196L6.55627 18.2241L6.94331 18.8666ZM5.92408 18.8433L5.50815 19.4674H5.50815L5.92408 18.8433ZM5.51031 17.9116L4.80505 17.6564C4.78802 17.7035 4.77575 17.7521 4.76841 17.8016L5.51031 17.9116ZM8.53458 11.7567C8.67549 11.3672 8.47397 10.9372 8.08446 10.7963C7.69495 10.6554 7.26496 10.8569 7.12405 11.2464L8.53458 11.7567ZM19.4963 12.2516C19.9105 12.2516 20.2463 11.9158 20.2463 11.5016C20.2463 11.0873 19.9105 10.7516 19.4963 10.7516V12.2516ZM7.82931 10.7516C7.4151 10.7516 7.07931 11.0873 7.07931 11.5016C7.07931 11.9158 7.4151 12.2516 7.82931 12.2516V10.7516ZM19.8758 10.8547L7.32284 3.48968L6.56378 4.78344L19.1168 12.1484L19.8758 10.8547ZM7.33035 3.49414C6.76609 3.15419 6.05633 3.17038 5.50816 3.5357L6.34 4.78391C6.40506 4.74055 6.4893 4.73863 6.55627 4.77898L7.33035 3.49414ZM5.50816 3.5357C4.95998 3.90102 4.67184 4.54987 4.76841 5.20151L6.25221 4.98161C6.24075 4.90427 6.27494 4.82727 6.34 4.78391L5.50816 3.5357ZM4.80505 5.34671L7.12405 11.7567L8.53458 11.2464L6.21558 4.83641L4.80505 5.34671ZM19.1168 10.8547L6.56378 18.2197L7.32284 19.5134L19.8758 12.1484L19.1168 10.8547ZM6.55627 18.2241C6.4893 18.2645 6.40506 18.2626 6.34 18.2192L5.50815 19.4674C6.05633 19.8327 6.76609 19.8489 7.33035 19.509L6.55627 18.2241ZM6.34 18.2192C6.27494 18.1759 6.24075 18.0988 6.25221 18.0215L4.76841 17.8016C4.67184 18.4532 4.95998 19.1021 5.50815 19.4674L6.34 18.2192ZM6.21558 18.1667L8.53458 11.7567L7.12405 11.2464L4.80505 17.6564L6.21558 18.1667ZM19.4963 10.7516H7.82931V12.2516H19.4963V10.7516Z"),V(n,"fill","currentColor"),V(o,"id","SVGRepo_iconCarrier"),V(e,"viewBox","0 -2 24 24"),V(e,"width","100%"),V(e,"height","100%"),V(e,"fill","none"),V(e,"xmlns","http://www.w3.org/2000/svg")},m(f,a){ot(f,e,a),se(e,t),se(e,i),se(e,o),se(o,n)},p:de,i:de,o:de,d(f){f&&st(e)}}}class rt extends nt{constructor(e){super(),ut(this,e,null,ft,at,{})}}const{tick:_t}=window.__gradio__svelte__internal;async function ue(l,e,t){if(await _t(),e===t)return;let i=t===void 0?!1:t===void 0?21*11:21*(t+1),o=21*(e+1);l.style.height="1px";let n;i&&l.scrollHeight>i?n=i:l.scrollHeight<o?n=o:n=l.scrollHeight,l.style.height=`${n}px`}function ct(l,e){if(e.lines!==e.max_lines&&(l.style.overflowY="scroll",l.addEventListener("input",t=>ue(t.target,e.lines,e.max_lines)),!!e.text.trim()))return ue(l,e.lines,e.max_lines),{destroy:()=>l.removeEventListener("input",t=>ue(t.target,e.lines,e.max_lines))}}const{SvelteComponent:ht,action_destroyer:dt,add_flush_callback:me,append:O,attr:L,bind:ge,binding_callbacks:te,bubble:be,check_outros:oe,create_component:G,destroy_component:I,destroy_each:mt,detach:B,element:j,ensure_array_like:pe,flush:p,group_outros:ae,init:gt,insert:E,is_function:bt,listen:D,mount_component:N,noop:ie,run_all:kt,safe_not_equal:wt,set_data:De,set_input_value:Ce,set_style:Me,space:J,text:Ue,toggle_class:A,transition_in:C,transition_out:S}=window.__gradio__svelte__internal,{beforeUpdate:vt,afterUpdate:Lt,createEventDispatcher:pt,tick:Ze}=window.__gradio__svelte__internal;function ze(l,e,t){const i=l.slice();return i[49]=e[t],i[51]=t,i}function Ct(l){let e;return{c(){e=Ue(l[4])},m(t,i){E(t,e,i)}
1,p(t,i){i[0]&16&&De(e,t[4])},d(t){t&&B(e)}}}function Mt(l){let e,t,i,o,n;return t=new rt({}),{c(){e=j("button"),G(t.$$.fragment),L(e,"class","submit-button svelte-p3822t"),A(e,"disabled",l[3])},m(f,a){E(f,e,a),N(t,e,null),i=!0,o||(n=D(e,"click",l[27]),o=!0)},p(f,a){(!i||a[0]&8)&&A(e,"disabled",f[3])},i(f){i||(C(t.$$.fragment,f),i=!0)},o(f){S(t.$$.fragment,f),i=!1},d(f){f&&B(e),I(t),o=!1,n()}}}function Zt(l){let e,t,i,o;return{c(){e=j("button"),t=Ue(l[9]),L(e,"class","submit-button svelte-p3822t"),A(e,"disabled",l[3])},m(n,f){E(n,e,f),O(e,t),i||(o=D(e,"click",l[27]),i=!0)},p(n,f){f[0]&512&&De(t,n[9]),f[0]&8&&A(e,"disabled",n[3])},i:ie,o:ie,d(n){n&&B(e),i=!1,o()}}}function Se(l){let e,t,i,o=pe(l[0].files),n=[];for(let _=0;_<o.length;_+=1)n[_]=He(ze(l,o,_));const f=_=>S(n[_],1,1,()=>{n[_]=null});let a=l[19]&&Ve();return{c(){e=j("div");for(let _=0;_<n.length;_+=1)n[_].c();t=J(),a&&a.c(),L(e,"class","thumbnails scroll-hide svelte-p3822t"),L(e,"data-testid","container_el"),Me(e,"display",l[0].files.length>0||l[19]?"flex":"none")},m(_,m){E(_,e,m);for(let u=0;u<n.length;u+=1)n[u]&&n[u].m(e,null);O(e,t),a&&a.m(e,null),i=!0},p(_,m){if(m[0]&33554441){o=pe(_[0].files);let u;for(u=0;
1u<o.length;u+=1){const d=ze(_,o,u);n[u]?(n[u].p(d,m),C(n[u],1)):(n[u]=He(d),n[u].c(),C(n[u],1),n[u].m(e,t))}for(ae(),u=o.length;u<n.length;u+=1)f(u);oe()}_[19]?a||(a=Ve(),a.c(),a.m(e,null)):a&&(a.d(1),a=null),(!i||m[0]&524289)&&Me(e,"display",_[0].files.length>0||_[19]?"flex":"none")},i(_){if(!i){for(let m=0;m<o.length;m+=1)C(n[m]);i=!0}},o(_){n=n.filter(Boolean);for(let m=0;m<n.length;m+=1)S(n[m]);i=!1},d(_){_&&B(e),mt(n,_),a&&a.d()}}}function zt(l){let e,t;return e=new xe({}),{c(){G(e.$$.fragment)},m(i,o){N(e,i,o),t=!0},p:ie,i(i){t||(C(e.$$.fragment,i),t=!0)},o(i){S(e.$$.fragment,i),t=!1},d(i){I(e,i)}}}function St(l){let e,t;return e=new et({}),{c(){G(e.$$.fragment)},m(i,o){N(e,i,o),t=!0},p:ie,i(i){t||(C(e.$$.fragment,i),t=!0)},o(i){S(e.$$.fragment,i),t=!1},d(i){I(e,i)}}}function Ht(l){let e,t;return e=new $e({}),{c(){G(e.$$.fragment)},m(i,o){N(e,i,o),t=!0},p:ie,i(i){t||(C(e.$$.fragment,i),t=!0)},o(i){S(e.$$.fragment,i),t=!1},d(i){I(e,i)}}}function Vt(l){let e,t;return e=new lt({props:{src:l[49].url,title:null,alt:"",loading:"lazy",class:"thumbnail-image"}}),{c(){G(e.$$.fragment)},m(i,o){N(e,i,o),t=!0},p(i,o){const n={};o[0]&1&&(n.src=i[49].url),e.$set(n)},i(i){t||(C(e.$$.fragment,i),t=!0)},o(i){S(e.$$.fragment,i),t=!1},d(i){I(e,i)}}}function He(l){let e,t,i,o,n,f,a,_,m,u,d,k;i=new Oe({});function H(...c){return l[35](l[51],...c)}const b=[Vt,Ht,St,zt],g=[];function M(c,h){return h[0]&1&&(n=null),h[0]&1&&(f=null),h[0]&1&&(a=null),n==null&&(n=!!(c[49].mime_type&&c[49].mime_type.includes("image"))),n?0:(f==null&&(f=!!(c[49].mime_type&&c[49].mime_type.includes("audio"))),f?1:(a==null&&(a=!!(c[49].mime_type&&c[49].mime_type.includes("video"))),a?2:3))}return _=M(l,[-1,-1]),m=g[_]=b[_](l),{c(){e=j("button"),t=j("button"),G(i.$$.fragment),o=J(),m.c(),L(t,"class","delete-button svelte-p3822t"),A(t,"disabled",l[3]),L(e,"class","thumbnail-item thumbnail-small svelte-p3822t")},m(c,h){E(c,e,h),O(e,t),N(i,t,null),O(e,o),g[_].m(e,null),u=!0,d||(k=D(t,"click",H),d=!0)},p(c,h){l=c,(!u||h[0]&8)&&A(t,"disabled",l[3]);let w=_;_=M(l,h),_===w?g[_].p(l,h):(ae(),S(g[w],1,1,()=>{g[w]=null}),oe(),m=g[_],m?m.p(l,h):(m=g[_]=b[_](l),m.c()),C(m,1),m.m(e,null))},i(c){u||(C(i.$$.fragment,c),C(m),u=!0)},o(c){S(i.$$.fragment,c),S(m),u=!1},d(c){c&&B(e),I(i),g[_].d(),d=!1,k()}}}function Ve(l){let e;return{c(){e=j("div"),L(e,"class","loader svelte-p3822t")},m(t,i){E(t,e,i)},d(t){t&&B(e)}}}function Tt(l){let e,t,i,o,n,f,a,_,m,u,d,k,H;const b=[Zt,Mt],g=[];function M(h,w){return h[9]!==null?0:1}e=M(l),t=g[e]=b[e](l);let c=(l[0].files.length>0||l[19])&&Se(l);return{c(){t.c(),i=J(),o=j("button"),o.textContent="+",n=J(),c&&c.c(),f=J(),a=j("textarea"),L(o,"class","plus-button svelte-p3822t"),A(o,"disabled",l[3]),L(a,"data-testid","textbox"),L(a,"class","scroll-hide svelte-p3822t"),L(a,"dir",_=l[10]?"rtl":"ltr"),L(a,"placeholder",l[2]),L(a,"rows",l[1]),a.disabled=l[3],a.autofocus=l[11],L(a,"style",m=l[12]?"text-align: "+l[12]:"")},m(h,w){g[e].m(h,w),E(h,i,w),E(h,o,w),E(h,n,w),c&&c.m(h,w),E(h,f,w),E(h,a,w),Ce(a,l[0].text),l[37](a),d=!0,l[11]&&a.focus(),k||(H=[D(o,"click",l[26]),dt(u=ct.call(null,a,{text:l[0].text,lines:l[1],max_lines:l[8]})),D(a,"input",l[36]),D(a,"keypress",l[22]),D(a,"blur",l[33]),D(a,"select",l[21]),D(a,"focus",l[34]),D(a,"scroll",l[23]),D(a,"paste",l[28])],k=!0)},p(h,w){let q=e;e=M(h),e===q?g[e].p(h,w):(ae(),S(g[q],1,1,()=>{g[q]=null}),oe(),t=g[e],t?t.p(h,w):(t=g[e]=b[e](h),t.c()),C(t,1),t.m(i.parentNode,i)),(!d||w[0]&8)&&A(o,"disabled",h[3]),h[0].files.length>0||h[19]?c?(c.p(h,w),w[0]&524289&&C(c,1)):(c=Se(h),c.c(),C(c,1),c.m(f.parentNode,f)):c&&(ae(),S(c,1,1,()=>{c=null}),oe()),(!d||w[0]&1024&&_!==(_=h[10]?"rtl":"ltr"))&&L(a,"dir",_),(!d||w[0]&4)&&L(a,"placeholder",h[2]),(!d||w[0]&2)&&L(a,"rows",h[1]),(!d||w[0]&8)&&(a.disabled=h[3]),(!d||w[0]&2048)&&(a.autofocus=h[11]),(!d||w[0]&4096&&m!==(m=h[12]?"text-align: "+h[12]:""))&&L(a,"style",m),u&&bt(u.update)&&w[0]&259&&u.update.call(null,{text:h[0].text,lines:h[1],max_lines:h[8]}),w[0]&1&&Ce(a,h[0].text)},i(h){d||(C(t),C(c),d=!0)},o(h){S(t),S(c),d=!1},d(h){h&&(B(i),B(o),B(n),B(f),B(a)),g[e].d(h),c&&c.d(h),l[37](null),k=!1,kt(H)}}}function Bt(l){let e,t,i,o,n,f,a,_,m;t=new Xe({props:{show_label:l[6],info:l[5],$$slots:{default:[Ct]},$$scope:{ctx:l}}});function u(b){l[39](b)}function d(b){l[40](b)}function k(b){l[41](b)}let H={filetype:l[20],root:l[13],max_file_size:l[14],show_progress:!1,disable_click:!0,$$slots:{default:[Tt]},$$scope:{ctx:l}};return l[16]!==void 0&&(H.dragging=l[16]),l[19]!==void 0&&(H.uploading=l[19]),l[18]!==void 0&&(H.hidden_upload=l[18]),n=new tt({props:H}),l[38](n),te.push(()=>ge(n,"dragging",u)),te.push(()=>ge(n,"uploading",d)),te.push(()=>ge(n,"hidden_upload",k)),n.$on("load",l[24]),n.$on("error",l[42]),{c(){e=j("label"),G(t.$$.fragment),i=J(),o=j("div"),G(n.$$.fragment),L(o,"class","input-container svelte-p3822t"),A(e,"container",l[7])},m(b,g){E(b,e,g),N(t,e,null),O(e,i),O(e,o),N(n,o,null),m=!0},p(b,g){const M={};g[0]&64&&(M.show_label=b[6]),g[0]&32&&(M.info=b[5]),g[0]&16|g[1]&2097152&&(M.$$scope={dirty:g,ctx:b}),t.$set(M);const c={};g[0]&1048576&&(c.filetype=b[20]),g[0]&8192&&(c.root=b[13]),g[0]&16384&&(c.max_file_size=b[14]),g[0]&565007|g[1]&2097152&&(c.$$
1scope={dirty:g,ctx:b}),!f&&g[0]&65536&&(f=!0,c.dragging=b[16],me(()=>f=!1)),!a&&g[0]&524288&&(a=!0,c.uploading=b[19],me(()=>a=!1)),!_&&g[0]&262144&&(_=!0,c.hidden_upload=b[18],me(()=>_=!1)),n.$set(c),(!m||g[0]&128)&&A(e,"container",b[7])},i(b){m||(C(t.$$.fragment,b),C(n.$$.fragment,b),m=!0)},o(b){S(t.$$.fragment,b),S(n.$$.fragment,b),m=!1},d(b){b&&B(e),I(t),l[38](null),I(n)}}}function Et(l,e,t){let{value:i={text:"",files:[]}}=e,{value_is_output:o=!1}=e,{lines:n=1}=e,{placeholder:f="Type here..."}=e,{disabled:a=!1}=e,{label:_}=e,{info:m=void 0}=e,{show_label:u=!0}=e,{container:d=!0}=e,{max_lines:k}=e,{submit_btn:H=null}=e,{rtl:b=!1}=e,{autofocus:g=!1}=e,{text_align:M=void 0}=e,{autoscroll:c=!0}=e,{root:h}=e,{file_types:w=null}=e,{max_file_size:q=null}=e,R,U,Z,y,Q=0,P=!1,W=!1,X=!1,x=i.text,$;w==null?$=null:(w=w.map(s=>s.startsWith(".")?s:s+"/*"),$=w.join(", "));const T=pt();vt(()=>{y=Z&&Z.offsetHeight+Z.scrollTop>Z.scrollHeight-100});const fe=()=>{y&&c&&!P&&Z.scrollTo(0,Z.scrollHeight)};async function ne(){T("change",i),o||T("input")}Lt(()=>{g&&Z!==null&&Z.focus(),y&&c&&fe(),t(29,o=!1)});function re(s){const z=s.target,K=z.value,F=[z.selectionStart,z.selectionEnd];T("select",{value:K.substring(...F),index:F})}async function _e(s){await Ze(),(s.key==="Enter"&&s.shiftKey&&n>1||s.key==="Enter"&&!s.shiftKey&&n===1&&k>=1)&&(s.preventDefault(),T("submit"))}function ce(s){const z=s.target,K=z.scrollTop;K<Q&&(P=!0),Q=K;const F=z.scrollHeight-z.clientHeight;K>=F&&(P=!1)}async function r({detail:s}){if(ne(),Array.isArray(s))for(let z of s)i.files.push(z);else i.files.push(s),t(0,i);await Ze(),T("change",i),T("upload",s)}function Le(s,z){ne(),s.stopPropagation(),i.files.splice(z,1),t(0,i)}function je(){U&&(t(18,U.value="",U),U.click())}async function Ae(){T("submit")}function Fe(s){if(!s.clipboardData)return;const z=s.clipboardData.items;for(let K in z){const F=z[K];if(F.kind==="file"&&F.type.includes("image")){const he=F.getAsFile();he&&R.load_files([he])}}}function Ge(s){be.call(this,l,s)}function Ie(s){be.call(this,l,s)}const Ne=(s,z)=>Le(z,s);function Re(){i.text=this.value,t(0,i)}function Ke(s){te[s?"unshift":"push"](()=>{Z=s,t(15,Z)})}function ye(s){te[s?"unshift":"push"](()=>{R=s,t(17,R)})}function Pe(s){W=s,t(16,W)}function We(s){X=s,t(19,X)}function Ye(s){U=s,t(18,U)}function Je(s){be.call(this,l,s)}return l.$$set=s=>{"value"in s&&t(0,i=s.value),"value_is_output"in s&&t(29,o=s.value_is_output),"lines"in s&&t(1,n=s.lines),"placeholder"in s&&t(2,f=s.placeholder),"disabled"in s&&t(3,a=s.disabled),"label"in s&&t(4,_=s.label),"info"in s&&t(5,m=s.info),"show_label"in s&&t(6,u=s.show_label),"container"in s&&t(7,d=s.container),"max_lines"in s&&t(8,k=s.max_lines),"submit_btn"in s&&t(9,H=s.submit_btn),"rtl"in s&&t(10,b=s.rtl),"autofocus"in s&&t(11,g=s.autofocus),"text_align"in s&&t(12,M=s.text_align),"autoscroll"in s&&t(31,c=s.autoscroll),"root"in s&&t(13,h=s.root),"file_types"in s&&t(30,w=s.file_types),"max_file_size"in s&&t(14,q=s.max_file_size)},l.$$.update=()=>{l.$$.dirty[0]&65536&&T("drag",W),l.$$.dirty[0]&1&&i===null&&t(0,i={text:"",files:[]}),l.$$.dirty[0]&1|l.$$.dirty[1]&2&&x!==i.text&&(T("change",i),t(32,x=i.text)),l.$$.dirty[0]&33027&&Z&&n!==k&&ue(Z,n,k)},[i,n,f,a,_,m,u,d,k,H,b,g,M,h,q,Z,W,R,U,X,$,re,_e,ce,r,Le,je,Ae,Fe,o,w,c,x,Ge,Ie,Ne,Re,Ke,ye,Pe,We,Ye,Je]}class qt extends ht{constructor(e){super(),gt(this,e,Et,Bt,wt,{value:0,value_is_output:29,lines:1,placeholder:2,disabled:3,label:4,info:5,show_label:6,container:7,max_lines:8,submit_btn:9,rtl:10,autofocus:11,text_align:12,autoscroll:31,root:13,file_types:30,max_file_size:14},null,[-1,-1])}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),p()}get value_is_output(){return this.$$.ctx[29]}set value_is_output(e){this.$$set({value_is_output:e}),p()}get lines(){return this.$$.ctx[1]}set lines(e){this.$$set({lines:e}),p()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),p()}get disabled(){return this.$$.ctx[3]}set disabled(e){this.$$set({disabled:e}),p()}get label(){return this.$$.ctx[4]}set label(e){this.$$set({label:e}),p()}get info(){return this.$$.ctx[5]}set info(e){this.$$set({info:e}),p()}get show_label(){return this.$$.ctx[6]}set show_label(e){this.$$set({show_label:e}),p()}get container(){return this.$$.ctx[7]}set container(e){this.$$set({container:e}),p()}get max_lines(){return this.$$.ctx[8]}set max_lines(e){this.$$set({max_lines:e}),p()}get submit_btn(){return this.$$.ctx[9]}set submit_btn(e){this.$$set({submit_btn:e}),p()}get rtl(){return this.$$.ctx[10]}set rtl(e){this.$$set({rtl:e}),p()}get autofocus(){return this.$$.ctx[11]}set autofocus(e){this.$$set({autofocus:e}),p()}get text_align(){return this.$$.ctx[12]}set text_align(e){this.$$set({text_align:e}),p()}get autoscroll(){return this.$$.ctx[31]}set autoscroll(e){this.$$set({autoscroll:e}),p()}get root(){return this.$$.ctx[13]}set root(e){this.$$set({root:e}),p()}get file_types(){return this.$$.ctx[30]}set file_types(e){this.$$set({file_types:e}),p()}get max_file_size(){return this.$$.ctx[14]}set max_file_size(e){this.$$set({max_file_size:e}),p()}}const Dt=qt,{SvelteComponent:Ut,add_flush_callback:Te,assign:jt,bind:Be,binding_callbacks:Ee,check_outros:At,create_component:ke,destroy_component:we,detach:Ft,flush:v,get_spread_object:Gt,get_spread_update:It,group_outros:Nt,init:Rt,insert:Kt,mount_component:ve,safe_not_equal:yt,space
vendor: 6,965 bytes, lines 1-2
1:Pt,transition_in:Y,transition_out:le}=window.__gradio__svelte__internal;function qe(l){let e,t;const i=[{autoscroll:l[2].autoscroll},{i18n:l[2].i18n},l[17]];let o={};for(let n=0;n<i.length;n+=1)o=jt(o,i[n]);return e=new Qe({props:o}),e.$on("clear_status",l[24]),{c(){ke(e.$$.fragment)},m(n,f){ve(e,n,f),t=!0},p(n,f){const a=f[0]&131076?It(i,[f[0]&4&&{autoscroll:n[2].autoscroll},f[0]&4&&{i18n:n[2].i18n},f[0]&131072&&Gt(n[17])]):{};e.$set(a)},i(n){t||(Y(e.$$.fragment,n),t=!0)},o(n){le(e.$$.fragment,n),t=!1},d(n){we(e,n)}}}function Wt(l){let e,t,i,o,n,f=l[17]&&qe(l);function a(u){l[25](u)}function _(u){l[26](u)}let m={file_types:l[6],root:l[23],label:l[9],info:l[10],show_label:l[11],lines:l[7],rtl:l[18],text_align:l[19],max_lines:l[12]?l[12]:l[7]+1,placeholder:l[8],submit_btn:l[16],autofocus:l[20],container:l[13],autoscroll:l[21],max_file_size:l[2].max_file_size,disabled:!l[22]};return l[0]!==void 0&&(m.value=l[0]),l[1]!==void 0&&(m.value_is_output=l[1]),t=new Dt({props:m}),Ee.push(()=>Be(t,"value",a)),Ee.push(()=>Be(t,"value_is_output",_)),t.$on("change",l[27]),t.$on("input",l[28]),t.$on("submit",l[29]),t.$on("blur",l[30]),t.$on("select",l[31]),t.$on("focus",l[32]),t.$on("error",l[33]),{c(){f&&f.c(),e=Pt(),ke(t.$$.fragment)},m(u,d){f&&f.m(u,d),Kt(u,e,d),ve(t,u,d),n=!0},p(u,d){u[17]?f?(f.p(u,d),d[0]&131072&&Y(f,1)):(f=qe(u),f.c(),Y(f,1),f.m(e.parentNode,e)):f&&(Nt(),le(f,1,1,()=>{f=null}),At());const k={};d[0]&64&&(k.file_types=u[6]),d[0]&8388608&&(k.root=u[23]),d[0]&512&&(k.label=u[9]),d[0]&1024&&(k.info=u[10]),d[0]&2048&&(k.show_label=u[11]),d[0]&128&&(k.lines=u[7]),d[0]&262144&&(k.rtl=u[18]),d[0]&524288&&(k.text_align=u[19]),d[0]&4224&&(k.max_lines=u[12]?u[12]:u[7]+1),d[0]&256&&(k.placeholder=u[8]),d[0]&65536&&(k.submit_btn=u[16]),d[0]&1048576&&(k.autofocus=u[20]),d[0]&8192&&(k.container=u[13]),d[0]&2097152&&(k.autoscroll=u[21]),d[0]&4&&(k.max_file_size=u[2].max_file_size),d[0]&4194304&&(k.disabled=!u[22]),!i&&d[0]&1&&(i=!0,k.value=u[0],Te(()=>i=!1)),!o&&d[0]&2&&(o=!0,k.value_is_output=u[1],Te(()=>o=!1)),t.$set(k)},i(u){n||(Y(f),Y(t.$$.fragment,u),n=!0)},o(u){le(f),le(t.$$.fragment,u),n=!1},d(u){u&&Ft(e),f&&f.d(u),we(t,u)}}}function Yt(l){let e,t;return e=new it({props:{visible:l[5],elem_id:l[3],elem_classes:l[4],scale:l[14],min_width:l[15],allow_overflow:!1,padding:l[13],$$slots:{default:[Wt]},$$scope:{ctx:l}}}),{c(){ke(e.$$.fragment)},m(i,o){ve(e,i,o),t=!0},p(i,o){const n={};o[0]&32&&(n.visible=i[5]),o[0]&8&&(n.elem_id=i[3]),o[0]&16&&(n.elem_classes=i[4]),o[0]&16384&&(n.scale=i[14]),o[0]&32768&&(n.min_width=i[15]),o[0]&8192&&(n.padding=i[13]),o[0]&16728007|o[1]&8&&(n.$$scope={dirty:o,ctx:i}),e.$set(n)},i(i){t||(Y(e.$$.fragment,i),t=!0)},o(i){le(e.$$.fragment,i),t=!1},d(i){we(e,i)}}}function Jt(l,e,t){let{gradio:i}=e,{elem_id:o=""}=e,{elem_classes:n=[]}=e,{visible:f=!0}=e,{value:a={text:"",files:[]}}=e,{file_types:_=null}=e,{lines:m}=e,{placeholder:u=""}=e,{label:d="MultimodalTextbox"}=e,{info:k=void 0}=e,{show_label:H}=e,{max_lines:b}=e,{container:g=!0}=e,{scale:M=null}=e,{min_width:c=void 0}=e,{submit_btn:h=null}=e,{loading_status:w=void 0}=e,{value_is_output:q=!1}=e,{rtl:R=!1}=e,{text_align:U=void 0}=e,{autofocus:Z=!1}=e,{autoscroll:y=!0}=e,{interactive:Q}=e,{root:P}=e;const W=()=>i.dispatch("clear_status",w);function X(r){a=r,t(0,a)}function x(r){q=r,t(1,q)}const $=()=>i.dispatch("change",a),T=()=>i.dispatch("input"),fe=()=>i.dispatch("submit"),ne=()=>i.dispatch("blur"),re=r=>i.dispatch("select",r.detail),_e=()=>i.dispatch("focus"),ce=({detail:r})=>{i.dispatch("error",r)};return l.$$set=r=>{"gradio"in r&&t(2,i=r.gradio),"elem_id"in r&&t(3,o=r.elem_id),"elem_classes"in r&&t(4,n=r.elem_classes),"visible"in r&&t(5,f=r.visible),"value"in r&&t(0,a=r.value),"file_types"in r&&t(6,_=r.file_types),"lines"in r&&t(7,m=r.lines),"placeholder"in r&&t(8,u=r.placeholder),"label"in r&&t(9,d=r.label),"info"in r&&t(10,k=r.info),"show_label"in r&&t(11,H=r.show_label),"max_lines"in r&&t(12,b=r.max_lines),"container"in r&&t(13,g=r.container),"scale"in r&&t(14,M=r.scale),"min_width"in r&&t(15,c=r.min_width),"submit_btn"in r&&t(16,h=r.submit_btn),"loading_status"in r&&t(17,w=r.loading_status),"value_is_output"in r&&t(1,q=r.value_is_output),"rtl"in r&&t(18,R=r.rtl),"text_align"in r&&t(19,U=r.text_align),"autofocus"in r&&t(20,Z=r.autofocus),"autoscroll"in r&&t(21,y=r.autoscroll),"interactive"in r&&t(22,Q=r.interactive),"root"in r&&t(23,P=r.root)},[a,q,i,o,n,f,_,m,u,d,k,H,b,g,M,c,h,w,R,U,Z,y,Q,P,W,X,x,$,T,fe,ne,re,_e,ce]}class ol extends Ut{constructor(e){super(),Rt(this,e,Jt,Yt,yt,{gradio:2,elem_id:3,elem_classes:4,visible:5,value:0,file_types:6,lines:7,placeholder:8,label:9,info:10,show_label:11,max_lines:12,container:13,scale:14,min_width:15,submit_btn:16,loading_status:17,value_is_output:1,rtl:18,text_align:19,autofocus:20,autoscroll:21,interactive:22,root:23},null,[-1,-1])}get gradio(){return this.$$.ctx[2]}set gradio(e){this.$$set({gradio:e}),v()}get elem_id(){return this.$$.ctx[3]}set elem_id(e){this.$$set({elem_id:e}),v()}get elem_classes(){return this.$$.ctx[4]}set elem_classes(e){this.$$set({elem_classes:e}),v()}get visible(){return this.$$.ctx[5]}set visible(e){this.$$set({visible:e}),v()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),v()}get file_types(){return this.$$.ctx[6]}set file_types(e){this.$$set({file_types:e}),v()}get lines(){return this.$$.ctx[7]}set lines(e){this.$$set({lines:e}),v()}get placeholder(){return this.$$.ctx[8]}set placeholder(e){this.$$set({placeholder:e}),v()}get label(){return this.$$.ctx[9]}set label(e){this.$$set({label:e}),v()}get info(){return this.$$.ctx[10]}set info(e){this.$$set({info:e}),v()}get show_label(){return this.$$.ctx[11]}set show_label(e){this.$$set({show_label:e}),v()}get max_lines(){return this.$$.ctx[12]}set max_lines(e){this.$$set({max_lines:e}),v()}get container(){return this.$$.ctx[13]}set container(e){this.$$set({container:e}),v()}get scale(){return this.$$.ctx[14]}set scale(e){this.$$set({scale:e}),v()}get min_width(){return this.$$.ctx[15]}set min_width(e){this.$$set({min_width:e}),v()}get submit_btn(){return this.$$.ctx[16]}set submit_btn(e){this.$$set({submit_btn:e}),v()}get loading_status(){return this.$$.ctx[17]}set loading_status(e){this.$$set({loading_status:e}),v()}get value_is_output(){return this.$$.ctx[1]}set value_is_output(e){this.$$set({value_is_output:e}),v()}get rtl(){return this.$$.ctx[18]}set rtl(e){this.$$set({rtl:e}),v()}get text_align(){return this.$$.ctx[19]}set text_align(e){this.$$set({text_align:e}),v()}get autofocus(){return this.$$.ctx[20]}set autofocus(e){this.$$set({autofocus:e}),v()}get autoscroll(){return this.$$.ctx[21]}set autoscroll(e){this.$$set({autoscroll:e}),v()}get interactive(){return this.$$.ctx[22]}set interactive(e){this.$$set({interactive:e}),v()}get root(){return this.$$.ctx[23]}set root(e){this.$$set({root:e}),v()}}export{rl as BaseExample,Dt as BaseMultimodalTextbox,ol as default};
2//# sourceMappingURL=Index-DeSepgoB.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.