import"./svelte/svelte_internal_flags_async.js";import*as e from"./svelte/svelte_internal_client.js";var g=e.from_html("<li><code> </code></li>"),x=e.from_html('<li class="extra svelte-14aa7hi">...</li>'),A=e.from_html("<!> <!>",1),b=e.from_html("<ul><!></ul>");function E(o,a){e.push(a,!0);let m=e.prop(a,"selected",3,!1);var t=b();let d;var _=e.child(t);{var n=r=>{var c=A(),f=e.first_child(c);e.each(f,17,()=>Array.isArray(a.value)?a.value.slice(0,3):[a.value],e.index,(l,i)=>{var v=g(),s=e.child(v),y=e.child(s);e.reset(s),e.reset(v),e.template_effect(()=>e.set_text(y,`./${e.get(i)??""}`)),e.append(l,v)});var u=e.sibling(f,2);{var h=l=>{var i=x();e.append(l,i)};e.if(u,l=>{Array.isArray(a.value)&&a.value.length>3&&l(h)})}e.append(r,c)};e.if(_,r=>{a.value&&r(n)})}e.reset(t),e.template_effect(()=>d=e.set_class(t,1,"svelte-14aa7hi",null,d,{table:a.type==="table",gallery:a.type==="gallery",selected:m()})),e.append(o,t),e.pop()}export{E as default};
