%PDF- %PDF-
Direktori : /var/www/html/node_modules/next/dist/server/api-utils/ |
Current File : /var/www/html/node_modules/next/dist/server/api-utils/node.js.map |
{"version":3,"sources":["../../../server/api-utils/node.ts"],"names":["tryGetPreviewData","parseBody","apiResolver","req","res","options","checkIsManualRevalidate","isManualRevalidate","SYMBOL_PREVIEW_DATA","getCookies","getCookieParser","headers","cookies","hasBypass","COOKIE_NAME_PRERENDER_BYPASS","hasData","COOKIE_NAME_PRERENDER_DATA","clearPreviewData","previewModeId","tokenPreviewData","encryptedPreviewData","jsonwebtoken","verify","previewModeSigningKey","decryptedPreviewData","decryptWithSecret","Buffer","from","previewModeEncryptionKey","data","JSON","parse","Object","defineProperty","value","enumerable","parseJson","str","length","e","ApiError","limit","contentType","type","parameters","encoding","charset","buffer","getRawBody","require","isError","body","toString","qs","decode","getMaxContentLength","responseLimit","bytes","RESPONSE_LIMIT_DEFAULT","sendData","undefined","end","statusCode","removeHeader","process","env","NODE_ENV","console","warn","url","getHeader","Stream","setHeader","pipe","isJSONLike","includes","stringifiedBody","stringify","etag","generateETag","sendEtagResponse","isBuffer","byteLength","sendJson","jsonBody","send","isNotValidData","setPreviewData","Error","payload","sign","encryptWithSecret","algorithm","maxAge","expiresIn","serialize","previous","Array","isArray","httpOnly","sameSite","secure","path","revalidate","urlPath","opts","context","startsWith","revalidateHeaders","PRERENDER_REVALIDATE_HEADER","unstable_onlyGenerated","PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER","trustHostHeader","fetch","host","method","cookie","cacheHeader","get","toUpperCase","status","mockReq","mockRes","streamPromise","mockRequest","err","message","query","resolverModule","apiContext","propagateError","dev","page","apiReq","apiRes","config","bodyParser","api","externalResolver","setLazyProp","previewData","sizeLimit","contentLength","maxContentLength","writeData","write","endResponse","args","apply","format","sendStatusCode","json","redirect","statusOrUrl","assign","unstable_revalidate","resolver","interopDefault","wasPiped","once","isResSent","sendError","error"],"mappings":"AAAA;;;;QAuCgBA,iBAAiB,GAAjBA,iBAAi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