golden-logic-ui 1.0.372 → 1.0.374
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/golden-logic-ui.js +176 -176
- package/dist/golden-logic-ui.umd.cjs +20 -20
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -514,11 +514,11 @@ const Lae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
514
514
|
},
|
|
515
515
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
516
516
|
setup(O, { emit: ie }) {
|
|
517
|
-
const te = O, Te = ie, le = Eo(null), G = Eo([]), Ae = Eo([]), Q = Eo(0), Ne = Eo(!1), pt = Eo(""), qe = Eo(""), bn = Eo(null), mn = Eo(0),
|
|
517
|
+
const te = O, Te = ie, le = Eo(null), G = Eo([]), Ae = Eo([]), Q = Eo(0), Ne = Eo(!1), pt = Eo(""), qe = Eo(""), bn = Eo(null), mn = Eo(0), Lo = Eo(0), us = () => {
|
|
518
518
|
if (bn.value) {
|
|
519
519
|
mn.value = bn.value.offsetWidth;
|
|
520
520
|
var rt = bn.value.getBoundingClientRect();
|
|
521
|
-
|
|
521
|
+
Lo.value = rt.top + 41 + (te.label_name ? 22 : 0);
|
|
522
522
|
}
|
|
523
523
|
}, Oo = (rt) => {
|
|
524
524
|
rt.key === "Enter" && rt.target.form && rt.preventDefault();
|
|
@@ -2557,13 +2557,13 @@ const Yae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2557
2557
|
var Nt = pt.value.getBoundingClientRect();
|
|
2558
2558
|
bn.value = Nt.top + 41 + (te.label_name ? 22 : 0);
|
|
2559
2559
|
}
|
|
2560
|
-
},
|
|
2560
|
+
}, Lo = (Nt) => {
|
|
2561
2561
|
Nt.key === "Enter" && Nt.target.form && Nt.preventDefault();
|
|
2562
2562
|
};
|
|
2563
2563
|
_g(() => {
|
|
2564
|
-
Ne.value = dn(), te.show || (window.addEventListener("scroll", mn), document.body.addEventListener("click", kt), document.addEventListener("keypress",
|
|
2564
|
+
Ne.value = dn(), te.show || (window.addEventListener("scroll", mn), document.body.addEventListener("click", kt), document.addEventListener("keypress", Lo));
|
|
2565
2565
|
}), W8(() => {
|
|
2566
|
-
window.removeEventListener("scroll", mn), document.body.removeEventListener("click", kt), document.removeEventListener("keypress",
|
|
2566
|
+
window.removeEventListener("scroll", mn), document.body.removeEventListener("click", kt), document.removeEventListener("keypress", Lo);
|
|
2567
2567
|
});
|
|
2568
2568
|
const us = vc(() => Bn()), Oo = vc(() => ds()), Rt = vc(() => {
|
|
2569
2569
|
const Nt = [], Dt = new RegExp(Q.value, "ig");
|
|
@@ -2949,13 +2949,13 @@ var oq = { exports: {} };
|
|
|
2949
2949
|
var o = ie(e), r = ie(n);
|
|
2950
2950
|
return o !== r ? !1 : te(o) ? e === n : o === "array" ? Ne(bn).eq(e, n) : o === "object" ? qe(bn).eq(e, n) : !1;
|
|
2951
2951
|
});
|
|
2952
|
-
const mn = Object.getPrototypeOf,
|
|
2952
|
+
const mn = Object.getPrototypeOf, Lo = (e, n, o) => {
|
|
2953
2953
|
var r;
|
|
2954
2954
|
return o(e, n.prototype) ? !0 : ((r = e.constructor) === null || r === void 0 ? void 0 : r.name) === n.name;
|
|
2955
2955
|
}, us = (e) => {
|
|
2956
2956
|
const n = typeof e;
|
|
2957
|
-
return e === null ? "null" : n === "object" && Array.isArray(e) ? "array" : n === "object" &&
|
|
2958
|
-
}, Oo = (e) => (n) => us(n) === e, Rt = (e) => (n) => typeof n === e, pr = (e) => (n) => e === n, dn = (e, n) => kt(e) &&
|
|
2957
|
+
return e === null ? "null" : n === "object" && Array.isArray(e) ? "array" : n === "object" && Lo(e, String, (o, r) => r.isPrototypeOf(o)) ? "string" : n;
|
|
2958
|
+
}, Oo = (e) => (n) => us(n) === e, Rt = (e) => (n) => typeof n === e, pr = (e) => (n) => e === n, dn = (e, n) => kt(e) && Lo(e, n, (o, r) => mn(o) === r), fe = Oo("string"), kt = Oo("object"), Qr = (e) => dn(e, Object), eo = Oo("array"), se = pr(null), Bn = Rt("boolean"), ds = pr(void 0), In = (e) => e == null, We = (e) => !In(e), ge = Rt("function"), os = Rt("number"), Nt = (e, n) => {
|
|
2959
2959
|
if (eo(e)) {
|
|
2960
2960
|
for (let o = 0, r = e.length; o < r; ++o)
|
|
2961
2961
|
if (!n(e[o]))
|
|
@@ -3565,10 +3565,10 @@ var oq = { exports: {} };
|
|
|
3565
3565
|
if (o == null)
|
|
3566
3566
|
throw new Error(e + " not available on this browser");
|
|
3567
3567
|
return o;
|
|
3568
|
-
}, $h = Object.getPrototypeOf, Mh = (e) => Dd("HTMLElement", e),
|
|
3568
|
+
}, $h = Object.getPrototypeOf, Mh = (e) => Dd("HTMLElement", e), Bo = (e) => {
|
|
3569
3569
|
const n = pi("ownerDocument.defaultView", e);
|
|
3570
3570
|
return kt(e) && (Mh(n).prototype.isPrototypeOf(e) || /^HTML\w*Element$/.test($h(e).constructor.name));
|
|
3571
|
-
}, Wc = 8, Qi = 9, xl = 11, ac = 1, Cm = 3, uo = (e) => e.dom.nodeName.toLowerCase(), zr = (e) => e.dom.nodeType, fa = (e) => (n) => zr(n) === e, Ph = (e) => zr(e) === Wc || uo(e) === "#comment", Gs = (e) => Pa(e) &&
|
|
3571
|
+
}, Wc = 8, Qi = 9, xl = 11, ac = 1, Cm = 3, uo = (e) => e.dom.nodeName.toLowerCase(), zr = (e) => e.dom.nodeType, fa = (e) => (n) => zr(n) === e, Ph = (e) => zr(e) === Wc || uo(e) === "#comment", Gs = (e) => Pa(e) && Bo(e.dom), Pa = fa(ac), ga = fa(Cm), Bh = fa(Qi), kg = fa(xl), lc = (e) => (n) => Pa(n) && uo(n) === e, wf = (e, n, o) => {
|
|
3572
3572
|
if (fe(o) || Bn(o) || os(o))
|
|
3573
3573
|
e.setAttribute(n, o + "");
|
|
3574
3574
|
else
|
|
@@ -4078,7 +4078,7 @@ var oq = { exports: {} };
|
|
|
4078
4078
|
e.nextSibling ? u == null || u.insertBefore(l, e.nextSibling) : u == null || u.appendChild(l);
|
|
4079
4079
|
}
|
|
4080
4080
|
return l;
|
|
4081
|
-
},
|
|
4081
|
+
}, No = (e) => {
|
|
4082
4082
|
const n = e.container();
|
|
4083
4083
|
return dt(n) ? n.data.charAt(e.offset()) === x || e.isAtStart() && Mt(n.previousSibling) : !1;
|
|
4084
4084
|
}, Is = (e) => {
|
|
@@ -8072,7 +8072,7 @@ Required: ` + n.join(", "));
|
|
|
8072
8072
|
"foffset"
|
|
8073
8073
|
]
|
|
8074
8074
|
}
|
|
8075
|
-
]),
|
|
8075
|
+
]), Io = (e) => kv.exact(e.start, e.soffset, e.finish, e.foffset), c4 = (e) => e.match({
|
|
8076
8076
|
domRange: (n) => ce.fromDom(n.startContainer),
|
|
8077
8077
|
relative: (n, o) => Jd.getStart(n),
|
|
8078
8078
|
exact: (n, o, r, l) => n
|
|
@@ -8083,7 +8083,7 @@ Required: ` + n.join(", "));
|
|
|
8083
8083
|
domRange: tf,
|
|
8084
8084
|
relative: Qd,
|
|
8085
8085
|
exact: Tv,
|
|
8086
|
-
exactFromRange:
|
|
8086
|
+
exactFromRange: Io,
|
|
8087
8087
|
getWin: Ri,
|
|
8088
8088
|
range: Ev
|
|
8089
8089
|
}, zp = (e, n) => {
|
|
@@ -9147,9 +9147,9 @@ Required: ` + n.join(", "));
|
|
|
9147
9147
|
}, nm = (e, n, o) => {
|
|
9148
9148
|
const r = Gm(n, e), l = Gm(o, e);
|
|
9149
9149
|
return We(r) && r === l;
|
|
9150
|
-
}, iI = (e) =>
|
|
9150
|
+
}, iI = (e) => No(e) || Is(e), So = (e, n) => {
|
|
9151
9151
|
const o = n.container(), r = n.offset();
|
|
9152
|
-
return e ? Mt(o) ? dt(o.nextSibling) ? Le(o.nextSibling, 0) : Le.after(o) :
|
|
9152
|
+
return e ? Mt(o) ? dt(o.nextSibling) ? Le(o.nextSibling, 0) : Le.after(o) : No(n) ? Le(o, r + 1) : n : Mt(o) ? dt(o.previousSibling) ? Le(o.previousSibling, o.previousSibling.data.length) : Le.before(o) : Is(n) ? Le(o, r - 1) : n;
|
|
9153
9153
|
}, $0 = Me(So, !0), bw = Me(So, !1), O4 = (e, n) => {
|
|
9154
9154
|
const o = (r) => r.stopImmediatePropagation();
|
|
9155
9155
|
e.on("beforeinput input", o, !0), e.getDoc().execCommand(n), e.off("beforeinput input", o);
|
|
@@ -14589,7 +14589,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14589
14589
|
return n.setRng(Le(o.container(), o.offset() + r).toRange()), n.getSel().modify("move", e ? "forward" : "backward", "word"), !0;
|
|
14590
14590
|
}, bP = (e, n) => {
|
|
14591
14591
|
const o = n.selection.getRng(), r = e ? Le.fromRangeEnd(o) : Le.fromRangeStart(o);
|
|
14592
|
-
return sy(n) ? e &&
|
|
14592
|
+
return sy(n) ? e && No(r) ? LA(!0, n.selection, r) : !e && Is(r) ? LA(!1, n.selection, r) : !1 : !1;
|
|
14593
14593
|
};
|
|
14594
14594
|
var df;
|
|
14595
14595
|
(function(e) {
|
|
@@ -20294,7 +20294,7 @@ tinymce.IconManager.add("default", {
|
|
|
20294
20294
|
}, te = (t) => {
|
|
20295
20295
|
const s = typeof t;
|
|
20296
20296
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && ie(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
20297
|
-
}, Te = (t) => (s) => te(s) === t, le = (t) => (s) => typeof s === t, G = (t) => (s) => t === s, Ae = (t, s) => Ne(t) && ie(t, s, (a, c) => O(a) === c), Q = Te("string"), Ne = Te("object"), pt = (t) => Ae(t, Object), qe = Te("array"), bn = G(null), mn = le("boolean"),
|
|
20297
|
+
}, Te = (t) => (s) => te(s) === t, le = (t) => (s) => typeof s === t, G = (t) => (s) => t === s, Ae = (t, s) => Ne(t) && ie(t, s, (a, c) => O(a) === c), Q = Te("string"), Ne = Te("object"), pt = (t) => Ae(t, Object), qe = Te("array"), bn = G(null), mn = le("boolean"), Lo = G(void 0), us = (t) => t == null, Oo = (t) => !us(t), Rt = le("function"), pr = le("number"), dn = (t, s) => {
|
|
20298
20298
|
if (qe(t)) {
|
|
20299
20299
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
20300
20300
|
if (!s(t[a]))
|
|
@@ -20557,7 +20557,7 @@ tinymce.IconManager.add("default", {
|
|
|
20557
20557
|
return A.some(s);
|
|
20558
20558
|
}, tl = (t, s, a) => t.isSome() && s.isSome() ? A.some(a(t.getOrDie(), s.getOrDie())) : A.none(), bl = (t, s, a, c) => t.isSome() && s.isSome() && a.isSome() ? A.some(c(t.getOrDie(), s.getOrDie(), a.getOrDie())) : A.none(), Yo = (t, s) => t != null ? A.some(s(t)) : A.none(), hn = (t, s) => t ? A.some(s) : A.none(), Ar = (t, s) => t + s, Nl = (t, s) => t.substring(s), Hc = (t, s, a) => s === "" || t.length >= s.length && t.substr(a, a + s.length) === s, mi = (t, s) => Zs(t, s) ? Nl(t, s.length) : t, xr = (t, s) => vl(t, s) ? t : Ar(t, s), mr = (t, s, a = 0, c) => {
|
|
20559
20559
|
const d = t.indexOf(s, a);
|
|
20560
|
-
return d !== -1 ?
|
|
20560
|
+
return d !== -1 ? Lo(c) ? !0 : d + s.length <= c : !1;
|
|
20561
20561
|
}, Zs = (t, s) => Hc(t, s, 0), vl = (t, s) => Hc(t, s, t.length - s.length), Vr = ((t) => (s) => s.replace(t, ""))(/^\s+|\s+$/g), ia = (t) => t.length > 0, Fs = (t) => !ia(t), Dr = (t) => t.style !== void 0 && Rt(t.style.getPropertyValue), sc = (t, s) => {
|
|
20562
20562
|
const c = (s || document).createElement("div");
|
|
20563
20563
|
if (c.innerHTML = t, !c.hasChildNodes() || c.childNodes.length > 1) {
|
|
@@ -20773,18 +20773,18 @@ tinymce.IconManager.add("default", {
|
|
|
20773
20773
|
left: t,
|
|
20774
20774
|
top: s,
|
|
20775
20775
|
translate: (c, d) => Mh(t + c, s + d)
|
|
20776
|
-
}),
|
|
20776
|
+
}), Bo = Mh, Wc = (t) => {
|
|
20777
20777
|
const s = t.getBoundingClientRect();
|
|
20778
|
-
return
|
|
20778
|
+
return Bo(s.left, s.top);
|
|
20779
20779
|
}, Qi = (t, s) => t !== void 0 ? t : s !== void 0 ? s : 0, xl = (t) => {
|
|
20780
20780
|
const s = t.dom.ownerDocument, a = s.body, c = s.defaultView, d = s.documentElement;
|
|
20781
20781
|
if (a === t.dom)
|
|
20782
|
-
return
|
|
20782
|
+
return Bo(a.offsetLeft, a.offsetTop);
|
|
20783
20783
|
const g = Qi(c == null ? void 0 : c.pageYOffset, d.scrollTop), p = Qi(c == null ? void 0 : c.pageXOffset, d.scrollLeft), w = Qi(d.clientTop, a.clientTop), C = Qi(d.clientLeft, a.clientLeft);
|
|
20784
20784
|
return ac(t).translate(p - C, g - w);
|
|
20785
20785
|
}, ac = (t) => {
|
|
20786
20786
|
const s = t.dom, c = s.ownerDocument.body;
|
|
20787
|
-
return c === s ?
|
|
20787
|
+
return c === s ? Bo(c.offsetLeft, c.offsetTop) : io(t) ? Wc(s) : Bo(0, 0);
|
|
20788
20788
|
}, Cm = Bs("width", (t) => t.dom.offsetWidth), uo = (t, s) => Cm.set(t, s), zr = (t) => Cm.get(t), fa = (t) => Cm.getOuter(t), Ph = (t, s) => {
|
|
20789
20789
|
const a = [
|
|
20790
20790
|
"margin-left",
|
|
@@ -21070,7 +21070,7 @@ tinymce.IconManager.add("default", {
|
|
|
21070
21070
|
s.parentNode !== null && s.parentNode.removeChild(s);
|
|
21071
21071
|
}, Ga = (t) => {
|
|
21072
21072
|
const s = t !== void 0 ? t.dom : document, a = s.body.scrollLeft || s.documentElement.scrollLeft, c = s.body.scrollTop || s.documentElement.scrollTop;
|
|
21073
|
-
return
|
|
21073
|
+
return Bo(a, c);
|
|
21074
21074
|
}, Mg = (t, s, a) => {
|
|
21075
21075
|
const d = (a !== void 0 ? a.dom : document).defaultView;
|
|
21076
21076
|
d && d.scrollTo(t, s);
|
|
@@ -21118,7 +21118,7 @@ tinymce.IconManager.add("default", {
|
|
|
21118
21118
|
left: 0,
|
|
21119
21119
|
top: 0
|
|
21120
21120
|
});
|
|
21121
|
-
return
|
|
21121
|
+
return Bo(p.left + g.left + a.left, p.top + g.top + a.top);
|
|
21122
21122
|
});
|
|
21123
21123
|
}, Am = (t, s, a) => ({
|
|
21124
21124
|
point: t,
|
|
@@ -21537,7 +21537,7 @@ Required: ` + s.join(", "));
|
|
|
21537
21537
|
return vt(t, (a) => {
|
|
21538
21538
|
s[a.key] = a.value;
|
|
21539
21539
|
}), s;
|
|
21540
|
-
}, ht = (t, s) => K(t, s), Mt = (t, s) => ve(t, s), sn = (t) => je(t), Vn = (t, s) => t.length === 0 ? Hn.value(s) : Hn.value(jo(s, qc.apply(void 0, t))), cr = (t) => Hn.error(Ye(t)),
|
|
21540
|
+
}, ht = (t, s) => K(t, s), Mt = (t, s) => ve(t, s), sn = (t) => je(t), Vn = (t, s) => t.length === 0 ? Hn.value(s) : Hn.value(jo(s, qc.apply(void 0, t))), cr = (t) => Hn.error(Ye(t)), No = (t, s) => {
|
|
21541
21541
|
const a = V(t);
|
|
21542
21542
|
return a.errors.length > 0 ? cr(a.errors) : Vn(a.values, s);
|
|
21543
21543
|
}, Is = (t) => Rt(t) ? t : Nt, mc = (t, s, a) => {
|
|
@@ -21766,9 +21766,9 @@ Complete spec:
|
|
|
21766
21766
|
});
|
|
21767
21767
|
}), a;
|
|
21768
21768
|
}, ti = (t) => ({
|
|
21769
|
-
classes:
|
|
21770
|
-
attributes:
|
|
21771
|
-
styles:
|
|
21769
|
+
classes: Lo(t.classes) ? [] : t.classes,
|
|
21770
|
+
attributes: Lo(t.attributes) ? {} : t.attributes,
|
|
21771
|
+
styles: Lo(t.styles) ? {} : t.styles
|
|
21772
21772
|
}), Qh = (t, s) => ({
|
|
21773
21773
|
...t,
|
|
21774
21774
|
attributes: {
|
|
@@ -21858,7 +21858,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
21858
21858
|
const w = np(p), C = c.length > 1 ? oo(s[d], (E) => zo(c, (R) => R.name === E)).join(" > ") : c[0].name;
|
|
21859
21859
|
return Mt(d, PT(w, C));
|
|
21860
21860
|
}));
|
|
21861
|
-
return
|
|
21861
|
+
return No(a, {});
|
|
21862
21862
|
}, ni = "alloy.base.behaviour", Rb = on([
|
|
21863
21863
|
Na("dom", "dom", xo(), on([
|
|
21864
21864
|
nt("tag"),
|
|
@@ -22544,7 +22544,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22544
22544
|
const c = m2(t, a.x, a.y);
|
|
22545
22545
|
return Ns(c.left, c.top, a.width, a.height);
|
|
22546
22546
|
})), m2 = (t, s, a) => {
|
|
22547
|
-
const c =
|
|
22547
|
+
const c = Bo(s, a), d = () => {
|
|
22548
22548
|
const g = Ga();
|
|
22549
22549
|
return c.translate(-g.left, -g.top);
|
|
22550
22550
|
};
|
|
@@ -22773,7 +22773,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22773
22773
|
const d = t * c, g = s * c, p = (C) => yt(a, C).getOr([]), w = (C, E, R) => {
|
|
22774
22774
|
const N = Vt(MC, R);
|
|
22775
22775
|
return {
|
|
22776
|
-
offset:
|
|
22776
|
+
offset: Bo(C, E),
|
|
22777
22777
|
classesOn: _e(R, p),
|
|
22778
22778
|
classesOff: _e(N, p)
|
|
22779
22779
|
};
|
|
@@ -22909,7 +22909,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22909
22909
|
"scrollTop"
|
|
22910
22910
|
]
|
|
22911
22911
|
}
|
|
22912
|
-
]), gE = (t) => t.fold(Bn, (s, a, c) => s.translate(-a, -c)), hE = (t) => t.fold(Bn, Bn), BC = (t) => Uo(t, (s, a) => s.translate(a.left, a.top),
|
|
22912
|
+
]), gE = (t) => t.fold(Bn, (s, a, c) => s.translate(-a, -c)), hE = (t) => t.fold(Bn, Bn), BC = (t) => Uo(t, (s, a) => s.translate(a.left, a.top), Bo(0, 0)), pE = (t) => {
|
|
22913
22913
|
const s = tt(t, gE);
|
|
22914
22914
|
return BC(s);
|
|
22915
22915
|
}, NC = (t) => {
|
|
@@ -22925,7 +22925,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22925
22925
|
const c = ma(t.element), d = Ga(c), g = vE(t, s, a).getOr(d);
|
|
22926
22926
|
return Qb(g, d.left, d.top);
|
|
22927
22927
|
}, xp = (t, s, a, c) => {
|
|
22928
|
-
const d = bE(
|
|
22928
|
+
const d = bE(Bo(t, s));
|
|
22929
22929
|
return A.some(Am(d, a, c));
|
|
22930
22930
|
}, C2 = (t, s, a, c, d) => t.map((g) => {
|
|
22931
22931
|
const p = [
|
|
@@ -24000,7 +24000,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24000
24000
|
Co("onHighlight"),
|
|
24001
24001
|
Co("onDehighlight")
|
|
24002
24002
|
];
|
|
24003
|
-
const
|
|
24003
|
+
const Io = Sa({
|
|
24004
24004
|
fields: kv,
|
|
24005
24005
|
name: "highlighting",
|
|
24006
24006
|
apis: Jd
|
|
@@ -24039,13 +24039,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24039
24039
|
}
|
|
24040
24040
|
};
|
|
24041
24041
|
}, m = () => {
|
|
24042
|
-
const t = (a) =>
|
|
24042
|
+
const t = (a) => Io.getHighlighted(a).map((c) => c.element);
|
|
24043
24043
|
return {
|
|
24044
24044
|
get: t,
|
|
24045
24045
|
set: (a, c) => {
|
|
24046
24046
|
const d = t(a);
|
|
24047
24047
|
a.getSystem().getByDom(c).fold(fe, (p) => {
|
|
24048
|
-
|
|
24048
|
+
Io.highlight(a, p);
|
|
24049
24049
|
});
|
|
24050
24050
|
const g = t(a);
|
|
24051
24051
|
iw(a, d, g);
|
|
@@ -24812,7 +24812,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24812
24812
|
nt("components"),
|
|
24813
24813
|
Re("eventOrder", {}),
|
|
24814
24814
|
aa("menuBehaviours", [
|
|
24815
|
-
|
|
24815
|
+
Io,
|
|
24816
24816
|
Ht,
|
|
24817
24817
|
fo,
|
|
24818
24818
|
un
|
|
@@ -24852,7 +24852,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24852
24852
|
dom: t.dom,
|
|
24853
24853
|
markers: t.markers,
|
|
24854
24854
|
behaviours: jr(t.menuBehaviours, [
|
|
24855
|
-
|
|
24855
|
+
Io.config({
|
|
24856
24856
|
highlightClass: t.markers.selectedItem,
|
|
24857
24857
|
itemClass: t.markers.item,
|
|
24858
24858
|
onHighlight: t.onHighlight,
|
|
@@ -24871,7 +24871,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24871
24871
|
Qe(J5(), (d, g) => {
|
|
24872
24872
|
const p = g.event;
|
|
24873
24873
|
d.getSystem().getByDom(p.target).each((w) => {
|
|
24874
|
-
|
|
24874
|
+
Io.highlight(d, w), g.stop(), cn(d, rR(), {
|
|
24875
24875
|
menu: d,
|
|
24876
24876
|
item: w
|
|
24877
24877
|
});
|
|
@@ -24879,7 +24879,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24879
24879
|
}),
|
|
24880
24880
|
Qe(_4(), (d, g) => {
|
|
24881
24881
|
const p = g.event.item;
|
|
24882
|
-
|
|
24882
|
+
Io.highlight(d, p);
|
|
24883
24883
|
}),
|
|
24884
24884
|
Qe(Q5(), (d, g) => {
|
|
24885
24885
|
const { item: p, state: w } = g.event;
|
|
@@ -24998,11 +24998,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24998
24998
|
}, p = (At) => Ht.getValue(At).value, w = (At, Xt, Dn) => er(Xt, (Mn) => {
|
|
24999
24999
|
if (!Mn.getSystem().isConnected())
|
|
25000
25000
|
return A.none();
|
|
25001
|
-
const yn =
|
|
25001
|
+
const yn = Io.getCandidates(Mn);
|
|
25002
25002
|
return Ke(yn, (Fn) => p(Fn) === Dn);
|
|
25003
|
-
}), C = (At) => qo(t.data.menus, (Xt, Dn) => _e(Xt.items, (Mn) => Mn.type === "separator" ? [] : [Mn.data.value])), E =
|
|
25004
|
-
E(At, Xt),
|
|
25005
|
-
t.fakeFocus ?
|
|
25003
|
+
}), C = (At) => qo(t.data.menus, (Xt, Dn) => _e(Xt.items, (Mn) => Mn.type === "separator" ? [] : [Mn.data.value])), E = Io.highlight, R = (At, Xt) => {
|
|
25004
|
+
E(At, Xt), Io.getHighlighted(Xt).orThunk(() => Io.getFirst(Xt)).each((Dn) => {
|
|
25005
|
+
t.fakeFocus ? Io.highlight(Xt, Dn) : Cb(At, Dn.element, hr());
|
|
25006
25006
|
});
|
|
25007
25007
|
}, N = (At, Xt) => Da(tt(Xt, (Dn) => At.lookupMenu(Dn).bind((Mn) => Mn.type === "prepared" ? A.some(Mn.menu) : A.none()))), H = (At, Xt, Dn) => {
|
|
25008
25008
|
const Mn = N(Xt, Xt.otherMenus(Dn));
|
|
@@ -25050,7 +25050,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25050
25050
|
const Mn = p(Xt);
|
|
25051
25051
|
return d.expand(Mn).bind((yn) => (X(At, yn), A.from(yn[0]).bind((Fn) => d.lookupMenu(Fn).bind((Ts) => {
|
|
25052
25052
|
const Do = xe(At, Fn, Ts);
|
|
25053
|
-
return io(Do.element) || Ln.append(At, Ti(Do)), t.onOpenSubmenu(At, Xt, Do, Go(yn)), Dn === $e.HighlightSubmenu ? (
|
|
25053
|
+
return io(Do.element) || Ln.append(At, Ti(Do)), t.onOpenSubmenu(At, Xt, Do, Go(yn)), Dn === $e.HighlightSubmenu ? (Io.highlightFirst(Do), ue(At, d, yn)) : (Io.dehighlightAll(Do), A.some(Xt));
|
|
25054
25054
|
}))));
|
|
25055
25055
|
}
|
|
25056
25056
|
}, Oe = (At, Xt) => {
|
|
@@ -25064,7 +25064,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25064
25064
|
const Dn = Xt.event.item;
|
|
25065
25065
|
d.lookupItem(p(Dn)).each(() => {
|
|
25066
25066
|
const Mn = Xt.event.menu;
|
|
25067
|
-
|
|
25067
|
+
Io.highlight(At, Mn);
|
|
25068
25068
|
const yn = p(Xt.event.item);
|
|
25069
25069
|
d.refresh(yn).each((Fn) => H(At, d, Fn));
|
|
25070
25070
|
});
|
|
@@ -25092,7 +25092,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25092
25092
|
const Dn = Xt.event.item;
|
|
25093
25093
|
mt(At, Dn), be(At, Dn, $e.HighlightParent), t.onHover(At, Dn);
|
|
25094
25094
|
})] : []
|
|
25095
|
-
]), Wt = (At) =>
|
|
25095
|
+
]), Wt = (At) => Io.getHighlighted(At).bind(Io.getHighlighted), An = (At) => {
|
|
25096
25096
|
Wt(At).each((Xt) => {
|
|
25097
25097
|
Oe(At, Xt);
|
|
25098
25098
|
});
|
|
@@ -25135,12 +25135,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25135
25135
|
});
|
|
25136
25136
|
}
|
|
25137
25137
|
}),
|
|
25138
|
-
|
|
25138
|
+
Io.config({
|
|
25139
25139
|
highlightClass: t.markers.selectedMenu,
|
|
25140
25140
|
itemClass: t.markers.menu
|
|
25141
25141
|
}),
|
|
25142
25142
|
fo.config({
|
|
25143
|
-
find: (At) =>
|
|
25143
|
+
find: (At) => Io.getHighlighted(At)
|
|
25144
25144
|
}),
|
|
25145
25145
|
Ln.config({})
|
|
25146
25146
|
]),
|
|
@@ -25184,7 +25184,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25184
25184
|
Re("stayInDom", !1),
|
|
25185
25185
|
aa("tmenuBehaviours", [
|
|
25186
25186
|
un,
|
|
25187
|
-
|
|
25187
|
+
Io,
|
|
25188
25188
|
fo,
|
|
25189
25189
|
Ln
|
|
25190
25190
|
]),
|
|
@@ -27034,11 +27034,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27034
27034
|
const FR = "[data-mce-autocompleter]", o3 = (t) => cd(t, FR), SI = (t) => Nr(t, FR), _I = { setup: (t, s) => {
|
|
27035
27035
|
const a = (d, g) => {
|
|
27036
27036
|
cn(d, Du(), { raw: g });
|
|
27037
|
-
}, c = () => t.getMenu().bind(
|
|
27037
|
+
}, c = () => t.getMenu().bind(Io.getHighlighted);
|
|
27038
27038
|
s.on("keydown", (d) => {
|
|
27039
27039
|
const g = d.which;
|
|
27040
27040
|
t.isActive() && (t.isMenuOpen() ? g === 13 ? (c().each(Im), d.preventDefault()) : g === 40 ? (c().fold(() => {
|
|
27041
|
-
t.getMenu().each(
|
|
27041
|
+
t.getMenu().each(Io.highlightFirst);
|
|
27042
27042
|
}, (p) => {
|
|
27043
27043
|
a(p, d);
|
|
27044
27044
|
}), d.preventDefault(), d.stopImmediatePropagation()) : (g === 37 || g === 38 || g === 39) && c().each((p) => {
|
|
@@ -29057,7 +29057,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29057
29057
|
aF(t).each((a) => {
|
|
29058
29058
|
kT(t, a.element, s.event.eventType, s.event.interactionEvent);
|
|
29059
29059
|
});
|
|
29060
|
-
}, aF = (t) => vo.getState(t).bind(
|
|
29060
|
+
}, aF = (t) => vo.getState(t).bind(Io.getHighlighted).bind(Io.getHighlighted), lF = (t) => ra(t.element, a_) ? A.some(t.element) : Nr(t.element, "." + a_), uA = (t, s, a) => {
|
|
29061
29061
|
m3(t).each((c) => {
|
|
29062
29062
|
g3(c, a), lF(s).each((g) => {
|
|
29063
29063
|
I(g, "id").each((p) => It(c.element, "aria-controls", p));
|
|
@@ -29196,7 +29196,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29196
29196
|
node: A.from(be)
|
|
29197
29197
|
}
|
|
29198
29198
|
}, fF(i_("autocompleter-value", !0, xe, Oe, { menuType: "normal" }), Oe, Ww.ContentFocus, "normal"));
|
|
29199
|
-
}), E().each(
|
|
29199
|
+
}), E().each(Io.highlightFirst);
|
|
29200
29200
|
}, W = ($e) => {
|
|
29201
29201
|
const xe = N($e);
|
|
29202
29202
|
xe.length > 0 ? (H($e, xe), It(Ee.fromDom(t.getBody()), "aria-owns", a), t.inline || X()) : C();
|
|
@@ -30091,10 +30091,10 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
30091
30091
|
const s = t.event.raw;
|
|
30092
30092
|
if (JF(s)) {
|
|
30093
30093
|
const a = s;
|
|
30094
|
-
return a.touches !== void 0 && a.touches.length === 1 ? A.some(a.touches[0]).map((c) =>
|
|
30094
|
+
return a.touches !== void 0 && a.touches.length === 1 ? A.some(a.touches[0]).map((c) => Bo(c.clientX, c.clientY)) : A.none();
|
|
30095
30095
|
} else {
|
|
30096
30096
|
const a = s;
|
|
30097
|
-
return a.clientX !== void 0 ? A.some(a).map((c) =>
|
|
30097
|
+
return a.clientX !== void 0 ? A.some(a).map((c) => Bo(c.clientX, c.clientY)) : A.none();
|
|
30098
30098
|
}
|
|
30099
30099
|
}, QF = "top", e9 = "right", t9 = "bottom", UM = "left", lm = (t) => t.model.minX, H0 = (t) => t.model.minY, L_ = (t) => t.model.minX - 1, F_ = (t) => t.model.minY - 1, mg = (t) => t.model.maxX, bc = (t) => t.model.maxY, ty = (t) => t.model.maxX + 1, Jw = (t) => t.model.maxY + 1, WM = (t, s, a) => s(t) - a(t), vA = (t) => WM(t, mg, lm), yA = (t) => WM(t, bc, H0), ZM = (t) => vA(t) / 2, wA = (t) => yA(t) / 2, V0 = (t, s) => s ? t.stepSize * t.speedMultiplier : t.stepSize, jM = (t) => t.snapToGrid, GM = (t) => t.snapStart, xA = (t) => t.rounded, H_ = (t, s) => t[s + "-edge"] !== void 0, CA = (t) => H_(t, UM), SA = (t) => H_(t, e9), _A = (t) => H_(t, QF), qM = (t) => H_(t, t9), Th = (t) => t.model.value.get(), n1 = (t, s) => ({
|
|
30100
30100
|
x: t,
|
|
@@ -31332,8 +31332,8 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
31332
31332
|
E.zoom.each((H) => R.zoom = H), E.cachedWidth.each((H) => R.cachedWidth = H), E.cachedHeight.each((H) => R.cachedHeight = H), a.set(R);
|
|
31333
31333
|
const N = () => {
|
|
31334
31334
|
const { cachedWidth: H, cachedHeight: W, zoom: X } = R;
|
|
31335
|
-
if (!
|
|
31336
|
-
if (
|
|
31335
|
+
if (!Lo(H) && !Lo(W)) {
|
|
31336
|
+
if (Lo(X)) {
|
|
31337
31337
|
const $e = sH(C.element, H, W);
|
|
31338
31338
|
R.zoom = $e;
|
|
31339
31339
|
}
|
|
@@ -31527,7 +31527,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
31527
31527
|
fakeFocus: t.searchable,
|
|
31528
31528
|
onHighlightItem: uA,
|
|
31529
31529
|
onCollapseMenu: (H, W, X) => {
|
|
31530
|
-
|
|
31530
|
+
Io.getHighlighted(X).each((ue) => {
|
|
31531
31531
|
uA(H, X, ue);
|
|
31532
31532
|
});
|
|
31533
31533
|
},
|
|
@@ -32705,7 +32705,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
32705
32705
|
const X = Lr.getCoupled(N, "sandbox");
|
|
32706
32706
|
if (vo.isOpen(X))
|
|
32707
32707
|
fo.getCurrent(X).each((ue) => {
|
|
32708
|
-
|
|
32708
|
+
Io.getHighlighted(ue).fold(() => {
|
|
32709
32709
|
W(ue);
|
|
32710
32710
|
}, () => {
|
|
32711
32711
|
Oy(X, ue.element, "keydown", H);
|
|
@@ -32746,14 +32746,14 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
32746
32746
|
onStream: (N, H) => {
|
|
32747
32747
|
const W = Lr.getCoupled(N, "sandbox");
|
|
32748
32748
|
if (Cn.isFocused(N) && Wd(N.element).length >= t.minChars) {
|
|
32749
|
-
const ue = w(W).bind((xe) =>
|
|
32749
|
+
const ue = w(W).bind((xe) => Io.getHighlighted(xe).map(Ht.getValue));
|
|
32750
32750
|
t.previewing.set(!0);
|
|
32751
32751
|
const $e = (xe) => {
|
|
32752
32752
|
w(W).each((be) => {
|
|
32753
32753
|
ue.fold(() => {
|
|
32754
|
-
t.model.selectsOver &&
|
|
32754
|
+
t.model.selectsOver && Io.highlightFirst(be);
|
|
32755
32755
|
}, (Oe) => {
|
|
32756
|
-
|
|
32756
|
+
Io.highlightBy(be, (mt) => Ht.getValue(mt).value === Oe.value), Io.getHighlighted(be).orThunk(() => (Io.highlightFirst(be), A.none()));
|
|
32757
32757
|
});
|
|
32758
32758
|
});
|
|
32759
32759
|
};
|
|
@@ -32764,16 +32764,16 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
32764
32764
|
}),
|
|
32765
32765
|
un.config({
|
|
32766
32766
|
mode: "special",
|
|
32767
|
-
onDown: (N, H) => (d(N, H,
|
|
32767
|
+
onDown: (N, H) => (d(N, H, Io.highlightFirst), A.some(!0)),
|
|
32768
32768
|
onEscape: (N) => {
|
|
32769
32769
|
const H = Lr.getCoupled(N, "sandbox");
|
|
32770
32770
|
return vo.isOpen(H) ? (vo.close(H), A.some(!0)) : A.none();
|
|
32771
32771
|
},
|
|
32772
|
-
onUp: (N, H) => (d(N, H,
|
|
32772
|
+
onUp: (N, H) => (d(N, H, Io.highlightLast), A.some(!0)),
|
|
32773
32773
|
onEnter: (N) => {
|
|
32774
32774
|
const H = Lr.getCoupled(N, "sandbox"), W = vo.isOpen(H);
|
|
32775
32775
|
if (W && !t.previewing.get())
|
|
32776
|
-
return w(H).bind((X) =>
|
|
32776
|
+
return w(H).bind((X) => Io.getHighlighted(X)).map((X) => (cn(N, ik(), { item: X }), !0));
|
|
32777
32777
|
{
|
|
32778
32778
|
const X = Ht.getValue(N);
|
|
32779
32779
|
return bo(N, bb()), t.onExecute(H, N, X), W && vo.close(H), A.some(!0);
|
|
@@ -32880,7 +32880,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
32880
32880
|
onHighlightItem: (s, a, c) => {
|
|
32881
32881
|
t.previewing.get() ? t.lazyTypeaheadComp.get().each((d) => {
|
|
32882
32882
|
cB(t.model, d, c).fold(() => {
|
|
32883
|
-
t.model.selectsOver ? (
|
|
32883
|
+
t.model.selectsOver ? (Io.dehighlight(a, c), t.previewing.set(!0)) : t.previewing.set(!1);
|
|
32884
32884
|
}, (g) => {
|
|
32885
32885
|
g(), t.previewing.set(!1);
|
|
32886
32886
|
});
|
|
@@ -34091,7 +34091,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
34091
34091
|
const g = wl(c);
|
|
34092
34092
|
return Ec(c), g;
|
|
34093
34093
|
});
|
|
34094
|
-
}), QB = (t) => OD(t).map(xl).getOrThunk(() =>
|
|
34094
|
+
}), QB = (t) => OD(t).map(xl).getOrThunk(() => Bo(0, 0)), RD = (t, s) => {
|
|
34095
34095
|
const a = t.element;
|
|
34096
34096
|
Br(a, s.transitionClass), tr(a, s.fadeOutClass), Br(a, s.fadeInClass), s.onShow(t);
|
|
34097
34097
|
}, eN = (t, s) => {
|
|
@@ -34126,10 +34126,10 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
34126
34126
|
}
|
|
34127
34127
|
}), zV = (t, s) => {
|
|
34128
34128
|
const a = s.optScrollEnv.fold(se(t.bounds.y), (c) => c.scrollElmTop + (t.bounds.y - c.currentScrollTop));
|
|
34129
|
-
return
|
|
34129
|
+
return Bo(t.bounds.x, a);
|
|
34130
34130
|
}, gG = (t, s) => {
|
|
34131
34131
|
const a = s.optScrollEnv.fold(se(t.y), (c) => t.y + c.currentScrollTop - c.scrollElmTop);
|
|
34132
|
-
return
|
|
34132
|
+
return Bo(t.x, a);
|
|
34133
34133
|
}, BD = (t, s, a) => a.getInitialPos().map((c) => {
|
|
34134
34134
|
const d = zV(c, s);
|
|
34135
34135
|
return {
|
|
@@ -36730,7 +36730,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
36730
36730
|
]), GU = (t, s, a, c) => {
|
|
36731
36731
|
const d = (R) => {
|
|
36732
36732
|
fo.getCurrent(R).each((N) => {
|
|
36733
|
-
|
|
36733
|
+
Io.highlightFirst(N), un.focusIn(N);
|
|
36734
36734
|
});
|
|
36735
36735
|
}, g = (R) => {
|
|
36736
36736
|
lA(t, Bn, R, c, d, Nc.HighlightMenuAndItem).get(fe);
|
|
@@ -37145,12 +37145,12 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
37145
37145
|
}, S6 = yi(), Zk = S6.os.isiOS() && S6.os.version.major <= 12, _6 = (t, s) => {
|
|
37146
37146
|
const { uiMotherships: a } = s, c = t.dom;
|
|
37147
37147
|
let d = t.getWin();
|
|
37148
|
-
const g = t.getDoc().documentElement, p = gn(
|
|
37148
|
+
const g = t.getDoc().documentElement, p = gn(Bo(d.innerWidth, d.innerHeight)), w = gn(Bo(g.offsetWidth, g.offsetHeight)), C = () => {
|
|
37149
37149
|
const H = p.get();
|
|
37150
|
-
(H.left !== d.innerWidth || H.top !== d.innerHeight) && (p.set(
|
|
37150
|
+
(H.left !== d.innerWidth || H.top !== d.innerHeight) && (p.set(Bo(d.innerWidth, d.innerHeight)), w_(t));
|
|
37151
37151
|
}, E = () => {
|
|
37152
37152
|
const H = t.getDoc().documentElement, W = w.get();
|
|
37153
|
-
(W.left !== H.offsetWidth || W.top !== H.offsetHeight) && (w.set(
|
|
37153
|
+
(W.left !== H.offsetWidth || W.top !== H.offsetHeight) && (w.set(Bo(H.offsetWidth, H.offsetHeight)), w_(t));
|
|
37154
37154
|
}, R = (H) => {
|
|
37155
37155
|
hL(t, H);
|
|
37156
37156
|
};
|
|
@@ -37964,7 +37964,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
37964
37964
|
text: "Language",
|
|
37965
37965
|
icon: "language",
|
|
37966
37966
|
getOptions: se(a),
|
|
37967
|
-
hash: (c) =>
|
|
37967
|
+
hash: (c) => Lo(c.customCode) ? c.code : `${c.code}/${c.customCode}`,
|
|
37968
37968
|
display: (c) => c.title,
|
|
37969
37969
|
watcher: (c, d, g) => {
|
|
37970
37970
|
var p;
|
|
@@ -38610,7 +38610,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
38610
38610
|
"y"
|
|
38611
38611
|
]
|
|
38612
38612
|
}
|
|
38613
|
-
]), eT = (t) => (s) => s.translate(-t.left, -t.top), tT = (t) => (s) => s.translate(t.left, t.top), pg = (t) => (s, a) => Uo(t, (c, d) => d(c),
|
|
38613
|
+
]), eT = (t) => (s) => s.translate(-t.left, -t.top), tT = (t) => (s) => s.translate(t.left, t.top), pg = (t) => (s, a) => Uo(t, (c, d) => d(c), Bo(s, a)), Bx = (t, s, a) => t.fold(pg([
|
|
38614
38614
|
tT(a),
|
|
38615
38615
|
eT(s)
|
|
38616
38616
|
]), pg([eT(s)]), pg([])), vy = (t, s, a) => t.fold(pg([tT(a)]), pg([]), pg([tT(s)])), yy = (t, s, a) => t.fold(pg([]), pg([eT(a)]), pg([
|
|
@@ -38621,7 +38621,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
38621
38621
|
return Math.abs(p.left - w.left) <= a && Math.abs(p.top - w.top) <= c;
|
|
38622
38622
|
}, aZ = (t, s, a, c, d, g) => {
|
|
38623
38623
|
const p = vy(t, d, g), w = vy(s, d, g), C = Math.abs(p.left - w.left), E = Math.abs(p.top - w.top);
|
|
38624
|
-
return
|
|
38624
|
+
return Bo(C, E);
|
|
38625
38625
|
}, nT = (t, s, a) => {
|
|
38626
38626
|
const c = t.fold((d, g) => ({
|
|
38627
38627
|
position: A.some("absolute"),
|
|
@@ -38649,10 +38649,10 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
38649
38649
|
return t.fold(d(yy, oT), d(vy, u1), d(Bx, eb));
|
|
38650
38650
|
}, oT = $O.offset, u1 = $O.absolute, eb = $O.fixed, u8 = (t, s) => {
|
|
38651
38651
|
const a = js(t, s);
|
|
38652
|
-
return
|
|
38652
|
+
return Lo(a) ? NaN : parseInt(a, 10);
|
|
38653
38653
|
}, cZ = (t, s) => {
|
|
38654
38654
|
const a = t.element, c = u8(a, s.leftAttr), d = u8(a, s.topAttr);
|
|
38655
|
-
return isNaN(c) || isNaN(d) ? A.none() : A.some(
|
|
38655
|
+
return isNaN(c) || isNaN(d) ? A.none() : A.some(Bo(c, d));
|
|
38656
38656
|
}, iZ = (t, s, a) => {
|
|
38657
38657
|
const c = t.element;
|
|
38658
38658
|
It(c, s.leftAttr, a.left + "px"), It(c, s.topAttr, a.top + "px");
|
|
@@ -38824,8 +38824,8 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
38824
38824
|
]);
|
|
38825
38825
|
var kZ = /* @__PURE__ */ Object.freeze({
|
|
38826
38826
|
__proto__: null,
|
|
38827
|
-
getData: (t) => A.from(
|
|
38828
|
-
getDelta: (t, s) =>
|
|
38827
|
+
getData: (t) => A.from(Bo(t.x, t.y)),
|
|
38828
|
+
getDelta: (t, s) => Bo(s.left - t.left, s.top - t.top)
|
|
38829
38829
|
});
|
|
38830
38830
|
const p8 = (t, s, a) => [Qe(ao(), (c, d) => {
|
|
38831
38831
|
if (d.event.raw.button !== 0)
|
|
@@ -38854,7 +38854,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
38854
38854
|
})
|
|
38855
38855
|
]), AZ = (t) => {
|
|
38856
38856
|
const s = t[0];
|
|
38857
|
-
return A.some(
|
|
38857
|
+
return A.some(Bo(s.clientX, s.clientY));
|
|
38858
38858
|
};
|
|
38859
38859
|
var b8 = /* @__PURE__ */ Object.freeze({
|
|
38860
38860
|
__proto__: null,
|
|
@@ -38862,7 +38862,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
38862
38862
|
const a = t.raw.touches;
|
|
38863
38863
|
return a.length === 1 ? AZ(a) : A.none();
|
|
38864
38864
|
},
|
|
38865
|
-
getDelta: (t, s) =>
|
|
38865
|
+
getDelta: (t, s) => Bo(s.left - t.left, s.top - t.top)
|
|
38866
38866
|
});
|
|
38867
38867
|
const v8 = (t, s, a) => {
|
|
38868
38868
|
const c = so(), d = (g) => {
|
|
@@ -38946,14 +38946,14 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
38946
38946
|
apis: sT
|
|
38947
38947
|
}), IO = 40, lT = IO / 2, LO = (t, s, a, c, d, g) => t.fold(() => tb.snap({
|
|
38948
38948
|
sensor: u1(a - lT, c - lT),
|
|
38949
|
-
range:
|
|
38949
|
+
range: Bo(d, g),
|
|
38950
38950
|
output: u1(A.some(a), A.some(c)),
|
|
38951
38951
|
extra: { td: s }
|
|
38952
38952
|
}), (p) => {
|
|
38953
38953
|
const w = a - lT, C = c - lT, E = IO, R = IO, N = p.element.dom.getBoundingClientRect();
|
|
38954
38954
|
return tb.snap({
|
|
38955
38955
|
sensor: u1(w, C),
|
|
38956
|
-
range:
|
|
38956
|
+
range: Bo(E, R),
|
|
38957
38957
|
output: u1(A.some(a - N.width / 2), A.some(c - N.height / 2)),
|
|
38958
38958
|
extra: { td: s }
|
|
38959
38959
|
});
|
|
@@ -39125,7 +39125,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
39125
39125
|
const s = MR(t);
|
|
39126
39126
|
return s === !1 ? m1.None : s === "both" ? m1.Both : m1.Vertical;
|
|
39127
39127
|
}, bg = (t, s, a, c) => {
|
|
39128
|
-
const g =
|
|
39128
|
+
const g = Bo(a * 20, c * 20);
|
|
39129
39129
|
return y8(t, g, s), A.some(!0);
|
|
39130
39130
|
}, w8 = (t, s) => {
|
|
39131
39131
|
const a = LZ(t);
|
|
@@ -40145,7 +40145,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
40145
40145
|
nt("dom"),
|
|
40146
40146
|
Re("clickToDismiss", !1),
|
|
40147
40147
|
aa("tabbarBehaviours", [
|
|
40148
|
-
|
|
40148
|
+
Io,
|
|
40149
40149
|
un
|
|
40150
40150
|
]),
|
|
40151
40151
|
Hf([
|
|
@@ -40158,19 +40158,19 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
40158
40158
|
unit: "tab",
|
|
40159
40159
|
overrides: (t) => {
|
|
40160
40160
|
const s = (c, d) => {
|
|
40161
|
-
|
|
40161
|
+
Io.dehighlight(c, d), cn(c, xb(), {
|
|
40162
40162
|
tabbar: c,
|
|
40163
40163
|
button: d
|
|
40164
40164
|
});
|
|
40165
40165
|
}, a = (c, d) => {
|
|
40166
|
-
|
|
40166
|
+
Io.highlight(c, d), cn(c, Yx(), {
|
|
40167
40167
|
tabbar: c,
|
|
40168
40168
|
button: d
|
|
40169
40169
|
});
|
|
40170
40170
|
};
|
|
40171
40171
|
return {
|
|
40172
40172
|
action: (c) => {
|
|
40173
|
-
const d = c.getSystem().getByUid(t.uid).getOrDie(), g =
|
|
40173
|
+
const d = c.getSystem().getByUid(t.uid).getOrDie(), g = Io.isHighlighted(d, c);
|
|
40174
40174
|
(g && t.clickToDismiss ? s : g ? fe : a)(d, c);
|
|
40175
40175
|
},
|
|
40176
40176
|
domModification: { classes: [t.markers.tabClass] }
|
|
@@ -40183,7 +40183,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
40183
40183
|
"debug.sketcher": "Tabbar",
|
|
40184
40184
|
domModification: { attributes: { role: "tablist" } },
|
|
40185
40185
|
behaviours: jr(t.tabbarBehaviours, [
|
|
40186
|
-
|
|
40186
|
+
Io.config({
|
|
40187
40187
|
highlightClass: t.markers.selectedClass,
|
|
40188
40188
|
itemClass: t.markers.tabClass,
|
|
40189
40189
|
onHighlight: (d, g) => {
|
|
@@ -40195,7 +40195,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
40195
40195
|
}),
|
|
40196
40196
|
un.config({
|
|
40197
40197
|
mode: "flow",
|
|
40198
|
-
getInitial: (d) =>
|
|
40198
|
+
getInitial: (d) => Io.getHighlighted(d).map((g) => g.element),
|
|
40199
40199
|
selector: "." + t.markers.tabClass,
|
|
40200
40200
|
executeOnMove: !0
|
|
40201
40201
|
})
|
|
@@ -40260,7 +40260,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
40260
40260
|
behaviours: Xm(t.tabSectionBehaviours),
|
|
40261
40261
|
events: Ds(Ye([
|
|
40262
40262
|
t.selectFirst ? [Ss((p, w) => {
|
|
40263
|
-
g(p,
|
|
40263
|
+
g(p, Io.getFirst);
|
|
40264
40264
|
})] : [],
|
|
40265
40265
|
[
|
|
40266
40266
|
Qe(Yx(), (p, w) => {
|
|
@@ -40277,8 +40277,8 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
40277
40277
|
getViewItems: (p) => _s(p, t, "tabview").map((w) => Ln.contents(w)).getOr([]),
|
|
40278
40278
|
showTab: (p, w) => {
|
|
40279
40279
|
g(p, (E) => {
|
|
40280
|
-
const R =
|
|
40281
|
-
return Ke(R, (H) => Ht.getValue(H) === w).filter((H) => !
|
|
40280
|
+
const R = Io.getCandidates(E);
|
|
40281
|
+
return Ke(R, (H) => Ht.getValue(H) === w).filter((H) => !Io.isHighlighted(E, H));
|
|
40282
40282
|
});
|
|
40283
40283
|
}
|
|
40284
40284
|
}
|
|
@@ -41291,7 +41291,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
41291
41291
|
}))
|
|
41292
41292
|
})], pq = (t) => {
|
|
41293
41293
|
const s = t.editor, a = Dw(s), c = fq(t.backstages.dialog), d = gq(t.backstages.dialog), g = (X, ue, $e) => {
|
|
41294
|
-
if (!
|
|
41294
|
+
if (!Lo(ue)) {
|
|
41295
41295
|
if (ue.inline === "toolbar")
|
|
41296
41296
|
return E(X, t.backstages.popup.shared.anchors.inlineDialog(), $e, ue);
|
|
41297
41297
|
if (ue.inline === "bottom")
|
|
@@ -41476,7 +41476,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
41476
41476
|
}, te = (i) => {
|
|
41477
41477
|
const m = typeof i;
|
|
41478
41478
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && ie(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
41479
|
-
}, Te = (i) => (m) => te(m) === i, le = (i) => (m) => typeof m === i, G = (i) => (m) => i === m, Ae = Te("string"), Q = Te("object"), Ne = Te("array"), pt = G(null), qe = le("boolean"), bn = G(void 0), mn = (i) => i == null,
|
|
41479
|
+
}, Te = (i) => (m) => te(m) === i, le = (i) => (m) => typeof m === i, G = (i) => (m) => i === m, Ae = Te("string"), Q = Te("object"), Ne = Te("array"), pt = G(null), qe = le("boolean"), bn = G(void 0), mn = (i) => i == null, Lo = (i) => !mn(i), us = le("function"), Oo = le("number"), Rt = () => {
|
|
41480
41480
|
}, pr = (i, m) => (...h) => i(m.apply(null, h)), dn = (i, m) => (h) => i(m(h)), fe = (i) => () => i, kt = (i) => i, Qr = (i, m) => i === m;
|
|
41481
41481
|
function eo(i, ...m) {
|
|
41482
41482
|
return (...h) => {
|
|
@@ -41539,7 +41539,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
41539
41539
|
throw new Error(m ?? "Called getOrDie on None");
|
|
41540
41540
|
}
|
|
41541
41541
|
static from(m) {
|
|
41542
|
-
return
|
|
41542
|
+
return Lo(m) ? ge.some(m) : ge.none();
|
|
41543
41543
|
}
|
|
41544
41544
|
getOrNull() {
|
|
41545
41545
|
return this.tag ? this.value : null;
|
|
@@ -41911,11 +41911,11 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
41911
41911
|
}), rs = (i, m) => ({
|
|
41912
41912
|
element: i,
|
|
41913
41913
|
columns: m
|
|
41914
|
-
}), Zo = (i) => mi(i) &&
|
|
41914
|
+
}), Zo = (i) => mi(i) && Lo(i.dom.host), xs = us(Element.prototype.attachShadow) && us(Node.prototype.getRootNode), io = fe(xs), Vs = xs ? (i) => Ee.fromDom(i.dom.getRootNode()) : Yi, Ma = (i) => {
|
|
41915
41915
|
const m = Vs(i);
|
|
41916
41916
|
return Zo(m) ? ge.some(m) : ge.none();
|
|
41917
41917
|
}, bu = (i) => Ee.fromDom(i.dom.host), It = (i) => {
|
|
41918
|
-
if (io() &&
|
|
41918
|
+
if (io() && Lo(i.target)) {
|
|
41919
41919
|
const m = Ee.fromDom(i.target);
|
|
41920
41920
|
if (Ar(m) && Gu(m) && i.composed && i.composedPath) {
|
|
41921
41921
|
const h = i.composedPath();
|
|
@@ -41924,7 +41924,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
41924
41924
|
}
|
|
41925
41925
|
}
|
|
41926
41926
|
return ge.from(i.target);
|
|
41927
|
-
}, Gu = (i) =>
|
|
41927
|
+
}, Gu = (i) => Lo(i.dom.shadowRoot), js = (i) => {
|
|
41928
41928
|
const m = Nl(i) ? i.dom.parentNode : i.dom;
|
|
41929
41929
|
if (m == null || m.ownerDocument === null)
|
|
41930
41930
|
return !1;
|
|
@@ -41977,7 +41977,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
41977
41977
|
for (let v = 0; v < i.length; v++)
|
|
41978
41978
|
i[v].each(h);
|
|
41979
41979
|
return m;
|
|
41980
|
-
}, Dd = (i, m) => i != null ? m(i) : ge.none(), $h = (i, m) => i ? ge.some(m) : ge.none(), Mh = (i, m, h) => m === "" || i.length >= m.length && i.substr(h, h + m.length) === m,
|
|
41980
|
+
}, Dd = (i, m) => i != null ? m(i) : ge.none(), $h = (i, m) => i ? ge.some(m) : ge.none(), Mh = (i, m, h) => m === "" || i.length >= m.length && i.substr(h, h + m.length) === m, Bo = (i, m, h = 0, v) => {
|
|
41981
41981
|
const _ = i.indexOf(m, h);
|
|
41982
41982
|
return _ !== -1 ? bn(v) ? !0 : _ + m.length <= v : !1;
|
|
41983
41983
|
}, Wc = (i, m) => Mh(i, m, 0), Qi = (i, m) => Mh(i, m, i.length - m.length), ac = ((i) => (m) => m.replace(i, ""))(/^\s+|\s+$/g), Cm = (i) => i.length > 0, uo = (i) => {
|
|
@@ -42107,11 +42107,11 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
42107
42107
|
current: h.name,
|
|
42108
42108
|
version: v
|
|
42109
42109
|
};
|
|
42110
|
-
}), wo = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Ba = (i) => (m) =>
|
|
42110
|
+
}), wo = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/, Ba = (i) => (m) => Bo(m, i), yi = [
|
|
42111
42111
|
{
|
|
42112
42112
|
name: "Edge",
|
|
42113
42113
|
versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],
|
|
42114
|
-
search: (i) =>
|
|
42114
|
+
search: (i) => Bo(i, "edge/") && Bo(i, "chrome") && Bo(i, "safari") && Bo(i, "applewebkit")
|
|
42115
42115
|
},
|
|
42116
42116
|
{
|
|
42117
42117
|
name: "Chromium",
|
|
@@ -42120,7 +42120,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
42120
42120
|
/.*?chrome\/([0-9]+)\.([0-9]+).*/,
|
|
42121
42121
|
wo
|
|
42122
42122
|
],
|
|
42123
|
-
search: (i) =>
|
|
42123
|
+
search: (i) => Bo(i, "chrome") && !Bo(i, "chromeframe")
|
|
42124
42124
|
},
|
|
42125
42125
|
{
|
|
42126
42126
|
name: "IE",
|
|
@@ -42128,7 +42128,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
42128
42128
|
/.*?msie\ ?([0-9]+)\.([0-9]+).*/,
|
|
42129
42129
|
/.*?rv:([0-9]+)\.([0-9]+).*/
|
|
42130
42130
|
],
|
|
42131
|
-
search: (i) =>
|
|
42131
|
+
search: (i) => Bo(i, "msie") || Bo(i, "trident")
|
|
42132
42132
|
},
|
|
42133
42133
|
{
|
|
42134
42134
|
name: "Opera",
|
|
@@ -42149,7 +42149,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
42149
42149
|
wo,
|
|
42150
42150
|
/.*?cpu os ([0-9]+)_([0-9]+).*/
|
|
42151
42151
|
],
|
|
42152
|
-
search: (i) => (
|
|
42152
|
+
search: (i) => (Bo(i, "safari") || Bo(i, "mobile/")) && Bo(i, "applewebkit")
|
|
42153
42153
|
}
|
|
42154
42154
|
], ic = [
|
|
42155
42155
|
{
|
|
@@ -42159,7 +42159,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
42159
42159
|
},
|
|
42160
42160
|
{
|
|
42161
42161
|
name: "iOS",
|
|
42162
|
-
search: (i) =>
|
|
42162
|
+
search: (i) => Bo(i, "iphone") || Bo(i, "ipad"),
|
|
42163
42163
|
versionRegexes: [
|
|
42164
42164
|
/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,
|
|
42165
42165
|
/.*cpu os ([0-9]+)_([0-9]+).*/,
|
|
@@ -42669,7 +42669,7 @@ The conflicting element is` + (io(N.element) ? " " : " not ") + "already in the
|
|
|
42669
42669
|
D.dom.nodeValue = L;
|
|
42670
42670
|
}
|
|
42671
42671
|
};
|
|
42672
|
-
})(Nl, "text"), sn = (i) => Mt.get(i), Vn = (i) => Mt.getOption(i), cr = (i, m) => Mt.set(i, m),
|
|
42672
|
+
})(Nl, "text"), sn = (i) => Mt.get(i), Vn = (i) => Mt.getOption(i), cr = (i, m) => Mt.set(i, m), No = (i) => es(i) === "img" ? 1 : Vn(i).fold(() => Ro(i).length, (m) => m.length), Is = (i) => Vn(i).filter((m) => m.trim().length !== 0 || m.indexOf(je) > -1).isSome(), mc = (i) => hn(i) && Vr(i, "contenteditable") === "false", Gl = [
|
|
42673
42673
|
"img",
|
|
42674
42674
|
"br"
|
|
42675
42675
|
], Xc = (i) => Is(i) || Xn(Gl, es(i)) || mc(i), Ld = (i) => Cr(i, Xc), cu = (i) => Zg(i, Xc), Zg = (i, m) => {
|
|
@@ -44567,7 +44567,7 @@ Required: ` + m.join(", "));
|
|
|
44567
44567
|
return _p.create(Ee.fromDom(h.startContainer), h.startOffset, Ee.fromDom(h.endContainer), h.endOffset);
|
|
44568
44568
|
}, e0 = jC.create, ov = (i, m, h, v, _, D, L) => ts(h, _) && v === D ? ge.none() : Bs(h, "td,th", m).bind((Z) => Bs(_, "td,th", m).bind((ee) => kp(i, m, Z, ee, L))), kp = (i, m, h, v, _) => ts(h, v) ? ge.none() : Ou(h, v, m).bind((D) => {
|
|
44569
44569
|
const L = D.boxes.getOr([]);
|
|
44570
|
-
return L.length > 1 ? (_(i, L, D.start, D.finish), ge.some(Sp.create(ge.some(e0(h, 0, h,
|
|
44570
|
+
return L.length > 1 ? (_(i, L, D.start, D.finish), ge.some(Sp.create(ge.some(e0(h, 0, h, No(h))), !0))) : ge.none();
|
|
44571
44571
|
}), RE = (i, m, h, v, _) => {
|
|
44572
44572
|
const D = (L) => (_.clearBeforeUpdate(h), _.selectRange(h, L.boxes, L.start, L.finish), L.boxes);
|
|
44573
44573
|
return _b(v, i, m, _.firstSelectedSelector, _.lastSelectedSelector).map(D);
|
|
@@ -44612,7 +44612,7 @@ Required: ` + m.join(", "));
|
|
|
44612
44612
|
return _.right > v.left && _.left < v.right;
|
|
44613
44613
|
}, $E = (i) => Bs(i, "tr"), Ir = {
|
|
44614
44614
|
...qf,
|
|
44615
|
-
verify: (i, m, h, v, _, D, L) => Bs(v, "td,th", L).bind((Z) => Bs(m, "td,th", L).map((ee) => ts(Z, ee) ? ts(v, Z) &&
|
|
44615
|
+
verify: (i, m, h, v, _, D, L) => Bs(v, "td,th", L).bind((Z) => Bs(m, "td,th", L).map((ee) => ts(Z, ee) ? ts(v, Z) && No(Z) === _ ? D(ee) : qf.none("in same cell") : Ss($E, [
|
|
44616
44616
|
Z,
|
|
44617
44617
|
ee
|
|
44618
44618
|
]).fold(() => rv(i, ee, Z) ? qf.success() : D(ee), (de) => D(ee)))).getOr(qf.none("default")),
|
|
@@ -44628,7 +44628,7 @@ Required: ` + m.join(", "));
|
|
|
44628
44628
|
}), XC = (i, m) => el(i, eo(ts, m)), av = xr("br"), Kf = (i, m, h) => m(i, h).bind((v) => Nl(v) && sn(v).trim().length === 0 ? Kf(v, m, h) : ge.some(v)), El = (i, m, h) => h.traverse(m).orThunk(() => Kf(m, h.gather, i)).map(h.relative), Ap = (i, m) => ea(i, m).filter(av).orThunk(() => ea(i, m - 1).filter(av)), r0 = (i, m, h, v) => Ap(m, h).bind((_) => v.traverse(_).fold(() => Kf(_, v.gather, i).map(v.relative), (D) => qm(D).map((L) => qa.on(L.parent, L.index)))), Dp = (i, m, h, v) => (av(m) ? El(i, m, v) : r0(i, m, h, v)).map((D) => ({
|
|
44629
44629
|
start: D,
|
|
44630
44630
|
finish: D
|
|
44631
|
-
})), F2 = (i) => Ir.cata(i, (m) => ge.none(), () => ge.none(), (m) => ge.some(Jh(m, 0)), (m) => ge.some(Jh(m,
|
|
44631
|
+
})), F2 = (i) => Ir.cata(i, (m) => ge.none(), () => ge.none(), (m) => ge.some(Jh(m, 0)), (m) => ge.some(Jh(m, No(m)))), Op = (i, m) => ({
|
|
44632
44632
|
left: i.left,
|
|
44633
44633
|
top: i.top + m,
|
|
44634
44634
|
right: i.right,
|
|
@@ -44643,12 +44643,12 @@ Required: ` + m.join(", "));
|
|
|
44643
44643
|
top: i.top + h,
|
|
44644
44644
|
right: i.right + m,
|
|
44645
44645
|
bottom: i.bottom + h
|
|
44646
|
-
}), ME = (i) => i.top, PE = (i) => i.bottom, Yf = (i, m, h) => h >= 0 && h <
|
|
44646
|
+
}), ME = (i) => i.top, PE = (i) => i.bottom, Yf = (i, m, h) => h >= 0 && h < No(m) ? i.getRangedRect(m, h, m, h + 1) : h > 0 ? i.getRangedRect(m, h - 1, m, h) : ge.none(), Rp = (i) => ({
|
|
44647
44647
|
left: i.left,
|
|
44648
44648
|
top: i.top,
|
|
44649
44649
|
right: i.right,
|
|
44650
44650
|
bottom: i.bottom
|
|
44651
|
-
}), lv = (i, m) => ge.some(i.getRect(m)), Xd = (i, m, h) => Ar(m) ? lv(i, m).map(Rp) : Nl(m) ? Yf(i, m, h).map(Rp) : ge.none(), H2 = (i, m) => Ar(m) ? lv(i, m).map(Rp) : Nl(m) ? i.getRangedRect(m, 0, m,
|
|
44651
|
+
}), lv = (i, m) => ge.some(i.getRect(m)), Xd = (i, m, h) => Ar(m) ? lv(i, m).map(Rp) : Nl(m) ? Yf(i, m, h).map(Rp) : ge.none(), H2 = (i, m) => Ar(m) ? lv(i, m).map(Rp) : Nl(m) ? i.getRangedRect(m, 0, m, No(m)).map(Rp) : ge.none(), Ka = 5, Km = 100, Pu = si.generate([
|
|
44652
44652
|
{ none: [] },
|
|
44653
44653
|
{ retry: ["caret"] }
|
|
44654
44654
|
]), $p = (i, m) => i.left < m.left || Math.abs(m.right - i.left) < 1 || i.left > m.right, Jl = (i, m, h) => Ua(m, Wb).fold(In, (v) => H2(i, v).exists((_) => $p(h, _))), $c = (i, m, h, v, _) => {
|
|
@@ -44679,7 +44679,7 @@ Required: ` + m.join(", "));
|
|
|
44679
44679
|
return F2(L);
|
|
44680
44680
|
})), iv = (i, m, h, v, _, D) => D === 0 ? ge.none() : IE(i, m, h, v, _).bind((L) => {
|
|
44681
44681
|
const Z = i.fromSitus(L), ee = Ir.verify(i, h, v, Z.finish, Z.foffset, _.failure, m);
|
|
44682
|
-
return Ir.cata(ee, () => ge.none(), () => ge.some(L), (de) => ts(h, de) && v === 0 ? NE(i, h, v, ih, _) : iv(i, m, de, 0, _, D - 1), (de) => ts(h, de) && v ===
|
|
44682
|
+
return Ir.cata(ee, () => ge.none(), () => ge.some(L), (de) => ts(h, de) && v === 0 ? NE(i, h, v, ih, _) : iv(i, m, de, 0, _, D - 1), (de) => ts(h, de) && v === No(de) ? NE(i, h, v, Op, _) : iv(i, m, de, No(de), _, D - 1));
|
|
44683
44683
|
}), NE = (i, m, h, v, _) => Xd(i, m, h).bind((D) => eS(i, _, v(D, a0.getJumpSize()))), eS = (i, m, h) => {
|
|
44684
44684
|
const v = Xu().browser;
|
|
44685
44685
|
return v.isChromium() || v.isSafari() || v.isFirefox() ? m.retry(i, h) : ge.none();
|
|
@@ -44693,7 +44693,7 @@ Required: ` + m.join(", "));
|
|
|
44693
44693
|
})), dh = (i, m) => Bs(i, "tr", m).bind((h) => Bs(h, "table", m).bind((v) => {
|
|
44694
44694
|
const _ = Ps(v, "tr");
|
|
44695
44695
|
return ts(h, _[0]) ? s0(v, (D) => cu(D).isSome(), m).map((D) => {
|
|
44696
|
-
const L =
|
|
44696
|
+
const L = No(D);
|
|
44697
44697
|
return Sp.create(ge.some(e0(D, L, D, L)), !0);
|
|
44698
44698
|
}) : ge.none();
|
|
44699
44699
|
})), z2 = (i, m) => Bs(i, "tr", m).bind((h) => Bs(h, "table", m).bind((v) => {
|
|
@@ -45480,7 +45480,7 @@ Required: ` + m.join(", "));
|
|
|
45480
45480
|
Jd(i, (m) => {
|
|
45481
45481
|
Gs(m, "display", "none");
|
|
45482
45482
|
});
|
|
45483
|
-
},
|
|
45483
|
+
}, Io = (i) => {
|
|
45484
45484
|
Jd(i, (m) => {
|
|
45485
45485
|
Gs(m, "display", "block");
|
|
45486
45486
|
});
|
|
@@ -45547,7 +45547,7 @@ Required: ` + m.join(", "));
|
|
|
45547
45547
|
on: h.on,
|
|
45548
45548
|
off: h.off,
|
|
45549
45549
|
hideBars: eo(kv, i),
|
|
45550
|
-
showBars: eo(
|
|
45550
|
+
showBars: eo(Io, i),
|
|
45551
45551
|
events: Pt.registry
|
|
45552
45552
|
};
|
|
45553
45553
|
}, Ev = { create: (i, m, h) => {
|
|
@@ -45620,7 +45620,7 @@ Required: ` + m.join(", "));
|
|
|
45620
45620
|
}), ns(I(), i), i;
|
|
45621
45621
|
}, cw = (i, m) => i.inline ? lw.body(Ee.fromDom(i.getBody()), i4(), m) : lw.only(Ee.fromDom(i.getDoc()), m), u4 = (i, m) => {
|
|
45622
45622
|
i.inline && rr(m.parent());
|
|
45623
|
-
}, yo = (i) =>
|
|
45623
|
+
}, yo = (i) => Lo(i) && i.nodeName === "TABLE", $i = "bar-", of = (i) => Vr(i, "data-mce-resize") !== "false", d4 = (i) => {
|
|
45624
45624
|
const m = Gn.fromTable(i);
|
|
45625
45625
|
Gn.hasColumns(m) || Me(ol(i), (h) => {
|
|
45626
45626
|
const v = ga(h, "width");
|
|
@@ -45719,7 +45719,7 @@ Required: ` + m.join(", "));
|
|
|
45719
45719
|
}, te = (S) => {
|
|
45720
45720
|
const $ = typeof S;
|
|
45721
45721
|
return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && ie(S, String, (U, ae) => ae.isPrototypeOf(U)) ? "string" : $;
|
|
45722
|
-
}, Te = (S) => ($) => te($) === S, le = (S) => ($) => typeof $ === S, G = Te("string"), Ae = Te("object"), Q = Te("array"), Ne = le("boolean"), pt = (S) => S == null, qe = (S) => !pt(S), bn = le("function"), mn = le("number"),
|
|
45722
|
+
}, Te = (S) => ($) => te($) === S, le = (S) => ($) => typeof $ === S, G = Te("string"), Ae = Te("object"), Q = Te("array"), Ne = le("boolean"), pt = (S) => S == null, qe = (S) => !pt(S), bn = le("function"), mn = le("number"), Lo = () => {
|
|
45723
45723
|
}, us = (S, $) => (U) => S($(U)), Oo = (S) => () => S, Rt = (S, $) => S === $;
|
|
45724
45724
|
function pr(S, ...$) {
|
|
45725
45725
|
return (...U) => {
|
|
@@ -46002,7 +46002,7 @@ Required: ` + m.join(", "));
|
|
|
46002
46002
|
});
|
|
46003
46003
|
}, ws = (S, $) => {
|
|
46004
46004
|
const U = {};
|
|
46005
|
-
return Yi(S, $, nl(U),
|
|
46005
|
+
return Yi(S, $, nl(U), Lo), U;
|
|
46006
46006
|
}, Es = (S, $, U) => {
|
|
46007
46007
|
if (G(U) || Ne(U) || mn(U))
|
|
46008
46008
|
S.setAttribute($, U + "");
|
|
@@ -46151,7 +46151,7 @@ Required: ` + m.join(", "));
|
|
|
46151
46151
|
}, Us = (S, $, U) => S.dispatch("ListMutation", {
|
|
46152
46152
|
action: $,
|
|
46153
46153
|
element: U
|
|
46154
|
-
}), $h = ((S) => ($) => $.replace(S, ""))(/^\s+|\s+$/g), Mh = (S) => S.length > 0,
|
|
46154
|
+
}), $h = ((S) => ($) => $.replace(S, ""))(/^\s+|\s+$/g), Mh = (S) => S.length > 0, Bo = (S) => !Mh(S), Wc = (S) => S.style !== void 0 && bn(S.style.getPropertyValue), Qi = (S, $, U) => {
|
|
46155
46155
|
if (!G(U))
|
|
46156
46156
|
throw console.error("Invalid call to CSS.set. Property ", $, ":: Value ", U, ":: Element ", S), new Error("CSS value must be a string: " + U);
|
|
46157
46157
|
Wc(S) && S.style.setProperty($, U);
|
|
@@ -46704,7 +46704,7 @@ Required: ` + m.join(", "));
|
|
|
46704
46704
|
const $ = S % 26, U = Math.floor(S / 26), ae = Ju(U), he = String.fromCharCode(65 + $);
|
|
46705
46705
|
return ae + he;
|
|
46706
46706
|
}
|
|
46707
|
-
}, lr = (S) => /^[A-Z]+$/.test(S), Wr = (S) => /^[a-z]+$/.test(S), Gc = (S) => /^[0-9]+$/.test(S), Qu = (S) => Gc(S) ? 2 : lr(S) ? 0 : Wr(S) ? 1 :
|
|
46707
|
+
}, lr = (S) => /^[A-Z]+$/.test(S), Wr = (S) => /^[a-z]+$/.test(S), Gc = (S) => /^[0-9]+$/.test(S), Qu = (S) => Gc(S) ? 2 : lr(S) ? 0 : Wr(S) ? 1 : Bo(S) ? 3 : 4, Sr = (S) => {
|
|
46708
46708
|
switch (Qu(S)) {
|
|
46709
46709
|
case 2:
|
|
46710
46710
|
return kt.some({
|
|
@@ -46867,7 +46867,7 @@ Required: ` + m.join(", "));
|
|
|
46867
46867
|
}, te = (j) => {
|
|
46868
46868
|
const me = typeof j;
|
|
46869
46869
|
return j === null ? "null" : me === "object" && Array.isArray(j) ? "array" : me === "object" && ie(j, String, (ke, Ie) => Ie.isPrototypeOf(ke)) ? "string" : me;
|
|
46870
|
-
}, Te = (j) => (me) => te(me) === j, le = (j) => (me) => typeof me === j, G = (j) => (me) => j === me, Ae = Te("string"), Q = Te("object"), Ne = Te("array"), pt = G(null), qe = le("boolean"), bn = (j) => j == null, mn = (j) => !bn(j),
|
|
46870
|
+
}, Te = (j) => (me) => te(me) === j, le = (j) => (me) => typeof me === j, G = (j) => (me) => j === me, Ae = Te("string"), Q = Te("object"), Ne = Te("array"), pt = G(null), qe = le("boolean"), bn = (j) => j == null, mn = (j) => !bn(j), Lo = le("function"), us = (j, me) => {
|
|
46871
46871
|
if (Ne(j)) {
|
|
46872
46872
|
for (let ke = 0, Ie = j.length; ke < Ie; ++ke)
|
|
46873
46873
|
if (!me(j[ke]))
|
|
@@ -47007,7 +47007,7 @@ Required: ` + m.join(", "));
|
|
|
47007
47007
|
}), me("link_context_toolbar", {
|
|
47008
47008
|
processor: "boolean",
|
|
47009
47009
|
default: !1
|
|
47010
|
-
}), me("link_list", { processor: (ke) => Ae(ke) ||
|
|
47010
|
+
}), me("link_list", { processor: (ke) => Ae(ke) || Lo(ke) || us(ke, Q) }), me("link_default_target", { processor: "string" }), me("link_default_protocol", {
|
|
47011
47011
|
processor: "string",
|
|
47012
47012
|
default: "https"
|
|
47013
47013
|
}), me("link_target_list", {
|
|
@@ -47290,7 +47290,7 @@ Required: ` + m.join(", "));
|
|
|
47290
47290
|
}, ts = { getLinks: (j) => {
|
|
47291
47291
|
const me = (Ie) => j.convertURL(Ie.value || Ie.url || "", "href"), ke = rt(j);
|
|
47292
47292
|
return new Promise((Ie) => {
|
|
47293
|
-
Ae(ke) ? fetch(ke).then((ft) => ft.ok ? ft.text().then(Wu) : Promise.reject()).then(Ie, () => Ie(dn.none())) :
|
|
47293
|
+
Ae(ke) ? fetch(ke).then((ft) => ft.ok ? ft.text().then(Wu) : Promise.reject()).then(Ie, () => Ie(dn.none())) : Lo(ke) ? ke((ft) => Ie(dn.some(ft))) : Ie(dn.from(ke));
|
|
47294
47294
|
}).then((Ie) => Ie.bind(Ye.sanitizeWith(me)).map((ft) => ft.length > 0 ? [{
|
|
47295
47295
|
text: "None",
|
|
47296
47296
|
value: ""
|
|
@@ -47624,7 +47624,7 @@ Required: ` + m.join(", "));
|
|
|
47624
47624
|
}, Te = (I) => {
|
|
47625
47625
|
const Y = typeof I;
|
|
47626
47626
|
return I === null ? "null" : Y === "object" && Array.isArray(I) ? "array" : Y === "object" && te(I, String, (re, Fe) => Fe.isPrototypeOf(re)) ? "string" : Y;
|
|
47627
|
-
}, le = (I) => (Y) => Te(Y) === I, G = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => pt(I) && te(I, Y, (re, Fe) => ie(re) === Fe), Ne = le("string"), pt = le("object"), qe = (I) => Q(I, Object), bn = le("array"), mn = Ae(null),
|
|
47627
|
+
}, le = (I) => (Y) => Te(Y) === I, G = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => pt(I) && te(I, Y, (re, Fe) => ie(re) === Fe), Ne = le("string"), pt = le("object"), qe = (I) => Q(I, Object), bn = le("array"), mn = Ae(null), Lo = G("boolean"), us = (I) => I == null, Oo = (I) => !us(I), Rt = G("function"), pr = G("number"), dn = (I, Y) => {
|
|
47628
47628
|
if (bn(I)) {
|
|
47629
47629
|
for (let re = 0, Fe = I.length; re < Fe; ++re)
|
|
47630
47630
|
if (!Y(I[re]))
|
|
@@ -47738,7 +47738,7 @@ Required: ` + m.join(", "));
|
|
|
47738
47738
|
};
|
|
47739
47739
|
typeof window < "u" || Function("return this;")();
|
|
47740
47740
|
const at = (I, Y, re) => {
|
|
47741
|
-
if (Ne(re) ||
|
|
47741
|
+
if (Ne(re) || Lo(re) || pr(re))
|
|
47742
47742
|
I.setAttribute(Y, re + "");
|
|
47743
47743
|
else
|
|
47744
47744
|
throw console.error("Invalid call to Attribute.set. Key ", Y, ":: Value ", re, ":: Element ", I), new Error("Attribute value was not simple");
|
|
@@ -48295,7 +48295,7 @@ Required: ` + m.join(", "));
|
|
|
48295
48295
|
}, Hl = (I, Y, re) => {
|
|
48296
48296
|
I.hasDescription && Ne(re.alt) && (Y.alt = re.alt), I.hasAccessibilityOptions && (Y.isDecorative = re.isDecorative || Y.isDecorative || !1), I.hasImageTitle && Ne(re.title) && (Y.title = re.title), I.hasDimensions && (Ne(re.width) && (Y.dimensions.width = re.width), Ne(re.height) && (Y.dimensions.height = re.height)), Ne(re.class) && ua.findEntry(I.classList, re.class).each((Fe) => {
|
|
48297
48297
|
Y.classes = Fe.value;
|
|
48298
|
-
}), I.hasImageCaption &&
|
|
48298
|
+
}), I.hasImageCaption && Lo(re.caption) && (Y.caption = re.caption), I.hasAdvTab && (Ne(re.style) && (Y.style = re.style), Ne(re.vspace) && (Y.vspace = re.vspace), Ne(re.border) && (Y.border = re.border), Ne(re.hspace) && (Y.hspace = re.hspace), Ne(re.borderstyle) && (Y.borderstyle = re.borderstyle));
|
|
48299
48299
|
}, Vl = (I, Y) => {
|
|
48300
48300
|
const re = Y.getData(), Fe = re.src.meta;
|
|
48301
48301
|
if (Fe !== void 0) {
|
|
@@ -48493,7 +48493,7 @@ Required: ` + m.join(", "));
|
|
|
48493
48493
|
}, te = (x) => {
|
|
48494
48494
|
const T = typeof x;
|
|
48495
48495
|
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && ie(x, String, (V, K) => K.isPrototypeOf(V)) ? "string" : T;
|
|
48496
|
-
}, Te = (x) => (T) => te(T) === x, le = (x) => (T) => typeof T === x, G = (x) => (T) => x === T, Ae = Te("string"), Q = Te("array"), Ne = le("boolean"), pt = G(void 0), qe = (x) => x == null, bn = (x) => !qe(x), mn = le("function"),
|
|
48496
|
+
}, Te = (x) => (T) => te(T) === x, le = (x) => (T) => typeof T === x, G = (x) => (T) => x === T, Ae = Te("string"), Q = Te("array"), Ne = le("boolean"), pt = G(void 0), qe = (x) => x == null, bn = (x) => !qe(x), mn = le("function"), Lo = le("number"), us = () => {
|
|
48497
48497
|
}, Oo = (x, T) => (V) => x(T(V)), Rt = (x) => () => x, pr = (x) => x, dn = (x, T) => x === T;
|
|
48498
48498
|
function fe(x, ...T) {
|
|
48499
48499
|
return (...V) => {
|
|
@@ -48781,7 +48781,7 @@ Required: ` + m.join(", "));
|
|
|
48781
48781
|
T(K) && (V = V.concat([K])), V = V.concat(gi(K, T));
|
|
48782
48782
|
}), V;
|
|
48783
48783
|
}, Cc = (x, T) => xc(x, (V) => ys(V, T)), Ro = (x, T) => Pl(T, x), ea = (x, T, V) => {
|
|
48784
|
-
if (Ae(V) || Ne(V) ||
|
|
48784
|
+
if (Ae(V) || Ne(V) || Lo(V))
|
|
48785
48785
|
x.setAttribute(T, V + "");
|
|
48786
48786
|
else
|
|
48787
48787
|
throw console.error("Invalid call to Attribute.set. Key ", T, ":: Value ", V, ":: Element ", x), new Error("Attribute value was not simple");
|
|
@@ -48934,7 +48934,7 @@ Required: ` + m.join(", "));
|
|
|
48934
48934
|
Gl.push(Zg);
|
|
48935
48935
|
}), je++, V.push(bu(mc.element, Gl, mc.section)), Mt++;
|
|
48936
48936
|
});
|
|
48937
|
-
const { columns: cr, colgroups:
|
|
48937
|
+
const { columns: cr, colgroups: No } = Fo(sn).map((mc) => {
|
|
48938
48938
|
const Gl = Bs(mc);
|
|
48939
48939
|
return {
|
|
48940
48940
|
colgroups: [js(mc.element, Dt(Gl))],
|
|
@@ -48949,7 +48949,7 @@ Required: ` + m.join(", "));
|
|
|
48949
48949
|
access: T,
|
|
48950
48950
|
all: V,
|
|
48951
48951
|
columns: cr,
|
|
48952
|
-
colgroups:
|
|
48952
|
+
colgroups: No
|
|
48953
48953
|
};
|
|
48954
48954
|
}, Wc = {
|
|
48955
48955
|
fromTable: (x) => {
|
|
@@ -49185,8 +49185,8 @@ Required: ` + m.join(", "));
|
|
|
49185
49185
|
"hr",
|
|
49186
49186
|
"input"
|
|
49187
49187
|
], yt(Vn)) : !1, ve = (Vn) => Bl(Vn) && da(Vn, "contenteditable") === "false", je = (Vn, cr) => Vn.dom.compareDocumentPosition(cr.dom), ht = (Vn, cr) => {
|
|
49188
|
-
const
|
|
49189
|
-
zc(cr,
|
|
49188
|
+
const No = Ra(Vn);
|
|
49189
|
+
zc(cr, No);
|
|
49190
49190
|
}, Mt = (Vn) => {
|
|
49191
49191
|
const cr = yt(Vn);
|
|
49192
49192
|
return no([
|
|
@@ -49604,23 +49604,23 @@ Required: ` + m.join(", "));
|
|
|
49604
49604
|
if (Vn !== Mt.length)
|
|
49605
49605
|
throw new Error("Wrong number of arguments to case " + ht + ". Expected " + Mt.length + " (" + Mt + "), got " + Vn);
|
|
49606
49606
|
return {
|
|
49607
|
-
fold: (...
|
|
49608
|
-
if (
|
|
49609
|
-
throw new Error("Wrong number of arguments to fold. Expected " + x.length + ", got " +
|
|
49610
|
-
return
|
|
49607
|
+
fold: (...No) => {
|
|
49608
|
+
if (No.length !== x.length)
|
|
49609
|
+
throw new Error("Wrong number of arguments to fold. Expected " + x.length + ", got " + No.length);
|
|
49610
|
+
return No[ve].apply(null, sn);
|
|
49611
49611
|
},
|
|
49612
|
-
match: (
|
|
49613
|
-
const Is = Bn(
|
|
49612
|
+
match: (No) => {
|
|
49613
|
+
const Is = Bn(No);
|
|
49614
49614
|
if (T.length !== Is.length)
|
|
49615
49615
|
throw new Error("Wrong number of arguments to match. Expected: " + T.join(",") + `
|
|
49616
49616
|
Actual: ` + Is.join(","));
|
|
49617
49617
|
if (!wn(T, (Gl) => no(Is, Gl)))
|
|
49618
49618
|
throw new Error("Not all branches were specified when using match. Specified: " + Is.join(", ") + `
|
|
49619
49619
|
Required: ` + T.join(", "));
|
|
49620
|
-
return
|
|
49620
|
+
return No[ht].apply(null, sn);
|
|
49621
49621
|
},
|
|
49622
|
-
log: (
|
|
49623
|
-
console.log(
|
|
49622
|
+
log: (No) => {
|
|
49623
|
+
console.log(No, {
|
|
49624
49624
|
constructors: T,
|
|
49625
49625
|
constructor: ht,
|
|
49626
49626
|
params: sn
|
|
@@ -49700,12 +49700,12 @@ Required: ` + T.join(", "));
|
|
|
49700
49700
|
border: ""
|
|
49701
49701
|
}, ht = () => {
|
|
49702
49702
|
const cr = V["border-width"];
|
|
49703
|
-
return Zc(x) && cr ? { border: cr } : Xn(K, "border").fold(() => ({}), (
|
|
49703
|
+
return Zc(x) && cr ? { border: cr } : Xn(K, "border").fold(() => ({}), (No) => ({ border: No }));
|
|
49704
49704
|
}, Mt = T ? ve() : {}, sn = () => {
|
|
49705
|
-
const cr = Xn(V, "border-spacing").or(Xn(K, "cellspacing")).fold(() => ({}), (Is) => ({ cellspacing: Is })),
|
|
49705
|
+
const cr = Xn(V, "border-spacing").or(Xn(K, "cellspacing")).fold(() => ({}), (Is) => ({ cellspacing: Is })), No = Xn(V, "border-padding").or(Xn(K, "cellpadding")).fold(() => ({}), (Is) => ({ cellpadding: Is }));
|
|
49706
49706
|
return {
|
|
49707
49707
|
...cr,
|
|
49708
|
-
...
|
|
49708
|
+
...No
|
|
49709
49709
|
};
|
|
49710
49710
|
};
|
|
49711
49711
|
return {
|
|
@@ -50183,13 +50183,13 @@ Required: ` + T.join(", "));
|
|
|
50183
50183
|
};
|
|
50184
50184
|
}), cr = () => {
|
|
50185
50185
|
T.set(it(sn)()), K = T.get().bind(Vn), z(V.get(), kt);
|
|
50186
|
-
},
|
|
50186
|
+
}, No = (Mo) => (Mo(), V.set(V.get().concat([Mo])), () => {
|
|
50187
50187
|
V.set(ss(V.get(), (ao) => ao !== Mo));
|
|
50188
|
-
}), Is = (Mo, ao) =>
|
|
50188
|
+
}), Is = (Mo, ao) => No(() => T.get().fold(() => {
|
|
50189
50189
|
Mo.setEnabled(!1);
|
|
50190
50190
|
}, (ya) => {
|
|
50191
50191
|
Mo.setEnabled(!ao(ya) && x.selection.isEditable());
|
|
50192
|
-
})), mc = (Mo, ao, ya) =>
|
|
50192
|
+
})), mc = (Mo, ao, ya) => No(() => T.get().fold(() => {
|
|
50193
50193
|
Mo.setEnabled(!1), Mo.setActive(!1);
|
|
50194
50194
|
}, (il) => {
|
|
50195
50195
|
Mo.setEnabled(!ao(il) && x.selection.isEditable()), Mo.setActive(ya(il));
|
|
@@ -50417,18 +50417,18 @@ Required: ` + T.join(", "));
|
|
|
50417
50417
|
x.off("NodeChange", V);
|
|
50418
50418
|
};
|
|
50419
50419
|
}, jl = (x, T) => {
|
|
50420
|
-
const V = (
|
|
50420
|
+
const V = (No) => () => x.execCommand(No), K = (No, Is) => x.queryCommandSupported(Is.command) ? (x.ui.registry.addMenuItem(No, {
|
|
50421
50421
|
...Is,
|
|
50422
50422
|
onAction: mn(Is.onAction) ? Is.onAction : V(Is.command)
|
|
50423
|
-
}), !0) : !1, ve = (
|
|
50424
|
-
x.queryCommandSupported(Is.command) && x.ui.registry.addToggleMenuItem(
|
|
50423
|
+
}), !0) : !1, ve = (No, Is) => {
|
|
50424
|
+
x.queryCommandSupported(Is.command) && x.ui.registry.addToggleMenuItem(No, {
|
|
50425
50425
|
...Is,
|
|
50426
50426
|
onAction: mn(Is.onAction) ? Is.onAction : V(Is.command)
|
|
50427
50427
|
});
|
|
50428
|
-
}, je = (
|
|
50428
|
+
}, je = (No) => {
|
|
50429
50429
|
x.execCommand("mceInsertTable", !1, {
|
|
50430
|
-
rows:
|
|
50431
|
-
columns:
|
|
50430
|
+
rows: No.numRows,
|
|
50431
|
+
columns: No.numColumns
|
|
50432
50432
|
});
|
|
50433
50433
|
}, ht = [
|
|
50434
50434
|
K("tableinsertrowbefore", {
|
|
@@ -50583,20 +50583,20 @@ Required: ` + T.join(", "));
|
|
|
50583
50583
|
text: "Cell",
|
|
50584
50584
|
getSubmenuItems: Rt("tablecellprops tablemergecells tablesplitcells")
|
|
50585
50585
|
}), x.ui.registry.addContextMenu("table", {
|
|
50586
|
-
update: () => (T.resetTargets(), T.targets().fold(Rt(""), (
|
|
50586
|
+
update: () => (T.resetTargets(), T.targets().fold(Rt(""), (No) => yt(No.element) === "caption" ? "tableprops deletetable" : "cell row column | advtablesort | tableprops deletetable"))
|
|
50587
50587
|
});
|
|
50588
50588
|
const Vn = Su(Tm(x));
|
|
50589
50589
|
Vn.length !== 0 && x.queryCommandSupported("mceTableToggleClass") && x.ui.registry.addNestedMenuItem("tableclass", {
|
|
50590
50590
|
icon: "table-classes",
|
|
50591
50591
|
text: "Table styles",
|
|
50592
|
-
getSubmenuItems: () => xo(x, Vn, "tableclass", (
|
|
50592
|
+
getSubmenuItems: () => xo(x, Vn, "tableclass", (No) => x.execCommand("mceTableToggleClass", !1, No)),
|
|
50593
50593
|
onSetup: T.onSetupTable
|
|
50594
50594
|
});
|
|
50595
50595
|
const cr = Su(km(x));
|
|
50596
50596
|
cr.length !== 0 && x.queryCommandSupported("mceTableCellToggleClass") && x.ui.registry.addNestedMenuItem("tablecellclass", {
|
|
50597
50597
|
icon: "table-cell-classes",
|
|
50598
50598
|
text: "Cell styles",
|
|
50599
|
-
getSubmenuItems: () => xo(x, cr, "tablecellclass", (
|
|
50599
|
+
getSubmenuItems: () => xo(x, cr, "tablecellclass", (No) => x.execCommand("mceTableCellToggleClass", !1, No)),
|
|
50600
50600
|
onSetup: T.onSetupCellOrRow
|
|
50601
50601
|
}), x.queryCommandSupported("mceTableApplyCellStyle") && (x.ui.registry.addNestedMenuItem("tablecellvalign", {
|
|
50602
50602
|
icon: "vertical-align",
|
|
@@ -50759,8 +50759,8 @@ Required: ` + T.join(", "));
|
|
|
50759
50759
|
new RegExp(Ae.katakana),
|
|
50760
50760
|
new RegExp(Ae.extendnumlet),
|
|
50761
50761
|
new RegExp("@")
|
|
50762
|
-
], pt = "", qe = new RegExp("^" + Ae.punctuation + "$"), bn = /^\s+$/, mn = Ne,
|
|
50763
|
-
let Ot =
|
|
50762
|
+
], pt = "", qe = new RegExp("^" + Ae.punctuation + "$"), bn = /^\s+$/, mn = Ne, Lo = Q.OTHER, us = (Ke) => {
|
|
50763
|
+
let Ot = Lo;
|
|
50764
50764
|
const Ye = mn.length;
|
|
50765
50765
|
for (let _e = 0; _e < Ye; ++_e) {
|
|
50766
50766
|
const wn = mn[_e];
|
|
@@ -51419,7 +51419,7 @@ const sq = /* @__PURE__ */ qr(UQ, [["render", nee]]), oee = {
|
|
|
51419
51419
|
"clip-rule": "evenodd"
|
|
51420
51420
|
})
|
|
51421
51421
|
])
|
|
51422
|
-
], -1), fee = { class: "grid grid-cols-1 xl:grid-cols-2 gap-4 mb-3" }, gee = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, hee = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-5 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, pee = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, bee = /* @__PURE__ */ P("th", { class: "w-full px-4 py-2 lg:w-
|
|
51422
|
+
], -1), fee = { class: "grid grid-cols-1 xl:grid-cols-2 gap-4 mb-3" }, gee = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, hee = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-5 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, pee = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, bee = /* @__PURE__ */ P("th", { class: "w-full px-4 py-2 lg:w-1/12" }, [
|
|
51423
51423
|
/* @__PURE__ */ P("input", {
|
|
51424
51424
|
type: "checkbox",
|
|
51425
51425
|
value: "",
|
|
@@ -51477,7 +51477,7 @@ const sq = /* @__PURE__ */ qr(UQ, [["render", nee]]), oee = {
|
|
|
51477
51477
|
], -1), kee = [
|
|
51478
51478
|
_ee
|
|
51479
51479
|
], Tee = /* @__PURE__ */ P("td", {
|
|
51480
|
-
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700",
|
|
51480
|
+
class: "rounded-t-lg lg:rounded-t-none text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700",
|
|
51481
51481
|
"data-label": ""
|
|
51482
51482
|
}, [
|
|
51483
51483
|
/* @__PURE__ */ P("input", {
|
|
@@ -51622,12 +51622,12 @@ function Oee(O, ie, te, Te, le, G) {
|
|
|
51622
51622
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
51623
51623
|
}, [
|
|
51624
51624
|
Tee,
|
|
51625
|
-
(pe(!0), ye(Qn, null, sr(te.columns, (mn,
|
|
51626
|
-
key:
|
|
51625
|
+
(pe(!0), ye(Qn, null, sr(te.columns, (mn, Lo) => (pe(), ye("td", {
|
|
51626
|
+
key: Lo,
|
|
51627
51627
|
"data-label": mn.field_label,
|
|
51628
51628
|
class: an(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700", {
|
|
51629
|
-
|
|
51630
|
-
"rounded-b-lg lg:rounded-b-none":
|
|
51629
|
+
/* 'rounded-t-lg lg:rounded-t-none': colIndex === 0,*/
|
|
51630
|
+
"rounded-b-lg lg:rounded-b-none": Lo === te.columns.length - 1
|
|
51631
51631
|
}])
|
|
51632
51632
|
}, [
|
|
51633
51633
|
P("div", Aee, [
|
|
@@ -52265,8 +52265,8 @@ function qte(O, ie, te, Te, le, G) {
|
|
|
52265
52265
|
key: bn,
|
|
52266
52266
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
52267
52267
|
}, [
|
|
52268
|
-
(pe(!0), ye(Qn, null, sr(te.columns, (mn,
|
|
52269
|
-
key:
|
|
52268
|
+
(pe(!0), ye(Qn, null, sr(te.columns, (mn, Lo) => (pe(), ye("td", {
|
|
52269
|
+
key: Lo,
|
|
52270
52270
|
"data-label": mn.field_label,
|
|
52271
52271
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700"
|
|
52272
52272
|
}, [
|
|
@@ -52955,7 +52955,7 @@ const cle = /* @__PURE__ */ qr(zne, [["render", Yne]]), Xne = {
|
|
|
52955
52955
|
});
|
|
52956
52956
|
};
|
|
52957
52957
|
return (bn, mn) => {
|
|
52958
|
-
const
|
|
52958
|
+
const Lo = nq("click-outside");
|
|
52959
52959
|
return pe(), ye(Qn, null, [
|
|
52960
52960
|
ub($j, {
|
|
52961
52961
|
isOpen: le.value,
|
|
@@ -52994,7 +52994,7 @@ const cle = /* @__PURE__ */ qr(zne, [["render", Yne]]), Xne = {
|
|
|
52994
52994
|
[n5, Te.value]
|
|
52995
52995
|
])
|
|
52996
52996
|
])), [
|
|
52997
|
-
[
|
|
52997
|
+
[Lo, G]
|
|
52998
52998
|
]) : ut("", !0)
|
|
52999
52999
|
], 64);
|
|
53000
53000
|
};
|
|
@@ -53061,7 +53061,7 @@ const cle = /* @__PURE__ */ qr(zne, [["render", Yne]]), Xne = {
|
|
|
53061
53061
|
});
|
|
53062
53062
|
};
|
|
53063
53063
|
return (bn, mn) => {
|
|
53064
|
-
const
|
|
53064
|
+
const Lo = nq("click-outside");
|
|
53065
53065
|
return pe(), ye(Qn, null, [
|
|
53066
53066
|
ub($j, {
|
|
53067
53067
|
isOpen: le.value,
|
|
@@ -53091,7 +53091,7 @@ const cle = /* @__PURE__ */ qr(zne, [["render", Yne]]), Xne = {
|
|
|
53091
53091
|
[n5, Te.value]
|
|
53092
53092
|
])
|
|
53093
53093
|
])), [
|
|
53094
|
-
[
|
|
53094
|
+
[Lo, G]
|
|
53095
53095
|
]) : ut("", !0)
|
|
53096
53096
|
], 64);
|
|
53097
53097
|
};
|
|
@@ -53735,8 +53735,8 @@ const Ele = /* @__PURE__ */ qr(bre, [["render", Dre]]), Ore = {
|
|
|
53735
53735
|
}
|
|
53736
53736
|
},
|
|
53737
53737
|
setup(O, { expose: ie }) {
|
|
53738
|
-
const te = Eo(""), Te = Eo(""), le = Eo(""), G = Eo("Cancel"), Ae = Eo(!1), Q = Eo(void 0), Ne = Eo(void 0), pt = (mn = {}) => (te.value = mn.title, Te.value = mn.message, le.value = mn.okButton, mn.cancelButton && (G.value = mn.cancelButton), Ae.value = !0, new Promise((
|
|
53739
|
-
Q.value =
|
|
53738
|
+
const te = Eo(""), Te = Eo(""), le = Eo(""), G = Eo("Cancel"), Ae = Eo(!1), Q = Eo(void 0), Ne = Eo(void 0), pt = (mn = {}) => (te.value = mn.title, Te.value = mn.message, le.value = mn.okButton, mn.cancelButton && (G.value = mn.cancelButton), Ae.value = !0, new Promise((Lo, us) => {
|
|
53739
|
+
Q.value = Lo, Ne.value = us;
|
|
53740
53740
|
})), qe = () => {
|
|
53741
53741
|
Ae.value = !1, Q.value(!0);
|
|
53742
53742
|
}, bn = () => {
|
|
@@ -53744,7 +53744,7 @@ const Ele = /* @__PURE__ */ qr(bre, [["render", Dre]]), Ore = {
|
|
|
53744
53744
|
};
|
|
53745
53745
|
return ie({
|
|
53746
53746
|
show: pt
|
|
53747
|
-
}), (mn,
|
|
53747
|
+
}), (mn, Lo) => Ae.value ? (pe(), ye("div", Ore, [
|
|
53748
53748
|
P("div", Rre, [
|
|
53749
53749
|
$re,
|
|
53750
53750
|
Mre,
|