Spaces:
Runtime error
Runtime error
StoryDiffusion
/
myenv
/Lib
/site-packages
/gradio
/templates
/frontend
/assets
/BlockTitle-PA5QeAZI.js
import{I as d}from"./Info-GoO0i2rQ.js";import"./IconButtonWrapper.svelte_svelte_type_style_lang-BiUMvbOz.js";const{SvelteComponent:k,attr:g,check_outros:p,create_component:$,create_slot:B,destroy_component:I,detach:m,element:j,empty:q,flush:h,get_all_dirty_from_scope:v,get_slot_changes:C,group_outros:N,init:S,insert:b,mount_component:T,safe_not_equal:z,space:A,toggle_class:u,transition_in:a,transition_out:c,update_slot_base:D}=window.__gradio__svelte__internal;function w(s){let e,f;return e=new d({props:{root:s[2],info:s[1]}}),{c(){$(e.$$.fragment)},m(n,l){T(e,n,l),f=!0},p(n,l){const r={};l&4&&(r.root=n[2]),l&2&&(r.info=n[1]),e.$set(r)},i(n){f||(a(e.$$.fragment,n),f=!0)},o(n){c(e.$$.fragment,n),f=!1},d(n){I(e,n)}}}function E(s){let e,f,n,l;const r=s[4].default,i=B(r,s,s[3],null);let o=s[1]&&w(s);return{c(){e=j("span"),i&&i.c(),f=A(),o&&o.c(),n=q(),g(e,"data-testid","block-info"),g(e,"class","svelte-1gfkn6j"),u(e,"sr-only",!s[0]),u(e,"hide",!s[0]),u(e,"has-info",s[1]!=null)},m(t,_){b(t,e,_),i&&i.m(e,null),b(t,f,_),o&&o.m(t,_),b(t,n,_),l=!0},p(t,[_]){i&&i.p&&(!l||_&8)&&D(i,r,t,t[3],l?C(r,t[3],_,null):v(t[3]),null),(!l||_&1)&&u(e,"sr-only",!t[0]),(!l||_&1)&&u(e,"hide",!t[0]),(!l||_&2)&&u(e,"has-info",t[1]!=null),t[1]?o?(o.p(t,_),_&2&&a(o,1)):(o=w(t),o.c(),a(o,1),o.m(n.parentNode,n)):o&&(N(),c(o,1,1,()=>{o=null}),p())},i(t){l||(a(i,t),a(o),l=!0)},o(t){c(i,t),c(o),l=!1},d(t){t&&(m(e),m(f),m(n)),i&&i.d(t),o&&o.d(t)}}}function F(s,e,f){let{$$slots:n={},$$scope:l}=e,{show_label:r=!0}=e,{info:i=void 0}=e,{root:o}=e;return s.$$set=t=>{"show_label"in t&&f(0,r=t.show_label),"info"in t&&f(1,i=t.info),"root"in t&&f(2,o=t.root),"$$scope"in t&&f(3,l=t.$$scope)},[r,i,o,l,n]}class J extends k{constructor(e){super(),S(this,e,F,E,z,{show_label:0,info:1,root:2})}get show_label(){return this.$$.ctx[0]}set show_label(e){this.$$set({show_label:e}),h()}get info(){return this.$$.ctx[1]}set info(e){this.$$set({info:e}),h()}get root(){return this.$$.ctx[2]}set root(e){this.$$set({root:e}),h()}}export{J as B}; | |
//# sourceMappingURL=BlockTitle-PA5QeAZI.js.map | |