try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e0178476-b9ac-4499-a0ff-93b2fbbeabde`,e._sentryDebugIdIdentifier=`sentry-dbid-e0178476-b9ac-4499-a0ff-93b2fbbeabde`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,ng as n,pi as r}from"./entry.client-mpghtlrl.js";import{L as i}from"./xds-react-components-ihgca01z.js";import{n as a,t as o}from"./filterLabels-mk737m82.js";var s=t(),c=e(r(),1),l=n(),u=e=>{let t=(0,s.c)(15),{availableProviders:n,selectedTags:r,category:u,handleSelectedTagsChange:d}=e,f=a(),p;if(t[0]!==n||t[1]!==f||t[2]!==r||t[3]!==u||t[4]!==d){let e;t[6]===f?e=t[7]:(e=(e,t)=>{if(e===`grts-catalog-provider`||t===`grts-catalog-provider`)return e===`grts-catalog-provider`?-1:1;let n=o(e,f),r=o(t,f);return n.localeCompare(r)},t[6]=f,t[7]=e);let a=[...n].sort(e),s;t[8]!==f||t[9]!==r||t[10]!==u||t[11]!==d?(s=e=>(0,l.jsx)(i,{label:o(e,f),className:(0,c.default)(`block`),isSelected:r[u].includes(e),onChange:t=>{d(u,e,t)},wrap:!0},e),t[8]=f,t[9]=r,t[10]=u,t[11]=d,t[12]=s):s=t[12],p=a.map(s),t[0]=n,t[1]=f,t[2]=r,t[3]=u,t[4]=d,t[5]=p}else p=t[5];let m;return t[13]===p?m=t[14]:(m=(0,l.jsx)(l.Fragment,{children:p}),t[13]=p,t[14]=m),m};export{u as default};