Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

65 lines
1.6 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 39c0420b837da380.f3eff5e6e8.js
* Module id: 593307
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e) => {
"use strict";
function r(e) {
return Object.keys(e).reduce(
(r, t) => (void 0 !== e[t] && (r[t] = e[t]), r),
{},
);
}
e.s(["filterProps", () => r], 565432);
var t = e.i(358379),
n = e.i(462214),
o = e.i(830744);
function i(e, t, n) {
let i = (0, o.useMantineTheme)(),
a = i.components[e]?.defaultProps,
s = "function" == typeof a ? a(i) : a;
return { ...t, ...s, ...r(n) };
}
function a(e) {
return e;
}
function s(e) {
return (r) => {
let o = (0, t.forwardRef)((t, o) =>
(0, n.jsx)(e, { ...r, ...t, ref: o }),
);
return (
(o.extend = e.extend),
(o.displayName = `WithProps(${e.displayName})`),
o
);
};
}
function l(e) {
let r = (0, t.forwardRef)(e);
return (
(r.extend = a),
(r.withProps = (e) => {
let o = (0, t.forwardRef)((t, o) =>
(0, n.jsx)(r, { ...e, ...t, ref: o }),
);
return (
(o.extend = r.extend),
(o.displayName = `WithProps(${r.displayName})`),
o
);
}),
r
);
}
e.s(["useProps", () => i], 479324),
e.s(
["factory", () => l, "getWithProps", () => s, "identity", () => a],
593307,
);
};
export default moduleFactory;