37 lines
994 B
JavaScript
37 lines
994 B
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: d797a0c3f1e529b7.bdfb00cb92.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 [o, r] = (0, t.createSafeContext)(
|
|
"Popover component was not found in the tree",
|
|
);
|
|
e.s(
|
|
["PopoverContextProvider", () => o, "usePopoverContext", () => r],
|
|
657102,
|
|
);
|
|
var i = {
|
|
dropdown: "m_38a85659",
|
|
arrow: "m_a31dc6c1",
|
|
overlay: "m_3d7bc908",
|
|
};
|
|
e.s(["default", () => i], 615528);
|
|
var n = e.i(507945);
|
|
function s(e, t = { active: !0 }) {
|
|
return "function" == typeof e && t.active
|
|
? (o) => {
|
|
"Escape" === o.key && (e(o), t.onTrigger?.());
|
|
}
|
|
: t.onKeyDown || n.noop;
|
|
}
|
|
e.s(["closeOnEscape", () => s], 668818);
|
|
};
|
|
|
|
export default moduleFactory;
|