Files
Snigdha-OS.github.io/assets/Developers-Ddn1LvUS.js
eshanized 73116ce707 Updates
2024-12-27 22:05:44 +05:30

12 lines
20 KiB
JavaScript

var Te=t=>{throw TypeError(t)};var he=(t,e,s)=>e.has(t)||Te("Cannot "+s);var r=(t,e,s)=>(he(t,e,"read from private field"),s?s.call(t):e.get(t)),p=(t,e,s)=>e.has(t)?Te("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s),h=(t,e,s,i)=>(he(t,e,"write to private field"),i?i.call(t,s):e.set(t,s),s),u=(t,e,s)=>(he(t,e,"access private method"),s);import{S as $e,p as Me,b as M,s as ue,d as ie,n as et,i as de,e as _e,t as tt,g as st,h as rt,k as Fe,l as Y,m as it,r as S,u as Ae,c as qe,j as n,B as at,o as nt,a as ot}from"../main.js";import{m as X}from"./proxy-DPp9lXkG.js";import{M as ct}from"./map-pin-FndLqqsR.js";import{U as ht}from"./users-Bjd2Q3fX.js";import{S as lt}from"./star-ULTsXjFw.js";var E,l,Z,C,U,B,_,T,ee,z,G,D,P,F,V,d,J,fe,pe,me,ge,ye,be,xe,Be,Pe,Se=(Pe=class extends $e{constructor(e,s){super();p(this,d);p(this,E);p(this,l);p(this,Z);p(this,C);p(this,U);p(this,B);p(this,_);p(this,T);p(this,ee);p(this,z);p(this,G);p(this,D);p(this,P);p(this,F);p(this,V,new Set);this.options=s,h(this,E,e),h(this,T,null),h(this,_,Me()),this.options.experimental_prefetchInRender||r(this,_).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,l).addObserver(this),Le(r(this,l),this.options)?u(this,d,J).call(this):this.updateResult(),u(this,d,ge).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ve(r(this,l),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ve(r(this,l),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,u(this,d,ye).call(this),u(this,d,be).call(this),r(this,l).removeObserver(this)}setOptions(e,s){const i=this.options,c=r(this,l);if(this.options=r(this,E).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof M(this.options.enabled,r(this,l))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");u(this,d,xe).call(this),r(this,l).setOptions(this.options),i._defaulted&&!ue(this.options,i)&&r(this,E).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,l),observer:this});const o=this.hasListeners();o&&Ue(r(this,l),c,this.options,i)&&u(this,d,J).call(this),this.updateResult(s),o&&(r(this,l)!==c||M(this.options.enabled,r(this,l))!==M(i.enabled,r(this,l))||ie(this.options.staleTime,r(this,l))!==ie(i.staleTime,r(this,l)))&&u(this,d,fe).call(this);const a=u(this,d,pe).call(this);o&&(r(this,l)!==c||M(this.options.enabled,r(this,l))!==M(i.enabled,r(this,l))||a!==r(this,F))&&u(this,d,me).call(this,a)}getOptimisticResult(e){const s=r(this,E).getQueryCache().build(r(this,E),e),i=this.createResult(s,e);return dt(this,i)&&(h(this,C,i),h(this,B,this.options),h(this,U,r(this,l).state)),i}getCurrentResult(){return r(this,C)}trackResult(e,s){const i={};return Object.keys(e).forEach(c=>{Object.defineProperty(i,c,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(c),s==null||s(c),e[c])})}),i}trackProp(e){r(this,V).add(e)}getCurrentQuery(){return r(this,l)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const s=r(this,E).defaultQueryOptions(e),i=r(this,E).getQueryCache().build(r(this,E),s);return i.fetch().then(()=>this.createResult(i,s))}fetch(e){return u(this,d,J).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,C)))}createResult(e,s){var Ie;const i=r(this,l),c=this.options,o=r(this,C),a=r(this,U),m=r(this,B),f=e!==i?e.state:r(this,Z),{state:w}=e;let y={...w},k=!1,b;if(s._optimisticResults){const O=this.hasListeners(),A=!O&&Le(e,s),q=O&&Ue(e,i,s,c);(A||q)&&(y={...y,...rt(w.data,e.options)}),s._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:x,errorUpdatedAt:j,status:v}=y;if(s.select&&y.data!==void 0)if(o&&y.data===(a==null?void 0:a.data)&&s.select===r(this,ee))b=r(this,z);else try{h(this,ee,s.select),b=s.select(y.data),b=Fe(o==null?void 0:o.data,b,s),h(this,z,b),h(this,T,null)}catch(O){h(this,T,O)}else b=y.data;if(s.placeholderData!==void 0&&b===void 0&&v==="pending"){let O;if(o!=null&&o.isPlaceholderData&&s.placeholderData===(m==null?void 0:m.placeholderData))O=o.data;else if(O=typeof s.placeholderData=="function"?s.placeholderData((Ie=r(this,G))==null?void 0:Ie.state.data,r(this,G)):s.placeholderData,s.select&&O!==void 0)try{O=s.select(O),h(this,T,null)}catch(A){h(this,T,A)}O!==void 0&&(v="success",b=Fe(o==null?void 0:o.data,O,s),k=!0)}r(this,T)&&(x=r(this,T),b=r(this,z),j=Date.now(),v="error");const $=y.fetchStatus==="fetching",oe=v==="pending",ce=v==="error",Qe=oe&&$,ke=b!==void 0,I={status:v,fetchStatus:y.fetchStatus,isPending:oe,isSuccess:v==="success",isError:ce,isInitialLoading:Qe,isLoading:Qe,data:b,dataUpdatedAt:y.dataUpdatedAt,error:x,errorUpdatedAt:j,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>f.dataUpdateCount||y.errorUpdateCount>f.errorUpdateCount,isFetching:$,isRefetching:$&&!oe,isLoadingError:ce&&!ke,isPaused:y.fetchStatus==="paused",isPlaceholderData:k,isRefetchError:ce&&ke,isStale:Ne(e,s),refetch:this.refetch,promise:r(this,_)};if(this.options.experimental_prefetchInRender){const O=re=>{I.status==="error"?re.reject(I.error):I.data!==void 0&&re.resolve(I.data)},A=()=>{const re=h(this,_,I.promise=Me());O(re)},q=r(this,_);switch(q.status){case"pending":e.queryHash===i.queryHash&&O(q);break;case"fulfilled":(I.status==="error"||I.data!==q.value)&&A();break;case"rejected":(I.status!=="error"||I.error!==q.reason)&&A();break}}return I}updateResult(e){const s=r(this,C),i=this.createResult(r(this,l),this.options);if(h(this,U,r(this,l).state),h(this,B,this.options),r(this,U).data!==void 0&&h(this,G,r(this,l)),ue(i,s))return;h(this,C,i);const c={},o=()=>{if(!s)return!0;const{notifyOnChangeProps:a}=this.options,m=typeof a=="function"?a():a;if(m==="all"||!m&&!r(this,V).size)return!0;const g=new Set(m??r(this,V));return this.options.throwOnError&&g.add("error"),Object.keys(r(this,C)).some(f=>{const w=f;return r(this,C)[w]!==s[w]&&g.has(w)})};(e==null?void 0:e.listeners)!==!1&&o()&&(c.listeners=!0),u(this,d,Be).call(this,{...c,...e})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&u(this,d,ge).call(this)}},E=new WeakMap,l=new WeakMap,Z=new WeakMap,C=new WeakMap,U=new WeakMap,B=new WeakMap,_=new WeakMap,T=new WeakMap,ee=new WeakMap,z=new WeakMap,G=new WeakMap,D=new WeakMap,P=new WeakMap,F=new WeakMap,V=new WeakMap,d=new WeakSet,J=function(e){u(this,d,xe).call(this);let s=r(this,l).fetch(this.options,e);return e!=null&&e.throwOnError||(s=s.catch(et)),s},fe=function(){u(this,d,ye).call(this);const e=ie(this.options.staleTime,r(this,l));if(de||r(this,C).isStale||!_e(e))return;const i=tt(r(this,C).dataUpdatedAt,e)+1;h(this,D,setTimeout(()=>{r(this,C).isStale||this.updateResult()},i))},pe=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,l)):this.options.refetchInterval)??!1},me=function(e){u(this,d,be).call(this),h(this,F,e),!(de||M(this.options.enabled,r(this,l))===!1||!_e(r(this,F))||r(this,F)===0)&&h(this,P,setInterval(()=>{(this.options.refetchIntervalInBackground||st.isFocused())&&u(this,d,J).call(this)},r(this,F)))},ge=function(){u(this,d,fe).call(this),u(this,d,me).call(this,u(this,d,pe).call(this))},ye=function(){r(this,D)&&(clearTimeout(r(this,D)),h(this,D,void 0))},be=function(){r(this,P)&&(clearInterval(r(this,P)),h(this,P,void 0))},xe=function(){const e=r(this,E).getQueryCache().build(r(this,E),this.options);if(e===r(this,l))return;const s=r(this,l);h(this,l,e),h(this,Z,e.state),this.hasListeners()&&(s==null||s.removeObserver(this),e.addObserver(this))},Be=function(e){Y.batch(()=>{e.listeners&&this.listeners.forEach(s=>{s(r(this,C))}),r(this,E).getQueryCache().notify({query:r(this,l),type:"observerResultsUpdated"})})},Pe);function ut(t,e){return M(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function Le(t,e){return ut(t,e)||t.state.data!==void 0&&ve(t,e,e.refetchOnMount)}function ve(t,e,s){if(M(e.enabled,t)!==!1){const i=typeof s=="function"?s(t):s;return i==="always"||i!==!1&&Ne(t,e)}return!1}function Ue(t,e,s,i){return(t!==e||M(i.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&Ne(t,s)}function Ne(t,e){return M(e.enabled,t)!==!1&&t.isStaleByTime(ie(e.staleTime,t))}function dt(t,e){return!ue(t.getCurrentResult(),e)}function De(t,e){return t.filter(s=>!e.includes(s))}function ft(t,e,s){const i=t.slice(0);return i[e]=s,i}var K,N,H,W,Q,L,te,se,R,Re,we,ae,je,Oe,He,pt=(He=class extends $e{constructor(e,s,i){super();p(this,R);p(this,K);p(this,N);p(this,H);p(this,W);p(this,Q);p(this,L);p(this,te);p(this,se);h(this,K,e),h(this,W,i),h(this,H,[]),h(this,Q,[]),h(this,N,[]),this.setQueries(s)}onSubscribe(){this.listeners.size===1&&r(this,Q).forEach(e=>{e.subscribe(s=>{u(this,R,je).call(this,e,s)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,r(this,Q).forEach(e=>{e.destroy()})}setQueries(e,s,i){h(this,H,e),h(this,W,s),Y.batch(()=>{const c=r(this,Q),o=u(this,R,ae).call(this,r(this,H));o.forEach(f=>f.observer.setOptions(f.defaultedQueryOptions,i));const a=o.map(f=>f.observer),m=a.map(f=>f.getCurrentResult()),g=a.some((f,w)=>f!==c[w]);c.length===a.length&&!g||(h(this,Q,a),h(this,N,m),this.hasListeners()&&(De(c,a).forEach(f=>{f.destroy()}),De(a,c).forEach(f=>{f.subscribe(w=>{u(this,R,je).call(this,f,w)})}),u(this,R,Oe).call(this)))})}getCurrentResult(){return r(this,N)}getQueries(){return r(this,Q).map(e=>e.getCurrentQuery())}getObservers(){return r(this,Q)}getOptimisticResult(e,s){const c=u(this,R,ae).call(this,e).map(o=>o.observer.getOptimisticResult(o.defaultedQueryOptions));return[c,o=>u(this,R,we).call(this,o??c,s),()=>u(this,R,Re).call(this,c,e)]}},K=new WeakMap,N=new WeakMap,H=new WeakMap,W=new WeakMap,Q=new WeakMap,L=new WeakMap,te=new WeakMap,se=new WeakMap,R=new WeakSet,Re=function(e,s){const i=u(this,R,ae).call(this,s);return i.map((c,o)=>{const a=e[o];return c.defaultedQueryOptions.notifyOnChangeProps?a:c.observer.trackResult(a,m=>{i.forEach(g=>{g.observer.trackProp(m)})})})},we=function(e,s){return s?((!r(this,L)||r(this,N)!==r(this,se)||s!==r(this,te))&&(h(this,te,s),h(this,se,r(this,N)),h(this,L,it(r(this,L),s(e)))),r(this,L)):e},ae=function(e){const s=new Map(r(this,Q).map(c=>[c.options.queryHash,c])),i=[];return e.forEach(c=>{const o=r(this,K).defaultQueryOptions(c),a=s.get(o.queryHash);a?i.push({defaultedQueryOptions:o,observer:a}):i.push({defaultedQueryOptions:o,observer:new Se(r(this,K),o)})}),i},je=function(e,s){const i=r(this,Q).indexOf(e);i!==-1&&(h(this,N,ft(r(this,N),i,s)),u(this,R,Oe).call(this))},Oe=function(){var e;if(this.hasListeners()){const s=r(this,L),i=u(this,R,we).call(this,u(this,R,Re).call(this,r(this,N),r(this,H)),(e=r(this,W))==null?void 0:e.combine);s!==i&&Y.batch(()=>{this.listeners.forEach(c=>{c(r(this,N))})})}},He),ze=S.createContext(!1),Ge=()=>S.useContext(ze);ze.Provider;function mt(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var gt=S.createContext(mt()),Ve=()=>S.useContext(gt);function yt(t,e){return typeof t=="function"?t(...e):!!t}function Ce(){}var Ke=(t,e)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&(e.isReset()||(t.retryOnMount=!1))},We=t=>{S.useEffect(()=>{t.clearReset()},[t])},Je=({result:t,errorResetBoundary:e,throwOnError:s,query:i})=>t.isError&&!e.isReset()&&!t.isFetching&&i&&yt(s,[t.error,i]),Xe=t=>{t.suspense&&(t.staleTime===void 0&&(t.staleTime=1e3),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3)))},Ye=(t,e)=>t.isLoading&&t.isFetching&&!e,Ee=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,ne=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function bt({queries:t,...e},s){const i=Ae(),c=Ge(),o=Ve(),a=S.useMemo(()=>t.map(x=>{const j=i.defaultQueryOptions(x);return j._optimisticResults=c?"isRestoring":"optimistic",j}),[t,i,c]);a.forEach(x=>{Xe(x),Ke(x,o)}),We(o);const[m]=S.useState(()=>new pt(i,a,e)),[g,f,w]=m.getOptimisticResult(a,e.combine);S.useSyncExternalStore(S.useCallback(x=>c?Ce:m.subscribe(Y.batchCalls(x)),[m,c]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),S.useEffect(()=>{m.setQueries(a,e,{listeners:!1})},[a,e,m]);const k=g.some((x,j)=>Ee(a[j],x))?g.flatMap((x,j)=>{const v=a[j];if(v){const $=new Se(i,v);if(Ee(v,x))return ne(v,$,o);Ye(x,c)&&ne(v,$,o)}return[]}):[];if(k.length>0)throw Promise.all(k);const b=g.find((x,j)=>{const v=a[j];return v&&Je({result:x,errorResetBoundary:o,throwOnError:v.throwOnError,query:i.getQueryCache().get(v.queryHash)})});if(b!=null&&b.error)throw b.error;return f(w())}function xt(t,e,s){var w,y,k,b,x;const i=Ae(),c=Ge(),o=Ve(),a=i.defaultQueryOptions(t);(y=(w=i.getDefaultOptions().queries)==null?void 0:w._experimental_beforeQuery)==null||y.call(w,a),a._optimisticResults=c?"isRestoring":"optimistic",Xe(a),Ke(a,o),We(o);const m=!i.getQueryCache().get(a.queryHash),[g]=S.useState(()=>new e(i,a)),f=g.getOptimisticResult(a);if(S.useSyncExternalStore(S.useCallback(j=>{const v=c?Ce:g.subscribe(Y.batchCalls(j));return g.updateResult(),v},[g,c]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),S.useEffect(()=>{g.setOptions(a,{listeners:!1})},[a,g]),Ee(a,f))throw ne(a,g,o);if(Je({result:f,errorResetBoundary:o,throwOnError:a.throwOnError,query:i.getQueryCache().get(a.queryHash)}))throw f.error;if((b=(k=i.getDefaultOptions().queries)==null?void 0:k._experimental_afterQuery)==null||b.call(k,a,f),a.experimental_prefetchInRender&&!de&&Ye(f,c)){const j=m?ne(a,g,o):(x=i.getQueryCache().get(a.queryHash))==null?void 0:x.promise;j==null||j.catch(Ce).finally(()=>{g.updateResult()})}return a.notifyOnChangeProps?f:g.trackResult(f)}function vt(t,e){return xt(t,Se)}/**
* @license lucide-react v0.344.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Rt=qe("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
* @license lucide-react v0.344.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const wt=qe("GitFork",[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]]);function jt({user:t,role:e,description:s}){return n.jsxs(X.div,{whileHover:{y:-5},className:"bg-white/80 backdrop-blur-sm p-6 rounded-lg border border-gray-200",children:[n.jsxs("div",{className:"flex items-start gap-4",children:[n.jsx("img",{src:t.avatar_url,alt:`${t.login}'s avatar`,className:"w-16 h-16 rounded-full"}),n.jsxs("div",{children:[n.jsx("h3",{className:"font-semibold text-gray-900",children:t.name||t.login}),n.jsx("p",{className:"text-sm text-cornflower-blue",children:e}),t.location&&n.jsxs("div",{className:"flex items-center gap-1 text-sm text-gray-500 mt-1",children:[n.jsx(ct,{className:"h-4 w-4"}),n.jsx("span",{children:t.location})]})]})]}),n.jsx("p",{className:"mt-4 text-gray-600",children:s}),n.jsxs("div",{className:"mt-4 flex items-center gap-4 text-sm text-gray-500",children:[n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx(ht,{className:"h-4 w-4"}),n.jsxs("span",{children:[t.followers.toLocaleString()," followers"]})]}),n.jsxs("div",{className:"flex items-center gap-1",children:[n.jsx(at,{className:"h-4 w-4"}),n.jsxs("span",{children:[t.public_repos," repos"]})]})]}),n.jsx("a",{href:t.html_url,target:"_blank",rel:"noopener noreferrer",className:"mt-4 inline-flex items-center text-sm text-cornflower-blue hover:underline",children:"View GitHub Profile →"})]})}function Ot({repo:t}){return n.jsxs(X.div,{whileHover:{y:-5,scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300},className:"bg-white/80 backdrop-blur-sm p-6 rounded-lg border border-gray-200 shadow-lg hover:shadow-xl transition-shadow duration-300",children:[n.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:n.jsx("a",{href:t.html_url,target:"_blank",rel:"noopener noreferrer",className:"hover:text-cornflower-blue transition-colors","aria-label":`Visit ${t.name} repository`,children:t.name})}),t.description&&n.jsx("p",{className:"mt-2 text-gray-600 line-clamp-3",children:t.description}),n.jsxs("div",{className:"mt-4 flex items-center gap-6 text-sm text-gray-500",children:[t.language&&n.jsxs("span",{className:"flex items-center gap-1",children:[n.jsx("span",{className:"w-3 h-3 rounded-full bg-cornflower-blue","aria-hidden":"true"}),n.jsx("span",{children:t.language})]}),n.jsxs("span",{className:"flex items-center gap-1",children:[n.jsx(lt,{className:"h-5 w-5 text-yellow-500"}),n.jsx("span",{children:t.stargazers_count})]}),n.jsxs("span",{className:"flex items-center gap-1",children:[n.jsx(wt,{className:"h-5 w-5 text-gray-600"}),n.jsx("span",{children:t.forks_count})]}),n.jsxs("span",{className:"flex items-center gap-1",children:[n.jsx(Rt,{className:"h-5 w-5 text-gray-600"}),n.jsx("span",{children:nt(t.updated_at)})]})]})]})}const Ze="https://api.github.com";async function Ct(t){try{const e=await fetch(`${Ze}/users/${t}`);if(!e.ok){const s=await e.json().catch(()=>({}));throw console.error(`GitHub API Error (${e.status}):`,s),new Error(`Failed to fetch user ${t}: ${e.statusText}`)}return await e.json()}catch(e){throw console.error(`Error fetching GitHub user ${t}:`,e),e}}async function Et(t){try{const e=await fetch(`${Ze}/orgs/${t}/repos?sort=updated&per_page=100`);if(!e.ok){const s=await e.json().catch(()=>({}));throw console.error(`GitHub API Error (${e.status}):`,s),new Error(`Failed to fetch repositories: ${e.statusText}`)}return await e.json()}catch(e){throw console.error("Error fetching repositories:",e),e}}const le=[{username:"eshanized",role:"Lead Developer & Maintainer",description:"Leading the development of Snigdha OS core system and architecture"},{username:"d3v1l0n",role:"Co Maintainer & Tools Developer",description:"Managing security tools integration and package maintenance"}];function _t(){const t=bt({queries:le.map(a=>({queryKey:["github-user",a.username],queryFn:()=>Ct(a.username)}))}),{data:e,isLoading:s,error:i}=vt({queryKey:["github-repos","Snigdha-OS"],queryFn:()=>Et("Snigdha-OS")}),c=t.some(a=>a.isLoading)||s,o=t.some(a=>a.isError)||i;return c?n.jsx("div",{className:"min-h-[50vh] flex items-center justify-center",children:n.jsx(ot,{className:"h-8 w-8 animate-spin text-cornflower-blue"})}):o?n.jsx("div",{className:"min-h-[50vh] flex items-center justify-center",children:n.jsx("p",{className:"text-red-500",children:"Failed to load data"})}):n.jsx("div",{className:"py-12 bg-gray-50",children:n.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[n.jsxs(X.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-16",children:[n.jsx("h1",{className:"text-4xl font-extrabold text-gray-900",children:"Meet Our Team"}),n.jsx("p",{className:"mt-4 text-lg text-gray-600",children:"The amazing developers behind Snigdha OS"})]}),n.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-8 mb-16 justify-center items-center",children:t.map((a,m)=>a.data&&n.jsx(X.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{delay:m*.2},className:"flex justify-center items-center",children:n.jsx(jt,{user:a.data,role:le[m].role,description:le[m].description})},a.data.login))}),n.jsxs(X.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"mt-16 text-center",children:[n.jsx("h2",{className:"text-3xl font-semibold text-gray-900 mb-8",children:"Our Repositories"}),n.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:e==null?void 0:e.map(a=>n.jsx(Ot,{repo:a},a.id))})]})]})})}export{_t as default};