Build 613334stable
Module 755362
37,515 characters · in c7244e592d49a9d1.jsDependencies
Required by (0)none
Lazily required by (1)
Requires (94)
17928313005061758703706887139373432813699244697483103557107148113491123917147036148853152367165610173936189213192308208137210744277977287809289873297264314116321073321593352978364522365199375708402879413927473935477782477900480007486020491920503698534890536637557875576705580954582128584936614970625180625903627363629584646270652215661531663417664121672929673724675210683071683180691540691885696451742589746080769979770818783134793712804598805332821609834730857250869369885386899154922016936494939249948230950305957565964992972786976713976860980707985451
Lazily requires (1)
Source Raw
function(e,t,n){n.r(t),n.d(t,{default:()=>ti});var a,l=n(477900),i=n(582128),s=n(503698),o=n.n(s),r=n(536637),d=n.n(r),c=n(17928),u=n(314116),p=n(534890),m=n(646270),h=n(31300),f=n(939249),g=n(834730),b=n(691540),y=n(857250),x=n(97483),j=n(821609),v=n(92446),k=n(625903),w=n(297264),C=n(364522),A=n(103557),N=n(691885),I=n(289873),E=n(152367),S=n(661531),P=n(627363),R=n(625180),_=n(672929),D=n(742589),T=n(976860),M=n(885386),V=n(696451),z=n(71393),L=n(576705),G=n(486020),F=n(50617),O=n(375708),B=n(948230),Y=n(936494),H=n(976713),U=n(673724),X=n(208137),K=n(964992),q=n(683180),W=n(805332),Z=n(277977),$=n(972786);function Q(e){let{idea:t,installScope:n,submitting:a}=e;return a?"submitting":""===t.trim()?"idea":null==n?"scope":null}var J=n(58703);let ee=[{date:"2026-09-14",platforms:["mobile"],summary:"On phones, the builder chat now matches desktop: a turn\u2019s work folds behind one line, each helper wears its creature, an interrupted turn says so, and the glow no longer slows the chat down."},{date:"2026-09-14",platforms:["mobile"],summary:"On phones, new projects start from a Create button in the header, with templates, starter prompts, who the app is for, and the Effort scale, and the landing leads with what is new."},{date:"2026-09-14",platforms:["mobile"],summary:"On phones, App Settings is one tap away in the chat menu, without waiting for Conjure to ask."},{date:"2026-09-13",platforms:["desktop"],summary:"Escape or a click outside the frame now leaves select mode from anywhere, closing whatever was open without picking anything."},{date:"2026-09-12",platforms:["desktop","mobile"],summary:"While you preview an app, every notification it sends arrives as a DM to you, naming anyone it concerns, so nothing you test posts to a channel or messages anyone else."},{date:"2026-09-12",platforms:["desktop","mobile"],summary:"Plans for an app you imported or remixed no longer invent a wireframe sketch: the sketch is reserved for brand-new apps that have no screens yet."},{date:"2026-09-11",platforms:["desktop","mobile"],summary:"A new Rust Sphere template: a spinning, lit 3D globe drawn by Rust running as WebAssembly, ready to remix into your own renderer."},{date:"2026-09-10",platforms:["desktop","mobile"],summary:"Hitting your project limit, or conjuring too fast, now says so instead of just asking you to try again."},{date:"2026-09-09",platforms:["desktop","mobile"],summary:"Pick which app a voice channel runs from the call itself, and switch between it and the participants."},{date:"2026-09-09",platforms:["mobile"],summary:"On phones, an app channel now has a chat button: read and post in the channel as usual, then tap back to the app."},{date:"2026-09-09",platforms:["desktop"],summary:"The app frame can go fullscreen: a new header control fills your whole screen with the running app, and Escape brings the view back."},{date:"2026-09-08",platforms:["desktop","mobile"],summary:"App settings that name a channel now offer a channel picker instead of asking you to paste an id."},{date:"2026-09-08",platforms:["desktop"],summary:"Made a mistake in your app\u2019s data? Conjure now saves a restore point before every deploy, lets you save your own, and can rewind the app\u2019s data to any restore point or exact moment from the last 30 days, keeping an undo point so a rewind is never one-way."},{date:"2026-09-08",platforms:["desktop"],summary:"Importing a big project is faster and narrates its progress, and a zip that still has node_modules or .git inside now imports cleanly, telling you what was left out."},{date:"2026-09-08",platforms:["desktop","mobile"],summary:"The checklist step being worked on gets its box back: the spinner turns inside the same frame the finished tick fills in."},{date:"2026-09-08",platforms:["desktop"],summary:"Comment mode now picks whatever is under your pointer, not only buttons and headings, and outlines it so you can see what you are about to comment on. Each note is pinned to the exact spot you clicked, and its card opens out of that pin."},{date:"2026-09-07",platforms:["desktop","mobile"],summary:"A Priority toggle arrives in the model picker: on models that offer it, replies come back sooner for more runes, and the Speedrun stop now runs it by default."},{date:"2026-09-07",platforms:["desktop","mobile"],summary:"An app with public pages can now claim a name for its web address \u2014 yourgame.discordvibeapps.com instead of a long number \u2014 and links to the old address keep working."},{date:"2026-09-07",platforms:["desktop"],summary:"You can now point at your app instead of describing it. Turn on comment mode, click anything on screen to leave a note on that exact piece, and every note you leave stays marked where you left it. Reopen any of them to change your wording or take it back, then send the whole set at once with a note for all of it. Once sent, the set reads back as a tidy summary of what you asked for rather than a page of technical detail."},{date:"2026-09-06",platforms:["desktop","mobile"],summary:"Every build step now shows its progress behind the curtain \u2014 what is syncing, installing, bundling, packing, checking, and publishing \u2014 instead of one silent line."},{date:"2026-09-06",platforms:["desktop"],summary:"Collaborators on an app shared with their server can now remix it into a copy of their own, with no need for the owner to turn sharing on first."},{date:"2026-09-06",platforms:["desktop","mobile"],summary:"Remixed an app? When the original improves, Conjure offers to update your copy while keeping every change you made, only checking with you on the rare spot it cannot keep both. You can also ask it to inherit updates from another app by its project id, even for a project you imported rather than remixed."},{date:"2026-09-05",platforms:["desktop","mobile"],summary:"GPT-6 Astra joins the model picker and now powers the Big Brain effort stop."},{date:"2026-09-05",platforms:["desktop","mobile"],summary:"The rune panel is simpler now: one Conjuring count covers all the work in a turn, with Compacting listed separately."},{date:"2026-09-05",platforms:["desktop","mobile"],summary:"Your app now has its own web address: pages people can open in a browser, a second address showing the version you are still working on, and a Sign in with Discord button that never asks anyone for a password."},{date:"2026-09-05",platforms:["desktop","mobile"],summary:"Claude Fable 5.1 replaces Claude Fable 5 in the model picker, sharper on long builds at the same price."},{date:"2026-09-03",platforms:["desktop"],summary:"Remix an app and Conjure builds your copy first, so the ideas it suggests are ones you can try."},{date:"2026-09-03",platforms:["desktop","mobile"],summary:"Your published app stays playable while Conjure drives the preview, instead of both freezing at once."},{date:"2026-09-02",platforms:["desktop","mobile"],summary:"One Effort scale, from Speedrun to Big Brain, sets how much thinking goes into a run, instead of choosing models and thinking levels separately."},{date:"2026-09-02",platforms:["desktop","mobile"],summary:"Apps now know who\u2019s using them the moment they open, without asking anyone to sign in or approve anything."},{date:"2026-09-02",platforms:["desktop"],summary:"A project you import gets fixed up and running straight away, instead of asking you to approve a plan."},{date:"2026-09-02",platforms:["desktop","mobile"],summary:"Small follow-ups like adding sign-in are built straight away, instead of coming back as another plan to approve."},{date:"2026-09-02",platforms:["desktop","mobile"],summary:"When a plan is redrawn, the new sketch keeps the look of the one before it, so your app still looks like itself."},{date:"2026-09-01",platforms:["desktop","mobile"],summary:"Publishing now offers patch notes: Conjure drafts what changed since your last release, you edit them, and they post to a channel you pick."},{date:"2026-09-01",platforms:["desktop","mobile"],summary:"People you share a project with can see the Publish control, instead of it being owner-only."},{date:"2026-09-01",platforms:["desktop","mobile"],summary:"Checklist items Conjure is still working on show a spinner, so running and done tell apart at a glance."},{date:"2026-08-31",platforms:["desktop","mobile"],summary:"Plan proposals come with a wireframe sketch, so you can see the shape of the app before you say go."},{date:"2026-08-31",platforms:["desktop"],summary:"With Discord\u2019s Developer Mode on, a debug pane beside the builder shows your app\u2019s live logs and what your project is spending."},{date:"2026-08-31",platforms:["desktop","mobile"],summary:"Your project gets a real name as soon as Conjure lands on a plan, instead of sitting as Untitled App."},{date:"2026-08-31",platforms:["desktop","mobile"],summary:"App icons are drawn to suit what the app actually does, and always come back solid rather than see-through."},{date:"2026-08-28",platforms:["desktop","mobile"],summary:"Apps you install just for yourself can hold an ordinary back-and-forth conversation with you in DMs."},{date:"2026-08-26",platforms:["desktop","mobile"],summary:"You can move back and forth through Conjure\u2019s questions instead of being held on the one in front of you."},{date:"2026-08-26",platforms:["desktop","mobile"],summary:"Hand a project to a whole role in settings, rather than adding one person at a time."},{date:"2026-08-25",platforms:["desktop"],summary:"Conjuring has its own doorway in the desktop title bar, so it is one click away from anywhere."}];var et=n(413927);function en(){let e=ee.filter(e=>e.platforms.includes("desktop")).slice(0,3);if(0===e.length)return null;let t=O.intl.string(F.default.x07mpp);return(0,l.jsxs)("section",{className:et.rN,"aria-label":t,children:[(0,l.jsxs)("div",{className:et.bZ,children:[(0,l.jsx)(g.E,{variant:"text-md/medium",color:"text-strong",children:t}),(0,l.jsx)(g.E,{variant:"text-sm/normal",color:"text-subtle",children:O.intl.string(F.default.h5CwHI)})]}),(0,l.jsx)("ol",{className:et.V,children:e.map(e=>(0,l.jsxs)("li",{className:et.S3,children:[(0,l.jsxs)(g.E,{variant:"text-xs/medium",color:"text-muted",className:et.VO,children:[(0,J.i$)(d()(e.date,"YYYY-MM-DD"),"LL"),1===e.platforms.length?` \xb7 ${O.intl.string(F.default.vvxuUI)}`:null]}),(0,l.jsx)(g.E,{variant:"text-sm/normal",color:"text-subtle",children:e.summary})]},`${e.date}-${e.summary}`))})]})}var ea=n(804598),el=n(210744),ei=n(922016),es=n(980707),eo=n(477782),er=n(81369),ed=n(402879);async function ec(e,t,n){(0,Z.Hc)(e);let a=await (0,Z.vX)(e,t);(0,Z.dv)(e,n,[a])}function eu(e){let t=""===e.type?"application/octet-stream":e.type;return(0,U.x5)(e.size,t)?null:O.intl.formatToPlainString(F.default.AzziHF,{size:(0,U.ZJ)((0,U.yr)(t))})}async function ep(e,t){let n,a=(n=t.normalize("NFKD").replace(/[^a-zA-Z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,64).replace(/-+$/g,"").toLowerCase(),`${""===n?"vibegration":n}.zip`),l=await (0,Z.cS)(e,a);await (0,ed.F)(l,a)}function em(e){let t=i.useRef(null),n=i.useCallback(t=>{let n=t.target.files?.[0]??null;t.target.value="",null!=n&&e(n)},[e]);return{open:()=>t.current?.click(),input:(0,l.jsx)("input",{ref:t,type:"file",accept:".zip,.tar,.tar.gz,.tgz,.rar,application/zip,application/gzip,application/x-tar,application/vnd.rar,application/x-rar-compressed",hidden:!0,"aria-hidden":!0,tabIndex:-1,onChange:n})}}var eh=n(950305),ef=n(664121);let eg=[{value:"user",icon:eh.UserIcon,nameMessage:F.default.iqXIRN},{value:"guild",icon:ef.R,nameMessage:F.default.LdgKdI}];function eb(e){let{importing:t,onImport:n}=e,a=i.useRef(null),s=em(i.useCallback(e=>n(e,"user"),[n])),o=em(i.useCallback(e=>n(e,"guild"),[n])),r={user:s.open,guild:o.open};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ei.Y,{targetElementRef:a,position:"bottom",align:"right",animation:ei.Y.Animation.NONE,renderPopout:e=>{let{closePopout:t}=e;return(0,l.jsx)(es.W,{"data-menu-migrated":!0,navId:"vibegrations-import-scope","aria-label":O.intl.string(F.default.oq8F8s),onClose:t,onSelect:t,children:(0,l.jsx)(eo.rX,{label:O.intl.string(F.default.MLg0S8),children:eg.map(e=>({id:`install-scope-${e.value}`,scope:e.value,label:O.intl.string(e.nameMessage),icon:e.icon})).map(e=>(0,l.jsx)(eo.Dr,{id:e.id,label:e.label,icon:e.icon,action:r[e.scope]},e.id))})})},children:(e,n)=>{let{isShown:i}=n;return(0,l.jsx)(j.$,{...e,buttonRef:a,variant:"secondary",size:"sm",icon:er.H,text:O.intl.string(F.default["NHP2+t"]),loading:t,disabled:t,"aria-haspopup":"menu","aria-expanded":i})}}),s.input,o.input]})}var ey=n(113491),ex=n(629584),ej=n(148853),ev=n(491920);function ek(e){let{modes:t,mode:n,onChange:a,className:s}=e,r=i.useMemo(()=>t.map(e=>({value:e,name:(0,ej.kZ)(e),"aria-controls":(0,ej.z3)(e)})),[t]),d=i.useCallback(e=>{a(e.value)},[a]);return null==n?null:(0,l.jsx)(ex.I,{role:"tablist",look:"pill",className:o()(ev.b,s),optionClassName:ev.u,options:r,value:n,onChange:d})}var ew=n(663417),eC=n(70688),eA=n(173936),eN=n(473935),eI=n(365199),eE=n(770818),eS=n(147036),eP=n(957565),eR=n(557875),e_=n(869369),eD=n(123917);let eT=new Set;n(321073);var eM=n(746080),eV=n(793712);let ez=[];function eL(e){let{projectId:t,projectName:n,guildId:a,projectGuildId:s,isOwner:o,canRemix:r,onExport:d,onImport:p,onRemix:m,onConnectTool:h,onVersionHistory:f,onRestorePoints:g,onRefresh:j,isRefreshing:v=!1,onClose:w,refreshApplicationId:C,previewProjectId:A}=e,N=i.useRef(null),{pending:I,refresh:E}=(0,eE.A)(C??null),{pending:S,connect:P}=function(e){let[t,n]=i.useState(eT),a=i.useRef(eT),l=i.useCallback(e=>{a.current=(0,eR.Q6)(a.current,e),n(a.current)},[]);return{pending:t,connect:i.useCallback(t=>{if(null==e)return;let i=(0,eR.K9)(a.current,t.type);async function s(){let n=await (0,Z.JI)(e,t.type);if(l(t.type),"url"===n.type)return void(0,eD.h)({href:n.url,trusted:!1});let a="setup"===(0,eR.rq)(n.error)?O.intl.string(F.default.avu1u4):O.intl.string(F.default["5fwOcF"]);(0,b.P0)((0,y.o)(a,x.Ck.FAILURE))}null!=i&&(a.current=i,n(i),s().catch(()=>l(t.type)))},[e,l])}}(A??null),R=(0,c.bG)([Z.Ay],()=>null==A?ez:Z.Ay.getDeclaredConnections(A)),_=function(e){let{canRefresh:t,refreshPending:n,offers:a,connectPending:l}=e,i=[];for(let{connection:e,offer:s}of(t&&i.push({id:"preview-refresh",label:O.intl.string(F.default["8oRfMw"]),kind:"refresh",disabled:n}),a))i.push("authorize"===s?{id:`preview-connect-${e.type}`,label:O.intl.formatToPlainString(F.default.JXACNA,{label:e.label}),kind:"connect",connectionType:e.type,disabled:l.has(e.type)}:{id:`preview-connect-${e.type}`,label:O.intl.formatToPlainString(F.default.JMd7xW,{label:e.label}),kind:"connect",connectionType:e.type,disabled:!0});return i}({canRefresh:null!=C,refreshPending:I,offers:i.useMemo(()=>(0,eR.Xl)(R),[R]),connectPending:S}),T=i.useMemo(()=>new Map(R.map(e=>[e.type,e])),[R]),M=null!=m&&r,V=o&&null!=p,z=M||null!=d||V||null!=h||null!=f||null!=g,L=eP.p5&&null!=a,G=eP.p5;return null!=j||null!=w||z||G||o?(0,l.jsx)(ei.Y,{targetElementRef:N,position:"bottom",align:"right",animation:ei.Y.Animation.NONE,renderPopout:e=>{let{closePopout:i}=e;return(0,l.jsxs)(es.W,{"data-menu-migrated":!0,navId:`vibegrations-project-actions-${t}`,"aria-label":O.intl.string(O.t.ogxXGq),onClose:i,onSelect:i,children:[null!=j||null!=w?(0,l.jsxs)(eo.rX,{children:[null!=j?(0,l.jsx)(eo.Dr,{id:"refresh",icon:ew.RefreshIcon,leadingAccessory:{type:"icon",icon:ew.RefreshIcon},label:O.intl.string(F.default.xKexN1),disabled:v,action:j}):null,null!=w?(0,l.jsx)(eo.Dr,{id:"close",icon:eC.DoorExitIcon,leadingAccessory:{type:"icon",icon:eC.DoorExitIcon},label:O.intl.string(F.default.Ea0Wrr),action:w}):null]}):null,_.length>0?(0,l.jsx)(eo.rX,{children:_.map(e=>(0,l.jsx)(eo.Dr,{id:e.id,label:e.label,disabled:e.disabled,dontCloseOnAction:!0,action:()=>{if("refresh"===e.kind)return void E();let t=null==e.connectionType?null:T.get(e.connectionType);null!=t&&P(t)}},e.id))}):null,z?(0,l.jsxs)(eo.rX,{children:[M?(0,l.jsx)(eo.Dr,{id:"remix",label:O.intl.string(F.default.vPI794),action:m}):null,null!=d?(0,l.jsx)(eo.Dr,{id:"export",label:O.intl.string(F.default["7iamDC"]),action:d}):null,V?(0,l.jsx)(eo.Dr,{id:"import",label:O.intl.string(F.default.lf8HqE),action:p}):null,null!=h?(0,l.jsx)(eo.Dr,{id:"connect-tool",label:O.intl.string(F.default["3qelzD"]),action:h}):null,null!=f?(0,l.jsx)(eo.Dr,{id:"version-history",label:O.intl.string(F.default.jAWwzi),action:f}):null,null!=g?(0,l.jsx)(eo.Dr,{id:"restore-points",label:O.intl.string(F.default.FRjicO),action:g}):null]}):null,G?(0,l.jsxs)(eo.rX,{children:[L?(0,l.jsx)(eo.Dr,{id:"copy-link",label:O.intl.string(O.t.WqhZss),icon:eA.LinkIcon,leadingAccessory:{type:"icon",icon:eA.LinkIcon},action:()=>(0,eP.C)((0,eS.n)(a,eM.VV.VIBEGRATIONS,t),()=>(0,b.P0)((0,y.o)(O.intl.string(O.t["L/PwZf"]),x.Ck.SUCCESS)))}):null,(0,l.jsx)(eo.Dr,{id:"copy-project-id",label:O.intl.string(F.default.b4TqpT),icon:eN.L,leadingAccessory:{type:"icon",icon:eN.L},action:()=>(0,eP.C)(t,()=>(0,b.P0)((0,y.o)(O.intl.string(F.default.WOKsTg),x.Ck.SUCCESS)))})]}):null,o?(0,l.jsxs)(eo.rX,{children:[(0,l.jsx)(eo.Dr,{id:"settings",label:O.intl.string(F.default["xhcY+n"]),icon:k.SettingsIcon,leadingAccessory:{type:"icon",icon:k.SettingsIcon},action:()=>(0,e_.A)(t,s??a)}),(0,l.jsx)(eo.Dr,{id:"delete",label:O.intl.string(O.t.oyYWHE),color:"danger",action:()=>{(0,u.A)({title:O.intl.formatToPlainString(F.default.ZokHVz,{name:n}),subtitle:O.intl.string(F.default.NmF939),confirmText:O.intl.string(O.t.oyYWHE),variant:"critical",onConfirm:async()=>{if(!(await (0,B.xx)(t)).ok)throw Error(O.intl.string(F.default.tqKZCi))}})}})]}):null]})},children:(e,t)=>{let{onClick:n}=e,{isShown:a}=t;return(0,l.jsx)("div",{ref:N,className:eV.h,children:(0,l.jsx)(D.A.Icon,{icon:eI.MoreHorizontalIcon,tooltip:O.intl.string(O.t["UKOtz+"]),"aria-label":O.intl.string(O.t["UKOtz+"]),"aria-haspopup":"menu","aria-expanded":a,selected:a,onClick:n})})}}):null}var eG=n(769979);function eF(e){let{title:t,actions:n,breadcrumb:a}=e;return(0,l.jsx)(D.A,{hideSearch:!0,toolbar:n,className:eG.wx,"aria-label":t,children:(0,l.jsxs)("div",{className:eG.QF,children:[(0,l.jsx)(E.D,{size:"custom",width:20,height:20,color:S.A.colors.TEXT_STRONG,className:eG.Kk}),null!=a?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(D.A.Title,{onClick:a.onClick,children:a.title}),(0,l.jsx)(D.A.Caret,{})]}):null,(0,l.jsx)(D.A.Title,{className:eG.Qw,wrapperClassName:eG.DD,children:t})]})})}var eO=n(73432),eB=n(683071),eY=n(287809),eH=n(614970),eU=n(107148);function eX(){return(0,c.bG)([eY.default],()=>eY.default.getCurrentUser()?.isStaff()??!1)?(0,l.jsx)("div",{className:eU.l,children:(0,l.jsx)(eB.w,{type:"info",iconAlign:"center",children:O.intl.format(eH.default["4BsHmp"],{})})}):null}var eK=n(321593),eq=n(580954),eW=n(192308),eZ=n(189213),e$=((a={}).NO_PREVIEW="no-preview",a.PERMISSIONS="permissions",a);function eQ(e){let{reason:t,transitionState:n,onClose:a}=e,i="permissions"===t;return(0,l.jsx)(eZ.Modal,{transitionState:n,onClose:a,title:O.intl.string(i?F.default.Rtlv25:F.default["+UouPe"]),subtitle:O.intl.string(i?F.default["nDQB/b"]:F.default["E0QD++"]),size:"sm",actions:[{text:O.intl.string(i?O.t.BddRzS:F.default["+Zh4FA"]),variant:"primary",onClick:a}]})}function eJ(e){(0,eW.openModal)(t=>(0,l.jsx)(eQ,{...t,reason:e}))}var e0=n(480007),e2=n(584936),e1=n(899154),e6=n(652215),e9=n(783134),e8=n(985451),e3=n(675210),e7=n(165610),e5=n(352978);function e4(e){return(0,l.jsx)(p.ChatIcon,{...e,size:"custom",width:20,height:20})}function te(e){return(0,l.jsx)(m.u,{...e,size:"custom",width:20,height:20})}function tt(e){return(0,l.jsx)(h.k,{...e,size:"custom",width:20,height:20})}function tn(e){let t,n,a,s,o,{project:r,guildId:c,onSelect:p,onRemix:m}=e,h=(t=r.id,n=r.name,a=i.useRef(!1),s=i.useCallback(()=>{a.current||(a.current=!0,(0,b.P0)((0,y.o)(O.intl.formatToPlainString(F.default.u9TapG,{name:n}),x.Ck.MESSAGE)),ep(t,n).catch(e=>{let n;console.error("[vibegrations] project export failed",t,e),(0,b.P0)((0,y.o)(409===(n=e instanceof Z._v?e.status:null)?O.intl.string(F.default.uB40Hz):404===n?O.intl.string(F.default.wCq2jC):O.intl.string(F.default.G2GqyP),x.Ck.FAILURE))}).finally(()=>{a.current=!1}))},[t,n]),{onExport:s,onImport:(o=em(i.useCallback(e=>{let a=eu(e);null!=a?(0,b.P0)((0,y.o)(a,x.Ck.FAILURE)):(0,u.A)({title:O.intl.formatToPlainString(F.default.XYZqZK,{name:n}),subtitle:O.intl.string(F.default["6syXoH"]),confirmText:O.intl.string(F.default.pgFuyr),variant:"critical",onConfirm:async()=>{(0,T.pX)(e6.BVt.CHANNEL(c,eM.VV.VIBEGRATIONS,t));try{await ec(t,e,O.intl.string(F.default.C7GU2r))}catch{(0,b.P0)((0,y.o)(O.intl.string(F.default["02GpNr"]),x.Ck.FAILURE))}}})},[t,n,c]))).open,importInput:o.input}),j=r.preview_application_id??r.application_id,{data:v}=(0,P.YY)(j),k=null==r.updated_at?null:O.intl.formatToPlainString(F.default.oMDaqr,{time:d()(r.updated_at).fromNow()});return(0,l.jsxs)("div",{className:e5.OY,children:[(0,l.jsx)(eK.Ay,{projectId:r.id}),(0,l.jsxs)(f.D,{className:e5.W6,onClick:p,children:[(0,l.jsx)("img",{alt:"",src:G.Ay.getApplicationIconURL({id:j,icon:v?.icon,size:40}),className:e5.VJ}),(0,l.jsxs)("div",{className:e5.MM,children:[(0,l.jsx)(g.E,{variant:"text-md/semibold",color:"text-strong",className:e5.j1,children:r.name}),null==k?null:(0,l.jsx)("div",{className:e5.h3,children:(0,l.jsx)(g.E,{variant:"text-sm/normal",color:"text-subtle",children:k})})]})]}),(0,l.jsx)("div",{className:e5.M2,children:(0,l.jsxs)("div",{className:e5.Pl,children:[(0,l.jsx)(eL,{projectId:r.id,projectName:r.name,guildId:c,projectGuildId:r.guild_id,isOwner:(0,$.PV)(r),canRemix:(0,$.H_)(r),onRemix:m,onExport:h.onExport,onImport:h.onImport}),h.importInput]})})]})}function ta(e){let{project:t,projectsLoaded:a,onBack:s,guildId:o}=e,[r,d]=i.useState(!1),[p,m]=i.useState(!0),[h,f]=i.useState(!1),[C,A]=i.useState(!1),[N,I]=i.useState(!1),E=M.Q_.useSetting(),[S,V]=i.useState(null),[z,L]=i.useState(null),G=t?.id??null,Y=i.useRef(G),H=i.useRef(!0),U=i.useRef(!1),X=i.useRef(null);Y.current=G,i.useEffect(()=>(H.current=!0,()=>{H.current=!1}),[]);let q=(0,c.bG)([$.Ay],()=>null==G?null:$.Ay.getIntegrationStatus(G),[G]),{data:Q,isLoading:J}=(0,P.YY)(t?.preview_application_id??void 0),ee=null!=G&&z!==G,et=q?.preview_ready===!0,en=q?.has_activity===!0,{availability:ei,activeMode:es,setMode:eo,widgetApplicationId:er}=(0,e1.q)({applicationId:t?.preview_application_id??null,previewApplicationId:t?.preview_application_id??null,declaredActivity:en,installScope:t?.install_scope??null,ownerAuthorizationRevoked:q?.owner_authorization_revoked===!0}),ed=(0,e3.Qg)({installScope:t?.install_scope??null,previewReady:et,integrationInstalled:q?.integration_installed??null,botPermissionsChanged:q?.bot_permissions_changed===!0}),ep=r||ee||J,eh=O.intl.string(F.default["5gU57O"]),ef=p&&!N&&!h&&!C,eg=O.intl.string(ef?F.default.YdgE0j:F.default.aWVf4j),eb=i.useCallback(()=>{if(N||h||C){I(!1),f(!1),A(!1),m(!0);return}m(e=>!e)},[N,h,C]),ey=i.useCallback(()=>m(!1),[]),{active:ex}=(0,e9.Q_)(G),ej=i.useRef(null),ev=(0,e8.o4)(G),ew=O.intl.string(ev?F.default.bfQ4Ki:ex?F.default.rfNEHn:F.default.lXcEa2),eC=i.useCallback(()=>{if(null!=G){if(ex)return void(0,e9.PS)(G);I(!1),f(!1),A(!1),m(!0),(0,e9.nI)(G)}},[G,ex]),eA=i.useCallback(()=>{I(e=>!e&&(m(!0),f(!1),A(!1),!0))},[]),eN=i.useCallback(()=>I(!1),[]),eI=i.useCallback(e=>{if(null==t||U.current)return;let n=t.id;function a(){return H.current&&Y.current===n}U.current=!0,f(!1),m(!0),V({entry:e,status:"restoring"}),(0,Z.oB)(n,e.sha).then(()=>{a()&&V({entry:e,status:"restored"})},t=>{a()&&(V({entry:e,status:"failed"}),console.error("[vibegrations] version restore failed",n,t),(0,b.P0)((0,y.o)(O.intl.string(F.default.q6iZ84),x.Ck.FAILURE)))}).finally(()=>{a()&&(U.current=!1)})},[t]),eE=(0,c.bG)([W.A],()=>W.A.isBuilderPreviewMobile()),eS=O.intl.string(eE?F.default["3uCc8U"]:F.default["+nzCxZ"]),eP=i.useCallback(()=>(0,B.GG)(!eE),[eE]),eR=(0,_.A)(t?.preview_application_id??null,e7.sd),eD=(0,e7.x1)(eR)&&eR.data.proxyTicketRefreshing,eT=i.useCallback(()=>{null==eR||eD||R.A.refreshProxyTicket(eR.id)},[eR,eD]),eV=i.useCallback(()=>{var e,n;null!=t&&(e=t.id,n=eR?.id,(0,Z.Bn)(e),(0,eq.A)().leaveFrame(n)),s()},[t,eR?.id,s]),ez=i.useCallback(()=>{null!=t&&(m(!0),(0,Z.dv)(t.id,O.intl.string(F.default["2ejwtJ"])))},[t]),eG=em(i.useCallback(e=>{if(null==t)return;let n=t.id,a=eu(e);null!=a?(0,b.P0)((0,y.o)(a,x.Ck.FAILURE)):(0,u.A)({title:O.intl.formatToPlainString(F.default.XYZqZK,{name:t.name}),subtitle:O.intl.string(F.default["6syXoH"]),confirmText:O.intl.string(F.default.pgFuyr),variant:"critical",onConfirm:async()=>{m(!0);try{await ec(n,e,O.intl.string(F.default.C7GU2r))}catch{(0,b.P0)((0,y.o)(O.intl.string(F.default["02GpNr"]),x.Ck.FAILURE))}}})},[t])),eB=i.useCallback(()=>{null!=t&&(0,e2.A)(t,o)},[t,o]),eY=i.useCallback(async()=>{if(null==G||Y.current!==G)return;X.current?.abort();let e=new AbortController;X.current=e,L(null);try{await (0,B.U1)(G,e.signal)}catch{}finally{e.signal.aborted||X.current!==e||Y.current!==G||L(G)}},[G]);i.useEffect(()=>(eY(),()=>{X.current?.abort(),X.current=null}),[eY]);let eH=q?.integration_installed===!0&&t?.guild_id!=null?t.guild_id:o,eU=i.useCallback(async()=>{null==t||t.guild_id===eH&&t.preview_guild_id===eH||await (0,B.M7)(t.id,{guild_id:eH,preview_guild_id:eH})},[eH,t]),eX=i.useCallback(async()=>{try{await eU()}catch{}await eY()},[eY,eU]),eK=i.useCallback(()=>{let e=t?.preview_application_id;null!=t&&null!=e&&K.A.openVibegrationsAppInstallModal({applicationId:e,application:Q??null,guildId:eH,onClose:()=>{eX()}})},[eX,eH,Q,t]),eZ=ed?{type:"permissions",onReviewPermissions:eK,loading:J||ee}:ee&&null==q?{type:"checking"}:void 0;i.useEffect(()=>{null==t&&a&&(0,T.pX)(e6.BVt.CHANNEL(o,eM.VV.VIBEGRATIONS))},[o,t,a]);let eQ=i.useCallback(e=>{d(!0);let t=(0,Z.TV)(e).then(t=>{if(!0!==t.ok)throw Error(O.intl.string(F.default.fNP6Cd));(0,B.tZ)(e,{isPreview:!1}).catch(t=>{console.error("[vibegrations] post-publish refresh failed",e,t)})});return t.catch(e=>{(0,b.P0)((0,y.o)(e instanceof Error?e.message:O.intl.string(F.default.fNP6Cd),x.Ck.FAILURE))}).finally(()=>d(!1)),t},[]),tn=i.useCallback(()=>{if(null==t)return;if(!et)return void eJ(e$.NO_PREVIEW);if(ed)return void eJ(e$.PERMISSIONS);if("user"===t.install_scope)return void eQ(t.id).then(()=>{(0,b.P0)((0,y.o)(O.intl.string(F.default.wA0o0L),x.Ck.SUCCESS))}).catch(()=>{});let e=(0,Z.$C)(t.id);e.catch(()=>{}),(0,e0.A)({projectId:t.id,guildId:o,applicationId:t.application_id,projectName:t.name,publish:eQ(t.id),initialDraft:e})},[o,ed,et,t,eQ]),ta=null!=t&&(0,$.jf)(t)?(0,l.jsx)(j.$,{size:"sm",variant:"primary",loading:r,disabled:ep,onClick:tn,text:eh}):null,tl=(0,l.jsx)(eF,{title:t?.name??O.intl.string(F.default.F2dRba),breadcrumb:{title:O.intl.string(F.default.Xmvb23),onClick:s},actions:null==t?null:(0,l.jsxs)("div",{className:e5.FO,children:[ei.showModeSwitch?(0,l.jsx)(ek,{modes:ei.modes,mode:es,onChange:eo}):null,(0,l.jsx)(D.A.Icon,{icon:eE?tt:te,tooltip:eS,"aria-label":eS,selected:eE,onClick:eP}),(0,l.jsx)(D.A.Icon,{ref:ej,icon:eO.A,tooltip:ew,"aria-label":ew,selected:ex,disabled:ev,onClick:eC}),"frame"===es?(0,l.jsx)(el.A,{frame:eR,controlProjectId:t.id}):null,(0,l.jsx)("div",{className:e5.YJ}),E?(0,l.jsx)(D.A.Icon,{icon:v.BugIcon,tooltip:O.intl.string(F.default["8MLfBT"]),"aria-label":O.intl.string(F.default["8MLfBT"]),selected:N,onClick:eA}):null,(0,$.PV)(t)?(0,l.jsx)(D.A.Icon,{icon:k.SettingsIcon,tooltip:O.intl.string(F.default["xhcY+n"]),"aria-label":O.intl.string(F.default["xhcY+n"]),onClick:()=>(0,e_.A)(t.id,t.guild_id??o)}):null,(0,l.jsx)(eL,{projectId:t.id,projectName:t.name,guildId:o,projectGuildId:t.guild_id,isOwner:(0,$.PV)(t),canRemix:(0,$.H_)(t),onRefresh:(0,e7.x1)(eR)?eT:void 0,isRefreshing:eD,onClose:eV,onExport:ez,onImport:eG.open,onRemix:eB,onConnectTool:()=>{var e;return e=t.id,void(0,eW.openModalLazy)(async()=>{let{default:t}=await Promise.all([n.e("964476"),n.e("461590")]).then(n.bind(n,84469));return n=>(0,l.jsx)(t,{...n,projectId:e})})},onVersionHistory:S?.status==="restoring"?void 0:()=>{m(!0),I(!1),A(!1),f(!0)},onRestorePoints:()=>{m(!0),I(!1),f(!1),A(!0)},refreshApplicationId:ei.modes.includes("widget")&&"unavailable-authorization-revoked"!==ei.profileState?er:null,previewProjectId:t.id}),ef?null:(0,l.jsx)(D.A.Icon,{icon:e4,tooltip:eg,"aria-label":eg,onClick:eb})]})});return(0,l.jsxs)("div",{className:e5.nj,children:[eG.input,(0,l.jsx)("main",{className:e5.JX,children:null==t?(0,l.jsxs)("div",{className:e5.j5,children:[tl,(0,l.jsxs)("div",{className:e5.sD,children:[(0,l.jsx)(w.D,{variant:"heading-lg/semibold",children:O.intl.string(F.default.F2dRba)}),(0,l.jsx)(g.E,{variant:"text-md/normal",color:"text-muted",children:O.intl.string(F.default.GnEJ3o)}),(0,l.jsx)(j.$,{variant:"secondary",size:"sm",text:O.intl.string(F.default["42EdIV"]),onClick:()=>(0,B.hF)(o)})]})]}):(0,l.jsx)(ea.A,{projectId:t.id,designFeedbackToggleRef:ej,applicationId:t.preview_application_id,previewApplicationId:t.preview_application_id,surface:e7.sd,header:tl,chatOpen:p,onCloseChat:ey,chatHeaderAction:ta,versionHistoryOpen:h,onCloseVersionHistory:()=>f(!1),restorePointsOpen:C,onCloseRestorePoints:()=>A(!1),installScope:t.install_scope,debugOpen:E&&N,onCloseDebug:eN,onRestoreVersion:eI,restoreState:S,previewReady:et,previewGate:eZ,availability:ei,activeMode:es,widgetApplicationId:er},t.id)})]})}function tl(e){let{projects:t,sharedProjects:n,fetchState:a,idea:s,guildId:r,submitting:d,createError:c,createDisabled:u,installScope:p,onInstallScopeChange:m,installScopeError:h,modelSettings:b,onModelSettingsChange:y,onSelectProject:x,onIdeaChange:v,onCreate:k,onImportNewProject:P,importing:R}=e,_=i.useMemo(()=>n.slice().sort((e,t)=>null==e.updated_at?1:null==t.updated_at?-1:t.updated_at.localeCompare(e.updated_at)),[n]),D=i.useRef(null);i.useEffect(()=>{null!=h&&D.current?.querySelector("button")?.focus()},[h]);let T=i.useMemo(()=>t.filter(e=>(0,q.X0)(e,r)).slice().sort((e,t)=>null==e.updated_at?1:null==t.updated_at?-1:t.updated_at.localeCompare(e.updated_at)),[t,r]),M=O.intl.string(F.default.TU9IGR),V=[O.intl.string(F.default["E+Q26x"]),O.intl.string(F.default["06/jqP"]),O.intl.string(F.default["3gSfUa"])],z=[{id:"feature-showcase",name:O.intl.string(F.default.BLDsiz),description:O.intl.string(F.default.jK1PL5)},{id:"collaborative-whiteboard",name:O.intl.string(F.default["+abXa8"]),description:O.intl.string(F.default.OZYPMR)},{id:"rust-sphere",name:O.intl.string(F.default.ieAgex),description:O.intl.string(F.default["5yvj+f"])}],L=O.intl.string(F.default.FYK2xQ),G=O.intl.string(F.default["/SUK82"]),Y=i.useCallback(e=>{"Enter"!==e.key||e.shiftKey||e.nativeEvent.isComposing||(e.preventDefault(),u||k())},[u,k]);return(0,l.jsxs)("div",{className:o()(e5.nj,e5.a0),children:[(0,l.jsx)(eF,{title:O.intl.string(F.default.Xmvb23)}),(0,l.jsxs)("div",{className:e5.Yo,children:[(0,l.jsxs)("main",{className:e5.ps,children:[(0,l.jsx)(C.Ip,{className:e5.Yy,children:(0,l.jsx)("div",{className:e5.Mo,children:(0,l.jsxs)("section",{className:o()(e5.Qs,e5.Ix),children:[(0,l.jsx)(eX,{}),(0,l.jsx)(w.D,{variant:"heading-xl/semibold",children:O.intl.string(F.default["2tYpRK"])}),(0,l.jsxs)("section",{className:e5.WI,"aria-label":L,children:[(0,l.jsxs)("div",{className:e5.G9,children:[(0,l.jsx)(g.E,{variant:"text-md/medium",color:"text-strong",children:L}),(0,l.jsx)(g.E,{variant:"text-sm/normal",color:"text-subtle",children:O.intl.string(F.default.BTNdyX)})]}),(0,l.jsx)("ol",{className:e5.Aw,children:z.map(e=>(0,l.jsx)("li",{className:e5.EA,children:(0,l.jsxs)(f.D,{"aria-disabled":d,"aria-label":O.intl.formatToPlainString(F.default.ER1uQ4,{name:e.name}),className:o()(e5.nx,e5.rz),onClick:d?void 0:()=>{var t;return k((t=e.name,O.intl.formatToPlainString(F.default["9D9L0S"],{templateName:t})))},children:[(0,l.jsx)(g.E,{className:e5.tG,variant:"text-md/semibold",color:"text-strong",children:e.name}),(0,l.jsx)(g.E,{className:e5.BK,variant:"text-sm/normal",color:"text-subtle",children:e.description})]})},e.id))})]}),(0,l.jsxs)("section",{className:e5.WI,"aria-label":G,children:[(0,l.jsxs)("div",{className:e5.G9,children:[(0,l.jsx)(g.E,{variant:"text-md/medium",color:"text-strong",children:G}),(0,l.jsx)(g.E,{variant:"text-sm/normal",color:"text-subtle",children:O.intl.string(F.default["+aBXyx"])})]}),(0,l.jsx)("ol",{className:e5.Aw,children:V.map(e=>(0,l.jsx)("li",{className:e5.EA,children:(0,l.jsx)(f.D,{"aria-disabled":d,className:e5.nx,onClick:d?void 0:()=>k(e),children:(0,l.jsx)(g.E,{variant:"text-md/semibold",color:"text-strong",className:e5.un,children:e})})},e))})]}),(0,l.jsx)(en,{})]})})}),(0,l.jsx)("div",{className:e5.Yl,children:(0,l.jsxs)("div",{className:o()(e5.Qs,e5.DA),children:[(0,l.jsx)(A.f,{label:M,hideLabel:!0,rows:3,value:s,placeholder:M,error:c,onChange:v,onKeyDown:Y}),(0,l.jsxs)("div",{className:e5.VP,children:[(0,l.jsx)("div",{className:e5.gH,ref:D,children:(0,l.jsx)(N.l,{selectionMode:"single",label:O.intl.string(F.default.MLg0S8),hideLabel:!0,placeholder:O.intl.string(F.default.MLg0S8),options:[{label:O.intl.string(F.default.MLg0S8),options:eg.map(e=>({id:`install-scope-option-${e.value}`,value:e.value,leading:e.icon,label:O.intl.string(e.nameMessage)}))}],value:p??void 0,onSelectionChange:m,errorMessage:h})}),(0,l.jsx)(ey.A,{settings:b??H.Cl,choices:(0,X.e)()?{main:[...U.S8.main,...U.wF.main],subagent:[...U.S8.subagent,...U.wF.subagent],thinking:U.S8.thinking}:U.S8,disabled:d,onChange:y}),(0,l.jsx)(j.$,{variant:"primary",size:"md",text:O.intl.string(O.t.CumH4u),disabled:u,loading:d,onClick:()=>k()})]})]})})]}),(0,l.jsxs)("aside",{className:e5.pA,"aria-label":O.intl.string(F.default.Bo5fE3),children:[(0,l.jsxs)("div",{className:e5.IR,children:[(0,l.jsxs)("div",{className:e5.RM,children:[(0,l.jsx)(g.E,{variant:"text-md/medium",color:"text-strong",children:O.intl.string(F.default.Bo5fE3)}),(0,l.jsx)(g.E,{variant:"text-sm/normal",color:"text-subtle",children:O.intl.string(F.default.YnAFtT)})]}),(0,l.jsx)(eb,{importing:R,onImport:P})]}),(0,l.jsxs)(C.Ip,{className:e5.xe,children:[(null==a||"loading"===a.type)&&0===T.length?(0,l.jsx)("div",{className:e5.E8,children:(0,l.jsx)(I.y,{})}):a?.type==="error"&&0===T.length?(0,l.jsxs)("div",{className:e5.E8,children:[(0,l.jsx)(g.E,{variant:"text-sm/normal",color:"text-muted",className:e5.JS,children:O.intl.string(F.default["IN/HRP"])}),(0,l.jsx)(j.$,{variant:"secondary",size:"sm",text:O.intl.string(F.default["42EdIV"]),onClick:()=>(0,B.hF)(r)})]}):0===T.length?(0,l.jsx)("div",{className:e5.D1,children:(0,l.jsxs)("div",{className:e5.ST,children:[(0,l.jsx)(E.D,{size:"lg",color:S.A.colors.TEXT_SUBTLE}),(0,l.jsx)(g.E,{variant:"text-sm/normal",color:"text-subtle",className:e5.sI,children:O.intl.string(F.default["vqy+in"])})]})}):(0,l.jsx)("div",{className:e5.Dq,children:T.map(e=>(0,l.jsx)(tn,{project:e,guildId:r,onSelect:()=>x(e.id),onRemix:()=>(0,e2.A)(e,r)},e.id))}),_.length>0?(0,l.jsxs)("div",{className:e5.qx,children:[(0,l.jsxs)("div",{className:e5.uc,children:[(0,l.jsx)(g.E,{variant:"text-md/medium",color:"text-strong",children:O.intl.string(F.default.jrCnUc)}),(0,l.jsx)(g.E,{variant:"text-sm/normal",color:"text-subtle",children:O.intl.string(F.default["1KEhDu"])})]}),(0,l.jsx)("div",{className:e5.Dq,children:_.map(e=>(0,l.jsx)(tn,{project:e,guildId:r,onSelect:()=>x(e.id),onRemix:()=>(0,e2.A)(e,r)},e.id))})]}):null]})]})]})]})}function ti(e){let t,{guildId:n,projectId:a}=e,s=(0,c.yK)([$.Ay],()=>$.Ay.getOwnedProjects()),o=(0,c.bG)([$.Ay],()=>$.Ay.getProjectsFetchState()),r=(0,c.yK)([$.Ay],()=>$.Ay.getSharedProjects(n),[n]),d=(0,c.yK)([V.Ay],()=>V.Ay.getSelfMember(n)?.roles??[],[n]),u=(0,c.bG)([z.A,L.A],()=>{let e=z.A.getGuild(n);return null!=e&&L.A.can(e6.xBc.MANAGE_GUILD,e)},[n]),[p,m]=i.useState(""),h=a??null,[f,g]=i.useState(!1),[j,v]=i.useState(null),[k,w]=i.useState("guild"),[C,A]=i.useState(null),[N,I]=i.useState(null);i.useEffect(()=>{(0,B.hF)(n)},[n,d,u]),i.useEffect(()=>{(0,B.dm)(n,h)},[n,h]);let E=i.useCallback(e=>{w(e),A(null)},[]),S=i.useCallback(async e=>{let t=(e??p).trim(),a=Q({idea:t,installScope:k,submitting:f});if("idea"!==a&&"submitting"!==a){if(null==k)return void A(O.intl.string(F.default.jQ3nQB));null!=e&&m(e),g(!0),v(null);try{let e=await (0,B.gA)({guild_id:n,install_scope:k});(0,Z.Hc)(e),(0,Z.r2)(e,N??H.Cl),(0,Z.dv)(e,t),(0,T.pX)(e6.BVt.CHANNEL(n,eM.VV.VIBEGRATIONS,e)),m(""),I(null)}catch(e){v((0,Y.Xd)(e))}finally{g(!1)}}},[k,n,p,N,f]),[P,R]=i.useState(!1),_=i.useCallback(async(e,t)=>{let a=eu(e);if(null!=a)return void(0,b.P0)((0,y.o)(a,x.Ck.FAILURE));R(!0);let l=null;try{l=await (0,B.gA)({guild_id:n,install_scope:t}),(0,Z.Hc)(l),(0,Z.r2)(l,N??H.Cl),await ec(l,e,O.intl.string(F.default.KjEtrZ)),(0,T.pX)(e6.BVt.CHANNEL(n,eM.VV.VIBEGRATIONS,l)),I(null)}catch{null!=l&&await (0,B.xx)(l).catch(()=>void 0),(0,b.P0)((0,y.o)(O.intl.string(F.default["02GpNr"]),x.Ck.FAILURE))}finally{R(!1)}},[n,N]),D=i.useCallback(e=>{(0,T.pX)(e6.BVt.CHANNEL(n,eM.VV.VIBEGRATIONS,e))},[n]),M=i.useCallback(()=>{(0,T.pX)(e6.BVt.CHANNEL(n,eM.VV.VIBEGRATIONS))},[n]),G=i.useCallback(e=>{m(e),v(null)},[]),U=(0,c.bG)([$.Ay],()=>{if(null==h)return null;let e=$.Ay.getProject(h);return null==e||(0,$.PV)(e)||e.guild_id===n?e:null},[h,n]),X=(0,c.bG)([$.Ay],()=>$.Ay.hasFetchedGuildProjects(n),[n]);return null!=h?(0,l.jsx)(ta,{project:U,projectsLoaded:X,onBack:M,guildId:n},h):(0,l.jsx)(tl,{projects:s,sharedProjects:r,fetchState:o,modelSettings:N,onModelSettingsChange:I,idea:p,guildId:n,submitting:f,createError:j,createDisabled:"idea"===(t=Q({idea:p,installScope:k,submitting:f}))||"submitting"===t,onSelectProject:D,onIdeaChange:G,onCreate:S,onImportNewProject:_,importing:P,installScope:k,onInstallScopeChange:E,installScopeError:C})}}