diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_groupName-BKOaZUJa.js b/spinifex/services/spinifexui/frontend/dist/assets/_groupName-C4S4cVyl.js similarity index 89% rename from spinifex/services/spinifexui/frontend/dist/assets/_groupName-BKOaZUJa.js rename to spinifex/services/spinifexui/frontend/dist/assets/_groupName-C4S4cVyl.js index 313a9dc17..f1e831286 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_groupName-BKOaZUJa.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_groupName-C4S4cVyl.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_groupName-sEqQb5WZ.js","assets/compiler-runtime-D_vZfn79.js","assets/useSuspenseQuery-Bc7E1P-f.js","assets/useBaseQuery-Dqg0ViLa.js","assets/removable-Dwr9otKB.js","assets/query-BPr_oSEg.js","assets/link-BokOReHc.js","assets/useSelector-C6_B_5v6.js","assets/with-selector-DrM041uv.js","assets/useNavigate-CTe_-BZA.js","assets/cluster-config-DNNpxkEw.js","assets/hex-encoding-CVnQo5PF.js","assets/back-link-wsXUoJ12.js","assets/createLucideIcon-BQgzNCBR.js","assets/trash-DVab4pEz.js","assets/button-C9VMD5Xn.js","assets/dist-DEhWxN7p.js","assets/iam-BhvTeEfR.js","assets/useMutation-6rdxVQpi.js","assets/mutation-BziiWz5u.js","assets/awsClient-Bm9ksq2r.js","assets/index.browser-DuXQj3EI.js","assets/commandBuilder-D4HJ1FUj.js","assets/iam-3D5jlLAz.js","assets/queryOptions-Dfvzj6n2.js","assets/json-CeLiNx_J.js","assets/page-heading-vksh_67w.js","assets/error-banner-DeOeVBKS.js","assets/delete-confirmation-dialog-8byauM7I.js","assets/alert-dialog-Da3OTbL9.js","assets/DialogTitle-BIRU7hlM.js","assets/useValueAsRef-BRYYjd2W.js","assets/createBaseUIEventDetails-sqRELvD6.js","assets/useScrollLock-aaqhvzFs.js","assets/detail-row-DNBRlVeK.js","assets/inline-policies-panel-BzXIjEbl.js","assets/useQuery-2EKf7AyV.js","assets/input-CBUMH1Jl.js","assets/useValueChanged-3krk2xbP.js","assets/useControlled-DwxdYHYK.js","assets/field-BKQO3cRo.js","assets/separator-BFSV8f2Y.js","assets/json-editor-C0uKwIA1.js","assets/textarea-CTBs9AlF.js","assets/iam-CADYUEJg.js"])))=>i.map(i=>d[i]); -import{n as e,t}from"./lazyRouteComponent-D0nAq0Je.js";import{ut as n}from"./cluster-config-DNNpxkEw.js";import{C as r,a as i,n as a,p as o,s}from"./iam-3D5jlLAz.js";var c=e(`/_auth/iam/(groups)/list-groups/$groupName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...s(t.groupName),staleTime:`static`}),e.queryClient.query({...a(t.groupName),staleTime:`static`}),e.queryClient.query({...o,staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`}),e.queryClient.query({...i(t.groupName),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.groupName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_groupName-sEqQb5WZ.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44])),`component`)});export{c as t}; \ No newline at end of file +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_groupName-DwxSJFy1.js","assets/compiler-runtime-D_vZfn79.js","assets/useSuspenseQuery-Bc7E1P-f.js","assets/useBaseQuery-Dqg0ViLa.js","assets/removable-Dwr9otKB.js","assets/query-BPr_oSEg.js","assets/link-BokOReHc.js","assets/useSelector-C6_B_5v6.js","assets/with-selector-DrM041uv.js","assets/useNavigate-CTe_-BZA.js","assets/cluster-config-DNNpxkEw.js","assets/hex-encoding-CVnQo5PF.js","assets/back-link-wsXUoJ12.js","assets/createLucideIcon-BQgzNCBR.js","assets/trash-DVab4pEz.js","assets/button-C9VMD5Xn.js","assets/dist-DEhWxN7p.js","assets/iam-DtFzCnrP.js","assets/useMutation-6rdxVQpi.js","assets/mutation-BziiWz5u.js","assets/awsClient-Bm9ksq2r.js","assets/index.browser-DuXQj3EI.js","assets/commandBuilder-D4HJ1FUj.js","assets/iam-3D5jlLAz.js","assets/queryOptions-Dfvzj6n2.js","assets/json-CeLiNx_J.js","assets/page-heading-vksh_67w.js","assets/error-banner-DeOeVBKS.js","assets/delete-confirmation-dialog-8byauM7I.js","assets/alert-dialog-Da3OTbL9.js","assets/DialogTitle-BIRU7hlM.js","assets/useValueAsRef-BRYYjd2W.js","assets/createBaseUIEventDetails-sqRELvD6.js","assets/useScrollLock-aaqhvzFs.js","assets/detail-row-DNBRlVeK.js","assets/inline-policies-panel-Bjqkq9_Q.js","assets/useQuery-2EKf7AyV.js","assets/input-CBUMH1Jl.js","assets/useValueChanged-3krk2xbP.js","assets/useControlled-DwxdYHYK.js","assets/field-BKQO3cRo.js","assets/separator-BFSV8f2Y.js","assets/json-editor-C0uKwIA1.js","assets/textarea-CTBs9AlF.js","assets/iam-CADYUEJg.js"])))=>i.map(i=>d[i]); +import{n as e,t}from"./lazyRouteComponent-D0nAq0Je.js";import{ut as n}from"./cluster-config-DNNpxkEw.js";import{C as r,a as i,n as a,p as o,s}from"./iam-3D5jlLAz.js";var c=e(`/_auth/iam/(groups)/list-groups/$groupName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...s(t.groupName),staleTime:`static`}),e.queryClient.query({...a(t.groupName),staleTime:`static`}),e.queryClient.query({...o,staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`}),e.queryClient.query({...i(t.groupName),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.groupName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_groupName-DwxSJFy1.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44])),`component`)});export{c as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_groupName-sEqQb5WZ.js b/spinifex/services/spinifexui/frontend/dist/assets/_groupName-DwxSJFy1.js similarity index 94% rename from spinifex/services/spinifexui/frontend/dist/assets/_groupName-sEqQb5WZ.js rename to spinifex/services/spinifexui/frontend/dist/assets/_groupName-DwxSJFy1.js index 5aa1d2f20..8eccdd7ab 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_groupName-sEqQb5WZ.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_groupName-DwxSJFy1.js @@ -1 +1 @@ -import{n as e,o as t,r as n}from"./compiler-runtime-D_vZfn79.js";import{t as r}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as i}from"./link-BokOReHc.js";import{t as a}from"./useNavigate-CTe_-BZA.js";import{an as o}from"./cluster-config-DNNpxkEw.js";import{t as s}from"./back-link-wsXUoJ12.js";import{t as c}from"./trash-DVab4pEz.js";import{t as l}from"./button-C9VMD5Xn.js";import{O as u,n as d,p as f}from"./iam-BhvTeEfR.js";import{C as p,s as m}from"./iam-3D5jlLAz.js";import{t as h}from"./_groupName-BKOaZUJa.js";import{t as g}from"./page-heading-vksh_67w.js";import{t as _}from"./error-banner-DeOeVBKS.js";import{t as v}from"./delete-confirmation-dialog-8byauM7I.js";import{n as y,t as b}from"./detail-row-DNBRlVeK.js";import{n as x,t as S}from"./inline-policies-panel-BzXIjEbl.js";var C=t(n()),w=e();function T(){let{groupName:e}=h.useParams(),t=a(),{data:n}=r(m(e)),{data:T}=r(p),E=f(),D=d(),O=u(),[k,A]=(0,C.useState)(!1),[j,M]=(0,C.useState)(!1),[N,P]=(0,C.useState)(null),F=n.Group,I=n.Users??[],L=T.Users??[],R=new Set(I.map(e=>e.UserName)),z=L.filter(e=>e.UserName&&!R.has(e.UserName)),B=async()=>{try{await E.mutateAsync(e),t({to:`/iam/list-groups`})}finally{A(!1)}},V=async t=>{await D.mutateAsync({groupName:e,userName:t}),M(!1)},H=async t=>{P(t);try{await O.mutateAsync({groupName:e,userName:t})}finally{P(null)}};return F?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(s,{to:`/iam/list-groups`,children:`Back to groups`}),E.error&&(0,w.jsx)(_,{error:E.error,msg:`Failed to delete group`}),D.error&&(0,w.jsx)(_,{error:D.error,msg:`Failed to add user`}),O.error&&(0,w.jsx)(_,{error:O.error,msg:`Failed to remove user`}),(0,w.jsxs)(`div`,{className:`space-y-6`,children:[(0,w.jsx)(g,{actions:(0,w.jsxs)(l,{onClick:()=>{A(!0)},size:`sm`,variant:`destructive`,children:[(0,w.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Group Details`,title:F.GroupName??``}),(0,w.jsxs)(y,{children:[(0,w.jsx)(y.Header,{children:`Group Information`}),(0,w.jsxs)(y.Content,{children:[(0,w.jsx)(b,{label:`Group Name`,value:F.GroupName}),(0,w.jsx)(b,{label:`Group ID`,value:F.GroupId}),(0,w.jsx)(b,{label:`ARN`,value:F.Arn}),(0,w.jsx)(b,{label:`Path`,value:F.Path}),(0,w.jsx)(b,{label:`Created`,value:o(F.CreateDate)})]})]}),(0,w.jsxs)(y,{children:[(0,w.jsx)(y.Header,{children:(0,w.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,w.jsx)(`span`,{children:`Members`}),(0,w.jsx)(l,{onClick:()=>{M(!j)},size:`sm`,children:`Add User`})]})}),(0,w.jsxs)(y.Content,{children:[j&&z.length>0&&(0,w.jsxs)(`div`,{className:`col-span-2 space-y-2 rounded-md border p-3`,children:[(0,w.jsx)(`p`,{className:`text-sm font-medium`,children:`Select a user to add:`}),(0,w.jsx)(`div`,{className:`space-y-1`,children:z.map(e=>(0,w.jsxs)(`button`,{className:`flex w-full items-center justify-between rounded-md p-2 text-left text-sm hover:bg-accent`,disabled:D.isPending,onClick:()=>{e.UserName&&V(e.UserName)},type:`button`,children:[(0,w.jsx)(`span`,{children:e.UserName}),(0,w.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.UserName))})]}),j&&z.length===0&&(0,w.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No users available to add.`}),I.length>0?(0,w.jsx)(`div`,{className:`col-span-2 space-y-3`,children:I.map(e=>(0,w.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,w.jsx)(i,{className:`text-sm font-medium hover:underline`,params:{userName:e.UserName??``},to:`/iam/list-users/$userName`,children:e.UserName}),(0,w.jsx)(l,{disabled:N===e.UserName,onClick:()=>{e.UserName&&H(e.UserName)},size:`sm`,variant:`outline`,children:`Remove`})]},e.UserName))}):(0,w.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No members.`})]})]}),(0,w.jsx)(x,{kind:`group`,name:e}),(0,w.jsx)(S,{kind:`group`,name:e})]}),(0,w.jsx)(v,{description:`Are you sure you want to delete the group "${e}"? This action cannot be undone. You must remove all members and detach all policies first.`,isPending:E.isPending,onConfirm:B,onOpenChange:A,open:k,title:`Delete Group`})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(s,{to:`/iam/list-groups`,children:`Back to groups`}),(0,w.jsx)(`p`,{className:`text-muted-foreground`,children:`Group not found.`})]})}export{T as component}; \ No newline at end of file +import{n as e,o as t,r as n}from"./compiler-runtime-D_vZfn79.js";import{t as r}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as i}from"./link-BokOReHc.js";import{t as a}from"./useNavigate-CTe_-BZA.js";import{an as o}from"./cluster-config-DNNpxkEw.js";import{t as s}from"./back-link-wsXUoJ12.js";import{t as c}from"./trash-DVab4pEz.js";import{t as l}from"./button-C9VMD5Xn.js";import{O as u,n as d,p as f}from"./iam-DtFzCnrP.js";import{C as p,s as m}from"./iam-3D5jlLAz.js";import{t as h}from"./_groupName-C4S4cVyl.js";import{t as g}from"./page-heading-vksh_67w.js";import{t as _}from"./error-banner-DeOeVBKS.js";import{t as v}from"./delete-confirmation-dialog-8byauM7I.js";import{n as y,t as b}from"./detail-row-DNBRlVeK.js";import{n as x,t as S}from"./inline-policies-panel-Bjqkq9_Q.js";var C=t(n()),w=e();function T(){let{groupName:e}=h.useParams(),t=a(),{data:n}=r(m(e)),{data:T}=r(p),E=f(),D=d(),O=u(),[k,A]=(0,C.useState)(!1),[j,M]=(0,C.useState)(!1),[N,P]=(0,C.useState)(null),F=n.Group,I=n.Users??[],L=T.Users??[],R=new Set(I.map(e=>e.UserName)),z=L.filter(e=>e.UserName&&!R.has(e.UserName)),B=async()=>{try{await E.mutateAsync(e),t({to:`/iam/list-groups`})}finally{A(!1)}},V=async t=>{await D.mutateAsync({groupName:e,userName:t}),M(!1)},H=async t=>{P(t);try{await O.mutateAsync({groupName:e,userName:t})}finally{P(null)}};return F?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(s,{to:`/iam/list-groups`,children:`Back to groups`}),E.error&&(0,w.jsx)(_,{error:E.error,msg:`Failed to delete group`}),D.error&&(0,w.jsx)(_,{error:D.error,msg:`Failed to add user`}),O.error&&(0,w.jsx)(_,{error:O.error,msg:`Failed to remove user`}),(0,w.jsxs)(`div`,{className:`space-y-6`,children:[(0,w.jsx)(g,{actions:(0,w.jsxs)(l,{onClick:()=>{A(!0)},size:`sm`,variant:`destructive`,children:[(0,w.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Group Details`,title:F.GroupName??``}),(0,w.jsxs)(y,{children:[(0,w.jsx)(y.Header,{children:`Group Information`}),(0,w.jsxs)(y.Content,{children:[(0,w.jsx)(b,{label:`Group Name`,value:F.GroupName}),(0,w.jsx)(b,{label:`Group ID`,value:F.GroupId}),(0,w.jsx)(b,{label:`ARN`,value:F.Arn}),(0,w.jsx)(b,{label:`Path`,value:F.Path}),(0,w.jsx)(b,{label:`Created`,value:o(F.CreateDate)})]})]}),(0,w.jsxs)(y,{children:[(0,w.jsx)(y.Header,{children:(0,w.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,w.jsx)(`span`,{children:`Members`}),(0,w.jsx)(l,{onClick:()=>{M(!j)},size:`sm`,children:`Add User`})]})}),(0,w.jsxs)(y.Content,{children:[j&&z.length>0&&(0,w.jsxs)(`div`,{className:`col-span-2 space-y-2 rounded-md border p-3`,children:[(0,w.jsx)(`p`,{className:`text-sm font-medium`,children:`Select a user to add:`}),(0,w.jsx)(`div`,{className:`space-y-1`,children:z.map(e=>(0,w.jsxs)(`button`,{className:`flex w-full items-center justify-between rounded-md p-2 text-left text-sm hover:bg-accent`,disabled:D.isPending,onClick:()=>{e.UserName&&V(e.UserName)},type:`button`,children:[(0,w.jsx)(`span`,{children:e.UserName}),(0,w.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.UserName))})]}),j&&z.length===0&&(0,w.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No users available to add.`}),I.length>0?(0,w.jsx)(`div`,{className:`col-span-2 space-y-3`,children:I.map(e=>(0,w.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,w.jsx)(i,{className:`text-sm font-medium hover:underline`,params:{userName:e.UserName??``},to:`/iam/list-users/$userName`,children:e.UserName}),(0,w.jsx)(l,{disabled:N===e.UserName,onClick:()=>{e.UserName&&H(e.UserName)},size:`sm`,variant:`outline`,children:`Remove`})]},e.UserName))}):(0,w.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No members.`})]})]}),(0,w.jsx)(x,{kind:`group`,name:e}),(0,w.jsx)(S,{kind:`group`,name:e})]}),(0,w.jsx)(v,{description:`Are you sure you want to delete the group "${e}"? This action cannot be undone. You must remove all members and detach all policies first.`,isPending:E.isPending,onConfirm:B,onOpenChange:A,open:k,title:`Delete Group`})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(s,{to:`/iam/list-groups`,children:`Back to groups`}),(0,w.jsx)(`p`,{className:`text-muted-foreground`,children:`Group not found.`})]})}export{T as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_instanceProfileName-FXtPzTwZ.js b/spinifex/services/spinifexui/frontend/dist/assets/_instanceProfileName-BpsvO6RI.js similarity index 90% rename from spinifex/services/spinifexui/frontend/dist/assets/_instanceProfileName-FXtPzTwZ.js rename to spinifex/services/spinifexui/frontend/dist/assets/_instanceProfileName-BpsvO6RI.js index 44d93da71..c68be9c6e 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_instanceProfileName-FXtPzTwZ.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_instanceProfileName-BpsvO6RI.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_instanceProfileName-0V9-2TEn.js","assets/compiler-runtime-D_vZfn79.js","assets/useSuspenseQuery-Bc7E1P-f.js","assets/useBaseQuery-Dqg0ViLa.js","assets/removable-Dwr9otKB.js","assets/query-BPr_oSEg.js","assets/link-BokOReHc.js","assets/useSelector-C6_B_5v6.js","assets/with-selector-DrM041uv.js","assets/useNavigate-CTe_-BZA.js","assets/cluster-config-DNNpxkEw.js","assets/hex-encoding-CVnQo5PF.js","assets/back-link-wsXUoJ12.js","assets/createLucideIcon-BQgzNCBR.js","assets/trash-DVab4pEz.js","assets/button-C9VMD5Xn.js","assets/dist-DEhWxN7p.js","assets/iam-BhvTeEfR.js","assets/useMutation-6rdxVQpi.js","assets/mutation-BziiWz5u.js","assets/awsClient-Bm9ksq2r.js","assets/index.browser-DuXQj3EI.js","assets/commandBuilder-D4HJ1FUj.js","assets/iam-3D5jlLAz.js","assets/queryOptions-Dfvzj6n2.js","assets/json-CeLiNx_J.js","assets/page-heading-vksh_67w.js","assets/error-banner-DeOeVBKS.js","assets/delete-confirmation-dialog-8byauM7I.js","assets/alert-dialog-Da3OTbL9.js","assets/DialogTitle-BIRU7hlM.js","assets/useValueAsRef-BRYYjd2W.js","assets/createBaseUIEventDetails-sqRELvD6.js","assets/useScrollLock-aaqhvzFs.js","assets/detail-row-DNBRlVeK.js"])))=>i.map(i=>d[i]); -import{n as e,t}from"./lazyRouteComponent-D0nAq0Je.js";import{ut as n}from"./cluster-config-DNNpxkEw.js";import{u as r,y as i}from"./iam-3D5jlLAz.js";var a=e(`/_auth/iam/(instance-profiles)/list-instance-profiles/$instanceProfileName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.instanceProfileName),staleTime:`static`}),e.queryClient.query({...i,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.instanceProfileName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_instanceProfileName-0V9-2TEn.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34])),`component`)});export{a as t}; \ No newline at end of file +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_instanceProfileName-CoSc-sZG.js","assets/compiler-runtime-D_vZfn79.js","assets/useSuspenseQuery-Bc7E1P-f.js","assets/useBaseQuery-Dqg0ViLa.js","assets/removable-Dwr9otKB.js","assets/query-BPr_oSEg.js","assets/link-BokOReHc.js","assets/useSelector-C6_B_5v6.js","assets/with-selector-DrM041uv.js","assets/useNavigate-CTe_-BZA.js","assets/cluster-config-DNNpxkEw.js","assets/hex-encoding-CVnQo5PF.js","assets/back-link-wsXUoJ12.js","assets/createLucideIcon-BQgzNCBR.js","assets/trash-DVab4pEz.js","assets/button-C9VMD5Xn.js","assets/dist-DEhWxN7p.js","assets/iam-DtFzCnrP.js","assets/useMutation-6rdxVQpi.js","assets/mutation-BziiWz5u.js","assets/awsClient-Bm9ksq2r.js","assets/index.browser-DuXQj3EI.js","assets/commandBuilder-D4HJ1FUj.js","assets/iam-3D5jlLAz.js","assets/queryOptions-Dfvzj6n2.js","assets/json-CeLiNx_J.js","assets/page-heading-vksh_67w.js","assets/error-banner-DeOeVBKS.js","assets/delete-confirmation-dialog-8byauM7I.js","assets/alert-dialog-Da3OTbL9.js","assets/DialogTitle-BIRU7hlM.js","assets/useValueAsRef-BRYYjd2W.js","assets/createBaseUIEventDetails-sqRELvD6.js","assets/useScrollLock-aaqhvzFs.js","assets/detail-row-DNBRlVeK.js"])))=>i.map(i=>d[i]); +import{n as e,t}from"./lazyRouteComponent-D0nAq0Je.js";import{ut as n}from"./cluster-config-DNNpxkEw.js";import{u as r,y as i}from"./iam-3D5jlLAz.js";var a=e(`/_auth/iam/(instance-profiles)/list-instance-profiles/$instanceProfileName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.instanceProfileName),staleTime:`static`}),e.queryClient.query({...i,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.instanceProfileName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_instanceProfileName-CoSc-sZG.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34])),`component`)});export{a as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_instanceProfileName-0V9-2TEn.js b/spinifex/services/spinifexui/frontend/dist/assets/_instanceProfileName-CoSc-sZG.js similarity index 97% rename from spinifex/services/spinifexui/frontend/dist/assets/_instanceProfileName-0V9-2TEn.js rename to spinifex/services/spinifexui/frontend/dist/assets/_instanceProfileName-CoSc-sZG.js index fad7d3183..e34a5f19c 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_instanceProfileName-0V9-2TEn.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_instanceProfileName-CoSc-sZG.js @@ -1 +1 @@ -import{n as e,o as t,r as n}from"./compiler-runtime-D_vZfn79.js";import{t as r}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as i}from"./link-BokOReHc.js";import{t as a}from"./useNavigate-CTe_-BZA.js";import{an as o}from"./cluster-config-DNNpxkEw.js";import{t as s}from"./back-link-wsXUoJ12.js";import{t as c}from"./trash-DVab4pEz.js";import{t as l}from"./button-C9VMD5Xn.js";import{D as u,h as d,t as f}from"./iam-BhvTeEfR.js";import{u as p,y as m}from"./iam-3D5jlLAz.js";import{t as h}from"./_instanceProfileName-FXtPzTwZ.js";import{t as g}from"./page-heading-vksh_67w.js";import{t as _}from"./error-banner-DeOeVBKS.js";import{t as v}from"./delete-confirmation-dialog-8byauM7I.js";import{n as y,t as b}from"./detail-row-DNBRlVeK.js";var x=t(n()),S=e();function C(){let{instanceProfileName:e}=h.useParams(),t=a(),{data:n}=r(p(e)),{data:C}=r(m),w=d(),T=f(),E=u(),[D,O]=(0,x.useState)(!1),[k,A]=(0,x.useState)(!1),[j,M]=(0,x.useState)(null),N=n.InstanceProfile,P=N?.Roles??[],F=C.Roles??[],I=new Set(P.map(e=>e.RoleName)),L=F.filter(e=>e.RoleName&&!I.has(e.RoleName)),R=async()=>{try{await w.mutateAsync(e),t({to:`/iam/list-instance-profiles`})}finally{O(!1)}},z=async t=>{await T.mutateAsync({instanceProfileName:e,roleName:t}),A(!1)},B=async t=>{M(t);try{await E.mutateAsync({instanceProfileName:e,roleName:t})}finally{M(null)}};return N?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(s,{to:`/iam/list-instance-profiles`,children:`Back to instance profiles`}),w.error&&(0,S.jsx)(_,{error:w.error,msg:`Failed to delete instance profile`}),T.error&&(0,S.jsx)(_,{error:T.error,msg:`Failed to add role`}),E.error&&(0,S.jsx)(_,{error:E.error,msg:`Failed to remove role`}),(0,S.jsxs)(`div`,{className:`space-y-6`,children:[(0,S.jsx)(g,{actions:(0,S.jsxs)(l,{onClick:()=>{O(!0)},size:`sm`,variant:`destructive`,children:[(0,S.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Instance Profile Details`,title:N.InstanceProfileName??``}),(0,S.jsxs)(y,{children:[(0,S.jsx)(y.Header,{children:`Instance Profile Information`}),(0,S.jsxs)(y.Content,{children:[(0,S.jsx)(b,{label:`Name`,value:N.InstanceProfileName}),(0,S.jsx)(b,{label:`ID`,value:N.InstanceProfileId}),(0,S.jsx)(b,{label:`ARN`,value:N.Arn}),(0,S.jsx)(b,{label:`Path`,value:N.Path}),(0,S.jsx)(b,{label:`Created`,value:o(N.CreateDate)})]})]}),(0,S.jsxs)(y,{children:[(0,S.jsx)(y.Header,{children:(0,S.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,S.jsx)(`span`,{children:`Roles`}),(0,S.jsx)(l,{onClick:()=>{A(!k)},size:`sm`,children:`Add Role`})]})}),(0,S.jsxs)(y.Content,{children:[k&&L.length>0&&(0,S.jsxs)(`div`,{className:`col-span-2 space-y-2 rounded-md border p-3`,children:[(0,S.jsx)(`p`,{className:`text-sm font-medium`,children:`Select a role to add:`}),(0,S.jsx)(`div`,{className:`space-y-1`,children:L.map(e=>(0,S.jsxs)(`button`,{className:`flex w-full items-center justify-between rounded-md p-2 text-left text-sm hover:bg-accent`,disabled:T.isPending,onClick:()=>{e.RoleName&&z(e.RoleName)},type:`button`,children:[(0,S.jsx)(`span`,{children:e.RoleName}),(0,S.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.RoleName))})]}),k&&L.length===0&&(0,S.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No roles available to add.`}),P.length>0?(0,S.jsx)(`div`,{className:`col-span-2 space-y-3`,children:P.map(e=>(0,S.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,S.jsx)(i,{className:`text-sm font-medium text-primary hover:underline`,params:{roleName:e.RoleName??``},to:`/iam/list-roles/$roleName`,children:e.RoleName}),(0,S.jsx)(l,{disabled:j===e.RoleName,onClick:()=>{e.RoleName&&B(e.RoleName)},size:`sm`,variant:`outline`,children:`Remove`})]},e.RoleName))}):(0,S.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No roles in this instance profile.`})]})]})]}),(0,S.jsx)(v,{description:`Are you sure you want to delete the instance profile "${e}"? This action cannot be undone. You must remove all roles first.`,isPending:w.isPending,onConfirm:R,onOpenChange:O,open:D,title:`Delete Instance Profile`})]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(s,{to:`/iam/list-instance-profiles`,children:`Back to instance profiles`}),(0,S.jsx)(`p`,{className:`text-muted-foreground`,children:`Instance profile not found.`})]})}export{C as component}; \ No newline at end of file +import{n as e,o as t,r as n}from"./compiler-runtime-D_vZfn79.js";import{t as r}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as i}from"./link-BokOReHc.js";import{t as a}from"./useNavigate-CTe_-BZA.js";import{an as o}from"./cluster-config-DNNpxkEw.js";import{t as s}from"./back-link-wsXUoJ12.js";import{t as c}from"./trash-DVab4pEz.js";import{t as l}from"./button-C9VMD5Xn.js";import{D as u,h as d,t as f}from"./iam-DtFzCnrP.js";import{u as p,y as m}from"./iam-3D5jlLAz.js";import{t as h}from"./_instanceProfileName-BpsvO6RI.js";import{t as g}from"./page-heading-vksh_67w.js";import{t as _}from"./error-banner-DeOeVBKS.js";import{t as v}from"./delete-confirmation-dialog-8byauM7I.js";import{n as y,t as b}from"./detail-row-DNBRlVeK.js";var x=t(n()),S=e();function C(){let{instanceProfileName:e}=h.useParams(),t=a(),{data:n}=r(p(e)),{data:C}=r(m),w=d(),T=f(),E=u(),[D,O]=(0,x.useState)(!1),[k,A]=(0,x.useState)(!1),[j,M]=(0,x.useState)(null),N=n.InstanceProfile,P=N?.Roles??[],F=C.Roles??[],I=new Set(P.map(e=>e.RoleName)),L=F.filter(e=>e.RoleName&&!I.has(e.RoleName)),R=async()=>{try{await w.mutateAsync(e),t({to:`/iam/list-instance-profiles`})}finally{O(!1)}},z=async t=>{await T.mutateAsync({instanceProfileName:e,roleName:t}),A(!1)},B=async t=>{M(t);try{await E.mutateAsync({instanceProfileName:e,roleName:t})}finally{M(null)}};return N?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(s,{to:`/iam/list-instance-profiles`,children:`Back to instance profiles`}),w.error&&(0,S.jsx)(_,{error:w.error,msg:`Failed to delete instance profile`}),T.error&&(0,S.jsx)(_,{error:T.error,msg:`Failed to add role`}),E.error&&(0,S.jsx)(_,{error:E.error,msg:`Failed to remove role`}),(0,S.jsxs)(`div`,{className:`space-y-6`,children:[(0,S.jsx)(g,{actions:(0,S.jsxs)(l,{onClick:()=>{O(!0)},size:`sm`,variant:`destructive`,children:[(0,S.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Instance Profile Details`,title:N.InstanceProfileName??``}),(0,S.jsxs)(y,{children:[(0,S.jsx)(y.Header,{children:`Instance Profile Information`}),(0,S.jsxs)(y.Content,{children:[(0,S.jsx)(b,{label:`Name`,value:N.InstanceProfileName}),(0,S.jsx)(b,{label:`ID`,value:N.InstanceProfileId}),(0,S.jsx)(b,{label:`ARN`,value:N.Arn}),(0,S.jsx)(b,{label:`Path`,value:N.Path}),(0,S.jsx)(b,{label:`Created`,value:o(N.CreateDate)})]})]}),(0,S.jsxs)(y,{children:[(0,S.jsx)(y.Header,{children:(0,S.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,S.jsx)(`span`,{children:`Roles`}),(0,S.jsx)(l,{onClick:()=>{A(!k)},size:`sm`,children:`Add Role`})]})}),(0,S.jsxs)(y.Content,{children:[k&&L.length>0&&(0,S.jsxs)(`div`,{className:`col-span-2 space-y-2 rounded-md border p-3`,children:[(0,S.jsx)(`p`,{className:`text-sm font-medium`,children:`Select a role to add:`}),(0,S.jsx)(`div`,{className:`space-y-1`,children:L.map(e=>(0,S.jsxs)(`button`,{className:`flex w-full items-center justify-between rounded-md p-2 text-left text-sm hover:bg-accent`,disabled:T.isPending,onClick:()=>{e.RoleName&&z(e.RoleName)},type:`button`,children:[(0,S.jsx)(`span`,{children:e.RoleName}),(0,S.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.RoleName))})]}),k&&L.length===0&&(0,S.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No roles available to add.`}),P.length>0?(0,S.jsx)(`div`,{className:`col-span-2 space-y-3`,children:P.map(e=>(0,S.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,S.jsx)(i,{className:`text-sm font-medium text-primary hover:underline`,params:{roleName:e.RoleName??``},to:`/iam/list-roles/$roleName`,children:e.RoleName}),(0,S.jsx)(l,{disabled:j===e.RoleName,onClick:()=>{e.RoleName&&B(e.RoleName)},size:`sm`,variant:`outline`,children:`Remove`})]},e.RoleName))}):(0,S.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No roles in this instance profile.`})]})]})]}),(0,S.jsx)(v,{description:`Are you sure you want to delete the instance profile "${e}"? This action cannot be undone. You must remove all roles first.`,isPending:w.isPending,onConfirm:R,onOpenChange:O,open:D,title:`Delete Instance Profile`})]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(s,{to:`/iam/list-instance-profiles`,children:`Back to instance profiles`}),(0,S.jsx)(`p`,{className:`text-muted-foreground`,children:`Instance profile not found.`})]})}export{C as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_policyArn-1xb5b-UV.js b/spinifex/services/spinifexui/frontend/dist/assets/_policyArn-CZ_-qqxj.js similarity index 87% rename from spinifex/services/spinifexui/frontend/dist/assets/_policyArn-1xb5b-UV.js rename to spinifex/services/spinifexui/frontend/dist/assets/_policyArn-CZ_-qqxj.js index fb67a5bfb..15266b108 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_policyArn-1xb5b-UV.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_policyArn-CZ_-qqxj.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_policyArn-Cb-h-ddC.js","assets/compiler-runtime-D_vZfn79.js","assets/useSuspenseQuery-Bc7E1P-f.js","assets/useBaseQuery-Dqg0ViLa.js","assets/removable-Dwr9otKB.js","assets/query-BPr_oSEg.js","assets/useNavigate-CTe_-BZA.js","assets/useSelector-C6_B_5v6.js","assets/with-selector-DrM041uv.js","assets/cluster-config-DNNpxkEw.js","assets/hex-encoding-CVnQo5PF.js","assets/back-link-wsXUoJ12.js","assets/link-BokOReHc.js","assets/createLucideIcon-BQgzNCBR.js","assets/trash-DVab4pEz.js","assets/button-C9VMD5Xn.js","assets/dist-DEhWxN7p.js","assets/iam-BhvTeEfR.js","assets/useMutation-6rdxVQpi.js","assets/mutation-BziiWz5u.js","assets/awsClient-Bm9ksq2r.js","assets/index.browser-DuXQj3EI.js","assets/commandBuilder-D4HJ1FUj.js","assets/iam-3D5jlLAz.js","assets/queryOptions-Dfvzj6n2.js","assets/json-CeLiNx_J.js","assets/page-heading-vksh_67w.js","assets/error-banner-DeOeVBKS.js","assets/delete-confirmation-dialog-8byauM7I.js","assets/alert-dialog-Da3OTbL9.js","assets/DialogTitle-BIRU7hlM.js","assets/useValueAsRef-BRYYjd2W.js","assets/createBaseUIEventDetails-sqRELvD6.js","assets/useScrollLock-aaqhvzFs.js","assets/detail-row-DNBRlVeK.js","assets/policy-document-viewer-DAhLJAGU.js"])))=>i.map(i=>d[i]); -import{n as e,t}from"./lazyRouteComponent-D0nAq0Je.js";import{un as n,ut as r}from"./cluster-config-DNNpxkEw.js";import{h as i,m as a}from"./iam-3D5jlLAz.js";var o=e(`/_auth/iam/(policies)/list-policies/$policyArn`)({loader:async({context:e,params:t})=>{let r=n(t.policyArn),o=await e.queryClient.query({...a(r),staleTime:`static`}),s=o.Policy?.DefaultVersionId;return s&&await e.queryClient.query({...i(r,s),staleTime:`static`}),o},head:({loaderData:e})=>({meta:[{title:`${e?.Policy?.PolicyName??`Policy`} | IAM | Mulga`}]}),component:t(()=>r(()=>import(`./_policyArn-Cb-h-ddC.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35])),`component`)});export{o as t}; \ No newline at end of file +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_policyArn-CdwjiXLW.js","assets/compiler-runtime-D_vZfn79.js","assets/useSuspenseQuery-Bc7E1P-f.js","assets/useBaseQuery-Dqg0ViLa.js","assets/removable-Dwr9otKB.js","assets/query-BPr_oSEg.js","assets/useNavigate-CTe_-BZA.js","assets/useSelector-C6_B_5v6.js","assets/with-selector-DrM041uv.js","assets/cluster-config-DNNpxkEw.js","assets/hex-encoding-CVnQo5PF.js","assets/back-link-wsXUoJ12.js","assets/link-BokOReHc.js","assets/createLucideIcon-BQgzNCBR.js","assets/trash-DVab4pEz.js","assets/button-C9VMD5Xn.js","assets/dist-DEhWxN7p.js","assets/iam-DtFzCnrP.js","assets/useMutation-6rdxVQpi.js","assets/mutation-BziiWz5u.js","assets/awsClient-Bm9ksq2r.js","assets/index.browser-DuXQj3EI.js","assets/commandBuilder-D4HJ1FUj.js","assets/iam-3D5jlLAz.js","assets/queryOptions-Dfvzj6n2.js","assets/json-CeLiNx_J.js","assets/page-heading-vksh_67w.js","assets/error-banner-DeOeVBKS.js","assets/delete-confirmation-dialog-8byauM7I.js","assets/alert-dialog-Da3OTbL9.js","assets/DialogTitle-BIRU7hlM.js","assets/useValueAsRef-BRYYjd2W.js","assets/createBaseUIEventDetails-sqRELvD6.js","assets/useScrollLock-aaqhvzFs.js","assets/detail-row-DNBRlVeK.js","assets/policy-document-viewer-DAhLJAGU.js"])))=>i.map(i=>d[i]); +import{n as e,t}from"./lazyRouteComponent-D0nAq0Je.js";import{un as n,ut as r}from"./cluster-config-DNNpxkEw.js";import{h as i,m as a}from"./iam-3D5jlLAz.js";var o=e(`/_auth/iam/(policies)/list-policies/$policyArn`)({loader:async({context:e,params:t})=>{let r=n(t.policyArn),o=await e.queryClient.query({...a(r),staleTime:`static`}),s=o.Policy?.DefaultVersionId;return s&&await e.queryClient.query({...i(r,s),staleTime:`static`}),o},head:({loaderData:e})=>({meta:[{title:`${e?.Policy?.PolicyName??`Policy`} | IAM | Mulga`}]}),component:t(()=>r(()=>import(`./_policyArn-CdwjiXLW.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35])),`component`)});export{o as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_policyArn-Cb-h-ddC.js b/spinifex/services/spinifexui/frontend/dist/assets/_policyArn-CdwjiXLW.js similarity index 94% rename from spinifex/services/spinifexui/frontend/dist/assets/_policyArn-Cb-h-ddC.js rename to spinifex/services/spinifexui/frontend/dist/assets/_policyArn-CdwjiXLW.js index e0ea9191d..496e1b3ba 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_policyArn-Cb-h-ddC.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_policyArn-CdwjiXLW.js @@ -1 +1 @@ -import{n as e,o as t,r as n}from"./compiler-runtime-D_vZfn79.js";import{t as r}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as i}from"./useNavigate-CTe_-BZA.js";import{an as a,un as o}from"./cluster-config-DNNpxkEw.js";import{t as s}from"./back-link-wsXUoJ12.js";import{t as c}from"./trash-DVab4pEz.js";import{t as l}from"./button-C9VMD5Xn.js";import{g as u}from"./iam-BhvTeEfR.js";import{h as d,m as f}from"./iam-3D5jlLAz.js";import{t as p}from"./_policyArn-1xb5b-UV.js";import{t as m}from"./page-heading-vksh_67w.js";import{t as h}from"./error-banner-DeOeVBKS.js";import{t as g}from"./delete-confirmation-dialog-8byauM7I.js";import{n as _,t as v}from"./detail-row-DNBRlVeK.js";import{t as y}from"./policy-document-viewer-DAhLJAGU.js";var b=t(n()),x=e();function S(){let{policyArn:e}=p.useParams(),t=o(e),n=i(),{data:S}=r(f(t)),C=S.Policy,w=u(),[T,E]=(0,b.useState)(!1),D=C?.DefaultVersionId??`v1`,{data:O}=r(d(t,D)),k=O?.PolicyVersion?.Document?o(O.PolicyVersion.Document):null;return C?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(s,{to:`/iam/list-policies`,children:`Back to policies`}),w.error&&(0,x.jsx)(h,{error:w.error,msg:`Failed to delete policy`}),(0,x.jsxs)(`div`,{className:`space-y-6`,children:[(0,x.jsx)(m,{actions:(0,x.jsxs)(l,{onClick:()=>{E(!0)},size:`sm`,variant:`destructive`,children:[(0,x.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Policy Details`,title:C.PolicyName??``}),(0,x.jsxs)(_,{children:[(0,x.jsx)(_.Header,{children:`Policy Information`}),(0,x.jsxs)(_.Content,{children:[(0,x.jsx)(v,{label:`Policy Name`,value:C.PolicyName}),(0,x.jsx)(v,{label:`Policy ID`,value:C.PolicyId}),(0,x.jsx)(v,{label:`ARN`,value:C.Arn}),(0,x.jsx)(v,{label:`Path`,value:C.Path}),(0,x.jsx)(v,{label:`Description`,value:C.Description??`-`}),(0,x.jsx)(v,{label:`Created`,value:a(C.CreateDate)})]})]}),k&&(0,x.jsxs)(_,{children:[(0,x.jsx)(_.Header,{children:`Policy Document`}),(0,x.jsx)(`div`,{className:`p-4`,children:(0,x.jsx)(y,{document:k})})]})]}),(0,x.jsx)(g,{description:`Are you sure you want to delete the policy "${C.PolicyName}"? This action cannot be undone.`,isPending:w.isPending,onConfirm:async()=>{try{await w.mutateAsync(t),n({to:`/iam/list-policies`})}finally{E(!1)}},onOpenChange:E,open:T,title:`Delete Policy`})]}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(s,{to:`/iam/list-policies`,children:`Back to policies`}),(0,x.jsx)(`p`,{className:`text-muted-foreground`,children:`Policy not found.`})]})}export{S as component}; \ No newline at end of file +import{n as e,o as t,r as n}from"./compiler-runtime-D_vZfn79.js";import{t as r}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as i}from"./useNavigate-CTe_-BZA.js";import{an as a,un as o}from"./cluster-config-DNNpxkEw.js";import{t as s}from"./back-link-wsXUoJ12.js";import{t as c}from"./trash-DVab4pEz.js";import{t as l}from"./button-C9VMD5Xn.js";import{g as u}from"./iam-DtFzCnrP.js";import{h as d,m as f}from"./iam-3D5jlLAz.js";import{t as p}from"./_policyArn-CZ_-qqxj.js";import{t as m}from"./page-heading-vksh_67w.js";import{t as h}from"./error-banner-DeOeVBKS.js";import{t as g}from"./delete-confirmation-dialog-8byauM7I.js";import{n as _,t as v}from"./detail-row-DNBRlVeK.js";import{t as y}from"./policy-document-viewer-DAhLJAGU.js";var b=t(n()),x=e();function S(){let{policyArn:e}=p.useParams(),t=o(e),n=i(),{data:S}=r(f(t)),C=S.Policy,w=u(),[T,E]=(0,b.useState)(!1),D=C?.DefaultVersionId??`v1`,{data:O}=r(d(t,D)),k=O?.PolicyVersion?.Document?o(O.PolicyVersion.Document):null;return C?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(s,{to:`/iam/list-policies`,children:`Back to policies`}),w.error&&(0,x.jsx)(h,{error:w.error,msg:`Failed to delete policy`}),(0,x.jsxs)(`div`,{className:`space-y-6`,children:[(0,x.jsx)(m,{actions:(0,x.jsxs)(l,{onClick:()=>{E(!0)},size:`sm`,variant:`destructive`,children:[(0,x.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Policy Details`,title:C.PolicyName??``}),(0,x.jsxs)(_,{children:[(0,x.jsx)(_.Header,{children:`Policy Information`}),(0,x.jsxs)(_.Content,{children:[(0,x.jsx)(v,{label:`Policy Name`,value:C.PolicyName}),(0,x.jsx)(v,{label:`Policy ID`,value:C.PolicyId}),(0,x.jsx)(v,{label:`ARN`,value:C.Arn}),(0,x.jsx)(v,{label:`Path`,value:C.Path}),(0,x.jsx)(v,{label:`Description`,value:C.Description??`-`}),(0,x.jsx)(v,{label:`Created`,value:a(C.CreateDate)})]})]}),k&&(0,x.jsxs)(_,{children:[(0,x.jsx)(_.Header,{children:`Policy Document`}),(0,x.jsx)(`div`,{className:`p-4`,children:(0,x.jsx)(y,{document:k})})]})]}),(0,x.jsx)(g,{description:`Are you sure you want to delete the policy "${C.PolicyName}"? This action cannot be undone.`,isPending:w.isPending,onConfirm:async()=>{try{await w.mutateAsync(t),n({to:`/iam/list-policies`})}finally{E(!1)}},onOpenChange:E,open:T,title:`Delete Policy`})]}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(s,{to:`/iam/list-policies`,children:`Back to policies`}),(0,x.jsx)(`p`,{className:`text-muted-foreground`,children:`Policy not found.`})]})}export{S as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_roleName-ChFldOSA.js b/spinifex/services/spinifexui/frontend/dist/assets/_roleName-CRi84efF.js similarity index 94% rename from spinifex/services/spinifexui/frontend/dist/assets/_roleName-ChFldOSA.js rename to spinifex/services/spinifexui/frontend/dist/assets/_roleName-CRi84efF.js index c828652ff..b8a3a661c 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_roleName-ChFldOSA.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_roleName-CRi84efF.js @@ -1 +1 @@ -import{n as e,o as t,r as n}from"./compiler-runtime-D_vZfn79.js";import{t as r}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as i}from"./link-BokOReHc.js";import{t as a}from"./useNavigate-CTe_-BZA.js";import{an as o}from"./cluster-config-DNNpxkEw.js";import{t as s}from"./back-link-wsXUoJ12.js";import{t as c}from"./trash-DVab4pEz.js";import{t as l}from"./button-C9VMD5Xn.js";import{_ as u}from"./iam-BhvTeEfR.js";import{d,v as f}from"./iam-3D5jlLAz.js";import{t as p}from"./_roleName-CwOZwaUn.js";import{t as m}from"./page-heading-vksh_67w.js";import{t as h}from"./error-banner-DeOeVBKS.js";import{t as g}from"./delete-confirmation-dialog-8byauM7I.js";import{n as _,t as v}from"./detail-row-DNBRlVeK.js";import{t as y}from"./policy-document-viewer-DAhLJAGU.js";import{n as b,t as x}from"./inline-policies-panel-BzXIjEbl.js";var S=t(n()),C=e();function w(){let{roleName:e}=p.useParams(),t=a(),{data:n}=r(f(e)),{data:w}=r(d(e)),T=u(),[E,D]=(0,S.useState)(!1),O=n.Role,k=w.InstanceProfiles??[],A=O?.AssumeRolePolicyDocument?decodeURIComponent(O.AssumeRolePolicyDocument):null;return O?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(s,{to:`/iam/list-roles`,children:`Back to roles`}),T.error&&(0,C.jsx)(h,{error:T.error,msg:`Failed to delete role`}),(0,C.jsxs)(`div`,{className:`space-y-6`,children:[(0,C.jsx)(m,{actions:(0,C.jsxs)(l,{onClick:()=>{D(!0)},size:`sm`,variant:`destructive`,children:[(0,C.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Role Details`,title:O.RoleName??``}),(0,C.jsxs)(_,{children:[(0,C.jsx)(_.Header,{children:`Role Information`}),(0,C.jsxs)(_.Content,{children:[(0,C.jsx)(v,{label:`Role Name`,value:O.RoleName}),(0,C.jsx)(v,{label:`Role ID`,value:O.RoleId}),(0,C.jsx)(v,{label:`ARN`,value:O.Arn}),(0,C.jsx)(v,{label:`Path`,value:O.Path}),(0,C.jsx)(v,{label:`Description`,value:O.Description??`-`}),(0,C.jsx)(v,{label:`Created`,value:o(O.CreateDate)})]})]}),A&&(0,C.jsxs)(_,{children:[(0,C.jsx)(_.Header,{children:`Trust Policy`}),(0,C.jsx)(`div`,{className:`p-4`,children:(0,C.jsx)(y,{document:A})})]}),(0,C.jsx)(b,{kind:`role`,name:e}),(0,C.jsx)(x,{kind:`role`,name:e}),(0,C.jsxs)(_,{children:[(0,C.jsx)(_.Header,{children:`Instance Profiles`}),(0,C.jsx)(_.Content,{children:k.length>0?(0,C.jsx)(`div`,{className:`col-span-2 space-y-3`,children:k.map(e=>(0,C.jsxs)(i,{className:`flex items-center justify-between rounded-md border p-3 transition-colors hover:bg-accent`,params:{instanceProfileName:e.InstanceProfileName??``},to:`/iam/list-instance-profiles/$instanceProfileName`,children:[(0,C.jsx)(`p`,{className:`text-sm font-medium`,children:e.InstanceProfileName}),(0,C.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.InstanceProfileName))}):(0,C.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`This role is not in any instance profile.`})})]})]}),(0,C.jsx)(g,{description:`Are you sure you want to delete the role "${e}"? This action cannot be undone. You must detach all policies and remove it from all instance profiles first.`,isPending:T.isPending,onConfirm:async()=>{try{await T.mutateAsync(e),t({to:`/iam/list-roles`})}finally{D(!1)}},onOpenChange:D,open:E,title:`Delete Role`})]}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(s,{to:`/iam/list-roles`,children:`Back to roles`}),(0,C.jsx)(`p`,{className:`text-muted-foreground`,children:`Role not found.`})]})}export{w as component}; \ No newline at end of file +import{n as e,o as t,r as n}from"./compiler-runtime-D_vZfn79.js";import{t as r}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as i}from"./link-BokOReHc.js";import{t as a}from"./useNavigate-CTe_-BZA.js";import{an as o}from"./cluster-config-DNNpxkEw.js";import{t as s}from"./back-link-wsXUoJ12.js";import{t as c}from"./trash-DVab4pEz.js";import{t as l}from"./button-C9VMD5Xn.js";import{_ as u}from"./iam-DtFzCnrP.js";import{d,v as f}from"./iam-3D5jlLAz.js";import{t as p}from"./_roleName-D14GhLGW.js";import{t as m}from"./page-heading-vksh_67w.js";import{t as h}from"./error-banner-DeOeVBKS.js";import{t as g}from"./delete-confirmation-dialog-8byauM7I.js";import{n as _,t as v}from"./detail-row-DNBRlVeK.js";import{t as y}from"./policy-document-viewer-DAhLJAGU.js";import{n as b,t as x}from"./inline-policies-panel-Bjqkq9_Q.js";var S=t(n()),C=e();function w(){let{roleName:e}=p.useParams(),t=a(),{data:n}=r(f(e)),{data:w}=r(d(e)),T=u(),[E,D]=(0,S.useState)(!1),O=n.Role,k=w.InstanceProfiles??[],A=O?.AssumeRolePolicyDocument?decodeURIComponent(O.AssumeRolePolicyDocument):null;return O?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(s,{to:`/iam/list-roles`,children:`Back to roles`}),T.error&&(0,C.jsx)(h,{error:T.error,msg:`Failed to delete role`}),(0,C.jsxs)(`div`,{className:`space-y-6`,children:[(0,C.jsx)(m,{actions:(0,C.jsxs)(l,{onClick:()=>{D(!0)},size:`sm`,variant:`destructive`,children:[(0,C.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Role Details`,title:O.RoleName??``}),(0,C.jsxs)(_,{children:[(0,C.jsx)(_.Header,{children:`Role Information`}),(0,C.jsxs)(_.Content,{children:[(0,C.jsx)(v,{label:`Role Name`,value:O.RoleName}),(0,C.jsx)(v,{label:`Role ID`,value:O.RoleId}),(0,C.jsx)(v,{label:`ARN`,value:O.Arn}),(0,C.jsx)(v,{label:`Path`,value:O.Path}),(0,C.jsx)(v,{label:`Description`,value:O.Description??`-`}),(0,C.jsx)(v,{label:`Created`,value:o(O.CreateDate)})]})]}),A&&(0,C.jsxs)(_,{children:[(0,C.jsx)(_.Header,{children:`Trust Policy`}),(0,C.jsx)(`div`,{className:`p-4`,children:(0,C.jsx)(y,{document:A})})]}),(0,C.jsx)(b,{kind:`role`,name:e}),(0,C.jsx)(x,{kind:`role`,name:e}),(0,C.jsxs)(_,{children:[(0,C.jsx)(_.Header,{children:`Instance Profiles`}),(0,C.jsx)(_.Content,{children:k.length>0?(0,C.jsx)(`div`,{className:`col-span-2 space-y-3`,children:k.map(e=>(0,C.jsxs)(i,{className:`flex items-center justify-between rounded-md border p-3 transition-colors hover:bg-accent`,params:{instanceProfileName:e.InstanceProfileName??``},to:`/iam/list-instance-profiles/$instanceProfileName`,children:[(0,C.jsx)(`p`,{className:`text-sm font-medium`,children:e.InstanceProfileName}),(0,C.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.InstanceProfileName))}):(0,C.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`This role is not in any instance profile.`})})]})]}),(0,C.jsx)(g,{description:`Are you sure you want to delete the role "${e}"? This action cannot be undone. You must detach all policies and remove it from all instance profiles first.`,isPending:T.isPending,onConfirm:async()=>{try{await T.mutateAsync(e),t({to:`/iam/list-roles`})}finally{D(!1)}},onOpenChange:D,open:E,title:`Delete Role`})]}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(s,{to:`/iam/list-roles`,children:`Back to roles`}),(0,C.jsx)(`p`,{className:`text-muted-foreground`,children:`Role not found.`})]})}export{w as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_roleName-CwOZwaUn.js b/spinifex/services/spinifexui/frontend/dist/assets/_roleName-D14GhLGW.js similarity index 89% rename from spinifex/services/spinifexui/frontend/dist/assets/_roleName-CwOZwaUn.js rename to spinifex/services/spinifexui/frontend/dist/assets/_roleName-D14GhLGW.js index 07fd34ea3..71f329e41 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_roleName-CwOZwaUn.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_roleName-D14GhLGW.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_roleName-ChFldOSA.js","assets/compiler-runtime-D_vZfn79.js","assets/useSuspenseQuery-Bc7E1P-f.js","assets/useBaseQuery-Dqg0ViLa.js","assets/removable-Dwr9otKB.js","assets/query-BPr_oSEg.js","assets/link-BokOReHc.js","assets/useSelector-C6_B_5v6.js","assets/with-selector-DrM041uv.js","assets/useNavigate-CTe_-BZA.js","assets/cluster-config-DNNpxkEw.js","assets/hex-encoding-CVnQo5PF.js","assets/back-link-wsXUoJ12.js","assets/createLucideIcon-BQgzNCBR.js","assets/trash-DVab4pEz.js","assets/button-C9VMD5Xn.js","assets/dist-DEhWxN7p.js","assets/iam-BhvTeEfR.js","assets/useMutation-6rdxVQpi.js","assets/mutation-BziiWz5u.js","assets/awsClient-Bm9ksq2r.js","assets/index.browser-DuXQj3EI.js","assets/commandBuilder-D4HJ1FUj.js","assets/iam-3D5jlLAz.js","assets/queryOptions-Dfvzj6n2.js","assets/json-CeLiNx_J.js","assets/page-heading-vksh_67w.js","assets/error-banner-DeOeVBKS.js","assets/delete-confirmation-dialog-8byauM7I.js","assets/alert-dialog-Da3OTbL9.js","assets/DialogTitle-BIRU7hlM.js","assets/useValueAsRef-BRYYjd2W.js","assets/createBaseUIEventDetails-sqRELvD6.js","assets/useScrollLock-aaqhvzFs.js","assets/detail-row-DNBRlVeK.js","assets/policy-document-viewer-DAhLJAGU.js","assets/inline-policies-panel-BzXIjEbl.js","assets/useQuery-2EKf7AyV.js","assets/input-CBUMH1Jl.js","assets/useValueChanged-3krk2xbP.js","assets/useControlled-DwxdYHYK.js","assets/field-BKQO3cRo.js","assets/separator-BFSV8f2Y.js","assets/json-editor-C0uKwIA1.js","assets/textarea-CTBs9AlF.js","assets/iam-CADYUEJg.js"])))=>i.map(i=>d[i]); -import{n as e,t}from"./lazyRouteComponent-D0nAq0Je.js";import{ut as n}from"./cluster-config-DNNpxkEw.js";import{d as r,g as i,p as a,r as o,v as s}from"./iam-3D5jlLAz.js";var c=e(`/_auth/iam/(roles)/list-roles/$roleName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...s(t.roleName),staleTime:`static`}),e.queryClient.query({...o(t.roleName),staleTime:`static`}),e.queryClient.query({...r(t.roleName),staleTime:`static`}),e.queryClient.query({...a,staleTime:`static`}),e.queryClient.query({...i(t.roleName),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.roleName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_roleName-ChFldOSA.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45])),`component`)});export{c as t}; \ No newline at end of file +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_roleName-CRi84efF.js","assets/compiler-runtime-D_vZfn79.js","assets/useSuspenseQuery-Bc7E1P-f.js","assets/useBaseQuery-Dqg0ViLa.js","assets/removable-Dwr9otKB.js","assets/query-BPr_oSEg.js","assets/link-BokOReHc.js","assets/useSelector-C6_B_5v6.js","assets/with-selector-DrM041uv.js","assets/useNavigate-CTe_-BZA.js","assets/cluster-config-DNNpxkEw.js","assets/hex-encoding-CVnQo5PF.js","assets/back-link-wsXUoJ12.js","assets/createLucideIcon-BQgzNCBR.js","assets/trash-DVab4pEz.js","assets/button-C9VMD5Xn.js","assets/dist-DEhWxN7p.js","assets/iam-DtFzCnrP.js","assets/useMutation-6rdxVQpi.js","assets/mutation-BziiWz5u.js","assets/awsClient-Bm9ksq2r.js","assets/index.browser-DuXQj3EI.js","assets/commandBuilder-D4HJ1FUj.js","assets/iam-3D5jlLAz.js","assets/queryOptions-Dfvzj6n2.js","assets/json-CeLiNx_J.js","assets/page-heading-vksh_67w.js","assets/error-banner-DeOeVBKS.js","assets/delete-confirmation-dialog-8byauM7I.js","assets/alert-dialog-Da3OTbL9.js","assets/DialogTitle-BIRU7hlM.js","assets/useValueAsRef-BRYYjd2W.js","assets/createBaseUIEventDetails-sqRELvD6.js","assets/useScrollLock-aaqhvzFs.js","assets/detail-row-DNBRlVeK.js","assets/policy-document-viewer-DAhLJAGU.js","assets/inline-policies-panel-Bjqkq9_Q.js","assets/useQuery-2EKf7AyV.js","assets/input-CBUMH1Jl.js","assets/useValueChanged-3krk2xbP.js","assets/useControlled-DwxdYHYK.js","assets/field-BKQO3cRo.js","assets/separator-BFSV8f2Y.js","assets/json-editor-C0uKwIA1.js","assets/textarea-CTBs9AlF.js","assets/iam-CADYUEJg.js"])))=>i.map(i=>d[i]); +import{n as e,t}from"./lazyRouteComponent-D0nAq0Je.js";import{ut as n}from"./cluster-config-DNNpxkEw.js";import{d as r,g as i,p as a,r as o,v as s}from"./iam-3D5jlLAz.js";var c=e(`/_auth/iam/(roles)/list-roles/$roleName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...s(t.roleName),staleTime:`static`}),e.queryClient.query({...o(t.roleName),staleTime:`static`}),e.queryClient.query({...r(t.roleName),staleTime:`static`}),e.queryClient.query({...a,staleTime:`static`}),e.queryClient.query({...i(t.roleName),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.roleName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_roleName-CRi84efF.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45])),`component`)});export{c as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_userName-Dba8kyLA.js b/spinifex/services/spinifexui/frontend/dist/assets/_userName-CSg21Ka8.js similarity index 90% rename from spinifex/services/spinifexui/frontend/dist/assets/_userName-Dba8kyLA.js rename to spinifex/services/spinifexui/frontend/dist/assets/_userName-CSg21Ka8.js index 52ffab1a5..812642bde 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_userName-Dba8kyLA.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_userName-CSg21Ka8.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_userName-DmYwm7Wx.js","assets/compiler-runtime-D_vZfn79.js","assets/useSuspenseQuery-Bc7E1P-f.js","assets/useBaseQuery-Dqg0ViLa.js","assets/removable-Dwr9otKB.js","assets/query-BPr_oSEg.js","assets/link-BokOReHc.js","assets/useSelector-C6_B_5v6.js","assets/with-selector-DrM041uv.js","assets/useNavigate-CTe_-BZA.js","assets/cluster-config-DNNpxkEw.js","assets/hex-encoding-CVnQo5PF.js","assets/back-link-wsXUoJ12.js","assets/createLucideIcon-BQgzNCBR.js","assets/check-BO7W8OSs.js","assets/trash-DVab4pEz.js","assets/triangle-alert-DcjzeKLg.js","assets/button-C9VMD5Xn.js","assets/dist-DEhWxN7p.js","assets/iam-BhvTeEfR.js","assets/useMutation-6rdxVQpi.js","assets/mutation-BziiWz5u.js","assets/awsClient-Bm9ksq2r.js","assets/index.browser-DuXQj3EI.js","assets/commandBuilder-D4HJ1FUj.js","assets/iam-3D5jlLAz.js","assets/queryOptions-Dfvzj6n2.js","assets/json-CeLiNx_J.js","assets/page-heading-vksh_67w.js","assets/error-banner-DeOeVBKS.js","assets/alert-dialog-Da3OTbL9.js","assets/DialogTitle-BIRU7hlM.js","assets/useValueAsRef-BRYYjd2W.js","assets/createBaseUIEventDetails-sqRELvD6.js","assets/useScrollLock-aaqhvzFs.js","assets/delete-confirmation-dialog-8byauM7I.js","assets/detail-row-DNBRlVeK.js","assets/state-badge-BbpKF1NE.js","assets/use-copy-to-clipboard-DjiD3qo6.js","assets/inline-policies-panel-BzXIjEbl.js","assets/useQuery-2EKf7AyV.js","assets/input-CBUMH1Jl.js","assets/useValueChanged-3krk2xbP.js","assets/useControlled-DwxdYHYK.js","assets/field-BKQO3cRo.js","assets/separator-BFSV8f2Y.js","assets/json-editor-C0uKwIA1.js","assets/textarea-CTBs9AlF.js","assets/iam-CADYUEJg.js"])))=>i.map(i=>d[i]); -import{n as e,t}from"./lazyRouteComponent-D0nAq0Je.js";import{ut as n}from"./cluster-config-DNNpxkEw.js";import{S as r,b as i,c as a,i as o,p as s,t as c}from"./iam-3D5jlLAz.js";var l=e(`/_auth/iam/(users)/list-users/$userName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.userName),staleTime:`static`}),e.queryClient.query({...c(t.userName),staleTime:`static`}),e.queryClient.query({...o(t.userName),staleTime:`static`}),e.queryClient.query({...s,staleTime:`static`}),e.queryClient.query({...a(t.userName),staleTime:`static`}),e.queryClient.query({...i(t.userName),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.userName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_userName-DmYwm7Wx.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48])),`component`)});export{l as t}; \ No newline at end of file +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_userName-D8HdlRqa.js","assets/compiler-runtime-D_vZfn79.js","assets/useSuspenseQuery-Bc7E1P-f.js","assets/useBaseQuery-Dqg0ViLa.js","assets/removable-Dwr9otKB.js","assets/query-BPr_oSEg.js","assets/link-BokOReHc.js","assets/useSelector-C6_B_5v6.js","assets/with-selector-DrM041uv.js","assets/useNavigate-CTe_-BZA.js","assets/cluster-config-DNNpxkEw.js","assets/hex-encoding-CVnQo5PF.js","assets/back-link-wsXUoJ12.js","assets/createLucideIcon-BQgzNCBR.js","assets/check-BO7W8OSs.js","assets/trash-DVab4pEz.js","assets/triangle-alert-DcjzeKLg.js","assets/button-C9VMD5Xn.js","assets/dist-DEhWxN7p.js","assets/iam-DtFzCnrP.js","assets/useMutation-6rdxVQpi.js","assets/mutation-BziiWz5u.js","assets/awsClient-Bm9ksq2r.js","assets/index.browser-DuXQj3EI.js","assets/commandBuilder-D4HJ1FUj.js","assets/iam-3D5jlLAz.js","assets/queryOptions-Dfvzj6n2.js","assets/json-CeLiNx_J.js","assets/page-heading-vksh_67w.js","assets/error-banner-DeOeVBKS.js","assets/alert-dialog-Da3OTbL9.js","assets/DialogTitle-BIRU7hlM.js","assets/useValueAsRef-BRYYjd2W.js","assets/createBaseUIEventDetails-sqRELvD6.js","assets/useScrollLock-aaqhvzFs.js","assets/delete-confirmation-dialog-8byauM7I.js","assets/detail-row-DNBRlVeK.js","assets/state-badge-BbpKF1NE.js","assets/use-copy-to-clipboard-DjiD3qo6.js","assets/inline-policies-panel-Bjqkq9_Q.js","assets/useQuery-2EKf7AyV.js","assets/input-CBUMH1Jl.js","assets/useValueChanged-3krk2xbP.js","assets/useControlled-DwxdYHYK.js","assets/field-BKQO3cRo.js","assets/separator-BFSV8f2Y.js","assets/json-editor-C0uKwIA1.js","assets/textarea-CTBs9AlF.js","assets/iam-CADYUEJg.js"])))=>i.map(i=>d[i]); +import{n as e,t}from"./lazyRouteComponent-D0nAq0Je.js";import{ut as n}from"./cluster-config-DNNpxkEw.js";import{S as r,b as i,c as a,i as o,p as s,t as c}from"./iam-3D5jlLAz.js";var l=e(`/_auth/iam/(users)/list-users/$userName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.userName),staleTime:`static`}),e.queryClient.query({...c(t.userName),staleTime:`static`}),e.queryClient.query({...o(t.userName),staleTime:`static`}),e.queryClient.query({...s,staleTime:`static`}),e.queryClient.query({...a(t.userName),staleTime:`static`}),e.queryClient.query({...i(t.userName),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.userName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_userName-D8HdlRqa.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48])),`component`)});export{l as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_userName-DmYwm7Wx.js b/spinifex/services/spinifexui/frontend/dist/assets/_userName-D8HdlRqa.js similarity index 97% rename from spinifex/services/spinifexui/frontend/dist/assets/_userName-DmYwm7Wx.js rename to spinifex/services/spinifexui/frontend/dist/assets/_userName-D8HdlRqa.js index 6c04feefd..a0346db69 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_userName-DmYwm7Wx.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_userName-D8HdlRqa.js @@ -1 +1 @@ -import{n as e,o as t,r as n,t as r}from"./compiler-runtime-D_vZfn79.js";import{t as i}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as a}from"./link-BokOReHc.js";import{t as o}from"./useNavigate-CTe_-BZA.js";import{an as s}from"./cluster-config-DNNpxkEw.js";import{t as c}from"./back-link-wsXUoJ12.js";import{t as l}from"./check-BO7W8OSs.js";import{t as u}from"./trash-DVab4pEz.js";import{t as d}from"./triangle-alert-DcjzeKLg.js";import{t as f}from"./button-C9VMD5Xn.js";import{O as p,f as m,k as h,o as g,y as _}from"./iam-BhvTeEfR.js";import{S as v,c as y,t as b}from"./iam-3D5jlLAz.js";import{t as x}from"./_userName-Dba8kyLA.js";import{t as S}from"./page-heading-vksh_67w.js";import{t as C}from"./error-banner-DeOeVBKS.js";import{a as w,c as T,i as E,l as D,o as O,r as k,s as A,t as j}from"./alert-dialog-Da3OTbL9.js";import{t as M}from"./delete-confirmation-dialog-8byauM7I.js";import{n as N,t as P}from"./detail-row-DNBRlVeK.js";import{t as F}from"./state-badge-BbpKF1NE.js";import{t as I}from"./use-copy-to-clipboard-DjiD3qo6.js";import{n as L,t as R}from"./inline-policies-panel-BzXIjEbl.js";var z=t(n()),B=r(),V=e();function H(e){let t=(0,B.c)(27),{onClose:n,accessKeyId:r,secretAccessKey:i}=e,{copied:a,copy:o}=I(),s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,V.jsxs)(A,{children:[(0,V.jsx)(T,{children:(0,V.jsx)(d,{className:`text-destructive`})}),(0,V.jsx)(D,{children:`Save Your Access Key`}),(0,V.jsx)(w,{children:`This is your only chance to view the secret access key. Please copy it now. You won't be able to retrieve it again.`})]}),t[0]=s):s=t[0];let c;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,V.jsx)(`span`,{className:`text-muted-foreground`,children:`Access Key ID: `}),t[1]=c):c=t[1];let u;t[2]===r?u=t[3]:(u=(0,V.jsxs)(`div`,{children:[c,r]}),t[2]=r,t[3]=u);let p;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,V.jsx)(`span`,{className:`text-muted-foreground`,children:`Secret Access Key: `}),t[4]=p):p=t[4];let m;t[5]===i?m=t[6]:(m=(0,V.jsxs)(`div`,{children:[p,i]}),t[5]=i,t[6]=m);let h;t[7]!==u||t[8]!==m?(h=(0,V.jsxs)(`div`,{className:`space-y-2 rounded-md border p-4 font-mono text-sm`,children:[u,m]}),t[7]=u,t[8]=m,t[9]=h):h=t[9];let g;t[10]!==r||t[11]!==o||t[12]!==i?(g=async()=>{await o(`Access Key ID: ${r}\nSecret Access Key: ${i}`)},t[10]=r,t[11]=o,t[12]=i,t[13]=g):g=t[13];let _;t[14]===a?_=t[15]:(_=a?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(l,{className:`mr-2 size-4`}),`Copied!`]}):`Copy to Clipboard`,t[14]=a,t[15]=_);let v;t[16]!==g||t[17]!==_?(v=(0,V.jsx)(f,{className:`w-full`,onClick:g,type:`button`,variant:`outline`,children:_}),t[16]=g,t[17]=_,t[18]=v):v=t[18];let y;t[19]!==h||t[20]!==v?(y=(0,V.jsxs)(`div`,{className:`space-y-3`,children:[h,v]}),t[19]=h,t[20]=v,t[21]=y):y=t[21];let b;t[22]===n?b=t[23]:(b=(0,V.jsx)(O,{children:(0,V.jsx)(k,{onClick:n,children:`Close and Continue`})}),t[22]=n,t[23]=b);let x;return t[24]!==y||t[25]!==b?(x=(0,V.jsx)(j,{open:!0,children:(0,V.jsxs)(E,{className:`max-w-2xl`,children:[s,y,b]})}),t[24]=y,t[25]=b,t[26]=x):x=t[26],x}function U(){let{userName:e}=x.useParams(),t=o(),{data:n}=i(v(e)),{data:r}=i(b(e)),{data:l}=i(y(e)),d=_(),w=g(),T=m(),E=h(),D=p(),[O,k]=(0,z.useState)(!1),[A,j]=(0,z.useState)(null),[I,B]=(0,z.useState)(null),[U,W]=(0,z.useState)(null),G=n.User,K=r.AccessKeyMetadata??[],q=l.Groups??[],J=async()=>{try{await d.mutateAsync(e),t({to:`/iam/list-users`})}finally{k(!1)}},Y=async()=>{let t=await w.mutateAsync(e);t.AccessKey&&j({accessKeyId:t.AccessKey.AccessKeyId??``,secretAccessKey:t.AccessKey.SecretAccessKey??``})},X=async t=>{if(t.AccessKeyId){B(t.AccessKeyId);try{await E.mutateAsync({userName:e,accessKeyId:t.AccessKeyId,status:t.Status===`Active`?`Inactive`:`Active`})}finally{B(null)}}},Z=async t=>{B(t);try{await T.mutateAsync({userName:e,accessKeyId:t})}finally{B(null)}},Q=async t=>{W(t);try{await D.mutateAsync({groupName:t,userName:e})}finally{W(null)}};return G?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(c,{to:`/iam/list-users`,children:`Back to users`}),d.error&&(0,V.jsx)(C,{error:d.error,msg:`Failed to delete user`}),w.error&&(0,V.jsx)(C,{error:w.error,msg:`Failed to create access key`}),T.error&&(0,V.jsx)(C,{error:T.error,msg:`Failed to delete access key`}),D.error&&(0,V.jsx)(C,{error:D.error,msg:`Failed to remove from group`}),(0,V.jsxs)(`div`,{className:`space-y-6`,children:[(0,V.jsx)(S,{actions:(0,V.jsxs)(f,{onClick:()=>{k(!0)},size:`sm`,variant:`destructive`,children:[(0,V.jsx)(u,{className:`size-4`}),`Delete`]}),subtitle:`User Details`,title:G.UserName??``}),(0,V.jsxs)(N,{children:[(0,V.jsx)(N.Header,{children:`User Information`}),(0,V.jsxs)(N.Content,{children:[(0,V.jsx)(P,{label:`User Name`,value:G.UserName}),(0,V.jsx)(P,{label:`User ID`,value:G.UserId}),(0,V.jsx)(P,{label:`ARN`,value:G.Arn}),(0,V.jsx)(P,{label:`Path`,value:G.Path}),(0,V.jsx)(P,{label:`Created`,value:s(G.CreateDate)})]})]}),(0,V.jsxs)(N,{children:[(0,V.jsx)(N.Header,{children:(0,V.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,V.jsx)(`span`,{children:`Access Keys`}),(0,V.jsx)(f,{disabled:w.isPending,onClick:Y,size:`sm`,children:w.isPending?`Creating...`:`Create Access Key`})]})}),(0,V.jsx)(N.Content,{children:K.length>0?(0,V.jsx)(`div`,{className:`col-span-2 space-y-3`,children:K.map(e=>(0,V.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,V.jsxs)(`div`,{className:`space-y-1`,children:[(0,V.jsx)(`p`,{className:`font-mono text-sm`,children:e.AccessKeyId}),(0,V.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Created `,s(e.CreateDate)]})]}),(0,V.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,V.jsx)(F,{state:e.Status}),(0,V.jsx)(f,{disabled:I===e.AccessKeyId,onClick:async()=>{await X(e)},size:`sm`,variant:`outline`,children:e.Status===`Active`?`Deactivate`:`Activate`}),(0,V.jsx)(f,{disabled:I===e.AccessKeyId,onClick:()=>{e.AccessKeyId&&Z(e.AccessKeyId)},size:`sm`,variant:`destructive`,children:`Delete`})]})]},e.AccessKeyId))}):(0,V.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No access keys.`})})]}),(0,V.jsx)(L,{kind:`user`,name:e}),(0,V.jsx)(R,{kind:`user`,name:e}),(0,V.jsxs)(N,{children:[(0,V.jsx)(N.Header,{children:`Groups`}),(0,V.jsx)(N.Content,{children:q.length>0?(0,V.jsx)(`div`,{className:`col-span-2 space-y-3`,children:q.map(e=>(0,V.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,V.jsx)(a,{className:`text-sm font-medium hover:underline`,params:{groupName:e.GroupName??``},to:`/iam/list-groups/$groupName`,children:e.GroupName}),(0,V.jsx)(f,{disabled:U===e.GroupName,onClick:()=>{e.GroupName&&Q(e.GroupName)},size:`sm`,variant:`outline`,children:`Remove`})]},e.GroupName))}):(0,V.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`Not a member of any group.`})})]})]}),(0,V.jsx)(M,{description:`Are you sure you want to delete the user "${e}"? This action cannot be undone. You must detach all policies and delete all access keys first.`,isPending:d.isPending,onConfirm:J,onOpenChange:k,open:O,title:`Delete User`}),A&&(0,V.jsx)(H,{accessKeyId:A.accessKeyId,onClose:()=>{j(null)},secretAccessKey:A.secretAccessKey})]}):(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(c,{to:`/iam/list-users`,children:`Back to users`}),(0,V.jsx)(`p`,{className:`text-muted-foreground`,children:`User not found.`})]})}export{U as component}; \ No newline at end of file +import{n as e,o as t,r as n,t as r}from"./compiler-runtime-D_vZfn79.js";import{t as i}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as a}from"./link-BokOReHc.js";import{t as o}from"./useNavigate-CTe_-BZA.js";import{an as s}from"./cluster-config-DNNpxkEw.js";import{t as c}from"./back-link-wsXUoJ12.js";import{t as l}from"./check-BO7W8OSs.js";import{t as u}from"./trash-DVab4pEz.js";import{t as d}from"./triangle-alert-DcjzeKLg.js";import{t as f}from"./button-C9VMD5Xn.js";import{O as p,f as m,k as h,o as g,y as _}from"./iam-DtFzCnrP.js";import{S as v,c as y,t as b}from"./iam-3D5jlLAz.js";import{t as x}from"./_userName-CSg21Ka8.js";import{t as S}from"./page-heading-vksh_67w.js";import{t as C}from"./error-banner-DeOeVBKS.js";import{a as w,c as T,i as E,l as D,o as O,r as k,s as A,t as j}from"./alert-dialog-Da3OTbL9.js";import{t as M}from"./delete-confirmation-dialog-8byauM7I.js";import{n as N,t as P}from"./detail-row-DNBRlVeK.js";import{t as F}from"./state-badge-BbpKF1NE.js";import{t as I}from"./use-copy-to-clipboard-DjiD3qo6.js";import{n as L,t as R}from"./inline-policies-panel-Bjqkq9_Q.js";var z=t(n()),B=r(),V=e();function H(e){let t=(0,B.c)(27),{onClose:n,accessKeyId:r,secretAccessKey:i}=e,{copied:a,copy:o}=I(),s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,V.jsxs)(A,{children:[(0,V.jsx)(T,{children:(0,V.jsx)(d,{className:`text-destructive`})}),(0,V.jsx)(D,{children:`Save Your Access Key`}),(0,V.jsx)(w,{children:`This is your only chance to view the secret access key. Please copy it now. You won't be able to retrieve it again.`})]}),t[0]=s):s=t[0];let c;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,V.jsx)(`span`,{className:`text-muted-foreground`,children:`Access Key ID: `}),t[1]=c):c=t[1];let u;t[2]===r?u=t[3]:(u=(0,V.jsxs)(`div`,{children:[c,r]}),t[2]=r,t[3]=u);let p;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,V.jsx)(`span`,{className:`text-muted-foreground`,children:`Secret Access Key: `}),t[4]=p):p=t[4];let m;t[5]===i?m=t[6]:(m=(0,V.jsxs)(`div`,{children:[p,i]}),t[5]=i,t[6]=m);let h;t[7]!==u||t[8]!==m?(h=(0,V.jsxs)(`div`,{className:`space-y-2 rounded-md border p-4 font-mono text-sm`,children:[u,m]}),t[7]=u,t[8]=m,t[9]=h):h=t[9];let g;t[10]!==r||t[11]!==o||t[12]!==i?(g=async()=>{await o(`Access Key ID: ${r}\nSecret Access Key: ${i}`)},t[10]=r,t[11]=o,t[12]=i,t[13]=g):g=t[13];let _;t[14]===a?_=t[15]:(_=a?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(l,{className:`mr-2 size-4`}),`Copied!`]}):`Copy to Clipboard`,t[14]=a,t[15]=_);let v;t[16]!==g||t[17]!==_?(v=(0,V.jsx)(f,{className:`w-full`,onClick:g,type:`button`,variant:`outline`,children:_}),t[16]=g,t[17]=_,t[18]=v):v=t[18];let y;t[19]!==h||t[20]!==v?(y=(0,V.jsxs)(`div`,{className:`space-y-3`,children:[h,v]}),t[19]=h,t[20]=v,t[21]=y):y=t[21];let b;t[22]===n?b=t[23]:(b=(0,V.jsx)(O,{children:(0,V.jsx)(k,{onClick:n,children:`Close and Continue`})}),t[22]=n,t[23]=b);let x;return t[24]!==y||t[25]!==b?(x=(0,V.jsx)(j,{open:!0,children:(0,V.jsxs)(E,{className:`max-w-2xl`,children:[s,y,b]})}),t[24]=y,t[25]=b,t[26]=x):x=t[26],x}function U(){let{userName:e}=x.useParams(),t=o(),{data:n}=i(v(e)),{data:r}=i(b(e)),{data:l}=i(y(e)),d=_(),w=g(),T=m(),E=h(),D=p(),[O,k]=(0,z.useState)(!1),[A,j]=(0,z.useState)(null),[I,B]=(0,z.useState)(null),[U,W]=(0,z.useState)(null),G=n.User,K=r.AccessKeyMetadata??[],q=l.Groups??[],J=async()=>{try{await d.mutateAsync(e),t({to:`/iam/list-users`})}finally{k(!1)}},Y=async()=>{let t=await w.mutateAsync(e);t.AccessKey&&j({accessKeyId:t.AccessKey.AccessKeyId??``,secretAccessKey:t.AccessKey.SecretAccessKey??``})},X=async t=>{if(t.AccessKeyId){B(t.AccessKeyId);try{await E.mutateAsync({userName:e,accessKeyId:t.AccessKeyId,status:t.Status===`Active`?`Inactive`:`Active`})}finally{B(null)}}},Z=async t=>{B(t);try{await T.mutateAsync({userName:e,accessKeyId:t})}finally{B(null)}},Q=async t=>{W(t);try{await D.mutateAsync({groupName:t,userName:e})}finally{W(null)}};return G?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(c,{to:`/iam/list-users`,children:`Back to users`}),d.error&&(0,V.jsx)(C,{error:d.error,msg:`Failed to delete user`}),w.error&&(0,V.jsx)(C,{error:w.error,msg:`Failed to create access key`}),T.error&&(0,V.jsx)(C,{error:T.error,msg:`Failed to delete access key`}),D.error&&(0,V.jsx)(C,{error:D.error,msg:`Failed to remove from group`}),(0,V.jsxs)(`div`,{className:`space-y-6`,children:[(0,V.jsx)(S,{actions:(0,V.jsxs)(f,{onClick:()=>{k(!0)},size:`sm`,variant:`destructive`,children:[(0,V.jsx)(u,{className:`size-4`}),`Delete`]}),subtitle:`User Details`,title:G.UserName??``}),(0,V.jsxs)(N,{children:[(0,V.jsx)(N.Header,{children:`User Information`}),(0,V.jsxs)(N.Content,{children:[(0,V.jsx)(P,{label:`User Name`,value:G.UserName}),(0,V.jsx)(P,{label:`User ID`,value:G.UserId}),(0,V.jsx)(P,{label:`ARN`,value:G.Arn}),(0,V.jsx)(P,{label:`Path`,value:G.Path}),(0,V.jsx)(P,{label:`Created`,value:s(G.CreateDate)})]})]}),(0,V.jsxs)(N,{children:[(0,V.jsx)(N.Header,{children:(0,V.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,V.jsx)(`span`,{children:`Access Keys`}),(0,V.jsx)(f,{disabled:w.isPending,onClick:Y,size:`sm`,children:w.isPending?`Creating...`:`Create Access Key`})]})}),(0,V.jsx)(N.Content,{children:K.length>0?(0,V.jsx)(`div`,{className:`col-span-2 space-y-3`,children:K.map(e=>(0,V.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,V.jsxs)(`div`,{className:`space-y-1`,children:[(0,V.jsx)(`p`,{className:`font-mono text-sm`,children:e.AccessKeyId}),(0,V.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Created `,s(e.CreateDate)]})]}),(0,V.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,V.jsx)(F,{state:e.Status}),(0,V.jsx)(f,{disabled:I===e.AccessKeyId,onClick:async()=>{await X(e)},size:`sm`,variant:`outline`,children:e.Status===`Active`?`Deactivate`:`Activate`}),(0,V.jsx)(f,{disabled:I===e.AccessKeyId,onClick:()=>{e.AccessKeyId&&Z(e.AccessKeyId)},size:`sm`,variant:`destructive`,children:`Delete`})]})]},e.AccessKeyId))}):(0,V.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No access keys.`})})]}),(0,V.jsx)(L,{kind:`user`,name:e}),(0,V.jsx)(R,{kind:`user`,name:e}),(0,V.jsxs)(N,{children:[(0,V.jsx)(N.Header,{children:`Groups`}),(0,V.jsx)(N.Content,{children:q.length>0?(0,V.jsx)(`div`,{className:`col-span-2 space-y-3`,children:q.map(e=>(0,V.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,V.jsx)(a,{className:`text-sm font-medium hover:underline`,params:{groupName:e.GroupName??``},to:`/iam/list-groups/$groupName`,children:e.GroupName}),(0,V.jsx)(f,{disabled:U===e.GroupName,onClick:()=>{e.GroupName&&Q(e.GroupName)},size:`sm`,variant:`outline`,children:`Remove`})]},e.GroupName))}):(0,V.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`Not a member of any group.`})})]})]}),(0,V.jsx)(M,{description:`Are you sure you want to delete the user "${e}"? This action cannot be undone. You must detach all policies and delete all access keys first.`,isPending:d.isPending,onConfirm:J,onOpenChange:k,open:O,title:`Delete User`}),A&&(0,V.jsx)(H,{accessKeyId:A.accessKeyId,onClose:()=>{j(null)},secretAccessKey:A.secretAccessKey})]}):(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(c,{to:`/iam/list-users`,children:`Back to users`}),(0,V.jsx)(`p`,{className:`text-muted-foreground`,children:`User not found.`})]})}export{U as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/create-cluster-CGyNwlKq.js b/spinifex/services/spinifexui/frontend/dist/assets/create-cluster-Bf6-qWHk.js similarity index 99% rename from spinifex/services/spinifexui/frontend/dist/assets/create-cluster-CGyNwlKq.js rename to spinifex/services/spinifexui/frontend/dist/assets/create-cluster-Bf6-qWHk.js index b9cc33843..c743238c1 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/create-cluster-CGyNwlKq.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/create-cluster-Bf6-qWHk.js @@ -1 +1 @@ -import{n as e,o as t,r as n,t as r}from"./compiler-runtime-D_vZfn79.js";import{A as i}from"./removable-Dwr9otKB.js";import{t as a}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as o}from"./useNavigate-CTe_-BZA.js";import{cn as s}from"./cluster-config-DNNpxkEw.js";import{t as c}from"./back-link-wsXUoJ12.js";import{c as l,i as u,n as d,s as f,t as p}from"./select-sbVkpt-r.js";import{t as m}from"./button-C9VMD5Xn.js";import{t as h}from"./input-CBUMH1Jl.js";import{M as g,O as _,o as v}from"./ec2-BzWGOxUI.js";import{a as y,d as b,g as x,o as S,t as C}from"./eks-u2D4kfib.js";import{i as ee,u as te}from"./iam-BhvTeEfR.js";import{y as w}from"./iam-3D5jlLAz.js";import{t as T}from"./page-heading-vksh_67w.js";import{a as E,i as D,n as O,t as k}from"./zod-A4qtKH_p.js";import{t as A}from"./error-banner-DeOeVBKS.js";import{t as j}from"./form-actions-ECg9_Gdo.js";import{r as M,s as N,t as P}from"./field-BKQO3cRo.js";import{a as F,i as I,l as ne,n as L,o as R,r as z,s as B,t as V}from"./alert-dialog-Da3OTbL9.js";import{n as H}from"./system-managed-Dk7ySh_E.js";import{t as U}from"./system-image-required-CQ5Fv5O6.js";import{t as W}from"./policy-document-viewer-DAhLJAGU.js";var G=r(),K=t(n(),1),q=e();function J(e){return`${e.trim()||`cluster`}-eks-cluster-role`}function Y(e){let t=(0,G.c)(35),{clusterName:n,open:r,onOpenChange:i,onCreated:a}=e,o=te(),s=ee(),c;t[0]===n?c=t[1]:(c=()=>J(n),t[0]=n,t[1]=c);let[l,u]=(0,K.useState)(c),[d,f]=(0,K.useState)(null),[p,m]=(0,K.useState)(r);r!==p&&(m(r),r&&(u(J(n)),f(null)));let g=o.isPending||s.isPending,_;t[2]===i?_=t[3]:(_=function(e){e||f(null),i(e)},t[2]=i,t[3]=_);let v=_,b;t[4]!==s||t[5]!==o||t[6]!==a||t[7]!==i||t[8]!==l?(b=async function(){f(null);let e=l.trim();try{let t=await o.mutateAsync({roleName:e,assumeRolePolicyDocument:y});await s.mutateAsync({roleName:e,policyArn:C});let n=t.Role?.Arn;if(!n){f(`Role was created but no ARN was returned.`);return}a(n),i(!1)}catch(e){let t=e;f(t instanceof Error?t.message:`Failed to create role.`)}},t[4]=s,t[5]=o,t[6]=a,t[7]=i,t[8]=l,t[9]=b):b=t[9];let x=b,S;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,q.jsxs)(B,{children:[(0,q.jsx)(ne,{children:`Create cluster IAM role`}),(0,q.jsx)(F,{children:`Creates an IAM role trusted by the EKS control plane and attaches the AmazonEKSClusterPolicy managed policy.`})]}),t[10]=S):S=t[10];let w;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,q.jsx)(N,{children:(0,q.jsx)(`label`,{htmlFor:`eks-role-name`,children:`Role name`})}),t[11]=w):w=t[11];let T;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(T=e=>{u(e.target.value)},t[12]=T):T=t[12];let E;t[13]===l?E=t[14]:(E=(0,q.jsxs)(P,{children:[w,(0,q.jsx)(h,{id:`eks-role-name`,onChange:T,placeholder:`my-cluster-eks-cluster-role`,value:l})]}),t[13]=l,t[14]=E);let D;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:`Trust policy (JSON)`}),(0,q.jsx)(W,{document:y})]}),t[15]=D):D=t[15];let O;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:`Attached managed policy`}),(0,q.jsx)(`code`,{className:`block rounded-md border bg-muted p-2 font-mono text-sm break-all`,children:C}),(0,q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Grants the EKS control plane the permissions it needs to manage the cluster.`})]}),t[16]=O):O=t[16];let k;t[17]===d?k=t[18]:(k=d&&(0,q.jsx)(`p`,{className:`text-sm text-destructive`,children:d}),t[17]=d,t[18]=k);let A;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,q.jsx)(z,{children:`Cancel`}),t[19]=A):A=t[19];let j;t[20]!==g||t[21]!==l?(j=g||!l.trim(),t[20]=g,t[21]=l,t[22]=j):j=t[22];let M=g?`Creating…`:`Create role`,H;t[23]!==x||t[24]!==j||t[25]!==M?(H=(0,q.jsxs)(R,{children:[A,(0,q.jsx)(L,{disabled:j,onClick:x,children:M})]}),t[23]=x,t[24]=j,t[25]=M,t[26]=H):H=t[26];let U;t[27]!==k||t[28]!==H||t[29]!==E?(U=(0,q.jsxs)(I,{className:`max-w-lg sm:max-w-lg`,children:[S,E,D,O,k,H]}),t[27]=k,t[28]=H,t[29]=E,t[30]=U):U=t[30];let Y;return t[31]!==v||t[32]!==r||t[33]!==U?(Y=(0,q.jsx)(V,{onOpenChange:v,open:r,children:U}),t[31]=v,t[32]=r,t[33]=U,t[34]=Y):Y=t[34],Y}function re(e){let t=s(e.Tags);return t?`${e.VpcId} (${t})`:`${e.VpcId} (${e.CidrBlock})`}function X(e){let t=s(e.Tags);return`${t?`${e.SubnetId} (${t})`:e.SubnetId} · ${e.CidrBlock}`}function ie(){let e=o(),t=i(),[n,r]=(0,K.useState)(!1),[s,y]=(0,K.useState)(!1),{data:C}=a(g),{data:ee}=a(_),{data:te}=a(w),{data:F}=a(v),I=x(),ne=(F.Images??[]).some(H),L=async()=>{r(!0);try{await t.invalidateQueries({queryKey:v.queryKey})}finally{r(!1)}},R=C.Vpcs??[],z=ee.Subnets??[],B=te.Roles??[],{control:V,formState:{errors:W,isSubmitting:G},handleSubmit:J,register:ie,setValue:Z}=D({resolver:k(b),defaultValues:{name:``,version:S[0],roleArn:``,vpcId:``,subnetIds:[],bootstrapClusterCreatorAdminPermissions:!0,endpointPublicAccess:!0,endpointPrivateAccess:!1,publicAccessCidrs:[`0.0.0.0/0`]}}),ae=E({control:V,name:`vpcId`}),Q=E({control:V,name:`subnetIds`}),oe=new Set(Q),se=E({control:V,name:`endpointPublicAccess`}),$=E({control:V,name:`publicAccessCidrs`}),ce=z.filter(e=>e.VpcId===ae),le=(e=``)=>{Z(`vpcId`,e??``,{shouldValidate:!0}),Z(`subnetIds`,[])},ue=e=>{let t=Q.includes(e)?Q.filter(t=>t!==e):[...Q,e];Z(`subnetIds`,t,{shouldValidate:!0})},de=(e,t)=>{let n=[...$];n[e]=t,Z(`publicAccessCidrs`,n,{shouldValidate:!0})},fe=()=>{Z(`publicAccessCidrs`,[...$,``],{shouldValidate:!0})},pe=e=>{Z(`publicAccessCidrs`,$.filter((t,n)=>n!==e),{shouldValidate:!0})},me=E({control:V,name:`name`}),he=async e=>{await t.invalidateQueries({queryKey:w.queryKey}),Z(`roleArn`,e,{shouldValidate:!0})};return ne?(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(c,{to:`/eks/list-clusters`,children:`Clusters`}),(0,q.jsx)(T,{subtitle:`EKS`,title:`Create Cluster`}),I.error&&(0,q.jsx)(A,{error:I.error,msg:`Failed to create cluster`}),(0,q.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:J(async t=>{await I.mutateAsync(t),await e({to:`/eks/list-clusters/$clusterName`,params:{clusterName:t.name}})}),children:[(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:(0,q.jsx)(`label`,{htmlFor:`cluster-name`,children:`Name`})}),(0,q.jsx)(h,{"aria-invalid":!!W.name,id:`cluster-name`,placeholder:`my-cluster`,...ie(`name`)}),(0,q.jsx)(M,{errors:[W.name]})]}),(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:(0,q.jsx)(`label`,{htmlFor:`cluster-version`,children:`Kubernetes version`})}),(0,q.jsx)(O,{control:V,name:`version`,render:({field:e})=>(0,q.jsxs)(p,{onValueChange:e.onChange,value:e.value,children:[(0,q.jsx)(f,{className:`w-full`,id:`cluster-version`,children:(0,q.jsx)(l,{placeholder:`Select version`})}),(0,q.jsx)(d,{children:S.map(e=>(0,q.jsx)(u,{value:e,children:e},e))})]})}),(0,q.jsx)(M,{errors:[W.version]})]}),(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:(0,q.jsx)(`label`,{htmlFor:`cluster-role`,children:`Cluster IAM role`})}),(0,q.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,q.jsx)(O,{control:V,name:`roleArn`,render:({field:e})=>(0,q.jsxs)(p,{onValueChange:e.onChange,value:e.value,children:[(0,q.jsx)(f,{"aria-invalid":!!W.roleArn,className:`w-full`,id:`cluster-role`,children:(0,q.jsx)(l,{placeholder:`Select role`})}),(0,q.jsx)(d,{children:B.map(e=>(0,q.jsx)(u,{value:e.Arn??``,children:e.RoleName},e.Arn))})]})}),(0,q.jsx)(m,{onClick:()=>{y(!0)},type:`button`,variant:`outline`,children:`Create role`})]}),(0,q.jsx)(M,{errors:[W.roleArn]})]}),(0,q.jsx)(Y,{clusterName:me,onCreated:he,onOpenChange:y,open:s}),(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:(0,q.jsx)(`label`,{htmlFor:`cluster-vpc`,children:`VPC`})}),(0,q.jsx)(O,{control:V,name:`vpcId`,render:({field:e})=>(0,q.jsxs)(p,{onValueChange:e=>{le(e)},value:e.value,children:[(0,q.jsx)(f,{"aria-invalid":!!W.vpcId,className:`w-full`,id:`cluster-vpc`,children:(0,q.jsx)(l,{placeholder:`Select VPC`})}),(0,q.jsx)(d,{children:R.map(e=>(0,q.jsx)(u,{value:e.VpcId??``,children:re(e)},e.VpcId))})]})}),(0,q.jsx)(M,{errors:[W.vpcId]})]}),(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:`Subnets (select at least 1)`}),ce.length===0?(0,q.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No subnets in the selected VPC.`}):(0,q.jsx)(`div`,{className:`space-y-1`,children:ce.map(e=>(0,q.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,q.jsx)(`input`,{"aria-label":`Subnet ${X(e)}`,checked:oe.has(e.SubnetId??``),onChange:()=>{ue(e.SubnetId??``)},type:`checkbox`}),(0,q.jsx)(`span`,{className:`font-mono`,children:X(e)})]},e.SubnetId))}),(0,q.jsx)(M,{errors:[W.subnetIds]})]}),(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:`Endpoint access`}),(0,q.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Public access exposes the API server on an internet-facing endpoint; private access keeps it reachable only from within the VPC. At least one must be enabled.`}),(0,q.jsx)(O,{control:V,name:`endpointPublicAccess`,render:({field:e})=>(0,q.jsxs)(`label`,{className:`mt-2 flex items-center gap-2 text-xs`,children:[(0,q.jsx)(`input`,{"aria-label":`Enable public access`,checked:e.value,onChange:t=>{e.onChange(t.target.checked)},type:`checkbox`}),`Public`]})}),(0,q.jsx)(O,{control:V,name:`endpointPrivateAccess`,render:({field:e})=>(0,q.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,q.jsx)(`input`,{"aria-label":`Enable private access`,checked:e.value,onChange:t=>{e.onChange(t.target.checked)},type:`checkbox`}),`Private`]})}),(0,q.jsx)(M,{errors:[W.endpointPublicAccess]}),se&&(0,q.jsxs)(`div`,{className:`mt-2 space-y-2`,children:[(0,q.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Public access source ranges (CIDR). Defaults to`,` `,(0,q.jsx)(`span`,{className:`font-mono`,children:`0.0.0.0/0`}),`.`]}),$.map((e,t)=>(0,q.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,q.jsx)(h,{"aria-label":`Public access CIDR ${t+1}`,className:`font-mono`,onChange:e=>{de(t,e.target.value)},placeholder:`203.0.113.0/24`,value:e}),(0,q.jsx)(m,{onClick:()=>{pe(t)},size:`sm`,type:`button`,variant:`ghost`,children:`Remove`})]},t)),(0,q.jsx)(m,{onClick:fe,size:`sm`,type:`button`,variant:`outline`,children:`Add CIDR`}),(0,q.jsx)(M,{errors:[W.publicAccessCidrs]})]})]}),(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:`Access`}),(0,q.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Authentication mode is `,(0,q.jsx)(`span`,{className:`font-mono`,children:`API`}),` (IAM access entries). The legacy aws-auth ConfigMap is not supported.`]}),(0,q.jsx)(O,{control:V,name:`bootstrapClusterCreatorAdminPermissions`,render:({field:e})=>(0,q.jsxs)(`label`,{className:`mt-2 flex items-center gap-2 text-xs`,children:[(0,q.jsx)(`input`,{"aria-label":`Grant the cluster creator admin permissions`,checked:e.value,onChange:t=>{e.onChange(t.target.checked)},type:`checkbox`}),`Grant the cluster creator admin permissions`]})})]}),(0,q.jsx)(j,{isPending:I.isPending,isSubmitting:G,onCancel:async()=>{await e({to:`/eks/list-clusters`})},pendingLabel:`Creating…`,submitLabel:`Create Cluster`})]})]}):(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(c,{to:`/eks/list-clusters`,children:`Clusters`}),(0,q.jsx)(T,{subtitle:`EKS`,title:`Create Cluster`}),(0,q.jsx)(U,{description:`EKS clusters boot a Spinifex-managed node image (K3s) that is not shipped with the platform. Import it before creating a cluster.`,importCommand:`spx admin images import --name spinifex-eks-node`,isRechecking:n,onRecheck:L,title:`EKS system image not found`})]})}var Z=ie;export{Z as component}; \ No newline at end of file +import{n as e,o as t,r as n,t as r}from"./compiler-runtime-D_vZfn79.js";import{A as i}from"./removable-Dwr9otKB.js";import{t as a}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as o}from"./useNavigate-CTe_-BZA.js";import{cn as s}from"./cluster-config-DNNpxkEw.js";import{t as c}from"./back-link-wsXUoJ12.js";import{c as l,i as u,n as d,s as f,t as p}from"./select-sbVkpt-r.js";import{t as m}from"./button-C9VMD5Xn.js";import{t as h}from"./input-CBUMH1Jl.js";import{M as g,O as _,o as v}from"./ec2-BzWGOxUI.js";import{a as y,d as b,g as x,o as S,t as C}from"./eks-u2D4kfib.js";import{i as ee,u as te}from"./iam-DtFzCnrP.js";import{y as w}from"./iam-3D5jlLAz.js";import{t as T}from"./page-heading-vksh_67w.js";import{a as E,i as D,n as O,t as k}from"./zod-A4qtKH_p.js";import{t as A}from"./error-banner-DeOeVBKS.js";import{t as j}from"./form-actions-ECg9_Gdo.js";import{r as M,s as N,t as P}from"./field-BKQO3cRo.js";import{a as F,i as I,l as ne,n as L,o as R,r as z,s as B,t as V}from"./alert-dialog-Da3OTbL9.js";import{n as H}from"./system-managed-Dk7ySh_E.js";import{t as U}from"./system-image-required-CQ5Fv5O6.js";import{t as W}from"./policy-document-viewer-DAhLJAGU.js";var G=r(),K=t(n(),1),q=e();function J(e){return`${e.trim()||`cluster`}-eks-cluster-role`}function Y(e){let t=(0,G.c)(35),{clusterName:n,open:r,onOpenChange:i,onCreated:a}=e,o=te(),s=ee(),c;t[0]===n?c=t[1]:(c=()=>J(n),t[0]=n,t[1]=c);let[l,u]=(0,K.useState)(c),[d,f]=(0,K.useState)(null),[p,m]=(0,K.useState)(r);r!==p&&(m(r),r&&(u(J(n)),f(null)));let g=o.isPending||s.isPending,_;t[2]===i?_=t[3]:(_=function(e){e||f(null),i(e)},t[2]=i,t[3]=_);let v=_,b;t[4]!==s||t[5]!==o||t[6]!==a||t[7]!==i||t[8]!==l?(b=async function(){f(null);let e=l.trim();try{let t=await o.mutateAsync({roleName:e,assumeRolePolicyDocument:y});await s.mutateAsync({roleName:e,policyArn:C});let n=t.Role?.Arn;if(!n){f(`Role was created but no ARN was returned.`);return}a(n),i(!1)}catch(e){let t=e;f(t instanceof Error?t.message:`Failed to create role.`)}},t[4]=s,t[5]=o,t[6]=a,t[7]=i,t[8]=l,t[9]=b):b=t[9];let x=b,S;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,q.jsxs)(B,{children:[(0,q.jsx)(ne,{children:`Create cluster IAM role`}),(0,q.jsx)(F,{children:`Creates an IAM role trusted by the EKS control plane and attaches the AmazonEKSClusterPolicy managed policy.`})]}),t[10]=S):S=t[10];let w;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,q.jsx)(N,{children:(0,q.jsx)(`label`,{htmlFor:`eks-role-name`,children:`Role name`})}),t[11]=w):w=t[11];let T;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(T=e=>{u(e.target.value)},t[12]=T):T=t[12];let E;t[13]===l?E=t[14]:(E=(0,q.jsxs)(P,{children:[w,(0,q.jsx)(h,{id:`eks-role-name`,onChange:T,placeholder:`my-cluster-eks-cluster-role`,value:l})]}),t[13]=l,t[14]=E);let D;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:`Trust policy (JSON)`}),(0,q.jsx)(W,{document:y})]}),t[15]=D):D=t[15];let O;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:`Attached managed policy`}),(0,q.jsx)(`code`,{className:`block rounded-md border bg-muted p-2 font-mono text-sm break-all`,children:C}),(0,q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Grants the EKS control plane the permissions it needs to manage the cluster.`})]}),t[16]=O):O=t[16];let k;t[17]===d?k=t[18]:(k=d&&(0,q.jsx)(`p`,{className:`text-sm text-destructive`,children:d}),t[17]=d,t[18]=k);let A;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,q.jsx)(z,{children:`Cancel`}),t[19]=A):A=t[19];let j;t[20]!==g||t[21]!==l?(j=g||!l.trim(),t[20]=g,t[21]=l,t[22]=j):j=t[22];let M=g?`Creating…`:`Create role`,H;t[23]!==x||t[24]!==j||t[25]!==M?(H=(0,q.jsxs)(R,{children:[A,(0,q.jsx)(L,{disabled:j,onClick:x,children:M})]}),t[23]=x,t[24]=j,t[25]=M,t[26]=H):H=t[26];let U;t[27]!==k||t[28]!==H||t[29]!==E?(U=(0,q.jsxs)(I,{className:`max-w-lg sm:max-w-lg`,children:[S,E,D,O,k,H]}),t[27]=k,t[28]=H,t[29]=E,t[30]=U):U=t[30];let Y;return t[31]!==v||t[32]!==r||t[33]!==U?(Y=(0,q.jsx)(V,{onOpenChange:v,open:r,children:U}),t[31]=v,t[32]=r,t[33]=U,t[34]=Y):Y=t[34],Y}function re(e){let t=s(e.Tags);return t?`${e.VpcId} (${t})`:`${e.VpcId} (${e.CidrBlock})`}function X(e){let t=s(e.Tags);return`${t?`${e.SubnetId} (${t})`:e.SubnetId} · ${e.CidrBlock}`}function ie(){let e=o(),t=i(),[n,r]=(0,K.useState)(!1),[s,y]=(0,K.useState)(!1),{data:C}=a(g),{data:ee}=a(_),{data:te}=a(w),{data:F}=a(v),I=x(),ne=(F.Images??[]).some(H),L=async()=>{r(!0);try{await t.invalidateQueries({queryKey:v.queryKey})}finally{r(!1)}},R=C.Vpcs??[],z=ee.Subnets??[],B=te.Roles??[],{control:V,formState:{errors:W,isSubmitting:G},handleSubmit:J,register:ie,setValue:Z}=D({resolver:k(b),defaultValues:{name:``,version:S[0],roleArn:``,vpcId:``,subnetIds:[],bootstrapClusterCreatorAdminPermissions:!0,endpointPublicAccess:!0,endpointPrivateAccess:!1,publicAccessCidrs:[`0.0.0.0/0`]}}),ae=E({control:V,name:`vpcId`}),Q=E({control:V,name:`subnetIds`}),oe=new Set(Q),se=E({control:V,name:`endpointPublicAccess`}),$=E({control:V,name:`publicAccessCidrs`}),ce=z.filter(e=>e.VpcId===ae),le=(e=``)=>{Z(`vpcId`,e??``,{shouldValidate:!0}),Z(`subnetIds`,[])},ue=e=>{let t=Q.includes(e)?Q.filter(t=>t!==e):[...Q,e];Z(`subnetIds`,t,{shouldValidate:!0})},de=(e,t)=>{let n=[...$];n[e]=t,Z(`publicAccessCidrs`,n,{shouldValidate:!0})},fe=()=>{Z(`publicAccessCidrs`,[...$,``],{shouldValidate:!0})},pe=e=>{Z(`publicAccessCidrs`,$.filter((t,n)=>n!==e),{shouldValidate:!0})},me=E({control:V,name:`name`}),he=async e=>{await t.invalidateQueries({queryKey:w.queryKey}),Z(`roleArn`,e,{shouldValidate:!0})};return ne?(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(c,{to:`/eks/list-clusters`,children:`Clusters`}),(0,q.jsx)(T,{subtitle:`EKS`,title:`Create Cluster`}),I.error&&(0,q.jsx)(A,{error:I.error,msg:`Failed to create cluster`}),(0,q.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:J(async t=>{await I.mutateAsync(t),await e({to:`/eks/list-clusters/$clusterName`,params:{clusterName:t.name}})}),children:[(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:(0,q.jsx)(`label`,{htmlFor:`cluster-name`,children:`Name`})}),(0,q.jsx)(h,{"aria-invalid":!!W.name,id:`cluster-name`,placeholder:`my-cluster`,...ie(`name`)}),(0,q.jsx)(M,{errors:[W.name]})]}),(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:(0,q.jsx)(`label`,{htmlFor:`cluster-version`,children:`Kubernetes version`})}),(0,q.jsx)(O,{control:V,name:`version`,render:({field:e})=>(0,q.jsxs)(p,{onValueChange:e.onChange,value:e.value,children:[(0,q.jsx)(f,{className:`w-full`,id:`cluster-version`,children:(0,q.jsx)(l,{placeholder:`Select version`})}),(0,q.jsx)(d,{children:S.map(e=>(0,q.jsx)(u,{value:e,children:e},e))})]})}),(0,q.jsx)(M,{errors:[W.version]})]}),(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:(0,q.jsx)(`label`,{htmlFor:`cluster-role`,children:`Cluster IAM role`})}),(0,q.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,q.jsx)(O,{control:V,name:`roleArn`,render:({field:e})=>(0,q.jsxs)(p,{onValueChange:e.onChange,value:e.value,children:[(0,q.jsx)(f,{"aria-invalid":!!W.roleArn,className:`w-full`,id:`cluster-role`,children:(0,q.jsx)(l,{placeholder:`Select role`})}),(0,q.jsx)(d,{children:B.map(e=>(0,q.jsx)(u,{value:e.Arn??``,children:e.RoleName},e.Arn))})]})}),(0,q.jsx)(m,{onClick:()=>{y(!0)},type:`button`,variant:`outline`,children:`Create role`})]}),(0,q.jsx)(M,{errors:[W.roleArn]})]}),(0,q.jsx)(Y,{clusterName:me,onCreated:he,onOpenChange:y,open:s}),(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:(0,q.jsx)(`label`,{htmlFor:`cluster-vpc`,children:`VPC`})}),(0,q.jsx)(O,{control:V,name:`vpcId`,render:({field:e})=>(0,q.jsxs)(p,{onValueChange:e=>{le(e)},value:e.value,children:[(0,q.jsx)(f,{"aria-invalid":!!W.vpcId,className:`w-full`,id:`cluster-vpc`,children:(0,q.jsx)(l,{placeholder:`Select VPC`})}),(0,q.jsx)(d,{children:R.map(e=>(0,q.jsx)(u,{value:e.VpcId??``,children:re(e)},e.VpcId))})]})}),(0,q.jsx)(M,{errors:[W.vpcId]})]}),(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:`Subnets (select at least 1)`}),ce.length===0?(0,q.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No subnets in the selected VPC.`}):(0,q.jsx)(`div`,{className:`space-y-1`,children:ce.map(e=>(0,q.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,q.jsx)(`input`,{"aria-label":`Subnet ${X(e)}`,checked:oe.has(e.SubnetId??``),onChange:()=>{ue(e.SubnetId??``)},type:`checkbox`}),(0,q.jsx)(`span`,{className:`font-mono`,children:X(e)})]},e.SubnetId))}),(0,q.jsx)(M,{errors:[W.subnetIds]})]}),(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:`Endpoint access`}),(0,q.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Public access exposes the API server on an internet-facing endpoint; private access keeps it reachable only from within the VPC. At least one must be enabled.`}),(0,q.jsx)(O,{control:V,name:`endpointPublicAccess`,render:({field:e})=>(0,q.jsxs)(`label`,{className:`mt-2 flex items-center gap-2 text-xs`,children:[(0,q.jsx)(`input`,{"aria-label":`Enable public access`,checked:e.value,onChange:t=>{e.onChange(t.target.checked)},type:`checkbox`}),`Public`]})}),(0,q.jsx)(O,{control:V,name:`endpointPrivateAccess`,render:({field:e})=>(0,q.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,q.jsx)(`input`,{"aria-label":`Enable private access`,checked:e.value,onChange:t=>{e.onChange(t.target.checked)},type:`checkbox`}),`Private`]})}),(0,q.jsx)(M,{errors:[W.endpointPublicAccess]}),se&&(0,q.jsxs)(`div`,{className:`mt-2 space-y-2`,children:[(0,q.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Public access source ranges (CIDR). Defaults to`,` `,(0,q.jsx)(`span`,{className:`font-mono`,children:`0.0.0.0/0`}),`.`]}),$.map((e,t)=>(0,q.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,q.jsx)(h,{"aria-label":`Public access CIDR ${t+1}`,className:`font-mono`,onChange:e=>{de(t,e.target.value)},placeholder:`203.0.113.0/24`,value:e}),(0,q.jsx)(m,{onClick:()=>{pe(t)},size:`sm`,type:`button`,variant:`ghost`,children:`Remove`})]},t)),(0,q.jsx)(m,{onClick:fe,size:`sm`,type:`button`,variant:`outline`,children:`Add CIDR`}),(0,q.jsx)(M,{errors:[W.publicAccessCidrs]})]})]}),(0,q.jsxs)(P,{children:[(0,q.jsx)(N,{children:`Access`}),(0,q.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Authentication mode is `,(0,q.jsx)(`span`,{className:`font-mono`,children:`API`}),` (IAM access entries). The legacy aws-auth ConfigMap is not supported.`]}),(0,q.jsx)(O,{control:V,name:`bootstrapClusterCreatorAdminPermissions`,render:({field:e})=>(0,q.jsxs)(`label`,{className:`mt-2 flex items-center gap-2 text-xs`,children:[(0,q.jsx)(`input`,{"aria-label":`Grant the cluster creator admin permissions`,checked:e.value,onChange:t=>{e.onChange(t.target.checked)},type:`checkbox`}),`Grant the cluster creator admin permissions`]})})]}),(0,q.jsx)(j,{isPending:I.isPending,isSubmitting:G,onCancel:async()=>{await e({to:`/eks/list-clusters`})},pendingLabel:`Creating…`,submitLabel:`Create Cluster`})]})]}):(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(c,{to:`/eks/list-clusters`,children:`Clusters`}),(0,q.jsx)(T,{subtitle:`EKS`,title:`Create Cluster`}),(0,q.jsx)(U,{description:`EKS clusters boot a Spinifex-managed node image (K3s) that is not shipped with the platform. Import it before creating a cluster.`,importCommand:`spx admin images import --name spinifex-eks-node`,isRechecking:n,onRecheck:L,title:`EKS system image not found`})]})}var Z=ie;export{Z as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/create-group-B3B-V6J_.js b/spinifex/services/spinifexui/frontend/dist/assets/create-group-VmQiXMub.js similarity index 98% rename from spinifex/services/spinifexui/frontend/dist/assets/create-group-B3B-V6J_.js rename to spinifex/services/spinifexui/frontend/dist/assets/create-group-VmQiXMub.js index 3cbed4895..27c8b50f2 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/create-group-B3B-V6J_.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/create-group-VmQiXMub.js @@ -1 +1 @@ -import{n as e,t}from"./compiler-runtime-D_vZfn79.js";import{t as n}from"./useNavigate-CTe_-BZA.js";import{t as r}from"./back-link-wsXUoJ12.js";import{t as i}from"./cli-command-panel-4C78XA6W.js";import{t as a}from"./input-CBUMH1Jl.js";import{s as o}from"./iam-BhvTeEfR.js";import{t as s}from"./page-heading-vksh_67w.js";import{a as c,i as l,t as u}from"./zod-A4qtKH_p.js";import{t as d}from"./error-banner-DeOeVBKS.js";import{t as f}from"./form-actions-ECg9_Gdo.js";import{r as p,s as m,t as h}from"./field-BKQO3cRo.js";import{n as g}from"./iam-CADYUEJg.js";var _=t(),v=e();function y(){let e=(0,_.c)(53),t=n(),y=o(),x;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(x={resolver:u(g)},e[0]=x):x=e[0];let{handleSubmit:S,register:C,control:w,formState:T}=l(x),{errors:E,isSubmitting:D}=T,O;e[1]===w?O=e[2]:(O={control:w},e[1]=w,e[2]=O);let k=c(O),A;e[3]!==y||e[4]!==t?(A=async e=>{await y.mutateAsync(e),t({to:`/iam/list-groups`})},e[3]=y,e[4]=t,e[5]=A):A=e[5];let j=A,M,N;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,v.jsx)(r,{to:`/iam/list-groups`,children:`Back to groups`}),N=(0,v.jsx)(s,{title:`Create Group`}),e[6]=M,e[7]=N):(M=e[6],N=e[7]);let P;e[8]===y.error?P=e[9]:(P=y.error&&(0,v.jsx)(d,{error:y.error,msg:`Failed to create group`}),e[8]=y.error,e[9]=P);let F;e[10]!==S||e[11]!==j?(F=S(j),e[10]=S,e[11]=j,e[12]=F):F=e[12];let I;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,v.jsx)(m,{children:(0,v.jsx)(`label`,{htmlFor:`groupName`,children:`Group Name`})}),e[13]=I):I=e[13];let L=!!E.groupName,R;e[14]===C?R=e[15]:(R=C(`groupName`),e[14]=C,e[15]=R);let z;e[16]!==R||e[17]!==L?(z=(0,v.jsx)(a,{"aria-invalid":L,id:`groupName`,placeholder:`my-group...`,...R}),e[16]=R,e[17]=L,e[18]=z):z=e[18];let B;e[19]===E.groupName?B=e[20]:(B=(0,v.jsx)(p,{errors:[E.groupName]}),e[19]=E.groupName,e[20]=B);let V;e[21]!==z||e[22]!==B?(V=(0,v.jsxs)(h,{children:[I,z,B]}),e[21]=z,e[22]=B,e[23]=V):V=e[23];let H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,v.jsx)(m,{children:(0,v.jsx)(`label`,{htmlFor:`path`,children:`Path (optional)`})}),e[24]=H):H=e[24];let U;e[25]===C?U=e[26]:(U=C(`path`),e[25]=C,e[26]=U);let W;e[27]===U?W=e[28]:(W=(0,v.jsx)(a,{id:`path`,placeholder:`/`,...U}),e[27]=U,e[28]=W);let G;e[29]===E.path?G=e[30]:(G=(0,v.jsx)(p,{errors:[E.path]}),e[29]=E.path,e[30]=G);let K;e[31]!==W||e[32]!==G?(K=(0,v.jsxs)(h,{children:[H,W,G]}),e[31]=W,e[32]=G,e[33]=K):K=e[33];let q;e[34]===k?q=e[35]:(q=b(k),e[34]=k,e[35]=q);let J;e[36]===q?J=e[37]:(J=(0,v.jsx)(i,{commands:q}),e[36]=q,e[37]=J);let Y;e[38]===t?Y=e[39]:(Y=async()=>{await t({to:`/iam/list-groups`})},e[38]=t,e[39]=Y);let X;e[40]!==y.isPending||e[41]!==D||e[42]!==Y?(X=(0,v.jsx)(f,{isPending:y.isPending,isSubmitting:D,onCancel:Y,pendingLabel:`Creating...`,submitLabel:`Create Group`}),e[40]=y.isPending,e[41]=D,e[42]=Y,e[43]=X):X=e[43];let Z;e[44]!==V||e[45]!==K||e[46]!==J||e[47]!==X||e[48]!==F?(Z=(0,v.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,K,J,X]}),e[44]=V,e[45]=K,e[46]=J,e[47]=X,e[48]=F,e[49]=Z):Z=e[49];let Q;return e[50]!==Z||e[51]!==P?(Q=(0,v.jsxs)(v.Fragment,{children:[M,N,P,Z]}),e[50]=Z,e[51]=P,e[52]=Q):Q=e[52],Q}function b(e){let t=e.groupName??``,n=e.path??``,r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-group`},{type:`flag`,value:` --group-name`},{type:`value`,value:` ${t||``}`}];return n&&n!==`/`&&r.push({type:`flag`,value:` --path`},{type:`value`,value:` ${n}`}),[{label:`Create Group`,parts:r}]}export{y as component}; \ No newline at end of file +import{n as e,t}from"./compiler-runtime-D_vZfn79.js";import{t as n}from"./useNavigate-CTe_-BZA.js";import{t as r}from"./back-link-wsXUoJ12.js";import{t as i}from"./cli-command-panel-4C78XA6W.js";import{t as a}from"./input-CBUMH1Jl.js";import{s as o}from"./iam-DtFzCnrP.js";import{t as s}from"./page-heading-vksh_67w.js";import{a as c,i as l,t as u}from"./zod-A4qtKH_p.js";import{t as d}from"./error-banner-DeOeVBKS.js";import{t as f}from"./form-actions-ECg9_Gdo.js";import{r as p,s as m,t as h}from"./field-BKQO3cRo.js";import{n as g}from"./iam-CADYUEJg.js";var _=t(),v=e();function y(){let e=(0,_.c)(53),t=n(),y=o(),x;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(x={resolver:u(g)},e[0]=x):x=e[0];let{handleSubmit:S,register:C,control:w,formState:T}=l(x),{errors:E,isSubmitting:D}=T,O;e[1]===w?O=e[2]:(O={control:w},e[1]=w,e[2]=O);let k=c(O),A;e[3]!==y||e[4]!==t?(A=async e=>{await y.mutateAsync(e),t({to:`/iam/list-groups`})},e[3]=y,e[4]=t,e[5]=A):A=e[5];let j=A,M,N;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,v.jsx)(r,{to:`/iam/list-groups`,children:`Back to groups`}),N=(0,v.jsx)(s,{title:`Create Group`}),e[6]=M,e[7]=N):(M=e[6],N=e[7]);let P;e[8]===y.error?P=e[9]:(P=y.error&&(0,v.jsx)(d,{error:y.error,msg:`Failed to create group`}),e[8]=y.error,e[9]=P);let F;e[10]!==S||e[11]!==j?(F=S(j),e[10]=S,e[11]=j,e[12]=F):F=e[12];let I;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,v.jsx)(m,{children:(0,v.jsx)(`label`,{htmlFor:`groupName`,children:`Group Name`})}),e[13]=I):I=e[13];let L=!!E.groupName,R;e[14]===C?R=e[15]:(R=C(`groupName`),e[14]=C,e[15]=R);let z;e[16]!==R||e[17]!==L?(z=(0,v.jsx)(a,{"aria-invalid":L,id:`groupName`,placeholder:`my-group...`,...R}),e[16]=R,e[17]=L,e[18]=z):z=e[18];let B;e[19]===E.groupName?B=e[20]:(B=(0,v.jsx)(p,{errors:[E.groupName]}),e[19]=E.groupName,e[20]=B);let V;e[21]!==z||e[22]!==B?(V=(0,v.jsxs)(h,{children:[I,z,B]}),e[21]=z,e[22]=B,e[23]=V):V=e[23];let H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,v.jsx)(m,{children:(0,v.jsx)(`label`,{htmlFor:`path`,children:`Path (optional)`})}),e[24]=H):H=e[24];let U;e[25]===C?U=e[26]:(U=C(`path`),e[25]=C,e[26]=U);let W;e[27]===U?W=e[28]:(W=(0,v.jsx)(a,{id:`path`,placeholder:`/`,...U}),e[27]=U,e[28]=W);let G;e[29]===E.path?G=e[30]:(G=(0,v.jsx)(p,{errors:[E.path]}),e[29]=E.path,e[30]=G);let K;e[31]!==W||e[32]!==G?(K=(0,v.jsxs)(h,{children:[H,W,G]}),e[31]=W,e[32]=G,e[33]=K):K=e[33];let q;e[34]===k?q=e[35]:(q=b(k),e[34]=k,e[35]=q);let J;e[36]===q?J=e[37]:(J=(0,v.jsx)(i,{commands:q}),e[36]=q,e[37]=J);let Y;e[38]===t?Y=e[39]:(Y=async()=>{await t({to:`/iam/list-groups`})},e[38]=t,e[39]=Y);let X;e[40]!==y.isPending||e[41]!==D||e[42]!==Y?(X=(0,v.jsx)(f,{isPending:y.isPending,isSubmitting:D,onCancel:Y,pendingLabel:`Creating...`,submitLabel:`Create Group`}),e[40]=y.isPending,e[41]=D,e[42]=Y,e[43]=X):X=e[43];let Z;e[44]!==V||e[45]!==K||e[46]!==J||e[47]!==X||e[48]!==F?(Z=(0,v.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,K,J,X]}),e[44]=V,e[45]=K,e[46]=J,e[47]=X,e[48]=F,e[49]=Z):Z=e[49];let Q;return e[50]!==Z||e[51]!==P?(Q=(0,v.jsxs)(v.Fragment,{children:[M,N,P,Z]}),e[50]=Z,e[51]=P,e[52]=Q):Q=e[52],Q}function b(e){let t=e.groupName??``,n=e.path??``,r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-group`},{type:`flag`,value:` --group-name`},{type:`value`,value:` ${t||``}`}];return n&&n!==`/`&&r.push({type:`flag`,value:` --path`},{type:`value`,value:` ${n}`}),[{label:`Create Group`,parts:r}]}export{y as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/create-instance-profile-Do0eBh4w.js b/spinifex/services/spinifexui/frontend/dist/assets/create-instance-profile-CPrh3RAf.js similarity index 98% rename from spinifex/services/spinifexui/frontend/dist/assets/create-instance-profile-Do0eBh4w.js rename to spinifex/services/spinifexui/frontend/dist/assets/create-instance-profile-CPrh3RAf.js index 7a99617c5..27f14efa4 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/create-instance-profile-Do0eBh4w.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/create-instance-profile-CPrh3RAf.js @@ -1 +1 @@ -import{n as e,t}from"./compiler-runtime-D_vZfn79.js";import{t as n}from"./useNavigate-CTe_-BZA.js";import{t as r}from"./back-link-wsXUoJ12.js";import{t as i}from"./cli-command-panel-4C78XA6W.js";import{t as a}from"./input-CBUMH1Jl.js";import{c as o}from"./iam-BhvTeEfR.js";import{t as s}from"./page-heading-vksh_67w.js";import{a as c,i as l,t as u}from"./zod-A4qtKH_p.js";import{t as d}from"./error-banner-DeOeVBKS.js";import{t as f}from"./form-actions-ECg9_Gdo.js";import{r as p,s as m,t as h}from"./field-BKQO3cRo.js";import{r as g}from"./iam-CADYUEJg.js";var _=t(),v=e();function y(){let e=(0,_.c)(53),t=n(),y=o(),x;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(x={resolver:u(g)},e[0]=x):x=e[0];let{handleSubmit:S,register:C,control:w,formState:T}=l(x),{errors:E,isSubmitting:D}=T,O;e[1]===w?O=e[2]:(O={control:w},e[1]=w,e[2]=O);let k=c(O),A;e[3]!==y||e[4]!==t?(A=async e=>{await y.mutateAsync(e),t({to:`/iam/list-instance-profiles`})},e[3]=y,e[4]=t,e[5]=A):A=e[5];let j=A,M,N;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,v.jsx)(r,{to:`/iam/list-instance-profiles`,children:`Back to instance profiles`}),N=(0,v.jsx)(s,{title:`Create Instance Profile`}),e[6]=M,e[7]=N):(M=e[6],N=e[7]);let P;e[8]===y.error?P=e[9]:(P=y.error&&(0,v.jsx)(d,{error:y.error,msg:`Failed to create instance profile`}),e[8]=y.error,e[9]=P);let F;e[10]!==S||e[11]!==j?(F=S(j),e[10]=S,e[11]=j,e[12]=F):F=e[12];let I;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,v.jsx)(m,{children:(0,v.jsx)(`label`,{htmlFor:`instanceProfileName`,children:`Instance Profile Name`})}),e[13]=I):I=e[13];let L=!!E.instanceProfileName,R;e[14]===C?R=e[15]:(R=C(`instanceProfileName`),e[14]=C,e[15]=R);let z;e[16]!==R||e[17]!==L?(z=(0,v.jsx)(a,{"aria-invalid":L,id:`instanceProfileName`,placeholder:`my-instance-profile...`,...R}),e[16]=R,e[17]=L,e[18]=z):z=e[18];let B;e[19]===E.instanceProfileName?B=e[20]:(B=(0,v.jsx)(p,{errors:[E.instanceProfileName]}),e[19]=E.instanceProfileName,e[20]=B);let V;e[21]!==z||e[22]!==B?(V=(0,v.jsxs)(h,{children:[I,z,B]}),e[21]=z,e[22]=B,e[23]=V):V=e[23];let H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,v.jsx)(m,{children:(0,v.jsx)(`label`,{htmlFor:`path`,children:`Path (optional)`})}),e[24]=H):H=e[24];let U;e[25]===C?U=e[26]:(U=C(`path`),e[25]=C,e[26]=U);let W;e[27]===U?W=e[28]:(W=(0,v.jsx)(a,{id:`path`,placeholder:`/`,...U}),e[27]=U,e[28]=W);let G;e[29]===E.path?G=e[30]:(G=(0,v.jsx)(p,{errors:[E.path]}),e[29]=E.path,e[30]=G);let K;e[31]!==W||e[32]!==G?(K=(0,v.jsxs)(h,{children:[H,W,G]}),e[31]=W,e[32]=G,e[33]=K):K=e[33];let q;e[34]===k?q=e[35]:(q=b(k),e[34]=k,e[35]=q);let J;e[36]===q?J=e[37]:(J=(0,v.jsx)(i,{commands:q}),e[36]=q,e[37]=J);let Y;e[38]===t?Y=e[39]:(Y=async()=>{await t({to:`/iam/list-instance-profiles`})},e[38]=t,e[39]=Y);let X;e[40]!==y.isPending||e[41]!==D||e[42]!==Y?(X=(0,v.jsx)(f,{isPending:y.isPending,isSubmitting:D,onCancel:Y,pendingLabel:`Creating...`,submitLabel:`Create Instance Profile`}),e[40]=y.isPending,e[41]=D,e[42]=Y,e[43]=X):X=e[43];let Z;e[44]!==V||e[45]!==K||e[46]!==J||e[47]!==X||e[48]!==F?(Z=(0,v.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,K,J,X]}),e[44]=V,e[45]=K,e[46]=J,e[47]=X,e[48]=F,e[49]=Z):Z=e[49];let Q;return e[50]!==Z||e[51]!==P?(Q=(0,v.jsxs)(v.Fragment,{children:[M,N,P,Z]}),e[50]=Z,e[51]=P,e[52]=Q):Q=e[52],Q}function b(e){let t=e.instanceProfileName??``,n=e.path??``,r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-instance-profile`},{type:`flag`,value:` --instance-profile-name`},{type:`value`,value:` ${t||``}`}];return n&&n!==`/`&&r.push({type:`flag`,value:` --path`},{type:`value`,value:` ${n}`}),[{label:`Create Instance Profile`,parts:r}]}export{y as component}; \ No newline at end of file +import{n as e,t}from"./compiler-runtime-D_vZfn79.js";import{t as n}from"./useNavigate-CTe_-BZA.js";import{t as r}from"./back-link-wsXUoJ12.js";import{t as i}from"./cli-command-panel-4C78XA6W.js";import{t as a}from"./input-CBUMH1Jl.js";import{c as o}from"./iam-DtFzCnrP.js";import{t as s}from"./page-heading-vksh_67w.js";import{a as c,i as l,t as u}from"./zod-A4qtKH_p.js";import{t as d}from"./error-banner-DeOeVBKS.js";import{t as f}from"./form-actions-ECg9_Gdo.js";import{r as p,s as m,t as h}from"./field-BKQO3cRo.js";import{r as g}from"./iam-CADYUEJg.js";var _=t(),v=e();function y(){let e=(0,_.c)(53),t=n(),y=o(),x;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(x={resolver:u(g)},e[0]=x):x=e[0];let{handleSubmit:S,register:C,control:w,formState:T}=l(x),{errors:E,isSubmitting:D}=T,O;e[1]===w?O=e[2]:(O={control:w},e[1]=w,e[2]=O);let k=c(O),A;e[3]!==y||e[4]!==t?(A=async e=>{await y.mutateAsync(e),t({to:`/iam/list-instance-profiles`})},e[3]=y,e[4]=t,e[5]=A):A=e[5];let j=A,M,N;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,v.jsx)(r,{to:`/iam/list-instance-profiles`,children:`Back to instance profiles`}),N=(0,v.jsx)(s,{title:`Create Instance Profile`}),e[6]=M,e[7]=N):(M=e[6],N=e[7]);let P;e[8]===y.error?P=e[9]:(P=y.error&&(0,v.jsx)(d,{error:y.error,msg:`Failed to create instance profile`}),e[8]=y.error,e[9]=P);let F;e[10]!==S||e[11]!==j?(F=S(j),e[10]=S,e[11]=j,e[12]=F):F=e[12];let I;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,v.jsx)(m,{children:(0,v.jsx)(`label`,{htmlFor:`instanceProfileName`,children:`Instance Profile Name`})}),e[13]=I):I=e[13];let L=!!E.instanceProfileName,R;e[14]===C?R=e[15]:(R=C(`instanceProfileName`),e[14]=C,e[15]=R);let z;e[16]!==R||e[17]!==L?(z=(0,v.jsx)(a,{"aria-invalid":L,id:`instanceProfileName`,placeholder:`my-instance-profile...`,...R}),e[16]=R,e[17]=L,e[18]=z):z=e[18];let B;e[19]===E.instanceProfileName?B=e[20]:(B=(0,v.jsx)(p,{errors:[E.instanceProfileName]}),e[19]=E.instanceProfileName,e[20]=B);let V;e[21]!==z||e[22]!==B?(V=(0,v.jsxs)(h,{children:[I,z,B]}),e[21]=z,e[22]=B,e[23]=V):V=e[23];let H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,v.jsx)(m,{children:(0,v.jsx)(`label`,{htmlFor:`path`,children:`Path (optional)`})}),e[24]=H):H=e[24];let U;e[25]===C?U=e[26]:(U=C(`path`),e[25]=C,e[26]=U);let W;e[27]===U?W=e[28]:(W=(0,v.jsx)(a,{id:`path`,placeholder:`/`,...U}),e[27]=U,e[28]=W);let G;e[29]===E.path?G=e[30]:(G=(0,v.jsx)(p,{errors:[E.path]}),e[29]=E.path,e[30]=G);let K;e[31]!==W||e[32]!==G?(K=(0,v.jsxs)(h,{children:[H,W,G]}),e[31]=W,e[32]=G,e[33]=K):K=e[33];let q;e[34]===k?q=e[35]:(q=b(k),e[34]=k,e[35]=q);let J;e[36]===q?J=e[37]:(J=(0,v.jsx)(i,{commands:q}),e[36]=q,e[37]=J);let Y;e[38]===t?Y=e[39]:(Y=async()=>{await t({to:`/iam/list-instance-profiles`})},e[38]=t,e[39]=Y);let X;e[40]!==y.isPending||e[41]!==D||e[42]!==Y?(X=(0,v.jsx)(f,{isPending:y.isPending,isSubmitting:D,onCancel:Y,pendingLabel:`Creating...`,submitLabel:`Create Instance Profile`}),e[40]=y.isPending,e[41]=D,e[42]=Y,e[43]=X):X=e[43];let Z;e[44]!==V||e[45]!==K||e[46]!==J||e[47]!==X||e[48]!==F?(Z=(0,v.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,K,J,X]}),e[44]=V,e[45]=K,e[46]=J,e[47]=X,e[48]=F,e[49]=Z):Z=e[49];let Q;return e[50]!==Z||e[51]!==P?(Q=(0,v.jsxs)(v.Fragment,{children:[M,N,P,Z]}),e[50]=Z,e[51]=P,e[52]=Q):Q=e[52],Q}function b(e){let t=e.instanceProfileName??``,n=e.path??``,r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-instance-profile`},{type:`flag`,value:` --instance-profile-name`},{type:`value`,value:` ${t||``}`}];return n&&n!==`/`&&r.push({type:`flag`,value:` --path`},{type:`value`,value:` ${n}`}),[{label:`Create Instance Profile`,parts:r}]}export{y as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/create-policy-CL2P-ufC.js b/spinifex/services/spinifexui/frontend/dist/assets/create-policy-BdeMN_up.js similarity index 98% rename from spinifex/services/spinifexui/frontend/dist/assets/create-policy-CL2P-ufC.js rename to spinifex/services/spinifexui/frontend/dist/assets/create-policy-BdeMN_up.js index 3703c072e..c0d892e74 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/create-policy-CL2P-ufC.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/create-policy-BdeMN_up.js @@ -1,4 +1,4 @@ -import{n as e,t}from"./compiler-runtime-D_vZfn79.js";import{t as n}from"./useNavigate-CTe_-BZA.js";import{t as r}from"./back-link-wsXUoJ12.js";import{t as i}from"./cli-command-panel-4C78XA6W.js";import{t as a}from"./input-CBUMH1Jl.js";import{l as ee}from"./iam-BhvTeEfR.js";import{t as o}from"./page-heading-vksh_67w.js";import{a as s,i as c,n as l,t as te}from"./zod-A4qtKH_p.js";import{t as ne}from"./error-banner-DeOeVBKS.js";import{t as re}from"./form-actions-ECg9_Gdo.js";import{r as u,s as d,t as f}from"./field-BKQO3cRo.js";import{t as ie}from"./json-editor-C0uKwIA1.js";import{i as ae}from"./iam-CADYUEJg.js";var p=t(),m=e(),h=JSON.stringify({Version:`2012-10-17`,Statement:[{Effect:`Allow`,Action:`*`,Resource:`*`}]},null,2);function g(){let e=(0,p.c)(65),t=n(),g=ee(),v;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(v={resolver:te(ae),defaultValues:{policyDocument:h}},e[0]=v):v=e[0];let{handleSubmit:y,register:b,control:x,formState:oe}=c(v),{errors:S,isSubmitting:C}=oe,w;e[1]===x?w=e[2]:(w={control:x},e[1]=x,e[2]=w);let T=s(w),E;e[3]!==g||e[4]!==t?(E=async e=>{await g.mutateAsync(e),t({to:`/iam/list-policies`})},e[3]=g,e[4]=t,e[5]=E):E=e[5];let D=E,O,k;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,m.jsx)(r,{to:`/iam/list-policies`,children:`Back to policies`}),k=(0,m.jsx)(o,{title:`Create Policy`}),e[6]=O,e[7]=k):(O=e[6],k=e[7]);let A;e[8]===g.error?A=e[9]:(A=g.error&&(0,m.jsx)(ne,{error:g.error,msg:`Failed to create policy`}),e[8]=g.error,e[9]=A);let j;e[10]!==y||e[11]!==D?(j=y(D),e[10]=y,e[11]=D,e[12]=j):j=e[12];let M;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,m.jsx)(d,{children:(0,m.jsx)(`label`,{htmlFor:`policyName`,children:`Policy Name`})}),e[13]=M):M=e[13];let N=!!S.policyName,P;e[14]===b?P=e[15]:(P=b(`policyName`),e[14]=b,e[15]=P);let F;e[16]!==P||e[17]!==N?(F=(0,m.jsx)(a,{"aria-invalid":N,id:`policyName`,placeholder:`my-policy...`,...P}),e[16]=P,e[17]=N,e[18]=F):F=e[18];let I;e[19]===S.policyName?I=e[20]:(I=(0,m.jsx)(u,{errors:[S.policyName]}),e[19]=S.policyName,e[20]=I);let L;e[21]!==F||e[22]!==I?(L=(0,m.jsxs)(f,{children:[M,F,I]}),e[21]=F,e[22]=I,e[23]=L):L=e[23];let R;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(R=(0,m.jsx)(d,{children:(0,m.jsx)(`label`,{htmlFor:`description`,children:`Description (optional)`})}),e[24]=R):R=e[24];let z;e[25]===b?z=e[26]:(z=b(`description`),e[25]=b,e[26]=z);let B;e[27]===z?B=e[28]:(B=(0,m.jsx)(a,{id:`description`,placeholder:`A brief description of this policy...`,...z}),e[27]=z,e[28]=B);let V;e[29]===S.description?V=e[30]:(V=(0,m.jsx)(u,{errors:[S.description]}),e[29]=S.description,e[30]=V);let H;e[31]!==B||e[32]!==V?(H=(0,m.jsxs)(f,{children:[R,B,V]}),e[31]=B,e[32]=V,e[33]=H):H=e[33];let U;e[34]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,m.jsx)(d,{children:(0,m.jsx)(`label`,{htmlFor:`policyDocument`,children:`Policy Document (JSON)`})}),e[34]=U):U=e[34];let W;e[35]===S.policyDocument?W=e[36]:(W=e=>{let{field:t}=e,{onBlur:n,onChange:r,ref:i,value:a}=t;return(0,m.jsx)(ie,{error:!!S.policyDocument,id:`policyDocument`,onBlur:n,onChange:r,ref:i,rows:15,value:a})},e[35]=S.policyDocument,e[36]=W);let G;e[37]!==x||e[38]!==W?(G=(0,m.jsx)(l,{control:x,name:`policyDocument`,render:W}),e[37]=x,e[38]=W,e[39]=G):G=e[39];let K;e[40]===S.policyDocument?K=e[41]:(K=(0,m.jsx)(u,{errors:[S.policyDocument]}),e[40]=S.policyDocument,e[41]=K);let q;e[42]!==G||e[43]!==K?(q=(0,m.jsxs)(f,{children:[U,G,K]}),e[42]=G,e[43]=K,e[44]=q):q=e[44];let J;e[45]===T?J=e[46]:(J=_(T),e[45]=T,e[46]=J);let Y;e[47]===J?Y=e[48]:(Y=(0,m.jsx)(i,{commands:J}),e[47]=J,e[48]=Y);let X;e[49]===t?X=e[50]:(X=async()=>{await t({to:`/iam/list-policies`})},e[49]=t,e[50]=X);let Z;e[51]!==g.isPending||e[52]!==C||e[53]!==X?(Z=(0,m.jsx)(re,{isPending:g.isPending,isSubmitting:C,onCancel:X,pendingLabel:`Creating...`,submitLabel:`Create Policy`}),e[51]=g.isPending,e[52]=C,e[53]=X,e[54]=Z):Z=e[54];let Q;e[55]!==L||e[56]!==H||e[57]!==q||e[58]!==Y||e[59]!==Z||e[60]!==j?(Q=(0,m.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:j,children:[L,H,q,Y,Z]}),e[55]=L,e[56]=H,e[57]=q,e[58]=Y,e[59]=Z,e[60]=j,e[61]=Q):Q=e[61];let $;return e[62]!==Q||e[63]!==A?($=(0,m.jsxs)(m.Fragment,{children:[O,k,A,Q]}),e[62]=Q,e[63]=A,e[64]=$):$=e[64],$}function _(e){let t=e.policyName??``,n=e.description??``,r=e.policyDocument??``,i=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-policy`},{type:`flag`,value:` \\ +import{n as e,t}from"./compiler-runtime-D_vZfn79.js";import{t as n}from"./useNavigate-CTe_-BZA.js";import{t as r}from"./back-link-wsXUoJ12.js";import{t as i}from"./cli-command-panel-4C78XA6W.js";import{t as a}from"./input-CBUMH1Jl.js";import{l as ee}from"./iam-DtFzCnrP.js";import{t as o}from"./page-heading-vksh_67w.js";import{a as s,i as c,n as l,t as te}from"./zod-A4qtKH_p.js";import{t as ne}from"./error-banner-DeOeVBKS.js";import{t as re}from"./form-actions-ECg9_Gdo.js";import{r as u,s as d,t as f}from"./field-BKQO3cRo.js";import{t as ie}from"./json-editor-C0uKwIA1.js";import{i as ae}from"./iam-CADYUEJg.js";var p=t(),m=e(),h=JSON.stringify({Version:`2012-10-17`,Statement:[{Effect:`Allow`,Action:`*`,Resource:`*`}]},null,2);function g(){let e=(0,p.c)(65),t=n(),g=ee(),v;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(v={resolver:te(ae),defaultValues:{policyDocument:h}},e[0]=v):v=e[0];let{handleSubmit:y,register:b,control:x,formState:oe}=c(v),{errors:S,isSubmitting:C}=oe,w;e[1]===x?w=e[2]:(w={control:x},e[1]=x,e[2]=w);let T=s(w),E;e[3]!==g||e[4]!==t?(E=async e=>{await g.mutateAsync(e),t({to:`/iam/list-policies`})},e[3]=g,e[4]=t,e[5]=E):E=e[5];let D=E,O,k;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,m.jsx)(r,{to:`/iam/list-policies`,children:`Back to policies`}),k=(0,m.jsx)(o,{title:`Create Policy`}),e[6]=O,e[7]=k):(O=e[6],k=e[7]);let A;e[8]===g.error?A=e[9]:(A=g.error&&(0,m.jsx)(ne,{error:g.error,msg:`Failed to create policy`}),e[8]=g.error,e[9]=A);let j;e[10]!==y||e[11]!==D?(j=y(D),e[10]=y,e[11]=D,e[12]=j):j=e[12];let M;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,m.jsx)(d,{children:(0,m.jsx)(`label`,{htmlFor:`policyName`,children:`Policy Name`})}),e[13]=M):M=e[13];let N=!!S.policyName,P;e[14]===b?P=e[15]:(P=b(`policyName`),e[14]=b,e[15]=P);let F;e[16]!==P||e[17]!==N?(F=(0,m.jsx)(a,{"aria-invalid":N,id:`policyName`,placeholder:`my-policy...`,...P}),e[16]=P,e[17]=N,e[18]=F):F=e[18];let I;e[19]===S.policyName?I=e[20]:(I=(0,m.jsx)(u,{errors:[S.policyName]}),e[19]=S.policyName,e[20]=I);let L;e[21]!==F||e[22]!==I?(L=(0,m.jsxs)(f,{children:[M,F,I]}),e[21]=F,e[22]=I,e[23]=L):L=e[23];let R;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(R=(0,m.jsx)(d,{children:(0,m.jsx)(`label`,{htmlFor:`description`,children:`Description (optional)`})}),e[24]=R):R=e[24];let z;e[25]===b?z=e[26]:(z=b(`description`),e[25]=b,e[26]=z);let B;e[27]===z?B=e[28]:(B=(0,m.jsx)(a,{id:`description`,placeholder:`A brief description of this policy...`,...z}),e[27]=z,e[28]=B);let V;e[29]===S.description?V=e[30]:(V=(0,m.jsx)(u,{errors:[S.description]}),e[29]=S.description,e[30]=V);let H;e[31]!==B||e[32]!==V?(H=(0,m.jsxs)(f,{children:[R,B,V]}),e[31]=B,e[32]=V,e[33]=H):H=e[33];let U;e[34]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,m.jsx)(d,{children:(0,m.jsx)(`label`,{htmlFor:`policyDocument`,children:`Policy Document (JSON)`})}),e[34]=U):U=e[34];let W;e[35]===S.policyDocument?W=e[36]:(W=e=>{let{field:t}=e,{onBlur:n,onChange:r,ref:i,value:a}=t;return(0,m.jsx)(ie,{error:!!S.policyDocument,id:`policyDocument`,onBlur:n,onChange:r,ref:i,rows:15,value:a})},e[35]=S.policyDocument,e[36]=W);let G;e[37]!==x||e[38]!==W?(G=(0,m.jsx)(l,{control:x,name:`policyDocument`,render:W}),e[37]=x,e[38]=W,e[39]=G):G=e[39];let K;e[40]===S.policyDocument?K=e[41]:(K=(0,m.jsx)(u,{errors:[S.policyDocument]}),e[40]=S.policyDocument,e[41]=K);let q;e[42]!==G||e[43]!==K?(q=(0,m.jsxs)(f,{children:[U,G,K]}),e[42]=G,e[43]=K,e[44]=q):q=e[44];let J;e[45]===T?J=e[46]:(J=_(T),e[45]=T,e[46]=J);let Y;e[47]===J?Y=e[48]:(Y=(0,m.jsx)(i,{commands:J}),e[47]=J,e[48]=Y);let X;e[49]===t?X=e[50]:(X=async()=>{await t({to:`/iam/list-policies`})},e[49]=t,e[50]=X);let Z;e[51]!==g.isPending||e[52]!==C||e[53]!==X?(Z=(0,m.jsx)(re,{isPending:g.isPending,isSubmitting:C,onCancel:X,pendingLabel:`Creating...`,submitLabel:`Create Policy`}),e[51]=g.isPending,e[52]=C,e[53]=X,e[54]=Z):Z=e[54];let Q;e[55]!==L||e[56]!==H||e[57]!==q||e[58]!==Y||e[59]!==Z||e[60]!==j?(Q=(0,m.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:j,children:[L,H,q,Y,Z]}),e[55]=L,e[56]=H,e[57]=q,e[58]=Y,e[59]=Z,e[60]=j,e[61]=Q):Q=e[61];let $;return e[62]!==Q||e[63]!==A?($=(0,m.jsxs)(m.Fragment,{children:[O,k,A,Q]}),e[62]=Q,e[63]=A,e[64]=$):$=e[64],$}function _(e){let t=e.policyName??``,n=e.description??``,r=e.policyDocument??``,i=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-policy`},{type:`flag`,value:` \\ --policy-name`},{type:`value`,value:` ${t||``}`}];return n&&i.push({type:`flag`,value:` \\ --description`},{type:`value`,value:` "${n}"`}),i.push({type:`flag`,value:` \\ --policy-document`},{type:`value`,value:` '${r||``}'`}),[{label:`Create Policy`,parts:i}]}export{g as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/create-role-CAJVw8Kr.js b/spinifex/services/spinifexui/frontend/dist/assets/create-role-B2wFJBjO.js similarity index 98% rename from spinifex/services/spinifexui/frontend/dist/assets/create-role-CAJVw8Kr.js rename to spinifex/services/spinifexui/frontend/dist/assets/create-role-B2wFJBjO.js index 925534085..d47161d9c 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/create-role-CAJVw8Kr.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/create-role-B2wFJBjO.js @@ -1,4 +1,4 @@ -import{n as e,t}from"./compiler-runtime-D_vZfn79.js";import{t as n}from"./useNavigate-CTe_-BZA.js";import{t as r}from"./back-link-wsXUoJ12.js";import{t as i}from"./cli-command-panel-4C78XA6W.js";import{t as a}from"./input-CBUMH1Jl.js";import{u as ee}from"./iam-BhvTeEfR.js";import{t as o}from"./page-heading-vksh_67w.js";import{a as s,i as c,n as l,t as te}from"./zod-A4qtKH_p.js";import{t as ne}from"./error-banner-DeOeVBKS.js";import{t as re}from"./form-actions-ECg9_Gdo.js";import{r as u,s as d,t as f}from"./field-BKQO3cRo.js";import{t as ie}from"./json-editor-C0uKwIA1.js";import{a as ae,t as p}from"./iam-CADYUEJg.js";var m=t(),h=e();function g(){let e=(0,m.c)(65),t=n(),g=ee(),v;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(v={resolver:te(ae),defaultValues:{assumeRolePolicyDocument:p}},e[0]=v):v=e[0];let{handleSubmit:y,register:b,control:x,formState:oe}=c(v),{errors:S,isSubmitting:C}=oe,w;e[1]===x?w=e[2]:(w={control:x},e[1]=x,e[2]=w);let T=s(w),E;e[3]!==g||e[4]!==t?(E=async e=>{await g.mutateAsync(e),t({to:`/iam/list-roles`})},e[3]=g,e[4]=t,e[5]=E):E=e[5];let D=E,O,k;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,h.jsx)(r,{to:`/iam/list-roles`,children:`Back to roles`}),k=(0,h.jsx)(o,{title:`Create Role`}),e[6]=O,e[7]=k):(O=e[6],k=e[7]);let A;e[8]===g.error?A=e[9]:(A=g.error&&(0,h.jsx)(ne,{error:g.error,msg:`Failed to create role`}),e[8]=g.error,e[9]=A);let j;e[10]!==y||e[11]!==D?(j=y(D),e[10]=y,e[11]=D,e[12]=j):j=e[12];let M;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,h.jsx)(d,{children:(0,h.jsx)(`label`,{htmlFor:`roleName`,children:`Role Name`})}),e[13]=M):M=e[13];let N=!!S.roleName,P;e[14]===b?P=e[15]:(P=b(`roleName`),e[14]=b,e[15]=P);let F;e[16]!==P||e[17]!==N?(F=(0,h.jsx)(a,{"aria-invalid":N,id:`roleName`,placeholder:`my-role...`,...P}),e[16]=P,e[17]=N,e[18]=F):F=e[18];let I;e[19]===S.roleName?I=e[20]:(I=(0,h.jsx)(u,{errors:[S.roleName]}),e[19]=S.roleName,e[20]=I);let L;e[21]!==F||e[22]!==I?(L=(0,h.jsxs)(f,{children:[M,F,I]}),e[21]=F,e[22]=I,e[23]=L):L=e[23];let R;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(R=(0,h.jsx)(d,{children:(0,h.jsx)(`label`,{htmlFor:`description`,children:`Description (optional)`})}),e[24]=R):R=e[24];let z;e[25]===b?z=e[26]:(z=b(`description`),e[25]=b,e[26]=z);let B;e[27]===z?B=e[28]:(B=(0,h.jsx)(a,{id:`description`,placeholder:`A brief description of this role...`,...z}),e[27]=z,e[28]=B);let V;e[29]===S.description?V=e[30]:(V=(0,h.jsx)(u,{errors:[S.description]}),e[29]=S.description,e[30]=V);let H;e[31]!==B||e[32]!==V?(H=(0,h.jsxs)(f,{children:[R,B,V]}),e[31]=B,e[32]=V,e[33]=H):H=e[33];let U;e[34]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,h.jsx)(d,{children:(0,h.jsx)(`label`,{htmlFor:`assumeRolePolicyDocument`,children:`Trust Policy (JSON)`})}),e[34]=U):U=e[34];let W;e[35]===S.assumeRolePolicyDocument?W=e[36]:(W=e=>{let{field:t}=e,{onBlur:n,onChange:r,ref:i,value:a}=t;return(0,h.jsx)(ie,{error:!!S.assumeRolePolicyDocument,id:`assumeRolePolicyDocument`,onBlur:n,onChange:r,ref:i,rows:15,value:a})},e[35]=S.assumeRolePolicyDocument,e[36]=W);let G;e[37]!==x||e[38]!==W?(G=(0,h.jsx)(l,{control:x,name:`assumeRolePolicyDocument`,render:W}),e[37]=x,e[38]=W,e[39]=G):G=e[39];let K;e[40]===S.assumeRolePolicyDocument?K=e[41]:(K=(0,h.jsx)(u,{errors:[S.assumeRolePolicyDocument]}),e[40]=S.assumeRolePolicyDocument,e[41]=K);let q;e[42]!==G||e[43]!==K?(q=(0,h.jsxs)(f,{children:[U,G,K]}),e[42]=G,e[43]=K,e[44]=q):q=e[44];let J;e[45]===T?J=e[46]:(J=_(T),e[45]=T,e[46]=J);let Y;e[47]===J?Y=e[48]:(Y=(0,h.jsx)(i,{commands:J}),e[47]=J,e[48]=Y);let X;e[49]===t?X=e[50]:(X=async()=>{await t({to:`/iam/list-roles`})},e[49]=t,e[50]=X);let Z;e[51]!==g.isPending||e[52]!==C||e[53]!==X?(Z=(0,h.jsx)(re,{isPending:g.isPending,isSubmitting:C,onCancel:X,pendingLabel:`Creating...`,submitLabel:`Create Role`}),e[51]=g.isPending,e[52]=C,e[53]=X,e[54]=Z):Z=e[54];let Q;e[55]!==L||e[56]!==H||e[57]!==q||e[58]!==Y||e[59]!==Z||e[60]!==j?(Q=(0,h.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:j,children:[L,H,q,Y,Z]}),e[55]=L,e[56]=H,e[57]=q,e[58]=Y,e[59]=Z,e[60]=j,e[61]=Q):Q=e[61];let $;return e[62]!==Q||e[63]!==A?($=(0,h.jsxs)(h.Fragment,{children:[O,k,A,Q]}),e[62]=Q,e[63]=A,e[64]=$):$=e[64],$}function _(e){let t=e.roleName??``,n=e.description??``,r=e.assumeRolePolicyDocument??``,i=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-role`},{type:`flag`,value:` \\ +import{n as e,t}from"./compiler-runtime-D_vZfn79.js";import{t as n}from"./useNavigate-CTe_-BZA.js";import{t as r}from"./back-link-wsXUoJ12.js";import{t as i}from"./cli-command-panel-4C78XA6W.js";import{t as a}from"./input-CBUMH1Jl.js";import{u as ee}from"./iam-DtFzCnrP.js";import{t as o}from"./page-heading-vksh_67w.js";import{a as s,i as c,n as l,t as te}from"./zod-A4qtKH_p.js";import{t as ne}from"./error-banner-DeOeVBKS.js";import{t as re}from"./form-actions-ECg9_Gdo.js";import{r as u,s as d,t as f}from"./field-BKQO3cRo.js";import{t as ie}from"./json-editor-C0uKwIA1.js";import{a as ae,t as p}from"./iam-CADYUEJg.js";var m=t(),h=e();function g(){let e=(0,m.c)(65),t=n(),g=ee(),v;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(v={resolver:te(ae),defaultValues:{assumeRolePolicyDocument:p}},e[0]=v):v=e[0];let{handleSubmit:y,register:b,control:x,formState:oe}=c(v),{errors:S,isSubmitting:C}=oe,w;e[1]===x?w=e[2]:(w={control:x},e[1]=x,e[2]=w);let T=s(w),E;e[3]!==g||e[4]!==t?(E=async e=>{await g.mutateAsync(e),t({to:`/iam/list-roles`})},e[3]=g,e[4]=t,e[5]=E):E=e[5];let D=E,O,k;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,h.jsx)(r,{to:`/iam/list-roles`,children:`Back to roles`}),k=(0,h.jsx)(o,{title:`Create Role`}),e[6]=O,e[7]=k):(O=e[6],k=e[7]);let A;e[8]===g.error?A=e[9]:(A=g.error&&(0,h.jsx)(ne,{error:g.error,msg:`Failed to create role`}),e[8]=g.error,e[9]=A);let j;e[10]!==y||e[11]!==D?(j=y(D),e[10]=y,e[11]=D,e[12]=j):j=e[12];let M;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,h.jsx)(d,{children:(0,h.jsx)(`label`,{htmlFor:`roleName`,children:`Role Name`})}),e[13]=M):M=e[13];let N=!!S.roleName,P;e[14]===b?P=e[15]:(P=b(`roleName`),e[14]=b,e[15]=P);let F;e[16]!==P||e[17]!==N?(F=(0,h.jsx)(a,{"aria-invalid":N,id:`roleName`,placeholder:`my-role...`,...P}),e[16]=P,e[17]=N,e[18]=F):F=e[18];let I;e[19]===S.roleName?I=e[20]:(I=(0,h.jsx)(u,{errors:[S.roleName]}),e[19]=S.roleName,e[20]=I);let L;e[21]!==F||e[22]!==I?(L=(0,h.jsxs)(f,{children:[M,F,I]}),e[21]=F,e[22]=I,e[23]=L):L=e[23];let R;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(R=(0,h.jsx)(d,{children:(0,h.jsx)(`label`,{htmlFor:`description`,children:`Description (optional)`})}),e[24]=R):R=e[24];let z;e[25]===b?z=e[26]:(z=b(`description`),e[25]=b,e[26]=z);let B;e[27]===z?B=e[28]:(B=(0,h.jsx)(a,{id:`description`,placeholder:`A brief description of this role...`,...z}),e[27]=z,e[28]=B);let V;e[29]===S.description?V=e[30]:(V=(0,h.jsx)(u,{errors:[S.description]}),e[29]=S.description,e[30]=V);let H;e[31]!==B||e[32]!==V?(H=(0,h.jsxs)(f,{children:[R,B,V]}),e[31]=B,e[32]=V,e[33]=H):H=e[33];let U;e[34]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,h.jsx)(d,{children:(0,h.jsx)(`label`,{htmlFor:`assumeRolePolicyDocument`,children:`Trust Policy (JSON)`})}),e[34]=U):U=e[34];let W;e[35]===S.assumeRolePolicyDocument?W=e[36]:(W=e=>{let{field:t}=e,{onBlur:n,onChange:r,ref:i,value:a}=t;return(0,h.jsx)(ie,{error:!!S.assumeRolePolicyDocument,id:`assumeRolePolicyDocument`,onBlur:n,onChange:r,ref:i,rows:15,value:a})},e[35]=S.assumeRolePolicyDocument,e[36]=W);let G;e[37]!==x||e[38]!==W?(G=(0,h.jsx)(l,{control:x,name:`assumeRolePolicyDocument`,render:W}),e[37]=x,e[38]=W,e[39]=G):G=e[39];let K;e[40]===S.assumeRolePolicyDocument?K=e[41]:(K=(0,h.jsx)(u,{errors:[S.assumeRolePolicyDocument]}),e[40]=S.assumeRolePolicyDocument,e[41]=K);let q;e[42]!==G||e[43]!==K?(q=(0,h.jsxs)(f,{children:[U,G,K]}),e[42]=G,e[43]=K,e[44]=q):q=e[44];let J;e[45]===T?J=e[46]:(J=_(T),e[45]=T,e[46]=J);let Y;e[47]===J?Y=e[48]:(Y=(0,h.jsx)(i,{commands:J}),e[47]=J,e[48]=Y);let X;e[49]===t?X=e[50]:(X=async()=>{await t({to:`/iam/list-roles`})},e[49]=t,e[50]=X);let Z;e[51]!==g.isPending||e[52]!==C||e[53]!==X?(Z=(0,h.jsx)(re,{isPending:g.isPending,isSubmitting:C,onCancel:X,pendingLabel:`Creating...`,submitLabel:`Create Role`}),e[51]=g.isPending,e[52]=C,e[53]=X,e[54]=Z):Z=e[54];let Q;e[55]!==L||e[56]!==H||e[57]!==q||e[58]!==Y||e[59]!==Z||e[60]!==j?(Q=(0,h.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:j,children:[L,H,q,Y,Z]}),e[55]=L,e[56]=H,e[57]=q,e[58]=Y,e[59]=Z,e[60]=j,e[61]=Q):Q=e[61];let $;return e[62]!==Q||e[63]!==A?($=(0,h.jsxs)(h.Fragment,{children:[O,k,A,Q]}),e[62]=Q,e[63]=A,e[64]=$):$=e[64],$}function _(e){let t=e.roleName??``,n=e.description??``,r=e.assumeRolePolicyDocument??``,i=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-role`},{type:`flag`,value:` \\ --role-name`},{type:`value`,value:` ${t||``}`}];return n&&i.push({type:`flag`,value:` \\ --description`},{type:`value`,value:` "${n}"`}),i.push({type:`flag`,value:` \\ --assume-role-policy-document`},{type:`value`,value:` '${r||``}'`}),[{label:`Create Role`,parts:i}]}export{g as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/create-user-BE9h67_n.js b/spinifex/services/spinifexui/frontend/dist/assets/create-user-D4y-u65_.js similarity index 98% rename from spinifex/services/spinifexui/frontend/dist/assets/create-user-BE9h67_n.js rename to spinifex/services/spinifexui/frontend/dist/assets/create-user-D4y-u65_.js index 85166eb37..fb38199e1 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/create-user-BE9h67_n.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/create-user-D4y-u65_.js @@ -1 +1 @@ -import{n as e,t}from"./compiler-runtime-D_vZfn79.js";import{t as n}from"./useNavigate-CTe_-BZA.js";import{t as r}from"./back-link-wsXUoJ12.js";import{t as i}from"./cli-command-panel-4C78XA6W.js";import{t as a}from"./input-CBUMH1Jl.js";import{d as o}from"./iam-BhvTeEfR.js";import{t as s}from"./page-heading-vksh_67w.js";import{a as c,i as l,t as u}from"./zod-A4qtKH_p.js";import{t as d}from"./error-banner-DeOeVBKS.js";import{t as f}from"./form-actions-ECg9_Gdo.js";import{r as p,s as m,t as h}from"./field-BKQO3cRo.js";import{o as g}from"./iam-CADYUEJg.js";var _=t(),v=e();function y(){let e=(0,_.c)(53),t=n(),y=o(),x;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(x={resolver:u(g)},e[0]=x):x=e[0];let{handleSubmit:S,register:C,control:w,formState:T}=l(x),{errors:E,isSubmitting:D}=T,O;e[1]===w?O=e[2]:(O={control:w},e[1]=w,e[2]=O);let k=c(O),A;e[3]!==y||e[4]!==t?(A=async e=>{await y.mutateAsync(e),t({to:`/iam/list-users`})},e[3]=y,e[4]=t,e[5]=A):A=e[5];let j=A,M,N;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,v.jsx)(r,{to:`/iam/list-users`,children:`Back to users`}),N=(0,v.jsx)(s,{title:`Create User`}),e[6]=M,e[7]=N):(M=e[6],N=e[7]);let P;e[8]===y.error?P=e[9]:(P=y.error&&(0,v.jsx)(d,{error:y.error,msg:`Failed to create user`}),e[8]=y.error,e[9]=P);let F;e[10]!==S||e[11]!==j?(F=S(j),e[10]=S,e[11]=j,e[12]=F):F=e[12];let I;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,v.jsx)(m,{children:(0,v.jsx)(`label`,{htmlFor:`userName`,children:`User Name`})}),e[13]=I):I=e[13];let L=!!E.userName,R;e[14]===C?R=e[15]:(R=C(`userName`),e[14]=C,e[15]=R);let z;e[16]!==R||e[17]!==L?(z=(0,v.jsx)(a,{"aria-invalid":L,id:`userName`,placeholder:`my-user...`,...R}),e[16]=R,e[17]=L,e[18]=z):z=e[18];let B;e[19]===E.userName?B=e[20]:(B=(0,v.jsx)(p,{errors:[E.userName]}),e[19]=E.userName,e[20]=B);let V;e[21]!==z||e[22]!==B?(V=(0,v.jsxs)(h,{children:[I,z,B]}),e[21]=z,e[22]=B,e[23]=V):V=e[23];let H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,v.jsx)(m,{children:(0,v.jsx)(`label`,{htmlFor:`path`,children:`Path (optional)`})}),e[24]=H):H=e[24];let U;e[25]===C?U=e[26]:(U=C(`path`),e[25]=C,e[26]=U);let W;e[27]===U?W=e[28]:(W=(0,v.jsx)(a,{id:`path`,placeholder:`/`,...U}),e[27]=U,e[28]=W);let G;e[29]===E.path?G=e[30]:(G=(0,v.jsx)(p,{errors:[E.path]}),e[29]=E.path,e[30]=G);let K;e[31]!==W||e[32]!==G?(K=(0,v.jsxs)(h,{children:[H,W,G]}),e[31]=W,e[32]=G,e[33]=K):K=e[33];let q;e[34]===k?q=e[35]:(q=b(k),e[34]=k,e[35]=q);let J;e[36]===q?J=e[37]:(J=(0,v.jsx)(i,{commands:q}),e[36]=q,e[37]=J);let Y;e[38]===t?Y=e[39]:(Y=async()=>{await t({to:`/iam/list-users`})},e[38]=t,e[39]=Y);let X;e[40]!==y.isPending||e[41]!==D||e[42]!==Y?(X=(0,v.jsx)(f,{isPending:y.isPending,isSubmitting:D,onCancel:Y,pendingLabel:`Creating...`,submitLabel:`Create User`}),e[40]=y.isPending,e[41]=D,e[42]=Y,e[43]=X):X=e[43];let Z;e[44]!==V||e[45]!==K||e[46]!==J||e[47]!==X||e[48]!==F?(Z=(0,v.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,K,J,X]}),e[44]=V,e[45]=K,e[46]=J,e[47]=X,e[48]=F,e[49]=Z):Z=e[49];let Q;return e[50]!==Z||e[51]!==P?(Q=(0,v.jsxs)(v.Fragment,{children:[M,N,P,Z]}),e[50]=Z,e[51]=P,e[52]=Q):Q=e[52],Q}function b(e){let t=e.userName??``,n=e.path??``,r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-user`},{type:`flag`,value:` --user-name`},{type:`value`,value:` ${t||``}`}];return n&&n!==`/`&&r.push({type:`flag`,value:` --path`},{type:`value`,value:` ${n}`}),[{label:`Create User`,parts:r}]}export{y as component}; \ No newline at end of file +import{n as e,t}from"./compiler-runtime-D_vZfn79.js";import{t as n}from"./useNavigate-CTe_-BZA.js";import{t as r}from"./back-link-wsXUoJ12.js";import{t as i}from"./cli-command-panel-4C78XA6W.js";import{t as a}from"./input-CBUMH1Jl.js";import{d as o}from"./iam-DtFzCnrP.js";import{t as s}from"./page-heading-vksh_67w.js";import{a as c,i as l,t as u}from"./zod-A4qtKH_p.js";import{t as d}from"./error-banner-DeOeVBKS.js";import{t as f}from"./form-actions-ECg9_Gdo.js";import{r as p,s as m,t as h}from"./field-BKQO3cRo.js";import{o as g}from"./iam-CADYUEJg.js";var _=t(),v=e();function y(){let e=(0,_.c)(53),t=n(),y=o(),x;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(x={resolver:u(g)},e[0]=x):x=e[0];let{handleSubmit:S,register:C,control:w,formState:T}=l(x),{errors:E,isSubmitting:D}=T,O;e[1]===w?O=e[2]:(O={control:w},e[1]=w,e[2]=O);let k=c(O),A;e[3]!==y||e[4]!==t?(A=async e=>{await y.mutateAsync(e),t({to:`/iam/list-users`})},e[3]=y,e[4]=t,e[5]=A):A=e[5];let j=A,M,N;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,v.jsx)(r,{to:`/iam/list-users`,children:`Back to users`}),N=(0,v.jsx)(s,{title:`Create User`}),e[6]=M,e[7]=N):(M=e[6],N=e[7]);let P;e[8]===y.error?P=e[9]:(P=y.error&&(0,v.jsx)(d,{error:y.error,msg:`Failed to create user`}),e[8]=y.error,e[9]=P);let F;e[10]!==S||e[11]!==j?(F=S(j),e[10]=S,e[11]=j,e[12]=F):F=e[12];let I;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,v.jsx)(m,{children:(0,v.jsx)(`label`,{htmlFor:`userName`,children:`User Name`})}),e[13]=I):I=e[13];let L=!!E.userName,R;e[14]===C?R=e[15]:(R=C(`userName`),e[14]=C,e[15]=R);let z;e[16]!==R||e[17]!==L?(z=(0,v.jsx)(a,{"aria-invalid":L,id:`userName`,placeholder:`my-user...`,...R}),e[16]=R,e[17]=L,e[18]=z):z=e[18];let B;e[19]===E.userName?B=e[20]:(B=(0,v.jsx)(p,{errors:[E.userName]}),e[19]=E.userName,e[20]=B);let V;e[21]!==z||e[22]!==B?(V=(0,v.jsxs)(h,{children:[I,z,B]}),e[21]=z,e[22]=B,e[23]=V):V=e[23];let H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,v.jsx)(m,{children:(0,v.jsx)(`label`,{htmlFor:`path`,children:`Path (optional)`})}),e[24]=H):H=e[24];let U;e[25]===C?U=e[26]:(U=C(`path`),e[25]=C,e[26]=U);let W;e[27]===U?W=e[28]:(W=(0,v.jsx)(a,{id:`path`,placeholder:`/`,...U}),e[27]=U,e[28]=W);let G;e[29]===E.path?G=e[30]:(G=(0,v.jsx)(p,{errors:[E.path]}),e[29]=E.path,e[30]=G);let K;e[31]!==W||e[32]!==G?(K=(0,v.jsxs)(h,{children:[H,W,G]}),e[31]=W,e[32]=G,e[33]=K):K=e[33];let q;e[34]===k?q=e[35]:(q=b(k),e[34]=k,e[35]=q);let J;e[36]===q?J=e[37]:(J=(0,v.jsx)(i,{commands:q}),e[36]=q,e[37]=J);let Y;e[38]===t?Y=e[39]:(Y=async()=>{await t({to:`/iam/list-users`})},e[38]=t,e[39]=Y);let X;e[40]!==y.isPending||e[41]!==D||e[42]!==Y?(X=(0,v.jsx)(f,{isPending:y.isPending,isSubmitting:D,onCancel:Y,pendingLabel:`Creating...`,submitLabel:`Create User`}),e[40]=y.isPending,e[41]=D,e[42]=Y,e[43]=X):X=e[43];let Z;e[44]!==V||e[45]!==K||e[46]!==J||e[47]!==X||e[48]!==F?(Z=(0,v.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,K,J,X]}),e[44]=V,e[45]=K,e[46]=J,e[47]=X,e[48]=F,e[49]=Z):Z=e[49];let Q;return e[50]!==Z||e[51]!==P?(Q=(0,v.jsxs)(v.Fragment,{children:[M,N,P,Z]}),e[50]=Z,e[51]=P,e[52]=Q):Q=e[52],Q}function b(e){let t=e.userName??``,n=e.path??``,r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-user`},{type:`flag`,value:` --user-name`},{type:`value`,value:` ${t||``}`}];return n&&n!==`/`&&r.push({type:`flag`,value:` --path`},{type:`value`,value:` ${n}`}),[{label:`Create User`,parts:r}]}export{y as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/iam-BhvTeEfR.js b/spinifex/services/spinifexui/frontend/dist/assets/iam-BhvTeEfR.js deleted file mode 100644 index 1bd04e4cf..000000000 --- a/spinifex/services/spinifexui/frontend/dist/assets/iam-BhvTeEfR.js +++ /dev/null @@ -1 +0,0 @@ -import{t as e}from"./compiler-runtime-D_vZfn79.js";import{A as t}from"./removable-Dwr9otKB.js";import{t as n}from"./useMutation-6rdxVQpi.js";import{At as r,Ct as i,Dt as a,Et as o,Mt as s,Nt as c,Ot as ee,Pt as te,St as ne,Tt as l,_t as u,an as d,bt as f,cn as p,f as m,ft as h,gt as g,ht as _,in as v,jt as y,kt as b,ln as x,mt as S,on as C,pt as w,sn as T,vt as E,wt as D,xt as O,yt as k}from"./awsClient-Bm9ksq2r.js";import{n as A,r as j,t as M}from"./commandBuilder-D4HJ1FUj.js";var N=class extends j(M,A,`AddRoleToInstanceProfile`,h){},P=class extends j(M,A,`AddUserToGroup`,w){},F=class extends j(M,A,`AttachGroupPolicy`,S){},I=class extends j(M,A,`AttachRolePolicy`,_){},L=class extends j(M,A,`AttachUserPolicy`,g){},R=class extends j(M,A,`CreateAccessKey`,u){},z=class extends j(M,A,`CreateGroup`,E){},B=class extends j(M,A,`CreateInstanceProfile`,k){},V=class extends j(M,A,`CreatePolicy`,f){},H=class extends j(M,A,`CreateRole`,O){},U=class extends j(M,A,`CreateUser`,ne){},W=class extends j(M,A,`DeleteAccessKey`,i){},G=class extends j(M,A,`DeleteGroup`,D){},K=class extends j(M,A,`DeleteGroupPolicy`,l){},q=class extends j(M,A,`DeleteInstanceProfile`,o){},J=class extends j(M,A,`DeletePolicy`,a){},Y=class extends j(M,A,`DeleteRole`,ee){},X=class extends j(M,A,`DeleteRolePolicy`,b){},Z=class extends j(M,A,`DeleteUser`,r){},re=class extends j(M,A,`DeleteUserPolicy`,y){},ie=class extends j(M,A,`DetachGroupPolicy`,s){},ae=class extends j(M,A,`DetachRolePolicy`,c){},oe=class extends j(M,A,`DetachUserPolicy`,te){},se=class extends j(M,A,`PutGroupPolicy`,v){},ce=class extends j(M,A,`PutRolePolicy`,d){},le=class extends j(M,A,`PutUserPolicy`,C){},ue=class extends j(M,A,`RemoveRoleFromInstanceProfile`,T){},de=class extends j(M,A,`RemoveUserFromGroup`,p){},fe=class extends j(M,A,`UpdateAccessKey`,x){},Q=e();function pe(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:me,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`users`]})}},e[0]=r,e[1]=i),n(i)}async function me(e){let t=new U({UserName:e.userName,Path:e.path||void 0});return await m().send(t)}function he(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:ge,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`users`]})}},e[0]=r,e[1]=i),n(i)}async function ge(e){let t=new Z({UserName:e});return await m().send(t)}function _e(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:ve,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`access-keys`]})}},e[0]=r,e[1]=i),n(i)}async function ve(e){let t=new R({UserName:e});return await m().send(t)}function ye(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:be,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`access-keys`]})}},e[0]=r,e[1]=i),n(i)}async function be(e){let{userName:t,accessKeyId:n}=e,r=new W({UserName:t,AccessKeyId:n});return await m().send(r)}function xe(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Se,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`access-keys`]})}},e[0]=r,e[1]=i),n(i)}async function Se(e){let{userName:t,accessKeyId:n,status:r}=e,i=new fe({UserName:t,AccessKeyId:n,Status:r});return await m().send(i)}function Ce(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:we,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`policies`]})}},e[0]=r,e[1]=i),n(i)}async function we(e){let t=new V({PolicyName:e.policyName,Description:e.description||void 0,PolicyDocument:e.policyDocument});return await m().send(t)}function Te(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Ee,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`policies`]})}},e[0]=r,e[1]=i),n(i)}async function Ee(e){let t=new J({PolicyArn:e});return await m().send(t)}function De(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Oe,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`attached-user-policies`]})}},e[0]=r,e[1]=i),n(i)}async function Oe(e){let{userName:t,policyArn:n}=e,r=new L({UserName:t,PolicyArn:n});return await m().send(r)}function ke(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Ae,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`attached-user-policies`]})}},e[0]=r,e[1]=i),n(i)}async function Ae(e){let{userName:t,policyArn:n}=e,r=new oe({UserName:t,PolicyArn:n});return await m().send(r)}function je(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Me,onSuccess:(e,t)=>{r.invalidateQueries({queryKey:[`iam`,`user-inline-policies`,t.name]})}},e[0]=r,e[1]=i),n(i)}async function Me(e){let{name:t,policyName:n,policyDocument:r}=e,i=new le({UserName:t,PolicyName:n,PolicyDocument:r});return await m().send(i)}function Ne(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Pe,onSuccess:(e,t)=>{r.invalidateQueries({queryKey:[`iam`,`user-inline-policies`,t.name]})}},e[0]=r,e[1]=i),n(i)}async function Pe(e){let{name:t,policyName:n}=e,r=new re({UserName:t,PolicyName:n});return await m().send(r)}function Fe(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Ie,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`roles`]})}},e[0]=r,e[1]=i),n(i)}async function Ie(e){let t=new H({RoleName:e.roleName,Path:e.path||void 0,Description:e.description||void 0,AssumeRolePolicyDocument:e.assumeRolePolicyDocument});return await m().send(t)}function Le(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Re,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`roles`]})}},e[0]=r,e[1]=i),n(i)}async function Re(e){let t=new Y({RoleName:e});return await m().send(t)}function ze(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Be,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`attached-role-policies`]})}},e[0]=r,e[1]=i),n(i)}async function Be(e){let{roleName:t,policyArn:n}=e,r=new I({RoleName:t,PolicyArn:n});return await m().send(r)}function Ve(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:He,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`attached-role-policies`]})}},e[0]=r,e[1]=i),n(i)}async function He(e){let{roleName:t,policyArn:n}=e,r=new ae({RoleName:t,PolicyArn:n});return await m().send(r)}function Ue(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:We,onSuccess:(e,t)=>{r.invalidateQueries({queryKey:[`iam`,`role-inline-policies`,t.name]})}},e[0]=r,e[1]=i),n(i)}async function We(e){let{name:t,policyName:n,policyDocument:r}=e,i=new ce({RoleName:t,PolicyName:n,PolicyDocument:r});return await m().send(i)}function Ge(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Ke,onSuccess:(e,t)=>{r.invalidateQueries({queryKey:[`iam`,`role-inline-policies`,t.name]})}},e[0]=r,e[1]=i),n(i)}async function Ke(e){let{name:t,policyName:n}=e,r=new X({RoleName:t,PolicyName:n});return await m().send(r)}function qe(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Je,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`instance-profiles`]})}},e[0]=r,e[1]=i),n(i)}async function Je(e){let t=new B({InstanceProfileName:e.instanceProfileName,Path:e.path||void 0});return await m().send(t)}function Ye(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Xe,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`instance-profiles`]})}},e[0]=r,e[1]=i),n(i)}async function Xe(e){let t=new q({InstanceProfileName:e});return await m().send(t)}function Ze(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Qe,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`instance-profiles`]})}},e[0]=r,e[1]=i),n(i)}async function Qe(e){let{instanceProfileName:t,roleName:n}=e,r=new N({InstanceProfileName:t,RoleName:n});return await m().send(r)}function $e(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:et,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`instance-profiles`]})}},e[0]=r,e[1]=i),n(i)}async function et(e){let{instanceProfileName:t,roleName:n}=e,r=new ue({InstanceProfileName:t,RoleName:n});return await m().send(r)}function tt(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:$,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`groups`]})}},e[0]=r,e[1]=i),n(i)}async function $(e){let t=new z({GroupName:e.groupName,Path:e.path||void 0});return await m().send(t)}function nt(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:rt,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`groups`]})}},e[0]=r,e[1]=i),n(i)}async function rt(e){let t=new G({GroupName:e});return await m().send(t)}function it(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:at,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`attached-group-policies`]})}},e[0]=r,e[1]=i),n(i)}async function at(e){let{groupName:t,policyArn:n}=e,r=new F({GroupName:t,PolicyArn:n});return await m().send(r)}function ot(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:st,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`attached-group-policies`]})}},e[0]=r,e[1]=i),n(i)}async function st(e){let{groupName:t,policyArn:n}=e,r=new ie({GroupName:t,PolicyArn:n});return await m().send(r)}function ct(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:lt,onSuccess:(e,t)=>{r.invalidateQueries({queryKey:[`iam`,`group-inline-policies`,t.name]})}},e[0]=r,e[1]=i),n(i)}async function lt(e){let{name:t,policyName:n,policyDocument:r}=e,i=new se({GroupName:t,PolicyName:n,PolicyDocument:r});return await m().send(i)}function ut(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:dt,onSuccess:(e,t)=>{r.invalidateQueries({queryKey:[`iam`,`group-inline-policies`,t.name]})}},e[0]=r,e[1]=i),n(i)}async function dt(e){let{name:t,policyName:n}=e,r=new K({GroupName:t,PolicyName:n});return await m().send(r)}function ft(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:pt,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`groups`]}),r.invalidateQueries({queryKey:[`iam`,`groups-for-user`]})}},e[0]=r,e[1]=i),n(i)}async function pt(e){let{groupName:t,userName:n}=e,r=new P({GroupName:t,UserName:n});return await m().send(r)}function mt(){let e=(0,Q.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:ht,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`groups`]}),r.invalidateQueries({queryKey:[`iam`,`groups-for-user`]})}},e[0]=r,e[1]=i),n(i)}async function ht(e){let{groupName:t,userName:n}=e,r=new de({GroupName:t,UserName:n});return await m().send(r)}export{ke as C,$e as D,je as E,mt as O,Ve as S,Ue as T,Le as _,De as a,Ne as b,qe as c,pe as d,ye as f,Te as g,Ye as h,ze as i,xe as k,Ce as l,ut as m,ft as n,_e as o,nt as p,it as r,tt as s,Ze as t,Fe as u,Ge as v,ct as w,ot as x,he as y}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/iam-DtFzCnrP.js b/spinifex/services/spinifexui/frontend/dist/assets/iam-DtFzCnrP.js new file mode 100644 index 000000000..6abd766b9 --- /dev/null +++ b/spinifex/services/spinifexui/frontend/dist/assets/iam-DtFzCnrP.js @@ -0,0 +1 @@ +import{t as e}from"./compiler-runtime-D_vZfn79.js";import{A as t}from"./removable-Dwr9otKB.js";import{t as n}from"./useMutation-6rdxVQpi.js";import{At as r,Ct as i,Dt as a,Et as o,Mt as s,Nt as c,Ot as ee,Pt as te,St as ne,Tt as re,_t as l,an as u,bt as d,cn as f,f as p,ft as m,gt as h,ht as g,in as _,jt as v,kt as y,ln as b,mt as x,on as S,pt as C,sn as w,vt as T,wt as E,xt as D,yt as O}from"./awsClient-Bm9ksq2r.js";import{n as k,r as A,t as j}from"./commandBuilder-D4HJ1FUj.js";var M=class extends A(j,k,`AddRoleToInstanceProfile`,m){},N=class extends A(j,k,`AddUserToGroup`,C){},P=class extends A(j,k,`AttachGroupPolicy`,x){},F=class extends A(j,k,`AttachRolePolicy`,g){},I=class extends A(j,k,`AttachUserPolicy`,h){},L=class extends A(j,k,`CreateAccessKey`,l){},R=class extends A(j,k,`CreateGroup`,T){},z=class extends A(j,k,`CreateInstanceProfile`,O){},B=class extends A(j,k,`CreatePolicy`,d){},V=class extends A(j,k,`CreateRole`,D){},H=class extends A(j,k,`CreateUser`,ne){},U=class extends A(j,k,`DeleteAccessKey`,i){},W=class extends A(j,k,`DeleteGroup`,E){},G=class extends A(j,k,`DeleteGroupPolicy`,re){},K=class extends A(j,k,`DeleteInstanceProfile`,o){},q=class extends A(j,k,`DeletePolicy`,a){},J=class extends A(j,k,`DeleteRole`,ee){},Y=class extends A(j,k,`DeleteRolePolicy`,y){},X=class extends A(j,k,`DeleteUser`,r){},ie=class extends A(j,k,`DeleteUserPolicy`,v){},ae=class extends A(j,k,`DetachGroupPolicy`,s){},oe=class extends A(j,k,`DetachRolePolicy`,c){},se=class extends A(j,k,`DetachUserPolicy`,te){},ce=class extends A(j,k,`PutGroupPolicy`,_){},le=class extends A(j,k,`PutRolePolicy`,u){},ue=class extends A(j,k,`PutUserPolicy`,S){},de=class extends A(j,k,`RemoveRoleFromInstanceProfile`,w){},fe=class extends A(j,k,`RemoveUserFromGroup`,f){},pe=class extends A(j,k,`UpdateAccessKey`,b){},Z=e();function me(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:he,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`users`]})}},e[0]=r,e[1]=i),n(i)}async function he(e){let t=new H({UserName:e.userName,Path:e.path||void 0});return await p().send(t)}function ge(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:_e,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`users`]})}},e[0]=r,e[1]=i),n(i)}async function _e(e){let t=new X({UserName:e});return await p().send(t)}function ve(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:ye,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`access-keys`]})}},e[0]=r,e[1]=i),n(i)}async function ye(e){let t=new L({UserName:e});return await p().send(t)}function be(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:xe,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`access-keys`]})}},e[0]=r,e[1]=i),n(i)}async function xe(e){let{userName:t,accessKeyId:n}=e,r=new U({UserName:t,AccessKeyId:n});return await p().send(r)}function Se(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Ce,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`access-keys`]})}},e[0]=r,e[1]=i),n(i)}async function Ce(e){let{userName:t,accessKeyId:n,status:r}=e,i=new pe({UserName:t,AccessKeyId:n,Status:r});return await p().send(i)}function we(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Te,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`policies`]})}},e[0]=r,e[1]=i),n(i)}async function Te(e){let t=new B({PolicyName:e.policyName,Description:e.description||void 0,PolicyDocument:e.policyDocument});return await p().send(t)}function Ee(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:De,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`policies`]})}},e[0]=r,e[1]=i),n(i)}async function De(e){let t=new q({PolicyArn:e});return await p().send(t)}function Oe(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:ke,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`attached-user-policies`]})}},e[0]=r,e[1]=i),n(i)}async function ke(e){let{userName:t,policyArn:n}=e,r=new I({UserName:t,PolicyArn:n});return await p().send(r)}function Ae(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:je,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`attached-user-policies`]})}},e[0]=r,e[1]=i),n(i)}async function je(e){let{userName:t,policyArn:n}=e,r=new se({UserName:t,PolicyArn:n});return await p().send(r)}function Me(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Ne,onSuccess:(e,t)=>{r.invalidateQueries({queryKey:[`iam`,`user-inline-policies`,t.name]})}},e[0]=r,e[1]=i),n(i)}async function Ne(e){let{name:t,policyName:n,policyDocument:r}=e,i=new ue({UserName:t,PolicyName:n,PolicyDocument:r});return await p().send(i)}function Pe(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Fe,onSuccess:(e,t)=>{r.invalidateQueries({queryKey:[`iam`,`user-inline-policies`,t.name]})}},e[0]=r,e[1]=i),n(i)}async function Fe(e){let{name:t,policyName:n}=e,r=new ie({UserName:t,PolicyName:n});return await p().send(r)}function Ie(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Le,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`roles`]})}},e[0]=r,e[1]=i),n(i)}async function Le(e){let t=new V({RoleName:e.roleName,Path:e.path||void 0,Description:e.description||void 0,AssumeRolePolicyDocument:e.assumeRolePolicyDocument});return await p().send(t)}function Re(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:ze,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`roles`]})}},e[0]=r,e[1]=i),n(i)}async function ze(e){let t=new J({RoleName:e});return await p().send(t)}function Be(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Ve,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`attached-role-policies`]})}},e[0]=r,e[1]=i),n(i)}async function Ve(e){let{roleName:t,policyArn:n}=e,r=new F({RoleName:t,PolicyArn:n});return await p().send(r)}function He(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Ue,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`attached-role-policies`]})}},e[0]=r,e[1]=i),n(i)}async function Ue(e){let{roleName:t,policyArn:n}=e,r=new oe({RoleName:t,PolicyArn:n});return await p().send(r)}function We(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Ge,onSuccess:(e,t)=>{r.invalidateQueries({queryKey:[`iam`,`role-inline-policies`,t.name]})}},e[0]=r,e[1]=i),n(i)}async function Ge(e){let{name:t,policyName:n,policyDocument:r}=e,i=new le({RoleName:t,PolicyName:n,PolicyDocument:r});return await p().send(i)}function Ke(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:qe,onSuccess:(e,t)=>{r.invalidateQueries({queryKey:[`iam`,`role-inline-policies`,t.name]})}},e[0]=r,e[1]=i),n(i)}async function qe(e){let{name:t,policyName:n}=e,r=new Y({RoleName:t,PolicyName:n});return await p().send(r)}function Je(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Ye,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`instance-profiles`]})}},e[0]=r,e[1]=i),n(i)}async function Ye(e){let t=new z({InstanceProfileName:e.instanceProfileName,Path:e.path||void 0});return await p().send(t)}function Q(e){e.invalidateQueries({queryKey:[`iam`,`instance-profiles`]}),e.invalidateQueries({queryKey:[`iam`,`instance-profiles-for-role`]})}function Xe(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:Ze,onSuccess:()=>{Q(r)}},e[0]=r,e[1]=i),n(i)}async function Ze(e){let t=new K({InstanceProfileName:e});return await p().send(t)}function Qe(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:$e,onSuccess:()=>{Q(r)}},e[0]=r,e[1]=i),n(i)}async function $e(e){let{instanceProfileName:t,roleName:n}=e,r=new M({InstanceProfileName:t,RoleName:n});return await p().send(r)}function et(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:tt,onSuccess:()=>{Q(r)}},e[0]=r,e[1]=i),n(i)}async function tt(e){let{instanceProfileName:t,roleName:n}=e,r=new de({InstanceProfileName:t,RoleName:n});return await p().send(r)}function $(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:nt,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`groups`]})}},e[0]=r,e[1]=i),n(i)}async function nt(e){let t=new R({GroupName:e.groupName,Path:e.path||void 0});return await p().send(t)}function rt(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:it,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`groups`]})}},e[0]=r,e[1]=i),n(i)}async function it(e){let t=new W({GroupName:e});return await p().send(t)}function at(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:ot,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`attached-group-policies`]})}},e[0]=r,e[1]=i),n(i)}async function ot(e){let{groupName:t,policyArn:n}=e,r=new P({GroupName:t,PolicyArn:n});return await p().send(r)}function st(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:ct,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`attached-group-policies`]})}},e[0]=r,e[1]=i),n(i)}async function ct(e){let{groupName:t,policyArn:n}=e,r=new ae({GroupName:t,PolicyArn:n});return await p().send(r)}function lt(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:ut,onSuccess:(e,t)=>{r.invalidateQueries({queryKey:[`iam`,`group-inline-policies`,t.name]})}},e[0]=r,e[1]=i),n(i)}async function ut(e){let{name:t,policyName:n,policyDocument:r}=e,i=new ce({GroupName:t,PolicyName:n,PolicyDocument:r});return await p().send(i)}function dt(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:ft,onSuccess:(e,t)=>{r.invalidateQueries({queryKey:[`iam`,`group-inline-policies`,t.name]})}},e[0]=r,e[1]=i),n(i)}async function ft(e){let{name:t,policyName:n}=e,r=new G({GroupName:t,PolicyName:n});return await p().send(r)}function pt(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:mt,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`groups`]}),r.invalidateQueries({queryKey:[`iam`,`groups-for-user`]})}},e[0]=r,e[1]=i),n(i)}async function mt(e){let{groupName:t,userName:n}=e,r=new N({GroupName:t,UserName:n});return await p().send(r)}function ht(){let e=(0,Z.c)(2),r=t(),i;return e[0]===r?i=e[1]:(i={mutationFn:gt,onSuccess:()=>{r.invalidateQueries({queryKey:[`iam`,`groups`]}),r.invalidateQueries({queryKey:[`iam`,`groups-for-user`]})}},e[0]=r,e[1]=i),n(i)}async function gt(e){let{groupName:t,userName:n}=e,r=new fe({GroupName:t,UserName:n});return await p().send(r)}export{Ae as C,et as D,Me as E,ht as O,He as S,We as T,Re as _,Oe as a,Pe as b,Je as c,me as d,be as f,Ee as g,Xe as h,Be as i,Se as k,we as l,dt as m,pt as n,ve as o,rt as p,at as r,$ as s,Qe as t,Ie as u,Ke as v,lt as w,st as x,ge as y}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/index-D7KGTIfZ.js b/spinifex/services/spinifexui/frontend/dist/assets/index-BmcF1ID-.js similarity index 99% rename from spinifex/services/spinifexui/frontend/dist/assets/index-D7KGTIfZ.js rename to spinifex/services/spinifexui/frontend/dist/assets/index-BmcF1ID-.js index a3c2ff24c..900f6975c 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/index-D7KGTIfZ.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/index-BmcF1ID-.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/route-ri79I-mW.js","assets/compiler-runtime-D_vZfn79.js","assets/Match-D6VSR81X.js","assets/matchContext-DjfNTEDZ.js","assets/useSelector-C6_B_5v6.js","assets/with-selector-DrM041uv.js","assets/_auth-CQN6uKek.js","assets/useQuery-2EKf7AyV.js","assets/useBaseQuery-Dqg0ViLa.js","assets/removable-Dwr9otKB.js","assets/query-BPr_oSEg.js","assets/link-BokOReHc.js","assets/cluster-config-DNNpxkEw.js","assets/hex-encoding-CVnQo5PF.js","assets/createLucideIcon-BQgzNCBR.js","assets/chevron-down-Dt4q6d24.js","assets/chevron-right-c57whaks.js","assets/waypoints-DE7eIn9V.js","assets/network-RAx0KOlf.js","assets/admin-context-CDHgX8i9.js","assets/sts-Dl5VQGi9.js","assets/signed-fetch-BbgZm19g.js","assets/ec2-BzWGOxUI.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-Bm9ksq2r.js","assets/index.browser-DuXQj3EI.js","assets/s3-DhhvwV7v.js","assets/page-heading-vksh_67w.js","assets/badge-BtRPNxFL.js","assets/dist-DEhWxN7p.js","assets/useRender-D_r-BeIy.js","assets/card-C9nlSBvn.js","assets/admin-sWEcUPHY.js","assets/alert-dialog-Da3OTbL9.js","assets/button-C9VMD5Xn.js","assets/DialogTitle-BIRU7hlM.js","assets/useValueAsRef-BRYYjd2W.js","assets/createBaseUIEventDetails-sqRELvD6.js","assets/useScrollLock-aaqhvzFs.js","assets/state-badge-BbpKF1NE.js","assets/route-CAwLPdN1.js","assets/nodes-DuOlBrgk.js","assets/redirect-B4OxYbs2.js","assets/service-metrics-BVlT0eqC.js","assets/allocate-address-Cj5JFsW1.js","assets/useNavigate-CTe_-BZA.js","assets/back-link-wsXUoJ12.js","assets/cli-command-panel-4C78XA6W.js","assets/check-BO7W8OSs.js","assets/copy-CamWo-pg.js","assets/use-copy-to-clipboard-DjiD3qo6.js","assets/input-CBUMH1Jl.js","assets/useValueChanged-3krk2xbP.js","assets/useControlled-DwxdYHYK.js","assets/ec2-BXFEIaSs.js","assets/useMutation-6rdxVQpi.js","assets/mutation-BziiWz5u.js","assets/subnet-calculator-DDrAb5xp.js","assets/zod-A4qtKH_p.js","assets/error-banner-DeOeVBKS.js","assets/form-actions-ECg9_Gdo.js","assets/field-BKQO3cRo.js","assets/separator-BFSV8f2Y.js","assets/ec2-CSDTsDKe.js","assets/create-internet-gateway-Cpxiz-Mj.js","assets/create-key-pair-CAViKLoj.js","assets/select-sbVkpt-r.js","assets/usePositioner-xrDm0DAw.js","assets/DirectionContext-C9rdm8xn.js","assets/useCompositeListItem-j3SLKnjj.js","assets/download-B-6MA128.js","assets/triangle-alert-DcjzeKLg.js","assets/import-key-pair-BivCaRzr.js","assets/textarea-CTBs9AlF.js","assets/create-launch-template-CZvRqBCG.js","assets/launch-template-data-fields-KubGXzaR.js","assets/useSuspenseQuery-Bc7E1P-f.js","assets/collapsible-C1lL0Zbp.js","assets/create-load-balancer--N6lPrkX.js","assets/acm-Bq1Zikkw.js","assets/certificate-import-dialog-_-hne95o.js","assets/elbv2-ONj45CAs.js","assets/commandBuilder-Bhaug6xi.js","assets/elbv2-DiAEDg-6.js","assets/tags-field-array-JxF8jxRw.js","assets/plus-BodhJT2v.js","assets/trash-DVab4pEz.js","assets/target-group-form-BEZOHxnM.js","assets/elbv2-BbL0yKcd.js","assets/create-nat-gateway-z5NzuiEa.js","assets/create-placement-group-D_o6h2Gq.js","assets/create-route-table-0q7LO8Yz.js","assets/create-security-group-BVBSieXt.js","assets/create-subnet-D6P8yW2z.js","assets/create-target-group-D5bQ4Fa3.js","assets/create-volume-BjkVTXNd.js","assets/create-vpc-HC_JSJiq.js","assets/task-definitions-CSGupk2f.js","assets/ecs-CXQ6NRIM.js","assets/ecs-MIRMclL6.js","assets/delete-confirmation-dialog-8byauM7I.js","assets/ecs-section-nav-CSH8MVoU.js","assets/create-cluster-CGyNwlKq.js","assets/eks-u2D4kfib.js","assets/commandBuilder-BtsaezuD.js","assets/json-CeLiNx_J.js","assets/iam-BhvTeEfR.js","assets/commandBuilder-D4HJ1FUj.js","assets/iam-3D5jlLAz.js","assets/system-managed-Dk7ySh_E.js","assets/system-image-required-CQ5Fv5O6.js","assets/rotate-cw-FTUcK_f-.js","assets/policy-document-viewer-DAhLJAGU.js","assets/create-group-B3B-V6J_.js","assets/iam-CADYUEJg.js","assets/create-instance-profile-Do0eBh4w.js","assets/create-policy-CL2P-ufC.js","assets/json-editor-C0uKwIA1.js","assets/create-role-CAJVw8Kr.js","assets/create-user-BE9h67_n.js","assets/create-db-instance-CFzM44Sn.js","assets/rds-DAdlCPnc.js","assets/rds-BZ7PQo73.js","assets/rds-BqttqI3-.js","assets/picker-notice-tK9XfUSR.js","assets/security-group-checkboxes-CQUrWfTk.js","assets/create-db-parameter-group-CUcSdIga.js","assets/create-db-subnet-group-CuUW4IsJ.js","assets/create-bucket-eeiuIrsW.js","assets/s3-B_NubPB2.js","assets/ls-CWzC4f47.js","assets/list-card-PsHyk9Gp.js","assets/route-MJhrpG5n.js","assets/list-model-catalog-CeG1beQW.js","assets/list-guardrails-Cq4kt2fN.js","assets/bedrock-C1QgpHT0.js","assets/commandBuilder-CoEgFfhA.js","assets/create-DTpWMMJH.js","assets/bedrock-DVvgyVOV.js","assets/guardrail-form-page-CDvF9We8.js","assets/list-knowledge-bases-BJaqqlKH.js","assets/bedrockAgent-CGGLePgZ.js","assets/commandBuilder-BIFyM5s9.js","assets/create-BO1fFlSv.js","assets/bedrockAgent-A0KwD-f8.js","assets/list-model-access-_5zWqGCi.js","assets/playground-Cush5Er_.js","assets/commandBuilder-COpzvCP1.js","assets/describe-addresses-CX48-jv1.js","assets/describe-images-DU3F5FiN.js","assets/describe-instances-2mfa0kO7.js","assets/describe-internet-gateways-BCKNPwC9.js","assets/describe-key-pairs-BFrqVQj0.js","assets/describe-launch-templates-CacWu1yX.js","assets/describe-load-balancers-DAKWE795.js","assets/describe-nat-gateways-DGO7NhS6.js","assets/describe-placement-groups-Cn4M8Qw5.js","assets/describe-route-tables-B85w9Xcr.js","assets/describe-security-groups-CorF76Fg.js","assets/describe-snapshots-C4LyUqXx.js","assets/describe-subnets-DgMQfiqj.js","assets/describe-target-groups-BmI4rGfj.js","assets/describe-volumes-COLmjwXx.js","assets/describe-vpcs-BnIpgEwn.js","assets/list-repositories-CFHE_leH.js","assets/ecr-CPyxVUeb.js","assets/ecr-B0fWSgjS.js","assets/list-clusters-CYIpXZk9.js","assets/list-clusters-Blcu3VSI.js","assets/eks-b7zY4GyW.js","assets/list-groups-D6hjD6YQ.js","assets/list-instance-profiles-INcvr5n3.js","assets/list-policies-DPQJyoNC.js","assets/list-roles-D20fg59j.js","assets/list-users-DRJSk6hA.js","assets/describe-db-instances-CLwlt50q.js","assets/delete-db-instance-dialog-p8ulz5Lm.js","assets/describe-db-parameter-groups-Xj7h_agu.js","assets/delete-db-parameter-group-dialog-afL4KYPO.js","assets/rds-delete-dialog-BGfKxzDX.js","assets/describe-db-snapshots-ByVAmk9k.js","assets/create-db-snapshot-dialog-De2OjDH8.js","assets/delete-db-snapshot-dialog-hCpZTnCW.js","assets/describe-db-subnet-groups-B0xn02S1.js","assets/delete-db-subnet-group-dialog-BohXm6zU.js"])))=>i.map(i=>d[i]); -import{i as e,n as t,o as n,r,t as i}from"./compiler-runtime-D_vZfn79.js";import{A as a,C as o,E as s,a as c,b as l,c as u,g as d,h as f,k as p,m,o as h,s as g,v as _,x as v,y}from"./removable-Dwr9otKB.js";import{t as b}from"./query-BPr_oSEg.js";import{t as x}from"./mutation-BziiWz5u.js";import{a as S,i as C,n as w,o as T,r as E,t as D}from"./lazyRouteComponent-D0nAq0Je.js";import{C as O,S as k,T as ee,_ as te,a as ne,b as re,c as ie,d as ae,f as oe,g as se,h as ce,i as le,l as ue,m as de,n as fe,o as pe,p as me,r as he,t as A,u as ge,v as _e,w as j,y as M}from"./link-BokOReHc.js";import{a as ve,i as ye,n as be,o as xe,r as Se,t as N}from"./Match-D6VSR81X.js";import{r as Ce}from"./matchContext-DjfNTEDZ.js";import{n as we,t as Te}from"./redirect-B4OxYbs2.js";import{a as Ee,n as De,r as Oe,t as ke}from"./useSelector-C6_B_5v6.js";import{n as Ae}from"./with-selector-DrM041uv.js";import{t as je}from"./useNavigate-CTe_-BZA.js";import{f as Me,i as Ne,n as Pe,t as Fe}from"./useValueAsRef-BRYYjd2W.js";import{a as Ie,f as Le,l as Re,n as ze,o as Be,t as Ve,u as He}from"./dist-DEhWxN7p.js";import{t as Ue}from"./useRender-D_r-BeIy.js";import{n as We,nn as P,o as Ge,r as Ke,s as qe,ut as F}from"./cluster-config-DNNpxkEw.js";import{t as I}from"./createLucideIcon-BQgzNCBR.js";import{t as Je}from"./camera-bmANKZ8M.js";import{a as Ye,i as Xe,n as Ze,o as Qe,r as $e,s as et,t as tt}from"./waypoints-DE7eIn9V.js";import{n as nt,t as rt}from"./_id-Bu86Ozrp.js";import{t as it}from"./network-RAx0KOlf.js";import{n as at,t as ot}from"./_clusterName-ujtlowL_.js";import{n as st,t as ct}from"./_id-Cd-Ww3Z8.js";import{_ as lt,b as ut,n as dt,o as ft,s as pt,t as mt,y as ht}from"./button-C9VMD5Xn.js";import{C as gt,E as _t,S as vt,b as yt,f as bt,g as xt,h as St,i as Ct,m as wt,s as Tt,t as Et,v as Dt,w as Ot,x as kt,y as At}from"./createBaseUIEventDetails-sqRELvD6.js";import{$ as jt,D as Mt,E as Nt,H as Pt,L as Ft,M as It,O as Lt,P as Rt,S as zt,St as Bt,Y as Vt,at as Ht,b as Ut,ct as Wt,g as Gt,h as Kt,it as L,j as qt,k as Jt,m as Yt,nt as Xt,ot as Zt,p as Qt,st as $t,tt as en,ut as tn,w as nn,wt as rn,x as an,y as on,z as sn}from"./useScrollLock-aaqhvzFs.js";import{n as cn,r as ln,t as un}from"./usePositioner-xrDm0DAw.js";import"./input-CBUMH1Jl.js";import{t as dn}from"./separator-BFSV8f2Y.js";import{a as fn,c as pn,i as mn,l as hn,n as gn,o as _n,r as vn,s as yn,t as bn}from"./DialogTitle-BIRU7hlM.js";import{t as xn}from"./awsClient-Bm9ksq2r.js";import{n as Sn,t as Cn}from"./admin-context-CDHgX8i9.js";import{t as wn}from"./acm-Bq1Zikkw.js";import{i as Tn,t as En}from"./bedrock-C1QgpHT0.js";import{i as Dn}from"./bedrockAgent-CGGLePgZ.js";import{A as On,E as kn,M as An,O as jn,S as Mn,_ as Nn,c as Pn,d as Fn,h as In,l as Ln,n as Rn,o as zn,p as Bn,r as Vn,w as Hn,y as Un}from"./ec2-BzWGOxUI.js";import{n as Wn}from"./ecr-CPyxVUeb.js";import{n as Gn,o as Kn}from"./ecs-CXQ6NRIM.js";import{c as qn}from"./eks-b7zY4GyW.js";import{a as Jn,o as Yn,u as Xn}from"./elbv2-DiAEDg-6.js";import{C as Zn,f as Qn,l as $n,p as er,y as tr}from"./iam-3D5jlLAz.js";import{a as nr,d as rr,h as ir,o as ar,r as or}from"./rds-BqttqI3-.js";import{n as sr}from"./s3-DhhvwV7v.js";import{t as cr}from"./login-DiEye2GK.js";import{t as lr}from"./run-instances-IlcZaw6e.js";import{t as ur}from"./create-snapshot-CcXkvbR6.js";import{t as dr}from"./create-service-DF-sOwj3.js";import{t as fr}from"./register-task-definition-C2QT22pa.js";import{t as pr}from"./run-task-Cx5ZSMtQ.js";import{t as mr}from"./_knowledgeBaseId-DQawITtr.js";import{t as hr}from"./_id-C1szo2bQ.js";import{t as gr}from"./_id-D5CApzw1.js";import{t as _r}from"./_id-CHbbEp3J.js";import{t as vr}from"./_id-ChrUHOzx.js";import{t as yr}from"./_id-CihXDo2a.js";import{t as br}from"./_id-BKrvyNGK.js";import{t as xr}from"./_id-ByxwpX75.js";import{t as Sr}from"./_id-DflRwii5.js";import{t as Cr}from"./_id-UthkaM-l.js";import{t as wr}from"./_id-Xfn6G0NO.js";import{t as Tr}from"./_id-DzUrXYNb.js";import{t as Er}from"./_id-nDT4SPkw.js";import{t as Dr}from"./_id-O0zfpNfp.js";import{t as Or}from"./_id-BzKiV85u.js";import{t as kr}from"./_id-Dl1qhQTl.js";import{t as Ar}from"./_id-DJwwmBFl.js";import{t as jr}from"./_clusterName-Dz3sFLA3.js";import{t as Mr}from"./_groupName-BKOaZUJa.js";import{t as Nr}from"./_instanceProfileName-FXtPzTwZ.js";import{t as Pr}from"./_policyArn-1xb5b-UV.js";import{t as Fr}from"./_roleName-CwOZwaUn.js";import{t as Ir}from"./_userName-Dba8kyLA.js";import{t as Lr}from"./_id-CvQ6rk4b.js";import{t as Rr}from"./_name-S9yeYUIm.js";import{t as zr}from"./_id-bPyVIHrg.js";import{t as Br}from"./_id-C9TqKt_R.js";import{t as Vr}from"./_name-BE-qhbhl.js";import{t as Hr}from"./_bucket-DXpP7x_7.js";import{t as Ur}from"./_-C4MbGc9c.js";import{t as Wr}from"./_guardrailId.index-DCCvASgI.js";import{t as Gr}from"./_guardrailId.edit-eJIkfqKy.js";import{t as Kr}from"./_serviceName-DUn18F2R.js";import{t as qr}from"./_taskId-CjE6gFp4.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var Jr=class extends u{#e;#t;#n;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}build(e,t,n){let r=new x({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Yr(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Yr(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Yr(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=Yr(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){h.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>_(t,e))}findAll(e={}){return this.getAll().filter(t=>_(e,t))}notify(e){h.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return h.batch(()=>Promise.all(e.map(e=>e.continue().catch(l))))}};function Yr(e){return e.options.scope?.id}var Xr=class extends u{#e;constructor(e={}){super(),this.config=e,this.#e=new Map}build(e,t,n){let r=t.queryKey,i=t.queryHash??d(r,t),a=this.get(i);return a||(a=new b({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){this.#e.get(e.queryHash)===e&&(e.destroy(),this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){h.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>y(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>y(e,t)):t}notify(e){h.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){h.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){h.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Zr=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Xr,this.#t=e.mutationCache||new Jr,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=g.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=c.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(o(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=m(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return h.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;h.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return h.batch(()=>{let r=n.findAll(e),i=new Set(r);return r.forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,predicate:e=>i.has(e)},t)})}cancelQueries(e,t={}){let n={revert:!0,...t},r=h.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(l).catch(l)}invalidateQueries(e,t={}){return h.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=h.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(l)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(l)}async query(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t),r=n.isStaleByTime(o(t.staleTime,n))?await n.fetch(t):n.state.data,i=t.select;return i?i(r):r}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(o(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(l).catch(l)}infiniteQuery(e){return e._type=`infinite`,this.query(e)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(l).catch(l)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return c.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(f(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{v(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(f(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{v(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=d(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===s&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};function Qr(){try{return sessionStorage}catch{return}}var $r=`tsr-scroll-restoration-v1_3`,ei=Qr();function ti(){try{return JSON.parse(ei?.getItem(`tsr-scroll-restoration-v1_3`)||`{}`)}catch{return{}}}var ni=ti(),ri=`data-scroll-restoration-id`,ii=e=>e.state.__TSR_key||e.href;function ai(e){let t=e.getAttribute(ri);if(t)return`[${ri}="${t}"]`;let n=``,r=e,i;for(;i=r.parentNode;){let e=1,t=r;for(;t=t.previousElementSibling;)e++;let a=`${r.localName}:nth-child(${e})`;n=n?`${a} > ${n}`:a,r=i}return n}var oi=!1,si=`window`;function ci(e){try{return typeof e==`function`?e():document.querySelector(e)}catch{}}function li(e){let t=new Set;for(let n of e){if(n===si)continue;let e=ci(n);e&&t.add(e)}return t}function ui(e,t){let n=t??e.options.scrollRestoration,r=e._scroll;n&&(r.e=!0);let i=e.options.getScrollRestorationKey||ii,a=new Set,o=e=>{let t=ni[e]||={};for(let e of a)e===document?t[si]={scrollX,scrollY}:e.isConnected&&(t[ai(e)]={scrollX:e.scrollLeft,scrollY:e.scrollTop})};n&&!r.s&&(r.s=!0,oi=!1,history.scrollRestoration=`manual`,document.addEventListener(`scroll`,e=>{oi||a.add(e.target)},!0),e.subscribe(`onBeforeLoad`,e=>{e.fromLocation&&o(i(e.fromLocation)),a.clear()}),addEventListener(`pagehide`,()=>{history.scrollRestoration=`auto`,o(i(e.stores.resolvedLocation.get()??e.stores.location.get()));try{ei?.setItem($r,JSON.stringify(ni))}catch{}}),addEventListener(`pageshow`,e=>{e.persisted&&(history.scrollRestoration=`manual`)})),!r.r&&(r.r=!0,e.subscribe(`onRendered`,t=>{let n=e.options.scrollRestorationBehavior,o=e.options.scrollToTopSelectors,s=r.n,c=r.h,l;if(a.clear(),r.n=!0,r.h=!1,typeof e.options.scrollRestoration==`function`&&!e.options.scrollRestoration({location:e.latestLocation}))return;let u=i(t.toLocation),d=t.fromLocation&&i(t.fromLocation);if(r.e&&d&&d!==u){let e=ni[d];if(e){let t=ni[u];for(let n in e){if(n===si){if(s)continue}else{let e=ci(n);if(!e||s&&o&&(l??=li(o),l.has(e)))continue}t||=ni[u]={},t[n]??=e[n]}}}oi=!0;try{let e=t.toLocation.hash,i=t.toLocation.state.__hashScrollIntoViewOptions??!0,a=!1;if(s){!e&&o&&(l??=li(o));let t=e&&i&&c,s=r.e?ni[u]:void 0;if(s)for(let e in s){let{scrollX:r,scrollY:i}=s[e];if(e===si){if(t)continue;scrollTo({top:i,left:r,behavior:n}),a=!0}else{let t=ci(e);t&&(t.scrollLeft=r,t.scrollTop=i,l?.delete(t))}}if(!e){let e={top:0,left:0,behavior:n};if(a||scrollTo(e),l)for(let t of l)t.scrollTo(e)}}!a&&e&&i&&document.getElementById(e)?.scrollIntoView(i)}finally{oi=!1}}))}function di(e,t=String){let n;for(let r in e){let i=e[r];i!==void 0&&(n||=new URLSearchParams).set(r,t(i))}return n?n.toString():``}function fi(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function pi(e){let t=new URLSearchParams(e),n=Object.create(null);for(let[e,r]of t.entries()){let t=n[e];t==null?n[e]=fi(r):Array.isArray(t)?t.push(fi(r)):n[e]=[t,fi(r)]}return n}var mi=/^(?:\s|["[{\d-]|fa|nu|tr)/,hi=_i(JSON.parse),gi=vi(JSON.stringify,JSON.parse);function _i(e){let t=e===JSON.parse;return n=>{n[0]===`?`&&(n=n.substring(1));let r=pi(n);for(let n in r){let i=r[n];if(typeof i==`string`){if(t&&!mi.test(i))continue;try{r[n]=e(i)}catch{}}}return r}}function vi(e,t){let n=t===JSON.parse;function r(r){if(r&&typeof r==`object`)try{return e(r)}catch{}else if(t&&typeof r==`string`){if(n&&!mi.test(r))return r;try{return t(r),e(r)}catch{}}return r}return e=>{let t=di(e,r);return t?`?${t}`:``}}function yi(e){let t=new Map,n,r;return{get(e){let n=t.get(e);if(n)return n.visited=!0,n.value},set(i,a){let o=t.get(i);if(o){o.value=a;return}if(t.size>=e){let e=n?.next().value;for(;!e||e.visited;)e?e.visited=!1:n=t.values(),e=n.next().value;e===r&&(n=void 0),t.delete(e.key)}let s={key:i,value:a,visited:!1};r=s,t.set(i,s)},clear(){t.clear(),n=void 0,r=void 0}}}var bi=4,xi=5;function Si(e){let t=e.names;if(t)return t;let n=[];for(let t of e)typeof t!=`string`&&n.push(t[1]);return e.names=n}function Ci(e,t,n){let r=e.substring(t,n);if(r.charCodeAt(0)===36)return r.length===1?[2,`_splat`,``,void 0]:[1,r.substring(1),``,``];let i=r.indexOf(`{`);if(i>=0){let a=r.indexOf(`}`,i),o=r.charCodeAt(i+1)===45,s=i+(o?3:2);if(a>=0&&r.charCodeAt(s-1)===36&&(!o||s!e.parse&&e.caseSensitive===_&&e.prefix===h&&e.suffix===g);if(y)c=y;else{let e=Ei(r,t,_,h,g);c=e,v.push(e),v.length===2&&i?.push(v)}}r=c}p&&m=0;e--){let n=i.wildcard[e],{prefix:r,suffix:a}=n;if(!r||!_&&(n.caseSensitive?v:y??=v.toLowerCase()).startsWith(r)){if(a){if(_)continue;let e=t.slice(u).join(`/`),i=e.slice(-a.length);if((n.caseSensitive?i:i.toLowerCase())!==a||e.length-a.length=0;t--){let n=i.optional[t];s.push({node:n,index:u,skipped:e,statics:f,dynamics:p,optionals:m,extract:h,rawParams:g})}if(!_)for(let e=i.optional.length-1;e>=0;e--){let t=i.optional[e],{prefix:n,suffix:r}=t;if(n||r){let e=t.caseSensitive?v:y??=v.toLowerCase();if(n&&!e.startsWith(n)||r&&e.indexOf(r,e.length-r.length)=0;e--){let t=i.dynamic[e],{prefix:n,suffix:r}=t;if(n||r){let e=t.caseSensitive?v:y??=v.toLowerCase();if(n&&!e.startsWith(n)||r&&e.indexOf(r,e.length-r.length)=0;e--){let t=i.pathless[e];s.push({node:t,index:u,skipped:d,statics:f,dynamics:p,optionals:m,extract:h,rawParams:g})}}if(l)return l;if(r&&c){let n=c.index;for(let e=0;ee.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===bi)>(e.node.kind===bi)||t.node.kind===bi==(e.node.kind===bi)&&t.node.depth>e.node.depth)))}function Vi(e,t,n){let r=pe(e),i=`/${r}`,a=t?i:i.toLowerCase(),o=`${a}/`,s={input:({url:e})=>{let n=t?e.pathname:e.pathname.toLowerCase();return n===a?e.pathname=`/`:n.startsWith(o)&&(e.pathname=e.pathname.slice(i.length)),e},output:({url:e})=>(e.pathname=fe(`/${r}${e.pathname}`),e)};return n?{input:({url:e})=>Hi(n,s.input({url:e})),output:({url:e})=>s.output({url:Ui(n,e)})}:s}function Hi(e,t){let n=e?.input?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Ui(e,t){let n=e?.output?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Wi(e,t){let{createMutableStore:n,createReadonlyStore:r,batch:i}=t,a=new Map,o=n(`idle`),s=n(e),c=n(void 0),l=n([]),u=r(()=>l.get().map(e=>a.get(e).get())),d=r(()=>({status:o.get(),isLoading:o.get()===`pending`,matches:u.get(),location:s.get(),resolvedLocation:c.get()}));function f(e){let t=a.get(e);return t||(t=n(void 0),a.set(e,t)),t}let p={status:o,location:s,resolvedLocation:c,ids:l,matches:u,byRoute:a,__store:d,getMatchStore:f,setMatches:m};function m(e){let t=l.get(),n=e.map(e=>e.routeId);i(()=>{ge(t,n)||l.set(n);for(let e of t)n.includes(e)||a.get(e).set(()=>void 0);for(let t of e){let e=f(t.routeId);e.get()!==t&&e.set(t)}})}return p}var Gi=`__TSR_index`,Ki=`popstate`,qi=`beforeunload`,Ji=/^[\x00-\x20]*(?:[\\/][\t\n\r]*){2,}/;function Yi(e){let t=Ji.exec(e);return t?`/`+e.slice(t[0].length):e}function Xi(e){return/[\x00-\x1f\x7f]/.test(e)&&(e=e.replace(/[\x00-\x1f\x7f]/g,e=>` +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/route-ri79I-mW.js","assets/compiler-runtime-D_vZfn79.js","assets/Match-D6VSR81X.js","assets/matchContext-DjfNTEDZ.js","assets/useSelector-C6_B_5v6.js","assets/with-selector-DrM041uv.js","assets/_auth-CQN6uKek.js","assets/useQuery-2EKf7AyV.js","assets/useBaseQuery-Dqg0ViLa.js","assets/removable-Dwr9otKB.js","assets/query-BPr_oSEg.js","assets/link-BokOReHc.js","assets/cluster-config-DNNpxkEw.js","assets/hex-encoding-CVnQo5PF.js","assets/createLucideIcon-BQgzNCBR.js","assets/chevron-down-Dt4q6d24.js","assets/chevron-right-c57whaks.js","assets/waypoints-DE7eIn9V.js","assets/network-RAx0KOlf.js","assets/admin-context-CDHgX8i9.js","assets/sts-Dl5VQGi9.js","assets/signed-fetch-BbgZm19g.js","assets/ec2-BzWGOxUI.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-Bm9ksq2r.js","assets/index.browser-DuXQj3EI.js","assets/s3-DhhvwV7v.js","assets/page-heading-vksh_67w.js","assets/badge-BtRPNxFL.js","assets/dist-DEhWxN7p.js","assets/useRender-D_r-BeIy.js","assets/card-C9nlSBvn.js","assets/admin-sWEcUPHY.js","assets/alert-dialog-Da3OTbL9.js","assets/button-C9VMD5Xn.js","assets/DialogTitle-BIRU7hlM.js","assets/useValueAsRef-BRYYjd2W.js","assets/createBaseUIEventDetails-sqRELvD6.js","assets/useScrollLock-aaqhvzFs.js","assets/state-badge-BbpKF1NE.js","assets/route-CAwLPdN1.js","assets/nodes-DuOlBrgk.js","assets/redirect-B4OxYbs2.js","assets/service-metrics-BVlT0eqC.js","assets/allocate-address-Cj5JFsW1.js","assets/useNavigate-CTe_-BZA.js","assets/back-link-wsXUoJ12.js","assets/cli-command-panel-4C78XA6W.js","assets/check-BO7W8OSs.js","assets/copy-CamWo-pg.js","assets/use-copy-to-clipboard-DjiD3qo6.js","assets/input-CBUMH1Jl.js","assets/useValueChanged-3krk2xbP.js","assets/useControlled-DwxdYHYK.js","assets/ec2-BXFEIaSs.js","assets/useMutation-6rdxVQpi.js","assets/mutation-BziiWz5u.js","assets/subnet-calculator-DDrAb5xp.js","assets/zod-A4qtKH_p.js","assets/error-banner-DeOeVBKS.js","assets/form-actions-ECg9_Gdo.js","assets/field-BKQO3cRo.js","assets/separator-BFSV8f2Y.js","assets/ec2-CSDTsDKe.js","assets/create-internet-gateway-Cpxiz-Mj.js","assets/create-key-pair-CAViKLoj.js","assets/select-sbVkpt-r.js","assets/usePositioner-xrDm0DAw.js","assets/DirectionContext-C9rdm8xn.js","assets/useCompositeListItem-j3SLKnjj.js","assets/download-B-6MA128.js","assets/triangle-alert-DcjzeKLg.js","assets/import-key-pair-BivCaRzr.js","assets/textarea-CTBs9AlF.js","assets/create-launch-template-CZvRqBCG.js","assets/launch-template-data-fields-KubGXzaR.js","assets/useSuspenseQuery-Bc7E1P-f.js","assets/collapsible-C1lL0Zbp.js","assets/create-load-balancer--N6lPrkX.js","assets/acm-Bq1Zikkw.js","assets/certificate-import-dialog-_-hne95o.js","assets/elbv2-ONj45CAs.js","assets/commandBuilder-Bhaug6xi.js","assets/elbv2-DiAEDg-6.js","assets/tags-field-array-JxF8jxRw.js","assets/plus-BodhJT2v.js","assets/trash-DVab4pEz.js","assets/target-group-form-BEZOHxnM.js","assets/elbv2-BbL0yKcd.js","assets/create-nat-gateway-z5NzuiEa.js","assets/create-placement-group-D_o6h2Gq.js","assets/create-route-table-0q7LO8Yz.js","assets/create-security-group-BVBSieXt.js","assets/create-subnet-D6P8yW2z.js","assets/create-target-group-D5bQ4Fa3.js","assets/create-volume-BjkVTXNd.js","assets/create-vpc-HC_JSJiq.js","assets/task-definitions-CSGupk2f.js","assets/ecs-CXQ6NRIM.js","assets/ecs-MIRMclL6.js","assets/delete-confirmation-dialog-8byauM7I.js","assets/ecs-section-nav-CSH8MVoU.js","assets/create-cluster-Bf6-qWHk.js","assets/eks-u2D4kfib.js","assets/commandBuilder-BtsaezuD.js","assets/json-CeLiNx_J.js","assets/iam-DtFzCnrP.js","assets/commandBuilder-D4HJ1FUj.js","assets/iam-3D5jlLAz.js","assets/system-managed-Dk7ySh_E.js","assets/system-image-required-CQ5Fv5O6.js","assets/rotate-cw-FTUcK_f-.js","assets/policy-document-viewer-DAhLJAGU.js","assets/create-group-VmQiXMub.js","assets/iam-CADYUEJg.js","assets/create-instance-profile-CPrh3RAf.js","assets/create-policy-BdeMN_up.js","assets/json-editor-C0uKwIA1.js","assets/create-role-B2wFJBjO.js","assets/create-user-D4y-u65_.js","assets/create-db-instance-CFzM44Sn.js","assets/rds-DAdlCPnc.js","assets/rds-BZ7PQo73.js","assets/rds-BqttqI3-.js","assets/picker-notice-tK9XfUSR.js","assets/security-group-checkboxes-CQUrWfTk.js","assets/create-db-parameter-group-CUcSdIga.js","assets/create-db-subnet-group-CuUW4IsJ.js","assets/create-bucket-eeiuIrsW.js","assets/s3-B_NubPB2.js","assets/ls-CWzC4f47.js","assets/list-card-PsHyk9Gp.js","assets/route-MJhrpG5n.js","assets/list-model-catalog-CeG1beQW.js","assets/list-guardrails-Cq4kt2fN.js","assets/bedrock-C1QgpHT0.js","assets/commandBuilder-CoEgFfhA.js","assets/create-DTpWMMJH.js","assets/bedrock-DVvgyVOV.js","assets/guardrail-form-page-CDvF9We8.js","assets/list-knowledge-bases-BJaqqlKH.js","assets/bedrockAgent-CGGLePgZ.js","assets/commandBuilder-BIFyM5s9.js","assets/create-BO1fFlSv.js","assets/bedrockAgent-A0KwD-f8.js","assets/list-model-access-_5zWqGCi.js","assets/playground-Cush5Er_.js","assets/commandBuilder-COpzvCP1.js","assets/describe-addresses-CX48-jv1.js","assets/describe-images-DU3F5FiN.js","assets/describe-instances-2mfa0kO7.js","assets/describe-internet-gateways-BCKNPwC9.js","assets/describe-key-pairs-BFrqVQj0.js","assets/describe-launch-templates-CacWu1yX.js","assets/describe-load-balancers-DAKWE795.js","assets/describe-nat-gateways-DGO7NhS6.js","assets/describe-placement-groups-Cn4M8Qw5.js","assets/describe-route-tables-B85w9Xcr.js","assets/describe-security-groups-CorF76Fg.js","assets/describe-snapshots-C4LyUqXx.js","assets/describe-subnets-DgMQfiqj.js","assets/describe-target-groups-BmI4rGfj.js","assets/describe-volumes-COLmjwXx.js","assets/describe-vpcs-BnIpgEwn.js","assets/list-repositories-CFHE_leH.js","assets/ecr-CPyxVUeb.js","assets/ecr-B0fWSgjS.js","assets/list-clusters-CYIpXZk9.js","assets/list-clusters-Blcu3VSI.js","assets/eks-b7zY4GyW.js","assets/list-groups-D6hjD6YQ.js","assets/list-instance-profiles-INcvr5n3.js","assets/list-policies-DPQJyoNC.js","assets/list-roles-D20fg59j.js","assets/list-users-DRJSk6hA.js","assets/describe-db-instances-CLwlt50q.js","assets/delete-db-instance-dialog-p8ulz5Lm.js","assets/describe-db-parameter-groups-Xj7h_agu.js","assets/delete-db-parameter-group-dialog-afL4KYPO.js","assets/rds-delete-dialog-BGfKxzDX.js","assets/describe-db-snapshots-ByVAmk9k.js","assets/create-db-snapshot-dialog-De2OjDH8.js","assets/delete-db-snapshot-dialog-hCpZTnCW.js","assets/describe-db-subnet-groups-B0xn02S1.js","assets/delete-db-subnet-group-dialog-BohXm6zU.js"])))=>i.map(i=>d[i]); +import{i as e,n as t,o as n,r,t as i}from"./compiler-runtime-D_vZfn79.js";import{A as a,C as o,E as s,a as c,b as l,c as u,g as d,h as f,k as p,m,o as h,s as g,v as _,x as v,y}from"./removable-Dwr9otKB.js";import{t as b}from"./query-BPr_oSEg.js";import{t as x}from"./mutation-BziiWz5u.js";import{a as S,i as C,n as w,o as T,r as E,t as D}from"./lazyRouteComponent-D0nAq0Je.js";import{C as O,S as k,T as ee,_ as te,a as ne,b as re,c as ie,d as ae,f as oe,g as se,h as ce,i as le,l as ue,m as de,n as fe,o as pe,p as me,r as he,t as A,u as ge,v as _e,w as j,y as M}from"./link-BokOReHc.js";import{a as ve,i as ye,n as be,o as xe,r as Se,t as N}from"./Match-D6VSR81X.js";import{r as Ce}from"./matchContext-DjfNTEDZ.js";import{n as we,t as Te}from"./redirect-B4OxYbs2.js";import{a as Ee,n as De,r as Oe,t as ke}from"./useSelector-C6_B_5v6.js";import{n as Ae}from"./with-selector-DrM041uv.js";import{t as je}from"./useNavigate-CTe_-BZA.js";import{f as Me,i as Ne,n as Pe,t as Fe}from"./useValueAsRef-BRYYjd2W.js";import{a as Ie,f as Le,l as Re,n as ze,o as Be,t as Ve,u as He}from"./dist-DEhWxN7p.js";import{t as Ue}from"./useRender-D_r-BeIy.js";import{n as We,nn as P,o as Ge,r as Ke,s as qe,ut as F}from"./cluster-config-DNNpxkEw.js";import{t as I}from"./createLucideIcon-BQgzNCBR.js";import{t as Je}from"./camera-bmANKZ8M.js";import{a as Ye,i as Xe,n as Ze,o as Qe,r as $e,s as et,t as tt}from"./waypoints-DE7eIn9V.js";import{n as nt,t as rt}from"./_id-Bu86Ozrp.js";import{t as it}from"./network-RAx0KOlf.js";import{n as at,t as ot}from"./_clusterName-ujtlowL_.js";import{n as st,t as ct}from"./_id-Cd-Ww3Z8.js";import{_ as lt,b as ut,n as dt,o as ft,s as pt,t as mt,y as ht}from"./button-C9VMD5Xn.js";import{C as gt,E as _t,S as vt,b as yt,f as bt,g as xt,h as St,i as Ct,m as wt,s as Tt,t as Et,v as Dt,w as Ot,x as kt,y as At}from"./createBaseUIEventDetails-sqRELvD6.js";import{$ as jt,D as Mt,E as Nt,H as Pt,L as Ft,M as It,O as Lt,P as Rt,S as zt,St as Bt,Y as Vt,at as Ht,b as Ut,ct as Wt,g as Gt,h as Kt,it as L,j as qt,k as Jt,m as Yt,nt as Xt,ot as Zt,p as Qt,st as $t,tt as en,ut as tn,w as nn,wt as rn,x as an,y as on,z as sn}from"./useScrollLock-aaqhvzFs.js";import{n as cn,r as ln,t as un}from"./usePositioner-xrDm0DAw.js";import"./input-CBUMH1Jl.js";import{t as dn}from"./separator-BFSV8f2Y.js";import{a as fn,c as pn,i as mn,l as hn,n as gn,o as _n,r as vn,s as yn,t as bn}from"./DialogTitle-BIRU7hlM.js";import{t as xn}from"./awsClient-Bm9ksq2r.js";import{n as Sn,t as Cn}from"./admin-context-CDHgX8i9.js";import{t as wn}from"./acm-Bq1Zikkw.js";import{i as Tn,t as En}from"./bedrock-C1QgpHT0.js";import{i as Dn}from"./bedrockAgent-CGGLePgZ.js";import{A as On,E as kn,M as An,O as jn,S as Mn,_ as Nn,c as Pn,d as Fn,h as In,l as Ln,n as Rn,o as zn,p as Bn,r as Vn,w as Hn,y as Un}from"./ec2-BzWGOxUI.js";import{n as Wn}from"./ecr-CPyxVUeb.js";import{n as Gn,o as Kn}from"./ecs-CXQ6NRIM.js";import{c as qn}from"./eks-b7zY4GyW.js";import{a as Jn,o as Yn,u as Xn}from"./elbv2-DiAEDg-6.js";import{C as Zn,f as Qn,l as $n,p as er,y as tr}from"./iam-3D5jlLAz.js";import{a as nr,d as rr,h as ir,o as ar,r as or}from"./rds-BqttqI3-.js";import{n as sr}from"./s3-DhhvwV7v.js";import{t as cr}from"./login-DiEye2GK.js";import{t as lr}from"./run-instances-IlcZaw6e.js";import{t as ur}from"./create-snapshot-CcXkvbR6.js";import{t as dr}from"./create-service-DF-sOwj3.js";import{t as fr}from"./register-task-definition-C2QT22pa.js";import{t as pr}from"./run-task-Cx5ZSMtQ.js";import{t as mr}from"./_knowledgeBaseId-DQawITtr.js";import{t as hr}from"./_id-C1szo2bQ.js";import{t as gr}from"./_id-D5CApzw1.js";import{t as _r}from"./_id-CHbbEp3J.js";import{t as vr}from"./_id-ChrUHOzx.js";import{t as yr}from"./_id-CihXDo2a.js";import{t as br}from"./_id-BKrvyNGK.js";import{t as xr}from"./_id-ByxwpX75.js";import{t as Sr}from"./_id-DflRwii5.js";import{t as Cr}from"./_id-UthkaM-l.js";import{t as wr}from"./_id-Xfn6G0NO.js";import{t as Tr}from"./_id-DzUrXYNb.js";import{t as Er}from"./_id-nDT4SPkw.js";import{t as Dr}from"./_id-O0zfpNfp.js";import{t as Or}from"./_id-BzKiV85u.js";import{t as kr}from"./_id-Dl1qhQTl.js";import{t as Ar}from"./_id-DJwwmBFl.js";import{t as jr}from"./_clusterName-Dz3sFLA3.js";import{t as Mr}from"./_groupName-C4S4cVyl.js";import{t as Nr}from"./_instanceProfileName-BpsvO6RI.js";import{t as Pr}from"./_policyArn-CZ_-qqxj.js";import{t as Fr}from"./_roleName-D14GhLGW.js";import{t as Ir}from"./_userName-CSg21Ka8.js";import{t as Lr}from"./_id-CvQ6rk4b.js";import{t as Rr}from"./_name-S9yeYUIm.js";import{t as zr}from"./_id-bPyVIHrg.js";import{t as Br}from"./_id-C9TqKt_R.js";import{t as Vr}from"./_name-BE-qhbhl.js";import{t as Hr}from"./_bucket-DXpP7x_7.js";import{t as Ur}from"./_-C4MbGc9c.js";import{t as Wr}from"./_guardrailId.index-DCCvASgI.js";import{t as Gr}from"./_guardrailId.edit-eJIkfqKy.js";import{t as Kr}from"./_serviceName-DUn18F2R.js";import{t as qr}from"./_taskId-CjE6gFp4.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var Jr=class extends u{#e;#t;#n;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}build(e,t,n){let r=new x({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Yr(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Yr(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Yr(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=Yr(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){h.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>_(t,e))}findAll(e={}){return this.getAll().filter(t=>_(e,t))}notify(e){h.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return h.batch(()=>Promise.all(e.map(e=>e.continue().catch(l))))}};function Yr(e){return e.options.scope?.id}var Xr=class extends u{#e;constructor(e={}){super(),this.config=e,this.#e=new Map}build(e,t,n){let r=t.queryKey,i=t.queryHash??d(r,t),a=this.get(i);return a||(a=new b({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){this.#e.get(e.queryHash)===e&&(e.destroy(),this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){h.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>y(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>y(e,t)):t}notify(e){h.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){h.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){h.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Zr=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Xr,this.#t=e.mutationCache||new Jr,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=g.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=c.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(o(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=m(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return h.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;h.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return h.batch(()=>{let r=n.findAll(e),i=new Set(r);return r.forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,predicate:e=>i.has(e)},t)})}cancelQueries(e,t={}){let n={revert:!0,...t},r=h.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(l).catch(l)}invalidateQueries(e,t={}){return h.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=h.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(l)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(l)}async query(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t),r=n.isStaleByTime(o(t.staleTime,n))?await n.fetch(t):n.state.data,i=t.select;return i?i(r):r}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(o(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(l).catch(l)}infiniteQuery(e){return e._type=`infinite`,this.query(e)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(l).catch(l)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return c.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(f(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{v(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(f(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{v(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=d(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===s&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};function Qr(){try{return sessionStorage}catch{return}}var $r=`tsr-scroll-restoration-v1_3`,ei=Qr();function ti(){try{return JSON.parse(ei?.getItem(`tsr-scroll-restoration-v1_3`)||`{}`)}catch{return{}}}var ni=ti(),ri=`data-scroll-restoration-id`,ii=e=>e.state.__TSR_key||e.href;function ai(e){let t=e.getAttribute(ri);if(t)return`[${ri}="${t}"]`;let n=``,r=e,i;for(;i=r.parentNode;){let e=1,t=r;for(;t=t.previousElementSibling;)e++;let a=`${r.localName}:nth-child(${e})`;n=n?`${a} > ${n}`:a,r=i}return n}var oi=!1,si=`window`;function ci(e){try{return typeof e==`function`?e():document.querySelector(e)}catch{}}function li(e){let t=new Set;for(let n of e){if(n===si)continue;let e=ci(n);e&&t.add(e)}return t}function ui(e,t){let n=t??e.options.scrollRestoration,r=e._scroll;n&&(r.e=!0);let i=e.options.getScrollRestorationKey||ii,a=new Set,o=e=>{let t=ni[e]||={};for(let e of a)e===document?t[si]={scrollX,scrollY}:e.isConnected&&(t[ai(e)]={scrollX:e.scrollLeft,scrollY:e.scrollTop})};n&&!r.s&&(r.s=!0,oi=!1,history.scrollRestoration=`manual`,document.addEventListener(`scroll`,e=>{oi||a.add(e.target)},!0),e.subscribe(`onBeforeLoad`,e=>{e.fromLocation&&o(i(e.fromLocation)),a.clear()}),addEventListener(`pagehide`,()=>{history.scrollRestoration=`auto`,o(i(e.stores.resolvedLocation.get()??e.stores.location.get()));try{ei?.setItem($r,JSON.stringify(ni))}catch{}}),addEventListener(`pageshow`,e=>{e.persisted&&(history.scrollRestoration=`manual`)})),!r.r&&(r.r=!0,e.subscribe(`onRendered`,t=>{let n=e.options.scrollRestorationBehavior,o=e.options.scrollToTopSelectors,s=r.n,c=r.h,l;if(a.clear(),r.n=!0,r.h=!1,typeof e.options.scrollRestoration==`function`&&!e.options.scrollRestoration({location:e.latestLocation}))return;let u=i(t.toLocation),d=t.fromLocation&&i(t.fromLocation);if(r.e&&d&&d!==u){let e=ni[d];if(e){let t=ni[u];for(let n in e){if(n===si){if(s)continue}else{let e=ci(n);if(!e||s&&o&&(l??=li(o),l.has(e)))continue}t||=ni[u]={},t[n]??=e[n]}}}oi=!0;try{let e=t.toLocation.hash,i=t.toLocation.state.__hashScrollIntoViewOptions??!0,a=!1;if(s){!e&&o&&(l??=li(o));let t=e&&i&&c,s=r.e?ni[u]:void 0;if(s)for(let e in s){let{scrollX:r,scrollY:i}=s[e];if(e===si){if(t)continue;scrollTo({top:i,left:r,behavior:n}),a=!0}else{let t=ci(e);t&&(t.scrollLeft=r,t.scrollTop=i,l?.delete(t))}}if(!e){let e={top:0,left:0,behavior:n};if(a||scrollTo(e),l)for(let t of l)t.scrollTo(e)}}!a&&e&&i&&document.getElementById(e)?.scrollIntoView(i)}finally{oi=!1}}))}function di(e,t=String){let n;for(let r in e){let i=e[r];i!==void 0&&(n||=new URLSearchParams).set(r,t(i))}return n?n.toString():``}function fi(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function pi(e){let t=new URLSearchParams(e),n=Object.create(null);for(let[e,r]of t.entries()){let t=n[e];t==null?n[e]=fi(r):Array.isArray(t)?t.push(fi(r)):n[e]=[t,fi(r)]}return n}var mi=/^(?:\s|["[{\d-]|fa|nu|tr)/,hi=_i(JSON.parse),gi=vi(JSON.stringify,JSON.parse);function _i(e){let t=e===JSON.parse;return n=>{n[0]===`?`&&(n=n.substring(1));let r=pi(n);for(let n in r){let i=r[n];if(typeof i==`string`){if(t&&!mi.test(i))continue;try{r[n]=e(i)}catch{}}}return r}}function vi(e,t){let n=t===JSON.parse;function r(r){if(r&&typeof r==`object`)try{return e(r)}catch{}else if(t&&typeof r==`string`){if(n&&!mi.test(r))return r;try{return t(r),e(r)}catch{}}return r}return e=>{let t=di(e,r);return t?`?${t}`:``}}function yi(e){let t=new Map,n,r;return{get(e){let n=t.get(e);if(n)return n.visited=!0,n.value},set(i,a){let o=t.get(i);if(o){o.value=a;return}if(t.size>=e){let e=n?.next().value;for(;!e||e.visited;)e?e.visited=!1:n=t.values(),e=n.next().value;e===r&&(n=void 0),t.delete(e.key)}let s={key:i,value:a,visited:!1};r=s,t.set(i,s)},clear(){t.clear(),n=void 0,r=void 0}}}var bi=4,xi=5;function Si(e){let t=e.names;if(t)return t;let n=[];for(let t of e)typeof t!=`string`&&n.push(t[1]);return e.names=n}function Ci(e,t,n){let r=e.substring(t,n);if(r.charCodeAt(0)===36)return r.length===1?[2,`_splat`,``,void 0]:[1,r.substring(1),``,``];let i=r.indexOf(`{`);if(i>=0){let a=r.indexOf(`}`,i),o=r.charCodeAt(i+1)===45,s=i+(o?3:2);if(a>=0&&r.charCodeAt(s-1)===36&&(!o||s!e.parse&&e.caseSensitive===_&&e.prefix===h&&e.suffix===g);if(y)c=y;else{let e=Ei(r,t,_,h,g);c=e,v.push(e),v.length===2&&i?.push(v)}}r=c}p&&m=0;e--){let n=i.wildcard[e],{prefix:r,suffix:a}=n;if(!r||!_&&(n.caseSensitive?v:y??=v.toLowerCase()).startsWith(r)){if(a){if(_)continue;let e=t.slice(u).join(`/`),i=e.slice(-a.length);if((n.caseSensitive?i:i.toLowerCase())!==a||e.length-a.length=0;t--){let n=i.optional[t];s.push({node:n,index:u,skipped:e,statics:f,dynamics:p,optionals:m,extract:h,rawParams:g})}if(!_)for(let e=i.optional.length-1;e>=0;e--){let t=i.optional[e],{prefix:n,suffix:r}=t;if(n||r){let e=t.caseSensitive?v:y??=v.toLowerCase();if(n&&!e.startsWith(n)||r&&e.indexOf(r,e.length-r.length)=0;e--){let t=i.dynamic[e],{prefix:n,suffix:r}=t;if(n||r){let e=t.caseSensitive?v:y??=v.toLowerCase();if(n&&!e.startsWith(n)||r&&e.indexOf(r,e.length-r.length)=0;e--){let t=i.pathless[e];s.push({node:t,index:u,skipped:d,statics:f,dynamics:p,optionals:m,extract:h,rawParams:g})}}if(l)return l;if(r&&c){let n=c.index;for(let e=0;ee.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===bi)>(e.node.kind===bi)||t.node.kind===bi==(e.node.kind===bi)&&t.node.depth>e.node.depth)))}function Vi(e,t,n){let r=pe(e),i=`/${r}`,a=t?i:i.toLowerCase(),o=`${a}/`,s={input:({url:e})=>{let n=t?e.pathname:e.pathname.toLowerCase();return n===a?e.pathname=`/`:n.startsWith(o)&&(e.pathname=e.pathname.slice(i.length)),e},output:({url:e})=>(e.pathname=fe(`/${r}${e.pathname}`),e)};return n?{input:({url:e})=>Hi(n,s.input({url:e})),output:({url:e})=>s.output({url:Ui(n,e)})}:s}function Hi(e,t){let n=e?.input?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Ui(e,t){let n=e?.output?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Wi(e,t){let{createMutableStore:n,createReadonlyStore:r,batch:i}=t,a=new Map,o=n(`idle`),s=n(e),c=n(void 0),l=n([]),u=r(()=>l.get().map(e=>a.get(e).get())),d=r(()=>({status:o.get(),isLoading:o.get()===`pending`,matches:u.get(),location:s.get(),resolvedLocation:c.get()}));function f(e){let t=a.get(e);return t||(t=n(void 0),a.set(e,t)),t}let p={status:o,location:s,resolvedLocation:c,ids:l,matches:u,byRoute:a,__store:d,getMatchStore:f,setMatches:m};function m(e){let t=l.get(),n=e.map(e=>e.routeId);i(()=>{ge(t,n)||l.set(n);for(let e of t)n.includes(e)||a.get(e).set(()=>void 0);for(let t of e){let e=f(t.routeId);e.get()!==t&&e.set(t)}})}return p}var Gi=`__TSR_index`,Ki=`popstate`,qi=`beforeunload`,Ji=/^[\x00-\x20]*(?:[\\/][\t\n\r]*){2,}/;function Yi(e){let t=Ji.exec(e);return t?`/`+e.slice(t[0].length):e}function Xi(e){return/[\x00-\x1f\x7f]/.test(e)&&(e=e.replace(/[\x00-\x1f\x7f]/g,e=>` \r`.includes(e)?``:encodeURIComponent(e))),Yi(e)}function Zi(e){let t=e.getLocation(),n=new Set,r=r=>{t=e.getLocation(),n.forEach(e=>e({location:t,action:r}))},i=n=>{e.notifyOnIndexChange??!0?r(n):t=e.getLocation()},a=async({task:n,navigateOpts:r,...i})=>{if(r?.ignoreBlocker??!1){n();return}let a=e.getBlockers?.()??[],o=i.type===`PUSH`||i.type===`REPLACE`;if(typeof document<`u`&&a.length&&o)for(let n of a){let r=ea(i.path,i.state);if(await n.blockerFn({currentLocation:t,nextLocation:r,action:i.type})){e.onBlocked?.();return}}n()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:e=>(n.add(e),()=>{n.delete(e)}),push:(n,i,o)=>{let s=t.state[Gi];i=Qi(s+1,i),a({task:()=>{e.pushState(n,i),r({type:`PUSH`})},navigateOpts:o,type:`PUSH`,path:n,state:i})},replace:(n,i,o)=>{let s=t.state[Gi];i=Qi(s,i),a({task:()=>{e.replaceState(n,i),r({type:`REPLACE`})},navigateOpts:o,type:`REPLACE`,path:n,state:i})},go:(t,n)=>{a({task:()=>{e.go(t,n?.ignoreBlocker??!1),i({type:`GO`,index:t})},navigateOpts:n,type:`GO`})},back:t=>{a({task:()=>{e.back(t?.ignoreBlocker??!1),i({type:`BACK`})},navigateOpts:t,type:`BACK`})},forward:t=>{a({task:()=>{e.forward(t?.ignoreBlocker??!1),i({type:`FORWARD`})},navigateOpts:t,type:`FORWARD`})},canGoBack:()=>t.state[Gi]!==0,createHref:t=>e.createHref(t),block:t=>{if(!e.setBlockers)return()=>{};let n=e.getBlockers?.()??[];return e.setBlockers([...n,t]),()=>{let n=e.getBlockers?.()??[];e.setBlockers?.(n.filter(e=>e!==t))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r,_getBlockers:()=>e.getBlockers?.()??[]}}function Qi(e,t){let n=ta();return{...t,key:n,__TSR_key:n,[Gi]:e}}function $i(e){let t=e?.window??(typeof document<`u`?window:void 0),n=t.history.pushState,r=t.history.replaceState,i=[],a=()=>i,o=e=>i=e,s=t=>Xi(e?.createHref?e.createHref(t):t),c=e?.parseLocation??(()=>ea(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){let e=ta();t.history.replaceState({[Gi]:0,key:e,__TSR_key:e},``)}let l=c(),u,d=!1,f=!1,p=!1,m=!1,h=()=>l,g,_=()=>{g&&(S._ignoreSubscribers=!0,(g[2]?t.history.pushState:t.history.replaceState)(g[1],``,g[0]),S._ignoreSubscribers=!1,g=void 0,u=void 0)},v=(t,n,r)=>{let i=e?.createHref?s(n):void 0,a=!!g;a||(u=l),l=ea(n,r),g=[i??l.href,r,g?.[2]||t],a||queueMicrotask(()=>_())},y=e=>{l=c(),S.notify({type:e})},b=async()=>{if(m=!1,f){f=!1;return}let e=c(),n=e.state[Gi]-l.state[Gi],r=n===1,i=n===-1,o=!r&&!i||d;d=!1;let s=o?`GO`:i?`BACK`:`FORWARD`,u=o?{type:`GO`,index:n}:{type:i?`BACK`:`FORWARD`};if(p)p=!1;else{let r=a();if(typeof document<`u`&&r.length){for(let i of r)if(await i.blockerFn({currentLocation:l,nextLocation:e,action:s})){f=!0,t.history.go(-n),S.notify(u);return}}}l=c(),S.notify(u)},x=e=>{if(m){m=!1;return}let t=!1,n=a();if(typeof document<`u`&&n.length)for(let e of n){let n=e.enableBeforeUnload??!0;if(n===!0){t=!0;break}if(typeof n==`function`&&n()===!0){t=!0;break}}if(t)return e.preventDefault(),e.returnValue=``},S=Zi({getLocation:h,getLength:()=>t.history.length,pushState:(e,t)=>v(!0,e,t),replaceState:(e,t)=>v(!1,e,t),back:e=>(e&&(p=!0,m=!0),t.history.back()),forward:e=>{e&&(p=!0,m=!0),t.history.forward()},go:(e,n)=>{d=!0,n&&(p=!0,m=!0),t.history.go(e)},createHref:e=>s(e),flush:_,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(qi,x,{capture:!0}),t.removeEventListener(Ki,b)},onBlocked:()=>{u&&l!==u&&(l=u)},getBlockers:a,setBlockers:o,notifyOnIndexChange:!1});return S._ignoreNextBeforeUnload=e=>{m=!1;try{e=new URL(e,t.document.baseURI).href,m=/^https?:/.test(e)&&(!e.includes(`#`)||e.split(`#`)[0]!==t.location.href.split(`#`)[0])}catch{}},t.addEventListener(qi,x,{capture:!0}),t.addEventListener(Ki,b),t.history.pushState=function(...e){let r=n.apply(t.history,e);return S._ignoreSubscribers||y(`PUSH`),r},t.history.replaceState=function(...e){let n=r.apply(t.history,e);return S._ignoreSubscribers||y(`REPLACE`),n},S}function ea(e,t){let n=Xi(e),r=n.indexOf(`#`),i=n.indexOf(`?`);if(!t){let e=ta();t={[Gi]:0,key:e,__TSR_key:e}}return{href:n,pathname:n.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:n.length),hash:r>-1?n.substring(r):``,search:i>-1?n.slice(i,r===-1?void 0:r):``,state:t}}function ta(){return(Math.random()+1).toString(36).substring(7)}function na(e,t){return e.protocol!==`http:`&&e.protocol!==`https:`||e.origin!==t||!!e.username||!!e.password}function ra(e){return e.pathname+e.search+e.hash}function ia(e){return e.options.loader||e.options.beforeLoad||e.lazyFn||e.options.component?.preload||e.options.pendingComponent?.preload}function R(e,t){return{fromLocation:t,toLocation:e,pathChanged:t?.pathname!==e.pathname,hrefChanged:t?.href!==e.href,hashChanged:t?.hash!==e.hash}}function z({key:e,__TSR_key:t,__TSR_index:n,__hashScrollIntoViewOptions:r,...i}){return i}function aa(e){return e.findIndex(e=>e.status===`error`||e.status===`notFound`||e._notFound)+1}function oa(e,t,n,r,i,a){r&&(t=t.slice(0,r)),i&&(n=n.slice(0,i));for(let r of t){if(a&&e._tx!==a)return;n.some(e=>e.routeId===r.routeId)||e.routesById[r.routeId].options.onLeave?.(r)}for(let r of n){if(a&&e._tx!==a)return;e.routesById[r.routeId].options[t.some(e=>e.routeId===r.routeId)?`onStay`:`onEnter`]?.(r)}}var sa=class{constructor(e,t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={n:!0},this.subscribers=new Set,this._cache=new Map,this._committed=[],this.startTransition=async e=>(e(),!1),this.update=e=>{let t=this.options;this.options={...t,...e},this.isServer=this.options.isServer??!1??typeof document>`u`,this.staticLocations=new WeakMap,this.protocolAllowlist=new Set(this.options.protocolAllowlist),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.history=this.options.history?this.options.history:$i()),this.origin=this.options.origin,this.origin||=window?.origin&&window.origin!==`null`?window.origin:`http://localhost`;let n=this.options.basepath??`/`,r=this.options.rewrite,i=this.basepath!==n||t?.rewrite!==r||t?.caseSensitive!==this.options.caseSensitive;if(i&&(this.basepath=n,this.rewrite=n!==`/`&&pe(n)?Vi(n,this.options.caseSensitive,r):r),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let e;e=this.buildRouteTree(),this.setRoutes(e)}if(this.stores)i&&this.stores.location.set(this.latestLocation);else if(this.latestLocation){let e=this.getStoreConfig(this);this.batch=e.batch,this.stores=Wi(this.latestLocation,e),ui(this)}},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let e=ji(this.routeTree,this.options.caseSensitive);return this.options.routeMasks&&Di(this.options.routeMasks,e.processedTree),{...e,resolvePathCache:yi(1e3)}},this.subscribe=(e,t)=>{let n={eventType:e,fn:t};return this.subscribers.add(n),()=>{this.subscribers.delete(n)}},this.emit=e=>{for(let t of this.subscribers)if(t.eventType===e.type)try{t.fn(e)}catch(e){console.error(e)}},this.parseLocation=(e,t)=>{let n=({pathname:e,search:n,hash:r,href:i},a)=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){let i=this.options.parseSearch(n),o=this.options.stringifySearch(i);return{href:e+o+r,publicHref:e+o+r,pathname:oe(e),external:!1,searchStr:o,search:O(t?.search,i),hash:oe(r.slice(1)),state:ee(t?.state,a)}}let o=Hi(this.rewrite,new URL(i,this.origin)),s=this.options.parseSearch(o.search),c=this.options.stringifySearch(s);return o.search=c,{href:o.href.replace(o.origin,``),publicHref:i,pathname:oe(Yi(o.pathname)),external:!!this.rewrite&&na(o,this.origin),searchStr:c,search:O(t?.search,s),hash:oe(o.hash.slice(1)),state:ee(t?.state,a)}},r=n(e,e.state),{__tempLocation:i,__tempKey:a}=r.state;if(i&&(!a||a===this.tempLocationKey)){let e=n(i,{...i.state,__tempLocation:void 0,key:r.state.key,__TSR_key:r.state.__TSR_key});return e.maskedLocation=r,e}return r},this.matchRoutes=(e,t,n)=>typeof e==`string`?this.matchRoutesInternal({pathname:e,search:t},n):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>{let t=Object.create(null),n=Ai(ie(e),this.processedTree,!0);return n&&Object.assign(t,n.rawParams),[n?.branch||[this.routesById.__root__],t,n?.route]},this.buildLocation=e=>{{let t=this.staticLocations.get(e);if(t)return t}let t=!1,n=(n={})=>{if(n.href){let e=ea(n.href,{});n={...n,to:Hi(this.rewrite,new URL(e.pathname,this.origin)).pathname,search:this.options.parseSearch(e.search),hash:e.hash.slice(1)}}let r=n._fromLocation||this._pendingLocation||this.latestLocation,i,a=()=>(t=!0,r),o=()=>(t=!0,i??=this.matchRoutesLightweight(r)),s=n.to?`${n.to}`:`.`,c=ne(s[0]===`/`?``:n.unsafeRelative===`path`?a().pathname:n.from??o()[1],s,this.options.trailingSlash,this.resolvePathCache),l=this.routesByPath[ie(c)],u=c.includes(`$`),d;if(l)d=l._branch??=Pi(l);else if(u)d=[];else{let[e,t,n]=this.getMatchedRoutes(c);d=e,this.options.notFoundRoute&&(!n||n.path!==`/`&&t[`**`])&&(d=[...d,this.options.notFoundRoute])}let f=u?l?._interpolation??wi(!1,{fullPath:c},0):void 0,p;for(let e of d){let t=e.options.params?.stringify??e.options.stringifyParams;if(t){let e=o()[3];if(p??=fa(n.params,e),!_e(p))break;p===e&&(p=Object.assign(ae(),p));try{Object.assign(p,t(p))}catch{}}}p??=fa(n.params,pa(n.params,f)?o()[3]:ma);let m=e.leaveParams?c:Yi(oe(f?le(c,f,p,this.pathParamsDecoder):c)),h=ha(d,e._includeValidateSearch),g=()=>{let t=o()[2];if(e._includeValidateSearch&&this.options.search?.strict){let e={};d.forEach(n=>{if(n.options.validateSearch)try{Object.assign(e,da(n.options.validateSearch,{...e,...t}))}catch{}}),t=e}return t},_=h.length?ga(h,g(),n):n.search===!0?g():typeof n.search==`function`?n.search(g()):n.search||ma,v=this.options.stringifySearch(_),y=n.hash===!0?a().hash:typeof n.hash==`function`?n.hash(a().hash):n.hash||void 0,b=y?`#${y}`:``,x=n.state?n.state===!0?a().state:typeof n.state==`function`?n.state(a().state):n.state:ma,S=`${m}${v}${b}`,C,w,T=!1;if(this.rewrite){let e=new URL(S,this.origin),t=e.origin,n=Ui(this.rewrite,e);C=ra(e),na(n,t)?(w=n.href,T=!0):w=Yi(ra(n))}else C=de(S),w=C;return{publicHref:w,href:C,pathname:m,search:_,searchStr:v,state:x,hash:y??``,external:T,unmaskOnReload:n.unmaskOnReload}},r=n(e);if(e.mask)r.maskedLocation=n({from:e.from,...e.mask});else if(this.options.routeMasks){let t=Oi(r.pathname,this.processedTree);if(t){let i=Object.assign(ae(),t.rawParams),{from:a,params:o,...s}=t.route,c=fa(o,i);r.maskedLocation=n({from:e.from,...s,params:c})}}return!t&&e._fromLocation&&!r.maskedLocation&&this.staticLocations.set(e,r),r},this.commitLocation=async({viewTransition:e,ignoreBlocker:t,...n})=>{let r=n.maskedLocation??n;if(r.external)return ca(this,r.publicHref,{replace:n.replace,ignoreBlocker:t});let i,a=ie(this.latestLocation.href)===ie(n.href)&&me(z(n.state),z(this.latestLocation.state)),o=this._commitPromise,s,c=new Promise(e=>{s=e});if(c.resolve=()=>{s(),o?.resolve()},this._commitPromise=c,a)this.load();else{let{maskedLocation:r,hashScrollIntoView:a,...o}=n;r&&(o={...r,state:{...r.state,__tempKey:void 0,__tempLocation:{...o,search:o.searchStr,state:{...o.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(o.unmaskOnReload??this.options.unmaskOnReload??!1)&&(o.state.__tempKey=this.tempLocationKey)),o.state={...o.state,__hashScrollIntoViewOptions:a??this.options.defaultHashScrollIntoView??!0},this.shouldViewTransition=e,i=n.replace?`REPLACE`:`PUSH`,this.history[i===`REPLACE`?`replace`:`push`](o.publicHref,o.state,{ignoreBlocker:t}),this.history.subscribers.size||this.load({action:{type:i}})}return this._scroll.n=n.resetScroll??!0,this._commitPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:n,viewTransition:r,ignoreBlocker:i,...a}={})=>{let o=this.buildLocation({...a,_includeValidateSearch:!0});this._pendingLocation=o;let s=this.commitLocation({...o,viewTransition:r,replace:e,resetScroll:t,hashScrollIntoView:n,ignoreBlocker:i});return queueMicrotask(()=>{this._pendingLocation===o&&(this._pendingLocation=void 0)}),s},this.navigate=async({to:e,reloadDocument:t,href:n,publicHref:r,...i})=>{let a=n?te(n):void 0;if(a||t){if(e!==void 0||!n){let t=this.buildLocation({to:e,...i}),a=t.maskedLocation??t;n??=a.publicHref,r??=a.publicHref}let t=!a&&r?r:n;return ca(this,t,i)}return this.buildAndCommitLocation({...i,href:n,to:e,_isNavigate:!0})},this.load=async e=>{this.updateLatestLocation(),e?.action&&(this._scroll.h=e.action.type===`PUSH`||e.action.type===`REPLACE`),await lo(this,e)},this.startViewTransition=e=>{let t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&typeof document.startViewTransition==`function`){let n;if(typeof t==`object`&&window.CSS?.supports?.(`selector(:active-view-transition-type(a))`)){let r=this.latestLocation,i=this.stores.resolvedLocation.get(),a=typeof t.types==`function`?t.types(R(r,i)):t.types;if(a===!1)return e();n={update:e,types:a}}else n=e;return document.startViewTransition(n).updateCallbackDone}return e()},this.invalidate=e=>{let t=this._committed,n=e?.filter,r=this._preloads,i=new Set,a=e=>{(!n||n(e))&&i.add(e.id)};t.forEach(a),this._cache.forEach(a),r?.forEach(e=>e.forEach(a)),this._tx?.[3].forEach(a);let o=[];for(let[e,t]of r??[])t.some(e=>i.has(e.id))&&(r.delete(e),o.push(e));let s=t=>{if(i.has(t.id)){let n=this.routesById[t.routeId],r={...t,invalid:!0,...(e?.forcePending||t.status===`error`||t.status===`notFound`)&&ia(n)?{status:`pending`,error:void 0}:void 0};return t._flight=void 0,r}return t};this._committed=t.map(s);for(let[t,n]of this._cache)i.has(t)&&(n.invalid=!0,e?.forcePending&&(n.status=`pending`));for(let e of i){let t=this._flights?.get(e);this._flights?.delete(e),t&&!t[2]&&o.push(t[1])}for(let e of o)e.abort();return this.shouldViewTransition=!1,this.load({sync:e?.sync})},this.resolveRedirect=e=>{let t=e.options,n=e.headers.get(`Location`)||t.href;if(!n){let e=this.buildLocation(t);n=(e.maskedLocation??e).publicHref||`/`}let r;if(j.test(n)||(r=te(n))&&!this.protocolAllowlist.has(r))throw Error(`Redirect blocked: unsafe protocol`);if(r===`http:`||r===`https:`){let e=new URL(n);e.pathname.startsWith(`//`)?n=e.href:na(e,this.origin)||(n=ra(e),r=void 0)}return r&&(t.reloadDocument=!0),t.href=n,e.headers.set(`Location`,n),e},this.clearCache=e=>{let t=this._cache,n=this._preloads,r=e?.filter,i=[],a=[];for(let[e,n]of t)(!r||r(n))&&(a.push(e),i.push(n));let o=[];for(let[e,t]of n??[])(!r||t.some(r))&&(o.push(e),i.push(...t));for(let e of a)t.delete(e);for(let e of o)n.delete(e);for(let e of i){let t=e._flight;e._flight=void 0,t&&!--t[2]&&(this._flights?.get(e.id)===t&&this._flights.delete(e.id),o.push(t[1]))}for(let e of o)e.abort()},this.loadRouteChunk=xa,this.preloadRoute=e=>uo(this,e),this.matchRoute=(e,t)=>{let n={...e,to:e.to?ne(e.from||``,e.to,this.options.trailingSlash,this.resolvePathCache):void 0,params:e.params||{},leaveParams:!0},r=this.buildLocation(n),i=this.stores.status.get()===`pending`;if(t?.pending&&!i)return!1;let a=t?.pending??!i?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),o=ki(r.pathname,t?.caseSensitive??!1,t?.fuzzy??!1,a.pathname,this.processedTree);return!o||e.params&&!me(o.rawParams,e.params,!0)?!1:t?.includeSearch??!0?me(a.search,r.search,!0)?o.rawParams:!1:o.rawParams},this.getStoreConfig=t,e.pathParamsAllowedCharacters?.length&&(this.pathParamsDecoder=he(e.pathParamsAllowedCharacters)),this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??`fuzzy`,stringifySearch:e.stringifySearch??gi,parseSearch:e.parseSearch??hi,protocolAllowlist:e.protocolAllowlist??ue}),self.__TSR_ROUTER__=this}isShell(){return!!this.options.isShell}get state(){return this.stores.__store.get()}setRoutes(e){Object.assign(this,e),this.lightweightCache=new WeakMap,this.staticLocations=new WeakMap;let t=this.options.notFoundRoute;t&&(t.init(99999999999),this.routesById[t.id]!==t&&(t._interpolation=wi(!1,t,0)),this.routesById[t.id]=t)}matchRoutesInternal(e,t){let[n,r,i]=this.getMatchedRoutes(e.pathname),a=n,o=!1;(i?i.path!==`/`&&r[`**`]:ie(e.pathname))&&(this.options.notFoundRoute?a=[...a,this.options.notFoundRoute]:o=!0);let s=o?_a(this.options.notFoundMode,a):void 0,c=Array(a.length),l=this._committed,u=(e,t)=>{let n=l[t];return n?.routeId===e.id?n:e===this.options.notFoundRoute?l.find(t=>t.routeId===e.id):void 0},d;for(let n=0;ntypeof t!=`string`&&!M.call(e,t[1]))}var ma=Object.freeze({});function ha(e,t){let n=[];for(let r=0;r{let n=t(i.preSearchFilters?i.preSearchFilters.reduce((e,t)=>t(e),e):e);return i.postSearchFilters?i.postSearchFilters.reduce((e,t)=>t(e),n):n});let a=i.validateSearch;t&&a&&n.push(({search:e,next:t,meta:n})=>{let r=t(e);try{let e=da(a,r);if(n&&e)for(let t in e)t in r||(n.defaulted||=new Map).set(t,e[t]);return{...r,...e}}catch{}return r})}return n}function ga(e,t,n){let r=(t,i,a)=>{if(t>=e.length){if(!n.search)return{};if(n.search===!0)return i;let e=se(n.search,i);return a&&(a.explicit=e),e}return e[t]({search:i,next:(e,n)=>{if(n){let n=a||{};return{search:r(t+1,e,n),meta:n}}return r(t+1,e,a)},meta:a})};return r(0,t)}function _a(e,t){if(e!==`root`){let e;for(let n=t.length-1;n>=0;n--){let r=t[n];if(r.options.notFoundComponent)return r.id;e||=r.children&&r.id}if(e)return e}return Ce}function va(e,t){let n=e.options.params?.parse??e.options.parseParams;n&&Object.assign(t,n(t))}function ya(e,t){return e.options[t]?.preload?.()}function ba(e,t){let n=ya(e,`component`),r=ya(e,`pendingComponent`);return t&&(r?r=r.then(t):t()),n&&r?Promise.all([n,r]).then(()=>{}):n??r}function xa(e,t,n){let r=()=>t===!1?void 0:t?ya(e,t):ba(e,n),i=e._lazy;if(i)return i===!0?r():i.then(r);if(!e.lazyFn)return r();let a=e.lazyFn().then(t=>{{let{id:n,...r}=t.options;Object.assign(e.options,r),e._lazy=!0}},t=>{throw e._lazy=void 0,t});return e._lazy=a,a.then(r)}function Sa(e){let t=e.findIndex(e=>e.status!==`success`||e._notFound)+1;return t&&t{let i=()=>r(t);t.addEventListener(`abort`,i,{once:!0}),Promise.resolve(e).then(n,r).then(()=>t.removeEventListener(`abort`,i))})}function ja(e,t){return e.routesById[t.routeId]}function Ma(e,t,n){return Te(e)?[Da,e]:ve(e)?(e.routeId||=n,[Ea,e]):t?(typeof e?.then==`function`&&(e=Error(`A Promise was thrown`,{cause:e})),[Ta,e]):[wa,e]}function Na(e,t){let n=Ma(t,!0,e.id);if(n[0]!==Ta)return n;try{e.options.onError?.(n[1])}catch(t){n=Ma(t,!0,e.id)}return n}function Pa(e,t,n,r,i){return i[0].signal.aborted?Oa:Xa(e,t,n,Na(n,r),i)}async function Fa(e,t,n,r,i,a){let[o,s]=t,c=n[0].signal,l=!!n[3];for(let i=n[6]??0;ie.navigate({...t,_fromLocation:o}),buildLocation:e.buildLocation,cause:l?`preload`:r.cause,abortController:n[0],preload:l,matches:s,routeId:u.id};try{let e=r._ctx||=u.options.context?u.options.context({...f,deps:r.loaderDeps,context:d})||{}:void 0;r.context={...d,...e}}catch(a){return La(e,r),[i,Pa(e,t,u,a,n)]}if(c.aborted)return[i,Oa];let p=r.paramsError??r.searchError;if(p!==void 0)return La(e,r),[i,Pa(e,t,u,p,n)];let m=u.options.beforeLoad;if(!m)continue;let h=r.status;i>=a&&(r.status=`pending`,n[7]?.());try{Ba(e,r,`beforeLoad`,n[0]);let a=m({...f,search:r.search,context:r.context,...e.options.additionalContext}),o=await(typeof a?.then==`function`?Aa(a,c):a);if(c.aborted)return[i,Oa];let s=Xa(e,t,u,Ma(o,!1,u.id),n);if(s[0]!==wa)return La(e,r),[i,s];r.context={...r.context,...o}}catch(a){return La(e,r),[i,Pa(e,t,u,a,n)]}finally{r.status=h,Ba(e,r,!1,n[0])}}i()}function Ia(e,t,n){if(!(!n||--n[2])){if(e._flights?.get(t.id)===n){let n=e._tx;if(n&&!n[0].signal.aborted&&!n[3].includes(t)&&n[3].some(e=>e.id===t.id)&&n[3].some(e=>e.isFetching===`beforeLoad`))return;e._flights.delete(t.id)}return n[1]}}function La(e,t){let n=t._flight;t._flight=void 0,Ia(e,t,n)?.abort()}function Ra(e,t,n,r){let i=[];for(let a of t)if(!n?.includes(a)){let t=a._flight;if(a._flight=void 0,r&&t?.[2]===1&&e._flights?.get(a.id)===t&&n?.some(e=>e.id===a.id))t[2]=0;else{let n=Ia(e,a,t);n&&i.push(n)}}for(let e of i)e.abort()}function za(e){for(let t of e){let e=t._flight;e&&e[2]++}}function Ba(e,t,n,r){if(t.isFetching=n,r&&e._tx?.[0]!==r)return;let i=e.stores.byRoute.get(t.routeId),a=i?.get();a?.id===t.id&&i.set({...a,isFetching:n})}function Va(e,t,n,r,i,a,o){let s=t[0];return{params:n.params,location:s,navigate:t=>e.navigate({...t,_fromLocation:s}),cause:o?`preload`:n.cause,abortController:i,preload:o,deps:n.loaderDeps,parentMatchPromise:a,context:n.context,route:r,...e.options.additionalContext}}async function Ha(e,t,n,r,i,a,o){let s=o[0],c=s.signal;if(c.aborted)return Oa;if(!i)return[wa,void 0];let l=n._flight;Ba(e,n,`loader`,s);try{if(!l){let s=new AbortController;l=[Promise.resolve().then(()=>i(Va(e,t,n,r,s,a,!!o[3]))).then(e=>Ma(e,!1,r.id),e=>Ma(e,!0,r.id)).then(t=>(t[0]!==wa&&e._flights?.get(n.id)===l&&(e._flights.delete(n.id),l[2]||s.abort()),t[0]===Ta&&l[2]?Na(r,t[1]):t)),s,1],(e._flights??=new Map).set(n.id,l)}return n._flight=l,n.abortController=l[1],Xa(e,t,r,await Aa(l[0],c),o)}catch(t){if(t!==c||!c.aborted)throw t;return La(e,n),Oa}finally{Ba(e,n,!1,s)}}function Ua(e,t,n){t[0]!==Da&&(e.status=`success`,e.error=void 0,t[0]===wa?(e.loaderData=t[1],e.invalid=!1,e.updatedAt=Date.now(),e.preload=n):e.invalid=!0)}function Wa(e,t,n){let r=e._cache.get(t.id);if(r!==n||e._committed.some(e=>e.id===t.id&&e._flight===t._flight))return;let i={...t,_notFound:void 0,context:{}};i._flight&&i._flight[2]++,e._cache.set(t.id,i),r&&La(e,r)}function Ga(e,t){return t[0]===Ta||t[0]===Ea?{...e,status:t[0]===Ta?`error`:`notFound`,error:t[1],_flight:void 0}:e}function Ka(e,t,n,r,i,a,o){let s=t[1][n],c=ja(e,s),l=!!a[3],u=e._cache.get(s.id),d,f=!1,p;try{if(s.status===`success`&&(d=c.options.shouldReload,typeof d==`function`&&(d=d(Va(e,t,s,c,a[0],i,l))),a[0].signal.aborted&&(p=Oa)),!p){if(s.status!==`success`)f=!0;else{let t=l||s.preload?c.options.preloadStaleTime??e.options.defaultPreloadStaleTime??3e4:c.options.staleTime??e.options.defaultStaleTime??0;f=!!(s.invalid||d||d===void 0&&Date.now()-s.updatedAt>=t&&(a[5]||s.cause===`enter`||a[2].some(e=>e.routeId===s.routeId&&e.id!==s.id)))}}}catch(n){s.invalid=!0,La(e,s),p=Pa(e,t,c,n,a)}let m=c.options.loader,h=typeof m==`function`,g=h?m:m?.handler,_=!l||c.options.preload!==!1,v=_&&m?e._flights?.get(s.id):void 0;v===s._flight||p?v=void 0:v&&!f&&!l&&d===void 0?f=!0:f||(v=void 0);let y=!(!m||!f||s.status!==`success`||l||a[4]||((h?void 0:m.staleReloadMode)??e.options.defaultStaleReloadMode)===`blocking`),b=f&&_,x=b&&!y&&(s.status!==`success`||!!m),S=n>=o?a[7]:void 0,C=c.lazyFn&&c._lazy!==!0?S:void 0;if(b&&!m&&(s.invalid=!1,s.updatedAt=Date.now()),v&&v[2]++,x){let t=s._flight;s._flight=v,Ia(e,s,t)?.abort(),n>=o&&(s.status=`pending`),S?.()}b||(s.isFetching=!1);let w=!p&&x?Ha(e,t,s,c,g,i,a).then(t=>(Ua(s,t,l),t[0]===wa&&(m&&!a[0].signal.aborted&&Wa(e,s,u),n>=o&&(s.status=`pending`)),t)):Promise.resolve(p??[wa,s.loaderData]),T=(async()=>{try{let e=xa(c,void 0,C);e&&await Aa(e,a[0].signal)}catch(r){if(!t[1].some((e,t)=>t<=n&&(e.status===`error`||e.status===`notFound`||e._notFound)))return[n,Pa(e,t,c,r,a)]}let r=await w;x&&r[0]===wa&&s.status===`pending`&&!a[0].signal.aborted&&(s.status=`success`,S?.())})();if(r.push([n,w,T]),!y)return w.then(e=>Ga(s,e));let E={...s,status:`pending`,preload:!1,_flight:v};s.invalid=!1,s.isFetching=`loader`;let D=Ha(e,t,E,c,g,i,a).then(e=>(s.isFetching=!1,Ua(E,e,!1),e));return(t[2]??=[]).push([n,D,T,E]),D.then(e=>Ga(E,e))}async function qa(e,t,n,r,i=0){let a=n?.[1][1],o=a?.routeId?t.findIndex(e=>e.routeId===a.routeId):n?.[0]??t.length-1;o<0&&(o=0);for(let n=o;n>=0;n--){let i=ja(e,t[n]);try{let e=xa(i,!1);e&&await Aa(e,r)}catch(e){if(e===r&&r.aborted)throw e}if(i.options.notFoundComponent)return n}return a?.routeId?o:i}function Ja(e,t){t[2]&&=(Ra(e,t[2].map(e=>e[3])),void 0)}async function Ya(e,t,n,r){let i;try{await Promise.all(e.map(e=>e[1].then(async t=>{let a=e[0];if(!(r&&a>=await r)){if(t[0]>=Da)throw[a,t];!i&&t[0]!==wa&&(i=[a,t],await Promise.all((n??[]).map(e=>{if(!(e[0]<=a))return e[1].then(t=>{if(t[0]===Da)throw[e[0],t]})})))}})))}catch(e){return e}return t??i}function Xa(e,t,n,r,i,a){for(;r[0]===Da;){let o=r[1],s=o.options;try{if((s.href||o.headers.has(`Location`))&&(e.resolveRedirect(o),s.reloadDocument)||(s.reloadDocument?i[3]:i[1]>=20))return r;let n=e.buildLocation({...s,_fromLocation:t[0],_includeValidateSearch:!0}),a=n.maskedLocation??n;if(a.external){let t=o.clone();return t.options={...s},t.headers.set(`Location`,a.publicHref),e.resolveRedirect(t),i[3]?[Da,t]:[Da,t,a]}return[Da,o,n]}catch(e){r=a?[Ta,e]:Na(n,e),a=!0}}return r}async function Za(e,t,n,r,i,a){let o=t[1],s=await i,c=!1,l=o.findIndex(e=>e._notFound),u=t=>t[1][0]===Ea?qa(e,o,t,r.signal):t[0],d=l<0?o.length:l;if((s?.[1][0]??0)>=Da)d=0;else if(s){d=s[2]??=await u(s);for(let e of n){if(e[0]>=d)break;let t=await e[1];if(t[0]!==wa&&t[0]=d)break;let t=await e[2];if(t){s=t;break}}if((s?.[1][0]??0)>=Da){let n=s[1];if(n[0]!==Da||n[1].options.reloadDocument||n[2])return Ja(e,t),n;c=!0,s=[0,[Ta,Error(`Too many redirects`)]]}let f=s?s[2]??await u(s):l;if(f>=0){let i=s?.[1],l=i?.[0],u=o[f],d=i?.[1],p=()=>{i&&(u._notFound=void 0,l===Ta?u.status=`error`:(d.routeId=u.routeId,u.routeId===e.routeTree.id?(u.status=`success`,u._notFound=!0):u.status=`notFound`),u.error=d,u.isFetching=!1)};p(),i||a?.();let m=ja(e,u);try{await Aa(i?Promise.resolve().then(()=>xa(m,l===Ta?`errorComponent`:`notFoundComponent`)):Promise.all([xa(m),xa(m,`notFoundComponent`)]),r.signal)}catch(n){if(n===r.signal&&r.signal.aborted)return Ja(e,t),Oa}i?c&&(r.abort(),await Promise.all([...n.map(e=>e[1]),...n.map(e=>e[2]),...(t[2]??[]).map(e=>e[1])]),Ja(e,t),Ra(e,o),p()):u.status=`success`}return t}async function Qa(e,t,n,r=0,i=t[1].length){let a=t[1];for(let t=r;te._notFound);if(e.options.notFoundMode!==`root`&&s>=0){let t=await qa(e,n,void 0,a,s);n[s]._notFound=void 0,n[t]._notFound=!0,s=t}let c=s<0?n.length:s+1,l=0;for(;l{for(let t=d;t=Da&&(c=0);p()}if(!a.aborted&&!r[3]){let t=[];for(let[n,r]of e._flights??[])r[2]||(e._flights.delete(n),t.push(r[1]));for(let e of t)e.abort()}let h=Za(e,i,u,r[0],Ya(u,m,i[2]),r[7]);i[2]?.length&&(i[3]=Ya(i[2],void 0,void 0,h.then(e=>ka(e)?0:Sa(n).length,()=>0))),o=await h}catch(t){if(Ja(e,i),t===a&&a.aborted)return Oa;throw t}return ka(o)?o:Qa(e,o,a,r[6]===n.length?r[6]:0)}function eo(e,t){if(e._tx!==t)return;let n=t[3],r=e.stores.matches.get(),i=e._pending;for(let a=0;a0){i[3]=setTimeout(()=>eo(e,t),n);return}i[2]=0}let m=n.map(e=>({...e,_flight:void 0}));m[a].status=`pending`;let h=i[4]=e.startTransition(()=>e.stores.setMatches(m),m).then(t=>(t&&e._pending===i&&i[4]===h&&!i[2]&&(i[2]=Date.now()+f),t));return}}function to(e,t){let n=e._pending;(e._tx===t||!e._tx?.[3].some(e=>e.id===n?.[1]))&&(clearTimeout(n?.[3]),e._pending=void 0)}async function no(e,t){let n=e._pending;if(!n)return;clearTimeout(n[3]);let r=n[2]-Date.now();if(!n[4]||r<=0||!Sa(t[3]).some(e=>e.id===n[1]))return;let i;try{await Aa(new Promise(e=>{i=setTimeout(e,r)}),t[0].signal)}catch{}clearTimeout(i)}function ro(e,t){e._committed=t,e.stores.setMatches(t)}function io(e,t,n,r){let i=e._committed,a=e._lifecycleEnd,o=e._cache;for(let e of n)e.preload=!1,r&&(e._assetEnd=void 0);let s=Sa(n).length,c=new Map;{let t=Date.now(),r=new Set;for(let e=0;e=(n.preload?i.options.preloadGcTime??e.options.defaultPreloadGcTime??3e5:i.options.gcTime??e.options.defaultGcTime??3e5)||c.set(n.id,o.get(n.id)===n?n:{...n,_flight:void 0,isFetching:!1,context:{}})}}t[3]=[],e._cache=c;let l=e._lifecycleEnd=aa(n);ro(e,n),Ra(e,[...o.values(),...i].filter(e=>e._flight&&c.get(e.id)!==e),n),oa(e,i,n,a,l,t)}async function ao(e,t){let n=e._tx;for(;n&&n!==t;)t=n,await n[5],n=e._tx}function oo(e,t,n){let r=n[1].options,i=n[2];if(!i)return e.navigate({...r,replace:!0,ignoreBlocker:!0});if(r.reloadDocument)return e.navigate({href:(i.maskedLocation??i).publicHref,reloadDocument:!0,replace:!0,ignoreBlocker:!0});i._redirects=t[1]+1,e._pendingLocation=i;let a=e.commitLocation({...i,viewTransition:r.viewTransition,replace:!0,resetScroll:r.resetScroll,hashScrollIntoView:r.hashScrollIntoView,ignoreBlocker:!0});return queueMicrotask(()=>{e._pendingLocation===i&&(e._pendingLocation=void 0)}),a}async function so(e,t,n,r,i){let a=n.map(e=>({...e}));za(a);for(let t of r)La(e,a[t[0]]),a[t[0]]=t[3];let o=[t[2],a],s;try{s=await Za(e,o,r,t[0],i)}catch(t){throw Ra(e,a),t}if(ka(s)){Ra(e,a),s[0]===Da&&e._tx===t&&e._committed===n&&await oo(e,t,s);return}if(await Qa(e,s,t[0].signal),e._tx!==t||e._committed!==n){Ra(e,a);return}for(let t of a){let n=e._cache.get(t.id);n?._flight&&n._flight===t._flight&&(e._cache.delete(t.id),La(e,n))}ro(e,a),Ra(e,n,a)}async function co(e,t,n,r,i,a){let o=await $a(e,t[2],t[3],[t[0],t[1],e._committed,void 0,i,n,a,r]);if(ka(o)){let n=o[0]===Da&&e._tx===t;if((!n||o[1].options.reloadDocument)&&to(e,t),Ra(e,t[3]),t[3]=[],!n)return;if(e._tx!==t){to(e,t);return}await oo(e,t,o);return}let s=o[1];if(e._tx===t&&await no(e,t),e._tx!==t){to(e,t),Ra(e,s),Ja(e,o);return}let c=t[2],l=R(c,e.stores.resolvedLocation.get()),u=o[2];await e.startViewTransition(async()=>{if(e._tx===t&&await no(e,t),e._tx!==t){to(e,t),Ra(e,s),Ja(e,o);return}let n=await e.startTransition(()=>{to(e,t),io(e,t,s,a),e._tx===t&&(e.emit({type:`onLoad`,...l}),e._tx===t&&e.emit({type:`onBeforeRouteMount`,...l}))},s);if(e._tx!==t){Ja(e,o);return}u?.length&&so(e,t,s,u,o[3]).catch(console.error),e.batch(()=>{e.stores.resolvedLocation.set(c),e.stores.status.set(`idle`),e._tx===t&&e.emit({type:`onResolved`,...l}),n&&e._tx===t&&e.emit({type:`onRendered`,...l})}),e._tx===t&&(e._commitPromise?.resolve(),e._commitPromise=void 0)})}async function lo(e,t){let n=e._tx,r=e.stores.resolvedLocation.get(),i=r??e.stores.location.get(),a=e.latestLocation,o=e._pendingLocation,s=o?.href===a.href?o._redirects??0:0,c=e._handoff,l=c?.[0](),u=new AbortController,d=e._preflight;if(e._preflight=u,l||c?.[1](),d?.abort(),!u.signal.aborted){let t=R(a,r);e.emit({type:`onBeforeNavigate`,...t}),u.signal.aborted||e.emit({type:`onBeforeLoad`,...t})}if(u.signal.aborted){await ao(e,n);return}let f=i.href===a.href,p=u,m=e.matchRoutes(a,{_controller:u});za(m);let h=l?c[1](m):void 0;if(h?p=l:l?.abort(),u.signal.aborted){Ra(e,m),await ao(e,n);return}e._preflight=void 0;let g,_=()=>co(e,y,f,()=>eo(e,y),t?.sync,h),v=t?.sync?new Promise(e=>g=e):Promise.resolve().then(_),y=[p,s,a,m,Date.now(),v.then(()=>ao(e,y))];if(e._tx=y,n){for(let t of e.stores.matches.get()){if(e._tx!==y)break;t.isFetching&&Ba(e,t,!1)}n[0].abort(),Ra(e,n[3],y[3],!0)}if(e._tx!==y){Ra(e,y[3]),y[3]=[],g?.(),await ao(e,y);return}e.batch(()=>{e.stores.status.set(`pending`),e.stores.location.set(a)}),(h||!e._committed.length&&m[0]?.status!==`success`&&!m.some(e=>e._notFound))&&eo(e,y),g?.(_()),await y[5]}async function uo(e,t){let n=e.buildLocation(t);for(let t=0;;t++){let r=e._committed,i=new AbortController,a,o,s;try{try{a=e.matchRoutes(n,{_controller:i}),za(a),o=(e._preloads??=new Map).set(i,a),s=await $a(e,n,a,[i,t,r,!0])}finally{o&&(o=o.delete(i),Ra(e,a)),i.abort()}if(!ka(s))return s[1];if(!o||s.length<3)return;n=s[2]}catch(e){ve(e)||console.error(e);return}}}function fo(e,t){if(e)return typeof e==`string`?e:e[t]}function po(e){return e?.scriptFormat??`module`}function mo(e,t,n){let r=ho(t),i=fo(n,`script`)??r.crossOrigin;return{...po(e)===`iife`?{rel:`preload`,as:`script`}:{rel:`modulepreload`},href:r.href,...i?{crossOrigin:i}:{}}}function ho(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function go(e,t){if(t.length===0)return;if(t.length===1){e.push(t[0]);return}let n=new Set;for(let r of t){let t=JSON.stringify(r);n.has(t)||(n.add(t),e.push(r))}}function _o(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function vo({update:e,notify:t,unwatched:n}){return{link:r,unlink:i,propagate:a,checkDirty:o,shallowPropagate:s};function r(e,t,n){let r=t.depsTail;if(r!==void 0&&r.dep===e)return;let i=r===void 0?t.deps:r.nextDep;if(i!==void 0&&i.dep===e){i.version=n,t.depsTail=i;return}let a=e.subsTail;if(a!==void 0&&a.version===n&&a.sub===t)return;let o=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:a,nextSub:void 0};i!==void 0&&(i.prevDep=o),r===void 0?t.deps=o:r.nextDep=o,a===void 0?e.subs=o:a.nextSub=o}function i(e,t=e.sub){let r=e.dep,i=e.prevDep,a=e.nextDep,o=e.nextSub,s=e.prevSub;return a===void 0?t.depsTail=i:a.prevDep=i,i===void 0?t.deps=a:i.nextDep=a,o===void 0?r.subsTail=s:o.prevSub=s,s===void 0?(r.subs=o)===void 0&&n(r):s.nextSub=o,a}function a(e){let n=e.nextSub,r;top:do{let i=e.sub,a=i.flags;if(a&60?a&12?a&4?!(a&48)&&c(e,i)?(i.flags=a|40,a&=1):a=0:i.flags=a&-9|32:a=0:i.flags=a|32,a&2&&t(i),a&1){let t=i.subs;if(t!==void 0){let i=(e=t).nextSub;i!==void 0&&(r={value:n,prev:r},n=i);continue}}if((e=n)!==void 0){n=e.nextSub;continue}for(;r!==void 0;)if(e=r.value,r=r.prev,e!==void 0){n=e.nextSub;continue top}break}while(1)}function o(t,n){let r,i=0,a=!1;top:do{let o=t.dep,c=o.flags;if(n.flags&16)a=!0;else if((c&17)==17){if(e(o)){let e=o.subs;e.nextSub!==void 0&&s(e),a=!0}}else if((c&33)==33){(t.nextSub!==void 0||t.prevSub!==void 0)&&(r={value:t,prev:r}),t=o.deps,n=o,++i;continue}if(!a){let e=t.nextDep;if(e!==void 0){t=e;continue}}for(;i--;){let i=n.subs,o=i.nextSub!==void 0;if(o?(t=r.value,r=r.prev):t=i,a){if(e(n)){o&&s(i),n=t.sub;continue}a=!1}else n.flags&=-33;n=t.sub;let c=t.nextDep;if(c!==void 0){t=c;continue top}}return a}while(1)}function s(e){do{let n=e.sub,r=n.flags;(r&48)==32&&(n.flags=r|16,(r&6)==2&&t(n))}while((e=e.nextSub)!==void 0)}function c(e,t){let n=t.depsTail;for(;n!==void 0;){if(n===e)return!0;n=n.prevDep}return!1}}function yo(e,t,n){let r=typeof e==`object`,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}var bo=[],xo=0,{link:So,unlink:Co,propagate:wo,checkDirty:To,shallowPropagate:Eo}=vo({update(e){return e._update()},notify(e){bo[Oo++]=e,e.flags&=-3},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=17,Mo(e))}}),Do=0,Oo=0,ko,Ao=0;function jo(e){try{++Ao,e()}finally{--Ao||No()}}function Mo(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=Co(n,e)}function No(){if(!(Ao>0)){for(;Do{i.get(),n.current?(ko=void 0,t.next?.(i._snapshot)):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=ko,o=t?.compare??Object.is;if(n)ko=i,++xo,i.depsTail=void 0;else if(e===void 0)return!1;n&&(i.flags=5);try{let t=i._snapshot,a=typeof e==`function`?e(t):e===void 0&&n?r(t):e;return t===void 0||!o(t,a)?(i._snapshot=a,!0):!1}finally{ko=a,n&&(i.flags&=-5),Mo(i)}}};return n?(i.flags=17,i.get=function(){let e=i.flags;if(e&16||e&32&&To(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&Eo(e)}}else e&32&&(i.flags=e&-33);return ko!==void 0&&So(i,ko,xo),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(wo(e),Eo(e),No())}},i}function Fo(e){let t=()=>{let t=ko;ko=n,++xo,n.depsTail=void 0,n.flags=6;try{return e()}finally{ko=t,n.flags&=-5,Mo(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:6,notify(){let e=this.flags;e&16||e&32&&To(this.deps,this)?t():this.flags=2},stop(){this.flags=0,this.depsTail=void 0,Mo(this)}};return t(),n}var B=n(r(),1);function Io(e,t){let n=e[1];e.length=0,n?.(t)}function Lo({t:e}){let t=De(),n=t._rendered??=[];return t.startTransition=(r,i)=>new Promise(a=>{Io(n,!1),n.push(i,a),e(t),B.startTransition(r)}),T(()=>{let e=t.history.subscribe(t.load);t.updateLatestLocation();let r=t.latestLocation,i=t.buildLocation({to:r.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(ie(r.publicHref)!==ie(i.publicHref))return t.commitLocation({...i,replace:!0,ignoreBlocker:!0}),e;let a=t.stores.resolvedLocation.get();return a?.href===r.href&&a.state.__TSR_key===r.state.__TSR_key?n.push(t.stores.matches.get(),e=>{e&&t.emit({type:`onRendered`,...R(a,a)})}):t._tx||t.load({sync:!0}).catch(console.error),e},[t,t.history]),null}var V=t();function Ro(){let e=De(),t=e.routesById[Ce],n=Se(e,t),r=(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Lo,{t:B.useState()[1]}),e.ssr?(0,V.jsx)(zo,{}):(0,V.jsx)(B.Suspense,{fallback:n,children:(0,V.jsx)(zo,{})})]});return e.options.InnerWrap?(0,V.jsx)(e.options.InnerWrap,{children:r}):r}function zo(){let e=De(),t=e._rendered,n=ke(e.stores.matches,e=>t[0]??e),r=n[0],i=r?.routeId;T(()=>{t[0]===n&&Io(t,!0)},[t,n]);let a=i?(0,V.jsx)(N,{routeId:i}):null;return e.options.disableGlobalCatchBoundary?a:(0,V.jsx)(ye,{getResetKey:()=>r,onCatch:void 0,children:a})}var Bo=e=>({createMutableStore:Po,createReadonlyStore:Po,batch:jo}),H=e=>new Vo(e),Vo=class extends sa{constructor(e){super(e,Bo)}};function Ho({router:e,children:t,...n}){_e(n)&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=(0,V.jsx)(Oe.Provider,{value:e,children:t});return e.options.Wrap?(0,V.jsx)(e.options.Wrap,{children:r}):r}function Uo({router:e,...t}){return(0,V.jsx)(Ho,{router:e,...t,children:(0,V.jsx)(Ro,{})})}function Wo(e){let t=De();return ke(t.stores.location,C(e,t))}function Go(e,t){if(t)for(let[n,r]of Object.entries(t))n!==`suppressHydrationWarning`&&r!==void 0&&r!==!1&&e.setAttribute(n,typeof r==`boolean`?``:String(r))}function Ko(e){let{attrs:t,children:n,nonce:r,preventScriptHoist:i}=e,a=B.useMemo(()=>n===void 0?void 0:{__html:n},[n]);switch(e.tag){case`title`:return(0,V.jsx)(`title`,{...t,suppressHydrationWarning:!0,children:n});case`meta`:return(0,V.jsx)(`meta`,{...t,suppressHydrationWarning:!0});case`link`:return(0,V.jsx)(`link`,{...t,precedence:t?.precedence??(t?.rel===`stylesheet`?`default`:void 0),nonce:r,suppressHydrationWarning:!0});case`style`:return e.inlineCss,(0,V.jsx)(`style`,{...t,dangerouslySetInnerHTML:a,nonce:r});case`script`:return(0,V.jsx)(qo,{attrs:t,preventScriptHoist:i,children:n});default:return null}}function qo({attrs:e,children:t,preventScriptHoist:n}){De();let r=Ee(),i=B.useMemo(()=>t===void 0?void 0:{__html:t},[t]),a=typeof e?.type==`string`&&e.type!==``&&e.type!==`text/javascript`&&e.type!==`module`;if(B.useEffect(()=>{if(!a){if(e?.src){let t=document.createElement(`a`);t.href=e.src;let n=t.href;for(let e of document.scripts)if(e.src===n)return;let r=document.createElement(`script`);return Go(r,e),document.head.appendChild(r),()=>r.remove()}if(typeof t==`string`){let n=typeof e?.type==`string`?e.type:`text/javascript`,r=typeof e?.nonce==`string`?e.nonce:void 0;for(let e of document.scripts){if(e.hasAttribute(`src`))continue;let i=e.getAttribute(`type`)??`text/javascript`,a=e.getAttribute(`nonce`)??void 0;if(e.textContent===t&&i===n&&a===r)return}let i=document.createElement(`script`);return i.textContent=t,Go(i,e),document.head.appendChild(i),()=>i.remove()}}},[e,t,a]),a&&typeof t==`string`)return(0,V.jsx)(`script`,{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:i});if(!r){if(e?.src)return(0,V.jsx)(`script`,{...e,suppressHydrationWarning:!0});if(typeof t==`string`)return(0,V.jsx)(`script`,{...e,dangerouslySetInnerHTML:i,suppressHydrationWarning:!0})}return null}function Jo(e,t,n,r){n=Ca(n);let i=n.map(e=>e.meta).filter(e=>e!==void 0),a=[],o={},s;for(let e=i.length-1;e>=0;e--){let n=i[e];for(let e=n.length-1;e>=0;e--){let r=n[e];if(r){if(r.title)s||={tag:`title`,children:r.title};else if(`script:ld+json`in r)try{let e=JSON.stringify(r[`script:ld+json`]);a.push({tag:`script`,attrs:{type:`application/ld+json`},children:ce(e)})}catch{}else{let e=r.name??r.property;if(e){if(o[e])continue;o[e]=!0}a.push({tag:`meta`,attrs:{...r,nonce:t}})}}}}s&&a.push(s),t&&a.push({tag:`meta`,attrs:{property:`csp-nonce`,content:t}}),a.reverse();let c=n.flatMap(e=>e.links??[]).filter(e=>e!==void 0).map(e=>({tag:`link`,attrs:{...e,nonce:t}})),l=e.ssr?.manifest,u=[];l&&(n.forEach(e=>{(l.routes[e.routeId]?.css)?.forEach(e=>{let n=_o(e);u.push({tag:`link`,attrs:{rel:`stylesheet`,...n,crossOrigin:fo(r,`stylesheet`)??n.crossOrigin,suppressHydrationWarning:!0,nonce:t}})})}),l.inlineStyle&&u.push({tag:`style`,attrs:{...l.inlineStyle.attrs,nonce:t},children:l.inlineStyle.children,inlineCss:!0}));let d=[];l&&n.forEach(e=>{l.routes[e.routeId]?.preloads?.forEach(e=>{d.push({tag:`link`,attrs:{...mo(l,e,r),nonce:t}})})});let f=n.flatMap(e=>e.styles??[]).filter(e=>e!==void 0).map(({children:e,...n})=>({tag:`style`,attrs:{...n,nonce:t},children:e})),p=n.flatMap(e=>e.headScripts??[]).filter(e=>e!==void 0).map(({children:e,...n})=>({tag:`script`,attrs:{...n,nonce:t},children:e})),m=[];return go(m,a),m.push(...d),go(m,c),m.push(...u),go(m,f),go(m,p),m}var Yo=e=>{let t=De(),n=t.options.ssr?.nonce,r=B.useCallback(r=>Jo(t,n,r,e),[e,n,t]);return ke(t.stores.matches,r,{compare:me})};function Xo(e){let t=Yo(e.assetCrossOrigin),n=De().options.ssr?.nonce;return(0,V.jsx)(V.Fragment,{children:t.map(e=>(0,B.createElement)(Ko,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:n}))})}var Zo=e((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0>>1,a=e[r];if(0>>1;ri(c,n))li(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(li(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&te(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-Tt&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&te(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,ee=k.port2;k.port1.onmessage=D,O=function(){ee.postMessage(null)}}else O=function(){_(D,0)};function te(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,te(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),Qo=e(((e,t)=>{t.exports=Zo()})),$o=e((e=>{var t=Qo(),n=r(),i=Me();function a(e){var t=`https://react.dev/errors/`+e;if(1be||(e.current=ye[be],ye[be]=null,be--)}function N(e,t){be++,ye[be]=e.current,e.current=t}var Ce=xe(null),we=xe(null),Te=xe(null),Ee=xe(null);function De(e,t){switch(N(Te,t),N(we,e),N(Ce,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?up(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=up(t),e=dp(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}Se(Ce),N(Ce,e)}function Oe(){Se(Ce),Se(we),Se(Te)}function ke(e){var t=e.memoizedState;t!==null&&(sh._currentValue=t.memoizedState,N(Ee,e)),t=Ce.current;var n=dp(t,e.type);t!==n&&(N(we,e),N(Ce,n))}function Ae(e){we.current===e&&(Se(Ce),Se(we)),Ee.current===e&&(Se(Ee),sh._currentValue=ve)}var je,Ne;function Pe(e){if(je===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);je=t&&t[1]||``,Ne=-1)`:-1`)&&(u=u.replace(``,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Fe=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Pe(n):``}function Le(e,t){switch(e.tag){case 26:case 27:case 5:return Pe(e.type);case 16:return Pe(`Lazy`);case 13:return e.child!==t&&t!==null?Pe(`Suspense Fallback`):Pe(`Suspense`);case 19:return Pe(`SuspenseList`);case 0:case 15:return Ie(e.type,!1);case 11:return Ie(e.type.render,!1);case 1:return Ie(e.type,!0);case 31:return Pe(`Activity`);case 30:return Pe(`ViewTransition`);default:return``}}function Re(e){try{var t=``,n=null;do t+=Le(e,n),n=e,e=e.return;while(e);return t}catch(e){return` Error generating stack: `+e.message+` `+e.stack}}var ze=Object.prototype.hasOwnProperty,Be=t.unstable_scheduleCallback,Ve=t.unstable_cancelCallback,He=t.unstable_shouldYield,Ue=t.unstable_requestPaint,We=t.unstable_now,P=t.unstable_getCurrentPriorityLevel,Ge=t.unstable_ImmediatePriority,Ke=t.unstable_UserBlockingPriority,qe=t.unstable_NormalPriority,F=t.unstable_LowPriority,I=t.unstable_IdlePriority,Je=t.log,Ye=t.unstable_setDisableYieldValue,Xe=null,Ze=null;function Qe(e){if(typeof Je==`function`&&Ye(e),Ze&&typeof Ze.setStrictMode==`function`)try{Ze.setStrictMode(Xe,e)}catch{}}var $e=Math.clz32?Math.clz32:nt,et=Math.log,tt=Math.LN2;function nt(e){return e>>>=0,e===0?32:31-(et(e)/tt|0)|0}var rt=256,it=262144,at=4194304;function ot(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function st(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=ot(n))):i=ot(o):i=ot(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=ot(n))):i=ot(o)):i=ot(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function ct(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function lt(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0n;n++)t.push(e);return t}function pt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function mt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0=pr),gr=` `,_r=!1;function vr(e,t){switch(e){case`keyup`:return dr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function yr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var br=!1;function xr(e,t){switch(e){case`compositionend`:return yr(t);case`keypress`:return t.which===32?(_r=!0,gr):null;case`textInput`:return e=t.data,e===gr&&_r?null:e;default:return null}}function Sr(e,t){if(br)return e===`compositionend`||!fr&&vr(e,t)?(e=Pn(),Nn=Mn=jn=null,br=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Gr(n)}}function qr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Wr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wr(e.document)}return t}function Yr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Xr=On&&`documentMode`in document&&11>=document.documentMode,Zr=null,Qr=null,$r=null,ei=!1;function ti(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ei||Zr==null||Zr!==Wr(r)||(r=Zr,`selectionStart`in r&&Yr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$r&&Ur($r,r)||($r=r,r=qf(Qr,`onSelect`),0>=o,i-=o,Zi=1<<32-$e(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),z&&$i(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(i,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(i,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(i,h),z&&$i(i,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(i,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return z&&$i(i,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,i,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(i,e)}),z&&$i(i,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===k&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case D:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===k){if(r.tag===7){n(e,r.sibling),c=i(r,o.props.children),co(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===ce&&to(l)===r.type){n(e,r.sibling),c=i(r,o.props),co(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===k?(c=Ri(o.props.children,e.mode,c,o.key),co(c,o),c.return=e,e=c):(c=Li(o.type,o.key,o.props,null,e.mode,c),co(c,o),c.return=e,e=c)}return s(e);case O:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=i(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Vi(o,e.mode,c),c.return=e,e=c}return s(e);case ce:return o=to(o),_(e,r,o,c)}if(_e(o))return h(e,r,o,c);if(he(o)){if(l=he(o),typeof l!=`function`)throw Error(a(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,so(o),c);if(o.$$typeof===re)return _(e,r,Ea(e,o),c);lo(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=i(r,o),c.return=e,e=c):(n(e,r),c=zi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{oo=0;var i=_(e,t,n,r);return ao=null,i}catch(t){if(t===Ya||t===Za)throw t;var a=Ni(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var fo=uo(!0),po=uo(!1),mo=!1;function ho(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function go(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function _o(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function vo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,q&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Ai(e),ki(e,null,n),t}return Ei(e,r,t,n),Ai(e)}function yo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,gt(e,n)}}function bo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var xo=!1;function So(){if(xo){var e=Ba;if(e!==null)throw e}}function Co(e,t,n,r){xo=!1;var i=e.updateQueue;mo=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Y&f)===f:(r&f)===f){f!==0&&f===za&&(xo=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=T({},d,f);break a;case 2:mo=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),od|=o,e.lanes=o,e.memoizedState=d}}function wo(e,t){if(typeof e!=`function`)throw Error(a(191,e));e.call(t)}function To(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=j.T,s={};s.types=o===null?null:o.types,j.T=s,uc(e,!1,t,n);try{var c=i(),l=j.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?lc(e,t,Ua(c,r),Ad(e)):lc(e,t,r,Ad(e))}catch(n){lc(e,t,{then:function(){},status:`rejected`,reason:n},Ad())}finally{M.p=a,o!==null&&s.types!==null&&(o.types=s.types),j.T=o}}function $s(){}function ec(e,t,n,r){if(e.tag!==5)throw Error(a(476));var i=tc(e).queue;Qs(e,i,t,ve,n===null?$s:function(){return nc(e),n(r)})}function tc(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ve,baseState:ve,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ds,lastRenderedState:ve},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ds,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function nc(e){var t=tc(e);t.next===null&&(t=e.alternate.memoizedState),lc(e,t.next.queue,{},Ad())}function rc(){return Ta(sh)}function ic(){return os().memoizedState}function ac(){return os().memoizedState}function oc(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Ad();e=_o(n);var r=vo(t,e,n);r!==null&&(Nd(r,t,n),yo(r,t,n)),t={cache:Ma()},e.payload=t;return}t=t.return}}function sc(e,t,n){var r=Ad();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},dc(e)?fc(t,n):(n=Di(e,t,n,r),n!==null&&(Nd(n,e,r),pc(n,t,r)))}function cc(e,t,n){lc(e,t,n,Ad())}function lc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(dc(e))fc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Hr(s,o))return Ei(e,t,i,0),$u===null&&Ti(),!1}catch{}if(n=Di(e,t,i,r),n!==null)return Nd(n,e,r),pc(n,t,r),!0}return!1}function uc(e,t,n,r){if(r={lane:2,revertLane:Nf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},dc(e)){if(t)throw Error(a(479))}else t=Di(e,n,r,2),t!==null&&Nd(t,e,2)}function dc(e){var t=e.alternate;return e===H||t!==null&&t===H}function fc(e,t){Wo=Uo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function pc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,gt(e,n)}}var mc={readContext:Ta,use:ls,useCallback:Xo,useContext:Xo,useEffect:Xo,useImperativeHandle:Xo,useLayoutEffect:Xo,useInsertionEffect:Xo,useMemo:Xo,useReducer:Xo,useRef:Xo,useState:Xo,useDebugValue:Xo,useDeferredValue:Xo,useTransition:Xo,useSyncExternalStore:Xo,useId:Xo,useHostTransitionStatus:Xo,useFormState:Xo,useActionState:Xo,useOptimistic:Xo,useMemoCache:Xo,useCacheRefresh:Xo,useEffectEvent:Xo},hc={readContext:Ta,use:ls,useCallback:function(e,t){return as().memoizedState=[e,t===void 0?null:t],e},useContext:Ta,useEffect:zs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),Ls(4194308,4,Gs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ls(4194308,4,e,t)},useInsertionEffect:function(e,t){Ls(4,2,e,t)},useMemo:function(e,t){var n=as();t=t===void 0?null:t;var r=e();if(Go){Qe(!0);try{e()}finally{Qe(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=as();if(n!==void 0){var i=n(t);if(Go){Qe(!0);try{n(t)}finally{Qe(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=sc.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=as();return e={current:e},t.memoizedState=e},useState:function(e){e=xs(e);var t=e.queue,n=cc.bind(null,H,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:qs,useDeferredValue:function(e,t){return Xs(as(),e,t)},useTransition:function(){var e=xs(!1);return e=Qs.bind(null,H,e.queue,!0,!1),as().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=H,i=as();if(z){if(n===void 0)throw Error(a(407));n=n()}else{if(n=t(),$u===null)throw Error(a(349));Y&127||gs(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,zs(vs.bind(null,r,o,e),[e]),r.flags|=2048,Fs(9,{destroy:void 0},_s.bind(null,r,o,n,t),null),n},useId:function(){var e=as(),t=$u.identifierPrefix;if(z){var n=Qi,r=Zi;n=(r&~(1<<32-$e(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Ko++,0<\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(i,{is:r.is}):s.createElement(i)}}o[Ct]=t,o[wt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(np(o,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&pl(t)}}return vl(t),t.subtreeFlags&=-33554433,ml(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&pl(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(a(166));if(e=Te.current,da(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,i=ia,i!==null)switch(i.tag){case 27:case 5:r=i.memoizedProps}e[Ct]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||$f(e.nodeValue,n)),e||ca(t,!0)}else e=lp(e).createTextNode(r),e[Ct]=t,t.stateNode=e}return vl(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=da(t),n!==null){if(e===null){if(!r)throw Error(a(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(a(557));e[Ct]=t}else fa(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;vl(t),e=!1}else n=pa(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Io(t),t):(Io(t),null);if(t.flags&128)throw Error(a(558))}return vl(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=da(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(a(318));if(i=t.memoizedState,i=i===null?null:i.dehydrated,!i)throw Error(a(317));i[Ct]=t}else fa(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;vl(t),i=!1}else i=pa(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Io(t),t):(Io(t),null)}return Io(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),gl(t,t.updateQueue),vl(t),null);case 4:return Oe(),e===null&&Uf(t.stateNode.containerInfo),t.flags|=67108864,vl(t),null;case 10:return ya(t.type),vl(t),null;case 19:if(Ro(t),r=t.memoizedState,r===null)return vl(t),null;if(i=!!(t.flags&128),o=r.rendering,o===null){if(i)_l(r,!1);else{if(ad!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=zo(e),o!==null){for(t.flags|=128,_l(r,!1),e=o.updateQueue,t.updateQueue=e,gl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ii(n,e),n=n.sibling;return V(t,Lo.current&1|2),z&&$i(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&We()>hd&&(t.flags|=128,i=!0,_l(r,!1),t.lanes=4194304)}}else{if(!i){if(e=zo(o),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,gl(t,e),_l(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!z)return vl(t),null}else 2*We()-r.renderingStartTime>hd&&n!==536870912&&(t.flags|=128,i=!0,_l(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=We(),e.sibling=null,o=Lo.current,o=i?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||z?V(t,o):(n=o,N(jo,t),N(Lo,n),Mo===null&&(Mo=t)),z&&$i(t,r.treeForkCount),e}return vl(t),null;case 22:case 23:return Io(t),Ao(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(vl(t),t.subtreeFlags&6&&(t.flags|=8192)):vl(t),n=t.updateQueue,n!==null&&gl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&Se(Ga),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ya(ja),vl(t),null;case 25:return null;case 30:return t.flags|=33554432,vl(t),null}throw Error(a(156,t.tag))}function bl(e,t){switch(na(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ya(ja),Oe(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ae(t),null;case 31:if(t.memoizedState!==null){if(Io(t),t.alternate===null)throw Error(a(340));fa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Io(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(a(340));fa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ro(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Oe(),null;case 10:return ya(t.type),null;case 22:case 23:return Io(t),Ao(),e!==null&&Se(Ga),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ya(ja),null;case 25:return null;default:return null}}function xl(e,t){switch(na(t),t.tag){case 3:ya(ja),Oe();break;case 26:case 27:case 5:Ae(t);break;case 4:Oe();break;case 31:t.memoizedState!==null&&Io(t);break;case 13:Io(t);break;case 19:Ro(t);break;case 10:ya(t.type);break;case 22:case 23:Io(t),Ao(),e!==null&&Se(Ga);break;case 24:ya(ja)}}function Sl(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Q(t,t.return,e)}}function Cl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Q(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Q(t,t.return,e)}}function wl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{To(t,n)}catch(t){Q(e,e.return,t)}}}function Tl(e,t,n){n.props=Sc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Q(e,t,n)}}function El(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=vi(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Pp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Fp(e);p(e.child,!1,Qp,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Q(e,t,n)}}function Dl(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Q(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Q(e,t,n)}else n.current=null}}function Ol(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n title`))),np(r,t,n),r[Ct]=e,Lt(r),t=r;break a;case`link`:if(o=Gm(`link`,`href`,i).get(t+(n.href||``))){for(s=0;sg&&(o=g,g=h,h=o);var _=Kr(s,h),v=Kr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,j.T=null,n=Cd,Cd=null;var o=yd,s=xd;if(vd=0,bd=yd=null,xd=0,q&6)throw Error(a(331));var c=q;if(q|=4,Ju(o.current),Bu(o,o.current,s,n),q=c,Ef(0,!1),Ze&&typeof Ze.onPostCommitFiberRoot==`function`)try{Ze.onPostCommitFiberRoot(Xe,o)}catch{}return!0}finally{M.p=i,j.T=r,lf(e,t)}}function ff(e,t,n){t=Ui(n,t),t=Oc(e.stateNode,t,2),e=vo(e,t,2),e!==null&&(pt(e,2),Tf(e))}function Q(e,t,n){if(e.tag===3)ff(e,e,n);else for(;t!==null;){if(t.tag===3){ff(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(_d===null||!_d.has(r))){e=Ui(n,e),n=kc(2),r=vo(t,n,2),r!==null&&(Ac(n,r,t,e),pt(r,2),Tf(r));break}}t=t.return}}function pf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Qu;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(rd=!0,i.add(n),e=mf.bind(null,e,t,n),t.then(e,e))}function mf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,$u===e&&(Y&n)===n&&(ad===4||ad===3&&(Y&62914560)===Y&&300>We()-pd?q&2?cd|=n:Bd(e,0):cd|=n,ud===Y&&(ud=0)),Tf(e)}function hf(e,t){t===0&&(t=dt()),e=Oi(e,t),e!==null&&(pt(e,t),Tf(e))}function gf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),hf(e,n)}function _f(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(a(314))}r!==null&&r.delete(t),hf(e,n)}function vf(e,t){return Be(e,t)}var yf=null,bf=null,xf=!1,Sf=!1,Cf=!1,wf=0;function Tf(e){e!==bf&&e.next===null&&(bf===null?yf=bf=e:bf=bf.next=e),Sf=!0,xf||(xf=!0,Mf())}function Ef(e,t){if(!Cf&&Sf){Cf=!0;do for(var n=!1,r=yf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-$e(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,jf(r,a))}else a=Y,a=st(r,r===$u?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||ct(r,a)||(n=!0,jf(r,a))}r=r.next}while(n);Cf=!1}}function Df(){Of()}function Of(){Sf=xf=!1;var e=0;wf!==0&&hp()&&(e=wf);for(var t=We(),n=null,r=yf;r!==null;){var i=r.next,a=kf(r,t);a===0?(r.next=null,n===null?yf=i:n.next=i,i===null&&(bf=n)):(n=r,(e!==0||a&3)&&(Sf=!0)),r=i}vd!==0&&vd!==5||Ef(e,!1),wf!==0&&(wf=0)}function kf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&ap(d)&&(c=c.responseEnd,o+=u*(c$m){s.length=o;break}f=new Promise(jp.bind(f)),s.push(f)}}}if(0`u`?null:document;function Tm(e,t,n){var r=wm;if(r&&typeof t==`string`&&t){var i=rn(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),ym.has(i)||(ym.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),np(t,`link`,e),Lt(t),r.head.appendChild(t)))}}function Em(e){xm.D(e),Tm(`dns-prefetch`,e,null)}function Dm(e,t){xm.C(e,t),Tm(`preconnect`,e,t)}function Om(e,t,n){xm.L(e,t,n);var r=wm;if(r&&e&&t){var i=`link[rel="preload"][as="`+rn(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+rn(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+rn(n.imageSizes)+`"]`)):i+=`[href="`+rn(e)+`"]`;var a=i;switch(t){case`style`:a=Pm(e);break;case`script`:a=Rm(e)}if(!(vm.has(a)||(e=T({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),vm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Fm(a))||t===`script`&&r.querySelector(zm(a))))){var o=r.createElement(`link`);np(o,`link`,e),t===`style`&&(o[jt]=!0,o.onload=o.onerror=function(){Rt(o)}),Lt(o),r.head.appendChild(o)}}}function km(e,t){xm.m(e,t);var n=wm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+rn(r)+`"][href="`+rn(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Rm(e)}if(!vm.has(a)&&(e=T({rel:`modulepreload`,href:e},t),vm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(zm(a)))return}r=n.createElement(`link`),np(r,`link`,e),Lt(r),n.head.appendChild(r)}}}function Am(e,t,n){xm.S(e,t,n);var r=wm;if(r&&e){var i=It(r).hoistableStyles,a=Pm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Fm(a)))s.loading=5;else{e=T({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=vm.get(a))&&Hm(e,n);var c=o=r.createElement(`link`);Lt(c),np(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Vm(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function jm(e,t){xm.X(e,t);var n=wm;if(n&&e){var r=It(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=T({src:e,async:!0},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Lt(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Mm(e,t){xm.M(e,t);var n=wm;if(n&&e){var r=It(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=T({src:e,async:!0,type:`module`},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Lt(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nm(e,t,n,r){var i=(i=Te.current)?bm(i):null;if(!i)throw Error(a(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Pm(n.href),t=It(i).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Pm(n.href);var o=It(i).hoistableStyles,s=o.get(e);if(s||(i=i.ownerDocument||i,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=i.querySelector(Fm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=vm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},vm.set(e,o)),Lm(i,e,o,s.state))),t&&r===null)throw Error(a(528,``));return s}if(t&&r!==null)throw Error(a(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Rm(n),t=It(i).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(a(444,e))}}function Pm(e){return`href="`+rn(e)+`"`}function Fm(e){return`link[rel="stylesheet"][`+e+`]`}function Im(e){return T({},e,{"data-precedence":e.precedence,precedence:null})}function Lm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[jt]){r.loading=1;return}}else t=e.createElement(`link`),t[jt]=!0,t.onload=t.onerror=Rt.bind(null,t),np(t,`link`,n),Lt(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Rm(e){return`[src="`+rn(e)+`"]`}function zm(e){return`script[async]`+e}function Bm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+rn(n.href)+`"]`);if(r)return t.instance=r,Lt(r),r;var i=T({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Lt(r),np(r,`style`,i),Vm(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Pm(n.href);var o=e.querySelector(Fm(i));if(o)return t.state.loading|=4,t.instance=o,Lt(o),o;r=Im(n),(i=vm.get(i))&&Hm(r,i),o=(e.ownerDocument||e).createElement(`link`),Lt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),np(o,`link`,r),t.state.loading|=4,Vm(o,n.precedence,e),t.instance=o;case`script`:return o=Rm(n.src),(i=e.querySelector(zm(o)))?(t.instance=i,Lt(i),i):(r=n,(i=vm.get(o))&&(r=T({},n),Um(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),Lt(i),np(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(a(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Vm(r,n.precedence,e));return t.instance}function Vm(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function qm(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Jm(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Ym(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Xm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function Zm(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Xm(t),e.suspenseyImages.push(t)),e=rh.bind(e),t.decode().then(e,e))}function Qm(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Pm(r.href),a=t.querySelector(Fm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=nh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Lt(a);return}a=t.ownerDocument||t,r=Im(r),(i=vm.get(i))&&Hm(r,i),a=a.createElement(`link`),Lt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),np(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=nh.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var $m=0;function eh(e,t){return e.stylesheets&&e.count===0&&ah(e,e.stylesheets),0$m?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function th(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)ah(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function nh(){this.count--,th(this)}function rh(){this.imgCount--,th(this)}var ih=null;function ah(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ih=new Map,t.forEach(oh,e),ih=null,nh.call(e))}function oh(e,t){if(!(t.state.loading&4)){var n=ih.get(e);if(n)var r=n.get(null);else{n=new Map,ih.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=$o()}))(),1),U=i(),ts=(0,B.createContext)(void 0);function ns(e,t){try{let t=localStorage.getItem(e);if(t===`light`||t===`dark`||t===`system`)return t}catch{}return t}function rs(e){let t=(0,U.c)(14),{children:n,defaultTheme:r,storageKey:i}=e,a=r===void 0?`dark`:r,o=i===void 0?`ui-theme`:i,s;t[0]!==a||t[1]!==o?(s=()=>ns(o,a),t[0]=a,t[1]=o,t[2]=s):s=t[2];let[c,l]=(0,B.useState)(s),u,d;t[3]===c?(u=t[4],d=t[5]):(u=()=>{let e=window.document.documentElement;if(e.classList.remove(`light`,`dark`),c===`system`){let t=window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`;e.classList.add(t);return}e.classList.add(c)},d=[c],t[3]=c,t[4]=u,t[5]=d),(0,B.useEffect)(u,d);let f;t[6]===o?f=t[7]:(f=e=>{try{localStorage.setItem(o,e)}catch{}l(e)},t[6]=o,t[7]=f);let p;t[8]!==f||t[9]!==c?(p={theme:c,setTheme:f},t[8]=f,t[9]=c,t[10]=p):p=t[10];let m=p,h;return t[11]!==n||t[12]!==m?(h=(0,V.jsx)(ts.Provider,{value:m,children:n}),t[11]=n,t[12]=m,t[13]=h):h=t[13],h}function is(){let e=(0,B.useContext)(ts);if(e===void 0)throw Error(`useTheme must be used within a ThemeProvider`);return e}var as={name:`activity`,size:24,node:[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]};as.node;var os=I(as),ss={name:`book-open`,size:24,node:[[`path`,{d:`M12 5v16`,key:`1f6ucr`}],[`path`,{d:`M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z`,key:`1fyvmf`}]]};ss.node;var cs=I(ss),ls={name:`boxes`,size:24,node:[[`path`,{d:`M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z`,key:`lc1i9w`}],[`path`,{d:`m7 16.5-4.74-2.85`,key:`1o9zyk`}],[`path`,{d:`m7 16.5 5-3`,key:`va8pkn`}],[`path`,{d:`M7 16.5v5.17`,key:`jnp8gn`}],[`path`,{d:`M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z`,key:`8zsnat`}],[`path`,{d:`m17 16.5-5-3`,key:`8arw3v`}],[`path`,{d:`m17 16.5 4.74-2.85`,key:`8rfmw`}],[`path`,{d:`M17 16.5v5.17`,key:`k6z78m`}],[`path`,{d:`M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z`,key:`1xygjf`}],[`path`,{d:`M12 8 7.26 5.15`,key:`1vbdud`}],[`path`,{d:`m12 8 4.74-2.85`,key:`3rx089`}],[`path`,{d:`M12 13.5V8`,key:`1io7kd`}]]};ls.node;var us=I(ls),ds={name:`brain`,size:24,node:[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`,key:`1e3is1`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`,key:`1gqd8o`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`,key:`iwvgf7`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`,key:`efp6ie`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`,key:`1gq6am`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`,key:`k1g0md`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`,key:`q97ue3`}]]};ds.node;var fs=I(ds),ps={name:`circle-alert`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],aliases:[`alert-circle`]};ps.node;var ms=I(ps),hs={name:`container`,size:24,node:[[`path`,{d:`M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z`,key:`1t2lqe`}],[`path`,{d:`M10 21.9V14L2.1 9.1`,key:`o7czzq`}],[`path`,{d:`m10 14 11.9-6.9`,key:`zm5e20`}],[`path`,{d:`M14 19.8v-8.1`,key:`159ecu`}],[`path`,{d:`M18 17.5V9.4`,key:`11uown`}]]};hs.node;var gs=I(hs),_s={name:`crosshair`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`22`,x2:`18`,y1:`12`,y2:`12`,key:`l9bcsi`}],[`line`,{x1:`6`,x2:`2`,y1:`12`,y2:`12`,key:`13hhkx`}],[`line`,{x1:`12`,x2:`12`,y1:`6`,y2:`2`,key:`10w3f3`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`18`,key:`15g9kq`}]]};_s.node;var vs=I(_s),ys={name:`database`,size:24,node:[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]};ys.node;var bs=I(ys),xs={name:`file-stack`,size:24,node:[[`path`,{d:`M11 21a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1`,key:`likhh7`}],[`path`,{d:`M16 16a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1`,key:`17ky3x`}],[`path`,{d:`M21 6a2 2 0 0 0-.586-1.414l-2-2A2 2 0 0 0 17 2h-3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1z`,key:`1hyeo0`}]]};xs.node;var Ss=I(xs),Cs={name:`house`,size:24,node:[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]],aliases:[`home`]};Cs.node;var ws=I(Cs),Ts={name:`id-card`,size:24,node:[[`path`,{d:`M13 19a4 4 0 00-8 0`,key:`cugzd5`}],[`path`,{d:`M16 10h2`,key:`8sgtl7`}],[`path`,{d:`M16 14h2`,key:`epxaof`}],[`circle`,{cx:`9`,cy:`12`,r:`3`,key:`u3jwor`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`,key:`qneu4z`}]]};Ts.node;var Es=I(Ts),Ds={name:`key-round`,size:24,node:[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]};Ds.node;var Os=I(Ds),ks={name:`layers`,size:24,node:[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]],aliases:[`layers-3`]};ks.node;var As=I(ks),js={name:`layout-grid`,size:24,node:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]};js.node;var Ms=I(js),Ns={name:`layout-list`,size:24,node:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}],[`path`,{d:`M14 4h7`,key:`3xa0d5`}],[`path`,{d:`M14 9h7`,key:`1icrd9`}],[`path`,{d:`M14 15h7`,key:`1mj8o2`}],[`path`,{d:`M14 20h7`,key:`11slyb`}]]};Ns.node;var Ps=I(Ns),Fs={name:`log-out`,size:24,node:[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]};Fs.node;var Is=I(Fs),Ls={name:`map-pin`,size:24,node:[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]};Ls.node;var Rs=I(Ls),zs={name:`message-square`,size:24,node:[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]};zs.node;var Bs=I(zs),Vs={name:`moon`,size:24,node:[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]};Vs.node;var Hs=I(Vs),Us={name:`package`,size:24,node:[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]};Us.node;var Ws=I(Us),Gs={name:`panel-left`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}]],aliases:[`sidebar`]};Gs.node;var Ks=I(Gs),qs={name:`route`,size:24,node:[[`circle`,{cx:`6`,cy:`19`,r:`3`,key:`1kj8tv`}],[`path`,{d:`M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15`,key:`1d8sl`}],[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}]]};qs.node;var Js=I(qs),Ys={name:`shield-check`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]};Ys.node;var Xs=I(Ys),Zs={name:`sun`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]};Zs.node;var Qs=I(Zs),$s={name:`user-cog`,size:24,node:[[`path`,{d:`M10 15H6a4 4 0 0 0-4 4v2`,key:`1nfge6`}],[`path`,{d:`m14.305 16.53.923-.382`,key:`1itpsq`}],[`path`,{d:`m15.228 13.852-.923-.383`,key:`eplpkm`}],[`path`,{d:`m16.852 12.228-.383-.923`,key:`13v3q0`}],[`path`,{d:`m16.852 17.772-.383.924`,key:`1i8mnm`}],[`path`,{d:`m19.148 12.228.383-.923`,key:`1q8j1v`}],[`path`,{d:`m19.53 18.696-.382-.924`,key:`vk1qj3`}],[`path`,{d:`m20.772 13.852.924-.383`,key:`n880s0`}],[`path`,{d:`m20.772 16.148.924.383`,key:`1g6xey`}],[`circle`,{cx:`18`,cy:`15`,r:`3`,key:`gjjjvw`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};$s.node;var ec=I($s),tc={name:`users-round`,size:24,node:[[`path`,{d:`M18 21a8 8 0 0 0-16 0`,key:`3ypg7q`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`path`,{d:`M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3`,key:`10s06x`}]],aliases:[`users-2`]};tc.node;var nc=I(tc),rc={name:`users`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};rc.node;var ic=I(rc);function ac(e,t){return t!=null&&!Vt(t)?0:typeof e==`function`?e():e}function oc(e,t,n){let r=ac(e,n);return typeof r==`number`?r:r?.[t]}function sc(e){return typeof e==`function`?e():e}function cc(e,t){return t||e===`click`||e===`mousedown`}function lc(e){return e?.includes(`mouse`)&&e!==`mousedown`}var uc=B.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new Dt,currentIdRef:{current:null},currentContextRef:{current:null}});function dc(e,t){e.current=t.current}function fc(e){let{children:t,delay:n,timeoutMs:r=0}=e,i=B.useRef(n),a=B.useRef(n),o=B.useRef(null),s=B.useRef(null),c=At();return ft(()=>{if(a.current=n,!o.current){i.current=n;return}i.current={open:oc(i.current,`open`),close:oc(n,`close`)}},[n,o,i,a]),(0,V.jsx)(uc.Provider,{value:B.useMemo(()=>({hasProvider:!0,delayRef:i,initialDelayRef:a,currentIdRef:o,timeoutMs:r,currentContextRef:s,timeout:c}),[r,c]),children:t})}function pc(e,t={open:!1}){let{open:n}=t,r=`rootStore`in e?e.rootStore:e,i=r.useState(`floatingId`),{currentIdRef:a,delayRef:o,timeoutMs:s,initialDelayRef:c,currentContextRef:l,hasProvider:u,timeout:d}=B.useContext(uc),[f,p]=B.useState(!1),m=B.useRef(n);return ft(()=>{m.current=n},[n]),ft(()=>{function e(){l.current?.setIsInstantPhase(!1),a.current=null,l.current=null,o.current=c.current,d.clear()}if(a.current&&!n&&a.current===i){if(p(!1),s){let t=i;return d.start(s,()=>{r.select(`open`)||a.current&&a.current!==t||e()}),()=>{(m.current||a.current!==t)&&d.clear()}}e()}},[n,i,a,o,s,c,l,d,r]),ft(()=>{if(!n)return;let e=l.current,t=a.current;d.clear(),l.current={onOpenChange:r.setOpen,setIsInstantPhase:p},a.current=i,o.current={open:0,close:oc(c.current,`close`)},t!==null&&t!==i?(p(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1,Et(bt))):(p(!1),e?.setIsInstantPhase(!1))},[n,i,r,a,o,c,l,d]),ft(()=>()=>{if(a.current===i){if(l.current=null,!m.current)return;a.current=null,dc(o,c),d.clear()}},[l,a,o,i,c,d]),B.useMemo(()=>({activeIdRef:a,hasProvider:u,delayRef:o,isInstantPhase:f}),[a,u,o,f])}function mc(e,t){let n=null,r=null,i=!1;return{contextElement:e||void 0,getBoundingClientRect(){let a=e?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},o=t.axis===`x`||t.axis===`both`,s=t.axis===`y`||t.axis===`both`,c=[`mouseenter`,`mousemove`].includes(t.dataRef.current.openEvent?.type||``)&&t.pointerType!==`touch`,l=a.width,u=a.height,d=a.x,f=a.y;return n==null&&t.x&&o&&(n=a.x-t.x),r==null&&t.y&&s&&(r=a.y-t.y),d-=n||0,f-=r||0,l=0,u=0,!i||c?(l=t.axis===`y`?a.width:0,u=t.axis===`x`?a.height:0,d=o&&t.x!=null?t.x:d,f=s&&t.y!=null?t.y:f):i&&!c&&(u=t.axis===`x`?a.height:u,l=t.axis===`y`?a.width:l),i=!0,{width:l,height:u,x:d,y:f,top:f,right:d+l,bottom:f+u,left:d}}}}function hc(e){return e!=null&&e.clientX!=null}function gc(e,t={}){let{enabled:n=!0,axis:r=`both`}=t,i=`rootStore`in e?e.rootStore:e,a=i.useState(`open`),o=i.useState(`floatingElement`),s=i.useState(`domReferenceElement`),c=i.context.dataRef,l=B.useRef(!1),u=B.useRef(null),[d,f]=B.useState(),[p,m]=B.useState([]),h=pt(e=>{i.set(`positionReference`,e)}),g=pt((e,t,n)=>{l.current||(!c.current.openEvent||hc(c.current.openEvent))&&i.set(`positionReference`,mc(n??s,{x:e,y:t,axis:r,dataRef:c,pointerType:d}))}),_=pt(e=>{a?u.current||(g(e.clientX,e.clientY,e.currentTarget),m([])):g(e.clientX,e.clientY,e.currentTarget)}),v=Vt(d)?o:a;B.useEffect(()=>{if(!n){h(s);return}if(!v)return;function e(){u.current?.(),u.current=null}let t=lt(o);function r(t){let n=gt(t);vt(o,n)?e():g(t.clientX,t.clientY)}return!c.current.openEvent||hc(c.current.openEvent)?u.current=Pe(t,`mousemove`,r):h(s),e},[v,n,o,c,s,i,g,h,p]),B.useEffect(()=>()=>{i.set(`positionReference`,null)},[i]),B.useEffect(()=>{n&&!o&&(l.current=!1)},[n,o]),B.useEffect(()=>{!n&&a&&(l.current=!0)},[n,a]);let y=B.useMemo(()=>{function e(e){f(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:_,onMouseEnter:_}},[_]);return B.useMemo(()=>n?{reference:y,trigger:y}:{},[n,y])}var _c=Ae();function vc(e){let t=B.useCallback(t=>e===void 0?Be:e.subscribeStore(t),[e]),n=B.useCallback(()=>e===void 0?void 0:e.store,[e]);return(0,_c.useSyncExternalStore)(t,n,()=>e?.serverStore)}var yc=rn&&Bt;function bc(e,t={}){let{enabled:n=!0,delay:r}=t,i=`rootStore`in e?e.rootStore:e,{events:a,dataRef:o}=i.context,s=B.useRef(!1),c=B.useRef(null),l=B.useRef(!0),u=At();B.useEffect(()=>{let e=i.select(`domReferenceElement`);if(!n)return;let t=lt(e);function r(){let e=i.select(`domReferenceElement`);!i.select(`open`)&&ut(e)&&e===kt(_t(e))&&(s.current=!0,c.current=e)}function a(){l.current=!0}function o(){l.current=!1}return Pt(Pe(t,`blur`,r),yc&&Pe(t,`keydown`,a,!0),yc&&Pe(t,`pointerdown`,o,!0))},[i,n]),B.useEffect(()=>{if(!n)return;function e(e){if(e.reason===`trigger-press`||e.reason===`escape-key`){let e=i.select(`domReferenceElement`);ht(e)&&(c.current=e,s.current=!0)}}return a.on(`openchange`,e),()=>{a.off(`openchange`,e)}},[a,n,i]);let d=B.useMemo(()=>{function e(){s.current=!1,c.current=null}return{onMouseLeave(){e()},onFocus(t){let n=t.currentTarget;if(s.current){if(c.current===n)return;e()}let a=gt(t.nativeEvent);if(ht(a)){if(yc&&!t.relatedTarget){if(!l.current&&!L(a))return}else if(!Ht(a))return}let o=Xt(t.relatedTarget,i.context.triggerElements),{nativeEvent:d,currentTarget:f}=t,p=typeof r==`function`?r():r;if(i.select(`open`)&&o||p===0||p===void 0){i.setOpen(!0,Et(wt,d,f));return}u.start(p,()=>{s.current||i.setOpen(!0,Et(wt,d,f))})},onBlur(t){e();let n=t.relatedTarget,r=t.nativeEvent,a=ht(n)&&n.hasAttribute(sn(`focus-guard`))&&n.getAttribute(`data-type`)===`outside`;u.start(0,()=>{let e=i.select(`domReferenceElement`),t=kt(_t(e));(n||t!==e)&&(vt(o.current.floatingContext?.refs.floating.current,t)||vt(e,t)||a||Xt(n??t,i.context.triggerElements)||i.setOpen(!1,Et(wt,r)))})}}},[o,r,i,u]);return B.useMemo(()=>n?{reference:d,trigger:d}:{},[n,d])}var xc=class e{constructor(){this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new Dt,this.restTimeout=new Dt,this.handleCloseOptions=void 0}static create(){return new e}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose},Sc=new WeakMap;function Cc(e){if(!e.performedPointerEventsMutation)return;let t=e.pointerEventsScopeElement;t&&Sc.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty(`pointer-events`),e.pointerEventsReferenceElement?.style.removeProperty(`pointer-events`),e.pointerEventsFloatingElement?.style.removeProperty(`pointer-events`),Sc.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function wc(e,t){let{scopeElement:n,referenceElement:r,floatingElement:i}=t,a=Sc.get(n);a&&a!==e&&Cc(a),Cc(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=i,Sc.set(n,e),n.style.pointerEvents=`none`,r.style.pointerEvents=`auto`,i.style.pointerEvents=`auto`}function Tc(e){let t=e.context.dataRef.current,n=Re(()=>t.hoverInteractionState??xc.create()).current;return t.hoverInteractionState||=n,yt(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}function Ec(e,t={}){let{enabled:n=!0,closeDelay:r=0,nodeId:i}=t,a=`rootStore`in e?e.rootStore:e,o=a.useState(`open`),s=a.useState(`floatingElement`),c=a.useState(`domReferenceElement`),{dataRef:l}=a.context,u=It(),d=qt(),f=Tc(a),p=At(),m=pt(()=>cc(l.current.openEvent?.type,f.interactedInside)),h=pt(()=>lc(l.current.openEvent?.type)),g=pt(()=>{Cc(f)});ft(()=>{o||(f.pointerType=void 0,f.restTimeoutPending=!1,f.interactedInside=!1,g())},[o,f,g]),B.useEffect(()=>g,[g]),ft(()=>{if(n&&o&&f.handleCloseOptions?.blockPointerEvents&&h()&&ht(c)&&s){let e=c,t=s,n=_t(s),r=u?.nodesRef.current.find(e=>e.id===d)?.context?.elements.floating;r&&(r.style.pointerEvents=``);let i=f.pointerEventsScopeElement===t?null:f.pointerEventsScopeElement,a=r===t?null:r,o=f.handleCloseOptions?.getScope?.()??i??a??e.closest(`[data-rootownerid]`)??n.body;return wc(f,{scopeElement:o,referenceElement:e,floatingElement:t}),()=>{g()}}},[n,o,c,s,f,h,u,d,g]),B.useEffect(()=>{if(!n)return;function e(){return!!(u&&d&&jt(u.nodesRef.current,d).length>0)}function t(e){let t=oc(r,`close`,f.pointerType),n=()=>{a.setOpen(!1,Et(St,e)),u?.events.emit(`floating.closed`,e)};t?f.openChangeTimeout.start(t,n):(f.openChangeTimeout.clear(),n())}function o(e){let t=gt(e);if(!en(t)){f.interactedInside=!1;return}f.interactedInside=t?.closest(`[aria-haspopup]`)!=null}function c(){f.openChangeTimeout.clear(),p.clear(),u?.events.off(`floating.closed`,v),g()}function _(n){if(e()&&u){u.events.on(`floating.closed`,v);return}if(Xt(n.relatedTarget,a.context.triggerElements))return;let r=l.current.floatingContext?.nodeId??i,o=n.relatedTarget;if(!(u&&r&&ht(o)&&jt(u.nodesRef.current,r,!1).some(e=>vt(e.context?.elements.floating,o)))){if(f.handler){f.handler(n);return}g(),h()&&!m()&&t(n)}}function v(t){u&&d&&!e()&&p.start(0,()=>{u.events.off(`floating.closed`,v),a.setOpen(!1,Et(St,t)),u.events.emit(`floating.closed`,t)})}let y=s;return Pt(y&&Pe(y,`mouseenter`,c),y&&Pe(y,`mouseleave`,_),y&&Pe(y,`pointerdown`,o,!0),()=>{u?.events.off(`floating.closed`,v)})},[n,s,a,l,r,i,h,m,g,f,u,d,p])}var Dc=n(Me(),1),Oc={current:null};function kc(e,t={}){let{enabled:n=!0,delay:r=0,handleClose:i=null,mouseOnly:a=!1,restMs:o=0,move:s=!0,triggerElementRef:c=Oc,externalTree:l,isActiveTrigger:u=!0,getHandleCloseContext:d,isClosing:f,shouldOpen:p,guardStaleOpen:m=!1}=t,h=`rootStore`in e?e.rootStore:e,{dataRef:g,events:_}=h.context,v=It(l),y=Tc(h),b=B.useRef(!1),x=Fe(i),S=Fe(r),C=Fe(o),w=Fe(n),T=Fe(p),E=Fe(f),D=pt(()=>cc(g.current.openEvent?.type,y.interactedInside)),O=pt(()=>T.current?.()!==!1),k=pt((e,t,n)=>{let r=h.context.triggerElements;if(r.hasElement(t))return!e||!vt(e,t);if(!ht(n))return!1;let i=n;return r.hasMatchingElement(e=>vt(e,i))&&(!e||!vt(e,i))}),ee=pt(()=>{y.handler&&=(_t(h.select(`domReferenceElement`)).removeEventListener(`mousemove`,y.handler),void 0)}),te=pt(()=>{Cc(y)});return u&&(y.handleCloseOptions=i?.__options),B.useEffect(()=>ee,[ee]),B.useEffect(()=>{if(!n)return;function e(e){e.open?b.current=!1:(b.current=e.reason===St,ee(),y.openChangeTimeout.clear(),y.restTimeout.clear(),y.blockMouseMove=!0,y.restTimeoutPending=!1)}return _.on(`openchange`,e),()=>{_.off(`openchange`,e)}},[n,_,y,ee]),B.useEffect(()=>{if(!n)return;function e(e,t=!0){let n=oc(S.current,`close`,y.pointerType);n?y.openChangeTimeout.start(n,()=>{h.setOpen(!1,Et(St,e)),v?.events.emit(`floating.closed`,e)}):t&&(y.openChangeTimeout.clear(),h.setOpen(!1,Et(St,e)),v?.events.emit(`floating.closed`,e))}let t=c.current??(u?h.select(`domReferenceElement`):null);if(!ht(t))return;function r(e){if(y.openChangeTimeout.clear(),y.blockMouseMove=!1,a&&!Vt(y.pointerType))return;let t=sc(C.current),n=oc(S.current,`open`,y.pointerType),r=gt(e),i=e.currentTarget??null,o=h.select(`domReferenceElement`),s=i;if(ht(r)&&!h.context.triggerElements.hasElement(r)){for(let e of h.context.triggerElements.elements())if(vt(e,r)){s=e;break}}ht(i)&&ht(o)&&!h.context.triggerElements.hasElement(i)&&vt(i,o)&&(s=o);let c=s!=null&&k(o,s,r),l=h.select(`open`),u=E.current?.()??h.select(`transitionStatus`)===`ending`,d=!l&&u&&b.current,f=!c&&ht(s)&&ht(o)&&vt(o,s)&&d,p=t>0&&!n,m=c&&(l||d)||f,g=!l||c;if(m){O()&&h.setOpen(!0,Et(St,e,s));return}p||(n?y.openChangeTimeout.start(n,()=>{g&&O()&&h.setOpen(!0,Et(St,e,s))}):g&&O()&&h.setOpen(!0,Et(St,e,s)))}function i(t){if(D()){te();return}ee();let n=h.select(`domReferenceElement`),r=_t(n);y.restTimeout.clear(),y.restTimeoutPending=!1;let i=g.current.floatingContext??d?.();if(!Xt(t.relatedTarget,h.context.triggerElements)){if(x.current&&i){h.select(`open`)||y.openChangeTimeout.clear();let n=c.current;y.handler=x.current({...i,tree:v,x:t.clientX,y:t.clientY,onClose(){te(),ee(),w.current&&!D()&&n===h.select(`domReferenceElement`)&&e(t,!0)}}),r.addEventListener(`mousemove`,y.handler),y.handler(t);return}(y.pointerType!==`touch`||!vt(h.select(`floatingElement`),t.relatedTarget))&&e(t)}}function o(e){vt(t,e.relatedTarget)||(y.openChangeTimeout.clear(),y.restTimeout.clear(),y.restTimeoutPending=!1)}let l=m?Pe(t,`mouseout`,o):void 0;return s?Pt(Pe(t,`mousemove`,r,{once:!0}),Pe(t,`mouseenter`,r),Pe(t,`mouseleave`,i),l):Pt(Pe(t,`mouseenter`,r),Pe(t,`mouseleave`,i),l)},[ee,te,g,S,h,n,x,y,u,k,D,a,s,C,c,v,w,d,E,O,m]),B.useMemo(()=>{if(!n)return;function e(e){y.pointerType=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e,n=e.currentTarget,r=h.select(`domReferenceElement`),i=h.select(`open`),o=k(r,n,e.target);if(a&&!Vt(y.pointerType))return;if(i&&o&&y.handleCloseOptions?.blockPointerEvents){let e=h.select(`floatingElement`);if(e){let t=y.handleCloseOptions?.getScope?.()??n.ownerDocument.body;wc(y,{scopeElement:t,referenceElement:n,floatingElement:e})}}let s=sc(C.current);if(i&&!o||s===0||!o&&y.restTimeoutPending&&e.movementX**2+e.movementY**2<2)return;y.restTimeout.clear();function c(){if(y.restTimeoutPending=!1,D())return;let e=h.select(`open`);!y.blockMouseMove&&(!e||o)&&O()&&h.setOpen(!0,Et(St,t,n))}y.pointerType===`touch`?Dc.flushSync(()=>{c()}):o&&i?c():(y.restTimeoutPending=!0,y.restTimeout.start(s,c))}}},[n,y,D,k,a,h,C,O])}var Ac=.1,jc=Ac*Ac,Mc=.5;function Nc(e,t,n,r,i,a){return r>=t!=a>=t&&e<=(i-n)*(t-r)/(a-r)+n}function Pc(e,t,n,r,i,a,o,s,c,l){let u=!1;return Nc(e,t,n,r,i,a)&&(u=!u),Nc(e,t,i,a,o,s)&&(u=!u),Nc(e,t,o,s,c,l)&&(u=!u),Nc(e,t,c,l,n,r)&&(u=!u),u}function Fc(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}function Ic(e,t,n,r,i,a){return e>=Math.min(n,i)&&e<=Math.max(n,i)&&t>=Math.min(r,a)&&t<=Math.max(r,a)}function Lc(e={}){let{blockPointerEvents:t=!1}=e,n=new Dt,r=({x:e,y:t,placement:r,elements:i,onClose:a,nodeId:o,tree:s})=>{let c=r?.split(`-`)[0],l=!1,u=null,d=null,f=typeof performance<`u`?performance.now():0;function p(e,t){let n=performance.now(),r=n-f;if(u===null||d===null||r===0)return u=e,d=t,f=n,!1;let i=e-u,a=t-d,o=i*i+a*a,s=r*r*jc;return u=e,d=t,f=n,o0)}function b(){y()||m()}if(y())return;let x=a.getBoundingClientRect(),S=u.getBoundingClientRect(),C=e>S.right-S.width/2,w=t>S.bottom-S.height/2,T=S.width>x.width,E=S.height>x.height,D=(T?x:S).left,O=(T?x:S).right,k=(E?x:S).top,ee=(E?x:S).bottom;if(c===`top`&&t>=x.bottom-1||c===`bottom`&&t<=x.top+1||c===`left`&&e>=x.right-1||c===`right`&&e<=x.left+1){b();return}let te=!1;switch(c){case`top`:te=Ic(d,f,D,x.top+1,O,S.bottom-1);break;case`bottom`:te=Ic(d,f,D,S.top+1,O,x.bottom-1);break;case`left`:te=Ic(d,f,S.right-1,ee,x.left+1,k);break;case`right`:te=Ic(d,f,x.right-1,ee,S.left+1,k)}if(te)return;if(l&&!Fc(d,f,x)){b();return}if(!g&&p(d,f)){b();return}let ne=!1;switch(c){case`top`:{let n=T?Mc/2:Mc*4,r=T||C?e+n:e-n,i=T?e-n:C?e+n:e-n,a=t+Mc+1,o=C||T?S.bottom-Mc:S.top,s=C?T?S.bottom-Mc:S.top:S.bottom-Mc;ne=Pc(d,f,r,a,i,a,S.left,o,S.right,s);break}case`bottom`:{let n=T?Mc/2:Mc*4,r=T||C?e+n:e-n,i=T?e-n:C?e+n:e-n,a=t-Mc,o=C||T?S.top+Mc:S.bottom,s=C?T?S.top+Mc:S.bottom:S.top+Mc;ne=Pc(d,f,r,a,i,a,S.left,o,S.right,s);break}case`left`:{let n=E?Mc/2:Mc*4,r=E||w?t+n:t-n,i=E?t-n:w?t+n:t-n,a=e+Mc+1,o=w||E?S.right-Mc:S.left,s=w?E?S.right-Mc:S.left:S.right-Mc;ne=Pc(d,f,o,S.top,s,S.bottom,a,r,a,i);break}case`right`:{let n=E?Mc/2:Mc*4,r=E||w?t+n:t-n,i=E?t-n:w?t+n:t-n,a=e-Mc,o=w||E?S.left+Mc:S.right,s=w?E?S.left+Mc:S.right:S.left+Mc;ne=Pc(d,f,a,r,a,i,o,S.top,s,S.bottom);break}}ne?l||n.start(40,b):b()}};return r.__options={...e,blockPointerEvents:t},r}var Rc=Mt(function(e){return gn(`dialog`,e)});function zc(e){let t=(0,U.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(Rc,{"data-slot":`sheet`,...n}),t[2]=n,t[3]=r),r}function Bc(e){let t=(0,U.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(vn,{"data-slot":`sheet-portal`,...n}),t[2]=n,t[3]=r),r}function Vc(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`data-closed:fade-out-0 data-open:fade-in-0 data-closed:animate-out data-open:animate-in fixed inset-0 z-50 bg-black/80 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(hn,{className:i,"data-slot":`sheet-overlay`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Hc(e){let t=(0,U.c)(17),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:r,children:n,side:a,showCloseButton:o,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=a===void 0?`right`:a,c=o===void 0||o,l;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,V.jsx)(Vc,{}),t[6]=l):l=t[6];let u;t[7]===r?u=t[8]:(u=P(`data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 data-closed:animate-out data-open:animate-in fixed z-50 flex flex-col bg-background bg-clip-padding text-xs/relaxed shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm`,r),t[7]=r,t[8]=u);let d;t[9]===c?d=t[10]:(d=c&&(0,V.jsxs)(pn,{"data-slot":`sheet-close`,render:(0,V.jsx)(mt,{className:`absolute top-4 right-4`,size:`icon-sm`,variant:`ghost`}),children:[(0,V.jsx)(st,{}),(0,V.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),t[9]=c,t[10]=d);let f;return t[11]!==n||t[12]!==i||t[13]!==s||t[14]!==u||t[15]!==d?(f=(0,V.jsxs)(Bc,{children:[l,(0,V.jsxs)(mn,{className:u,"data-side":s,"data-slot":`sheet-content`,...i,children:[n,d]})]}),t[11]=n,t[12]=i,t[13]=s,t[14]=u,t[15]=d,t[16]=f):f=t[16],f}function Uc(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex flex-col gap-1.5 p-6`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{className:i,"data-slot":`sheet-header`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Wc(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`text-sm font-medium text-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(bn,{className:i,"data-slot":`sheet-title`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Gc(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`text-xs/relaxed text-muted-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(yn,{className:i,"data-slot":`sheet-description`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Kc=B.createContext(void 0);function qc(e){let t=B.useContext(Kc);if(t===void 0&&!e)throw Error(He(72));return t}var Jc={..._n,disabled:e=>e.disabled,instantType:e=>e.instantType,isInstantPhase:e=>e.isInstantPhase,trackCursorAxis:e=>e.trackCursorAxis,disableHoverablePopup:e=>e.disableHoverablePopup,lastOpenChangeReason:e=>e.openChangeReason,closeOnClick:e=>e.closeOnClick,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},Yc=class extends Nt{constructor(e,t,n){let r=new Qt;super(Xc(e,r,t,n),Zc(r),Jc)}setOpen=(e,t)=>{Gt(this,e,t,{extraState:{openChangeReason:t.reason}})};cancelPendingOpen(e){this.state.floatingRootContext.dispatchOpenChange(!1,Et(xt,e))}};function Xc(e,t,n,r=!1){return{...fn(t,n,r),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:`none`,disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e}}function Zc(e){return{popupRef:B.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}var Qc=Mt(function(e){let{disabled:t=!1,defaultOpen:n=!1,open:r,disableHoverablePopup:i=!1,trackCursorAxis:a=`none`,actionsRef:o,onOpenChange:s,onOpenChangeComplete:c,handle:l,triggerId:u,defaultTriggerId:d=null,children:f}=e,p=zt((e,t)=>new Yc({open:n,openProp:r,activeTriggerId:d,triggerIdProp:u},e,t));p.useControlledProp(`openProp`,r),p.useControlledProp(`triggerIdProp`,u),p.useContextCallback(`onOpenChange`,s),p.useContextCallback(`onOpenChangeComplete`,c);let m=p.useState(`open`),h=!t&&m,g=p.useState(`activeTriggerId`),_=p.useState(`mounted`),v=p.useState(`payload`);p.useSyncedValues({trackCursorAxis:a,disableHoverablePopup:i,disabled:t}),on(p,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:y,transitionStatus:b}=Ut(h,p),x=p.useState(`isInstantPhase`),S=p.useState(`instantType`),C=p.useState(`lastOpenChangeReason`),w=B.useRef(null);ft(()=>{m&&t&&p.setOpen(!1,Et(Ct))},[m,t,p]),ft(()=>{b===`ending`&&C===`none`||b!==`ending`&&x?(S!==`delay`&&(w.current=S),p.set(`instantType`,`delay`)):w.current!==null&&(p.set(`instantType`,w.current),w.current=null)},[b,x,C,S,p]),ft(()=>{h&&(g??p.set(`payload`,void 0))},[p,g,h]),B.useImperativeHandle(o,()=>({unmount:y,close:()=>p.setOpen(!1,Et(Tt))}),[y,p]);let T=h||_||!t&&a!==`none`;return(0,V.jsxs)(Kc.Provider,{value:p,children:[l&&(0,V.jsx)(Kt,{handle:l,store:p}),T&&(0,V.jsx)($c,{store:p,disabled:t,trackCursorAxis:a}),typeof f==`function`?f({payload:v}):f]})});function $c({store:e,disabled:t,trackCursorAxis:n}){let r=e.useState(`floatingRootContext`),i=Jt(r,{enabled:!t,referencePress:()=>e.select(`closeOnClick`)}),a=gc(r,{enabled:!t&&n!==`none`,axis:n===`none`?void 0:n}),o=B.useMemo(()=>Le(a.reference,i.reference),[a.reference,i.reference]);return an(e,{activeTriggerProps:o,inactiveTriggerProps:o,popupProps:i.floating??Ie}),null}var el=B.createContext(void 0);function tl(){return B.useContext(el)}var nl=`data-base-ui-tooltip-trigger`;function rl(e){if(`composedPath`in e){let t=e.composedPath();for(let e=0;em.select(`transitionStatus`)===`ending`,shouldOpen(){return!ie.current}}),de=bc(v,{enabled:!ee}).reference,fe=e=>{let t=ie.current,n=rl(e),r=le(n),i=y.current,a=i&&n&&vt(i,n);if(r&&m.select(`open`)&&m.select(`lastOpenChangeReason`)===`trigger-hover`){m.setOpen(!1,Et(St,e));return}if(t&&!r&&a&&!te.current&&!m.select(`open`)&&i&&Vt(oe.current)){let t=()=>{!ie.current&&!te.current&&!m.select(`open`)&&m.setOpen(!0,Et(St,e,i))},n=se();n===0?(ae.clear(),t()):ae.start(n,t)}},pe=m.useState(`triggerProps`,S);return ze(`button`,e,{state:{open:_},ref:[t,x,y],props:[ue,de,S||ne!==`none`?pe:void 0,{onMouseOver(e){fe(e.nativeEvent)},onFocus(e){ce(rl(e.nativeEvent))&&e.preventBaseUIHandler()},onMouseLeave(){ie.current=!1,ae.clear(),oe.current=void 0},onPointerEnter(e){oe.current=e.pointerType},onPointerDown(e){oe.current=e.pointerType,m.set(`closeOnClick`,l),l&&!m.select(`open`)&&m.cancelPendingOpen(e.nativeEvent)},onClick(e){l&&!m.select(`open`)&&m.cancelPendingOpen(e.nativeEvent)},id:h,[Zt]:ee?``:void 0,[nl]:ee?void 0:``},f],stateAttributesMapping:tn})}),ol=B.createContext(void 0);function sl(){let e=B.useContext(ol);if(e===void 0)throw Error(He(70));return e}var cl=B.forwardRef(function(e,t){let{children:n,container:r,className:i,render:a,style:o,...s}=e,{node:c,subtree:l}=Rt({container:r,ref:t,componentProps:e,elementProps:s});return!l&&!c?null:(0,V.jsxs)(B.Fragment,{children:[l,c&&Dc.createPortal(n,c)]})}),ll=B.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return qc().useState(`mounted`)||n?(0,V.jsx)(ol.Provider,{value:n,children:(0,V.jsx)(cl,{ref:t,...r})}):null}),ul=B.createContext(void 0);function dl(){let e=B.useContext(ul);if(e===void 0)throw Error(He(71));return e}var fl=B.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a=`absolute`,side:o=`top`,align:s=`center`,sideOffset:c=0,alignOffset:l=0,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:m=!1,collisionAvoidance:h=Ft,style:g,..._}=e,v=qc(),y=sl(),b=v.useState(`open`),x=v.useState(`mounted`),S=v.useState(`trackCursorAxis`),C=v.useState(`disableHoverablePopup`),w=v.useState(`floatingRootContext`),T=v.useState(`instantType`),E=v.useState(`transitionStatus`),D=v.useState(`adaptiveOrigin`),O=ln({anchor:i,positionMethod:a,floatingRootContext:w,mounted:x,side:o,sideOffset:c,align:s,alignOffset:l,collisionBoundary:u,collisionPadding:d,sticky:p,arrowPadding:f,disableAnchorTracking:m,keepMounted:y,collisionAvoidance:h,adaptiveOrigin:D}),k=B.useMemo(()=>({open:b,side:O.side,align:O.align,anchorHidden:O.anchorHidden,instant:S===`none`?T:`tracking-cursor`}),[b,O.side,O.align,O.anchorHidden,S,T]),ee=un(e,k,{styles:O.positionerStyles,transitionStatus:E,props:_,refs:[t,v.useStateSetter(`positionerElement`)],hidden:!x,inert:!b||S===`both`||C});return(0,V.jsx)(ul.Provider,{value:O,children:ee})}),pl=B.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=qc(),{side:s,align:c}=dl(),l=o.useState(`open`),u=o.useState(`instantType`),d=o.useState(`transitionStatus`),f=o.useState(`popupProps`),p=o.useState(`floatingRootContext`),m=o.useState(`disabled`),h=o.useState(`closeDelay`);Ne({open:l,ref:o.context.popupRef,onComplete(){l&&o.context.onOpenChangeComplete?.(!0)}}),Ec(p,{enabled:!m,closeDelay:h});let g=o.useStateSetter(`popupElement`);return ze(`div`,e,{state:{open:l,side:s,align:c,instant:u,transitionStatus:d},ref:[t,o.context.popupRef,g],props:[Yt,f,cn(d),a],stateAttributesMapping:Wt})}),ml=B.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=qc(),{arrowRef:s,side:c,align:l,arrowUncentered:u,arrowStyles:d}=dl(),f={open:o.useState(`open`),side:c,align:l,uncentered:u,instant:o.useState(`instantType`)};return ze(`div`,e,{state:f,ref:[t,s],props:[{style:d,"aria-hidden":!0},a],stateAttributesMapping:$t})}),hl=function(e){let{delay:t,closeDelay:n,timeout:r=400}=e,i=B.useMemo(()=>({open:t,close:n}),[t,n]);return(0,V.jsx)(el.Provider,{value:t,children:(0,V.jsx)(fc,{delay:i,timeoutMs:r,children:e.children})})};function gl(e){let t=(0,U.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({delay:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?0:r,a;return t[3]!==i||t[4]!==n?(a=(0,V.jsx)(hl,{"data-slot":`tooltip-provider`,delay:i,...n}),t[3]=i,t[4]=n,t[5]=a):a=t[5],a}function _l(e){let t=(0,U.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(gl,{children:(0,V.jsx)(Qc,{"data-slot":`tooltip`,...n})}),t[2]=n,t[3]=r),r}function vl(e){let t=(0,U.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(al,{"data-slot":`tooltip-trigger`,...n}),t[2]=n,t[3]=r),r}function yl(e){let t=(0,U.c)(21),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:r,side:a,sideOffset:o,align:s,alignOffset:c,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=a===void 0?`top`:a,u=o===void 0?4:o,d=s===void 0?`center`:s,f=c===void 0?0:c,p;t[8]===r?p=t[9]:(p=P(`data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:animate-in data-closed:animate-out data-open:animate-in z-50 w-fit max-w-xs origin-(--transform-origin) rounded-md bg-foreground px-3 py-1.5 text-xs text-background **:data-[slot=kbd]:rounded-md`,r),t[8]=r,t[9]=p);let m;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,V.jsx)(ml,{className:`z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5`}),t[10]=m):m=t[10];let h;t[11]!==n||t[12]!==i||t[13]!==p?(h=(0,V.jsxs)(pl,{className:p,"data-slot":`tooltip-content`,...i,children:[n,m]}),t[11]=n,t[12]=i,t[13]=p,t[14]=h):h=t[14];let g;return t[15]!==d||t[16]!==f||t[17]!==l||t[18]!==u||t[19]!==h?(g=(0,V.jsx)(ll,{children:(0,V.jsx)(fl,{align:d,alignOffset:f,className:`isolate z-50`,side:l,sideOffset:u,children:h})}),t[15]=d,t[16]=f,t[17]=l,t[18]=u,t[19]=h,t[20]=g):g=t[20],g}var bl=window.matchMedia(`(max-width: 767px)`);function xl(e){return bl.addEventListener(`change`,e),()=>{bl.removeEventListener(`change`,e)}}function Sl(){return bl.matches}function Cl(){return(0,B.useSyncExternalStore)(xl,Sl)}var wl=`sidebar_state`,Tl=604800,El=`12rem`,Dl=`16rem`,Ol=`3rem`,kl=`b`,Al=B.createContext(null);function jl(){let e=B.useContext(Al);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e}function Ml(e){let t=(0,U.c)(36),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({defaultOpen:c,open:i,onOpenChange:o,className:r,style:s,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=c===void 0||c,u=Cl(),[d,f]=B.useState(!1),[p,m]=B.useState(l),h=i??p,g;t[8]!==h||t[9]!==o?(g=e=>{let t=typeof e==`function`?e(h):e;o?o(t):m(t),document.cookie=`${wl}=${t}; path=/; max-age=${Tl}`},t[8]=h,t[9]=o,t[10]=g):g=t[10];let _=g,v;t[11]!==u||t[12]!==_?(v=()=>{u?f(Pl):_(Nl)},t[11]=u,t[12]=_,t[13]=v):v=t[13];let y=v,b,x;t[14]===y?(b=t[15],x=t[16]):(b=()=>{let e=e=>{e.key===kl&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),y())};return window.addEventListener(`keydown`,e),()=>{window.removeEventListener(`keydown`,e)}},x=[y],t[14]=y,t[15]=b,t[16]=x),B.useEffect(b,x);let S=h?`expanded`:`collapsed`,C;t[17]!==u||t[18]!==h||t[19]!==d||t[20]!==_||t[21]!==S||t[22]!==y?(C={state:S,open:h,setOpen:_,isMobile:u,openMobile:d,setOpenMobile:f,toggleSidebar:y},t[17]=u,t[18]=h,t[19]=d,t[20]=_,t[21]=S,t[22]=y,t[23]=C):C=t[23];let w=C,T;t[24]===s?T=t[25]:(T={"--sidebar-width":El,"--sidebar-width-icon":Ol,...s},t[24]=s,t[25]=T);let E=T,D;t[26]===r?D=t[27]:(D=P(`group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar`,r),t[26]=r,t[27]=D);let O;t[28]!==n||t[29]!==a||t[30]!==D||t[31]!==E?(O=(0,V.jsx)(`div`,{className:D,"data-slot":`sidebar-wrapper`,style:E,...a,children:n}),t[28]=n,t[29]=a,t[30]=D,t[31]=E,t[32]=O):O=t[32];let k;return t[33]!==w||t[34]!==O?(k=(0,V.jsx)(Al.Provider,{value:w,children:O}),t[33]=w,t[34]=O,t[35]=k):k=t[35],k}function Nl(e){return!e}function Pl(e){return!e}function Fl(e){let t=(0,U.c)(46),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({side:a,variant:o,collapsible:s,className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=a===void 0?`left`:a,l=o===void 0?`sidebar`:o,u=s===void 0?`offExamples`:s,{isMobile:d,state:f,openMobile:p,setOpenMobile:m}=jl();if(u===`none`){let e;t[7]===r?e=t[8]:(e=P(`flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground`,r),t[7]=r,t[8]=e);let a;return t[9]!==n||t[10]!==i||t[11]!==e?(a=(0,V.jsx)(`div`,{className:e,"data-slot":`sidebar`,...i,children:n}),t[9]=n,t[10]=i,t[11]=e,t[12]=a):a=t[12],a}if(d){let e;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(e={"--sidebar-width":Dl},t[13]=e):e=t[13];let r=e,a;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,V.jsxs)(Uc,{className:`sr-only`,children:[(0,V.jsx)(Wc,{children:`Sidebar`}),(0,V.jsx)(Gc,{children:`Displays the mobile sidebar.`})]}),t[14]=a):a=t[14];let o;t[15]===n?o=t[16]:(o=(0,V.jsx)(`div`,{className:`flex h-full w-full flex-col`,children:n}),t[15]=n,t[16]=o);let s;t[17]!==c||t[18]!==o?(s=(0,V.jsxs)(Hc,{className:`w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden`,"data-mobile":`true`,"data-sidebar":`sidebar`,"data-slot":`sidebar`,side:c,style:r,children:[a,o]}),t[17]=c,t[18]=o,t[19]=s):s=t[19];let l;return t[20]!==p||t[21]!==i||t[22]!==m||t[23]!==s?(l=(0,V.jsx)(zc,{onOpenChange:m,open:p,...i,children:s}),t[20]=p,t[21]=i,t[22]=m,t[23]=s,t[24]=l):l=t[24],l}let h=f===`collapsed`?u:``,g=l===`floating`||l===`inset`?`group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon)`,_;t[25]===g?_=t[26]:(_=P(`relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear`,`group-data-[collapsible=offExamples]:w-0`,`group-data-[side=right]:rotate-180`,g),t[25]=g,t[26]=_);let v;t[27]===_?v=t[28]:(v=(0,V.jsx)(`div`,{className:_,"data-slot":`sidebar-gap`}),t[27]=_,t[28]=v);let y=c===`left`?`left-0 group-data-[collapsible=offExamples]:left-[calc(var(--sidebar-width)*-1)]`:`right-0 group-data-[collapsible=offExamples]:right-[calc(var(--sidebar-width)*-1)]`,b=l===`floating`||l===`inset`?`p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l`,x;t[29]!==r||t[30]!==y||t[31]!==b?(x=P(`fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex`,y,b,r),t[29]=r,t[30]=y,t[31]=b,t[32]=x):x=t[32];let S;t[33]===n?S=t[34]:(S=(0,V.jsx)(`div`,{className:`flex size-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border`,"data-sidebar":`sidebar`,"data-slot":`sidebar-inner`,children:n}),t[33]=n,t[34]=S);let C;t[35]!==i||t[36]!==x||t[37]!==S?(C=(0,V.jsx)(`div`,{className:x,"data-slot":`sidebar-container`,...i,children:S}),t[35]=i,t[36]=x,t[37]=S,t[38]=C):C=t[38];let w;return t[39]!==c||t[40]!==f||t[41]!==C||t[42]!==h||t[43]!==v||t[44]!==l?(w=(0,V.jsxs)(`div`,{className:`group peer hidden text-sidebar-foreground md:block`,"data-collapsible":h,"data-side":c,"data-slot":`sidebar`,"data-state":f,"data-variant":l,children:[v,C]}),t[39]=c,t[40]=f,t[41]=C,t[42]=h,t[43]=v,t[44]=l,t[45]=w):w=t[45],w}function Il(e){let t=(0,U.c)(15),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,onClick:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let{toggleSidebar:a}=jl(),o;t[4]===n?o=t[5]:(o=P(n),t[4]=n,t[5]=o);let s;t[6]!==r||t[7]!==a?(s=e=>{r?.(e),a()},t[6]=r,t[7]=a,t[8]=s):s=t[8];let c,l;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,V.jsx)(Ks,{}),l=(0,V.jsx)(`span`,{className:`sr-only`,children:`Toggle Sidebar`}),t[9]=c,t[10]=l):(c=t[9],l=t[10]);let u;return t[11]!==i||t[12]!==o||t[13]!==s?(u=(0,V.jsxs)(mt,{className:o,"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,onClick:s,size:`icon-lg`,variant:`ghost`,...i,children:[c,l]}),t[11]=i,t[12]=o,t[13]=s,t[14]=u):u=t[14],u}function Ll(e){let t=(0,U.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let{toggleSidebar:i}=jl(),a;t[3]===n?a=t[4]:(a=P(`absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex`,`in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize`,`[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize`,`group-data-[collapsible=offExamples]:translate-x-0 group-data-[collapsible=offExamples]:after:left-full hover:group-data-[collapsible=offExamples]:bg-sidebar`,`[[data-side=left][data-collapsible=offExamples]_&]:-right-2`,`[[data-side=right][data-collapsible=offExamples]_&]:-left-2`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a||t[7]!==i?(o=(0,V.jsx)(`button`,{"aria-label":`Toggle Sidebar`,className:a,"data-sidebar":`rail`,"data-slot":`sidebar-rail`,onClick:i,tabIndex:-1,title:`Toggle Sidebar`,type:`button`,...r}),t[5]=r,t[6]=a,t[7]=i,t[8]=o):o=t[8],o}function Rl(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex flex-col gap-2 p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{className:i,"data-sidebar":`header`,"data-slot":`sidebar-header`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function zl(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex flex-col gap-2 p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{className:i,"data-sidebar":`footer`,"data-slot":`sidebar-footer`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Bl(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`mx-2 w-auto bg-sidebar-border`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(dn,{className:i,"data-sidebar":`separator`,"data-slot":`sidebar-separator`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Vl(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-x-hidden overflow-y-auto`,`group-data-[collapsible=icon]:[scrollbar-width:none] group-data-[collapsible=icon]:[&::-webkit-scrollbar]:hidden`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{className:i,"data-sidebar":`content`,"data-slot":`sidebar-content`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Hl(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`relative flex w-full min-w-0 flex-col px-2 py-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{className:i,"data-sidebar":`group`,"data-slot":`sidebar-group`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ul(e){let t=(0,U.c)(10),n,r,i,a;if(t[0]!==e){let{className:o,render:s,...c}=e;n=s,a=Ue,r=`div`,i=Le({className:P(`flex h-8 shrink-0 items-center rounded-md px-2 text-xs text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0`,o)},c),t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a}else n=t[1],r=t[2],i=t[3],a=t[4];let o;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(o={slot:`sidebar-group-label`,sidebar:`group-label`},t[5]=o):o=t[5];let s;return t[6]!==n||t[7]!==r||t[8]!==i?(s={defaultTagName:r,props:i,render:n,state:o},t[6]=n,t[7]=r,t[8]=i,t[9]=s):s=t[9],a(s)}function Wl(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex w-full min-w-0 flex-col gap-px`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`ul`,{className:i,"data-sidebar":`menu`,"data-slot":`sidebar-menu`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function W(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`group/menu-item relative`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`li`,{className:i,"data-sidebar":`menu-item`,"data-slot":`sidebar-menu-item`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Gl=Ve(`peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-[calc(var(--radius-sm)+2px)] p-2 text-left text-xs ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate`,{variants:{variant:{default:`hover:bg-sidebar-accent hover:text-sidebar-accent-foreground`,outline:`bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]`},size:{default:`h-8 text-xs`,sm:`h-7 text-xs`,lg:`h-12 text-xs group-data-[collapsible=icon]:p-0!`}},defaultVariants:{variant:`default`,size:`default`}});function G(e){let t=(0,U.c)(18),{render:n,isActive:r,variant:i,size:a,tooltip:o,className:s,...c}=e,l=r!==void 0&&r,u=i===void 0?`default`:i,d=a===void 0?`default`:a,{isMobile:f,state:p}=jl(),m=Le({className:P(Gl({variant:u,size:d}),s)},c),h;t[0]!==n||t[1]!==o?(h=o?(0,V.jsx)(vl,{}):n,t[0]=n,t[1]=o,t[2]=h):h=t[2];let g;t[3]!==l||t[4]!==d?(g={slot:`sidebar-menu-button`,sidebar:`menu-button`,size:d,active:l},t[3]=l,t[4]=d,t[5]=g):g=t[5];let _;t[6]!==m||t[7]!==h||t[8]!==g?(_={defaultTagName:`button`,props:m,render:h,state:g},t[6]=m,t[7]=h,t[8]=g,t[9]=_):_=t[9];let v=Ue(_);if(!o)return v;let y;t[10]===o?y=t[11]:(y=typeof o==`string`?{children:o}:o,t[10]=o,t[11]=y);let b=y,x=p!==`collapsed`||f,S;t[12]!==x||t[13]!==b?(S=(0,V.jsx)(yl,{align:`center`,hidden:x,side:`right`,...b}),t[12]=x,t[13]=b,t[14]=S):S=t[14];let C;return t[15]!==v||t[16]!==S?(C=(0,V.jsxs)(_l,{children:[v,S]}),t[15]=v,t[16]=S,t[17]=C):C=t[17],C}var Kl=new Set([`InvalidClientTokenId`,`AuthFailure`,`MissingAuthenticationToken`,`UnrecognizedClientException`,`ExpiredToken`,`ExpiredTokenException`,`InvalidAccessKeyId`]);function ql(e){return typeof e==`object`&&!!e&&`name`in e&&typeof e.name==`string`}function Jl(e){return ql(e)&&Kl.has(e.name)}var Yl=!1;function Xl(e,t){!Yl&&Jl(e)&&(Yl=!0,Ge(),xn(),t.clear(),window.location.pathname!==`/login`&&(window.location.href=`/login?reason=expired`))}function Zl(){let e=new Zr({queryCache:new Xr({onError:t=>{Xl(t,e)}}),mutationCache:new Jr({onError:t=>{Xl(t,e)}}),defaultOptions:{queries:{staleTime:5e3,refetchIntervalInBackground:!1}}});return e}function Ql(){let e=(0,U.c)(8),{theme:t,setTheme:n}=is(),r;e[0]!==n||e[1]!==t?(r=()=>{n(t===`light`?`dark`:t===`dark`?`light`:`dark`)},e[0]=n,e[1]=t,e[2]=r):r=e[2];let i=r,a,o,s;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,V.jsx)(Qs,{className:`size-[1.2rem] scale-100 rotate-0 transition-transform dark:scale-0 dark:-rotate-90`}),o=(0,V.jsx)(Hs,{className:`absolute size-[1.2rem] scale-0 rotate-90 transition-transform dark:scale-100 dark:rotate-0`}),s=(0,V.jsx)(`span`,{className:`sr-only`,children:`Toggle theme`}),e[3]=a,e[4]=o,e[5]=s):(a=e[3],o=e[4],s=e[5]);let c;return e[6]===i?c=e[7]:(c=(0,V.jsxs)(mt,{className:`rounded-full transition-none hover:bg-transparent dark:hover:bg-transparent`,onClick:i,size:`icon-sm`,variant:`ghost`,children:[a,o,s]}),e[6]=i,e[7]=c),c}function $l(){let e=(0,U.c)(7),{isAdmin:t,license:n}=Sn(),r=t&&n===`open-source`,i,a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=P(`z-50 flex h-10 shrink-0 items-center gap-2 border-b border-sidebar-border bg-sidebar px-4 text-sidebar-foreground`,`sticky top-0`),a=(0,V.jsx)(Il,{className:`-ml-1`}),e[0]=i,e[1]=a):(i=e[0],a=e[1]);let o;e[2]===r?o=e[3]:(o=r&&(0,V.jsx)(`a`,{href:`https://mulgadc.com/purchase`,target:`_blank`,rel:`noopener noreferrer`,className:P(dt({variant:`outline`,size:`sm`})),children:`Upgrade`}),e[2]=r,e[3]=o);let s;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,V.jsx)(Ql,{}),e[4]=s):s=e[4];let c;return e[5]===o?c=e[6]:(c=(0,V.jsxs)(`header`,{className:i,children:[a,(0,V.jsxs)(`div`,{className:`flex w-full items-center justify-end gap-2`,children:[o,s]})]}),e[5]=o,e[6]=c),c}function eu(){let e=(0,U.c)(3),t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,V.jsx)(`h1`,{className:`text-4xl font-bold`,children:`404`}),n=(0,V.jsx)(`p`,{className:`text-muted-foreground`,children:`Page not found`}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let r;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,V.jsxs)(`div`,{className:`flex flex-1 flex-col items-center justify-center gap-4`,children:[t,n,(0,V.jsx)(A,{to:`/`,children:(0,V.jsx)(mt,{variant:`outline`,children:`Go back home`})})]}),e[2]=r):r=e[2],r}function tu(){let e=(0,U.c)(259),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={select:nu},e[0]=t):t=e[0];let n=Wo(t),r=je(),i=a(),{isAdmin:o}=Sn(),s;e[1]!==r||e[2]!==i?(s=function(){Ge(),xn(),i.clear(),r({to:`/login`})},e[1]=r,e[2]=i,e[3]=s):s=e[3];let c=s,l;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,V.jsxs)(Rl,{className:`flex flex-row items-center gap-2 px-4 py-3`,children:[(0,V.jsx)(`img`,{src:`/mulga-logo.svg`,alt:`Mulga`,className:`size-6 shrink-0 dark:invert`}),(0,V.jsx)(`span`,{className:`truncate text-sm font-semibold group-data-[collapsible=icon]:hidden`,children:`Spinifex`})]}),e[4]=l):l=e[4];let u;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,V.jsx)(Ul,{children:`General`}),e[5]=u):u=e[5];let d=n===`/`,f,p;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,V.jsx)(ws,{className:`size-4`}),p=(0,V.jsx)(`span`,{children:`Dashboard`}),e[6]=f,e[7]=p):(f=e[6],p=e[7]);let m;e[8]===d?m=e[9]:(m=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/`,children:(0,V.jsxs)(G,{isActive:d,tooltip:`Dashboard`,children:[f,p]})})}),e[8]=d,e[9]=m);let h;e[10]!==o||e[11]!==n?(h=o&&(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/nodes`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/nodes`),tooltip:`Nodes`,children:[(0,V.jsx)($e,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Nodes`})]})})}),e[10]=o,e[11]=n,e[12]=h):h=e[12];let g;e[13]!==m||e[14]!==h?(g=(0,V.jsxs)(Hl,{children:[u,(0,V.jsxs)(Wl,{children:[m,h]})]}),e[13]=m,e[14]=h,e[15]=g):g=e[15];let _;e[16]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,V.jsx)(Ul,{children:`EC2`}),e[16]=_):_=e[16];let v;e[17]===n?v=e[18]:(v=n.startsWith(`/ec2/describe-instances`)||n.startsWith(`/ec2/run-instances`),e[17]=n,e[18]=v);let y,b;e[19]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,V.jsx)($e,{className:`size-4`}),b=(0,V.jsx)(`span`,{children:`Instances`}),e[19]=y,e[20]=b):(y=e[19],b=e[20]);let x;e[21]===v?x=e[22]:(x=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-instances`,children:(0,V.jsxs)(G,{isActive:v,tooltip:`Instances`,children:[y,b]})})}),e[21]=v,e[22]=x);let S;e[23]===n?S=e[24]:(S=n.startsWith(`/ec2/describe-launch-templates`)||n.startsWith(`/ec2/create-launch-template`),e[23]=n,e[24]=S);let C,w;e[25]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,V.jsx)(Ss,{className:`size-4`}),w=(0,V.jsx)(`span`,{children:`Launch Templates`}),e[25]=C,e[26]=w):(C=e[25],w=e[26]);let T;e[27]===S?T=e[28]:(T=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-launch-templates`,children:(0,V.jsxs)(G,{isActive:S,tooltip:`Launch Templates`,children:[C,w]})})}),e[27]=S,e[28]=T);let E;e[29]===n?E=e[30]:(E=n.startsWith(`/ec2/describe-images`),e[29]=n,e[30]=E);let D,O;e[31]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,V.jsx)(nt,{className:`size-4`}),O=(0,V.jsx)(`span`,{children:`Images`}),e[31]=D,e[32]=O):(D=e[31],O=e[32]);let k;e[33]===E?k=e[34]:(k=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-images`,children:(0,V.jsxs)(G,{isActive:E,tooltip:`Images`,children:[D,O]})})}),e[33]=E,e[34]=k);let ee;e[35]===n?ee=e[36]:(ee=n.startsWith(`/ec2/describe-key-pairs`),e[35]=n,e[36]=ee);let te,ne;e[37]===Symbol.for(`react.memo_cache_sentinel`)?(te=(0,V.jsx)(Ye,{className:`size-4`}),ne=(0,V.jsx)(`span`,{children:`Key Pairs`}),e[37]=te,e[38]=ne):(te=e[37],ne=e[38]);let re;e[39]===ee?re=e[40]:(re=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-key-pairs`,children:(0,V.jsxs)(G,{isActive:ee,tooltip:`Key Pairs`,children:[te,ne]})})}),e[39]=ee,e[40]=re);let ie;e[41]===n?ie=e[42]:(ie=n.startsWith(`/ec2/describe-addresses`)||n.startsWith(`/ec2/allocate-address`),e[41]=n,e[42]=ie);let ae,oe;e[43]===Symbol.for(`react.memo_cache_sentinel`)?(ae=(0,V.jsx)(Rs,{className:`size-4`}),oe=(0,V.jsx)(`span`,{children:`Elastic IPs`}),e[43]=ae,e[44]=oe):(ae=e[43],oe=e[44]);let se;e[45]===ie?se=e[46]:(se=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-addresses`,children:(0,V.jsxs)(G,{isActive:ie,tooltip:`Elastic IPs`,children:[ae,oe]})})}),e[45]=ie,e[46]=se);let ce;e[47]===n?ce=e[48]:(ce=n.startsWith(`/ec2/describe-volumes`)||n.startsWith(`/ec2/create-volume`)||n.startsWith(`/ec2/modify-volume`),e[47]=n,e[48]=ce);let le,ue;e[49]===Symbol.for(`react.memo_cache_sentinel`)?(le=(0,V.jsx)(Qe,{className:`size-4`}),ue=(0,V.jsx)(`span`,{children:`Volumes`}),e[49]=le,e[50]=ue):(le=e[49],ue=e[50]);let de;e[51]===ce?de=e[52]:(de=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-volumes`,children:(0,V.jsxs)(G,{isActive:ce,tooltip:`Volumes`,children:[le,ue]})})}),e[51]=ce,e[52]=de);let fe;e[53]===n?fe=e[54]:(fe=n.startsWith(`/ec2/describe-snapshots`)||n.startsWith(`/ec2/create-snapshot`),e[53]=n,e[54]=fe);let pe,me;e[55]===Symbol.for(`react.memo_cache_sentinel`)?(pe=(0,V.jsx)(Je,{className:`size-4`}),me=(0,V.jsx)(`span`,{children:`Snapshots`}),e[55]=pe,e[56]=me):(pe=e[55],me=e[56]);let he;e[57]===fe?he=e[58]:(he=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-snapshots`,children:(0,V.jsxs)(G,{isActive:fe,tooltip:`Snapshots`,children:[pe,me]})})}),e[57]=fe,e[58]=he);let ge;e[59]===n?ge=e[60]:(ge=n.startsWith(`/ec2/describe-placement-groups`)||n.startsWith(`/ec2/create-placement-group`),e[59]=n,e[60]=ge);let _e,j;e[61]===Symbol.for(`react.memo_cache_sentinel`)?(_e=(0,V.jsx)(As,{className:`size-4`}),j=(0,V.jsx)(`span`,{children:`Placement Groups`}),e[61]=_e,e[62]=j):(_e=e[61],j=e[62]);let M;e[63]===ge?M=e[64]:(M=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-placement-groups`,children:(0,V.jsxs)(G,{isActive:ge,tooltip:`Placement Groups`,children:[_e,j]})})}),e[63]=ge,e[64]=M);let ve;e[65]===n?ve=e[66]:(ve=n.startsWith(`/ec2/describe-load-balancers`)||n.startsWith(`/ec2/create-load-balancer`),e[65]=n,e[66]=ve);let ye,be;e[67]===Symbol.for(`react.memo_cache_sentinel`)?(ye=(0,V.jsx)(tt,{className:`size-4`}),be=(0,V.jsx)(`span`,{children:`Load Balancers`}),e[67]=ye,e[68]=be):(ye=e[67],be=e[68]);let xe;e[69]===ve?xe=e[70]:(xe=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-load-balancers`,children:(0,V.jsxs)(G,{isActive:ve,tooltip:`Load Balancers`,children:[ye,be]})})}),e[69]=ve,e[70]=xe);let Se;e[71]===n?Se=e[72]:(Se=n.startsWith(`/ec2/describe-target-groups`)||n.startsWith(`/ec2/create-target-group`),e[71]=n,e[72]=Se);let N,Ce;e[73]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,V.jsx)(vs,{className:`size-4`}),Ce=(0,V.jsx)(`span`,{children:`Target Groups`}),e[73]=N,e[74]=Ce):(N=e[73],Ce=e[74]);let we;e[75]===Se?we=e[76]:(we=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-target-groups`,children:(0,V.jsxs)(G,{isActive:Se,tooltip:`Target Groups`,children:[N,Ce]})})}),e[75]=Se,e[76]=we);let Te;e[77]!==x||e[78]!==T||e[79]!==k||e[80]!==re||e[81]!==se||e[82]!==de||e[83]!==he||e[84]!==M||e[85]!==xe||e[86]!==we?(Te=(0,V.jsxs)(Hl,{children:[_,(0,V.jsxs)(Wl,{children:[x,T,k,re,se,de,he,M,xe,we]})]}),e[77]=x,e[78]=T,e[79]=k,e[80]=re,e[81]=se,e[82]=de,e[83]=he,e[84]=M,e[85]=xe,e[86]=we,e[87]=Te):Te=e[87];let Ee;e[88]===Symbol.for(`react.memo_cache_sentinel`)?(Ee=(0,V.jsx)(Ul,{children:`Networking`}),e[88]=Ee):Ee=e[88];let De;e[89]===n?De=e[90]:(De=n.startsWith(`/ec2/describe-vpcs`)||n.startsWith(`/ec2/create-vpc`),e[89]=n,e[90]=De);let Oe,ke;e[91]===Symbol.for(`react.memo_cache_sentinel`)?(Oe=(0,V.jsx)(it,{className:`size-4`}),ke=(0,V.jsx)(`span`,{children:`VPCs`}),e[91]=Oe,e[92]=ke):(Oe=e[91],ke=e[92]);let Ae;e[93]===De?Ae=e[94]:(Ae=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-vpcs`,children:(0,V.jsxs)(G,{isActive:De,tooltip:`VPCs`,children:[Oe,ke]})})}),e[93]=De,e[94]=Ae);let Me;e[95]===n?Me=e[96]:(Me=n.startsWith(`/ec2/describe-subnets`)||n.startsWith(`/ec2/create-subnet`),e[95]=n,e[96]=Me);let Ne,Pe;e[97]===Symbol.for(`react.memo_cache_sentinel`)?(Ne=(0,V.jsx)(Ms,{className:`size-4`}),Pe=(0,V.jsx)(`span`,{children:`Subnets`}),e[97]=Ne,e[98]=Pe):(Ne=e[97],Pe=e[98]);let Fe;e[99]===Me?Fe=e[100]:(Fe=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-subnets`,children:(0,V.jsxs)(G,{isActive:Me,tooltip:`Subnets`,children:[Ne,Pe]})})}),e[99]=Me,e[100]=Fe);let Ie;e[101]===n?Ie=e[102]:(Ie=n.startsWith(`/ec2/describe-security-groups`)||n.startsWith(`/ec2/create-security-group`),e[101]=n,e[102]=Ie);let Le,Re;e[103]===Symbol.for(`react.memo_cache_sentinel`)?(Le=(0,V.jsx)(Xs,{className:`size-4`}),Re=(0,V.jsx)(`span`,{children:`Security Groups`}),e[103]=Le,e[104]=Re):(Le=e[103],Re=e[104]);let ze;e[105]===Ie?ze=e[106]:(ze=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-security-groups`,children:(0,V.jsxs)(G,{isActive:Ie,tooltip:`Security Groups`,children:[Le,Re]})})}),e[105]=Ie,e[106]=ze);let Be;e[107]===n?Be=e[108]:(Be=n.startsWith(`/ec2/describe-route-tables`)||n.startsWith(`/ec2/create-route-table`),e[107]=n,e[108]=Be);let Ve,He;e[109]===Symbol.for(`react.memo_cache_sentinel`)?(Ve=(0,V.jsx)(Js,{className:`size-4`}),He=(0,V.jsx)(`span`,{children:`Route Tables`}),e[109]=Ve,e[110]=He):(Ve=e[109],He=e[110]);let Ue;e[111]===Be?Ue=e[112]:(Ue=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-route-tables`,children:(0,V.jsxs)(G,{isActive:Be,tooltip:`Route Tables`,children:[Ve,He]})})}),e[111]=Be,e[112]=Ue);let P;e[113]===n?P=e[114]:(P=n.startsWith(`/ec2/describe-internet-gateways`),e[113]=n,e[114]=P);let Ke,qe;e[115]===Symbol.for(`react.memo_cache_sentinel`)?(Ke=(0,V.jsx)(et,{className:`size-4`}),qe=(0,V.jsx)(`span`,{children:`Internet Gateways`}),e[115]=Ke,e[116]=qe):(Ke=e[115],qe=e[116]);let F;e[117]===P?F=e[118]:(F=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-internet-gateways`,children:(0,V.jsxs)(G,{isActive:P,tooltip:`Internet Gateways`,children:[Ke,qe]})})}),e[117]=P,e[118]=F);let I;e[119]===n?I=e[120]:(I=n.startsWith(`/ec2/describe-nat-gateways`)||n.startsWith(`/ec2/create-nat-gateway`),e[119]=n,e[120]=I);let rt,ot;e[121]===Symbol.for(`react.memo_cache_sentinel`)?(rt=(0,V.jsx)(Xe,{className:`size-4`}),ot=(0,V.jsx)(`span`,{children:`NAT Gateways`}),e[121]=rt,e[122]=ot):(rt=e[121],ot=e[122]);let st;e[123]===I?st=e[124]:(st=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-nat-gateways`,children:(0,V.jsxs)(G,{isActive:I,tooltip:`NAT Gateways`,children:[rt,ot]})})}),e[123]=I,e[124]=st);let ct;e[125]!==Ae||e[126]!==Fe||e[127]!==ze||e[128]!==Ue||e[129]!==F||e[130]!==st?(ct=(0,V.jsxs)(Hl,{children:[Ee,(0,V.jsxs)(Wl,{children:[Ae,Fe,ze,Ue,F,st]})]}),e[125]=Ae,e[126]=Fe,e[127]=ze,e[128]=Ue,e[129]=F,e[130]=st,e[131]=ct):ct=e[131];let lt;e[132]===Symbol.for(`react.memo_cache_sentinel`)?(lt=(0,V.jsx)(Ul,{children:`Containers`}),e[132]=lt):lt=e[132];let ut;e[133]===n?ut=e[134]:(ut=n.startsWith(`/eks/list-clusters`)||n.startsWith(`/eks/create-cluster`),e[133]=n,e[134]=ut);let dt,ft;e[135]===Symbol.for(`react.memo_cache_sentinel`)?(dt=(0,V.jsx)(us,{className:`size-4`}),ft=(0,V.jsx)(`span`,{children:`EKS`}),e[135]=dt,e[136]=ft):(dt=e[135],ft=e[136]);let pt;e[137]===ut?pt=e[138]:(pt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/eks/list-clusters`,children:(0,V.jsxs)(G,{isActive:ut,tooltip:`EKS clusters`,children:[dt,ft]})})}),e[137]=ut,e[138]=pt);let mt;e[139]===n?mt=e[140]:(mt=n.startsWith(`/ecr/list-repositories`),e[139]=n,e[140]=mt);let ht,gt;e[141]===Symbol.for(`react.memo_cache_sentinel`)?(ht=(0,V.jsx)(Ws,{className:`size-4`}),gt=(0,V.jsx)(`span`,{children:`ECR`}),e[141]=ht,e[142]=gt):(ht=e[141],gt=e[142]);let _t;e[143]===mt?_t=e[144]:(_t=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ecr/list-repositories`,children:(0,V.jsxs)(G,{isActive:mt,tooltip:`ECR repositories`,children:[ht,gt]})})}),e[143]=mt,e[144]=_t);let vt;e[145]===n?vt=e[146]:(vt=n.startsWith(`/ecs/`),e[145]=n,e[146]=vt);let yt,bt;e[147]===Symbol.for(`react.memo_cache_sentinel`)?(yt=(0,V.jsx)(gs,{className:`size-4`}),bt=(0,V.jsx)(`span`,{children:`ECS`}),e[147]=yt,e[148]=bt):(yt=e[147],bt=e[148]);let xt;e[149]===vt?xt=e[150]:(xt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ecs/list-clusters`,children:(0,V.jsxs)(G,{isActive:vt,tooltip:`ECS clusters`,children:[yt,bt]})})}),e[149]=vt,e[150]=xt);let St;e[151]!==pt||e[152]!==_t||e[153]!==xt?(St=(0,V.jsxs)(Hl,{children:[lt,(0,V.jsxs)(Wl,{children:[pt,_t,xt]})]}),e[151]=pt,e[152]=_t,e[153]=xt,e[154]=St):St=e[154];let Ct;e[155]===Symbol.for(`react.memo_cache_sentinel`)?(Ct=(0,V.jsx)(Ul,{children:`RDS`}),e[155]=Ct):Ct=e[155];let wt;e[156]===n?wt=e[157]:(wt=n.startsWith(`/rds/describe-db-instances`)||n.startsWith(`/rds/create-db-instance`),e[156]=n,e[157]=wt);let Tt,Et;e[158]===Symbol.for(`react.memo_cache_sentinel`)?(Tt=(0,V.jsx)(bs,{className:`size-4`}),Et=(0,V.jsx)(`span`,{children:`Databases`}),e[158]=Tt,e[159]=Et):(Tt=e[158],Et=e[159]);let Dt;e[160]===wt?Dt=e[161]:(Dt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/rds/describe-db-instances`,children:(0,V.jsxs)(G,{isActive:wt,tooltip:`Databases`,children:[Tt,Et]})})}),e[160]=wt,e[161]=Dt);let Ot;e[162]===n?Ot=e[163]:(Ot=n.startsWith(`/rds/describe-db-snapshots`)||n.startsWith(`/rds/restore-db-instance-from-db-snapshot`),e[162]=n,e[163]=Ot);let kt,At;e[164]===Symbol.for(`react.memo_cache_sentinel`)?(kt=(0,V.jsx)(Je,{className:`size-4`}),At=(0,V.jsx)(`span`,{children:`Snapshots`}),e[164]=kt,e[165]=At):(kt=e[164],At=e[165]);let jt;e[166]===Ot?jt=e[167]:(jt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/rds/describe-db-snapshots`,children:(0,V.jsxs)(G,{isActive:Ot,tooltip:`DB Snapshots`,children:[kt,At]})})}),e[166]=Ot,e[167]=jt);let Mt;e[168]===n?Mt=e[169]:(Mt=n.startsWith(`/rds/describe-db-subnet-groups`)||n.startsWith(`/rds/create-db-subnet-group`),e[168]=n,e[169]=Mt);let Nt,Pt;e[170]===Symbol.for(`react.memo_cache_sentinel`)?(Nt=(0,V.jsx)(Ms,{className:`size-4`}),Pt=(0,V.jsx)(`span`,{children:`Subnet Groups`}),e[170]=Nt,e[171]=Pt):(Nt=e[170],Pt=e[171]);let Ft;e[172]===Mt?Ft=e[173]:(Ft=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/rds/describe-db-subnet-groups`,children:(0,V.jsxs)(G,{isActive:Mt,tooltip:`DB Subnet Groups`,children:[Nt,Pt]})})}),e[172]=Mt,e[173]=Ft);let It;e[174]===n?It=e[175]:(It=n.startsWith(`/rds/describe-db-parameter-groups`)||n.startsWith(`/rds/create-db-parameter-group`),e[174]=n,e[175]=It);let Lt,Rt;e[176]===Symbol.for(`react.memo_cache_sentinel`)?(Lt=(0,V.jsx)(at,{className:`size-4`}),Rt=(0,V.jsx)(`span`,{children:`Parameter Groups`}),e[176]=Lt,e[177]=Rt):(Lt=e[176],Rt=e[177]);let zt;e[178]===It?zt=e[179]:(zt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/rds/describe-db-parameter-groups`,children:(0,V.jsxs)(G,{isActive:It,tooltip:`DB Parameter Groups`,children:[Lt,Rt]})})}),e[178]=It,e[179]=zt);let Bt;e[180]!==jt||e[181]!==Ft||e[182]!==zt||e[183]!==Dt?(Bt=(0,V.jsxs)(Hl,{children:[Ct,(0,V.jsxs)(Wl,{children:[Dt,jt,Ft,zt]})]}),e[180]=jt,e[181]=Ft,e[182]=zt,e[183]=Dt,e[184]=Bt):Bt=e[184];let Vt;e[185]===Symbol.for(`react.memo_cache_sentinel`)?(Vt=(0,V.jsx)(Ul,{children:`IAM`}),e[185]=Vt):Vt=e[185];let Ht;e[186]===n?Ht=e[187]:(Ht=n.startsWith(`/iam/list-users`)||n.startsWith(`/iam/create-user`),e[186]=n,e[187]=Ht);let Ut,Wt;e[188]===Symbol.for(`react.memo_cache_sentinel`)?(Ut=(0,V.jsx)(ic,{className:`size-4`}),Wt=(0,V.jsx)(`span`,{children:`Users`}),e[188]=Ut,e[189]=Wt):(Ut=e[188],Wt=e[189]);let Gt;e[190]===Ht?Gt=e[191]:(Gt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/iam/list-users`,children:(0,V.jsxs)(G,{isActive:Ht,tooltip:`Users`,children:[Ut,Wt]})})}),e[190]=Ht,e[191]=Gt);let Kt;e[192]===n?Kt=e[193]:(Kt=n.startsWith(`/iam/list-groups`)||n.startsWith(`/iam/create-group`),e[192]=n,e[193]=Kt);let L,qt;e[194]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,V.jsx)(nc,{className:`size-4`}),qt=(0,V.jsx)(`span`,{children:`Groups`}),e[194]=L,e[195]=qt):(L=e[194],qt=e[195]);let Jt;e[196]===Kt?Jt=e[197]:(Jt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/iam/list-groups`,children:(0,V.jsxs)(G,{isActive:Kt,tooltip:`Groups`,children:[L,qt]})})}),e[196]=Kt,e[197]=Jt);let Yt;e[198]===n?Yt=e[199]:(Yt=n.startsWith(`/iam/list-policies`)||n.startsWith(`/iam/create-policy`),e[198]=n,e[199]=Yt);let Xt,Zt;e[200]===Symbol.for(`react.memo_cache_sentinel`)?(Xt=(0,V.jsx)(Ze,{className:`size-4`}),Zt=(0,V.jsx)(`span`,{children:`Policies`}),e[200]=Xt,e[201]=Zt):(Xt=e[200],Zt=e[201]);let Qt;e[202]===Yt?Qt=e[203]:(Qt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/iam/list-policies`,children:(0,V.jsxs)(G,{isActive:Yt,tooltip:`Policies`,children:[Xt,Zt]})})}),e[202]=Yt,e[203]=Qt);let $t;e[204]===n?$t=e[205]:($t=n.startsWith(`/iam/list-roles`)||n.startsWith(`/iam/create-role`),e[204]=n,e[205]=$t);let en,tn;e[206]===Symbol.for(`react.memo_cache_sentinel`)?(en=(0,V.jsx)(ec,{className:`size-4`}),tn=(0,V.jsx)(`span`,{children:`Roles`}),e[206]=en,e[207]=tn):(en=e[206],tn=e[207]);let nn;e[208]===$t?nn=e[209]:(nn=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/iam/list-roles`,children:(0,V.jsxs)(G,{isActive:$t,tooltip:`Roles`,children:[en,tn]})})}),e[208]=$t,e[209]=nn);let rn;e[210]===n?rn=e[211]:(rn=n.startsWith(`/iam/list-instance-profiles`)||n.startsWith(`/iam/create-instance-profile`),e[210]=n,e[211]=rn);let an,on;e[212]===Symbol.for(`react.memo_cache_sentinel`)?(an=(0,V.jsx)(Es,{className:`size-4`}),on=(0,V.jsx)(`span`,{children:`Instance Profiles`}),e[212]=an,e[213]=on):(an=e[212],on=e[213]);let sn;e[214]===rn?sn=e[215]:(sn=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/iam/list-instance-profiles`,children:(0,V.jsxs)(G,{isActive:rn,tooltip:`Instance Profiles`,children:[an,on]})})}),e[214]=rn,e[215]=sn);let cn;e[216]!==Gt||e[217]!==Jt||e[218]!==Qt||e[219]!==nn||e[220]!==sn?(cn=(0,V.jsxs)(Hl,{children:[Vt,(0,V.jsxs)(Wl,{children:[Gt,Jt,Qt,nn,sn]})]}),e[216]=Gt,e[217]=Jt,e[218]=Qt,e[219]=nn,e[220]=sn,e[221]=cn):cn=e[221];let ln;e[222]===Symbol.for(`react.memo_cache_sentinel`)?(ln=(0,V.jsx)(Ul,{children:`S3`}),e[222]=ln):ln=e[222];let un;e[223]===n?un=e[224]:(un=n.startsWith(`/s3/ls`),e[223]=n,e[224]=un);let dn,fn;e[225]===Symbol.for(`react.memo_cache_sentinel`)?(dn=(0,V.jsx)($e,{className:`size-4`}),fn=(0,V.jsx)(`span`,{children:`Buckets`}),e[225]=dn,e[226]=fn):(dn=e[225],fn=e[226]);let pn;e[227]===un?pn=e[228]:(pn=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/s3/ls`,children:(0,V.jsxs)(G,{isActive:un,tooltip:`Buckets`,children:[dn,fn]})})}),e[227]=un,e[228]=pn);let mn;e[229]!==o||e[230]!==n?(mn=o&&(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/s3/service-metrics`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/s3/service-metrics`),tooltip:`Service Metrics`,children:[(0,V.jsx)(os,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Service Metrics`})]})})}),e[229]=o,e[230]=n,e[231]=mn):mn=e[231];let hn;e[232]!==pn||e[233]!==mn?(hn=(0,V.jsxs)(Hl,{children:[ln,(0,V.jsxs)(Wl,{children:[pn,mn]})]}),e[232]=pn,e[233]=mn,e[234]=hn):hn=e[234];let gn;e[235]!==o||e[236]!==n?(gn=We()&&(0,V.jsxs)(Hl,{children:[(0,V.jsx)(Ul,{children:`Ochre`}),(0,V.jsxs)(Wl,{children:[(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/bedrock/list-knowledge-bases`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/bedrock/list-knowledge-bases`),tooltip:`Knowledge Bases`,children:[(0,V.jsx)(fs,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Knowledge Bases`})]})})}),(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/bedrock/list-guardrails`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/bedrock/list-guardrails`),tooltip:`Guardrails`,children:[(0,V.jsx)(Ze,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Guardrails`})]})})}),(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/bedrock/playground`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/bedrock/playground`),tooltip:`Playground`,children:[(0,V.jsx)(Bs,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Playground`})]})})}),o&&(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/bedrock/list-model-catalog`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/bedrock/list-model-catalog`),tooltip:`Model Catalog`,children:[(0,V.jsx)(Ps,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Model Catalog`})]})})}),o&&(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/bedrock/list-model-access`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/bedrock/list-model-access`),tooltip:`Model Access`,children:[(0,V.jsx)(Os,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Model Access`})]})})})]})]}),e[235]=o,e[236]=n,e[237]=gn):gn=e[237];let _n;e[238]===o?_n=e[239]:(_n=o&&(0,V.jsxs)(Hl,{children:[(0,V.jsx)(Ul,{children:`Documentation`}),(0,V.jsx)(Wl,{children:(0,V.jsx)(W,{children:(0,V.jsx)(`a`,{href:`https://docs.mulgadc.com`,target:`_blank`,rel:`noopener noreferrer`,children:(0,V.jsxs)(G,{tooltip:`Documentation`,children:[(0,V.jsx)(cs,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Docs`})]})})})})]}),e[238]=o,e[239]=_n);let vn;e[240]!==Bt||e[241]!==cn||e[242]!==hn||e[243]!==gn||e[244]!==_n||e[245]!==Te||e[246]!==ct||e[247]!==g||e[248]!==St?(vn=(0,V.jsxs)(Vl,{children:[g,Te,ct,St,Bt,cn,hn,gn,_n]}),e[240]=Bt,e[241]=cn,e[242]=hn,e[243]=gn,e[244]=_n,e[245]=Te,e[246]=ct,e[247]=g,e[248]=St,e[249]=vn):vn=e[249];let yn;e[250]===Symbol.for(`react.memo_cache_sentinel`)?(yn=(0,V.jsx)(Bl,{className:`mx-0 w-full`}),e[250]=yn):yn=e[250];let bn,Cn;e[251]===Symbol.for(`react.memo_cache_sentinel`)?(bn=(0,V.jsx)(Is,{className:`size-4`}),Cn=(0,V.jsx)(`span`,{children:`Sign out`}),e[251]=bn,e[252]=Cn):(bn=e[251],Cn=e[252]);let wn;e[253]===c?wn=e[254]:(wn=(0,V.jsxs)(zl,{children:[yn,(0,V.jsx)(Wl,{children:(0,V.jsx)(W,{children:(0,V.jsxs)(G,{onClick:c,tooltip:`Sign out`,children:[bn,Cn]})})})]}),e[253]=c,e[254]=wn);let Tn;e[255]===Symbol.for(`react.memo_cache_sentinel`)?(Tn=(0,V.jsx)(Ll,{}),e[255]=Tn):Tn=e[255];let En;return e[256]!==vn||e[257]!==wn?(En=(0,V.jsxs)(Fl,{collapsible:`icon`,children:[l,vn,wn,Tn]}),e[256]=vn,e[257]=wn,e[258]=En):En=e[258],En}function nu(e){return e.pathname}function ru(e){let t=(0,U.c)(18),{error:n,reset:r}=e,i=De(),o=a(),s;t[0]!==o||t[1]!==r||t[2]!==i?(s=function(){o.invalidateQueries(),r(),i.invalidate()},t[0]=o,t[1]=r,t[2]=i,t[3]=s):s=t[3];let c=s,l;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,V.jsx)(tu,{}),t[4]=l):l=t[4];let u;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,V.jsx)($l,{}),t[5]=u):u=t[5];let d,f;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,V.jsx)(`div`,{className:`flex justify-center`,children:(0,V.jsx)(ms,{className:`size-12 text-destructive`})}),f=(0,V.jsx)(`h1`,{className:`text-2xl font-semibold`,children:`Something went wrong`}),t[6]=d,t[7]=f):(d=t[6],f=t[7]);let p=(n instanceof Error?n.message:String(n))||`An unexpected error occurred`,m;t[8]===p?m=t[9]:(m=(0,V.jsx)(`p`,{className:`text-muted-foreground`,children:p}),t[8]=p,t[9]=m);let h;t[10]===c?h=t[11]:(h=(0,V.jsx)(mt,{onClick:c,variant:`default`,children:`Try Again`}),t[10]=c,t[11]=h);let g;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,V.jsx)(A,{to:`/`,children:(0,V.jsx)(mt,{variant:`outline`,children:`Go Home`})}),t[12]=g):g=t[12];let _;t[13]===h?_=t[14]:(_=(0,V.jsxs)(`div`,{className:`flex justify-center gap-2`,children:[h,g]}),t[13]=h,t[14]=_);let v;return t[15]!==_||t[16]!==m?(v=(0,V.jsxs)(V.Fragment,{children:[l,(0,V.jsxs)(`main`,{className:`flex flex-1 flex-col`,children:[u,(0,V.jsx)(`div`,{className:`flex flex-1 items-center justify-center p-6 pt-0`,children:(0,V.jsxs)(`div`,{className:`max-w-md space-y-4 text-center`,children:[d,f,m,_]})})]})]}),t[15]=_,t[16]=m,t[17]=v):v=t[17],v}var K=E()({head:()=>({meta:[{title:`Mulga`}]}),component:()=>(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Xo,{}),(0,V.jsx)(tu,{}),(0,V.jsxs)(`main`,{className:`flex flex-1 flex-col`,children:[(0,V.jsx)($l,{}),(0,V.jsx)(`div`,{className:`flex flex-1 flex-col p-8`,children:(0,V.jsx)(be,{})})]})]}),errorComponent:ru,notFoundComponent:eu}),iu=w(`/_auth`)({beforeLoad:()=>{if(!qe())throw we({to:`/login`})},component:D(()=>F(()=>import(`./route-ri79I-mW.js`),__vite__mapDeps([0,1,2,3,4,5])),`component`)}),au=w(`/_auth/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...Ln,staleTime:`static`}),e.queryClient.query({...On,staleTime:`static`}),e.queryClient.query({...An,staleTime:`static`}),e.queryClient.query({...Bn,staleTime:`static`}),e.queryClient.query({...sr,staleTime:`static`}),e.queryClient.query({...Hn,staleTime:`static`}),e.queryClient.query({...Nn,staleTime:`static`}),e.queryClient.query({...Rn,staleTime:`static`}),e.queryClient.query({...Fn,staleTime:`static`})])},head:()=>({meta:[{title:`Dashboard | Mulga`}]}),component:D(()=>F(()=>import(`./_auth-CQN6uKek.js`),__vite__mapDeps([6,1,7,8,9,10,11,4,5,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),`component`)}),ou=w(`/_auth/bedrock`)({beforeLoad:()=>{We()||xe({throw:!0})},component:D(()=>F(()=>import(`./route-CAwLPdN1.js`),__vite__mapDeps([40,1,2,3,4,5])),`component`)}),su=w(`/_auth/nodes`)({head:()=>({meta:[{title:`Nodes | Mulga`}]}),component:D(()=>F(()=>import(`./nodes-DuOlBrgk.js`),__vite__mapDeps([41,1,7,8,9,10,11,4,5,42,12,13,15,14,16,19,20,21,27,28,29,30,31,32,23])),`component`)}),cu=w(`/_auth/s3/service-metrics`)({head:()=>({meta:[{title:`Service Metrics | S3 | Mulga`}]}),component:D(()=>F(()=>import(`./service-metrics-BVlT0eqC.js`),__vite__mapDeps([43,1,7,8,9,10,42,19,12,13,20,21,27,28,29,30,31,32,23])),`component`)}),lu=w(`/_auth/ec2/(elastic-ips)/allocate-address`)({head:()=>({meta:[{title:`Allocate Elastic IP | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./allocate-address-Cj5JFsW1.js`),__vite__mapDeps([44,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,63])),`component`)}),uu=w(`/_auth/ec2/(internet-gateways)/create-internet-gateway`)({head:()=>({meta:[{title:`Create Internet Gateway | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-internet-gateway-Cpxiz-Mj.js`),__vite__mapDeps([64,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,63])),`component`)}),du=w(`/_auth/ec2/(key)/create-key-pair`)({head:()=>({meta:[{title:`Create Key Pair | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-key-pair-CAViKLoj.js`),__vite__mapDeps([65,1,45,4,5,46,11,14,48,66,36,29,12,13,34,37,15,52,38,67,68,53,69,70,47,49,50,71,51,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,33,35,63])),`component`)}),fu=w(`/_auth/ec2/(key)/import-key-pair`)({head:()=>({meta:[{title:`Import Key Pair | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./import-key-pair-BivCaRzr.js`),__vite__mapDeps([72,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,73,63])),`component`)}),pu=w(`/_auth/ec2/(launch-templates)/create-launch-template`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...zn,staleTime:`static`}),e.queryClient.query({...Pn,staleTime:`static`}),e.queryClient.query({...Bn,staleTime:`static`}),e.queryClient.query({...jn,staleTime:`static`}),e.queryClient.query({...Hn,staleTime:`static`})])},head:()=>({meta:[{title:`Create Launch Template | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-launch-template-CZvRqBCG.js`),__vite__mapDeps([74,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,63,75,76,8,10,66,36,38,67,68,69,73,77])),`component`)}),mu=w(`/_auth/ec2/(load-balancers)/create-load-balancer`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...An,staleTime:`static`}),e.queryClient.query({...jn,staleTime:`static`}),e.queryClient.query({...Hn,staleTime:`static`}),e.queryClient.query({...Xn,staleTime:`static`}),e.queryClient.query({...wn,staleTime:`static`}),e.queryClient.query({...Yn,staleTime:`static`})])},head:()=>({meta:[{title:`Create Load Balancer | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-load-balancer--N6lPrkX.js`),__vite__mapDeps([78,1,76,8,9,10,45,4,5,12,13,46,11,14,66,36,29,34,37,48,15,52,38,67,68,53,69,47,49,50,51,79,23,24,25,80,55,56,59,61,62,73,33,35,22,81,82,83,27,58,60,84,85,86,87,77,88])),`component`)}),hu=w(`/_auth/ec2/(nat-gateways)/create-nat-gateway`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...jn,staleTime:`static`}),e.queryClient.query({...Rn,staleTime:`static`})])},head:()=>({meta:[{title:`Create NAT Gateway | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-nat-gateway-z5NzuiEa.js`),__vite__mapDeps([89,1,76,8,9,10,11,4,5,45,12,13,46,14,66,36,29,34,37,48,15,52,38,67,68,53,69,47,49,50,51,22,23,24,25,54,55,56,57,27,58,59,60,61,62,63])),`component`)}),gu=w(`/_auth/ec2/(placement-groups)/create-placement-group`)({head:()=>({meta:[{title:`Create Placement Group | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-placement-group-D_o6h2Gq.js`),__vite__mapDeps([90,1,45,4,5,46,11,14,66,36,29,12,13,34,37,48,15,52,38,67,68,53,69,47,49,50,51,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,63])),`component`)}),_u=w(`/_auth/ec2/(route-tables)/create-route-table`)({loader:async({context:e})=>{await e.queryClient.query({...An,staleTime:`static`})},head:()=>({meta:[{title:`Create Route Table | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-route-table-0q7LO8Yz.js`),__vite__mapDeps([91,1,76,8,9,10,45,4,5,12,13,46,11,14,66,36,29,34,37,48,15,52,38,67,68,53,69,51,22,23,24,25,54,55,56,57,27,58,59,60,61,62,63])),`component`)}),vu=w(`/_auth/ec2/(security-groups)/create-security-group`)({loader:async({context:e})=>{await e.queryClient.query({...An,staleTime:`static`})},head:()=>({meta:[{title:`Create Security Group | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-security-group-BVBSieXt.js`),__vite__mapDeps([92,1,76,8,9,10,45,4,5,12,13,46,11,14,66,36,29,34,37,48,15,52,38,67,68,53,69,47,49,50,51,22,23,24,25,54,55,56,57,27,58,59,60,61,62,63])),`component`)}),yu=w(`/_auth/ec2/(subnet)/create-subnet`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...An,staleTime:`static`}),e.queryClient.query({...Vn,staleTime:`static`})])},head:()=>({meta:[{title:`Create Subnet | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-subnet-D6P8yW2z.js`),__vite__mapDeps([93,1,76,8,9,10,45,4,5,12,13,46,11,14,66,36,29,34,37,48,15,52,38,67,68,53,69,47,49,50,51,22,23,24,25,54,55,56,57,27,58,59,60,61,62,63])),`component`)}),bu=w(`/_auth/ec2/(target-groups)/create-target-group`)({loader:async({context:e})=>{await e.queryClient.query({...An,staleTime:`static`})},head:()=>({meta:[{title:`Create Target Group | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-target-group-D5bQ4Fa3.js`),__vite__mapDeps([94,1,76,8,9,10,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,22,23,24,25,81,55,56,82,27,58,59,60,87,66,36,37,52,38,67,68,53,69,51,61,62,84,85,86,77,88])),`component`)}),xu=w(`/_auth/ec2/(volumes)/create-volume`)({loader:async({context:e})=>{await e.queryClient.query({...Vn,staleTime:`static`})},head:()=>({meta:[{title:`Create Volume | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-volume-BjkVTXNd.js`),__vite__mapDeps([95,1,76,8,9,10,45,4,5,46,11,14,66,36,29,12,13,34,37,48,15,52,38,67,68,53,69,47,49,50,51,22,23,24,25,54,55,56,57,27,58,59,60,61,62,63])),`component`)}),Su=w(`/_auth/ec2/(vpc)/create-vpc`)({head:()=>({meta:[{title:`Create VPC | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-vpc-HC_JSJiq.js`),__vite__mapDeps([96,1,45,4,5,46,11,14,15,16,66,36,29,12,13,34,37,48,52,38,67,68,53,69,47,49,50,51,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,63])),`component`)}),Cu=w(`/_auth/ecs/(clusters)/task-definitions`)({loader:async({context:e})=>{await e.queryClient.query({...Kn,staleTime:`static`})},head:()=>({meta:[{title:`Task Definitions | ECS | Mulga`}]}),component:D(()=>F(()=>import(`./task-definitions-CSGupk2f.js`),__vite__mapDeps([97,1,76,8,9,10,11,4,5,34,29,12,13,98,23,24,25,99,55,56,21,27,59,100,33,35,36,37,38,101])),`component`)}),wu=w(`/_auth/eks/(clusters)/create-cluster`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...An,staleTime:`static`}),e.queryClient.query({...jn,staleTime:`static`}),e.queryClient.query({...tr,staleTime:`static`}),e.queryClient.query({...zn,staleTime:`static`})])},head:()=>({meta:[{title:`Create Cluster | EKS | Mulga`}]}),component:D(()=>F(()=>import(`./create-cluster-CGyNwlKq.js`),__vite__mapDeps([102,1,9,76,8,10,45,4,5,12,13,46,11,14,66,36,29,34,37,48,15,52,38,67,68,53,69,51,22,23,24,25,103,55,56,104,105,57,106,107,108,27,58,59,60,61,62,33,35,109,110,49,111,71,50,112])),`component`)}),Tu=w(`/_auth/iam/(groups)/create-group`)({head:()=>({meta:[{title:`Create Group | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./create-group-B3B-V6J_.js`),__vite__mapDeps([113,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,106,9,55,56,24,25,107,27,58,59,60,61,62,114,105])),`component`)}),Eu=w(`/_auth/iam/(instance-profiles)/create-instance-profile`)({head:()=>({meta:[{title:`Create Instance Profile | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./create-instance-profile-Do0eBh4w.js`),__vite__mapDeps([115,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,106,9,55,56,24,25,107,27,58,59,60,61,62,114,105])),`component`)}),Du=w(`/_auth/iam/(policies)/create-policy`)({head:()=>({meta:[{title:`Create Policy | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./create-policy-CL2P-ufC.js`),__vite__mapDeps([116,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,106,9,55,56,24,25,107,27,58,59,60,61,62,117,105,73,114])),`component`)}),Ou=w(`/_auth/iam/(roles)/create-role`)({head:()=>({meta:[{title:`Create Role | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./create-role-CAJVw8Kr.js`),__vite__mapDeps([118,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,106,9,55,56,24,25,107,27,58,59,60,61,62,117,105,73,114])),`component`)}),ku=w(`/_auth/iam/(users)/create-user`)({head:()=>({meta:[{title:`Create User | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./create-user-BE9h67_n.js`),__vite__mapDeps([119,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,106,9,55,56,24,25,107,27,58,59,60,61,62,114,105])),`component`)}),Au=w(`/_auth/rds/(db-instances)/create-db-instance`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...ar,staleTime:`static`}),e.queryClient.query({...ir,staleTime:`static`}),e.queryClient.query({...rr,staleTime:`static`}),e.queryClient.query({...Hn,staleTime:`static`}),e.queryClient.query({...An,staleTime:`static`}),e.queryClient.query({...zn,staleTime:`static`})])},head:()=>({meta:[{title:`Create Database | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./create-db-instance-CFzM44Sn.js`),__vite__mapDeps([120,1,9,7,8,10,76,45,4,5,46,11,14,66,36,29,12,13,34,37,48,15,52,38,67,68,53,69,47,49,50,51,22,23,24,25,121,122,55,56,123,27,58,59,60,61,62,84,85,86,109,110,111,71,124,125])),`component`)}),ju=w(`/_auth/rds/(parameter-groups)/create-db-parameter-group`)({loader:async({context:e})=>{await e.queryClient.query({...ar,staleTime:`static`})},head:()=>({meta:[{title:`Create Parameter Group | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./create-db-parameter-group-CUcSdIga.js`),__vite__mapDeps([126,1,76,8,9,10,45,4,5,46,11,14,66,36,29,12,13,34,37,48,15,52,38,67,68,53,69,47,49,50,51,121,24,25,122,55,56,123,23,27,58,59,60,61,62,84,85,86])),`component`)}),Mu=w(`/_auth/rds/(subnet-groups)/create-db-subnet-group`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...jn,staleTime:`static`}),e.queryClient.query({...An,staleTime:`static`})])},head:()=>({meta:[{title:`Create Subnet Group | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./create-db-subnet-group-CuUW4IsJ.js`),__vite__mapDeps([127,1,76,8,9,10,45,4,5,12,13,46,11,14,47,48,15,49,34,29,50,51,37,52,53,22,23,24,25,121,122,55,56,27,58,59,60,61,62,84,85,86])),`component`)}),Nu=w(`/_auth/s3/(buckets)/create-bucket`)({head:()=>({meta:[{title:`Create Bucket | S3 | Mulga`}]}),component:D(()=>F(()=>import(`./create-bucket-eeiuIrsW.js`),__vite__mapDeps([128,1,45,4,5,12,13,46,11,14,47,48,15,49,34,29,50,51,37,52,53,129,9,55,56,24,25,27,58,59,60,61,62])),`component`)}),Pu=w(`/_auth/s3/ls/`)({loader:async({context:e})=>{await e.queryClient.query({...sr,staleTime:`static`})},head:()=>({meta:[{title:`Buckets | S3 | Mulga`}]}),component:D(()=>F(()=>import(`./ls-CWzC4f47.js`),__vite__mapDeps([130,1,76,8,9,10,11,4,5,12,13,34,29,26,23,24,25,27,131])),`component`)}),Fu=w(`/_auth/s3/ls/$bucket`)({component:D(()=>F(()=>import(`./route-MJhrpG5n.js`),__vite__mapDeps([132,1,2,3,4,5])),`component`)}),Iu=w(`/_auth/bedrock/(catalog)/list-model-catalog/`)({head:()=>({meta:[{title:`Model Catalog | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./list-model-catalog-CeG1beQW.js`),__vite__mapDeps([133,1,7,8,9,10,42,12,13,19,20,21,27,28,29,30,31,32,23])),`component`)}),Lu=w(`/_auth/bedrock/(guardrails)/list-guardrails/`)({loader:async({context:e})=>{await e.queryClient.query({...Tn,staleTime:`static`})},head:()=>({meta:[{title:`Guardrails | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./list-guardrails-Cq4kt2fN.js`),__vite__mapDeps([134,1,76,8,9,10,11,4,5,34,29,12,13,135,23,24,25,136,27,39,131])),`component`)}),Ru=w(`/_auth/bedrock/(guardrails)/list-guardrails/create`)({head:()=>({meta:[{title:`Create Guardrail | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./create-DTpWMMJH.js`),__vite__mapDeps([137,1,138,9,55,56,12,13,24,25,136,139,45,4,5,46,11,14,66,36,29,34,37,48,15,52,38,67,68,53,69,85,86,51,27,58,59,60,61,62,84,73])),`component`)}),zu=w(`/_auth/bedrock/(knowledge-bases)/list-knowledge-bases/`)({loader:async({context:e})=>{await e.queryClient.query({...Dn,staleTime:`static`})},head:()=>({meta:[{title:`Knowledge Bases | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./list-knowledge-bases-BJaqqlKH.js`),__vite__mapDeps([140,1,76,8,9,10,11,4,5,34,29,12,13,141,23,24,25,142,27,39,131])),`component`)}),Bu=w(`/_auth/bedrock/(knowledge-bases)/list-knowledge-bases/create`)({loader:async({context:e})=>{await e.queryClient.query({...En,staleTime:`static`})},head:()=>({meta:[{title:`Create Knowledge Base | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./create-BO1fFlSv.js`),__vite__mapDeps([143,1,76,8,9,10,45,4,5,46,11,14,66,36,29,12,13,34,37,48,15,52,38,67,68,53,69,51,135,23,24,25,136,144,55,56,142,27,58,59,60,61,62,73])),`component`)}),Vu=w(`/_auth/bedrock/(model-access)/list-model-access/`)({head:()=>({meta:[{title:`Model Access | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./list-model-access-_5zWqGCi.js`),__vite__mapDeps([145,1,9,55,56,7,8,10,42,66,36,29,12,13,34,37,14,48,15,52,38,5,67,68,53,69,51,19,20,21,27,28,30,31,32,23,61,62])),`component`)}),Hu=w(`/_auth/bedrock/(playground)/playground/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...En,staleTime:`static`}),e.queryClient.query({...Tn,staleTime:`static`})])},head:()=>({meta:[{title:`Playground | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./playground-Cush5Er_.js`),__vite__mapDeps([146,1,55,9,56,76,8,10,12,13,15,14,66,36,29,34,37,48,52,38,5,67,68,53,69,47,49,50,51,24,25,135,23,136,147,27,28,30,61,62,73])),`component`)}),Uu=w(`/_auth/ec2/(elastic-ips)/describe-addresses/`)({loader:async({context:e})=>{await e.queryClient.query({...Rn,staleTime:`static`})},head:()=>({meta:[{title:`Elastic IPs | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-addresses-CX48-jv1.js`),__vite__mapDeps([148,1,76,8,9,10,11,4,5,12,13,34,29,22,23,24,25,27,131])),`component`)}),Wu=w(`/_auth/ec2/(images)/describe-images/`)({loader:async({context:e})=>{await e.queryClient.query({...zn,staleTime:`static`})},head:()=>({meta:[{title:`Images | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-images-DU3F5FiN.js`),__vite__mapDeps([149,1,76,8,9,10,22,23,12,13,24,25,27,39,131,11,4,5,109])),`component`)}),Gu=w(`/_auth/ec2/(instances)/describe-instances/`)({loader:async({context:e})=>{await e.queryClient.query({...Ln,staleTime:`static`})},head:()=>({meta:[{title:`Instances | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-instances-2mfa0kO7.js`),__vite__mapDeps([150,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,39,131])),`component`)}),Ku=w(`/_auth/ec2/(internet-gateways)/describe-internet-gateways/`)({loader:async({context:e})=>{await e.queryClient.query({...Fn,staleTime:`static`})},head:()=>({meta:[{title:`Internet Gateways | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-internet-gateways-BCKNPwC9.js`),__vite__mapDeps([151,1,76,8,9,10,11,4,5,12,13,34,29,22,23,24,25,27,131])),`component`)}),qu=w(`/_auth/ec2/(key)/describe-key-pairs/`)({loader:async({context:e})=>{await e.queryClient.query({...Bn,staleTime:`static`})},head:()=>({meta:[{title:`Key Pairs | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-key-pairs-BFrqVQj0.js`),__vite__mapDeps([152,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,131])),`component`)}),Ju=w(`/_auth/ec2/(launch-templates)/describe-launch-templates/`)({loader:async({context:e})=>{await e.queryClient.query({...In,staleTime:`static`})},head:()=>({meta:[{title:`Launch Templates | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-launch-templates-CacWu1yX.js`),__vite__mapDeps([153,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,28,30,131])),`component`)}),Yu=w(`/_auth/ec2/(load-balancers)/describe-load-balancers/`)({loader:async({context:e})=>{await e.queryClient.query({...Jn,staleTime:`static`})},head:()=>({meta:[{title:`Load Balancers | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-load-balancers-DAKWE795.js`),__vite__mapDeps([154,1,76,8,9,10,11,4,5,45,12,13,34,29,83,23,24,25,82,27,39])),`component`)}),Xu=w(`/_auth/ec2/(nat-gateways)/describe-nat-gateways/`)({loader:async({context:e})=>{await e.queryClient.query({...Nn,staleTime:`static`})},head:()=>({meta:[{title:`NAT Gateways | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-nat-gateways-DGO7NhS6.js`),__vite__mapDeps([155,1,76,8,9,10,11,4,5,12,13,34,29,22,23,24,25,27,39,131])),`component`)}),Zu=w(`/_auth/ec2/(placement-groups)/describe-placement-groups/`)({loader:async({context:e})=>{await e.queryClient.query({...Un,staleTime:`static`})},head:()=>({meta:[{title:`Placement Groups | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-placement-groups-Cn4M8Qw5.js`),__vite__mapDeps([156,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,39,131])),`component`)}),Qu=w(`/_auth/ec2/(route-tables)/describe-route-tables/`)({loader:async({context:e})=>{await e.queryClient.query({...Mn,staleTime:`static`})},head:()=>({meta:[{title:`Route Tables | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-route-tables-B85w9Xcr.js`),__vite__mapDeps([157,1,76,8,9,10,11,4,5,12,13,34,29,22,23,24,25,27,28,30,131])),`component`)}),q=w(`/_auth/ec2/(security-groups)/describe-security-groups/`)({loader:async({context:e})=>{await e.queryClient.query({...Hn,staleTime:`static`})},head:()=>({meta:[{title:`Security Groups | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-security-groups-CorF76Fg.js`),__vite__mapDeps([158,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,131])),`component`)}),$u=w(`/_auth/ec2/(snapshots)/describe-snapshots/`)({loader:async({context:e})=>{await e.queryClient.query({...kn,staleTime:`static`})},head:()=>({meta:[{title:`Snapshots | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-snapshots-C4LyUqXx.js`),__vite__mapDeps([159,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,39,131])),`component`)}),J=w(`/_auth/ec2/(subnet)/describe-subnets/`)({loader:async({context:e})=>{await e.queryClient.query({...jn,staleTime:`static`})},head:()=>({meta:[{title:`Subnets | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-subnets-DgMQfiqj.js`),__vite__mapDeps([160,1,76,8,9,10,11,4,5,12,13,34,29,22,23,24,25,27,39,131])),`component`)}),Y=w(`/_auth/ec2/(target-groups)/describe-target-groups/`)({loader:async({context:e})=>{await e.queryClient.query({...Xn,staleTime:`static`})},head:()=>({meta:[{title:`Target Groups | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-target-groups-BmI4rGfj.js`),__vite__mapDeps([161,1,7,8,9,10,76,11,4,5,45,34,29,12,13,83,23,24,25,82,27])),`component`)}),X=w(`/_auth/ec2/(volumes)/describe-volumes/`)({loader:async({context:e})=>{await e.queryClient.query({...On,staleTime:`static`})},head:()=>({meta:[{title:`Volumes | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-volumes-COLmjwXx.js`),__vite__mapDeps([162,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,39,131])),`component`)}),ed=w(`/_auth/ec2/(vpc)/describe-vpcs/`)({loader:async({context:e})=>{await e.queryClient.query({...An,staleTime:`static`})},head:()=>({meta:[{title:`VPCs | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-vpcs-BnIpgEwn.js`),__vite__mapDeps([163,1,76,8,9,10,11,4,5,12,13,34,29,22,23,24,25,27,39,131])),`component`)}),td=w(`/_auth/ecr/(repositories)/list-repositories/`)({loader:async({context:e})=>{await e.queryClient.query({...Wn,staleTime:`static`})},head:()=>({meta:[{title:`Repositories | ECR | Mulga`}]}),component:D(()=>F(()=>import(`./list-repositories-CFHE_leH.js`),__vite__mapDeps([164,1,76,8,9,10,11,4,5,45,12,13,34,29,51,37,52,53,165,23,24,25,166,55,56,27,61,62,33,35,36,38])),`component`)}),nd=w(`/_auth/ecs/(clusters)/list-clusters/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...Gn,staleTime:`static`}),e.queryClient.query({...zn,staleTime:`static`})])},head:()=>({meta:[{title:`Clusters | ECS | Mulga`}]}),component:D(()=>F(()=>import(`./list-clusters-CYIpXZk9.js`),__vite__mapDeps([167,1,9,76,8,10,11,4,5,45,34,29,12,13,51,37,52,53,22,23,24,25,98,99,55,56,21,27,59,61,62,33,35,36,38,100,39,109,110,48,14,49,111,71,50,101])),`component`)}),rd=w(`/_auth/eks/(clusters)/list-clusters/`)({loader:async({context:e})=>{await e.queryClient.query({...qn,staleTime:`static`})},head:()=>({meta:[{title:`Clusters | EKS | Mulga`}]}),component:D(()=>F(()=>import(`./list-clusters-Blcu3VSI.js`),__vite__mapDeps([168,1,76,8,9,10,11,4,5,34,29,12,13,169,23,24,25,104,27,131])),`component`)}),id=w(`/_auth/iam/(groups)/list-groups/`)({loader:async({context:e})=>{await e.queryClient.query({...$n,staleTime:`static`})},head:()=>({meta:[{title:`Groups | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./list-groups-D6hjD6YQ.js`),__vite__mapDeps([170,1,76,8,9,10,11,4,5,34,29,12,13,108,23,24,25,107,105,27,131])),`component`)}),ad=w(`/_auth/iam/(instance-profiles)/list-instance-profiles/`)({loader:async({context:e})=>{await e.queryClient.query({...Qn,staleTime:`static`})},head:()=>({meta:[{title:`Instance Profiles | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./list-instance-profiles-INcvr5n3.js`),__vite__mapDeps([171,1,76,8,9,10,11,4,5,34,29,12,13,108,23,24,25,107,105,27,131])),`component`)}),od=w(`/_auth/iam/(policies)/list-policies/`)({loader:async({context:e})=>{await e.queryClient.query({...er,staleTime:`static`})},head:()=>({meta:[{title:`Policies | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./list-policies-DPQJyoNC.js`),__vite__mapDeps([172,1,76,8,9,10,11,4,5,34,29,12,13,108,23,24,25,107,105,27,131])),`component`)}),sd=w(`/_auth/iam/(roles)/list-roles/`)({loader:async({context:e})=>{await e.queryClient.query({...tr,staleTime:`static`})},head:()=>({meta:[{title:`Roles | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./list-roles-D20fg59j.js`),__vite__mapDeps([173,1,76,8,9,10,11,4,5,34,29,12,13,108,23,24,25,107,105,27,131])),`component`)}),cd=w(`/_auth/iam/(users)/list-users/`)({loader:async({context:e})=>{await e.queryClient.query({...Zn,staleTime:`static`})},head:()=>({meta:[{title:`Users | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./list-users-DRJSk6hA.js`),__vite__mapDeps([174,1,76,8,9,10,11,4,5,34,29,12,13,108,23,24,25,107,105,27,131])),`component`)}),ld=w(`/_auth/rds/(db-instances)/describe-db-instances/`)({loader:async({context:e})=>{await e.queryClient.query({...or,staleTime:`static`})},head:()=>({meta:[{title:`Databases | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./describe-db-instances-CLwlt50q.js`),__vite__mapDeps([175,1,76,8,9,10,11,4,5,45,34,29,12,13,121,24,25,122,55,56,123,23,27,59,39,176,51,37,52,53,61,62,33,35,36,38])),`component`)}),ud=w(`/_auth/rds/(parameter-groups)/describe-db-parameter-groups/`)({loader:async({context:e})=>{await e.queryClient.query({...rr,staleTime:`static`})},head:()=>({meta:[{title:`Parameter Groups | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./describe-db-parameter-groups-Xj7h_agu.js`),__vite__mapDeps([177,1,76,8,9,10,11,4,5,45,34,29,12,13,121,24,25,123,23,27,178,122,55,56,179,100,33,35,36,37,38])),`component`)}),dd=w(`/_auth/rds/(snapshots)/describe-db-snapshots/`)({loader:async({context:e})=>{await e.queryClient.query({...nr,staleTime:`static`})},head:()=>({meta:[{title:`Snapshots | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./describe-db-snapshots-ByVAmk9k.js`),__vite__mapDeps([180,1,76,8,9,10,11,4,5,45,12,13,34,29,121,24,25,123,23,27,39,181,7,66,36,37,14,48,15,52,38,67,68,53,69,51,122,55,56,58,61,62,84,85,86,33,35,124,182,179,100])),`component`)}),fd=w(`/_auth/rds/(subnet-groups)/describe-db-subnet-groups/`)({loader:async({context:e})=>{await e.queryClient.query({...ir,staleTime:`static`})},head:()=>({meta:[{title:`Subnet Groups | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./describe-db-subnet-groups-B0xn02S1.js`),__vite__mapDeps([183,1,76,8,9,10,11,4,5,45,34,29,12,13,123,23,24,25,121,27,39,184,122,55,56,179,100,33,35,36,37,38])),`component`)}),Z=iu.update({id:`/_auth`,getParentRoute:()=>K}),pd=cr.update({id:`/login`,path:`/login`,getParentRoute:()=>K}),md=au.update({id:`/`,path:`/`,getParentRoute:()=>Z}),hd=ou.update({id:`/bedrock`,path:`/bedrock`,getParentRoute:()=>Z}),gd=su.update({id:`/nodes`,path:`/nodes`,getParentRoute:()=>Z}),_d=cu.update({id:`/s3/service-metrics`,path:`/s3/service-metrics`,getParentRoute:()=>Z}),vd=lu.update({id:`/ec2/(elastic-ips)/allocate-address`,path:`/ec2/allocate-address`,getParentRoute:()=>Z}),yd=lr.update({id:`/ec2/(instances)/run-instances`,path:`/ec2/run-instances`,getParentRoute:()=>Z}),bd=uu.update({id:`/ec2/(internet-gateways)/create-internet-gateway`,path:`/ec2/create-internet-gateway`,getParentRoute:()=>Z}),xd=du.update({id:`/ec2/(key)/create-key-pair`,path:`/ec2/create-key-pair`,getParentRoute:()=>Z}),Sd=fu.update({id:`/ec2/(key)/import-key-pair`,path:`/ec2/import-key-pair`,getParentRoute:()=>Z}),Cd=pu.update({id:`/ec2/(launch-templates)/create-launch-template`,path:`/ec2/create-launch-template`,getParentRoute:()=>Z}),wd=mu.update({id:`/ec2/(load-balancers)/create-load-balancer`,path:`/ec2/create-load-balancer`,getParentRoute:()=>Z}),Td=hu.update({id:`/ec2/(nat-gateways)/create-nat-gateway`,path:`/ec2/create-nat-gateway`,getParentRoute:()=>Z}),Ed=gu.update({id:`/ec2/(placement-groups)/create-placement-group`,path:`/ec2/create-placement-group`,getParentRoute:()=>Z}),Dd=_u.update({id:`/ec2/(route-tables)/create-route-table`,path:`/ec2/create-route-table`,getParentRoute:()=>Z}),Od=vu.update({id:`/ec2/(security-groups)/create-security-group`,path:`/ec2/create-security-group`,getParentRoute:()=>Z}),kd=ur.update({id:`/ec2/(snapshots)/create-snapshot`,path:`/ec2/create-snapshot`,getParentRoute:()=>Z}),Ad=yu.update({id:`/ec2/(subnet)/create-subnet`,path:`/ec2/create-subnet`,getParentRoute:()=>Z}),jd=bu.update({id:`/ec2/(target-groups)/create-target-group`,path:`/ec2/create-target-group`,getParentRoute:()=>Z}),Md=xu.update({id:`/ec2/(volumes)/create-volume`,path:`/ec2/create-volume`,getParentRoute:()=>Z}),Nd=Su.update({id:`/ec2/(vpc)/create-vpc`,path:`/ec2/create-vpc`,getParentRoute:()=>Z}),Pd=dr.update({id:`/ecs/(clusters)/create-service`,path:`/ecs/create-service`,getParentRoute:()=>Z}),Fd=fr.update({id:`/ecs/(clusters)/register-task-definition`,path:`/ecs/register-task-definition`,getParentRoute:()=>Z}),Id=pr.update({id:`/ecs/(clusters)/run-task`,path:`/ecs/run-task`,getParentRoute:()=>Z}),Ld=Cu.update({id:`/ecs/(clusters)/task-definitions`,path:`/ecs/task-definitions`,getParentRoute:()=>Z}),Rd=wu.update({id:`/eks/(clusters)/create-cluster`,path:`/eks/create-cluster`,getParentRoute:()=>Z}),zd=Tu.update({id:`/iam/(groups)/create-group`,path:`/iam/create-group`,getParentRoute:()=>Z}),Bd=Eu.update({id:`/iam/(instance-profiles)/create-instance-profile`,path:`/iam/create-instance-profile`,getParentRoute:()=>Z}),Vd=Du.update({id:`/iam/(policies)/create-policy`,path:`/iam/create-policy`,getParentRoute:()=>Z}),Hd=Ou.update({id:`/iam/(roles)/create-role`,path:`/iam/create-role`,getParentRoute:()=>Z}),Ud=ku.update({id:`/iam/(users)/create-user`,path:`/iam/create-user`,getParentRoute:()=>Z}),Wd=Au.update({id:`/rds/(db-instances)/create-db-instance`,path:`/rds/create-db-instance`,getParentRoute:()=>Z}),Gd=ju.update({id:`/rds/(parameter-groups)/create-db-parameter-group`,path:`/rds/create-db-parameter-group`,getParentRoute:()=>Z}),Kd=Mu.update({id:`/rds/(subnet-groups)/create-db-subnet-group`,path:`/rds/create-db-subnet-group`,getParentRoute:()=>Z}),qd=Nu.update({id:`/s3/(buckets)/create-bucket`,path:`/s3/create-bucket`,getParentRoute:()=>Z}),Jd=Pu.update({id:`/s3/ls/`,path:`/s3/ls/`,getParentRoute:()=>Z}),Yd=Fu.update({id:`/s3/ls/$bucket`,path:`/s3/ls/$bucket`,getParentRoute:()=>Z}),Xd=Iu.update({id:`/(catalog)/list-model-catalog/`,path:`/list-model-catalog/`,getParentRoute:()=>hd}),Zd=Lu.update({id:`/(guardrails)/list-guardrails/`,path:`/list-guardrails/`,getParentRoute:()=>hd}),Qd=Ru.update({id:`/(guardrails)/list-guardrails/create`,path:`/list-guardrails/create`,getParentRoute:()=>hd}),$d=zu.update({id:`/(knowledge-bases)/list-knowledge-bases/`,path:`/list-knowledge-bases/`,getParentRoute:()=>hd}),ef=mr.update({id:`/(knowledge-bases)/list-knowledge-bases/$knowledgeBaseId`,path:`/list-knowledge-bases/$knowledgeBaseId`,getParentRoute:()=>hd}),tf=Bu.update({id:`/(knowledge-bases)/list-knowledge-bases/create`,path:`/list-knowledge-bases/create`,getParentRoute:()=>hd}),nf=Vu.update({id:`/(model-access)/list-model-access/`,path:`/list-model-access/`,getParentRoute:()=>hd}),rf=Hu.update({id:`/(playground)/playground/`,path:`/playground/`,getParentRoute:()=>hd}),af=Uu.update({id:`/ec2/(elastic-ips)/describe-addresses/`,path:`/ec2/describe-addresses/`,getParentRoute:()=>Z}),of=hr.update({id:`/ec2/(elastic-ips)/describe-addresses/$id`,path:`/ec2/describe-addresses/$id`,getParentRoute:()=>Z}),sf=Wu.update({id:`/ec2/(images)/describe-images/`,path:`/ec2/describe-images/`,getParentRoute:()=>Z}),cf=gr.update({id:`/ec2/(images)/describe-images/$id`,path:`/ec2/describe-images/$id`,getParentRoute:()=>Z}),lf=Gu.update({id:`/ec2/(instances)/describe-instances/`,path:`/ec2/describe-instances/`,getParentRoute:()=>Z}),uf=_r.update({id:`/ec2/(instances)/describe-instances/$id`,path:`/ec2/describe-instances/$id`,getParentRoute:()=>Z}),df=Ku.update({id:`/ec2/(internet-gateways)/describe-internet-gateways/`,path:`/ec2/describe-internet-gateways/`,getParentRoute:()=>Z}),ff=vr.update({id:`/ec2/(internet-gateways)/describe-internet-gateways/$id`,path:`/ec2/describe-internet-gateways/$id`,getParentRoute:()=>Z}),Q=qu.update({id:`/ec2/(key)/describe-key-pairs/`,path:`/ec2/describe-key-pairs/`,getParentRoute:()=>Z}),pf=yr.update({id:`/ec2/(key)/describe-key-pairs/$id`,path:`/ec2/describe-key-pairs/$id`,getParentRoute:()=>Z}),mf=Ju.update({id:`/ec2/(launch-templates)/describe-launch-templates/`,path:`/ec2/describe-launch-templates/`,getParentRoute:()=>Z}),hf=br.update({id:`/ec2/(launch-templates)/describe-launch-templates/$id`,path:`/ec2/describe-launch-templates/$id`,getParentRoute:()=>Z}),gf=Yu.update({id:`/ec2/(load-balancers)/describe-load-balancers/`,path:`/ec2/describe-load-balancers/`,getParentRoute:()=>Z}),_f=xr.update({id:`/ec2/(load-balancers)/describe-load-balancers/$id`,path:`/ec2/describe-load-balancers/$id`,getParentRoute:()=>Z}),vf=Xu.update({id:`/ec2/(nat-gateways)/describe-nat-gateways/`,path:`/ec2/describe-nat-gateways/`,getParentRoute:()=>Z}),yf=Sr.update({id:`/ec2/(nat-gateways)/describe-nat-gateways/$id`,path:`/ec2/describe-nat-gateways/$id`,getParentRoute:()=>Z}),bf=Zu.update({id:`/ec2/(placement-groups)/describe-placement-groups/`,path:`/ec2/describe-placement-groups/`,getParentRoute:()=>Z}),xf=Cr.update({id:`/ec2/(placement-groups)/describe-placement-groups/$id`,path:`/ec2/describe-placement-groups/$id`,getParentRoute:()=>Z}),Sf=Qu.update({id:`/ec2/(route-tables)/describe-route-tables/`,path:`/ec2/describe-route-tables/`,getParentRoute:()=>Z}),Cf=wr.update({id:`/ec2/(route-tables)/describe-route-tables/$id`,path:`/ec2/describe-route-tables/$id`,getParentRoute:()=>Z}),wf=q.update({id:`/ec2/(security-groups)/describe-security-groups/`,path:`/ec2/describe-security-groups/`,getParentRoute:()=>Z}),Tf=ct.update({id:`/ec2/(security-groups)/describe-security-groups/$id`,path:`/ec2/describe-security-groups/$id`,getParentRoute:()=>Z}),Ef=$u.update({id:`/ec2/(snapshots)/describe-snapshots/`,path:`/ec2/describe-snapshots/`,getParentRoute:()=>Z}),Df=rt.update({id:`/ec2/(snapshots)/describe-snapshots/$id`,path:`/ec2/describe-snapshots/$id`,getParentRoute:()=>Z}),Of=J.update({id:`/ec2/(subnet)/describe-subnets/`,path:`/ec2/describe-subnets/`,getParentRoute:()=>Z}),kf=Tr.update({id:`/ec2/(subnet)/describe-subnets/$id`,path:`/ec2/describe-subnets/$id`,getParentRoute:()=>Z}),Af=Y.update({id:`/ec2/(target-groups)/describe-target-groups/`,path:`/ec2/describe-target-groups/`,getParentRoute:()=>Z}),jf=Er.update({id:`/ec2/(target-groups)/describe-target-groups/$id`,path:`/ec2/describe-target-groups/$id`,getParentRoute:()=>Z}),Mf=X.update({id:`/ec2/(volumes)/describe-volumes/`,path:`/ec2/describe-volumes/`,getParentRoute:()=>Z}),Nf=Dr.update({id:`/ec2/(volumes)/describe-volumes/$id`,path:`/ec2/describe-volumes/$id`,getParentRoute:()=>Z}),Pf=Or.update({id:`/ec2/(volumes)/modify-volume/$id`,path:`/ec2/modify-volume/$id`,getParentRoute:()=>Z}),Ff=ed.update({id:`/ec2/(vpc)/describe-vpcs/`,path:`/ec2/describe-vpcs/`,getParentRoute:()=>Z}),If=kr.update({id:`/ec2/(vpc)/describe-vpcs/$id`,path:`/ec2/describe-vpcs/$id`,getParentRoute:()=>Z}),Lf=td.update({id:`/ecr/(repositories)/list-repositories/`,path:`/ecr/list-repositories/`,getParentRoute:()=>Z}),Rf=Ar.update({id:`/ecr/(repositories)/list-repositories/$id`,path:`/ecr/list-repositories/$id`,getParentRoute:()=>Z}),zf=nd.update({id:`/ecs/(clusters)/list-clusters/`,path:`/ecs/list-clusters/`,getParentRoute:()=>Z}),Bf=jr.update({id:`/ecs/(clusters)/list-clusters/$clusterName`,path:`/ecs/list-clusters/$clusterName`,getParentRoute:()=>Z}),$=rd.update({id:`/eks/(clusters)/list-clusters/`,path:`/eks/list-clusters/`,getParentRoute:()=>Z}),Vf=ot.update({id:`/eks/(clusters)/list-clusters/$clusterName`,path:`/eks/list-clusters/$clusterName`,getParentRoute:()=>Z}),Hf=id.update({id:`/iam/(groups)/list-groups/`,path:`/iam/list-groups/`,getParentRoute:()=>Z}),Uf=Mr.update({id:`/iam/(groups)/list-groups/$groupName`,path:`/iam/list-groups/$groupName`,getParentRoute:()=>Z}),Wf=ad.update({id:`/iam/(instance-profiles)/list-instance-profiles/`,path:`/iam/list-instance-profiles/`,getParentRoute:()=>Z}),Gf=Nr.update({id:`/iam/(instance-profiles)/list-instance-profiles/$instanceProfileName`,path:`/iam/list-instance-profiles/$instanceProfileName`,getParentRoute:()=>Z}),Kf=od.update({id:`/iam/(policies)/list-policies/`,path:`/iam/list-policies/`,getParentRoute:()=>Z}),qf=Pr.update({id:`/iam/(policies)/list-policies/$policyArn`,path:`/iam/list-policies/$policyArn`,getParentRoute:()=>Z}),Jf=sd.update({id:`/iam/(roles)/list-roles/`,path:`/iam/list-roles/`,getParentRoute:()=>Z}),Yf=Fr.update({id:`/iam/(roles)/list-roles/$roleName`,path:`/iam/list-roles/$roleName`,getParentRoute:()=>Z}),Xf=cd.update({id:`/iam/(users)/list-users/`,path:`/iam/list-users/`,getParentRoute:()=>Z}),Zf=Ir.update({id:`/iam/(users)/list-users/$userName`,path:`/iam/list-users/$userName`,getParentRoute:()=>Z}),Qf=ld.update({id:`/rds/(db-instances)/describe-db-instances/`,path:`/rds/describe-db-instances/`,getParentRoute:()=>Z}),$f=Lr.update({id:`/rds/(db-instances)/describe-db-instances/$id`,path:`/rds/describe-db-instances/$id`,getParentRoute:()=>Z}),ep=ud.update({id:`/rds/(parameter-groups)/describe-db-parameter-groups/`,path:`/rds/describe-db-parameter-groups/`,getParentRoute:()=>Z}),tp=Rr.update({id:`/rds/(parameter-groups)/describe-db-parameter-groups/$name`,path:`/rds/describe-db-parameter-groups/$name`,getParentRoute:()=>Z}),np=dd.update({id:`/rds/(snapshots)/describe-db-snapshots/`,path:`/rds/describe-db-snapshots/`,getParentRoute:()=>Z}),rp=zr.update({id:`/rds/(snapshots)/describe-db-snapshots/$id`,path:`/rds/describe-db-snapshots/$id`,getParentRoute:()=>Z}),ip=Br.update({id:`/rds/(snapshots)/restore-db-instance-from-db-snapshot/$id`,path:`/rds/restore-db-instance-from-db-snapshot/$id`,getParentRoute:()=>Z}),ap=fd.update({id:`/rds/(subnet-groups)/describe-db-subnet-groups/`,path:`/rds/describe-db-subnet-groups/`,getParentRoute:()=>Z}),op=Vr.update({id:`/rds/(subnet-groups)/describe-db-subnet-groups/$name`,path:`/rds/describe-db-subnet-groups/$name`,getParentRoute:()=>Z}),sp=Hr.update({id:`/`,path:`/`,getParentRoute:()=>Yd}),cp=Ur.update({id:`/$`,path:`/$`,getParentRoute:()=>Yd}),lp=Wr.update({id:`/(guardrails)/list-guardrails/$guardrailId/`,path:`/list-guardrails/$guardrailId/`,getParentRoute:()=>hd}),up=Gr.update({id:`/(guardrails)/list-guardrails/$guardrailId/edit`,path:`/list-guardrails/$guardrailId/edit`,getParentRoute:()=>hd}),dp=Kr.update({id:`/ecs/(clusters)/list-clusters/$clusterName_/services/$serviceName`,path:`/ecs/list-clusters/$clusterName/services/$serviceName`,getParentRoute:()=>Z}),fp=qr.update({id:`/ecs/(clusters)/list-clusters/$clusterName_/tasks/$taskId`,path:`/ecs/list-clusters/$clusterName/tasks/$taskId`,getParentRoute:()=>Z}),pp={AuthBedrockguardrailsListGuardrailsCreateRoute:Qd,AuthBedrockknowledgeBasesListKnowledgeBasesKnowledgeBaseIdRoute:ef,AuthBedrockknowledgeBasesListKnowledgeBasesCreateRoute:tf,AuthBedrockcatalogListModelCatalogIndexRoute:Xd,AuthBedrockguardrailsListGuardrailsIndexRoute:Zd,AuthBedrockknowledgeBasesListKnowledgeBasesIndexRoute:$d,AuthBedrockmodelAccessListModelAccessIndexRoute:nf,AuthBedrockplaygroundPlaygroundIndexRoute:rf,AuthBedrockguardrailsListGuardrailsGuardrailIdEditRoute:up,AuthBedrockguardrailsListGuardrailsGuardrailIdIndexRoute:lp},mp=hd._addFileChildren(pp),hp={AuthS3LsBucketSplatRoute:cp,AuthS3LsBucketIndexRoute:sp},gp={AuthBedrockRouteRoute:mp,AuthNodesRoute:gd,AuthIndexRoute:md,AuthS3ServiceMetricsRoute:_d,AuthS3LsBucketRouteRoute:Yd._addFileChildren(hp),AuthEc2elasticIpsAllocateAddressRoute:vd,AuthEc2instancesRunInstancesRoute:yd,AuthEc2internetGatewaysCreateInternetGatewayRoute:bd,AuthEc2keyCreateKeyPairRoute:xd,AuthEc2keyImportKeyPairRoute:Sd,AuthEc2launchTemplatesCreateLaunchTemplateRoute:Cd,AuthEc2loadBalancersCreateLoadBalancerRoute:wd,AuthEc2natGatewaysCreateNatGatewayRoute:Td,AuthEc2placementGroupsCreatePlacementGroupRoute:Ed,AuthEc2routeTablesCreateRouteTableRoute:Dd,AuthEc2securityGroupsCreateSecurityGroupRoute:Od,AuthEc2snapshotsCreateSnapshotRoute:kd,AuthEc2subnetCreateSubnetRoute:Ad,AuthEc2targetGroupsCreateTargetGroupRoute:jd,AuthEc2volumesCreateVolumeRoute:Md,AuthEc2vpcCreateVpcRoute:Nd,AuthEcsclustersCreateServiceRoute:Pd,AuthEcsclustersRegisterTaskDefinitionRoute:Fd,AuthEcsclustersRunTaskRoute:Id,AuthEcsclustersTaskDefinitionsRoute:Ld,AuthEksclustersCreateClusterRoute:Rd,AuthIamgroupsCreateGroupRoute:zd,AuthIaminstanceProfilesCreateInstanceProfileRoute:Bd,AuthIampoliciesCreatePolicyRoute:Vd,AuthIamrolesCreateRoleRoute:Hd,AuthIamusersCreateUserRoute:Ud,AuthRdsdbInstancesCreateDbInstanceRoute:Wd,AuthRdsparameterGroupsCreateDbParameterGroupRoute:Gd,AuthRdssubnetGroupsCreateDbSubnetGroupRoute:Kd,AuthS3bucketsCreateBucketRoute:qd,AuthS3LsIndexRoute:Jd,AuthEc2elasticIpsDescribeAddressesIdRoute:of,AuthEc2imagesDescribeImagesIdRoute:cf,AuthEc2instancesDescribeInstancesIdRoute:uf,AuthEc2internetGatewaysDescribeInternetGatewaysIdRoute:ff,AuthEc2keyDescribeKeyPairsIdRoute:pf,AuthEc2launchTemplatesDescribeLaunchTemplatesIdRoute:hf,AuthEc2loadBalancersDescribeLoadBalancersIdRoute:_f,AuthEc2natGatewaysDescribeNatGatewaysIdRoute:yf,AuthEc2placementGroupsDescribePlacementGroupsIdRoute:xf,AuthEc2routeTablesDescribeRouteTablesIdRoute:Cf,AuthEc2securityGroupsDescribeSecurityGroupsIdRoute:Tf,AuthEc2snapshotsDescribeSnapshotsIdRoute:Df,AuthEc2subnetDescribeSubnetsIdRoute:kf,AuthEc2targetGroupsDescribeTargetGroupsIdRoute:jf,AuthEc2volumesDescribeVolumesIdRoute:Nf,AuthEc2volumesModifyVolumeIdRoute:Pf,AuthEc2vpcDescribeVpcsIdRoute:If,AuthEcrrepositoriesListRepositoriesIdRoute:Rf,AuthEcsclustersListClustersClusterNameRoute:Bf,AuthEksclustersListClustersClusterNameRoute:Vf,AuthIamgroupsListGroupsGroupNameRoute:Uf,AuthIaminstanceProfilesListInstanceProfilesInstanceProfileNameRoute:Gf,AuthIampoliciesListPoliciesPolicyArnRoute:qf,AuthIamrolesListRolesRoleNameRoute:Yf,AuthIamusersListUsersUserNameRoute:Zf,AuthRdsdbInstancesDescribeDbInstancesIdRoute:$f,AuthRdsparameterGroupsDescribeDbParameterGroupsNameRoute:tp,AuthRdssnapshotsDescribeDbSnapshotsIdRoute:rp,AuthRdssnapshotsRestoreDbInstanceFromDbSnapshotIdRoute:ip,AuthRdssubnetGroupsDescribeDbSubnetGroupsNameRoute:op,AuthEc2elasticIpsDescribeAddressesIndexRoute:af,AuthEc2imagesDescribeImagesIndexRoute:sf,AuthEc2instancesDescribeInstancesIndexRoute:lf,AuthEc2internetGatewaysDescribeInternetGatewaysIndexRoute:df,AuthEc2keyDescribeKeyPairsIndexRoute:Q,AuthEc2launchTemplatesDescribeLaunchTemplatesIndexRoute:mf,AuthEc2loadBalancersDescribeLoadBalancersIndexRoute:gf,AuthEc2natGatewaysDescribeNatGatewaysIndexRoute:vf,AuthEc2placementGroupsDescribePlacementGroupsIndexRoute:bf,AuthEc2routeTablesDescribeRouteTablesIndexRoute:Sf,AuthEc2securityGroupsDescribeSecurityGroupsIndexRoute:wf,AuthEc2snapshotsDescribeSnapshotsIndexRoute:Ef,AuthEc2subnetDescribeSubnetsIndexRoute:Of,AuthEc2targetGroupsDescribeTargetGroupsIndexRoute:Af,AuthEc2volumesDescribeVolumesIndexRoute:Mf,AuthEc2vpcDescribeVpcsIndexRoute:Ff,AuthEcrrepositoriesListRepositoriesIndexRoute:Lf,AuthEcsclustersListClustersIndexRoute:zf,AuthEksclustersListClustersIndexRoute:$,AuthIamgroupsListGroupsIndexRoute:Hf,AuthIaminstanceProfilesListInstanceProfilesIndexRoute:Wf,AuthIampoliciesListPoliciesIndexRoute:Kf,AuthIamrolesListRolesIndexRoute:Jf,AuthIamusersListUsersIndexRoute:Xf,AuthRdsdbInstancesDescribeDbInstancesIndexRoute:Qf,AuthRdsparameterGroupsDescribeDbParameterGroupsIndexRoute:ep,AuthRdssnapshotsDescribeDbSnapshotsIndexRoute:np,AuthRdssubnetGroupsDescribeDbSubnetGroupsIndexRoute:ap,AuthEcsclustersListClustersClusterNameServicesServiceNameRoute:dp,AuthEcsclustersListClustersClusterNameTasksTaskIdRoute:fp},_p={AuthRouteRoute:Z._addFileChildren(gp),LoginRoute:pd},vp=K._addFileChildren(_p)._addFileTypes(),yp=Zl(),bp=H({routeTree:vp,context:{queryClient:yp},defaultPreload:`intent`,scrollRestoration:!0,defaultStructuralSharing:!0,defaultPreloadStaleTime:0});async function xp(e){try{await Ke()}catch(t){e.render((0,V.jsxs)(`div`,{style:{fontFamily:`sans-serif`,margin:`4rem auto`,maxWidth:`40rem`},children:[(0,V.jsx)(`h1`,{children:`Console unavailable`}),(0,V.jsx)(`p`,{children:`This cluster did not report its region, so the console cannot sign requests. Check that the serving node has a region set in its configuration.`}),(0,V.jsx)(`pre`,{children:t instanceof Error?t.message:String(t)})]}));return}e.render((0,V.jsx)(B.StrictMode,{children:(0,V.jsx)(rs,{defaultTheme:`dark`,storageKey:`spinifex-ui-theme`,children:(0,V.jsx)(p,{client:yp,children:(0,V.jsx)(Cn,{children:(0,V.jsx)(Ml,{children:(0,V.jsx)(Uo,{router:bp})})})})})}))}var Sp=document.querySelector(`#app`);Sp&&!Sp.innerHTML&&await xp(es.createRoot(Sp)); \ No newline at end of file +`).replace(Zf,``)}function $f(e,t){return t=Qf(t),Qf(e)===t}function ep(e,t,n,r,i,o){switch(n){case`children`:if(typeof r==`string`)t===`body`||t===`textarea`&&r===``||dn(e,r);else if(typeof r==`number`||typeof r==`bigint`)t!==`body`&&dn(e,``+r);else return;break;case`className`:Yt(e,`class`,r);break;case`tabIndex`:Yt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Yt(e,n,r);break;case`style`:mn(e,r,o);return;case`data`:if(t!==`object`){Yt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=vn(r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&ep(e,t,`name`,i.name,i,null),ep(e,t,`formEncType`,i.formEncType,i,null),ep(e,t,`formMethod`,i.formMethod,i,null),ep(e,t,`formTarget`,i.formTarget,i,null)):(ep(e,t,`encType`,i.encType,i,null),ep(e,t,`method`,i.method,i,null),ep(e,t,`target`,i.target,i,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=vn(r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=yn);return;case`onScroll`:r!=null&&$(`scroll`,e);return;case`onScrollEnd`:r!=null&&$(`scrollend`,e);return;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(a(61));if(n=r.__html,n!=null){if(i.children!=null)throw Error(a(60));o?.__html!==n&&(e.innerHTML=n)}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=vn(r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`credentialless`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:$(`beforetoggle`,e),$(`toggle`,e),Jt(e,`popover`,r);break;case`xlinkActuate`:Xt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Xt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Xt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Xt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Xt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Xt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Xt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Xt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Xt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Jt(e,`is`,r);break;case`innerText`:case`textContent`:return;default:if(!(2s)break;var u=c.transferSize,d=c.initiatorType;u&&ap(d)&&(c=c.responseEnd,o+=u*(c$m){s.length=o;break}f=new Promise(jp.bind(f)),s.push(f)}}}if(0`u`?null:document;function Tm(e,t,n){var r=wm;if(r&&typeof t==`string`&&t){var i=rn(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),ym.has(i)||(ym.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),np(t,`link`,e),Lt(t),r.head.appendChild(t)))}}function Em(e){xm.D(e),Tm(`dns-prefetch`,e,null)}function Dm(e,t){xm.C(e,t),Tm(`preconnect`,e,t)}function Om(e,t,n){xm.L(e,t,n);var r=wm;if(r&&e&&t){var i=`link[rel="preload"][as="`+rn(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+rn(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+rn(n.imageSizes)+`"]`)):i+=`[href="`+rn(e)+`"]`;var a=i;switch(t){case`style`:a=Pm(e);break;case`script`:a=Rm(e)}if(!(vm.has(a)||(e=T({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),vm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Fm(a))||t===`script`&&r.querySelector(zm(a))))){var o=r.createElement(`link`);np(o,`link`,e),t===`style`&&(o[jt]=!0,o.onload=o.onerror=function(){Rt(o)}),Lt(o),r.head.appendChild(o)}}}function km(e,t){xm.m(e,t);var n=wm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+rn(r)+`"][href="`+rn(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Rm(e)}if(!vm.has(a)&&(e=T({rel:`modulepreload`,href:e},t),vm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(zm(a)))return}r=n.createElement(`link`),np(r,`link`,e),Lt(r),n.head.appendChild(r)}}}function Am(e,t,n){xm.S(e,t,n);var r=wm;if(r&&e){var i=It(r).hoistableStyles,a=Pm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Fm(a)))s.loading=5;else{e=T({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=vm.get(a))&&Hm(e,n);var c=o=r.createElement(`link`);Lt(c),np(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Vm(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function jm(e,t){xm.X(e,t);var n=wm;if(n&&e){var r=It(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=T({src:e,async:!0},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Lt(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Mm(e,t){xm.M(e,t);var n=wm;if(n&&e){var r=It(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=T({src:e,async:!0,type:`module`},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Lt(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nm(e,t,n,r){var i=(i=Te.current)?bm(i):null;if(!i)throw Error(a(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Pm(n.href),t=It(i).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Pm(n.href);var o=It(i).hoistableStyles,s=o.get(e);if(s||(i=i.ownerDocument||i,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=i.querySelector(Fm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=vm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},vm.set(e,o)),Lm(i,e,o,s.state))),t&&r===null)throw Error(a(528,``));return s}if(t&&r!==null)throw Error(a(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Rm(n),t=It(i).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(a(444,e))}}function Pm(e){return`href="`+rn(e)+`"`}function Fm(e){return`link[rel="stylesheet"][`+e+`]`}function Im(e){return T({},e,{"data-precedence":e.precedence,precedence:null})}function Lm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[jt]){r.loading=1;return}}else t=e.createElement(`link`),t[jt]=!0,t.onload=t.onerror=Rt.bind(null,t),np(t,`link`,n),Lt(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Rm(e){return`[src="`+rn(e)+`"]`}function zm(e){return`script[async]`+e}function Bm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+rn(n.href)+`"]`);if(r)return t.instance=r,Lt(r),r;var i=T({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Lt(r),np(r,`style`,i),Vm(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Pm(n.href);var o=e.querySelector(Fm(i));if(o)return t.state.loading|=4,t.instance=o,Lt(o),o;r=Im(n),(i=vm.get(i))&&Hm(r,i),o=(e.ownerDocument||e).createElement(`link`),Lt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),np(o,`link`,r),t.state.loading|=4,Vm(o,n.precedence,e),t.instance=o;case`script`:return o=Rm(n.src),(i=e.querySelector(zm(o)))?(t.instance=i,Lt(i),i):(r=n,(i=vm.get(o))&&(r=T({},n),Um(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),Lt(i),np(i,`link`,r),e.head.appendChild(i),t.instance=i);case`void`:return null;default:throw Error(a(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Vm(r,n.precedence,e));return t.instance}function Vm(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function qm(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Jm(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Ym(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Xm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function Zm(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Xm(t),e.suspenseyImages.push(t)),e=rh.bind(e),t.decode().then(e,e))}function Qm(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Pm(r.href),a=t.querySelector(Fm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=nh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Lt(a);return}a=t.ownerDocument||t,r=Im(r),(i=vm.get(i))&&Hm(r,i),a=a.createElement(`link`),Lt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),np(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=nh.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var $m=0;function eh(e,t){return e.stylesheets&&e.count===0&&ah(e,e.stylesheets),0$m?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function th(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)ah(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function nh(){this.count--,th(this)}function rh(){this.imgCount--,th(this)}var ih=null;function ah(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ih=new Map,t.forEach(oh,e),ih=null,nh.call(e))}function oh(e,t){if(!(t.state.loading&4)){var n=ih.get(e);if(n)var r=n.get(null);else{n=new Map,ih.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=$o()}))(),1),U=i(),ts=(0,B.createContext)(void 0);function ns(e,t){try{let t=localStorage.getItem(e);if(t===`light`||t===`dark`||t===`system`)return t}catch{}return t}function rs(e){let t=(0,U.c)(14),{children:n,defaultTheme:r,storageKey:i}=e,a=r===void 0?`dark`:r,o=i===void 0?`ui-theme`:i,s;t[0]!==a||t[1]!==o?(s=()=>ns(o,a),t[0]=a,t[1]=o,t[2]=s):s=t[2];let[c,l]=(0,B.useState)(s),u,d;t[3]===c?(u=t[4],d=t[5]):(u=()=>{let e=window.document.documentElement;if(e.classList.remove(`light`,`dark`),c===`system`){let t=window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`;e.classList.add(t);return}e.classList.add(c)},d=[c],t[3]=c,t[4]=u,t[5]=d),(0,B.useEffect)(u,d);let f;t[6]===o?f=t[7]:(f=e=>{try{localStorage.setItem(o,e)}catch{}l(e)},t[6]=o,t[7]=f);let p;t[8]!==f||t[9]!==c?(p={theme:c,setTheme:f},t[8]=f,t[9]=c,t[10]=p):p=t[10];let m=p,h;return t[11]!==n||t[12]!==m?(h=(0,V.jsx)(ts.Provider,{value:m,children:n}),t[11]=n,t[12]=m,t[13]=h):h=t[13],h}function is(){let e=(0,B.useContext)(ts);if(e===void 0)throw Error(`useTheme must be used within a ThemeProvider`);return e}var as={name:`activity`,size:24,node:[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]};as.node;var os=I(as),ss={name:`book-open`,size:24,node:[[`path`,{d:`M12 5v16`,key:`1f6ucr`}],[`path`,{d:`M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z`,key:`1fyvmf`}]]};ss.node;var cs=I(ss),ls={name:`boxes`,size:24,node:[[`path`,{d:`M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z`,key:`lc1i9w`}],[`path`,{d:`m7 16.5-4.74-2.85`,key:`1o9zyk`}],[`path`,{d:`m7 16.5 5-3`,key:`va8pkn`}],[`path`,{d:`M7 16.5v5.17`,key:`jnp8gn`}],[`path`,{d:`M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z`,key:`8zsnat`}],[`path`,{d:`m17 16.5-5-3`,key:`8arw3v`}],[`path`,{d:`m17 16.5 4.74-2.85`,key:`8rfmw`}],[`path`,{d:`M17 16.5v5.17`,key:`k6z78m`}],[`path`,{d:`M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z`,key:`1xygjf`}],[`path`,{d:`M12 8 7.26 5.15`,key:`1vbdud`}],[`path`,{d:`m12 8 4.74-2.85`,key:`3rx089`}],[`path`,{d:`M12 13.5V8`,key:`1io7kd`}]]};ls.node;var us=I(ls),ds={name:`brain`,size:24,node:[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`,key:`1e3is1`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`,key:`1gqd8o`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`,key:`iwvgf7`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`,key:`efp6ie`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`,key:`1gq6am`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`,key:`k1g0md`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`,key:`q97ue3`}]]};ds.node;var fs=I(ds),ps={name:`circle-alert`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]],aliases:[`alert-circle`]};ps.node;var ms=I(ps),hs={name:`container`,size:24,node:[[`path`,{d:`M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z`,key:`1t2lqe`}],[`path`,{d:`M10 21.9V14L2.1 9.1`,key:`o7czzq`}],[`path`,{d:`m10 14 11.9-6.9`,key:`zm5e20`}],[`path`,{d:`M14 19.8v-8.1`,key:`159ecu`}],[`path`,{d:`M18 17.5V9.4`,key:`11uown`}]]};hs.node;var gs=I(hs),_s={name:`crosshair`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`22`,x2:`18`,y1:`12`,y2:`12`,key:`l9bcsi`}],[`line`,{x1:`6`,x2:`2`,y1:`12`,y2:`12`,key:`13hhkx`}],[`line`,{x1:`12`,x2:`12`,y1:`6`,y2:`2`,key:`10w3f3`}],[`line`,{x1:`12`,x2:`12`,y1:`22`,y2:`18`,key:`15g9kq`}]]};_s.node;var vs=I(_s),ys={name:`database`,size:24,node:[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]};ys.node;var bs=I(ys),xs={name:`file-stack`,size:24,node:[[`path`,{d:`M11 21a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1`,key:`likhh7`}],[`path`,{d:`M16 16a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1`,key:`17ky3x`}],[`path`,{d:`M21 6a2 2 0 0 0-.586-1.414l-2-2A2 2 0 0 0 17 2h-3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1z`,key:`1hyeo0`}]]};xs.node;var Ss=I(xs),Cs={name:`house`,size:24,node:[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]],aliases:[`home`]};Cs.node;var ws=I(Cs),Ts={name:`id-card`,size:24,node:[[`path`,{d:`M13 19a4 4 0 00-8 0`,key:`cugzd5`}],[`path`,{d:`M16 10h2`,key:`8sgtl7`}],[`path`,{d:`M16 14h2`,key:`epxaof`}],[`circle`,{cx:`9`,cy:`12`,r:`3`,key:`u3jwor`}],[`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`,key:`qneu4z`}]]};Ts.node;var Es=I(Ts),Ds={name:`key-round`,size:24,node:[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]};Ds.node;var Os=I(Ds),ks={name:`layers`,size:24,node:[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]],aliases:[`layers-3`]};ks.node;var As=I(ks),js={name:`layout-grid`,size:24,node:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]};js.node;var Ms=I(js),Ns={name:`layout-list`,size:24,node:[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}],[`path`,{d:`M14 4h7`,key:`3xa0d5`}],[`path`,{d:`M14 9h7`,key:`1icrd9`}],[`path`,{d:`M14 15h7`,key:`1mj8o2`}],[`path`,{d:`M14 20h7`,key:`11slyb`}]]};Ns.node;var Ps=I(Ns),Fs={name:`log-out`,size:24,node:[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]};Fs.node;var Is=I(Fs),Ls={name:`map-pin`,size:24,node:[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]};Ls.node;var Rs=I(Ls),zs={name:`message-square`,size:24,node:[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]};zs.node;var Bs=I(zs),Vs={name:`moon`,size:24,node:[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]};Vs.node;var Hs=I(Vs),Us={name:`package`,size:24,node:[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]};Us.node;var Ws=I(Us),Gs={name:`panel-left`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}]],aliases:[`sidebar`]};Gs.node;var Ks=I(Gs),qs={name:`route`,size:24,node:[[`circle`,{cx:`6`,cy:`19`,r:`3`,key:`1kj8tv`}],[`path`,{d:`M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15`,key:`1d8sl`}],[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}]]};qs.node;var Js=I(qs),Ys={name:`shield-check`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]};Ys.node;var Xs=I(Ys),Zs={name:`sun`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]};Zs.node;var Qs=I(Zs),$s={name:`user-cog`,size:24,node:[[`path`,{d:`M10 15H6a4 4 0 0 0-4 4v2`,key:`1nfge6`}],[`path`,{d:`m14.305 16.53.923-.382`,key:`1itpsq`}],[`path`,{d:`m15.228 13.852-.923-.383`,key:`eplpkm`}],[`path`,{d:`m16.852 12.228-.383-.923`,key:`13v3q0`}],[`path`,{d:`m16.852 17.772-.383.924`,key:`1i8mnm`}],[`path`,{d:`m19.148 12.228.383-.923`,key:`1q8j1v`}],[`path`,{d:`m19.53 18.696-.382-.924`,key:`vk1qj3`}],[`path`,{d:`m20.772 13.852.924-.383`,key:`n880s0`}],[`path`,{d:`m20.772 16.148.924.383`,key:`1g6xey`}],[`circle`,{cx:`18`,cy:`15`,r:`3`,key:`gjjjvw`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};$s.node;var ec=I($s),tc={name:`users-round`,size:24,node:[[`path`,{d:`M18 21a8 8 0 0 0-16 0`,key:`3ypg7q`}],[`circle`,{cx:`10`,cy:`8`,r:`5`,key:`o932ke`}],[`path`,{d:`M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3`,key:`10s06x`}]],aliases:[`users-2`]};tc.node;var nc=I(tc),rc={name:`users`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};rc.node;var ic=I(rc);function ac(e,t){return t!=null&&!Vt(t)?0:typeof e==`function`?e():e}function oc(e,t,n){let r=ac(e,n);return typeof r==`number`?r:r?.[t]}function sc(e){return typeof e==`function`?e():e}function cc(e,t){return t||e===`click`||e===`mousedown`}function lc(e){return e?.includes(`mouse`)&&e!==`mousedown`}var uc=B.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new Dt,currentIdRef:{current:null},currentContextRef:{current:null}});function dc(e,t){e.current=t.current}function fc(e){let{children:t,delay:n,timeoutMs:r=0}=e,i=B.useRef(n),a=B.useRef(n),o=B.useRef(null),s=B.useRef(null),c=At();return ft(()=>{if(a.current=n,!o.current){i.current=n;return}i.current={open:oc(i.current,`open`),close:oc(n,`close`)}},[n,o,i,a]),(0,V.jsx)(uc.Provider,{value:B.useMemo(()=>({hasProvider:!0,delayRef:i,initialDelayRef:a,currentIdRef:o,timeoutMs:r,currentContextRef:s,timeout:c}),[r,c]),children:t})}function pc(e,t={open:!1}){let{open:n}=t,r=`rootStore`in e?e.rootStore:e,i=r.useState(`floatingId`),{currentIdRef:a,delayRef:o,timeoutMs:s,initialDelayRef:c,currentContextRef:l,hasProvider:u,timeout:d}=B.useContext(uc),[f,p]=B.useState(!1),m=B.useRef(n);return ft(()=>{m.current=n},[n]),ft(()=>{function e(){l.current?.setIsInstantPhase(!1),a.current=null,l.current=null,o.current=c.current,d.clear()}if(a.current&&!n&&a.current===i){if(p(!1),s){let t=i;return d.start(s,()=>{r.select(`open`)||a.current&&a.current!==t||e()}),()=>{(m.current||a.current!==t)&&d.clear()}}e()}},[n,i,a,o,s,c,l,d,r]),ft(()=>{if(!n)return;let e=l.current,t=a.current;d.clear(),l.current={onOpenChange:r.setOpen,setIsInstantPhase:p},a.current=i,o.current={open:0,close:oc(c.current,`close`)},t!==null&&t!==i?(p(!0),e?.setIsInstantPhase(!0),e?.onOpenChange(!1,Et(bt))):(p(!1),e?.setIsInstantPhase(!1))},[n,i,r,a,o,c,l,d]),ft(()=>()=>{if(a.current===i){if(l.current=null,!m.current)return;a.current=null,dc(o,c),d.clear()}},[l,a,o,i,c,d]),B.useMemo(()=>({activeIdRef:a,hasProvider:u,delayRef:o,isInstantPhase:f}),[a,u,o,f])}function mc(e,t){let n=null,r=null,i=!1;return{contextElement:e||void 0,getBoundingClientRect(){let a=e?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},o=t.axis===`x`||t.axis===`both`,s=t.axis===`y`||t.axis===`both`,c=[`mouseenter`,`mousemove`].includes(t.dataRef.current.openEvent?.type||``)&&t.pointerType!==`touch`,l=a.width,u=a.height,d=a.x,f=a.y;return n==null&&t.x&&o&&(n=a.x-t.x),r==null&&t.y&&s&&(r=a.y-t.y),d-=n||0,f-=r||0,l=0,u=0,!i||c?(l=t.axis===`y`?a.width:0,u=t.axis===`x`?a.height:0,d=o&&t.x!=null?t.x:d,f=s&&t.y!=null?t.y:f):i&&!c&&(u=t.axis===`x`?a.height:u,l=t.axis===`y`?a.width:l),i=!0,{width:l,height:u,x:d,y:f,top:f,right:d+l,bottom:f+u,left:d}}}}function hc(e){return e!=null&&e.clientX!=null}function gc(e,t={}){let{enabled:n=!0,axis:r=`both`}=t,i=`rootStore`in e?e.rootStore:e,a=i.useState(`open`),o=i.useState(`floatingElement`),s=i.useState(`domReferenceElement`),c=i.context.dataRef,l=B.useRef(!1),u=B.useRef(null),[d,f]=B.useState(),[p,m]=B.useState([]),h=pt(e=>{i.set(`positionReference`,e)}),g=pt((e,t,n)=>{l.current||(!c.current.openEvent||hc(c.current.openEvent))&&i.set(`positionReference`,mc(n??s,{x:e,y:t,axis:r,dataRef:c,pointerType:d}))}),_=pt(e=>{a?u.current||(g(e.clientX,e.clientY,e.currentTarget),m([])):g(e.clientX,e.clientY,e.currentTarget)}),v=Vt(d)?o:a;B.useEffect(()=>{if(!n){h(s);return}if(!v)return;function e(){u.current?.(),u.current=null}let t=lt(o);function r(t){let n=gt(t);vt(o,n)?e():g(t.clientX,t.clientY)}return!c.current.openEvent||hc(c.current.openEvent)?u.current=Pe(t,`mousemove`,r):h(s),e},[v,n,o,c,s,i,g,h,p]),B.useEffect(()=>()=>{i.set(`positionReference`,null)},[i]),B.useEffect(()=>{n&&!o&&(l.current=!1)},[n,o]),B.useEffect(()=>{!n&&a&&(l.current=!0)},[n,a]);let y=B.useMemo(()=>{function e(e){f(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:_,onMouseEnter:_}},[_]);return B.useMemo(()=>n?{reference:y,trigger:y}:{},[n,y])}var _c=Ae();function vc(e){let t=B.useCallback(t=>e===void 0?Be:e.subscribeStore(t),[e]),n=B.useCallback(()=>e===void 0?void 0:e.store,[e]);return(0,_c.useSyncExternalStore)(t,n,()=>e?.serverStore)}var yc=rn&&Bt;function bc(e,t={}){let{enabled:n=!0,delay:r}=t,i=`rootStore`in e?e.rootStore:e,{events:a,dataRef:o}=i.context,s=B.useRef(!1),c=B.useRef(null),l=B.useRef(!0),u=At();B.useEffect(()=>{let e=i.select(`domReferenceElement`);if(!n)return;let t=lt(e);function r(){let e=i.select(`domReferenceElement`);!i.select(`open`)&&ut(e)&&e===kt(_t(e))&&(s.current=!0,c.current=e)}function a(){l.current=!0}function o(){l.current=!1}return Pt(Pe(t,`blur`,r),yc&&Pe(t,`keydown`,a,!0),yc&&Pe(t,`pointerdown`,o,!0))},[i,n]),B.useEffect(()=>{if(!n)return;function e(e){if(e.reason===`trigger-press`||e.reason===`escape-key`){let e=i.select(`domReferenceElement`);ht(e)&&(c.current=e,s.current=!0)}}return a.on(`openchange`,e),()=>{a.off(`openchange`,e)}},[a,n,i]);let d=B.useMemo(()=>{function e(){s.current=!1,c.current=null}return{onMouseLeave(){e()},onFocus(t){let n=t.currentTarget;if(s.current){if(c.current===n)return;e()}let a=gt(t.nativeEvent);if(ht(a)){if(yc&&!t.relatedTarget){if(!l.current&&!L(a))return}else if(!Ht(a))return}let o=Xt(t.relatedTarget,i.context.triggerElements),{nativeEvent:d,currentTarget:f}=t,p=typeof r==`function`?r():r;if(i.select(`open`)&&o||p===0||p===void 0){i.setOpen(!0,Et(wt,d,f));return}u.start(p,()=>{s.current||i.setOpen(!0,Et(wt,d,f))})},onBlur(t){e();let n=t.relatedTarget,r=t.nativeEvent,a=ht(n)&&n.hasAttribute(sn(`focus-guard`))&&n.getAttribute(`data-type`)===`outside`;u.start(0,()=>{let e=i.select(`domReferenceElement`),t=kt(_t(e));(n||t!==e)&&(vt(o.current.floatingContext?.refs.floating.current,t)||vt(e,t)||a||Xt(n??t,i.context.triggerElements)||i.setOpen(!1,Et(wt,r)))})}}},[o,r,i,u]);return B.useMemo(()=>n?{reference:d,trigger:d}:{},[n,d])}var xc=class e{constructor(){this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new Dt,this.restTimeout=new Dt,this.handleCloseOptions=void 0}static create(){return new e}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose},Sc=new WeakMap;function Cc(e){if(!e.performedPointerEventsMutation)return;let t=e.pointerEventsScopeElement;t&&Sc.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty(`pointer-events`),e.pointerEventsReferenceElement?.style.removeProperty(`pointer-events`),e.pointerEventsFloatingElement?.style.removeProperty(`pointer-events`),Sc.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function wc(e,t){let{scopeElement:n,referenceElement:r,floatingElement:i}=t,a=Sc.get(n);a&&a!==e&&Cc(a),Cc(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=i,Sc.set(n,e),n.style.pointerEvents=`none`,r.style.pointerEvents=`auto`,i.style.pointerEvents=`auto`}function Tc(e){let t=e.context.dataRef.current,n=Re(()=>t.hoverInteractionState??xc.create()).current;return t.hoverInteractionState||=n,yt(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}function Ec(e,t={}){let{enabled:n=!0,closeDelay:r=0,nodeId:i}=t,a=`rootStore`in e?e.rootStore:e,o=a.useState(`open`),s=a.useState(`floatingElement`),c=a.useState(`domReferenceElement`),{dataRef:l}=a.context,u=It(),d=qt(),f=Tc(a),p=At(),m=pt(()=>cc(l.current.openEvent?.type,f.interactedInside)),h=pt(()=>lc(l.current.openEvent?.type)),g=pt(()=>{Cc(f)});ft(()=>{o||(f.pointerType=void 0,f.restTimeoutPending=!1,f.interactedInside=!1,g())},[o,f,g]),B.useEffect(()=>g,[g]),ft(()=>{if(n&&o&&f.handleCloseOptions?.blockPointerEvents&&h()&&ht(c)&&s){let e=c,t=s,n=_t(s),r=u?.nodesRef.current.find(e=>e.id===d)?.context?.elements.floating;r&&(r.style.pointerEvents=``);let i=f.pointerEventsScopeElement===t?null:f.pointerEventsScopeElement,a=r===t?null:r,o=f.handleCloseOptions?.getScope?.()??i??a??e.closest(`[data-rootownerid]`)??n.body;return wc(f,{scopeElement:o,referenceElement:e,floatingElement:t}),()=>{g()}}},[n,o,c,s,f,h,u,d,g]),B.useEffect(()=>{if(!n)return;function e(){return!!(u&&d&&jt(u.nodesRef.current,d).length>0)}function t(e){let t=oc(r,`close`,f.pointerType),n=()=>{a.setOpen(!1,Et(St,e)),u?.events.emit(`floating.closed`,e)};t?f.openChangeTimeout.start(t,n):(f.openChangeTimeout.clear(),n())}function o(e){let t=gt(e);if(!en(t)){f.interactedInside=!1;return}f.interactedInside=t?.closest(`[aria-haspopup]`)!=null}function c(){f.openChangeTimeout.clear(),p.clear(),u?.events.off(`floating.closed`,v),g()}function _(n){if(e()&&u){u.events.on(`floating.closed`,v);return}if(Xt(n.relatedTarget,a.context.triggerElements))return;let r=l.current.floatingContext?.nodeId??i,o=n.relatedTarget;if(!(u&&r&&ht(o)&&jt(u.nodesRef.current,r,!1).some(e=>vt(e.context?.elements.floating,o)))){if(f.handler){f.handler(n);return}g(),h()&&!m()&&t(n)}}function v(t){u&&d&&!e()&&p.start(0,()=>{u.events.off(`floating.closed`,v),a.setOpen(!1,Et(St,t)),u.events.emit(`floating.closed`,t)})}let y=s;return Pt(y&&Pe(y,`mouseenter`,c),y&&Pe(y,`mouseleave`,_),y&&Pe(y,`pointerdown`,o,!0),()=>{u?.events.off(`floating.closed`,v)})},[n,s,a,l,r,i,h,m,g,f,u,d,p])}var Dc=n(Me(),1),Oc={current:null};function kc(e,t={}){let{enabled:n=!0,delay:r=0,handleClose:i=null,mouseOnly:a=!1,restMs:o=0,move:s=!0,triggerElementRef:c=Oc,externalTree:l,isActiveTrigger:u=!0,getHandleCloseContext:d,isClosing:f,shouldOpen:p,guardStaleOpen:m=!1}=t,h=`rootStore`in e?e.rootStore:e,{dataRef:g,events:_}=h.context,v=It(l),y=Tc(h),b=B.useRef(!1),x=Fe(i),S=Fe(r),C=Fe(o),w=Fe(n),T=Fe(p),E=Fe(f),D=pt(()=>cc(g.current.openEvent?.type,y.interactedInside)),O=pt(()=>T.current?.()!==!1),k=pt((e,t,n)=>{let r=h.context.triggerElements;if(r.hasElement(t))return!e||!vt(e,t);if(!ht(n))return!1;let i=n;return r.hasMatchingElement(e=>vt(e,i))&&(!e||!vt(e,i))}),ee=pt(()=>{y.handler&&=(_t(h.select(`domReferenceElement`)).removeEventListener(`mousemove`,y.handler),void 0)}),te=pt(()=>{Cc(y)});return u&&(y.handleCloseOptions=i?.__options),B.useEffect(()=>ee,[ee]),B.useEffect(()=>{if(!n)return;function e(e){e.open?b.current=!1:(b.current=e.reason===St,ee(),y.openChangeTimeout.clear(),y.restTimeout.clear(),y.blockMouseMove=!0,y.restTimeoutPending=!1)}return _.on(`openchange`,e),()=>{_.off(`openchange`,e)}},[n,_,y,ee]),B.useEffect(()=>{if(!n)return;function e(e,t=!0){let n=oc(S.current,`close`,y.pointerType);n?y.openChangeTimeout.start(n,()=>{h.setOpen(!1,Et(St,e)),v?.events.emit(`floating.closed`,e)}):t&&(y.openChangeTimeout.clear(),h.setOpen(!1,Et(St,e)),v?.events.emit(`floating.closed`,e))}let t=c.current??(u?h.select(`domReferenceElement`):null);if(!ht(t))return;function r(e){if(y.openChangeTimeout.clear(),y.blockMouseMove=!1,a&&!Vt(y.pointerType))return;let t=sc(C.current),n=oc(S.current,`open`,y.pointerType),r=gt(e),i=e.currentTarget??null,o=h.select(`domReferenceElement`),s=i;if(ht(r)&&!h.context.triggerElements.hasElement(r)){for(let e of h.context.triggerElements.elements())if(vt(e,r)){s=e;break}}ht(i)&&ht(o)&&!h.context.triggerElements.hasElement(i)&&vt(i,o)&&(s=o);let c=s!=null&&k(o,s,r),l=h.select(`open`),u=E.current?.()??h.select(`transitionStatus`)===`ending`,d=!l&&u&&b.current,f=!c&&ht(s)&&ht(o)&&vt(o,s)&&d,p=t>0&&!n,m=c&&(l||d)||f,g=!l||c;if(m){O()&&h.setOpen(!0,Et(St,e,s));return}p||(n?y.openChangeTimeout.start(n,()=>{g&&O()&&h.setOpen(!0,Et(St,e,s))}):g&&O()&&h.setOpen(!0,Et(St,e,s)))}function i(t){if(D()){te();return}ee();let n=h.select(`domReferenceElement`),r=_t(n);y.restTimeout.clear(),y.restTimeoutPending=!1;let i=g.current.floatingContext??d?.();if(!Xt(t.relatedTarget,h.context.triggerElements)){if(x.current&&i){h.select(`open`)||y.openChangeTimeout.clear();let n=c.current;y.handler=x.current({...i,tree:v,x:t.clientX,y:t.clientY,onClose(){te(),ee(),w.current&&!D()&&n===h.select(`domReferenceElement`)&&e(t,!0)}}),r.addEventListener(`mousemove`,y.handler),y.handler(t);return}(y.pointerType!==`touch`||!vt(h.select(`floatingElement`),t.relatedTarget))&&e(t)}}function o(e){vt(t,e.relatedTarget)||(y.openChangeTimeout.clear(),y.restTimeout.clear(),y.restTimeoutPending=!1)}let l=m?Pe(t,`mouseout`,o):void 0;return s?Pt(Pe(t,`mousemove`,r,{once:!0}),Pe(t,`mouseenter`,r),Pe(t,`mouseleave`,i),l):Pt(Pe(t,`mouseenter`,r),Pe(t,`mouseleave`,i),l)},[ee,te,g,S,h,n,x,y,u,k,D,a,s,C,c,v,w,d,E,O,m]),B.useMemo(()=>{if(!n)return;function e(e){y.pointerType=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e,n=e.currentTarget,r=h.select(`domReferenceElement`),i=h.select(`open`),o=k(r,n,e.target);if(a&&!Vt(y.pointerType))return;if(i&&o&&y.handleCloseOptions?.blockPointerEvents){let e=h.select(`floatingElement`);if(e){let t=y.handleCloseOptions?.getScope?.()??n.ownerDocument.body;wc(y,{scopeElement:t,referenceElement:n,floatingElement:e})}}let s=sc(C.current);if(i&&!o||s===0||!o&&y.restTimeoutPending&&e.movementX**2+e.movementY**2<2)return;y.restTimeout.clear();function c(){if(y.restTimeoutPending=!1,D())return;let e=h.select(`open`);!y.blockMouseMove&&(!e||o)&&O()&&h.setOpen(!0,Et(St,t,n))}y.pointerType===`touch`?Dc.flushSync(()=>{c()}):o&&i?c():(y.restTimeoutPending=!0,y.restTimeout.start(s,c))}}},[n,y,D,k,a,h,C,O])}var Ac=.1,jc=Ac*Ac,Mc=.5;function Nc(e,t,n,r,i,a){return r>=t!=a>=t&&e<=(i-n)*(t-r)/(a-r)+n}function Pc(e,t,n,r,i,a,o,s,c,l){let u=!1;return Nc(e,t,n,r,i,a)&&(u=!u),Nc(e,t,i,a,o,s)&&(u=!u),Nc(e,t,o,s,c,l)&&(u=!u),Nc(e,t,c,l,n,r)&&(u=!u),u}function Fc(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}function Ic(e,t,n,r,i,a){return e>=Math.min(n,i)&&e<=Math.max(n,i)&&t>=Math.min(r,a)&&t<=Math.max(r,a)}function Lc(e={}){let{blockPointerEvents:t=!1}=e,n=new Dt,r=({x:e,y:t,placement:r,elements:i,onClose:a,nodeId:o,tree:s})=>{let c=r?.split(`-`)[0],l=!1,u=null,d=null,f=typeof performance<`u`?performance.now():0;function p(e,t){let n=performance.now(),r=n-f;if(u===null||d===null||r===0)return u=e,d=t,f=n,!1;let i=e-u,a=t-d,o=i*i+a*a,s=r*r*jc;return u=e,d=t,f=n,o0)}function b(){y()||m()}if(y())return;let x=a.getBoundingClientRect(),S=u.getBoundingClientRect(),C=e>S.right-S.width/2,w=t>S.bottom-S.height/2,T=S.width>x.width,E=S.height>x.height,D=(T?x:S).left,O=(T?x:S).right,k=(E?x:S).top,ee=(E?x:S).bottom;if(c===`top`&&t>=x.bottom-1||c===`bottom`&&t<=x.top+1||c===`left`&&e>=x.right-1||c===`right`&&e<=x.left+1){b();return}let te=!1;switch(c){case`top`:te=Ic(d,f,D,x.top+1,O,S.bottom-1);break;case`bottom`:te=Ic(d,f,D,S.top+1,O,x.bottom-1);break;case`left`:te=Ic(d,f,S.right-1,ee,x.left+1,k);break;case`right`:te=Ic(d,f,x.right-1,ee,S.left+1,k)}if(te)return;if(l&&!Fc(d,f,x)){b();return}if(!g&&p(d,f)){b();return}let ne=!1;switch(c){case`top`:{let n=T?Mc/2:Mc*4,r=T||C?e+n:e-n,i=T?e-n:C?e+n:e-n,a=t+Mc+1,o=C||T?S.bottom-Mc:S.top,s=C?T?S.bottom-Mc:S.top:S.bottom-Mc;ne=Pc(d,f,r,a,i,a,S.left,o,S.right,s);break}case`bottom`:{let n=T?Mc/2:Mc*4,r=T||C?e+n:e-n,i=T?e-n:C?e+n:e-n,a=t-Mc,o=C||T?S.top+Mc:S.bottom,s=C?T?S.top+Mc:S.bottom:S.top+Mc;ne=Pc(d,f,r,a,i,a,S.left,o,S.right,s);break}case`left`:{let n=E?Mc/2:Mc*4,r=E||w?t+n:t-n,i=E?t-n:w?t+n:t-n,a=e+Mc+1,o=w||E?S.right-Mc:S.left,s=w?E?S.right-Mc:S.left:S.right-Mc;ne=Pc(d,f,o,S.top,s,S.bottom,a,r,a,i);break}case`right`:{let n=E?Mc/2:Mc*4,r=E||w?t+n:t-n,i=E?t-n:w?t+n:t-n,a=e-Mc,o=w||E?S.left+Mc:S.right,s=w?E?S.left+Mc:S.right:S.left+Mc;ne=Pc(d,f,a,r,a,i,o,S.top,s,S.bottom);break}}ne?l||n.start(40,b):b()}};return r.__options={...e,blockPointerEvents:t},r}var Rc=Mt(function(e){return gn(`dialog`,e)});function zc(e){let t=(0,U.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(Rc,{"data-slot":`sheet`,...n}),t[2]=n,t[3]=r),r}function Bc(e){let t=(0,U.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(vn,{"data-slot":`sheet-portal`,...n}),t[2]=n,t[3]=r),r}function Vc(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`data-closed:fade-out-0 data-open:fade-in-0 data-closed:animate-out data-open:animate-in fixed inset-0 z-50 bg-black/80 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(hn,{className:i,"data-slot":`sheet-overlay`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Hc(e){let t=(0,U.c)(17),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:r,children:n,side:a,showCloseButton:o,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=a===void 0?`right`:a,c=o===void 0||o,l;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,V.jsx)(Vc,{}),t[6]=l):l=t[6];let u;t[7]===r?u=t[8]:(u=P(`data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 data-closed:animate-out data-open:animate-in fixed z-50 flex flex-col bg-background bg-clip-padding text-xs/relaxed shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm`,r),t[7]=r,t[8]=u);let d;t[9]===c?d=t[10]:(d=c&&(0,V.jsxs)(pn,{"data-slot":`sheet-close`,render:(0,V.jsx)(mt,{className:`absolute top-4 right-4`,size:`icon-sm`,variant:`ghost`}),children:[(0,V.jsx)(st,{}),(0,V.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),t[9]=c,t[10]=d);let f;return t[11]!==n||t[12]!==i||t[13]!==s||t[14]!==u||t[15]!==d?(f=(0,V.jsxs)(Bc,{children:[l,(0,V.jsxs)(mn,{className:u,"data-side":s,"data-slot":`sheet-content`,...i,children:[n,d]})]}),t[11]=n,t[12]=i,t[13]=s,t[14]=u,t[15]=d,t[16]=f):f=t[16],f}function Uc(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex flex-col gap-1.5 p-6`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{className:i,"data-slot":`sheet-header`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Wc(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`text-sm font-medium text-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(bn,{className:i,"data-slot":`sheet-title`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Gc(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`text-xs/relaxed text-muted-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(yn,{className:i,"data-slot":`sheet-description`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Kc=B.createContext(void 0);function qc(e){let t=B.useContext(Kc);if(t===void 0&&!e)throw Error(He(72));return t}var Jc={..._n,disabled:e=>e.disabled,instantType:e=>e.instantType,isInstantPhase:e=>e.isInstantPhase,trackCursorAxis:e=>e.trackCursorAxis,disableHoverablePopup:e=>e.disableHoverablePopup,lastOpenChangeReason:e=>e.openChangeReason,closeOnClick:e=>e.closeOnClick,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},Yc=class extends Nt{constructor(e,t,n){let r=new Qt;super(Xc(e,r,t,n),Zc(r),Jc)}setOpen=(e,t)=>{Gt(this,e,t,{extraState:{openChangeReason:t.reason}})};cancelPendingOpen(e){this.state.floatingRootContext.dispatchOpenChange(!1,Et(xt,e))}};function Xc(e,t,n,r=!1){return{...fn(t,n,r),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:`none`,disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e}}function Zc(e){return{popupRef:B.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}var Qc=Mt(function(e){let{disabled:t=!1,defaultOpen:n=!1,open:r,disableHoverablePopup:i=!1,trackCursorAxis:a=`none`,actionsRef:o,onOpenChange:s,onOpenChangeComplete:c,handle:l,triggerId:u,defaultTriggerId:d=null,children:f}=e,p=zt((e,t)=>new Yc({open:n,openProp:r,activeTriggerId:d,triggerIdProp:u},e,t));p.useControlledProp(`openProp`,r),p.useControlledProp(`triggerIdProp`,u),p.useContextCallback(`onOpenChange`,s),p.useContextCallback(`onOpenChangeComplete`,c);let m=p.useState(`open`),h=!t&&m,g=p.useState(`activeTriggerId`),_=p.useState(`mounted`),v=p.useState(`payload`);p.useSyncedValues({trackCursorAxis:a,disableHoverablePopup:i,disabled:t}),on(p,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:y,transitionStatus:b}=Ut(h,p),x=p.useState(`isInstantPhase`),S=p.useState(`instantType`),C=p.useState(`lastOpenChangeReason`),w=B.useRef(null);ft(()=>{m&&t&&p.setOpen(!1,Et(Ct))},[m,t,p]),ft(()=>{b===`ending`&&C===`none`||b!==`ending`&&x?(S!==`delay`&&(w.current=S),p.set(`instantType`,`delay`)):w.current!==null&&(p.set(`instantType`,w.current),w.current=null)},[b,x,C,S,p]),ft(()=>{h&&(g??p.set(`payload`,void 0))},[p,g,h]),B.useImperativeHandle(o,()=>({unmount:y,close:()=>p.setOpen(!1,Et(Tt))}),[y,p]);let T=h||_||!t&&a!==`none`;return(0,V.jsxs)(Kc.Provider,{value:p,children:[l&&(0,V.jsx)(Kt,{handle:l,store:p}),T&&(0,V.jsx)($c,{store:p,disabled:t,trackCursorAxis:a}),typeof f==`function`?f({payload:v}):f]})});function $c({store:e,disabled:t,trackCursorAxis:n}){let r=e.useState(`floatingRootContext`),i=Jt(r,{enabled:!t,referencePress:()=>e.select(`closeOnClick`)}),a=gc(r,{enabled:!t&&n!==`none`,axis:n===`none`?void 0:n}),o=B.useMemo(()=>Le(a.reference,i.reference),[a.reference,i.reference]);return an(e,{activeTriggerProps:o,inactiveTriggerProps:o,popupProps:i.floating??Ie}),null}var el=B.createContext(void 0);function tl(){return B.useContext(el)}var nl=`data-base-ui-tooltip-trigger`;function rl(e){if(`composedPath`in e){let t=e.composedPath();for(let e=0;em.select(`transitionStatus`)===`ending`,shouldOpen(){return!ie.current}}),de=bc(v,{enabled:!ee}).reference,fe=e=>{let t=ie.current,n=rl(e),r=le(n),i=y.current,a=i&&n&&vt(i,n);if(r&&m.select(`open`)&&m.select(`lastOpenChangeReason`)===`trigger-hover`){m.setOpen(!1,Et(St,e));return}if(t&&!r&&a&&!te.current&&!m.select(`open`)&&i&&Vt(oe.current)){let t=()=>{!ie.current&&!te.current&&!m.select(`open`)&&m.setOpen(!0,Et(St,e,i))},n=se();n===0?(ae.clear(),t()):ae.start(n,t)}},pe=m.useState(`triggerProps`,S);return ze(`button`,e,{state:{open:_},ref:[t,x,y],props:[ue,de,S||ne!==`none`?pe:void 0,{onMouseOver(e){fe(e.nativeEvent)},onFocus(e){ce(rl(e.nativeEvent))&&e.preventBaseUIHandler()},onMouseLeave(){ie.current=!1,ae.clear(),oe.current=void 0},onPointerEnter(e){oe.current=e.pointerType},onPointerDown(e){oe.current=e.pointerType,m.set(`closeOnClick`,l),l&&!m.select(`open`)&&m.cancelPendingOpen(e.nativeEvent)},onClick(e){l&&!m.select(`open`)&&m.cancelPendingOpen(e.nativeEvent)},id:h,[Zt]:ee?``:void 0,[nl]:ee?void 0:``},f],stateAttributesMapping:tn})}),ol=B.createContext(void 0);function sl(){let e=B.useContext(ol);if(e===void 0)throw Error(He(70));return e}var cl=B.forwardRef(function(e,t){let{children:n,container:r,className:i,render:a,style:o,...s}=e,{node:c,subtree:l}=Rt({container:r,ref:t,componentProps:e,elementProps:s});return!l&&!c?null:(0,V.jsxs)(B.Fragment,{children:[l,c&&Dc.createPortal(n,c)]})}),ll=B.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return qc().useState(`mounted`)||n?(0,V.jsx)(ol.Provider,{value:n,children:(0,V.jsx)(cl,{ref:t,...r})}):null}),ul=B.createContext(void 0);function dl(){let e=B.useContext(ul);if(e===void 0)throw Error(He(71));return e}var fl=B.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a=`absolute`,side:o=`top`,align:s=`center`,sideOffset:c=0,alignOffset:l=0,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:m=!1,collisionAvoidance:h=Ft,style:g,..._}=e,v=qc(),y=sl(),b=v.useState(`open`),x=v.useState(`mounted`),S=v.useState(`trackCursorAxis`),C=v.useState(`disableHoverablePopup`),w=v.useState(`floatingRootContext`),T=v.useState(`instantType`),E=v.useState(`transitionStatus`),D=v.useState(`adaptiveOrigin`),O=ln({anchor:i,positionMethod:a,floatingRootContext:w,mounted:x,side:o,sideOffset:c,align:s,alignOffset:l,collisionBoundary:u,collisionPadding:d,sticky:p,arrowPadding:f,disableAnchorTracking:m,keepMounted:y,collisionAvoidance:h,adaptiveOrigin:D}),k=B.useMemo(()=>({open:b,side:O.side,align:O.align,anchorHidden:O.anchorHidden,instant:S===`none`?T:`tracking-cursor`}),[b,O.side,O.align,O.anchorHidden,S,T]),ee=un(e,k,{styles:O.positionerStyles,transitionStatus:E,props:_,refs:[t,v.useStateSetter(`positionerElement`)],hidden:!x,inert:!b||S===`both`||C});return(0,V.jsx)(ul.Provider,{value:O,children:ee})}),pl=B.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=qc(),{side:s,align:c}=dl(),l=o.useState(`open`),u=o.useState(`instantType`),d=o.useState(`transitionStatus`),f=o.useState(`popupProps`),p=o.useState(`floatingRootContext`),m=o.useState(`disabled`),h=o.useState(`closeDelay`);Ne({open:l,ref:o.context.popupRef,onComplete(){l&&o.context.onOpenChangeComplete?.(!0)}}),Ec(p,{enabled:!m,closeDelay:h});let g=o.useStateSetter(`popupElement`);return ze(`div`,e,{state:{open:l,side:s,align:c,instant:u,transitionStatus:d},ref:[t,o.context.popupRef,g],props:[Yt,f,cn(d),a],stateAttributesMapping:Wt})}),ml=B.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=qc(),{arrowRef:s,side:c,align:l,arrowUncentered:u,arrowStyles:d}=dl(),f={open:o.useState(`open`),side:c,align:l,uncentered:u,instant:o.useState(`instantType`)};return ze(`div`,e,{state:f,ref:[t,s],props:[{style:d,"aria-hidden":!0},a],stateAttributesMapping:$t})}),hl=function(e){let{delay:t,closeDelay:n,timeout:r=400}=e,i=B.useMemo(()=>({open:t,close:n}),[t,n]);return(0,V.jsx)(el.Provider,{value:t,children:(0,V.jsx)(fc,{delay:i,timeoutMs:r,children:e.children})})};function gl(e){let t=(0,U.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({delay:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?0:r,a;return t[3]!==i||t[4]!==n?(a=(0,V.jsx)(hl,{"data-slot":`tooltip-provider`,delay:i,...n}),t[3]=i,t[4]=n,t[5]=a):a=t[5],a}function _l(e){let t=(0,U.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(gl,{children:(0,V.jsx)(Qc,{"data-slot":`tooltip`,...n})}),t[2]=n,t[3]=r),r}function vl(e){let t=(0,U.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,V.jsx)(al,{"data-slot":`tooltip-trigger`,...n}),t[2]=n,t[3]=r),r}function yl(e){let t=(0,U.c)(21),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:r,side:a,sideOffset:o,align:s,alignOffset:c,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=a===void 0?`top`:a,u=o===void 0?4:o,d=s===void 0?`center`:s,f=c===void 0?0:c,p;t[8]===r?p=t[9]:(p=P(`data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:animate-in data-closed:animate-out data-open:animate-in z-50 w-fit max-w-xs origin-(--transform-origin) rounded-md bg-foreground px-3 py-1.5 text-xs text-background **:data-[slot=kbd]:rounded-md`,r),t[8]=r,t[9]=p);let m;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,V.jsx)(ml,{className:`z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5`}),t[10]=m):m=t[10];let h;t[11]!==n||t[12]!==i||t[13]!==p?(h=(0,V.jsxs)(pl,{className:p,"data-slot":`tooltip-content`,...i,children:[n,m]}),t[11]=n,t[12]=i,t[13]=p,t[14]=h):h=t[14];let g;return t[15]!==d||t[16]!==f||t[17]!==l||t[18]!==u||t[19]!==h?(g=(0,V.jsx)(ll,{children:(0,V.jsx)(fl,{align:d,alignOffset:f,className:`isolate z-50`,side:l,sideOffset:u,children:h})}),t[15]=d,t[16]=f,t[17]=l,t[18]=u,t[19]=h,t[20]=g):g=t[20],g}var bl=window.matchMedia(`(max-width: 767px)`);function xl(e){return bl.addEventListener(`change`,e),()=>{bl.removeEventListener(`change`,e)}}function Sl(){return bl.matches}function Cl(){return(0,B.useSyncExternalStore)(xl,Sl)}var wl=`sidebar_state`,Tl=604800,El=`12rem`,Dl=`16rem`,Ol=`3rem`,kl=`b`,Al=B.createContext(null);function jl(){let e=B.useContext(Al);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e}function Ml(e){let t=(0,U.c)(36),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({defaultOpen:c,open:i,onOpenChange:o,className:r,style:s,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=c===void 0||c,u=Cl(),[d,f]=B.useState(!1),[p,m]=B.useState(l),h=i??p,g;t[8]!==h||t[9]!==o?(g=e=>{let t=typeof e==`function`?e(h):e;o?o(t):m(t),document.cookie=`${wl}=${t}; path=/; max-age=${Tl}`},t[8]=h,t[9]=o,t[10]=g):g=t[10];let _=g,v;t[11]!==u||t[12]!==_?(v=()=>{u?f(Pl):_(Nl)},t[11]=u,t[12]=_,t[13]=v):v=t[13];let y=v,b,x;t[14]===y?(b=t[15],x=t[16]):(b=()=>{let e=e=>{e.key===kl&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),y())};return window.addEventListener(`keydown`,e),()=>{window.removeEventListener(`keydown`,e)}},x=[y],t[14]=y,t[15]=b,t[16]=x),B.useEffect(b,x);let S=h?`expanded`:`collapsed`,C;t[17]!==u||t[18]!==h||t[19]!==d||t[20]!==_||t[21]!==S||t[22]!==y?(C={state:S,open:h,setOpen:_,isMobile:u,openMobile:d,setOpenMobile:f,toggleSidebar:y},t[17]=u,t[18]=h,t[19]=d,t[20]=_,t[21]=S,t[22]=y,t[23]=C):C=t[23];let w=C,T;t[24]===s?T=t[25]:(T={"--sidebar-width":El,"--sidebar-width-icon":Ol,...s},t[24]=s,t[25]=T);let E=T,D;t[26]===r?D=t[27]:(D=P(`group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar`,r),t[26]=r,t[27]=D);let O;t[28]!==n||t[29]!==a||t[30]!==D||t[31]!==E?(O=(0,V.jsx)(`div`,{className:D,"data-slot":`sidebar-wrapper`,style:E,...a,children:n}),t[28]=n,t[29]=a,t[30]=D,t[31]=E,t[32]=O):O=t[32];let k;return t[33]!==w||t[34]!==O?(k=(0,V.jsx)(Al.Provider,{value:w,children:O}),t[33]=w,t[34]=O,t[35]=k):k=t[35],k}function Nl(e){return!e}function Pl(e){return!e}function Fl(e){let t=(0,U.c)(46),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({side:a,variant:o,collapsible:s,className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=a===void 0?`left`:a,l=o===void 0?`sidebar`:o,u=s===void 0?`offExamples`:s,{isMobile:d,state:f,openMobile:p,setOpenMobile:m}=jl();if(u===`none`){let e;t[7]===r?e=t[8]:(e=P(`flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground`,r),t[7]=r,t[8]=e);let a;return t[9]!==n||t[10]!==i||t[11]!==e?(a=(0,V.jsx)(`div`,{className:e,"data-slot":`sidebar`,...i,children:n}),t[9]=n,t[10]=i,t[11]=e,t[12]=a):a=t[12],a}if(d){let e;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(e={"--sidebar-width":Dl},t[13]=e):e=t[13];let r=e,a;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,V.jsxs)(Uc,{className:`sr-only`,children:[(0,V.jsx)(Wc,{children:`Sidebar`}),(0,V.jsx)(Gc,{children:`Displays the mobile sidebar.`})]}),t[14]=a):a=t[14];let o;t[15]===n?o=t[16]:(o=(0,V.jsx)(`div`,{className:`flex h-full w-full flex-col`,children:n}),t[15]=n,t[16]=o);let s;t[17]!==c||t[18]!==o?(s=(0,V.jsxs)(Hc,{className:`w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden`,"data-mobile":`true`,"data-sidebar":`sidebar`,"data-slot":`sidebar`,side:c,style:r,children:[a,o]}),t[17]=c,t[18]=o,t[19]=s):s=t[19];let l;return t[20]!==p||t[21]!==i||t[22]!==m||t[23]!==s?(l=(0,V.jsx)(zc,{onOpenChange:m,open:p,...i,children:s}),t[20]=p,t[21]=i,t[22]=m,t[23]=s,t[24]=l):l=t[24],l}let h=f===`collapsed`?u:``,g=l===`floating`||l===`inset`?`group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon)`,_;t[25]===g?_=t[26]:(_=P(`relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear`,`group-data-[collapsible=offExamples]:w-0`,`group-data-[side=right]:rotate-180`,g),t[25]=g,t[26]=_);let v;t[27]===_?v=t[28]:(v=(0,V.jsx)(`div`,{className:_,"data-slot":`sidebar-gap`}),t[27]=_,t[28]=v);let y=c===`left`?`left-0 group-data-[collapsible=offExamples]:left-[calc(var(--sidebar-width)*-1)]`:`right-0 group-data-[collapsible=offExamples]:right-[calc(var(--sidebar-width)*-1)]`,b=l===`floating`||l===`inset`?`p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l`,x;t[29]!==r||t[30]!==y||t[31]!==b?(x=P(`fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex`,y,b,r),t[29]=r,t[30]=y,t[31]=b,t[32]=x):x=t[32];let S;t[33]===n?S=t[34]:(S=(0,V.jsx)(`div`,{className:`flex size-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border`,"data-sidebar":`sidebar`,"data-slot":`sidebar-inner`,children:n}),t[33]=n,t[34]=S);let C;t[35]!==i||t[36]!==x||t[37]!==S?(C=(0,V.jsx)(`div`,{className:x,"data-slot":`sidebar-container`,...i,children:S}),t[35]=i,t[36]=x,t[37]=S,t[38]=C):C=t[38];let w;return t[39]!==c||t[40]!==f||t[41]!==C||t[42]!==h||t[43]!==v||t[44]!==l?(w=(0,V.jsxs)(`div`,{className:`group peer hidden text-sidebar-foreground md:block`,"data-collapsible":h,"data-side":c,"data-slot":`sidebar`,"data-state":f,"data-variant":l,children:[v,C]}),t[39]=c,t[40]=f,t[41]=C,t[42]=h,t[43]=v,t[44]=l,t[45]=w):w=t[45],w}function Il(e){let t=(0,U.c)(15),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,onClick:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let{toggleSidebar:a}=jl(),o;t[4]===n?o=t[5]:(o=P(n),t[4]=n,t[5]=o);let s;t[6]!==r||t[7]!==a?(s=e=>{r?.(e),a()},t[6]=r,t[7]=a,t[8]=s):s=t[8];let c,l;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,V.jsx)(Ks,{}),l=(0,V.jsx)(`span`,{className:`sr-only`,children:`Toggle Sidebar`}),t[9]=c,t[10]=l):(c=t[9],l=t[10]);let u;return t[11]!==i||t[12]!==o||t[13]!==s?(u=(0,V.jsxs)(mt,{className:o,"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,onClick:s,size:`icon-lg`,variant:`ghost`,...i,children:[c,l]}),t[11]=i,t[12]=o,t[13]=s,t[14]=u):u=t[14],u}function Ll(e){let t=(0,U.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let{toggleSidebar:i}=jl(),a;t[3]===n?a=t[4]:(a=P(`absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex`,`in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize`,`[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize`,`group-data-[collapsible=offExamples]:translate-x-0 group-data-[collapsible=offExamples]:after:left-full hover:group-data-[collapsible=offExamples]:bg-sidebar`,`[[data-side=left][data-collapsible=offExamples]_&]:-right-2`,`[[data-side=right][data-collapsible=offExamples]_&]:-left-2`,n),t[3]=n,t[4]=a);let o;return t[5]!==r||t[6]!==a||t[7]!==i?(o=(0,V.jsx)(`button`,{"aria-label":`Toggle Sidebar`,className:a,"data-sidebar":`rail`,"data-slot":`sidebar-rail`,onClick:i,tabIndex:-1,title:`Toggle Sidebar`,type:`button`,...r}),t[5]=r,t[6]=a,t[7]=i,t[8]=o):o=t[8],o}function Rl(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex flex-col gap-2 p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{className:i,"data-sidebar":`header`,"data-slot":`sidebar-header`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function zl(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex flex-col gap-2 p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{className:i,"data-sidebar":`footer`,"data-slot":`sidebar-footer`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Bl(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`mx-2 w-auto bg-sidebar-border`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(dn,{className:i,"data-sidebar":`separator`,"data-slot":`sidebar-separator`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Vl(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-x-hidden overflow-y-auto`,`group-data-[collapsible=icon]:[scrollbar-width:none] group-data-[collapsible=icon]:[&::-webkit-scrollbar]:hidden`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{className:i,"data-sidebar":`content`,"data-slot":`sidebar-content`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Hl(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`relative flex w-full min-w-0 flex-col px-2 py-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`div`,{className:i,"data-sidebar":`group`,"data-slot":`sidebar-group`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ul(e){let t=(0,U.c)(10),n,r,i,a;if(t[0]!==e){let{className:o,render:s,...c}=e;n=s,a=Ue,r=`div`,i=Le({className:P(`flex h-8 shrink-0 items-center rounded-md px-2 text-xs text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0`,o)},c),t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a}else n=t[1],r=t[2],i=t[3],a=t[4];let o;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(o={slot:`sidebar-group-label`,sidebar:`group-label`},t[5]=o):o=t[5];let s;return t[6]!==n||t[7]!==r||t[8]!==i?(s={defaultTagName:r,props:i,render:n,state:o},t[6]=n,t[7]=r,t[8]=i,t[9]=s):s=t[9],a(s)}function Wl(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex w-full min-w-0 flex-col gap-px`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`ul`,{className:i,"data-sidebar":`menu`,"data-slot":`sidebar-menu`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function W(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`group/menu-item relative`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`li`,{className:i,"data-sidebar":`menu-item`,"data-slot":`sidebar-menu-item`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Gl=Ve(`peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-[calc(var(--radius-sm)+2px)] p-2 text-left text-xs ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate`,{variants:{variant:{default:`hover:bg-sidebar-accent hover:text-sidebar-accent-foreground`,outline:`bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]`},size:{default:`h-8 text-xs`,sm:`h-7 text-xs`,lg:`h-12 text-xs group-data-[collapsible=icon]:p-0!`}},defaultVariants:{variant:`default`,size:`default`}});function G(e){let t=(0,U.c)(18),{render:n,isActive:r,variant:i,size:a,tooltip:o,className:s,...c}=e,l=r!==void 0&&r,u=i===void 0?`default`:i,d=a===void 0?`default`:a,{isMobile:f,state:p}=jl(),m=Le({className:P(Gl({variant:u,size:d}),s)},c),h;t[0]!==n||t[1]!==o?(h=o?(0,V.jsx)(vl,{}):n,t[0]=n,t[1]=o,t[2]=h):h=t[2];let g;t[3]!==l||t[4]!==d?(g={slot:`sidebar-menu-button`,sidebar:`menu-button`,size:d,active:l},t[3]=l,t[4]=d,t[5]=g):g=t[5];let _;t[6]!==m||t[7]!==h||t[8]!==g?(_={defaultTagName:`button`,props:m,render:h,state:g},t[6]=m,t[7]=h,t[8]=g,t[9]=_):_=t[9];let v=Ue(_);if(!o)return v;let y;t[10]===o?y=t[11]:(y=typeof o==`string`?{children:o}:o,t[10]=o,t[11]=y);let b=y,x=p!==`collapsed`||f,S;t[12]!==x||t[13]!==b?(S=(0,V.jsx)(yl,{align:`center`,hidden:x,side:`right`,...b}),t[12]=x,t[13]=b,t[14]=S):S=t[14];let C;return t[15]!==v||t[16]!==S?(C=(0,V.jsxs)(_l,{children:[v,S]}),t[15]=v,t[16]=S,t[17]=C):C=t[17],C}var Kl=new Set([`InvalidClientTokenId`,`AuthFailure`,`MissingAuthenticationToken`,`UnrecognizedClientException`,`ExpiredToken`,`ExpiredTokenException`,`InvalidAccessKeyId`]);function ql(e){return typeof e==`object`&&!!e&&`name`in e&&typeof e.name==`string`}function Jl(e){return ql(e)&&Kl.has(e.name)}var Yl=!1;function Xl(e,t){!Yl&&Jl(e)&&(Yl=!0,Ge(),xn(),t.clear(),window.location.pathname!==`/login`&&(window.location.href=`/login?reason=expired`))}function Zl(){let e=new Zr({queryCache:new Xr({onError:t=>{Xl(t,e)}}),mutationCache:new Jr({onError:t=>{Xl(t,e)}}),defaultOptions:{queries:{staleTime:5e3,refetchIntervalInBackground:!1}}});return e}function Ql(){let e=(0,U.c)(8),{theme:t,setTheme:n}=is(),r;e[0]!==n||e[1]!==t?(r=()=>{n(t===`light`?`dark`:t===`dark`?`light`:`dark`)},e[0]=n,e[1]=t,e[2]=r):r=e[2];let i=r,a,o,s;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,V.jsx)(Qs,{className:`size-[1.2rem] scale-100 rotate-0 transition-transform dark:scale-0 dark:-rotate-90`}),o=(0,V.jsx)(Hs,{className:`absolute size-[1.2rem] scale-0 rotate-90 transition-transform dark:scale-100 dark:rotate-0`}),s=(0,V.jsx)(`span`,{className:`sr-only`,children:`Toggle theme`}),e[3]=a,e[4]=o,e[5]=s):(a=e[3],o=e[4],s=e[5]);let c;return e[6]===i?c=e[7]:(c=(0,V.jsxs)(mt,{className:`rounded-full transition-none hover:bg-transparent dark:hover:bg-transparent`,onClick:i,size:`icon-sm`,variant:`ghost`,children:[a,o,s]}),e[6]=i,e[7]=c),c}function $l(){let e=(0,U.c)(7),{isAdmin:t,license:n}=Sn(),r=t&&n===`open-source`,i,a;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=P(`z-50 flex h-10 shrink-0 items-center gap-2 border-b border-sidebar-border bg-sidebar px-4 text-sidebar-foreground`,`sticky top-0`),a=(0,V.jsx)(Il,{className:`-ml-1`}),e[0]=i,e[1]=a):(i=e[0],a=e[1]);let o;e[2]===r?o=e[3]:(o=r&&(0,V.jsx)(`a`,{href:`https://mulgadc.com/purchase`,target:`_blank`,rel:`noopener noreferrer`,className:P(dt({variant:`outline`,size:`sm`})),children:`Upgrade`}),e[2]=r,e[3]=o);let s;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,V.jsx)(Ql,{}),e[4]=s):s=e[4];let c;return e[5]===o?c=e[6]:(c=(0,V.jsxs)(`header`,{className:i,children:[a,(0,V.jsxs)(`div`,{className:`flex w-full items-center justify-end gap-2`,children:[o,s]})]}),e[5]=o,e[6]=c),c}function eu(){let e=(0,U.c)(3),t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,V.jsx)(`h1`,{className:`text-4xl font-bold`,children:`404`}),n=(0,V.jsx)(`p`,{className:`text-muted-foreground`,children:`Page not found`}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let r;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,V.jsxs)(`div`,{className:`flex flex-1 flex-col items-center justify-center gap-4`,children:[t,n,(0,V.jsx)(A,{to:`/`,children:(0,V.jsx)(mt,{variant:`outline`,children:`Go back home`})})]}),e[2]=r):r=e[2],r}function tu(){let e=(0,U.c)(259),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={select:nu},e[0]=t):t=e[0];let n=Wo(t),r=je(),i=a(),{isAdmin:o}=Sn(),s;e[1]!==r||e[2]!==i?(s=function(){Ge(),xn(),i.clear(),r({to:`/login`})},e[1]=r,e[2]=i,e[3]=s):s=e[3];let c=s,l;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,V.jsxs)(Rl,{className:`flex flex-row items-center gap-2 px-4 py-3`,children:[(0,V.jsx)(`img`,{src:`/mulga-logo.svg`,alt:`Mulga`,className:`size-6 shrink-0 dark:invert`}),(0,V.jsx)(`span`,{className:`truncate text-sm font-semibold group-data-[collapsible=icon]:hidden`,children:`Spinifex`})]}),e[4]=l):l=e[4];let u;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,V.jsx)(Ul,{children:`General`}),e[5]=u):u=e[5];let d=n===`/`,f,p;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,V.jsx)(ws,{className:`size-4`}),p=(0,V.jsx)(`span`,{children:`Dashboard`}),e[6]=f,e[7]=p):(f=e[6],p=e[7]);let m;e[8]===d?m=e[9]:(m=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/`,children:(0,V.jsxs)(G,{isActive:d,tooltip:`Dashboard`,children:[f,p]})})}),e[8]=d,e[9]=m);let h;e[10]!==o||e[11]!==n?(h=o&&(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/nodes`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/nodes`),tooltip:`Nodes`,children:[(0,V.jsx)($e,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Nodes`})]})})}),e[10]=o,e[11]=n,e[12]=h):h=e[12];let g;e[13]!==m||e[14]!==h?(g=(0,V.jsxs)(Hl,{children:[u,(0,V.jsxs)(Wl,{children:[m,h]})]}),e[13]=m,e[14]=h,e[15]=g):g=e[15];let _;e[16]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,V.jsx)(Ul,{children:`EC2`}),e[16]=_):_=e[16];let v;e[17]===n?v=e[18]:(v=n.startsWith(`/ec2/describe-instances`)||n.startsWith(`/ec2/run-instances`),e[17]=n,e[18]=v);let y,b;e[19]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,V.jsx)($e,{className:`size-4`}),b=(0,V.jsx)(`span`,{children:`Instances`}),e[19]=y,e[20]=b):(y=e[19],b=e[20]);let x;e[21]===v?x=e[22]:(x=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-instances`,children:(0,V.jsxs)(G,{isActive:v,tooltip:`Instances`,children:[y,b]})})}),e[21]=v,e[22]=x);let S;e[23]===n?S=e[24]:(S=n.startsWith(`/ec2/describe-launch-templates`)||n.startsWith(`/ec2/create-launch-template`),e[23]=n,e[24]=S);let C,w;e[25]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,V.jsx)(Ss,{className:`size-4`}),w=(0,V.jsx)(`span`,{children:`Launch Templates`}),e[25]=C,e[26]=w):(C=e[25],w=e[26]);let T;e[27]===S?T=e[28]:(T=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-launch-templates`,children:(0,V.jsxs)(G,{isActive:S,tooltip:`Launch Templates`,children:[C,w]})})}),e[27]=S,e[28]=T);let E;e[29]===n?E=e[30]:(E=n.startsWith(`/ec2/describe-images`),e[29]=n,e[30]=E);let D,O;e[31]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,V.jsx)(nt,{className:`size-4`}),O=(0,V.jsx)(`span`,{children:`Images`}),e[31]=D,e[32]=O):(D=e[31],O=e[32]);let k;e[33]===E?k=e[34]:(k=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-images`,children:(0,V.jsxs)(G,{isActive:E,tooltip:`Images`,children:[D,O]})})}),e[33]=E,e[34]=k);let ee;e[35]===n?ee=e[36]:(ee=n.startsWith(`/ec2/describe-key-pairs`),e[35]=n,e[36]=ee);let te,ne;e[37]===Symbol.for(`react.memo_cache_sentinel`)?(te=(0,V.jsx)(Ye,{className:`size-4`}),ne=(0,V.jsx)(`span`,{children:`Key Pairs`}),e[37]=te,e[38]=ne):(te=e[37],ne=e[38]);let re;e[39]===ee?re=e[40]:(re=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-key-pairs`,children:(0,V.jsxs)(G,{isActive:ee,tooltip:`Key Pairs`,children:[te,ne]})})}),e[39]=ee,e[40]=re);let ie;e[41]===n?ie=e[42]:(ie=n.startsWith(`/ec2/describe-addresses`)||n.startsWith(`/ec2/allocate-address`),e[41]=n,e[42]=ie);let ae,oe;e[43]===Symbol.for(`react.memo_cache_sentinel`)?(ae=(0,V.jsx)(Rs,{className:`size-4`}),oe=(0,V.jsx)(`span`,{children:`Elastic IPs`}),e[43]=ae,e[44]=oe):(ae=e[43],oe=e[44]);let se;e[45]===ie?se=e[46]:(se=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-addresses`,children:(0,V.jsxs)(G,{isActive:ie,tooltip:`Elastic IPs`,children:[ae,oe]})})}),e[45]=ie,e[46]=se);let ce;e[47]===n?ce=e[48]:(ce=n.startsWith(`/ec2/describe-volumes`)||n.startsWith(`/ec2/create-volume`)||n.startsWith(`/ec2/modify-volume`),e[47]=n,e[48]=ce);let le,ue;e[49]===Symbol.for(`react.memo_cache_sentinel`)?(le=(0,V.jsx)(Qe,{className:`size-4`}),ue=(0,V.jsx)(`span`,{children:`Volumes`}),e[49]=le,e[50]=ue):(le=e[49],ue=e[50]);let de;e[51]===ce?de=e[52]:(de=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-volumes`,children:(0,V.jsxs)(G,{isActive:ce,tooltip:`Volumes`,children:[le,ue]})})}),e[51]=ce,e[52]=de);let fe;e[53]===n?fe=e[54]:(fe=n.startsWith(`/ec2/describe-snapshots`)||n.startsWith(`/ec2/create-snapshot`),e[53]=n,e[54]=fe);let pe,me;e[55]===Symbol.for(`react.memo_cache_sentinel`)?(pe=(0,V.jsx)(Je,{className:`size-4`}),me=(0,V.jsx)(`span`,{children:`Snapshots`}),e[55]=pe,e[56]=me):(pe=e[55],me=e[56]);let he;e[57]===fe?he=e[58]:(he=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-snapshots`,children:(0,V.jsxs)(G,{isActive:fe,tooltip:`Snapshots`,children:[pe,me]})})}),e[57]=fe,e[58]=he);let ge;e[59]===n?ge=e[60]:(ge=n.startsWith(`/ec2/describe-placement-groups`)||n.startsWith(`/ec2/create-placement-group`),e[59]=n,e[60]=ge);let _e,j;e[61]===Symbol.for(`react.memo_cache_sentinel`)?(_e=(0,V.jsx)(As,{className:`size-4`}),j=(0,V.jsx)(`span`,{children:`Placement Groups`}),e[61]=_e,e[62]=j):(_e=e[61],j=e[62]);let M;e[63]===ge?M=e[64]:(M=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-placement-groups`,children:(0,V.jsxs)(G,{isActive:ge,tooltip:`Placement Groups`,children:[_e,j]})})}),e[63]=ge,e[64]=M);let ve;e[65]===n?ve=e[66]:(ve=n.startsWith(`/ec2/describe-load-balancers`)||n.startsWith(`/ec2/create-load-balancer`),e[65]=n,e[66]=ve);let ye,be;e[67]===Symbol.for(`react.memo_cache_sentinel`)?(ye=(0,V.jsx)(tt,{className:`size-4`}),be=(0,V.jsx)(`span`,{children:`Load Balancers`}),e[67]=ye,e[68]=be):(ye=e[67],be=e[68]);let xe;e[69]===ve?xe=e[70]:(xe=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-load-balancers`,children:(0,V.jsxs)(G,{isActive:ve,tooltip:`Load Balancers`,children:[ye,be]})})}),e[69]=ve,e[70]=xe);let Se;e[71]===n?Se=e[72]:(Se=n.startsWith(`/ec2/describe-target-groups`)||n.startsWith(`/ec2/create-target-group`),e[71]=n,e[72]=Se);let N,Ce;e[73]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,V.jsx)(vs,{className:`size-4`}),Ce=(0,V.jsx)(`span`,{children:`Target Groups`}),e[73]=N,e[74]=Ce):(N=e[73],Ce=e[74]);let we;e[75]===Se?we=e[76]:(we=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-target-groups`,children:(0,V.jsxs)(G,{isActive:Se,tooltip:`Target Groups`,children:[N,Ce]})})}),e[75]=Se,e[76]=we);let Te;e[77]!==x||e[78]!==T||e[79]!==k||e[80]!==re||e[81]!==se||e[82]!==de||e[83]!==he||e[84]!==M||e[85]!==xe||e[86]!==we?(Te=(0,V.jsxs)(Hl,{children:[_,(0,V.jsxs)(Wl,{children:[x,T,k,re,se,de,he,M,xe,we]})]}),e[77]=x,e[78]=T,e[79]=k,e[80]=re,e[81]=se,e[82]=de,e[83]=he,e[84]=M,e[85]=xe,e[86]=we,e[87]=Te):Te=e[87];let Ee;e[88]===Symbol.for(`react.memo_cache_sentinel`)?(Ee=(0,V.jsx)(Ul,{children:`Networking`}),e[88]=Ee):Ee=e[88];let De;e[89]===n?De=e[90]:(De=n.startsWith(`/ec2/describe-vpcs`)||n.startsWith(`/ec2/create-vpc`),e[89]=n,e[90]=De);let Oe,ke;e[91]===Symbol.for(`react.memo_cache_sentinel`)?(Oe=(0,V.jsx)(it,{className:`size-4`}),ke=(0,V.jsx)(`span`,{children:`VPCs`}),e[91]=Oe,e[92]=ke):(Oe=e[91],ke=e[92]);let Ae;e[93]===De?Ae=e[94]:(Ae=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-vpcs`,children:(0,V.jsxs)(G,{isActive:De,tooltip:`VPCs`,children:[Oe,ke]})})}),e[93]=De,e[94]=Ae);let Me;e[95]===n?Me=e[96]:(Me=n.startsWith(`/ec2/describe-subnets`)||n.startsWith(`/ec2/create-subnet`),e[95]=n,e[96]=Me);let Ne,Pe;e[97]===Symbol.for(`react.memo_cache_sentinel`)?(Ne=(0,V.jsx)(Ms,{className:`size-4`}),Pe=(0,V.jsx)(`span`,{children:`Subnets`}),e[97]=Ne,e[98]=Pe):(Ne=e[97],Pe=e[98]);let Fe;e[99]===Me?Fe=e[100]:(Fe=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-subnets`,children:(0,V.jsxs)(G,{isActive:Me,tooltip:`Subnets`,children:[Ne,Pe]})})}),e[99]=Me,e[100]=Fe);let Ie;e[101]===n?Ie=e[102]:(Ie=n.startsWith(`/ec2/describe-security-groups`)||n.startsWith(`/ec2/create-security-group`),e[101]=n,e[102]=Ie);let Le,Re;e[103]===Symbol.for(`react.memo_cache_sentinel`)?(Le=(0,V.jsx)(Xs,{className:`size-4`}),Re=(0,V.jsx)(`span`,{children:`Security Groups`}),e[103]=Le,e[104]=Re):(Le=e[103],Re=e[104]);let ze;e[105]===Ie?ze=e[106]:(ze=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-security-groups`,children:(0,V.jsxs)(G,{isActive:Ie,tooltip:`Security Groups`,children:[Le,Re]})})}),e[105]=Ie,e[106]=ze);let Be;e[107]===n?Be=e[108]:(Be=n.startsWith(`/ec2/describe-route-tables`)||n.startsWith(`/ec2/create-route-table`),e[107]=n,e[108]=Be);let Ve,He;e[109]===Symbol.for(`react.memo_cache_sentinel`)?(Ve=(0,V.jsx)(Js,{className:`size-4`}),He=(0,V.jsx)(`span`,{children:`Route Tables`}),e[109]=Ve,e[110]=He):(Ve=e[109],He=e[110]);let Ue;e[111]===Be?Ue=e[112]:(Ue=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-route-tables`,children:(0,V.jsxs)(G,{isActive:Be,tooltip:`Route Tables`,children:[Ve,He]})})}),e[111]=Be,e[112]=Ue);let P;e[113]===n?P=e[114]:(P=n.startsWith(`/ec2/describe-internet-gateways`),e[113]=n,e[114]=P);let Ke,qe;e[115]===Symbol.for(`react.memo_cache_sentinel`)?(Ke=(0,V.jsx)(et,{className:`size-4`}),qe=(0,V.jsx)(`span`,{children:`Internet Gateways`}),e[115]=Ke,e[116]=qe):(Ke=e[115],qe=e[116]);let F;e[117]===P?F=e[118]:(F=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-internet-gateways`,children:(0,V.jsxs)(G,{isActive:P,tooltip:`Internet Gateways`,children:[Ke,qe]})})}),e[117]=P,e[118]=F);let I;e[119]===n?I=e[120]:(I=n.startsWith(`/ec2/describe-nat-gateways`)||n.startsWith(`/ec2/create-nat-gateway`),e[119]=n,e[120]=I);let rt,ot;e[121]===Symbol.for(`react.memo_cache_sentinel`)?(rt=(0,V.jsx)(Xe,{className:`size-4`}),ot=(0,V.jsx)(`span`,{children:`NAT Gateways`}),e[121]=rt,e[122]=ot):(rt=e[121],ot=e[122]);let st;e[123]===I?st=e[124]:(st=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ec2/describe-nat-gateways`,children:(0,V.jsxs)(G,{isActive:I,tooltip:`NAT Gateways`,children:[rt,ot]})})}),e[123]=I,e[124]=st);let ct;e[125]!==Ae||e[126]!==Fe||e[127]!==ze||e[128]!==Ue||e[129]!==F||e[130]!==st?(ct=(0,V.jsxs)(Hl,{children:[Ee,(0,V.jsxs)(Wl,{children:[Ae,Fe,ze,Ue,F,st]})]}),e[125]=Ae,e[126]=Fe,e[127]=ze,e[128]=Ue,e[129]=F,e[130]=st,e[131]=ct):ct=e[131];let lt;e[132]===Symbol.for(`react.memo_cache_sentinel`)?(lt=(0,V.jsx)(Ul,{children:`Containers`}),e[132]=lt):lt=e[132];let ut;e[133]===n?ut=e[134]:(ut=n.startsWith(`/eks/list-clusters`)||n.startsWith(`/eks/create-cluster`),e[133]=n,e[134]=ut);let dt,ft;e[135]===Symbol.for(`react.memo_cache_sentinel`)?(dt=(0,V.jsx)(us,{className:`size-4`}),ft=(0,V.jsx)(`span`,{children:`EKS`}),e[135]=dt,e[136]=ft):(dt=e[135],ft=e[136]);let pt;e[137]===ut?pt=e[138]:(pt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/eks/list-clusters`,children:(0,V.jsxs)(G,{isActive:ut,tooltip:`EKS clusters`,children:[dt,ft]})})}),e[137]=ut,e[138]=pt);let mt;e[139]===n?mt=e[140]:(mt=n.startsWith(`/ecr/list-repositories`),e[139]=n,e[140]=mt);let ht,gt;e[141]===Symbol.for(`react.memo_cache_sentinel`)?(ht=(0,V.jsx)(Ws,{className:`size-4`}),gt=(0,V.jsx)(`span`,{children:`ECR`}),e[141]=ht,e[142]=gt):(ht=e[141],gt=e[142]);let _t;e[143]===mt?_t=e[144]:(_t=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ecr/list-repositories`,children:(0,V.jsxs)(G,{isActive:mt,tooltip:`ECR repositories`,children:[ht,gt]})})}),e[143]=mt,e[144]=_t);let vt;e[145]===n?vt=e[146]:(vt=n.startsWith(`/ecs/`),e[145]=n,e[146]=vt);let yt,bt;e[147]===Symbol.for(`react.memo_cache_sentinel`)?(yt=(0,V.jsx)(gs,{className:`size-4`}),bt=(0,V.jsx)(`span`,{children:`ECS`}),e[147]=yt,e[148]=bt):(yt=e[147],bt=e[148]);let xt;e[149]===vt?xt=e[150]:(xt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/ecs/list-clusters`,children:(0,V.jsxs)(G,{isActive:vt,tooltip:`ECS clusters`,children:[yt,bt]})})}),e[149]=vt,e[150]=xt);let St;e[151]!==pt||e[152]!==_t||e[153]!==xt?(St=(0,V.jsxs)(Hl,{children:[lt,(0,V.jsxs)(Wl,{children:[pt,_t,xt]})]}),e[151]=pt,e[152]=_t,e[153]=xt,e[154]=St):St=e[154];let Ct;e[155]===Symbol.for(`react.memo_cache_sentinel`)?(Ct=(0,V.jsx)(Ul,{children:`RDS`}),e[155]=Ct):Ct=e[155];let wt;e[156]===n?wt=e[157]:(wt=n.startsWith(`/rds/describe-db-instances`)||n.startsWith(`/rds/create-db-instance`),e[156]=n,e[157]=wt);let Tt,Et;e[158]===Symbol.for(`react.memo_cache_sentinel`)?(Tt=(0,V.jsx)(bs,{className:`size-4`}),Et=(0,V.jsx)(`span`,{children:`Databases`}),e[158]=Tt,e[159]=Et):(Tt=e[158],Et=e[159]);let Dt;e[160]===wt?Dt=e[161]:(Dt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/rds/describe-db-instances`,children:(0,V.jsxs)(G,{isActive:wt,tooltip:`Databases`,children:[Tt,Et]})})}),e[160]=wt,e[161]=Dt);let Ot;e[162]===n?Ot=e[163]:(Ot=n.startsWith(`/rds/describe-db-snapshots`)||n.startsWith(`/rds/restore-db-instance-from-db-snapshot`),e[162]=n,e[163]=Ot);let kt,At;e[164]===Symbol.for(`react.memo_cache_sentinel`)?(kt=(0,V.jsx)(Je,{className:`size-4`}),At=(0,V.jsx)(`span`,{children:`Snapshots`}),e[164]=kt,e[165]=At):(kt=e[164],At=e[165]);let jt;e[166]===Ot?jt=e[167]:(jt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/rds/describe-db-snapshots`,children:(0,V.jsxs)(G,{isActive:Ot,tooltip:`DB Snapshots`,children:[kt,At]})})}),e[166]=Ot,e[167]=jt);let Mt;e[168]===n?Mt=e[169]:(Mt=n.startsWith(`/rds/describe-db-subnet-groups`)||n.startsWith(`/rds/create-db-subnet-group`),e[168]=n,e[169]=Mt);let Nt,Pt;e[170]===Symbol.for(`react.memo_cache_sentinel`)?(Nt=(0,V.jsx)(Ms,{className:`size-4`}),Pt=(0,V.jsx)(`span`,{children:`Subnet Groups`}),e[170]=Nt,e[171]=Pt):(Nt=e[170],Pt=e[171]);let Ft;e[172]===Mt?Ft=e[173]:(Ft=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/rds/describe-db-subnet-groups`,children:(0,V.jsxs)(G,{isActive:Mt,tooltip:`DB Subnet Groups`,children:[Nt,Pt]})})}),e[172]=Mt,e[173]=Ft);let It;e[174]===n?It=e[175]:(It=n.startsWith(`/rds/describe-db-parameter-groups`)||n.startsWith(`/rds/create-db-parameter-group`),e[174]=n,e[175]=It);let Lt,Rt;e[176]===Symbol.for(`react.memo_cache_sentinel`)?(Lt=(0,V.jsx)(at,{className:`size-4`}),Rt=(0,V.jsx)(`span`,{children:`Parameter Groups`}),e[176]=Lt,e[177]=Rt):(Lt=e[176],Rt=e[177]);let zt;e[178]===It?zt=e[179]:(zt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/rds/describe-db-parameter-groups`,children:(0,V.jsxs)(G,{isActive:It,tooltip:`DB Parameter Groups`,children:[Lt,Rt]})})}),e[178]=It,e[179]=zt);let Bt;e[180]!==jt||e[181]!==Ft||e[182]!==zt||e[183]!==Dt?(Bt=(0,V.jsxs)(Hl,{children:[Ct,(0,V.jsxs)(Wl,{children:[Dt,jt,Ft,zt]})]}),e[180]=jt,e[181]=Ft,e[182]=zt,e[183]=Dt,e[184]=Bt):Bt=e[184];let Vt;e[185]===Symbol.for(`react.memo_cache_sentinel`)?(Vt=(0,V.jsx)(Ul,{children:`IAM`}),e[185]=Vt):Vt=e[185];let Ht;e[186]===n?Ht=e[187]:(Ht=n.startsWith(`/iam/list-users`)||n.startsWith(`/iam/create-user`),e[186]=n,e[187]=Ht);let Ut,Wt;e[188]===Symbol.for(`react.memo_cache_sentinel`)?(Ut=(0,V.jsx)(ic,{className:`size-4`}),Wt=(0,V.jsx)(`span`,{children:`Users`}),e[188]=Ut,e[189]=Wt):(Ut=e[188],Wt=e[189]);let Gt;e[190]===Ht?Gt=e[191]:(Gt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/iam/list-users`,children:(0,V.jsxs)(G,{isActive:Ht,tooltip:`Users`,children:[Ut,Wt]})})}),e[190]=Ht,e[191]=Gt);let Kt;e[192]===n?Kt=e[193]:(Kt=n.startsWith(`/iam/list-groups`)||n.startsWith(`/iam/create-group`),e[192]=n,e[193]=Kt);let L,qt;e[194]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,V.jsx)(nc,{className:`size-4`}),qt=(0,V.jsx)(`span`,{children:`Groups`}),e[194]=L,e[195]=qt):(L=e[194],qt=e[195]);let Jt;e[196]===Kt?Jt=e[197]:(Jt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/iam/list-groups`,children:(0,V.jsxs)(G,{isActive:Kt,tooltip:`Groups`,children:[L,qt]})})}),e[196]=Kt,e[197]=Jt);let Yt;e[198]===n?Yt=e[199]:(Yt=n.startsWith(`/iam/list-policies`)||n.startsWith(`/iam/create-policy`),e[198]=n,e[199]=Yt);let Xt,Zt;e[200]===Symbol.for(`react.memo_cache_sentinel`)?(Xt=(0,V.jsx)(Ze,{className:`size-4`}),Zt=(0,V.jsx)(`span`,{children:`Policies`}),e[200]=Xt,e[201]=Zt):(Xt=e[200],Zt=e[201]);let Qt;e[202]===Yt?Qt=e[203]:(Qt=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/iam/list-policies`,children:(0,V.jsxs)(G,{isActive:Yt,tooltip:`Policies`,children:[Xt,Zt]})})}),e[202]=Yt,e[203]=Qt);let $t;e[204]===n?$t=e[205]:($t=n.startsWith(`/iam/list-roles`)||n.startsWith(`/iam/create-role`),e[204]=n,e[205]=$t);let en,tn;e[206]===Symbol.for(`react.memo_cache_sentinel`)?(en=(0,V.jsx)(ec,{className:`size-4`}),tn=(0,V.jsx)(`span`,{children:`Roles`}),e[206]=en,e[207]=tn):(en=e[206],tn=e[207]);let nn;e[208]===$t?nn=e[209]:(nn=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/iam/list-roles`,children:(0,V.jsxs)(G,{isActive:$t,tooltip:`Roles`,children:[en,tn]})})}),e[208]=$t,e[209]=nn);let rn;e[210]===n?rn=e[211]:(rn=n.startsWith(`/iam/list-instance-profiles`)||n.startsWith(`/iam/create-instance-profile`),e[210]=n,e[211]=rn);let an,on;e[212]===Symbol.for(`react.memo_cache_sentinel`)?(an=(0,V.jsx)(Es,{className:`size-4`}),on=(0,V.jsx)(`span`,{children:`Instance Profiles`}),e[212]=an,e[213]=on):(an=e[212],on=e[213]);let sn;e[214]===rn?sn=e[215]:(sn=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/iam/list-instance-profiles`,children:(0,V.jsxs)(G,{isActive:rn,tooltip:`Instance Profiles`,children:[an,on]})})}),e[214]=rn,e[215]=sn);let cn;e[216]!==Gt||e[217]!==Jt||e[218]!==Qt||e[219]!==nn||e[220]!==sn?(cn=(0,V.jsxs)(Hl,{children:[Vt,(0,V.jsxs)(Wl,{children:[Gt,Jt,Qt,nn,sn]})]}),e[216]=Gt,e[217]=Jt,e[218]=Qt,e[219]=nn,e[220]=sn,e[221]=cn):cn=e[221];let ln;e[222]===Symbol.for(`react.memo_cache_sentinel`)?(ln=(0,V.jsx)(Ul,{children:`S3`}),e[222]=ln):ln=e[222];let un;e[223]===n?un=e[224]:(un=n.startsWith(`/s3/ls`),e[223]=n,e[224]=un);let dn,fn;e[225]===Symbol.for(`react.memo_cache_sentinel`)?(dn=(0,V.jsx)($e,{className:`size-4`}),fn=(0,V.jsx)(`span`,{children:`Buckets`}),e[225]=dn,e[226]=fn):(dn=e[225],fn=e[226]);let pn;e[227]===un?pn=e[228]:(pn=(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/s3/ls`,children:(0,V.jsxs)(G,{isActive:un,tooltip:`Buckets`,children:[dn,fn]})})}),e[227]=un,e[228]=pn);let mn;e[229]!==o||e[230]!==n?(mn=o&&(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/s3/service-metrics`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/s3/service-metrics`),tooltip:`Service Metrics`,children:[(0,V.jsx)(os,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Service Metrics`})]})})}),e[229]=o,e[230]=n,e[231]=mn):mn=e[231];let hn;e[232]!==pn||e[233]!==mn?(hn=(0,V.jsxs)(Hl,{children:[ln,(0,V.jsxs)(Wl,{children:[pn,mn]})]}),e[232]=pn,e[233]=mn,e[234]=hn):hn=e[234];let gn;e[235]!==o||e[236]!==n?(gn=We()&&(0,V.jsxs)(Hl,{children:[(0,V.jsx)(Ul,{children:`Ochre`}),(0,V.jsxs)(Wl,{children:[(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/bedrock/list-knowledge-bases`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/bedrock/list-knowledge-bases`),tooltip:`Knowledge Bases`,children:[(0,V.jsx)(fs,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Knowledge Bases`})]})})}),(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/bedrock/list-guardrails`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/bedrock/list-guardrails`),tooltip:`Guardrails`,children:[(0,V.jsx)(Ze,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Guardrails`})]})})}),(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/bedrock/playground`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/bedrock/playground`),tooltip:`Playground`,children:[(0,V.jsx)(Bs,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Playground`})]})})}),o&&(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/bedrock/list-model-catalog`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/bedrock/list-model-catalog`),tooltip:`Model Catalog`,children:[(0,V.jsx)(Ps,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Model Catalog`})]})})}),o&&(0,V.jsx)(W,{children:(0,V.jsx)(A,{to:`/bedrock/list-model-access`,children:(0,V.jsxs)(G,{isActive:n.startsWith(`/bedrock/list-model-access`),tooltip:`Model Access`,children:[(0,V.jsx)(Os,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Model Access`})]})})})]})]}),e[235]=o,e[236]=n,e[237]=gn):gn=e[237];let _n;e[238]===o?_n=e[239]:(_n=o&&(0,V.jsxs)(Hl,{children:[(0,V.jsx)(Ul,{children:`Documentation`}),(0,V.jsx)(Wl,{children:(0,V.jsx)(W,{children:(0,V.jsx)(`a`,{href:`https://docs.mulgadc.com`,target:`_blank`,rel:`noopener noreferrer`,children:(0,V.jsxs)(G,{tooltip:`Documentation`,children:[(0,V.jsx)(cs,{className:`size-4`}),(0,V.jsx)(`span`,{children:`Docs`})]})})})})]}),e[238]=o,e[239]=_n);let vn;e[240]!==Bt||e[241]!==cn||e[242]!==hn||e[243]!==gn||e[244]!==_n||e[245]!==Te||e[246]!==ct||e[247]!==g||e[248]!==St?(vn=(0,V.jsxs)(Vl,{children:[g,Te,ct,St,Bt,cn,hn,gn,_n]}),e[240]=Bt,e[241]=cn,e[242]=hn,e[243]=gn,e[244]=_n,e[245]=Te,e[246]=ct,e[247]=g,e[248]=St,e[249]=vn):vn=e[249];let yn;e[250]===Symbol.for(`react.memo_cache_sentinel`)?(yn=(0,V.jsx)(Bl,{className:`mx-0 w-full`}),e[250]=yn):yn=e[250];let bn,Cn;e[251]===Symbol.for(`react.memo_cache_sentinel`)?(bn=(0,V.jsx)(Is,{className:`size-4`}),Cn=(0,V.jsx)(`span`,{children:`Sign out`}),e[251]=bn,e[252]=Cn):(bn=e[251],Cn=e[252]);let wn;e[253]===c?wn=e[254]:(wn=(0,V.jsxs)(zl,{children:[yn,(0,V.jsx)(Wl,{children:(0,V.jsx)(W,{children:(0,V.jsxs)(G,{onClick:c,tooltip:`Sign out`,children:[bn,Cn]})})})]}),e[253]=c,e[254]=wn);let Tn;e[255]===Symbol.for(`react.memo_cache_sentinel`)?(Tn=(0,V.jsx)(Ll,{}),e[255]=Tn):Tn=e[255];let En;return e[256]!==vn||e[257]!==wn?(En=(0,V.jsxs)(Fl,{collapsible:`icon`,children:[l,vn,wn,Tn]}),e[256]=vn,e[257]=wn,e[258]=En):En=e[258],En}function nu(e){return e.pathname}function ru(e){let t=(0,U.c)(18),{error:n,reset:r}=e,i=De(),o=a(),s;t[0]!==o||t[1]!==r||t[2]!==i?(s=function(){o.invalidateQueries(),r(),i.invalidate()},t[0]=o,t[1]=r,t[2]=i,t[3]=s):s=t[3];let c=s,l;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,V.jsx)(tu,{}),t[4]=l):l=t[4];let u;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,V.jsx)($l,{}),t[5]=u):u=t[5];let d,f;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,V.jsx)(`div`,{className:`flex justify-center`,children:(0,V.jsx)(ms,{className:`size-12 text-destructive`})}),f=(0,V.jsx)(`h1`,{className:`text-2xl font-semibold`,children:`Something went wrong`}),t[6]=d,t[7]=f):(d=t[6],f=t[7]);let p=(n instanceof Error?n.message:String(n))||`An unexpected error occurred`,m;t[8]===p?m=t[9]:(m=(0,V.jsx)(`p`,{className:`text-muted-foreground`,children:p}),t[8]=p,t[9]=m);let h;t[10]===c?h=t[11]:(h=(0,V.jsx)(mt,{onClick:c,variant:`default`,children:`Try Again`}),t[10]=c,t[11]=h);let g;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,V.jsx)(A,{to:`/`,children:(0,V.jsx)(mt,{variant:`outline`,children:`Go Home`})}),t[12]=g):g=t[12];let _;t[13]===h?_=t[14]:(_=(0,V.jsxs)(`div`,{className:`flex justify-center gap-2`,children:[h,g]}),t[13]=h,t[14]=_);let v;return t[15]!==_||t[16]!==m?(v=(0,V.jsxs)(V.Fragment,{children:[l,(0,V.jsxs)(`main`,{className:`flex flex-1 flex-col`,children:[u,(0,V.jsx)(`div`,{className:`flex flex-1 items-center justify-center p-6 pt-0`,children:(0,V.jsxs)(`div`,{className:`max-w-md space-y-4 text-center`,children:[d,f,m,_]})})]})]}),t[15]=_,t[16]=m,t[17]=v):v=t[17],v}var K=E()({head:()=>({meta:[{title:`Mulga`}]}),component:()=>(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Xo,{}),(0,V.jsx)(tu,{}),(0,V.jsxs)(`main`,{className:`flex flex-1 flex-col`,children:[(0,V.jsx)($l,{}),(0,V.jsx)(`div`,{className:`flex flex-1 flex-col p-8`,children:(0,V.jsx)(be,{})})]})]}),errorComponent:ru,notFoundComponent:eu}),iu=w(`/_auth`)({beforeLoad:()=>{if(!qe())throw we({to:`/login`})},component:D(()=>F(()=>import(`./route-ri79I-mW.js`),__vite__mapDeps([0,1,2,3,4,5])),`component`)}),au=w(`/_auth/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...Ln,staleTime:`static`}),e.queryClient.query({...On,staleTime:`static`}),e.queryClient.query({...An,staleTime:`static`}),e.queryClient.query({...Bn,staleTime:`static`}),e.queryClient.query({...sr,staleTime:`static`}),e.queryClient.query({...Hn,staleTime:`static`}),e.queryClient.query({...Nn,staleTime:`static`}),e.queryClient.query({...Rn,staleTime:`static`}),e.queryClient.query({...Fn,staleTime:`static`})])},head:()=>({meta:[{title:`Dashboard | Mulga`}]}),component:D(()=>F(()=>import(`./_auth-CQN6uKek.js`),__vite__mapDeps([6,1,7,8,9,10,11,4,5,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),`component`)}),ou=w(`/_auth/bedrock`)({beforeLoad:()=>{We()||xe({throw:!0})},component:D(()=>F(()=>import(`./route-CAwLPdN1.js`),__vite__mapDeps([40,1,2,3,4,5])),`component`)}),su=w(`/_auth/nodes`)({head:()=>({meta:[{title:`Nodes | Mulga`}]}),component:D(()=>F(()=>import(`./nodes-DuOlBrgk.js`),__vite__mapDeps([41,1,7,8,9,10,11,4,5,42,12,13,15,14,16,19,20,21,27,28,29,30,31,32,23])),`component`)}),cu=w(`/_auth/s3/service-metrics`)({head:()=>({meta:[{title:`Service Metrics | S3 | Mulga`}]}),component:D(()=>F(()=>import(`./service-metrics-BVlT0eqC.js`),__vite__mapDeps([43,1,7,8,9,10,42,19,12,13,20,21,27,28,29,30,31,32,23])),`component`)}),lu=w(`/_auth/ec2/(elastic-ips)/allocate-address`)({head:()=>({meta:[{title:`Allocate Elastic IP | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./allocate-address-Cj5JFsW1.js`),__vite__mapDeps([44,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,63])),`component`)}),uu=w(`/_auth/ec2/(internet-gateways)/create-internet-gateway`)({head:()=>({meta:[{title:`Create Internet Gateway | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-internet-gateway-Cpxiz-Mj.js`),__vite__mapDeps([64,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,63])),`component`)}),du=w(`/_auth/ec2/(key)/create-key-pair`)({head:()=>({meta:[{title:`Create Key Pair | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-key-pair-CAViKLoj.js`),__vite__mapDeps([65,1,45,4,5,46,11,14,48,66,36,29,12,13,34,37,15,52,38,67,68,53,69,70,47,49,50,71,51,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,33,35,63])),`component`)}),fu=w(`/_auth/ec2/(key)/import-key-pair`)({head:()=>({meta:[{title:`Import Key Pair | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./import-key-pair-BivCaRzr.js`),__vite__mapDeps([72,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,73,63])),`component`)}),pu=w(`/_auth/ec2/(launch-templates)/create-launch-template`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...zn,staleTime:`static`}),e.queryClient.query({...Pn,staleTime:`static`}),e.queryClient.query({...Bn,staleTime:`static`}),e.queryClient.query({...jn,staleTime:`static`}),e.queryClient.query({...Hn,staleTime:`static`})])},head:()=>({meta:[{title:`Create Launch Template | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-launch-template-CZvRqBCG.js`),__vite__mapDeps([74,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,63,75,76,8,10,66,36,38,67,68,69,73,77])),`component`)}),mu=w(`/_auth/ec2/(load-balancers)/create-load-balancer`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...An,staleTime:`static`}),e.queryClient.query({...jn,staleTime:`static`}),e.queryClient.query({...Hn,staleTime:`static`}),e.queryClient.query({...Xn,staleTime:`static`}),e.queryClient.query({...wn,staleTime:`static`}),e.queryClient.query({...Yn,staleTime:`static`})])},head:()=>({meta:[{title:`Create Load Balancer | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-load-balancer--N6lPrkX.js`),__vite__mapDeps([78,1,76,8,9,10,45,4,5,12,13,46,11,14,66,36,29,34,37,48,15,52,38,67,68,53,69,47,49,50,51,79,23,24,25,80,55,56,59,61,62,73,33,35,22,81,82,83,27,58,60,84,85,86,87,77,88])),`component`)}),hu=w(`/_auth/ec2/(nat-gateways)/create-nat-gateway`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...jn,staleTime:`static`}),e.queryClient.query({...Rn,staleTime:`static`})])},head:()=>({meta:[{title:`Create NAT Gateway | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-nat-gateway-z5NzuiEa.js`),__vite__mapDeps([89,1,76,8,9,10,11,4,5,45,12,13,46,14,66,36,29,34,37,48,15,52,38,67,68,53,69,47,49,50,51,22,23,24,25,54,55,56,57,27,58,59,60,61,62,63])),`component`)}),gu=w(`/_auth/ec2/(placement-groups)/create-placement-group`)({head:()=>({meta:[{title:`Create Placement Group | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-placement-group-D_o6h2Gq.js`),__vite__mapDeps([90,1,45,4,5,46,11,14,66,36,29,12,13,34,37,48,15,52,38,67,68,53,69,47,49,50,51,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,63])),`component`)}),_u=w(`/_auth/ec2/(route-tables)/create-route-table`)({loader:async({context:e})=>{await e.queryClient.query({...An,staleTime:`static`})},head:()=>({meta:[{title:`Create Route Table | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-route-table-0q7LO8Yz.js`),__vite__mapDeps([91,1,76,8,9,10,45,4,5,12,13,46,11,14,66,36,29,34,37,48,15,52,38,67,68,53,69,51,22,23,24,25,54,55,56,57,27,58,59,60,61,62,63])),`component`)}),vu=w(`/_auth/ec2/(security-groups)/create-security-group`)({loader:async({context:e})=>{await e.queryClient.query({...An,staleTime:`static`})},head:()=>({meta:[{title:`Create Security Group | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-security-group-BVBSieXt.js`),__vite__mapDeps([92,1,76,8,9,10,45,4,5,12,13,46,11,14,66,36,29,34,37,48,15,52,38,67,68,53,69,47,49,50,51,22,23,24,25,54,55,56,57,27,58,59,60,61,62,63])),`component`)}),yu=w(`/_auth/ec2/(subnet)/create-subnet`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...An,staleTime:`static`}),e.queryClient.query({...Vn,staleTime:`static`})])},head:()=>({meta:[{title:`Create Subnet | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-subnet-D6P8yW2z.js`),__vite__mapDeps([93,1,76,8,9,10,45,4,5,12,13,46,11,14,66,36,29,34,37,48,15,52,38,67,68,53,69,47,49,50,51,22,23,24,25,54,55,56,57,27,58,59,60,61,62,63])),`component`)}),bu=w(`/_auth/ec2/(target-groups)/create-target-group`)({loader:async({context:e})=>{await e.queryClient.query({...An,staleTime:`static`})},head:()=>({meta:[{title:`Create Target Group | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-target-group-D5bQ4Fa3.js`),__vite__mapDeps([94,1,76,8,9,10,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,22,23,24,25,81,55,56,82,27,58,59,60,87,66,36,37,52,38,67,68,53,69,51,61,62,84,85,86,77,88])),`component`)}),xu=w(`/_auth/ec2/(volumes)/create-volume`)({loader:async({context:e})=>{await e.queryClient.query({...Vn,staleTime:`static`})},head:()=>({meta:[{title:`Create Volume | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-volume-BjkVTXNd.js`),__vite__mapDeps([95,1,76,8,9,10,45,4,5,46,11,14,66,36,29,12,13,34,37,48,15,52,38,67,68,53,69,47,49,50,51,22,23,24,25,54,55,56,57,27,58,59,60,61,62,63])),`component`)}),Su=w(`/_auth/ec2/(vpc)/create-vpc`)({head:()=>({meta:[{title:`Create VPC | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./create-vpc-HC_JSJiq.js`),__vite__mapDeps([96,1,45,4,5,46,11,14,15,16,66,36,29,12,13,34,37,48,52,38,67,68,53,69,47,49,50,51,54,9,55,56,24,25,22,23,57,27,58,59,60,61,62,63])),`component`)}),Cu=w(`/_auth/ecs/(clusters)/task-definitions`)({loader:async({context:e})=>{await e.queryClient.query({...Kn,staleTime:`static`})},head:()=>({meta:[{title:`Task Definitions | ECS | Mulga`}]}),component:D(()=>F(()=>import(`./task-definitions-CSGupk2f.js`),__vite__mapDeps([97,1,76,8,9,10,11,4,5,34,29,12,13,98,23,24,25,99,55,56,21,27,59,100,33,35,36,37,38,101])),`component`)}),wu=w(`/_auth/eks/(clusters)/create-cluster`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...An,staleTime:`static`}),e.queryClient.query({...jn,staleTime:`static`}),e.queryClient.query({...tr,staleTime:`static`}),e.queryClient.query({...zn,staleTime:`static`})])},head:()=>({meta:[{title:`Create Cluster | EKS | Mulga`}]}),component:D(()=>F(()=>import(`./create-cluster-Bf6-qWHk.js`),__vite__mapDeps([102,1,9,76,8,10,45,4,5,12,13,46,11,14,66,36,29,34,37,48,15,52,38,67,68,53,69,51,22,23,24,25,103,55,56,104,105,57,106,107,108,27,58,59,60,61,62,33,35,109,110,49,111,71,50,112])),`component`)}),Tu=w(`/_auth/iam/(groups)/create-group`)({head:()=>({meta:[{title:`Create Group | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./create-group-VmQiXMub.js`),__vite__mapDeps([113,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,106,9,55,56,24,25,107,27,58,59,60,61,62,114,105])),`component`)}),Eu=w(`/_auth/iam/(instance-profiles)/create-instance-profile`)({head:()=>({meta:[{title:`Create Instance Profile | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./create-instance-profile-CPrh3RAf.js`),__vite__mapDeps([115,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,106,9,55,56,24,25,107,27,58,59,60,61,62,114,105])),`component`)}),Du=w(`/_auth/iam/(policies)/create-policy`)({head:()=>({meta:[{title:`Create Policy | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./create-policy-BdeMN_up.js`),__vite__mapDeps([116,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,106,9,55,56,24,25,107,27,58,59,60,61,62,117,105,73,114])),`component`)}),Ou=w(`/_auth/iam/(roles)/create-role`)({head:()=>({meta:[{title:`Create Role | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./create-role-B2wFJBjO.js`),__vite__mapDeps([118,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,106,9,55,56,24,25,107,27,58,59,60,61,62,117,105,73,114])),`component`)}),ku=w(`/_auth/iam/(users)/create-user`)({head:()=>({meta:[{title:`Create User | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./create-user-D4y-u65_.js`),__vite__mapDeps([119,1,45,4,5,46,11,14,47,12,13,48,15,49,34,29,50,51,37,52,53,106,9,55,56,24,25,107,27,58,59,60,61,62,114,105])),`component`)}),Au=w(`/_auth/rds/(db-instances)/create-db-instance`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...ar,staleTime:`static`}),e.queryClient.query({...ir,staleTime:`static`}),e.queryClient.query({...rr,staleTime:`static`}),e.queryClient.query({...Hn,staleTime:`static`}),e.queryClient.query({...An,staleTime:`static`}),e.queryClient.query({...zn,staleTime:`static`})])},head:()=>({meta:[{title:`Create Database | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./create-db-instance-CFzM44Sn.js`),__vite__mapDeps([120,1,9,7,8,10,76,45,4,5,46,11,14,66,36,29,12,13,34,37,48,15,52,38,67,68,53,69,47,49,50,51,22,23,24,25,121,122,55,56,123,27,58,59,60,61,62,84,85,86,109,110,111,71,124,125])),`component`)}),ju=w(`/_auth/rds/(parameter-groups)/create-db-parameter-group`)({loader:async({context:e})=>{await e.queryClient.query({...ar,staleTime:`static`})},head:()=>({meta:[{title:`Create Parameter Group | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./create-db-parameter-group-CUcSdIga.js`),__vite__mapDeps([126,1,76,8,9,10,45,4,5,46,11,14,66,36,29,12,13,34,37,48,15,52,38,67,68,53,69,47,49,50,51,121,24,25,122,55,56,123,23,27,58,59,60,61,62,84,85,86])),`component`)}),Mu=w(`/_auth/rds/(subnet-groups)/create-db-subnet-group`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...jn,staleTime:`static`}),e.queryClient.query({...An,staleTime:`static`})])},head:()=>({meta:[{title:`Create Subnet Group | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./create-db-subnet-group-CuUW4IsJ.js`),__vite__mapDeps([127,1,76,8,9,10,45,4,5,12,13,46,11,14,47,48,15,49,34,29,50,51,37,52,53,22,23,24,25,121,122,55,56,27,58,59,60,61,62,84,85,86])),`component`)}),Nu=w(`/_auth/s3/(buckets)/create-bucket`)({head:()=>({meta:[{title:`Create Bucket | S3 | Mulga`}]}),component:D(()=>F(()=>import(`./create-bucket-eeiuIrsW.js`),__vite__mapDeps([128,1,45,4,5,12,13,46,11,14,47,48,15,49,34,29,50,51,37,52,53,129,9,55,56,24,25,27,58,59,60,61,62])),`component`)}),Pu=w(`/_auth/s3/ls/`)({loader:async({context:e})=>{await e.queryClient.query({...sr,staleTime:`static`})},head:()=>({meta:[{title:`Buckets | S3 | Mulga`}]}),component:D(()=>F(()=>import(`./ls-CWzC4f47.js`),__vite__mapDeps([130,1,76,8,9,10,11,4,5,12,13,34,29,26,23,24,25,27,131])),`component`)}),Fu=w(`/_auth/s3/ls/$bucket`)({component:D(()=>F(()=>import(`./route-MJhrpG5n.js`),__vite__mapDeps([132,1,2,3,4,5])),`component`)}),Iu=w(`/_auth/bedrock/(catalog)/list-model-catalog/`)({head:()=>({meta:[{title:`Model Catalog | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./list-model-catalog-CeG1beQW.js`),__vite__mapDeps([133,1,7,8,9,10,42,12,13,19,20,21,27,28,29,30,31,32,23])),`component`)}),Lu=w(`/_auth/bedrock/(guardrails)/list-guardrails/`)({loader:async({context:e})=>{await e.queryClient.query({...Tn,staleTime:`static`})},head:()=>({meta:[{title:`Guardrails | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./list-guardrails-Cq4kt2fN.js`),__vite__mapDeps([134,1,76,8,9,10,11,4,5,34,29,12,13,135,23,24,25,136,27,39,131])),`component`)}),Ru=w(`/_auth/bedrock/(guardrails)/list-guardrails/create`)({head:()=>({meta:[{title:`Create Guardrail | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./create-DTpWMMJH.js`),__vite__mapDeps([137,1,138,9,55,56,12,13,24,25,136,139,45,4,5,46,11,14,66,36,29,34,37,48,15,52,38,67,68,53,69,85,86,51,27,58,59,60,61,62,84,73])),`component`)}),zu=w(`/_auth/bedrock/(knowledge-bases)/list-knowledge-bases/`)({loader:async({context:e})=>{await e.queryClient.query({...Dn,staleTime:`static`})},head:()=>({meta:[{title:`Knowledge Bases | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./list-knowledge-bases-BJaqqlKH.js`),__vite__mapDeps([140,1,76,8,9,10,11,4,5,34,29,12,13,141,23,24,25,142,27,39,131])),`component`)}),Bu=w(`/_auth/bedrock/(knowledge-bases)/list-knowledge-bases/create`)({loader:async({context:e})=>{await e.queryClient.query({...En,staleTime:`static`})},head:()=>({meta:[{title:`Create Knowledge Base | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./create-BO1fFlSv.js`),__vite__mapDeps([143,1,76,8,9,10,45,4,5,46,11,14,66,36,29,12,13,34,37,48,15,52,38,67,68,53,69,51,135,23,24,25,136,144,55,56,142,27,58,59,60,61,62,73])),`component`)}),Vu=w(`/_auth/bedrock/(model-access)/list-model-access/`)({head:()=>({meta:[{title:`Model Access | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./list-model-access-_5zWqGCi.js`),__vite__mapDeps([145,1,9,55,56,7,8,10,42,66,36,29,12,13,34,37,14,48,15,52,38,5,67,68,53,69,51,19,20,21,27,28,30,31,32,23,61,62])),`component`)}),Hu=w(`/_auth/bedrock/(playground)/playground/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...En,staleTime:`static`}),e.queryClient.query({...Tn,staleTime:`static`})])},head:()=>({meta:[{title:`Playground | Ochre | Mulga`}]}),component:D(()=>F(()=>import(`./playground-Cush5Er_.js`),__vite__mapDeps([146,1,55,9,56,76,8,10,12,13,15,14,66,36,29,34,37,48,52,38,5,67,68,53,69,47,49,50,51,24,25,135,23,136,147,27,28,30,61,62,73])),`component`)}),Uu=w(`/_auth/ec2/(elastic-ips)/describe-addresses/`)({loader:async({context:e})=>{await e.queryClient.query({...Rn,staleTime:`static`})},head:()=>({meta:[{title:`Elastic IPs | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-addresses-CX48-jv1.js`),__vite__mapDeps([148,1,76,8,9,10,11,4,5,12,13,34,29,22,23,24,25,27,131])),`component`)}),Wu=w(`/_auth/ec2/(images)/describe-images/`)({loader:async({context:e})=>{await e.queryClient.query({...zn,staleTime:`static`})},head:()=>({meta:[{title:`Images | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-images-DU3F5FiN.js`),__vite__mapDeps([149,1,76,8,9,10,22,23,12,13,24,25,27,39,131,11,4,5,109])),`component`)}),Gu=w(`/_auth/ec2/(instances)/describe-instances/`)({loader:async({context:e})=>{await e.queryClient.query({...Ln,staleTime:`static`})},head:()=>({meta:[{title:`Instances | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-instances-2mfa0kO7.js`),__vite__mapDeps([150,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,39,131])),`component`)}),Ku=w(`/_auth/ec2/(internet-gateways)/describe-internet-gateways/`)({loader:async({context:e})=>{await e.queryClient.query({...Fn,staleTime:`static`})},head:()=>({meta:[{title:`Internet Gateways | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-internet-gateways-BCKNPwC9.js`),__vite__mapDeps([151,1,76,8,9,10,11,4,5,12,13,34,29,22,23,24,25,27,131])),`component`)}),qu=w(`/_auth/ec2/(key)/describe-key-pairs/`)({loader:async({context:e})=>{await e.queryClient.query({...Bn,staleTime:`static`})},head:()=>({meta:[{title:`Key Pairs | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-key-pairs-BFrqVQj0.js`),__vite__mapDeps([152,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,131])),`component`)}),Ju=w(`/_auth/ec2/(launch-templates)/describe-launch-templates/`)({loader:async({context:e})=>{await e.queryClient.query({...In,staleTime:`static`})},head:()=>({meta:[{title:`Launch Templates | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-launch-templates-CacWu1yX.js`),__vite__mapDeps([153,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,28,30,131])),`component`)}),Yu=w(`/_auth/ec2/(load-balancers)/describe-load-balancers/`)({loader:async({context:e})=>{await e.queryClient.query({...Jn,staleTime:`static`})},head:()=>({meta:[{title:`Load Balancers | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-load-balancers-DAKWE795.js`),__vite__mapDeps([154,1,76,8,9,10,11,4,5,45,12,13,34,29,83,23,24,25,82,27,39])),`component`)}),Xu=w(`/_auth/ec2/(nat-gateways)/describe-nat-gateways/`)({loader:async({context:e})=>{await e.queryClient.query({...Nn,staleTime:`static`})},head:()=>({meta:[{title:`NAT Gateways | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-nat-gateways-DGO7NhS6.js`),__vite__mapDeps([155,1,76,8,9,10,11,4,5,12,13,34,29,22,23,24,25,27,39,131])),`component`)}),Zu=w(`/_auth/ec2/(placement-groups)/describe-placement-groups/`)({loader:async({context:e})=>{await e.queryClient.query({...Un,staleTime:`static`})},head:()=>({meta:[{title:`Placement Groups | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-placement-groups-Cn4M8Qw5.js`),__vite__mapDeps([156,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,39,131])),`component`)}),Qu=w(`/_auth/ec2/(route-tables)/describe-route-tables/`)({loader:async({context:e})=>{await e.queryClient.query({...Mn,staleTime:`static`})},head:()=>({meta:[{title:`Route Tables | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-route-tables-B85w9Xcr.js`),__vite__mapDeps([157,1,76,8,9,10,11,4,5,12,13,34,29,22,23,24,25,27,28,30,131])),`component`)}),q=w(`/_auth/ec2/(security-groups)/describe-security-groups/`)({loader:async({context:e})=>{await e.queryClient.query({...Hn,staleTime:`static`})},head:()=>({meta:[{title:`Security Groups | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-security-groups-CorF76Fg.js`),__vite__mapDeps([158,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,131])),`component`)}),$u=w(`/_auth/ec2/(snapshots)/describe-snapshots/`)({loader:async({context:e})=>{await e.queryClient.query({...kn,staleTime:`static`})},head:()=>({meta:[{title:`Snapshots | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-snapshots-C4LyUqXx.js`),__vite__mapDeps([159,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,39,131])),`component`)}),J=w(`/_auth/ec2/(subnet)/describe-subnets/`)({loader:async({context:e})=>{await e.queryClient.query({...jn,staleTime:`static`})},head:()=>({meta:[{title:`Subnets | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-subnets-DgMQfiqj.js`),__vite__mapDeps([160,1,76,8,9,10,11,4,5,12,13,34,29,22,23,24,25,27,39,131])),`component`)}),Y=w(`/_auth/ec2/(target-groups)/describe-target-groups/`)({loader:async({context:e})=>{await e.queryClient.query({...Xn,staleTime:`static`})},head:()=>({meta:[{title:`Target Groups | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-target-groups-BmI4rGfj.js`),__vite__mapDeps([161,1,7,8,9,10,76,11,4,5,45,34,29,12,13,83,23,24,25,82,27])),`component`)}),X=w(`/_auth/ec2/(volumes)/describe-volumes/`)({loader:async({context:e})=>{await e.queryClient.query({...On,staleTime:`static`})},head:()=>({meta:[{title:`Volumes | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-volumes-COLmjwXx.js`),__vite__mapDeps([162,1,76,8,9,10,11,4,5,34,29,12,13,22,23,24,25,27,39,131])),`component`)}),ed=w(`/_auth/ec2/(vpc)/describe-vpcs/`)({loader:async({context:e})=>{await e.queryClient.query({...An,staleTime:`static`})},head:()=>({meta:[{title:`VPCs | EC2 | Mulga`}]}),component:D(()=>F(()=>import(`./describe-vpcs-BnIpgEwn.js`),__vite__mapDeps([163,1,76,8,9,10,11,4,5,12,13,34,29,22,23,24,25,27,39,131])),`component`)}),td=w(`/_auth/ecr/(repositories)/list-repositories/`)({loader:async({context:e})=>{await e.queryClient.query({...Wn,staleTime:`static`})},head:()=>({meta:[{title:`Repositories | ECR | Mulga`}]}),component:D(()=>F(()=>import(`./list-repositories-CFHE_leH.js`),__vite__mapDeps([164,1,76,8,9,10,11,4,5,45,12,13,34,29,51,37,52,53,165,23,24,25,166,55,56,27,61,62,33,35,36,38])),`component`)}),nd=w(`/_auth/ecs/(clusters)/list-clusters/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.query({...Gn,staleTime:`static`}),e.queryClient.query({...zn,staleTime:`static`})])},head:()=>({meta:[{title:`Clusters | ECS | Mulga`}]}),component:D(()=>F(()=>import(`./list-clusters-CYIpXZk9.js`),__vite__mapDeps([167,1,9,76,8,10,11,4,5,45,34,29,12,13,51,37,52,53,22,23,24,25,98,99,55,56,21,27,59,61,62,33,35,36,38,100,39,109,110,48,14,49,111,71,50,101])),`component`)}),rd=w(`/_auth/eks/(clusters)/list-clusters/`)({loader:async({context:e})=>{await e.queryClient.query({...qn,staleTime:`static`})},head:()=>({meta:[{title:`Clusters | EKS | Mulga`}]}),component:D(()=>F(()=>import(`./list-clusters-Blcu3VSI.js`),__vite__mapDeps([168,1,76,8,9,10,11,4,5,34,29,12,13,169,23,24,25,104,27,131])),`component`)}),id=w(`/_auth/iam/(groups)/list-groups/`)({loader:async({context:e})=>{await e.queryClient.query({...$n,staleTime:`static`})},head:()=>({meta:[{title:`Groups | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./list-groups-D6hjD6YQ.js`),__vite__mapDeps([170,1,76,8,9,10,11,4,5,34,29,12,13,108,23,24,25,107,105,27,131])),`component`)}),ad=w(`/_auth/iam/(instance-profiles)/list-instance-profiles/`)({loader:async({context:e})=>{await e.queryClient.query({...Qn,staleTime:`static`})},head:()=>({meta:[{title:`Instance Profiles | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./list-instance-profiles-INcvr5n3.js`),__vite__mapDeps([171,1,76,8,9,10,11,4,5,34,29,12,13,108,23,24,25,107,105,27,131])),`component`)}),od=w(`/_auth/iam/(policies)/list-policies/`)({loader:async({context:e})=>{await e.queryClient.query({...er,staleTime:`static`})},head:()=>({meta:[{title:`Policies | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./list-policies-DPQJyoNC.js`),__vite__mapDeps([172,1,76,8,9,10,11,4,5,34,29,12,13,108,23,24,25,107,105,27,131])),`component`)}),sd=w(`/_auth/iam/(roles)/list-roles/`)({loader:async({context:e})=>{await e.queryClient.query({...tr,staleTime:`static`})},head:()=>({meta:[{title:`Roles | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./list-roles-D20fg59j.js`),__vite__mapDeps([173,1,76,8,9,10,11,4,5,34,29,12,13,108,23,24,25,107,105,27,131])),`component`)}),cd=w(`/_auth/iam/(users)/list-users/`)({loader:async({context:e})=>{await e.queryClient.query({...Zn,staleTime:`static`})},head:()=>({meta:[{title:`Users | IAM | Mulga`}]}),component:D(()=>F(()=>import(`./list-users-DRJSk6hA.js`),__vite__mapDeps([174,1,76,8,9,10,11,4,5,34,29,12,13,108,23,24,25,107,105,27,131])),`component`)}),ld=w(`/_auth/rds/(db-instances)/describe-db-instances/`)({loader:async({context:e})=>{await e.queryClient.query({...or,staleTime:`static`})},head:()=>({meta:[{title:`Databases | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./describe-db-instances-CLwlt50q.js`),__vite__mapDeps([175,1,76,8,9,10,11,4,5,45,34,29,12,13,121,24,25,122,55,56,123,23,27,59,39,176,51,37,52,53,61,62,33,35,36,38])),`component`)}),ud=w(`/_auth/rds/(parameter-groups)/describe-db-parameter-groups/`)({loader:async({context:e})=>{await e.queryClient.query({...rr,staleTime:`static`})},head:()=>({meta:[{title:`Parameter Groups | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./describe-db-parameter-groups-Xj7h_agu.js`),__vite__mapDeps([177,1,76,8,9,10,11,4,5,45,34,29,12,13,121,24,25,123,23,27,178,122,55,56,179,100,33,35,36,37,38])),`component`)}),dd=w(`/_auth/rds/(snapshots)/describe-db-snapshots/`)({loader:async({context:e})=>{await e.queryClient.query({...nr,staleTime:`static`})},head:()=>({meta:[{title:`Snapshots | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./describe-db-snapshots-ByVAmk9k.js`),__vite__mapDeps([180,1,76,8,9,10,11,4,5,45,12,13,34,29,121,24,25,123,23,27,39,181,7,66,36,37,14,48,15,52,38,67,68,53,69,51,122,55,56,58,61,62,84,85,86,33,35,124,182,179,100])),`component`)}),fd=w(`/_auth/rds/(subnet-groups)/describe-db-subnet-groups/`)({loader:async({context:e})=>{await e.queryClient.query({...ir,staleTime:`static`})},head:()=>({meta:[{title:`Subnet Groups | RDS | Mulga`}]}),component:D(()=>F(()=>import(`./describe-db-subnet-groups-B0xn02S1.js`),__vite__mapDeps([183,1,76,8,9,10,11,4,5,45,34,29,12,13,123,23,24,25,121,27,39,184,122,55,56,179,100,33,35,36,37,38])),`component`)}),Z=iu.update({id:`/_auth`,getParentRoute:()=>K}),pd=cr.update({id:`/login`,path:`/login`,getParentRoute:()=>K}),md=au.update({id:`/`,path:`/`,getParentRoute:()=>Z}),hd=ou.update({id:`/bedrock`,path:`/bedrock`,getParentRoute:()=>Z}),gd=su.update({id:`/nodes`,path:`/nodes`,getParentRoute:()=>Z}),_d=cu.update({id:`/s3/service-metrics`,path:`/s3/service-metrics`,getParentRoute:()=>Z}),vd=lu.update({id:`/ec2/(elastic-ips)/allocate-address`,path:`/ec2/allocate-address`,getParentRoute:()=>Z}),yd=lr.update({id:`/ec2/(instances)/run-instances`,path:`/ec2/run-instances`,getParentRoute:()=>Z}),bd=uu.update({id:`/ec2/(internet-gateways)/create-internet-gateway`,path:`/ec2/create-internet-gateway`,getParentRoute:()=>Z}),xd=du.update({id:`/ec2/(key)/create-key-pair`,path:`/ec2/create-key-pair`,getParentRoute:()=>Z}),Sd=fu.update({id:`/ec2/(key)/import-key-pair`,path:`/ec2/import-key-pair`,getParentRoute:()=>Z}),Cd=pu.update({id:`/ec2/(launch-templates)/create-launch-template`,path:`/ec2/create-launch-template`,getParentRoute:()=>Z}),wd=mu.update({id:`/ec2/(load-balancers)/create-load-balancer`,path:`/ec2/create-load-balancer`,getParentRoute:()=>Z}),Td=hu.update({id:`/ec2/(nat-gateways)/create-nat-gateway`,path:`/ec2/create-nat-gateway`,getParentRoute:()=>Z}),Ed=gu.update({id:`/ec2/(placement-groups)/create-placement-group`,path:`/ec2/create-placement-group`,getParentRoute:()=>Z}),Dd=_u.update({id:`/ec2/(route-tables)/create-route-table`,path:`/ec2/create-route-table`,getParentRoute:()=>Z}),Od=vu.update({id:`/ec2/(security-groups)/create-security-group`,path:`/ec2/create-security-group`,getParentRoute:()=>Z}),kd=ur.update({id:`/ec2/(snapshots)/create-snapshot`,path:`/ec2/create-snapshot`,getParentRoute:()=>Z}),Ad=yu.update({id:`/ec2/(subnet)/create-subnet`,path:`/ec2/create-subnet`,getParentRoute:()=>Z}),jd=bu.update({id:`/ec2/(target-groups)/create-target-group`,path:`/ec2/create-target-group`,getParentRoute:()=>Z}),Md=xu.update({id:`/ec2/(volumes)/create-volume`,path:`/ec2/create-volume`,getParentRoute:()=>Z}),Nd=Su.update({id:`/ec2/(vpc)/create-vpc`,path:`/ec2/create-vpc`,getParentRoute:()=>Z}),Pd=dr.update({id:`/ecs/(clusters)/create-service`,path:`/ecs/create-service`,getParentRoute:()=>Z}),Fd=fr.update({id:`/ecs/(clusters)/register-task-definition`,path:`/ecs/register-task-definition`,getParentRoute:()=>Z}),Id=pr.update({id:`/ecs/(clusters)/run-task`,path:`/ecs/run-task`,getParentRoute:()=>Z}),Ld=Cu.update({id:`/ecs/(clusters)/task-definitions`,path:`/ecs/task-definitions`,getParentRoute:()=>Z}),Rd=wu.update({id:`/eks/(clusters)/create-cluster`,path:`/eks/create-cluster`,getParentRoute:()=>Z}),zd=Tu.update({id:`/iam/(groups)/create-group`,path:`/iam/create-group`,getParentRoute:()=>Z}),Bd=Eu.update({id:`/iam/(instance-profiles)/create-instance-profile`,path:`/iam/create-instance-profile`,getParentRoute:()=>Z}),Vd=Du.update({id:`/iam/(policies)/create-policy`,path:`/iam/create-policy`,getParentRoute:()=>Z}),Hd=Ou.update({id:`/iam/(roles)/create-role`,path:`/iam/create-role`,getParentRoute:()=>Z}),Ud=ku.update({id:`/iam/(users)/create-user`,path:`/iam/create-user`,getParentRoute:()=>Z}),Wd=Au.update({id:`/rds/(db-instances)/create-db-instance`,path:`/rds/create-db-instance`,getParentRoute:()=>Z}),Gd=ju.update({id:`/rds/(parameter-groups)/create-db-parameter-group`,path:`/rds/create-db-parameter-group`,getParentRoute:()=>Z}),Kd=Mu.update({id:`/rds/(subnet-groups)/create-db-subnet-group`,path:`/rds/create-db-subnet-group`,getParentRoute:()=>Z}),qd=Nu.update({id:`/s3/(buckets)/create-bucket`,path:`/s3/create-bucket`,getParentRoute:()=>Z}),Jd=Pu.update({id:`/s3/ls/`,path:`/s3/ls/`,getParentRoute:()=>Z}),Yd=Fu.update({id:`/s3/ls/$bucket`,path:`/s3/ls/$bucket`,getParentRoute:()=>Z}),Xd=Iu.update({id:`/(catalog)/list-model-catalog/`,path:`/list-model-catalog/`,getParentRoute:()=>hd}),Zd=Lu.update({id:`/(guardrails)/list-guardrails/`,path:`/list-guardrails/`,getParentRoute:()=>hd}),Qd=Ru.update({id:`/(guardrails)/list-guardrails/create`,path:`/list-guardrails/create`,getParentRoute:()=>hd}),$d=zu.update({id:`/(knowledge-bases)/list-knowledge-bases/`,path:`/list-knowledge-bases/`,getParentRoute:()=>hd}),ef=mr.update({id:`/(knowledge-bases)/list-knowledge-bases/$knowledgeBaseId`,path:`/list-knowledge-bases/$knowledgeBaseId`,getParentRoute:()=>hd}),tf=Bu.update({id:`/(knowledge-bases)/list-knowledge-bases/create`,path:`/list-knowledge-bases/create`,getParentRoute:()=>hd}),nf=Vu.update({id:`/(model-access)/list-model-access/`,path:`/list-model-access/`,getParentRoute:()=>hd}),rf=Hu.update({id:`/(playground)/playground/`,path:`/playground/`,getParentRoute:()=>hd}),af=Uu.update({id:`/ec2/(elastic-ips)/describe-addresses/`,path:`/ec2/describe-addresses/`,getParentRoute:()=>Z}),of=hr.update({id:`/ec2/(elastic-ips)/describe-addresses/$id`,path:`/ec2/describe-addresses/$id`,getParentRoute:()=>Z}),sf=Wu.update({id:`/ec2/(images)/describe-images/`,path:`/ec2/describe-images/`,getParentRoute:()=>Z}),cf=gr.update({id:`/ec2/(images)/describe-images/$id`,path:`/ec2/describe-images/$id`,getParentRoute:()=>Z}),lf=Gu.update({id:`/ec2/(instances)/describe-instances/`,path:`/ec2/describe-instances/`,getParentRoute:()=>Z}),uf=_r.update({id:`/ec2/(instances)/describe-instances/$id`,path:`/ec2/describe-instances/$id`,getParentRoute:()=>Z}),df=Ku.update({id:`/ec2/(internet-gateways)/describe-internet-gateways/`,path:`/ec2/describe-internet-gateways/`,getParentRoute:()=>Z}),ff=vr.update({id:`/ec2/(internet-gateways)/describe-internet-gateways/$id`,path:`/ec2/describe-internet-gateways/$id`,getParentRoute:()=>Z}),Q=qu.update({id:`/ec2/(key)/describe-key-pairs/`,path:`/ec2/describe-key-pairs/`,getParentRoute:()=>Z}),pf=yr.update({id:`/ec2/(key)/describe-key-pairs/$id`,path:`/ec2/describe-key-pairs/$id`,getParentRoute:()=>Z}),mf=Ju.update({id:`/ec2/(launch-templates)/describe-launch-templates/`,path:`/ec2/describe-launch-templates/`,getParentRoute:()=>Z}),hf=br.update({id:`/ec2/(launch-templates)/describe-launch-templates/$id`,path:`/ec2/describe-launch-templates/$id`,getParentRoute:()=>Z}),gf=Yu.update({id:`/ec2/(load-balancers)/describe-load-balancers/`,path:`/ec2/describe-load-balancers/`,getParentRoute:()=>Z}),_f=xr.update({id:`/ec2/(load-balancers)/describe-load-balancers/$id`,path:`/ec2/describe-load-balancers/$id`,getParentRoute:()=>Z}),vf=Xu.update({id:`/ec2/(nat-gateways)/describe-nat-gateways/`,path:`/ec2/describe-nat-gateways/`,getParentRoute:()=>Z}),yf=Sr.update({id:`/ec2/(nat-gateways)/describe-nat-gateways/$id`,path:`/ec2/describe-nat-gateways/$id`,getParentRoute:()=>Z}),bf=Zu.update({id:`/ec2/(placement-groups)/describe-placement-groups/`,path:`/ec2/describe-placement-groups/`,getParentRoute:()=>Z}),xf=Cr.update({id:`/ec2/(placement-groups)/describe-placement-groups/$id`,path:`/ec2/describe-placement-groups/$id`,getParentRoute:()=>Z}),Sf=Qu.update({id:`/ec2/(route-tables)/describe-route-tables/`,path:`/ec2/describe-route-tables/`,getParentRoute:()=>Z}),Cf=wr.update({id:`/ec2/(route-tables)/describe-route-tables/$id`,path:`/ec2/describe-route-tables/$id`,getParentRoute:()=>Z}),wf=q.update({id:`/ec2/(security-groups)/describe-security-groups/`,path:`/ec2/describe-security-groups/`,getParentRoute:()=>Z}),Tf=ct.update({id:`/ec2/(security-groups)/describe-security-groups/$id`,path:`/ec2/describe-security-groups/$id`,getParentRoute:()=>Z}),Ef=$u.update({id:`/ec2/(snapshots)/describe-snapshots/`,path:`/ec2/describe-snapshots/`,getParentRoute:()=>Z}),Df=rt.update({id:`/ec2/(snapshots)/describe-snapshots/$id`,path:`/ec2/describe-snapshots/$id`,getParentRoute:()=>Z}),Of=J.update({id:`/ec2/(subnet)/describe-subnets/`,path:`/ec2/describe-subnets/`,getParentRoute:()=>Z}),kf=Tr.update({id:`/ec2/(subnet)/describe-subnets/$id`,path:`/ec2/describe-subnets/$id`,getParentRoute:()=>Z}),Af=Y.update({id:`/ec2/(target-groups)/describe-target-groups/`,path:`/ec2/describe-target-groups/`,getParentRoute:()=>Z}),jf=Er.update({id:`/ec2/(target-groups)/describe-target-groups/$id`,path:`/ec2/describe-target-groups/$id`,getParentRoute:()=>Z}),Mf=X.update({id:`/ec2/(volumes)/describe-volumes/`,path:`/ec2/describe-volumes/`,getParentRoute:()=>Z}),Nf=Dr.update({id:`/ec2/(volumes)/describe-volumes/$id`,path:`/ec2/describe-volumes/$id`,getParentRoute:()=>Z}),Pf=Or.update({id:`/ec2/(volumes)/modify-volume/$id`,path:`/ec2/modify-volume/$id`,getParentRoute:()=>Z}),Ff=ed.update({id:`/ec2/(vpc)/describe-vpcs/`,path:`/ec2/describe-vpcs/`,getParentRoute:()=>Z}),If=kr.update({id:`/ec2/(vpc)/describe-vpcs/$id`,path:`/ec2/describe-vpcs/$id`,getParentRoute:()=>Z}),Lf=td.update({id:`/ecr/(repositories)/list-repositories/`,path:`/ecr/list-repositories/`,getParentRoute:()=>Z}),Rf=Ar.update({id:`/ecr/(repositories)/list-repositories/$id`,path:`/ecr/list-repositories/$id`,getParentRoute:()=>Z}),zf=nd.update({id:`/ecs/(clusters)/list-clusters/`,path:`/ecs/list-clusters/`,getParentRoute:()=>Z}),Bf=jr.update({id:`/ecs/(clusters)/list-clusters/$clusterName`,path:`/ecs/list-clusters/$clusterName`,getParentRoute:()=>Z}),$=rd.update({id:`/eks/(clusters)/list-clusters/`,path:`/eks/list-clusters/`,getParentRoute:()=>Z}),Vf=ot.update({id:`/eks/(clusters)/list-clusters/$clusterName`,path:`/eks/list-clusters/$clusterName`,getParentRoute:()=>Z}),Hf=id.update({id:`/iam/(groups)/list-groups/`,path:`/iam/list-groups/`,getParentRoute:()=>Z}),Uf=Mr.update({id:`/iam/(groups)/list-groups/$groupName`,path:`/iam/list-groups/$groupName`,getParentRoute:()=>Z}),Wf=ad.update({id:`/iam/(instance-profiles)/list-instance-profiles/`,path:`/iam/list-instance-profiles/`,getParentRoute:()=>Z}),Gf=Nr.update({id:`/iam/(instance-profiles)/list-instance-profiles/$instanceProfileName`,path:`/iam/list-instance-profiles/$instanceProfileName`,getParentRoute:()=>Z}),Kf=od.update({id:`/iam/(policies)/list-policies/`,path:`/iam/list-policies/`,getParentRoute:()=>Z}),qf=Pr.update({id:`/iam/(policies)/list-policies/$policyArn`,path:`/iam/list-policies/$policyArn`,getParentRoute:()=>Z}),Jf=sd.update({id:`/iam/(roles)/list-roles/`,path:`/iam/list-roles/`,getParentRoute:()=>Z}),Yf=Fr.update({id:`/iam/(roles)/list-roles/$roleName`,path:`/iam/list-roles/$roleName`,getParentRoute:()=>Z}),Xf=cd.update({id:`/iam/(users)/list-users/`,path:`/iam/list-users/`,getParentRoute:()=>Z}),Zf=Ir.update({id:`/iam/(users)/list-users/$userName`,path:`/iam/list-users/$userName`,getParentRoute:()=>Z}),Qf=ld.update({id:`/rds/(db-instances)/describe-db-instances/`,path:`/rds/describe-db-instances/`,getParentRoute:()=>Z}),$f=Lr.update({id:`/rds/(db-instances)/describe-db-instances/$id`,path:`/rds/describe-db-instances/$id`,getParentRoute:()=>Z}),ep=ud.update({id:`/rds/(parameter-groups)/describe-db-parameter-groups/`,path:`/rds/describe-db-parameter-groups/`,getParentRoute:()=>Z}),tp=Rr.update({id:`/rds/(parameter-groups)/describe-db-parameter-groups/$name`,path:`/rds/describe-db-parameter-groups/$name`,getParentRoute:()=>Z}),np=dd.update({id:`/rds/(snapshots)/describe-db-snapshots/`,path:`/rds/describe-db-snapshots/`,getParentRoute:()=>Z}),rp=zr.update({id:`/rds/(snapshots)/describe-db-snapshots/$id`,path:`/rds/describe-db-snapshots/$id`,getParentRoute:()=>Z}),ip=Br.update({id:`/rds/(snapshots)/restore-db-instance-from-db-snapshot/$id`,path:`/rds/restore-db-instance-from-db-snapshot/$id`,getParentRoute:()=>Z}),ap=fd.update({id:`/rds/(subnet-groups)/describe-db-subnet-groups/`,path:`/rds/describe-db-subnet-groups/`,getParentRoute:()=>Z}),op=Vr.update({id:`/rds/(subnet-groups)/describe-db-subnet-groups/$name`,path:`/rds/describe-db-subnet-groups/$name`,getParentRoute:()=>Z}),sp=Hr.update({id:`/`,path:`/`,getParentRoute:()=>Yd}),cp=Ur.update({id:`/$`,path:`/$`,getParentRoute:()=>Yd}),lp=Wr.update({id:`/(guardrails)/list-guardrails/$guardrailId/`,path:`/list-guardrails/$guardrailId/`,getParentRoute:()=>hd}),up=Gr.update({id:`/(guardrails)/list-guardrails/$guardrailId/edit`,path:`/list-guardrails/$guardrailId/edit`,getParentRoute:()=>hd}),dp=Kr.update({id:`/ecs/(clusters)/list-clusters/$clusterName_/services/$serviceName`,path:`/ecs/list-clusters/$clusterName/services/$serviceName`,getParentRoute:()=>Z}),fp=qr.update({id:`/ecs/(clusters)/list-clusters/$clusterName_/tasks/$taskId`,path:`/ecs/list-clusters/$clusterName/tasks/$taskId`,getParentRoute:()=>Z}),pp={AuthBedrockguardrailsListGuardrailsCreateRoute:Qd,AuthBedrockknowledgeBasesListKnowledgeBasesKnowledgeBaseIdRoute:ef,AuthBedrockknowledgeBasesListKnowledgeBasesCreateRoute:tf,AuthBedrockcatalogListModelCatalogIndexRoute:Xd,AuthBedrockguardrailsListGuardrailsIndexRoute:Zd,AuthBedrockknowledgeBasesListKnowledgeBasesIndexRoute:$d,AuthBedrockmodelAccessListModelAccessIndexRoute:nf,AuthBedrockplaygroundPlaygroundIndexRoute:rf,AuthBedrockguardrailsListGuardrailsGuardrailIdEditRoute:up,AuthBedrockguardrailsListGuardrailsGuardrailIdIndexRoute:lp},mp=hd._addFileChildren(pp),hp={AuthS3LsBucketSplatRoute:cp,AuthS3LsBucketIndexRoute:sp},gp={AuthBedrockRouteRoute:mp,AuthNodesRoute:gd,AuthIndexRoute:md,AuthS3ServiceMetricsRoute:_d,AuthS3LsBucketRouteRoute:Yd._addFileChildren(hp),AuthEc2elasticIpsAllocateAddressRoute:vd,AuthEc2instancesRunInstancesRoute:yd,AuthEc2internetGatewaysCreateInternetGatewayRoute:bd,AuthEc2keyCreateKeyPairRoute:xd,AuthEc2keyImportKeyPairRoute:Sd,AuthEc2launchTemplatesCreateLaunchTemplateRoute:Cd,AuthEc2loadBalancersCreateLoadBalancerRoute:wd,AuthEc2natGatewaysCreateNatGatewayRoute:Td,AuthEc2placementGroupsCreatePlacementGroupRoute:Ed,AuthEc2routeTablesCreateRouteTableRoute:Dd,AuthEc2securityGroupsCreateSecurityGroupRoute:Od,AuthEc2snapshotsCreateSnapshotRoute:kd,AuthEc2subnetCreateSubnetRoute:Ad,AuthEc2targetGroupsCreateTargetGroupRoute:jd,AuthEc2volumesCreateVolumeRoute:Md,AuthEc2vpcCreateVpcRoute:Nd,AuthEcsclustersCreateServiceRoute:Pd,AuthEcsclustersRegisterTaskDefinitionRoute:Fd,AuthEcsclustersRunTaskRoute:Id,AuthEcsclustersTaskDefinitionsRoute:Ld,AuthEksclustersCreateClusterRoute:Rd,AuthIamgroupsCreateGroupRoute:zd,AuthIaminstanceProfilesCreateInstanceProfileRoute:Bd,AuthIampoliciesCreatePolicyRoute:Vd,AuthIamrolesCreateRoleRoute:Hd,AuthIamusersCreateUserRoute:Ud,AuthRdsdbInstancesCreateDbInstanceRoute:Wd,AuthRdsparameterGroupsCreateDbParameterGroupRoute:Gd,AuthRdssubnetGroupsCreateDbSubnetGroupRoute:Kd,AuthS3bucketsCreateBucketRoute:qd,AuthS3LsIndexRoute:Jd,AuthEc2elasticIpsDescribeAddressesIdRoute:of,AuthEc2imagesDescribeImagesIdRoute:cf,AuthEc2instancesDescribeInstancesIdRoute:uf,AuthEc2internetGatewaysDescribeInternetGatewaysIdRoute:ff,AuthEc2keyDescribeKeyPairsIdRoute:pf,AuthEc2launchTemplatesDescribeLaunchTemplatesIdRoute:hf,AuthEc2loadBalancersDescribeLoadBalancersIdRoute:_f,AuthEc2natGatewaysDescribeNatGatewaysIdRoute:yf,AuthEc2placementGroupsDescribePlacementGroupsIdRoute:xf,AuthEc2routeTablesDescribeRouteTablesIdRoute:Cf,AuthEc2securityGroupsDescribeSecurityGroupsIdRoute:Tf,AuthEc2snapshotsDescribeSnapshotsIdRoute:Df,AuthEc2subnetDescribeSubnetsIdRoute:kf,AuthEc2targetGroupsDescribeTargetGroupsIdRoute:jf,AuthEc2volumesDescribeVolumesIdRoute:Nf,AuthEc2volumesModifyVolumeIdRoute:Pf,AuthEc2vpcDescribeVpcsIdRoute:If,AuthEcrrepositoriesListRepositoriesIdRoute:Rf,AuthEcsclustersListClustersClusterNameRoute:Bf,AuthEksclustersListClustersClusterNameRoute:Vf,AuthIamgroupsListGroupsGroupNameRoute:Uf,AuthIaminstanceProfilesListInstanceProfilesInstanceProfileNameRoute:Gf,AuthIampoliciesListPoliciesPolicyArnRoute:qf,AuthIamrolesListRolesRoleNameRoute:Yf,AuthIamusersListUsersUserNameRoute:Zf,AuthRdsdbInstancesDescribeDbInstancesIdRoute:$f,AuthRdsparameterGroupsDescribeDbParameterGroupsNameRoute:tp,AuthRdssnapshotsDescribeDbSnapshotsIdRoute:rp,AuthRdssnapshotsRestoreDbInstanceFromDbSnapshotIdRoute:ip,AuthRdssubnetGroupsDescribeDbSubnetGroupsNameRoute:op,AuthEc2elasticIpsDescribeAddressesIndexRoute:af,AuthEc2imagesDescribeImagesIndexRoute:sf,AuthEc2instancesDescribeInstancesIndexRoute:lf,AuthEc2internetGatewaysDescribeInternetGatewaysIndexRoute:df,AuthEc2keyDescribeKeyPairsIndexRoute:Q,AuthEc2launchTemplatesDescribeLaunchTemplatesIndexRoute:mf,AuthEc2loadBalancersDescribeLoadBalancersIndexRoute:gf,AuthEc2natGatewaysDescribeNatGatewaysIndexRoute:vf,AuthEc2placementGroupsDescribePlacementGroupsIndexRoute:bf,AuthEc2routeTablesDescribeRouteTablesIndexRoute:Sf,AuthEc2securityGroupsDescribeSecurityGroupsIndexRoute:wf,AuthEc2snapshotsDescribeSnapshotsIndexRoute:Ef,AuthEc2subnetDescribeSubnetsIndexRoute:Of,AuthEc2targetGroupsDescribeTargetGroupsIndexRoute:Af,AuthEc2volumesDescribeVolumesIndexRoute:Mf,AuthEc2vpcDescribeVpcsIndexRoute:Ff,AuthEcrrepositoriesListRepositoriesIndexRoute:Lf,AuthEcsclustersListClustersIndexRoute:zf,AuthEksclustersListClustersIndexRoute:$,AuthIamgroupsListGroupsIndexRoute:Hf,AuthIaminstanceProfilesListInstanceProfilesIndexRoute:Wf,AuthIampoliciesListPoliciesIndexRoute:Kf,AuthIamrolesListRolesIndexRoute:Jf,AuthIamusersListUsersIndexRoute:Xf,AuthRdsdbInstancesDescribeDbInstancesIndexRoute:Qf,AuthRdsparameterGroupsDescribeDbParameterGroupsIndexRoute:ep,AuthRdssnapshotsDescribeDbSnapshotsIndexRoute:np,AuthRdssubnetGroupsDescribeDbSubnetGroupsIndexRoute:ap,AuthEcsclustersListClustersClusterNameServicesServiceNameRoute:dp,AuthEcsclustersListClustersClusterNameTasksTaskIdRoute:fp},_p={AuthRouteRoute:Z._addFileChildren(gp),LoginRoute:pd},vp=K._addFileChildren(_p)._addFileTypes(),yp=Zl(),bp=H({routeTree:vp,context:{queryClient:yp},defaultPreload:`intent`,scrollRestoration:!0,defaultStructuralSharing:!0,defaultPreloadStaleTime:0});async function xp(e){try{await Ke()}catch(t){e.render((0,V.jsxs)(`div`,{style:{fontFamily:`sans-serif`,margin:`4rem auto`,maxWidth:`40rem`},children:[(0,V.jsx)(`h1`,{children:`Console unavailable`}),(0,V.jsx)(`p`,{children:`This cluster did not report its region, so the console cannot sign requests. Check that the serving node has a region set in its configuration.`}),(0,V.jsx)(`pre`,{children:t instanceof Error?t.message:String(t)})]}));return}e.render((0,V.jsx)(B.StrictMode,{children:(0,V.jsx)(rs,{defaultTheme:`dark`,storageKey:`spinifex-ui-theme`,children:(0,V.jsx)(p,{client:yp,children:(0,V.jsx)(Cn,{children:(0,V.jsx)(Ml,{children:(0,V.jsx)(Uo,{router:bp})})})})})}))}var Sp=document.querySelector(`#app`);Sp&&!Sp.innerHTML&&await xp(es.createRoot(Sp)); \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/inline-policies-panel-BzXIjEbl.js b/spinifex/services/spinifexui/frontend/dist/assets/inline-policies-panel-Bjqkq9_Q.js similarity index 99% rename from spinifex/services/spinifexui/frontend/dist/assets/inline-policies-panel-BzXIjEbl.js rename to spinifex/services/spinifexui/frontend/dist/assets/inline-policies-panel-Bjqkq9_Q.js index 580d04de7..2c6309c88 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/inline-policies-panel-BzXIjEbl.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/inline-policies-panel-Bjqkq9_Q.js @@ -1 +1 @@ -import{n as e,o as t,r as n,t as r}from"./compiler-runtime-D_vZfn79.js";import{t as i}from"./useQuery-2EKf7AyV.js";import{t as a}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as o}from"./button-C9VMD5Xn.js";import{t as s}from"./input-CBUMH1Jl.js";import{C as c,E as l,S as u,T as d,a as f,b as p,i as m,m as h,r as g,v as _,w as v,x as y}from"./iam-BhvTeEfR.js";import{_ as b,a as x,b as S,g as C,i as w,n as T,o as E,p as D,r as O,x as k}from"./iam-3D5jlLAz.js";import{r as A}from"./json-CeLiNx_J.js";import{t as j}from"./error-banner-DeOeVBKS.js";import{r as M,s as N,t as P}from"./field-BKQO3cRo.js";import{t as F}from"./delete-confirmation-dialog-8byauM7I.js";import{n as I}from"./detail-row-DNBRlVeK.js";import{t as L}from"./json-editor-C0uKwIA1.js";import{s as R}from"./iam-CADYUEJg.js";var z=t(n(),1),B=e();function V(e,t){return{run:async n=>await e.mutateAsync(t(n)),error:e.error}}function H({kind:e,name:t}){let n=f(),r=m(),i=g(),s=c(),l=u(),d=y(),{listQuery:p,attach:h,detach:_}={user:{listQuery:w,attach:V(n,e=>({userName:t,policyArn:e})),detach:V(s,e=>({userName:t,policyArn:e}))},role:{listQuery:O,attach:V(r,e=>({roleName:t,policyArn:e})),detach:V(l,e=>({roleName:t,policyArn:e}))},group:{listQuery:T,attach:V(i,e=>({groupName:t,policyArn:e})),detach:V(d,e=>({groupName:t,policyArn:e}))}}[e],{data:v}=a(p(t)),{data:b}=a(D),[x,S]=(0,z.useState)(!1),[C,E]=(0,z.useState)(null),k=v.AttachedPolicies??[],A=b.Policies??[],M=new Set(k.map(e=>e.PolicyArn)),N=A.filter(e=>e.Arn&&!M.has(e.Arn)),P=async e=>{E(e);try{await h.run(e),S(!1)}catch{}finally{E(null)}},F=async e=>{E(e);try{await _.run(e)}catch{}finally{E(null)}};return(0,B.jsxs)(I,{children:[(0,B.jsx)(I.Header,{children:(0,B.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,B.jsx)(`span`,{children:`Attached Policies`}),(0,B.jsx)(o,{onClick:()=>{S(!x)},size:`sm`,children:`Attach Policy`})]})}),(0,B.jsxs)(I.Content,{children:[h.error&&(0,B.jsx)(`div`,{className:`col-span-2`,children:(0,B.jsx)(j,{error:h.error,msg:`Failed to attach policy`})}),_.error&&(0,B.jsx)(`div`,{className:`col-span-2`,children:(0,B.jsx)(j,{error:_.error,msg:`Failed to detach policy`})}),x&&N.length>0&&(0,B.jsxs)(`div`,{className:`col-span-2 space-y-2 rounded-md border p-3`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium`,children:`Select a policy to attach:`}),(0,B.jsx)(`div`,{className:`space-y-1`,children:N.map(e=>(0,B.jsxs)(`button`,{className:`flex w-full items-center justify-between rounded-md p-2 text-left text-sm hover:bg-accent`,disabled:C===e.Arn,onClick:()=>{e.Arn&&P(e.Arn)},type:`button`,children:[(0,B.jsx)(`span`,{children:e.PolicyName}),(0,B.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.Arn))})]}),x&&N.length===0&&(0,B.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No policies available to attach.`}),k.length>0?(0,B.jsx)(`div`,{className:`col-span-2 space-y-3`,children:k.map(e=>(0,B.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,B.jsxs)(`div`,{className:`space-y-1`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium`,children:e.PolicyName}),(0,B.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:e.PolicyArn})]}),(0,B.jsx)(o,{disabled:C===e.PolicyArn,onClick:()=>{e.PolicyArn&&F(e.PolicyArn)},size:`sm`,variant:`outline`,children:`Detach`})]},e.PolicyArn))}):(0,B.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No attached policies.`})]})]})}var U=r(),W=JSON.stringify({Version:`2012-10-17`,Statement:[{Effect:`Allow`,Action:`*`,Resource:`*`}]},null,2);function G({kind:e,name:t}){let n=l(),r=d(),i=v(),s=p(),c=_(),u=h(),{listQuery:f,policyQuery:m,put:g,remove:y}={user:{listQuery:S,policyQuery:k,put:n,remove:s},role:{listQuery:C,policyQuery:b,put:r,remove:c},group:{listQuery:x,policyQuery:E,put:i,remove:u}}[e],{data:w}=a(f(t)),T=w.PolicyNames??[],[D,O]=(0,z.useState)(!1),[A,M]=(0,z.useState)(null),[N,P]=(0,z.useState)(null),L=async()=>{if(!N)return;let e=N;try{await y.mutateAsync({name:t,policyName:e}),A===e&&M(null)}finally{P(null)}};return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(I,{children:[(0,B.jsx)(I.Header,{children:(0,B.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,B.jsx)(`span`,{children:`Inline Policies`}),(0,B.jsx)(o,{onClick:()=>{O(e=>!e),M(null)},size:`sm`,children:`Add Inline Policy`})]})}),(0,B.jsxs)(I.Content,{children:[y.error&&(0,B.jsx)(`div`,{className:`col-span-2`,children:(0,B.jsx)(j,{error:y.error,msg:`Failed to delete inline policy`})}),D&&(0,B.jsx)(`div`,{className:`col-span-2`,children:(0,B.jsx)(K,{name:t,onClose:()=>{O(!1)},put:g})}),T.length>0?(0,B.jsx)(`div`,{className:`col-span-2 space-y-3`,children:T.map(e=>(0,B.jsxs)(`div`,{className:`rounded-md border`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between p-3`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium`,children:e}),(0,B.jsxs)(`div`,{className:`flex gap-2`,children:[(0,B.jsx)(o,{onClick:()=>{M(t=>t===e?null:e)},size:`sm`,variant:`outline`,children:A===e?`Close`:`Edit`}),(0,B.jsx)(o,{onClick:()=>{P(e)},size:`sm`,variant:`destructive`,children:`Delete`})]})]}),A===e&&(0,B.jsx)(`div`,{className:`border-t p-3`,children:(0,B.jsx)(J,{name:t,onClose:()=>{M(null)},policyName:e,put:g,queryOptions:m(t,e)})})]},e))}):!D&&(0,B.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No inline policies.`})]})]}),(0,B.jsx)(F,{description:`Are you sure you want to delete the inline policy "${N??``}"? This action cannot be undone.`,isPending:y.isPending,onConfirm:()=>{L()},onOpenChange:e=>{e||P(null)},open:N!==null,title:`Delete Inline Policy`})]})}function K(e){let t=(0,U.c)(50),{name:n,put:r,onClose:i}=e,[a,c]=(0,z.useState)(``),[l,u]=(0,z.useState)(W),d,f;t[0]!==l||t[1]!==a?(d=R.safeParse({policyName:a,policyDocument:l}),f=d.success?void 0:d.error.issues.find(q),t[0]=l,t[1]=a,t[2]=d,t[3]=f):(d=t[2],f=t[3]);let p=f,m;t[4]!==p||t[5]!==a?(m=a.trim().length>0&&!!p,t[4]=p,t[5]=a,t[6]=m):m=t[6];let h=m,g;t[7]===l?g=t[8]:(g=l.trim().length>0&&!A(l),t[7]=l,t[8]=g);let _=g,v;t[9]!==l||t[10]!==n||t[11]!==i||t[12]!==a||t[13]!==r?(v=async()=>{try{await r.mutateAsync({name:n,policyName:a,policyDocument:l}),i()}catch{}},t[9]=l,t[10]=n,t[11]=i,t[12]=a,t[13]=r,t[14]=v):v=t[14];let y=v,b;t[15]===r.error?b=t[16]:(b=r.error&&(0,B.jsx)(j,{error:r.error,msg:`Failed to add inline policy`}),t[15]=r.error,t[16]=b);let x;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,B.jsx)(N,{children:(0,B.jsx)(`label`,{htmlFor:`inline-policy-name`,children:`Policy name`})}),t[17]=x):x=t[17];let S;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(S=e=>{c(e.target.value)},t[18]=S):S=t[18];let C;t[19]!==a||t[20]!==h?(C=(0,B.jsx)(s,{"aria-invalid":h,id:`inline-policy-name`,onChange:S,placeholder:`my-inline-policy`,value:a}),t[19]=a,t[20]=h,t[21]=C):C=t[21];let w;t[22]!==p?.message||t[23]!==h?(w=h&&(0,B.jsx)(M,{errors:[{message:p?.message}]}),t[22]=p?.message,t[23]=h,t[24]=w):w=t[24];let T;t[25]!==C||t[26]!==w?(T=(0,B.jsxs)(P,{children:[x,C,w]}),t[25]=C,t[26]=w,t[27]=T):T=t[27];let E;t[28]!==l||t[29]!==_?(E=(0,B.jsx)(L,{className:`text-xs`,error:_,onChange:u,rows:12,value:l}),t[28]=l,t[29]=_,t[30]=E):E=t[30];let D;t[31]===_?D=t[32]:(D=_&&(0,B.jsx)(`p`,{className:`text-sm text-destructive`,children:`Policy must be valid JSON.`}),t[31]=_,t[32]=D);let O;t[33]===i?O=t[34]:(O=(0,B.jsx)(o,{onClick:i,size:`sm`,variant:`outline`,children:`Cancel`}),t[33]=i,t[34]=O);let k=!d.success||r.isPending,F;t[35]===y?F=t[36]:(F=()=>{y()},t[35]=y,t[36]=F);let I=r.isPending?`Saving…`:`Save`,V;t[37]!==k||t[38]!==F||t[39]!==I?(V=(0,B.jsx)(o,{disabled:k,onClick:F,size:`sm`,children:I}),t[37]=k,t[38]=F,t[39]=I,t[40]=V):V=t[40];let H;t[41]!==O||t[42]!==V?(H=(0,B.jsxs)(`div`,{className:`flex justify-end gap-2`,children:[O,V]}),t[41]=O,t[42]=V,t[43]=H):H=t[43];let G;return t[44]!==T||t[45]!==E||t[46]!==D||t[47]!==H||t[48]!==b?(G=(0,B.jsxs)(`div`,{className:`space-y-3 rounded-md border p-3`,children:[b,T,E,D,H]}),t[44]=T,t[45]=E,t[46]=D,t[47]=H,t[48]=b,t[49]=G):G=t[49],G}function q(e){return e.path[0]===`policyName`}function J(e){let t=(0,U.c)(37),{name:n,policyName:r,queryOptions:a,put:s,onClose:c}=e,{data:l,isLoading:u,error:d}=i(a),[f,p]=(0,z.useState)(l??``),[m,h]=(0,z.useState)(l);l!==m&&(h(l),p(l??``));let g;t[0]===f?g=t[1]:(g=f.trim(),t[0]=f,t[1]=g);let _=g,v;t[2]!==f||t[3]!==_.length?(v=_.length>0&&!A(f),t[2]=f,t[3]=_.length,t[4]=v):v=t[4];let y=v,b;t[5]!==f||t[6]!==n||t[7]!==c||t[8]!==r||t[9]!==s?(b=async()=>{try{await s.mutateAsync({name:n,policyName:r,policyDocument:f}),c()}catch{}},t[5]=f,t[6]=n,t[7]=c,t[8]=r,t[9]=s,t[10]=b):b=t[10];let x=b;if(u){let e;return t[11]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,B.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading…`}),t[11]=e):e=t[11],e}if(d){let e;return t[12]===d?e=t[13]:(e=(0,B.jsx)(j,{error:d,msg:`Failed to load inline policy`}),t[12]=d,t[13]=e),e}let S;t[14]===s.error?S=t[15]:(S=s.error&&(0,B.jsx)(j,{error:s.error,msg:`Failed to update inline policy`}),t[14]=s.error,t[15]=S);let C;t[16]!==f||t[17]!==y?(C=(0,B.jsx)(L,{className:`text-xs`,error:y,onChange:p,rows:12,value:f}),t[16]=f,t[17]=y,t[18]=C):C=t[18];let w;t[19]===y?w=t[20]:(w=y&&(0,B.jsx)(`p`,{className:`text-sm text-destructive`,children:`Policy must be valid JSON.`}),t[19]=y,t[20]=w);let T;t[21]===c?T=t[22]:(T=(0,B.jsx)(o,{onClick:c,size:`sm`,variant:`outline`,children:`Cancel`}),t[21]=c,t[22]=T);let E=s.isPending||_.length===0||y,D;t[23]===x?D=t[24]:(D=()=>{x()},t[23]=x,t[24]=D);let O=s.isPending?`Saving…`:`Save`,k;t[25]!==O||t[26]!==E||t[27]!==D?(k=(0,B.jsx)(o,{disabled:E,onClick:D,size:`sm`,children:O}),t[25]=O,t[26]=E,t[27]=D,t[28]=k):k=t[28];let M;t[29]!==k||t[30]!==T?(M=(0,B.jsxs)(`div`,{className:`flex justify-end gap-2`,children:[T,k]}),t[29]=k,t[30]=T,t[31]=M):M=t[31];let N;return t[32]!==M||t[33]!==S||t[34]!==C||t[35]!==w?(N=(0,B.jsxs)(`div`,{className:`space-y-3`,children:[S,C,w,M]}),t[32]=M,t[33]=S,t[34]=C,t[35]=w,t[36]=N):N=t[36],N}export{H as n,G as t}; \ No newline at end of file +import{n as e,o as t,r as n,t as r}from"./compiler-runtime-D_vZfn79.js";import{t as i}from"./useQuery-2EKf7AyV.js";import{t as a}from"./useSuspenseQuery-Bc7E1P-f.js";import{t as o}from"./button-C9VMD5Xn.js";import{t as s}from"./input-CBUMH1Jl.js";import{C as c,E as l,S as u,T as d,a as f,b as p,i as m,m as h,r as g,v as _,w as v,x as y}from"./iam-DtFzCnrP.js";import{_ as b,a as x,b as S,g as C,i as w,n as T,o as E,p as D,r as O,x as k}from"./iam-3D5jlLAz.js";import{r as A}from"./json-CeLiNx_J.js";import{t as j}from"./error-banner-DeOeVBKS.js";import{r as M,s as N,t as P}from"./field-BKQO3cRo.js";import{t as F}from"./delete-confirmation-dialog-8byauM7I.js";import{n as I}from"./detail-row-DNBRlVeK.js";import{t as L}from"./json-editor-C0uKwIA1.js";import{s as R}from"./iam-CADYUEJg.js";var z=t(n(),1),B=e();function V(e,t){return{run:async n=>await e.mutateAsync(t(n)),error:e.error}}function H({kind:e,name:t}){let n=f(),r=m(),i=g(),s=c(),l=u(),d=y(),{listQuery:p,attach:h,detach:_}={user:{listQuery:w,attach:V(n,e=>({userName:t,policyArn:e})),detach:V(s,e=>({userName:t,policyArn:e}))},role:{listQuery:O,attach:V(r,e=>({roleName:t,policyArn:e})),detach:V(l,e=>({roleName:t,policyArn:e}))},group:{listQuery:T,attach:V(i,e=>({groupName:t,policyArn:e})),detach:V(d,e=>({groupName:t,policyArn:e}))}}[e],{data:v}=a(p(t)),{data:b}=a(D),[x,S]=(0,z.useState)(!1),[C,E]=(0,z.useState)(null),k=v.AttachedPolicies??[],A=b.Policies??[],M=new Set(k.map(e=>e.PolicyArn)),N=A.filter(e=>e.Arn&&!M.has(e.Arn)),P=async e=>{E(e);try{await h.run(e),S(!1)}catch{}finally{E(null)}},F=async e=>{E(e);try{await _.run(e)}catch{}finally{E(null)}};return(0,B.jsxs)(I,{children:[(0,B.jsx)(I.Header,{children:(0,B.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,B.jsx)(`span`,{children:`Attached Policies`}),(0,B.jsx)(o,{onClick:()=>{S(!x)},size:`sm`,children:`Attach Policy`})]})}),(0,B.jsxs)(I.Content,{children:[h.error&&(0,B.jsx)(`div`,{className:`col-span-2`,children:(0,B.jsx)(j,{error:h.error,msg:`Failed to attach policy`})}),_.error&&(0,B.jsx)(`div`,{className:`col-span-2`,children:(0,B.jsx)(j,{error:_.error,msg:`Failed to detach policy`})}),x&&N.length>0&&(0,B.jsxs)(`div`,{className:`col-span-2 space-y-2 rounded-md border p-3`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium`,children:`Select a policy to attach:`}),(0,B.jsx)(`div`,{className:`space-y-1`,children:N.map(e=>(0,B.jsxs)(`button`,{className:`flex w-full items-center justify-between rounded-md p-2 text-left text-sm hover:bg-accent`,disabled:C===e.Arn,onClick:()=>{e.Arn&&P(e.Arn)},type:`button`,children:[(0,B.jsx)(`span`,{children:e.PolicyName}),(0,B.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.Arn))})]}),x&&N.length===0&&(0,B.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No policies available to attach.`}),k.length>0?(0,B.jsx)(`div`,{className:`col-span-2 space-y-3`,children:k.map(e=>(0,B.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,B.jsxs)(`div`,{className:`space-y-1`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium`,children:e.PolicyName}),(0,B.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:e.PolicyArn})]}),(0,B.jsx)(o,{disabled:C===e.PolicyArn,onClick:()=>{e.PolicyArn&&F(e.PolicyArn)},size:`sm`,variant:`outline`,children:`Detach`})]},e.PolicyArn))}):(0,B.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No attached policies.`})]})]})}var U=r(),W=JSON.stringify({Version:`2012-10-17`,Statement:[{Effect:`Allow`,Action:`*`,Resource:`*`}]},null,2);function G({kind:e,name:t}){let n=l(),r=d(),i=v(),s=p(),c=_(),u=h(),{listQuery:f,policyQuery:m,put:g,remove:y}={user:{listQuery:S,policyQuery:k,put:n,remove:s},role:{listQuery:C,policyQuery:b,put:r,remove:c},group:{listQuery:x,policyQuery:E,put:i,remove:u}}[e],{data:w}=a(f(t)),T=w.PolicyNames??[],[D,O]=(0,z.useState)(!1),[A,M]=(0,z.useState)(null),[N,P]=(0,z.useState)(null),L=async()=>{if(!N)return;let e=N;try{await y.mutateAsync({name:t,policyName:e}),A===e&&M(null)}finally{P(null)}};return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(I,{children:[(0,B.jsx)(I.Header,{children:(0,B.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,B.jsx)(`span`,{children:`Inline Policies`}),(0,B.jsx)(o,{onClick:()=>{O(e=>!e),M(null)},size:`sm`,children:`Add Inline Policy`})]})}),(0,B.jsxs)(I.Content,{children:[y.error&&(0,B.jsx)(`div`,{className:`col-span-2`,children:(0,B.jsx)(j,{error:y.error,msg:`Failed to delete inline policy`})}),D&&(0,B.jsx)(`div`,{className:`col-span-2`,children:(0,B.jsx)(K,{name:t,onClose:()=>{O(!1)},put:g})}),T.length>0?(0,B.jsx)(`div`,{className:`col-span-2 space-y-3`,children:T.map(e=>(0,B.jsxs)(`div`,{className:`rounded-md border`,children:[(0,B.jsxs)(`div`,{className:`flex items-center justify-between p-3`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium`,children:e}),(0,B.jsxs)(`div`,{className:`flex gap-2`,children:[(0,B.jsx)(o,{onClick:()=>{M(t=>t===e?null:e)},size:`sm`,variant:`outline`,children:A===e?`Close`:`Edit`}),(0,B.jsx)(o,{onClick:()=>{P(e)},size:`sm`,variant:`destructive`,children:`Delete`})]})]}),A===e&&(0,B.jsx)(`div`,{className:`border-t p-3`,children:(0,B.jsx)(J,{name:t,onClose:()=>{M(null)},policyName:e,put:g,queryOptions:m(t,e)})})]},e))}):!D&&(0,B.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No inline policies.`})]})]}),(0,B.jsx)(F,{description:`Are you sure you want to delete the inline policy "${N??``}"? This action cannot be undone.`,isPending:y.isPending,onConfirm:()=>{L()},onOpenChange:e=>{e||P(null)},open:N!==null,title:`Delete Inline Policy`})]})}function K(e){let t=(0,U.c)(50),{name:n,put:r,onClose:i}=e,[a,c]=(0,z.useState)(``),[l,u]=(0,z.useState)(W),d,f;t[0]!==l||t[1]!==a?(d=R.safeParse({policyName:a,policyDocument:l}),f=d.success?void 0:d.error.issues.find(q),t[0]=l,t[1]=a,t[2]=d,t[3]=f):(d=t[2],f=t[3]);let p=f,m;t[4]!==p||t[5]!==a?(m=a.trim().length>0&&!!p,t[4]=p,t[5]=a,t[6]=m):m=t[6];let h=m,g;t[7]===l?g=t[8]:(g=l.trim().length>0&&!A(l),t[7]=l,t[8]=g);let _=g,v;t[9]!==l||t[10]!==n||t[11]!==i||t[12]!==a||t[13]!==r?(v=async()=>{try{await r.mutateAsync({name:n,policyName:a,policyDocument:l}),i()}catch{}},t[9]=l,t[10]=n,t[11]=i,t[12]=a,t[13]=r,t[14]=v):v=t[14];let y=v,b;t[15]===r.error?b=t[16]:(b=r.error&&(0,B.jsx)(j,{error:r.error,msg:`Failed to add inline policy`}),t[15]=r.error,t[16]=b);let x;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,B.jsx)(N,{children:(0,B.jsx)(`label`,{htmlFor:`inline-policy-name`,children:`Policy name`})}),t[17]=x):x=t[17];let S;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(S=e=>{c(e.target.value)},t[18]=S):S=t[18];let C;t[19]!==a||t[20]!==h?(C=(0,B.jsx)(s,{"aria-invalid":h,id:`inline-policy-name`,onChange:S,placeholder:`my-inline-policy`,value:a}),t[19]=a,t[20]=h,t[21]=C):C=t[21];let w;t[22]!==p?.message||t[23]!==h?(w=h&&(0,B.jsx)(M,{errors:[{message:p?.message}]}),t[22]=p?.message,t[23]=h,t[24]=w):w=t[24];let T;t[25]!==C||t[26]!==w?(T=(0,B.jsxs)(P,{children:[x,C,w]}),t[25]=C,t[26]=w,t[27]=T):T=t[27];let E;t[28]!==l||t[29]!==_?(E=(0,B.jsx)(L,{className:`text-xs`,error:_,onChange:u,rows:12,value:l}),t[28]=l,t[29]=_,t[30]=E):E=t[30];let D;t[31]===_?D=t[32]:(D=_&&(0,B.jsx)(`p`,{className:`text-sm text-destructive`,children:`Policy must be valid JSON.`}),t[31]=_,t[32]=D);let O;t[33]===i?O=t[34]:(O=(0,B.jsx)(o,{onClick:i,size:`sm`,variant:`outline`,children:`Cancel`}),t[33]=i,t[34]=O);let k=!d.success||r.isPending,F;t[35]===y?F=t[36]:(F=()=>{y()},t[35]=y,t[36]=F);let I=r.isPending?`Saving…`:`Save`,V;t[37]!==k||t[38]!==F||t[39]!==I?(V=(0,B.jsx)(o,{disabled:k,onClick:F,size:`sm`,children:I}),t[37]=k,t[38]=F,t[39]=I,t[40]=V):V=t[40];let H;t[41]!==O||t[42]!==V?(H=(0,B.jsxs)(`div`,{className:`flex justify-end gap-2`,children:[O,V]}),t[41]=O,t[42]=V,t[43]=H):H=t[43];let G;return t[44]!==T||t[45]!==E||t[46]!==D||t[47]!==H||t[48]!==b?(G=(0,B.jsxs)(`div`,{className:`space-y-3 rounded-md border p-3`,children:[b,T,E,D,H]}),t[44]=T,t[45]=E,t[46]=D,t[47]=H,t[48]=b,t[49]=G):G=t[49],G}function q(e){return e.path[0]===`policyName`}function J(e){let t=(0,U.c)(37),{name:n,policyName:r,queryOptions:a,put:s,onClose:c}=e,{data:l,isLoading:u,error:d}=i(a),[f,p]=(0,z.useState)(l??``),[m,h]=(0,z.useState)(l);l!==m&&(h(l),p(l??``));let g;t[0]===f?g=t[1]:(g=f.trim(),t[0]=f,t[1]=g);let _=g,v;t[2]!==f||t[3]!==_.length?(v=_.length>0&&!A(f),t[2]=f,t[3]=_.length,t[4]=v):v=t[4];let y=v,b;t[5]!==f||t[6]!==n||t[7]!==c||t[8]!==r||t[9]!==s?(b=async()=>{try{await s.mutateAsync({name:n,policyName:r,policyDocument:f}),c()}catch{}},t[5]=f,t[6]=n,t[7]=c,t[8]=r,t[9]=s,t[10]=b):b=t[10];let x=b;if(u){let e;return t[11]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,B.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Loading…`}),t[11]=e):e=t[11],e}if(d){let e;return t[12]===d?e=t[13]:(e=(0,B.jsx)(j,{error:d,msg:`Failed to load inline policy`}),t[12]=d,t[13]=e),e}let S;t[14]===s.error?S=t[15]:(S=s.error&&(0,B.jsx)(j,{error:s.error,msg:`Failed to update inline policy`}),t[14]=s.error,t[15]=S);let C;t[16]!==f||t[17]!==y?(C=(0,B.jsx)(L,{className:`text-xs`,error:y,onChange:p,rows:12,value:f}),t[16]=f,t[17]=y,t[18]=C):C=t[18];let w;t[19]===y?w=t[20]:(w=y&&(0,B.jsx)(`p`,{className:`text-sm text-destructive`,children:`Policy must be valid JSON.`}),t[19]=y,t[20]=w);let T;t[21]===c?T=t[22]:(T=(0,B.jsx)(o,{onClick:c,size:`sm`,variant:`outline`,children:`Cancel`}),t[21]=c,t[22]=T);let E=s.isPending||_.length===0||y,D;t[23]===x?D=t[24]:(D=()=>{x()},t[23]=x,t[24]=D);let O=s.isPending?`Saving…`:`Save`,k;t[25]!==O||t[26]!==E||t[27]!==D?(k=(0,B.jsx)(o,{disabled:E,onClick:D,size:`sm`,children:O}),t[25]=O,t[26]=E,t[27]=D,t[28]=k):k=t[28];let M;t[29]!==k||t[30]!==T?(M=(0,B.jsxs)(`div`,{className:`flex justify-end gap-2`,children:[T,k]}),t[29]=k,t[30]=T,t[31]=M):M=t[31];let N;return t[32]!==M||t[33]!==S||t[34]!==C||t[35]!==w?(N=(0,B.jsxs)(`div`,{className:`space-y-3`,children:[S,C,w,M]}),t[32]=M,t[33]=S,t[34]=C,t[35]=w,t[36]=N):N=t[36],N}export{H as n,G as t}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/index.html b/spinifex/services/spinifexui/frontend/dist/index.html index a5f2b007c..338b537fd 100644 --- a/spinifex/services/spinifexui/frontend/dist/index.html +++ b/spinifex/services/spinifexui/frontend/dist/index.html @@ -7,7 +7,7 @@ - + @@ -90,11 +90,11 @@ - - - - - + + + + + diff --git a/spinifex/services/spinifexui/frontend/src/mutations/iam.test.tsx b/spinifex/services/spinifexui/frontend/src/mutations/iam.test.tsx index e4bb82c11..513bc15ec 100644 --- a/spinifex/services/spinifexui/frontend/src/mutations/iam.test.tsx +++ b/spinifex/services/spinifexui/frontend/src/mutations/iam.test.tsx @@ -746,6 +746,62 @@ describe("useRemoveRoleFromInstanceProfile", () => { }) }) +describe("instance profile membership changes", () => { + const roleProfilesKey = ["iam", "instance-profiles-for-role", "app"] + + function seedRoleProfiles() { + createQueryClient() + queryClient.setQueryData(roleProfilesKey, { InstanceProfiles: [] }) + } + + function roleProfilesInvalidated() { + return queryClient.getQueryCache().find({ queryKey: roleProfilesKey }) + ?.state.isInvalidated + } + + it("refreshes the role page after adding a role", async () => { + seedRoleProfiles() + const { result } = renderHook(() => useAddRoleToInstanceProfile(), { + wrapper, + }) + + result.current.mutate({ instanceProfileName: "p", roleName: "app" }) + + await waitFor(() => { + expect(result.current.isSuccess).toBeTruthy() + }) + expect(roleProfilesInvalidated()).toBeTruthy() + }) + + it("refreshes the role page after removing a role", async () => { + seedRoleProfiles() + const { result } = renderHook(() => useRemoveRoleFromInstanceProfile(), { + wrapper, + }) + + result.current.mutate({ instanceProfileName: "p", roleName: "app" }) + + await waitFor(() => { + expect(result.current.isSuccess).toBeTruthy() + }) + expect(roleProfilesInvalidated()).toBeTruthy() + }) + + it("refreshes the role page after deleting a profile", async () => { + seedRoleProfiles() + const { result } = renderHook(() => useDeleteInstanceProfile(), { + wrapper, + }) + + result.current.mutate("p") + + await waitFor(() => { + expect(result.current.isSuccess).toBeTruthy() + }) + expect(roleProfilesInvalidated()).toBeTruthy() + }) +}) + describe("useCreateGroup", () => { it("sends CreateGroupCommand with groupName", async () => { createQueryClient() diff --git a/spinifex/services/spinifexui/frontend/src/mutations/iam.ts b/spinifex/services/spinifexui/frontend/src/mutations/iam.ts index 827b15d33..d41a3132c 100644 --- a/spinifex/services/spinifexui/frontend/src/mutations/iam.ts +++ b/spinifex/services/spinifexui/frontend/src/mutations/iam.ts @@ -29,7 +29,11 @@ import { RemoveUserFromGroupCommand, UpdateAccessKeyCommand, } from "@aws-sdk/client-iam" -import { useMutation, useQueryClient } from "@tanstack/react-query" +import { + type QueryClient, + useMutation, + useQueryClient, +} from "@tanstack/react-query" import { getIamClient } from "@/lib/awsClient" import type { @@ -361,6 +365,14 @@ export function useCreateInstanceProfile() { }) } +// Profile membership changes also change what each role page lists. +function invalidateInstanceProfiles(queryClient: QueryClient) { + void queryClient.invalidateQueries({ queryKey: ["iam", "instance-profiles"] }) + void queryClient.invalidateQueries({ + queryKey: ["iam", "instance-profiles-for-role"], + }) +} + export function useDeleteInstanceProfile() { const queryClient = useQueryClient() return useMutation({ @@ -371,9 +383,7 @@ export function useDeleteInstanceProfile() { return await getIamClient().send(command) }, onSuccess: () => { - void queryClient.invalidateQueries({ - queryKey: ["iam", "instance-profiles"], - }) + invalidateInstanceProfiles(queryClient) }, }) } @@ -392,9 +402,7 @@ export function useAddRoleToInstanceProfile() { return await getIamClient().send(command) }, onSuccess: () => { - void queryClient.invalidateQueries({ - queryKey: ["iam", "instance-profiles"], - }) + invalidateInstanceProfiles(queryClient) }, }) } @@ -413,9 +421,7 @@ export function useRemoveRoleFromInstanceProfile() { return await getIamClient().send(command) }, onSuccess: () => { - void queryClient.invalidateQueries({ - queryKey: ["iam", "instance-profiles"], - }) + invalidateInstanceProfiles(queryClient) }, }) }