{"version":3,"sources":["../../../src/server/web/edge-route-module-wrapper.ts"],"names":["EdgeRouteModuleWrapper","routeModule","matcher","RouteMatcher","definition","wrap","options","wrapper","opts","adapter","IncrementalCache","handler","bind","request","evt","pathname","removeTrailingSlash","URL","url","basePath","nextUrl","removePathPrefix","match","Error","prerenderManifest","self","__PRERENDER_MANIFEST","JSON","parse","undefined","context","params","version","routes","dynamicRoutes","preview","previewModeEncryptionKey","previewModeId","previewModeSigningKey","notFoundRoutes","renderOpts","supportsDynamicHTML","res","handle","waitUntilPromises","internal_getCurrentFunctionWaitUntil","waitUntil","push","Promise","all"],"mappings":";;;;+BAwBaA;;;eAAAA;;;QAjBN;yBAEsC;kCACZ;8BACJ;qCACO;kCACH;uCAEoB;AAS9C,MAAMA;IAGX;;;;;GAKC,GACD,YAAqCC,YAAkC;2BAAlCA;QACnC,wEAAwE;QACxE,IAAI,CAACC,OAAO,GAAG,IAAIC,0BAAY,CAACF,YAAYG,UAAU;IACxD;IAEA;;;;;;;;GAQC,GACD,OAAcC,KACZJ,WAAgC,EAChCK,UAAuB,CAAC,CAAC,EACzB;QACA,6BAA6B;QAC7B,MAAMC,UAAU,IAAIP,uBAAuBC;QAE3C,gCAAgC;QAChC,OAAO,CAACO;YACN,OAAOC,IAAAA,gBAAO,EAAC;gBACb,GAAGD,IAAI;gBACP,GAAGF,OAAO;gBACVI,kBAAAA,kCAAgB;gBAChB,kEAAkE;gBAClEC,SAASJ,QAAQI,OAAO,CAACC,IAAI,CAACL;YAChC;QACF;IACF;IAEA,MAAcI,QACZE,OAAoB,EACpBC,GAAmB,EACA;QACnB,uEAAuE;QACvE,wBAAwB;QACxB,IAAIC,WAAWC,IAAAA,wCAAmB,EAAC,IAAIC,IAAIJ,QAAQK,GAAG,EAAEH,QAAQ;QAEhE,iEAAiE;QACjE,MAAM,EAAEI,QAAQ,EAAE,GAAGN,QAAQO,OAAO;QACpC,IAAID,UAAU;YACZ,+DAA+D;YAC/DJ,WAAWM,IAAAA,kCAA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