PageSourceSearch

https://hunter.io/assets/metrics-D-jJFy-A.js

js hunter.io collected 2026-09-24 07:51:40 UTC 6,661 bytes, 223 lines download raw bytes

1(function() {
2	try {
3		var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {};
4		e.SENTRY_RELEASE = { id: "b96dc26" };
5		var n = new e.Error().stack;
6		n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "755d3b02-381c-4e58-a37b-0dd30ffde152", e._sentryDebugIdIdentifier = "sentry-dbid-755d3b02-381c-4e58-a37b-0dd30ffde152");
7	} catch (e) {}
8})();
9import { a as __toESM, n as __esmMin } from "./rolldown-runtime-sLwMD6dS.js";
10import { a as cn, i as require_compiler_runtime, t as require_jsx_runtime, u as init_utils } from "./jsx-runtime-CHSMGLHp.js";
11import { t as require_react } from "./react-CrLPhuc5.js";
12import { n as init_icon, t as Icon } from "./icon-BNzYbsdJ.js";
13import { a as init_tooltip, i as TooltipTrigger, n as TooltipContent, r as TooltipProvider, t as Tooltip } from "./tooltip-HHfiWInP.js";
14import { r as init_separator, t as Separator } from "./separator-D5aQTBY-.js";
15//#region app/frontend/react/ui/metrics.tsx
16function MetricsSeparator({ className, orientation = "vertical", full = true, ...props }) {
17	return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Separator, {
18		orientation,
19		full,
20		className: cn("metrics__separator", className),
21		...props
22	});
23}
24var import_compiler_runtime, import_react, import_jsx_runtime, Metrics, MetricsItem;
25function init_metrics() {
26	return (init_metrics = __esmMin((() => {
27		import_compiler_runtime = require_compiler_runtime();
28		import_react = /* @__PURE__ */ __toESM(require_react());
29		init_utils();
30		init_icon();
31		init_separator();
32		init_tooltip();
33		import_jsx_runtime = require_jsx_runtime();
34		Metrics = import_react.forwardRef((t0, ref) => {
35			const $ = (0, import_compiler_runtime.c)(9);
36			let className;
37			let props;
38			if ($[0] !== t0) {
39				({className, ...props} = t0);
40				$[0] = t0;
41				$[1] = className;
42				$[2] = props;
43			} else {
44				className = $[1];
45				props = $[2];
46			}
47			let t1;
48			if ($[3] !== className) {
49				t1 = cn("metrics", className);
50				$[3] = className;
51				$[4] = t1;
52			} else t1 = $[4];
53			let t2;
54			if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
55				t2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
56					ref,
57					className: t1,
58					...props
59				});
60				$[5] = props;
61				$[6] = ref;
62				$[7] = t1;
63				$[8] = t2;
64			} else t2 = $[8];
65			return t2;
66		});
67		Metrics.displayName = "Metrics";
68		MetricsItem = import_react.forwardRef((t0, ref) => {
69			const $ = (0, import_compiler_runtime.c)(39);
70			let children;
71			let className;
72			let icon;
73			let iconColor;
74			let label;
75			let labelTooltip;
76			let props;
77			let secondaryValue;
78			let value;
79			let wide;
80			if ($[0] !== t0) {
81				({className, icon, iconColor, label, labelTooltip, value, secondaryValue, wide, children, ...props} = t0);
82				$[0] = t0;
83				$[1] = children;
84				$[2] = className;
85				$[3] = icon;
86				$[4] = iconColor;
87				$[5] = label;
88				$[6] = labelTooltip;
89				$[7] = props;
90				$[8] = secondaryValue;
91				$[9] = value;
92				$[10] = wide;
93			} else {
94				children = $[1];
95				className = $[2];
96				icon = $[3];
97				iconColor = $[4];
98				label = $[5];
99				labelTooltip = $[6];
100				props = $[7];
101				secondaryValue = $[8];
102				value = $[9];
103				wide = $[10];
104			}
105			const t1 = wide && "metrics-item--wide";
106			let t2;
107			if ($[11] !== className || $[12] !== t1) {
108				t2 = cn("metrics-item", t1, className);
109				$[11] = className;
110				$[12] = t1;
111				$[13] = t2;
112			} else t2 = $[13];
113			let t3;
114			if ($[14] !== icon || $[15] !== iconColor) {
115				t3 = icon && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, {
116					icon,
117					"aria-hidden": "true",
118					size: "sm",
119					style: iconColor ? { color: iconColor } : { color: "var(--colors-neutral-600)" }
120				});
121				$[14] = icon;
122				$[15] = iconColor;
123				$[16] = t3;
124			} else t3 = $[16];
125			let t4;
126			if ($[17] !== label) {
127				t4 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
128					className: "metrics-item__label",
129					children: label
130				});
131				$[17] = label;
132				$[18] = t4;
133			} else t4 = $[18];
134			let t5;
135			if ($[19] !== labelTooltip) {
136				t5 = labelTooltip && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Tooltip, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipTrigger, {
137					asChild: true,
138					children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
139						className: "question-circle",
140						children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, {
141							icon: "question-circle",
142							size: "xs",
143							"aria-hidden": "true"
144						})
145					})
146				}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipContent, { children: labelTooltip })] }) });
147				$[19] = labelTooltip;
148				$[20] = t5;
149			} else t5 = $[20];
150			let t6;
151			if ($[21] !== t3 || $[22] !== t4 || $[23] !== t5) {
152				t6 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
153					className: "metrics-item__top",
154					children: [
155						t3,
156						t4,
157						t5
158					]
159				});
160				$[21] = t3;
161				$[22] = t4;
162				$[23] = t5;
163				$[24] = t6;
164			} else t6 = $[24];
165			let t7;
166			if ($[25] !== value) {
167				t7 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
168					className: "metrics-item__value",
169					children: value
170				});
171				$[25] = value;
172				$[26] = t7;
173			} else t7 = $[26];
174			let t8;
175			if ($[27] !== secondaryValue) {
176				t8 = secondaryValue ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
177					className: "metrics-item__secondary",
178					children: [
179						"(",
180						/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: secondaryValue }),
181						")"
182					]
183				}) : null;
184				$[27] = secondaryValue;
185				$[28] = t8;
186			} else t8 = $[28];
187			let t9;
188			if ($[29] !== children || $[30] !== t7 || $[31] !== t8) {
189				t9 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
190					className: "metrics-item__bottom",
191					children: [
192						t7,
193						t8,
194						children
195					]
196				});
197				$[29] = children;
198				$[30] = t7;
199				$[31] = t8;
200				$[32] = t9;
201			} else t9 = $[32];
202			let t10;
203			if ($[33] !== props || $[34] !== ref || $[35] !== t2 || $[36] !== t6 || $[37] !== t9) {
204				t10 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
205					ref,
206					className: t2,
207					...props,
208					children: [t6, t9]
209				});
210				$[33] = props;
211				$[34] = ref;
212				$[35] = t2;
213				$[36] = t6;
214				$[37] = t9;
215				$[38] = t10;
216			} else t10 = $[38];
217			return t10;
218		});
219		MetricsItem.displayName = "MetricsItem";
220	})))();
221}
222//#endregion
223export { init_metrics as i, MetricsItem as n, MetricsSeparator as r, Metrics as t };

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.