golden-logic-ui 1.0.505 → 1.0.506
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 +282 -281
- package/dist/golden-logic-ui.umd.cjs +26 -26
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -464,7 +464,7 @@ function DK(A, te, G, Ce, oe, U) {
|
|
|
464
464
|
}, null, 8, EK),
|
|
465
465
|
G.is_enable_delete ? (ue(), de("i", {
|
|
466
466
|
key: 0,
|
|
467
|
-
onClick: (
|
|
467
|
+
onClick: (tt) => {
|
|
468
468
|
oe.media_id = q.id, oe.open_delete_modal = !0;
|
|
469
469
|
},
|
|
470
470
|
class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
|
|
@@ -664,7 +664,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
664
664
|
},
|
|
665
665
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
666
666
|
setup(A, { emit: te }) {
|
|
667
|
-
const G = A, Ce = te, oe = co(null), U = co([]), be = co([]), q = co([]), De = co(0),
|
|
667
|
+
const G = A, Ce = te, oe = co(null), U = co([]), be = co([]), q = co([]), De = co(0), tt = co(!1), pt = co(""), cn = co(""), kt = co(null), io = co(0), lo = co(0), eo = () => {
|
|
668
668
|
if (kt.value) {
|
|
669
669
|
io.value = kt.value.offsetWidth;
|
|
670
670
|
var Ht = kt.value.getBoundingClientRect();
|
|
@@ -729,7 +729,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
729
729
|
_t !== -1 && U.value.splice(_t, 1), q.value = U.value.map((Be) => Be.id), Ce("update:modelValue", q.value), Ce("selected", U.value), Ce("selectionChanged", U.value);
|
|
730
730
|
}
|
|
731
731
|
function In(Ht) {
|
|
732
|
-
Ht.target.id != G.field_name + "search" + cn.value && Ht.target.id != G.field_name && !Ht.target.classList.contains("showOptions") && (st(), De.value = 0,
|
|
732
|
+
Ht.target.id != G.field_name + "search" + cn.value && Ht.target.id != G.field_name && !Ht.target.classList.contains("showOptions") && (st(), De.value = 0, tt.value = !1);
|
|
733
733
|
}
|
|
734
734
|
function Ze(Ht) {
|
|
735
735
|
const _t = `${Ht}${cn.value}`, Be = document.getElementById(_t);
|
|
@@ -769,15 +769,15 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
769
769
|
}
|
|
770
770
|
function D(Ht) {
|
|
771
771
|
let _t = U.value.findIndex((Be) => Be.id === Ht.id);
|
|
772
|
-
_t !== -1 ? U.value.splice(_t, 1) : U.value.push(Ht),
|
|
772
|
+
_t !== -1 ? U.value.splice(_t, 1) : U.value.push(Ht), tt.value = !1, q.value = U.value.map((Be) => Be.id), Ce("update:modelValue", q.value), Ce("selected", U.value), Ce("selectionChanged", U.value);
|
|
773
773
|
}
|
|
774
774
|
function go() {
|
|
775
775
|
if (!G.show) {
|
|
776
|
-
if (
|
|
777
|
-
|
|
776
|
+
if (tt.value) {
|
|
777
|
+
tt.value = !1;
|
|
778
778
|
return;
|
|
779
779
|
}
|
|
780
|
-
pt.value = "",
|
|
780
|
+
pt.value = "", tt.value = !0, Bj(() => {
|
|
781
781
|
eo();
|
|
782
782
|
var Ht = document.getElementById(
|
|
783
783
|
`${G.field_name}search${cn.value}`
|
|
@@ -872,7 +872,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
872
872
|
]),
|
|
873
873
|
R("i", {
|
|
874
874
|
onClick: _t[1] || (_t[1] = (Be) => go()),
|
|
875
|
-
class: zt([
|
|
875
|
+
class: zt([tt.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas ltr:right-2 rtl:left-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
|
|
876
876
|
style: { top: "11px" }
|
|
877
877
|
}, null, 2),
|
|
878
878
|
fr(R("div", {
|
|
@@ -914,7 +914,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
914
914
|
}, dt(Be.name || Be.id || "-"), 43, eY))), 128))
|
|
915
915
|
])
|
|
916
916
|
], 4), [
|
|
917
|
-
[kf,
|
|
917
|
+
[kf, tt.value]
|
|
918
918
|
])
|
|
919
919
|
])
|
|
920
920
|
], 512)
|
|
@@ -977,7 +977,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
977
977
|
};
|
|
978
978
|
return Og(() => {
|
|
979
979
|
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), Ce.modelValue && (oe("update:modelValue", Ce.modelValue), U.value.value = Ce.modelValue), Ce.modelValueTranslate && (oe("update:modelValueTranslate", Ce.modelValueTranslate), be.value.value = Ce.modelValueTranslate);
|
|
980
|
-
}), te({ focus: () => U.value.focus() }), (De,
|
|
980
|
+
}), te({ focus: () => U.value.focus() }), (De, tt) => (ue(), de(jn, null, [
|
|
981
981
|
A.show ? (ue(), de("div", {
|
|
982
982
|
key: 0,
|
|
983
983
|
class: zt(A.field_name)
|
|
@@ -990,7 +990,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
990
990
|
id: A.field_name + "_i18n",
|
|
991
991
|
ref_key: "input_translate",
|
|
992
992
|
ref: be,
|
|
993
|
-
"onUpdate:modelValue":
|
|
993
|
+
"onUpdate:modelValue": tt[0] || (tt[0] = (pt) => De.inputTranslateValue = pt)
|
|
994
994
|
}, null, 8, nY), [
|
|
995
995
|
[_m, De.inputTranslateValue]
|
|
996
996
|
]),
|
|
@@ -1032,8 +1032,8 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1032
1032
|
" gl-textarea-form-invalid form-input-translation mt-4 ": A.error_message !== ""
|
|
1033
1033
|
}),
|
|
1034
1034
|
type: A.type,
|
|
1035
|
-
onInput:
|
|
1036
|
-
onKeydown:
|
|
1035
|
+
onInput: tt[1] || (tt[1] = (pt) => De.$emit("update:modelValue", pt.target.value)),
|
|
1036
|
+
onKeydown: tt[2] || (tt[2] = (pt) => De.$emit("keydown", pt)),
|
|
1037
1037
|
ref_key: "input",
|
|
1038
1038
|
ref: U,
|
|
1039
1039
|
rows: "4"
|
|
@@ -1121,7 +1121,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1121
1121
|
}).catch((De) => {
|
|
1122
1122
|
console.log(De);
|
|
1123
1123
|
});
|
|
1124
|
-
}), te({ focus: () => U.value.focus() }), (De,
|
|
1124
|
+
}), te({ focus: () => U.value.focus() }), (De, tt) => (ue(), de(jn, null, [
|
|
1125
1125
|
A.show ? (ue(), de("div", {
|
|
1126
1126
|
key: 0,
|
|
1127
1127
|
class: zt(A.field_name)
|
|
@@ -1134,7 +1134,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1134
1134
|
id: A.field_name + "_i18n",
|
|
1135
1135
|
ref_key: "input_translate",
|
|
1136
1136
|
ref: be,
|
|
1137
|
-
"onUpdate:modelValue":
|
|
1137
|
+
"onUpdate:modelValue": tt[0] || (tt[0] = (pt) => De.inputTranslateValue = pt)
|
|
1138
1138
|
}, null, 8, mY), [
|
|
1139
1139
|
[_m, De.inputTranslateValue]
|
|
1140
1140
|
]),
|
|
@@ -1175,8 +1175,8 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1175
1175
|
" gl-textarea-form-invalid form-input-translation mt-4 ": A.error_message !== ""
|
|
1176
1176
|
}]),
|
|
1177
1177
|
type: A.type,
|
|
1178
|
-
onInput:
|
|
1179
|
-
onKeydown:
|
|
1178
|
+
onInput: tt[1] || (tt[1] = (pt) => De.$emit("update:modelValue", pt.target.value)),
|
|
1179
|
+
onKeydown: tt[2] || (tt[2] = (pt) => De.$emit("keydown", pt)),
|
|
1180
1180
|
ref_key: "input",
|
|
1181
1181
|
ref: U,
|
|
1182
1182
|
rows: "4"
|
|
@@ -1242,7 +1242,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1242
1242
|
};
|
|
1243
1243
|
return Og(() => {
|
|
1244
1244
|
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), Ce.modelValue && (oe("update:modelValue", Ce.modelValue), U.value.value = Ce.modelValue), Ce.modelValueTranslate && (oe("update:modelValueTranslate", Ce.modelValueTranslate), be.value.value = Ce.modelValueTranslate);
|
|
1245
|
-
}), te({ focus: () => U.value.focus() }), (De,
|
|
1245
|
+
}), te({ focus: () => U.value.focus() }), (De, tt) => (ue(), de(jn, null, [
|
|
1246
1246
|
A.show ? (ue(), de("div", {
|
|
1247
1247
|
key: 0,
|
|
1248
1248
|
class: zt(A.field_name)
|
|
@@ -1255,7 +1255,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1255
1255
|
id: A.field_name + "_i18n",
|
|
1256
1256
|
ref_key: "input_translate",
|
|
1257
1257
|
ref: be,
|
|
1258
|
-
"onUpdate:modelValue":
|
|
1258
|
+
"onUpdate:modelValue": tt[0] || (tt[0] = (pt) => De.inputTranslateValue = pt)
|
|
1259
1259
|
}, null, 8, CY), [
|
|
1260
1260
|
[_m, De.inputTranslateValue]
|
|
1261
1261
|
]),
|
|
@@ -1297,8 +1297,8 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1297
1297
|
" gl-input-form-invalid form-input-translation mt-2 ": A.error_message !== ""
|
|
1298
1298
|
}),
|
|
1299
1299
|
type: A.type,
|
|
1300
|
-
onInput:
|
|
1301
|
-
onKeydown:
|
|
1300
|
+
onInput: tt[1] || (tt[1] = (pt) => De.$emit("update:modelValue", pt.target.value)),
|
|
1301
|
+
onKeydown: tt[2] || (tt[2] = (pt) => De.$emit("keydown", pt)),
|
|
1302
1302
|
ref_key: "input",
|
|
1303
1303
|
ref: U
|
|
1304
1304
|
}, null, 42, AY),
|
|
@@ -1347,7 +1347,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1347
1347
|
default: ""
|
|
1348
1348
|
}
|
|
1349
1349
|
},
|
|
1350
|
-
emits: ["update:modelValue", "keydown"],
|
|
1350
|
+
emits: ["update:modelValue", "keydown", "blur"],
|
|
1351
1351
|
setup(A, { expose: te, emit: G }) {
|
|
1352
1352
|
const Ce = A, oe = G, U = co(null);
|
|
1353
1353
|
Og(() => {
|
|
@@ -1392,8 +1392,9 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1392
1392
|
"gl-input-form-invalid": A.error_message !== ""
|
|
1393
1393
|
}),
|
|
1394
1394
|
type: A.type,
|
|
1395
|
-
"onUpdate:modelValue": De[0] || (De[0] = (
|
|
1396
|
-
onKeydown: De[1] || (De[1] = (
|
|
1395
|
+
"onUpdate:modelValue": De[0] || (De[0] = (tt) => be.value = tt),
|
|
1396
|
+
onKeydown: De[1] || (De[1] = (tt) => q.$emit("keydown", tt)),
|
|
1397
|
+
onBlur: De[2] || (De[2] = (tt) => q.$emit("blur", tt)),
|
|
1397
1398
|
ref_key: "input",
|
|
1398
1399
|
ref: U,
|
|
1399
1400
|
placeholder: A.placeholder
|
|
@@ -1500,8 +1501,8 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1500
1501
|
"gl-input-form-invalid-text": A.error_message !== ""
|
|
1501
1502
|
}, "!border-e-0 !rounded-s-lg"]),
|
|
1502
1503
|
type: A.type,
|
|
1503
|
-
"onUpdate:modelValue": De[0] || (De[0] = (
|
|
1504
|
-
onKeydown: De[1] || (De[1] = (
|
|
1504
|
+
"onUpdate:modelValue": De[0] || (De[0] = (tt) => be.value = tt),
|
|
1505
|
+
onKeydown: De[1] || (De[1] = (tt) => q.$emit("keydown", tt)),
|
|
1505
1506
|
ref_key: "input",
|
|
1506
1507
|
ref: U,
|
|
1507
1508
|
placeholder: A.placeholder
|
|
@@ -1563,20 +1564,20 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1563
1564
|
get() {
|
|
1564
1565
|
return G.modelValue.start;
|
|
1565
1566
|
},
|
|
1566
|
-
set(
|
|
1567
|
-
U.value.start =
|
|
1567
|
+
set(tt) {
|
|
1568
|
+
U.value.start = tt, De(U.value.start, U.value.end), Ce("update:modelValue", { start: U.value.start, end: U.value.end }), Ce("keydown", { start: U.value.start, end: U.value.end });
|
|
1568
1569
|
}
|
|
1569
1570
|
}), q = bu({
|
|
1570
1571
|
get() {
|
|
1571
1572
|
return G.modelValue.end;
|
|
1572
1573
|
},
|
|
1573
|
-
set(
|
|
1574
|
-
U.value.end =
|
|
1574
|
+
set(tt) {
|
|
1575
|
+
U.value.end = tt, De(U.value.start, U.value.end), Ce("update:modelValue", { start: U.value.start, end: U.value.end }), Ce("keydown", { start: U.value.start, end: U.value.end });
|
|
1575
1576
|
}
|
|
1576
|
-
}), De = (
|
|
1577
|
-
|
|
1577
|
+
}), De = (tt, pt) => {
|
|
1578
|
+
tt && pt && new Date(tt) > new Date(pt) ? (oe.value = "Start date cannot be after end date.", U.value.start = "", U.value.end = "", Ce("update:modelValue", { start: U.value.start, end: U.value.end }), Ce("keydown", { start: U.value.start, end: U.value.end })) : tt && pt && new Date(pt) < new Date(tt) ? (oe.value = "End date cannot be before start date.", U.value.start = "", U.value.end = "", Ce("update:modelValue", { start: U.value.start, end: U.value.end }), Ce("keydown", { start: U.value.start, end: U.value.end })) : oe.value = "";
|
|
1578
1579
|
};
|
|
1579
|
-
return (
|
|
1580
|
+
return (tt, pt) => (ue(), de(jn, null, [
|
|
1580
1581
|
A.show ? (ue(), de("div", {
|
|
1581
1582
|
key: 0,
|
|
1582
1583
|
class: zt(A.field_name)
|
|
@@ -1735,8 +1736,8 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1735
1736
|
const be = (De) => {
|
|
1736
1737
|
window.location.hash = encodeURIComponent(De), G("TabChange", De);
|
|
1737
1738
|
}, q = () => {
|
|
1738
|
-
const De = decodeURIComponent(window.location.hash.replace("#", "")),
|
|
1739
|
-
|
|
1739
|
+
const De = decodeURIComponent(window.location.hash.replace("#", "")), tt = oe.value.find((pt) => pt.title === De);
|
|
1740
|
+
tt && (U.value = tt.title);
|
|
1740
1741
|
};
|
|
1741
1742
|
return Sf(U, (De) => {
|
|
1742
1743
|
be(De);
|
|
@@ -1744,7 +1745,7 @@ const Oce = /* @__PURE__ */ zr(OK, [["render", BK]]), PK = { class: "bg-white bo
|
|
|
1744
1745
|
q(), window.addEventListener("hashchange", q);
|
|
1745
1746
|
}), lO(() => {
|
|
1746
1747
|
window.removeEventListener("hashchange", q);
|
|
1747
|
-
}), (De,
|
|
1748
|
+
}), (De, tt) => (ue(), de(jn, null, [
|
|
1748
1749
|
R("div", fX, [
|
|
1749
1750
|
R("div", gX, [
|
|
1750
1751
|
R("ul", hX, [
|
|
@@ -2279,7 +2280,7 @@ const Vce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-656677
|
|
|
2279
2280
|
const G = (oe) => {
|
|
2280
2281
|
te.style.cursor = "grabbing";
|
|
2281
2282
|
const U = (q) => {
|
|
2282
|
-
const De = q.clientX || q.touches && q.touches[0] && q.touches[0].clientX,
|
|
2283
|
+
const De = q.clientX || q.touches && q.touches[0] && q.touches[0].clientX, tt = q.clientY || q.touches && q.touches[0] && q.touches[0].clientY, pt = De - A.initialX, cn = tt - A.initialY;
|
|
2283
2284
|
Math.abs(pt) > Math.abs(cn) ? (q.preventDefault(), Math.abs(pt) >= 70 && (pt < 0 ? A.next() : A.prev(), A.initialX = De)) : te.style.cursor = "grab", Math.abs(cn) > Math.abs(pt) && (te.style.cursor = "grab");
|
|
2284
2285
|
}, be = () => {
|
|
2285
2286
|
document.removeEventListener("mousemove", U), document.removeEventListener("touchmove", U), document.removeEventListener("mouseup", be), document.removeEventListener("touchend", be), te.style.cursor = "grab";
|
|
@@ -3291,7 +3292,7 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3291
3292
|
setup(A, { emit: te }) {
|
|
3292
3293
|
const G = A, Ce = te;
|
|
3293
3294
|
co(null);
|
|
3294
|
-
const oe = co({}), U = co([]), be = co(0), q = co(!1), De = co(""),
|
|
3295
|
+
const oe = co({}), U = co([]), be = co(0), q = co(!1), De = co(""), tt = co(""), pt = co(null), cn = co(0), kt = co(0), io = () => {
|
|
3295
3296
|
if (pt.value) {
|
|
3296
3297
|
cn.value = pt.value.offsetWidth;
|
|
3297
3298
|
var Xt = pt.value.getBoundingClientRect();
|
|
@@ -3301,7 +3302,7 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3301
3302
|
Xt.key === "Enter" && Xt.target.form && Xt.preventDefault();
|
|
3302
3303
|
};
|
|
3303
3304
|
Og(() => {
|
|
3304
|
-
|
|
3305
|
+
tt.value = Ls(), G.show || (window.addEventListener("scroll", io), document.body.addEventListener("click", he), document.addEventListener("keypress", lo));
|
|
3305
3306
|
}), lO(() => {
|
|
3306
3307
|
window.removeEventListener("scroll", io), document.body.removeEventListener("click", he), document.removeEventListener("keypress", lo);
|
|
3307
3308
|
});
|
|
@@ -3340,14 +3341,14 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3340
3341
|
return Xt !== null && typeof Xt == "object" && Object.keys(Xt).length > 0;
|
|
3341
3342
|
}
|
|
3342
3343
|
function he(Xt) {
|
|
3343
|
-
Xt.target.id != G.field_name + "search" +
|
|
3344
|
+
Xt.target.id != G.field_name + "search" + tt.value && Xt.target.id != G.field_name && !Xt.target.classList.contains("showOptions") && (pe(), be.value = 0, q.value = !1);
|
|
3344
3345
|
}
|
|
3345
3346
|
function Tt(Xt) {
|
|
3346
|
-
const Cn = `${Xt}${
|
|
3347
|
+
const Cn = `${Xt}${tt.value}`, Nt = document.getElementById(Cn);
|
|
3347
3348
|
Nt && Nt.scrollIntoView();
|
|
3348
3349
|
}
|
|
3349
3350
|
function ia(Xt) {
|
|
3350
|
-
const Cn = `${Xt}${
|
|
3351
|
+
const Cn = `${Xt}${tt.value}`, Nt = document.getElementById(Cn);
|
|
3351
3352
|
Nt && Nt.click();
|
|
3352
3353
|
}
|
|
3353
3354
|
function oo(Xt) {
|
|
@@ -3382,7 +3383,7 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3382
3383
|
De.value = "", q.value = !0, Bj(() => {
|
|
3383
3384
|
io();
|
|
3384
3385
|
var Xt = document.getElementById(
|
|
3385
|
-
`${G.field_name}search${
|
|
3386
|
+
`${G.field_name}search${tt.value}`
|
|
3386
3387
|
);
|
|
3387
3388
|
Xt && Xt.focus();
|
|
3388
3389
|
});
|
|
@@ -3485,7 +3486,7 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3485
3486
|
fr(R("input", {
|
|
3486
3487
|
type: "search",
|
|
3487
3488
|
"onUpdate:modelValue": Cn[3] || (Cn[3] = (st) => De.value = st),
|
|
3488
|
-
id: `${A.field_name}search${
|
|
3489
|
+
id: `${A.field_name}search${tt.value}`,
|
|
3489
3490
|
onKeydown: Ot,
|
|
3490
3491
|
onBlur: Cn[4] || (Cn[4] = (st) => pe()),
|
|
3491
3492
|
autocomplete: "off",
|
|
@@ -3507,7 +3508,7 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3507
3508
|
onClick: (Be) => ss(st),
|
|
3508
3509
|
onMousedown: (Be) => ss(st),
|
|
3509
3510
|
key: Ht,
|
|
3510
|
-
id: `${Ht + 1}${
|
|
3511
|
+
id: `${Ht + 1}${tt.value}`
|
|
3511
3512
|
}, [
|
|
3512
3513
|
R("div", Kee, [
|
|
3513
3514
|
((_t = oe.value) == null ? void 0 : _t.id) === st.id ? (ue(), de("svg", Yee, Jee)) : qe("", !0),
|
|
@@ -3621,8 +3622,8 @@ const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3621
3622
|
" gl-textarea-form-invalid mt-4 ": A.error_message !== ""
|
|
3622
3623
|
}),
|
|
3623
3624
|
type: A.type,
|
|
3624
|
-
"onUpdate:modelValue": De[0] || (De[0] = (
|
|
3625
|
-
onKeydown: De[1] || (De[1] = (
|
|
3625
|
+
"onUpdate:modelValue": De[0] || (De[0] = (tt) => be.value = tt),
|
|
3626
|
+
onKeydown: De[1] || (De[1] = (tt) => q.$emit("keydown", tt)),
|
|
3626
3627
|
ref_key: "input",
|
|
3627
3628
|
ref: U,
|
|
3628
3629
|
rows: "4",
|
|
@@ -3679,14 +3680,14 @@ var cq = { exports: {} };
|
|
|
3679
3680
|
return !1;
|
|
3680
3681
|
return !0;
|
|
3681
3682
|
});
|
|
3682
|
-
},
|
|
3683
|
+
}, tt = function(e, n) {
|
|
3683
3684
|
return oe(De(e), function(o) {
|
|
3684
3685
|
return Ce(o, n);
|
|
3685
3686
|
});
|
|
3686
3687
|
}, pt = function(e) {
|
|
3687
3688
|
return U(function(n, o) {
|
|
3688
3689
|
var r = Object.keys(n), l = Object.keys(o);
|
|
3689
|
-
if (!
|
|
3690
|
+
if (!tt(q).eq(r, l))
|
|
3690
3691
|
return !1;
|
|
3691
3692
|
for (var u = r.length, f = 0; f < u; f++) {
|
|
3692
3693
|
var b = r[f];
|
|
@@ -3727,7 +3728,7 @@ var cq = { exports: {} };
|
|
|
3727
3728
|
throw new Error(e);
|
|
3728
3729
|
}, ho = (e) => e(), vr = (e) => {
|
|
3729
3730
|
e();
|
|
3730
|
-
},
|
|
3731
|
+
}, nt = st(!1), bt = st(!0);
|
|
3731
3732
|
class z {
|
|
3732
3733
|
constructor(n, o) {
|
|
3733
3734
|
this.tag = n, this.value = o;
|
|
@@ -3856,7 +3857,7 @@ var cq = { exports: {} };
|
|
|
3856
3857
|
break;
|
|
3857
3858
|
}
|
|
3858
3859
|
return z.none();
|
|
3859
|
-
}, ps = (e, n) => Ua(e, n,
|
|
3860
|
+
}, ps = (e, n) => Ua(e, n, nt), yr = (e, n) => {
|
|
3860
3861
|
for (let o = 0, r = e.length; o < r; o++) {
|
|
3861
3862
|
const l = e[o];
|
|
3862
3863
|
if (n(l, o))
|
|
@@ -4417,7 +4418,7 @@ var cq = { exports: {} };
|
|
|
4417
4418
|
const o = e.dom, r = n.dom;
|
|
4418
4419
|
return o === r ? !1 : o.contains(r);
|
|
4419
4420
|
}, yi = (e) => ie.fromDom(e.dom.ownerDocument), ic = (e) => Vh(e) ? e : yi(e), Cu = (e) => ie.fromDom(ic(e).dom.documentElement), kc = (e) => ie.fromDom(ic(e).dom.defaultView), pa = (e) => z.from(e.dom.parentNode).map(ie.fromDom), Zc = (e) => z.from(e.dom.parentElement).map(ie.fromDom), Ig = (e, n) => {
|
|
4420
|
-
const o = pe(n) ? n :
|
|
4421
|
+
const o = pe(n) ? n : nt;
|
|
4421
4422
|
let r = e.dom;
|
|
4422
4423
|
const l = [];
|
|
4423
4424
|
for (; r.parentNode !== null && r.parentNode !== void 0; ) {
|
|
@@ -4461,7 +4462,7 @@ var cq = { exports: {} };
|
|
|
4461
4462
|
var Ps = (e, n, o, r, l) => e(o, r) ? z.some(o) : pe(l) && l(o) ? z.none() : n(o, r, l);
|
|
4462
4463
|
const Xs = (e, n, o) => {
|
|
4463
4464
|
let r = e.dom;
|
|
4464
|
-
const l = pe(o) ? o :
|
|
4465
|
+
const l = pe(o) ? o : nt;
|
|
4465
4466
|
for (; r.parentNode; ) {
|
|
4466
4467
|
r = r.parentNode;
|
|
4467
4468
|
const u = ie.fromDom(r);
|
|
@@ -5647,7 +5648,7 @@ var cq = { exports: {} };
|
|
|
5647
5648
|
webkitMovementY: !0,
|
|
5648
5649
|
keyIdentifier: !0,
|
|
5649
5650
|
mozPressure: !0
|
|
5650
|
-
}, F4 = (e) => e instanceof Event || pe(e.initEvent), aC = (e) => e.isDefaultPrevented === bt || e.isDefaultPrevented ===
|
|
5651
|
+
}, F4 = (e) => e instanceof Event || pe(e.initEvent), aC = (e) => e.isDefaultPrevented === bt || e.isDefaultPrevented === nt, Gy = (e) => In(e.preventDefault) || F4(e), ap = (e, n) => {
|
|
5651
5652
|
const o = n ?? {};
|
|
5652
5653
|
for (const r in e)
|
|
5653
5654
|
pn($b, r) || (o[r] = e[r]);
|
|
@@ -5661,7 +5662,7 @@ var cq = { exports: {} };
|
|
|
5661
5662
|
u.cancelBubble = !0, u.isPropagationStopped = bt, pe(n.stopPropagation) && n.stopPropagation();
|
|
5662
5663
|
}, u.stopImmediatePropagation = () => {
|
|
5663
5664
|
u.isImmediatePropagationStopped = bt, u.stopPropagation();
|
|
5664
|
-
}, aC(u) || (u.isDefaultPrevented = u.defaultPrevented === !0 ? bt :
|
|
5665
|
+
}, aC(u) || (u.isDefaultPrevented = u.defaultPrevented === !0 ? bt : nt, u.isPropagationStopped = u.cancelBubble === !0 ? bt : nt, u.isImmediatePropagationStopped = nt)), u;
|
|
5665
5666
|
}, Mb = "mce-data-", H4 = /^(?:mouse|contextmenu)|click/, Bb = (e, n, o, r) => {
|
|
5666
5667
|
e.addEventListener(n, o, r || !1);
|
|
5667
5668
|
}, cp = (e, n, o, r) => {
|
|
@@ -6617,7 +6618,7 @@ var cq = { exports: {} };
|
|
|
6617
6618
|
jc(e, o);
|
|
6618
6619
|
const r = $r(e);
|
|
6619
6620
|
return Go(o, r), Eo(e), o;
|
|
6620
|
-
}, bp = (e, n, o =
|
|
6621
|
+
}, bp = (e, n, o = nt) => {
|
|
6621
6622
|
const r = new Es(e, n), l = (u) => {
|
|
6622
6623
|
let f;
|
|
6623
6624
|
do
|
|
@@ -6983,7 +6984,7 @@ var cq = { exports: {} };
|
|
|
6983
6984
|
inner: e,
|
|
6984
6985
|
fold: (u, f) => f(e),
|
|
6985
6986
|
isValue: bt,
|
|
6986
|
-
isError:
|
|
6987
|
+
isError: nt,
|
|
6987
6988
|
map: (u) => Ac.value(u(e)),
|
|
6988
6989
|
mapError: r,
|
|
6989
6990
|
bind: n,
|
|
@@ -7005,12 +7006,12 @@ var cq = { exports: {} };
|
|
|
7005
7006
|
tag: !1,
|
|
7006
7007
|
inner: e,
|
|
7007
7008
|
fold: (r, l) => r(e),
|
|
7008
|
-
isValue:
|
|
7009
|
+
isValue: nt,
|
|
7009
7010
|
isError: bt,
|
|
7010
7011
|
map: n,
|
|
7011
7012
|
mapError: (r) => Ac.error(r(e)),
|
|
7012
7013
|
bind: n,
|
|
7013
|
-
exists:
|
|
7014
|
+
exists: nt,
|
|
7014
7015
|
forall: bt,
|
|
7015
7016
|
getOr: Ht,
|
|
7016
7017
|
or: Ht,
|
|
@@ -8027,7 +8028,7 @@ Required: ` + n.join(", "));
|
|
|
8027
8028
|
var o;
|
|
8028
8029
|
const l = ((o = e.ownerDocument) !== null && o !== void 0 ? o : document).createTextNode(x);
|
|
8029
8030
|
e.appendChild(l), n.setStart(l, 0), n.setEnd(l, 0);
|
|
8030
|
-
}, z3 = (e) => !e.hasChildNodes(), yO = (e, n) => Iu(e).fold(
|
|
8031
|
+
}, z3 = (e) => !e.hasChildNodes(), yO = (e, n) => Iu(e).fold(nt, (o) => (n.setStart(o.container(), o.offset()), n.setEnd(o.container(), o.offset()), !0)), r_ = (e, n, o) => z3(n) && ph(e, n) ? (s_(n, o), !0) : !1, So = (e, n, o, r) => {
|
|
8031
8032
|
const l = o[n ? "start" : "end"], u = e.getRoot();
|
|
8032
8033
|
if (l) {
|
|
8033
8034
|
let f = u, b = l[0];
|
|
@@ -8999,7 +9000,7 @@ Required: ` + n.join(", "));
|
|
|
8999
9000
|
}
|
|
9000
9001
|
return u;
|
|
9001
9002
|
},
|
|
9002
|
-
normalize: (u) => S(e, u).fold(
|
|
9003
|
+
normalize: (u) => S(e, u).fold(nt, (f) => (u.setStart(f.startContainer, f.startOffset), u.setEnd(f.endContainer, f.endOffset), !0))
|
|
9003
9004
|
});
|
|
9004
9005
|
j.compareRanges = cf, j.getCaretRangeFromPoint = $i, j.getSelectedNode = Qy, j.getNode = oi;
|
|
9005
9006
|
const fe = ((e, n) => {
|
|
@@ -9796,7 +9797,7 @@ Required: ` + n.join(", "));
|
|
|
9796
9797
|
}), ET = Be(YO, !0, Hp), H_ = Be(YO, !1, Hp), LN = (e) => {
|
|
9797
9798
|
const n = e.container();
|
|
9798
9799
|
return ut(n) && (n.data.length === 0 || T(n.data) && yh.isBookmarkNode(n.parentNode));
|
|
9799
|
-
}, M1 = (e, n) => (o) => l1(e ? 0 : -1, o).filter(n).isSome(), FN = (e) => Sl(e) && hr(ie.fromDom(e), "display") === "block", XO = (e) => vo(e) && !Yh(e), HN = M1(!0, FN), VN = M1(!1, FN), vw = M1(!0, pr), Pv = M1(!1, pr), JO = M1(!0, Au), Xn = M1(!1, Au), Sh = M1(!0, XO), uf = M1(!1, XO), QO = (e) => e.slice(0, -1), eR = (e, n, o) => Na(n, e) ? QO(Ig(e, (r) => o(r) || To(r, n))) : [], AT = (e, n) => eR(e, n,
|
|
9800
|
+
}, M1 = (e, n) => (o) => l1(e ? 0 : -1, o).filter(n).isSome(), FN = (e) => Sl(e) && hr(ie.fromDom(e), "display") === "block", XO = (e) => vo(e) && !Yh(e), HN = M1(!0, FN), VN = M1(!1, FN), vw = M1(!0, pr), Pv = M1(!1, pr), JO = M1(!0, Au), Xn = M1(!1, Au), Sh = M1(!0, XO), uf = M1(!1, XO), QO = (e) => e.slice(0, -1), eR = (e, n, o) => Na(n, e) ? QO(Ig(e, (r) => o(r) || To(r, n))) : [], AT = (e, n) => eR(e, n, nt), cg = (e, n) => [e].concat(AT(e, n)), V_ = (e, n, o) => Nu(e, n, o, LN), zN = (e) => (n) => e.isBlock(bo(n)), DT = (e, n, o) => ps(cg(ie.fromDom(n.container()), e), zN(o)), tR = (e, n, o, r) => V_(e, n.dom, o).forall((l) => DT(n, o, r).fold(() => !gd(l, o, n.dom), (u) => !gd(l, o, n.dom) && Na(u, ie.fromDom(l.container())))), nR = (e, n, o, r) => DT(n, o, r).fold(() => V_(e, n.dom, o).forall((l) => !gd(l, o, n.dom)), (l) => V_(e, l.dom, o).isNone()), OT = Be(nR, !1), oR = Be(nR, !0), UN = Be(tR, !1), WN = Be(tR, !0), ZN = (e) => iv(e).exists(Vd), z_ = (e, n, o, r) => {
|
|
9800
9801
|
const l = Ut(cg(ie.fromDom(o.container()), n), (f) => r.isBlock(bo(f))), u = to(l).getOr(n);
|
|
9801
9802
|
return Xa(e, u.dom, o).filter(ZN);
|
|
9802
9803
|
}, yw = (e, n, o) => iv(n).exists(Vd) || z_(!0, e, n, o).isSome(), ww = (e, n, o) => I3(n).exists(Vd) || z_(!1, e, n, o).isSome(), jN = Be(z_, !1), GN = Be(z_, !0), sR = (e) => Le.isTextPosition(e) && !e.isAtStart() && !e.isAtEnd(), rR = (e, n, o) => {
|
|
@@ -10486,7 +10487,7 @@ Required: ` + n.join(", "));
|
|
|
10486
10487
|
}, qR = (e, n, o) => z.from(e.getBody()).map((r) => lS(n) ? PI(e, r, n, o) : BI(e, r, n, o)).getOr({
|
|
10487
10488
|
content: n,
|
|
10488
10489
|
html: lS(o.content) ? "" : o.content
|
|
10489
|
-
}), KR = (e) => pe(e) ? e :
|
|
10490
|
+
}), KR = (e) => pe(e) ? e : nt, gE = (e, n, o) => {
|
|
10490
10491
|
let r = e.dom;
|
|
10491
10492
|
const l = KR(o);
|
|
10492
10493
|
for (; r.parentNode; ) {
|
|
@@ -11005,7 +11006,7 @@ Required: ` + n.join(", "));
|
|
|
11005
11006
|
!y.isCollapsed() || !Jr(f) || Vp(e).length ? (h1(e, () => sg(e, se), (Y) => Jr(f) && cS(e, n, o, Y)), e.nodeChanged()) : e$(e, n, o, l), OE(e, n, o), wh(e, n, r, o);
|
|
11006
11007
|
}, p$ = (e, n, o, r, l) => {
|
|
11007
11008
|
(r || e.selection.isEditable()) && WI(e, n, o, r, l);
|
|
11008
|
-
}, Hw = (e, n, o, r, l) => f$(e, n, o, r, l).fold(
|
|
11009
|
+
}, Hw = (e, n, o, r, l) => f$(e, n, o, r, l).fold(nt, (u) => (e.dom.rename(r, u), !0), bt), b$ = ct.each, ZI = (e, n, o, r) => {
|
|
11009
11010
|
const l = (u) => {
|
|
11010
11011
|
if (ru(u) && qt(u.parentNode) && e.isEditable(u)) {
|
|
11011
11012
|
const f = u_(e, u.parentNode);
|
|
@@ -13422,17 +13423,17 @@ Required: ` + n.join(", "));
|
|
|
13422
13423
|
redo: e,
|
|
13423
13424
|
clear: Nt,
|
|
13424
13425
|
reset: Nt,
|
|
13425
|
-
hasUndo:
|
|
13426
|
-
hasRedo:
|
|
13426
|
+
hasUndo: nt,
|
|
13427
|
+
hasRedo: nt,
|
|
13427
13428
|
transact: e,
|
|
13428
13429
|
ignore: Nt,
|
|
13429
13430
|
extra: Nt
|
|
13430
13431
|
},
|
|
13431
13432
|
formatter: {
|
|
13432
|
-
match:
|
|
13433
|
+
match: nt,
|
|
13433
13434
|
matchAll: st([]),
|
|
13434
13435
|
matchNode: st(void 0),
|
|
13435
|
-
canApply:
|
|
13436
|
+
canApply: nt,
|
|
13436
13437
|
closest: n,
|
|
13437
13438
|
apply: Nt,
|
|
13438
13439
|
remove: Nt,
|
|
@@ -15210,7 +15211,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15210
15211
|
return qt(o) && o.getAttribute("data-mce-caret") === r;
|
|
15211
15212
|
}, C9 = (e, n, o, r, l) => {
|
|
15212
15213
|
const u = (f) => l.isInline(f.nodeName.toLowerCase()) && !gd(o, r, e);
|
|
15213
|
-
return QC(!n, o).fold(() => QC(n, r).fold(
|
|
15214
|
+
return QC(!n, o).fold(() => QC(n, r).fold(nt, u), u);
|
|
15214
15215
|
}, aM = (e, n, o, r) => {
|
|
15215
15216
|
const l = r.getNode(!n);
|
|
15216
15217
|
return Sw(ie.fromDom(e), ie.fromDom(o.getNode())).map((u) => br(u) ? Ni.remove(u.dom) : Ni.moveToElement(l)).orThunk(() => z.some(Ni.moveToElement(l)));
|
|
@@ -15901,7 +15902,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15901
15902
|
]), gx = {
|
|
15902
15903
|
...fk,
|
|
15903
15904
|
none: (e) => fk.none(e)
|
|
15904
|
-
}, FH = (e, n) => m8(e, n, bt), m8 = (e, n, o) => wr($r(e), (r) => cc(r, n) ? o(r) ? [r] : [] : m8(r, n, o)), gm = (e, n, o =
|
|
15905
|
+
}, FH = (e, n) => m8(e, n, bt), m8 = (e, n, o) => wr($r(e), (r) => cc(r, n) ? o(r) ? [r] : [] : m8(r, n, o)), gm = (e, n, o = nt) => {
|
|
15905
15906
|
if (o(n))
|
|
15906
15907
|
return z.none();
|
|
15907
15908
|
if (Ke(e, bo(n)))
|
|
@@ -16425,7 +16426,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
|
|
|
16425
16426
|
by,
|
|
16426
16427
|
Q8
|
|
16427
16428
|
], o7 = [wf].concat(NA), zV = [
|
|
16428
|
-
J8("predicate",
|
|
16429
|
+
J8("predicate", nt),
|
|
16429
16430
|
yf("scope", "node", [
|
|
16430
16431
|
"node",
|
|
16431
16432
|
"editor"
|
|
@@ -16535,7 +16536,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
|
|
|
16535
16536
|
const { dom: r, selection: l } = e, u = e.getBody();
|
|
16536
16537
|
if (o === "character") {
|
|
16537
16538
|
const f = Le.fromRangeStart(l.getRng()), b = r.getParent(f.container(), r.isBlock), y = Ex(r, f), k = b && r.isEmpty(b), B = ae(b == null ? void 0 : b.previousSibling), P = ae(b == null ? void 0 : b.nextSibling);
|
|
16538
|
-
return k && (n ? P : B) && ef(!n, u, f).exists((se) => l7(r, se) && !Za(y, Ex(r, se))) ? !0 : ef(n, u, f).fold(
|
|
16539
|
+
return k && (n ? P : B) && ef(!n, u, f).exists((se) => l7(r, se) && !Za(y, Ex(r, se))) ? !0 : ef(n, u, f).fold(nt, (F) => {
|
|
16539
16540
|
const ee = Ex(r, F);
|
|
16540
16541
|
if (l7(r, F) && !Za(y, ee)) {
|
|
16541
16542
|
if (n || UA(e, F, !1), b && k) {
|
|
@@ -17079,7 +17080,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
|
|
|
17079
17080
|
Ok(e.getBody(), n) || jc(ie.fromDom(n), ie.fromTag("br"));
|
|
17080
17081
|
const o = ie.fromTag("br");
|
|
17081
17082
|
jc(ie.fromDom(n), o), y7(e, o.dom, !1), e.undoManager.add();
|
|
17082
|
-
}, xz = (e) => cs(e.getNode()), Ok = (e, n) => xz(Le.after(n)) ? !0 : Ql(e, Le.after(n)).map((o) => cs(o.getNode())).getOr(!1), w7 = (e) => e && e.nodeName === "A" && "href" in e, Cz = (e) => e.fold(
|
|
17083
|
+
}, xz = (e) => cs(e.getNode()), Ok = (e, n) => xz(Le.after(n)) ? !0 : Ql(e, Le.after(n)).map((o) => cs(o.getNode())).getOr(!1), w7 = (e) => e && e.nodeName === "A" && "href" in e, Cz = (e) => e.fold(nt, w7, w7, nt), JA = (e) => {
|
|
17083
17084
|
const n = Be(N1, e), o = Le.fromRangeStart(e.selection.getRng());
|
|
17084
17085
|
return $l(n, e.getBody(), o).filter(Cz);
|
|
17085
17086
|
}, QA = (e, n) => {
|
|
@@ -19810,7 +19811,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
|
|
|
19810
19811
|
return !!GZ[n.toLowerCase()];
|
|
19811
19812
|
}
|
|
19812
19813
|
constructor(n) {
|
|
19813
|
-
this.bindings = {}, this.settings = n || {}, this.scope = this.settings.scope || this, this.toggleEvent = this.settings.toggleEvent ||
|
|
19814
|
+
this.bindings = {}, this.settings = n || {}, this.scope = this.settings.scope || this, this.toggleEvent = this.settings.toggleEvent || nt;
|
|
19814
19815
|
}
|
|
19815
19816
|
fire(n, o) {
|
|
19816
19817
|
return this.dispatch(n, o);
|
|
@@ -19832,7 +19833,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, xo(n, DA)), G8 = st(U8), wk
|
|
|
19832
19833
|
return l;
|
|
19833
19834
|
}
|
|
19834
19835
|
on(n, o, r, l) {
|
|
19835
|
-
if (o === !1 && (o =
|
|
19836
|
+
if (o === !1 && (o = nt), o) {
|
|
19836
19837
|
const u = {
|
|
19837
19838
|
func: o,
|
|
19838
19839
|
removed: !1
|
|
@@ -21046,7 +21047,7 @@ tinymce.IconManager.add("default", {
|
|
|
21046
21047
|
}, G = (t) => {
|
|
21047
21048
|
const s = typeof t;
|
|
21048
21049
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && te(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
21049
|
-
}, Ce = (t) => (s) => G(s) === t, oe = (t) => (s) => typeof s === t, U = (t) => (s) => t === s, be = (t, s) => De(t) && te(t, s, (a, c) => A(a) === c), q = Ce("string"), De = Ce("object"),
|
|
21050
|
+
}, Ce = (t) => (s) => G(s) === t, oe = (t) => (s) => typeof s === t, U = (t) => (s) => t === s, be = (t, s) => De(t) && te(t, s, (a, c) => A(a) === c), q = Ce("string"), De = Ce("object"), tt = (t) => be(t, Object), pt = Ce("array"), cn = U(null), kt = oe("boolean"), io = U(void 0), lo = (t) => t == null, eo = (t) => !lo(t), Ot = oe("function"), Ls = oe("number"), dn = (t, s) => {
|
|
21050
21051
|
if (pt(t)) {
|
|
21051
21052
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
21052
21053
|
if (!s(t[a]))
|
|
@@ -21158,7 +21159,7 @@ tinymce.IconManager.add("default", {
|
|
|
21158
21159
|
a.push(d);
|
|
21159
21160
|
}
|
|
21160
21161
|
return a;
|
|
21161
|
-
},
|
|
21162
|
+
}, nt = (t, s) => {
|
|
21162
21163
|
const a = t.length, c = new Array(a);
|
|
21163
21164
|
for (let d = 0; d < a; d++) {
|
|
21164
21165
|
const g = t[d];
|
|
@@ -21220,7 +21221,7 @@ tinymce.IconManager.add("default", {
|
|
|
21220
21221
|
Ht.apply(s, t[a]);
|
|
21221
21222
|
}
|
|
21222
21223
|
return s;
|
|
21223
|
-
}, Te = (t, s) => Ye(
|
|
21224
|
+
}, Te = (t, s) => Ye(nt(t, s)), wn = (t, s) => {
|
|
21224
21225
|
for (let a = 0, c = t.length; a < c; ++a) {
|
|
21225
21226
|
const d = t[a];
|
|
21226
21227
|
if (s(d, a) !== !0)
|
|
@@ -21367,7 +21368,7 @@ tinymce.IconManager.add("default", {
|
|
|
21367
21368
|
}
|
|
21368
21369
|
}, os = (t) => t.nodeType !== Ts && t.nodeType !== Xi && t.nodeType !== ys || t.childElementCount === 0, $a = (t, s) => {
|
|
21369
21370
|
const a = s === void 0 ? document : s.dom;
|
|
21370
|
-
return os(a) ? [] :
|
|
21371
|
+
return os(a) ? [] : nt(a.querySelectorAll(t), Ae.fromDom);
|
|
21371
21372
|
}, Ji = (t, s) => {
|
|
21372
21373
|
const a = s === void 0 ? document : s.dom;
|
|
21373
21374
|
return os(a) ? D.none() : D.from(a.querySelector(t)).map(Ae.fromDom);
|
|
@@ -21385,7 +21386,7 @@ tinymce.IconManager.add("default", {
|
|
|
21385
21386
|
c = g;
|
|
21386
21387
|
}
|
|
21387
21388
|
return d;
|
|
21388
|
-
}, xl = (t) => D.from(t.dom.offsetParent).map(Ae.fromDom), Qi = (t) => D.from(t.dom.nextSibling).map(Ae.fromDom), Ma = (t) =>
|
|
21389
|
+
}, xl = (t) => D.from(t.dom.offsetParent).map(Ae.fromDom), Qi = (t) => D.from(t.dom.nextSibling).map(Ae.fromDom), Ma = (t) => nt(t.dom.childNodes, Ae.fromDom), Cc = (t, s) => {
|
|
21389
21390
|
const a = t.dom.childNodes;
|
|
21390
21391
|
return D.from(a[s]).map(Ae.fromDom);
|
|
21391
21392
|
}, hi = (t) => Cc(t, 0), vu = (t, s) => ({
|
|
@@ -22000,7 +22001,7 @@ tinymce.IconManager.add("default", {
|
|
|
22000
22001
|
case "custom":
|
|
22001
22002
|
return a(t.newKey, t.instantiator);
|
|
22002
22003
|
}
|
|
22003
|
-
}, Sr = (t, s) => s, Ug = (t, s) =>
|
|
22004
|
+
}, Sr = (t, s) => s, Ug = (t, s) => tt(t) && tt(s) ? Go(t, s) : s, qh = (t) => (...s) => {
|
|
22004
22005
|
if (s.length === 0)
|
|
22005
22006
|
throw new Error("Can't merge zero objects");
|
|
22006
22007
|
const a = {};
|
|
@@ -22036,7 +22037,7 @@ tinymce.IconManager.add("default", {
|
|
|
22036
22037
|
path: [],
|
|
22037
22038
|
getErrorInfo: ae("... (only showing first ten failures)")
|
|
22038
22039
|
}]) : t;
|
|
22039
|
-
return
|
|
22040
|
+
return nt(s, (a) => "Failed path: (" + a.path.join(" > ") + `)
|
|
22040
22041
|
` + a.getErrorInfo());
|
|
22041
22042
|
}, _ = (t, s) => cr.serror([{
|
|
22042
22043
|
path: t,
|
|
@@ -22102,11 +22103,11 @@ tinymce.IconManager.add("default", {
|
|
|
22102
22103
|
}, rn = (t) => ({
|
|
22103
22104
|
extract: (c, d) => su(c, d, t),
|
|
22104
22105
|
toString: () => `obj{
|
|
22105
|
-
` +
|
|
22106
|
+
` + nt(t, (d) => nd(d, (g, p, w, C) => g + " -> " + C.toString(), (g, p) => "state(" + g + ")")).join(`
|
|
22106
22107
|
`) + "}"
|
|
22107
22108
|
}), Tu = (t) => ({
|
|
22108
22109
|
extract: (c, d) => {
|
|
22109
|
-
const g =
|
|
22110
|
+
const g = nt(d, (p, w) => t.extract(c.concat(["[" + w + "]"]), p));
|
|
22110
22111
|
return Rf.consolidateArr(g);
|
|
22111
22112
|
},
|
|
22112
22113
|
toString: () => "array(" + t.toString() + ")"
|
|
@@ -22126,7 +22127,7 @@ tinymce.IconManager.add("default", {
|
|
|
22126
22127
|
}
|
|
22127
22128
|
return Rf.consolidateArr(w);
|
|
22128
22129
|
},
|
|
22129
|
-
toString: () => "oneOf(" +
|
|
22130
|
+
toString: () => "oneOf(" + nt(t, (g) => g.toString()).join(", ") + ")"
|
|
22130
22131
|
};
|
|
22131
22132
|
}, ru = (t, s) => {
|
|
22132
22133
|
const a = (g, p) => Tu(Jt(t)).extract(g, p);
|
|
@@ -22134,7 +22135,7 @@ tinymce.IconManager.add("default", {
|
|
|
22134
22135
|
extract: (g, p) => {
|
|
22135
22136
|
const w = bs(p), C = a(g, w);
|
|
22136
22137
|
return cr.bind(C, (E) => {
|
|
22137
|
-
const $ =
|
|
22138
|
+
const $ = nt(E, (N) => jr(N, N, Eo(), s));
|
|
22138
22139
|
return rn($).extract(g, p);
|
|
22139
22140
|
});
|
|
22140
22141
|
},
|
|
@@ -22475,7 +22476,7 @@ Check the ` + ld() + " event handlers"), !1) : !0;
|
|
|
22475
22476
|
name: s,
|
|
22476
22477
|
parameters: uu(p.slice(0, 1).concat(p.slice(3)))
|
|
22477
22478
|
}), t;
|
|
22478
|
-
}, uu = (t) =>
|
|
22479
|
+
}, uu = (t) => nt(t, (s) => yl(s, "/*") ? s.substring(0, s.length - 2) : s), Ob = (t, s) => {
|
|
22479
22480
|
const a = t.toString(), c = a.indexOf(")") + 1, d = a.indexOf("("), g = a.substring(d + 1, c - 1).split(/,\s*/);
|
|
22480
22481
|
return t.toFunctionAnnotation = () => ({
|
|
22481
22482
|
name: s,
|
|
@@ -22491,7 +22492,7 @@ Check the ` + ld() + " event handlers"), !1) : !0;
|
|
|
22491
22492
|
value: t.uid,
|
|
22492
22493
|
writable: !0
|
|
22493
22494
|
}), Mt(op, t)), I4 = (t) => xo(t.dom, op), sp = (t) => vt(t, op), rh = (t) => oC((s, ...a) => t(s.getApis(), s, ...a), t), Mu = { init: () => Qc({ readState: ae("No State required") }) }, Qc = (t) => t, L4 = (t, s) => {
|
|
22494
|
-
const a =
|
|
22495
|
+
const a = nt(s, (d) => kl(d.name(), [
|
|
22495
22496
|
ot("config"),
|
|
22496
22497
|
$e("state", Mu)
|
|
22497
22498
|
])), c = Js("component.behaviours", rn(a), t.behaviours).fold((d) => {
|
|
@@ -22599,10 +22600,10 @@ Order specified: ` + JSON.stringify(c, null, 2));
|
|
|
22599
22600
|
};
|
|
22600
22601
|
}, V4 = (t, s) => Vn.error(["The event (" + t + `) has more than one behaviour that listens to it.
|
|
22601
22602
|
When this occurs, you must specify an event ordering for the behaviours in your spec (e.g. [ "listing", "toggling" ]).
|
|
22602
|
-
The behaviours that can trigger it are: ` + JSON.stringify(
|
|
22603
|
+
The behaviours that can trigger it are: ` + JSON.stringify(nt(s, (a) => a.name), null, 2)]), H0 = (t, s, a) => {
|
|
22603
22604
|
const c = s[a];
|
|
22604
22605
|
return c ? $b("Event: " + a, "name", t, c).map((d) => {
|
|
22605
|
-
const g =
|
|
22606
|
+
const g = nt(d, (p) => p.handler);
|
|
22606
22607
|
return Jg(g);
|
|
22607
22608
|
}) : V4(a, t);
|
|
22608
22609
|
}, qy = (t, s) => {
|
|
@@ -22678,7 +22679,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22678
22679
|
]), lC = (t) => Js("custom.definition", Pb, t), Nb = (t) => ({
|
|
22679
22680
|
...t.dom,
|
|
22680
22681
|
uid: t.uid,
|
|
22681
|
-
domChildren:
|
|
22682
|
+
domChildren: nt(t.components, (s) => s.element)
|
|
22682
22683
|
}), iO = (t) => t.domModification.fold(() => ei({}), ei), Ib = (t) => t.events, Vf = (t, s) => {
|
|
22683
22684
|
const a = js(t, s);
|
|
22684
22685
|
return a === void 0 || a === "" ? [] : a.split(" ");
|
|
@@ -22731,7 +22732,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22731
22732
|
zo(c, s) || (uc(c, s), Tc(c));
|
|
22732
22733
|
});
|
|
22733
22734
|
}, U4 = (t, s, a) => {
|
|
22734
|
-
const c =
|
|
22735
|
+
const c = nt(s, a), d = Ma(t);
|
|
22735
22736
|
return bt(d.slice(c.length), Tc), c;
|
|
22736
22737
|
}, uC = (t, s, a, c) => {
|
|
22737
22738
|
const d = Cc(t, s), g = c(a, d), p = zf(t, s, d);
|
|
@@ -22835,7 +22836,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22835
22836
|
return Re;
|
|
22836
22837
|
}, ah = (t, s) => {
|
|
22837
22838
|
const a = vt(t, "components").getOr([]);
|
|
22838
|
-
return s.fold(() =>
|
|
22839
|
+
return s.fold(() => nt(a, Tl), (c) => nt(a, (d, g) => Vb(d, Cc(c, g))));
|
|
22839
22840
|
}, dC = (t, s) => {
|
|
22840
22841
|
const {
|
|
22841
22842
|
events: a,
|
|
@@ -22986,7 +22987,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22986
22987
|
event: t,
|
|
22987
22988
|
time: d - c,
|
|
22988
22989
|
target: s.dom,
|
|
22989
|
-
sequence:
|
|
22990
|
+
sequence: nt(a, (g) => no([
|
|
22990
22991
|
"cut",
|
|
22991
22992
|
"stopped",
|
|
22992
22993
|
"response"
|
|
@@ -23037,7 +23038,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
23037
23038
|
const vp = ae(rn(vC())), yC = _i("initSize", [
|
|
23038
23039
|
ot("numColumns"),
|
|
23039
23040
|
ot("numRows")
|
|
23040
|
-
]), K4 = () => dc("markers", vp()), U0 = () => _i("markers", [ot("backgroundMenu")].concat(oi()).concat(vC())), jf = (t) => _i("markers",
|
|
23041
|
+
]), K4 = () => dc("markers", vp()), U0 = () => _i("markers", [ot("backgroundMenu")].concat(oi()).concat(vC())), jf = (t) => _i("markers", nt(t, ot)), Zb = (t, s, a) => (Jy(), Ia(s, s, a, Hd((c) => Vn.value((...d) => c.apply(void 0, d))))), Ao = (t) => Zb("onHandler", t, ku(he)), si = (t) => Zb("onKeyboardHandler", t, ku(D.none)), md = (t) => Zb("onHandler", t, Eo()), e2 = (t) => Zb("onKeyboardHandler", t, Eo()), is = (t, s) => pr(t, ae(s)), W0 = (t) => pr(t, Nn), t2 = ae(yC), xa = (t, s, a, c, d, g, p, w = !1) => ({
|
|
23041
23042
|
x: t,
|
|
23042
23043
|
y: s,
|
|
23043
23044
|
bubble: a,
|
|
@@ -23662,10 +23663,10 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23662
23663
|
]
|
|
23663
23664
|
}
|
|
23664
23665
|
]), y3 = (t) => t.fold(Nn, (s, a, c) => s.translate(-a, -c)), w3 = (t) => t.fold(Nn, Nn), FC = (t) => Wo(t, (s, a) => s.translate(a.left, a.top), Lo(0, 0)), x3 = (t) => {
|
|
23665
|
-
const s =
|
|
23666
|
+
const s = nt(t, y3);
|
|
23666
23667
|
return FC(s);
|
|
23667
23668
|
}, HC = (t) => {
|
|
23668
|
-
const s =
|
|
23669
|
+
const s = nt(t, w3);
|
|
23669
23670
|
return FC(s);
|
|
23670
23671
|
}, C3 = T2.screen, ov = T2.absolute, _3 = (t, s, a) => {
|
|
23671
23672
|
const c = Hl(a.root).dom, d = (g) => {
|
|
@@ -24378,7 +24379,7 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
24378
24379
|
}
|
|
24379
24380
|
},
|
|
24380
24381
|
state: Vp
|
|
24381
|
-
}), aa = (t, s) => Ou(t, {},
|
|
24382
|
+
}), aa = (t, s) => Ou(t, {}, nt(s, (a) => E0(a.name(), "Cannot configure " + a.name() + " for " + t)).concat([pr("dump", Nn)])), nf = (t) => t.dump, qr = (t, s) => ({
|
|
24382
24383
|
...xt(s),
|
|
24383
24384
|
...t.dump
|
|
24384
24385
|
}), mu = {
|
|
@@ -24500,7 +24501,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24500
24501
|
}, (p) => {
|
|
24501
24502
|
c[p.pname] = Y3(!0, (w, C, E) => {
|
|
24502
24503
|
const $ = w[p.name];
|
|
24503
|
-
return
|
|
24504
|
+
return nt($, (N) => p.factory.sketch(Go(p.defaults(w, N, E), N, p.overrides(w, N))));
|
|
24504
24505
|
});
|
|
24505
24506
|
});
|
|
24506
24507
|
}), {
|
|
@@ -24532,7 +24533,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24532
24533
|
name: s,
|
|
24533
24534
|
config: a,
|
|
24534
24535
|
validated: {}
|
|
24535
|
-
}), p_ = (t) => Te(t, (s) => s.fold(D.none, D.some, D.none, D.none).map((a) => _i(a.name, a.schema.concat([W0(kv())]))).toArray()), b_ = (t) =>
|
|
24536
|
+
}), p_ = (t) => Te(t, (s) => s.fold(D.none, D.some, D.none, D.none).map((a) => _i(a.name, a.schema.concat([W0(kv())]))).toArray()), b_ = (t) => nt(t, f_), tw = (t, s, a) => X3(t, s, a), Tv = (t, s, a) => J2(D.some(t), s, s.components, a), _s = (t, s, a) => {
|
|
24536
24537
|
const c = s.partUids[a];
|
|
24537
24538
|
return t.getSystem().getByUid(c).toOptional();
|
|
24538
24539
|
}, sf = (t, s, a) => _s(t, s, a).getOrDie("Could not find part: " + a), v_ = (t, s, a) => {
|
|
@@ -24550,7 +24551,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24550
24551
|
}), c;
|
|
24551
24552
|
}, sw = (t, s) => {
|
|
24552
24553
|
const a = b_(s);
|
|
24553
|
-
return an(
|
|
24554
|
+
return an(nt(a, (c) => ({
|
|
24554
24555
|
key: c,
|
|
24555
24556
|
value: t + "-" + c
|
|
24556
24557
|
})));
|
|
@@ -24728,7 +24729,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24728
24729
|
});
|
|
24729
24730
|
}, dT = (t, s, a) => E_(t, s, a, -1), mT = (t, s, a) => E_(t, s, a, 1), Av = (t, s, a) => {
|
|
24730
24731
|
const c = ka(t.element, "." + s.itemClass);
|
|
24731
|
-
return Oa(
|
|
24732
|
+
return Oa(nt(c, (d) => t.getSystem().getByDom(d).toOptional()));
|
|
24732
24733
|
};
|
|
24733
24734
|
var nm = /* @__PURE__ */ Object.freeze({
|
|
24734
24735
|
__proto__: null,
|
|
@@ -25065,7 +25066,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25065
25066
|
}).each((d) => {
|
|
25066
25067
|
s.focusManager.set(t, d);
|
|
25067
25068
|
});
|
|
25068
|
-
}, dN = (t, s, a) => Pu(t.element).bind((c) => a.execute(t, s, c)), mN = (t, s) =>
|
|
25069
|
+
}, dN = (t, s, a) => Pu(t.element).bind((c) => a.execute(t, s, c)), mN = (t, s) => nt(t, (a) => ka(a, s.selectors.cell)), N_ = (t, s) => (a, c, d) => {
|
|
25069
25070
|
const g = d.cycles ? t : s;
|
|
25070
25071
|
return dd(c, d.selectors.row).bind((p) => {
|
|
25071
25072
|
const w = ka(p, d.selectors.cell);
|
|
@@ -25183,7 +25184,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25183
25184
|
state: tn
|
|
25184
25185
|
}), Bc = (t, s) => {
|
|
25185
25186
|
Wt(() => {
|
|
25186
|
-
L3(t, s, () =>
|
|
25187
|
+
L3(t, s, () => nt(s, t.getSystem().build));
|
|
25187
25188
|
}, t.element);
|
|
25188
25189
|
}, VO = (t, s) => {
|
|
25189
25190
|
Wt(() => {
|
|
@@ -25756,7 +25757,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25756
25757
|
E(Dt, en), Ho.getHighlighted(en).orThunk(() => Ho.getFirst(en)).each((On) => {
|
|
25757
25758
|
t.fakeFocus ? Ho.highlight(en, On) : Tb(Dt, On.element, br());
|
|
25758
25759
|
});
|
|
25759
|
-
}, N = (Dt, en) => Oa(
|
|
25760
|
+
}, N = (Dt, en) => Oa(nt(en, (On) => Dt.lookupMenu(On).bind((Bn) => Bn.type === "prepared" ? D.some(Bn.menu) : D.none()))), H = (Dt, en, On) => {
|
|
25760
25761
|
const Bn = N(en, en.otherMenus(On));
|
|
25761
25762
|
bt(Bn, (yn) => {
|
|
25762
25763
|
ki(yn.element, [t.markers.backgroundMenu]), t.stayInDom || Fn.remove(Dt, yn);
|
|
@@ -25857,7 +25858,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25857
25858
|
highlightPrimary: Sn,
|
|
25858
25859
|
repositionMenus: (Dt) => {
|
|
25859
25860
|
d.getPrimary().bind((On) => jt(Dt).bind((Bn) => {
|
|
25860
|
-
const yn = p(Bn), Hn = qi(d.getMenus()), ks = Oa(
|
|
25861
|
+
const yn = p(Bn), Hn = qi(d.getMenus()), ks = Oa(nt(Hn, mR.extractPreparedMenu));
|
|
25861
25862
|
return d.getTriggeringPath(yn, (Mo) => w(Dt, ks, Mo));
|
|
25862
25863
|
}).map((Bn) => ({
|
|
25863
25864
|
primary: On,
|
|
@@ -27972,7 +27973,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27972
27973
|
} : t;
|
|
27973
27974
|
}, dS = (t, s) => (a) => {
|
|
27974
27975
|
const c = vr(a, s);
|
|
27975
|
-
return
|
|
27976
|
+
return nt(c, (d) => ({
|
|
27976
27977
|
dom: t,
|
|
27977
27978
|
components: d
|
|
27978
27979
|
}));
|
|
@@ -28017,7 +28018,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28017
28018
|
let c = [];
|
|
28018
28019
|
return bt(t, (d, g) => {
|
|
28019
28020
|
s(d, g) ? (c.length > 0 && a.push(c), c = [], (xo(d.dom, "innerHtml") || d.components && d.components.length > 0) && c.push(d)) : c.push(d);
|
|
28020
|
-
}), c.length > 0 && a.push(c),
|
|
28021
|
+
}), c.length > 0 && a.push(c), nt(a, (d) => ({
|
|
28021
28022
|
dom: {
|
|
28022
28023
|
tag: "div",
|
|
28023
28024
|
classes: ["tox-collection__group"]
|
|
@@ -28026,7 +28027,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28026
28027
|
}));
|
|
28027
28028
|
}, CE = (t, s, a) => B1.parts.items({
|
|
28028
28029
|
preprocess: (c) => {
|
|
28029
|
-
const d =
|
|
28030
|
+
const d = nt(c, a);
|
|
28030
28031
|
return t !== "auto" && t > 1 ? dS({
|
|
28031
28032
|
tag: "div",
|
|
28032
28033
|
classes: ["tox-collection__group"]
|
|
@@ -28514,7 +28515,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28514
28515
|
} : {
|
|
28515
28516
|
meta: "Ctrl",
|
|
28516
28517
|
access: "Shift+Alt"
|
|
28517
|
-
}, g = t.split("+"), p =
|
|
28518
|
+
}, g = t.split("+"), p = nt(g, (w) => {
|
|
28518
28519
|
const C = w.toLowerCase().trim();
|
|
28519
28520
|
return xo(d, C) ? d[C] : w;
|
|
28520
28521
|
});
|
|
@@ -28696,7 +28697,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28696
28697
|
triggersSubmenu: !1,
|
|
28697
28698
|
itemBehaviours: M$(t.meta, p)
|
|
28698
28699
|
}, C, g, p.providers);
|
|
28699
|
-
}, HE = (t, s) =>
|
|
28700
|
+
}, HE = (t, s) => nt(t, (a) => {
|
|
28700
28701
|
switch (a.type) {
|
|
28701
28702
|
case "cardcontainer":
|
|
28702
28703
|
return fs(a, HE(a.items, s));
|
|
@@ -28922,7 +28923,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28922
28923
|
}
|
|
28923
28924
|
const c = qE(s, 10);
|
|
28924
28925
|
return GE[t] = c, c;
|
|
28925
|
-
}), KE = (t) =>
|
|
28926
|
+
}), KE = (t) => nt(TS(t).state(), (s) => ({
|
|
28926
28927
|
type: "choiceitem",
|
|
28927
28928
|
text: s,
|
|
28928
28929
|
icon: "checkmark",
|
|
@@ -29203,7 +29204,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29203
29204
|
}, r5 = (t, s, a, c, d, g, p, w) => {
|
|
29204
29205
|
const C = mS(s), $ = PL(s, a, c, d !== "color" ? "normal" : "color", g, p, w);
|
|
29205
29206
|
return fS(t, C, $, c, { menuType: d });
|
|
29206
|
-
}, PL = (t, s, a, c, d, g, p) => Oa(
|
|
29207
|
+
}, PL = (t, s, a, c, d, g, p) => Oa(nt(t, (w) => w.type === "choiceitem" ? _$(w).fold(dg, (C) => D.some(N$(C, a === 1, c, s, g(C.value), d, p, mS(t)))) : D.none())), $S = (t, s) => {
|
|
29207
29208
|
const a = Eh(s);
|
|
29208
29209
|
return t === 1 ? {
|
|
29209
29210
|
mode: "menu",
|
|
@@ -29309,7 +29310,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29309
29310
|
for (let g = 0; g < c; g++)
|
|
29310
29311
|
for (let p = 0; p < d; p++)
|
|
29311
29312
|
Xn.set(t[g][p], g <= s && p <= a);
|
|
29312
|
-
}, l5 = (t) => Te(t, (s) =>
|
|
29313
|
+
}, l5 = (t) => Te(t, (s) => nt(s, Ti)), c5 = (t, s) => kr(`${s}x${t}`), VL = {
|
|
29313
29314
|
inserttable: (t, s) => {
|
|
29314
29315
|
const d = FL(s), g = MS(d, 10, 10), p = c5(0, 0), w = Jo({
|
|
29315
29316
|
dom: {
|
|
@@ -29846,7 +29847,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29846
29847
|
}
|
|
29847
29848
|
}, hF = (t, s, a, c, d, g, p) => {
|
|
29848
29849
|
const w = c === 1, C = !w || mS(t);
|
|
29849
|
-
return Oa(
|
|
29850
|
+
return Oa(nt(t, (E) => {
|
|
29850
29851
|
switch (E.type) {
|
|
29851
29852
|
case "separator":
|
|
29852
29853
|
return zI(E).fold(dg, ($) => D.some(p6($)));
|
|
@@ -29869,7 +29870,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29869
29870
|
}
|
|
29870
29871
|
}));
|
|
29871
29872
|
}, S6 = (t, s, a, c, d, g) => {
|
|
29872
|
-
const p = mS(s), w = Oa(
|
|
29873
|
+
const p = mS(s), w = Oa(nt(s, ($) => {
|
|
29873
29874
|
const N = (Z) => d ? !xo(Z, "text") : p, H = (Z) => gF(Z, a, c, N(Z), d);
|
|
29874
29875
|
return $.type === "nestedmenuitem" && $.getSubmenuItems().length <= 0 ? H({
|
|
29875
29876
|
...$,
|
|
@@ -30001,7 +30002,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
30001
30002
|
}));
|
|
30002
30003
|
}, r0 = (t, s) => ig(t) ? yF(s) : D.none(), ny = (t) => {
|
|
30003
30004
|
const s = [
|
|
30004
|
-
...
|
|
30005
|
+
...nt(t.others, Xs),
|
|
30005
30006
|
na()
|
|
30006
30007
|
];
|
|
30007
30008
|
return jh(Xs(t.element), s);
|
|
@@ -30076,7 +30077,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
30076
30077
|
"mousemove",
|
|
30077
30078
|
"mouseout",
|
|
30078
30079
|
"click"
|
|
30079
|
-
], d = CF(a), g =
|
|
30080
|
+
], d = CF(a), g = nt(c.concat([
|
|
30080
30081
|
"selectstart",
|
|
30081
30082
|
"input",
|
|
30082
30083
|
"contextmenu",
|
|
@@ -30353,7 +30354,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30353
30354
|
"tox-form__controls-h-stack"
|
|
30354
30355
|
]
|
|
30355
30356
|
},
|
|
30356
|
-
components:
|
|
30357
|
+
components: nt(t.items, s.interpreter)
|
|
30357
30358
|
}), RF = ae([
|
|
30358
30359
|
$e("prefix", "form-field"),
|
|
30359
30360
|
aa("fieldBehaviours", [
|
|
@@ -30483,14 +30484,14 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30483
30484
|
Z(Q, me, Me, js(Me, "data-collection-item-value"));
|
|
30484
30485
|
});
|
|
30485
30486
|
}, w = (Z, Q) => {
|
|
30486
|
-
const me =
|
|
30487
|
+
const me = nt(Q, (ye) => {
|
|
30487
30488
|
const Re = Vu.translate(ye.text), mt = t.columns === 1 ? `<div class="tox-collection__item-label">${Re}</div>` : "", Je = `<div class="tox-collection__item-icon">${g(ye.icon)}</div>`, Ge = {
|
|
30488
30489
|
_: " ",
|
|
30489
30490
|
" - ": " ",
|
|
30490
30491
|
"-": " "
|
|
30491
30492
|
}, yt = Re.replace(/\_| \- |\-/g, (Wn) => Ge[Wn]);
|
|
30492
30493
|
return `<div class="tox-collection__item${s.isDisabled() ? " tox-collection__item--state-disabled" : ""}" tabindex="-1" data-collection-item-value="${PF.encodeAllRaw(ye.value)}" title="${yt}" aria-label="${yt}">${Je}${mt}</div>`;
|
|
30493
|
-
}), Me = t.columns !== "auto" && t.columns > 1 ? vr(me, t.columns) : [me], _e =
|
|
30494
|
+
}), Me = t.columns !== "auto" && t.columns > 1 ? vr(me, t.columns) : [me], _e = nt(Me, (ye) => `<div class="tox-collection__group">${ye.join("")}</div>`);
|
|
30494
30495
|
oh(Z.element, _e.join(""));
|
|
30495
30496
|
}, C = p((Z, Q, me, Me) => {
|
|
30496
30497
|
Q.stop(), s.isDisabled() || mn(Z, bg, {
|
|
@@ -30519,7 +30520,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30519
30520
|
value: Me
|
|
30520
30521
|
});
|
|
30521
30522
|
}))
|
|
30522
|
-
], $ = (Z, Q) =>
|
|
30523
|
+
], $ = (Z, Q) => nt(ka(Z.element, ".tox-collection__item"), Q), N = Qo.parts.field({
|
|
30523
30524
|
dom: {
|
|
30524
30525
|
tag: "div",
|
|
30525
30526
|
classes: ["tox-collection"].concat(t.columns !== 1 ? ["tox-collection--grid"] : ["tox-collection--list"])
|
|
@@ -31309,7 +31310,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31309
31310
|
field: (w, C) => (g.push(w), ew(vM, yM(w), C)),
|
|
31310
31311
|
record: ae(g)
|
|
31311
31312
|
};
|
|
31312
|
-
})(), a = t(s), c = s.record(), d =
|
|
31313
|
+
})(), a = t(s), c = s.record(), d = nt(c, (g) => Dl({
|
|
31313
31314
|
name: g,
|
|
31314
31315
|
pname: yM(g)
|
|
31315
31316
|
}));
|
|
@@ -31903,7 +31904,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31903
31904
|
`tox-form__grid--${t.columns}col`
|
|
31904
31905
|
]
|
|
31905
31906
|
},
|
|
31906
|
-
components:
|
|
31907
|
+
components: nt(t.items, s.interpreter)
|
|
31907
31908
|
}), ix = (t, s) => {
|
|
31908
31909
|
let a = null, c = null;
|
|
31909
31910
|
return {
|
|
@@ -32133,7 +32134,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32133
32134
|
]
|
|
32134
32135
|
},
|
|
32135
32136
|
components: [kr(s.providers.translate(t.label))]
|
|
32136
|
-
}, p =
|
|
32137
|
+
}, p = nt(t.items, s.interpreter);
|
|
32137
32138
|
return {
|
|
32138
32139
|
dom: {
|
|
32139
32140
|
tag: "div",
|
|
@@ -32206,7 +32207,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32206
32207
|
classes: [
|
|
32207
32208
|
s,
|
|
32208
32209
|
`${s}--select`
|
|
32209
|
-
].concat(
|
|
32210
|
+
].concat(nt(t.classes, (H) => `${s}--${H}`)),
|
|
32210
32211
|
attributes: { ...C }
|
|
32211
32212
|
},
|
|
32212
32213
|
components: Jv([
|
|
@@ -32341,7 +32342,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32341
32342
|
return D.none();
|
|
32342
32343
|
const p = gH(c), w = S6(d, g.items, s, a, c.isHorizontalMenu, p), C = hH(c), E = Ko(g.menus, (N, H) => S6(H, N, s, a, !1, C)), $ = Go(E, Mt(d, w));
|
|
32343
32344
|
return D.from(Qp.tieredData(d, $, g.expansions));
|
|
32344
|
-
}, oA = (t) => !xo(t, "items"), VM = "data-value", zM = (t, s, a, c) =>
|
|
32345
|
+
}, oA = (t) => !xo(t, "items"), VM = "data-value", zM = (t, s, a, c) => nt(a, (d) => oA(d) ? {
|
|
32345
32346
|
type: "togglemenuitem",
|
|
32346
32347
|
text: d.text,
|
|
32347
32348
|
value: d.value,
|
|
@@ -32416,9 +32417,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32416
32417
|
tag: "div",
|
|
32417
32418
|
classes: t.classes
|
|
32418
32419
|
},
|
|
32419
|
-
components:
|
|
32420
|
+
components: nt(t.items, s.shared.interpreter)
|
|
32420
32421
|
}), bH = (t, s) => {
|
|
32421
|
-
const a =
|
|
32422
|
+
const a = nt(t.options, (d) => ({
|
|
32422
32423
|
dom: {
|
|
32423
32424
|
tag: "option",
|
|
32424
32425
|
value: d.value,
|
|
@@ -32462,7 +32463,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32462
32463
|
],
|
|
32463
32464
|
factory: bH
|
|
32464
32465
|
}), ux = (t, s, a) => {
|
|
32465
|
-
const c =
|
|
32466
|
+
const c = nt(t.items, (C) => ({
|
|
32466
32467
|
text: s.translate(C.text),
|
|
32467
32468
|
value: C.value
|
|
32468
32469
|
})), d = t.label.map((C) => Sd(C, s)), g = Qo.parts.field({
|
|
@@ -32807,7 +32808,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32807
32808
|
dom: { tag: "thead" },
|
|
32808
32809
|
components: [{
|
|
32809
32810
|
dom: { tag: "tr" },
|
|
32810
|
-
components:
|
|
32811
|
+
components: nt(w, a)
|
|
32811
32812
|
}]
|
|
32812
32813
|
}), d = (w) => ({
|
|
32813
32814
|
dom: {
|
|
@@ -32816,10 +32817,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32816
32817
|
}
|
|
32817
32818
|
}), g = (w) => ({
|
|
32818
32819
|
dom: { tag: "tr" },
|
|
32819
|
-
components:
|
|
32820
|
+
components: nt(w, d)
|
|
32820
32821
|
}), p = (w) => ({
|
|
32821
32822
|
dom: { tag: "tbody" },
|
|
32822
|
-
components:
|
|
32823
|
+
components: nt(w, g)
|
|
32823
32824
|
});
|
|
32824
32825
|
return {
|
|
32825
32826
|
dom: {
|
|
@@ -33090,7 +33091,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33090
33091
|
p.setActive(g.storage.get());
|
|
33091
33092
|
};
|
|
33092
33093
|
return (g) => {
|
|
33093
|
-
g(
|
|
33094
|
+
g(nt(t, (p) => {
|
|
33094
33095
|
const w = p.text.fold(() => ({}), (C) => ({ text: C }));
|
|
33095
33096
|
return {
|
|
33096
33097
|
type: p.type,
|
|
@@ -33471,7 +33472,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33471
33472
|
}
|
|
33472
33473
|
}, g = pE(t), p = (N) => (H) => H.map((Z) => {
|
|
33473
33474
|
const Q = qi(Z.menus), me = Te(Q, (_e) => so(_e.items, (ye) => ye.type === "item"));
|
|
33474
|
-
return Vt.getState(N).update(
|
|
33475
|
+
return Vt.getState(N).update(nt(me, (_e) => _e.data)), Z;
|
|
33475
33476
|
}), w = (N) => yo.getCurrent(N), C = "typeaheadevents", E = [
|
|
33476
33477
|
_n.config({}),
|
|
33477
33478
|
Vt.config({
|
|
@@ -33829,7 +33830,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33829
33830
|
text: t,
|
|
33830
33831
|
meta: { attach: void 0 },
|
|
33831
33832
|
onAction: he
|
|
33832
|
-
}), v8 = (t) =>
|
|
33833
|
+
}), v8 = (t) => nt(t, YH), XH = (t, s) => so(s, (a) => a.type === t), y8 = (t, s) => v8(XH(t, s)), JH = (t) => y8("header", t.targets), QH = (t) => y8("anchor", t.targets), eV = (t) => D.from(t.anchorTop).map((s) => yA("<top>", s)).toArray(), tV = (t) => D.from(t.anchorBottom).map((s) => yA("<bottom>", s)).toArray(), w8 = (t) => nt(t, (s) => yA(s, s)), nV = (t) => Wo(t, (s, a) => s.length === 0 || a.length === 0 ? s.concat(a) : s.concat(KH, a), []), pk = (t, s) => {
|
|
33833
33834
|
const a = t.toLowerCase();
|
|
33834
33835
|
return so(s, (c) => {
|
|
33835
33836
|
var d;
|
|
@@ -34544,7 +34545,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34544
34545
|
getStylePreview: c($)
|
|
34545
34546
|
};
|
|
34546
34547
|
return t.formatter.register(E, N), N;
|
|
34547
|
-
}, w = (C) =>
|
|
34548
|
+
}, w = (C) => nt(C, (E) => R8(E) ? g(E) : Cx(E) ? d(E) : P8(E) ? {
|
|
34548
34549
|
...E,
|
|
34549
34550
|
type: "separator"
|
|
34550
34551
|
} : p(E));
|
|
@@ -34581,7 +34582,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34581
34582
|
return xV(s);
|
|
34582
34583
|
}
|
|
34583
34584
|
return !1;
|
|
34584
|
-
}, _V = (t, s) =>
|
|
34585
|
+
}, _V = (t, s) => nt(ka(Ae.fromDom(s), t), (a) => a.dom), V8 = (t) => t.innerText || t.textContent, SV = (t) => t.id ? t.id : Gt("h"), z8 = (t) => t && t.nodeName === "A" && (t.id || t.name) !== void 0, AA = (t) => z8(t) && W8(t), U8 = (t) => t && /^(H[1-6])$/.test(t.nodeName), W8 = (t) => hG(t) && !H8(t), Z8 = (t) => U8(t) && W8(t), kV = (t) => U8(t) ? parseInt(t.nodeName.substr(1), 10) : 0, TV = (t) => {
|
|
34585
34586
|
var s;
|
|
34586
34587
|
const a = SV(t), c = () => {
|
|
34587
34588
|
t.id = a;
|
|
@@ -34590,7 +34591,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34590
34591
|
}, EV = (t) => {
|
|
34591
34592
|
const s = t.id || t.name, a = V8(t);
|
|
34592
34593
|
return CV("anchor", a || "#" + s, "#" + s, 0, he);
|
|
34593
|
-
}, AV = (t) =>
|
|
34594
|
+
}, AV = (t) => nt(so(t, Z8), TV), DA = (t) => nt(so(t, AA), EV), j8 = (t) => _V("h1,h2,h3,h4,h5,h6,a:not([href])", t), DV = (t) => L8(t.title).length > 0, OV = { find: (t) => {
|
|
34594
34595
|
const s = j8(t);
|
|
34595
34596
|
return so(AV(s).concat(DA(s)), DV);
|
|
34596
34597
|
} }, yk = "tinymce-url-history", OA = 5, G8 = (t) => q(t) && /^https?/.test(t), wk = (t) => pt(t) && t.length <= OA && wn(t, G8), q8 = (t) => De(t) && es(t, (s) => !wk(s)).isNone(), Sx = () => {
|
|
@@ -35266,7 +35267,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35266
35267
|
var Dx = ri({
|
|
35267
35268
|
factory: (t, s) => {
|
|
35268
35269
|
const a = (d, g) => {
|
|
35269
|
-
const p =
|
|
35270
|
+
const p = nt(g, (w) => {
|
|
35270
35271
|
const C = {
|
|
35271
35272
|
type: "menubutton",
|
|
35272
35273
|
text: w.text,
|
|
@@ -35361,7 +35362,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35361
35362
|
slot: (w, C) => (g.push(w), ew(p7, b7(w), C)),
|
|
35362
35363
|
record: ae(g)
|
|
35363
35364
|
};
|
|
35364
|
-
})(), a = t(s), c = s.record(), d =
|
|
35365
|
+
})(), a = t(s), c = s.record(), d = nt(c, (g) => Dl({
|
|
35365
35366
|
name: g,
|
|
35366
35367
|
pname: b7(g)
|
|
35367
35368
|
}));
|
|
@@ -35436,7 +35437,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35436
35437
|
});
|
|
35437
35438
|
});
|
|
35438
35439
|
}, vz = (t) => ({ element: () => t.element.dom }), yz = (t, s) => {
|
|
35439
|
-
const a =
|
|
35440
|
+
const a = nt(bs(s), (c) => {
|
|
35440
35441
|
const d = s[c], g = cs(bz(d));
|
|
35441
35442
|
return {
|
|
35442
35443
|
name: c,
|
|
@@ -35446,7 +35447,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35446
35447
|
onHide: g.onHide
|
|
35447
35448
|
};
|
|
35448
35449
|
});
|
|
35449
|
-
return
|
|
35450
|
+
return nt(a, (c) => {
|
|
35450
35451
|
const d = hn(he);
|
|
35451
35452
|
return t.slot(c.name, {
|
|
35452
35453
|
dom: {
|
|
@@ -35669,7 +35670,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35669
35670
|
extra: p,
|
|
35670
35671
|
withinWidth: g
|
|
35671
35672
|
};
|
|
35672
|
-
}, J1 = (t) =>
|
|
35673
|
+
}, J1 = (t) => nt(t, (s) => s.element), S7 = (t, s, a) => {
|
|
35673
35674
|
const c = J1(t.concat(s));
|
|
35674
35675
|
return pu(c, [], a);
|
|
35675
35676
|
}, k7 = (t, s, a, c) => {
|
|
@@ -35682,7 +35683,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35682
35683
|
const d = T7(t, s, a).getOrThunk(() => _7(s, t - a(c), a)), g = d.within, p = d.extra, w = d.withinWidth;
|
|
35683
35684
|
return p.length === 1 && p[0].width <= a(c) ? S7(g, p, w) : p.length >= 1 ? k7(g, p, c, w) : $z(g, p, w);
|
|
35684
35685
|
}, E7 = (t, s) => {
|
|
35685
|
-
const a =
|
|
35686
|
+
const a = nt(s, (c) => Ti(c));
|
|
35686
35687
|
wf.setGroups(t, a);
|
|
35687
35688
|
}, Bz = (t) => nr(t, (s) => Pu(s.element).bind((a) => s.getSystem().getByDom(a).toOptional())), A7 = (t, s, a) => {
|
|
35688
35689
|
const c = s.builtGroups.get();
|
|
@@ -35883,7 +35884,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35883
35884
|
configFields: $7(),
|
|
35884
35885
|
partFields: Fz(),
|
|
35885
35886
|
factory: Hz
|
|
35886
|
-
}), M7 = (t) =>
|
|
35887
|
+
}), M7 = (t) => nt(t, (s) => Ti(s)), B7 = (t, s, a) => {
|
|
35887
35888
|
A7(t, a, (c) => {
|
|
35888
35889
|
a.overflowGroups.set(c), s.getOpt(t).each((d) => {
|
|
35889
35890
|
h0.setGroups(d, M7(c));
|
|
@@ -35936,7 +35937,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35936
35937
|
})]),
|
|
35937
35938
|
apis: {
|
|
35938
35939
|
setGroups: (g, p) => {
|
|
35939
|
-
t.builtGroups.set(
|
|
35940
|
+
t.builtGroups.set(nt(p, g.getSystem().build)), B7(g, d, t);
|
|
35940
35941
|
},
|
|
35941
35942
|
refresh: (g) => B7(g, d, t),
|
|
35942
35943
|
toggle: (g) => {
|
|
@@ -36046,7 +36047,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36046
36047
|
}, nD = (t, s) => {
|
|
36047
36048
|
_s(t, s, "overflow").each((a) => {
|
|
36048
36049
|
A7(t, s, (c) => {
|
|
36049
|
-
const d =
|
|
36050
|
+
const d = nt(c, (g) => Ti(g));
|
|
36050
36051
|
wf.setGroups(a, d);
|
|
36051
36052
|
}), _s(t, s, "overflow-button").each((c) => {
|
|
36052
36053
|
Fi.hasGrown(a) && Xn.on(c);
|
|
@@ -36054,7 +36055,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36054
36055
|
});
|
|
36055
36056
|
}, Zz = (t, s, a, c) => {
|
|
36056
36057
|
const d = "alloy.toolbar.toggle", g = (p, w) => {
|
|
36057
|
-
const C =
|
|
36058
|
+
const C = nt(w, p.getSystem().build);
|
|
36058
36059
|
t.builtGroups.set(C);
|
|
36059
36060
|
};
|
|
36060
36061
|
return {
|
|
@@ -36124,7 +36125,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36124
36125
|
};
|
|
36125
36126
|
}, Q1 = (t) => Ik.sketch(N7(t)), I7 = (t, s) => {
|
|
36126
36127
|
const a = Cs((c) => {
|
|
36127
|
-
const d =
|
|
36128
|
+
const d = nt(t.initGroups, Q1);
|
|
36128
36129
|
wf.setGroups(c, d);
|
|
36129
36130
|
});
|
|
36130
36131
|
return xt([
|
|
@@ -36310,10 +36311,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36310
36311
|
tag: "div",
|
|
36311
36312
|
classes: ["tox-view__toolbar__group"]
|
|
36312
36313
|
},
|
|
36313
|
-
components:
|
|
36314
|
+
components: nt(t.buttons, (a) => lD(a, s))
|
|
36314
36315
|
}), cD = yi().deviceType, Yz = cD.isPhone(), Xz = cD.isTablet(), Jz = (t) => {
|
|
36315
36316
|
let s = !1;
|
|
36316
|
-
const a =
|
|
36317
|
+
const a = nt(t.buttons, (c) => c.type === "group" ? (s = !0, vy(c, t.providers)) : lD(c, t.providers));
|
|
36317
36318
|
return {
|
|
36318
36319
|
uid: t.uid,
|
|
36319
36320
|
dom: {
|
|
@@ -36487,13 +36488,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36487
36488
|
getToolbar: (g) => Qa.getPart(g, t, "toolbar"),
|
|
36488
36489
|
setToolbar: (g, p) => {
|
|
36489
36490
|
Qa.getPart(g, t, "toolbar").each((w) => {
|
|
36490
|
-
const C =
|
|
36491
|
+
const C = nt(p, Q1);
|
|
36491
36492
|
w.getApis().setGroups(w, C);
|
|
36492
36493
|
});
|
|
36493
36494
|
},
|
|
36494
36495
|
setToolbars: (g, p) => {
|
|
36495
36496
|
Qa.getPart(g, t, "multiple-toolbar").each((w) => {
|
|
36496
|
-
const C =
|
|
36497
|
+
const C = nt(p, (E) => nt(E, Q1));
|
|
36497
36498
|
Q8.setItems(w, C);
|
|
36498
36499
|
});
|
|
36499
36500
|
},
|
|
@@ -36759,7 +36760,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36759
36760
|
}, c = bs(s.menus).length > 0, d = s.menubar === void 0 || s.menubar === !0 ? Bx(fU) : Bx(s.menubar === !1 ? "" : s.menubar), g = so(d, (w) => {
|
|
36760
36761
|
const C = xo(G7, w);
|
|
36761
36762
|
return c ? C || vt(s.menus, w).exists((E) => xo(E, "items")) : C;
|
|
36762
|
-
}), p =
|
|
36763
|
+
}), p = nt(g, (w) => {
|
|
36763
36764
|
const C = a[w];
|
|
36764
36765
|
return gU({
|
|
36765
36766
|
title: C.title,
|
|
@@ -36861,7 +36862,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36861
36862
|
}
|
|
36862
36863
|
};
|
|
36863
36864
|
}, eb = (t, s, a) => {
|
|
36864
|
-
const c = a.dataset, d = c.type === "basic" ? () =>
|
|
36865
|
+
const c = a.dataset, d = c.type === "basic" ? () => nt(c.data, (g) => _x(g, a.isSelectedFor, a.getPreviewFor)) : c.getData;
|
|
36865
36866
|
return {
|
|
36866
36867
|
items: gD(s, a),
|
|
36867
36868
|
getStyleItems: d
|
|
@@ -36896,7 +36897,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36896
36897
|
classes: a.icon.isSome() ? [] : ["bespoke"],
|
|
36897
36898
|
dropdownBehaviours: []
|
|
36898
36899
|
}, "tox-tbtn", s.shared);
|
|
36899
|
-
}, X7 = (t) =>
|
|
36900
|
+
}, X7 = (t) => nt(t, (s) => {
|
|
36900
36901
|
let a = s, c = s;
|
|
36901
36902
|
const d = s.split("=");
|
|
36902
36903
|
return d.length > 1 && (a = d[0], c = d[1]), {
|
|
@@ -36968,7 +36969,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36968
36969
|
getSubmenuItems: () => a.items.validateItems(a.getStyleItems())
|
|
36969
36970
|
});
|
|
36970
36971
|
}, tB = (t, s) => {
|
|
36971
|
-
const a = s(), c =
|
|
36972
|
+
const a = s(), c = nt(a, (d) => d.format);
|
|
36972
36973
|
return D.from(t.formatter.closest(c)).bind((d) => Ke(a, (g) => g.format === d)).orThunk(() => pn(t.formatter.match("p"), {
|
|
36973
36974
|
title: "Paragraph",
|
|
36974
36975
|
format: "p"
|
|
@@ -37012,7 +37013,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37012
37013
|
"sans-serif"
|
|
37013
37014
|
], lB = (t) => {
|
|
37014
37015
|
const s = t.split(/\s*,\s*/);
|
|
37015
|
-
return
|
|
37016
|
+
return nt(s, (a) => a.replace(/^['"]+|['"]+$/g, ""));
|
|
37016
37017
|
}, cB = (t, s) => s.length > 0 && wn(s, (a) => t.indexOf(a.toLowerCase()) > -1), EU = (t, s) => {
|
|
37017
37018
|
if (t.indexOf("-apple-system") === 0 || s.length > 0) {
|
|
37018
37019
|
const a = lB(t.toLowerCase());
|
|
@@ -37630,7 +37631,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37630
37631
|
return h0.sketch({
|
|
37631
37632
|
lazySink: d.getSink,
|
|
37632
37633
|
fetch: () => tc.nu((C) => {
|
|
37633
|
-
C(
|
|
37634
|
+
C(nt(a(t.items), Q1));
|
|
37634
37635
|
}),
|
|
37635
37636
|
markers: { toggledClass: "tox-tbtn--enabled" },
|
|
37636
37637
|
parts: {
|
|
@@ -37857,7 +37858,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37857
37858
|
blocks: TU,
|
|
37858
37859
|
align: SU
|
|
37859
37860
|
}, jk = (t) => {
|
|
37860
|
-
const s =
|
|
37861
|
+
const s = nt(nW, (a) => {
|
|
37861
37862
|
const c = so(a.items, (d) => xo(t, d) || xo(_B, d));
|
|
37862
37863
|
return {
|
|
37863
37864
|
name: a.name,
|
|
@@ -37867,12 +37868,12 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37867
37868
|
return so(s, (a) => a.items.length > 0);
|
|
37868
37869
|
}, Gk = (t) => {
|
|
37869
37870
|
const s = t.split("|");
|
|
37870
|
-
return
|
|
37871
|
+
return nt(s, (a) => ({ items: a.trim().split(" ") }));
|
|
37871
37872
|
}, SB = (t) => dn(t, (s) => xo(s, "name") && xo(s, "items")), sW = (t) => {
|
|
37872
37873
|
const s = t.toolbar, a = t.buttons;
|
|
37873
37874
|
return s === !1 ? [] : s === void 0 || s === !0 ? jk(a) : q(s) ? Gk(s) : SB(s) ? s : (console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"), []);
|
|
37874
37875
|
}, rW = (t, s, a, c, d, g) => vt(s, a.toLowerCase()).orThunk(() => g.bind((p) => nr(p, (w) => vt(s, w + a.toLowerCase())))).fold(() => vt(_B, a.toLowerCase()).map((p) => p(t, d)), (p) => p.type === "grouptoolbarbutton" && !c ? (console.warn(`Ignoring the '${a}' toolbar button. Group toolbar buttons are only supported when using floating toolbar mode and cannot be nested.`), D.none()) : Zk(p, d, t)), qk = (t, s, a, c) => {
|
|
37875
|
-
const d = sW(s), g =
|
|
37876
|
+
const d = sW(s), g = nt(d, (p) => {
|
|
37876
37877
|
const w = Te(p.items, (C) => C.trim().length === 0 ? [] : rW(t, s.buttons, C, s.allowToolbarGroups, a, c).toArray());
|
|
37877
37878
|
return {
|
|
37878
37879
|
title: D.from(t.translate(p.name)),
|
|
@@ -38185,9 +38186,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38185
38186
|
}));
|
|
38186
38187
|
return xB(g, a, [xy(t, s)]);
|
|
38187
38188
|
}, yW = (t) => t.type === "contextformtogglebutton", BB = (t, s, a) => yW(s) ? vW(t, s, a) : MB(t, s, a), kD = (t, s, a) => {
|
|
38188
|
-
const c =
|
|
38189
|
+
const c = nt(s, (p) => Jo(BB(t, p, a)));
|
|
38189
38190
|
return {
|
|
38190
|
-
asSpecs: () =>
|
|
38191
|
+
asSpecs: () => nt(c, (p) => p.asSpec()),
|
|
38191
38192
|
findPrimary: (p) => nr(s, (w, C) => w.primary ? D.from(c[C]).bind((E) => E.getOpt(p)).filter(Ze(xn.isDisabled)) : D.none())
|
|
38192
38193
|
};
|
|
38193
38194
|
}, TD = (t, s) => {
|
|
@@ -38378,7 +38379,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38378
38379
|
const s = (g) => Ys(t, (p) => p.position === g), a = (g) => so(t, (p) => p.position === g), c = s("selection"), d = s("node");
|
|
38379
38380
|
if (c || d)
|
|
38380
38381
|
if (d && c) {
|
|
38381
|
-
const g = a("node"), p =
|
|
38382
|
+
const g = a("node"), p = nt(a("selection"), (w) => ({
|
|
38382
38383
|
...w,
|
|
38383
38384
|
position: "node"
|
|
38384
38385
|
}));
|
|
@@ -38562,7 +38563,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38562
38563
|
const { buttons: Dn } = t.ui.registry.getAll(), Sn = ye(), Yo = {
|
|
38563
38564
|
...Dn,
|
|
38564
38565
|
...Sn.formNavigators
|
|
38565
|
-
}, bn = Hv(t) === hu.scrolling ? hu.scrolling : hu.default, Ro = Ye(
|
|
38566
|
+
}, bn = Hv(t) === hu.scrolling ? hu.scrolling : hu.default, Ro = Ye(nt(jt, (Dt) => Dt.type === "contexttoolbar" ? Re(Yo, Dt) : mt(Dt, g.providers)));
|
|
38566
38567
|
return sD({
|
|
38567
38568
|
type: bn,
|
|
38568
38569
|
uid: Gt("context-toolbar"),
|
|
@@ -38668,7 +38669,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38668
38669
|
}, jB = (t, s) => {
|
|
38669
38670
|
const a = () => {
|
|
38670
38671
|
const c = s.getOptions(t), d = s.getCurrent(t).map(s.hash), g = ro();
|
|
38671
|
-
return
|
|
38672
|
+
return nt(c, (p) => ({
|
|
38672
38673
|
type: "togglemenuitem",
|
|
38673
38674
|
text: s.display(p),
|
|
38674
38675
|
onSetup: (w) => {
|
|
@@ -39284,7 +39285,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39284
39285
|
...s(t),
|
|
39285
39286
|
getSubmenuItems: () => {
|
|
39286
39287
|
const c = t.getSubmenuItems();
|
|
39287
|
-
return q(c) ? c :
|
|
39288
|
+
return q(c) ? c : nt(c, uP);
|
|
39288
39289
|
}
|
|
39289
39290
|
};
|
|
39290
39291
|
default:
|
|
@@ -39306,7 +39307,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39306
39307
|
if (q(w) && ua(Ur(w)))
|
|
39307
39308
|
return ND(d, w.split(" "));
|
|
39308
39309
|
if (pt(w) && w.length > 0) {
|
|
39309
|
-
const C =
|
|
39310
|
+
const C = nt(w, uP);
|
|
39310
39311
|
return ND(d, C);
|
|
39311
39312
|
} else
|
|
39312
39313
|
return d;
|
|
@@ -39748,10 +39749,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39748
39749
|
const a = hn([]), c = hn([]), d = hn(!1), g = ro(), p = ro(), w = (yt) => {
|
|
39749
39750
|
const At = al(yt);
|
|
39750
39751
|
return UD(Z.getOpt(s), yt, At.x, At.y, At.width, At.height);
|
|
39751
|
-
}, C = () =>
|
|
39752
|
+
}, C = () => nt(a.get(), (yt) => w(yt)), E = (yt) => {
|
|
39752
39753
|
const At = al(yt);
|
|
39753
39754
|
return UD(Q.getOpt(s), yt, At.right, At.bottom, At.width, At.height);
|
|
39754
|
-
}, $ = () =>
|
|
39755
|
+
}, $ = () => nt(c.get(), (yt) => E(yt)), N = WD(C, g, (yt) => {
|
|
39755
39756
|
p.get().each((At) => {
|
|
39756
39757
|
t.dispatch("TableSelectorChange", {
|
|
39757
39758
|
start: yt,
|
|
@@ -40822,7 +40823,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40822
40823
|
tag: "div",
|
|
40823
40824
|
classes: ["tox-form"].concat(t.classes)
|
|
40824
40825
|
},
|
|
40825
|
-
components:
|
|
40826
|
+
components: nt(t.items, (g) => hx(d, g, s, a))
|
|
40826
40827
|
})));
|
|
40827
40828
|
return {
|
|
40828
40829
|
dom: {
|
|
@@ -41046,7 +41047,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41046
41047
|
t.showTab(s, a);
|
|
41047
41048
|
}
|
|
41048
41049
|
}
|
|
41049
|
-
}), mr = (t, s, a) =>
|
|
41050
|
+
}), mr = (t, s, a) => nt(t, (c, d) => {
|
|
41050
41051
|
Fn.set(a, t[d].view());
|
|
41051
41052
|
const g = s.dom.getBoundingClientRect();
|
|
41052
41053
|
return Fn.set(a, []), g.height;
|
|
@@ -41112,7 +41113,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41112
41113
|
}, g = (E) => {
|
|
41113
41114
|
const $ = c.get();
|
|
41114
41115
|
Vt.setValue(E, $);
|
|
41115
|
-
}, p = hn(null), w =
|
|
41116
|
+
}, p = hn(null), w = nt(t.tabs, (E) => ({
|
|
41116
41117
|
value: E.name,
|
|
41117
41118
|
dom: {
|
|
41118
41119
|
tag: "div",
|
|
@@ -41124,7 +41125,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41124
41125
|
tag: "div",
|
|
41125
41126
|
classes: ["tox-form"]
|
|
41126
41127
|
},
|
|
41127
|
-
components:
|
|
41128
|
+
components: nt(E.items, (N) => hx($, N, s, a)),
|
|
41128
41129
|
formBehaviours: xt([
|
|
41129
41130
|
fn.config({
|
|
41130
41131
|
mode: "acyclic",
|
|
@@ -41530,7 +41531,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41530
41531
|
}
|
|
41531
41532
|
})), x4 = (t, s = {}) => {
|
|
41532
41533
|
const a = (c) => {
|
|
41533
|
-
const d =
|
|
41534
|
+
const d = nt(c.items, (g) => {
|
|
41534
41535
|
const p = vt(s, g.name).getOr(hn(!1));
|
|
41535
41536
|
return {
|
|
41536
41537
|
...g,
|
|
@@ -41542,7 +41543,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41542
41543
|
items: d
|
|
41543
41544
|
};
|
|
41544
41545
|
};
|
|
41545
|
-
return
|
|
41546
|
+
return nt(t, (c) => c.type === "menu" ? a(c) : c);
|
|
41546
41547
|
}, eO = (t) => Wo(t, (s, a) => a.type === "menu" ? Wo(a.items, (d, g) => (d[g.name] = g.storage, d), s) : s, {}), tO = (t, s) => [
|
|
41547
41548
|
Fy(dl(), Q9),
|
|
41548
41549
|
t(oy, (a, c, d, g) => {
|
|
@@ -41611,7 +41612,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41611
41612
|
tag: "div",
|
|
41612
41613
|
classes: [`tox-dialog__footer-${w}`]
|
|
41613
41614
|
},
|
|
41614
|
-
components:
|
|
41615
|
+
components: nt(C, (E) => E.memento.asSpec())
|
|
41615
41616
|
}), g = d("start", c.pass), p = d("end", c.fail);
|
|
41616
41617
|
return [
|
|
41617
41618
|
g,
|
|
@@ -41619,7 +41620,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41619
41620
|
];
|
|
41620
41621
|
}, Vr = (t, s, a) => {
|
|
41621
41622
|
const c = (d, g) => {
|
|
41622
|
-
const p =
|
|
41623
|
+
const p = nt(g.buttons, (C) => {
|
|
41623
41624
|
const E = Jo(ze(C, a));
|
|
41624
41625
|
return {
|
|
41625
41626
|
name: C.name,
|
|
@@ -42228,7 +42229,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42228
42229
|
}, G = (i) => {
|
|
42229
42230
|
const m = typeof i;
|
|
42230
42231
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && te(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
42231
|
-
}, Ce = (i) => (m) => G(m) === i, oe = (i) => (m) => typeof m === i, U = (i) => (m) => i === m, be = Ce("string"), q = Ce("object"), De = Ce("array"),
|
|
42232
|
+
}, Ce = (i) => (m) => G(m) === i, oe = (i) => (m) => typeof m === i, U = (i) => (m) => i === m, be = Ce("string"), q = Ce("object"), De = Ce("array"), tt = U(null), pt = oe("boolean"), cn = U(void 0), kt = (i) => i == null, io = (i) => !kt(i), lo = oe("function"), eo = oe("number"), Ot = () => {
|
|
42232
42233
|
}, Ls = (i, m) => (...h) => i(m.apply(null, h)), dn = (i, m) => (h) => i(m(h)), he = (i) => () => i, Tt = (i) => i, ia = (i, m) => i === m;
|
|
42233
42234
|
function oo(i, ...m) {
|
|
42234
42235
|
return (...h) => {
|
|
@@ -42358,7 +42359,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42358
42359
|
return h;
|
|
42359
42360
|
}, vr = (i, m, h) => (no(i, (v, S) => {
|
|
42360
42361
|
h = m(h, v, S);
|
|
42361
|
-
}), h),
|
|
42362
|
+
}), h), nt = (i, m, h) => (Be(i, (v, S) => {
|
|
42362
42363
|
h = m(h, v, S);
|
|
42363
42364
|
}), h), bt = (i, m, h) => {
|
|
42364
42365
|
for (let v = 0, S = i.length; v < S; v++) {
|
|
@@ -42486,7 +42487,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42486
42487
|
return h === null ? void 0 : h;
|
|
42487
42488
|
}, ua = (i, m) => pe.from(Ur(i, m)), Fs = (i, m) => {
|
|
42488
42489
|
i.dom.removeAttribute(m);
|
|
42489
|
-
}, Or = (i) =>
|
|
42490
|
+
}, Or = (i) => nt(i.dom.attributes, (m, h) => (m[h.name] = h.value, m), {}), sc = (i, m) => {
|
|
42490
42491
|
const v = (m || document).createElement("div");
|
|
42491
42492
|
if (v.innerHTML = i, !v.hasChildNodes() || v.childNodes.length > 1) {
|
|
42492
42493
|
const S = "HTML does not have a single root node";
|
|
@@ -43025,7 +43026,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43025
43026
|
return parseFloat(fe) || 0;
|
|
43026
43027
|
}
|
|
43027
43028
|
return ne;
|
|
43028
|
-
}, S = v, O = (j, ne) =>
|
|
43029
|
+
}, S = v, O = (j, ne) => nt(ne, (fe, Oe) => {
|
|
43029
43030
|
const lt = ha(j, Oe), Pt = lt === void 0 ? 0 : parseInt(lt, 10);
|
|
43030
43031
|
return isNaN(Pt) ? fe : fe + Pt;
|
|
43031
43032
|
}, 0);
|
|
@@ -43064,7 +43065,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43064
43065
|
const v = _t(i.cells, h);
|
|
43065
43066
|
return ft(m(i.element), v, i.section, !0);
|
|
43066
43067
|
}, td = "data-snooker-locked-cols", cr = (i) => ua(i, td).bind((m) => pe.from(m.match(/\d+/g))).map((m) => Ke(m, Ze)), jr = (i) => {
|
|
43067
|
-
const m =
|
|
43068
|
+
const m = nt(Mr(i).rows, (v, S) => (Be(S.cells, (O, L) => {
|
|
43068
43069
|
O.isLocked && (v[L] = !0);
|
|
43069
43070
|
}), v), {}), h = nr(m, (v, S) => parseInt(S, 10));
|
|
43070
43071
|
return Rt(h);
|
|
@@ -43399,7 +43400,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43399
43400
|
}, X = (i, m, h, v) => {
|
|
43400
43401
|
if (v.minCol === 0 && m.grid.columns === v.maxCol + 1)
|
|
43401
43402
|
return 0;
|
|
43402
|
-
const S = kl(m, i, h), O =
|
|
43403
|
+
const S = kl(m, i, h), O = nt(S, (fe, Oe) => fe + Oe, 0), ne = nt(S.slice(v.minCol, v.maxCol + 1), (fe, Oe) => fe + Oe, 0) / O * h.pixelWidth() - h.pixelWidth();
|
|
43403
43404
|
return h.getCellDelta(ne);
|
|
43404
43405
|
}, we = (i, m) => {
|
|
43405
43406
|
const h = (Pt) => Yr(Pt.element, m), v = Vl(i), S = vi(v), O = Gl.getTableSize(i), L = Yn.generate(S), j = hn(L, h), ne = "th:not(" + m + "),td:not(" + m + ")", fe = Ju(v, "th,td", (Pt) => Yr(Pt, ne));
|
|
@@ -43953,7 +43954,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43953
43954
|
if (ne >= 0)
|
|
43954
43955
|
return ne;
|
|
43955
43956
|
{
|
|
43956
|
-
const lt =
|
|
43957
|
+
const lt = nt(L, (Pt, Bt) => Pt + Bt - fe, 0);
|
|
43957
43958
|
return Math.max(-lt, ne);
|
|
43958
43959
|
}
|
|
43959
43960
|
} else
|
|
@@ -44174,7 +44175,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44174
44175
|
lt && !O ? Ld(ne, j, Ie(v(), !0, fe.isLocked)) : lt && (O = !1);
|
|
44175
44176
|
}
|
|
44176
44177
|
return i;
|
|
44177
|
-
}, W4 = (i, m) =>
|
|
44178
|
+
}, W4 = (i, m) => nt(i, (h, v) => st(h, (S) => m(S.element, v.element)) ? h : h.concat([v]), []), Z4 = (i, m, h, v) => (m > 0 && m < i[0].cells.length && Be(i, (S) => {
|
|
44178
44179
|
const O = S.cells[m - 1];
|
|
44179
44180
|
let L = 0;
|
|
44180
44181
|
const j = v();
|
|
@@ -44276,7 +44277,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44276
44277
|
}, kr = (i, m, h, v) => _t(i, (S) => {
|
|
44277
44278
|
const O = ah(m, S, h, In);
|
|
44278
44279
|
return _l(S, v, O);
|
|
44279
|
-
}), mC = (i, m, h) => _t(i, (v) =>
|
|
44280
|
+
}), mC = (i, m, h) => _t(i, (v) => nt(h, (S, O) => {
|
|
44280
44281
|
const L = ah(1, v, m, Ze)[0];
|
|
44281
44282
|
return Su(S, O, L);
|
|
44282
44283
|
}, v)), pp = (i, m, h) => {
|
|
@@ -44527,7 +44528,7 @@ Required: ` + m.join(", "));
|
|
|
44527
44528
|
}, Yd = (i, m, h, v) => {
|
|
44528
44529
|
const S = Yn.generate(m), O = v.getWidths(S, v);
|
|
44529
44530
|
is(S, O, v);
|
|
44530
|
-
}, Gf = (i) =>
|
|
44531
|
+
}, Gf = (i) => nt(i, (h, v) => st(h, (O) => O.column === v.column) ? h : h.concat([v]), []).sort((h, v) => h.column - v.column), n2 = Cr("col"), jb = Cr("colgroup"), Z0 = (i) => ts(i) === "tr" || jb(i), o2 = (i) => {
|
|
44531
44532
|
const m = xs(i, "colspan", 1), h = xs(i, "rowspan", 1);
|
|
44532
44533
|
return {
|
|
44533
44534
|
element: i,
|
|
@@ -44667,7 +44668,7 @@ Required: ` + m.join(", "));
|
|
|
44667
44668
|
}, fc = (i, m, h) => {
|
|
44668
44669
|
const v = X4(i, m, h);
|
|
44669
44670
|
return wp(i, v);
|
|
44670
|
-
}, Ca = (i) =>
|
|
44671
|
+
}, Ca = (i) => nt(i, (h, v) => st(h, (O) => O.row === v.row) ? h : h.concat([v]), []).sort((h, v) => h.row - v.row), gl = (i, m, h, v) => {
|
|
44671
44672
|
const S = m[0].row, O = Ca(m), L = vr(O, (j, ne) => ({
|
|
44672
44673
|
grid: hC(j.grid, S, ne.row + j.delta, h, v.getOrInit),
|
|
44673
44674
|
delta: j.delta + 1
|
|
@@ -44758,7 +44759,7 @@ Required: ` + m.join(", "));
|
|
|
44758
44759
|
}).getOr("");
|
|
44759
44760
|
}, m2 = (i, m, h, v) => Yd(i, m, h, v.sizing), Sa = (i, m, h, v) => xa(i, m, h, v.sizing, v.resize), _C = (i, m) => st(m, (h) => h.column === 0 && h.isLocked), Jb = (i, m) => st(m, (h) => h.column + h.colspan >= i.grid.columns && h.isLocked), f2 = (i, m) => {
|
|
44760
44761
|
const h = od(i), v = Gf(m);
|
|
44761
|
-
return
|
|
44762
|
+
return nt(v, (S, O) => {
|
|
44762
44763
|
const j = h[O.column].map(Ci).getOr(0);
|
|
44763
44764
|
return S + j;
|
|
44764
44765
|
}, 0);
|
|
@@ -45942,7 +45943,7 @@ Required: ` + m.join(", "));
|
|
|
45942
45943
|
}, Q3 = (i, m) => {
|
|
45943
45944
|
let h = null;
|
|
45944
45945
|
const v = () => {
|
|
45945
|
-
|
|
45946
|
+
tt(h) || (clearTimeout(h), h = null);
|
|
45946
45947
|
};
|
|
45947
45948
|
return {
|
|
45948
45949
|
cancel: v,
|
|
@@ -46471,7 +46472,7 @@ Required: ` + m.join(", "));
|
|
|
46471
46472
|
}, G = (_) => {
|
|
46472
46473
|
const M = typeof _;
|
|
46473
46474
|
return _ === null ? "null" : M === "object" && Array.isArray(_) ? "array" : M === "object" && te(_, String, (W, ce) => ce.isPrototypeOf(W)) ? "string" : M;
|
|
46474
|
-
}, Ce = (_) => (M) => G(M) === _, oe = (_) => (M) => typeof M === _, U = Ce("string"), be = Ce("object"), q = Ce("array"), De = oe("boolean"),
|
|
46475
|
+
}, Ce = (_) => (M) => G(M) === _, oe = (_) => (M) => typeof M === _, U = Ce("string"), be = Ce("object"), q = Ce("array"), De = oe("boolean"), tt = (_) => _ == null, pt = (_) => !tt(_), cn = oe("function"), kt = oe("number"), io = () => {
|
|
46475
46476
|
}, lo = (_, M) => (W) => _(M(W)), eo = (_) => () => _, Ot = (_, M) => _ === M;
|
|
46476
46477
|
function Ls(_, ...M) {
|
|
46477
46478
|
return (...W) => {
|
|
@@ -46619,7 +46620,7 @@ Required: ` + m.join(", "));
|
|
|
46619
46620
|
ce(Jt) || W.push(Jt);
|
|
46620
46621
|
}
|
|
46621
46622
|
return W;
|
|
46622
|
-
}, vr = (_, M, W = Ot) => _.exists((ce) => W(ce, M)),
|
|
46623
|
+
}, vr = (_, M, W = Ot) => _.exists((ce) => W(ce, M)), nt = (_, M, W = Ot) => bt(_, M, W).getOr(_.isNone() && M.isNone()), bt = (_, M, W) => _.isSome() && M.isSome() ? Tt.some(W(_.getOrDie(), M.getOrDie())) : Tt.none(), z = 8, tl = 9, so = 11, rs = 1, Wo = 3, ji = (_, M) => {
|
|
46623
46624
|
const ce = (M || document).createElement("div");
|
|
46624
46625
|
if (ce.innerHTML = _, !ce.hasChildNodes() || ce.childNodes.length > 1) {
|
|
46625
46626
|
const ve = "HTML does not have a single root node";
|
|
@@ -47412,7 +47413,7 @@ Required: ` + m.join(", "));
|
|
|
47412
47413
|
"th",
|
|
47413
47414
|
"caption"
|
|
47414
47415
|
], ds(Wl)), vn = (Wl) => Wl.dom === ve, Ws = Zs(wn.fromDom(Rn), Tn, vn), oa = Zs(wn.fromDom(Jt.startContainer), Tn, vn);
|
|
47415
|
-
return
|
|
47416
|
+
return nt(Ws, oa, Ut) ? (_.undoManager.transact(() => {
|
|
47416
47417
|
const Wl = Rn.parentNode;
|
|
47417
47418
|
_l(W, it, ve), Nd(W, Wl), _.selection.select(Rn, !0), _.selection.collapse(M);
|
|
47418
47419
|
}), !0) : !1;
|
|
@@ -47619,7 +47620,7 @@ Required: ` + m.join(", "));
|
|
|
47619
47620
|
}, G = (K) => {
|
|
47620
47621
|
const ge = typeof K;
|
|
47621
47622
|
return K === null ? "null" : ge === "object" && Array.isArray(K) ? "array" : ge === "object" && te(K, String, (Ee, Ie) => Ie.isPrototypeOf(Ee)) ? "string" : ge;
|
|
47622
|
-
}, Ce = (K) => (ge) => G(ge) === K, oe = (K) => (ge) => typeof ge === K, U = (K) => (ge) => K === ge, be = Ce("string"), q = Ce("object"), De = Ce("array"),
|
|
47623
|
+
}, Ce = (K) => (ge) => G(ge) === K, oe = (K) => (ge) => typeof ge === K, U = (K) => (ge) => K === ge, be = Ce("string"), q = Ce("object"), De = Ce("array"), tt = U(null), pt = oe("boolean"), cn = (K) => K == null, kt = (K) => !cn(K), io = oe("function"), lo = (K, ge) => {
|
|
47623
47624
|
if (De(K)) {
|
|
47624
47625
|
for (let Ee = 0, Ie = K.length; Ee < Ie; ++Ee)
|
|
47625
47626
|
if (!ge(K[Ee]))
|
|
@@ -47781,7 +47782,7 @@ Required: ` + m.join(", "));
|
|
|
47781
47782
|
processor: "boolean",
|
|
47782
47783
|
default: !1
|
|
47783
47784
|
});
|
|
47784
|
-
}, st = D("link_assume_external_targets"), Ht = D("link_context_toolbar"), _t = D("link_list"), Be = D("link_default_target"), no = D("link_default_protocol"), Ys = D("link_target_list"), ho = D("link_rel_list"), vr = D("link_class_list"),
|
|
47785
|
+
}, st = D("link_assume_external_targets"), Ht = D("link_context_toolbar"), _t = D("link_list"), Be = D("link_default_target"), no = D("link_default_protocol"), Ys = D("link_target_list"), ho = D("link_rel_list"), vr = D("link_class_list"), nt = D("link_title"), bt = D("allow_unsafe_link_target"), z = D("link_quicklink");
|
|
47785
47786
|
var tl = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
47786
47787
|
const so = (K) => be(K.value) ? K.value : "", rs = (K) => be(K.text) ? K.text : be(K.title) ? K.title : "", Wo = (K, ge) => {
|
|
47787
47788
|
const Ee = [];
|
|
@@ -47912,7 +47913,7 @@ Required: ` + m.join(", "));
|
|
|
47912
47913
|
target: ft.getOrNull(),
|
|
47913
47914
|
text: gn.getOrNull(),
|
|
47914
47915
|
title: Zo.getOrNull()
|
|
47915
|
-
}, (as, jo) =>
|
|
47916
|
+
}, (as, jo) => tt(as) === !1);
|
|
47916
47917
|
}, Dr = (K, ge) => {
|
|
47917
47918
|
const Ee = K.options.get, Ie = {
|
|
47918
47919
|
allow_html_data_urls: Ee("allow_html_data_urls"),
|
|
@@ -48091,7 +48092,7 @@ Required: ` + m.join(", "));
|
|
|
48091
48092
|
link: Ee
|
|
48092
48093
|
},
|
|
48093
48094
|
optNode: ge,
|
|
48094
|
-
flags: { titleEnabled:
|
|
48095
|
+
flags: { titleEnabled: nt(K) }
|
|
48095
48096
|
};
|
|
48096
48097
|
}) }, gi = (K, ge) => (Ee) => {
|
|
48097
48098
|
const Ie = Ee.getData();
|
|
@@ -48376,7 +48377,7 @@ Required: ` + m.join(", "));
|
|
|
48376
48377
|
}, Ce = (I) => {
|
|
48377
48378
|
const J = typeof I;
|
|
48378
48379
|
return I === null ? "null" : J === "object" && Array.isArray(I) ? "array" : J === "object" && G(I, String, (le, Fe) => Fe.isPrototypeOf(le)) ? "string" : J;
|
|
48379
|
-
}, oe = (I) => (J) => Ce(J) === I, U = (I) => (J) => typeof J === I, be = (I) => (J) => I === J, q = (I, J) =>
|
|
48380
|
+
}, oe = (I) => (J) => Ce(J) === I, U = (I) => (J) => typeof J === I, be = (I) => (J) => I === J, q = (I, J) => tt(I) && G(I, J, (le, Fe) => te(le) === Fe), De = oe("string"), tt = oe("object"), pt = (I) => q(I, Object), cn = oe("array"), kt = be(null), io = U("boolean"), lo = (I) => I == null, eo = (I) => !lo(I), Ot = U("function"), Ls = U("number"), dn = (I, J) => {
|
|
48380
48381
|
if (cn(I)) {
|
|
48381
48382
|
for (let le = 0, Fe = I.length; le < Fe; ++le)
|
|
48382
48383
|
if (!J(I[le]))
|
|
@@ -48515,7 +48516,7 @@ Required: ` + m.join(", "));
|
|
|
48515
48516
|
if (I == null)
|
|
48516
48517
|
throw new Error("Node cannot be null or undefined");
|
|
48517
48518
|
return { dom: I };
|
|
48518
|
-
},
|
|
48519
|
+
}, nt = {
|
|
48519
48520
|
fromHtml: Be,
|
|
48520
48521
|
fromTag: no,
|
|
48521
48522
|
fromText: Ys,
|
|
@@ -48548,7 +48549,7 @@ Required: ` + m.join(", "));
|
|
|
48548
48549
|
default: !1
|
|
48549
48550
|
}), J("image_list", {
|
|
48550
48551
|
processor: (le) => {
|
|
48551
|
-
const Fe = le === !1 || De(le) || dn(le,
|
|
48552
|
+
const Fe = le === !1 || De(le) || dn(le, tt) || Ot(le);
|
|
48552
48553
|
return Fe ? {
|
|
48553
48554
|
value: le,
|
|
48554
48555
|
valid: Fe
|
|
@@ -48703,14 +48704,14 @@ Required: ` + m.join(", "));
|
|
|
48703
48704
|
}, ua = (I, J, le) => {
|
|
48704
48705
|
if (le) {
|
|
48705
48706
|
vs.setAttrib(I, "role", "presentation");
|
|
48706
|
-
const Fe =
|
|
48707
|
+
const Fe = nt.fromDom(I);
|
|
48707
48708
|
Ht(Fe, "alt", "");
|
|
48708
48709
|
} else {
|
|
48709
48710
|
if (kt(J)) {
|
|
48710
|
-
const Fe =
|
|
48711
|
+
const Fe = nt.fromDom(I);
|
|
48711
48712
|
_t(Fe, "alt");
|
|
48712
48713
|
} else {
|
|
48713
|
-
const Fe =
|
|
48714
|
+
const Fe = nt.fromDom(I);
|
|
48714
48715
|
Ht(Fe, "alt", J);
|
|
48715
48716
|
}
|
|
48716
48717
|
vs.getAttrib(I, "role") === "presentation" && vs.setAttrib(I, "role", "");
|
|
@@ -49245,7 +49246,7 @@ Required: ` + m.join(", "));
|
|
|
49245
49246
|
}, G = (x) => {
|
|
49246
49247
|
const T = typeof x;
|
|
49247
49248
|
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && te(x, String, (V, X) => X.isPrototypeOf(V)) ? "string" : T;
|
|
49248
|
-
}, Ce = (x) => (T) => G(T) === x, oe = (x) => (T) => typeof T === x, U = (x) => (T) => x === T, be = Ce("string"), q = Ce("array"), De = oe("boolean"),
|
|
49249
|
+
}, Ce = (x) => (T) => G(T) === x, oe = (x) => (T) => typeof T === x, U = (x) => (T) => x === T, be = Ce("string"), q = Ce("array"), De = oe("boolean"), tt = U(void 0), pt = (x) => x == null, cn = (x) => !pt(x), kt = oe("function"), io = oe("number"), lo = () => {
|
|
49249
49250
|
}, eo = (x, T) => (V) => x(T(V)), Ot = (x) => () => x, Ls = (x) => x, dn = (x, T) => x === T;
|
|
49250
49251
|
function he(x, ...T) {
|
|
49251
49252
|
return (...V) => {
|
|
@@ -49359,7 +49360,7 @@ Required: ` + m.join(", "));
|
|
|
49359
49360
|
return !0;
|
|
49360
49361
|
}
|
|
49361
49362
|
return !1;
|
|
49362
|
-
},
|
|
49363
|
+
}, nt = (x, T) => {
|
|
49363
49364
|
const V = [];
|
|
49364
49365
|
for (let X = 0; X < x; X++)
|
|
49365
49366
|
V.push(T(X));
|
|
@@ -49659,7 +49660,7 @@ Required: ` + m.join(", "));
|
|
|
49659
49660
|
let V = 0;
|
|
49660
49661
|
return z(x.cells, (X) => {
|
|
49661
49662
|
const we = X.colspan;
|
|
49662
|
-
|
|
49663
|
+
nt(we, (je) => {
|
|
49663
49664
|
const gt = V + je;
|
|
49664
49665
|
T[gt] = Yu(X.element, we, gt);
|
|
49665
49666
|
}), V += we;
|
|
@@ -49723,7 +49724,7 @@ Required: ` + m.join(", "));
|
|
|
49723
49724
|
let we;
|
|
49724
49725
|
for (let je = 0; je < X.length; je++) {
|
|
49725
49726
|
const gt = x.getStyle(X[je], V);
|
|
49726
|
-
if (
|
|
49727
|
+
if (tt(we) && (we = gt), we !== gt)
|
|
49727
49728
|
return "";
|
|
49728
49729
|
}
|
|
49729
49730
|
return we;
|
|
@@ -49748,7 +49749,7 @@ Required: ` + m.join(", "));
|
|
|
49748
49749
|
return T === "border-box" ? X : Hh(x, X, "left", "right");
|
|
49749
49750
|
}, ha = (x) => Gs(x, "content-box");
|
|
49750
49751
|
var Vh = tinymce.util.Tools.resolve("tinymce.Env");
|
|
49751
|
-
const Rg = "tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol", lc =
|
|
49752
|
+
const Rg = "tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol", lc = nt(5, (x) => {
|
|
49752
49753
|
const T = `${x + 1}px`;
|
|
49753
49754
|
return {
|
|
49754
49755
|
title: T,
|
|
@@ -50428,7 +50429,7 @@ Required: ` + T.join(", "));
|
|
|
50428
50429
|
});
|
|
50429
50430
|
});
|
|
50430
50431
|
}), T;
|
|
50431
|
-
}, Br = (x, T, V, X) => Rt(x, (we) => !
|
|
50432
|
+
}, Br = (x, T, V, X) => Rt(x, (we) => !tt(V.formatter.matchNode(X, T + we))).getOr(""), sd = he(Br, [
|
|
50432
50433
|
"left",
|
|
50433
50434
|
"center",
|
|
50434
50435
|
"right"
|
|
@@ -50804,7 +50805,7 @@ Required: ` + T.join(", "));
|
|
|
50804
50805
|
yb(x, T.children[we], V, X);
|
|
50805
50806
|
}, cu = (x, T, V, X) => {
|
|
50806
50807
|
const we = x.dom, je = {}, gt = {}, Mt = Wc(x), an = sl(x);
|
|
50807
|
-
if (
|
|
50808
|
+
if (tt(V.class) || (je.class = V.class), gt.height = ys(V.height), Mt ? gt.width = ys(V.width) : we.getAttrib(T, "width") && (je.width = Xi(V.width)), Mt ? (gt["border-width"] = ys(V.border), gt["border-spacing"] = ys(V.cellspacing)) : (je.border = V.border, je.cellpadding = V.cellpadding, je.cellspacing = V.cellspacing), Mt && T.children) {
|
|
50808
50809
|
const zn = {};
|
|
50809
50810
|
if (X.border && (zn["border-width"] = ys(V.border)), X.cellpadding && (zn.padding = ys(V.cellpadding)), an && X.bordercolor && (zn["border-color"] = V.bordercolor), !_t(zn))
|
|
50810
50811
|
for (let ir = 0; ir < T.children.length; ir++)
|
|
@@ -51434,8 +51435,8 @@ Required: ` + T.join(", "));
|
|
|
51434
51435
|
}
|
|
51435
51436
|
],
|
|
51436
51437
|
initialData: { code: De },
|
|
51437
|
-
onSubmit: (
|
|
51438
|
-
te(q,
|
|
51438
|
+
onSubmit: (tt) => {
|
|
51439
|
+
te(q, tt.getData().code), tt.close();
|
|
51439
51440
|
}
|
|
51440
51441
|
});
|
|
51441
51442
|
}, oe = (q) => {
|
|
@@ -51511,7 +51512,7 @@ Required: ` + T.join(", "));
|
|
|
51511
51512
|
new RegExp(be.katakana),
|
|
51512
51513
|
new RegExp(be.extendnumlet),
|
|
51513
51514
|
new RegExp("@")
|
|
51514
|
-
],
|
|
51515
|
+
], tt = "", pt = new RegExp("^" + be.punctuation + "$"), cn = /^\s+$/, kt = De, io = q.OTHER, lo = (Ke) => {
|
|
51515
51516
|
let Rt = io;
|
|
51516
51517
|
const Ye = kt.length;
|
|
51517
51518
|
for (let Te = 0; Te < Ye; ++Te) {
|
|
@@ -51544,7 +51545,7 @@ Required: ` + T.join(", "));
|
|
|
51544
51545
|
return !1;
|
|
51545
51546
|
const qo = Ke[Rt - 1];
|
|
51546
51547
|
return (Ye === q.MIDLETTER || Ye === q.MIDNUMLET || Te === q.AT) && Te === q.ALETTER && qo === q.ALETTER || (Ye === q.NUMERIC || Ye === q.ALETTER) && (Te === q.NUMERIC || Te === q.ALETTER) || (Ye === q.MIDNUM || Ye === q.MIDNUMLET) && Te === q.NUMERIC && qo === q.NUMERIC || Ye === q.NUMERIC && (Te === q.MIDNUM || Te === q.MIDNUMLET) && wn === q.NUMERIC || (Ye === q.EXTEND || Ye === q.FORMAT) && (Te === q.ALETTER || Te === q.NUMERIC || Te === q.KATAKANA || Te === q.EXTEND || Te === q.FORMAT) || (Te === q.EXTEND || Te === q.FORMAT && (wn === q.ALETTER || wn === q.NUMERIC || wn === q.KATAKANA || wn === q.EXTEND || wn === q.FORMAT)) && (Ye === q.ALETTER || Ye === q.NUMERIC || Ye === q.KATAKANA || Ye === q.EXTEND || Ye === q.FORMAT) || Ye === q.CR && Te === q.LF ? !1 : Ye === q.NEWLINE || Ye === q.CR || Ye === q.LF || Te === q.NEWLINE || Te === q.CR || Te === q.LF ? !0 : !(Ye === q.KATAKANA && Te === q.KATAKANA || Te === q.EXTENDNUMLET && (Ye === q.ALETTER || Ye === q.NUMERIC || Ye === q.KATAKANA || Ye === q.EXTENDNUMLET) || Ye === q.EXTENDNUMLET && (Te === q.ALETTER || Te === q.NUMERIC || Te === q.KATAKANA) || Ye === q.AT);
|
|
51547
|
-
}, dn =
|
|
51548
|
+
}, dn = tt, he = cn, Tt = pt, ia = (Ke) => Ke === "http" || Ke === "https", oo = (Ke, Rt) => {
|
|
51548
51549
|
let Ye;
|
|
51549
51550
|
for (Ye = Rt; Ye < Ke.length && !he.test(Ke[Ye]); Ye++)
|
|
51550
51551
|
;
|
|
@@ -51655,7 +51656,7 @@ Required: ` + T.join(", "));
|
|
|
51655
51656
|
primary: !0
|
|
51656
51657
|
}]
|
|
51657
51658
|
});
|
|
51658
|
-
},
|
|
51659
|
+
}, nt = (Ke, Rt) => {
|
|
51659
51660
|
Ke.addCommand("mceWordCount", () => vr(Ke, Rt));
|
|
51660
51661
|
}, bt = (Ke, Rt) => {
|
|
51661
51662
|
let Ye = null;
|
|
@@ -51703,7 +51704,7 @@ Required: ` + T.join(", "));
|
|
|
51703
51704
|
var ji = (Ke = 300) => {
|
|
51704
51705
|
A.add("wordcount", (Rt) => {
|
|
51705
51706
|
const Ye = ho(Rt);
|
|
51706
|
-
return
|
|
51707
|
+
return nt(Rt, Ye), Wo(Rt), rs(Rt, Ye, Ke), Ye;
|
|
51707
51708
|
});
|
|
51708
51709
|
};
|
|
51709
51710
|
ji();
|
|
@@ -51740,28 +51741,28 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
|
|
|
51740
51741
|
// disable import of skins
|
|
51741
51742
|
content_css: !1,
|
|
51742
51743
|
// disable import of css
|
|
51743
|
-
setup(
|
|
51744
|
-
be =
|
|
51745
|
-
oe("update:modelValue",
|
|
51746
|
-
}),
|
|
51747
|
-
|
|
51744
|
+
setup(tt) {
|
|
51745
|
+
be = tt, tt.on("Change", () => {
|
|
51746
|
+
oe("update:modelValue", tt.getContent());
|
|
51747
|
+
}), tt.on("init", () => {
|
|
51748
|
+
tt.setContent(Ce.modelValue);
|
|
51748
51749
|
});
|
|
51749
51750
|
}
|
|
51750
51751
|
});
|
|
51751
51752
|
}), lO(() => {
|
|
51752
51753
|
be && (be.destroy(), be = null);
|
|
51753
|
-
}), Sf(() => Ce.modelValue, (
|
|
51754
|
-
be && be.getContent() !==
|
|
51754
|
+
}), Sf(() => Ce.modelValue, (tt) => {
|
|
51755
|
+
be && be.getContent() !== tt && be.setContent(tt);
|
|
51755
51756
|
});
|
|
51756
51757
|
const De = bu({
|
|
51757
51758
|
get() {
|
|
51758
51759
|
return Ce.modelValue;
|
|
51759
51760
|
},
|
|
51760
|
-
set(
|
|
51761
|
-
oe("update:modelValue",
|
|
51761
|
+
set(tt) {
|
|
51762
|
+
oe("update:modelValue", tt);
|
|
51762
51763
|
}
|
|
51763
51764
|
});
|
|
51764
|
-
return te({ focus: () => U.value.focus() }), (
|
|
51765
|
+
return te({ focus: () => U.value.focus() }), (tt, pt) => (ue(), de(jn, null, [
|
|
51765
51766
|
A.show ? (ue(), de("div", {
|
|
51766
51767
|
key: 0,
|
|
51767
51768
|
class: zt(A.field_name)
|
|
@@ -51794,7 +51795,7 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
|
|
|
51794
51795
|
}]),
|
|
51795
51796
|
type: A.type,
|
|
51796
51797
|
"onUpdate:modelValue": pt[0] || (pt[0] = (cn) => De.value = cn),
|
|
51797
|
-
onKeydown: pt[1] || (pt[1] = (cn) =>
|
|
51798
|
+
onKeydown: pt[1] || (pt[1] = (cn) => tt.$emit("keydown", cn)),
|
|
51798
51799
|
ref_key: "input",
|
|
51799
51800
|
ref: U,
|
|
51800
51801
|
rows: "4"
|
|
@@ -51860,8 +51861,8 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
|
|
|
51860
51861
|
return this.lastPage;
|
|
51861
51862
|
for (var A = this.currentPage, te = this.lastPage, G = this.limit, Ce = A - G, oe = A + G + 1, U = [], be = [], q, De = 1; De <= te; De++)
|
|
51862
51863
|
(De === 1 || De === te || De >= Ce && De < oe) && U.push(De);
|
|
51863
|
-
return U.forEach(function(
|
|
51864
|
-
q && (
|
|
51864
|
+
return U.forEach(function(tt) {
|
|
51865
|
+
q && (tt - q === 2 ? be.push(q + 1) : tt - q !== 1 && be.push("...")), be.push(tt), q = tt;
|
|
51865
51866
|
}), be;
|
|
51866
51867
|
}
|
|
51867
51868
|
},
|
|
@@ -52026,9 +52027,9 @@ function Bte(A, te, G, Ce, oe, U) {
|
|
|
52026
52027
|
])
|
|
52027
52028
|
], 16, Ete)
|
|
52028
52029
|
], 2)) : qe("", !0),
|
|
52029
|
-
(ue(!0), de(jn, null, Ks(q.computed.pageRange, (De,
|
|
52030
|
+
(ue(!0), de(jn, null, Ks(q.computed.pageRange, (De, tt) => (ue(), de("li", {
|
|
52030
52031
|
class: zt(["", { active: De == q.computed.currentPage }]),
|
|
52031
|
-
key:
|
|
52032
|
+
key: tt
|
|
52032
52033
|
}, [
|
|
52033
52034
|
R("a", aO({
|
|
52034
52035
|
class: "",
|
|
@@ -52096,8 +52097,8 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
|
|
|
52096
52097
|
}
|
|
52097
52098
|
},
|
|
52098
52099
|
setup(A, { expose: te }) {
|
|
52099
|
-
const G = co(""), Ce = co(""), oe = co(""), U = co("Cancel"), be = co(!1), q = co(!1), De = co(void 0),
|
|
52100
|
-
De.value = Ot,
|
|
52100
|
+
const G = co(""), Ce = co(""), oe = co(""), U = co("Cancel"), be = co(!1), q = co(!1), De = co(void 0), tt = co(void 0), pt = (eo = {}) => (G.value = eo.title, Ce.value = eo.message, oe.value = eo.okButton, eo.cancelButton && (U.value = eo.cancelButton), be.value = !0, new Promise((Ot, Ls) => {
|
|
52101
|
+
De.value = Ot, tt.value = Ls;
|
|
52101
52102
|
})), cn = () => {
|
|
52102
52103
|
q.value = !0;
|
|
52103
52104
|
}, kt = () => {
|
|
@@ -52376,7 +52377,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Bte]]), Pte = {
|
|
|
52376
52377
|
"data-label": ""
|
|
52377
52378
|
}, wne = ["checked", "onChange"], xne = ["data-label"], Cne = { class: "overflow-auto max-h-40" }, _ne = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
|
|
52378
52379
|
function Sne(A, te, G, Ce, oe, U) {
|
|
52379
|
-
const be = Rd("DynamicConfirmation"), q = Rd("dropdown"), De = Rd("GlDropdown"),
|
|
52380
|
+
const be = Rd("DynamicConfirmation"), q = Rd("dropdown"), De = Rd("GlDropdown"), tt = Rd("GlTextInput"), pt = Rd("gl-button"), cn = Rd("TailwindPagination");
|
|
52380
52381
|
return ue(), de(jn, null, [
|
|
52381
52382
|
ui(be, { ref: "ConfirmationDelete" }, null, 512),
|
|
52382
52383
|
R("div", Yte, [
|
|
@@ -52427,7 +52428,7 @@ function Sne(A, te, G, Ce, oe, U) {
|
|
|
52427
52428
|
show: !1,
|
|
52428
52429
|
placeholder: "Please select an option"
|
|
52429
52430
|
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0),
|
|
52430
|
-
kt.type == "text" ? (ue(), ju(
|
|
52431
|
+
kt.type == "text" ? (ue(), ju(tt, {
|
|
52431
52432
|
key: 1,
|
|
52432
52433
|
type: "text",
|
|
52433
52434
|
is_required: !1,
|
|
@@ -52437,7 +52438,7 @@ function Sne(A, te, G, Ce, oe, U) {
|
|
|
52437
52438
|
field_name: kt.field_name,
|
|
52438
52439
|
label_name: kt.field_label
|
|
52439
52440
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0),
|
|
52440
|
-
kt.type == "date" ? (ue(), ju(
|
|
52441
|
+
kt.type == "date" ? (ue(), ju(tt, {
|
|
52441
52442
|
key: 2,
|
|
52442
52443
|
type: "date",
|
|
52443
52444
|
is_required: !1,
|
|
@@ -52462,7 +52463,7 @@ function Sne(A, te, G, Ce, oe, U) {
|
|
|
52462
52463
|
show: !1,
|
|
52463
52464
|
placeholder: "Please select an option"
|
|
52464
52465
|
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0),
|
|
52465
|
-
kt.hasOwnFilter.type == "text" ? (ue(), ju(
|
|
52466
|
+
kt.hasOwnFilter.type == "text" ? (ue(), ju(tt, {
|
|
52466
52467
|
key: 1,
|
|
52467
52468
|
type: "text",
|
|
52468
52469
|
is_required: !1,
|
|
@@ -52472,7 +52473,7 @@ function Sne(A, te, G, Ce, oe, U) {
|
|
|
52472
52473
|
field_name: kt.field_name,
|
|
52473
52474
|
label_name: kt.field_label
|
|
52474
52475
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0),
|
|
52475
|
-
kt.hasOwnFilter.type == "date" ? (ue(), ju(
|
|
52476
|
+
kt.hasOwnFilter.type == "date" ? (ue(), ju(tt, {
|
|
52476
52477
|
key: 2,
|
|
52477
52478
|
type: "date",
|
|
52478
52479
|
is_required: !1,
|
|
@@ -52852,7 +52853,7 @@ function hoe(A, te, G, Ce, oe, U) {
|
|
|
52852
52853
|
R("tr", null, [
|
|
52853
52854
|
(ue(!0), de(jn, null, Ks(G.columns, (q, De) => (ue(), de("th", {
|
|
52854
52855
|
key: De,
|
|
52855
|
-
onClick: (
|
|
52856
|
+
onClick: (tt) => U.sort(q.field_name, q.sortable),
|
|
52856
52857
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
52857
52858
|
}, [
|
|
52858
52859
|
Zn(dt(q.field_label) + " ", 1),
|
|
@@ -52872,26 +52873,26 @@ function hoe(A, te, G, Ce, oe, U) {
|
|
|
52872
52873
|
key: De,
|
|
52873
52874
|
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"
|
|
52874
52875
|
}, [
|
|
52875
|
-
(ue(!0), de(jn, null, Ks(G.columns, (
|
|
52876
|
+
(ue(!0), de(jn, null, Ks(G.columns, (tt, pt) => (ue(), de("td", {
|
|
52876
52877
|
key: pt,
|
|
52877
|
-
"data-label":
|
|
52878
|
+
"data-label": tt.field_label,
|
|
52878
52879
|
class: zt(["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", {
|
|
52879
52880
|
"rounded-t-lg lg:rounded-t-none": pt === 0,
|
|
52880
52881
|
"rounded-b-lg lg:rounded-b-none": pt === G.columns.length - 1
|
|
52881
52882
|
}])
|
|
52882
52883
|
}, [
|
|
52883
52884
|
R("div", Gne, [
|
|
52884
|
-
|
|
52885
|
+
tt.tdComp ? (ue(), ju(A4(U.forDynCompIs(tt.tdComp)), {
|
|
52885
52886
|
key: 0,
|
|
52886
52887
|
row: q,
|
|
52887
|
-
field:
|
|
52888
|
+
field: tt.field_name,
|
|
52888
52889
|
xprops: G.xprops,
|
|
52889
|
-
tdProps:
|
|
52890
|
+
tdProps: tt.tdProps,
|
|
52890
52891
|
onDeleteAction: te[2] || (te[2] = (cn) => U.GetItemLists()),
|
|
52891
52892
|
onEditAction: (cn) => U.editAction(q),
|
|
52892
52893
|
onGeneralAction: (cn) => U.generalAction(q)
|
|
52893
52894
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ue(), de(jn, { key: 1 }, [
|
|
52894
|
-
Zn(dt(q[
|
|
52895
|
+
Zn(dt(q[tt.field_name]), 1)
|
|
52895
52896
|
], 64))
|
|
52896
52897
|
])
|
|
52897
52898
|
], 10, jne))), 128))
|
|
@@ -53172,8 +53173,8 @@ function zoe(A, te, G, Ce, oe, U) {
|
|
|
53172
53173
|
R("table", Eoe, [
|
|
53173
53174
|
R("thead", Aoe, [
|
|
53174
53175
|
R("tr", null, [
|
|
53175
|
-
(ue(!0), de(jn, null, Ks(G.columns, (De,
|
|
53176
|
-
key:
|
|
53176
|
+
(ue(!0), de(jn, null, Ks(G.columns, (De, tt) => (ue(), de("th", {
|
|
53177
|
+
key: tt,
|
|
53177
53178
|
onClick: (pt) => U.updateSortColumn(De.field_name, De.sortable),
|
|
53178
53179
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
53179
53180
|
}, [
|
|
@@ -53190,12 +53191,12 @@ function zoe(A, te, G, Ce, oe, U) {
|
|
|
53190
53191
|
colspan: G.columns.length
|
|
53191
53192
|
}, Noe, 8, Boe)
|
|
53192
53193
|
])) : qe("", !0),
|
|
53193
|
-
oe.isLoading ? qe("", !0) : (ue(!0), de(jn, { key: 1 }, Ks(U.groupedItems, (De,
|
|
53194
|
+
oe.isLoading ? qe("", !0) : (ue(!0), de(jn, { key: 1 }, Ks(U.groupedItems, (De, tt) => (ue(), de(jn, null, [
|
|
53194
53195
|
R("tr", Ioe, [
|
|
53195
53196
|
R("td", {
|
|
53196
53197
|
colspan: G.columns.length,
|
|
53197
53198
|
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 dark:border-gray-700"
|
|
53198
|
-
}, dt(
|
|
53199
|
+
}, dt(tt), 9, Loe)
|
|
53199
53200
|
]),
|
|
53200
53201
|
(ue(!0), de(jn, null, Ks(De, (pt, cn) => (ue(), de("tr", {
|
|
53201
53202
|
key: cn,
|
|
@@ -53422,7 +53423,7 @@ function Dse(A, te, G, Ce, oe, U) {
|
|
|
53422
53423
|
R("tr", null, [
|
|
53423
53424
|
(ue(!0), de(jn, null, Ks(G.columns, (q, De) => (ue(), de("th", {
|
|
53424
53425
|
key: De,
|
|
53425
|
-
onClick: za((
|
|
53426
|
+
onClick: za((tt) => U.sort(q), ["prevent"]),
|
|
53426
53427
|
class: "w-full px-4 py-2 lg:w-2/12 capitalize"
|
|
53427
53428
|
}, [
|
|
53428
53429
|
Zn(dt(q) + " ", 1),
|
|
@@ -53437,9 +53438,9 @@ function Dse(A, te, G, Ce, oe, U) {
|
|
|
53437
53438
|
key: De,
|
|
53438
53439
|
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"
|
|
53439
53440
|
}, [
|
|
53440
|
-
(ue(!0), de(jn, null, Ks(G.columns, (
|
|
53441
|
+
(ue(!0), de(jn, null, Ks(G.columns, (tt, pt) => (ue(), de("td", {
|
|
53441
53442
|
key: pt,
|
|
53442
|
-
"data-label":
|
|
53443
|
+
"data-label": tt,
|
|
53443
53444
|
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-2.5 lg:px-4 border-[1px] dark:border-gray-700"
|
|
53444
53445
|
}, [
|
|
53445
53446
|
R("p", {
|
|
@@ -53555,8 +53556,8 @@ const Qce = /* @__PURE__ */ zr(Uoe, [["render", Dse]]), Ose = {
|
|
|
53555
53556
|
11: "November",
|
|
53556
53557
|
12: "December",
|
|
53557
53558
|
"*": "every month"
|
|
53558
|
-
}, De = this.convertField(te, "minute", 59),
|
|
53559
|
-
return `Runs ${De} ${
|
|
53559
|
+
}, De = this.convertField(te, "minute", 59), tt = this.convertField(G, "hour", 23), pt = this.convertField(Ce, "day of the month", 31), cn = this.convertField(oe, "month", 12, q), kt = this.convertField(U, "day", 6, be);
|
|
53560
|
+
return `Runs ${De} ${tt} ${pt} ${cn} on ${kt}.`;
|
|
53560
53561
|
},
|
|
53561
53562
|
convertField(A, te, G, Ce = {}) {
|
|
53562
53563
|
if (A === "*") return `every ${te}`;
|
|
@@ -53633,11 +53634,11 @@ const tie = /* @__PURE__ */ zr(Bse, [["render", Pse]]), Nse = {
|
|
|
53633
53634
|
},
|
|
53634
53635
|
setup() {
|
|
53635
53636
|
const A = co(!1), te = sq("accordionsWrapper"), Ce = (() => {
|
|
53636
|
-
var
|
|
53637
|
-
typeof performance < "u" && typeof performance.now == "function" && (
|
|
53637
|
+
var tt = (/* @__PURE__ */ new Date()).getTime();
|
|
53638
|
+
typeof performance < "u" && typeof performance.now == "function" && (tt += performance.now());
|
|
53638
53639
|
var pt = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(cn) {
|
|
53639
|
-
var kt = (
|
|
53640
|
-
return
|
|
53640
|
+
var kt = (tt + Math.random() * 16) % 16 | 0;
|
|
53641
|
+
return tt = Math.floor(tt / 16), (cn === "x" ? kt : kt & 3 | 8).toString(16);
|
|
53641
53642
|
});
|
|
53642
53643
|
return pt;
|
|
53643
53644
|
})(), oe = { isOpen: A, id: Ce }, U = bu(() => te.accordions.value), be = bu(() => U.value.length > 0 && U.value[0].id === Ce), q = bu(() => U.value.length > 0 && U.value[U.value.length - 1].id === Ce);
|
|
@@ -53879,9 +53880,9 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53879
53880
|
oe.value = !1;
|
|
53880
53881
|
}, De = () => {
|
|
53881
53882
|
oe.value = !0;
|
|
53882
|
-
},
|
|
53883
|
+
}, tt = te, pt = () => {
|
|
53883
53884
|
axios.delete(`${G.xprops.route}/${G.row.id}`).then(() => {
|
|
53884
|
-
q(),
|
|
53885
|
+
q(), tt("deleteAction"), Ry.methods.add({
|
|
53885
53886
|
message: "Item deleted successfully.",
|
|
53886
53887
|
type: "success",
|
|
53887
53888
|
duration: 5e3
|
|
@@ -53985,9 +53986,9 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53985
53986
|
oe.value = !1;
|
|
53986
53987
|
}, De = () => {
|
|
53987
53988
|
oe.value = !0;
|
|
53988
|
-
},
|
|
53989
|
+
}, tt = te, pt = () => {
|
|
53989
53990
|
axios.delete(`${G.xprops.route}/${G.row.id}`).then(() => {
|
|
53990
|
-
q(),
|
|
53991
|
+
q(), tt("deleteAction"), Ry.methods.add({
|
|
53991
53992
|
message: "Item deleted successfully.",
|
|
53992
53993
|
type: "success",
|
|
53993
53994
|
duration: 5e3
|
|
@@ -54082,11 +54083,11 @@ const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
54082
54083
|
Ce.value = !1;
|
|
54083
54084
|
}, De = () => {
|
|
54084
54085
|
Ce.value = !0;
|
|
54085
|
-
},
|
|
54086
|
-
|
|
54086
|
+
}, tt = te, pt = (kt) => {
|
|
54087
|
+
tt("editAction", kt);
|
|
54087
54088
|
}, cn = () => {
|
|
54088
54089
|
axios.delete(`${G.xprops.route}/${G.row.id}`).then(() => {
|
|
54089
|
-
U(),
|
|
54090
|
+
U(), tt("deleteAction"), Ry.methods.add({
|
|
54090
54091
|
message: "Item deleted successfully.",
|
|
54091
54092
|
type: "success",
|
|
54092
54093
|
duration: 5e3
|
|
@@ -55239,10 +55240,10 @@ class Aie {
|
|
|
55239
55240
|
) ? q.nextElementSibling : null;
|
|
55240
55241
|
if (De && (De.dataset.inp = q.id, q.dataset.inpUsr = De.id, U.settings.editing))
|
|
55241
55242
|
if (De.classList.contains("tiny")) {
|
|
55242
|
-
var
|
|
55243
|
+
var tt = tinymce.get(
|
|
55243
55244
|
De.name
|
|
55244
55245
|
);
|
|
55245
|
-
|
|
55246
|
+
tt.on("change", function(cn) {
|
|
55246
55247
|
U.prepareData();
|
|
55247
55248
|
});
|
|
55248
55249
|
} else
|
|
@@ -55284,17 +55285,17 @@ class Aie {
|
|
|
55284
55285
|
},
|
|
55285
55286
|
selectLanguage: function(U) {
|
|
55286
55287
|
var be = this, q = U.target.value;
|
|
55287
|
-
this.transInputs.forEach(function(
|
|
55288
|
+
this.transInputs.forEach(function(tt) {
|
|
55288
55289
|
if (be.settings.editing) {
|
|
55289
|
-
be.updateInputCache(
|
|
55290
|
+
be.updateInputCache(tt);
|
|
55290
55291
|
var pt = new Event("change");
|
|
55291
|
-
|
|
55292
|
+
tt.dispatchEvent(pt);
|
|
55292
55293
|
}
|
|
55293
|
-
be.loadLang(
|
|
55294
|
+
be.loadLang(tt, q);
|
|
55294
55295
|
}), this.locale = q;
|
|
55295
55296
|
var De = this.element.querySelectorAll(".js-language-label");
|
|
55296
|
-
De && De.forEach(function(
|
|
55297
|
-
|
|
55297
|
+
De && De.forEach(function(tt) {
|
|
55298
|
+
tt.textContent = q;
|
|
55298
55299
|
}, this);
|
|
55299
55300
|
},
|
|
55300
55301
|
prepareData: function() {
|
|
@@ -55306,15 +55307,15 @@ class Aie {
|
|
|
55306
55307
|
});
|
|
55307
55308
|
},
|
|
55308
55309
|
updateInputCache: function(U) {
|
|
55309
|
-
var be = this, q = U.dataset.inpUsr, De = te.getElementById(q).value,
|
|
55310
|
+
var be = this, q = U.dataset.inpUsr, De = te.getElementById(q).value, tt = {};
|
|
55310
55311
|
if (te.getElementById(q).classList.contains("tiny")) {
|
|
55311
55312
|
var pt = tinymce.get(te.getElementById(q).name);
|
|
55312
55313
|
De = pt.getContent();
|
|
55313
55314
|
}
|
|
55314
55315
|
be.langSelectors.forEach(function(cn) {
|
|
55315
55316
|
var kt = cn.value;
|
|
55316
|
-
|
|
55317
|
-
}), U.value = JSON.stringify(
|
|
55317
|
+
tt[kt] = be.locale == kt ? De : U.dataset[kt];
|
|
55318
|
+
}), U.value = JSON.stringify(tt), U.dataset[be.locale] = De;
|
|
55318
55319
|
},
|
|
55319
55320
|
loadLang: function(U, be) {
|
|
55320
55321
|
var q = U.dataset.inpUsr, De = U.dataset[be];
|
|
@@ -55322,8 +55323,8 @@ class Aie {
|
|
|
55322
55323
|
this.settings.type === "tiny" ? te.getElementById(q).innerHTML = De : te.getElementById(q).textContent = De;
|
|
55323
55324
|
else {
|
|
55324
55325
|
te.getElementById(q).value = De;
|
|
55325
|
-
var
|
|
55326
|
-
te.getElementById(q).classList.contains("tiny") &&
|
|
55326
|
+
var tt = tinymce.get(q);
|
|
55327
|
+
te.getElementById(q).classList.contains("tiny") && tt && tt.initialized ? tt.setContent(De) : te.getElementById(q).value = De;
|
|
55327
55328
|
}
|
|
55328
55329
|
}
|
|
55329
55330
|
}), A.multilingual = oe;
|