module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},67535,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},54001,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},26298,a=>{a.v("/_next/static/media/favicon.0x3dzn~oxb6tn.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},92214,a=>{"use strict";let b={src:a.i(26298).default,width:256,height:256};a.s(["default",0,b])},68506,a=>{"use strict";a.s(["OnboardingExperience",()=>b]);let b=(0,a.i(60687).registerClientReference)(function(){throw Error("Attempted to call OnboardingExperience() from the server but OnboardingExperience is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/apps/web/src/features/onboarding/onboarding-experience.tsx <module evaluation>","OnboardingExperience")},87083,a=>{"use strict";a.s(["OnboardingExperience",()=>b]);let b=(0,a.i(60687).registerClientReference)(function(){throw Error("Attempted to call OnboardingExperience() from the server but OnboardingExperience is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/apps/web/src/features/onboarding/onboarding-experience.tsx","OnboardingExperience")},12438,a=>{"use strict";a.i(68506);var b=a.i(87083);a.n(b)},23091,a=>{"use strict";var b=a.i(87397),c=a.i(12438),d=a.i(19196);let e={organizationName:"",workspaceRoot:"",ownerName:"",ownerEmail:"",ownerPassword:"",roles:[{id:"role-senior-engineer",name:"senior-engineer",agentName:"Senior Engineer",title:"Senior Engineer",instructions:"Lead architecture, code quality, and complex implementation.",llm:"openai",model:(0,d.defaultModelForProvider)("openai"),channelIds:["channel-general"]},{id:"role-junior-engineer",name:"junior-engineer",agentName:"Software Engineer",title:"Software Engineer",instructions:"Implement features, fix bugs, and write tests.",llm:"openai",model:(0,d.defaultModelForProvider)("openai"),channelIds:["channel-general"]},{id:"role-reviewer",name:"reviewer",agentName:"Code Reviewer",title:"Code Reviewer",instructions:"Review changes and enforce quality standards.",llm:"openai",model:(0,d.defaultModelForProvider)("openai"),channelIds:["channel-general"]},{id:"role-product-manager",name:"product-manager",agentName:"Product Manager",title:"Product Manager",instructions:"Define requirements, priorities, and product direction.",llm:"openai",model:(0,d.defaultModelForProvider)("openai"),channelIds:["channel-general"]}],channels:[{id:"channel-general",name:"general",description:"General discussions and updates"}],organizationReports:[{id:"report-senior",subjectName:"senior-engineer",managerName:"product-manager"},{id:"report-junior",subjectName:"junior-engineer",managerName:"product-manager"},{id:"report-reviewer",subjectName:"reviewer",managerName:"product-manager"},{id:"report-pm",subjectName:"product-manager",managerName:"@owner"}],providers:[{id:"provider-default",name:"openai",apiKey:""}],policies:{requireApprovalForWrites:!0,shellApprovalMode:"always_review",workspaceBoundaryMode:"hard"}};var f=a.i(89267);a.i(16447);var g=a.i(34842);async function h(){try{let a=await (0,f.getServerBootstrap)();"ready"===a.onboardingStatus&&(0,g.redirect)(a.auth.authenticated?"/workspace":"/login")}catch{}let a={...e,roles:[],organizationReports:[]},d=[];try{d=await (0,f.getServerRolePresets)()}catch{d=e.roles.map(a=>({name:a.name,title:a.title,description:a.instructions,instructions:a.instructions,channels:[],industry:"general",key:a.name}))}return(0,b.jsx)(c.OnboardingExperience,{starterDraft:a,roleTemplates:d})}a.s(["default",0,h],23091)},73437,a=>{a.n(a.i(23091))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__03rkxvu._.js.map