golden-logic-ui 1.0.436 → 1.0.438
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 +751 -748
- package/dist/golden-logic-ui.umd.cjs +16 -16
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as ue, createBlock as Zu, resolveDynamicComponent as A4, mergeProps as aO, withCtx as Cm, createElementBlock as fe, normalizeClass as Zt, createCommentVNode as Ye, renderSlot as ju, createTextVNode as Zn, createElementVNode as R, resolveComponent as Rd, createVNode as ui, createStaticVNode as $j, reactive as Pq, Fragment as jn, toDisplayString as mt, withModifiers as za, withDirectives as Tr, vModelText as _m, renderList as Ks, normalizeStyle as Mj, computed as pu, ref as co, onMounted as Dg, onBeforeUnmount as
|
|
1
|
+
import { openBlock as ue, createBlock as Zu, resolveDynamicComponent as A4, mergeProps as aO, withCtx as Cm, createElementBlock as fe, normalizeClass as Zt, createCommentVNode as Ye, renderSlot as ju, createTextVNode as Zn, createElementVNode as R, resolveComponent as Rd, createVNode as ui, createStaticVNode as $j, reactive as Pq, Fragment as jn, toDisplayString as mt, withModifiers as za, withDirectives as Tr, vModelText as _m, renderList as Ks, normalizeStyle as Mj, computed as pu, ref as co, onMounted as Dg, onBeforeUnmount as ZN, watch as Ag, vShow as Ih, nextTick as Pj, vModelDynamic as nq, useSlots as Bq, provide as oq, inject as sq, pushScopeId as rq, popScopeId as aq, vModelCheckbox as lq, toHandlers as Oj, onUnmounted as Nq, TransitionGroup as Iq, unref as Lq, resolveDirective as Bj, markRaw as Fq } from "vue";
|
|
2
2
|
const zr = (A, re) => {
|
|
3
3
|
const G = A.__vccOpts || A;
|
|
4
4
|
for (const [_e, ne] of re)
|
|
@@ -143,7 +143,7 @@ const Nj = /* @__PURE__ */ zr(Hq, [["render", zq]]), Uq = {
|
|
|
143
143
|
"aria-hidden": "true"
|
|
144
144
|
}, "", -1), qq = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Kq = /* @__PURE__ */ $j('<div class="px-4 pt-5 pb-4 sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), Yq = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse gap-2" };
|
|
145
145
|
function Xq(A, re, G, _e, ne, Z) {
|
|
146
|
-
const
|
|
146
|
+
const xe = Rd("gl-button");
|
|
147
147
|
return G.isOpen ? (ue(), fe("div", Wq, [
|
|
148
148
|
R("div", Zq, [
|
|
149
149
|
jq,
|
|
@@ -151,7 +151,7 @@ function Xq(A, re, G, _e, ne, Z) {
|
|
|
151
151
|
R("div", qq, [
|
|
152
152
|
Kq,
|
|
153
153
|
R("div", Yq, [
|
|
154
|
-
ui(
|
|
154
|
+
ui(xe, {
|
|
155
155
|
onClick: Z.confirmDeletion,
|
|
156
156
|
tag: "button",
|
|
157
157
|
button_type: "red"
|
|
@@ -161,7 +161,7 @@ function Xq(A, re, G, _e, ne, Z) {
|
|
|
161
161
|
]),
|
|
162
162
|
_: 1
|
|
163
163
|
}, 8, ["onClick"]),
|
|
164
|
-
ui(
|
|
164
|
+
ui(xe, {
|
|
165
165
|
onClick: Z.cancelDeletion,
|
|
166
166
|
tag: "button",
|
|
167
167
|
button_type: "light"
|
|
@@ -176,7 +176,7 @@ function Xq(A, re, G, _e, ne, Z) {
|
|
|
176
176
|
])
|
|
177
177
|
])) : Ye("", !0);
|
|
178
178
|
}
|
|
179
|
-
const
|
|
179
|
+
const jN = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
180
180
|
items: []
|
|
181
181
|
}), Jq = {
|
|
182
182
|
add(A) {
|
|
@@ -195,7 +195,7 @@ const j7 = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
|
195
195
|
methods: Jq
|
|
196
196
|
}, Qq = {
|
|
197
197
|
components: {
|
|
198
|
-
DeleteConfirmationModal:
|
|
198
|
+
DeleteConfirmationModal: jN
|
|
199
199
|
},
|
|
200
200
|
props: {
|
|
201
201
|
is_required: {
|
|
@@ -324,7 +324,7 @@ const j7 = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
|
324
324
|
}
|
|
325
325
|
}).then((ne) => {
|
|
326
326
|
let Z = this.files.findIndex(
|
|
327
|
-
(
|
|
327
|
+
(xe) => xe.file_name === A.name
|
|
328
328
|
);
|
|
329
329
|
Z !== -1 && this.files.splice(Z, 1), this.has_multiple_file || (this.uploadFileList = []), this.uploadFileList.push({
|
|
330
330
|
file_name: ne.data.file_name,
|
|
@@ -338,7 +338,7 @@ const j7 = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
|
338
338
|
this.field_name
|
|
339
339
|
) : console.error("An error occurred:", ne);
|
|
340
340
|
let Z = this.files.findIndex(
|
|
341
|
-
(
|
|
341
|
+
(xe) => xe.file_name === A.name
|
|
342
342
|
);
|
|
343
343
|
Z !== -1 && this.files.splice(Z, 1), console.log(ne), re();
|
|
344
344
|
});
|
|
@@ -380,9 +380,9 @@ const j7 = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
|
380
380
|
"aria-hidden": "true"
|
|
381
381
|
}, null, -1), _K = { class: "flex flex-col ml-3" }, SK = { class: "text-xs" }, kK = { class: "text-xs" }, TK = { class: "flex gap-2" }, EK = ["href"], AK = ["onClick"];
|
|
382
382
|
function DK(A, re, G, _e, ne, Z) {
|
|
383
|
-
const
|
|
383
|
+
const xe = Rd("DeleteConfirmationModal");
|
|
384
384
|
return ue(), fe(jn, null, [
|
|
385
|
-
ui(
|
|
385
|
+
ui(xe, {
|
|
386
386
|
isOpen: ne.open_delete_modal,
|
|
387
387
|
onConfirmDelete: Z.deleteAction,
|
|
388
388
|
onCancelDelete: Z.closeDeleteModal
|
|
@@ -513,24 +513,24 @@ const yce = /* @__PURE__ */ zr(Qq, [["render", DK]]), OK = {
|
|
|
513
513
|
}, RK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, $K = ["name", "value", "id", "checked"], MK = ["for"];
|
|
514
514
|
function PK(A, re, G, _e, ne, Z) {
|
|
515
515
|
return ue(), fe("ul", RK, [
|
|
516
|
-
(ue(!0), fe(jn, null, Ks(ne.locals, (
|
|
516
|
+
(ue(!0), fe(jn, null, Ks(ne.locals, (xe, ee) => (ue(), fe("li", null, [
|
|
517
517
|
R("input", {
|
|
518
518
|
type: "radio",
|
|
519
519
|
name: G.trans_selector_name,
|
|
520
|
-
value:
|
|
520
|
+
value: xe,
|
|
521
521
|
class: "hidden peer",
|
|
522
|
-
id:
|
|
522
|
+
id: xe + "_" + G.field_name,
|
|
523
523
|
autocomplete: "off",
|
|
524
|
-
checked:
|
|
524
|
+
checked: xe === ne.default_language
|
|
525
525
|
}, null, 8, $K),
|
|
526
526
|
R("label", {
|
|
527
|
-
for:
|
|
527
|
+
for: xe + "_" + G.field_name,
|
|
528
528
|
class: Zt([{
|
|
529
529
|
"border md:!rounded-s-lg": ee === 0,
|
|
530
530
|
"border md:!rounded-e-lg": ee === ne.locals.length - 1,
|
|
531
531
|
"border-t border-b": ee !== 0 && ee !== ne.locals.length - 1
|
|
532
532
|
}, "block w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
|
|
533
|
-
}, mt(
|
|
533
|
+
}, mt(xe), 11, MK)
|
|
534
534
|
]))), 256))
|
|
535
535
|
]);
|
|
536
536
|
}
|
|
@@ -664,7 +664,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
664
664
|
},
|
|
665
665
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
666
666
|
setup(A, { emit: re }) {
|
|
667
|
-
const G = A, _e = re, ne = co(null), Z = co([]),
|
|
667
|
+
const G = A, _e = re, ne = co(null), Z = co([]), xe = co([]), ee = co([]), $e = co(0), at = co(!1), yt = co(""), hn = co(""), Et = co(null), io = co(0), lo = co(0), eo = () => {
|
|
668
668
|
if (Et.value) {
|
|
669
669
|
io.value = Et.value.offsetWidth;
|
|
670
670
|
var Ht = Et.value.getBoundingClientRect();
|
|
@@ -675,12 +675,12 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
675
675
|
};
|
|
676
676
|
Dg(() => {
|
|
677
677
|
hn.value = he(), G.show || (window.addEventListener("scroll", eo), document.body.addEventListener("click", In), document.addEventListener("keypress", Ot));
|
|
678
|
-
}),
|
|
678
|
+
}), ZN(() => {
|
|
679
679
|
window.removeEventListener("scroll", eo), document.body.removeEventListener("click", In), document.removeEventListener("keypress", Ot);
|
|
680
680
|
});
|
|
681
681
|
const Ls = pu(() => {
|
|
682
682
|
const Ht = [], _t = new RegExp(yt.value, "ig");
|
|
683
|
-
for (const Pe of
|
|
683
|
+
for (const Pe of xe.value) {
|
|
684
684
|
const no = String(Pe.name);
|
|
685
685
|
(yt.value.length < 1 || no.match(_t)) && Ht.length < G.maxItem && Ht.push(Pe);
|
|
686
686
|
}
|
|
@@ -747,21 +747,21 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
747
747
|
}
|
|
748
748
|
function Nt() {
|
|
749
749
|
if (kt(Z.value))
|
|
750
|
-
return ia(Z.value) ?
|
|
750
|
+
return ia(Z.value) ? xe.value.filter(
|
|
751
751
|
(Ht) => Z.value.some(
|
|
752
752
|
(_t) => String(_t.id) === String(Ht.id)
|
|
753
753
|
)
|
|
754
|
-
) || [] :
|
|
754
|
+
) || [] : xe.value.filter(
|
|
755
755
|
(Ht) => Z.value.some(
|
|
756
756
|
(_t) => String(_t) === String(Ht.id)
|
|
757
757
|
)
|
|
758
758
|
) || [];
|
|
759
759
|
if (G.modelValue)
|
|
760
|
-
return ia(G.modelValue) ?
|
|
760
|
+
return ia(G.modelValue) ? xe.value.filter(
|
|
761
761
|
(Ht) => G.modelValue.some(
|
|
762
762
|
(_t) => String(_t.id) === String(Ht.id)
|
|
763
763
|
)
|
|
764
|
-
) || [] :
|
|
764
|
+
) || [] : xe.value.filter(
|
|
765
765
|
(Ht) => G.modelValue.some(
|
|
766
766
|
(_t) => String(_t) === String(Ht.id)
|
|
767
767
|
)
|
|
@@ -802,7 +802,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
802
802
|
), Ag(
|
|
803
803
|
() => G.options,
|
|
804
804
|
() => {
|
|
805
|
-
|
|
805
|
+
xe.value = Cn(), Z.value = Nt();
|
|
806
806
|
},
|
|
807
807
|
{ immediate: !0, deep: !0 }
|
|
808
808
|
), (Ht, _t) => (ue(), fe(jn, null, [
|
|
@@ -972,11 +972,11 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
972
972
|
},
|
|
973
973
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
974
974
|
setup(A, { expose: re, emit: G }) {
|
|
975
|
-
const _e = A, ne = G, Z = co(null),
|
|
976
|
-
|
|
975
|
+
const _e = A, ne = G, Z = co(null), xe = co(null), ee = () => {
|
|
976
|
+
xe.value && ne("update:modelValueTranslate", xe.value.value);
|
|
977
977
|
};
|
|
978
978
|
return Dg(() => {
|
|
979
|
-
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate),
|
|
979
|
+
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate), xe.value.value = _e.modelValueTranslate);
|
|
980
980
|
}), re({ focus: () => Z.value.focus() }), ($e, at) => (ue(), fe(jn, null, [
|
|
981
981
|
A.show ? (ue(), fe("div", {
|
|
982
982
|
key: 0,
|
|
@@ -989,7 +989,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
989
989
|
name: A.field_name + "_i18n",
|
|
990
990
|
id: A.field_name + "_i18n",
|
|
991
991
|
ref_key: "input_translate",
|
|
992
|
-
ref:
|
|
992
|
+
ref: xe,
|
|
993
993
|
"onUpdate:modelValue": at[0] || (at[0] = (yt) => $e.inputTranslateValue = yt)
|
|
994
994
|
}, null, 8, nY), [
|
|
995
995
|
[_m, $e.inputTranslateValue]
|
|
@@ -1021,7 +1021,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1021
1021
|
id: A.field_name + "_i18n",
|
|
1022
1022
|
onChange: ee,
|
|
1023
1023
|
ref_key: "input_translate",
|
|
1024
|
-
ref:
|
|
1024
|
+
ref: xe
|
|
1025
1025
|
}, null, 40, lY),
|
|
1026
1026
|
R("textarea", {
|
|
1027
1027
|
required: A.is_required,
|
|
@@ -1102,22 +1102,22 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1102
1102
|
},
|
|
1103
1103
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1104
1104
|
setup(A, { expose: re, emit: G }) {
|
|
1105
|
-
const _e = A, ne = G, Z = co(null),
|
|
1106
|
-
|
|
1105
|
+
const _e = A, ne = G, Z = co(null), xe = co(null), ee = () => {
|
|
1106
|
+
xe.value && ne("update:modelValueTranslate", xe.value.value);
|
|
1107
1107
|
};
|
|
1108
1108
|
return Dg(() => {
|
|
1109
1109
|
tinymce.init({
|
|
1110
1110
|
selector: "#" + _e.field_name,
|
|
1111
1111
|
width: "100%",
|
|
1112
1112
|
height: 300
|
|
1113
|
-
}), Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate),
|
|
1113
|
+
}), Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate), xe.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
|
|
1114
1114
|
params: {
|
|
1115
1115
|
model: _e.translatable.model,
|
|
1116
1116
|
row_id: _e.translatable.row_id,
|
|
1117
1117
|
field: _e.translatable.field
|
|
1118
1118
|
}
|
|
1119
1119
|
}).then(($e) => {
|
|
1120
|
-
|
|
1120
|
+
xe.value.value = JSON.stringify($e.data), ne("update:modelValueTranslate", JSON.stringify($e.data));
|
|
1121
1121
|
}).catch(($e) => {
|
|
1122
1122
|
console.log($e);
|
|
1123
1123
|
});
|
|
@@ -1133,7 +1133,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1133
1133
|
name: A.field_name + "_i18n",
|
|
1134
1134
|
id: A.field_name + "_i18n",
|
|
1135
1135
|
ref_key: "input_translate",
|
|
1136
|
-
ref:
|
|
1136
|
+
ref: xe,
|
|
1137
1137
|
"onUpdate:modelValue": at[0] || (at[0] = (yt) => $e.inputTranslateValue = yt)
|
|
1138
1138
|
}, null, 8, mY), [
|
|
1139
1139
|
[_m, $e.inputTranslateValue]
|
|
@@ -1165,7 +1165,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1165
1165
|
id: A.field_name + "_i18n",
|
|
1166
1166
|
onChange: ee,
|
|
1167
1167
|
ref_key: "input_translate",
|
|
1168
|
-
ref:
|
|
1168
|
+
ref: xe
|
|
1169
1169
|
}, null, 40, bY),
|
|
1170
1170
|
R("textarea", {
|
|
1171
1171
|
name: A.field_name,
|
|
@@ -1237,11 +1237,11 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1237
1237
|
},
|
|
1238
1238
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1239
1239
|
setup(A, { expose: re, emit: G }) {
|
|
1240
|
-
const _e = A, ne = G, Z = co(null),
|
|
1241
|
-
|
|
1240
|
+
const _e = A, ne = G, Z = co(null), xe = co(null), ee = () => {
|
|
1241
|
+
xe.value && ne("update:modelValueTranslate", xe.value.value);
|
|
1242
1242
|
};
|
|
1243
1243
|
return Dg(() => {
|
|
1244
|
-
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate),
|
|
1244
|
+
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate), xe.value.value = _e.modelValueTranslate);
|
|
1245
1245
|
}), re({ focus: () => Z.value.focus() }), ($e, at) => (ue(), fe(jn, null, [
|
|
1246
1246
|
A.show ? (ue(), fe("div", {
|
|
1247
1247
|
key: 0,
|
|
@@ -1254,7 +1254,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1254
1254
|
name: A.field_name + "_i18n",
|
|
1255
1255
|
id: A.field_name + "_i18n",
|
|
1256
1256
|
ref_key: "input_translate",
|
|
1257
|
-
ref:
|
|
1257
|
+
ref: xe,
|
|
1258
1258
|
"onUpdate:modelValue": at[0] || (at[0] = (yt) => $e.inputTranslateValue = yt)
|
|
1259
1259
|
}, null, 8, CY), [
|
|
1260
1260
|
[_m, $e.inputTranslateValue]
|
|
@@ -1286,7 +1286,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1286
1286
|
id: A.field_name + "_i18n",
|
|
1287
1287
|
onChange: ee,
|
|
1288
1288
|
ref_key: "input_translate",
|
|
1289
|
-
ref:
|
|
1289
|
+
ref: xe
|
|
1290
1290
|
}, null, 40, EY),
|
|
1291
1291
|
R("input", {
|
|
1292
1292
|
required: A.is_required,
|
|
@@ -1353,7 +1353,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1353
1353
|
Dg(() => {
|
|
1354
1354
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
1355
1355
|
});
|
|
1356
|
-
const
|
|
1356
|
+
const xe = pu({
|
|
1357
1357
|
get() {
|
|
1358
1358
|
return _e.modelValue;
|
|
1359
1359
|
},
|
|
@@ -1392,13 +1392,13 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1392
1392
|
"gl-input-form-invalid": A.error_message !== ""
|
|
1393
1393
|
}),
|
|
1394
1394
|
type: A.type,
|
|
1395
|
-
"onUpdate:modelValue": $e[0] || ($e[0] = (at) =>
|
|
1395
|
+
"onUpdate:modelValue": $e[0] || ($e[0] = (at) => xe.value = at),
|
|
1396
1396
|
onKeydown: $e[1] || ($e[1] = (at) => ee.$emit("keydown", at)),
|
|
1397
1397
|
ref_key: "input",
|
|
1398
1398
|
ref: Z,
|
|
1399
1399
|
placeholder: A.placeholder
|
|
1400
1400
|
}, null, 42, BY), [
|
|
1401
|
-
[nq,
|
|
1401
|
+
[nq, xe.value]
|
|
1402
1402
|
]),
|
|
1403
1403
|
R("span", NY, mt(A.error_message), 1),
|
|
1404
1404
|
R("small", IY, mt(A.description), 1)
|
|
@@ -1459,7 +1459,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1459
1459
|
Dg(() => {
|
|
1460
1460
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
1461
1461
|
});
|
|
1462
|
-
const
|
|
1462
|
+
const xe = pu({
|
|
1463
1463
|
get() {
|
|
1464
1464
|
return _e.modelValue;
|
|
1465
1465
|
},
|
|
@@ -1500,13 +1500,13 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1500
1500
|
"gl-input-form-invalid-text": A.error_message !== ""
|
|
1501
1501
|
}, "!border-e-0 !rounded-s-lg"]),
|
|
1502
1502
|
type: A.type,
|
|
1503
|
-
"onUpdate:modelValue": $e[0] || ($e[0] = (at) =>
|
|
1503
|
+
"onUpdate:modelValue": $e[0] || ($e[0] = (at) => xe.value = at),
|
|
1504
1504
|
onKeydown: $e[1] || ($e[1] = (at) => ee.$emit("keydown", at)),
|
|
1505
1505
|
ref_key: "input",
|
|
1506
1506
|
ref: Z,
|
|
1507
1507
|
placeholder: A.placeholder
|
|
1508
1508
|
}, null, 42, ZY), [
|
|
1509
|
-
[nq,
|
|
1509
|
+
[nq, xe.value]
|
|
1510
1510
|
])
|
|
1511
1511
|
]),
|
|
1512
1512
|
R("label", jY, mt(A.input_text), 1)
|
|
@@ -1559,7 +1559,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1559
1559
|
end: G.modelValue.end
|
|
1560
1560
|
});
|
|
1561
1561
|
co(""), co("");
|
|
1562
|
-
const
|
|
1562
|
+
const xe = pu({
|
|
1563
1563
|
get() {
|
|
1564
1564
|
return G.modelValue.start;
|
|
1565
1565
|
},
|
|
@@ -1607,10 +1607,10 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1607
1607
|
"gl-input-form-invalid": A.error_message !== "" || ne.value !== ""
|
|
1608
1608
|
}),
|
|
1609
1609
|
type: "date",
|
|
1610
|
-
"onUpdate:modelValue": yt[0] || (yt[0] = (hn) =>
|
|
1610
|
+
"onUpdate:modelValue": yt[0] || (yt[0] = (hn) => xe.value = hn),
|
|
1611
1611
|
placeholder: A.placeholder
|
|
1612
1612
|
}, null, 10, eX), [
|
|
1613
|
-
[_m,
|
|
1613
|
+
[_m, xe.value]
|
|
1614
1614
|
]),
|
|
1615
1615
|
tX,
|
|
1616
1616
|
Tr(R("input", {
|
|
@@ -1682,10 +1682,10 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1682
1682
|
emits: ["update:modelValue", "keydown"],
|
|
1683
1683
|
setup(A, { emit: re }) {
|
|
1684
1684
|
const G = re, _e = co(null), ne = (Z) => {
|
|
1685
|
-
const
|
|
1686
|
-
console.log(
|
|
1685
|
+
const xe = Z.target.files[0];
|
|
1686
|
+
console.log(xe), G("keydown", Z), xe && G("update:modelValue", xe);
|
|
1687
1687
|
};
|
|
1688
|
-
return (Z,
|
|
1688
|
+
return (Z, xe) => (ue(), fe(jn, null, [
|
|
1689
1689
|
A.show ? (ue(), fe("div", {
|
|
1690
1690
|
key: 0,
|
|
1691
1691
|
class: Zt(A.field_name)
|
|
@@ -1732,17 +1732,17 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1732
1732
|
setup(A, { emit: re }) {
|
|
1733
1733
|
const G = re, _e = Bq(), ne = co(_e.default().map(($e) => $e.props)), Z = co("");
|
|
1734
1734
|
oq("selectedTitle", Z);
|
|
1735
|
-
const
|
|
1735
|
+
const xe = ($e) => {
|
|
1736
1736
|
window.location.hash = encodeURIComponent($e), G("TabChange", $e);
|
|
1737
1737
|
}, ee = () => {
|
|
1738
1738
|
const $e = decodeURIComponent(window.location.hash.replace("#", "")), at = ne.value.find((yt) => yt.title === $e);
|
|
1739
1739
|
at && (Z.value = at.title);
|
|
1740
1740
|
};
|
|
1741
1741
|
return Ag(Z, ($e) => {
|
|
1742
|
-
|
|
1742
|
+
xe($e);
|
|
1743
1743
|
}), Dg(() => {
|
|
1744
1744
|
ee(), window.addEventListener("hashchange", ee);
|
|
1745
|
-
}),
|
|
1745
|
+
}), ZN(() => {
|
|
1746
1746
|
window.removeEventListener("hashchange", ee);
|
|
1747
1747
|
}), ($e, at) => (ue(), fe(jn, null, [
|
|
1748
1748
|
R("div", fX, [
|
|
@@ -1854,10 +1854,10 @@ const Oce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
1854
1854
|
const Z = (ee) => {
|
|
1855
1855
|
const $e = ee.clientX || ee.touches && ee.touches[0] && ee.touches[0].clientX, at = ee.clientY || ee.touches && ee.touches[0] && ee.touches[0].clientY, yt = $e - A.initialX, hn = at - A.initialY;
|
|
1856
1856
|
Math.abs(yt) > Math.abs(hn) ? (ee.preventDefault(), Math.abs(yt) >= 70 && (yt < 0 ? A.next() : A.prev(), A.initialX = $e)) : re.style.cursor = "grab", Math.abs(hn) > Math.abs(yt) && (re.style.cursor = "grab");
|
|
1857
|
-
},
|
|
1858
|
-
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup",
|
|
1857
|
+
}, xe = () => {
|
|
1858
|
+
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup", xe), document.removeEventListener("touchend", xe), re.style.cursor = "grab";
|
|
1859
1859
|
};
|
|
1860
|
-
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup",
|
|
1860
|
+
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup", xe), document.addEventListener("touchend", xe), A.initialX = ne.clientX || ne.touches && ne.touches[0] && ne.touches[0].clientX, A.initialY = ne.clientY || ne.touches && ne.touches[0] && ne.touches[0].clientY;
|
|
1861
1861
|
}, _e = (ne) => {
|
|
1862
1862
|
ne.key === "ArrowLeft" ? A.prev() : ne.key === "ArrowRight" && A.next();
|
|
1863
1863
|
};
|
|
@@ -1870,18 +1870,18 @@ const Oce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
1870
1870
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
1871
1871
|
},
|
|
1872
1872
|
initSlider() {
|
|
1873
|
-
let A = document.getElementById("sliderContainer_" + this.Random_string), re = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), ne = Array.from(_e).filter((ee) => ee.parentNode === G), Z = A.clientWidth,
|
|
1874
|
-
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1,
|
|
1873
|
+
let A = document.getElementById("sliderContainer_" + this.Random_string), re = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), ne = Array.from(_e).filter((ee) => ee.parentNode === G), Z = A.clientWidth, xe = Z / this.elementsToShow;
|
|
1874
|
+
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, xe = this.hide_arrow ? re.clientWidth : Z) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, xe = this.hide_arrow ? re.clientWidth : Z), ne.length > 1) {
|
|
1875
1875
|
this.dotsNum = this.elementsToShow == 1 ? ne.length : ne.length - this.elementsToShow + 1;
|
|
1876
|
-
let ee = this.elementsToShow == 1 ?
|
|
1876
|
+
let ee = this.elementsToShow == 1 ? xe * ne.length / this.dotsNum : xe * (ne.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
1877
1877
|
this.dotsNavigation = [];
|
|
1878
1878
|
for (let $e = 0; $e < this.dotsNum; $e++)
|
|
1879
1879
|
this.dotsNavigation.push(ee * $e);
|
|
1880
1880
|
}
|
|
1881
|
-
G.style.width = ne.length *
|
|
1881
|
+
G.style.width = ne.length * xe + "px", G.style.transition = "margin", G.style.transitionDuration = "1s";
|
|
1882
1882
|
for (let ee = 0; ee < ne.length; ee++) {
|
|
1883
1883
|
const $e = ne[ee];
|
|
1884
|
-
$e.style.width =
|
|
1884
|
+
$e.style.width = xe + "px";
|
|
1885
1885
|
}
|
|
1886
1886
|
},
|
|
1887
1887
|
setDot(A) {
|
|
@@ -2084,7 +2084,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2084
2084
|
R("div", TX, [
|
|
2085
2085
|
R("button", {
|
|
2086
2086
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2087
|
-
onClick: re[0] || (re[0] = (
|
|
2087
|
+
onClick: re[0] || (re[0] = (xe) => Z.prev())
|
|
2088
2088
|
}, [
|
|
2089
2089
|
G.direction_property == "ltr" ? (ue(), fe("svg", EX, DX)) : Ye("", !0),
|
|
2090
2090
|
G.direction_property == "rtl" ? (ue(), fe("svg", OX, $X)) : Ye("", !0)
|
|
@@ -2106,7 +2106,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2106
2106
|
R("div", BX, [
|
|
2107
2107
|
R("button", {
|
|
2108
2108
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2109
|
-
onClick: re[1] || (re[1] = za((
|
|
2109
|
+
onClick: re[1] || (re[1] = za((xe) => Z.prev(), ["stop"]))
|
|
2110
2110
|
}, [
|
|
2111
2111
|
G.direction_property == "ltr" ? (ue(), fe("svg", NX, LX)) : Ye("", !0),
|
|
2112
2112
|
G.direction_property == "rtl" ? (ue(), fe("svg", FX, VX)) : Ye("", !0)
|
|
@@ -2121,7 +2121,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2121
2121
|
R("div", zX, [
|
|
2122
2122
|
R("button", {
|
|
2123
2123
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2124
|
-
onClick: re[2] || (re[2] = za((
|
|
2124
|
+
onClick: re[2] || (re[2] = za((xe) => Z.next(), ["stop"]))
|
|
2125
2125
|
}, [
|
|
2126
2126
|
G.direction_property == "ltr" ? (ue(), fe("svg", UX, ZX)) : Ye("", !0),
|
|
2127
2127
|
G.direction_property == "rtl" ? (ue(), fe("svg", jX, qX)) : Ye("", !0)
|
|
@@ -2133,22 +2133,22 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2133
2133
|
key: 0,
|
|
2134
2134
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2135
2135
|
}, [
|
|
2136
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2136
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (xe) => (ue(), fe("button", {
|
|
2137
2137
|
role: "button",
|
|
2138
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2139
|
-
key:
|
|
2140
|
-
onClick: (ee) => Z.setDot(
|
|
2138
|
+
class: Zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2139
|
+
key: xe,
|
|
2140
|
+
onClick: (ee) => Z.setDot(xe)
|
|
2141
2141
|
}, XX, 10, KX))), 128))
|
|
2142
2142
|
], 2)) : Ye("", !0),
|
|
2143
2143
|
G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), fe("div", JX, [
|
|
2144
2144
|
R("div", {
|
|
2145
2145
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2146
2146
|
}, [
|
|
2147
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2147
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (xe) => (ue(), fe("button", {
|
|
2148
2148
|
role: "button",
|
|
2149
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2150
|
-
key:
|
|
2151
|
-
onClick: (ee) => Z.setDot(
|
|
2149
|
+
class: Zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2150
|
+
key: xe,
|
|
2151
|
+
onClick: (ee) => Z.setDot(xe)
|
|
2152
2152
|
}, tJ, 10, QX))), 128))
|
|
2153
2153
|
], 2),
|
|
2154
2154
|
A.dotsNum > 0 ? (ue(), fe("div", nJ, [
|
|
@@ -2156,7 +2156,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2156
2156
|
R("div", sJ, [
|
|
2157
2157
|
R("button", {
|
|
2158
2158
|
class: Zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2159
|
-
onClick: re[3] || (re[3] = (
|
|
2159
|
+
onClick: re[3] || (re[3] = (xe) => Z.prev())
|
|
2160
2160
|
}, [
|
|
2161
2161
|
G.direction_property == "ltr" ? (ue(), fe("svg", rJ, lJ)) : Ye("", !0),
|
|
2162
2162
|
G.direction_property == "rtl" ? (ue(), fe("svg", cJ, uJ)) : Ye("", !0)
|
|
@@ -2167,7 +2167,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2167
2167
|
R("div", mJ, [
|
|
2168
2168
|
R("button", {
|
|
2169
2169
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2170
|
-
onClick: re[4] || (re[4] = (
|
|
2170
|
+
onClick: re[4] || (re[4] = (xe) => Z.next())
|
|
2171
2171
|
}, [
|
|
2172
2172
|
G.direction_property == "ltr" ? (ue(), fe("svg", fJ, hJ)) : Ye("", !0),
|
|
2173
2173
|
G.direction_property == "rtl" ? (ue(), fe("svg", pJ, vJ)) : Ye("", !0)
|
|
@@ -2181,7 +2181,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2181
2181
|
R("div", wJ, [
|
|
2182
2182
|
R("button", {
|
|
2183
2183
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2184
|
-
onClick: re[5] || (re[5] = (
|
|
2184
|
+
onClick: re[5] || (re[5] = (xe) => Z.next())
|
|
2185
2185
|
}, [
|
|
2186
2186
|
G.direction_property == "ltr" ? (ue(), fe("svg", xJ, _J)) : Ye("", !0),
|
|
2187
2187
|
G.direction_property == "rtl" ? (ue(), fe("svg", SJ, TJ)) : Ye("", !0)
|
|
@@ -2256,10 +2256,10 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2256
2256
|
const Z = (ee) => {
|
|
2257
2257
|
const $e = ee.clientX || ee.touches && ee.touches[0] && ee.touches[0].clientX, at = ee.clientY || ee.touches && ee.touches[0] && ee.touches[0].clientY, yt = $e - A.initialX, hn = at - A.initialY;
|
|
2258
2258
|
Math.abs(yt) > Math.abs(hn) ? (ee.preventDefault(), Math.abs(yt) >= 70 && (yt < 0 ? A.next() : A.prev(), A.initialX = $e)) : re.style.cursor = "grab", Math.abs(hn) > Math.abs(yt) && (re.style.cursor = "grab");
|
|
2259
|
-
},
|
|
2260
|
-
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup",
|
|
2259
|
+
}, xe = () => {
|
|
2260
|
+
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup", xe), document.removeEventListener("touchend", xe), re.style.cursor = "grab";
|
|
2261
2261
|
};
|
|
2262
|
-
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup",
|
|
2262
|
+
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup", xe), document.addEventListener("touchend", xe), A.initialX = ne.clientX || ne.touches && ne.touches[0] && ne.touches[0].clientX, A.initialY = ne.clientY || ne.touches && ne.touches[0] && ne.touches[0].clientY;
|
|
2263
2263
|
}, _e = (ne) => {
|
|
2264
2264
|
ne.key === "ArrowLeft" ? A.prev() : ne.key === "ArrowRight" && A.next();
|
|
2265
2265
|
};
|
|
@@ -2272,13 +2272,16 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2272
2272
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
2273
2273
|
},
|
|
2274
2274
|
initSlider() {
|
|
2275
|
-
let A = document.getElementById("sliderContainer_" + this.Random_string), re = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), ne = Array.from(_e).filter(($e) => $e.parentNode === G),
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
this.
|
|
2275
|
+
let A = document.getElementById("sliderContainer_" + this.Random_string), re = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), ne = Array.from(_e).filter(($e) => $e.parentNode === G), xe = ne[0].clientWidth;
|
|
2276
|
+
console.log("cardwidth", xe);
|
|
2277
|
+
let ee = A.clientWidth;
|
|
2278
|
+
if (this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth : ee / xe), console.log("elementsToShow", this.elementsToShow), this.elementsToShow = this.elementsToShow > 1 ? this.elementsToShow - 1 : this.elementsToShow, console.log("elementsToShow new", this.elementsToShow), ne.length > 1) {
|
|
2279
|
+
this.dotsNum = this.elementsToShow == 1 ? ne.length : ne.length - this.elementsToShow + 1, console.log("dotsNum", this.dotsNum);
|
|
2280
|
+
let $e = this.elementsToShow == 1 ? xe * ne.length / this.dotsNum : xe * (ne.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
2281
|
+
console.log("navigation_no_between_slides", $e), this.dotsNavigation = [];
|
|
2280
2282
|
for (let at = 0; at < this.dotsNum; at++)
|
|
2281
2283
|
this.dotsNavigation.push($e * at);
|
|
2284
|
+
console.log("dotsNavigation", this.dotsNavigation);
|
|
2282
2285
|
}
|
|
2283
2286
|
G.style.transition = "margin", G.style.transitionDuration = "1s";
|
|
2284
2287
|
for (let $e = 0; $e < ne.length; $e++)
|
|
@@ -2289,7 +2292,7 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2289
2292
|
this.direction_property == "rtl" ? re.style.marginRight = -this.dotsNavigation[A - 1] + "px" : re.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
|
|
2290
2293
|
}
|
|
2291
2294
|
}
|
|
2292
|
-
}, km = (A) => (rq("data-v-
|
|
2295
|
+
}, km = (A) => (rq("data-v-839b3efd"), A = A(), aq(), A), DJ = ["id"], OJ = {
|
|
2293
2296
|
key: 0,
|
|
2294
2297
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2295
2298
|
}, RJ = { class: "w-full" }, $J = {
|
|
@@ -2484,7 +2487,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2484
2487
|
R("div", RJ, [
|
|
2485
2488
|
R("button", {
|
|
2486
2489
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2487
|
-
onClick: re[0] || (re[0] = (
|
|
2490
|
+
onClick: re[0] || (re[0] = (xe) => Z.prev())
|
|
2488
2491
|
}, [
|
|
2489
2492
|
G.direction_property == "ltr" ? (ue(), fe("svg", $J, PJ)) : Ye("", !0),
|
|
2490
2493
|
G.direction_property == "rtl" ? (ue(), fe("svg", BJ, IJ)) : Ye("", !0)
|
|
@@ -2506,7 +2509,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2506
2509
|
R("div", HJ, [
|
|
2507
2510
|
R("button", {
|
|
2508
2511
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2509
|
-
onClick: re[1] || (re[1] = za((
|
|
2512
|
+
onClick: re[1] || (re[1] = za((xe) => Z.prev(), ["stop"]))
|
|
2510
2513
|
}, [
|
|
2511
2514
|
G.direction_property == "ltr" ? (ue(), fe("svg", VJ, UJ)) : Ye("", !0),
|
|
2512
2515
|
G.direction_property == "rtl" ? (ue(), fe("svg", WJ, jJ)) : Ye("", !0)
|
|
@@ -2521,7 +2524,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2521
2524
|
R("div", GJ, [
|
|
2522
2525
|
R("button", {
|
|
2523
2526
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2524
|
-
onClick: re[2] || (re[2] = za((
|
|
2527
|
+
onClick: re[2] || (re[2] = za((xe) => Z.next(), ["stop"]))
|
|
2525
2528
|
}, [
|
|
2526
2529
|
G.direction_property == "ltr" ? (ue(), fe("svg", qJ, YJ)) : Ye("", !0),
|
|
2527
2530
|
G.direction_property == "rtl" ? (ue(), fe("svg", XJ, QJ)) : Ye("", !0)
|
|
@@ -2533,22 +2536,22 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2533
2536
|
key: 0,
|
|
2534
2537
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2535
2538
|
}, [
|
|
2536
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2539
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (xe) => (ue(), fe("button", {
|
|
2537
2540
|
role: "button",
|
|
2538
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2539
|
-
key:
|
|
2540
|
-
onClick: (ee) => Z.setDot(
|
|
2541
|
+
class: Zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2542
|
+
key: xe,
|
|
2543
|
+
onClick: (ee) => Z.setDot(xe)
|
|
2541
2544
|
}, nQ, 10, eQ))), 128))
|
|
2542
2545
|
], 2)) : Ye("", !0),
|
|
2543
2546
|
G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), fe("div", oQ, [
|
|
2544
2547
|
R("div", {
|
|
2545
2548
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2546
2549
|
}, [
|
|
2547
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2550
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (xe) => (ue(), fe("button", {
|
|
2548
2551
|
role: "button",
|
|
2549
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2550
|
-
key:
|
|
2551
|
-
onClick: (ee) => Z.setDot(
|
|
2552
|
+
class: Zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2553
|
+
key: xe,
|
|
2554
|
+
onClick: (ee) => Z.setDot(xe)
|
|
2552
2555
|
}, aQ, 10, sQ))), 128))
|
|
2553
2556
|
], 2),
|
|
2554
2557
|
A.dotsNum > 0 ? (ue(), fe("div", lQ, [
|
|
@@ -2556,7 +2559,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2556
2559
|
R("div", iQ, [
|
|
2557
2560
|
R("button", {
|
|
2558
2561
|
class: Zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2559
|
-
onClick: re[3] || (re[3] = (
|
|
2562
|
+
onClick: re[3] || (re[3] = (xe) => Z.prev())
|
|
2560
2563
|
}, [
|
|
2561
2564
|
G.direction_property == "ltr" ? (ue(), fe("svg", uQ, mQ)) : Ye("", !0),
|
|
2562
2565
|
G.direction_property == "rtl" ? (ue(), fe("svg", fQ, hQ)) : Ye("", !0)
|
|
@@ -2567,7 +2570,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2567
2570
|
R("div", bQ, [
|
|
2568
2571
|
R("button", {
|
|
2569
2572
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2570
|
-
onClick: re[4] || (re[4] = (
|
|
2573
|
+
onClick: re[4] || (re[4] = (xe) => Z.next())
|
|
2571
2574
|
}, [
|
|
2572
2575
|
G.direction_property == "ltr" ? (ue(), fe("svg", vQ, wQ)) : Ye("", !0),
|
|
2573
2576
|
G.direction_property == "rtl" ? (ue(), fe("svg", xQ, _Q)) : Ye("", !0)
|
|
@@ -2581,7 +2584,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2581
2584
|
R("div", kQ, [
|
|
2582
2585
|
R("button", {
|
|
2583
2586
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2584
|
-
onClick: re[5] || (re[5] = (
|
|
2587
|
+
onClick: re[5] || (re[5] = (xe) => Z.next())
|
|
2585
2588
|
}, [
|
|
2586
2589
|
G.direction_property == "ltr" ? (ue(), fe("svg", TQ, AQ)) : Ye("", !0),
|
|
2587
2590
|
G.direction_property == "rtl" ? (ue(), fe("svg", DQ, RQ)) : Ye("", !0)
|
|
@@ -2591,7 +2594,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2591
2594
|
], 10, DJ)
|
|
2592
2595
|
]);
|
|
2593
2596
|
}
|
|
2594
|
-
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-
|
|
2597
|
+
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-839b3efd"]]), MQ = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, PQ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, BQ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, NQ = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2595
2598
|
/* @__PURE__ */ R("svg", {
|
|
2596
2599
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2597
2600
|
fill: "currentColor",
|
|
@@ -2647,7 +2650,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
2647
2650
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2648
2651
|
}, Z = () => {
|
|
2649
2652
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
2650
|
-
},
|
|
2653
|
+
}, xe = () => {
|
|
2651
2654
|
_e("closeModal"), Z();
|
|
2652
2655
|
};
|
|
2653
2656
|
return Ag(
|
|
@@ -2671,7 +2674,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
2671
2674
|
R("button", {
|
|
2672
2675
|
type: "button",
|
|
2673
2676
|
class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
|
|
2674
|
-
onClick:
|
|
2677
|
+
onClick: xe,
|
|
2675
2678
|
"aria-label": "Close"
|
|
2676
2679
|
}, IQ)
|
|
2677
2680
|
]),
|
|
@@ -2686,7 +2689,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
2686
2689
|
Tr(R("div", VQ, [
|
|
2687
2690
|
ju(ee.$slots, "buttons"),
|
|
2688
2691
|
R("button", {
|
|
2689
|
-
onClick:
|
|
2692
|
+
onClick: xe,
|
|
2690
2693
|
type: "button",
|
|
2691
2694
|
class: "px-5 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-200 rounded-lg ms-3 hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"
|
|
2692
2695
|
}, " Close ")
|
|
@@ -2753,7 +2756,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
2753
2756
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2754
2757
|
}, Z = () => {
|
|
2755
2758
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
2756
|
-
},
|
|
2759
|
+
}, xe = () => {
|
|
2757
2760
|
_e("closeModal"), Z();
|
|
2758
2761
|
};
|
|
2759
2762
|
return Ag(
|
|
@@ -2776,7 +2779,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
2776
2779
|
R("button", {
|
|
2777
2780
|
type: "button",
|
|
2778
2781
|
class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
|
|
2779
|
-
onClick:
|
|
2782
|
+
onClick: xe,
|
|
2780
2783
|
"aria-label": "Close"
|
|
2781
2784
|
}, jQ)
|
|
2782
2785
|
]),
|
|
@@ -2791,7 +2794,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
2791
2794
|
Tr(R("div", YQ, [
|
|
2792
2795
|
ju(ee.$slots, "buttons"),
|
|
2793
2796
|
R("button", {
|
|
2794
|
-
onClick:
|
|
2797
|
+
onClick: xe,
|
|
2795
2798
|
type: "button",
|
|
2796
2799
|
class: "px-5 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-200 rounded-lg ms-3 hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"
|
|
2797
2800
|
}, " Close ")
|
|
@@ -2857,11 +2860,11 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
2857
2860
|
get() {
|
|
2858
2861
|
return G.modelValue;
|
|
2859
2862
|
},
|
|
2860
|
-
set(
|
|
2861
|
-
_e("update:modelValue",
|
|
2863
|
+
set(xe) {
|
|
2864
|
+
_e("update:modelValue", xe);
|
|
2862
2865
|
}
|
|
2863
2866
|
});
|
|
2864
|
-
return (
|
|
2867
|
+
return (xe, ee) => (ue(), fe(jn, null, [
|
|
2865
2868
|
A.show ? (ue(), fe("div", {
|
|
2866
2869
|
key: 0,
|
|
2867
2870
|
class: Zt(A.field_name)
|
|
@@ -2968,11 +2971,11 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
2968
2971
|
get() {
|
|
2969
2972
|
return G.modelValue;
|
|
2970
2973
|
},
|
|
2971
|
-
set(
|
|
2972
|
-
_e("update:modelValue",
|
|
2974
|
+
set(xe) {
|
|
2975
|
+
_e("update:modelValue", xe);
|
|
2973
2976
|
}
|
|
2974
2977
|
});
|
|
2975
|
-
return (
|
|
2978
|
+
return (xe, ee) => (ue(), fe(jn, null, [
|
|
2976
2979
|
A.show ? (ue(), fe("div", {
|
|
2977
2980
|
key: 0,
|
|
2978
2981
|
class: Zt(A.field_name)
|
|
@@ -3141,7 +3144,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
3141
3144
|
setup(A, { emit: re }) {
|
|
3142
3145
|
const G = A, _e = re;
|
|
3143
3146
|
co(null);
|
|
3144
|
-
const ne = co({}), Z = co([]),
|
|
3147
|
+
const ne = co({}), Z = co([]), xe = co(0), ee = co(!1), $e = co(""), at = co(""), yt = co(null), hn = co(0), Et = co(0), io = () => {
|
|
3145
3148
|
if (yt.value) {
|
|
3146
3149
|
hn.value = yt.value.offsetWidth;
|
|
3147
3150
|
var Xt = yt.value.getBoundingClientRect();
|
|
@@ -3152,7 +3155,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
3152
3155
|
};
|
|
3153
3156
|
Dg(() => {
|
|
3154
3157
|
at.value = Ls(), G.show || (window.addEventListener("scroll", io), document.body.addEventListener("click", he), document.addEventListener("keypress", lo));
|
|
3155
|
-
}),
|
|
3158
|
+
}), ZN(() => {
|
|
3156
3159
|
window.removeEventListener("scroll", io), document.body.removeEventListener("click", he), document.removeEventListener("keypress", lo);
|
|
3157
3160
|
});
|
|
3158
3161
|
const eo = pu(() => {
|
|
@@ -3190,7 +3193,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
3190
3193
|
return Xt !== null && typeof Xt == "object" && Object.keys(Xt).length > 0;
|
|
3191
3194
|
}
|
|
3192
3195
|
function he(Xt) {
|
|
3193
|
-
Xt.target.id != G.field_name + "search" + at.value && Xt.target.id != G.field_name && !Xt.target.classList.contains("showOptions") && (pe(),
|
|
3196
|
+
Xt.target.id != G.field_name + "search" + at.value && Xt.target.id != G.field_name && !Xt.target.classList.contains("showOptions") && (pe(), xe.value = 0, ee.value = !1);
|
|
3194
3197
|
}
|
|
3195
3198
|
function kt(Xt) {
|
|
3196
3199
|
const Cn = `${Xt}${at.value}`, Nt = document.getElementById(Cn);
|
|
@@ -3201,7 +3204,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
3201
3204
|
Nt && Nt.click();
|
|
3202
3205
|
}
|
|
3203
3206
|
function oo(Xt) {
|
|
3204
|
-
Xt === "ArrowDown" &&
|
|
3207
|
+
Xt === "ArrowDown" && xe.value < eo.value.length && (xe.value++, kt(xe.value)), Xt === "ArrowUp" && xe.value > 1 && (xe.value--, kt(xe.value)), Xt === "Enter" && ia(xe.value);
|
|
3205
3208
|
}
|
|
3206
3209
|
function ae() {
|
|
3207
3210
|
return G.options.map((Xt, Cn) => typeof Xt == "object" ? Xt : { id: Xt, name: Xt });
|
|
@@ -3352,7 +3355,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
3352
3355
|
return ue(), fe("div", {
|
|
3353
3356
|
class: Zt([
|
|
3354
3357
|
"relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
3355
|
-
Ht + 1 ==
|
|
3358
|
+
Ht + 1 == xe.value ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
3356
3359
|
]),
|
|
3357
3360
|
onClick: (Pe) => ss(ot),
|
|
3358
3361
|
onMousedown: (Pe) => ss(ot),
|
|
@@ -3430,7 +3433,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
3430
3433
|
Dg(() => {
|
|
3431
3434
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
3432
3435
|
});
|
|
3433
|
-
const
|
|
3436
|
+
const xe = pu({
|
|
3434
3437
|
get() {
|
|
3435
3438
|
return _e.modelValue;
|
|
3436
3439
|
},
|
|
@@ -3471,14 +3474,14 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e
|
|
|
3471
3474
|
" gl-textarea-form-invalid mt-4 ": A.error_message !== ""
|
|
3472
3475
|
}),
|
|
3473
3476
|
type: A.type,
|
|
3474
|
-
"onUpdate:modelValue": $e[0] || ($e[0] = (at) =>
|
|
3477
|
+
"onUpdate:modelValue": $e[0] || ($e[0] = (at) => xe.value = at),
|
|
3475
3478
|
onKeydown: $e[1] || ($e[1] = (at) => ee.$emit("keydown", at)),
|
|
3476
3479
|
ref_key: "input",
|
|
3477
3480
|
ref: Z,
|
|
3478
3481
|
rows: "4",
|
|
3479
3482
|
placeholder: A.placeholder
|
|
3480
3483
|
}, null, 42, Jee), [
|
|
3481
|
-
[_m,
|
|
3484
|
+
[_m, xe.value]
|
|
3482
3485
|
]),
|
|
3483
3486
|
R("span", Qee, mt(A.error_message), 1),
|
|
3484
3487
|
R("small", ete, mt(A.description), 1)
|
|
@@ -3518,9 +3521,9 @@ var cq = { exports: {} };
|
|
|
3518
3521
|
});
|
|
3519
3522
|
}, Z = function(e) {
|
|
3520
3523
|
return { eq: e };
|
|
3521
|
-
},
|
|
3524
|
+
}, xe = Z(function(e, n) {
|
|
3522
3525
|
return e === n;
|
|
3523
|
-
}), ee =
|
|
3526
|
+
}), ee = xe, $e = function(e) {
|
|
3524
3527
|
return Z(function(n, o) {
|
|
3525
3528
|
if (n.length !== o.length)
|
|
3526
3529
|
return !1;
|
|
@@ -8564,7 +8567,7 @@ Required: ` + n.join(", "));
|
|
|
8564
8567
|
us.cancel(), f = b = P = null;
|
|
8565
8568
|
}
|
|
8566
8569
|
};
|
|
8567
|
-
},
|
|
8570
|
+
}, qN = (e, n) => {
|
|
8568
8571
|
n.fold((o) => {
|
|
8569
8572
|
e.setStartBefore(o.dom);
|
|
8570
8573
|
}, (o, r) => {
|
|
@@ -8582,7 +8585,7 @@ Required: ` + n.join(", "));
|
|
|
8582
8585
|
});
|
|
8583
8586
|
}, __ = (e, n, o) => {
|
|
8584
8587
|
const r = e.document.createRange();
|
|
8585
|
-
return
|
|
8588
|
+
return qN(r, n), aT(r, o), r;
|
|
8586
8589
|
}, xn = (e, n, o, r, l) => {
|
|
8587
8590
|
const u = e.document.createRange();
|
|
8588
8591
|
return u.setStart(n.dom, o), u.setEnd(r.dom, l), u;
|
|
@@ -9004,12 +9007,12 @@ Required: ` + n.join(", "));
|
|
|
9004
9007
|
}, Yp = (e = lt()) => z.from(e.dom.activeElement).map(ie.fromDom), O_ = (e) => Yp(xi(e)).filter((n) => e.dom.contains(n.dom)), Mv = (e, n) => {
|
|
9005
9008
|
const o = ha(n) ? _i(n).length : $r(n).length + 1;
|
|
9006
9009
|
return e > o ? o : e < 0 ? 0 : e;
|
|
9007
|
-
}, R_ = (e) => lf.range(e.start, Mv(e.soffset, e.start), e.finish, Mv(e.foffset, e.finish)), Ch = (e, n) => !ku(n.dom) && (Na(e, n) || To(e, n)), CO = (e) => (n) => Ch(e, n.start) && Ch(e, n.finish),
|
|
9010
|
+
}, R_ = (e) => lf.range(e.start, Mv(e.soffset, e.start), e.finish, Mv(e.foffset, e.finish)), Ch = (e, n) => !ku(n.dom) && (Na(e, n) || To(e, n)), CO = (e) => (n) => Ch(e, n.start) && Ch(e, n.finish), KN = (e) => e.inline || It.browser.isFirefox(), YN = (e) => lf.range(ie.fromDom(e.startContainer), e.startOffset, ie.fromDom(e.endContainer), e.endOffset), XN = (e) => {
|
|
9008
9011
|
const n = e.getSelection();
|
|
9009
|
-
return (!n || n.rangeCount === 0 ? z.none() : z.from(n.getRangeAt(0))).map(
|
|
9010
|
-
},
|
|
9012
|
+
return (!n || n.rangeCount === 0 ? z.none() : z.from(n.getRangeAt(0))).map(YN);
|
|
9013
|
+
}, JN = (e) => {
|
|
9011
9014
|
const n = kc(e);
|
|
9012
|
-
return
|
|
9015
|
+
return XN(n.dom).filter(CO(e));
|
|
9013
9016
|
}, _O = (e, n) => z.from(n).filter(CO(e)).map(R_), SO = (e) => {
|
|
9014
9017
|
const n = document.createRange();
|
|
9015
9018
|
try {
|
|
@@ -9018,9 +9021,9 @@ Required: ` + n.join(", "));
|
|
|
9018
9021
|
return z.none();
|
|
9019
9022
|
}
|
|
9020
9023
|
}, Pv = (e) => {
|
|
9021
|
-
const n =
|
|
9024
|
+
const n = KN(e) ? JN(ie.fromDom(e.getBody())) : z.none();
|
|
9022
9025
|
e.bookmark = n.isSome() ? n : e.bookmark;
|
|
9023
|
-
}, vT = (e) => (e.bookmark ? e.bookmark : z.none()).bind((o) => _O(ie.fromDom(e.getBody()), o)).bind(SO),
|
|
9026
|
+
}, vT = (e) => (e.bookmark ? e.bookmark : z.none()).bind((o) => _O(ie.fromDom(e.getBody()), o)).bind(SO), QN = (e) => {
|
|
9024
9027
|
vT(e).each((n) => e.selection.setRng(n));
|
|
9025
9028
|
}, TO = { isEditorUIElement: (e) => {
|
|
9026
9029
|
const n = e.className.toString();
|
|
@@ -9035,27 +9038,27 @@ Required: ` + n.join(", "));
|
|
|
9035
9038
|
}, o);
|
|
9036
9039
|
return r;
|
|
9037
9040
|
}
|
|
9038
|
-
},
|
|
9041
|
+
}, e7 = (e) => e.type === "nodechange" && e.selectionChange, t7 = (e, n) => {
|
|
9039
9042
|
const o = () => {
|
|
9040
9043
|
n.throttle();
|
|
9041
9044
|
};
|
|
9042
9045
|
Is.DOM.bind(document, "mouseup", o), e.on("remove", () => {
|
|
9043
9046
|
Is.DOM.unbind(document, "mouseup", o);
|
|
9044
9047
|
});
|
|
9045
|
-
},
|
|
9048
|
+
}, n7 = (e, n) => {
|
|
9046
9049
|
e.on("mouseup touchend", (o) => {
|
|
9047
9050
|
n.throttle();
|
|
9048
9051
|
});
|
|
9049
|
-
},
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
+
}, o7 = (e, n) => {
|
|
9053
|
+
n7(e, n), e.on("keyup NodeChange AfterSetSelectionRange", (o) => {
|
|
9054
|
+
e7(o) || Pv(e);
|
|
9052
9055
|
});
|
|
9053
9056
|
}, $_ = (e) => {
|
|
9054
9057
|
const n = z0(() => {
|
|
9055
9058
|
Pv(e);
|
|
9056
9059
|
}, 0);
|
|
9057
9060
|
e.on("init", () => {
|
|
9058
|
-
e.inline &&
|
|
9061
|
+
e.inline && t7(e, n), o7(e, n);
|
|
9059
9062
|
}), e.on("remove", () => {
|
|
9060
9063
|
n.cancel();
|
|
9061
9064
|
});
|
|
@@ -9074,7 +9077,7 @@ Required: ` + n.join(", "));
|
|
|
9074
9077
|
} catch {
|
|
9075
9078
|
return document.body;
|
|
9076
9079
|
}
|
|
9077
|
-
},
|
|
9080
|
+
}, s7 = (e, n) => {
|
|
9078
9081
|
const o = n.editor;
|
|
9079
9082
|
$_(o);
|
|
9080
9083
|
const r = (l, u) => {
|
|
@@ -9098,12 +9101,12 @@ Required: ` + n.join(", "));
|
|
|
9098
9101
|
b.ownerDocument === document && b !== document.body && !B_(u, b) && e.focusedEditor === u && (u.dispatch("blur", { focusedEditor: null }), e.focusedEditor = null);
|
|
9099
9102
|
});
|
|
9100
9103
|
}, M_.bind(document, "focusin", $1));
|
|
9101
|
-
},
|
|
9104
|
+
}, r7 = (e, n) => {
|
|
9102
9105
|
e.focusedEditor === n.editor && (e.focusedEditor = null), !e.activeEditor && $1 && (M_.unbind(document, "focusin", $1), $1 = null);
|
|
9103
|
-
},
|
|
9104
|
-
e.on("AddEditor", Pe(
|
|
9105
|
-
},
|
|
9106
|
-
|
|
9106
|
+
}, a7 = (e) => {
|
|
9107
|
+
e.on("AddEditor", Pe(s7, e)), e.on("RemoveEditor", Pe(r7, e));
|
|
9108
|
+
}, l7 = (e, n) => e.dom.getParent(n, (o) => e.dom.getContentEditable(o) === "true"), c7 = (e) => e.collapsed ? z.from(oi(e.startContainer, e.startOffset)).map(ie.fromDom) : z.none(), i7 = (e, n) => c7(n).bind((o) => Kc(o) ? z.some(o) : Na(e, o) ? z.none() : z.some(e)), OO = (e, n) => {
|
|
9109
|
+
i7(ie.fromDom(e.getBody()), n).bind((o) => hc(o.dom)).fold(() => {
|
|
9107
9110
|
e.selection.normalize();
|
|
9108
9111
|
}, (o) => e.selection.setRng(o.toRange()));
|
|
9109
9112
|
}, wT = (e) => {
|
|
@@ -9115,26 +9118,26 @@ Required: ` + n.join(", "));
|
|
|
9115
9118
|
}
|
|
9116
9119
|
else
|
|
9117
9120
|
e.focus();
|
|
9118
|
-
},
|
|
9121
|
+
}, u7 = (e) => D_(e) || O_(e).isSome(), d7 = (e) => Ze(e.iframeElement) && D_(ie.fromDom(e.iframeElement)), N_ = (e) => {
|
|
9119
9122
|
const n = e.getBody();
|
|
9120
|
-
return n &&
|
|
9123
|
+
return n && u7(ie.fromDom(n));
|
|
9121
9124
|
}, RO = (e) => {
|
|
9122
9125
|
const n = xi(ie.fromDom(e.getElement()));
|
|
9123
9126
|
return Yp(n).filter((o) => !P_(o.dom) && B_(e, o.dom)).isSome();
|
|
9124
|
-
}, Xp = (e) => e.inline ? N_(e) :
|
|
9127
|
+
}, Xp = (e) => e.inline ? N_(e) : d7(e), $O = (e) => Xp(e) || RO(e), m7 = (e) => {
|
|
9125
9128
|
const n = e.selection, o = e.getBody();
|
|
9126
9129
|
let r = n.getRng();
|
|
9127
9130
|
e.quirks.refreshContentEditable(), Ze(e.bookmark) && !Xp(e) && vT(e).each((u) => {
|
|
9128
9131
|
e.selection.setRng(u), r = u;
|
|
9129
9132
|
});
|
|
9130
|
-
const l =
|
|
9133
|
+
const l = l7(e, n.getNode());
|
|
9131
9134
|
if (l && e.dom.isChildOf(l, o)) {
|
|
9132
9135
|
wT(l), OO(e, r), xT(e);
|
|
9133
9136
|
return;
|
|
9134
9137
|
}
|
|
9135
9138
|
e.inline || (It.browser.isOpera() || wT(o), e.getWin().focus()), (It.browser.isFirefox() || e.inline) && (wT(o), OO(e, r)), xT(e);
|
|
9136
|
-
}, xT = (e) => e.editorManager.setActive(e),
|
|
9137
|
-
e.removed || (n ? xT(e) :
|
|
9139
|
+
}, xT = (e) => e.editorManager.setActive(e), f7 = (e, n) => {
|
|
9140
|
+
e.removed || (n ? xT(e) : m7(e));
|
|
9138
9141
|
}, MO = (e, n) => n.collapsed ? e.isEditable(n.startContainer) : e.isEditable(n.startContainer) && e.isEditable(n.endContainer), PO = (e, n, o, r, l) => {
|
|
9139
9142
|
const u = o ? n.startContainer : n.endContainer, f = o ? n.startOffset : n.endOffset;
|
|
9140
9143
|
return z.from(u).map(ie.fromDom).map((b) => !r || !n.collapsed ? Cu(b, l(b, f)).getOr(b) : b).bind((b) => Ba(b) ? z.some(b) : pa(b).filter(Ba)).map((b) => b.dom).getOr(e);
|
|
@@ -9152,7 +9155,7 @@ Required: ` + n.join(", "));
|
|
|
9152
9155
|
n.collapsed || (o === r && u - l < 2 && o.hasChildNodes() && (f = o.childNodes[l]), ut(o) && ut(r) && (o.length === l ? o = _T(o.nextSibling, !0) : o = o.parentNode, u === 0 ? r = _T(r.previousSibling, !1) : r = r.parentNode, o && o === r && (f = o)));
|
|
9153
9156
|
const b = ut(f) ? f.parentNode : f;
|
|
9154
9157
|
return su(b) ? b : e;
|
|
9155
|
-
},
|
|
9158
|
+
}, g7 = (e, n, o, r) => {
|
|
9156
9159
|
const l = [], u = e.getRoot(), f = e.getParent(o || CT(u, n, n.collapsed), e.isBlock), b = e.getParent(r || BO(u, n, n.collapsed), e.isBlock);
|
|
9157
9160
|
if (f && f !== u && l.push(f), f && b && f !== b) {
|
|
9158
9161
|
let y;
|
|
@@ -9161,16 +9164,16 @@ Required: ` + n.join(", "));
|
|
|
9161
9164
|
e.isBlock(y) && l.push(y);
|
|
9162
9165
|
}
|
|
9163
9166
|
return b && f !== b && b !== u && l.push(b), l;
|
|
9164
|
-
},
|
|
9167
|
+
}, h7 = (e, n, o) => z.from(n).bind((r) => z.from(r.parentNode).map((l) => {
|
|
9165
9168
|
const u = e.nodeIndex(r), f = e.createRng();
|
|
9166
9169
|
return f.setStart(l, u), f.setEnd(l, u + 1), o && (Y2(e, f, r, !0), Y2(e, f, r, !1)), f;
|
|
9167
9170
|
})), ST = (e, n) => Ke(n, (o) => {
|
|
9168
9171
|
const r = e.dispatch("GetSelectionRange", { range: o });
|
|
9169
9172
|
return r.range !== o ? r.range : o;
|
|
9170
|
-
}),
|
|
9173
|
+
}), p7 = (e) => bo(e) === "img" ? 1 : A0(e).fold(() => $r(e).length, (n) => n.length), b7 = (e) => A0(e).filter((n) => n.trim().length !== 0 || n.indexOf(Bo) > -1).isSome(), v7 = (e) => Gs(e) && Ga(e, "contenteditable") === "false", y7 = [
|
|
9171
9174
|
"img",
|
|
9172
9175
|
"br"
|
|
9173
|
-
], IO = (e) =>
|
|
9176
|
+
], IO = (e) => b7(e) || qe(y7, bo(e)) || v7(e), w7 = (e) => na(e, IO), x7 = (e) => C7(e, IO), C7 = (e, n) => {
|
|
9174
9177
|
const o = (r) => {
|
|
9175
9178
|
const l = $r(r);
|
|
9176
9179
|
for (let u = l.length - 1; u >= 0; u--) {
|
|
@@ -9184,17 +9187,17 @@ Required: ` + n.join(", "));
|
|
|
9184
9187
|
return z.none();
|
|
9185
9188
|
};
|
|
9186
9189
|
return o(e);
|
|
9187
|
-
}, LO = "[data-mce-autocompleter]",
|
|
9190
|
+
}, LO = "[data-mce-autocompleter]", _7 = (e, n) => {
|
|
9188
9191
|
if (FO(ie.fromDom(e.getBody())).isNone()) {
|
|
9189
9192
|
const o = ie.fromHtml('<span data-mce-autocompleter="1" data-mce-bogus="1"></span>', e.getDoc());
|
|
9190
|
-
_r(o, ie.fromDom(n.extractContents())), n.insertNode(o.dom), pa(o).each((r) => r.dom.normalize()),
|
|
9191
|
-
e.selection.setCursorLocation(r.dom,
|
|
9193
|
+
_r(o, ie.fromDom(n.extractContents())), n.insertNode(o.dom), pa(o).each((r) => r.dom.normalize()), x7(o).map((r) => {
|
|
9194
|
+
e.selection.setCursorLocation(r.dom, p7(r));
|
|
9192
9195
|
});
|
|
9193
9196
|
}
|
|
9194
|
-
},
|
|
9197
|
+
}, S7 = (e) => Ci(e, LO), FO = (e) => ll(e, LO), k7 = (e, n) => FO(n).each((o) => {
|
|
9195
9198
|
const r = e.selection.getBookmark();
|
|
9196
9199
|
cl(o), e.selection.moveToBookmark(r);
|
|
9197
|
-
}),
|
|
9200
|
+
}), T7 = {
|
|
9198
9201
|
"#text": 3,
|
|
9199
9202
|
"#comment": 8,
|
|
9200
9203
|
"#cdata": 4,
|
|
@@ -9213,7 +9216,7 @@ Required: ` + n.join(", "));
|
|
|
9213
9216
|
if (u = f[l], u)
|
|
9214
9217
|
return u;
|
|
9215
9218
|
}
|
|
9216
|
-
},
|
|
9219
|
+
}, E7 = (e) => {
|
|
9217
9220
|
var n;
|
|
9218
9221
|
const o = (n = e.value) !== null && n !== void 0 ? n : "";
|
|
9219
9222
|
if (!Mf(o))
|
|
@@ -9226,7 +9229,7 @@ Required: ` + n.join(", "));
|
|
|
9226
9229
|
};
|
|
9227
9230
|
class Pc {
|
|
9228
9231
|
static create(n, o) {
|
|
9229
|
-
const r = new Pc(n,
|
|
9232
|
+
const r = new Pc(n, T7[n] || 1);
|
|
9230
9233
|
return o && bt(o, (l, u) => {
|
|
9231
9234
|
r.attr(u, l);
|
|
9232
9235
|
}), r;
|
|
@@ -9357,7 +9360,7 @@ Required: ` + n.join(", "));
|
|
|
9357
9360
|
if (n[f.name] || mn(f))
|
|
9358
9361
|
return !1;
|
|
9359
9362
|
}
|
|
9360
|
-
if (f.type === 8 || f.type === 3 && !
|
|
9363
|
+
if (f.type === 8 || f.type === 3 && !E7(f) || f.type === 3 && f.parent && o[f.parent.name] && Mf((l = f.value) !== null && l !== void 0 ? l : "") || r && r(f))
|
|
9361
9364
|
return !1;
|
|
9362
9365
|
} while (f = I_(f, u));
|
|
9363
9366
|
return !0;
|
|
@@ -9366,35 +9369,35 @@ Required: ` + n.join(", "));
|
|
|
9366
9369
|
return I_(this, null, n);
|
|
9367
9370
|
}
|
|
9368
9371
|
}
|
|
9369
|
-
const HO = ct.makeMap("NOSCRIPT STYLE SCRIPT XMP IFRAME NOEMBED NOFRAMES PLAINTEXT", " "), VO = (e) => he(e.nodeValue) && e.nodeValue.includes(x), L_ = (e) => `${e.length === 0 ? "" : `${Ke(e, (n) => `[${n}]`).join(",")},`}[data-mce-bogus="all"]`,
|
|
9372
|
+
const HO = ct.makeMap("NOSCRIPT STYLE SCRIPT XMP IFRAME NOEMBED NOFRAMES PLAINTEXT", " "), VO = (e) => he(e.nodeValue) && e.nodeValue.includes(x), L_ = (e) => `${e.length === 0 ? "" : `${Ke(e, (n) => `[${n}]`).join(",")},`}[data-mce-bogus="all"]`, A7 = (e, n) => n.querySelectorAll(L_(e)), zO = (e) => document.createTreeWalker(e, NodeFilter.SHOW_COMMENT, (n) => VO(n) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP), UO = (e) => document.createTreeWalker(e, NodeFilter.SHOW_TEXT, (n) => {
|
|
9370
9373
|
if (VO(n)) {
|
|
9371
9374
|
const o = n.parentNode;
|
|
9372
9375
|
return o && pn(HO, o.nodeName) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
9373
9376
|
} else
|
|
9374
9377
|
return NodeFilter.FILTER_SKIP;
|
|
9375
|
-
}),
|
|
9376
|
-
Te(
|
|
9378
|
+
}), D7 = (e) => zO(e).nextNode() !== null, O7 = (e) => UO(e).nextNode() !== null, F_ = (e, n) => n.querySelector(L_(e)) !== null, WO = (e, n) => {
|
|
9379
|
+
Te(A7(e, n), (o) => {
|
|
9377
9380
|
const r = ie.fromDom(o);
|
|
9378
9381
|
Ga(r, "data-mce-bogus") === "all" ? Eo(r) : Te(e, (l) => {
|
|
9379
9382
|
Zr(r, l) && lr(r, l);
|
|
9380
9383
|
});
|
|
9381
9384
|
});
|
|
9382
|
-
},
|
|
9385
|
+
}, R7 = (e) => {
|
|
9383
9386
|
let n = e.nextNode();
|
|
9384
9387
|
for (; n !== null; )
|
|
9385
9388
|
n.nodeValue = null, n = e.nextNode();
|
|
9386
|
-
}, $
|
|
9389
|
+
}, $7 = D(R7, zO), Fn = D(R7, UO), ZO = (e, n) => {
|
|
9387
9390
|
const o = [
|
|
9388
9391
|
{
|
|
9389
9392
|
condition: Pe(F_, n),
|
|
9390
9393
|
action: Pe(WO, n)
|
|
9391
9394
|
},
|
|
9392
9395
|
{
|
|
9393
|
-
condition:
|
|
9394
|
-
action: $
|
|
9396
|
+
condition: D7,
|
|
9397
|
+
action: $7
|
|
9395
9398
|
},
|
|
9396
9399
|
{
|
|
9397
|
-
condition:
|
|
9400
|
+
condition: O7,
|
|
9398
9401
|
action: Fn
|
|
9399
9402
|
}
|
|
9400
9403
|
];
|
|
@@ -9428,13 +9431,13 @@ Required: ` + n.join(", "));
|
|
|
9428
9431
|
_r(u, l);
|
|
9429
9432
|
const f = V(l.dom.innerText);
|
|
9430
9433
|
return Eo(l), f;
|
|
9431
|
-
},
|
|
9434
|
+
}, M7 = (e, n, o) => {
|
|
9432
9435
|
let r;
|
|
9433
9436
|
return n.format === "raw" ? r = ct.trim(V(ZO(o, e.serializer.getTempAttrs()).innerHTML)) : n.format === "text" ? r = Lj(e, o) : n.format === "tree" ? r = e.serializer.serialize(o, n) : r = Ij(e, e.serializer.serialize(o, n)), n.format !== "text" && !Xr(ie.fromDom(o)) && he(r) ? ct.trim(r) : r;
|
|
9434
|
-
}, Fj = (e, n) => z.from(e.getBody()).fold(ot(n.format === "tree" ? new Pc("body", 11) : ""), (o) =>
|
|
9437
|
+
}, Fj = (e, n) => z.from(e.getBody()).fold(ot(n.format === "tree" ? new Pc("body", 11) : ""), (o) => M7(e, n, o)), P7 = ct.makeMap, jO = (e) => {
|
|
9435
9438
|
const n = [];
|
|
9436
9439
|
e = e || {};
|
|
9437
|
-
const o = e.indent, r =
|
|
9440
|
+
const o = e.indent, r = P7(e.indent_before || ""), l = P7(e.indent_after || ""), u = Lf.getEncodeFunc(e.entity_encoding || "raw", e.entities), f = e.element_format !== "xhtml";
|
|
9438
9441
|
return {
|
|
9439
9442
|
start: (b, y, k) => {
|
|
9440
9443
|
if (o && r[b] && n.length > 0) {
|
|
@@ -9626,7 +9629,7 @@ Required: ` + n.join(", "));
|
|
|
9626
9629
|
"font",
|
|
9627
9630
|
"text-decoration",
|
|
9628
9631
|
"text-emphasis"
|
|
9629
|
-
], TT = (e, n) => es(e.parseStyle(e.getAttrib(n, "style"))),
|
|
9632
|
+
], TT = (e, n) => es(e.parseStyle(e.getAttrib(n, "style"))), B7 = (e) => _n.has(e), bw = (e, n) => nr(TT(e, n), (o) => !B7(o)), qO = (e) => zt(e, (n) => Rt(GO, (o) => Ts(n, o))), N7 = (e, n, o) => {
|
|
9630
9633
|
const r = TT(e, n), l = TT(e, o), u = (f) => {
|
|
9631
9634
|
var b, y;
|
|
9632
9635
|
const k = (b = e.getStyle(n, f)) !== null && b !== void 0 ? b : "", P = (y = e.getStyle(o, f)) !== null && y !== void 0 ? y : "";
|
|
@@ -9643,38 +9646,38 @@ Required: ` + n.join(", "));
|
|
|
9643
9646
|
}, KO = (e, n, o) => z.from(o.container()).filter(ut).exists((r) => {
|
|
9644
9647
|
const l = e ? 0 : -1;
|
|
9645
9648
|
return n(r.data.charAt(o.offset() + l));
|
|
9646
|
-
}), ET = Pe(KO, !0, Hp), H_ = Pe(KO, !1, Hp),
|
|
9649
|
+
}), ET = Pe(KO, !0, Hp), H_ = Pe(KO, !1, Hp), I7 = (e) => {
|
|
9647
9650
|
const n = e.container();
|
|
9648
9651
|
return ut(n) && (n.data.length === 0 || T(n.data) && vh.isBookmarkNode(n.parentNode));
|
|
9649
|
-
}, M1 = (e, n) => (o) => l1(e ? 0 : -1, o).filter(n).isSome(),
|
|
9652
|
+
}, M1 = (e, n) => (o) => l1(e ? 0 : -1, o).filter(n).isSome(), L7 = (e) => Sl(e) && gr(ie.fromDom(e), "display") === "block", YO = (e) => vo(e) && !Yh(e), F7 = M1(!0, L7), H7 = M1(!1, L7), vw = M1(!0, hr), Bv = M1(!1, hr), XO = M1(!0, Eu), Xn = M1(!1, Eu), _h = M1(!0, YO), uf = M1(!1, YO), JO = (e) => e.slice(0, -1), QO = (e, n, o) => Na(n, e) ? JO(Ng(e, (r) => o(r) || To(r, n))) : [], AT = (e, n) => QO(e, n, tt), ag = (e, n) => [e].concat(AT(e, n)), V_ = (e, n, o) => Bu(e, n, o, I7), V7 = (e) => (n) => e.isBlock(bo(n)), DT = (e, n, o) => ps(ag(ie.fromDom(n.container()), e), V7(o)), eR = (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())))), tR = (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 = Pe(tR, !1), nR = Pe(tR, !0), z7 = Pe(eR, !1), U7 = Pe(eR, !0), W7 = (e) => iv(e).exists(Vd), z_ = (e, n, o, r) => {
|
|
9650
9653
|
const l = zt(ag(ie.fromDom(o.container()), n), (f) => r.isBlock(bo(f))), u = to(l).getOr(n);
|
|
9651
|
-
return Xa(e, u.dom, o).filter(
|
|
9652
|
-
}, 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(),
|
|
9654
|
+
return Xa(e, u.dom, o).filter(W7);
|
|
9655
|
+
}, 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(), Z7 = Pe(z_, !1), j7 = Pe(z_, !0), oR = (e) => Le.isTextPosition(e) && !e.isAtStart() && !e.isAtEnd(), sR = (e, n, o) => {
|
|
9653
9656
|
const r = zt(ag(ie.fromDom(n.container()), e), (l) => o.isBlock(bo(l)));
|
|
9654
9657
|
return to(r).getOr(e);
|
|
9655
|
-
}, rR = (e, n, o) => oR(n) ? H_(n) : H_(n) || Rc(sR(e, n, o).dom, n).exists(H_), aR = (e, n, o) => oR(n) ? ET(n) : ET(n) || Ql(sR(e, n, o).dom, n).exists(ET),
|
|
9658
|
+
}, rR = (e, n, o) => oR(n) ? H_(n) : H_(n) || Rc(sR(e, n, o).dom, n).exists(H_), aR = (e, n, o) => oR(n) ? ET(n) : ET(n) || Ql(sR(e, n, o).dom, n).exists(ET), G7 = (e) => qe([
|
|
9656
9659
|
"pre",
|
|
9657
9660
|
"pre-wrap"
|
|
9658
|
-
], e), RT = (e) => iv(e).bind((n) => al(n, Ba)).exists((n) =>
|
|
9661
|
+
], e), RT = (e) => iv(e).bind((n) => al(n, Ba)).exists((n) => G7(gr(n, "white-space"))), lR = (e, n) => Rc(e.dom, n).isNone(), q7 = (e, n) => Ql(e.dom, n).isNone(), K7 = (e, n, o) => lR(e, n) || q7(e, n) || OT(e, n, o) || nR(e, n, o) || ww(e, n, o) || yw(e, n, o), P1 = (e) => Ze(e) && vo(e) && Kf(e), cR = (e, n) => (o) => P1(new Es(o, e)[n]()), iR = (e, n) => {
|
|
9659
9662
|
const o = Ql(e.dom, n).getOr(n), r = cR(e.dom, "next");
|
|
9660
9663
|
return n.isAtEnd() && (r(n.container()) || r(o.container()));
|
|
9661
|
-
},
|
|
9664
|
+
}, Y7 = (e, n) => {
|
|
9662
9665
|
const o = Rc(e.dom, n).getOr(n), r = cR(e.dom, "prev");
|
|
9663
9666
|
return n.isAtStart() && (r(n.container()) || r(o.container()));
|
|
9664
|
-
}, uR = (e, n, o) => RT(n) ? !1 :
|
|
9667
|
+
}, uR = (e, n, o) => RT(n) ? !1 : K7(e, n, o) || rR(e, n, o) || aR(e, n, o), Nv = (e, n, o) => RT(n) ? !1 : OT(e, n, o) || z7(e, n, o) || ww(e, n, o) || rR(e, n, o) || Y7(e, n), dR = (e) => {
|
|
9665
9668
|
const n = e.container(), o = e.offset();
|
|
9666
9669
|
return ut(n) && o < n.data.length ? Le(n, o + 1) : e;
|
|
9667
|
-
}, Iv = (e, n, o) => RT(n) ? !1 : nR(e, n, o) ||
|
|
9670
|
+
}, Iv = (e, n, o) => RT(n) ? !1 : nR(e, n, o) || U7(e, n, o) || yw(e, n, o) || aR(e, n, o) || iR(e, n), U_ = (e, n, o) => Nv(e, n, o) || Iv(e, dR(n), o), Bc = (e, n) => hv(e.charAt(n)), mR = (e, n) => Hp(e.charAt(n)), X7 = (e) => {
|
|
9668
9671
|
const n = e.container();
|
|
9669
9672
|
return ut(n) && ys(n.data, Bo);
|
|
9670
|
-
},
|
|
9673
|
+
}, J7 = (e) => {
|
|
9671
9674
|
const n = e.split("");
|
|
9672
9675
|
return Ke(n, (o, r) => hv(o) && r > 0 && r < n.length - 1 && tg(n[r - 1]) && tg(n[r + 1]) ? " " : o).join("");
|
|
9673
9676
|
}, fR = (e, n, o, r) => {
|
|
9674
9677
|
const l = n.data, u = Le(n, 0);
|
|
9675
9678
|
return !o && Bc(l, 0) && !U_(e, u, r) ? (n.data = " " + l.slice(1), !0) : o && mR(l, 0) && Nv(e, u, r) ? (n.data = Bo + l.slice(1), !0) : !1;
|
|
9676
|
-
},
|
|
9677
|
-
const n = e.data, o =
|
|
9679
|
+
}, Q7 = (e) => {
|
|
9680
|
+
const n = e.data, o = J7(n);
|
|
9678
9681
|
return o !== n ? (e.data = o, !0) : !1;
|
|
9679
9682
|
}, Qp = (e, n, o, r) => {
|
|
9680
9683
|
const l = n.data, u = Le(n, l.length - 1);
|
|
@@ -9683,8 +9686,8 @@ Required: ` + n.join(", "));
|
|
|
9683
9686
|
const r = n.container();
|
|
9684
9687
|
if (!ut(r))
|
|
9685
9688
|
return z.none();
|
|
9686
|
-
if (
|
|
9687
|
-
const l = fR(e, r, !1, o) ||
|
|
9689
|
+
if (X7(n)) {
|
|
9690
|
+
const l = fR(e, r, !1, o) || Q7(r) || Qp(e, r, !1, o);
|
|
9688
9691
|
return Co(l, n);
|
|
9689
9692
|
} else if (U_(e, n, o)) {
|
|
9690
9693
|
const l = fR(e, r, !0, o) || Qp(e, r, !0, o);
|
|
@@ -10200,7 +10203,7 @@ Required: ` + n.join(", "));
|
|
|
10200
10203
|
const l = e.getBody(), u = J_(e);
|
|
10201
10204
|
ct.each(r.select("*[data-mce-fragment]"), (f) => {
|
|
10202
10205
|
if (Ze(o[f.nodeName.toLowerCase()]) && bw(r, f)) {
|
|
10203
|
-
for (let y = f.parentElement; Ze(y) && y !== l && !
|
|
10206
|
+
for (let y = f.parentElement; Ze(y) && y !== l && !N7(r, f, y); y = y.parentElement)
|
|
10204
10207
|
if (u.compare(y, f)) {
|
|
10205
10208
|
r.remove(f, !0);
|
|
10206
10209
|
break;
|
|
@@ -13213,8 +13216,8 @@ Required: ` + n.join(", "));
|
|
|
13213
13216
|
},
|
|
13214
13217
|
selection: { getContent: (n, o) => i6(e, n, o) },
|
|
13215
13218
|
autocompleter: {
|
|
13216
|
-
addDecoration: (n) =>
|
|
13217
|
-
removeDecoration: () =>
|
|
13219
|
+
addDecoration: (n) => _7(e, n),
|
|
13220
|
+
removeDecoration: () => k7(e, ie.fromDom(e.getBody()))
|
|
13218
13221
|
},
|
|
13219
13222
|
raw: { getModel: () => z.none() }
|
|
13220
13223
|
}), Fr = (e) => {
|
|
@@ -13416,7 +13419,7 @@ Required: ` + n.join(", "));
|
|
|
13416
13419
|
const { selectorChangedWithUnbind: f } = k6(e, r), b = (Tt, on) => {
|
|
13417
13420
|
const Kn = e.createRng();
|
|
13418
13421
|
Ze(Tt) && Ze(on) ? (Kn.setStart(Tt, on), Kn.setEnd(Tt, on), Be(Kn), we(!1)) : (Y2(e, Kn, r.getBody(), !0), Be(Kn));
|
|
13419
|
-
}, y = (Tt) => mF(r, Tt), k = (Tt, on) => bF(r, Tt, on), P = (Tt) => CT(r.getBody(), Se(), Tt), B = (Tt) => BO(r.getBody(), Se(), Tt), F = (Tt, on) => Ml.getBookmark(Tt, on), Q = (Tt) => Ml.moveToBookmark(Tt), oe = (Tt, on) => (
|
|
13422
|
+
}, y = (Tt) => mF(r, Tt), k = (Tt, on) => bF(r, Tt, on), P = (Tt) => CT(r.getBody(), Se(), Tt), B = (Tt) => BO(r.getBody(), Se(), Tt), F = (Tt, on) => Ml.getBookmark(Tt, on), Q = (Tt) => Ml.moveToBookmark(Tt), oe = (Tt, on) => (h7(e, Tt, on).each(Be), Tt), K = () => {
|
|
13420
13423
|
const Tt = Se(), on = ke();
|
|
13421
13424
|
return !Tt || Tt.item ? !1 : Tt.compareEndPoints ? Tt.compareEndPoints("StartToEnd", Tt) === 0 : !on || Tt.collapsed;
|
|
13422
13425
|
}, se = () => {
|
|
@@ -13472,7 +13475,7 @@ Required: ` + n.join(", "));
|
|
|
13472
13475
|
range: Tt,
|
|
13473
13476
|
forward: on
|
|
13474
13477
|
});
|
|
13475
|
-
}, rt = (Tt) => (k(e.getOuterHTML(Tt)), Tt), wt = () => NO(r.getBody(), Se()), Ft = (Tt, on) =>
|
|
13478
|
+
}, rt = (Tt) => (k(e.getOuterHTML(Tt)), Tt), wt = () => NO(r.getBody(), Se()), Ft = (Tt, on) => g7(e, Se(), Tt, on), We = () => {
|
|
13476
13479
|
const Tt = ke(), on = Tt == null ? void 0 : Tt.anchorNode, Kn = Tt == null ? void 0 : Tt.focusNode;
|
|
13477
13480
|
if (!Tt || !on || !Kn || ku(on) || ku(Kn))
|
|
13478
13481
|
return !0;
|
|
@@ -15066,7 +15069,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15066
15069
|
return Sw(ie.fromDom(e), ie.fromDom(o.getNode())).map((u) => pr(u) ? Ni.remove(u.dom) : Ni.moveToElement(l)).orThunk(() => z.some(Ni.moveToElement(l)));
|
|
15067
15070
|
}, aM = (e, n, o, r) => Xa(n, e, o).bind((l) => y9(l.getNode()) || x9(e, n, o, l, r) ? z.none() : n && vo(l.getNode()) || !n && vo(l.getNode(!0)) ? rM(e, n, o, l) : n && uf(o) || !n && _h(o) ? z.some(Ni.moveToPosition(l)) : z.none()), C9 = (e, n) => In(n) ? z.none() : e && vo(n.nextSibling) ? z.some(Ni.moveToElement(n.nextSibling)) : !e && vo(n.previousSibling) ? z.some(Ni.moveToElement(n.previousSibling)) : z.none(), _9 = (e, n, o) => o.fold((r) => z.some(Ni.remove(r)), (r) => z.some(Ni.moveToElement(r)), (r) => gd(n, r, e) ? z.none() : z.some(Ni.moveToPosition(r))), S9 = (e, n, o, r) => w9(n, o) ? C9(n, o.getNode(!n)).orThunk(() => aM(e, n, o, r)) : aM(e, n, o, r).bind((l) => _9(e, o, l)), ek = (e, n, o, r) => {
|
|
15068
15071
|
const l = z2(n ? 1 : -1, e, o), u = Le.fromRangeStart(l), f = ie.fromDom(e);
|
|
15069
|
-
return !n && uf(u) ? z.some(Ni.remove(u.getNode(!0))) : n && _h(u) ? z.some(Ni.remove(u.getNode())) : !n && _h(u) && ww(f, u, r) ?
|
|
15072
|
+
return !n && uf(u) ? z.some(Ni.remove(u.getNode(!0))) : n && _h(u) ? z.some(Ni.remove(u.getNode())) : !n && _h(u) && ww(f, u, r) ? Z7(f, u, r).map((b) => Ni.remove(b.getNode())) : n && uf(u) && yw(f, u, r) ? j7(f, u, r).map((b) => Ni.remove(b.getNode())) : S9(e, n, u, r);
|
|
15070
15073
|
}, L5 = (e, n) => (o) => (e._selectionOverrides.hideFakeCaret(), kh(e, n, ie.fromDom(o)), !0), k9 = (e, n) => (o) => {
|
|
15071
15074
|
const r = n ? Le.before(o) : Le.after(o);
|
|
15072
15075
|
return e.selection.setRng(r.toRange()), !0;
|
|
@@ -15091,7 +15094,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15091
15094
|
return !0;
|
|
15092
15095
|
}, sx = (e, n) => e.selection.isCollapsed() ? E9(e, n) : A9(e, n), D9 = (e, n) => {
|
|
15093
15096
|
const o = Le.fromRangeStart(e.selection.getRng());
|
|
15094
|
-
return Xa(n, e.getBody(), o).filter((r) => n ?
|
|
15097
|
+
return Xa(n, e.getBody(), o).filter((r) => n ? F7(r) : H7(r)).bind((r) => l1(n ? 0 : -1, r)).map((r) => () => e.selection.select(r));
|
|
15095
15098
|
}, F5 = (e, n) => e.selection.isCollapsed() ? D9(e, n) : z.none(), ly = ut, uM = (e) => ly(e) && e.data[0] === x, dM = (e) => ly(e) && e.data[e.data.length - 1] === x, mM = (e) => {
|
|
15096
15099
|
var n;
|
|
15097
15100
|
return ((n = e.ownerDocument) !== null && n !== void 0 ? n : document).createTextNode(x);
|
|
@@ -15839,7 +15842,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15839
15842
|
}, wA = (e, n, o) => z.from(e.dom.getParent(e.selection.getNode(), "td,th")).bind((r) => z.from(e.dom.getParent(r, "table")).map((l) => o(e, n, l, r))).getOr(!1), w8 = (e, n) => wA(e, n, JH), xA = (e, n) => wA(e, n, nV), oV = (e) => {
|
|
15840
15843
|
const n = lf.exact(e, 0, e, 0);
|
|
15841
15844
|
return hT(n);
|
|
15842
|
-
}, x8 = (e, n, o) => o.fold(z.none, z.none, (r, l) =>
|
|
15845
|
+
}, x8 = (e, n, o) => o.fold(z.none, z.none, (r, l) => w7(l).map((u) => oV(u)), (r) => (e.execCommand("mceTableInsertRowAfter"), C8(e, n, r))), C8 = (e, n, o) => x8(e, n, mG(o, Vn)), sV = (e, n, o) => x8(e, n, VH(o, Vn)), Aa = (e, n) => {
|
|
15843
15846
|
const o = [
|
|
15844
15847
|
"table",
|
|
15845
15848
|
"li",
|
|
@@ -16043,7 +16046,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
16043
16046
|
trigger: o
|
|
16044
16047
|
});
|
|
16045
16048
|
});
|
|
16046
|
-
}, kd = (e, n, o, r = 0) =>
|
|
16049
|
+
}, kd = (e, n, o, r = 0) => S7(ie.fromDom(n.startContainer)).fold(() => yx(e, n, o, r), (l) => {
|
|
16047
16050
|
const u = e.createRng();
|
|
16048
16051
|
u.selectNode(l.dom);
|
|
16049
16052
|
const f = SA(u);
|
|
@@ -18966,7 +18969,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
18966
18969
|
l.onload = () => {
|
|
18967
18970
|
l.onload = null, e.dispatch("load");
|
|
18968
18971
|
}, e.contentAreaContainer = n.iframeContainer, e.iframeElement = l, e.iframeHTML = WW(e), PD.add(n.iframeContainer, l);
|
|
18969
|
-
},
|
|
18972
|
+
}, eN = (e) => {
|
|
18970
18973
|
const n = e.iframeElement, o = () => {
|
|
18971
18974
|
e.contentDocument = n.contentDocument, XB(e);
|
|
18972
18975
|
};
|
|
@@ -18980,8 +18983,8 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
18980
18983
|
n.srcdoc = e.iframeHTML;
|
|
18981
18984
|
}
|
|
18982
18985
|
}, Fx = (e, n) => {
|
|
18983
|
-
ZW(e, n), n.editorContainer && (n.editorContainer.style.display = e.orgDisplay, e.hidden = PD.isHidden(n.editorContainer)), e.getElement().style.display = "none", PD.setAttrib(e.id, "aria-hidden", "true"), e.getElement().style.visibility = e.orgVisibility,
|
|
18984
|
-
},
|
|
18986
|
+
ZW(e, n), n.editorContainer && (n.editorContainer.style.display = e.orgDisplay, e.hidden = PD.isHidden(n.editorContainer)), e.getElement().style.display = "none", PD.setAttrib(e.id, "aria-hidden", "true"), e.getElement().style.visibility = e.orgVisibility, eN(e);
|
|
18987
|
+
}, tN = Is.DOM, nN = (e, n, o) => {
|
|
18985
18988
|
const r = W1.get(o), l = W1.urls[o] || e.documentBaseUrl.replace(/\/$/, "");
|
|
18986
18989
|
if (o = ct.trim(o), r && ct.inArray(n, o) === -1) {
|
|
18987
18990
|
if (e.plugins[o])
|
|
@@ -18996,7 +18999,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
18996
18999
|
}, jW = (e) => e.replace(/^\-/, ""), GW = (e) => {
|
|
18997
19000
|
const n = [];
|
|
18998
19001
|
Te(n1(e), (o) => {
|
|
18999
|
-
|
|
19002
|
+
nN(e, n, jW(o));
|
|
19000
19003
|
});
|
|
19001
19004
|
}, qW = (e) => {
|
|
19002
19005
|
const n = ct.trim(y2(e)), o = e.ui.registry.getAll().icons, r = {
|
|
@@ -19013,28 +19016,28 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19013
19016
|
e.theme = o(e, Oh.urls[n]) || {}, pe(e.theme.init) && e.theme.init(e, Oh.urls[n] || e.documentBaseUrl.replace(/\/$/, ""));
|
|
19014
19017
|
} else
|
|
19015
19018
|
e.theme = {};
|
|
19016
|
-
},
|
|
19019
|
+
}, oN = (e) => {
|
|
19017
19020
|
const n = S2(e), o = Sd.get(n);
|
|
19018
19021
|
e.model = o(e, Sd.urls[n]);
|
|
19019
19022
|
}, YW = (e) => {
|
|
19020
19023
|
const n = e.theme.renderUI;
|
|
19021
|
-
return n ? n() :
|
|
19022
|
-
},
|
|
19024
|
+
return n ? n() : aN(e);
|
|
19025
|
+
}, sN = (e) => {
|
|
19023
19026
|
const n = e.getElement(), r = Sp(e)(e, n);
|
|
19024
19027
|
return r.editorContainer.nodeType && (r.editorContainer.id = r.editorContainer.id || e.id + "_parent"), r.iframeContainer && r.iframeContainer.nodeType && (r.iframeContainer.id = r.iframeContainer.id || e.id + "_iframecontainer"), r.height = r.iframeHeight ? r.iframeHeight : n.offsetHeight, r;
|
|
19025
|
-
},
|
|
19028
|
+
}, rN = (e, n) => ({
|
|
19026
19029
|
editorContainer: e,
|
|
19027
19030
|
iframeContainer: n,
|
|
19028
19031
|
api: {}
|
|
19029
19032
|
}), XW = (e) => {
|
|
19030
|
-
const n =
|
|
19031
|
-
return
|
|
19032
|
-
},
|
|
19033
|
+
const n = tN.create("div");
|
|
19034
|
+
return tN.insertAfter(n, e), rN(n, n);
|
|
19035
|
+
}, aN = (e) => {
|
|
19033
19036
|
const n = e.getElement();
|
|
19034
|
-
return e.inline ?
|
|
19037
|
+
return e.inline ? rN(null) : XW(n);
|
|
19035
19038
|
}, JW = (e) => {
|
|
19036
19039
|
const n = e.getElement();
|
|
19037
|
-
return e.orgDisplay = n.style.display, he(Sp(e)) ? YW(e) : pe(Sp(e)) ?
|
|
19040
|
+
return e.orgDisplay = n.style.display, he(Sp(e)) ? YW(e) : pe(Sp(e)) ? sN(e) : aN(e);
|
|
19038
19041
|
}, QW = (e, n) => {
|
|
19039
19042
|
const o = {
|
|
19040
19043
|
show: z.from(n.show).getOr(Nt),
|
|
@@ -19049,13 +19052,13 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19049
19052
|
...o
|
|
19050
19053
|
};
|
|
19051
19054
|
}, eZ = async (e) => {
|
|
19052
|
-
e.dispatch("ScriptsLoaded"), qW(e), KW(e),
|
|
19055
|
+
e.dispatch("ScriptsLoaded"), qW(e), KW(e), oN(e), GW(e);
|
|
19053
19056
|
const n = await JW(e);
|
|
19054
19057
|
QW(e, z.from(n.api).getOr({})), e.editorContainer = n.editorContainer, jF(e), e.inline ? XB(e) : Fx(e, {
|
|
19055
19058
|
editorContainer: n.editorContainer,
|
|
19056
19059
|
iframeContainer: n.iframeContainer
|
|
19057
19060
|
});
|
|
19058
|
-
}, sb = Is.DOM,
|
|
19061
|
+
}, sb = Is.DOM, lN = (e) => e.charAt(0) === "-", tZ = (e, n) => {
|
|
19059
19062
|
const o = x2(n), r = Jl(n);
|
|
19060
19063
|
if (!Mu.hasCode(o) && o !== "en") {
|
|
19061
19064
|
const l = Po(r) ? r : `${n.editorManager.baseURL}/langs/${o}.js`;
|
|
@@ -19063,9 +19066,9 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19063
19066
|
tx(n, l, o);
|
|
19064
19067
|
});
|
|
19065
19068
|
}
|
|
19066
|
-
},
|
|
19069
|
+
}, cN = (e, n) => {
|
|
19067
19070
|
const o = Sp(e);
|
|
19068
|
-
if (he(o) && !
|
|
19071
|
+
if (he(o) && !lN(o) && !pn(Oh.urls, o)) {
|
|
19069
19072
|
const r = f3(e), l = r ? e.documentBaseURI.toAbsolute(r) : `themes/${o}/theme${n}.js`;
|
|
19070
19073
|
Oh.load(o, l).catch(() => {
|
|
19071
19074
|
zF(e, l, o);
|
|
@@ -19079,14 +19082,14 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19079
19082
|
V6(e, l, o);
|
|
19080
19083
|
});
|
|
19081
19084
|
}
|
|
19082
|
-
},
|
|
19085
|
+
}, iN = (e) => z.from(dh(e)).filter(Po).map((n) => ({
|
|
19083
19086
|
url: n,
|
|
19084
19087
|
name: z.none()
|
|
19085
19088
|
})), ND = (e, n, o) => z.from(n).filter((r) => Po(r) && !Qw.has(r)).map((r) => ({
|
|
19086
19089
|
url: `${e.editorManager.baseURL}/icons/${r}/icons${o}.js`,
|
|
19087
19090
|
name: z.some(r)
|
|
19088
19091
|
})), nZ = (e, n, o) => {
|
|
19089
|
-
const r = ND(n, "default", o), l =
|
|
19092
|
+
const r = ND(n, "default", o), l = iN(n).orThunk(() => ND(n, y2(n), ""));
|
|
19090
19093
|
Te(zs([
|
|
19091
19094
|
r,
|
|
19092
19095
|
l
|
|
@@ -19104,19 +19107,19 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19104
19107
|
bt(Gf(e), (r, l) => {
|
|
19105
19108
|
o(l, r), e.options.set("plugins", n1(e).concat(l));
|
|
19106
19109
|
}), Te(n1(e), (r) => {
|
|
19107
|
-
r = ct.trim(r), r && !W1.urls[r] && !
|
|
19110
|
+
r = ct.trim(r), r && !W1.urls[r] && !lN(r) && o(r, `plugins/${r}/plugin${n}.js`);
|
|
19108
19111
|
});
|
|
19109
19112
|
}, sZ = (e) => {
|
|
19110
19113
|
const n = Sp(e);
|
|
19111
19114
|
return !he(n) || Ze(Oh.get(n));
|
|
19112
|
-
},
|
|
19115
|
+
}, uN = (e) => {
|
|
19113
19116
|
const n = S2(e);
|
|
19114
19117
|
return Ze(Sd.get(n));
|
|
19115
|
-
},
|
|
19118
|
+
}, dN = (e, n) => {
|
|
19116
19119
|
const o = ra.ScriptLoader, r = () => {
|
|
19117
|
-
!e.removed && sZ(e) &&
|
|
19120
|
+
!e.removed && sZ(e) && uN(e) && eZ(e);
|
|
19118
19121
|
};
|
|
19119
|
-
|
|
19122
|
+
cN(e, n), BD(e, n), tZ(o, e), nZ(o, e, n), oZ(e, n), o.loadQueue().then(r, r);
|
|
19120
19123
|
}, rZ = (e, n) => Ly.forElement(e, {
|
|
19121
19124
|
contentCssCors: Tp(n),
|
|
19122
19125
|
referrerPolicy: ro(n)
|
|
@@ -19154,7 +19157,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19154
19157
|
no_events: !0,
|
|
19155
19158
|
set_dirty: !1
|
|
19156
19159
|
});
|
|
19157
|
-
}, e.editorManager.on("BeforeUnload", e._beforeUnload)), e.editorManager.add(e),
|
|
19160
|
+
}, e.editorManager.on("BeforeUnload", e._beforeUnload)), e.editorManager.add(e), dN(e, e.suffix);
|
|
19158
19161
|
}, ID = (e, n) => {
|
|
19159
19162
|
e._editableRoot !== n && (e._editableRoot = n, e.readonly || (e.getBody().contentEditable = String(e.hasEditableRoot()), e.nodeChanged()), sT(e, n));
|
|
19160
19163
|
}, s4 = (e) => e._editableRoot, r4 = (e, n) => ({
|
|
@@ -19189,7 +19192,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19189
19192
|
}, p0 = (e, n) => [
|
|
19190
19193
|
..._y(e),
|
|
19191
19194
|
..._y(n)
|
|
19192
|
-
], rb = (e, n, o, r) => e && a4(n, "mobile") ? r : o,
|
|
19195
|
+
], rb = (e, n, o, r) => e && a4(n, "mobile") ? r : o, mN = (e, n, o, r) => {
|
|
19193
19196
|
const l = _y(o.forced_plugins), u = _y(r.plugins), f = iZ(n, "mobile"), b = f.plugins ? _y(f.plugins) : u, y = rb(e, n, u, b), k = p0(l, y);
|
|
19194
19197
|
return ct.extend(r, {
|
|
19195
19198
|
forced_plugins: l,
|
|
@@ -19198,7 +19201,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19198
19201
|
}, uZ = (e, n) => e && a4(n, "mobile"), dZ = (e, n, o, r, l) => {
|
|
19199
19202
|
var u;
|
|
19200
19203
|
const f = e ? { mobile: LD((u = l.mobile) !== null && u !== void 0 ? u : {}, n) } : {}, b = lZ(["mobile"], _x(f, l)), y = ct.extend(o, r, b.options(), uZ(e, b) ? cZ(b, "mobile") : {}, { external_plugins: l4(r, b.options()) });
|
|
19201
|
-
return
|
|
19204
|
+
return mN(e, b, r, y);
|
|
19202
19205
|
}, mZ = (e, n) => dZ(Hx || Cy, Hx, n, e, n), fZ = (e, n) => iF(e, n), gZ = (e) => {
|
|
19203
19206
|
const n = (r, l) => {
|
|
19204
19207
|
e.formatter.toggle(r, l), e.nodeChanged();
|
|
@@ -19225,7 +19228,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19225
19228
|
JustifyRight: n("alignright"),
|
|
19226
19229
|
JustifyFull: n("alignjustify")
|
|
19227
19230
|
}, "state");
|
|
19228
|
-
},
|
|
19231
|
+
}, fN = (e) => {
|
|
19229
19232
|
gZ(e), hZ(e);
|
|
19230
19233
|
}, pZ = (e) => {
|
|
19231
19234
|
e.editorCommands.addCommands({
|
|
@@ -19315,10 +19318,10 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19315
19318
|
}, yZ = {
|
|
19316
19319
|
"font-size": "size",
|
|
19317
19320
|
"font-family": "face"
|
|
19318
|
-
}, wZ = lc("font"),
|
|
19321
|
+
}, wZ = lc("font"), gN = (e, n, o) => {
|
|
19319
19322
|
const r = (u) => Mr(u, e).orThunk(() => wZ(u) ? Xo(yZ, e).bind((f) => bi(u, f)) : z.none()), l = (u) => To(ie.fromDom(n), u);
|
|
19320
19323
|
return Th(ie.fromDom(o), (u) => r(u), l);
|
|
19321
|
-
}, xZ = (e) => e.replace(/[\'\"\\]/g, "").replace(/,\s+/g, ","),
|
|
19324
|
+
}, xZ = (e) => e.replace(/[\'\"\\]/g, "").replace(/,\s+/g, ","), hN = (e, n) => z.from(Is.DOM.getStyle(n, e, !0)), pN = (e) => (n, o) => z.from(o).map(ie.fromDom).filter(Ba).bind((r) => gN(e, n, r.dom).or(hN(e, r.dom))).getOr(""), HD = pN("font-size"), CZ = D(xZ, pN("font-family")), _Z = (e) => hc(e.getBody()).bind((n) => {
|
|
19322
19325
|
const o = n.container();
|
|
19323
19326
|
return z.from(ut(o) ? o.parentNode : o);
|
|
19324
19327
|
}), SZ = (e) => z.from(e.selection.getRng()).bind((n) => {
|
|
@@ -19334,12 +19337,12 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19334
19337
|
return n;
|
|
19335
19338
|
} else
|
|
19336
19339
|
return n;
|
|
19337
|
-
},
|
|
19340
|
+
}, bN = (e) => {
|
|
19338
19341
|
const n = e.split(/\s*,\s*/);
|
|
19339
19342
|
return Ke(n, (o) => o.indexOf(" ") !== -1 && !(Ts(o, '"') || Ts(o, "'")) ? `'${o}'` : o).join(",");
|
|
19340
19343
|
}, VD = (e, n) => {
|
|
19341
19344
|
const o = u4(e, n);
|
|
19342
|
-
e.formatter.toggle("fontname", { value:
|
|
19345
|
+
e.formatter.toggle("fontname", { value: bN(o) }), e.nodeChanged();
|
|
19343
19346
|
}, TZ = (e) => i4(e, (n) => CZ(e.getBody(), n.dom)).getOr(""), EG = (e, n) => {
|
|
19344
19347
|
e.formatter.toggle("fontsize", { value: u4(e, n) }), e.nodeChanged();
|
|
19345
19348
|
}, AG = (e) => i4(e, (n) => HD(e.getBody(), n.dom)).getOr(""), EZ = (e) => i4(e, (n) => {
|
|
@@ -19348,7 +19351,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19348
19351
|
return String(u / f);
|
|
19349
19352
|
};
|
|
19350
19353
|
return r.getOrThunk(l);
|
|
19351
|
-
}).getOr(""),
|
|
19354
|
+
}).getOr(""), vN = (e, n) => {
|
|
19352
19355
|
e.formatter.toggle("lineheight", { value: String(n) }), e.nodeChanged();
|
|
19353
19356
|
}, AZ = (e) => {
|
|
19354
19357
|
const n = (o, r) => {
|
|
@@ -19371,7 +19374,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19371
19374
|
EG(e, l);
|
|
19372
19375
|
},
|
|
19373
19376
|
LineHeight: (o, r, l) => {
|
|
19374
|
-
|
|
19377
|
+
vN(e, l);
|
|
19375
19378
|
},
|
|
19376
19379
|
Lang: (o, r, l) => {
|
|
19377
19380
|
var u;
|
|
@@ -19425,7 +19428,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19425
19428
|
iA(e);
|
|
19426
19429
|
}
|
|
19427
19430
|
}), e.editorCommands.addCommands({ Outdent: () => ck(e) }, "state");
|
|
19428
|
-
},
|
|
19431
|
+
}, yN = (e) => {
|
|
19429
19432
|
const n = (o, r, l) => {
|
|
19430
19433
|
const u = he(l) ? { href: l } : l, f = e.dom.getParent(e.selection.getNode(), "a");
|
|
19431
19434
|
kt(u) && he(u.href) && (u.href = u.href.replace(/ /g, "%20"), (!f || !u.href) && e.formatter.remove("link"), u.href && e.formatter.apply("link", u, f));
|
|
@@ -19444,7 +19447,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19444
19447
|
mceInsertLink: n,
|
|
19445
19448
|
createLink: n
|
|
19446
19449
|
});
|
|
19447
|
-
},
|
|
19450
|
+
}, wN = (e) => {
|
|
19448
19451
|
e.editorCommands.addCommands({
|
|
19449
19452
|
"InsertUnorderedList,InsertOrderedList": (n) => {
|
|
19450
19453
|
e.getDoc().execCommand(n);
|
|
@@ -19466,7 +19469,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19466
19469
|
}
|
|
19467
19470
|
}, "state");
|
|
19468
19471
|
}, $Z = (e) => {
|
|
19469
|
-
|
|
19472
|
+
wN(e), RZ(e);
|
|
19470
19473
|
}, MZ = (e, n, o, r) => {
|
|
19471
19474
|
const l = e.dom, u = (b) => l.isBlock(b) && b.parentElement === o, f = u(n) ? n : l.getParent(r, u, o);
|
|
19472
19475
|
return z.from(f).map(ie.fromDom);
|
|
@@ -19530,14 +19533,14 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19530
19533
|
e.getWin().print();
|
|
19531
19534
|
},
|
|
19532
19535
|
mceFocus: (n, o, r) => {
|
|
19533
|
-
|
|
19536
|
+
f7(e, r === !0);
|
|
19534
19537
|
},
|
|
19535
19538
|
mceToggleVisualAid: () => {
|
|
19536
19539
|
e.hasVisual = !e.hasVisual, e.addVisual();
|
|
19537
19540
|
}
|
|
19538
19541
|
});
|
|
19539
19542
|
}, zD = (e) => {
|
|
19540
|
-
|
|
19543
|
+
fN(e), pZ(e), DG(e), NZ(e), FD(e), yN(e), OG(e), BZ(e), MG(e), $Z(e), OZ(e), ab(e);
|
|
19541
19544
|
}, d4 = ["toggleview"], UD = (e) => qe(d4, e.toLowerCase());
|
|
19542
19545
|
class WD {
|
|
19543
19546
|
constructor(n) {
|
|
@@ -19549,7 +19552,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19549
19552
|
}
|
|
19550
19553
|
execCommand(n, o = !1, r, l) {
|
|
19551
19554
|
const u = this.editor, f = n.toLowerCase(), b = l == null ? void 0 : l.skip_focus;
|
|
19552
|
-
if (u.removed || (f !== "mcefocus" && (!/^(mceAddUndoLevel|mceEndUndoLevel)$/i.test(f) && !b ? u.focus() :
|
|
19555
|
+
if (u.removed || (f !== "mcefocus" && (!/^(mceAddUndoLevel|mceEndUndoLevel)$/i.test(f) && !b ? u.focus() : QN(u)), u.dispatch("BeforeExecCommand", {
|
|
19553
19556
|
command: n,
|
|
19554
19557
|
ui: o,
|
|
19555
19558
|
value: r
|
|
@@ -19618,12 +19621,12 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19618
19621
|
z.from(e.selection.getNode()).each((n) => {
|
|
19619
19622
|
n.removeAttribute("data-mce-selected");
|
|
19620
19623
|
});
|
|
19621
|
-
},
|
|
19624
|
+
}, xN = (e) => {
|
|
19622
19625
|
e.selection.setRng(e.selection.getRng());
|
|
19623
19626
|
}, HZ = (e, n) => {
|
|
19624
19627
|
const o = ie.fromDom(e.getBody());
|
|
19625
|
-
IZ(o, "mce-content-readonly", n), n ? (e.selection.controlSelection.hideResizeRect(), e._selectionOverrides.hideFakeCaret(), FZ(e), e.readonly = !0, m4(o, !1), LZ(o)) : (e.readonly = !1, e.hasEditableRoot() && m4(o, !0), v0(o), ZD(e, "StyleWithCSS", !1), ZD(e, "enableInlineTableEditing", !1), ZD(e, "enableObjectResizing", !1), $O(e) && e.focus(),
|
|
19626
|
-
}, xg = (e) => e.readonly,
|
|
19628
|
+
IZ(o, "mce-content-readonly", n), n ? (e.selection.controlSelection.hideResizeRect(), e._selectionOverrides.hideFakeCaret(), FZ(e), e.readonly = !0, m4(o, !1), LZ(o)) : (e.readonly = !1, e.hasEditableRoot() && m4(o, !0), v0(o), ZD(e, "StyleWithCSS", !1), ZD(e, "enableInlineTableEditing", !1), ZD(e, "enableObjectResizing", !1), $O(e) && e.focus(), xN(e), e.nodeChanged());
|
|
19629
|
+
}, xg = (e) => e.readonly, CN = (e) => {
|
|
19627
19630
|
e.parser.addAttributeFilter("contenteditable", (n) => {
|
|
19628
19631
|
xg(e) && Te(n, (o) => {
|
|
19629
19632
|
o.attr(b0, o.attr("contenteditable")), o.attr("contenteditable", "false");
|
|
@@ -19634,10 +19637,10 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19634
19637
|
});
|
|
19635
19638
|
}), e.serializer.addTempAttr(b0);
|
|
19636
19639
|
}, VZ = (e) => {
|
|
19637
|
-
e.serializer ?
|
|
19638
|
-
|
|
19640
|
+
e.serializer ? CN(e) : e.on("PreInit", () => {
|
|
19641
|
+
CN(e);
|
|
19639
19642
|
});
|
|
19640
|
-
}, zZ = (e) => e.type === "click",
|
|
19643
|
+
}, zZ = (e) => e.type === "click", _N = ["copy"], UZ = (e) => qe(_N, e.type), WZ = (e, n) => Ci(n, "a", (r) => To(r, ie.fromDom(e.getBody()))).bind((r) => bi(r, "href")), ZZ = (e, n) => {
|
|
19641
19644
|
if (zZ(n) && !Wt.metaKeyPressed(n)) {
|
|
19642
19645
|
const o = ie.fromDom(n.target);
|
|
19643
19646
|
WZ(e, o).each((r) => {
|
|
@@ -19784,9 +19787,9 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19784
19787
|
return e.getDoc().documentElement;
|
|
19785
19788
|
const o = jf(e);
|
|
19786
19789
|
return o ? (e.eventRoot || (e.eventRoot = f4.select(o)[0]), e.eventRoot) : e.getBody();
|
|
19787
|
-
}, KD = (e) => !e.hidden && !xg(e),
|
|
19790
|
+
}, KD = (e) => !e.hidden && !xg(e), SN = (e, n, o) => {
|
|
19788
19791
|
KD(e) ? e.dispatch(n, o) : xg(e) && ZZ(e, o);
|
|
19789
|
-
},
|
|
19792
|
+
}, kN = (e, n) => {
|
|
19790
19793
|
if (e.delegates || (e.delegates = {}), e.delegates[n] || e.removed)
|
|
19791
19794
|
return;
|
|
19792
19795
|
const o = Vx(e, n);
|
|
@@ -19802,27 +19805,27 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19802
19805
|
let b = f.length;
|
|
19803
19806
|
for (; b--; ) {
|
|
19804
19807
|
const y = f[b].getBody();
|
|
19805
|
-
(y === u || f4.isChildOf(u, y)) &&
|
|
19808
|
+
(y === u || f4.isChildOf(u, y)) && SN(f[b], n, l);
|
|
19806
19809
|
}
|
|
19807
19810
|
};
|
|
19808
19811
|
Bh[n] = r, f4.bind(o, n, r);
|
|
19809
19812
|
} else {
|
|
19810
19813
|
const r = (l) => {
|
|
19811
|
-
|
|
19814
|
+
SN(e, n, l);
|
|
19812
19815
|
};
|
|
19813
19816
|
f4.bind(o, n, r), e.delegates[n] = r;
|
|
19814
19817
|
}
|
|
19815
|
-
},
|
|
19818
|
+
}, TN = {
|
|
19816
19819
|
...qD,
|
|
19817
19820
|
bindPendingEventDelegates() {
|
|
19818
19821
|
const e = this;
|
|
19819
19822
|
ct.each(e._pendingNativeEvents, (n) => {
|
|
19820
|
-
|
|
19823
|
+
kN(e, n);
|
|
19821
19824
|
});
|
|
19822
19825
|
},
|
|
19823
19826
|
toggleNativeEvent(e, n) {
|
|
19824
19827
|
const o = this;
|
|
19825
|
-
e === "focus" || e === "blur" || o.removed || (n ? o.initialized ?
|
|
19828
|
+
e === "focus" || e === "blur" || o.removed || (n ? o.initialized ? kN(o, e) : o._pendingNativeEvents ? o._pendingNativeEvents.push(e) : o._pendingNativeEvents = [e] : o.initialized && o.delegates && (o.dom.unbind(Vx(o, e), e, o.delegates[e]), delete o.delegates[e]));
|
|
19826
19829
|
},
|
|
19827
19830
|
unbindAllNativeEvents() {
|
|
19828
19831
|
const e = this, n = e.getBody(), o = e.dom;
|
|
@@ -19865,10 +19868,10 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19865
19868
|
}
|
|
19866
19869
|
})();
|
|
19867
19870
|
return (o) => y0(o, n, `The value must be a ${e}.`);
|
|
19868
|
-
}, KZ = (e) => he(e.processor),
|
|
19871
|
+
}, KZ = (e) => he(e.processor), EN = (e, n) => {
|
|
19869
19872
|
const o = ea(n.message) ? "" : `. ${n.message}`;
|
|
19870
19873
|
return e + o;
|
|
19871
|
-
},
|
|
19874
|
+
}, AN = (e) => e.valid, y0 = (e, n, o = "") => {
|
|
19872
19875
|
const r = n(e);
|
|
19873
19876
|
return Nn(r) ? r ? {
|
|
19874
19877
|
value: e,
|
|
@@ -19880,14 +19883,14 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19880
19883
|
}, xf = (e, n, o) => {
|
|
19881
19884
|
if (!ss(n)) {
|
|
19882
19885
|
const r = y0(n, o);
|
|
19883
|
-
if (
|
|
19886
|
+
if (AN(r))
|
|
19884
19887
|
return r.value;
|
|
19885
|
-
console.error(
|
|
19888
|
+
console.error(EN(`Invalid default value passed for the "${e}" option`, r));
|
|
19886
19889
|
}
|
|
19887
19890
|
}, YZ = (e, n) => {
|
|
19888
19891
|
const o = {}, r = {}, l = (B, F, Q) => {
|
|
19889
19892
|
const oe = y0(F, Q);
|
|
19890
|
-
return
|
|
19893
|
+
return AN(oe) ? (r[B] = oe.value, !0) : (console.warn(EN(`Invalid value passed for the ${B} option`, oe)), !1);
|
|
19891
19894
|
}, u = (B, F) => {
|
|
19892
19895
|
const Q = KZ(F) ? qZ(F.processor) : F.processor, oe = xf(B, F.default, Q);
|
|
19893
19896
|
o[B] = {
|
|
@@ -19916,7 +19919,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19916
19919
|
}, XZ = [
|
|
19917
19920
|
"design",
|
|
19918
19921
|
"readonly"
|
|
19919
|
-
],
|
|
19922
|
+
], DN = (e, n, o, r) => {
|
|
19920
19923
|
const l = o[n.get()], u = o[r];
|
|
19921
19924
|
try {
|
|
19922
19925
|
u.activate();
|
|
@@ -19929,7 +19932,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19929
19932
|
if (r !== o.get()) {
|
|
19930
19933
|
if (!pn(n, r))
|
|
19931
19934
|
throw new Error(`Editor mode '${r}' is invalid`);
|
|
19932
|
-
e.initialized ?
|
|
19935
|
+
e.initialized ? DN(e, o, n, r) : e.on("init", () => DN(e, o, n, r));
|
|
19933
19936
|
}
|
|
19934
19937
|
}, QZ = (e, n, o) => {
|
|
19935
19938
|
if (qe(XZ, n))
|
|
@@ -19992,7 +19995,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19992
19995
|
n[l] ? r.push(l) : n[l] = !1;
|
|
19993
19996
|
return n.id = r.join(","), n.access && (n.alt = !0, o ? n.ctrl = !0 : n.shift = !0), n.meta && (o ? n.meta = !0 : (n.ctrl = !0, n.meta = !1)), n;
|
|
19994
19997
|
};
|
|
19995
|
-
class
|
|
19998
|
+
class ON {
|
|
19996
19999
|
constructor(n) {
|
|
19997
20000
|
this.shortcuts = {}, this.pendingPatterns = [], this.editor = n;
|
|
19998
20001
|
const o = this;
|
|
@@ -20101,7 +20104,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20101
20104
|
}, lb = Is.DOM, lj = ct.extend, cj = ct.each;
|
|
20102
20105
|
class g4 {
|
|
20103
20106
|
constructor(n, o, r) {
|
|
20104
|
-
this.plugins = {}, this.contentCSS = [], this.contentStyles = [], this.loadedCSS = {}, this.isNotDirty = !1, this.composing = !1, this.destroyed = !1, this.hasHiddenInput = !1, this.iframeElement = null, this.initialized = !1, this.readonly = !1, this.removed = !1, this.startContent = "", this._pendingNativeEvents = [], this._skinLoaded = !1, this._editableRoot = !0, this.editorManager = r, this.documentBaseUrl = r.documentBaseURL, lj(this,
|
|
20107
|
+
this.plugins = {}, this.contentCSS = [], this.contentStyles = [], this.loadedCSS = {}, this.isNotDirty = !1, this.composing = !1, this.destroyed = !1, this.hasHiddenInput = !1, this.iframeElement = null, this.initialized = !1, this.readonly = !1, this.removed = !1, this.startContent = "", this._pendingNativeEvents = [], this._skinLoaded = !1, this._editableRoot = !0, this.editorManager = r, this.documentBaseUrl = r.documentBaseURL, lj(this, TN);
|
|
20105
20108
|
const l = this;
|
|
20106
20109
|
this.id = n, this.hidden = !1;
|
|
20107
20110
|
const u = mZ(r.defaultOptions, o);
|
|
@@ -20115,7 +20118,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20115
20118
|
const k = ro(l);
|
|
20116
20119
|
k && (ra.ScriptLoader._setReferrerPolicy(k), Is.DOM.styleSheetLoader._setReferrerPolicy(k));
|
|
20117
20120
|
const P = Tp(l);
|
|
20118
|
-
Ze(P) && Is.DOM.styleSheetLoader._setContentCssCors(P), Kl.languageLoad = f("language_load"), Kl.baseURL = r.baseURL, this.setDirty(!1), this.documentBaseURI = new Cd(h2(l), { base_uri: this.baseUri }), this.baseURI = this.baseUri, this.inline = k2(l), this.hasVisual = p3(l), this.shortcuts = new
|
|
20121
|
+
Ze(P) && Is.DOM.styleSheetLoader._setContentCssCors(P), Kl.languageLoad = f("language_load"), Kl.baseURL = r.baseURL, this.setDirty(!1), this.documentBaseURI = new Cd(h2(l), { base_uri: this.baseUri }), this.baseURI = this.baseUri, this.inline = k2(l), this.hasVisual = p3(l), this.shortcuts = new ON(this), this.editorCommands = new WD(this), zD(this);
|
|
20119
20122
|
const B = f("cache_suffix");
|
|
20120
20123
|
B && (It.cacheSuffix = B.replace(/^[\?\&]+/, "")), this.ui = {
|
|
20121
20124
|
registry: aj(),
|
|
@@ -20319,7 +20322,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20319
20322
|
}
|
|
20320
20323
|
}
|
|
20321
20324
|
const Sy = Is.DOM, h4 = ct.each;
|
|
20322
|
-
let
|
|
20325
|
+
let RN = !1, p4, Hi = [];
|
|
20323
20326
|
const b4 = (e) => {
|
|
20324
20327
|
const n = e.type;
|
|
20325
20328
|
h4(w0.get(), (o) => {
|
|
@@ -20332,16 +20335,16 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20332
20335
|
break;
|
|
20333
20336
|
}
|
|
20334
20337
|
});
|
|
20335
|
-
}, $
|
|
20336
|
-
if (e !==
|
|
20338
|
+
}, $N = (e) => {
|
|
20339
|
+
if (e !== RN) {
|
|
20337
20340
|
const n = Is.DOM;
|
|
20338
|
-
e ? (n.bind(window, "resize", b4), n.bind(window, "scroll", b4)) : (n.unbind(window, "resize", b4), n.unbind(window, "scroll", b4)),
|
|
20341
|
+
e ? (n.bind(window, "resize", b4), n.bind(window, "scroll", b4)) : (n.unbind(window, "resize", b4), n.unbind(window, "scroll", b4)), RN = e;
|
|
20339
20342
|
}
|
|
20340
|
-
},
|
|
20343
|
+
}, MN = (e) => {
|
|
20341
20344
|
const n = Hi;
|
|
20342
20345
|
return Hi = zt(Hi, (o) => e !== o), w0.activeEditor === e && (w0.activeEditor = Hi.length > 0 ? Hi[0] : null), w0.focusedEditor === e && (w0.focusedEditor = null), n.length !== Hi.length;
|
|
20343
20346
|
}, ij = (e) => {
|
|
20344
|
-
e && e.initialized && !(e.getContainer() || e.getBody()).parentNode && (
|
|
20347
|
+
e && e.initialized && !(e.getContainer() || e.getBody()).parentNode && (MN(e), e.unbindAllNativeEvents(), e.destroy(!0), e.removed = !0);
|
|
20345
20348
|
}, uj = document.compatMode !== "CSS1Compat", w0 = {
|
|
20346
20349
|
...qD,
|
|
20347
20350
|
baseURI: null,
|
|
@@ -20379,7 +20382,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20379
20382
|
f.indexOf(".min") !== -1 && (o = ".min"), n = f.substring(0, f.lastIndexOf("/"));
|
|
20380
20383
|
}
|
|
20381
20384
|
}
|
|
20382
|
-
e.baseURL = new Cd(r).toAbsolute(n), e.documentBaseURL = r, e.baseURI = new Cd(e.baseURL), e.suffix = o,
|
|
20385
|
+
e.baseURL = new Cd(r).toAbsolute(n), e.documentBaseURL = r, e.baseURI = new Cd(e.baseURL), e.suffix = o, a7(e);
|
|
20383
20386
|
},
|
|
20384
20387
|
overrideDefaults(e) {
|
|
20385
20388
|
const n = e.base_url;
|
|
@@ -20432,7 +20435,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20432
20435
|
},
|
|
20433
20436
|
add(e) {
|
|
20434
20437
|
const n = this, o = n.get(e.id);
|
|
20435
|
-
return o === e || (o === null && Hi.push(e), $
|
|
20438
|
+
return o === e || (o === null && Hi.push(e), $N(!0), n.activeEditor = e, n.dispatch("AddEditor", { editor: e }), p4 || (p4 = (r) => {
|
|
20436
20439
|
const l = n.dispatch("BeforeUnload");
|
|
20437
20440
|
if (l.returnValue)
|
|
20438
20441
|
return r.preventDefault(), r.returnValue = l.returnValue, l.returnValue;
|
|
@@ -20455,7 +20458,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20455
20458
|
});
|
|
20456
20459
|
return;
|
|
20457
20460
|
}
|
|
20458
|
-
return o = e, ae(n.get(o.id)) ? null : (
|
|
20461
|
+
return o = e, ae(n.get(o.id)) ? null : (MN(o) && n.dispatch("RemoveEditor", { editor: o }), Hi.length === 0 && window.removeEventListener("beforeunload", p4), o.remove(), $N(Hi.length > 0), o);
|
|
20459
20462
|
},
|
|
20460
20463
|
execCommand(e, n, o) {
|
|
20461
20464
|
var r;
|
|
@@ -20511,19 +20514,19 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20511
20514
|
read: r,
|
|
20512
20515
|
clear: l
|
|
20513
20516
|
};
|
|
20514
|
-
})(),
|
|
20517
|
+
})(), PN = Math.min, cb = Math.max, v4 = Math.round, BN = (e, n, o) => {
|
|
20515
20518
|
let r = n.x, l = n.y;
|
|
20516
20519
|
const u = e.w, f = e.h, b = n.w, y = n.h, k = (o || "").split("");
|
|
20517
20520
|
return k[0] === "b" && (l += y), k[1] === "r" && (r += b), k[0] === "c" && (l += v4(y / 2)), k[1] === "c" && (r += v4(b / 2)), k[3] === "b" && (l -= f), k[4] === "r" && (r -= u), k[3] === "c" && (l -= v4(f / 2)), k[4] === "c" && (r -= v4(u / 2)), ky(r, l, u, f);
|
|
20518
20521
|
}, mj = (e, n, o, r) => {
|
|
20519
20522
|
for (let l = 0; l < r.length; l++) {
|
|
20520
|
-
const u =
|
|
20523
|
+
const u = BN(e, n, r[l]);
|
|
20521
20524
|
if (u.x >= o.x && u.x + u.w <= o.w + o.x && u.y >= o.y && u.y + u.h <= o.h + o.y)
|
|
20522
20525
|
return r[l];
|
|
20523
20526
|
}
|
|
20524
20527
|
return null;
|
|
20525
20528
|
}, fj = (e, n, o) => ky(e.x - n, e.y - o, e.w + n * 2, e.h + o * 2), gj = (e, n) => {
|
|
20526
|
-
const o = cb(e.x, n.x), r = cb(e.y, n.y), l =
|
|
20529
|
+
const o = cb(e.x, n.x), r = cb(e.y, n.y), l = PN(e.x + e.w, n.x + n.w), u = PN(e.y + e.h, n.y + n.h);
|
|
20527
20530
|
return l - o < 0 || u - r < 0 ? null : ky(o, r, l - o, u - r);
|
|
20528
20531
|
}, hj = (e, n, o) => {
|
|
20529
20532
|
let r = e.x, l = e.y, u = e.x + e.w, f = e.y + e.h;
|
|
@@ -20534,9 +20537,9 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20534
20537
|
y: n,
|
|
20535
20538
|
w: o,
|
|
20536
20539
|
h: r
|
|
20537
|
-
}),
|
|
20540
|
+
}), NN = {
|
|
20538
20541
|
inflate: fj,
|
|
20539
|
-
relativePosition:
|
|
20542
|
+
relativePosition: BN,
|
|
20540
20543
|
findBestRelativePosition: mj,
|
|
20541
20544
|
intersect: gj,
|
|
20542
20545
|
clamp: hj,
|
|
@@ -20612,7 +20615,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20612
20615
|
}
|
|
20613
20616
|
var yj = zx;
|
|
20614
20617
|
const wj = {
|
|
20615
|
-
geom: { Rect:
|
|
20618
|
+
geom: { Rect: NN },
|
|
20616
20619
|
util: {
|
|
20617
20620
|
Delay: Fu,
|
|
20618
20621
|
Tools: ct,
|
|
@@ -20655,8 +20658,8 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20655
20658
|
EditorCommands: WD,
|
|
20656
20659
|
WindowManager: H6,
|
|
20657
20660
|
NotificationManager: w5,
|
|
20658
|
-
EditorObservable:
|
|
20659
|
-
Shortcuts:
|
|
20661
|
+
EditorObservable: TN,
|
|
20662
|
+
Shortcuts: ON,
|
|
20660
20663
|
Editor: g4,
|
|
20661
20664
|
FocusManager: TO,
|
|
20662
20665
|
EditorManager: w0,
|
|
@@ -20682,7 +20685,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20682
20685
|
resolve: ct.resolve,
|
|
20683
20686
|
explode: ct.explode,
|
|
20684
20687
|
_addCacheSuffix: ct._addCacheSuffix
|
|
20685
|
-
},
|
|
20688
|
+
}, IN = ct.extend(w0, wj), LN = (e) => {
|
|
20686
20689
|
try {
|
|
20687
20690
|
A.exports = e;
|
|
20688
20691
|
} catch {
|
|
@@ -20690,7 +20693,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20690
20693
|
};
|
|
20691
20694
|
((e) => {
|
|
20692
20695
|
window.tinymce = e, window.tinyMCE = e;
|
|
20693
|
-
})(
|
|
20696
|
+
})(IN), LN(IN);
|
|
20694
20697
|
})();
|
|
20695
20698
|
})(cq);
|
|
20696
20699
|
var nte = cq.exports;
|
|
@@ -20896,7 +20899,7 @@ tinymce.IconManager.add("default", {
|
|
|
20896
20899
|
}, G = (t) => {
|
|
20897
20900
|
const s = typeof t;
|
|
20898
20901
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && re(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
20899
|
-
}, _e = (t) => (s) => G(s) === t, ne = (t) => (s) => typeof s === t, Z = (t) => (s) => t === s,
|
|
20902
|
+
}, _e = (t) => (s) => G(s) === t, ne = (t) => (s) => typeof s === t, Z = (t) => (s) => t === s, xe = (t, s) => $e(t) && re(t, s, (a, c) => A(a) === c), ee = _e("string"), $e = _e("object"), at = (t) => xe(t, Object), yt = _e("array"), hn = Z(null), Et = ne("boolean"), io = Z(void 0), lo = (t) => t == null, eo = (t) => !lo(t), Ot = ne("function"), Ls = ne("number"), un = (t, s) => {
|
|
20900
20903
|
if (yt(t)) {
|
|
20901
20904
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
20902
20905
|
if (!s(t[a]))
|
|
@@ -22614,14 +22617,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22614
22617
|
ur(s, J), ki(s, W);
|
|
22615
22618
|
}, Me = (Oe) => {
|
|
22616
22619
|
nh(s, Oe);
|
|
22617
|
-
},
|
|
22620
|
+
}, Ce = () => {
|
|
22618
22621
|
const Oe = t.domChildren;
|
|
22619
22622
|
uO(s, Oe);
|
|
22620
22623
|
}, ve = () => {
|
|
22621
22624
|
const Oe = s, dt = t.value.getOrUndefined();
|
|
22622
22625
|
dt !== qd(Oe) && mp(Oe, dt ?? "");
|
|
22623
22626
|
};
|
|
22624
|
-
return w(), de(), N(), t.innerHtml.fold(
|
|
22627
|
+
return w(), de(), N(), t.innerHtml.fold(Ce, Me), ve(), s;
|
|
22625
22628
|
}, W4 = (t) => {
|
|
22626
22629
|
const s = Ae.fromTag(t.tag);
|
|
22627
22630
|
Yu(s, t.attributes), ur(s, t.classes), Ms(s, t.styles), t.innerHtml.each((c) => nh(s, c));
|
|
@@ -22667,14 +22670,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22667
22670
|
return (Ot(Je[dt.name()]) ? Je[dt.name()] : () => {
|
|
22668
22671
|
throw new Error("Could not find " + dt.name() + " in " + JSON.stringify(t, null, 2));
|
|
22669
22672
|
})();
|
|
22670
|
-
}, Me = (dt) => Ot(w[dt.name()]),
|
|
22673
|
+
}, Me = (dt) => Ot(w[dt.name()]), Ce = () => d.apis, ve = (dt) => w[dt]().map((Je) => Je.state.readState()).getOr("not enabled"), Oe = {
|
|
22671
22674
|
uid: t.uid,
|
|
22672
22675
|
getSystem: c.get,
|
|
22673
22676
|
config: de,
|
|
22674
22677
|
hasConfigured: Me,
|
|
22675
22678
|
spec: t,
|
|
22676
22679
|
readState: ve,
|
|
22677
|
-
getApis:
|
|
22680
|
+
getApis: Ce,
|
|
22678
22681
|
connect: H,
|
|
22679
22682
|
disconnect: W,
|
|
22680
22683
|
element: E,
|
|
@@ -23131,8 +23134,8 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23131
23134
|
]
|
|
23132
23135
|
}
|
|
23133
23136
|
]), EC = (t, s, a, c, d, g) => {
|
|
23134
|
-
const p = s.rect, w = p.x - a, C = p.y - c, E = p.width, $ = p.height, N = d - (w + E), H = g - (C + $), W = D.some(w), J = D.some(C), de = D.some(N), Me = D.some(H),
|
|
23135
|
-
return Zf(s.direction, () => Ai(t, W, J,
|
|
23137
|
+
const p = s.rect, w = p.x - a, C = p.y - c, E = p.width, $ = p.height, N = d - (w + E), H = g - (C + $), W = D.some(w), J = D.some(C), de = D.some(N), Me = D.some(H), Ce = D.none();
|
|
23138
|
+
return Zf(s.direction, () => Ai(t, W, J, Ce, Ce), () => Ai(t, Ce, J, de, Ce), () => Ai(t, W, Ce, Ce, Me), () => Ai(t, Ce, Ce, de, Me), () => Ai(t, W, J, Ce, Ce), () => Ai(t, W, Ce, Ce, Me), () => Ai(t, W, J, Ce, Ce), () => Ai(t, Ce, J, de, Ce));
|
|
23136
23139
|
}, h2 = (t, s) => t.fold(() => {
|
|
23137
23140
|
const a = s.rect;
|
|
23138
23141
|
return Ai("absolute", D.some(a.x), D.some(a.y), D.none(), D.none());
|
|
@@ -23174,10 +23177,10 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23174
23177
|
y: c,
|
|
23175
23178
|
right: d,
|
|
23176
23179
|
bottom: g
|
|
23177
|
-
} = s, { x: p, y: w, right: C, bottom: E, width: $, height: N } = t, H = p >= a && p <= d, W = w >= c && w <= g, J = H && W, de = C <= d && C >= a, Me = E <= g && E >= c,
|
|
23180
|
+
} = s, { x: p, y: w, right: C, bottom: E, width: $, height: N } = t, H = p >= a && p <= d, W = w >= c && w <= g, J = H && W, de = C <= d && C >= a, Me = E <= g && E >= c, Ce = de && Me, ve = Math.min($, p >= a ? d - p : C - a), Oe = Math.min(N, w >= c ? g - w : E - c);
|
|
23178
23181
|
return {
|
|
23179
23182
|
originInBounds: J,
|
|
23180
|
-
sizeInBounds:
|
|
23183
|
+
sizeInBounds: Ce,
|
|
23181
23184
|
visibleW: ve,
|
|
23182
23185
|
visibleH: Oe
|
|
23183
23186
|
};
|
|
@@ -23196,10 +23199,10 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23196
23199
|
maxHeight: g
|
|
23197
23200
|
};
|
|
23198
23201
|
}, l3 = (t, s, a, c) => {
|
|
23199
|
-
const d = t.bubble, g = d.offset, p = qb(c, t.restriction, g), w = t.x + g.left, C = t.y + g.top, E = Bs(w, C, s, a), { originInBounds: $, sizeInBounds: N, visibleW: H, visibleH: W } = OC(E, p), J = $ && N, de = J ? E : y2(E, p), Me = de.width > 0 && de.height > 0, { maxWidth:
|
|
23202
|
+
const d = t.bubble, g = d.offset, p = qb(c, t.restriction, g), w = t.x + g.left, C = t.y + g.top, E = Bs(w, C, s, a), { originInBounds: $, sizeInBounds: N, visibleW: H, visibleH: W } = OC(E, p), J = $ && N, de = J ? E : y2(E, p), Me = de.width > 0 && de.height > 0, { maxWidth: Ce, maxHeight: ve } = dh(t.direction, de, c), Oe = {
|
|
23200
23203
|
rect: de,
|
|
23201
23204
|
maxHeight: ve,
|
|
23202
|
-
maxWidth:
|
|
23205
|
+
maxWidth: Ce,
|
|
23203
23206
|
direction: t.direction,
|
|
23204
23207
|
placement: t.placement,
|
|
23205
23208
|
classes: {
|
|
@@ -23213,7 +23216,7 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23213
23216
|
}, c3 = (t, s, a, c, d, g) => {
|
|
23214
23217
|
const p = c.width, w = c.height, C = ($, N, H, W, J) => {
|
|
23215
23218
|
const de = $(a, c, d, t, g), Me = l3(de, p, w, g);
|
|
23216
|
-
return Me.fold(ae(Me), (
|
|
23219
|
+
return Me.fold(ae(Me), (Ce, ve, Oe, dt) => (J === dt ? Oe > W || ve > H : !J && dt) ? Me : J0.nofit(N, H, W, J));
|
|
23217
23220
|
};
|
|
23218
23221
|
return Wo(s, ($, N) => {
|
|
23219
23222
|
const H = In(C, N);
|
|
@@ -24680,8 +24683,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24680
24683
|
J(de, E, $), Me.stop();
|
|
24681
24684
|
})), H = (J, de) => {
|
|
24682
24685
|
const Me = ko(Ri.concat(om))(de.event);
|
|
24683
|
-
E.focusInside === h.OnEnterOrSpaceMode && Me && Yc(J, de) && d(E).each((
|
|
24684
|
-
|
|
24686
|
+
E.focusInside === h.OnEnterOrSpaceMode && Me && Yc(J, de) && d(E).each((Ce) => {
|
|
24687
|
+
Ce(J, E, $), de.stop();
|
|
24685
24688
|
});
|
|
24686
24689
|
}, W = [
|
|
24687
24690
|
Qe(Ou(), (J, de) => {
|
|
@@ -24709,26 +24712,26 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24709
24712
|
Re("firstTabstop", 0),
|
|
24710
24713
|
Re("useTabstopAt", Nt),
|
|
24711
24714
|
Uo("visibilitySelector")
|
|
24712
|
-
].concat([t]), a = (
|
|
24713
|
-
const Oe =
|
|
24715
|
+
].concat([t]), a = (Ce, ve) => {
|
|
24716
|
+
const Oe = Ce.visibilitySelector.bind((dt) => dd(ve, dt)).getOr(ve);
|
|
24714
24717
|
return Us(Oe) > 0;
|
|
24715
|
-
}, c = (
|
|
24716
|
-
const Oe = ka(
|
|
24718
|
+
}, c = (Ce, ve) => {
|
|
24719
|
+
const Oe = ka(Ce.element, ve.selector), dt = so(Oe, (Je) => a(ve, Je));
|
|
24717
24720
|
return D.from(dt[ve.firstTabstop]);
|
|
24718
|
-
}, d = (
|
|
24719
|
-
c(
|
|
24720
|
-
ve.focusManager.set(
|
|
24721
|
-
});
|
|
24722
|
-
}, w = (
|
|
24723
|
-
const Je = ka(
|
|
24724
|
-
return d(
|
|
24725
|
-
}, E = (
|
|
24721
|
+
}, d = (Ce, ve) => ve.focusManager.get(Ce).bind((Oe) => dd(Oe, ve.selector)), g = (Ce, ve) => a(Ce, ve) && Ce.useTabstopAt(ve), p = (Ce, ve, Oe) => {
|
|
24722
|
+
c(Ce, ve).each((dt) => {
|
|
24723
|
+
ve.focusManager.set(Ce, dt);
|
|
24724
|
+
});
|
|
24725
|
+
}, w = (Ce, ve, Oe, dt, Je) => Je(ve, Oe, (Ge) => g(dt, Ge)).fold(() => dt.cyclic ? D.some(!0) : D.none(), (Ge) => (dt.focusManager.set(Ce, Ge), D.some(!0))), C = (Ce, ve, Oe, dt) => {
|
|
24726
|
+
const Je = ka(Ce.element, Oe.selector);
|
|
24727
|
+
return d(Ce, Oe).bind((Ge) => Rt(Je, In(zo, Ge)).bind((At) => w(Ce, Je, At, Oe, dt)));
|
|
24728
|
+
}, E = (Ce, ve, Oe) => {
|
|
24726
24729
|
const dt = Oe.cyclic ? mw : gT;
|
|
24727
|
-
return C(
|
|
24728
|
-
}, $ = (
|
|
24730
|
+
return C(Ce, ve, Oe, dt);
|
|
24731
|
+
}, $ = (Ce, ve, Oe) => {
|
|
24729
24732
|
const dt = Oe.cyclic ? fw : hT;
|
|
24730
|
-
return C(
|
|
24731
|
-
}, N = (
|
|
24733
|
+
return C(Ce, ve, Oe, dt);
|
|
24734
|
+
}, N = (Ce) => Vl(Ce).bind(hi).exists((ve) => zo(ve, Ce)), H = (Ce, ve, Oe) => d(Ce, Oe).filter((dt) => !Oe.useTabstopAt(dt)).bind((dt) => (N(dt) ? E : $)(Ce, ve, Oe)), W = (Ce, ve, Oe) => Oe.onEnter.bind((dt) => dt(Ce, ve)), J = (Ce, ve, Oe) => Oe.onEscape.bind((dt) => dt(Ce, ve)), de = ae([
|
|
24732
24735
|
$o($i([
|
|
24733
24736
|
cf,
|
|
24734
24737
|
ko(af)
|
|
@@ -24827,11 +24830,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24827
24830
|
Ir(t.element, s.selector).each((c) => {
|
|
24828
24831
|
s.focusManager.set(t, c);
|
|
24829
24832
|
});
|
|
24830
|
-
}, A_ = (t, s) => s.focusManager.get(t).bind((a) => dd(a, s.selector)), D_ = (t, s, a, c) => A_(t, a).bind((d) => a.execute(t, s, d)), Yp = (t) => (s, a, c, d) => ec(s, a, c.selector).bind((g) => t(g.candidates, g.index, d.getNumRows().getOr(c.initSize.numRows), d.getNumColumns().getOr(c.initSize.numColumns))), O_ = (t, s, a) => a.captureTab ? D.some(!0) : D.none(), Mv = (t, s, a) => a.onEscape(t, s), R_ = Yp(pw), Ch = Yp(pc), CO = Yp(O1),
|
|
24833
|
+
}, A_ = (t, s) => s.focusManager.get(t).bind((a) => dd(a, s.selector)), D_ = (t, s, a, c) => A_(t, a).bind((d) => a.execute(t, s, d)), Yp = (t) => (s, a, c, d) => ec(s, a, c.selector).bind((g) => t(g.candidates, g.index, d.getNumRows().getOr(c.initSize.numRows), d.getNumColumns().getOr(c.initSize.numColumns))), O_ = (t, s, a) => a.captureTab ? D.some(!0) : D.none(), Mv = (t, s, a) => a.onEscape(t, s), R_ = Yp(pw), Ch = Yp(pc), CO = Yp(O1), KN = Yp(sm), YN = ae([
|
|
24831
24834
|
$o(ko(Rv), Gn(R_, Ch)),
|
|
24832
24835
|
$o(ko(qp), qs(R_, Ch)),
|
|
24833
24836
|
$o(ko(lf), Mc(CO)),
|
|
24834
|
-
$o(ko(D1), wh(
|
|
24837
|
+
$o(ko(D1), wh(KN)),
|
|
24835
24838
|
$o($i([
|
|
24836
24839
|
cf,
|
|
24837
24840
|
ko(af)
|
|
@@ -24841,11 +24844,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24841
24844
|
ko(af)
|
|
24842
24845
|
]), O_),
|
|
24843
24846
|
$o(ko(Ri.concat(om)), D_)
|
|
24844
|
-
]),
|
|
24847
|
+
]), XN = ae([
|
|
24845
24848
|
$o(ko(Ov), Mv),
|
|
24846
24849
|
$o(ko(Ri), me)
|
|
24847
24850
|
]);
|
|
24848
|
-
var
|
|
24851
|
+
var JN = v(Rl, Lt, YN, XN, () => D.some(R1));
|
|
24849
24852
|
const _O = (t, s, a, c, d) => {
|
|
24850
24853
|
const g = (w) => Ra(w) === "button" && js(w, "disabled") === "disabled", p = (w, C, E) => d(w, C, c, 0, E.length - 1, E[C], ($) => g(E[$]) ? p(w, $, E) : D.from(E[$]));
|
|
24851
24854
|
return ec(t, a, s).bind((w) => {
|
|
@@ -24867,11 +24870,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24867
24870
|
Re("allowVertical", !0),
|
|
24868
24871
|
Re("allowHorizontal", !0),
|
|
24869
24872
|
Re("cycles", !0)
|
|
24870
|
-
],
|
|
24873
|
+
], QN = (t, s) => s.focusManager.get(t).bind((a) => dd(a, s.selector)), kO = (t, s, a) => QN(t, a).bind((c) => a.execute(t, s, c)), TO = (t, s, a) => {
|
|
24871
24874
|
s.getInitial(t).orThunk(() => Ir(t.element, s.selector)).each((c) => {
|
|
24872
24875
|
s.focusManager.set(t, c);
|
|
24873
24876
|
});
|
|
24874
|
-
}, EO = (t, s, a) => (a.cycles ? Pv : SO)(t, a.selector, s, -1), AO = (t, s, a) => (a.cycles ? Pv : SO)(t, a.selector, s, 1), Fu = (t) => (s, a, c, d) => t(s, a, c, d).bind(() => c.executeOnMove ? kO(s, a, c) : D.some(!0)),
|
|
24877
|
+
}, EO = (t, s, a) => (a.cycles ? Pv : SO)(t, a.selector, s, -1), AO = (t, s, a) => (a.cycles ? Pv : SO)(t, a.selector, s, 1), Fu = (t) => (s, a, c, d) => t(s, a, c, d).bind(() => c.executeOnMove ? kO(s, a, c) : D.some(!0)), e7 = (t, s, a) => a.onEscape(t, s), t7 = (t, s, a, c) => {
|
|
24875
24878
|
const d = [...a.allowHorizontal ? Rv : []].concat(a.allowVertical ? lf : []), g = [...a.allowHorizontal ? qp : []].concat(a.allowVertical ? D1 : []);
|
|
24876
24879
|
return [
|
|
24877
24880
|
$o(ko(d), Fu(Gn(EO, AO))),
|
|
@@ -24879,11 +24882,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24879
24882
|
$o(ko(om), kO),
|
|
24880
24883
|
$o(ko(Ri), kO)
|
|
24881
24884
|
];
|
|
24882
|
-
},
|
|
24885
|
+
}, n7 = ae([
|
|
24883
24886
|
$o(ko(Ri), me),
|
|
24884
|
-
$o(ko(Ov),
|
|
24887
|
+
$o(ko(Ov), e7)
|
|
24885
24888
|
]);
|
|
24886
|
-
var
|
|
24889
|
+
var o7 = v(vT, $u.init, t7, n7, () => D.some(TO));
|
|
24887
24890
|
const $_ = (t, s, a) => D.from(t[s]).bind((c) => D.from(c[a]).map((d) => ({
|
|
24888
24891
|
rowIndex: s,
|
|
24889
24892
|
columnIndex: a,
|
|
@@ -24900,7 +24903,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24900
24903
|
}, P_ = (t, s, a, c) => {
|
|
24901
24904
|
const d = Ei(a + c, 0, t.length - 1), g = t[d].length, p = Ei(s, 0, g - 1);
|
|
24902
24905
|
return $_(t, d, p);
|
|
24903
|
-
}, B_ = (t, s, a) => $1(t, s, a, 1), yT = (t, s, a) => $1(t, s, a, -1),
|
|
24906
|
+
}, B_ = (t, s, a) => $1(t, s, a, 1), yT = (t, s, a) => $1(t, s, a, -1), s7 = (t, s, a) => M_(t, a, s, -1), r7 = (t, s, a) => M_(t, a, s, 1), a7 = (t, s, a) => DO(t, s, a, -1), l7 = (t, s, a) => DO(t, s, a, 1), c7 = (t, s, a) => P_(t, a, s, -1), i7 = (t, s, a) => P_(t, a, s, 1), OO = [
|
|
24904
24907
|
_i("selectors", [
|
|
24905
24908
|
nt("row"),
|
|
24906
24909
|
nt("cell")
|
|
@@ -24915,26 +24918,26 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24915
24918
|
}).each((d) => {
|
|
24916
24919
|
s.focusManager.set(t, d);
|
|
24917
24920
|
});
|
|
24918
|
-
},
|
|
24921
|
+
}, u7 = (t, s, a) => Pu(t.element).bind((c) => a.execute(t, s, c)), d7 = (t, s) => tt(t, (a) => ka(a, s.selectors.cell)), N_ = (t, s) => (a, c, d) => {
|
|
24919
24922
|
const g = d.cycles ? t : s;
|
|
24920
24923
|
return dd(c, d.selectors.row).bind((p) => {
|
|
24921
24924
|
const w = ka(p, d.selectors.cell);
|
|
24922
24925
|
return pl(w, c).bind((C) => {
|
|
24923
24926
|
const E = ka(a, d.selectors.row);
|
|
24924
24927
|
return pl(E, p).bind(($) => {
|
|
24925
|
-
const N =
|
|
24928
|
+
const N = d7(E, d);
|
|
24926
24929
|
return g(N, $, C).map((H) => H.cell);
|
|
24927
24930
|
});
|
|
24928
24931
|
});
|
|
24929
24932
|
});
|
|
24930
|
-
}, RO = N_(yT,
|
|
24933
|
+
}, RO = N_(yT, a7), Xp = N_(B_, l7), $O = N_(s7, c7), m7 = N_(r7, i7), xT = ae([
|
|
24931
24934
|
$o(ko(Rv), Gn(RO, Xp)),
|
|
24932
24935
|
$o(ko(qp), qs(RO, Xp)),
|
|
24933
24936
|
$o(ko(lf), Mc($O)),
|
|
24934
|
-
$o(ko(D1), wh(
|
|
24935
|
-
$o(ko(Ri.concat(om)),
|
|
24936
|
-
]),
|
|
24937
|
-
var MO = v(OO, $u.init, xT,
|
|
24937
|
+
$o(ko(D1), wh(m7)),
|
|
24938
|
+
$o(ko(Ri.concat(om)), u7)
|
|
24939
|
+
]), f7 = ae([$o(ko(Ri), me)]);
|
|
24940
|
+
var MO = v(OO, $u.init, xT, f7, () => D.some(wT));
|
|
24938
24941
|
const PO = [
|
|
24939
24942
|
nt("selector"),
|
|
24940
24943
|
Re("execute", te),
|
|
@@ -24943,22 +24946,22 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24943
24946
|
Ir(t.element, s.selector).each((c) => {
|
|
24944
24947
|
s.focusManager.set(t, c);
|
|
24945
24948
|
});
|
|
24946
|
-
}, _T = (t, s, a) => Pv(t, a.selector, s, -1), NO = (t, s, a) => Pv(t, a.selector, s, 1),
|
|
24949
|
+
}, _T = (t, s, a) => Pv(t, a.selector, s, -1), NO = (t, s, a) => Pv(t, a.selector, s, 1), g7 = (t, s, a, c) => a.moveOnTab ? xh(_T)(t, s, a, c) : D.none(), h7 = (t, s, a, c) => a.moveOnTab ? xh(NO)(t, s, a, c) : D.none(), ST = ae([
|
|
24947
24950
|
$o(ko(lf), xh(_T)),
|
|
24948
24951
|
$o(ko(D1), xh(NO)),
|
|
24949
24952
|
$o($i([
|
|
24950
24953
|
cf,
|
|
24951
24954
|
ko(af)
|
|
24952
|
-
]),
|
|
24955
|
+
]), g7),
|
|
24953
24956
|
$o($i([
|
|
24954
24957
|
Kp,
|
|
24955
24958
|
ko(af)
|
|
24956
|
-
]),
|
|
24959
|
+
]), h7),
|
|
24957
24960
|
$o(ko(om), CT),
|
|
24958
24961
|
$o(ko(Ri), CT)
|
|
24959
|
-
]),
|
|
24960
|
-
var
|
|
24961
|
-
const
|
|
24962
|
+
]), p7 = ae([$o(ko(Ri), me)]);
|
|
24963
|
+
var b7 = v(PO, $u.init, ST, p7, () => D.some(BO));
|
|
24964
|
+
const v7 = [
|
|
24962
24965
|
si("onSpace"),
|
|
24963
24966
|
si("onEnter"),
|
|
24964
24967
|
si("onShiftEnter"),
|
|
@@ -24971,7 +24974,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24971
24974
|
si("onEscape"),
|
|
24972
24975
|
Re("stopSpaceKeyup", !1),
|
|
24973
24976
|
Uo("focusIn")
|
|
24974
|
-
],
|
|
24977
|
+
], y7 = (t, s, a) => [
|
|
24975
24978
|
$o(ko(Ri), a.onSpace),
|
|
24976
24979
|
$o($i([
|
|
24977
24980
|
Kp,
|
|
@@ -24998,20 +25001,20 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24998
25001
|
...a.stopSpaceKeyup ? [$o(ko(Ri), me)] : [],
|
|
24999
25002
|
$o(ko(Ov), a.onEscape)
|
|
25000
25003
|
];
|
|
25001
|
-
var
|
|
25002
|
-
const
|
|
25004
|
+
var w7 = v(v7, $u.init, y7, IO, (t) => t.focusIn);
|
|
25005
|
+
const x7 = O.schema(), C7 = L.schema(), LO = o7.schema(), _7 = JN.schema(), S7 = MO.schema(), FO = et.schema(), k7 = b7.schema(), T7 = w7.schema();
|
|
25003
25006
|
var I_ = /* @__PURE__ */ Object.freeze({
|
|
25004
25007
|
__proto__: null,
|
|
25005
|
-
acyclic:
|
|
25006
|
-
cyclic:
|
|
25008
|
+
acyclic: x7,
|
|
25009
|
+
cyclic: C7,
|
|
25007
25010
|
flow: LO,
|
|
25008
|
-
flatgrid:
|
|
25009
|
-
matrix:
|
|
25011
|
+
flatgrid: _7,
|
|
25012
|
+
matrix: S7,
|
|
25010
25013
|
execution: FO,
|
|
25011
|
-
menu:
|
|
25012
|
-
special:
|
|
25014
|
+
menu: k7,
|
|
25015
|
+
special: T7
|
|
25013
25016
|
});
|
|
25014
|
-
const
|
|
25017
|
+
const E7 = (t) => Ar(t, "setGridSize"), mn = Jb({
|
|
25015
25018
|
branchKey: "mode",
|
|
25016
25019
|
branches: I_,
|
|
25017
25020
|
name: "keying",
|
|
@@ -25027,7 +25030,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25027
25030
|
});
|
|
25028
25031
|
},
|
|
25029
25032
|
setGridSize: (t, s, a, c, d) => {
|
|
25030
|
-
|
|
25033
|
+
E7(a) ? a.setGridSize(c, d) : console.error("Layout does not support setGridSize");
|
|
25031
25034
|
}
|
|
25032
25035
|
},
|
|
25033
25036
|
state: tn
|
|
@@ -25046,26 +25049,26 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25046
25049
|
}, L_ = (t, s, a) => {
|
|
25047
25050
|
const c = t.getSystem().build(a);
|
|
25048
25051
|
Ip(t, c, s);
|
|
25049
|
-
},
|
|
25052
|
+
}, A7 = (t, s, a, c) => {
|
|
25050
25053
|
tm(s), L_(t, (d, g) => $r(d, g, a), c);
|
|
25051
25054
|
}, zO = (t, s, a, c) => (s.reuseDom ? HO : Pc)(t, c), UO = (t, s, a, c) => {
|
|
25052
25055
|
L_(t, qa, c);
|
|
25053
|
-
},
|
|
25056
|
+
}, D7 = (t, s, a, c) => {
|
|
25054
25057
|
L_(t, Ig, c);
|
|
25055
|
-
},
|
|
25058
|
+
}, O7 = (t, s, a, c) => {
|
|
25056
25059
|
const d = F_(t);
|
|
25057
25060
|
qe(d, (p) => zo(c.element, p.element)).each(tm);
|
|
25058
25061
|
}, F_ = (t, s) => t.components(), WO = (t, s, a, c, d) => {
|
|
25059
25062
|
const g = F_(t);
|
|
25060
25063
|
return D.from(g[c]).map((p) => (d.fold(() => tm(p), (w) => {
|
|
25061
|
-
(s.reuseDom ? VO :
|
|
25064
|
+
(s.reuseDom ? VO : A7)(t, p, c, w);
|
|
25062
25065
|
}), p));
|
|
25063
25066
|
};
|
|
25064
|
-
var $
|
|
25067
|
+
var $7 = /* @__PURE__ */ Object.freeze({
|
|
25065
25068
|
__proto__: null,
|
|
25066
25069
|
append: UO,
|
|
25067
|
-
prepend:
|
|
25068
|
-
remove:
|
|
25070
|
+
prepend: D7,
|
|
25071
|
+
remove: O7,
|
|
25069
25072
|
replaceAt: WO,
|
|
25070
25073
|
replaceBy: (t, s, a, c, d) => {
|
|
25071
25074
|
const g = F_(t);
|
|
@@ -25077,7 +25080,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25077
25080
|
const Fn = Sa({
|
|
25078
25081
|
fields: [Xr("reuseDom", !0)],
|
|
25079
25082
|
name: "replacing",
|
|
25080
|
-
apis: $
|
|
25083
|
+
apis: $7
|
|
25081
25084
|
}), ZO = (t, s) => {
|
|
25082
25085
|
const a = As(s);
|
|
25083
25086
|
return Sa({
|
|
@@ -25100,7 +25103,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25100
25103
|
}, kT = (t, s) => {
|
|
25101
25104
|
s.ignore || (Oc(t.element), s.onFocus(t));
|
|
25102
25105
|
};
|
|
25103
|
-
var
|
|
25106
|
+
var M7 = /* @__PURE__ */ Object.freeze({
|
|
25104
25107
|
__proto__: null,
|
|
25105
25108
|
focus: kT,
|
|
25106
25109
|
blur: (t, s) => {
|
|
@@ -25127,7 +25130,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25127
25130
|
fields: Jp,
|
|
25128
25131
|
name: "focusing",
|
|
25129
25132
|
active: jO,
|
|
25130
|
-
apis:
|
|
25133
|
+
apis: M7
|
|
25131
25134
|
}), GO = (t) => ({ init: () => {
|
|
25132
25135
|
const a = gn(t);
|
|
25133
25136
|
return {
|
|
@@ -25139,28 +25142,28 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25139
25142
|
} }), TT = (t, s, a) => {
|
|
25140
25143
|
const c = s.aria;
|
|
25141
25144
|
c.update(t, c, a.get());
|
|
25142
|
-
},
|
|
25145
|
+
}, B7 = (t, s, a) => {
|
|
25143
25146
|
s.toggleClass.each((c) => {
|
|
25144
25147
|
a.get() ? Nr(t.element, c) : or(t.element, c);
|
|
25145
25148
|
});
|
|
25146
25149
|
}, bw = (t, s, a, c) => {
|
|
25147
25150
|
const d = a.get();
|
|
25148
|
-
a.set(c),
|
|
25151
|
+
a.set(c), B7(t, s, a), TT(t, s, a), d !== c && s.onToggled(t, c);
|
|
25149
25152
|
}, qO = (t, s, a) => {
|
|
25150
25153
|
bw(t, s, a, !a.get());
|
|
25151
|
-
},
|
|
25154
|
+
}, N7 = (t, s, a) => {
|
|
25152
25155
|
bw(t, s, a, !0);
|
|
25153
25156
|
}, KO = (t, s, a) => {
|
|
25154
25157
|
bw(t, s, a, !1);
|
|
25155
25158
|
}, ET = (t, s, a) => a.get(), H_ = (t, s, a) => {
|
|
25156
25159
|
bw(t, s, a, s.selected);
|
|
25157
25160
|
};
|
|
25158
|
-
var
|
|
25161
|
+
var I7 = /* @__PURE__ */ Object.freeze({
|
|
25159
25162
|
__proto__: null,
|
|
25160
25163
|
onLoad: H_,
|
|
25161
25164
|
toggle: qO,
|
|
25162
25165
|
isOn: ET,
|
|
25163
|
-
on:
|
|
25166
|
+
on: N7,
|
|
25164
25167
|
off: KO,
|
|
25165
25168
|
set: bw
|
|
25166
25169
|
}), YO = /* @__PURE__ */ Object.freeze({
|
|
@@ -25174,9 +25177,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25174
25177
|
]));
|
|
25175
25178
|
}
|
|
25176
25179
|
});
|
|
25177
|
-
const
|
|
25180
|
+
const F7 = (t, s, a) => {
|
|
25178
25181
|
It(t.element, "aria-pressed", a), s.syncWithExpanded && Bv(t, s, a);
|
|
25179
|
-
},
|
|
25182
|
+
}, H7 = (t, s, a) => {
|
|
25180
25183
|
It(t.element, "aria-selected", a);
|
|
25181
25184
|
}, vw = (t, s, a) => {
|
|
25182
25185
|
It(t.element, "aria-checked", a);
|
|
@@ -25191,11 +25194,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25191
25194
|
Zl("aria", { mode: "none" }, vo("mode", {
|
|
25192
25195
|
pressed: [
|
|
25193
25196
|
Re("syncWithExpanded", !1),
|
|
25194
|
-
is("update",
|
|
25197
|
+
is("update", F7)
|
|
25195
25198
|
],
|
|
25196
25199
|
checked: [is("update", vw)],
|
|
25197
25200
|
expanded: [is("update", Bv)],
|
|
25198
|
-
selected: [is("update",
|
|
25201
|
+
selected: [is("update", H7)],
|
|
25199
25202
|
none: [is("update", he)]
|
|
25200
25203
|
}))
|
|
25201
25204
|
];
|
|
@@ -25203,7 +25206,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25203
25206
|
fields: XO,
|
|
25204
25207
|
name: "toggling",
|
|
25205
25208
|
active: YO,
|
|
25206
|
-
apis:
|
|
25209
|
+
apis: I7,
|
|
25207
25210
|
state: GO(!1)
|
|
25208
25211
|
}), _h = () => {
|
|
25209
25212
|
const t = (s, a) => {
|
|
@@ -25227,7 +25230,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25227
25230
|
(Pu(t.element).isNone() || _n.isFocused(t)) && (_n.isFocused(t) || _n.focus(t), dn(t, JO, { item: t }));
|
|
25228
25231
|
}, V_ = (t) => {
|
|
25229
25232
|
dn(t, QO, { item: t });
|
|
25230
|
-
},
|
|
25233
|
+
}, V7 = (t, s) => {
|
|
25231
25234
|
dn(t, AT, {
|
|
25232
25235
|
item: t,
|
|
25233
25236
|
state: s
|
|
@@ -25236,9 +25239,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25236
25239
|
aria: { mode: "checked" },
|
|
25237
25240
|
...Bl(t, (s, a) => a !== "exclusive"),
|
|
25238
25241
|
onToggled: (s, a) => {
|
|
25239
|
-
Ot(t.onToggled) && t.onToggled(s, a),
|
|
25242
|
+
Ot(t.onToggled) && t.onToggled(s, a), V7(s, a);
|
|
25240
25243
|
}
|
|
25241
|
-
}),
|
|
25244
|
+
}), z7 = (t) => ({
|
|
25242
25245
|
dom: t.dom,
|
|
25243
25246
|
domModification: {
|
|
25244
25247
|
...t.domModification,
|
|
@@ -25273,7 +25276,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25273
25276
|
]),
|
|
25274
25277
|
components: t.components,
|
|
25275
25278
|
eventOrder: t.eventOrder
|
|
25276
|
-
}),
|
|
25279
|
+
}), U7 = [
|
|
25277
25280
|
nt("data"),
|
|
25278
25281
|
nt("components"),
|
|
25279
25282
|
nt("dom"),
|
|
@@ -25287,16 +25290,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25287
25290
|
]),
|
|
25288
25291
|
Re("ignoreFocus", !1),
|
|
25289
25292
|
Re("domModification", {}),
|
|
25290
|
-
is("builder",
|
|
25293
|
+
is("builder", z7),
|
|
25291
25294
|
Re("eventOrder", {})
|
|
25292
|
-
],
|
|
25295
|
+
], W7 = (t) => ({
|
|
25293
25296
|
dom: t.dom,
|
|
25294
25297
|
components: t.components,
|
|
25295
25298
|
events: As([M4(pr())])
|
|
25296
25299
|
}), z_ = [
|
|
25297
25300
|
nt("dom"),
|
|
25298
25301
|
nt("components"),
|
|
25299
|
-
is("builder",
|
|
25302
|
+
is("builder", W7)
|
|
25300
25303
|
], yw = ae("item-widget"), ww = ae([Dl({
|
|
25301
25304
|
name: "widget",
|
|
25302
25305
|
overrides: (t) => ({
|
|
@@ -25308,7 +25311,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25308
25311
|
}
|
|
25309
25312
|
})])
|
|
25310
25313
|
})
|
|
25311
|
-
})]),
|
|
25314
|
+
})]), Z7 = (t) => {
|
|
25312
25315
|
const s = tw(yw(), t, ww()), a = Tv(yw(), t, s.internals()), c = (g) => _s(g, t, "widget").map((p) => (mn.focusIn(p), p)), d = (g, p) => yh(p.event.target) ? D.none() : (t.autofocus && p.setSource(g.element), D.none());
|
|
25313
25316
|
return {
|
|
25314
25317
|
dom: t.dom,
|
|
@@ -25349,7 +25352,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25349
25352
|
})
|
|
25350
25353
|
])
|
|
25351
25354
|
};
|
|
25352
|
-
},
|
|
25355
|
+
}, j7 = [
|
|
25353
25356
|
nt("uid"),
|
|
25354
25357
|
nt("data"),
|
|
25355
25358
|
nt("components"),
|
|
@@ -25363,10 +25366,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25363
25366
|
]),
|
|
25364
25367
|
Re("domModification", {}),
|
|
25365
25368
|
rw(ww()),
|
|
25366
|
-
is("builder",
|
|
25369
|
+
is("builder", Z7)
|
|
25367
25370
|
], oR = vo("type", {
|
|
25368
|
-
widget:
|
|
25369
|
-
item:
|
|
25371
|
+
widget: j7,
|
|
25372
|
+
item: U7,
|
|
25370
25373
|
separator: z_
|
|
25371
25374
|
}), sR = (t, s) => ({
|
|
25372
25375
|
mode: "flatgrid",
|
|
@@ -25389,7 +25392,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25389
25392
|
selector: "." + t.markers.item,
|
|
25390
25393
|
moveOnTab: s.moveOnTab,
|
|
25391
25394
|
focusManager: t.focusManager
|
|
25392
|
-
}),
|
|
25395
|
+
}), G7 = ae([C1({
|
|
25393
25396
|
factory: {
|
|
25394
25397
|
sketch: (t) => {
|
|
25395
25398
|
const s = Sl("menu.spec item", oR, t);
|
|
@@ -25442,14 +25445,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25442
25445
|
Re("focusManager", i()),
|
|
25443
25446
|
Ao("onHighlight"),
|
|
25444
25447
|
Ao("onDehighlight")
|
|
25445
|
-
]), lR = ae("alloy.menu-focus"),
|
|
25448
|
+
]), lR = ae("alloy.menu-focus"), q7 = (t, s) => {
|
|
25446
25449
|
const a = ka(t.element, '[role="menuitemradio"][aria-checked="true"]');
|
|
25447
25450
|
pt(a, (c) => {
|
|
25448
25451
|
zo(c, s.element) || t.getSystem().getByDom(c).each((d) => {
|
|
25449
25452
|
Xn.off(d);
|
|
25450
25453
|
});
|
|
25451
25454
|
});
|
|
25452
|
-
},
|
|
25455
|
+
}, K7 = (t, s, a, c) => ({
|
|
25453
25456
|
uid: t.uid,
|
|
25454
25457
|
dom: t.dom,
|
|
25455
25458
|
markers: t.markers,
|
|
@@ -25485,7 +25488,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25485
25488
|
}),
|
|
25486
25489
|
Qe(tR(), (d, g) => {
|
|
25487
25490
|
const { item: p, state: w } = g.event;
|
|
25488
|
-
w && js(p.element, "role") === "menuitemradio" &&
|
|
25491
|
+
w && js(p.element, "role") === "menuitemradio" && q7(d, p);
|
|
25489
25492
|
})
|
|
25490
25493
|
]),
|
|
25491
25494
|
components: s,
|
|
@@ -25494,15 +25497,15 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25494
25497
|
}), P1 = Ol({
|
|
25495
25498
|
name: "Menu",
|
|
25496
25499
|
configFields: RT(),
|
|
25497
|
-
partFields:
|
|
25498
|
-
factory:
|
|
25500
|
+
partFields: G7(),
|
|
25501
|
+
factory: K7
|
|
25499
25502
|
}), cR = (t) => yc(t, (s, a) => ({
|
|
25500
25503
|
k: s,
|
|
25501
25504
|
v: a
|
|
25502
25505
|
})), iR = (t, s, a, c) => bt(a, c).bind((d) => bt(t, d).bind((g) => {
|
|
25503
25506
|
const p = iR(t, s, a, g);
|
|
25504
25507
|
return D.some([g].concat(p));
|
|
25505
|
-
})).getOr([]),
|
|
25508
|
+
})).getOr([]), Y7 = (t, s) => {
|
|
25506
25509
|
const a = {};
|
|
25507
25510
|
ds(t, (p, w) => {
|
|
25508
25511
|
pt(p, (C) => {
|
|
@@ -25524,14 +25527,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25524
25527
|
});
|
|
25525
25528
|
}, C = (Je, Ge, vt, At) => {
|
|
25526
25529
|
c.set(Je), t.set(vt), s.set(Ge), d.set(At);
|
|
25527
|
-
const Wn =
|
|
25530
|
+
const Wn = Y7(At, vt);
|
|
25528
25531
|
a.set(Wn);
|
|
25529
25532
|
}, E = (Je) => es(t.get(), (Ge, vt) => Ge === Je), $ = (Je, Ge, vt) => de(Je).bind((At) => E(Je).bind((Wn) => Ge(Wn).map((jt) => ({
|
|
25530
25533
|
triggeredMenu: At,
|
|
25531
25534
|
triggeringItem: jt,
|
|
25532
25535
|
triggeringPath: vt
|
|
25533
25536
|
})))), N = (Je, Ge) => {
|
|
25534
|
-
const vt = so(
|
|
25537
|
+
const vt = so(Ce(Je).toArray(), (At) => de(At).isSome());
|
|
25535
25538
|
return bt(a.get(), Je).bind((At) => {
|
|
25536
25539
|
const Wn = qo(vt.concat(At)), jt = Te(Wn, (Dn, Sn) => $(Dn, Ge, Wn.slice(0, Sn + 1)).fold(() => Da(c.get(), Dn) ? [] : [D.none()], (Yo) => [D.some(Yo)]));
|
|
25537
25540
|
return ts(jt);
|
|
@@ -25539,7 +25542,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25539
25542
|
}, H = (Je) => bt(t.get(), Je).map((Ge) => {
|
|
25540
25543
|
const vt = bt(a.get(), Je).getOr([]);
|
|
25541
25544
|
return [Ge].concat(vt);
|
|
25542
|
-
}), W = (Je) => bt(a.get(), Je).bind((Ge) => Ge.length > 1 ? D.some(Ge.slice(1)) : D.none()), J = (Je) => bt(a.get(), Je), de = (Je) => Me(Je).bind(Nv), Me = (Je) => bt(s.get(), Je),
|
|
25545
|
+
}), W = (Je) => bt(a.get(), Je).bind((Ge) => Ge.length > 1 ? D.some(Ge.slice(1)) : D.none()), J = (Je) => bt(a.get(), Je), de = (Je) => Me(Je).bind(Nv), Me = (Je) => bt(s.get(), Je), Ce = (Je) => bt(t.get(), Je);
|
|
25543
25546
|
return {
|
|
25544
25547
|
setMenuBuilt: w,
|
|
25545
25548
|
setContents: C,
|
|
@@ -25547,7 +25550,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25547
25550
|
refresh: J,
|
|
25548
25551
|
collapse: W,
|
|
25549
25552
|
lookupMenu: Me,
|
|
25550
|
-
lookupItem:
|
|
25553
|
+
lookupItem: Ce,
|
|
25551
25554
|
otherMenus: (Je) => {
|
|
25552
25555
|
const Ge = d.get();
|
|
25553
25556
|
return zt(bs(Ge), Je);
|
|
@@ -25639,7 +25642,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25639
25642
|
(function(Dt) {
|
|
25640
25643
|
Dt[Dt.HighlightSubmenu = 0] = "HighlightSubmenu", Dt[Dt.HighlightParent = 1] = "HighlightParent";
|
|
25641
25644
|
})(Me || (Me = {}));
|
|
25642
|
-
const
|
|
25645
|
+
const Ce = (Dt, en, On) => {
|
|
25643
25646
|
if (On.type === "notbuilt") {
|
|
25644
25647
|
const Pn = Dt.getSystem().build(On.nbMenu());
|
|
25645
25648
|
return d.setMenuBuilt(en, Pn), Pn;
|
|
@@ -25651,7 +25654,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25651
25654
|
{
|
|
25652
25655
|
const Pn = p(en);
|
|
25653
25656
|
return d.expand(Pn).bind((yn) => (J(Dt, yn), D.from(yn[0]).bind((Hn) => d.lookupMenu(Hn).bind((ks) => {
|
|
25654
|
-
const Mo =
|
|
25657
|
+
const Mo = Ce(Dt, Hn, ks);
|
|
25655
25658
|
return po(Mo.element) || Fn.append(Dt, Ti(Mo)), t.onOpenSubmenu(Dt, en, Mo, qo(yn)), On === Me.HighlightSubmenu ? (Ho.highlightFirst(Mo), de(Dt, d, yn)) : (Ho.dehighlightAll(Mo), D.some(en));
|
|
25656
25659
|
}))));
|
|
25657
25660
|
}
|
|
@@ -25750,7 +25753,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25750
25753
|
apis: Ro,
|
|
25751
25754
|
events: Wn
|
|
25752
25755
|
};
|
|
25753
|
-
},
|
|
25756
|
+
}, X7 = ae("collapse-item"), J7 = (t, s, a) => ({
|
|
25754
25757
|
primary: t,
|
|
25755
25758
|
menus: s,
|
|
25756
25759
|
expansions: a
|
|
@@ -25758,8 +25761,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25758
25761
|
primary: t,
|
|
25759
25762
|
menus: Mt(t, s),
|
|
25760
25763
|
expansions: {}
|
|
25761
|
-
}),
|
|
25762
|
-
value: Gt(
|
|
25764
|
+
}), Q7 = (t) => ({
|
|
25765
|
+
value: Gt(X7()),
|
|
25763
25766
|
meta: { text: t }
|
|
25764
25767
|
}), Qp = ri({
|
|
25765
25768
|
name: "TieredMenu",
|
|
@@ -25805,9 +25808,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25805
25808
|
},
|
|
25806
25809
|
factory: mR,
|
|
25807
25810
|
extraApis: {
|
|
25808
|
-
tieredData:
|
|
25811
|
+
tieredData: J7,
|
|
25809
25812
|
singleData: fR,
|
|
25810
|
-
collapseItem:
|
|
25813
|
+
collapseItem: Q7
|
|
25811
25814
|
}
|
|
25812
25815
|
}), eI = (t, s, a, c, d) => {
|
|
25813
25816
|
const g = () => t.lazySink(s), p = c.type === "horizontal" ? {
|
|
@@ -26758,7 +26761,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26758
26761
|
return s.isSupported = !1, s;
|
|
26759
26762
|
const a = t.document, c = a.currentScript;
|
|
26760
26763
|
let { document: d } = t;
|
|
26761
|
-
const { DocumentFragment: g, HTMLTemplateElement: p, Node: w, Element: C, NodeFilter: E, NamedNodeMap: $ = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: N, DOMParser: H, trustedTypes: W } = t, J = C.prototype, de = Cw(J, "cloneNode"), Me = Cw(J, "nextSibling"),
|
|
26764
|
+
const { DocumentFragment: g, HTMLTemplateElement: p, Node: w, Element: C, NodeFilter: E, NamedNodeMap: $ = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: N, DOMParser: H, trustedTypes: W } = t, J = C.prototype, de = Cw(J, "cloneNode"), Me = Cw(J, "nextSibling"), Ce = Cw(J, "childNodes"), ve = Cw(J, "parentNode");
|
|
26762
26765
|
if (typeof p == "function") {
|
|
26763
26766
|
const wo = d.createElement("template");
|
|
26764
26767
|
wo.content && wo.content.ownerDocument && (d = wo.content.ownerDocument);
|
|
@@ -26802,7 +26805,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26802
26805
|
enumerable: !0,
|
|
26803
26806
|
value: !1
|
|
26804
26807
|
}
|
|
26805
|
-
})), bl = null, zi = null, Od = !0, xm = !0, S0 = !1, mb = !0, _f = !1, Nh = !1, Kx = !1, oO = !1, Oy = !1, _4 = !1,
|
|
26808
|
+
})), bl = null, zi = null, Od = !0, xm = !0, S0 = !1, mb = !0, _f = !1, Nh = !1, Kx = !1, oO = !1, Oy = !1, _4 = !1, HN = !1, HG = !0, VG = !1;
|
|
26806
26809
|
const Sq = "user-content-";
|
|
26807
26810
|
let _j = !0, sO = !1, S4 = {}, k4 = null;
|
|
26808
26811
|
const zG = Do({}, [
|
|
@@ -26857,11 +26860,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26857
26860
|
"value",
|
|
26858
26861
|
"style",
|
|
26859
26862
|
"xmlns"
|
|
26860
|
-
]),
|
|
26863
|
+
]), VN = "http://www.w3.org/1998/Math/MathML", zN = "http://www.w3.org/2000/svg", fb = "http://www.w3.org/1999/xhtml";
|
|
26861
26864
|
let T4 = fb, kj = !1, Tj = null;
|
|
26862
26865
|
const kq = Do({}, [
|
|
26863
|
-
|
|
26864
|
-
|
|
26866
|
+
VN,
|
|
26867
|
+
zN,
|
|
26865
26868
|
fb
|
|
26866
26869
|
], kh);
|
|
26867
26870
|
let Yx;
|
|
@@ -26874,7 +26877,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26874
26877
|
return Ue instanceof RegExp || Ue instanceof Function;
|
|
26875
26878
|
}, Ej = function(Ue) {
|
|
26876
26879
|
if (!(E4 && E4 === Ue)) {
|
|
26877
|
-
if ((!Ue || typeof Ue != "object") && (Ue = {}), Ue = I1(Ue), Yx = Tq.indexOf(Ue.PARSER_MEDIA_TYPE) === -1 ? Yx = Eq : Yx = Ue.PARSER_MEDIA_TYPE, Ui = Yx === "application/xhtml+xml" ? kh : Z_, Pn = "ALLOWED_TAGS" in Ue ? Do({}, Ue.ALLOWED_TAGS, Ui) : yn, Hn = "ALLOWED_ATTR" in Ue ? Do({}, Ue.ALLOWED_ATTR, Ui) : ks, Tj = "ALLOWED_NAMESPACES" in Ue ? Do({}, Ue.ALLOWED_NAMESPACES, kh) : kq, Sj = "ADD_URI_SAFE_ATTR" in Ue ? Do(I1(ZG), Ue.ADD_URI_SAFE_ATTR, Ui) : ZG, UG = "ADD_DATA_URI_TAGS" in Ue ? Do(I1(WG), Ue.ADD_DATA_URI_TAGS, Ui) : WG, k4 = "FORBID_CONTENTS" in Ue ? Do({}, Ue.FORBID_CONTENTS, Ui) : zG, bl = "FORBID_TAGS" in Ue ? Do({}, Ue.FORBID_TAGS, Ui) : {}, zi = "FORBID_ATTR" in Ue ? Do({}, Ue.FORBID_ATTR, Ui) : {}, S4 = "USE_PROFILES" in Ue ? Ue.USE_PROFILES : !1, Od = Ue.ALLOW_ARIA_ATTR !== !1, xm = Ue.ALLOW_DATA_ATTR !== !1, S0 = Ue.ALLOW_UNKNOWN_PROTOCOLS || !1, mb = Ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _f = Ue.SAFE_FOR_TEMPLATES || !1, Nh = Ue.WHOLE_DOCUMENT || !1, Oy = Ue.RETURN_DOM || !1, _4 = Ue.RETURN_DOM_FRAGMENT || !1,
|
|
26880
|
+
if ((!Ue || typeof Ue != "object") && (Ue = {}), Ue = I1(Ue), Yx = Tq.indexOf(Ue.PARSER_MEDIA_TYPE) === -1 ? Yx = Eq : Yx = Ue.PARSER_MEDIA_TYPE, Ui = Yx === "application/xhtml+xml" ? kh : Z_, Pn = "ALLOWED_TAGS" in Ue ? Do({}, Ue.ALLOWED_TAGS, Ui) : yn, Hn = "ALLOWED_ATTR" in Ue ? Do({}, Ue.ALLOWED_ATTR, Ui) : ks, Tj = "ALLOWED_NAMESPACES" in Ue ? Do({}, Ue.ALLOWED_NAMESPACES, kh) : kq, Sj = "ADD_URI_SAFE_ATTR" in Ue ? Do(I1(ZG), Ue.ADD_URI_SAFE_ATTR, Ui) : ZG, UG = "ADD_DATA_URI_TAGS" in Ue ? Do(I1(WG), Ue.ADD_DATA_URI_TAGS, Ui) : WG, k4 = "FORBID_CONTENTS" in Ue ? Do({}, Ue.FORBID_CONTENTS, Ui) : zG, bl = "FORBID_TAGS" in Ue ? Do({}, Ue.FORBID_TAGS, Ui) : {}, zi = "FORBID_ATTR" in Ue ? Do({}, Ue.FORBID_ATTR, Ui) : {}, S4 = "USE_PROFILES" in Ue ? Ue.USE_PROFILES : !1, Od = Ue.ALLOW_ARIA_ATTR !== !1, xm = Ue.ALLOW_DATA_ATTR !== !1, S0 = Ue.ALLOW_UNKNOWN_PROTOCOLS || !1, mb = Ue.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _f = Ue.SAFE_FOR_TEMPLATES || !1, Nh = Ue.WHOLE_DOCUMENT || !1, Oy = Ue.RETURN_DOM || !1, _4 = Ue.RETURN_DOM_FRAGMENT || !1, HN = Ue.RETURN_TRUSTED_TYPE || !1, oO = Ue.FORCE_BODY || !1, HG = Ue.SANITIZE_DOM !== !1, VG = Ue.SANITIZE_NAMED_PROPS || !1, _j = Ue.KEEP_CONTENT !== !1, sO = Ue.IN_PLACE || !1, On = Ue.ALLOWED_URI_REGEXP || HT, T4 = Ue.NAMESPACE || fb, Mo = Ue.CUSTOM_ELEMENT_HANDLING || {}, Ue.CUSTOM_ELEMENT_HANDLING && jG(Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Mo.tagNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && jG(Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Mo.attributeNameCheck = Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Ue.CUSTOM_ELEMENT_HANDLING && typeof Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Mo.allowCustomizedBuiltInElements = Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _f && (xm = !1), _4 && (Oy = !0), S4 && (Pn = Do({}, [...Sw]), Hn = [], S4.html === !0 && (Do(Pn, BT), Do(Hn, j_)), S4.svg === !0 && (Do(Pn, NT), Do(Hn, G_), Do(Hn, kw)), S4.svgFilters === !0 && (Do(Pn, _w), Do(Hn, G_), Do(Hn, kw)), S4.mathMl === !0 && (Do(Pn, IT), Do(Hn, LT), Do(Hn, kw))), Ue.ADD_TAGS && (Pn === yn && (Pn = I1(Pn)), Do(Pn, Ue.ADD_TAGS, Ui)), Ue.ADD_ATTR && (Hn === ks && (Hn = I1(Hn)), Do(Hn, Ue.ADD_ATTR, Ui)), Ue.ADD_URI_SAFE_ATTR && Do(Sj, Ue.ADD_URI_SAFE_ATTR, Ui), Ue.FORBID_CONTENTS && (k4 === zG && (k4 = I1(k4)), Do(k4, Ue.FORBID_CONTENTS, Ui)), _j && (Pn["#text"] = !0), Nh && Do(Pn, [
|
|
26878
26881
|
"html",
|
|
26879
26882
|
"head",
|
|
26880
26883
|
"body"
|
|
@@ -26905,8 +26908,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26905
26908
|
"font",
|
|
26906
26909
|
"a",
|
|
26907
26910
|
"script"
|
|
26908
|
-
]),
|
|
26909
|
-
Do(
|
|
26911
|
+
]), UN = Do({}, NT);
|
|
26912
|
+
Do(UN, _w), Do(UN, mI);
|
|
26910
26913
|
const Aj = Do({}, IT);
|
|
26911
26914
|
Do(Aj, fI);
|
|
26912
26915
|
const Oq = function(Ue) {
|
|
@@ -26916,7 +26919,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26916
26919
|
tagName: "template"
|
|
26917
26920
|
});
|
|
26918
26921
|
const Bn = Z_(Ue.tagName), ca = Z_(sn.tagName);
|
|
26919
|
-
return Tj[Ue.namespaceURI] ? Ue.namespaceURI ===
|
|
26922
|
+
return Tj[Ue.namespaceURI] ? Ue.namespaceURI === zN ? sn.namespaceURI === fb ? Bn === "svg" : sn.namespaceURI === VN ? Bn === "svg" && (ca === "annotation-xml" || GG[ca]) : !!UN[Bn] : Ue.namespaceURI === VN ? sn.namespaceURI === fb ? Bn === "math" : sn.namespaceURI === zN ? Bn === "math" && qG[ca] : !!Aj[Bn] : Ue.namespaceURI === fb ? sn.namespaceURI === zN && !qG[ca] || sn.namespaceURI === VN && !GG[ca] ? !1 : !Aj[Bn] && (Dq[Bn] || !UN[Bn]) : !!(Yx === "application/xhtml+xml" && Tj[Ue.namespaceURI]) : !1;
|
|
26920
26923
|
}, Xx = function(Ue) {
|
|
26921
26924
|
xw(s.removed, { element: Ue });
|
|
26922
26925
|
try {
|
|
@@ -26975,7 +26978,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26975
26978
|
return Ge.call(Ue.ownerDocument || Ue, Ue, E.SHOW_ELEMENT | E.SHOW_COMMENT | E.SHOW_TEXT, null, !1);
|
|
26976
26979
|
}, Rq = function(Ue) {
|
|
26977
26980
|
return Ue instanceof N && (typeof Ue.nodeName != "string" || typeof Ue.textContent != "string" || typeof Ue.removeChild != "function" || !(Ue.attributes instanceof $) || typeof Ue.removeAttribute != "function" || typeof Ue.setAttribute != "function" || typeof Ue.namespaceURI != "string" || typeof Ue.insertBefore != "function" || typeof Ue.hasChildNodes != "function");
|
|
26978
|
-
},
|
|
26981
|
+
}, WN = function(Ue) {
|
|
26979
26982
|
return typeof w == "object" ? Ue instanceof w : Ue && typeof Ue == "object" && typeof Ue.nodeType == "number" && typeof Ue.nodeName == "string";
|
|
26980
26983
|
}, gb = function(Ue, sn, Bn) {
|
|
26981
26984
|
jt[Ue] && cI(jt[Ue], (ca) => {
|
|
@@ -26989,13 +26992,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26989
26992
|
if (gb("uponSanitizeElement", Ue, {
|
|
26990
26993
|
tagName: Bn,
|
|
26991
26994
|
allowedTags: Pn
|
|
26992
|
-
}), Ue.hasChildNodes() && !
|
|
26995
|
+
}), Ue.hasChildNodes() && !WN(Ue.firstElementChild) && (!WN(Ue.content) || !WN(Ue.content.firstElementChild)) && yd(/<[/\w]/g, Ue.innerHTML) && yd(/<[/\w]/g, Ue.textContent))
|
|
26993
26996
|
return Xx(Ue), !0;
|
|
26994
26997
|
if (!Pn[Bn] || bl[Bn]) {
|
|
26995
26998
|
if (!bl[Bn] && QG(Bn) && (Mo.tagNameCheck instanceof RegExp && yd(Mo.tagNameCheck, Bn) || Mo.tagNameCheck instanceof Function && Mo.tagNameCheck(Bn)))
|
|
26996
26999
|
return !1;
|
|
26997
27000
|
if (_j && !k4[Bn]) {
|
|
26998
|
-
const ca = ve(Ue) || Ue.parentNode, Wi =
|
|
27001
|
+
const ca = ve(Ue) || Ue.parentNode, Wi = Ce(Ue) || Ue.childNodes;
|
|
26999
27002
|
if (Wi && ca) {
|
|
27000
27003
|
const Tg = Wi.length;
|
|
27001
27004
|
for (let Pl = Tg - 1; Pl >= 0; --Pl)
|
|
@@ -27088,7 +27091,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27088
27091
|
};
|
|
27089
27092
|
return s.sanitize = function(wo) {
|
|
27090
27093
|
let Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, sn, Bn, ca, Wi;
|
|
27091
|
-
if (kj = !wo, kj && (wo = "<!-->"), typeof wo != "string" && !
|
|
27094
|
+
if (kj = !wo, kj && (wo = "<!-->"), typeof wo != "string" && !WN(wo))
|
|
27092
27095
|
if (typeof wo.toString == "function") {
|
|
27093
27096
|
if (wo = wo.toString(), typeof wo != "string")
|
|
27094
27097
|
throw rm("dirty is not a string, aborting");
|
|
@@ -27106,9 +27109,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27106
27109
|
sn = KG("<!---->"), Bn = sn.ownerDocument.importNode(wo, !0), Bn.nodeType === 1 && Bn.nodeName === "BODY" || Bn.nodeName === "HTML" ? sn = Bn : sn.appendChild(Bn);
|
|
27107
27110
|
else {
|
|
27108
27111
|
if (!Oy && !_f && !Nh && wo.indexOf("<") === -1)
|
|
27109
|
-
return Oe &&
|
|
27112
|
+
return Oe && HN ? Oe.createHTML(wo) : wo;
|
|
27110
27113
|
if (sn = KG(wo), !sn)
|
|
27111
|
-
return Oy ? null :
|
|
27114
|
+
return Oy ? null : HN ? dt : "";
|
|
27112
27115
|
}
|
|
27113
27116
|
sn && oO && Xx(sn.firstChild);
|
|
27114
27117
|
const Tg = YG(sO ? wo : sn);
|
|
@@ -27126,7 +27129,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27126
27129
|
}
|
|
27127
27130
|
let Pl = Nh ? sn.outerHTML : sn.innerHTML;
|
|
27128
27131
|
return Nh && Pn["!doctype"] && sn.ownerDocument && sn.ownerDocument.doctype && sn.ownerDocument.doctype.name && yd(bR, sn.ownerDocument.doctype.name) && (Pl = "<!DOCTYPE " + sn.ownerDocument.doctype.name + `>
|
|
27129
|
-
` + Pl), _f && (Pl = mf(Pl, Dn, " "), Pl = mf(Pl, Sn, " "), Pl = mf(Pl, Yo, " ")), Oe &&
|
|
27132
|
+
` + Pl), _f && (Pl = mf(Pl, Dn, " "), Pl = mf(Pl, Sn, " "), Pl = mf(Pl, Yo, " ")), Oe && HN ? Oe.createHTML(Pl) : Pl;
|
|
27130
27133
|
}, s.setConfig = function(wo) {
|
|
27131
27134
|
Ej(wo), Kx = !0;
|
|
27132
27135
|
}, s.clearConfig = function() {
|
|
@@ -27376,16 +27379,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27376
27379
|
const J = {
|
|
27377
27380
|
close: $,
|
|
27378
27381
|
reposition: () => {
|
|
27379
|
-
const de = Ti(N), Me = { maxHeightFunction: kp() },
|
|
27380
|
-
if (
|
|
27382
|
+
const de = Ti(N), Me = { maxHeightFunction: kp() }, Ce = t.notificationManager.getNotifications();
|
|
27383
|
+
if (Ce[0] === J) {
|
|
27381
27384
|
const ve = {
|
|
27382
27385
|
...c.anchors.banner(),
|
|
27383
27386
|
overrides: Me
|
|
27384
27387
|
};
|
|
27385
27388
|
dr.showWithinBounds(H, de, { anchor: ve }, d);
|
|
27386
27389
|
} else
|
|
27387
|
-
Pe(
|
|
27388
|
-
const Oe =
|
|
27390
|
+
Pe(Ce, J).each((ve) => {
|
|
27391
|
+
const Oe = Ce[ve - 1].getEl(), dt = {
|
|
27389
27392
|
type: "node",
|
|
27390
27393
|
root: Vs(),
|
|
27391
27394
|
node: D.some(Ae.fromDom(Oe)),
|
|
@@ -29758,8 +29761,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29758
29761
|
fireDismissalEventInstead: {},
|
|
29759
29762
|
inlineBehaviours: xt([Un("dismissAutocompleter", [
|
|
29760
29763
|
Qe(If(), () => $()),
|
|
29761
|
-
Qe(P0(), (Me,
|
|
29762
|
-
I(
|
|
29764
|
+
Qe(P0(), (Me, Ce) => {
|
|
29765
|
+
I(Ce.event.target, "id").each((ve) => It(Ae.fromDom(t.getBody()), "aria-activedescendant", ve));
|
|
29763
29766
|
})
|
|
29764
29767
|
])]),
|
|
29765
29768
|
lazySink: s.getSink
|
|
@@ -29767,12 +29770,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29767
29770
|
if (p()) {
|
|
29768
29771
|
dr.hide(g), t.dom.remove(a, !1);
|
|
29769
29772
|
const Me = Ae.fromDom(t.getBody());
|
|
29770
|
-
I(Me, "aria-owns").filter((
|
|
29773
|
+
I(Me, "aria-owns").filter((Ce) => Ce === a).each(() => {
|
|
29771
29774
|
le(Me, "aria-owns"), le(Me, "aria-activedescendant");
|
|
29772
29775
|
});
|
|
29773
29776
|
}
|
|
29774
29777
|
}, E = () => dr.getContent(g).bind((Me) => ps(Me.components(), 0)), $ = () => t.execCommand("mceAutocompleterClose"), N = (Me) => {
|
|
29775
|
-
const
|
|
29778
|
+
const Ce = nr(Me, (ve) => D.from(ve.columns)).getOr(1);
|
|
29776
29779
|
return Te(Me, (ve) => {
|
|
29777
29780
|
const Oe = ve.items;
|
|
29778
29781
|
return gF(Oe, ve.matchText, (dt, Je) => {
|
|
@@ -29786,9 +29789,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29786
29789
|
};
|
|
29787
29790
|
c.set(!0), ve.onAction(At, vt, dt, Je), c.set(!1);
|
|
29788
29791
|
});
|
|
29789
|
-
},
|
|
29792
|
+
}, Ce, ff.BUBBLE_TO_SANDBOX, s, ve.highlightOn);
|
|
29790
29793
|
});
|
|
29791
|
-
}, H = (Me,
|
|
29794
|
+
}, H = (Me, Ce) => {
|
|
29792
29795
|
kI(Ae.fromDom(t.getBody())).each((ve) => {
|
|
29793
29796
|
const Oe = nr(Me, (dt) => D.from(dt.columns)).getOr(1);
|
|
29794
29797
|
dr.showMenuAt(g, {
|
|
@@ -29797,14 +29800,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29797
29800
|
root: Ae.fromDom(t.getBody()),
|
|
29798
29801
|
node: D.from(ve)
|
|
29799
29802
|
}
|
|
29800
|
-
}, hF(fS("autocompleter-value", !0,
|
|
29803
|
+
}, hF(fS("autocompleter-value", !0, Ce, Oe, { menuType: "normal" }), Oe, Kw.ContentFocus, "normal"));
|
|
29801
29804
|
}), E().each(Ho.highlightFirst);
|
|
29802
29805
|
}, W = (Me) => {
|
|
29803
|
-
const
|
|
29804
|
-
|
|
29806
|
+
const Ce = N(Me);
|
|
29807
|
+
Ce.length > 0 ? (H(Me, Ce), It(Ae.fromDom(t.getBody()), "aria-owns", a), t.inline || J()) : C();
|
|
29805
29808
|
}, J = () => {
|
|
29806
29809
|
t.dom.get(a) && t.dom.remove(a, !1);
|
|
29807
|
-
const Me = t.getDoc().documentElement,
|
|
29810
|
+
const Me = t.getDoc().documentElement, Ce = t.selection.getNode(), ve = P4(g.element);
|
|
29808
29811
|
Ms(ve, {
|
|
29809
29812
|
border: "0",
|
|
29810
29813
|
clip: "rect(0 0 0 0)",
|
|
@@ -29814,8 +29817,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29814
29817
|
padding: "0",
|
|
29815
29818
|
position: "absolute",
|
|
29816
29819
|
width: "1px",
|
|
29817
|
-
top: `${
|
|
29818
|
-
left: `${
|
|
29820
|
+
top: `${Ce.offsetTop}px`,
|
|
29821
|
+
left: `${Ce.offsetLeft}px`
|
|
29819
29822
|
}), t.dom.add(Me, ve.dom), Ir(ve, '[role="menu"]').each((Oe) => {
|
|
29820
29823
|
Co(Oe, "position"), Co(Oe, "max-height");
|
|
29821
29824
|
});
|
|
@@ -30099,86 +30102,86 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30099
30102
|
Re("eventOrder", {})
|
|
30100
30103
|
]
|
|
30101
30104
|
}), IS = (t) => {
|
|
30102
|
-
const s = (
|
|
30103
|
-
triggerEvent: (
|
|
30105
|
+
const s = (Ce) => ta(t.element).fold(Nt, (ve) => zo(Ce, ve)), a = B6(), c = (Ce, ve) => a.find(s, Ce, ve), d = _F(t.element, {
|
|
30106
|
+
triggerEvent: (Ce, ve) => Wb(Ce, ve.target, (Oe) => b5(c, Ce, ve, Oe))
|
|
30104
30107
|
}), g = {
|
|
30105
30108
|
debugInfo: ae("real"),
|
|
30106
|
-
triggerEvent: (
|
|
30107
|
-
Wb(
|
|
30109
|
+
triggerEvent: (Ce, ve, Oe) => {
|
|
30110
|
+
Wb(Ce, ve, (dt) => M6(c, Ce, Oe, ve, dt));
|
|
30108
30111
|
},
|
|
30109
|
-
triggerFocus: (
|
|
30110
|
-
L0(
|
|
30111
|
-
Oc(
|
|
30112
|
+
triggerFocus: (Ce, ve) => {
|
|
30113
|
+
L0(Ce).fold(() => {
|
|
30114
|
+
Oc(Ce);
|
|
30112
30115
|
}, (Oe) => {
|
|
30113
|
-
Wb(ld(),
|
|
30116
|
+
Wb(ld(), Ce, (dt) => (kF(c, ld(), {
|
|
30114
30117
|
originator: ve,
|
|
30115
30118
|
kill: he,
|
|
30116
30119
|
prevent: he,
|
|
30117
|
-
target:
|
|
30118
|
-
},
|
|
30120
|
+
target: Ce
|
|
30121
|
+
}, Ce, dt), !1));
|
|
30119
30122
|
});
|
|
30120
30123
|
},
|
|
30121
|
-
triggerEscape: (
|
|
30122
|
-
g.triggerEvent("keydown",
|
|
30124
|
+
triggerEscape: (Ce, ve) => {
|
|
30125
|
+
g.triggerEvent("keydown", Ce.element, ve.event);
|
|
30123
30126
|
},
|
|
30124
|
-
getByUid: (
|
|
30125
|
-
getByDom: (
|
|
30127
|
+
getByUid: (Ce) => de(Ce),
|
|
30128
|
+
getByDom: (Ce) => Me(Ce),
|
|
30126
30129
|
build: Tl,
|
|
30127
30130
|
buildOrPatch: Vb,
|
|
30128
|
-
addToGui: (
|
|
30129
|
-
C(
|
|
30131
|
+
addToGui: (Ce) => {
|
|
30132
|
+
C(Ce);
|
|
30130
30133
|
},
|
|
30131
|
-
removeFromGui: (
|
|
30132
|
-
E(
|
|
30134
|
+
removeFromGui: (Ce) => {
|
|
30135
|
+
E(Ce);
|
|
30133
30136
|
},
|
|
30134
|
-
addToWorld: (
|
|
30135
|
-
p(
|
|
30137
|
+
addToWorld: (Ce) => {
|
|
30138
|
+
p(Ce);
|
|
30136
30139
|
},
|
|
30137
|
-
removeFromWorld: (
|
|
30138
|
-
w(
|
|
30140
|
+
removeFromWorld: (Ce) => {
|
|
30141
|
+
w(Ce);
|
|
30139
30142
|
},
|
|
30140
|
-
broadcast: (
|
|
30141
|
-
H(
|
|
30143
|
+
broadcast: (Ce) => {
|
|
30144
|
+
H(Ce);
|
|
30142
30145
|
},
|
|
30143
|
-
broadcastOn: (
|
|
30144
|
-
W(
|
|
30146
|
+
broadcastOn: (Ce, ve) => {
|
|
30147
|
+
W(Ce, ve);
|
|
30145
30148
|
},
|
|
30146
|
-
broadcastEvent: (
|
|
30147
|
-
J(
|
|
30149
|
+
broadcastEvent: (Ce, ve) => {
|
|
30150
|
+
J(Ce, ve);
|
|
30148
30151
|
},
|
|
30149
30152
|
isConnected: Nt
|
|
30150
|
-
}, p = (
|
|
30151
|
-
|
|
30152
|
-
}, w = (
|
|
30153
|
-
ea(
|
|
30154
|
-
}, C = (
|
|
30155
|
-
eg(t,
|
|
30156
|
-
}, E = (
|
|
30157
|
-
tm(
|
|
30153
|
+
}, p = (Ce) => {
|
|
30154
|
+
Ce.connect(g), ea(Ce.element) || (a.register(Ce), pt(Ce.components(), p), g.triggerEvent(Bf(), Ce.element, { target: Ce.element }));
|
|
30155
|
+
}, w = (Ce) => {
|
|
30156
|
+
ea(Ce.element) || (pt(Ce.components(), w), a.unregister(Ce)), Ce.disconnect();
|
|
30157
|
+
}, C = (Ce) => {
|
|
30158
|
+
eg(t, Ce);
|
|
30159
|
+
}, E = (Ce) => {
|
|
30160
|
+
tm(Ce);
|
|
30158
30161
|
}, $ = () => {
|
|
30159
30162
|
d.unbind(), Tc(t.element);
|
|
30160
|
-
}, N = (
|
|
30163
|
+
}, N = (Ce) => {
|
|
30161
30164
|
const ve = a.filter(th());
|
|
30162
30165
|
pt(ve, (Oe) => {
|
|
30163
30166
|
const dt = Oe.descHandler;
|
|
30164
|
-
ap(dt)(
|
|
30167
|
+
ap(dt)(Ce);
|
|
30165
30168
|
});
|
|
30166
|
-
}, H = (
|
|
30169
|
+
}, H = (Ce) => {
|
|
30167
30170
|
N({
|
|
30168
30171
|
universal: !0,
|
|
30169
|
-
data:
|
|
30172
|
+
data: Ce
|
|
30170
30173
|
});
|
|
30171
|
-
}, W = (
|
|
30174
|
+
}, W = (Ce, ve) => {
|
|
30172
30175
|
N({
|
|
30173
30176
|
universal: !1,
|
|
30174
|
-
channels:
|
|
30177
|
+
channels: Ce,
|
|
30175
30178
|
data: ve
|
|
30176
30179
|
});
|
|
30177
|
-
}, J = (
|
|
30178
|
-
const Oe = a.filter(
|
|
30180
|
+
}, J = (Ce, ve) => {
|
|
30181
|
+
const Oe = a.filter(Ce);
|
|
30179
30182
|
return TF(Oe, ve);
|
|
30180
|
-
}, de = (
|
|
30181
|
-
const ve = L0(
|
|
30183
|
+
}, de = (Ce) => a.getById(Ce).fold(() => Vn.error(new Error('Could not find component with uid: "' + Ce + '" in system.')), Vn.value), Me = (Ce) => {
|
|
30184
|
+
const ve = L0(Ce).getOr("not found");
|
|
30182
30185
|
return de(ve);
|
|
30183
30186
|
};
|
|
30184
30187
|
return p(t), {
|
|
@@ -30340,8 +30343,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30340
30343
|
"-": " "
|
|
30341
30344
|
}, vt = Oe.replace(/\_| \- |\-/g, (Wn) => Ge[Wn]);
|
|
30342
30345
|
return `<div class="tox-collection__item${s.isDisabled() ? " tox-collection__item--state-disabled" : ""}" tabindex="-1" data-collection-item-value="${PF.encodeAllRaw(ve.value)}" title="${vt}" aria-label="${vt}">${Je}${dt}</div>`;
|
|
30343
|
-
}), Me = t.columns !== "auto" && t.columns > 1 ? br(de, t.columns) : [de],
|
|
30344
|
-
nh(W.element,
|
|
30346
|
+
}), Me = t.columns !== "auto" && t.columns > 1 ? br(de, t.columns) : [de], Ce = tt(Me, (ve) => `<div class="tox-collection__group">${ve.join("")}</div>`);
|
|
30347
|
+
nh(W.element, Ce.join(""));
|
|
30345
30348
|
}, C = p((W, J, de, Me) => {
|
|
30346
30349
|
J.stop(), s.isDisabled() || dn(W, hg, {
|
|
30347
30350
|
name: t.name,
|
|
@@ -30740,8 +30743,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30740
30743
|
if (d > H)
|
|
30741
30744
|
return de;
|
|
30742
30745
|
{
|
|
30743
|
-
const Me = h9(d, N, H),
|
|
30744
|
-
return p &&
|
|
30746
|
+
const Me = h9(d, N, H), Ce = J6(Me / W * c + s, J, de);
|
|
30747
|
+
return p && Ce >= s && Ce <= a ? g9(Ce, s, a, g, w) : C ? Math.round(Ce) : Ce;
|
|
30745
30748
|
}
|
|
30746
30749
|
}, eM = (t) => {
|
|
30747
30750
|
const { min: s, max: a, range: c, value: d, hasMinEdge: g, hasMaxEdge: p, maxBound: w, maxOffset: C, centerMinEdge: E, centerMaxEdge: $ } = t;
|
|
@@ -31038,7 +31041,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31038
31041
|
N.setToMin(Je, t);
|
|
31039
31042
|
}, Me = (Je) => {
|
|
31040
31043
|
N.setToMax(Je, t);
|
|
31041
|
-
},
|
|
31044
|
+
}, Ce = (Je) => {
|
|
31042
31045
|
const Ge = () => {
|
|
31043
31046
|
_s(Je, t, "thumb").each((At) => {
|
|
31044
31047
|
const Wn = $.value.get();
|
|
@@ -31049,7 +31052,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31049
31052
|
}, ve = (Je, Ge) => {
|
|
31050
31053
|
Ge.stop(), t.mouseIsDown.set(!0), t.onDragStart(Je, d(Je));
|
|
31051
31054
|
}, Oe = (Je, Ge) => {
|
|
31052
|
-
Ge.stop(), t.onDragEnd(Je, d(Je)),
|
|
31055
|
+
Ge.stop(), t.onDragEnd(Je, d(Je)), Ce(Je);
|
|
31053
31056
|
}, dt = (Je) => {
|
|
31054
31057
|
_s(Je, t, "spectrum").map(mn.focusIn);
|
|
31055
31058
|
};
|
|
@@ -31069,7 +31072,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31069
31072
|
setValue: W
|
|
31070
31073
|
}
|
|
31071
31074
|
}),
|
|
31072
|
-
Dc.config({ channels: { [G2()]: { onReceive:
|
|
31075
|
+
Dc.config({ channels: { [G2()]: { onReceive: Ce } } })
|
|
31073
31076
|
]),
|
|
31074
31077
|
events: As([
|
|
31075
31078
|
Qe(sy(), (Je, Ge) => {
|
|
@@ -31223,7 +31226,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31223
31226
|
validateOnLoad: !1
|
|
31224
31227
|
}
|
|
31225
31228
|
}), g = (H, W, J, de, Me) => {
|
|
31226
|
-
const
|
|
31229
|
+
const Ce = t(iy + "range"), ve = Qo.parts.label({
|
|
31227
31230
|
dom: {
|
|
31228
31231
|
tag: "label",
|
|
31229
31232
|
attributes: { "aria-label": de }
|
|
@@ -31247,7 +31250,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31247
31250
|
}), dt = [
|
|
31248
31251
|
ve,
|
|
31249
31252
|
Oe
|
|
31250
|
-
], Je = W !== "hex" ? [Qo.parts["aria-descriptor"]({ text:
|
|
31253
|
+
], Je = W !== "hex" ? [Qo.parts["aria-descriptor"]({ text: Ce })] : [], Ge = dt.concat(Je);
|
|
31251
31254
|
return {
|
|
31252
31255
|
dom: {
|
|
31253
31256
|
tag: "div",
|
|
@@ -31288,10 +31291,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31288
31291
|
hex: gn(D.some("ffffff"))
|
|
31289
31292
|
}, W = (Sn, Yo) => {
|
|
31290
31293
|
const bn = Zw(Yo);
|
|
31291
|
-
w(Sn, bn),
|
|
31294
|
+
w(Sn, bn), Ce(bn);
|
|
31292
31295
|
}, J = (Sn) => H[Sn].get(), de = (Sn, Yo) => {
|
|
31293
31296
|
H[Sn].set(Yo);
|
|
31294
|
-
}, Me = () => J("red").bind((Sn) => J("green").bind((Yo) => J("blue").map((bn) => n0(Sn, Yo, bn, 1)))),
|
|
31297
|
+
}, Me = () => J("red").bind((Sn) => J("green").bind((Yo) => J("blue").map((bn) => n0(Sn, Yo, bn, 1)))), Ce = (Sn) => {
|
|
31295
31298
|
const Yo = Sn.red, bn = Sn.green, Ro = Sn.blue;
|
|
31296
31299
|
de("red", D.some(Yo)), de("green", D.some(bn)), de("blue", D.some(Ro));
|
|
31297
31300
|
}, ve = (Sn, Yo) => {
|
|
@@ -31302,7 +31305,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31302
31305
|
const bn = N$(Yo);
|
|
31303
31306
|
de("hex", D.some(bn.value));
|
|
31304
31307
|
const Ro = Zw(bn);
|
|
31305
|
-
w(Sn, Ro),
|
|
31308
|
+
w(Sn, Ro), Ce(Ro), dn(Sn, ax, { hex: bn }), E(Sn, bn);
|
|
31306
31309
|
}, dt = (Sn, Yo, bn) => {
|
|
31307
31310
|
const Ro = parseInt(bn, 10);
|
|
31308
31311
|
de(Yo, D.some(Ro)), Me().each((Dt) => {
|
|
@@ -31402,7 +31405,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31402
31405
|
Math.floor(Me.x),
|
|
31403
31406
|
Math.floor(100 - Me.y)
|
|
31404
31407
|
])), dn(J, lx, { value: Me });
|
|
31405
|
-
}, H = (J, de, Me,
|
|
31408
|
+
}, H = (J, de, Me, Ce) => {
|
|
31406
31409
|
d(Me.element.dom, WE(Cd));
|
|
31407
31410
|
}, W = xt([
|
|
31408
31411
|
yo.config({ find: D.some }),
|
|
@@ -31468,11 +31471,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31468
31471
|
N.getOpt(Ge).each((At) => {
|
|
31469
31472
|
p.setThumb(At, vt);
|
|
31470
31473
|
});
|
|
31471
|
-
},
|
|
31474
|
+
}, Ce = (Ge, vt) => {
|
|
31472
31475
|
const At = Zw(Ge);
|
|
31473
31476
|
E.paletteRgba.set(At), E.paletteHue.set(vt);
|
|
31474
31477
|
}, ve = (Ge, vt, At, Wn) => {
|
|
31475
|
-
|
|
31478
|
+
Ce(vt, At), pt(Wn, (jt) => {
|
|
31476
31479
|
jt(Ge, vt, At);
|
|
31477
31480
|
});
|
|
31478
31481
|
}, Oe = () => {
|
|
@@ -32594,8 +32597,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32594
32597
|
}),
|
|
32595
32598
|
Ea(),
|
|
32596
32599
|
Un("size-input-events2", [Qe(c, (N, H) => {
|
|
32597
|
-
const W = H.event.isField1, J = W ? Li.getField1(N) : Li.getField2(N), de = W ? Li.getField2(N) : Li.getField1(N), Me = J.map(Vt.getValue).getOr(""),
|
|
32598
|
-
a = wH(Me,
|
|
32600
|
+
const W = H.event.isField1, J = W ? Li.getField1(N) : Li.getField2(N), de = W ? Li.getField2(N) : Li.getField1(N), Me = J.map(Vt.getValue).getOr(""), Ce = de.map(Vt.getValue).getOr("");
|
|
32601
|
+
a = wH(Me, Ce);
|
|
32599
32602
|
})])
|
|
32600
32603
|
])
|
|
32601
32604
|
});
|
|
@@ -33320,8 +33323,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33320
33323
|
BS(t, p(N), N, J, c, de, Bc.HighlightMenuAndItem).get(he);
|
|
33321
33324
|
}
|
|
33322
33325
|
}, g = pE(t), p = (N) => (H) => H.map((W) => {
|
|
33323
|
-
const J = Gi(W.menus), de = Te(J, (
|
|
33324
|
-
return Vt.getState(N).update(tt(de, (
|
|
33326
|
+
const J = Gi(W.menus), de = Te(J, (Ce) => so(Ce.items, (ve) => ve.type === "item"));
|
|
33327
|
+
return Vt.getState(N).update(tt(de, (Ce) => Ce.data)), W;
|
|
33325
33328
|
}), w = (N) => yo.getCurrent(N), C = "typeaheadevents", E = [
|
|
33326
33329
|
_n.config({}),
|
|
33327
33330
|
Vt.config({
|
|
@@ -33348,9 +33351,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33348
33351
|
onStream: (N, H) => {
|
|
33349
33352
|
const W = Fr.getCoupled(N, "sandbox");
|
|
33350
33353
|
if (_n.isFocused(N) && qd(N.element).length >= t.minChars) {
|
|
33351
|
-
const de = w(W).bind((
|
|
33354
|
+
const de = w(W).bind((Ce) => Ho.getHighlighted(Ce).map(Vt.getValue));
|
|
33352
33355
|
t.previewing.set(!0);
|
|
33353
|
-
const Me = (
|
|
33356
|
+
const Me = (Ce) => {
|
|
33354
33357
|
w(W).each((ve) => {
|
|
33355
33358
|
de.fold(() => {
|
|
33356
33359
|
t.model.selectsOver && Ho.highlightFirst(ve);
|
|
@@ -33635,8 +33638,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33635
33638
|
}, H = [], W = s.translate(t.text.getOr("")), J = Sr(W), Me = [
|
|
33636
33639
|
...Jv([d.map((ve) => ve.asSpec())]),
|
|
33637
33640
|
...t.text.isSome() ? [J] : []
|
|
33638
|
-
],
|
|
33639
|
-
return Ja.sketch(
|
|
33641
|
+
], Ce = gk(w, D.some(g), H, N, Me, s);
|
|
33642
|
+
return Ja.sketch(Ce);
|
|
33640
33643
|
}, hk = (t, s, a) => {
|
|
33641
33644
|
if (UH(t, s)) {
|
|
33642
33645
|
const c = () => p, d = t, g = {
|
|
@@ -33842,7 +33845,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33842
33845
|
[J.asSpec()],
|
|
33843
33846
|
H.map(() => de.asSpec()).toArray()
|
|
33844
33847
|
])
|
|
33845
|
-
}),
|
|
33848
|
+
}), Ce = (ve) => {
|
|
33846
33849
|
yo.getCurrent(ve).each((Oe) => {
|
|
33847
33850
|
const dt = Vt.getValue(Oe), Je = {
|
|
33848
33851
|
fieldname: t.name,
|
|
@@ -33869,7 +33872,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33869
33872
|
}
|
|
33870
33873
|
}),
|
|
33871
33874
|
Ea(),
|
|
33872
|
-
Un("url-input-events", [Qe(W,
|
|
33875
|
+
Un("url-input-events", [Qe(W, Ce)])
|
|
33873
33876
|
])
|
|
33874
33877
|
});
|
|
33875
33878
|
}, xA = (t, s) => {
|
|
@@ -34564,7 +34567,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34564
34567
|
});
|
|
34565
34568
|
}, de = (Ge) => c(Ud(), C2(Ge)), Me = (Ge) => {
|
|
34566
34569
|
d(ph(), {}), c(id(), C2(Ge));
|
|
34567
|
-
},
|
|
34570
|
+
}, Ce = Ie(Ae.fromDom(t.getElement())), ve = Qb(Ce, "scroll", (Ge) => {
|
|
34568
34571
|
requestAnimationFrame(() => {
|
|
34569
34572
|
const vt = t.getContainer();
|
|
34570
34573
|
if (vt != null) {
|
|
@@ -34609,8 +34612,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34609
34612
|
const $ = Fn.contents(E), N = C.length, H = N - $.length, W = H > 0 ? ho(H, () => t.makeItem()) : [], J = $.slice(N);
|
|
34610
34613
|
pt(J, (Me) => Fn.remove(E, Me)), pt(W, (Me) => Fn.append(E, Me));
|
|
34611
34614
|
const de = Fn.contents(E);
|
|
34612
|
-
pt(de, (Me,
|
|
34613
|
-
t.setupItem(w, Me, C[
|
|
34615
|
+
pt(de, (Me, Ce) => {
|
|
34616
|
+
t.setupItem(w, Me, C[Ce], Ce);
|
|
34614
34617
|
});
|
|
34615
34618
|
});
|
|
34616
34619
|
}, g = t.shell ? {
|
|
@@ -34951,8 +34954,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34951
34954
|
if (de && E < J)
|
|
34952
34955
|
Lg(g.left, E - H, a);
|
|
34953
34956
|
else if (Me && $ > W) {
|
|
34954
|
-
const
|
|
34955
|
-
Lg(g.left,
|
|
34957
|
+
const Ce = E - d + C + H;
|
|
34958
|
+
Lg(g.left, Ce, a);
|
|
34956
34959
|
}
|
|
34957
34960
|
}, Ek = (t, s) => no(sr.getModes(t), s), X1 = (t) => {
|
|
34958
34961
|
const s = (c) => Md(c) + (parseInt(ls(c, "margin-top"), 10) || 0) + (parseInt(ls(c, "margin-bottom"), 10) || 0), a = t.element;
|
|
@@ -35217,20 +35220,20 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35217
35220
|
}));
|
|
35218
35221
|
return lw(hP, fz, d, hz, a);
|
|
35219
35222
|
}, hz = (t, s) => {
|
|
35220
|
-
const a = (de) => ow(t), c = (de, Me) => _s(de, t, Me), d = (de, Me) => (
|
|
35221
|
-
pt(
|
|
35223
|
+
const a = (de) => ow(t), c = (de, Me) => _s(de, t, Me), d = (de, Me) => (Ce, ve) => _s(Ce, t, ve).map((Oe) => de(Oe, ve)).getOr(Me), g = (de) => (Me, Ce) => {
|
|
35224
|
+
pt(Ce, (ve) => de(Me, ve));
|
|
35222
35225
|
}, p = (de, Me) => js(de.element, "aria-hidden") !== "true", w = (de, Me) => {
|
|
35223
35226
|
if (!p(de)) {
|
|
35224
|
-
const
|
|
35225
|
-
Co(
|
|
35227
|
+
const Ce = de.element;
|
|
35228
|
+
Co(Ce, "display"), le(Ce, "aria-hidden"), dn(de, M0(), {
|
|
35226
35229
|
name: Me,
|
|
35227
35230
|
visible: !0
|
|
35228
35231
|
});
|
|
35229
35232
|
}
|
|
35230
35233
|
}, C = (de, Me) => {
|
|
35231
35234
|
if (p(de)) {
|
|
35232
|
-
const
|
|
35233
|
-
Yt(
|
|
35235
|
+
const Ce = de.element;
|
|
35236
|
+
Yt(Ce, "display", "none"), It(Ce, "aria-hidden", "true"), dn(de, M0(), {
|
|
35234
35237
|
name: Me,
|
|
35235
35238
|
visible: !1
|
|
35236
35239
|
});
|
|
@@ -36153,7 +36156,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36153
36156
|
tag: "button",
|
|
36154
36157
|
classes: E.concat(...t.icon.isSome() && !de ? ["tox-button--icon"] : []).concat(...de ? ["tox-button--icon-and-text"] : []).concat(...t.borderless ? ["tox-button--naked"] : []).concat(...t.type === "togglebutton" && t.active ? ["tox-button--enabled"] : []),
|
|
36155
36158
|
attributes: H
|
|
36156
|
-
},
|
|
36159
|
+
}, Ce = [], ve = gk(C, D.some(w), Ce, Me, J, s);
|
|
36157
36160
|
return Ja.sketch(ve);
|
|
36158
36161
|
}, lD = (t, s) => qz(t, s), vy = (t, s) => ({
|
|
36159
36162
|
dom: {
|
|
@@ -37031,7 +37034,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37031
37034
|
]
|
|
37032
37035
|
}
|
|
37033
37036
|
});
|
|
37034
|
-
}, de = Jo(J((ve) => $(!1, ve), "minus", "Decrease font size", [])), Me = Jo(J((ve) => N(!1, ve), "plus", "Increase font size", [])),
|
|
37037
|
+
}, de = Jo(J((ve) => $(!1, ve), "minus", "Decrease font size", [])), Me = Jo(J((ve) => N(!1, ve), "plus", "Increase font size", [])), Ce = Jo({
|
|
37035
37038
|
dom: {
|
|
37036
37039
|
tag: "div",
|
|
37037
37040
|
classes: ["tox-input-wrapper"]
|
|
@@ -37094,7 +37097,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37094
37097
|
},
|
|
37095
37098
|
components: [
|
|
37096
37099
|
de.asSpec(),
|
|
37097
|
-
|
|
37100
|
+
Ce.asSpec(),
|
|
37098
37101
|
Me.asSpec()
|
|
37099
37102
|
],
|
|
37100
37103
|
behaviours: xt([
|
|
@@ -37799,9 +37802,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37799
37802
|
return (de = Os.whichSidebar(C)) !== null && de !== void 0 ? de : "";
|
|
37800
37803
|
}), t.addCommand("ToggleView", (de, Me) => {
|
|
37801
37804
|
if (Os.toggleView(C, Me)) {
|
|
37802
|
-
const
|
|
37803
|
-
g.mothership.broadcastOn([pd()], { target:
|
|
37804
|
-
ve.broadcastOn([pd()], { target:
|
|
37805
|
+
const Ce = C.element;
|
|
37806
|
+
g.mothership.broadcastOn([pd()], { target: Ce }), pt(p, (ve) => {
|
|
37807
|
+
ve.broadcastOn([pd()], { target: Ce });
|
|
37805
37808
|
}), hn(Os.whichView(C)) && (t.focus(), t.nodeChanged(), Os.refreshToolbar(C));
|
|
37806
37809
|
}
|
|
37807
37810
|
}), t.addQueryValueHandler("ToggleView", () => {
|
|
@@ -37838,10 +37841,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37838
37841
|
const s = Rw(t), a = qT(t), c = X_(t);
|
|
37839
37842
|
return _D(s).map((d) => Xk(d, a, c));
|
|
37840
37843
|
}, cW = (t) => DB(t).getOr(Rw(t)), { ToolbarLocation: nb, ToolbarMode: OB } = SI, iW = 40, uW = (t, s, a, c, d) => {
|
|
37841
|
-
const { mainUi: g, uiMotherships: p } = a, w = L1.DOM, C = Uv(t), E = Pw(t), $ = X_(t).or(DB(t)), N = c.shared.header, H = N.isPositionedAtTop, W = Hv(t), J = W === OB.sliding || W === OB.floating, de = gn(!1), Me = () => de.get() && !t.removed,
|
|
37844
|
+
const { mainUi: g, uiMotherships: p } = a, w = L1.DOM, C = Uv(t), E = Pw(t), $ = X_(t).or(DB(t)), N = c.shared.header, H = N.isPositionedAtTop, W = Hv(t), J = W === OB.sliding || W === OB.floating, de = gn(!1), Me = () => de.get() && !t.removed, Ce = (bn) => J ? bn.fold(ae(0), (Ro) => Ro.components().length > 1 ? Us(Ro.components()[1].element) : 0) : 0, ve = (bn) => {
|
|
37842
37845
|
switch ($w(t)) {
|
|
37843
37846
|
case nb.auto:
|
|
37844
|
-
const Ro = Os.getToolbar(g.outerContainer), Dt =
|
|
37847
|
+
const Ro = Os.getToolbar(g.outerContainer), Dt = Ce(Ro), en = Us(bn.element) - Dt, On = Xs(s);
|
|
37845
37848
|
if (On.y > en)
|
|
37846
37849
|
return "top";
|
|
37847
37850
|
{
|
|
@@ -37870,7 +37873,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37870
37873
|
});
|
|
37871
37874
|
}, Je = (bn) => {
|
|
37872
37875
|
d.on((Ro) => {
|
|
37873
|
-
const Dt = Os.getToolbar(g.outerContainer), en =
|
|
37876
|
+
const Dt = Os.getToolbar(g.outerContainer), en = Ce(Dt), On = Xs(s), { top: Pn, left: yn } = Ge(t, g.outerContainer.element).fold(() => ({
|
|
37874
37877
|
top: H() ? Math.max(On.y - Us(Ro.element) + en, 0) : On.bottom,
|
|
37875
37878
|
left: On.x
|
|
37876
37879
|
}), (Mo) => {
|
|
@@ -38384,7 +38387,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38384
38387
|
const jt = $.element;
|
|
38385
38388
|
Co(jt, "display"), J() ? Yt(jt, "display", "none") : (C.set(0), dr.reposition($));
|
|
38386
38389
|
}
|
|
38387
|
-
},
|
|
38390
|
+
}, Ce = (jt) => ({
|
|
38388
38391
|
dom: {
|
|
38389
38392
|
tag: "div",
|
|
38390
38393
|
classes: ["tox-pop__dialog"]
|
|
@@ -38403,7 +38406,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38403
38406
|
])
|
|
38404
38407
|
}), ve = Gs(() => VB(s, (jt) => {
|
|
38405
38408
|
const Dn = Je([jt]);
|
|
38406
|
-
dn($, zB, { forwardContents:
|
|
38409
|
+
dn($, zB, { forwardContents: Ce(Dn) });
|
|
38407
38410
|
})), Oe = (jt, Dn) => qk(t, {
|
|
38408
38411
|
buttons: jt,
|
|
38409
38412
|
toolbar: Dn.items,
|
|
@@ -38434,7 +38437,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38434
38437
|
const Sn = Je(jt), Yo = jt[0].position, bn = Ge(Yo, Dn);
|
|
38435
38438
|
E.set(Yo), C.set(1);
|
|
38436
38439
|
const Ro = $.element;
|
|
38437
|
-
Co(Ro, "display"), W(Dn) || (or(Ro, n4), Al.reset(a, $)), dr.showWithinBounds($,
|
|
38440
|
+
Co(Ro, "display"), W(Dn) || (or(Ro, n4), Al.reset(a, $)), dr.showWithinBounds($, Ce(Sn), {
|
|
38438
38441
|
anchor: bn,
|
|
38439
38442
|
transition: {
|
|
38440
38443
|
classes: [n4],
|
|
@@ -38965,46 +38968,46 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38965
38968
|
},
|
|
38966
38969
|
default: "link linkchecker image editimage table spellchecker configurepermanentpen"
|
|
38967
38970
|
});
|
|
38968
|
-
}, QB = JB("contextmenu_never_use_native"), WW = JB("contextmenu_avoid_overlap"), ZW = (t) =>
|
|
38971
|
+
}, QB = JB("contextmenu_never_use_native"), WW = JB("contextmenu_avoid_overlap"), ZW = (t) => eN(t).length === 0, eN = (t) => {
|
|
38969
38972
|
const s = t.ui.registry.getAll().contextMenus, a = t.options.get("contextmenu");
|
|
38970
38973
|
return t.options.isSet("contextmenu") ? a : so(a, (c) => xo(s, c));
|
|
38971
38974
|
}, Fx = (t, s) => ({
|
|
38972
38975
|
type: "makeshift",
|
|
38973
38976
|
x: t,
|
|
38974
38977
|
y: s
|
|
38975
|
-
}),
|
|
38976
|
-
if (
|
|
38978
|
+
}), tN = (t, s, a) => Fx(t.x + s, t.y + a), nN = (t) => t.type === "longpress" || t.type.indexOf("touch") === 0, jW = (t) => {
|
|
38979
|
+
if (nN(t)) {
|
|
38977
38980
|
const s = t.touches[0];
|
|
38978
38981
|
return Fx(s.pageX, s.pageY);
|
|
38979
38982
|
} else
|
|
38980
38983
|
return Fx(t.pageX, t.pageY);
|
|
38981
38984
|
}, GW = (t) => {
|
|
38982
|
-
if (
|
|
38985
|
+
if (nN(t)) {
|
|
38983
38986
|
const s = t.touches[0];
|
|
38984
38987
|
return Fx(s.clientX, s.clientY);
|
|
38985
38988
|
} else
|
|
38986
38989
|
return Fx(t.clientX, t.clientY);
|
|
38987
38990
|
}, qW = (t, s) => {
|
|
38988
38991
|
const a = L1.DOM.getPos(t);
|
|
38989
|
-
return
|
|
38990
|
-
}, KW = (t, s) => s.type === "contextmenu" || s.type === "longpress" ? t.inline ? jW(s) : qW(t.getContentAreaContainer(), GW(s)) :
|
|
38992
|
+
return tN(s, a.x, a.y);
|
|
38993
|
+
}, KW = (t, s) => s.type === "contextmenu" || s.type === "longpress" ? t.inline ? jW(s) : qW(t.getContentAreaContainer(), GW(s)) : oN(t), oN = (t) => ({
|
|
38991
38994
|
type: "selection",
|
|
38992
38995
|
root: Ae.fromDom(t.selection.getNode())
|
|
38993
38996
|
}), YW = (t) => ({
|
|
38994
38997
|
type: "node",
|
|
38995
38998
|
node: D.some(Ae.fromDom(t.selection.getNode())),
|
|
38996
38999
|
root: Ae.fromDom(t.getBody())
|
|
38997
|
-
}),
|
|
39000
|
+
}), sN = (t, s, a) => {
|
|
38998
39001
|
switch (a) {
|
|
38999
39002
|
case "node":
|
|
39000
39003
|
return YW(t);
|
|
39001
39004
|
case "point":
|
|
39002
39005
|
return KW(t, s);
|
|
39003
39006
|
case "selection":
|
|
39004
|
-
return
|
|
39007
|
+
return oN(t);
|
|
39005
39008
|
}
|
|
39006
|
-
},
|
|
39007
|
-
const p = a(), w =
|
|
39009
|
+
}, rN = (t, s, a, c, d, g) => {
|
|
39010
|
+
const p = a(), w = sN(t, s, g);
|
|
39008
39011
|
fy(p, ff.CLOSE_ON_EXECUTE, c, {
|
|
39009
39012
|
isHorizontalMenu: !1,
|
|
39010
39013
|
search: D.none()
|
|
@@ -39043,7 +39046,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39043
39046
|
yx,
|
|
39044
39047
|
hy
|
|
39045
39048
|
]
|
|
39046
|
-
},
|
|
39049
|
+
}, aN = 12, JW = {
|
|
39047
39050
|
valignCentre: [],
|
|
39048
39051
|
alignCentre: [],
|
|
39049
39052
|
alignLeft: ["tox-pop--align-left"],
|
|
@@ -39077,9 +39080,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39077
39080
|
t.off("touchend", a), t.off("longpresscancel", d), t.off("mousedown", c);
|
|
39078
39081
|
};
|
|
39079
39082
|
}, sb = (t, s, a) => {
|
|
39080
|
-
const c =
|
|
39083
|
+
const c = sN(t, s, a);
|
|
39081
39084
|
return {
|
|
39082
|
-
bubble: Qd(0, a === "point" ?
|
|
39085
|
+
bubble: Qd(0, a === "point" ? aN : 0, JW),
|
|
39083
39086
|
layouts: XW,
|
|
39084
39087
|
overrides: {
|
|
39085
39088
|
maxWidthFunction: Mk(),
|
|
@@ -39087,7 +39090,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39087
39090
|
},
|
|
39088
39091
|
...c
|
|
39089
39092
|
};
|
|
39090
|
-
},
|
|
39093
|
+
}, lN = (t, s, a, c, d, g, p) => {
|
|
39091
39094
|
const w = sb(t, s, g);
|
|
39092
39095
|
fy(a, ff.CLOSE_ON_EXECUTE, c, {
|
|
39093
39096
|
isHorizontalMenu: !0,
|
|
@@ -39107,7 +39110,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39107
39110
|
}, tZ = (t, s, a, c, d, g) => {
|
|
39108
39111
|
const p = yi(), w = p.os.isiOS(), C = p.os.isMacOS(), E = p.os.isAndroid(), $ = p.deviceType.isTouch(), N = () => !(E || w || C && $), H = () => {
|
|
39109
39112
|
const W = a();
|
|
39110
|
-
|
|
39113
|
+
lN(t, s, W, c, d, g, N());
|
|
39111
39114
|
};
|
|
39112
39115
|
if ((C || w) && g !== "node") {
|
|
39113
39116
|
const W = () => {
|
|
@@ -39116,7 +39119,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39116
39119
|
QW(t, s) ? W() : (t.once("selectionchange", W), t.once("touchend", () => t.off("selectionchange", W)));
|
|
39117
39120
|
} else
|
|
39118
39121
|
H();
|
|
39119
|
-
},
|
|
39122
|
+
}, cN = (t) => ee(t) ? t === "|" : t.type === "separator", BD = { type: "separator" }, iN = (t) => {
|
|
39120
39123
|
const s = (a) => ({
|
|
39121
39124
|
text: a.text,
|
|
39122
39125
|
icon: a.icon,
|
|
@@ -39134,7 +39137,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39134
39137
|
...s(t),
|
|
39135
39138
|
getSubmenuItems: () => {
|
|
39136
39139
|
const c = t.getSubmenuItems();
|
|
39137
|
-
return ee(c) ? c : tt(c,
|
|
39140
|
+
return ee(c) ? c : tt(c, iN);
|
|
39138
39141
|
}
|
|
39139
39142
|
};
|
|
39140
39143
|
default:
|
|
@@ -39148,7 +39151,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39148
39151
|
}, ND = (t, s) => {
|
|
39149
39152
|
if (s.length === 0)
|
|
39150
39153
|
return t;
|
|
39151
|
-
const c = vc(t).filter((d) => !
|
|
39154
|
+
const c = vc(t).filter((d) => !cN(d)).fold(() => [], (d) => [BD]);
|
|
39152
39155
|
return t.concat(c).concat(s).concat([BD]);
|
|
39153
39156
|
}, nZ = (t, s, a) => {
|
|
39154
39157
|
const c = Wo(s, (d, g) => bt(t, g.toLowerCase()).map((p) => {
|
|
@@ -39156,16 +39159,16 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39156
39159
|
if (ee(w) && ua(Ur(w)))
|
|
39157
39160
|
return ND(d, w.split(" "));
|
|
39158
39161
|
if (yt(w) && w.length > 0) {
|
|
39159
|
-
const C = tt(w,
|
|
39162
|
+
const C = tt(w, iN);
|
|
39160
39163
|
return ND(d, C);
|
|
39161
39164
|
} else
|
|
39162
39165
|
return d;
|
|
39163
39166
|
}).getOrThunk(() => d.concat([g])), []);
|
|
39164
|
-
return c.length > 0 &&
|
|
39165
|
-
}, oZ = (t, s) => s.ctrlKey && !QB(t), sZ = (t) => t.type === "longpress" || xo(t, "touches"),
|
|
39166
|
-
const a = WW(t), c =
|
|
39167
|
+
return c.length > 0 && cN(c[c.length - 1]) && c.pop(), c;
|
|
39168
|
+
}, oZ = (t, s) => s.ctrlKey && !QB(t), sZ = (t) => t.type === "longpress" || xo(t, "touches"), uN = (t, s) => !sZ(s) && (s.button !== 2 || s.target === t.getBody() && s.pointerType === ""), dN = (t, s) => uN(t, s) ? t.selection.getStart(!0) : s.target, rZ = (t, s) => {
|
|
39169
|
+
const a = WW(t), c = uN(t, s) ? "selection" : "point";
|
|
39167
39170
|
if (ua(a)) {
|
|
39168
|
-
const d =
|
|
39171
|
+
const d = dN(t, s);
|
|
39169
39172
|
return Yw(Ae.fromDom(d), a) ? "node" : c;
|
|
39170
39173
|
} else
|
|
39171
39174
|
return c;
|
|
@@ -39184,10 +39187,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39184
39187
|
if (QB(t) && C.preventDefault(), oZ(t, C) || ZW(t))
|
|
39185
39188
|
return;
|
|
39186
39189
|
const E = rZ(t, C), $ = () => {
|
|
39187
|
-
const H =
|
|
39190
|
+
const H = dN(t, C), W = t.ui.registry.getAll(), J = eN(t);
|
|
39188
39191
|
return nZ(W.contextMenus, J, H);
|
|
39189
39192
|
};
|
|
39190
|
-
(d() ? tZ :
|
|
39193
|
+
(d() ? tZ : rN)(t, C, $, a, g, E);
|
|
39191
39194
|
};
|
|
39192
39195
|
t.on("init", () => {
|
|
39193
39196
|
const C = "ResizeEditor ScrollContent ScrollWindow longpresscancel" + (d() ? "" : " ResizeWindow");
|
|
@@ -39249,11 +39252,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39249
39252
|
return p(w.getOr(E.left), C.getOr(E.top));
|
|
39250
39253
|
};
|
|
39251
39254
|
return t.fold(d(_y, l4), d(Cy, p0), d(Hx, rb));
|
|
39252
|
-
}, l4 = ID.offset, p0 = ID.absolute, rb = ID.fixed,
|
|
39255
|
+
}, l4 = ID.offset, p0 = ID.absolute, rb = ID.fixed, mN = (t, s) => {
|
|
39253
39256
|
const a = js(t, s);
|
|
39254
39257
|
return io(a) ? NaN : parseInt(a, 10);
|
|
39255
39258
|
}, uZ = (t, s) => {
|
|
39256
|
-
const a = t.element, c =
|
|
39259
|
+
const a = t.element, c = mN(a, s.leftAttr), d = mN(a, s.topAttr);
|
|
39257
39260
|
return isNaN(c) || isNaN(d) ? D.none() : D.some(Lo(c, d));
|
|
39258
39261
|
}, dZ = (t, s, a) => {
|
|
39259
39262
|
const c = t.element;
|
|
@@ -39272,7 +39275,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39272
39275
|
}));
|
|
39273
39276
|
}, hZ = (t, s) => {
|
|
39274
39277
|
mZ(t, s);
|
|
39275
|
-
},
|
|
39278
|
+
}, fN = (t, s, a, c) => nr(t, (d) => {
|
|
39276
39279
|
const g = d.sensor;
|
|
39277
39280
|
return lZ(s, g, d.range.left, d.range.top, a, c) ? D.some({
|
|
39278
39281
|
output: LD(d.output, s, a, c),
|
|
@@ -39280,7 +39283,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39280
39283
|
}) : D.none();
|
|
39281
39284
|
}), pZ = (t, s, a, c, d) => {
|
|
39282
39285
|
const g = s.getSnapPoints(t);
|
|
39283
|
-
return
|
|
39286
|
+
return fN(g, a, c, d).orThunk(() => Wo(g, (C, E) => {
|
|
39284
39287
|
const $ = E.sensor, N = cZ(a, $, E.range.left, E.range.top, c, d);
|
|
39285
39288
|
return C.deltas.fold(() => ({
|
|
39286
39289
|
deltas: D.some(N),
|
|
@@ -39301,7 +39304,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39301
39304
|
})));
|
|
39302
39305
|
}, bZ = (t, s, a, c, d) => {
|
|
39303
39306
|
const g = s.getSnapPoints(t);
|
|
39304
|
-
return
|
|
39307
|
+
return fN(g, a, c, d);
|
|
39305
39308
|
}, vZ = (t, s, a) => ({
|
|
39306
39309
|
coord: LD(t.output, t.output, s, a),
|
|
39307
39310
|
extra: t.extra
|
|
@@ -39326,11 +39329,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39326
39329
|
It(s, FD, a);
|
|
39327
39330
|
}), Yt(s, "z-index", ls(t.element, "z-index"));
|
|
39328
39331
|
});
|
|
39329
|
-
},
|
|
39332
|
+
}, gN = (t, s) => {
|
|
39330
39333
|
t.getSystem().addToGui(s), wZ(s);
|
|
39331
39334
|
}, xZ = (t) => {
|
|
39332
39335
|
yZ(t), t.getSystem().removeFromGui(t);
|
|
39333
|
-
},
|
|
39336
|
+
}, hN = (t, s, a) => t.getSystem().build(gf.sketch({
|
|
39334
39337
|
dom: {
|
|
39335
39338
|
styles: {
|
|
39336
39339
|
left: "0px",
|
|
@@ -39344,7 +39347,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39344
39347
|
},
|
|
39345
39348
|
events: a
|
|
39346
39349
|
}));
|
|
39347
|
-
var
|
|
39350
|
+
var pN = kl("snaps", [
|
|
39348
39351
|
nt("getSnapPoints"),
|
|
39349
39352
|
Ao("onSensor"),
|
|
39350
39353
|
nt("leftAttr"),
|
|
@@ -39360,7 +39363,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39360
39363
|
Re("repositionTarget", !0),
|
|
39361
39364
|
Re("onDrop", he),
|
|
39362
39365
|
sa("getBounds", na),
|
|
39363
|
-
|
|
39366
|
+
pN
|
|
39364
39367
|
], CZ = (t) => vl(zs(t, "left"), zs(t, "top"), zs(t, "position"), (s, a, c) => (c === "fixed" ? rb : l4)(parseInt(s, 10), parseInt(a, 10))).getOrThunk(() => {
|
|
39365
39368
|
const s = Cl(t);
|
|
39366
39369
|
return p0(s.left, s.top);
|
|
@@ -39400,7 +39403,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39400
39403
|
g.each((w) => {
|
|
39401
39404
|
kZ(t, s, p, w);
|
|
39402
39405
|
});
|
|
39403
|
-
},
|
|
39406
|
+
}, bN = (t, s, a, c) => {
|
|
39404
39407
|
s.each(xZ), a.snaps.each((g) => {
|
|
39405
39408
|
hZ(t, g);
|
|
39406
39409
|
});
|
|
@@ -39429,24 +39432,24 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39429
39432
|
getData: (t) => D.from(Lo(t.x, t.y)),
|
|
39430
39433
|
getDelta: (t, s) => Lo(s.left - t.left, s.top - t.top)
|
|
39431
39434
|
});
|
|
39432
|
-
const
|
|
39435
|
+
const vN = (t, s, a) => [Qe(uo(), (c, d) => {
|
|
39433
39436
|
if (d.event.raw.button !== 0)
|
|
39434
39437
|
return;
|
|
39435
39438
|
d.stop();
|
|
39436
|
-
const p = () =>
|
|
39439
|
+
const p = () => bN(c, D.some(E), t, s), w = T6(p, 200), C = {
|
|
39437
39440
|
drop: p,
|
|
39438
39441
|
delayDrop: w.schedule,
|
|
39439
39442
|
forceDrop: p,
|
|
39440
39443
|
move: (N) => {
|
|
39441
39444
|
w.cancel(), u4(c, t, s, EZ, N);
|
|
39442
39445
|
}
|
|
39443
|
-
}, E =
|
|
39446
|
+
}, E = hN(c, t.blockerClass, TZ(C));
|
|
39444
39447
|
(() => {
|
|
39445
|
-
a(c),
|
|
39448
|
+
a(c), gN(c, E);
|
|
39446
39449
|
})();
|
|
39447
39450
|
})], AZ = [
|
|
39448
39451
|
...HD,
|
|
39449
|
-
is("dragger", { handlers: VD(
|
|
39452
|
+
is("dragger", { handlers: VD(vN) })
|
|
39450
39453
|
], DZ = (t) => As([
|
|
39451
39454
|
Qe(Xc(), t.forceDrop),
|
|
39452
39455
|
Qe(Fm(), t.drop),
|
|
@@ -39458,7 +39461,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39458
39461
|
const s = t[0];
|
|
39459
39462
|
return D.some(Lo(s.clientX, s.clientY));
|
|
39460
39463
|
};
|
|
39461
|
-
var
|
|
39464
|
+
var yN = /* @__PURE__ */ Object.freeze({
|
|
39462
39465
|
__proto__: null,
|
|
39463
39466
|
getData: (t) => {
|
|
39464
39467
|
const a = t.raw.touches;
|
|
@@ -39466,9 +39469,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39466
39469
|
},
|
|
39467
39470
|
getDelta: (t, s) => Lo(s.left - t.left, s.top - t.top)
|
|
39468
39471
|
});
|
|
39469
|
-
const
|
|
39472
|
+
const wN = (t, s, a) => {
|
|
39470
39473
|
const c = ro(), d = (g) => {
|
|
39471
|
-
|
|
39474
|
+
bN(g, c.get(), t, s), c.clear();
|
|
39472
39475
|
};
|
|
39473
39476
|
return [
|
|
39474
39477
|
Qe(Xc(), (g, p) => {
|
|
@@ -39478,15 +39481,15 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39478
39481
|
delayDrop: he,
|
|
39479
39482
|
forceDrop: w,
|
|
39480
39483
|
move: (N) => {
|
|
39481
|
-
u4(g, t, s,
|
|
39484
|
+
u4(g, t, s, yN, N);
|
|
39482
39485
|
}
|
|
39483
|
-
}, E =
|
|
39486
|
+
}, E = hN(g, t.blockerClass, DZ(C));
|
|
39484
39487
|
c.set(E), (() => {
|
|
39485
|
-
a(g),
|
|
39488
|
+
a(g), gN(g, E);
|
|
39486
39489
|
})();
|
|
39487
39490
|
}),
|
|
39488
39491
|
Qe($f(), (g, p) => {
|
|
39489
|
-
p.stop(), u4(g, t, s,
|
|
39492
|
+
p.stop(), u4(g, t, s, yN, p.event);
|
|
39490
39493
|
}),
|
|
39491
39494
|
Qe(Fm(), (g, p) => {
|
|
39492
39495
|
p.stop(), d(g);
|
|
@@ -39495,10 +39498,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39495
39498
|
];
|
|
39496
39499
|
}, RZ = [
|
|
39497
39500
|
...HD,
|
|
39498
|
-
is("dragger", { handlers: VD(
|
|
39501
|
+
is("dragger", { handlers: VD(wN) })
|
|
39499
39502
|
], $Z = (t, s, a) => [
|
|
39500
|
-
...
|
|
39501
|
-
...
|
|
39503
|
+
...vN(t, s, a),
|
|
39504
|
+
...wN(t, s, a)
|
|
39502
39505
|
], MZ = [
|
|
39503
39506
|
...HD,
|
|
39504
39507
|
is("dragger", { handlers: VD($Z) })
|
|
@@ -39615,14 +39618,14 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39615
39618
|
finish: vt
|
|
39616
39619
|
});
|
|
39617
39620
|
});
|
|
39618
|
-
}), W = b0(N), J = b0(H), de = Tl(W.asSpec()), Me = Tl(J.asSpec()),
|
|
39621
|
+
}), W = b0(N), J = b0(H), de = Tl(W.asSpec()), Me = Tl(J.asSpec()), Ce = (vt, At, Wn, jt) => {
|
|
39619
39622
|
const Dn = At.dom.getBoundingClientRect();
|
|
39620
39623
|
Co(vt.element, "display");
|
|
39621
39624
|
const Sn = Hl(Ae.fromDom(t.getBody())).dom.innerHeight, Yo = Wn(Dn), bn = jt(Dn, Sn);
|
|
39622
39625
|
(Yo || bn) && Yt(vt.element, "display", "none");
|
|
39623
39626
|
}, ve = (vt, At, Wn, jt) => {
|
|
39624
39627
|
const Dn = Wn(At);
|
|
39625
|
-
ab.snapTo(vt, Dn),
|
|
39628
|
+
ab.snapTo(vt, Dn), Ce(vt, At, (bn) => bn[jt] < 0, (bn, Ro) => bn[jt] > Ro);
|
|
39626
39629
|
}, Oe = (vt) => ve(de, vt, w, "top"), dt = () => g.get().each(Oe), Je = (vt) => ve(Me, vt, E, "bottom"), Ge = () => p.get().each(Je);
|
|
39627
39630
|
yi().deviceType.isTouch() && (t.on("TableSelectionChange", (vt) => {
|
|
39628
39631
|
d.get() || (eg(s, de), eg(s, Me), d.set(!0)), g.set(vt.start), p.set(vt.finish), vt.otherCells.each((At) => {
|
|
@@ -39718,7 +39721,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39718
39721
|
const FZ = (t, s, a, c, d) => {
|
|
39719
39722
|
const g = { height: Xk(c + s.top, Fv(t), KT(t)) };
|
|
39720
39723
|
return a === v0.Both && (g.width = Xk(d + s.left, qT(t), X_(t))), g;
|
|
39721
|
-
},
|
|
39724
|
+
}, xN = (t, s, a) => {
|
|
39722
39725
|
const c = Ae.fromDom(t.getContainer()), d = FZ(t, s, a, Us(c), Wr(c));
|
|
39723
39726
|
ds(d, (g, p) => {
|
|
39724
39727
|
Ls(g) && Yt(c, p, Yk(g));
|
|
@@ -39728,8 +39731,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39728
39731
|
return s === !1 ? v0.None : s === "both" ? v0.Both : v0.Vertical;
|
|
39729
39732
|
}, xg = (t, s, a, c) => {
|
|
39730
39733
|
const g = Lo(a * 20, c * 20);
|
|
39731
|
-
return
|
|
39732
|
-
},
|
|
39734
|
+
return xN(t, g, s), D.some(!0);
|
|
39735
|
+
}, CN = (t, s) => {
|
|
39733
39736
|
const a = HZ(t);
|
|
39734
39737
|
if (a === v0.None)
|
|
39735
39738
|
return D.none();
|
|
@@ -39745,7 +39748,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39745
39748
|
ab.config({
|
|
39746
39749
|
mode: "mouse",
|
|
39747
39750
|
repositionTarget: !1,
|
|
39748
|
-
onDrag: (d, g, p) =>
|
|
39751
|
+
onDrag: (d, g, p) => xN(t, p, a),
|
|
39749
39752
|
blockerClass: "tox-blocker"
|
|
39750
39753
|
}),
|
|
39751
39754
|
mn.config({
|
|
@@ -39892,11 +39895,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39892
39895
|
classes: ["tox-statusbar"]
|
|
39893
39896
|
},
|
|
39894
39897
|
components: (() => {
|
|
39895
|
-
const w = g(), C =
|
|
39898
|
+
const w = g(), C = CN(t, s);
|
|
39896
39899
|
return w.concat(C.toArray());
|
|
39897
39900
|
})()
|
|
39898
39901
|
};
|
|
39899
|
-
},
|
|
39902
|
+
}, _N = (t, s) => s.get().getOrDie(`UI for ${t} has not been rendered`), UZ = (t, s) => {
|
|
39900
39903
|
const a = t.inline, c = a ? fW : AB, d = Pw(t) ? fP : Tx, g = gW(), p = ro(), w = ro(), C = ro(), H = yi().deviceType.isTouch() ? ["tox-platform-touch"] : [], W = rE(t), J = Hv(t), de = Jo({
|
|
39901
39904
|
dom: {
|
|
39902
39905
|
tag: "div",
|
|
@@ -39907,7 +39910,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39907
39910
|
tag: "div",
|
|
39908
39911
|
classes: ["tox-bottom-anchorbar"]
|
|
39909
39912
|
}
|
|
39910
|
-
}),
|
|
39913
|
+
}), Ce = () => g.mainUi.get().map((yn) => yn.outerContainer).bind(Os.getHeader), ve = () => Vn.fromOption(g.dialogUi.get().map((yn) => yn.sink), "UI has not been rendered"), Oe = () => Vn.fromOption(g.popupUi.get().map((yn) => yn.sink), "(popup) UI has not been rendered"), dt = g.lazyGetInOuterOrDie("anchor bar", de.getOpt), Je = g.lazyGetInOuterOrDie("bottom anchor bar", Me.getOpt), Ge = g.lazyGetInOuterOrDie("toolbar", Os.getToolbar), vt = g.lazyGetInOuterOrDie("throbber", Os.getThrobber), At = py({
|
|
39911
39914
|
popup: Oe,
|
|
39912
39915
|
dialog: ve
|
|
39913
39916
|
}, t, dt, Je), Wn = () => {
|
|
@@ -39935,7 +39938,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39935
39938
|
},
|
|
39936
39939
|
type: J,
|
|
39937
39940
|
lazyToolbar: Ge,
|
|
39938
|
-
lazyHeader: () =>
|
|
39941
|
+
lazyHeader: () => Ce().getOrDie("Could not find header element"),
|
|
39939
39942
|
...yn
|
|
39940
39943
|
}), Mo = Os.parts["multiple-toolbar"]({
|
|
39941
39944
|
dom: {
|
|
@@ -40004,7 +40007,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40004
40007
|
].concat(H),
|
|
40005
40008
|
attributes: { ...Hu.isRtl() ? { dir: "rtl" } : {} }
|
|
40006
40009
|
},
|
|
40007
|
-
behaviours: xt([Al.config({ useFixed: () => d.isDocked(
|
|
40010
|
+
behaviours: xt([Al.config({ useFixed: () => d.isDocked(Ce) })])
|
|
40008
40011
|
}, Mo = {
|
|
40009
40012
|
dom: { styles: { width: document.body.clientWidth + "px" } },
|
|
40010
40013
|
events: As([Qe(id(), (Od) => {
|
|
@@ -40028,7 +40031,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40028
40031
|
attributes: { ...Hu.isRtl() ? { dir: "rtl" } : {} }
|
|
40029
40032
|
},
|
|
40030
40033
|
behaviours: xt([Al.config({
|
|
40031
|
-
useFixed: () => d.isDocked(
|
|
40034
|
+
useFixed: () => d.isDocked(Ce),
|
|
40032
40035
|
getBounds: () => s.getPopupSinkBounds()
|
|
40033
40036
|
})])
|
|
40034
40037
|
}, Hn = Tl(yn), ks = IS(Hn);
|
|
@@ -40119,7 +40122,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40119
40122
|
sidebar: xm,
|
|
40120
40123
|
views: S0
|
|
40121
40124
|
};
|
|
40122
|
-
Dt(Hn.outerContainer), Y8(t, Hn.mothership, Mo), d.setup(t, At.popup.shared,
|
|
40125
|
+
Dt(Hn.outerContainer), Y8(t, Hn.mothership, Mo), d.setup(t, At.popup.shared, Ce), XB(t, At.popup), aZ(t, At.popup.shared.getSink, At.popup), vP(t), Dz(t, vt, At.popup.shared), WB(t, Od, ks.sink, { backstage: At.popup }), IZ(t, ks.sink);
|
|
40123
40126
|
const Nh = t.getElement(), Kx = Ro(Hn.outerContainer), oO = {
|
|
40124
40127
|
targetNode: Nh,
|
|
40125
40128
|
height: Kx
|
|
@@ -40139,11 +40142,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40139
40142
|
return {
|
|
40140
40143
|
popups: {
|
|
40141
40144
|
backstage: At.popup,
|
|
40142
|
-
getMothership: () =>
|
|
40145
|
+
getMothership: () => _N("popups", C)
|
|
40143
40146
|
},
|
|
40144
40147
|
dialogs: {
|
|
40145
40148
|
backstage: At.dialog,
|
|
40146
|
-
getMothership: () =>
|
|
40149
|
+
getMothership: () => _N("dialogs", w)
|
|
40147
40150
|
},
|
|
40148
40151
|
renderUI: Pn
|
|
40149
40152
|
};
|
|
@@ -40327,26 +40330,26 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40327
40330
|
"custom"
|
|
40328
40331
|
]),
|
|
40329
40332
|
...Vx
|
|
40330
|
-
],
|
|
40333
|
+
], SN = [
|
|
40331
40334
|
au("type", ["menu"]),
|
|
40332
40335
|
ug,
|
|
40333
40336
|
Lw,
|
|
40334
40337
|
Vu,
|
|
40335
40338
|
Ec("items", qD),
|
|
40336
40339
|
...Bh
|
|
40337
|
-
],
|
|
40340
|
+
], kN = [
|
|
40338
40341
|
...Bh,
|
|
40339
40342
|
au("type", ["togglebutton"]),
|
|
40340
40343
|
Bo("tooltip"),
|
|
40341
40344
|
Vu,
|
|
40342
40345
|
ug,
|
|
40343
40346
|
Xr("active", !1)
|
|
40344
|
-
],
|
|
40347
|
+
], TN = vo("type", {
|
|
40345
40348
|
submit: KD,
|
|
40346
40349
|
cancel: KD,
|
|
40347
40350
|
custom: KD,
|
|
40348
|
-
menu:
|
|
40349
|
-
togglebutton:
|
|
40351
|
+
menu: SN,
|
|
40352
|
+
togglebutton: kN
|
|
40350
40353
|
}), GZ = [
|
|
40351
40354
|
Qr,
|
|
40352
40355
|
Eh,
|
|
@@ -40361,7 +40364,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40361
40364
|
], qZ = rn(GZ), KZ = (t) => [
|
|
40362
40365
|
Qr,
|
|
40363
40366
|
t
|
|
40364
|
-
],
|
|
40367
|
+
], EN = [
|
|
40365
40368
|
Qr,
|
|
40366
40369
|
Eh,
|
|
40367
40370
|
wd,
|
|
@@ -40374,17 +40377,17 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40374
40377
|
"toolbar"
|
|
40375
40378
|
]),
|
|
40376
40379
|
dg
|
|
40377
|
-
],
|
|
40380
|
+
], AN = rn(EN), y0 = [
|
|
40378
40381
|
Qr,
|
|
40379
40382
|
_E
|
|
40380
40383
|
], xf = y0.concat([hS]), YZ = y0.concat([
|
|
40381
40384
|
gS,
|
|
40382
40385
|
wd
|
|
40383
|
-
]), XZ = rn(YZ),
|
|
40386
|
+
]), XZ = rn(YZ), DN = ru, JZ = xf.concat([l$("auto")]), QZ = rn(JZ), ej = Tu([
|
|
40384
40387
|
Gv,
|
|
40385
40388
|
Eh,
|
|
40386
40389
|
SE
|
|
40387
|
-
]), YD = xf.concat([Kc("storageKey", "default")]), XD = rn(YD), tj = ya, oj = rn(xf), sj = ya,
|
|
40390
|
+
]), YD = xf.concat([Kc("storageKey", "default")]), XD = rn(YD), tj = ya, oj = rn(xf), sj = ya, ON = y0.concat([
|
|
40388
40391
|
Kc("tag", "textarea"),
|
|
40389
40392
|
Bo("scriptId"),
|
|
40390
40393
|
Bo("scriptUrl"),
|
|
@@ -40392,7 +40395,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40392
40395
|
]), rj = y0.concat([
|
|
40393
40396
|
Kc("tag", "textarea"),
|
|
40394
40397
|
lu("init")
|
|
40395
|
-
]), aj = Hd((t) => Js("customeditor.old", Es(rj), t).orThunk(() => Js("customeditor.new", Es(
|
|
40398
|
+
]), aj = Hd((t) => Js("customeditor.old", Es(rj), t).orThunk(() => Js("customeditor.new", Es(ON), t))), lb = ya, cj = rn(xf), g4 = vb(), Sy = (t) => [
|
|
40396
40399
|
Qr,
|
|
40397
40400
|
Kg("columns"),
|
|
40398
40401
|
t
|
|
@@ -40403,12 +40406,12 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40403
40406
|
"presentation",
|
|
40404
40407
|
"document"
|
|
40405
40408
|
])
|
|
40406
|
-
],
|
|
40409
|
+
], RN = rn(h4), p4 = xf.concat([
|
|
40407
40410
|
Xr("border", !1),
|
|
40408
40411
|
Xr("sandboxed", !0),
|
|
40409
40412
|
Xr("streamContent", !1),
|
|
40410
40413
|
Xr("transparent", !0)
|
|
40411
|
-
]), Hi = rn(p4), b4 = ya, $
|
|
40414
|
+
]), Hi = rn(p4), b4 = ya, $N = rn(y0.concat([La("height")])), MN = rn([
|
|
40412
40415
|
Bo("url"),
|
|
40413
40416
|
Bm("zoom"),
|
|
40414
40417
|
Bm("cachedWidth"),
|
|
@@ -40430,16 +40433,16 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40430
40433
|
], dj = [
|
|
40431
40434
|
Eh,
|
|
40432
40435
|
Gv
|
|
40433
|
-
],
|
|
40436
|
+
], PN = [
|
|
40434
40437
|
Eh,
|
|
40435
40438
|
Ec("items", Of("items", () => cb))
|
|
40436
40439
|
], cb = qt([
|
|
40437
40440
|
rn(dj),
|
|
40438
|
-
rn(
|
|
40441
|
+
rn(PN)
|
|
40439
40442
|
]), v4 = xf.concat([
|
|
40440
40443
|
Ec("items", cb),
|
|
40441
40444
|
wd
|
|
40442
|
-
]),
|
|
40445
|
+
]), BN = rn(v4), mj = ya, fj = xf.concat([
|
|
40443
40446
|
A0("items", [
|
|
40444
40447
|
Eh,
|
|
40445
40448
|
Gv
|
|
@@ -40449,7 +40452,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40449
40452
|
]), gj = rn(fj), hj = ya, ky = xf.concat([
|
|
40450
40453
|
Xr("constrain", !0),
|
|
40451
40454
|
wd
|
|
40452
|
-
]), BG = rn(ky),
|
|
40455
|
+
]), BG = rn(ky), NN = rn([
|
|
40453
40456
|
Bo("width"),
|
|
40454
40457
|
Bo("height")
|
|
40455
40458
|
]), pj = y0.concat([
|
|
@@ -40464,7 +40467,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40464
40467
|
La("placeholder"),
|
|
40465
40468
|
Xr("maximized", !1),
|
|
40466
40469
|
wd
|
|
40467
|
-
]), wj = rn(yj),
|
|
40470
|
+
]), wj = rn(yj), IN = ya, LN = [
|
|
40468
40471
|
au("type", [
|
|
40469
40472
|
"directory",
|
|
40470
40473
|
"leaf"
|
|
@@ -40472,7 +40475,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40472
40475
|
o$,
|
|
40473
40476
|
Bo("id"),
|
|
40474
40477
|
Au("menu", KA)
|
|
40475
|
-
], e = rn(
|
|
40478
|
+
], e = rn(LN), n = LN.concat([Ec("children", Of("children", () => ut("type", {
|
|
40476
40479
|
directory: o,
|
|
40477
40480
|
leaf: e
|
|
40478
40481
|
})))]), o = rn(n), r = ut("type", {
|
|
@@ -40499,7 +40502,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40499
40502
|
]), k = (t) => Ia("items", "items", Eo(), ku(Hd((s) => Js(`Checking item of ${t}`, P, s).fold((a) => Vn.error(il(a)), (a) => Vn.value(a))))), P = va(() => ut("type", {
|
|
40500
40503
|
alertbanner: qZ,
|
|
40501
40504
|
bar: rn(KZ(k("bar"))),
|
|
40502
|
-
button:
|
|
40505
|
+
button: AN,
|
|
40503
40506
|
checkbox: XZ,
|
|
40504
40507
|
colorinput: XD,
|
|
40505
40508
|
colorpicker: oj,
|
|
@@ -40507,15 +40510,15 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40507
40510
|
grid: rn(Sy(k("grid"))),
|
|
40508
40511
|
iframe: Hi,
|
|
40509
40512
|
input: uj,
|
|
40510
|
-
listbox:
|
|
40513
|
+
listbox: BN,
|
|
40511
40514
|
selectbox: gj,
|
|
40512
40515
|
sizeinput: BG,
|
|
40513
40516
|
slider: NG,
|
|
40514
40517
|
textarea: wj,
|
|
40515
40518
|
urlinput: b,
|
|
40516
40519
|
customeditor: aj,
|
|
40517
|
-
htmlpanel:
|
|
40518
|
-
imagepreview: $
|
|
40520
|
+
htmlpanel: RN,
|
|
40521
|
+
imagepreview: $N,
|
|
40519
40522
|
collection: QZ,
|
|
40520
40523
|
label: rn(PG(k("label"))),
|
|
40521
40524
|
table: zx,
|
|
@@ -40532,7 +40535,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40532
40535
|
], oe = [
|
|
40533
40536
|
Qr,
|
|
40534
40537
|
A0("tabs", Q)
|
|
40535
|
-
], K = rn(oe), se = Vx, we =
|
|
40538
|
+
], K = rn(oe), se = Vx, we = TN, ke = rn([
|
|
40536
40539
|
Bo("title"),
|
|
40537
40540
|
dc("body", ut("type", {
|
|
40538
40541
|
panel: F,
|
|
@@ -40564,19 +40567,19 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40564
40567
|
sa("onClose", he),
|
|
40565
40568
|
sa("onMessage", he)
|
|
40566
40569
|
]), wt = (t) => Js("dialog", rt, t), Ft = (t) => $e(t) ? [t].concat(Te(Gi(t), Ft)) : yt(t) ? Te(t, Ft) : [], We = (t) => ee(t.type) && ee(t.name), Ve = {
|
|
40567
|
-
checkbox:
|
|
40570
|
+
checkbox: DN,
|
|
40568
40571
|
colorinput: tj,
|
|
40569
40572
|
colorpicker: sj,
|
|
40570
40573
|
dropzone: g4,
|
|
40571
40574
|
input: w0,
|
|
40572
40575
|
iframe: b4,
|
|
40573
|
-
imagepreview:
|
|
40576
|
+
imagepreview: MN,
|
|
40574
40577
|
selectbox: hj,
|
|
40575
|
-
sizeinput:
|
|
40578
|
+
sizeinput: NN,
|
|
40576
40579
|
slider: bj,
|
|
40577
40580
|
listbox: mj,
|
|
40578
|
-
size:
|
|
40579
|
-
textarea:
|
|
40581
|
+
size: NN,
|
|
40582
|
+
textarea: IN,
|
|
40580
40583
|
urlinput: y,
|
|
40581
40584
|
customeditor: lb,
|
|
40582
40585
|
collection: ej,
|
|
@@ -41507,17 +41510,17 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41507
41510
|
de.getSystem().isConnected() && J(de);
|
|
41508
41511
|
}, W = {
|
|
41509
41512
|
getData: () => {
|
|
41510
|
-
const J = t.getRoot(), de = J.getSystem().isConnected() ? t.getFormWrapper() : J, Me = Vt.getValue(de),
|
|
41513
|
+
const J = t.getRoot(), de = J.getSystem().isConnected() ? t.getFormWrapper() : J, Me = Vt.getValue(de), Ce = Ko(a, (ve) => ve.get());
|
|
41511
41514
|
return {
|
|
41512
41515
|
...Me,
|
|
41513
|
-
...
|
|
41516
|
+
...Ce
|
|
41514
41517
|
};
|
|
41515
41518
|
},
|
|
41516
41519
|
setData: (J) => {
|
|
41517
41520
|
c((de) => {
|
|
41518
|
-
const Me = W.getData(),
|
|
41521
|
+
const Me = W.getData(), Ce = Go(Me, J), ve = wm(t, Ce), Oe = t.getFormWrapper();
|
|
41519
41522
|
Vt.setValue(Oe, ve), ds(a, (dt, Je) => {
|
|
41520
|
-
xo(
|
|
41523
|
+
xo(Ce, Je) && dt.set(Ce[Je]);
|
|
41521
41524
|
});
|
|
41522
41525
|
});
|
|
41523
41526
|
},
|
|
@@ -41549,11 +41552,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41549
41552
|
},
|
|
41550
41553
|
redial: (J) => {
|
|
41551
41554
|
c((de) => {
|
|
41552
|
-
const Me = t.getId(),
|
|
41553
|
-
de.getSystem().broadcastOn([`${dy}-${Me}`],
|
|
41554
|
-
...
|
|
41555
|
+
const Me = t.getId(), Ce = s(J), ve = x4(Ce.internalDialog.buttons, a);
|
|
41556
|
+
de.getSystem().broadcastOn([`${dy}-${Me}`], Ce), de.getSystem().broadcastOn([`${vg}-${Me}`], Ce.internalDialog), de.getSystem().broadcastOn([`${sk}-${Me}`], Ce.internalDialog), de.getSystem().broadcastOn([`${K5}-${Me}`], {
|
|
41557
|
+
...Ce.internalDialog,
|
|
41555
41558
|
buttons: ve
|
|
41556
|
-
}), W.setData(
|
|
41559
|
+
}), W.setData(Ce.initialData);
|
|
41557
41560
|
});
|
|
41558
41561
|
},
|
|
41559
41562
|
close: () => {
|
|
@@ -41568,7 +41571,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41568
41571
|
const c = Gt("dialog"), d = t.internalDialog, g = St(d.title, c, a), p = gn(d.size), w = el(p.get()).toArray(), C = (ve, Oe) => (p.set(Oe.internalDialog.size), _0(Oe.internalDialog.size, ve), D.some(Oe)), E = Zx({
|
|
41569
41572
|
body: d.body,
|
|
41570
41573
|
initialData: d.initialData
|
|
41571
|
-
}, c, a), $ = x4(d.buttons), N = eO($), H = pn($.length !== 0, Dd({ buttons: $ }, c, a)), W = ao(() =>
|
|
41574
|
+
}, c, a), $ = x4(d.buttons), N = eO($), H = pn($.length !== 0, Dd({ buttons: $ }, c, a)), W = ao(() => Ce, ln(() => de, a.shared.providers, s), a.shared.getSink), J = {
|
|
41572
41575
|
id: c,
|
|
41573
41576
|
header: g,
|
|
41574
41577
|
body: E,
|
|
@@ -41595,10 +41598,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41595
41598
|
getFormWrapper: ve,
|
|
41596
41599
|
toggleFullscreen: Oe
|
|
41597
41600
|
};
|
|
41598
|
-
})(),
|
|
41601
|
+
})(), Ce = C4(Me, s.redial, N);
|
|
41599
41602
|
return {
|
|
41600
41603
|
dialog: de,
|
|
41601
|
-
instanceApi:
|
|
41604
|
+
instanceApi: Ce
|
|
41602
41605
|
};
|
|
41603
41606
|
}, nO = (t, s, a, c = !1, d) => {
|
|
41604
41607
|
const g = Gt("dialog"), p = Gt("dialog-label"), w = Gt("dialog-content"), C = t.internalDialog, E = gn(C.size), $ = el(E.get()).toArray(), N = (Ge, vt) => (E.set(vt.internalDialog.size), _0(vt.internalDialog.size, Ge), d(), D.some(vt)), H = Jo(Ne({
|
|
@@ -41607,7 +41610,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41607
41610
|
}, g, p, a.shared.providers)), W = Jo(_g({
|
|
41608
41611
|
body: C.body,
|
|
41609
41612
|
initialData: C.initialData
|
|
41610
|
-
}, g, w, a, c)), J = x4(C.buttons), de = eO(J), Me = pn(J.length !== 0, Jo(Lc({ buttons: J }, g, a))),
|
|
41613
|
+
}, g, w, a, c)), J = x4(C.buttons), de = eO(J), Me = pn(J.length !== 0, Jo(Lc({ buttons: J }, g, a))), Ce = ao(() => Je, {
|
|
41611
41614
|
onBlock: (Ge) => {
|
|
41612
41615
|
pm.block(Oe, (vt, At) => {
|
|
41613
41616
|
const Wn = H.getOpt(Oe).map((jt) => Us(jt.element));
|
|
@@ -41655,7 +41658,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41655
41658
|
initialData: t
|
|
41656
41659
|
}),
|
|
41657
41660
|
_n.config({}),
|
|
41658
|
-
Un("execute-on-form",
|
|
41661
|
+
Un("execute-on-form", Ce.concat([
|
|
41659
41662
|
Wd(dl(), (Ge, vt) => {
|
|
41660
41663
|
mn.focusIn(Ge);
|
|
41661
41664
|
}),
|
|
@@ -41690,7 +41693,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41690
41693
|
instanceApi: Je
|
|
41691
41694
|
};
|
|
41692
41695
|
};
|
|
41693
|
-
var
|
|
41696
|
+
var FN = tinymce.util.Tools.resolve("tinymce.util.URI");
|
|
41694
41697
|
const fq = (t) => {
|
|
41695
41698
|
const s = (p) => {
|
|
41696
41699
|
t.getSystem().isConnected() && p(t);
|
|
@@ -41749,7 +41752,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41749
41752
|
break;
|
|
41750
41753
|
}
|
|
41751
41754
|
}, bq = (t, s, a, c) => {
|
|
41752
|
-
const d = Gt("dialog"), g = St(t.title, d, c), p = Ay(t), w = t.buttons.bind((Oe) => Oe.length === 0 ? D.none() : D.some(Dd({ buttons: Oe }, d, c))), C = xj(() => ve, ln(() =>
|
|
41755
|
+
const d = Gt("dialog"), g = St(t.title, d, c), p = Ay(t), w = t.buttons.bind((Oe) => Oe.length === 0 ? D.none() : D.some(Dd({ buttons: Oe }, d, c))), C = xj(() => ve, ln(() => Ce, c.shared.providers, s)), E = {
|
|
41753
41756
|
...t.height.fold(() => ({}), (Oe) => ({
|
|
41754
41757
|
height: Oe + "px",
|
|
41755
41758
|
"max-height": Oe + "px"
|
|
@@ -41758,7 +41761,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41758
41761
|
width: Oe + "px",
|
|
41759
41762
|
"max-width": Oe + "px"
|
|
41760
41763
|
}))
|
|
41761
|
-
}, $ = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], N = new
|
|
41764
|
+
}, $ = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], N = new FN(t.url, { base_uri: new FN(window.location.href) }), H = `${N.protocol}://${N.host}${N.port ? ":" + N.port : ""}`, W = Xm(), J = (Oe, dt) => D.some(dt), de = [
|
|
41762
41765
|
Kn.config({
|
|
41763
41766
|
channel: `${dy}-${d}`,
|
|
41764
41767
|
updateState: J,
|
|
@@ -41767,7 +41770,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41767
41770
|
Un("messages", [
|
|
41768
41771
|
Cs(() => {
|
|
41769
41772
|
const Oe = Jl(Ae.fromDom(window), "message", (dt) => {
|
|
41770
|
-
if (N.isSameOrigin(new
|
|
41773
|
+
if (N.isSameOrigin(new FN(dt.raw.origin))) {
|
|
41771
41774
|
const Je = dt.raw.data;
|
|
41772
41775
|
IG(Je) ? pq(a, ve, Je) : hq(Je) && t.onMessage(ve, Je);
|
|
41773
41776
|
}
|
|
@@ -41788,7 +41791,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41788
41791
|
}
|
|
41789
41792
|
}
|
|
41790
41793
|
})
|
|
41791
|
-
],
|
|
41794
|
+
], Ce = QD({
|
|
41792
41795
|
id: d,
|
|
41793
41796
|
header: g,
|
|
41794
41797
|
body: p,
|
|
@@ -41796,9 +41799,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41796
41799
|
extraClasses: $,
|
|
41797
41800
|
extraBehaviours: de,
|
|
41798
41801
|
extraStyles: E
|
|
41799
|
-
}, C, c), ve = fq(
|
|
41802
|
+
}, C, c), ve = fq(Ce);
|
|
41800
41803
|
return {
|
|
41801
|
-
dialog:
|
|
41804
|
+
dialog: Ce,
|
|
41802
41805
|
instanceApi: ve
|
|
41803
41806
|
};
|
|
41804
41807
|
}, vq = (t) => {
|
|
@@ -41903,8 +41906,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41903
41906
|
}
|
|
41904
41907
|
return C(J, Me);
|
|
41905
41908
|
}, p = (J, de) => w(J, de), w = (J, de) => {
|
|
41906
|
-
const Me = (
|
|
41907
|
-
const ve = bq(
|
|
41909
|
+
const Me = (Ce) => {
|
|
41910
|
+
const ve = bq(Ce, {
|
|
41908
41911
|
closeWindow: () => {
|
|
41909
41912
|
Kr.hide(ve.dialog), de(ve.instanceApi);
|
|
41910
41913
|
}
|
|
@@ -41913,11 +41916,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41913
41916
|
};
|
|
41914
41917
|
return qn.openUrl(Me, J);
|
|
41915
41918
|
}, C = (J, de) => {
|
|
41916
|
-
const Me = (
|
|
41919
|
+
const Me = (Ce, ve, Oe) => {
|
|
41917
41920
|
const dt = ve, Ge = Cj({
|
|
41918
41921
|
dataValidator: Oe,
|
|
41919
41922
|
initialData: dt,
|
|
41920
|
-
internalDialog:
|
|
41923
|
+
internalDialog: Ce
|
|
41921
41924
|
}, {
|
|
41922
41925
|
redial: qn.redial,
|
|
41923
41926
|
closeWindow: () => {
|
|
@@ -41927,7 +41930,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41927
41930
|
return Kr.show(Ge.dialog), Ge.instanceApi.setData(dt), Ge.instanceApi;
|
|
41928
41931
|
};
|
|
41929
41932
|
return qn.open(Me, J);
|
|
41930
|
-
}, E = (J, de, Me,
|
|
41933
|
+
}, E = (J, de, Me, Ce) => {
|
|
41931
41934
|
const ve = (Oe, dt, Je) => {
|
|
41932
41935
|
const Ge = LG(dt, Je), vt = ro(), At = t.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
|
|
41933
41936
|
dataValidator: Je,
|
|
@@ -41940,13 +41943,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41940
41943
|
closeWindow: () => {
|
|
41941
41944
|
vt.on(dr.hide), s.off("ResizeEditor", jt), vt.clear(), Me(Dn.instanceApi);
|
|
41942
41945
|
}
|
|
41943
|
-
}, t.backstages.popup,
|
|
41946
|
+
}, t.backstages.popup, Ce.ariaAttrs, jt), Sn = Tl(dr.sketch({
|
|
41944
41947
|
lazySink: t.backstages.popup.shared.getSink,
|
|
41945
41948
|
dom: {
|
|
41946
41949
|
tag: "div",
|
|
41947
41950
|
classes: []
|
|
41948
41951
|
},
|
|
41949
|
-
fireDismissalEventInstead:
|
|
41952
|
+
fireDismissalEventInstead: Ce.persistent ? { event: "doNotDismissYet" } : {},
|
|
41950
41953
|
...At ? {} : { fireRepositionEventInstead: {} },
|
|
41951
41954
|
inlineBehaviours: xt([
|
|
41952
41955
|
Un("window-manager-inline-events", [Qe(If(), (bn, Ro) => {
|
|
@@ -41964,7 +41967,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41964
41967
|
return dr.showWithinBounds(Sn, Ti(Dn.dialog), { anchor: de }, Yo), (!a || !At) && (sr.refresh(Sn), s.on("ResizeEditor", jt)), Dn.instanceApi.setData(Ge), mn.focusIn(Dn.dialog), Dn.instanceApi;
|
|
41965
41968
|
};
|
|
41966
41969
|
return qn.open(ve, J);
|
|
41967
|
-
}, $ = (J, de, Me,
|
|
41970
|
+
}, $ = (J, de, Me, Ce) => {
|
|
41968
41971
|
const ve = (Oe, dt, Je) => {
|
|
41969
41972
|
const Ge = LG(dt, Je), vt = ro(), At = t.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
|
|
41970
41973
|
dataValidator: Je,
|
|
@@ -41977,13 +41980,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41977
41980
|
closeWindow: () => {
|
|
41978
41981
|
vt.on(dr.hide), s.off("ResizeEditor ScrollWindow ElementScroll", jt), vt.clear(), Me(Dn.instanceApi);
|
|
41979
41982
|
}
|
|
41980
|
-
}, t.backstages.popup,
|
|
41983
|
+
}, t.backstages.popup, Ce.ariaAttrs, jt), Sn = Tl(dr.sketch({
|
|
41981
41984
|
lazySink: t.backstages.popup.shared.getSink,
|
|
41982
41985
|
dom: {
|
|
41983
41986
|
tag: "div",
|
|
41984
41987
|
classes: []
|
|
41985
41988
|
},
|
|
41986
|
-
fireDismissalEventInstead:
|
|
41989
|
+
fireDismissalEventInstead: Ce.persistent ? { event: "doNotDismissYet" } : {},
|
|
41987
41990
|
...At ? {} : { fireRepositionEventInstead: {} },
|
|
41988
41991
|
inlineBehaviours: xt([
|
|
41989
41992
|
Un("window-manager-inline-events", [Qe(If(), (bn, Ro) => {
|
|
@@ -42078,7 +42081,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42078
42081
|
}, G = (i) => {
|
|
42079
42082
|
const m = typeof i;
|
|
42080
42083
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && re(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
42081
|
-
}, _e = (i) => (m) => G(m) === i, ne = (i) => (m) => typeof m === i, Z = (i) => (m) => i === m,
|
|
42084
|
+
}, _e = (i) => (m) => G(m) === i, ne = (i) => (m) => typeof m === i, Z = (i) => (m) => i === m, xe = _e("string"), ee = _e("object"), $e = _e("array"), at = Z(null), yt = ne("boolean"), hn = Z(void 0), Et = (i) => i == null, io = (i) => !Et(i), lo = ne("function"), eo = ne("number"), Ot = () => {
|
|
42082
42085
|
}, Ls = (i, m) => (...h) => i(m.apply(null, h)), un = (i, m) => (h) => i(m(h)), he = (i) => () => i, kt = (i) => i, ia = (i, m) => i === m;
|
|
42083
42086
|
function oo(i, ...m) {
|
|
42084
42087
|
return (...h) => {
|
|
@@ -42312,7 +42315,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42312
42315
|
const m = wr("ownerDocument.defaultView", i);
|
|
42313
42316
|
return ee(i) && (Gi(m).prototype.isPrototypeOf(i) || /^HTML\w*Element$/.test(es(i).constructor.name));
|
|
42314
42317
|
}, xo = 8, Ar = 9, Da = 11, Nl = 1, Oa = 3, ts = (i) => i.dom.nodeName.toLowerCase(), nl = (i) => i.dom.nodeType, vl = (i) => (m) => nl(m) === i, Xo = (i) => nl(i) === xo || ts(i) === "#comment", pn = (i) => Dr(i) && bt(i.dom), Dr = vl(Nl), Il = vl(Oa), Fc = vl(Ar), mi = vl(Da), xr = (i) => (m) => Dr(m) && ts(m) === i, fr = (i, m, h) => {
|
|
42315
|
-
if (
|
|
42318
|
+
if (xe(h) || yt(h) || eo(h))
|
|
42316
42319
|
i.setAttribute(m, h + "");
|
|
42317
42320
|
else
|
|
42318
42321
|
throw console.error("Invalid call to Attribute.set. Key ", m, ":: Value ", h, ":: Element ", i), new Error("Attribute value was not simple");
|
|
@@ -42586,7 +42589,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42586
42589
|
const m = parseFloat(i);
|
|
42587
42590
|
return isNaN(m) ? pe.none() : pe.some(m);
|
|
42588
42591
|
}, Wr = (i) => i.style !== void 0 && lo(i.style.getPropertyValue), ga = (i, m, h) => {
|
|
42589
|
-
if (!
|
|
42592
|
+
if (!xe(h))
|
|
42590
42593
|
throw console.error("Invalid call to CSS.set. Property ", m, ":: Value ", h, ":: Element ", i), new Error("CSS value must be a string: " + h);
|
|
42591
42594
|
Wr(i) && i.style.setProperty(m, h);
|
|
42592
42595
|
}, Hh = (i, m) => {
|
|
@@ -44899,7 +44902,7 @@ Required: ` + m.join(", "));
|
|
|
44899
44902
|
y2(i, v.dom);
|
|
44900
44903
|
});
|
|
44901
44904
|
});
|
|
44902
|
-
}, ov = (i) =>
|
|
44905
|
+
}, ov = (i) => xe(i) && i.indexOf("%") !== -1, _3 = (i, m, h, v, S) => {
|
|
44903
44906
|
const O = Py(i), L = {
|
|
44904
44907
|
styles: O,
|
|
44905
44908
|
attributes: cd(i),
|
|
@@ -45035,7 +45038,7 @@ Required: ` + m.join(", "));
|
|
|
45035
45038
|
const Gn = ho(iu(i), Sb);
|
|
45036
45039
|
if (Gn.length === 0)
|
|
45037
45040
|
return;
|
|
45038
|
-
const qs = yr(tn, (Ta, kr) => i.formatter.has(En(kr)) &&
|
|
45041
|
+
const qs = yr(tn, (Ta, kr) => i.formatter.has(En(kr)) && xe(Ta));
|
|
45039
45042
|
yc(qs) || (Vo(qs, (Ta, kr) => {
|
|
45040
45043
|
const Mc = En(kr);
|
|
45041
45044
|
Pe(Gn, (wh) => {
|
|
@@ -45327,7 +45330,7 @@ Required: ` + m.join(", "));
|
|
|
45327
45330
|
...i,
|
|
45328
45331
|
on: (h) => i.get().each(h)
|
|
45329
45332
|
};
|
|
45330
|
-
}, gv = (i, m) => Ps(i, "td,th", m), Oi = (i) => Ra(i).exists(Bf),
|
|
45333
|
+
}, gv = (i, m) => Ps(i, "td,th", m), Oi = (i) => Ra(i).exists(Bf), GN = (i, m, h, v) => {
|
|
45331
45334
|
const S = Fp(), O = S.clear, L = (De) => {
|
|
45332
45335
|
S.on((lt) => {
|
|
45333
45336
|
v.clearBeforeUpdate(m), gv(De.target, h).each((Bt) => {
|
|
@@ -45539,7 +45542,7 @@ Required: ` + m.join(", "));
|
|
|
45539
45542
|
rows: i,
|
|
45540
45543
|
cols: m
|
|
45541
45544
|
}), Jr = (i, m, h, v) => {
|
|
45542
|
-
const S = Up(i), O =
|
|
45545
|
+
const S = Up(i), O = GN(S, m, h, v);
|
|
45543
45546
|
return {
|
|
45544
45547
|
clearstate: O.clearstate,
|
|
45545
45548
|
mousedown: O.mousedown,
|
|
@@ -45810,7 +45813,7 @@ Required: ` + m.join(", "));
|
|
|
45810
45813
|
if (!$e(m))
|
|
45811
45814
|
throw new Error("The " + i + " fields must be an array. Was: " + m + ".");
|
|
45812
45815
|
Pe(m, (h) => {
|
|
45813
|
-
if (!
|
|
45816
|
+
if (!xe(h))
|
|
45814
45817
|
throw new Error("The value " + h + " in the " + i + " fields was not a string.");
|
|
45815
45818
|
});
|
|
45816
45819
|
}, yh = (i, m) => {
|
|
@@ -46321,7 +46324,7 @@ Required: ` + m.join(", "));
|
|
|
46321
46324
|
}, G = (_) => {
|
|
46322
46325
|
const M = typeof _;
|
|
46323
46326
|
return _ === null ? "null" : M === "object" && Array.isArray(_) ? "array" : M === "object" && re(_, String, (U, ce) => ce.isPrototypeOf(U)) ? "string" : M;
|
|
46324
|
-
}, _e = (_) => (M) => G(M) === _, ne = (_) => (M) => typeof M === _, Z = _e("string"),
|
|
46327
|
+
}, _e = (_) => (M) => G(M) === _, ne = (_) => (M) => typeof M === _, Z = _e("string"), xe = _e("object"), ee = _e("array"), $e = ne("boolean"), at = (_) => _ == null, yt = (_) => !at(_), hn = ne("function"), Et = ne("number"), io = () => {
|
|
46325
46328
|
}, lo = (_, M) => (U) => _(M(U)), eo = (_) => () => _, Ot = (_, M) => _ === M;
|
|
46326
46329
|
function Ls(_, ...M) {
|
|
46327
46330
|
return (...U) => {
|
|
@@ -46526,7 +46529,7 @@ Required: ` + m.join(", "));
|
|
|
46526
46529
|
return U;
|
|
46527
46530
|
}, nr = Object.getPrototypeOf, bs = (_) => yr("HTMLElement", _), ji = (_) => {
|
|
46528
46531
|
const M = vr("ownerDocument.defaultView", _);
|
|
46529
|
-
return
|
|
46532
|
+
return xe(_) && (bs(M).prototype.isPrototypeOf(_) || /^HTML\w*Element$/.test(nr(_).constructor.name));
|
|
46530
46533
|
}, ds = (_) => _.dom.nodeName.toLowerCase(), Ko = (_) => _.dom.nodeType, yc = (_) => (M) => Ko(M) === _, to = (_) => Ko(_) === z || ds(_) === "#comment", vs = (_) => wr(_) && ji(_.dom), wr = yc(rs), Bl = yc(Wo), di = yc(tl), es = yc(so), Gi = (_) => (M) => wr(M) && ds(M) === _, bt = (_) => wn.fromDom(_.dom.ownerDocument), xo = (_) => di(_) ? _ : bt(_), Ar = (_) => kt.from(_.dom.parentNode).map(wn.fromDom), Da = (_) => kt.from(_.dom.parentElement).map(wn.fromDom), Nl = (_) => kt.from(_.dom.nextSibling).map(wn.fromDom), Oa = (_) => Ze(_.dom.childNodes, wn.fromDom), ts = (_, M) => {
|
|
46531
46534
|
const U = _.dom.childNodes;
|
|
46532
46535
|
return kt.from(U[M]).map(wn.fromDom);
|
|
@@ -47154,7 +47157,7 @@ Required: ` + m.join(", "));
|
|
|
47154
47157
|
const ce = Pa(_);
|
|
47155
47158
|
if (ja(_, ce))
|
|
47156
47159
|
return;
|
|
47157
|
-
const be = Yu(_), it =
|
|
47160
|
+
const be = Yu(_), it = xe(U) ? U : {};
|
|
47158
47161
|
be.length > 0 ? hb(_, ce, be, M, it) : Hg(_, ce, M, it);
|
|
47159
47162
|
}, Mm = ea.DOM, Id = (_, M) => {
|
|
47160
47163
|
const U = M.parentElement;
|
|
@@ -47291,7 +47294,7 @@ Required: ` + m.join(", "));
|
|
|
47291
47294
|
}), Mr = (_, M) => {
|
|
47292
47295
|
const U = Pa(_);
|
|
47293
47296
|
U === null || ja(_, U) || _.undoManager.transact(() => {
|
|
47294
|
-
|
|
47297
|
+
xe(M.styles) && _.dom.setStyles(U, M.styles), xe(M.attrs) && $d(M.attrs, (ce, be) => _.dom.setAttrib(U, be, ce));
|
|
47295
47298
|
});
|
|
47296
47299
|
}, Fd = (_) => {
|
|
47297
47300
|
const M = _t(Lh(_).split("")), U = Ze(M, (ce, be) => {
|
|
@@ -47396,7 +47399,7 @@ Required: ` + m.join(", "));
|
|
|
47396
47399
|
}), _.addCommand("RemoveList", () => {
|
|
47397
47400
|
Bg(_);
|
|
47398
47401
|
}), Gc(_), _.addCommand("mceListUpdate", (M, U) => {
|
|
47399
|
-
|
|
47402
|
+
xe(U) && Mr(_, U);
|
|
47400
47403
|
}), _.addQueryStateHandler("InsertUnorderedList", Go(_, "UL")), _.addQueryStateHandler("InsertOrderedList", Go(_, "OL")), _.addQueryStateHandler("InsertDefinitionList", Go(_, "DL"));
|
|
47401
47404
|
};
|
|
47402
47405
|
var cl = tinymce.util.Tools.resolve("tinymce.html.Node");
|
|
@@ -47469,7 +47472,7 @@ Required: ` + m.join(", "));
|
|
|
47469
47472
|
}, G = (q) => {
|
|
47470
47473
|
const ge = typeof q;
|
|
47471
47474
|
return q === null ? "null" : ge === "object" && Array.isArray(q) ? "array" : ge === "object" && re(q, String, (Ee, Ie) => Ie.isPrototypeOf(Ee)) ? "string" : ge;
|
|
47472
|
-
}, _e = (q) => (ge) => G(ge) === q, ne = (q) => (ge) => typeof ge === q, Z = (q) => (ge) => q === ge,
|
|
47475
|
+
}, _e = (q) => (ge) => G(ge) === q, ne = (q) => (ge) => typeof ge === q, Z = (q) => (ge) => q === ge, xe = _e("string"), ee = _e("object"), $e = _e("array"), at = Z(null), yt = ne("boolean"), hn = (q) => q == null, Et = (q) => !hn(q), io = ne("function"), lo = (q, ge) => {
|
|
47473
47476
|
if ($e(q)) {
|
|
47474
47477
|
for (let Ee = 0, Ie = q.length; Ee < Ie; ++Ee)
|
|
47475
47478
|
if (!ge(q[Ee]))
|
|
@@ -47590,7 +47593,7 @@ Required: ` + m.join(", "));
|
|
|
47590
47593
|
const ge = q.options.register;
|
|
47591
47594
|
ge("link_assume_external_targets", {
|
|
47592
47595
|
processor: (Ee) => {
|
|
47593
|
-
const Ie =
|
|
47596
|
+
const Ie = xe(Ee) || yt(Ee);
|
|
47594
47597
|
return Ie ? Ee === !0 ? {
|
|
47595
47598
|
value: 1,
|
|
47596
47599
|
valid: Ie
|
|
@@ -47609,7 +47612,7 @@ Required: ` + m.join(", "));
|
|
|
47609
47612
|
}), ge("link_context_toolbar", {
|
|
47610
47613
|
processor: "boolean",
|
|
47611
47614
|
default: !1
|
|
47612
|
-
}), ge("link_list", { processor: (Ee) =>
|
|
47615
|
+
}), ge("link_list", { processor: (Ee) => xe(Ee) || io(Ee) || lo(Ee, ee) }), ge("link_default_target", { processor: "string" }), ge("link_default_protocol", {
|
|
47613
47616
|
processor: "string",
|
|
47614
47617
|
default: "https"
|
|
47615
47618
|
}), ge("link_target_list", {
|
|
@@ -47633,7 +47636,7 @@ Required: ` + m.join(", "));
|
|
|
47633
47636
|
});
|
|
47634
47637
|
}, ot = D("link_assume_external_targets"), Ht = D("link_context_toolbar"), _t = D("link_list"), Pe = D("link_default_target"), no = D("link_default_protocol"), Ys = D("link_target_list"), ho = D("link_rel_list"), br = D("link_class_list"), tt = D("link_title"), pt = D("allow_unsafe_link_target"), z = D("link_quicklink");
|
|
47635
47638
|
var tl = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
47636
|
-
const so = (q) =>
|
|
47639
|
+
const so = (q) => xe(q.value) ? q.value : "", rs = (q) => xe(q.text) ? q.text : xe(q.title) ? q.title : "", Wo = (q, ge) => {
|
|
47637
47640
|
const Ee = [];
|
|
47638
47641
|
return tl.each(q, (Ie) => {
|
|
47639
47642
|
const ft = rs(Ie);
|
|
@@ -47892,7 +47895,7 @@ Required: ` + m.join(", "));
|
|
|
47892
47895
|
}, ns = { getLinks: (q) => {
|
|
47893
47896
|
const ge = (Ie) => q.convertURL(Ie.value || Ie.url || "", "href"), Ee = _t(q);
|
|
47894
47897
|
return new Promise((Ie) => {
|
|
47895
|
-
|
|
47898
|
+
xe(Ee) ? fetch(Ee).then((ft) => ft.ok ? ft.text().then(Gu) : Promise.reject()).then(Ie, () => Ie(un.none())) : io(Ee) ? Ee((ft) => Ie(un.some(ft))) : Ie(un.from(Ee));
|
|
47896
47899
|
}).then((Ie) => Ie.bind(Ke.sanitizeWith(ge)).map((ft) => ft.length > 0 ? [{
|
|
47897
47900
|
text: "None",
|
|
47898
47901
|
value: ""
|
|
@@ -48226,7 +48229,7 @@ Required: ` + m.join(", "));
|
|
|
48226
48229
|
}, _e = (I) => {
|
|
48227
48230
|
const X = typeof I;
|
|
48228
48231
|
return I === null ? "null" : X === "object" && Array.isArray(I) ? "array" : X === "object" && G(I, String, (le, Fe) => Fe.isPrototypeOf(le)) ? "string" : X;
|
|
48229
|
-
}, ne = (I) => (X) => _e(X) === I, Z = (I) => (X) => typeof X === I,
|
|
48232
|
+
}, ne = (I) => (X) => _e(X) === I, Z = (I) => (X) => typeof X === I, xe = (I) => (X) => I === X, ee = (I, X) => at(I) && G(I, X, (le, Fe) => re(le) === Fe), $e = ne("string"), at = ne("object"), yt = (I) => ee(I, Object), hn = ne("array"), Et = xe(null), io = Z("boolean"), lo = (I) => I == null, eo = (I) => !lo(I), Ot = Z("function"), Ls = Z("number"), un = (I, X) => {
|
|
48230
48233
|
if (hn(I)) {
|
|
48231
48234
|
for (let le = 0, Fe = I.length; le < Fe; ++le)
|
|
48232
48235
|
if (!X(I[le]))
|
|
@@ -49095,7 +49098,7 @@ Required: ` + m.join(", "));
|
|
|
49095
49098
|
}, G = (x) => {
|
|
49096
49099
|
const T = typeof x;
|
|
49097
49100
|
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && re(x, String, (V, Y) => Y.isPrototypeOf(V)) ? "string" : T;
|
|
49098
|
-
}, _e = (x) => (T) => G(T) === x, ne = (x) => (T) => typeof T === x, Z = (x) => (T) => x === T,
|
|
49101
|
+
}, _e = (x) => (T) => G(T) === x, ne = (x) => (T) => typeof T === x, Z = (x) => (T) => x === T, xe = _e("string"), ee = _e("array"), $e = ne("boolean"), at = Z(void 0), yt = (x) => x == null, hn = (x) => !yt(x), Et = ne("function"), io = ne("number"), lo = () => {
|
|
49099
49102
|
}, eo = (x, T) => (V) => x(T(V)), Ot = (x) => () => x, Ls = (x) => x, un = (x, T) => x === T;
|
|
49100
49103
|
function he(x, ...T) {
|
|
49101
49104
|
return (...V) => {
|
|
@@ -49383,7 +49386,7 @@ Required: ` + m.join(", "));
|
|
|
49383
49386
|
T(Y) && (V = V.concat([Y])), V = V.concat(gi(Y, T));
|
|
49384
49387
|
}), V;
|
|
49385
49388
|
}, xc = (x, T) => wc(x, (V) => vs(V, T)), Po = (x, T) => Bl(T, x), ea = (x, T, V) => {
|
|
49386
|
-
if (
|
|
49389
|
+
if (xe(V) || $e(V) || io(V))
|
|
49387
49390
|
x.setAttribute(T, V + "");
|
|
49388
49391
|
else
|
|
49389
49392
|
throw console.error("Invalid call to Attribute.set. Key ", T, ":: Value ", V, ":: Element ", x), new Error("Attribute value was not simple");
|
|
@@ -49413,7 +49416,7 @@ Required: ` + m.join(", "));
|
|
|
49413
49416
|
const T = parseFloat(x);
|
|
49414
49417
|
return isNaN(T) ? ae.none() : ae.some(T);
|
|
49415
49418
|
}, hi = (x) => x.style !== void 0 && Et(x.style.getPropertyValue), bu = (x, T, V) => {
|
|
49416
|
-
if (!
|
|
49419
|
+
if (!xe(V))
|
|
49417
49420
|
throw console.error("Invalid call to CSS.set. Property ", T, ":: Value ", V, ":: Element ", x), new Error("CSS value must be a string: " + V);
|
|
49418
49421
|
hi(x) && x.style.setProperty(T, V);
|
|
49419
49422
|
}, Ku = (x, T) => {
|
|
@@ -50648,7 +50651,7 @@ Required: ` + T.join(", "));
|
|
|
50648
50651
|
return Y.concat(ye).concat(je).concat(gt).concat(Mt);
|
|
50649
50652
|
}, yb = (x, T, V, Y) => {
|
|
50650
50653
|
if (T.tagName === "TD" || T.tagName === "TH")
|
|
50651
|
-
|
|
50654
|
+
xe(V) && hn(Y) ? x.setStyle(T, V, Y) : x.setStyles(T, V);
|
|
50652
50655
|
else if (T.children)
|
|
50653
50656
|
for (let ye = 0; ye < T.children.length; ye++)
|
|
50654
50657
|
yb(x, T.children[ye], V, Y);
|
|
@@ -51304,10 +51307,10 @@ Required: ` + T.join(", "));
|
|
|
51304
51307
|
onAction: $e
|
|
51305
51308
|
});
|
|
51306
51309
|
};
|
|
51307
|
-
var
|
|
51310
|
+
var xe = () => {
|
|
51308
51311
|
A.add("code", (ee) => (ne(ee), Z(ee), {}));
|
|
51309
51312
|
};
|
|
51310
|
-
|
|
51313
|
+
xe();
|
|
51311
51314
|
})();
|
|
51312
51315
|
(function() {
|
|
51313
51316
|
var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
@@ -51318,7 +51321,7 @@ Required: ` + T.join(", "));
|
|
|
51318
51321
|
Te[wn] = Rt(qo, wn);
|
|
51319
51322
|
}
|
|
51320
51323
|
return Te;
|
|
51321
|
-
},
|
|
51324
|
+
}, xe = {
|
|
51322
51325
|
aletter: "[A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-׳ؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆༀཀ-ཇཉ-ཬྈ-ྌႠ-Ⴥა-ჺჼᄀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᨀ-ᨖᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᯀ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⒶ-ⓩⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⴀ-ⴥⴰ-ⵥⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〻〼ㄅ-ㄭㄱ-ㆎㆠ-ㆺꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐꞑꞠ-ꞩꟺ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]",
|
|
51323
51326
|
midnumlet: "[-'\\.‘’․﹒'.]",
|
|
51324
51327
|
midletter: "[:··״‧︓﹕:]",
|
|
@@ -51348,20 +51351,20 @@ Required: ` + T.join(", "));
|
|
|
51348
51351
|
AT: 12,
|
|
51349
51352
|
OTHER: 13
|
|
51350
51353
|
}, $e = [
|
|
51351
|
-
new RegExp(
|
|
51352
|
-
new RegExp(
|
|
51353
|
-
new RegExp(
|
|
51354
|
-
new RegExp(
|
|
51355
|
-
new RegExp(
|
|
51356
|
-
new RegExp(
|
|
51357
|
-
new RegExp(
|
|
51358
|
-
new RegExp(
|
|
51359
|
-
new RegExp(
|
|
51360
|
-
new RegExp(
|
|
51361
|
-
new RegExp(
|
|
51362
|
-
new RegExp(
|
|
51354
|
+
new RegExp(xe.aletter),
|
|
51355
|
+
new RegExp(xe.midnumlet),
|
|
51356
|
+
new RegExp(xe.midletter),
|
|
51357
|
+
new RegExp(xe.midnum),
|
|
51358
|
+
new RegExp(xe.numeric),
|
|
51359
|
+
new RegExp(xe.cr),
|
|
51360
|
+
new RegExp(xe.lf),
|
|
51361
|
+
new RegExp(xe.newline),
|
|
51362
|
+
new RegExp(xe.extend),
|
|
51363
|
+
new RegExp(xe.format),
|
|
51364
|
+
new RegExp(xe.katakana),
|
|
51365
|
+
new RegExp(xe.extendnumlet),
|
|
51363
51366
|
new RegExp("@")
|
|
51364
|
-
], at = "", yt = new RegExp("^" +
|
|
51367
|
+
], at = "", yt = new RegExp("^" + xe.punctuation + "$"), hn = /^\s+$/, Et = $e, io = ee.OTHER, lo = (qe) => {
|
|
51365
51368
|
let Rt = io;
|
|
51366
51369
|
const Ke = Et.length;
|
|
51367
51370
|
for (let Te = 0; Te < Ke; ++Te) {
|
|
@@ -51574,9 +51577,9 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51574
51577
|
emits: ["update:modelValue", "keydown"],
|
|
51575
51578
|
setup(A, { expose: re, emit: G }) {
|
|
51576
51579
|
const _e = A, ne = G, Z = co(null);
|
|
51577
|
-
let
|
|
51580
|
+
let xe = null;
|
|
51578
51581
|
Dg(async () => {
|
|
51579
|
-
await Pj(),
|
|
51582
|
+
await Pj(), xe && (xe.destroy(), xe = null), ote.init({
|
|
51580
51583
|
selector: "#" + _e.field_name,
|
|
51581
51584
|
height: 300,
|
|
51582
51585
|
plugins: [
|
|
@@ -51591,17 +51594,17 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51591
51594
|
content_css: !1,
|
|
51592
51595
|
// disable import of css
|
|
51593
51596
|
setup(at) {
|
|
51594
|
-
|
|
51597
|
+
xe = at, at.on("Change", () => {
|
|
51595
51598
|
ne("update:modelValue", at.getContent());
|
|
51596
51599
|
}), at.on("init", () => {
|
|
51597
51600
|
at.setContent(_e.modelValue);
|
|
51598
51601
|
});
|
|
51599
51602
|
}
|
|
51600
51603
|
});
|
|
51601
|
-
}),
|
|
51602
|
-
|
|
51604
|
+
}), ZN(() => {
|
|
51605
|
+
xe && (xe.destroy(), xe = null);
|
|
51603
51606
|
}), Ag(() => _e.modelValue, (at) => {
|
|
51604
|
-
|
|
51607
|
+
xe && xe.getContent() !== at && xe.setContent(at);
|
|
51605
51608
|
});
|
|
51606
51609
|
const $e = pu({
|
|
51607
51610
|
get() {
|
|
@@ -51708,11 +51711,11 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51708
51711
|
return 0;
|
|
51709
51712
|
if (this.limit === 0)
|
|
51710
51713
|
return this.lastPage;
|
|
51711
|
-
for (var A = this.currentPage, re = this.lastPage, G = this.limit, _e = A - G, ne = A + G + 1, Z = [],
|
|
51714
|
+
for (var A = this.currentPage, re = this.lastPage, G = this.limit, _e = A - G, ne = A + G + 1, Z = [], xe = [], ee, $e = 1; $e <= re; $e++)
|
|
51712
51715
|
($e === 1 || $e === re || $e >= _e && $e < ne) && Z.push($e);
|
|
51713
51716
|
return Z.forEach(function(at) {
|
|
51714
|
-
ee && (at - ee === 2 ?
|
|
51715
|
-
}),
|
|
51717
|
+
ee && (at - ee === 2 ? xe.push(ee + 1) : at - ee !== 1 && xe.push("...")), xe.push(at), ee = at;
|
|
51718
|
+
}), xe;
|
|
51716
51719
|
}
|
|
51717
51720
|
},
|
|
51718
51721
|
methods: {
|
|
@@ -51835,8 +51838,8 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51835
51838
|
})
|
|
51836
51839
|
], -1);
|
|
51837
51840
|
function kte(A, re, G, _e, ne, Z) {
|
|
51838
|
-
const
|
|
51839
|
-
return ue(), Zu(
|
|
51841
|
+
const xe = Rd("RenderlessPagination");
|
|
51842
|
+
return ue(), Zu(xe, {
|
|
51840
51843
|
data: G.data,
|
|
51841
51844
|
limit: G.limit,
|
|
51842
51845
|
onPaginationChangePage: Z.onPaginationChangePage
|
|
@@ -51946,16 +51949,16 @@ const iq = /* @__PURE__ */ zr(mte, [["render", kte]]), Tte = {
|
|
|
51946
51949
|
}
|
|
51947
51950
|
},
|
|
51948
51951
|
setup(A, { expose: re }) {
|
|
51949
|
-
const G = co(""), _e = co(""), ne = co(""), Z = co("Cancel"),
|
|
51952
|
+
const G = co(""), _e = co(""), ne = co(""), Z = co("Cancel"), xe = co(!1), ee = co(!1), $e = co(void 0), at = co(void 0), yt = (eo = {}) => (G.value = eo.title, _e.value = eo.message, ne.value = eo.okButton, eo.cancelButton && (Z.value = eo.cancelButton), xe.value = !0, new Promise((Ot, Ls) => {
|
|
51950
51953
|
$e.value = Ot, at.value = Ls;
|
|
51951
51954
|
})), hn = () => {
|
|
51952
51955
|
ee.value = !0;
|
|
51953
51956
|
}, Et = () => {
|
|
51954
51957
|
ee.value = !1;
|
|
51955
51958
|
}, io = () => {
|
|
51956
|
-
|
|
51959
|
+
xe.value = !1, $e.value(!0);
|
|
51957
51960
|
}, lo = () => {
|
|
51958
|
-
|
|
51961
|
+
xe.value = !1, $e.value(!1);
|
|
51959
51962
|
};
|
|
51960
51963
|
return re({
|
|
51961
51964
|
show: yt,
|
|
@@ -51963,7 +51966,7 @@ const iq = /* @__PURE__ */ zr(mte, [["render", kte]]), Tte = {
|
|
|
51963
51966
|
hideLoading: Et
|
|
51964
51967
|
}), (eo, Ot) => {
|
|
51965
51968
|
const Ls = Rd("gl-button");
|
|
51966
|
-
return
|
|
51969
|
+
return xe.value ? (ue(), fe("div", Tte, [
|
|
51967
51970
|
R("div", Ete, [
|
|
51968
51971
|
Ate,
|
|
51969
51972
|
Dte,
|
|
@@ -52226,9 +52229,9 @@ const iq = /* @__PURE__ */ zr(mte, [["render", kte]]), Tte = {
|
|
|
52226
52229
|
"data-label": ""
|
|
52227
52230
|
}, dne = ["checked", "onChange"], mne = ["data-label"], fne = { class: "overflow-auto max-h-40" }, gne = { 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" };
|
|
52228
52231
|
function hne(A, re, G, _e, ne, Z) {
|
|
52229
|
-
const
|
|
52232
|
+
const xe = Rd("DynamicConfirmation"), ee = Rd("dropdown"), $e = Rd("GlDropdown"), at = Rd("GlTextInput"), yt = Rd("gl-button"), hn = Rd("TailwindPagination");
|
|
52230
52233
|
return ue(), fe(jn, null, [
|
|
52231
|
-
ui(
|
|
52234
|
+
ui(xe, { ref: "ConfirmationDelete" }, null, 512),
|
|
52232
52235
|
R("div", Vte, [
|
|
52233
52236
|
R("div", zte, [
|
|
52234
52237
|
R("div", Ute, [
|
|
@@ -52662,13 +52665,13 @@ const Fce = /* @__PURE__ */ zr(Hte, [["render", hne]]), pne = {
|
|
|
52662
52665
|
soe
|
|
52663
52666
|
];
|
|
52664
52667
|
function aoe(A, re, G, _e, ne, Z) {
|
|
52665
|
-
const
|
|
52668
|
+
const xe = Rd("dropdown");
|
|
52666
52669
|
return ue(), fe("div", bne, [
|
|
52667
52670
|
R("div", vne, [
|
|
52668
52671
|
R("div", yne, [
|
|
52669
52672
|
wne,
|
|
52670
52673
|
R("div", xne, [
|
|
52671
|
-
ui(
|
|
52674
|
+
ui(xe, {
|
|
52672
52675
|
has_cancel: !1,
|
|
52673
52676
|
options: ne.showNoOfEntries,
|
|
52674
52677
|
modelValue: ne.itemsPerPage,
|
|
@@ -52983,13 +52986,13 @@ const Hce = /* @__PURE__ */ zr(pne, [["render", aoe]]), loe = {
|
|
|
52983
52986
|
Toe
|
|
52984
52987
|
], Aoe = { 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" }, Doe = ["colspan"], Ooe = ["data-label"], Roe = { class: "overflow-auto max-h-40" }, $oe = { 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" };
|
|
52985
52988
|
function Moe(A, re, G, _e, ne, Z) {
|
|
52986
|
-
const
|
|
52989
|
+
const xe = Rd("dropdown"), ee = Rd("TailwindPagination");
|
|
52987
52990
|
return ue(), fe("div", coe, [
|
|
52988
52991
|
R("div", ioe, [
|
|
52989
52992
|
R("div", uoe, [
|
|
52990
52993
|
doe,
|
|
52991
52994
|
R("div", moe, [
|
|
52992
|
-
ui(
|
|
52995
|
+
ui(xe, {
|
|
52993
52996
|
has_cancel: !1,
|
|
52994
52997
|
options: ne.pageOptions,
|
|
52995
52998
|
modelValue: ne.perPage,
|
|
@@ -53232,13 +53235,13 @@ const Vce = /* @__PURE__ */ zr(loe, [["render", Moe]]), Poe = {
|
|
|
53232
53235
|
vse
|
|
53233
53236
|
];
|
|
53234
53237
|
function wse(A, re, G, _e, ne, Z) {
|
|
53235
|
-
const
|
|
53238
|
+
const xe = Rd("dropdown");
|
|
53236
53239
|
return ue(), fe("div", Boe, [
|
|
53237
53240
|
R("div", Noe, [
|
|
53238
53241
|
R("div", Ioe, [
|
|
53239
53242
|
Loe,
|
|
53240
53243
|
R("div", Foe, [
|
|
53241
|
-
ui(
|
|
53244
|
+
ui(xe, {
|
|
53242
53245
|
has_cancel: !1,
|
|
53243
53246
|
options: ne.showNoOfEntries,
|
|
53244
53247
|
modelValue: ne.itemsPerPage,
|
|
@@ -53382,7 +53385,7 @@ const zce = /* @__PURE__ */ zr(Poe, [["render", wse]]), xse = {
|
|
|
53382
53385
|
return "Runs every minute.";
|
|
53383
53386
|
if (re === "0" && G === "0" && _e === "*" && ne === "*" && Z !== "*")
|
|
53384
53387
|
return `Runs at 12:00 AM every ${this.convertDayOfWeek(Z)}.`;
|
|
53385
|
-
const
|
|
53388
|
+
const xe = {
|
|
53386
53389
|
0: "Sunday",
|
|
53387
53390
|
1: "Monday",
|
|
53388
53391
|
2: "Tuesday",
|
|
@@ -53405,7 +53408,7 @@ const zce = /* @__PURE__ */ zr(Poe, [["render", wse]]), xse = {
|
|
|
53405
53408
|
11: "November",
|
|
53406
53409
|
12: "December",
|
|
53407
53410
|
"*": "every month"
|
|
53408
|
-
}, $e = this.convertField(re, "minute", 59), at = this.convertField(G, "hour", 23), yt = this.convertField(_e, "day of the month", 31), hn = this.convertField(ne, "month", 12, ee), Et = this.convertField(Z, "day", 6,
|
|
53411
|
+
}, $e = this.convertField(re, "minute", 59), at = this.convertField(G, "hour", 23), yt = this.convertField(_e, "day of the month", 31), hn = this.convertField(ne, "month", 12, ee), Et = this.convertField(Z, "day", 6, xe);
|
|
53409
53412
|
return `Runs ${$e} ${at} ${yt} ${hn} on ${Et}.`;
|
|
53410
53413
|
},
|
|
53411
53414
|
convertField(A, re, G, _e = {}) {
|
|
@@ -53490,12 +53493,12 @@ const Wce = /* @__PURE__ */ zr(kse, [["render", Tse]]), Ese = {
|
|
|
53490
53493
|
return at = Math.floor(at / 16), (hn === "x" ? Et : Et & 3 | 8).toString(16);
|
|
53491
53494
|
});
|
|
53492
53495
|
return yt;
|
|
53493
|
-
})(), ne = { isOpen: A, id: _e }, Z = pu(() => re.accordions.value),
|
|
53496
|
+
})(), ne = { isOpen: A, id: _e }, Z = pu(() => re.accordions.value), xe = pu(() => Z.value.length > 0 && Z.value[0].id === _e), ee = pu(() => Z.value.length > 0 && Z.value[Z.value.length - 1].id === _e);
|
|
53494
53497
|
return Dg(() => {
|
|
53495
53498
|
re.registerAccordion(ne);
|
|
53496
53499
|
}), Nq(() => {
|
|
53497
53500
|
re.unregisterAccordion(ne);
|
|
53498
|
-
}), { isOpen: A, isFirstAccordion:
|
|
53501
|
+
}), { isOpen: A, isFirstAccordion: xe, isLastAccordion: ee, toggle: () => {
|
|
53499
53502
|
re.toggleAccordion(ne);
|
|
53500
53503
|
} };
|
|
53501
53504
|
}
|
|
@@ -53534,7 +53537,7 @@ function Bse(A, re, G, _e, ne, Z) {
|
|
|
53534
53537
|
return ue(), fe("div", null, [
|
|
53535
53538
|
R("h2", null, [
|
|
53536
53539
|
R("button", {
|
|
53537
|
-
onClick: re[0] || (re[0] = (...
|
|
53540
|
+
onClick: re[0] || (re[0] = (...xe) => _e.toggle && _e.toggle(...xe)),
|
|
53538
53541
|
type: "button",
|
|
53539
53542
|
class: Zt(["flex items-center justify-between w-full gap-3 p-5 font-medium text-gray-500 border border-gray-200 rtl:text-right dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800", {
|
|
53540
53543
|
"rounded-t-xl": _e.isFirstAccordion,
|
|
@@ -53645,7 +53648,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53645
53648
|
G.type === "warning" ? (ue(), fe("div", Zse, qse)) : Ye("", !0),
|
|
53646
53649
|
R("div", Kse, mt(G.message), 1),
|
|
53647
53650
|
R("button", {
|
|
53648
|
-
onClick: Z[0] || (Z[0] = (
|
|
53651
|
+
onClick: Z[0] || (Z[0] = (xe) => _e("remove")),
|
|
53649
53652
|
type: "button",
|
|
53650
53653
|
class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
|
|
53651
53654
|
"data-dismiss-target": "#toast-default",
|
|
@@ -53673,7 +53676,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53673
53676
|
message: ne.message,
|
|
53674
53677
|
type: ne.type,
|
|
53675
53678
|
duration: ne.duration,
|
|
53676
|
-
onRemove: (
|
|
53679
|
+
onRemove: (xe) => re(Z)
|
|
53677
53680
|
}, null, 8, ["message", "type", "duration", "onRemove"]))), 128))
|
|
53678
53681
|
]),
|
|
53679
53682
|
_: 1
|
|
@@ -53723,7 +53726,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53723
53726
|
setup(A, { emit: re }) {
|
|
53724
53727
|
const G = A, _e = co(!1), ne = co(!1), Z = () => {
|
|
53725
53728
|
_e.value = !1;
|
|
53726
|
-
},
|
|
53729
|
+
}, xe = () => {
|
|
53727
53730
|
_e.value = !0;
|
|
53728
53731
|
}, ee = () => {
|
|
53729
53732
|
ne.value = !1;
|
|
@@ -53743,14 +53746,14 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53743
53746
|
return (hn, Et) => {
|
|
53744
53747
|
const io = Bj("click-outside");
|
|
53745
53748
|
return ue(), fe(jn, null, [
|
|
53746
|
-
ui(
|
|
53749
|
+
ui(jN, {
|
|
53747
53750
|
isOpen: ne.value,
|
|
53748
53751
|
onConfirmDelete: yt,
|
|
53749
53752
|
onCancelDelete: ee
|
|
53750
53753
|
}, null, 8, ["isOpen"]),
|
|
53751
53754
|
A.row && hn.can(`edit_${A.xprops.permission} || delete_${A.xprops.permission}`) ? Tr((ue(), fe("div", ere, [
|
|
53752
53755
|
R("button", {
|
|
53753
|
-
onClick:
|
|
53756
|
+
onClick: xe,
|
|
53754
53757
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
53755
53758
|
type: "button"
|
|
53756
53759
|
}, nre),
|
|
@@ -53829,7 +53832,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53829
53832
|
setup(A, { emit: re }) {
|
|
53830
53833
|
const G = A, _e = co(!1), ne = co(!1), Z = () => {
|
|
53831
53834
|
_e.value = !1;
|
|
53832
|
-
},
|
|
53835
|
+
}, xe = () => {
|
|
53833
53836
|
_e.value = !0;
|
|
53834
53837
|
}, ee = () => {
|
|
53835
53838
|
ne.value = !1;
|
|
@@ -53849,14 +53852,14 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53849
53852
|
return (hn, Et) => {
|
|
53850
53853
|
const io = Bj("click-outside");
|
|
53851
53854
|
return ue(), fe(jn, null, [
|
|
53852
|
-
ui(
|
|
53855
|
+
ui(jN, {
|
|
53853
53856
|
isOpen: ne.value,
|
|
53854
53857
|
onConfirmDelete: yt,
|
|
53855
53858
|
onCancelDelete: ee
|
|
53856
53859
|
}, null, 8, ["isOpen"]),
|
|
53857
53860
|
A.row && hn.can(`delete_${A.xprops.permission}`) ? Tr((ue(), fe("div", ure, [
|
|
53858
53861
|
R("button", {
|
|
53859
|
-
onClick:
|
|
53862
|
+
onClick: xe,
|
|
53860
53863
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
53861
53864
|
type: "button"
|
|
53862
53865
|
}, mre),
|
|
@@ -53926,7 +53929,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53926
53929
|
setup(A, { emit: re }) {
|
|
53927
53930
|
const G = A, _e = co(!1), ne = co(!1), Z = () => {
|
|
53928
53931
|
ne.value = !1;
|
|
53929
|
-
},
|
|
53932
|
+
}, xe = () => {
|
|
53930
53933
|
ne.value = !0;
|
|
53931
53934
|
}, ee = () => {
|
|
53932
53935
|
_e.value = !1;
|
|
@@ -53948,7 +53951,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53948
53951
|
return (Et, io) => {
|
|
53949
53952
|
const lo = Bj("click-outside");
|
|
53950
53953
|
return ue(), fe(jn, null, [
|
|
53951
|
-
ui(
|
|
53954
|
+
ui(jN, {
|
|
53952
53955
|
isOpen: ne.value,
|
|
53953
53956
|
onConfirmDelete: hn,
|
|
53954
53957
|
onCancelDelete: Z
|
|
@@ -53974,7 +53977,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53974
53977
|
Et.can(`delete_${A.xprops.permission}`) ? (ue(), fe("li", Sre, [
|
|
53975
53978
|
R("a", {
|
|
53976
53979
|
href: "#",
|
|
53977
|
-
onClick: za(
|
|
53980
|
+
onClick: za(xe, ["prevent"]),
|
|
53978
53981
|
class: "block px-4 py-2 text-red-600 hover:text-white hover:bg-red-600 dark:text-red-500 dark:hover:text-white dark:hover:bg-red-600"
|
|
53979
53982
|
}, [
|
|
53980
53983
|
kre,
|
|
@@ -54046,13 +54049,13 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
54046
54049
|
], -1);
|
|
54047
54050
|
function $re(A, re, G, _e, ne, Z) {
|
|
54048
54051
|
return ue(), fe("div", null, [
|
|
54049
|
-
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row, (
|
|
54052
|
+
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row, (xe, ee) => (ue(), fe("div", {
|
|
54050
54053
|
key: ee,
|
|
54051
54054
|
class: "m-1 d-inline-block"
|
|
54052
54055
|
}, [
|
|
54053
54056
|
R("a", {
|
|
54054
|
-
href:
|
|
54055
|
-
title:
|
|
54057
|
+
href: xe,
|
|
54058
|
+
title: xe,
|
|
54056
54059
|
target: "_blank",
|
|
54057
54060
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
54058
54061
|
}, [
|
|
@@ -54121,13 +54124,13 @@ const Yce = /* @__PURE__ */ zr(Tre, [["render", $re]]), Mre = {
|
|
|
54121
54124
|
})
|
|
54122
54125
|
], -1);
|
|
54123
54126
|
function Fre(A, re, G, _e, ne, Z) {
|
|
54124
|
-
return Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[G.field], (
|
|
54125
|
-
key:
|
|
54127
|
+
return Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[G.field], (xe) => (ue(), fe("div", {
|
|
54128
|
+
key: xe.id,
|
|
54126
54129
|
class: "m-1 d-inline-block"
|
|
54127
54130
|
}, [
|
|
54128
54131
|
R("a", {
|
|
54129
|
-
href:
|
|
54130
|
-
title:
|
|
54132
|
+
href: xe.url,
|
|
54133
|
+
title: xe.name,
|
|
54131
54134
|
target: "_blank",
|
|
54132
54135
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
|
|
54133
54136
|
}, [
|
|
@@ -54180,10 +54183,10 @@ const Jce = /* @__PURE__ */ zr(Hre, [["render", Ure]]), Wre = {
|
|
|
54180
54183
|
};
|
|
54181
54184
|
function Gre(A, re, G, _e, ne, Z) {
|
|
54182
54185
|
return this.row[this.entry.key] ? (ue(), fe("div", Zre, [
|
|
54183
|
-
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[Z.entry.key], (
|
|
54186
|
+
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[Z.entry.key], (xe, ee) => (ue(), fe("span", {
|
|
54184
54187
|
key: ee,
|
|
54185
54188
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54186
|
-
}, mt(
|
|
54189
|
+
}, mt(xe[Z.entry.field]), 1))), 128)) : Z.isObject ? (ue(), fe("span", jre, mt(G.row[Z.entry.key][Z.entry.field]), 1)) : Ye("", !0)
|
|
54187
54190
|
])) : Ye("", !0);
|
|
54188
54191
|
}
|
|
54189
54192
|
const Qce = /* @__PURE__ */ zr(Wre, [["render", Gre]]), qre = {
|
|
@@ -54211,10 +54214,10 @@ const Qce = /* @__PURE__ */ zr(Wre, [["render", Gre]]), qre = {
|
|
|
54211
54214
|
};
|
|
54212
54215
|
function Xre(A, re, G, _e, ne, Z) {
|
|
54213
54216
|
return ue(), fe("div", Kre, [
|
|
54214
|
-
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(Z.getNestedValue(G.row, Z.entry.keys), (
|
|
54217
|
+
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(Z.getNestedValue(G.row, Z.entry.keys), (xe, ee) => (ue(), fe("span", {
|
|
54215
54218
|
key: ee,
|
|
54216
54219
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54217
|
-
}, mt(
|
|
54220
|
+
}, mt(xe[Z.entry.field]), 1))), 128)) : Z.isObject ? (ue(), fe("span", Yre, mt(Z.getNestedValue(G.row, Z.entry.keys)[Z.entry.field]), 1)) : Ye("", !0)
|
|
54218
54221
|
]);
|
|
54219
54222
|
}
|
|
54220
54223
|
const eie = /* @__PURE__ */ zr(qre, [["render", Xre]]), Jre = {
|
|
@@ -54253,13 +54256,13 @@ const tie = /* @__PURE__ */ zr(Jre, [["render", oae], ["__scopeId", "data-v-3a28
|
|
|
54253
54256
|
}, aae = ["src", "alt"], lae = { key: 1 }, cae = ["src", "alt"];
|
|
54254
54257
|
function iae(A, re, G, _e, ne, Z) {
|
|
54255
54258
|
return Z.isArray ? (ue(), fe("div", rae, [
|
|
54256
|
-
(ue(!0), fe(jn, null, Ks(G.row[G.field], (
|
|
54257
|
-
key:
|
|
54259
|
+
(ue(!0), fe(jn, null, Ks(G.row[G.field], (xe) => (ue(), fe("div", {
|
|
54260
|
+
key: xe.id
|
|
54258
54261
|
}, [
|
|
54259
54262
|
R("img", {
|
|
54260
54263
|
class: "h-auto max-w-full rounded-lg",
|
|
54261
|
-
src:
|
|
54262
|
-
alt:
|
|
54264
|
+
src: xe.thumbnail,
|
|
54265
|
+
alt: xe.file_name
|
|
54263
54266
|
}, null, 8, aae)
|
|
54264
54267
|
]))), 128))
|
|
54265
54268
|
])) : Z.isObject ? (ue(), fe("div", lae, [
|
|
@@ -54491,8 +54494,8 @@ const aie = /* @__PURE__ */ zr(Mae, [["render", Zae]]), jae = {
|
|
|
54491
54494
|
return "";
|
|
54492
54495
|
const A = new Date(this.row[this.field]), re = A.getFullYear(), G = A.toLocaleString("default", { month: "long" }), _e = A.getDate();
|
|
54493
54496
|
let ne = A.getHours();
|
|
54494
|
-
const Z = A.getMinutes(),
|
|
54495
|
-
return ne = ne % 12, ne = ne || 12, `${G} ${_e}, ${re}, ${ne}:${Z}:${
|
|
54497
|
+
const Z = A.getMinutes(), xe = A.getSeconds(), ee = ne >= 12 ? "pm" : "am";
|
|
54498
|
+
return ne = ne % 12, ne = ne || 12, `${G} ${_e}, ${re}, ${ne}:${Z}:${xe} ${ee}`;
|
|
54496
54499
|
}
|
|
54497
54500
|
}
|
|
54498
54501
|
}, Gae = { class: "w-full" };
|
|
@@ -54582,7 +54585,7 @@ const uie = /* @__PURE__ */ zr(lle, [["render", ule]]), dle = {
|
|
|
54582
54585
|
"aria-hidden": "true"
|
|
54583
54586
|
}, "", -1), ple = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, ble = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, vle = { class: "sm:flex sm:items-start" }, yle = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, wle = { class: "text-lg font-medium leading-6" }, xle = { class: "mt-2" }, Cle = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse gap-2" };
|
|
54584
54587
|
function _le(A, re, G, _e, ne, Z) {
|
|
54585
|
-
const
|
|
54588
|
+
const xe = Rd("gl-button");
|
|
54586
54589
|
return G.isOpen ? (ue(), fe("div", mle, [
|
|
54587
54590
|
R("div", fle, [
|
|
54588
54591
|
gle,
|
|
@@ -54599,7 +54602,7 @@ function _le(A, re, G, _e, ne, Z) {
|
|
|
54599
54602
|
])
|
|
54600
54603
|
]),
|
|
54601
54604
|
R("div", Cle, [
|
|
54602
|
-
ui(
|
|
54605
|
+
ui(xe, {
|
|
54603
54606
|
onClick: Z.confirmAction,
|
|
54604
54607
|
tag: "button",
|
|
54605
54608
|
button_type: "red"
|
|
@@ -54609,7 +54612,7 @@ function _le(A, re, G, _e, ne, Z) {
|
|
|
54609
54612
|
]),
|
|
54610
54613
|
_: 1
|
|
54611
54614
|
}, 8, ["onClick"]),
|
|
54612
|
-
ui(
|
|
54615
|
+
ui(xe, {
|
|
54613
54616
|
onClick: Z.cancelAction,
|
|
54614
54617
|
tag: "button",
|
|
54615
54618
|
button_type: "light"
|
|
@@ -54680,11 +54683,11 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54680
54683
|
G.value = !0, setTimeout(() => {
|
|
54681
54684
|
G.value = !1;
|
|
54682
54685
|
}, 2e3);
|
|
54683
|
-
}).catch(function(
|
|
54684
|
-
console.error("Error copying to clipboard: ",
|
|
54686
|
+
}).catch(function(xe) {
|
|
54687
|
+
console.error("Error copying to clipboard: ", xe);
|
|
54685
54688
|
});
|
|
54686
54689
|
}, ne = pu(() => re.code);
|
|
54687
|
-
return (Z,
|
|
54690
|
+
return (Z, xe) => (ue(), fe("div", Sle, [
|
|
54688
54691
|
R("div", kle, [
|
|
54689
54692
|
R("p", Tle, mt(A.label_name), 1)
|
|
54690
54693
|
]),
|
|
@@ -54694,7 +54697,7 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54694
54697
|
]),
|
|
54695
54698
|
R("div", Ole, [
|
|
54696
54699
|
R("button", {
|
|
54697
|
-
onClick:
|
|
54700
|
+
onClick: xe[0] || (xe[0] = (ee) => _e(ne.value)),
|
|
54698
54701
|
class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
|
|
54699
54702
|
}, [
|
|
54700
54703
|
G.value ? Ye("", !0) : (ue(), fe("span", Rle, Ple)),
|
|
@@ -54760,11 +54763,11 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54760
54763
|
G.value = !0, setTimeout(() => {
|
|
54761
54764
|
G.value = !1;
|
|
54762
54765
|
}, 2e3);
|
|
54763
|
-
}).catch(function(
|
|
54764
|
-
console.error("Error copying to clipboard: ",
|
|
54766
|
+
}).catch(function(xe) {
|
|
54767
|
+
console.error("Error copying to clipboard: ", xe);
|
|
54765
54768
|
});
|
|
54766
54769
|
}, ne = pu(() => re.code);
|
|
54767
|
-
return (Z,
|
|
54770
|
+
return (Z, xe) => (ue(), fe("div", Hle, [
|
|
54768
54771
|
R("div", Vle, [
|
|
54769
54772
|
R("label", zle, mt(A.label_name), 1)
|
|
54770
54773
|
]),
|
|
@@ -54782,7 +54785,7 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54782
54785
|
]),
|
|
54783
54786
|
R("button", {
|
|
54784
54787
|
style: { padding: ".61rem" },
|
|
54785
|
-
onClick:
|
|
54788
|
+
onClick: xe[0] || (xe[0] = (ee) => _e(ne.value)),
|
|
54786
54789
|
class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
54787
54790
|
type: "button"
|
|
54788
54791
|
}, [
|
|
@@ -54929,7 +54932,7 @@ export {
|
|
|
54929
54932
|
sie as GlDatatableStatusGeneral,
|
|
54930
54933
|
rie as GlDatatableStatusSpecficColor,
|
|
54931
54934
|
Ece as GlDateRangePicker,
|
|
54932
|
-
|
|
54935
|
+
jN as GlDeleteConfirmationModal,
|
|
54933
54936
|
Gee as GlDropdown,
|
|
54934
54937
|
Fte as GlDynamicConfirmation,
|
|
54935
54938
|
yce as GlFilesUpload,
|