59 lines
1.5 KiB
JavaScript
59 lines
1.5 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 080d73f6a8a7055f.15232f16bf.js
|
|
* Module id: 145850
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (t) => {
|
|
"use strict";
|
|
var e = t.i(692423);
|
|
let n = { capture: !0, passive: !1 };
|
|
function r(t) {
|
|
t.stopImmediatePropagation();
|
|
}
|
|
function i(t) {
|
|
t.preventDefault(), t.stopImmediatePropagation();
|
|
}
|
|
function o(t) {
|
|
var r = t.document.documentElement,
|
|
o = (0, e.select)(t).on("dragstart.drag", i, n);
|
|
"onselectstart" in r
|
|
? o.on("selectstart.drag", i, n)
|
|
: ((r.__noselect = r.style.MozUserSelect),
|
|
(r.style.MozUserSelect = "none"));
|
|
}
|
|
function a(t, r) {
|
|
var o = t.document.documentElement,
|
|
a = (0, e.select)(t).on("dragstart.drag", null);
|
|
r &&
|
|
(a.on("click.drag", i, n),
|
|
setTimeout(function () {
|
|
a.on("click.drag", null);
|
|
}, 0)),
|
|
"onselectstart" in o
|
|
? a.on("selectstart.drag", null)
|
|
: ((o.style.MozUserSelect = o.__noselect), delete o.__noselect);
|
|
}
|
|
t.s(
|
|
[
|
|
"default",
|
|
0,
|
|
i,
|
|
"nonpassive",
|
|
0,
|
|
{ passive: !1 },
|
|
"nonpassivecapture",
|
|
0,
|
|
n,
|
|
"nopropagation",
|
|
() => r,
|
|
],
|
|
811975,
|
|
),
|
|
t.s(["default", 0, o, "yesdrag", () => a], 816947),
|
|
t.s(["dragDisable", 0, o], 542550),
|
|
t.s(["dragEnable", () => a], 145850);
|
|
};
|
|
|
|
export default moduleFactory;
|