37 lines
994 B
JavaScript
37 lines
994 B
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: fb331b08bcf9fa6e.3b67e0d42a.js
|
|
* Module id: 668818
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e) => {
|
|
"use strict";
|
|
e.i(358379);
|
|
var t = e.i(559394);
|
|
e.i(462214), e.i(7284);
|
|
let [r, o] = (0, t.createSafeContext)(
|
|
"Popover component was not found in the tree",
|
|
);
|
|
e.s(
|
|
["PopoverContextProvider", () => r, "usePopoverContext", () => o],
|
|
657102,
|
|
);
|
|
var n = {
|
|
dropdown: "m_38a85659",
|
|
arrow: "m_a31dc6c1",
|
|
overlay: "m_3d7bc908",
|
|
};
|
|
e.s(["default", () => n], 615528);
|
|
var i = e.i(507945);
|
|
function a(e, t = { active: !0 }) {
|
|
return "function" == typeof e && t.active
|
|
? (r) => {
|
|
"Escape" === r.key && (e(r), t.onTrigger?.());
|
|
}
|
|
: t.onKeyDown || i.noop;
|
|
}
|
|
e.s(["closeOnEscape", () => a], 668818);
|
|
};
|
|
|
|
export default moduleFactory;
|