You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
31 KiB
JavaScript

9 months ago
"use strict";
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
exports.id = "vendor-chunks/@vercel";
exports.ids = ["vendor-chunks/@vercel"];
exports.modules = {
/***/ "(ssr)/./node_modules/@vercel/analytics/dist/react/index.js":
/*!************************************************************!*\
!*** ./node_modules/@vercel/analytics/dist/react/index.js ***!
\************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Analytics: () => (/* binding */ Analytics)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* __next_internal_client_entry_do_not_use__ Analytics auto */ // src/react.tsx\n\n// package.json\nvar name = \"@vercel/analytics\";\nvar version = \"0.1.11\";\n// src/queue.ts\nvar initQueue = ()=>{\n if (window.va) return;\n window.va = function a(...params) {\n (window.vaq = window.vaq || []).push(params);\n };\n};\n// src/utils.ts\nfunction isBrowser() {\n return \"undefined\" !== \"undefined\";\n}\nfunction isDevelopment() {\n try {\n const env = \"development\";\n return env === \"development\" || env === \"test\";\n } catch (e) {\n return false;\n }\n}\nfunction getMode(mode = \"auto\") {\n if (mode === \"auto\") {\n return isDevelopment() ? \"development\" : \"production\";\n }\n return mode;\n}\n// src/generic.ts\nvar inject = (props = {\n debug: true\n})=>{\n var _a;\n if (!isBrowser()) return;\n const mode = getMode(props.mode);\n initQueue();\n if (props.beforeSend) {\n (_a = window.va) == null ? void 0 : _a.call(window, \"beforeSend\", props.beforeSend);\n }\n const src = mode === \"development\" ? \"https://cdn.vercel-insights.com/v1/script.debug.js\" : \"/_vercel/insights/script.js\";\n if (document.head.querySelector(`script[src*=\"${src}\"]`)) return;\n const script = document.createElement(\"script\");\n script.src = src;\n script.defer = true;\n script.setAttribute(\"data-sdkn\", name);\n script.setAttribute(\"data-sdkv\", version);\n if (mode === \"development\" && props.debug === false) {\n script.setAttribute(\"data-debug\", \"false\");\n }\n document.head.appendChild(script);\n};\n// src/react.tsx\nfunction Analytics({ beforeSend, debug = true, mode = \"auto\" }) {\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{\n inject({\n beforeSend,\n debug,\n mode\n });\n }, [\n beforeSend,\n debug,\n mode\n ]);\n return null;\n}\n //# sourceMappingURL=index.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHZlcmNlbC9hbmFseXRpY3MvZGlzdC9yZWFjdC9pbmRleC5qcyIsIm1hcHBpbmdzIjoiOzs7OzsrREFFQSxnQkFBZ0I7QUFDa0I7QUFFbEMsZUFBZTtBQUNmLElBQUlDLE9BQU87QUFDWCxJQUFJQyxVQUFVO0FBRWQsZUFBZTtBQUNmLElBQUlDLFlBQVk7SUFDZCxJQUFJQyxPQUFPQyxFQUFFLEVBQ1g7SUFDRkQsT0FBT0MsRUFBRSxHQUFHLFNBQVNDLEVBQUUsR0FBR0MsTUFBTTtRQUM3QkgsQ0FBQUEsT0FBT0ksR0FBRyxHQUFHSixPQUFPSSxHQUFHLElBQUksRUFBRSxFQUFFQyxJQUFJLENBQUNGO0lBQ3ZDO0FBQ0Y7QUFFQSxlQUFlO0FBQ2YsU0FBU0c7SUFDUCxPQUFPLGdCQUFrQjtBQUMzQjtBQUNBLFNBQVNDO0lBQ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3BDO0lBQ0FO
/***/ }),
/***/ "(ssr)/./node_modules/@vercel/speed-insights/dist/next/index.mjs":
/*!*****************************************************************!*\
!*** ./node_modules/@vercel/speed-insights/dist/next/index.mjs ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SpeedInsights: () => (/* binding */ SpeedInsights2)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var next_navigation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/navigation.js */ \"(ssr)/./node_modules/next/dist/api/navigation.js\");\n/* __next_internal_client_entry_do_not_use__ SpeedInsights auto */ // src/nextjs/index.tsx\n\n// src/react/index.tsx\n\n// package.json\nvar name = \"@vercel/speed-insights\";\nvar version = \"1.0.2\";\n// src/queue.ts\nvar initQueue = ()=>{\n if (window.si) return;\n window.si = function a(...params) {\n (window.siq = window.siq || []).push(params);\n };\n};\n// src/utils.ts\nfunction isBrowser() {\n return \"undefined\" !== \"undefined\";\n}\nfunction detectEnvironment() {\n try {\n const env = \"development\";\n if (env === \"development\" || env === \"test\") {\n return \"development\";\n }\n } catch (e) {}\n return \"production\";\n}\nfunction isDevelopment() {\n return detectEnvironment() === \"development\";\n}\nfunction computeRoute(pathname, pathParams) {\n if (!pathname || !pathParams) {\n return pathname;\n }\n let result = pathname;\n try {\n for (const [key, valueOrArray] of Object.entries(pathParams)){\n const isValueArray = Array.isArray(valueOrArray);\n const value = isValueArray ? valueOrArray.join(\"/\") : valueOrArray;\n const expr = isValueArray ? `...${key}` : key;\n const matcher = new RegExp(`/${escapeRegExp(value)}(?=[/?#]|$)`);\n if (matcher.test(result)) {\n result = result.replace(matcher, `/[${expr}]`);\n }\n }\n return result;\n } catch (e) {\n return pathname;\n }\n}\nfunction escapeRegExp(string) {\n return string.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n}\n// src/generic.ts\nvar SCRIPT_URL = `https://va.vercel-scripts.com/v1/speed-insights`;\nvar PROD_SCRIPT_URL = `${SCRIPT_URL}/script.js`;\nvar DEV_SCRIPT_URL = `${SCRIPT_URL}/script.debug.js`;\nvar PROXY_SCRIPT_URL = `/_vercel/speed-insights/script.js`;\nfunction injectSpeedInsights(props) {\n var _a;\n if (!isBrowser() || props.route === null) return null;\n initQueue();\n const isSelfHosted = Boolean(props.dsn);\n const productionScript = isSelfHosted ? PROD_SCRIPT_URL : PROXY_SCRIPT_URL;\n const src = props.scriptSrc || (isDevelopment() ? DEV_SCRIPT_URL : productionScript);\n if (document.head.querySelector(`script[src*=\"${src}\"]`)) return null;\n if (props.beforeSend) {\n (_a = window.si) == null ? void 0 : _a.call(window, \"beforeSend\", props.beforeSend);\n }\n const script = document.createElement(\"script\");\n script.src = src;\n script.defer = true;\n script.dataset.sdkn = name + (props.framework ? `/${props.framework}` : \"\");\n script.dataset.sdkv = version;\n if (props.sampleRate) {\n script.dataset.sampleRate = props.sampleRate.toString();\n }\n if (props.route) {\n script.dataset.route = props.route;\n }\n if (props.endpoint) {\n script.dataset.endpoint = props.endpoint;\n }\n if (props.dsn) {\n script.dataset.dsn = props.dsn;\n }\n if (isDevelopment() && props.debug === false) {\n script.dataset.debug = \"false\";\n }\n script.onerror = ()=>{\n console.log(`[Vercel Speed Insights] Failed to load script from ${src}. Please check if any content blockers are enabled and try again.`);\n };\n document.head.appendChild(script);\n return {\n setRoute: (route)=>{\n script.dataset.route = route ?? void 0;\n }\n };\n}\n// src/react/index.tsx\nfunction SpeedInsights(props) {\n const setSc
/***/ }),
/***/ "(rsc)/./node_modules/@vercel/analytics/dist/react/index.js":
/*!************************************************************!*\
!*** ./node_modules/@vercel/analytics/dist/react/index.js ***!
\************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ Analytics: () => (/* binding */ e0)
/* harmony export */ });
/* harmony import */ var next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! next/dist/build/webpack/loaders/next-flight-loader/module-proxy */ "(rsc)/./node_modules/next/dist/build/webpack/loaders/next-flight-loader/module-proxy.js");
const proxy = (0,next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__.createProxy)(String.raw`D:\NextChatCD\node_modules\@vercel\analytics\dist\react\index.js`)
// Accessing the __esModule property and exporting $$typeof are required here.
// The __esModule getter forces the proxy target to create the default export
// and the $$typeof value is for rendering logic to determine if the module
// is a client boundary.
const { __esModule, $$typeof } = proxy;
const __default__ = proxy.default;
const e0 = (0,next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__.createProxy)(String.raw`D:\NextChatCD\node_modules\@vercel\analytics\dist\react\index.js#Analytics`);
/***/ }),
/***/ "(rsc)/./node_modules/@vercel/speed-insights/dist/next/index.mjs":
/*!*****************************************************************!*\
!*** ./node_modules/@vercel/speed-insights/dist/next/index.mjs ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ SpeedInsights: () => (/* binding */ e0)
/* harmony export */ });
/* harmony import */ var next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! next/dist/build/webpack/loaders/next-flight-loader/module-proxy */ "(rsc)/./node_modules/next/dist/build/webpack/loaders/next-flight-loader/module-proxy.js");
const proxy = (0,next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__.createProxy)(String.raw`D:\NextChatCD\node_modules\@vercel\speed-insights\dist\next\index.mjs`)
// Accessing the __esModule property and exporting $$typeof are required here.
// The __esModule getter forces the proxy target to create the default export
// and the $$typeof value is for rendering logic to determine if the module
// is a client boundary.
const { __esModule, $$typeof } = proxy;
const __default__ = proxy.default;
const e0 = (0,next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__.createProxy)(String.raw`D:\NextChatCD\node_modules\@vercel\speed-insights\dist\next\index.mjs#SpeedInsights`);
/***/ })
};
;