import{Ct as e,F as t,H as n,It as r,Mt as i,Q as a,W as o,Z as s,_t as c,at as l,c as u,d,ft as f,ht as p,jt as m,l as h,mt as g,ot as _,pt as v,s as y,wt as b}from"../chunks/BA99CCI5.js";import"../chunks/xihTtKlq.js";import"../chunks/DGo8yE5j.js";import{t as x}from"../chunks/3rupxGJ5.js";import{t as S}from"../chunks/BtIghOBA.js";import{t as C}from"../chunks/DYf5Ixhg.js";import{t as w}from"../chunks/BfBgZfCV2.js";import{t as T}from"../chunks/DSmeX4VS2.js";import{t as E}from"../chunks/CEQEwD8g.js";var D=new Set([`$$slots`,`$$events`,`$$legacy`]);function O(e,t){let n=u(t,D),r=[[`path`,{d:`M12 3v18`}],[`path`,{d:`m19 8 3 8a5 5 0 0 1-6 0zV7`}],[`path`,{d:`M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1`}],[`path`,{d:`m5 8 3 8a5 5 0 0 1-6 0zV7`}],[`path`,{d:`M7 21h10`}]];x(e,h({name:`scale`},()=>n,{get iconNode(){return r}}))}var k=o(`<div class="px-4 pb-4 md:px-8 md:pb-8"><!> <!></div> <!>`,1);function A(o,u){i(u,!1);let h=()=>b(w,`$page`,x),[x,D]=e(),A=p(),j=p(),M=p(),N=p(),P=p(),F=y(u,`data`,8);l(()=>h(),()=>{c(A,h().params.databaseId)}),l(()=>h(),()=>{c(j,h().params.id)}),l(()=>h(),()=>{c(M,h().url.pathname)}),l(()=>(a(A),a(j),a(M),C),()=>{c(N,[{label:`General`,href:`/quality-profiles/${a(A)}/${a(j)}/general`,active:a(M).includes(`/general`),icon:S},{label:`Scoring`,href:`/quality-profiles/${a(A)}/${a(j)}/scoring`,active:a(M).includes(`/scoring`),icon:O},{label:`Qualities`,href:`/quality-profiles/${a(A)}/${a(j)}/qualities`,active:a(M).includes(`/qualities`),icon:C}])}),l(()=>(s(F()),a(A)),()=>{c(P,{items:[{label:F().databaseName,href:`/quality-profiles/${a(A)}`}],current:F().profileName})}),_(),d();var I=k(),L=v(I),R=f(L);T(R,{get tabs(){return a(N)},get breadcrumb(){return a(P)},responsive:!0});var z=g(R,2);t(z,u,`default`,{},null),r(L);var B=g(L,2);E(B,{}),n(o,I),m(),D()}export{A as component};