securityos/node_modules/next/dist/server/app-render/action-handler.js.map

1 line
11 KiB
Plaintext
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
{"version":3,"sources":["../../../src/server/app-render/action-handler.ts"],"names":["handleAction","nodeToWebReadableStream","nodeReadable","process","env","NEXT_RUNTIME","Readable","require","toWeb","ReadableStream","start","controller","on","chunk","enqueue","close","error","Error","formDataFromSearchQueryString","query","searchParams","URLSearchParams","formData","FormData","key","value","append","nodeHeadersToRecord","headers","record","Object","entries","undefined","Array","isArray","join","getForwardedHeaders","req","res","requestHeaders","requestCookies","responseHeaders","getHeaders","rawSetCookies","setCookies","map","setCookie","cookie","split","mergedHeaders","filterReqHeaders","actionsForbiddenHeaders","mergedCookies","concat","Headers","addRevalidationHeader","staticGenerationStore","requestStore","Promise","all","pendingRevalidates","isTagRevalidated","revalidatedTags","length","isCookieRevalidated","getModifiedCookieValues","mutableCookies","setHeader","JSON","stringify","createRedirectRenderResult","redirectUrl","startsWith","forwardedHeaders","set","RSC","host","proto","incrementalCache","requestProtocol","fetchUrl","URL","NEXT_CACHE_REVALIDATED_TAGS_HEADER","NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER","prerenderManifest","preview","previewModeId","delete","headResponse","fetch","method","next","internal","get","RSC_CONTENT_TYPE_HEADER","response","includes","FlightRenderResult","body","err","console","RenderResult","ComponentMod","page","serverActionsManifest","generateFlight","serverActionsBodySizeLimit","ctx","actionId","ACTION","toLowerCase","contentType","isURLEncodedAction","isMultipartAction","isFetchAction","originHostname","warn","statusCode","promise","reject","type","result","actionResult","skipFlight","pathWasRevalidated","bound","workerName","serverModuleMap","Proxy","_","id","workers","name","chunks","actionAsyncStorage","formState","run","isAction","decodeReply","decodeAction","decodeFormState","webRequest","request","action","actionReturnedState","actionData","reader","getReader","done","read","TextDecoder","decode","decodeReplyFromBusboy","busboy","bb","pipe","UndiciRequest","Request","fakeRequest","duplex","parseBody","e","message","actionWorkers","actionModId","actionHandler","__next_app__","returnVal","apply","resolve","isRedirectError","getURLFromRedirectError","appendMutableCookies","from","values","isNotFoundError","asNotFound"],"mappings":";;;;+BA8OsBA;;;eAAAA;;;kCAhOf;0BACyB;0BAIzB;qEACkB;oCAEU;uBAK5B;gCAIA;2BAMA;;;;;;AAGP,SAASC,wBAAwBC,YAAuC;IACtE,IAAIC,QAAQC,GAAG,CAACC,YAAY,KAAK,QAAQ;QACvC,MAAM,EAAEC,QAAQ,EAAE,GAAGC,QAAQ;QAC7B,IAAI,WAAWD,YAAY,OAAOA,SAASE,KAAK,KAAK,YAAY;YAC/D,OAAOF,SAASE,KAAK,CAACN;QACxB;QAEA,OAAO,IAAIO,eAAe;YACxBC,OAAMC,UAAU;gBACdT,aAAaU,EAAE,CAAC,QAAQ,CAACC;oBACvBF,WAAWG,OAAO,CAACD;gBACrB;gBAEAX,aAAaU,EAAE,CAAC,OAAO;oBACrBD,WAAWI,KAAK;gBAClB;gBAEAb,aAAaU,EAAE,CAAC,SAAS,CAACI;oBACxBL,WAAWK,KAAK,CAACA;gBACnB;YACF;QACF;IACF,OAAO;QACL,MAAM,IAAIC,MAAM;IAClB;AACF;AAEA,SAASC,8BAA8BC,KAAa;IAClD,MAAMC,eAAe,IAAIC,gBAAgBF;IACzC,MAAMG,WAAW,IAAIC;IACrB,KAAK,MAAM,CAACC,KAAKC,MAAM,IAAIL,aAAc;QACvCE,SAASI,MAAM,CAACF,KAAKC;IACvB;IACA,OAAOH;AACT;AAEA,SAASK,oBACPC,OAAkD;IAElD,MAAMC,SAAiC,CAAC;IACxC,KAAK,MAAM,CAACL,KAAKC,MAAM,IAAIK,OAAOC,OAAO,CAACH,SAAU;QAClD,IAAIH,UAAUO,WAAW;YACvBH,MAAM,CAACL,IAAI,GAAGS,MAAMC,OAAO,CAACT,SAASA,MAAMU,IAAI,CAAC,QAAQ,CAAC,EAAEV,MAAM,CAAC;QACpE;IACF;IACA,OAAOI;AACT;AAEA,SAASO,oBACPC,GAAoB,EACpBC,GAAmB;IAEnB,kCAAkC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