5 lines
9.6 KiB
JavaScript
5 lines
9.6 KiB
JavaScript
;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="c430e1fd-dd6f-d4be-4e59-fb94210c3fea")}catch(e){}}();
|
|
module.exports=[180064,(a,b,c)=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_@opentelemetry+api@1.9.1_react-dom@19.2.4_react@19.2.4__react@19.2.4_sass@1.98.0/node_modules/next/dist/compiled/cookie/");var a,c,d,e,f={};f.parse=function(b,c){if("string"!=typeof b)throw TypeError("argument str must be a string");for(var e={},f=b.split(d),g=(c||{}).decode||a,h=0;h<f.length;h++){var i=f[h],j=i.indexOf("=");if(!(j<0)){var k=i.substr(0,j).trim(),l=i.substr(++j,i.length).trim();'"'==l[0]&&(l=l.slice(1,-1)),void 0==e[k]&&(e[k]=function(a,b){try{return b(a)}catch(b){return a}}(l,g))}}return e},f.serialize=function(a,b,d){var f=d||{},g=f.encode||c;if("function"!=typeof g)throw TypeError("option encode is invalid");if(!e.test(a))throw TypeError("argument name is invalid");var h=g(b);if(h&&!e.test(h))throw TypeError("argument val is invalid");var i=a+"="+h;if(null!=f.maxAge){var j=f.maxAge-0;if(isNaN(j)||!isFinite(j))throw TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(j)}if(f.domain){if(!e.test(f.domain))throw TypeError("option domain is invalid");i+="; Domain="+f.domain}if(f.path){if(!e.test(f.path))throw TypeError("option path is invalid");i+="; Path="+f.path}if(f.expires){if("function"!=typeof f.expires.toUTCString)throw TypeError("option expires is invalid");i+="; Expires="+f.expires.toUTCString()}if(f.httpOnly&&(i+="; HttpOnly"),f.secure&&(i+="; Secure"),f.sameSite)switch("string"==typeof f.sameSite?f.sameSite.toLowerCase():f.sameSite){case!0:case"strict":i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"none":i+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return i},a=decodeURIComponent,c=encodeURIComponent,d=/; */,e=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,b.exports=f})()},605365,(a,b,c)=>{b.exports=a.x("process",()=>require("process"))},410430,(a,b,c)=>{b.exports=a.x("async_hooks",()=>require("async_hooks"))},522734,(a,b,c)=>{b.exports=a.x("fs",()=>require("fs"))},233405,(a,b,c)=>{b.exports=a.x("child_process",()=>require("child_process"))},254799,(a,b,c)=>{b.exports=a.x("crypto",()=>require("crypto"))},792509,(a,b,c)=>{b.exports=a.x("url",()=>require("url"))},427699,(a,b,c)=>{b.exports=a.x("events",()=>require("events"))},81111,(a,b,c)=>{b.exports=a.x("node:stream",()=>require("node:stream"))},446786,(a,b,c)=>{b.exports=a.x("os",()=>require("os"))},362562,(a,b,c)=>{b.exports=a.x("module",()=>require("module"))},156823,(a,b,c)=>{b.exports=a.x("require-in-the-middle-a99415fa67232f7f",()=>require("require-in-the-middle-a99415fa67232f7f"))},285512,(a,b,c)=>{b.exports=a.x("import-in-the-middle-138cd032e4b029f3",()=>require("import-in-the-middle-138cd032e4b029f3"))},677652,(a,b,c)=>{b.exports=a.x("node:diagnostics_channel",()=>require("node:diagnostics_channel"))},687769,(a,b,c)=>{b.exports=a.x("node:events",()=>require("node:events"))},154993,(a,b,c)=>{b.exports=a.x("diagnostics_channel",()=>require("diagnostics_channel"))},874533,(a,b,c)=>{b.exports=a.x("node:child_process",()=>require("node:child_process"))},902157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},660526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},750227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},812057,(a,b,c)=>{b.exports=a.x("node:util",()=>require("node:util"))},601457,(a,b,c)=>{b.exports=a.x("node:readline",()=>require("node:readline"))},925127,(a,b,c)=>{b.exports=a.x("node:worker_threads",()=>require("node:worker_threads"))},37702,(a,b,c)=>{b.exports=a.x("worker_threads",()=>require("worker_threads"))},347299,(a,b,c)=>{b.exports=a.x("node:http",()=>require("node:http"))},743698,(a,b,c)=>{b.exports=a.x("node:https",()=>require("node:https"))},727028,(a,b,c)=>{b.exports=a.x("node:zlib",()=>require("node:zlib"))},761095,(a,b,c)=>{b.exports=a.x("node:net",()=>require("node:net"))},685560,(a,b,c)=>{b.exports=a.x("node:tls",()=>require("node:tls"))},60438,(a,b,c)=>{b.exports=a.x("perf_hooks",()=>require("perf_hooks"))},74667,(a,b,c)=>{b.exports=a.x("import-in-the-middle-6ecbfda1283b1532",()=>require("import-in-the-middle-6ecbfda1283b1532"))},989801,a=>{a.v({name:"@fastify/otel",version:"0.18.0",description:"Official Fastify OpenTelemetry Instrumentation",main:"index.js",type:"commonjs",types:"types/index.d.ts",scripts:{lint:"eslint","lint:fix":"eslint --fix",test:"npm run test:all && npm run test:typescript","test:unit":"c8 --100 node --test","test:all":"npm run test:v4 && npm run test:v5","test:v4":"cross-env FASTIFY_VERSION=fastifyv4 npm run test:unit","test:v5":"cross-env FASTIFY_VERSION=fastify npm run test:unit","test:coverage":"c8 node --test && c8 report --reporter=html","test:typescript":"tsd"},repository:{type:"git",url:"git+https://github.com/fastify/otel.git"},keywords:["plugin","helper","fastify","instrumentation","otel","opentelemetry"],author:"Carlos Fuentes - @metcoder95 (https://metcoder.dev)",license:"MIT",bugs:{url:"https://github.com/fastify/otel/issues"},homepage:"https://github.com/fastify/otel#readme",funding:[{type:"github",url:"https://github.com/sponsors/fastify"},{type:"opencollective",url:"https://opencollective.com/fastify"}],devDependencies:{"@fastify/type-provider-typebox":"^6.1.0","@opentelemetry/context-async-hooks":"^2.0.0","@opentelemetry/contrib-test-utils":"^0.59.0","@opentelemetry/instrumentation-http":"^0.212.0","@opentelemetry/propagator-jaeger":"^2.0.0","@opentelemetry/sdk-trace-base":"^2.0.0","@opentelemetry/sdk-trace-node":"^2.2.0","@types/node":"^25.0.3",c8:"^11.0.0","cross-env":"^10.0.0",eslint:"^9.16.0",fastify:"^5.1.0","fastify-plugin":"^5.1.0",fastifyv4:"npm:fastify@^4.0.0",neostandard:"^0.12.0",tsd:"^0.33.0"},dependencies:{"@opentelemetry/core":"^2.0.0","@opentelemetry/instrumentation":"^0.212.0","@opentelemetry/semantic-conventions":"^1.28.0",minimatch:"^10.2.4"},peerDependencies:{"@opentelemetry/api":"^1.9.0"},tsd:{directory:"types"}})},955289,(a,b,c)=>{"use strict";c._=function(a){return a&&a.__esModule?a:{default:a}}},254508,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},888128,a=>{"use strict";let b=(0,a.i(783505).cache)(function(){return{locale:void 0}});function c(){return b().locale}function d(a){b().locale=a}a.s(["getCachedRequestLocale",()=>c,"setCachedRequestLocale",()=>d])},183751,a=>{"use strict";var b=a.i(783505),c=a.i(146319),d=a.i(450651),e=a.i(686122),f=(0,b.cache)(function(a,b){return function({_cache:a=(0,d.b)(),_formatters:b=(0,d.c)(a),getMessageFallback:c=e.d,messages:f,namespace:g,onError:h=e.b,...i}){return function({messages:a,namespace:b,...c},d){return a=a["!"],b=(0,e.r)(b,"!"),(0,e.a)({...c,messages:a,namespace:b})}({...i,onError:h,cache:a,formatters:b,getMessageFallback:c,messages:{"!":f},namespace:g?`!.${g}`:"!"},0)}({...a,namespace:b})}),g=(0,b.cache)(async function(a){let b,d;return"string"==typeof a?b=a:a&&(d=a.locale,b=a.namespace),f(await (0,c.default)(d),b)});a.s(["getTranslations",()=>g],183751)},787368,a=>{"use strict";a.i(998511),a.i(149312),a.i(183751),a.i(534406);let b=a.i(446524).OG_IMAGE_SIZE;var c=a.i(335076);let d={contentType:"image/png",runtime:"nodejs",size:b};async function e(a){let{__metadata_id__:b,...e}=await a.params,f=(0,c.fillMetadataSegment)("/[locale]",e,"opengraph-image");return[function(a,b){let c={alt:a.alt,type:a.contentType||"image/png",url:f+"?6076960dae8670a5"},{size:d}=a;return d&&(c.width=d.width,c.height=d.height),c}(d,0)]}a.s(["default",0,e],787368)},791227,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[externals]_next_dist_compiled_@vercel_og_index_node_055f47ab.js"].map(b=>a.l(b))).then(()=>b(121425)))},234177,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[externals]_node:inspector_7a4283c6._.js"].map(b=>a.l(b))).then(()=>b(237221)))},939510,a=>{a.v(b=>Promise.all(["server/chunks/ssr/9aaa3_@opentelemetry_resources_build_esm_detectors_platform_node_machine-id_634cb413._.js"].map(b=>a.l(b))).then(()=>b(996454)))},962327,a=>{a.v(b=>Promise.all(["server/chunks/ssr/34c6c_build_esm_detectors_platform_node_machine-id_getMachineId-linux_f7a67094.js"].map(b=>a.l(b))).then(()=>b(868047)))},665688,a=>{a.v(b=>Promise.all(["server/chunks/ssr/9aaa3_@opentelemetry_resources_build_esm_detectors_platform_node_machine-id_88fed31f._.js"].map(b=>a.l(b))).then(()=>b(483274)))},256493,a=>{a.v(b=>Promise.all(["server/chunks/ssr/9aaa3_@opentelemetry_resources_build_esm_detectors_platform_node_machine-id_929773f6._.js"].map(b=>a.l(b))).then(()=>b(190438)))},205639,a=>{a.v(b=>Promise.all(["server/chunks/ssr/34c6c_build_esm_detectors_platform_node_machine-id_getMachineId-unsupported_e2e05945.js"].map(b=>a.l(b))).then(()=>b(335359)))},65575,a=>{a.v(b=>Promise.all(["server/chunks/ssr/messages_de_json_56e8cde5._.js"].map(b=>a.l(b))).then(()=>b(763974)))},17741,a=>{a.v(b=>Promise.all(["server/chunks/ssr/messages_en_json_a7997480._.js"].map(b=>a.l(b))).then(()=>b(50929)))}];
|
|
|
|
//# debugId=c430e1fd-dd6f-d4be-4e59-fb94210c3fea
|
|
//# sourceMappingURL=%5Broot-of-the-server%5D__2da52317._.js.map
|