UNPKG

decocms

Version:

Deco CMS — Self-hostable MCP Gateway for managing AI connections and tools

3 lines (2 loc) • 17 kB
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/project-app-view-BK0cCPsD.js","assets/index-DoEtSiIe.js","assets/index-DOMlzk_A.css","assets/gateway-client-C5MrdR_p.js","assets/use-mcp-client-86j-Nolb.js","assets/auth-IBAsOARn.js","assets/use-mcp-tools-BeJ4_Tij.js","assets/content-blocks-o63cs2vh.js","assets/mcp-app-renderer-pvE5c1WF.js","assets/types-rurFGFZy.js","assets/chat-context-vJ6R-Clt.js","assets/use-panel-navigate-DHff9CS9.js","assets/thread-route-D-UE3Db_.js","assets/use-project-scope-AMUoXt2c.js","assets/repository-binding-BAQCDq-W.js","assets/use-view-draft-kind-hbAZo1QG.js","assets/use-blog-view-DJnS2ipo.js","assets/use-organization-settings-CgKOO7Ms.js","assets/schema-CG6ylG0z.js","assets/task-board-BRF3ZwKz.js","assets/thread-intent-R2KI8ie_.js","assets/delay-CnY5UFtP.js","assets/backoff-CrEUbyZT.js","assets/watch-sse-pool-C0me6Edt.js","assets/session-runtime-CZKHty5X.js","assets/use-entitlements-4v7LU4jM.js","assets/use-ai-providers-BwkzkRi2.js","assets/use-current-view-C2fbVQ-O.js","assets/use-in-settings-LMUeu63D.js","assets/use-decopilot-events-DwNDOIa1.js","assets/use-org-fs-C62_MbqW.js","assets/useInfiniteQuery-9vIAXgqG.js","assets/infiniteQueryObserver-BRGiYBJv.js","assets/shell-layout-596_q4a1.js","assets/Globe04-5yHQa01g.js","assets/UserSquare-dgrNjiXb.js","assets/use-deployment-admin-Bh76rlF7.js","assets/admin-fetch-BhTJlAsX.js","assets/agent-icon-DoabtHNW.js","assets/AlertCircle-GoAGGV0G.js","assets/UserCheck01-CA8kXGn8.js","assets/Tool01-D90Wr5xR.js","assets/ArrowUp-s5a8DQxj.js","assets/ArrowLeft-DuGHc_Gh.js","assets/ArrowRight-CMJyKdyB.js","assets/BookOpen01-DZs1-yi9.js","assets/CheckCircle-vIQcB0iT.js","assets/ChevronDown-Dm2xO7jf.js","assets/ChevronSelectorVertical-Cvgyclsz.js","assets/ChevronUp-BKdcyIOm.js","assets/LinkBroken01-CyjdgWmP.js","assets/CreditCard01-BUXydXso.js","assets/File02-Y4Nh84qP.js","assets/MessageCircle01-zc37Krdu.js","assets/SwitchHorizontal01-CHtrDs50.js","assets/Eye-DwRCQHLk.js","assets/Fingerprint04-DlIWxzRc.js","assets/Image01-BRABRo3v.js","assets/Key01-DfLmV_su.js","assets/LayoutLeft-owMYqid0.js","assets/Minus-CFYZtYi9.js","assets/Monitor01-DUhT2Mcw.js","assets/Sun-uwKn4QPm.js","assets/Play-C_9Fb_Ik.js","assets/Plus-BoPsX_T8.js","assets/SearchMd-BGRe_18c.js","assets/ShoppingBag01-CoN4FBW5.js","assets/Trash01-Ctp9Olbr.js","assets/Upload01-DgxprpI7.js","assets/Users01-BasqfwpC.js","assets/XClose-BUxhnZ3x.js","assets/Zap-CxPsn4FS.js","assets/use-org-notice-BzvGZbQ2.js","assets/command-D5O7M-Cf.js","assets/index-DRuy-mDa.js","assets/integration-icon-DvT6X8cI.js","assets/project-icon-BxqBM24K.js","assets/use-navigate-to-agent-C-BC28kE.js","assets/use-debounced-value-DqHSmPMR.js","assets/new-project-dialog-CT39WKMt.js","assets/label-G4Rj_cXa.js","assets/repository-picker-BBkgoOlP.js","assets/tooltip-DhlWzeQv.js","assets/index-BFFHlwFA.js","assets/github-icon-YYYF_UPl.js","assets/collection-search-DL8nJQx4.js","assets/new-project-store-DYc4RZIM.js","assets/legacy-admin-welcome-dialog-BYL3pyxT.js","assets/drawer-DO0sMAej.js","assets/use-mobile-BjsAkqwr.js","assets/required-auth-layout-DPL2sBE1.js","assets/use-org-sso-CypQjzG8.js","assets/shell-layout-CE2Eihra.css","assets/task-route-DltlnXMA.js","assets/task-key-CajjdR3t.js","assets/project-index-BcbyhrUz.js","assets/connect-source-dialog-F5S3IN4q.js","assets/site-url-en5df9c-.js","assets/use-connect-companion-CkgH2aNV.js","assets/companions-core-DhUD88pR.js","assets/metadata-D72DunRR.js","assets/github-repo-scope-C58hYmYC.js","assets/form-DwGozYbG.js","assets/icon-button-DFliy54K.js","assets/useQueries-CuzZgNOl.js","assets/authenticate-and-persist-oauth-BmdGjqM8.js","assets/mcp-oauth-C4zfq49i.js","assets/mcp-oauth-BkAlBGe_.js","assets/track-xlpKzX88.js","assets/extract-connection-data-DXA3Rt-s.js","assets/connection-BxF6Rdiu.js","assets/url-slug-CiUrNKts.js"])))=>i.map(i=>d[i]); import{c as F,m as M,j as s,b as K,d as q,a6 as G,at as X,n as $,E as V,$ as Z,r as O,bb as ee,ba as B,h4 as te,R as se,T as le,e as re,I as ie,B as ae,ag as oe}from"./index-DoEtSiIe.js";import{i as ne}from"./ArrowRight-CMJyKdyB.js";import{s as H,n as ce}from"./site-url-en5df9c-.js";import{u as me}from"./use-reports-diagnostic-CiiYsnje.js";import{u as fe}from"./use-mcp-client-86j-Nolb.js";import{p as de}from"./self-tool-result-8OxPN9Nm.js";import{t as ue}from"./site-error-Da6iapvu.js";import{a_ as xe,a3 as pe,A as he}from"./agent-icon-DoabtHNW.js";import{s as ge}from"./Plus-BoPsX_T8.js";import{b as W,f as je,a as Se,c as _e,C as be}from"./command-D5O7M-Cf.js";import{o as ye}from"./new-project-store-DYc4RZIM.js";import{P as ve}from"./projects-empty-state-CUxxduZa.js";import{s as Ne,u as we,a as Pe}from"./use-project-scope-AMUoXt2c.js";import{u as Ee}from"./repository-binding-BAQCDq-W.js";import{r as Ce,s as J}from"./project-profile-dMAv1_XF.js";function Y(t){const e=F.c(34),{generating:c,className:a}=t;let o;e[0]!==a?(o=M("pointer-events-none surface shadow-soft",a),e[0]=a,e[1]=o):o=e[1];let i;e[2]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx("circle",{cx:"16",cy:"16",r:"12",fill:"none",strokeWidth:"4",className:"stroke-muted"}),e[2]=i):i=e[2];const _=c?"75.4":"22",m=c?"stroke-muted":"stroke-success";let u;e[3]!==m?(u=M("transition-[stroke-dashoffset] duration-1000 ease-out",m),e[3]=m,e[4]=u):u=e[4];let x;e[5]!==_||e[6]!==u?(x=s.jsxs("svg",{viewBox:"0 0 32 32",className:"size-9 shrink-0 -rotate-90",children:[i,s.jsx("circle",{cx:"16",cy:"16",r:"12",fill:"none",strokeWidth:"4",strokeLinecap:"round",strokeDasharray:"75.4",strokeDashoffset:_,className:u})]}),e[5]=_,e[6]=u,e[7]=x):x=e[7];const g=c&&"animate-pulse";let n;e[8]!==g?(n=M("h-1.5 w-full rounded-full bg-muted",g),e[8]=g,e[9]=n):n=e[9];let p;e[10]!==n?(p=s.jsx("div",{className:n}),e[10]=n,e[11]=p):p=e[11];const f=c&&"animate-pulse";let l;e[12]!==f?(l=M("h-1.5 w-2/3 rounded-full bg-muted",f),e[12]=f,e[13]=l):l=e[13];let r;e[14]!==l?(r=s.jsx("div",{className:l}),e[14]=l,e[15]=r):r=e[15];let d;e[16]!==r||e[17]!==p?(d=s.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1.5",children:[p,r]}),e[16]=r,e[17]=p,e[18]=d):d=e[18];let h;e[19]!==d||e[20]!==x?(h=s.jsxs("div",{className:"flex items-center gap-2.5",children:[x,d]}),e[19]=d,e[20]=x,e[21]=h):h=e[21];let b;e[22]===Symbol.for("react.memo_cache_sentinel")?(b=[7,10,5,9,6,8],e[22]=b):b=e[22];let j;e[23]!==c?(j=s.jsx("div",{className:"flex h-10 items-end gap-1.5",children:b.map((N,v)=>s.jsx("div",{style:{height:`${N*4}px`},className:M("flex-1 rounded-sm",c?"animate-pulse bg-muted":v%2===0?"bg-success/70":"bg-success/30")},`bar-${v}`))}),e[23]=c,e[24]=j):j=e[24];let y;e[25]!==c?(y=s.jsx("div",{className:"flex flex-col gap-1.5",children:["w-full","w-5/6","w-full","w-2/3","w-full"].map((N,v)=>s.jsx("div",{className:M("h-1.5 rounded-full bg-muted",N,c&&"animate-pulse")},`line-${v}`))}),e[25]=c,e[26]=y):y=e[26];let S;e[27]!==h||e[28]!==j||e[29]!==y?(S=s.jsxs("div",{className:"flex h-full flex-col gap-3 p-4",children:[h,j,y]}),e[27]=h,e[28]=j,e[29]=y,e[30]=S):S=e[30];let w;return e[31]!==o||e[32]!==S?(w=s.jsx("div",{"aria-hidden":!0,className:o,children:S}),e[31]=o,e[32]=S,e[33]=w):w=e[33],w}function ke(){const t=F.c(74),e=K(),c=q(),{org:a}=G(),{granted:o}=X("agents:manage");let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i={pageSize:1e3},t[0]=i):i=t[0];const _=Ee(i);let m,u,x,g,n,p,f,l,r,d,h,b,j,y,S;if(t[1]!==_||t[2]!==o||t[3]!==c||t[4]!==a||t[5]!==e){f=Symbol.for("react.early_return_sentinel");e:{let U;t[21]!==a?(U=k=>k.id!==a.id,t[21]=a,t[22]=U):U=t[22];const L=Ne(_).filter(U).sort(Ie);if(L.length===0){let k;t[23]!==o?(k=s.jsx($,{children:s.jsx($.Content,{children:s.jsx($.Container,{width:"reading",children:s.jsx(ve,{canCreate:o})})})}),t[23]=o,t[24]=k):k=t[24],f=k;break e}g=$,x=$.Content,p="flex min-h-full w-full justify-center px-6 py-16",b="flex w-full max-w-sm flex-col items-center",t[25]===Symbol.for("react.memo_cache_sentinel")?(j=s.jsx("span",{className:"flex size-11 items-center justify-center rounded-xl border border-border bg-card text-muted-foreground",children:s.jsx(pe,{width:20,height:20,"aria-hidden":!0})}),t[25]=j):j=t[25];let P;t[26]!==e?(P=e("projects.reports.chooserTitle"),t[26]=e,t[27]=P):P=t[27],t[28]!==P?(y=s.jsx("h1",{className:"mt-5 text-xl font-medium tracking-tight text-foreground",children:P}),t[28]=P,t[29]=y):y=t[29];let T;t[30]!==e?(T=e("projects.reports.chooserSubtitle"),t[30]=e,t[31]=T):T=t[31],t[32]!==T?(S=s.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:T}),t[32]=T,t[33]=S):S=t[33],u=je,d="mt-8 w-full gap-3 bg-transparent";let A;t[34]!==e?(A=e("projects.reports.chooserSearch"),t[34]=e,t[35]=A):A=t[35],t[36]!==A?(h=s.jsx(Se,{variant:"boxed",autoFocus:!0,placeholder:A}),t[36]=A,t[37]=h):h=t[37],m=_e,n="max-h-80";let D;t[38]!==e?(D=e("projects.reports.chooserEmpty"),t[38]=e,t[39]=D):D=t[39],t[40]!==D?(l=s.jsx(be,{children:D}),t[40]=D,t[41]=l):l=t[41];let z;t[42]!==c||t[43]!==a?(z=k=>s.jsxs(W,{size:"lg",value:k.title,onSelect:()=>{V("reports_project_chosen"),c({to:Z.reports,params:{org:a.slug,agentId:k.id}})},children:[s.jsx(he,{icon:k.icon,name:k.title,size:"sm"}),s.jsx("span",{className:"truncate",children:k.title})]},k.id),t[42]=c,t[43]=a,t[44]=z):z=t[44],r=L.map(z)}t[1]=_,t[2]=o,t[3]=c,t[4]=a,t[5]=e,t[6]=m,t[7]=u,t[8]=x,t[9]=g,t[10]=n,t[11]=p,t[12]=f,t[13]=l,t[14]=r,t[15]=d,t[16]=h,t[17]=b,t[18]=j,t[19]=y,t[20]=S}else m=t[6],u=t[7],x=t[8],g=t[9],n=t[10],p=t[11],f=t[12],l=t[13],r=t[14],d=t[15],h=t[16],b=t[17],j=t[18],y=t[19],S=t[20];if(f!==Symbol.for("react.early_return_sentinel"))return f;let w;t[45]!==o||t[46]!==e?(w=o&&s.jsxs(W,{size:"lg",value:e("projects.home.newProject"),onSelect:Te,children:[s.jsx(xe,{Icon:ge,size:"sm"}),s.jsx("span",{children:e("projects.home.newProject")})]}),t[45]=o,t[46]=e,t[47]=w):w=t[47];let N;t[48]!==m||t[49]!==n||t[50]!==w||t[51]!==l||t[52]!==r?(N=s.jsxs(m,{className:n,children:[l,r,w]}),t[48]=m,t[49]=n,t[50]=w,t[51]=l,t[52]=r,t[53]=N):N=t[53];let v;t[54]!==u||t[55]!==N||t[56]!==d||t[57]!==h?(v=s.jsxs(u,{className:d,children:[h,N]}),t[54]=u,t[55]=N,t[56]=d,t[57]=h,t[58]=v):v=t[58];let I;t[59]!==v||t[60]!==b||t[61]!==j||t[62]!==y||t[63]!==S?(I=s.jsxs("div",{className:b,children:[j,y,S,v]}),t[59]=v,t[60]=b,t[61]=j,t[62]=y,t[63]=S,t[64]=I):I=t[64];let E;t[65]!==p||t[66]!==I?(E=s.jsx("div",{className:p,children:I}),t[65]=p,t[66]=I,t[67]=E):E=t[67];let C;t[68]!==x||t[69]!==E?(C=s.jsx(x,{children:E}),t[68]=x,t[69]=E,t[70]=C):C=t[70];let R;return t[71]!==g||t[72]!==C?(R=s.jsx(g,{children:C}),t[71]=g,t[72]=C,t[73]=R):R=t[73],R}function Te(){return ye("reports_chooser")}function Ie(t,e){return t.title.localeCompare(e.title)}const Re=O.lazy(()=>ee(()=>import("./project-app-view-BK0cCPsD.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,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111])).then(t=>({default:t.AppViewContent})));function Ge(){const t=F.c(18),e=we(),{project:c}=Pe(),{diagnostic:a,isLoading:o,siteUrl:i,connectionId:_}=me();if(!e){let r;return t[0]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(O.Suspense,{fallback:s.jsx(B,{}),children:s.jsx(ke,{})}),t[0]=r):r=t[0],r}if(o){let r;return t[1]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(B,{}),t[1]=r):r=t[1],r}let m,u;if(t[2]!==c||t[3]!==i?(m=c?Ce(c).storeUrl:null,u=!m||!i||J(m)===J(i),t[2]=c,t[3]=i,t[4]=m,t[5]=u):(m=t[4],u=t[5]),a&&u){let r;t[6]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(B,{}),t[6]=r):r=t[6];let d;return t[7]!==_?(d=s.jsx(O.Suspense,{fallback:r,children:s.jsx(Re,{connectionId:_,toolName:te})}),t[7]=_,t[8]=d):d=t[8],d}let g;t[9]!==m||t[10]!==i?(g=()=>s.jsx(Q,{claimedSiteUrl:m??i}),t[9]=m,t[10]=i,t[11]=g):g=t[11];let n;t[12]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(B,{}),t[12]=n):n=t[12];const p=m??i;let f;t[13]!==p?(f=s.jsx(O.Suspense,{fallback:n,children:s.jsx(ze,{claimedSiteUrl:p})}),t[13]=p,t[14]=f):f=t[14];let l;return t[15]!==g||t[16]!==f?(l=s.jsx("div",{className:"flex h-full min-h-0 flex-col overflow-y-auto",children:s.jsx(se,{fallback:g,children:f})}),t[15]=g,t[16]=f,t[17]=l):l=t[17],l}const Ue=["reports.emptyState.checkPerformance","reports.emptyState.checkSeo","reports.emptyState.checkFunnel","reports.emptyState.checkTracking"];function Q(t){const e=F.c(27),{claimedSiteUrl:c,children:a}=t,o=K(),i=c??void 0;let _;e[0]!==i?(_=H(i),e[0]=i,e[1]=_):_=e[1];const m=_;let u;e[2]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsxs("div",{className:"relative flex items-end justify-center pt-4",children:[s.jsx("div",{"aria-hidden":!0,className:"absolute -bottom-6 size-56 rounded-full bg-success/10 blur-3xl"}),s.jsx(Y,{className:"relative h-52 w-40 -rotate-6"}),s.jsx(Y,{className:"relative -ml-14 h-56 w-44 rotate-3"})]}),e[2]=u):u=e[2];let x;e[3]!==o?(x=o("reports.emptyState.title"),e[3]=o,e[4]=x):x=e[4];let g;e[5]!==x?(g=s.jsx("h2",{className:"text-lg font-medium leading-7 text-foreground",children:x}),e[5]=x,e[6]=g):g=e[6];let n;e[7]!==o?(n=o("reports.emptyState.description"),e[7]=o,e[8]=n):n=e[8];let p;e[9]!==n?(p=s.jsx("p",{className:"max-w-sm text-sm leading-5 text-muted-foreground",children:n}),e[9]=n,e[10]=p):p=e[10];let f;e[11]!==g||e[12]!==p?(f=s.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[g,p]}),e[11]=g,e[12]=p,e[13]=f):f=e[13];let l;e[14]!==a||e[15]!==m?(l=a??(m?s.jsx("p",{className:"text-sm text-muted-foreground",children:m}):null),e[14]=a,e[15]=m,e[16]=l):l=e[16];let r;e[17]!==o?(r=Ue.map(j=>s.jsx("li",{className:"rounded-full border border-border bg-card px-3 py-1 text-xs text-muted-foreground",children:o(j)},j)),e[17]=o,e[18]=r):r=e[18];let d;e[19]!==r?(d=s.jsx("ul",{className:"flex flex-wrap items-center justify-center gap-2",children:r}),e[19]=r,e[20]=d):d=e[20];let h;e[21]!==d||e[22]!==l?(h=s.jsxs("div",{className:"flex w-full max-w-md flex-col items-center gap-4",children:[l,d]}),e[21]=d,e[22]=l,e[23]=h):h=e[23];let b;return e[24]!==h||e[25]!==f?(b=s.jsxs("div",{className:"flex min-h-full w-full flex-col items-center justify-center gap-8 p-6",children:[u,f,h]}),e[24]=h,e[25]=f,e[26]=b):b=e[26],b}function ze(t){const e=F.c(46),{claimedSiteUrl:c}=t,a=K(),o=q(),{org:i}=G();let _;e[0]!==i.id||e[1]!==i.slug?(_={connectionId:le,orgId:i.id,orgSlug:i.slug},e[0]=i.id,e[1]=i.slug,e[2]=_):_=e[2];const m=fe(_);let u;e[3]!==c?(u=H(c??void 0)??"",e[3]=c,e[4]=u):u=e[4];const[x,g]=O.useState(u),[n,p]=O.useState(null);let f;e[5]!==m?(f={mutationFn:async P=>de(await m.callTool({name:"REPORTS_SETUP",arguments:{siteUrl:P}})),retry:!1},e[5]=m,e[6]=f):f=e[6];const l=re(f);let r;e[7]!==o||e[8]!==i.id||e[9]!==i.slug||e[10]!==l?(r=async P=>{const T=ce(P);if(!T.ok){p(T.error);return}p(null);const A=H(T.value)??void 0;V("reports_start_diagnostic_submitted",{organization_id:i.id,domain:A});try{await l.mutateAsync(T.value)}catch(D){const z=D;V("reports_start_diagnostic_failed",{organization_id:i.id,domain:A,error:z instanceof Error?z.message:String(z)}),p(z instanceof Error?z.message:"__configurationFailed");return}o({to:oe.home,params:{org:i.slug},search:{connect:"1",siteUrl:T.value}})},e[7]=o,e[8]=i.id,e[9]=i.slug,e[10]=l,e[11]=r):r=e[11];const d=r;let h;e[12]!==x||e[13]!==d?(h=P=>{P.preventDefault(),d(x)},e[12]=x,e[13]=d,e[14]=h):h=e[14];const b=h;let j;e[15]!==a?(j=a("reports.emptyState.siteUrlLabel"),e[15]=a,e[16]=j):j=e[16];let y;e[17]===Symbol.for("react.memo_cache_sentinel")?(y=P=>g(P.target.value),e[17]=y):y=e[17];let S;e[18]!==a?(S=a("reports.emptyState.siteUrlPlaceholder"),e[18]=a,e[19]=S):S=e[19];const w=!!n;let N;e[20]!==l.isPending||e[21]!==x||e[22]!==j||e[23]!==S||e[24]!==w?(N=s.jsx(ie,{"aria-label":j,type:"text",inputMode:"url",className:"min-w-0 flex-1",value:x,onChange:y,placeholder:S,"aria-invalid":w,disabled:l.isPending}),e[20]=l.isPending,e[21]=x,e[22]=j,e[23]=S,e[24]=w,e[25]=N):N=e[25];let v;e[26]!==l.isPending||e[27]!==a?(v=l.isPending?a("reports.emptyState.starting"):a("reports.emptyState.start"),e[26]=l.isPending,e[27]=a,e[28]=v):v=e[28];let I;e[29]===Symbol.for("react.memo_cache_sentinel")?(I=s.jsx(ne,{size:16}),e[29]=I):I=e[29];let E;e[30]!==l.isPending||e[31]!==v?(E=s.jsxs(ae,{type:"submit",className:"shrink-0",disabled:l.isPending,children:[v,I]}),e[30]=l.isPending,e[31]=v,e[32]=E):E=e[32];let C;e[33]!==N||e[34]!==E?(C=s.jsxs("div",{className:"flex flex-col items-stretch gap-2 sm:flex-row sm:items-center",children:[N,E]}),e[33]=N,e[34]=E,e[35]=C):C=e[35];let R;e[36]!==n||e[37]!==a?(R=n?s.jsx("p",{className:"text-sm leading-5 text-destructive",role:"alert",children:ue(a,n)}):null,e[36]=n,e[37]=a,e[38]=R):R=e[38];let U;e[39]!==b||e[40]!==C||e[41]!==R?(U=s.jsxs("form",{className:"flex w-full flex-col gap-2",onSubmit:b,children:[C,R]}),e[39]=b,e[40]=C,e[41]=R,e[42]=U):U=e[42];let L;return e[43]!==c||e[44]!==U?(L=s.jsx(Q,{claimedSiteUrl:c,children:U}),e[43]=c,e[44]=U,e[45]=L):L=e[45],L}export{Ge as R};