PageSourceSearch

https://hunter.io/assets/separator-D5aQTBY-.js

js hunter.io collected 2026-09-24 07:50:31 UTC 4,310 bytes, 108 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] = "18e9dfaa-aa86-44b1-a712-4f9cc9b1978d", e._sentryDebugIdIdentifier = "sentry-dbid-18e9dfaa-aa86-44b1-a712-4f9cc9b1978d");
7	} catch (e) {}
8})();
9import { a as __toESM, n as __esmMin } from "./rolldown-runtime-sLwMD6dS.js";
10import { a as cn, n as cva, r as init_dist$1, t as require_jsx_runtime, u as init_utils } from "./jsx-runtime-CHSMGLHp.js";
11import { t as require_react } from "./react-CrLPhuc5.js";
12import { a as init_dist$2, r as Primitive } from "./dist-UVQLpsj-.js";
13//#region node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]__@types+re_8021e1a191a8038c5ad5d03e4e376008/node_modules/@radix-ui/react-separator/dist/index.mjs
14function isValidOrientation(orientation) {
15	return ORIENTATIONS.includes(orientation);
16}
17var import_react$1, import_jsx_runtime$1, __defProp, __name, DEFAULT_ORIENTATION, ORIENTATIONS, Separator$1, Root;
18function init_dist() {
19	return (init_dist = __esmMin((() => {
20		import_react$1 = /* @__PURE__ */ __toESM(require_react(), 1);
21		init_dist$2();
22		import_jsx_runtime$1 = require_jsx_runtime();
23		__defProp = Object.defineProperty;
24		__name = (target, value) => __defProp(target, "name", {
25			value,
26			configurable: true
27		});
28		DEFAULT_ORIENTATION = "horizontal";
29		ORIENTATIONS = ["horizontal", "vertical"];
30		Separator$1 = /* @__PURE__ */ import_react$1.forwardRef(/* @__PURE__ */ __name(function Separator2(props, forwardedRef) {
31			const { decorative, orientation: orientationProp = DEFAULT_ORIENTATION, ...domProps } = props;
32			const orientation = isValidOrientation(orientationProp) ? orientationProp : DEFAULT_ORIENTATION;
33			const semanticProps = decorative ? { role: "none" } : {
34				"aria-orientation": orientation === "vertical" ? orientation : void 0,
35				role: "separator"
36			};
37			return /* @__PURE__ */ (0, import_jsx_runtime$1.jsx)(Primitive.div, {
38				"data-orientation": orientation,
39				...semanticProps,
40				...domProps,
41				ref: forwardedRef
42			});
43		}, "Separator"));
44		__name(isValidOrientation, "isValidOrientation");
45		Root = Separator$1;
46	})))();
47}
48//#endregion
49//#region app/frontend/react/ui/separator.tsx
50var import_react, import_jsx_runtime, separatorVariants, Separator, SeparatorWithWord;
51function init_separator() {
52	return (init_separator = __esmMin((() => {
53		init_utils();
54		import_react = /* @__PURE__ */ __toESM(require_react());
55		init_dist();
56		init_dist$1();
57		import_jsx_runtime = require_jsx_runtime();
58		separatorVariants = cva("h-separator", { variants: {
59			orientation: {
60				horizontal: "h-separator--horizontal",
61				vertical: "h-separator--vertical"
62			},
63			full: { true: "h-separator--full" },
64			variant: {
65				default: "",
66				light: "h-separator--light",
67				dark: "h-separator--dark"
68			}
69		} });
70		Separator = import_react.forwardRef(({ className, orientation = "horizontal", decorative = true, full, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Root, {
71			ref,
72			decorative,
73			orientation,
74			className: cn(separatorVariants({
75				orientation,
76				full,
77				variant
78			}), className),
79			asChild: true,
80			...props,
81			children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("hr", {})
82		}));
83		Separator.displayName = Root.displayName;
84		SeparatorWithWord = import_react.forwardRef(({ word = "or", variant, full, className }, ref) => {
85			return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
86				ref,
87				className: cn("h-separator-with-word", className),
88				children: [
89					/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Separator, {
90						variant,
91						full
92					}),
93					/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
94						className: "text-2xs-medium h-separator-with-word__word",
95						children: word
96					}),
97					/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Separator, {
98						variant,
99						full
100					})
101				]
102			});
103		});
104		SeparatorWithWord.displayName = "SeparatorWithWord";
105	})))();
106}
107//#endregion
108export { SeparatorWithWord as n, init_separator as r, Separator 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.