@nivora/matrix 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +4 -4
  3. package/.next/build-manifest.json +2 -2
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  6. package/.next/server/app/_global-error.html +2 -2
  7. package/.next/server/app/_global-error.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  15. package/.next/server/app/_not-found.html +1 -1
  16. package/.next/server/app/_not-found.rsc +1 -1
  17. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  18. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  19. package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  20. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  21. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  22. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  23. package/.next/server/app/builder/page.js +3 -3
  24. package/.next/server/app/builder/page_client-reference-manifest.js +1 -1
  25. package/.next/server/app/guide/page_client-reference-manifest.js +1 -1
  26. package/.next/server/app/matrix/page_client-reference-manifest.js +1 -1
  27. package/.next/server/app/page_client-reference-manifest.js +1 -1
  28. package/.next/server/app/releases/[id]/page.js +15 -15
  29. package/.next/server/app/releases/[id]/page_client-reference-manifest.js +1 -1
  30. package/.next/server/app/releases/page.js +3 -3
  31. package/.next/server/app/releases/page_client-reference-manifest.js +1 -1
  32. package/.next/server/app/specs/[id]/page.js +2 -2
  33. package/.next/server/app/specs/[id]/page_client-reference-manifest.js +1 -1
  34. package/.next/server/app-paths-manifest.json +4 -4
  35. package/.next/server/pages/404.html +1 -1
  36. package/.next/server/pages/500.html +2 -2
  37. package/.next/server/server-reference-manifest.js +1 -1
  38. package/.next/server/server-reference-manifest.json +1 -1
  39. package/.next/static/chunks/app/builder/{page-29ef0d9ec753466c.js → page-e8eb2c5950ee1495.js} +2 -2
  40. package/.next/static/chunks/app/releases/[id]/page-f13257c6f0e69a7c.js +1 -0
  41. package/.next/static/chunks/app/releases/{page-6fc2e948b934fbb5.js → page-050bb308276e178c.js} +1 -1
  42. package/.next/static/chunks/app/specs/[id]/page-a1e2672e95d4c9c6.js +1 -0
  43. package/bin/cli.js +45 -22
  44. package/package.json +1 -1
  45. package/.next/static/chunks/app/releases/[id]/page-467d1893a4442eed.js +0 -1
  46. package/.next/static/chunks/app/specs/[id]/page-b5f2c99269d194c4.js +0 -1
  47. /package/.next/static/{p01ytei1EF9z6WCg6Sbk1 → SmDoKluq2qozv2eyHXbUF}/_buildManifest.js +0 -0
  48. /package/.next/static/{p01ytei1EF9z6WCg6Sbk1 → SmDoKluq2qozv2eyHXbUF}/_ssgManifest.js +0 -0
@@ -1,5 +1,5 @@
1
1
  (()=>{var a={};a.id=462,a.ids=[462],a.modules={142:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h,dynamic:()=>g});var d=c(5735),e=c(1081),f=c(1805);let g="force-dynamic";function h(){let a=(0,e.Er)(),b=(0,e.I1)(),c=(0,e.x7)(),g=c.flatMap(a=>a.scenarios.flatMap(a=>a.steps)),h={given:[...new Set(g.filter(a=>a.startsWith("Given ")))],when:[...new Set(g.filter(a=>a.startsWith("When ")))],then:[...new Set(g.filter(a=>a.startsWith("Then ")))],and:[...new Set(g.filter(a=>a.startsWith("And ")))],but:[...new Set(g.filter(a=>a.startsWith("But ")))]};return(0,d.jsxs)("div",{children:[(0,d.jsxs)("header",{className:"page-header",children:[(0,d.jsx)("h1",{className:"page-title",children:"Builder"}),(0,d.jsx)("p",{className:"page-subtitle",children:"Create URS, FS, and Risk specifications"})]}),(0,d.jsx)(f.BuilderTabs,{ursItems:a.map(a=>({id:a.id,title:a.title})),riskItems:b.map(a=>({id:a.id,title:a.title})),fsItems:c.map(a=>({id:a.id,title:a.title})),counts:{urs:a.length,fs:c.length,risk:b.length},stepsByType:h})]})}},261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},755:a=>{"use strict";a.exports=require("node:url")},846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},1025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},1081:(a,b,c)=>{"use strict";c.d(b,{Er:()=>d.Er,I1:()=>d.I1,wx:()=>f,x7:()=>d.x7,zm:()=>e});var d=c(998);function e(){let a=(0,d.Er)(),b=(0,d.x7)(),c=new Map((0,d.I1)().map(a=>[a.id,a]));return a.map(a=>{let d=b.filter(b=>b.urs_ids.includes(a.id)),e=0;return{urs:a,fsItems:d.map(a=>{e+=a.scenario_count;let b=a.risk_ids.map(a=>c.get(a)).filter(Boolean);return{fs:a,risks:b}}),coverage:{fsCount:d.length,scenarioCount:e,hasCoverage:e>0}}})}function f(){let a=(0,d.Er)(),b=(0,d.x7)(),c=(0,d.I1)(),e=b.reduce((a,b)=>a+b.scenario_count,0),f=a.filter(a=>"draft"===a.status).length+c.filter(a=>"draft"===a.status).length,g=a.filter(a=>"review"===a.status).length+c.filter(a=>"review"===a.status).length,h=a.filter(a=>"approved"===a.status).length+c.filter(a=>"approved"===a.status).length,i=a.filter(a=>b.some(b=>b.urs_ids.includes(a.id))).length,j=b.filter(a=>a.scenario_count>0).length;return{counts:{urs:a.length,fs:b.length,scenarios:e,risk:c.length},byStatus:{draft:f,review:g,approved:h},coverage:{ursWithFS:i,ursTotal:a.length,fsWithTests:j,fsTotal:b.length}}}},1455:a=>{"use strict";a.exports=require("node:fs/promises")},1524:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>C.a,__next_app__:()=>K,handler:()=>M,routeModule:()=>L});var d=c(7553),e=c(4006),f=c(7798),g=c(4775),h=c(9373),i=c(3461),j=c(1020),k=c(6349),l=c(4365),m=c(6023),n=c(3747),o=c(4235),p=c(3938),q=c(261),r=c(6758),s=c(7243),t=c(6713),u=c(7527),v=c(2820),w=c(8216),x=c(7929),y=c(9551),z=c(9125),A=c(6439),B=c(5547),C=c.n(B),D=c(1287),E=c(1494),F=c(722),G=c(753),H=c(3954),I={};for(let a in D)0>["default","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(I[a]=()=>D[a]);c.d(b,I);let J={children:["",{children:["builder",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,142)),"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/page.tsx"]}]},{metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,440))).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(c.bind(c,6537)),"/Users/matthew/Code/github/p11o/machine/docs/src/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,5547,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,5091,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,5270,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,8193,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,440))).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]}.children,K={require:c,loadChunk:()=>Promise.resolve()},L=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/builder/page",pathname:"/builder",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:J},distDir:".next",relativeProjectDir:""});async function M(a,b,d){var B;L.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let I=!!(0,h.getRequestMeta)(a,"minimalMode"),N="/builder/page";"/index"===N&&(N="/");let O=await L.prepare(a,b,{srcPage:N,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,pageIsDynamic:S,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,serverActionsManifest:W,clientReferenceManifest:X,subresourceIntegrityManifest:Y,prerenderManifest:Z,isDraftMode:$,resolvedPathname:_,revalidateOnlyGenerated:aa,routerServerContext:ab,nextConfig:ac,parsedUrl:ad,interceptionRoutePatterns:ae,deploymentId:af}=O,ag=(0,q.normalizeAppPath)(N),{isOnDemandRevalidate:ah}=O,ai=ac.experimental.ppr&&!ac.cacheComponents&&(0,H.isInterceptionRouteAppPath)(_)?null:L.match(_,Z),aj=!!Z.routes[_],ak=a.headers["user-agent"]||"",al=(0,t.getBotType)(ak),am=(0,p.isHtmlBotRequest)(a),an=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[s.NEXT_ROUTER_PREFETCH_HEADER],ao=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[s.RSC_HEADER],ap=(0,r.getIsPossibleServerAction)(a),aq=(0,m.checkIsAppPPREnabled)(ac.experimental.ppr);if(!(0,h.getRequestMeta)(a,"postponed")&&aq&&"1"===a.headers[x.NEXT_RESUME_HEADER]&&"POST"===a.method){let b=[];for await(let c of a)b.push(c);let c=Buffer.concat(b).toString("utf8");(0,h.addRequestMeta)(a,"postponed",c)}let ar=aq&&(null==(B=Z.routes[ag]??Z.dynamicRoutes[ag])?void 0:B.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?(0,h.getRequestMeta)(a,"postponed"):void 0,av=ar&&ao&&!an;I&&(av=av&&!!au);let aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=(!am||!ar)&&(!ak||(0,p.shouldServeStreamingMetadata)(ak,ac.htmlLimitedBots)),ay=!!((ai||aj||Z.routes[ag])&&!(am&&ar)),az=ar&&!0===ac.cacheComponents,aA=!0===L.isDev||!ay||"string"==typeof au||(az&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?av&&!I:av),aB=am&&ar,aC=null;$||!ay||aA||ap||au||av||(aC=_);let aD=aC;!aD&&L.isDev&&(aD=_),L.isDev||$||!ay||!ao||av||(0,k.d)(a.headers);let aE={...D,tree:J,GlobalError:C(),handler:M,routeModule:L,__next_app__:K};W&&X&&(0,o.setManifestsSingleton)({page:N,clientReferenceManifest:X,serverActionsManifest:W});let aF=a.method||"GET",aG=(0,g.getTracer)(),aH=aG.getActiveScopeSpan(),aI=async()=>((null==ab?void 0:ab.render404)?await ab.render404(a,b,ad,!1):b.end("This page could not be found"),null);try{let f=L.getVaryHeader(_,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return L.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aG.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aF} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aF} ${N}`)})},m=(0,h.getRequestMeta)(a,"incrementalCache"),o=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let l={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aE,Component:(0,j.T)(aE),params:R,routeModule:L,page:N,postponed:f,shouldWaitOnAllReady:aB,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||aA,buildManifest:T,nextFontManifest:U,reactLoadableManifest:V,subresourceIntegrityManifest:Y,setCacheStatus:null==ab?void 0:ab.setCacheStatus,setIsrStatus:null==ab?void 0:ab.setIsrStatus,setReactDebugChannel:null==ab?void 0:ab.setReactDebugChannel,sendErrorsToBrowser:null==ab?void 0:ab.sendErrorsToBrowser,dir:c(3873).join(process.cwd(),L.relativeProjectDir),isDraftMode:$,botType:al,isOnDemandRevalidate:ah,isPossibleServerAction:ap,assetPrefix:ac.assetPrefix,nextConfigOutput:ac.output,crossOrigin:ac.crossOrigin,trailingSlash:ac.trailingSlash,images:ac.images,previewProps:Z.preview,deploymentId:af,enableTainting:ac.experimental.taint,htmlLimitedBots:ac.htmlLimitedBots,reactMaxHeadersLength:ac.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:m,cacheLifeProfiles:ac.cacheLife,basePath:ac.basePath,serverActions:ac.experimental.serverActions,...as||at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:as}:{},cacheComponents:!!ac.cacheComponents,experimental:{isRoutePPREnabled:ar,expireTime:ac.expireTime,staleTimes:ac.experimental.staleTimes,dynamicOnHover:!!ac.experimental.dynamicOnHover,inlineCss:!!ac.experimental.inlineCss,authInterrupts:!!ac.experimental.authInterrupts,clientTraceMetadata:ac.experimental.clientTraceMetadata||[],clientParamParsingOrigins:ac.experimental.clientParamParsingOrigins},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>L.onRequestError(a,b,d,e,ab),err:(0,h.getRequestMeta)(a,"invokeError"),dev:L.isDev}};as&&(l.renderOpts.nextExport=!0,l.renderOpts.supportsDynamicResponse=!1,l.renderOpts.isDebugDynamicAccesses=as),i&&(l.renderOpts.supportsDynamicResponse=!1);let n=await k(e,l),{metadata:o}=n,{cacheControl:p,headers:q={},fetchTags:r,fetchMetrics:s}=o;if(r&&(q[x.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,ay&&(null==p?void 0:p.revalidate)===0&&!L.isDev&&!ar){let a=o.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${_}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
- see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:n,headers:q,rscData:o.flightData,postponed:o.postponed,status:o.statusCode,segmentData:o.segmentData},cacheControl:p}},p=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i,forceStaticRender:j=!1})=>{let k,l=!1===L.isDev,q=c||b.writableEnded;if(ah&&aa&&!f&&!I)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(k=(0,v.parseFallbackField)(ai.fallback)),k===v.FallbackMode.PRERENDER&&(0,t.isBot)(ak)&&(!ar||am)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(k!==v.FallbackMode.NOT_FOUND||f)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),!I&&k!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!q&&!$&&S&&(l||!aj)){if((l||ai)&&k===v.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new A.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=l&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,c=l&&(null==ai?void 0:ai.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,n.getFallbackRouteParams)(ag,L):null,f=await L.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>o({span:i,postponed:void 0,fallbackRouteParams:c,forceStaticRender:!1}),waitUntil:d.waitUntil,isMinimalMode:I});if(null===f)return null;if(f)return delete f.cacheControl,f}}let r=ah||g||!au?void 0:au;if(az&&!I&&m&&av&&!j){let b=await m.get(_,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===u.CachedRouteKind.APP_PAGE&&(r=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,G.scheduleOnNextTick)(async()=>{let b=L.getResponseCache(a);try{await b.revalidate(_,m,ar,!1,a=>p({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==r)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=l&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,h.getRequestMeta)(a,"renderFallbackShell")?(0,n.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,n.getFallbackRouteParams)(ag,L):null;return o({span:i,postponed:r,fallbackRouteParams:s,forceStaticRender:j})},q=async c=>{var f,g,i,j,k;let l,m=await L.handleResponse({cacheKey:aC,responseGenerator:a=>p({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:d.waitUntil,isMinimalMode:I});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),L.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!m){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=m.value)?void 0:f.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;ay&&!av&&(!n||an)&&(I||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),b.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=m;if(au)l={revalidate:0,expire:void 0};else if(av)l={revalidate:0,expire:void 0};else if(!L.isDev)if($)l={revalidate:0,expire:void 0};else if(ay){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(j=m.cacheControl)?void 0:j.expire)??ac.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===u.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[x.NEXT_CACHE_TAGS_HEADER];I&&ay&&c&&"string"==typeof c&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(b.statusCode=204,(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let r=az?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r(m,{url:(0,h.getRequestMeta)(a,"initURL")??a.url}))return null;if(q.headers){let a={...q.headers};for(let[c,d]of(I&&ay||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=q.headers)?void 0:g[x.NEXT_CACHE_TAGS_HEADER];if(I&&ay&&t&&"string"==typeof t&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!q.status||ao&&ar||(b.statusCode=q.status),!I&&q.status&&E.RedirectStatusCode[q.status]&&ao&&(b.statusCode=200),n&&!av&&b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===q.rscData){if(q.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new F.InvariantError(`Expected RSC response, got ${q.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:q.html,cacheControl:m.cacheControl})}return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:w.default.fromStatic(q.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=q.html;if(!n||I||ao)return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:v,cacheControl:m.cacheControl});if(as)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let A=new TransformStream;return v.push(A.readable),o({span:c,postponed:q.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(A.writable)}).catch(a=>{A.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(i.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},q));await q(aH)}catch(b){throw b instanceof A.NoFallbackError||await L.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}},1787:a=>{"use strict";a.exports=require("bun:sqlite")},1805:(a,b,c)=>{"use strict";c.d(b,{BuilderTabs:()=>d});let d=(0,c(7943).registerClientReference)(function(){throw Error("Attempted to call BuilderTabs() from the server but BuilderTabs 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.")},"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/builder-tabs.tsx","BuilderTabs")},1932:a=>{"use strict";a.exports=require("url")},3024:a=>{"use strict";a.exports=require("node:fs")},3033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3390:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"403409638eb593eaa785d2919a0816535c64a9c9c5":()=>n,"4053fbbaeee5198306e625ddeb37160b138db1e8f4":()=>m,"600d3806d6673dbc2e665d3c2e44546c76b6c23a6e":()=>l});var d=c(5349),e=c(9021),f=c.n(e),g=c(3873),h=c.n(g),i=c(2650),j=c(9530),k=c(8864);async function l(a,b){try{let c=a.replace(/[^a-zA-Z0-9\-_\.]/g,"-").toLowerCase();if(!c.endsWith(".requirement"))return{success:!1,error:"Filename must end with .requirement"};let d=h().join(process.cwd(),"specs","fs",c);if(f().existsSync(d))return{success:!1,error:`File ${c} already exists`};f().writeFileSync(d,b,"utf-8");let e=function(a,b){let c=a.split("\n"),d=[],e=[],f=!1;for(let a of c){let b=a.trim();if(b.startsWith("@")&&!f){let a=b.split(/\s+/).filter(a=>a.startsWith("@"));e.push(...a)}else if(b.startsWith("Feature:")){f=!0;break}}let g=c.find(a=>a.trim().startsWith("Feature:")),i=g?.match(/Feature:\s*(.+)/),j=i?.[1]||h().basename(b),k=j.match(/^(FS-\d+)/),l=k?.[1]||h().basename(b,".requirement").toUpperCase(),m=c.findIndex(a=>a.trim().startsWith("Feature:")),n="",o=[];for(let a=m+1;a<c.length;a++){let b=c[a].trim();if(b.startsWith("Scenario")||b.startsWith("Background")||b.startsWith("@"))break;b.startsWith("-")?o.push(b.substring(1).trim()):b&&!b.startsWith("Requirements:")&&(n+=(n?" ":"")+b)}let p=null;for(let a=0;a<c.length;a++){let b=c[a].trim();if(b.startsWith("Scenario Outline:")||b.startsWith("Scenario:")){p&&d.push(p);let e=b.startsWith("Scenario Outline:"),f=b.replace(/Scenario( Outline)?:\s*/,""),g=[];for(let b=a-1;b>=0;b--){let a=c[b].trim();if(a.startsWith("@")){let b=a.split(/\s+/).filter(a=>a.startsWith("@"));g.unshift(...b)}else if(a)break}p={name:f,tags:g,steps:[],line:a+1,is_outline:e}}p&&/^(Given|When|Then|And|But)\s/.test(b)&&p.steps.push(b)}p&&d.push(p);let q=e.filter(a=>a.match(/@URS-\d+/)).map(a=>a.replace("@","")),r=e.filter(a=>a.match(/@RISK-\d+/)).map(a=>a.replace("@","")),s=new Date().toISOString().split("T")[0];return{id:l,type:"fs",title:j,file_path:b,description:n,requirements:o,urs_ids:q,risk_ids:r,scenarios:d,scenario_count:d.length,created_at:s,updated_at:s}}(b,d),g=(0,k.Lf)();for(let a of(g.query(`
2
+ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:u.CachedRouteKind.APP_PAGE,html:n,headers:q,rscData:o.flightData,postponed:o.postponed,status:o.statusCode,segmentData:o.segmentData},cacheControl:p}},p=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i,forceStaticRender:j=!1})=>{let k,l=!1===L.isDev,q=c||b.writableEnded;if(ah&&aa&&!f&&!I)return(null==ab?void 0:ab.render404)?await ab.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(k=(0,v.parseFallbackField)(ai.fallback)),k===v.FallbackMode.PRERENDER&&(0,t.isBot)(ak)&&(!ar||am)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(k!==v.FallbackMode.NOT_FOUND||f)&&(k=v.FallbackMode.BLOCKING_STATIC_RENDER),!I&&k!==v.FallbackMode.BLOCKING_STATIC_RENDER&&aD&&!q&&!$&&S&&(l||!aj)){if((l||ai)&&k===v.FallbackMode.NOT_FOUND){if(ac.experimental.adapterPath)return await aI();throw new A.NoFallbackError}if(ar&&(ac.cacheComponents?!av:!ao)){let b=l&&"string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:ag,c=l&&(null==ai?void 0:ai.fallbackRouteParams)?(0,n.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,n.getFallbackRouteParams)(ag,L):null,f=await L.handleResponse({cacheKey:b,req:a,nextConfig:ac,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:Z,isRoutePPREnabled:ar,responseGenerator:async()=>o({span:i,postponed:void 0,fallbackRouteParams:c,forceStaticRender:!1}),waitUntil:d.waitUntil,isMinimalMode:I});if(null===f)return null;if(f)return delete f.cacheControl,f}}let r=ah||g||!au?void 0:au;if(az&&!I&&m&&av&&!j){let b=await m.get(_,{kind:u.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===u.CachedRouteKind.APP_PAGE&&(r=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,G.scheduleOnNextTick)(async()=>{let b=L.getResponseCache(a);try{await b.revalidate(_,m,ar,!1,a=>p({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if(as&&void 0!==r)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:u.CachedRouteKind.PAGES,html:w.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let s=l&&(null==ai?void 0:ai.fallbackRouteParams)&&(0,h.getRequestMeta)(a,"renderFallbackShell")?(0,n.createOpaqueFallbackRouteParams)(ai.fallbackRouteParams):at?(0,n.getFallbackRouteParams)(ag,L):null;return o({span:i,postponed:r,fallbackRouteParams:s,forceStaticRender:j})},q=async c=>{var f,g,i,j,k;let l,m=await L.handleResponse({cacheKey:aC,responseGenerator:a=>p({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ac,prerenderManifest:Z,waitUntil:d.waitUntil,isMinimalMode:I});if($&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),L.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!m){if(aC)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=m.value)?void 0:f.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=m.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let n="string"==typeof m.value.postponed;ay&&!av&&(!n||an)&&(I||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":m.isMiss?"MISS":m.isStale?"STALE":"HIT"),b.setHeader(s.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=m;if(au)l={revalidate:0,expire:void 0};else if(av)l={revalidate:0,expire:void 0};else if(!L.isDev)if($)l={revalidate:0,expire:void 0};else if(ay){if(m.cacheControl)if("number"==typeof m.cacheControl.revalidate){if(m.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${m.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:m.cacheControl.revalidate,expire:(null==(j=m.cacheControl)?void 0:j.expire)??ac.expireTime}}else l={revalidate:x.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(m.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===u.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[x.NEXT_CACHE_TAGS_HEADER];I&&ay&&c&&"string"==typeof c&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:w.default.fromStatic(d,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl}):(b.statusCode=204,(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl}))}let r=az?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r(m,{url:(0,h.getRequestMeta)(a,"initURL")??a.url}))return null;if(q.headers){let a={...q.headers};for(let[c,d]of(I&&ay||delete a[x.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let t=null==(g=q.headers)?void 0:g[x.NEXT_CACHE_TAGS_HEADER];if(I&&ay&&t&&"string"==typeof t&&b.setHeader(x.NEXT_CACHE_TAGS_HEADER,t),!q.status||ao&&ar||(b.statusCode=q.status),!I&&q.status&&E.RedirectStatusCode[q.status]&&ao&&(b.statusCode=200),n&&!av&&b.setHeader(s.NEXT_DID_POSTPONE_HEADER,"1"),ao&&!$){if(void 0===q.rscData){if(q.html.contentType!==s.RSC_CONTENT_TYPE_HEADER)if(ac.cacheComponents)return b.statusCode=404,(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:w.default.EMPTY,cacheControl:m.cacheControl});else throw Object.defineProperty(new F.InvariantError(`Expected RSC response, got ${q.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:q.html,cacheControl:m.cacheControl})}return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:w.default.fromStatic(q.rscData,s.RSC_CONTENT_TYPE_HEADER),cacheControl:m.cacheControl})}let v=q.html;if(!n||I||ao)return(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:v,cacheControl:m.cacheControl});if(as)return v.push(new ReadableStream({start(a){a.enqueue(y.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}});let A=new TransformStream;return v.push(A.readable),o({span:c,postponed:q.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==u.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(A.writable)}).catch(a=>{A.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,z.sendRenderResult)({req:a,res:b,generateEtags:ac.generateEtags,poweredByHeader:ac.poweredByHeader,result:v,cacheControl:{revalidate:0,expire:void 0}})};if(!aH)return await aG.withPropagatedContext(a.headers,()=>aG.trace(i.BaseServerSpan.handleRequest,{spanName:`${aF} ${N}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aF,"http.target":a.url}},q));await q(aH)}catch(b){throw b instanceof A.NoFallbackError||await L.onRequestError(a,b,{routerKind:"App Router",routePath:N,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:ay,isOnDemandRevalidate:ah})},!1,ab),b}}},1787:a=>{"use strict";a.exports=require("bun:sqlite")},1805:(a,b,c)=>{"use strict";c.d(b,{BuilderTabs:()=>d});let d=(0,c(7943).registerClientReference)(function(){throw Error("Attempted to call BuilderTabs() from the server but BuilderTabs 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.")},"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/builder-tabs.tsx","BuilderTabs")},1932:a=>{"use strict";a.exports=require("url")},3024:a=>{"use strict";a.exports=require("node:fs")},3033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3873:a=>{"use strict";a.exports=require("path")},3954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},5393:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"404d48aaa08c19ca607b49abf2013e489dfeeb974d":()=>m,"405a133b1c5978f07524624f288f591e8f6cf9e198":()=>n,"60b1e39fb88d1f6470f487db8a11ff4097710fd7b8":()=>l});var d=c(5349),e=c(9021),f=c.n(e),g=c(3873),h=c.n(g),i=c(2650),j=c(9530),k=c(8864);async function l(a,b){try{let c=a.replace(/[^a-zA-Z0-9\-_\.]/g,"-").toLowerCase();if(!c.endsWith(".requirement"))return{success:!1,error:"Filename must end with .requirement"};let d=h().join(process.cwd(),"specs","fs",c);if(f().existsSync(d))return{success:!1,error:`File ${c} already exists`};f().writeFileSync(d,b,"utf-8");let e=function(a,b){let c=a.split("\n"),d=[],e=[],f=!1;for(let a of c){let b=a.trim();if(b.startsWith("@")&&!f){let a=b.split(/\s+/).filter(a=>a.startsWith("@"));e.push(...a)}else if(b.startsWith("Feature:")){f=!0;break}}let g=c.find(a=>a.trim().startsWith("Feature:")),i=g?.match(/Feature:\s*(.+)/),j=i?.[1]||h().basename(b),k=j.match(/^(FS-\d+)/),l=k?.[1]||h().basename(b,".requirement").toUpperCase(),m=c.findIndex(a=>a.trim().startsWith("Feature:")),n="",o=[];for(let a=m+1;a<c.length;a++){let b=c[a].trim();if(b.startsWith("Scenario")||b.startsWith("Background")||b.startsWith("@"))break;b.startsWith("-")?o.push(b.substring(1).trim()):b&&!b.startsWith("Requirements:")&&(n+=(n?" ":"")+b)}let p=null;for(let a=0;a<c.length;a++){let b=c[a].trim();if(b.startsWith("Scenario Outline:")||b.startsWith("Scenario:")){p&&d.push(p);let e=b.startsWith("Scenario Outline:"),f=b.replace(/Scenario( Outline)?:\s*/,""),g=[];for(let b=a-1;b>=0;b--){let a=c[b].trim();if(a.startsWith("@")){let b=a.split(/\s+/).filter(a=>a.startsWith("@"));g.unshift(...b)}else if(a)break}p={name:f,tags:g,steps:[],line:a+1,is_outline:e}}p&&/^(Given|When|Then|And|But)\s/.test(b)&&p.steps.push(b)}p&&d.push(p);let q=e.filter(a=>a.match(/@URS-\d+/)).map(a=>a.replace("@","")),r=e.filter(a=>a.match(/@RISK-\d+/)).map(a=>a.replace("@","")),s=new Date().toISOString().split("T")[0];return{id:l,type:"fs",title:j,file_path:b,description:n,requirements:o,urs_ids:q,risk_ids:r,scenarios:d,scenario_count:d.length,created_at:s,updated_at:s}}(b,d),g=(0,k.Lf)();for(let a of(g.query(`
3
3
  INSERT INTO fs (id, title, file_path, description, requirements,
4
4
  scenario_count, created_at, updated_at)
5
5
  VALUES (?, ?, ?, ?, ?, ?, ?, ?)
@@ -12,7 +12,7 @@ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__
12
12
  updated_at = excluded.updated_at
13
13
  `).run(e.id,e.title,e.file_path,e.description,JSON.stringify(e.requirements),e.scenario_count,e.created_at,(0,k.lg)()),g.query("DELETE FROM fs_urs_link WHERE fs_id = ?").run(e.id),e.urs_ids))g.query("SELECT id FROM urs WHERE id = ?").get(a)&&g.query(`
14
14
  INSERT OR IGNORE INTO fs_urs_link (fs_id, urs_id) VALUES (?, ?)
15
- `).run(e.id,a);return(0,i.revalidatePath)("/"),(0,i.revalidatePath)("/matrix"),(0,i.revalidatePath)("/builder"),{success:!0,id:e.id}}catch(a){return{success:!1,error:String(a)}}}async function m(a){try{let b=(0,j.r_)(a);return(0,i.revalidatePath)("/"),(0,i.revalidatePath)("/matrix"),(0,i.revalidatePath)("/builder"),{success:!0,id:b.id}}catch(a){return{success:!1,error:String(a)}}}async function n(a){try{let b=(0,j.w)(a);return(0,i.revalidatePath)("/"),(0,i.revalidatePath)("/matrix"),(0,i.revalidatePath)("/builder"),{success:!0,id:b.id}}catch(a){return{success:!1,error:String(a)}}}(0,c(9337).D)([l,m,n]),(0,d.A)(l,"600d3806d6673dbc2e665d3c2e44546c76b6c23a6e",null),(0,d.A)(m,"4053fbbaeee5198306e625ddeb37160b138db1e8f4",null),(0,d.A)(n,"403409638eb593eaa785d2919a0816535c64a9c9c5",null)},3873:a=>{"use strict";a.exports=require("path")},3954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},6126:(a,b,c)=>{Promise.resolve().then(c.bind(c,1805))},6193:a=>{"use strict";a.exports=require("node:string_decoder")},6294:(a,b,c)=>{Promise.resolve().then(c.bind(c,8737))},6439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},6713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},6760:a=>{"use strict";a.exports=require("node:path")},7075:a=>{"use strict";a.exports=require("node:stream")},8354:a=>{"use strict";a.exports=require("util")},8474:a=>{"use strict";a.exports=require("node:events")},8737:(a,b,c)=>{"use strict";c.d(b,{BuilderTabs:()=>s});var d=c(8249),e=c(7484);function f({options:a,selected:b,onChange:c,placeholder:f,multi:g=!0,allowCustom:h=!0}){let[i,j]=(0,e.useState)(!1),[k,l]=(0,e.useState)(""),m=(0,e.useRef)(null),n=a.filter(a=>a.label.toLowerCase().includes(k.toLowerCase())&&(!g||!b.includes(a.value)));return(0,d.jsxs)("div",{ref:m,style:{position:"relative",flex:1},children:[g&&b.length>0&&(0,d.jsx)("div",{style:{display:"flex",gap:"0.25rem",flexWrap:"wrap",marginBottom:"0.5rem"},children:b.map(e=>{let f=a.find(a=>a.value===e);return(0,d.jsxs)("span",{className:"badge badge-success",style:{display:"flex",alignItems:"center",gap:"0.25rem"},children:[f?.value||e,(0,d.jsx)("button",{onClick:()=>{c(b.filter(a=>a!==e))},style:{background:"none",border:"none",cursor:"pointer",padding:0,fontSize:"1rem",color:"inherit"},children:"\xd7"})]},e)})}),(0,d.jsx)("input",{type:"text",value:g||i?k:(()=>{if(!g&&b.length>0){let c=a.find(a=>a.value===b[0]);return c?.label||b[0]}return""})(),onChange:a=>l(a.target.value),onFocus:()=>j(!0),placeholder:0!==b.length&&g?"Add more...":f,className:"input",style:{width:"100%"}}),i&&(0,d.jsxs)("div",{style:{position:"absolute",top:"100%",left:0,right:0,marginTop:"0.25rem",background:"var(--bg-card)",border:"1px solid var(--border)",borderRadius:"8px",maxHeight:"200px",overflowY:"auto",zIndex:100,boxShadow:"0 4px 12px rgba(0,0,0,0.3)"},children:[0===n.length?(0,d.jsx)("div",{style:{padding:"0.75rem",color:"var(--text-secondary)",fontSize:"0.875rem"},children:h?"No matches - type to create":"No matching steps"}):n.slice(0,20).map(a=>(0,d.jsxs)("div",{onClick:()=>{var d;return d=a.value,void(g?c([...b,d]):(c([d]),j(!1)),l(""))},style:{padding:"0.625rem 0.75rem",cursor:"pointer",fontSize:"0.875rem",borderBottom:"1px solid var(--border)",transition:"background 0.15s"},onMouseEnter:a=>a.currentTarget.style.background="var(--bg-hover)",onMouseLeave:a=>a.currentTarget.style.background="transparent",children:[(0,d.jsx)("div",{style:{fontWeight:500},children:a.value}),a.label!==a.value&&(0,d.jsx)("div",{style:{fontSize:"0.75rem",color:"var(--text-secondary)",marginTop:"0.125rem"},children:a.label})]},a.value)),n.length>20&&(0,d.jsxs)("div",{style:{padding:"0.5rem",color:"var(--text-secondary)",fontSize:"0.75rem",textAlign:"center"},children:["+",n.length-20," more..."]})]})]})}var g=c(9829);let h=(0,g.createServerReference)("600d3806d6673dbc2e665d3c2e44546c76b6c23a6e",g.callServer,void 0,g.findSourceMapURL,"saveFS");function i({ursItems:a,riskItems:b,existingFSCount:c,stepsByType:g}){let i,m,n,[o,p]=(0,e.useState)("FS-"+String(c+1).padStart(3,"0")),[q,r]=(0,e.useState)(""),[s,t]=(0,e.useState)(""),[u,v]=(0,e.useState)([""]),[w,x]=(0,e.useState)([]),[y,z]=(0,e.useState)([]),[A,B]=(0,e.useState)([{name:"",steps:[{type:"given",text:""},{type:"when",text:""},{type:"then",text:""}]}]),[C,D]=(0,e.useState)({type:"idle"}),[E,F]=(0,e.useTransition)(),G=(i=[...w.map(a=>`@${a}`),...y.map(a=>`@${a}`)].join(" "),m=u.filter(a=>a.trim()).map(a=>` - ${a}`).join("\n"),n=A.filter(a=>a.name.trim()).map(a=>{let b=a.steps.filter(a=>a.text.trim()).map(a=>` ${l(a.type)} ${a.text}`).join("\n");return` Scenario: ${a.name}
15
+ `).run(e.id,a);return(0,i.revalidatePath)("/"),(0,i.revalidatePath)("/matrix"),(0,i.revalidatePath)("/builder"),{success:!0,id:e.id}}catch(a){return{success:!1,error:String(a)}}}async function m(a){try{let b=(0,j.r_)(a);return(0,i.revalidatePath)("/"),(0,i.revalidatePath)("/matrix"),(0,i.revalidatePath)("/builder"),{success:!0,id:b.id}}catch(a){return{success:!1,error:String(a)}}}async function n(a){try{let b=(0,j.w)(a);return(0,i.revalidatePath)("/"),(0,i.revalidatePath)("/matrix"),(0,i.revalidatePath)("/builder"),{success:!0,id:b.id}}catch(a){return{success:!1,error:String(a)}}}(0,c(9337).D)([l,m,n]),(0,d.A)(l,"60b1e39fb88d1f6470f487db8a11ff4097710fd7b8",null),(0,d.A)(m,"404d48aaa08c19ca607b49abf2013e489dfeeb974d",null),(0,d.A)(n,"405a133b1c5978f07524624f288f591e8f6cf9e198",null)},6126:(a,b,c)=>{Promise.resolve().then(c.bind(c,1805))},6193:a=>{"use strict";a.exports=require("node:string_decoder")},6294:(a,b,c)=>{Promise.resolve().then(c.bind(c,6966))},6439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},6713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},6760:a=>{"use strict";a.exports=require("node:path")},6966:(a,b,c)=>{"use strict";c.d(b,{BuilderTabs:()=>s});var d=c(8249),e=c(7484);function f({options:a,selected:b,onChange:c,placeholder:f,multi:g=!0,allowCustom:h=!0}){let[i,j]=(0,e.useState)(!1),[k,l]=(0,e.useState)(""),m=(0,e.useRef)(null),n=a.filter(a=>a.label.toLowerCase().includes(k.toLowerCase())&&(!g||!b.includes(a.value)));return(0,d.jsxs)("div",{ref:m,style:{position:"relative",flex:1},children:[g&&b.length>0&&(0,d.jsx)("div",{style:{display:"flex",gap:"0.25rem",flexWrap:"wrap",marginBottom:"0.5rem"},children:b.map(e=>{let f=a.find(a=>a.value===e);return(0,d.jsxs)("span",{className:"badge badge-success",style:{display:"flex",alignItems:"center",gap:"0.25rem"},children:[f?.value||e,(0,d.jsx)("button",{onClick:()=>{c(b.filter(a=>a!==e))},style:{background:"none",border:"none",cursor:"pointer",padding:0,fontSize:"1rem",color:"inherit"},children:"\xd7"})]},e)})}),(0,d.jsx)("input",{type:"text",value:g||i?k:(()=>{if(!g&&b.length>0){let c=a.find(a=>a.value===b[0]);return c?.label||b[0]}return""})(),onChange:a=>l(a.target.value),onFocus:()=>j(!0),placeholder:0!==b.length&&g?"Add more...":f,className:"input",style:{width:"100%"}}),i&&(0,d.jsxs)("div",{style:{position:"absolute",top:"100%",left:0,right:0,marginTop:"0.25rem",background:"var(--bg-card)",border:"1px solid var(--border)",borderRadius:"8px",maxHeight:"200px",overflowY:"auto",zIndex:100,boxShadow:"0 4px 12px rgba(0,0,0,0.3)"},children:[0===n.length?(0,d.jsx)("div",{style:{padding:"0.75rem",color:"var(--text-secondary)",fontSize:"0.875rem"},children:h?"No matches - type to create":"No matching steps"}):n.slice(0,20).map(a=>(0,d.jsxs)("div",{onClick:()=>{var d;return d=a.value,void(g?c([...b,d]):(c([d]),j(!1)),l(""))},style:{padding:"0.625rem 0.75rem",cursor:"pointer",fontSize:"0.875rem",borderBottom:"1px solid var(--border)",transition:"background 0.15s"},onMouseEnter:a=>a.currentTarget.style.background="var(--bg-hover)",onMouseLeave:a=>a.currentTarget.style.background="transparent",children:[(0,d.jsx)("div",{style:{fontWeight:500},children:a.value}),a.label!==a.value&&(0,d.jsx)("div",{style:{fontSize:"0.75rem",color:"var(--text-secondary)",marginTop:"0.125rem"},children:a.label})]},a.value)),n.length>20&&(0,d.jsxs)("div",{style:{padding:"0.5rem",color:"var(--text-secondary)",fontSize:"0.75rem",textAlign:"center"},children:["+",n.length-20," more..."]})]})]})}var g=c(9829);let h=(0,g.createServerReference)("60b1e39fb88d1f6470f487db8a11ff4097710fd7b8",g.callServer,void 0,g.findSourceMapURL,"saveFS");function i({ursItems:a,riskItems:b,existingFSCount:c,stepsByType:g}){let i,m,n,[o,p]=(0,e.useState)("FS-"+String(c+1).padStart(3,"0")),[q,r]=(0,e.useState)(""),[s,t]=(0,e.useState)(""),[u,v]=(0,e.useState)([""]),[w,x]=(0,e.useState)([]),[y,z]=(0,e.useState)([]),[A,B]=(0,e.useState)([{name:"",steps:[{type:"given",text:""},{type:"when",text:""},{type:"then",text:""}]}]),[C,D]=(0,e.useState)({type:"idle"}),[E,F]=(0,e.useTransition)(),G=(i=[...w.map(a=>`@${a}`),...y.map(a=>`@${a}`)].join(" "),m=u.filter(a=>a.trim()).map(a=>` - ${a}`).join("\n"),n=A.filter(a=>a.name.trim()).map(a=>{let b=a.steps.filter(a=>a.text.trim()).map(a=>` ${l(a.type)} ${a.text}`).join("\n");return` Scenario: ${a.name}
16
16
  ${b}`}).join("\n\n"),`${i}
17
17
  Feature: ${o} ${q}
18
18
  ${s}
@@ -21,4 +21,4 @@ Feature: ${o} ${q}
21
21
  ${m}
22
22
 
23
23
  ${n}
24
- `),H=()=>`${o}-${q.toLowerCase().replace(/\s+/g,"-")}.requirement`;return(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"1.5rem"},children:[(0,d.jsxs)("div",{className:"card",children:[(0,d.jsx)("h2",{className:"card-title",children:"\uD83D\uDCDD Editor"}),(0,d.jsx)(j,{label:"FS ID",children:(0,d.jsx)("input",{type:"text",value:o,onChange:a=>p(a.target.value),className:"input"})}),(0,d.jsx)(j,{label:"Title",children:(0,d.jsx)("input",{type:"text",value:q,onChange:a=>r(a.target.value),placeholder:"e.g., User Login Authentication",className:"input"})}),(0,d.jsx)(j,{label:"Description",children:(0,d.jsx)("textarea",{value:s,onChange:a=>t(a.target.value),placeholder:"The system shall...",rows:3,className:"input",style:{resize:"vertical"}})}),(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"1rem",marginBottom:"1.5rem"},children:[(0,d.jsx)(j,{label:"Link URS",children:(0,d.jsx)(f,{options:a.map(a=>({value:a.id,label:`${a.id} - ${a.title}`})),selected:w,onChange:x,placeholder:"Search URS...",multi:!0})}),(0,d.jsx)(j,{label:"Link Risks",children:(0,d.jsx)(f,{options:b.map(a=>({value:a.id,label:`${a.id} - ${a.title}`})),selected:y,onChange:z,placeholder:"Search Risks...",multi:!0})})]}),(0,d.jsx)(j,{label:"Requirements",action:{label:"+",onClick:()=>v([...u,""])},children:u.map((a,b)=>(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem",marginBottom:"0.5rem"},children:[(0,d.jsx)("input",{type:"text",value:a,onChange:a=>{var c;let d;return c=a.target.value,void((d=[...u])[b]=c,v(d))},placeholder:`FR-${o.split("-")[1]}.${b+1}: Requirement description`,className:"input",style:{flex:1}}),u.length>1&&(0,d.jsx)("button",{onClick:()=>{v(u.filter((a,c)=>c!==b))},className:"btn-icon",children:"\xd7"})]},b))}),(0,d.jsx)(j,{label:"Test Scenarios",action:{label:"+ Scenario",onClick:()=>{B([...A,{name:"",steps:[{type:"given",text:""},{type:"when",text:""},{type:"then",text:""}]}])}},children:A.map((a,b)=>(0,d.jsx)(k,{scenario:a,index:b,stepsByType:g,onNameChange:a=>{let c;(c=[...A])[b].name=a,B(c)},onStepChange:(a,c)=>{let d;(d=[...A])[b].steps[a].text=c,B(d)},onAddStep:a=>{let c;(c=[...A])[b].steps.push({type:a,text:""}),B(c)},onRemoveStep:a=>{let c;(c=[...A])[b].steps=c[b].steps.filter((b,c)=>c!==a),B(c)},onRemove:()=>{B(A.filter((a,c)=>c!==b))},canRemove:A.length>1},b))})]}),(0,d.jsxs)("div",{className:"card",children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem"},children:[(0,d.jsx)("h2",{className:"card-title",style:{margin:0},children:"\uD83D\uDCC4 Preview (.requirement)"}),(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,d.jsx)("button",{onClick:()=>{let a=new Blob([G],{type:"text/plain"}),b=URL.createObjectURL(a),c=document.createElement("a");c.href=b,c.download=H(),c.click(),URL.revokeObjectURL(b)},className:"btn",style:{background:"var(--bg-hover)"},children:"⬇️ Download"}),(0,d.jsx)("button",{onClick:()=>{D({type:"idle"}),F(async()=>{let a=await h(H(),G);a.success?D({type:"success",message:`Saved as ${a.id}`}):D({type:"error",message:a.error})})},className:"btn btn-primary",disabled:E||!q.trim(),children:E?"\uD83D\uDCBE Saving...":"\uD83D\uDCBE Save to specs/fs/"})]})]}),"idle"!==C.type&&(0,d.jsxs)("div",{style:{marginBottom:"1rem",padding:"0.75rem 1rem",borderRadius:"8px",background:"success"===C.type?"rgba(16, 185, 129, 0.1)":"rgba(239, 68, 68, 0.1)",color:"success"===C.type?"var(--success)":"var(--error)",fontSize:"0.875rem"},children:["success"===C.type?"✅":"❌"," ",C.message]}),(0,d.jsx)("pre",{style:{background:"var(--bg-hover)",padding:"1rem",borderRadius:"8px",overflow:"auto",whiteSpace:"pre-wrap",fontFamily:"monospace",fontSize:"0.875rem",lineHeight:1.6,maxHeight:"calc(100vh - 300px)"},children:G})]})]})}function j({label:a,children:b,action:c}){return(0,d.jsxs)("div",{style:{marginBottom:"1.5rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"0.5rem"},children:[(0,d.jsx)("label",{style:{fontWeight:500},children:a}),c&&(0,d.jsx)("button",{onClick:c.onClick,className:"btn",style:{marginLeft:"0.75rem",padding:"0.25rem 0.5rem",fontSize:"0.75rem"},children:c.label})]}),b]})}function k({scenario:a,stepsByType:b,onNameChange:c,onStepChange:e,onAddStep:g,onRemoveStep:h,onRemove:i,canRemove:j}){return(0,d.jsxs)("div",{style:{marginBottom:"1rem",padding:"1rem",background:"var(--bg-hover)",borderRadius:"8px"},children:[(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem",marginBottom:"0.75rem"},children:[(0,d.jsx)("input",{type:"text",value:a.name,onChange:a=>c(a.target.value),placeholder:"Scenario name (e.g., Successful login)",className:"input",style:{flex:1,fontWeight:500}}),j&&(0,d.jsx)("button",{onClick:i,className:"btn-icon",children:"\xd7"})]}),a.steps.map((a,c)=>(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem",marginBottom:"0.5rem",alignItems:"center"},children:[(0,d.jsx)("span",{style:{minWidth:"50px",fontSize:"0.75rem",fontWeight:600,color:{given:"#a78bfa",when:"#60a5fa",then:"#34d399",and:"#94a3b8",but:"#f472b6"}[a.type]||"var(--text-secondary)",textTransform:"capitalize"},children:a.type}),(0,d.jsx)(f,{options:b[a.type].map(a=>({value:a.replace(/^(Given|When|Then|And|But)\s+/,""),label:a})),selected:a.text?[a.text]:[],onChange:a=>e(c,a[0]||""),placeholder:`Select or type ${a.type} step...`,multi:!1,allowCustom:!1}),(0,d.jsx)("button",{onClick:()=>h(c),className:"btn-icon",children:"\xd7"})]},c)),(0,d.jsx)("div",{style:{display:"flex",gap:"0.5rem",marginTop:"0.75rem"},children:["and","but"].map(a=>(0,d.jsxs)("button",{onClick:()=>g(a),className:"btn",style:{padding:"0.25rem 0.5rem",fontSize:"0.75rem"},children:["+ ",l(a)]},a))})]})}function l(a){return a.charAt(0).toUpperCase()+a.slice(1)}let m=(0,g.createServerReference)("4053fbbaeee5198306e625ddeb37160b138db1e8f4",g.callServer,void 0,g.findSourceMapURL,"saveURS");function n({existingCount:a}){let[b,c]=(0,e.useState)(""),[f,g]=(0,e.useState)("draft"),[h,i]=(0,e.useState)("high"),[j,k]=(0,e.useState)(""),[l,n]=(0,e.useState)(""),[p,q]=(0,e.useState)(""),[r,s]=(0,e.useState)(""),[t,u]=(0,e.useState)([""]),[v,w]=(0,e.useState)(["GAMP 5"]),[x,y]=(0,e.useState)({type:"idle"}),[z,A]=(0,e.useTransition)();return(0,d.jsxs)("div",{className:"card",children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1.5rem"},children:[(0,d.jsx)("h2",{className:"card-title",style:{margin:0},children:"\uD83D\uDCCB New URS"}),(0,d.jsx)("button",{onClick:()=>{y({type:"idle"}),A(async()=>{let a=await m({title:b,status:f,priority:h,owner:j,category:l,business_need:p,intended_use:r,acceptance_criteria:t.filter(a=>a.trim()),regulatory_refs:v.filter(a=>a.trim())});a.success?y({type:"success",message:`Created ${a.id}`}):y({type:"error",message:a.error})})},className:"btn btn-primary",disabled:z||!b.trim()||!j.trim(),children:z?"\uD83D\uDCBE Saving...":"\uD83D\uDCBE Save"})]}),"idle"!==x.type&&(0,d.jsxs)("div",{style:{marginBottom:"1rem",padding:"0.75rem 1rem",borderRadius:"8px",background:"success"===x.type?"rgba(16, 185, 129, 0.1)":"rgba(239, 68, 68, 0.1)",color:"success"===x.type?"var(--success)":"var(--error)",fontSize:"0.875rem"},children:["success"===x.type?"✅":"❌"," ",x.message]}),(0,d.jsx)(o,{label:"Title",children:(0,d.jsx)("input",{type:"text",value:b,onChange:a=>c(a.target.value),placeholder:"e.g., User Authentication",className:"input"})}),(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gap:"1rem",marginBottom:"1.5rem"},children:[(0,d.jsx)(o,{label:"Status",children:(0,d.jsxs)("select",{value:f,onChange:a=>g(a.target.value),className:"input",children:[(0,d.jsx)("option",{value:"draft",children:"Draft"}),(0,d.jsx)("option",{value:"review",children:"Review"}),(0,d.jsx)("option",{value:"approved",children:"Approved"})]})}),(0,d.jsx)(o,{label:"Priority",children:(0,d.jsxs)("select",{value:h,onChange:a=>i(a.target.value),className:"input",children:[(0,d.jsx)("option",{value:"critical",children:"Critical"}),(0,d.jsx)("option",{value:"high",children:"High"}),(0,d.jsx)("option",{value:"medium",children:"Medium"}),(0,d.jsx)("option",{value:"low",children:"Low"})]})}),(0,d.jsx)(o,{label:"Category",children:(0,d.jsx)("input",{type:"text",value:l,onChange:a=>n(a.target.value),placeholder:"e.g., Security",className:"input"})})]}),(0,d.jsx)(o,{label:"Owner",children:(0,d.jsx)("input",{type:"text",value:j,onChange:a=>k(a.target.value),placeholder:"e.g., Product Team",className:"input"})}),(0,d.jsx)(o,{label:"Business Need",children:(0,d.jsx)("textarea",{value:p,onChange:a=>q(a.target.value),placeholder:"Describe why this requirement exists...",rows:4,className:"input",style:{resize:"vertical"}})}),(0,d.jsx)(o,{label:"Intended Use",children:(0,d.jsx)("textarea",{value:r,onChange:a=>s(a.target.value),placeholder:"Describe how this will be used...",rows:3,className:"input",style:{resize:"vertical"}})}),(0,d.jsx)(o,{label:"Acceptance Criteria",action:{label:"+",onClick:()=>u([...t,""])},children:t.map((a,b)=>(0,d.jsx)("div",{style:{display:"flex",gap:"0.5rem",marginBottom:"0.5rem"},children:(0,d.jsx)("input",{type:"text",value:a,onChange:a=>{var c;let d;return c=a.target.value,void((d=[...t])[b]=c,u(d))},placeholder:`Criterion ${b+1}`,className:"input",style:{flex:1}})},b))})]})}function o({label:a,children:b,action:c}){return(0,d.jsxs)("div",{style:{marginBottom:"1.5rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"0.5rem"},children:[(0,d.jsx)("label",{style:{fontWeight:500},children:a}),c&&(0,d.jsx)("button",{onClick:c.onClick,className:"btn",style:{marginLeft:"0.75rem",padding:"0.25rem 0.5rem",fontSize:"0.75rem"},children:c.label})]}),b]})}let p=(0,g.createServerReference)("403409638eb593eaa785d2919a0816535c64a9c9c5",g.callServer,void 0,g.findSourceMapURL,"saveRisk");function q({fsItems:a,existingCount:b}){let[c,g]=(0,e.useState)(""),[h,i]=(0,e.useState)("draft"),[j,k]=(0,e.useState)(""),[l,m]=(0,e.useState)(4),[n,o]=(0,e.useState)("medium"),[q,s]=(0,e.useState)("medium"),[t,u]=(0,e.useState)("medium"),[v,w]=(0,e.useState)("acceptable"),[x,y]=(0,e.useState)([]),[z,A]=(0,e.useState)([{id:"R-001.1",description:"",impact:"medium",probability:"medium"}]),[B,C]=(0,e.useState)([{risk_id:"R-001.1",control:"",test:""}]),[D,E]=(0,e.useState)({type:"idle"}),[F,G]=(0,e.useTransition)(),H=(a,b,c)=>{let d=[...z];d[a]={...d[a],[b]:c},A(d)},I=(a,b,c)=>{let d=[...B];d[a]={...d[a],[b]:c},C(d)};return(0,d.jsxs)("div",{className:"card",children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1.5rem"},children:[(0,d.jsx)("h2",{className:"card-title",style:{margin:0},children:"⚠️ New Risk"}),(0,d.jsx)("button",{onClick:()=>{E({type:"idle"}),G(async()=>{let a=await p({title:c,status:h,category:j,gamp_category:l,fs_ids:x,impact:n,probability:q,risk_level:t,risks:z.filter(a=>a.description.trim()).map(a=>({id:a.id,description:a.description,impact:a.impact,probability:a.probability})),mitigations:B.filter(a=>a.control.trim()).map(a=>({risk_id:a.risk_id,control:a.control,test:a.test})),residual_risk:v});a.success?E({type:"success",message:`Created ${a.id}`}):E({type:"error",message:a.error})})},className:"btn btn-primary",disabled:F||!c.trim()||0===x.length,children:F?"\uD83D\uDCBE Saving...":"\uD83D\uDCBE Save"})]}),"idle"!==D.type&&(0,d.jsxs)("div",{style:{marginBottom:"1rem",padding:"0.75rem 1rem",borderRadius:"8px",background:"success"===D.type?"rgba(16, 185, 129, 0.1)":"rgba(239, 68, 68, 0.1)",color:"success"===D.type?"var(--success)":"var(--error)",fontSize:"0.875rem"},children:["success"===D.type?"✅":"❌"," ",D.message]}),(0,d.jsx)(r,{label:"Title",children:(0,d.jsx)("input",{type:"text",value:c,onChange:a=>g(a.target.value),placeholder:"e.g., Authentication Security",className:"input"})}),(0,d.jsx)(r,{label:"Category",children:(0,d.jsx)("input",{type:"text",value:j,onChange:a=>k(a.target.value),placeholder:"e.g., Security, Data Integrity",className:"input"})}),(0,d.jsx)(r,{label:"Link FS",children:(0,d.jsx)(f,{options:a.map(a=>({value:a.id,label:`${a.id} - ${a.title}`})),selected:x,onChange:y,placeholder:"Search FS...",multi:!0})}),(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:"0.5rem",marginBottom:"1.5rem"},children:[(0,d.jsx)(r,{label:"Impact",children:(0,d.jsxs)("select",{value:n,onChange:a=>o(a.target.value),className:"input",children:[(0,d.jsx)("option",{value:"low",children:"Low"}),(0,d.jsx)("option",{value:"medium",children:"Medium"}),(0,d.jsx)("option",{value:"high",children:"High"}),(0,d.jsx)("option",{value:"critical",children:"Critical"})]})}),(0,d.jsx)(r,{label:"Probability",children:(0,d.jsxs)("select",{value:q,onChange:a=>s(a.target.value),className:"input",children:[(0,d.jsx)("option",{value:"low",children:"Low"}),(0,d.jsx)("option",{value:"medium",children:"Medium"}),(0,d.jsx)("option",{value:"high",children:"High"})]})}),(0,d.jsx)(r,{label:"Risk Level",children:(0,d.jsxs)("select",{value:t,onChange:a=>u(a.target.value),className:"input",children:[(0,d.jsx)("option",{value:"low",children:"Low"}),(0,d.jsx)("option",{value:"medium",children:"Medium"}),(0,d.jsx)("option",{value:"high",children:"High"}),(0,d.jsx)("option",{value:"critical",children:"Critical"})]})}),(0,d.jsx)(r,{label:"Residual",children:(0,d.jsxs)("select",{value:v,onChange:a=>w(a.target.value),className:"input",children:[(0,d.jsx)("option",{value:"acceptable",children:"Acceptable"}),(0,d.jsx)("option",{value:"unacceptable",children:"Unacceptable"}),(0,d.jsx)("option",{value:"pending",children:"Pending"})]})})]}),(0,d.jsx)(r,{label:"Identified Risks",action:{label:"+",onClick:()=>A([...z,{id:`R-001.${z.length+1}`,description:"",impact:"medium",probability:"medium"}])},children:z.map((a,b)=>(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem",marginBottom:"0.5rem"},children:[(0,d.jsx)("input",{type:"text",value:a.id,onChange:a=>H(b,"id",a.target.value),placeholder:"R-001.1",className:"input",style:{width:"80px"}}),(0,d.jsx)("input",{type:"text",value:a.description,onChange:a=>H(b,"description",a.target.value),placeholder:"Risk description",className:"input",style:{flex:1}})]},b))}),(0,d.jsx)(r,{label:"Mitigations",action:{label:"+",onClick:()=>C([...B,{risk_id:"",control:"",test:""}])},children:B.map((a,b)=>(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"80px 1fr 1fr",gap:"0.5rem",marginBottom:"0.5rem"},children:[(0,d.jsx)("input",{type:"text",value:a.risk_id,onChange:a=>I(b,"risk_id",a.target.value),placeholder:"R-ID",className:"input"}),(0,d.jsx)("input",{type:"text",value:a.control,onChange:a=>I(b,"control",a.target.value),placeholder:"Control measure",className:"input"}),(0,d.jsx)("input",{type:"text",value:a.test,onChange:a=>I(b,"test",a.target.value),placeholder:"How to test",className:"input"})]},b))})]})}function r({label:a,children:b,action:c}){return(0,d.jsxs)("div",{style:{marginBottom:"1.5rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"0.5rem"},children:[(0,d.jsx)("label",{style:{fontWeight:500},children:a}),c&&(0,d.jsx)("button",{onClick:c.onClick,className:"btn",style:{marginLeft:"0.75rem",padding:"0.25rem 0.5rem",fontSize:"0.75rem"},children:c.label})]}),b]})}function s({ursItems:a,riskItems:b,fsItems:c,counts:f,stepsByType:g}){let[h,j]=(0,e.useState)("fs");return(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{style:{display:"flex",gap:"0.5rem",marginBottom:"1.5rem"},children:[{id:"urs",label:"URS",icon:"\uD83D\uDCCB",color:"var(--success)"},{id:"fs",label:"FS",icon:"⚙️",color:"var(--warning)"},{id:"risk",label:"Risk",icon:"⚠️",color:"#f97316"}].map(a=>(0,d.jsxs)("button",{onClick:()=>j(a.id),className:`btn ${h===a.id?"btn-primary":""}`,style:h!==a.id?{background:"var(--bg-hover)"}:{},children:[a.icon," New ",a.label]},a.id))}),"urs"===h&&(0,d.jsx)(n,{existingCount:f.urs}),"fs"===h&&(0,d.jsx)(i,{ursItems:a,riskItems:b,existingFSCount:f.fs,stepsByType:g}),"risk"===h&&(0,d.jsx)(q,{fsItems:c,existingCount:f.risk})]})}},9021:a=>{"use strict";a.exports=require("fs")},9121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},9294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[445,471,13,390,476,870,135,530],()=>b(b.s=1524));module.exports=c})();
24
+ `),H=()=>`${o}-${q.toLowerCase().replace(/\s+/g,"-")}.requirement`;return(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"1.5rem"},children:[(0,d.jsxs)("div",{className:"card",children:[(0,d.jsx)("h2",{className:"card-title",children:"\uD83D\uDCDD Editor"}),(0,d.jsx)(j,{label:"FS ID",children:(0,d.jsx)("input",{type:"text",value:o,onChange:a=>p(a.target.value),className:"input"})}),(0,d.jsx)(j,{label:"Title",children:(0,d.jsx)("input",{type:"text",value:q,onChange:a=>r(a.target.value),placeholder:"e.g., User Login Authentication",className:"input"})}),(0,d.jsx)(j,{label:"Description",children:(0,d.jsx)("textarea",{value:s,onChange:a=>t(a.target.value),placeholder:"The system shall...",rows:3,className:"input",style:{resize:"vertical"}})}),(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"1rem",marginBottom:"1.5rem"},children:[(0,d.jsx)(j,{label:"Link URS",children:(0,d.jsx)(f,{options:a.map(a=>({value:a.id,label:`${a.id} - ${a.title}`})),selected:w,onChange:x,placeholder:"Search URS...",multi:!0})}),(0,d.jsx)(j,{label:"Link Risks",children:(0,d.jsx)(f,{options:b.map(a=>({value:a.id,label:`${a.id} - ${a.title}`})),selected:y,onChange:z,placeholder:"Search Risks...",multi:!0})})]}),(0,d.jsx)(j,{label:"Requirements",action:{label:"+",onClick:()=>v([...u,""])},children:u.map((a,b)=>(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem",marginBottom:"0.5rem"},children:[(0,d.jsx)("input",{type:"text",value:a,onChange:a=>{var c;let d;return c=a.target.value,void((d=[...u])[b]=c,v(d))},placeholder:`FR-${o.split("-")[1]}.${b+1}: Requirement description`,className:"input",style:{flex:1}}),u.length>1&&(0,d.jsx)("button",{onClick:()=>{v(u.filter((a,c)=>c!==b))},className:"btn-icon",children:"\xd7"})]},b))}),(0,d.jsx)(j,{label:"Test Scenarios",action:{label:"+ Scenario",onClick:()=>{B([...A,{name:"",steps:[{type:"given",text:""},{type:"when",text:""},{type:"then",text:""}]}])}},children:A.map((a,b)=>(0,d.jsx)(k,{scenario:a,index:b,stepsByType:g,onNameChange:a=>{let c;(c=[...A])[b].name=a,B(c)},onStepChange:(a,c)=>{let d;(d=[...A])[b].steps[a].text=c,B(d)},onAddStep:a=>{let c;(c=[...A])[b].steps.push({type:a,text:""}),B(c)},onRemoveStep:a=>{let c;(c=[...A])[b].steps=c[b].steps.filter((b,c)=>c!==a),B(c)},onRemove:()=>{B(A.filter((a,c)=>c!==b))},canRemove:A.length>1},b))})]}),(0,d.jsxs)("div",{className:"card",children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem"},children:[(0,d.jsx)("h2",{className:"card-title",style:{margin:0},children:"\uD83D\uDCC4 Preview (.requirement)"}),(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,d.jsx)("button",{onClick:()=>{let a=new Blob([G],{type:"text/plain"}),b=URL.createObjectURL(a),c=document.createElement("a");c.href=b,c.download=H(),c.click(),URL.revokeObjectURL(b)},className:"btn",style:{background:"var(--bg-hover)"},children:"⬇️ Download"}),(0,d.jsx)("button",{onClick:()=>{D({type:"idle"}),F(async()=>{let a=await h(H(),G);a.success?D({type:"success",message:`Saved as ${a.id}`}):D({type:"error",message:a.error})})},className:"btn btn-primary",disabled:E||!q.trim(),children:E?"\uD83D\uDCBE Saving...":"\uD83D\uDCBE Save to specs/fs/"})]})]}),"idle"!==C.type&&(0,d.jsxs)("div",{style:{marginBottom:"1rem",padding:"0.75rem 1rem",borderRadius:"8px",background:"success"===C.type?"rgba(16, 185, 129, 0.1)":"rgba(239, 68, 68, 0.1)",color:"success"===C.type?"var(--success)":"var(--error)",fontSize:"0.875rem"},children:["success"===C.type?"✅":"❌"," ",C.message]}),(0,d.jsx)("pre",{style:{background:"var(--bg-hover)",padding:"1rem",borderRadius:"8px",overflow:"auto",whiteSpace:"pre-wrap",fontFamily:"monospace",fontSize:"0.875rem",lineHeight:1.6,maxHeight:"calc(100vh - 300px)"},children:G})]})]})}function j({label:a,children:b,action:c}){return(0,d.jsxs)("div",{style:{marginBottom:"1.5rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"0.5rem"},children:[(0,d.jsx)("label",{style:{fontWeight:500},children:a}),c&&(0,d.jsx)("button",{onClick:c.onClick,className:"btn",style:{marginLeft:"0.75rem",padding:"0.25rem 0.5rem",fontSize:"0.75rem"},children:c.label})]}),b]})}function k({scenario:a,stepsByType:b,onNameChange:c,onStepChange:e,onAddStep:g,onRemoveStep:h,onRemove:i,canRemove:j}){return(0,d.jsxs)("div",{style:{marginBottom:"1rem",padding:"1rem",background:"var(--bg-hover)",borderRadius:"8px"},children:[(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem",marginBottom:"0.75rem"},children:[(0,d.jsx)("input",{type:"text",value:a.name,onChange:a=>c(a.target.value),placeholder:"Scenario name (e.g., Successful login)",className:"input",style:{flex:1,fontWeight:500}}),j&&(0,d.jsx)("button",{onClick:i,className:"btn-icon",children:"\xd7"})]}),a.steps.map((a,c)=>(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem",marginBottom:"0.5rem",alignItems:"center"},children:[(0,d.jsx)("span",{style:{minWidth:"50px",fontSize:"0.75rem",fontWeight:600,color:{given:"#a78bfa",when:"#60a5fa",then:"#34d399",and:"#94a3b8",but:"#f472b6"}[a.type]||"var(--text-secondary)",textTransform:"capitalize"},children:a.type}),(0,d.jsx)(f,{options:b[a.type].map(a=>({value:a.replace(/^(Given|When|Then|And|But)\s+/,""),label:a})),selected:a.text?[a.text]:[],onChange:a=>e(c,a[0]||""),placeholder:`Select or type ${a.type} step...`,multi:!1,allowCustom:!1}),(0,d.jsx)("button",{onClick:()=>h(c),className:"btn-icon",children:"\xd7"})]},c)),(0,d.jsx)("div",{style:{display:"flex",gap:"0.5rem",marginTop:"0.75rem"},children:["and","but"].map(a=>(0,d.jsxs)("button",{onClick:()=>g(a),className:"btn",style:{padding:"0.25rem 0.5rem",fontSize:"0.75rem"},children:["+ ",l(a)]},a))})]})}function l(a){return a.charAt(0).toUpperCase()+a.slice(1)}let m=(0,g.createServerReference)("404d48aaa08c19ca607b49abf2013e489dfeeb974d",g.callServer,void 0,g.findSourceMapURL,"saveURS");function n({existingCount:a}){let[b,c]=(0,e.useState)(""),[f,g]=(0,e.useState)("draft"),[h,i]=(0,e.useState)("high"),[j,k]=(0,e.useState)(""),[l,n]=(0,e.useState)(""),[p,q]=(0,e.useState)(""),[r,s]=(0,e.useState)(""),[t,u]=(0,e.useState)([""]),[v,w]=(0,e.useState)(["GAMP 5"]),[x,y]=(0,e.useState)({type:"idle"}),[z,A]=(0,e.useTransition)();return(0,d.jsxs)("div",{className:"card",children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1.5rem"},children:[(0,d.jsx)("h2",{className:"card-title",style:{margin:0},children:"\uD83D\uDCCB New URS"}),(0,d.jsx)("button",{onClick:()=>{y({type:"idle"}),A(async()=>{let a=await m({title:b,status:f,priority:h,owner:j,category:l,business_need:p,intended_use:r,acceptance_criteria:t.filter(a=>a.trim()),regulatory_refs:v.filter(a=>a.trim())});a.success?y({type:"success",message:`Created ${a.id}`}):y({type:"error",message:a.error})})},className:"btn btn-primary",disabled:z||!b.trim()||!j.trim(),children:z?"\uD83D\uDCBE Saving...":"\uD83D\uDCBE Save"})]}),"idle"!==x.type&&(0,d.jsxs)("div",{style:{marginBottom:"1rem",padding:"0.75rem 1rem",borderRadius:"8px",background:"success"===x.type?"rgba(16, 185, 129, 0.1)":"rgba(239, 68, 68, 0.1)",color:"success"===x.type?"var(--success)":"var(--error)",fontSize:"0.875rem"},children:["success"===x.type?"✅":"❌"," ",x.message]}),(0,d.jsx)(o,{label:"Title",children:(0,d.jsx)("input",{type:"text",value:b,onChange:a=>c(a.target.value),placeholder:"e.g., User Authentication",className:"input"})}),(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gap:"1rem",marginBottom:"1.5rem"},children:[(0,d.jsx)(o,{label:"Status",children:(0,d.jsxs)("select",{value:f,onChange:a=>g(a.target.value),className:"input",children:[(0,d.jsx)("option",{value:"draft",children:"Draft"}),(0,d.jsx)("option",{value:"review",children:"Review"}),(0,d.jsx)("option",{value:"approved",children:"Approved"})]})}),(0,d.jsx)(o,{label:"Priority",children:(0,d.jsxs)("select",{value:h,onChange:a=>i(a.target.value),className:"input",children:[(0,d.jsx)("option",{value:"critical",children:"Critical"}),(0,d.jsx)("option",{value:"high",children:"High"}),(0,d.jsx)("option",{value:"medium",children:"Medium"}),(0,d.jsx)("option",{value:"low",children:"Low"})]})}),(0,d.jsx)(o,{label:"Category",children:(0,d.jsx)("input",{type:"text",value:l,onChange:a=>n(a.target.value),placeholder:"e.g., Security",className:"input"})})]}),(0,d.jsx)(o,{label:"Owner",children:(0,d.jsx)("input",{type:"text",value:j,onChange:a=>k(a.target.value),placeholder:"e.g., Product Team",className:"input"})}),(0,d.jsx)(o,{label:"Business Need",children:(0,d.jsx)("textarea",{value:p,onChange:a=>q(a.target.value),placeholder:"Describe why this requirement exists...",rows:4,className:"input",style:{resize:"vertical"}})}),(0,d.jsx)(o,{label:"Intended Use",children:(0,d.jsx)("textarea",{value:r,onChange:a=>s(a.target.value),placeholder:"Describe how this will be used...",rows:3,className:"input",style:{resize:"vertical"}})}),(0,d.jsx)(o,{label:"Acceptance Criteria",action:{label:"+",onClick:()=>u([...t,""])},children:t.map((a,b)=>(0,d.jsx)("div",{style:{display:"flex",gap:"0.5rem",marginBottom:"0.5rem"},children:(0,d.jsx)("input",{type:"text",value:a,onChange:a=>{var c;let d;return c=a.target.value,void((d=[...t])[b]=c,u(d))},placeholder:`Criterion ${b+1}`,className:"input",style:{flex:1}})},b))})]})}function o({label:a,children:b,action:c}){return(0,d.jsxs)("div",{style:{marginBottom:"1.5rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"0.5rem"},children:[(0,d.jsx)("label",{style:{fontWeight:500},children:a}),c&&(0,d.jsx)("button",{onClick:c.onClick,className:"btn",style:{marginLeft:"0.75rem",padding:"0.25rem 0.5rem",fontSize:"0.75rem"},children:c.label})]}),b]})}let p=(0,g.createServerReference)("405a133b1c5978f07524624f288f591e8f6cf9e198",g.callServer,void 0,g.findSourceMapURL,"saveRisk");function q({fsItems:a,existingCount:b}){let[c,g]=(0,e.useState)(""),[h,i]=(0,e.useState)("draft"),[j,k]=(0,e.useState)(""),[l,m]=(0,e.useState)(4),[n,o]=(0,e.useState)("medium"),[q,s]=(0,e.useState)("medium"),[t,u]=(0,e.useState)("medium"),[v,w]=(0,e.useState)("acceptable"),[x,y]=(0,e.useState)([]),[z,A]=(0,e.useState)([{id:"R-001.1",description:"",impact:"medium",probability:"medium"}]),[B,C]=(0,e.useState)([{risk_id:"R-001.1",control:"",test:""}]),[D,E]=(0,e.useState)({type:"idle"}),[F,G]=(0,e.useTransition)(),H=(a,b,c)=>{let d=[...z];d[a]={...d[a],[b]:c},A(d)},I=(a,b,c)=>{let d=[...B];d[a]={...d[a],[b]:c},C(d)};return(0,d.jsxs)("div",{className:"card",children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1.5rem"},children:[(0,d.jsx)("h2",{className:"card-title",style:{margin:0},children:"⚠️ New Risk"}),(0,d.jsx)("button",{onClick:()=>{E({type:"idle"}),G(async()=>{let a=await p({title:c,status:h,category:j,gamp_category:l,fs_ids:x,impact:n,probability:q,risk_level:t,risks:z.filter(a=>a.description.trim()).map(a=>({id:a.id,description:a.description,impact:a.impact,probability:a.probability})),mitigations:B.filter(a=>a.control.trim()).map(a=>({risk_id:a.risk_id,control:a.control,test:a.test})),residual_risk:v});a.success?E({type:"success",message:`Created ${a.id}`}):E({type:"error",message:a.error})})},className:"btn btn-primary",disabled:F||!c.trim()||0===x.length,children:F?"\uD83D\uDCBE Saving...":"\uD83D\uDCBE Save"})]}),"idle"!==D.type&&(0,d.jsxs)("div",{style:{marginBottom:"1rem",padding:"0.75rem 1rem",borderRadius:"8px",background:"success"===D.type?"rgba(16, 185, 129, 0.1)":"rgba(239, 68, 68, 0.1)",color:"success"===D.type?"var(--success)":"var(--error)",fontSize:"0.875rem"},children:["success"===D.type?"✅":"❌"," ",D.message]}),(0,d.jsx)(r,{label:"Title",children:(0,d.jsx)("input",{type:"text",value:c,onChange:a=>g(a.target.value),placeholder:"e.g., Authentication Security",className:"input"})}),(0,d.jsx)(r,{label:"Category",children:(0,d.jsx)("input",{type:"text",value:j,onChange:a=>k(a.target.value),placeholder:"e.g., Security, Data Integrity",className:"input"})}),(0,d.jsx)(r,{label:"Link FS",children:(0,d.jsx)(f,{options:a.map(a=>({value:a.id,label:`${a.id} - ${a.title}`})),selected:x,onChange:y,placeholder:"Search FS...",multi:!0})}),(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:"0.5rem",marginBottom:"1.5rem"},children:[(0,d.jsx)(r,{label:"Impact",children:(0,d.jsxs)("select",{value:n,onChange:a=>o(a.target.value),className:"input",children:[(0,d.jsx)("option",{value:"low",children:"Low"}),(0,d.jsx)("option",{value:"medium",children:"Medium"}),(0,d.jsx)("option",{value:"high",children:"High"}),(0,d.jsx)("option",{value:"critical",children:"Critical"})]})}),(0,d.jsx)(r,{label:"Probability",children:(0,d.jsxs)("select",{value:q,onChange:a=>s(a.target.value),className:"input",children:[(0,d.jsx)("option",{value:"low",children:"Low"}),(0,d.jsx)("option",{value:"medium",children:"Medium"}),(0,d.jsx)("option",{value:"high",children:"High"})]})}),(0,d.jsx)(r,{label:"Risk Level",children:(0,d.jsxs)("select",{value:t,onChange:a=>u(a.target.value),className:"input",children:[(0,d.jsx)("option",{value:"low",children:"Low"}),(0,d.jsx)("option",{value:"medium",children:"Medium"}),(0,d.jsx)("option",{value:"high",children:"High"}),(0,d.jsx)("option",{value:"critical",children:"Critical"})]})}),(0,d.jsx)(r,{label:"Residual",children:(0,d.jsxs)("select",{value:v,onChange:a=>w(a.target.value),className:"input",children:[(0,d.jsx)("option",{value:"acceptable",children:"Acceptable"}),(0,d.jsx)("option",{value:"unacceptable",children:"Unacceptable"}),(0,d.jsx)("option",{value:"pending",children:"Pending"})]})})]}),(0,d.jsx)(r,{label:"Identified Risks",action:{label:"+",onClick:()=>A([...z,{id:`R-001.${z.length+1}`,description:"",impact:"medium",probability:"medium"}])},children:z.map((a,b)=>(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem",marginBottom:"0.5rem"},children:[(0,d.jsx)("input",{type:"text",value:a.id,onChange:a=>H(b,"id",a.target.value),placeholder:"R-001.1",className:"input",style:{width:"80px"}}),(0,d.jsx)("input",{type:"text",value:a.description,onChange:a=>H(b,"description",a.target.value),placeholder:"Risk description",className:"input",style:{flex:1}})]},b))}),(0,d.jsx)(r,{label:"Mitigations",action:{label:"+",onClick:()=>C([...B,{risk_id:"",control:"",test:""}])},children:B.map((a,b)=>(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"80px 1fr 1fr",gap:"0.5rem",marginBottom:"0.5rem"},children:[(0,d.jsx)("input",{type:"text",value:a.risk_id,onChange:a=>I(b,"risk_id",a.target.value),placeholder:"R-ID",className:"input"}),(0,d.jsx)("input",{type:"text",value:a.control,onChange:a=>I(b,"control",a.target.value),placeholder:"Control measure",className:"input"}),(0,d.jsx)("input",{type:"text",value:a.test,onChange:a=>I(b,"test",a.target.value),placeholder:"How to test",className:"input"})]},b))})]})}function r({label:a,children:b,action:c}){return(0,d.jsxs)("div",{style:{marginBottom:"1.5rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"0.5rem"},children:[(0,d.jsx)("label",{style:{fontWeight:500},children:a}),c&&(0,d.jsx)("button",{onClick:c.onClick,className:"btn",style:{marginLeft:"0.75rem",padding:"0.25rem 0.5rem",fontSize:"0.75rem"},children:c.label})]}),b]})}function s({ursItems:a,riskItems:b,fsItems:c,counts:f,stepsByType:g}){let[h,j]=(0,e.useState)("fs");return(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{style:{display:"flex",gap:"0.5rem",marginBottom:"1.5rem"},children:[{id:"urs",label:"URS",icon:"\uD83D\uDCCB",color:"var(--success)"},{id:"fs",label:"FS",icon:"⚙️",color:"var(--warning)"},{id:"risk",label:"Risk",icon:"⚠️",color:"#f97316"}].map(a=>(0,d.jsxs)("button",{onClick:()=>j(a.id),className:`btn ${h===a.id?"btn-primary":""}`,style:h!==a.id?{background:"var(--bg-hover)"}:{},children:[a.icon," New ",a.label]},a.id))}),"urs"===h&&(0,d.jsx)(n,{existingCount:f.urs}),"fs"===h&&(0,d.jsx)(i,{ursItems:a,riskItems:b,existingFSCount:f.fs,stepsByType:g}),"risk"===h&&(0,d.jsx)(q,{fsItems:c,existingCount:f.risk})]})}},7075:a=>{"use strict";a.exports=require("node:stream")},8354:a=>{"use strict";a.exports=require("util")},8474:a=>{"use strict";a.exports=require("node:events")},9021:a=>{"use strict";a.exports=require("fs")},9121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},9294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[445,471,13,390,476,870,135,530],()=>b(b.s=1524));module.exports=c})();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/builder/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"2386","name":"*","chunks":[],"async":false}},"2940":{"*":{"id":"2796","name":"*","chunks":[],"async":false}},"4491":{"*":{"id":"8737","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"5507":{"*":{"id":"8404","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"3291","name":"*","chunks":[],"async":false}},"8384":{"*":{"id":"1536","name":"*","chunks":[],"async":false}},"8445":{"*":{"id":"579","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/globals.css":{"id":1743,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-550e25f5579f1a32.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/builder-tabs.tsx":{"id":4491,"name":"*","chunks":["462","static/chunks/app/builder/page-29ef0d9ec753466c.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/client.tsx":{"id":2716,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/releases-client.tsx":{"id":8445,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx":{"id":2940,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/risk-detail-client.tsx":{"id":5507,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/scenario-list.tsx":{"id":8169,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/urs-detail-client.tsx":{"id":8384,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/matthew/Code/github/p11o/machine/docs/src/":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/layout":[{"inlined":false,"path":"static/css/f29e518c867dffaa.css"}],"/Users/matthew/Code/github/p11o/machine/docs/src/app/page":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/page":[]},"rscModuleMapping":{"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"7652","name":"*","chunks":[],"async":false}},"2940":{"*":{"id":"9575","name":"*","chunks":[],"async":false}},"4491":{"*":{"id":"1805","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"5507":{"*":{"id":"9665","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"7831","name":"*","chunks":[],"async":false}},"8384":{"*":{"id":"7250","name":"*","chunks":[],"async":false}},"8445":{"*":{"id":"4618","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"3318","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/builder/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"621":{"*":{"id":"5690","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"2386","name":"*","chunks":[],"async":false}},"2872":{"*":{"id":"6966","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"5543":{"*":{"id":"4891","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"7536":{"*":{"id":"7688","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"3291","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}},"9049":{"*":{"id":"1448","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/globals.css":{"id":1743,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-550e25f5579f1a32.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/releases-client.tsx":{"id":7536,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/client.tsx":{"id":2716,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/builder-tabs.tsx":{"id":2872,"name":"*","chunks":["462","static/chunks/app/builder/page-e8eb2c5950ee1495.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx":{"id":9049,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/risk-detail-client.tsx":{"id":5543,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/scenario-list.tsx":{"id":8169,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/urs-detail-client.tsx":{"id":621,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/matthew/Code/github/p11o/machine/docs/src/":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/layout":[{"inlined":false,"path":"static/css/f29e518c867dffaa.css"}],"/Users/matthew/Code/github/p11o/machine/docs/src/app/page":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/page":[]},"rscModuleMapping":{"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"621":{"*":{"id":"7250","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"7652","name":"*","chunks":[],"async":false}},"2872":{"*":{"id":"1805","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"5543":{"*":{"id":"9665","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"7536":{"*":{"id":"4618","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"7831","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"3318","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}},"9049":{"*":{"id":"9575","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/guide/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"2386","name":"*","chunks":[],"async":false}},"2940":{"*":{"id":"2796","name":"*","chunks":[],"async":false}},"4491":{"*":{"id":"8737","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"5507":{"*":{"id":"8404","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"3291","name":"*","chunks":[],"async":false}},"8384":{"*":{"id":"1536","name":"*","chunks":[],"async":false}},"8445":{"*":{"id":"579","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","585","static/chunks/app/guide/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","585","static/chunks/app/guide/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/globals.css":{"id":1743,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-550e25f5579f1a32.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/builder-tabs.tsx":{"id":4491,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/client.tsx":{"id":2716,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/releases-client.tsx":{"id":8445,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx":{"id":2940,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/risk-detail-client.tsx":{"id":5507,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/scenario-list.tsx":{"id":8169,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/urs-detail-client.tsx":{"id":8384,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/matthew/Code/github/p11o/machine/docs/src/":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/layout":[{"inlined":false,"path":"static/css/f29e518c867dffaa.css"}],"/Users/matthew/Code/github/p11o/machine/docs/src/app/page":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/guide/page":[]},"rscModuleMapping":{"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"7652","name":"*","chunks":[],"async":false}},"2940":{"*":{"id":"9575","name":"*","chunks":[],"async":false}},"4491":{"*":{"id":"1805","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"5507":{"*":{"id":"9665","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"7831","name":"*","chunks":[],"async":false}},"8384":{"*":{"id":"7250","name":"*","chunks":[],"async":false}},"8445":{"*":{"id":"4618","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"3318","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/guide/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"621":{"*":{"id":"5690","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"2386","name":"*","chunks":[],"async":false}},"2872":{"*":{"id":"6966","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"5543":{"*":{"id":"4891","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"7536":{"*":{"id":"7688","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"3291","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}},"9049":{"*":{"id":"1448","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","585","static/chunks/app/guide/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","585","static/chunks/app/guide/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/globals.css":{"id":1743,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-550e25f5579f1a32.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/releases-client.tsx":{"id":7536,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/client.tsx":{"id":2716,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/builder-tabs.tsx":{"id":2872,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx":{"id":9049,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/risk-detail-client.tsx":{"id":5543,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/scenario-list.tsx":{"id":8169,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/urs-detail-client.tsx":{"id":621,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/matthew/Code/github/p11o/machine/docs/src/":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/layout":[{"inlined":false,"path":"static/css/f29e518c867dffaa.css"}],"/Users/matthew/Code/github/p11o/machine/docs/src/app/page":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/guide/page":[]},"rscModuleMapping":{"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"621":{"*":{"id":"7250","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"7652","name":"*","chunks":[],"async":false}},"2872":{"*":{"id":"1805","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"5543":{"*":{"id":"9665","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"7536":{"*":{"id":"4618","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"7831","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"3318","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}},"9049":{"*":{"id":"9575","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/matrix/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"2386","name":"*","chunks":[],"async":false}},"2940":{"*":{"id":"2796","name":"*","chunks":[],"async":false}},"4491":{"*":{"id":"8737","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"5507":{"*":{"id":"8404","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"3291","name":"*","chunks":[],"async":false}},"8384":{"*":{"id":"1536","name":"*","chunks":[],"async":false}},"8445":{"*":{"id":"579","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/globals.css":{"id":1743,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-550e25f5579f1a32.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/builder-tabs.tsx":{"id":4491,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/client.tsx":{"id":2716,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","258","static/chunks/app/matrix/page-b2418abb52a7acd8.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/releases-client.tsx":{"id":8445,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx":{"id":2940,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/risk-detail-client.tsx":{"id":5507,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/scenario-list.tsx":{"id":8169,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/urs-detail-client.tsx":{"id":8384,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/matthew/Code/github/p11o/machine/docs/src/":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/layout":[{"inlined":false,"path":"static/css/f29e518c867dffaa.css"}],"/Users/matthew/Code/github/p11o/machine/docs/src/app/page":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/page":[]},"rscModuleMapping":{"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"7652","name":"*","chunks":[],"async":false}},"2940":{"*":{"id":"9575","name":"*","chunks":[],"async":false}},"4491":{"*":{"id":"1805","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"5507":{"*":{"id":"9665","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"7831","name":"*","chunks":[],"async":false}},"8384":{"*":{"id":"7250","name":"*","chunks":[],"async":false}},"8445":{"*":{"id":"4618","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"3318","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/matrix/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"621":{"*":{"id":"5690","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"2386","name":"*","chunks":[],"async":false}},"2872":{"*":{"id":"6966","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"5543":{"*":{"id":"4891","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"7536":{"*":{"id":"7688","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"3291","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}},"9049":{"*":{"id":"1448","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/globals.css":{"id":1743,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-550e25f5579f1a32.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/releases-client.tsx":{"id":7536,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/client.tsx":{"id":2716,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","258","static/chunks/app/matrix/page-b2418abb52a7acd8.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/builder-tabs.tsx":{"id":2872,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx":{"id":9049,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/risk-detail-client.tsx":{"id":5543,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/scenario-list.tsx":{"id":8169,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/urs-detail-client.tsx":{"id":621,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/matthew/Code/github/p11o/machine/docs/src/":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/layout":[{"inlined":false,"path":"static/css/f29e518c867dffaa.css"}],"/Users/matthew/Code/github/p11o/machine/docs/src/app/page":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/page":[]},"rscModuleMapping":{"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"621":{"*":{"id":"7250","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"7652","name":"*","chunks":[],"async":false}},"2872":{"*":{"id":"1805","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"5543":{"*":{"id":"9665","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"7536":{"*":{"id":"4618","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"7831","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"3318","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}},"9049":{"*":{"id":"9575","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"2386","name":"*","chunks":[],"async":false}},"2940":{"*":{"id":"2796","name":"*","chunks":[],"async":false}},"4491":{"*":{"id":"8737","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"5507":{"*":{"id":"8404","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"3291","name":"*","chunks":[],"async":false}},"8384":{"*":{"id":"1536","name":"*","chunks":[],"async":false}},"8445":{"*":{"id":"579","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/globals.css":{"id":1743,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-550e25f5579f1a32.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/builder-tabs.tsx":{"id":4491,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/client.tsx":{"id":2716,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/releases-client.tsx":{"id":8445,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx":{"id":2940,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/risk-detail-client.tsx":{"id":5507,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/scenario-list.tsx":{"id":8169,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/urs-detail-client.tsx":{"id":8384,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/matthew/Code/github/p11o/machine/docs/src/":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/layout":[{"inlined":false,"path":"static/css/f29e518c867dffaa.css"}],"/Users/matthew/Code/github/p11o/machine/docs/src/app/page":[]},"rscModuleMapping":{"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"7652","name":"*","chunks":[],"async":false}},"2940":{"*":{"id":"9575","name":"*","chunks":[],"async":false}},"4491":{"*":{"id":"1805","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"5507":{"*":{"id":"9665","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"7831","name":"*","chunks":[],"async":false}},"8384":{"*":{"id":"7250","name":"*","chunks":[],"async":false}},"8445":{"*":{"id":"4618","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"3318","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"621":{"*":{"id":"5690","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"2386","name":"*","chunks":[],"async":false}},"2872":{"*":{"id":"6966","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"5543":{"*":{"id":"4891","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"7536":{"*":{"id":"7688","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"3291","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}},"9049":{"*":{"id":"1448","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-9c9dff9c5e3ddefe.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/globals.css":{"id":1743,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-550e25f5579f1a32.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/releases-client.tsx":{"id":7536,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/client.tsx":{"id":2716,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/builder/builder-tabs.tsx":{"id":2872,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx":{"id":9049,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/risk-detail-client.tsx":{"id":5543,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/scenario-list.tsx":{"id":8169,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/urs-detail-client.tsx":{"id":621,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/matthew/Code/github/p11o/machine/docs/src/":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/layout":[{"inlined":false,"path":"static/css/f29e518c867dffaa.css"}],"/Users/matthew/Code/github/p11o/machine/docs/src/app/page":[]},"rscModuleMapping":{"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"621":{"*":{"id":"7250","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"7652","name":"*","chunks":[],"async":false}},"2872":{"*":{"id":"1805","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"5543":{"*":{"id":"9665","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"7536":{"*":{"id":"4618","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"7831","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"3318","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}},"9049":{"*":{"id":"9575","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}