import{c as N,a as p,f as I}from"./CkL4Pxt3.js";import{k as U,d as e,r as t,n as w,s as x,t as k}from"./s1dcSIVc.js";import{s as n}from"./CPMpaYR7.js";import{i as V}from"./B6leOVDb.js";import{a as b,s as B}from"./DQsFLTCT.js";import{p as C}from"./-tUHYaTb.js";var D=I('
Coming Soon

'),Z=I('

');function K(T,r){let j=C(r,"status",3,"live"),c=C(r,"external",3,!1);function A(s){switch(s.toUpperCase()){case"INTERACTIVE":return"bg-purple-100 text-purple-700";case"STATISTICS":return"bg-blue-100 text-blue-700";case"VISUALIZATION":return"bg-green-100 text-green-700";case"ML":return"bg-orange-100 text-orange-700";case"EDA":return"bg-teal-100 text-teal-700";case"TOOL":return"bg-indigo-100 text-indigo-700";default:return"bg-gray-100 text-gray-700"}}var _=N(),S=U(_);{var E=s=>{var a=D(),i=e(a),l=e(i),v=e(l),u=e(v,!0);t(v),t(l),w(2),t(i);var o=x(i,2),g=e(o,!0);t(o);var d=x(o,2),m=e(d,!0);t(d),t(a),k(()=>{n(u,r.icon),n(g,r.title),n(m,r.description)}),p(s,a)},O=s=>{var a=Z(),i=e(a),l=e(i),v=e(l),u=e(v,!0);t(v),t(l);var o=x(l,2),g=e(o,!0);t(o),t(i);var d=x(i,2),m=e(d,!0);t(d);var f=x(d,2),L=e(f,!0);t(f);var y=x(f,2),h=e(y),R=e(h,!0);t(h),w(2),t(y),t(a),k(M=>{b(a,"href",r.href),b(a,"target",c()?"_blank":void 0),b(a,"rel",c()?"noopener noreferrer":void 0),n(u,r.icon),B(o,1,`text-xs font-medium px-2 py-1 rounded-full ${M??""}`),n(g,r.category),n(m,r.title),n(L,r.description),n(R,c()?"Open":"Explore")},[()=>A(r.category)]),p(s,a)};V(S,s=>{j()==="coming-soon"?s(E):s(O,!1)})}p(T,_)}export{K as R};