const{SvelteComponent:w,attr:h,create_slot:b,detach:j,element:q,flush:m,get_all_dirty_from_scope:C,get_slot_changes:I,init:S,insert:k,null_to_empty:v,safe_not_equal:z,set_style:g,toggle_class:f,transition_in:A,transition_out:B,update_slot_base:D}=window.__gradio__svelte__internal;function E(n){let e,_,u=`calc(min(${n[2]}px, 100%))`,l;const c=n[8].default,a=b(c,n,n[7],null);return{c(){e=q("div"),a&&a.c(),h(e,"id",n[3]),h(e,"class",_=v(n[4].join(" "))+" svelte-vt1mxs"),f(e,"gap",n[1]),f(e,"compact",n[6]==="compact"),f(e,"panel",n[6]==="panel"),f(e,"hide",!n[5]),g(e,"flex-grow",n[0]),g(e,"min-width",u)},m(t,s){k(t,e,s),a&&a.m(e,null),l=!0},p(t,[s]){a&&a.p&&(!l||s&128)&&D(a,c,t,t[7],l?I(c,t[7],s,null):C(t[7]),null),(!l||s&8)&&h(e,"id",t[3]),(!l||s&16&&_!==(_=v(t[4].join(" "))+" svelte-vt1mxs"))&&h(e,"class",_),(!l||s&18)&&f(e,"gap",t[1]),(!l||s&80)&&f(e,"compact",t[6]==="compact"),(!l||s&80)&&f(e,"panel",t[6]==="panel"),(!l||s&48)&&f(e,"hide",!t[5]),s&1&&g(e,"flex-grow",t[0]),s&4&&u!==(u=`calc(min(${t[2]}px, 100%))`)&&g(e,"min-width",u)},i(t){l||(A(a,t),l=!0)},o(t){B(a,t),l=!1},d(t){t&&j(e),a&&a.d(t)}}}function F(n,e,_){let{$$slots:u={},$$scope:l}=e,{scale:c=null}=e,{gap:a=!0}=e,{min_width:t=0}=e,{elem_id:s=""}=e,{elem_classes:d=[]}=e,{visible:r=!0}=e,{variant:o="default"}=e;return n.$$set=i=>{"scale"in i&&_(0,c=i.scale),"gap"in i&&_(1,a=i.gap),"min_width"in i&&_(2,t=i.min_width),"elem_id"in i&&_(3,s=i.elem_id),"elem_classes"in i&&_(4,d=i.elem_classes),"visible"in i&&_(5,r=i.visible),"variant"in i&&_(6,o=i.variant),"$$scope"in i&&_(7,l=i.$$scope)},[c,a,t,s,d,r,o,l,u]}class G extends w{constructor(e){super(),S(this,e,F,E,z,{scale:0,gap:1,min_width:2,elem_id:3,elem_classes:4,visible:5,variant:6})}get scale(){return this.$$.ctx[0]}set scale(e){this.$$set({scale:e}),m()}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),m()}get min_width(){return this.$$.ctx[2]}set min_width(e){this.$$set({min_width:e}),m()}get elem_id(){return this.$$.ctx[3]}set elem_id(e){this.$$set({elem_id:e}),m()}get elem_classes(){return this.$$.ctx[4]}set elem_classes(e){this.$$set({elem_classes:e}),m()}get visible(){return this.$$.ctx[5]}set visible(e){this.$$set({visible:e}),m()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),m()}}export{G as default};
//# sourceMappingURL=Index-INgKs-Lw.js.map
