golden-logic-ui 1.0.385 → 1.0.387
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 +375 -367
- package/dist/golden-logic-ui.umd.cjs +26 -26
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { openBlock as pe, createElementBlock as ye, createElementVNode as M, createCommentVNode as it, createStaticVNode as Dq, reactive as Oq, resolveComponent as kg, Fragment as Jn, createVNode as wf, normalizeClass as nn, toDisplayString as mt, withModifiers as oc, withDirectives as Va, vModelText as wm, renderList as sr, normalizeStyle as Oj, computed as vc, renderSlot as Dd, ref as Ao, onMounted as Tg, onBeforeUnmount as WN, watch as Ay, createTextVNode as lo, vShow as TT, nextTick as Rj, createBlock as Ad, resolveDynamicComponent as ET, mergeProps as rO, withCtx as Ey, vModelDynamic as JG, useSlots as Rq, provide as QG, inject as eq, pushScopeId as $q, popScopeId as Mq, vModelCheckbox as tq, toHandlers as Aj, onUnmounted as Pq, TransitionGroup as Bq, unref as Nq, resolveDirective as nq, markRaw as Iq } from "vue";
|
|
2
2
|
const qr = (O, ie) => {
|
|
3
3
|
const te = O.__vccOpts || O;
|
|
4
|
-
for (const [
|
|
5
|
-
te[
|
|
4
|
+
for (const [_e, ae] of ie)
|
|
5
|
+
te[_e] = ae;
|
|
6
6
|
return te;
|
|
7
7
|
}, Lq = {
|
|
8
8
|
props: ["isOpen"],
|
|
@@ -27,7 +27,7 @@ const qr = (O, ie) => {
|
|
|
27
27
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
28
28
|
"aria-hidden": "true"
|
|
29
29
|
}, "", -1), Uq = { 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" }, Wq = /* @__PURE__ */ Dq('<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), Zq = { 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" };
|
|
30
|
-
function jq(O, ie, te,
|
|
30
|
+
function jq(O, ie, te, _e, ae, j) {
|
|
31
31
|
return te.isOpen ? (pe(), ye("div", Fq, [
|
|
32
32
|
M("div", Hq, [
|
|
33
33
|
Vq,
|
|
@@ -115,6 +115,14 @@ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Dj = Oq({
|
|
|
115
115
|
is_enable_delete: {
|
|
116
116
|
type: Boolean,
|
|
117
117
|
default: !0
|
|
118
|
+
},
|
|
119
|
+
accepts_file_types: {
|
|
120
|
+
type: String,
|
|
121
|
+
default: ""
|
|
122
|
+
},
|
|
123
|
+
max_file_size: {
|
|
124
|
+
type: Number,
|
|
125
|
+
default: 0
|
|
118
126
|
}
|
|
119
127
|
},
|
|
120
128
|
emits: ["update:modelValue", "uploaded"],
|
|
@@ -151,8 +159,8 @@ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Dj = Oq({
|
|
|
151
159
|
},
|
|
152
160
|
formatFileSize(O) {
|
|
153
161
|
if (O === 0) return "0 Bytes";
|
|
154
|
-
const ie = 1024, te = ["Bytes", "KB", "MB", "GB", "TB"],
|
|
155
|
-
return parseFloat((O / Math.pow(ie,
|
|
162
|
+
const ie = 1024, te = ["Bytes", "KB", "MB", "GB", "TB"], _e = Math.floor(Math.log(O) / Math.log(ie));
|
|
163
|
+
return parseFloat((O / Math.pow(ie, _e)).toFixed(2)) + " " + te[_e];
|
|
156
164
|
},
|
|
157
165
|
onDragOver(O) {
|
|
158
166
|
O.preventDefault(), this.isDragging = !0, O.dataTransfer.dropEffect = "copy";
|
|
@@ -169,7 +177,7 @@ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Dj = Oq({
|
|
|
169
177
|
},
|
|
170
178
|
async uploadFiles(O) {
|
|
171
179
|
const ie = O.target.files, te = Array.from(ie).map(
|
|
172
|
-
(
|
|
180
|
+
(_e) => this.uploadFile(_e)
|
|
173
181
|
);
|
|
174
182
|
await Promise.all(te), this.$emit("uploaded"), this.$emit("update:modelValue", this.uploadFileList), console.log("uploadFileList", this.uploadFileList);
|
|
175
183
|
},
|
|
@@ -179,10 +187,10 @@ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Dj = Oq({
|
|
|
179
187
|
async uploadFile(O) {
|
|
180
188
|
return new Promise((ie, te) => {
|
|
181
189
|
O || ie();
|
|
182
|
-
const
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}), this.files.push({ file_name: O.name, loading: 0 }), axios.post(this.route_url + "/media",
|
|
190
|
+
const _e = new FormData();
|
|
191
|
+
_e.append("file", O), _e.append("accepts_file_types", this.accepts_file_types), _e.append("max_file_size", this.max_file_size), _e.append("field_name", this.field_name), Object.entries(this.file_config).forEach(([ae, j]) => {
|
|
192
|
+
_e.append(ae, j);
|
|
193
|
+
}), this.files.push({ file_name: O.name, loading: 0 }), axios.post(this.route_url + "/media", _e, {
|
|
186
194
|
onUploadProgress: (ae) => {
|
|
187
195
|
this.files[this.files.length - 1].loading = Math.floor(
|
|
188
196
|
ae.loaded / ae.total * 100
|
|
@@ -245,7 +253,7 @@ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Dj = Oq({
|
|
|
245
253
|
class: "text-3xl fas fa-file-alt",
|
|
246
254
|
"aria-hidden": "true"
|
|
247
255
|
}, null, -1), vK = { class: "flex flex-col ml-3" }, yK = { class: "text-xs" }, wK = { class: "text-xs" }, xK = { class: "flex gap-2" }, CK = ["href"], SK = ["onClick"];
|
|
248
|
-
function _K(O, ie, te,
|
|
256
|
+
function _K(O, ie, te, _e, ae, j) {
|
|
249
257
|
const Ae = kg("DeleteConfirmationModal");
|
|
250
258
|
return pe(), ye(Jn, null, [
|
|
251
259
|
wf(Ae, {
|
|
@@ -377,7 +385,7 @@ const qae = /* @__PURE__ */ qr(qq, [["render", _K]]), kK = {
|
|
|
377
385
|
mounted() {
|
|
378
386
|
}
|
|
379
387
|
}, TK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, EK = ["name", "value", "id", "checked"], AK = ["for"];
|
|
380
|
-
function DK(O, ie, te,
|
|
388
|
+
function DK(O, ie, te, _e, ae, j) {
|
|
381
389
|
return pe(), ye("ul", TK, [
|
|
382
390
|
(pe(!0), ye(Jn, null, sr(ae.locals, (Ae, Q) => (pe(), ye("li", null, [
|
|
383
391
|
M("input", {
|
|
@@ -413,7 +421,7 @@ const Kae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
413
421
|
}
|
|
414
422
|
},
|
|
415
423
|
setup(O) {
|
|
416
|
-
const ie = O, te = vc(() => ie.class),
|
|
424
|
+
const ie = O, te = vc(() => ie.class), _e = vc(() => ie.body_class);
|
|
417
425
|
return (ae, j) => (pe(), ye("div", {
|
|
418
426
|
class: nn(["flex flex-col gap-9", te.value])
|
|
419
427
|
}, [
|
|
@@ -425,7 +433,7 @@ const Kae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
425
433
|
]),
|
|
426
434
|
ae.$slots.body ? (pe(), ye("div", {
|
|
427
435
|
key: 0,
|
|
428
|
-
class: nn(["p-6",
|
|
436
|
+
class: nn(["p-6", _e.value])
|
|
429
437
|
}, [
|
|
430
438
|
Dd(ae.$slots, "body")
|
|
431
439
|
], 2)) : it("", !0)
|
|
@@ -514,7 +522,7 @@ const Kae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
514
522
|
},
|
|
515
523
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
516
524
|
setup(O, { emit: ie }) {
|
|
517
|
-
const te = O,
|
|
525
|
+
const te = O, _e = ie, ae = Ao(null), j = Ao([]), Ae = Ao([]), Q = Ao(0), Be = Ao(!1), gt = Ao(""), Et = Ao(""), _n = Ao(null), Ht = Ao(0), Oo = Ao(0), Wn = () => {
|
|
518
526
|
if (_n.value) {
|
|
519
527
|
Ht.value = _n.value.offsetWidth;
|
|
520
528
|
var st = _n.value.getBoundingClientRect();
|
|
@@ -572,11 +580,11 @@ const Kae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
572
580
|
j.value = Ot();
|
|
573
581
|
}
|
|
574
582
|
function ds() {
|
|
575
|
-
j.value = [],
|
|
583
|
+
j.value = [], _e("update:modelValue", []), _e("selected", []), _e("selectionChanged", []);
|
|
576
584
|
}
|
|
577
585
|
function In(st) {
|
|
578
586
|
let Me = j.value.findIndex((sn) => sn.id === st.id);
|
|
579
|
-
Me !== -1 && j.value.splice(Me, 1), Ae.value = j.value.map((sn) => sn.id),
|
|
587
|
+
Me !== -1 && j.value.splice(Me, 1), Ae.value = j.value.map((sn) => sn.id), _e("update:modelValue", Ae.value), _e("selected", j.value), _e("selectionChanged", j.value);
|
|
580
588
|
}
|
|
581
589
|
function We(st) {
|
|
582
590
|
st.target.id != te.field_name + "search" + Et.value && st.target.id != te.field_name && !st.target.classList.contains("showOptions") && (no(), Q.value = 0, Be.value = !1);
|
|
@@ -619,7 +627,7 @@ const Kae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
619
627
|
}
|
|
620
628
|
function Qn(st) {
|
|
621
629
|
let Me = j.value.findIndex((sn) => sn.id === st.id);
|
|
622
|
-
Me !== -1 ? j.value.splice(Me, 1) : j.value.push(st), Be.value = !1, Ae.value = j.value.map((sn) => sn.id),
|
|
630
|
+
Me !== -1 ? j.value.splice(Me, 1) : j.value.push(st), Be.value = !1, Ae.value = j.value.map((sn) => sn.id), _e("update:modelValue", Ae.value), _e("selected", j.value), _e("selectionChanged", j.value);
|
|
623
631
|
}
|
|
624
632
|
function rt() {
|
|
625
633
|
if (!te.show) {
|
|
@@ -637,12 +645,12 @@ const Kae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
637
645
|
}
|
|
638
646
|
}
|
|
639
647
|
function no() {
|
|
640
|
-
gt.value = "",
|
|
648
|
+
gt.value = "", _e("selected", j.value);
|
|
641
649
|
}
|
|
642
650
|
return Ay(gt, () => {
|
|
643
651
|
mn.value.length === 0 && (j.value = []);
|
|
644
652
|
}), Ay(j, (st) => {
|
|
645
|
-
Qr(j.value) && (Ae.value = j.value.map((Me) => Me.id),
|
|
653
|
+
Qr(j.value) && (Ae.value = j.value.map((Me) => Me.id), _e("update:modelValue", Ae.value));
|
|
646
654
|
}), (st, Me) => (pe(), ye(Jn, null, [
|
|
647
655
|
O.show ? (pe(), ye("div", {
|
|
648
656
|
key: 0,
|
|
@@ -840,7 +848,7 @@ const Kae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
840
848
|
fill: "#1C64F2"
|
|
841
849
|
})
|
|
842
850
|
], -1);
|
|
843
|
-
function YK(O, ie, te,
|
|
851
|
+
function YK(O, ie, te, _e, ae, j) {
|
|
844
852
|
return te.is_loading ? (pe(), Ad(ET("button"), {
|
|
845
853
|
key: 1,
|
|
846
854
|
disabled: "",
|
|
@@ -919,15 +927,15 @@ const XK = /* @__PURE__ */ qr(qK, [["render", YK]]), JK = { class: "font-bold pt
|
|
|
919
927
|
},
|
|
920
928
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
921
929
|
setup(O, { expose: ie, emit: te }) {
|
|
922
|
-
const
|
|
930
|
+
const _e = O, ae = te, j = Ao(null), Ae = Ao(null), Q = () => {
|
|
923
931
|
Ae.value && ae("update:modelValueTranslate", Ae.value.value);
|
|
924
932
|
};
|
|
925
933
|
return Tg(() => {
|
|
926
|
-
j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus(),
|
|
934
|
+
j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus(), _e.modelValue && (ae("update:modelValue", _e.modelValue), j.value.value = _e.modelValue), _e.modelValueTranslate && (ae("update:modelValueTranslate", _e.modelValueTranslate), Ae.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
|
|
927
935
|
params: {
|
|
928
|
-
model:
|
|
929
|
-
row_id:
|
|
930
|
-
field:
|
|
936
|
+
model: _e.translatable.model,
|
|
937
|
+
row_id: _e.translatable.row_id,
|
|
938
|
+
field: _e.translatable.field
|
|
931
939
|
}
|
|
932
940
|
}).then((Be) => {
|
|
933
941
|
Ae.value.value = JSON.stringify(Be.data), ae("update:modelValueTranslate", JSON.stringify(Be.data));
|
|
@@ -1059,19 +1067,19 @@ const XK = /* @__PURE__ */ qr(qK, [["render", YK]]), JK = { class: "font-bold pt
|
|
|
1059
1067
|
},
|
|
1060
1068
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1061
1069
|
setup(O, { expose: ie, emit: te }) {
|
|
1062
|
-
const
|
|
1070
|
+
const _e = O, ae = te, j = Ao(null), Ae = Ao(null), Q = () => {
|
|
1063
1071
|
Ae.value && ae("update:modelValueTranslate", Ae.value.value);
|
|
1064
1072
|
};
|
|
1065
1073
|
return Tg(() => {
|
|
1066
1074
|
tinymce.init({
|
|
1067
|
-
selector: "#" +
|
|
1075
|
+
selector: "#" + _e.field_name,
|
|
1068
1076
|
width: "100%",
|
|
1069
1077
|
height: 300
|
|
1070
|
-
}), j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus(),
|
|
1078
|
+
}), j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus(), _e.modelValue && (ae("update:modelValue", _e.modelValue), j.value.value = _e.modelValue), _e.modelValueTranslate && (ae("update:modelValueTranslate", _e.modelValueTranslate), Ae.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
|
|
1071
1079
|
params: {
|
|
1072
|
-
model:
|
|
1073
|
-
row_id:
|
|
1074
|
-
field:
|
|
1080
|
+
model: _e.translatable.model,
|
|
1081
|
+
row_id: _e.translatable.row_id,
|
|
1082
|
+
field: _e.translatable.field
|
|
1075
1083
|
}
|
|
1076
1084
|
}).then((Be) => {
|
|
1077
1085
|
Ae.value.value = JSON.stringify(Be.data), ae("update:modelValueTranslate", JSON.stringify(Be.data));
|
|
@@ -1194,11 +1202,11 @@ const XK = /* @__PURE__ */ qr(qK, [["render", YK]]), JK = { class: "font-bold pt
|
|
|
1194
1202
|
},
|
|
1195
1203
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1196
1204
|
setup(O, { expose: ie, emit: te }) {
|
|
1197
|
-
const
|
|
1205
|
+
const _e = O, ae = te, j = Ao(null), Ae = Ao(null), Q = () => {
|
|
1198
1206
|
Ae.value && ae("update:modelValueTranslate", Ae.value.value);
|
|
1199
1207
|
};
|
|
1200
1208
|
return Tg(() => {
|
|
1201
|
-
j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus(),
|
|
1209
|
+
j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus(), _e.modelValue && (ae("update:modelValue", _e.modelValue), j.value.value = _e.modelValue), _e.modelValueTranslate && (ae("update:modelValueTranslate", _e.modelValueTranslate), Ae.value.value = _e.modelValueTranslate);
|
|
1202
1210
|
}), ie({ focus: () => j.value.focus() }), (Be, gt) => (pe(), ye(Jn, null, [
|
|
1203
1211
|
O.show ? (pe(), ye("div", {
|
|
1204
1212
|
key: 0,
|
|
@@ -1305,13 +1313,13 @@ const XK = /* @__PURE__ */ qr(qK, [["render", YK]]), JK = { class: "font-bold pt
|
|
|
1305
1313
|
},
|
|
1306
1314
|
emits: ["update:modelValue", "keydown"],
|
|
1307
1315
|
setup(O, { expose: ie, emit: te }) {
|
|
1308
|
-
const
|
|
1316
|
+
const _e = O, ae = te, j = Ao(null);
|
|
1309
1317
|
Tg(() => {
|
|
1310
1318
|
j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus();
|
|
1311
1319
|
});
|
|
1312
1320
|
const Ae = vc({
|
|
1313
1321
|
get() {
|
|
1314
|
-
return
|
|
1322
|
+
return _e.modelValue;
|
|
1315
1323
|
},
|
|
1316
1324
|
set(Q) {
|
|
1317
1325
|
ae("update:modelValue", Q);
|
|
@@ -1411,13 +1419,13 @@ const XK = /* @__PURE__ */ qr(qK, [["render", YK]]), JK = { class: "font-bold pt
|
|
|
1411
1419
|
},
|
|
1412
1420
|
emits: ["update:modelValue", "keydown"],
|
|
1413
1421
|
setup(O, { expose: ie, emit: te }) {
|
|
1414
|
-
const
|
|
1422
|
+
const _e = O, ae = te, j = Ao(null);
|
|
1415
1423
|
Tg(() => {
|
|
1416
1424
|
j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus();
|
|
1417
1425
|
});
|
|
1418
1426
|
const Ae = vc({
|
|
1419
1427
|
get() {
|
|
1420
|
-
return
|
|
1428
|
+
return _e.modelValue;
|
|
1421
1429
|
},
|
|
1422
1430
|
set(Q) {
|
|
1423
1431
|
ae("update:modelValue", Q);
|
|
@@ -1510,7 +1518,7 @@ const XK = /* @__PURE__ */ qr(qK, [["render", YK]]), JK = { class: "font-bold pt
|
|
|
1510
1518
|
},
|
|
1511
1519
|
emits: ["update:modelValue", "keydown"],
|
|
1512
1520
|
setup(O, { emit: ie }) {
|
|
1513
|
-
const te = O,
|
|
1521
|
+
const te = O, _e = ie, ae = Ao(""), j = Ao({
|
|
1514
1522
|
start: te.modelValue.start,
|
|
1515
1523
|
end: te.modelValue.end
|
|
1516
1524
|
});
|
|
@@ -1520,17 +1528,17 @@ const XK = /* @__PURE__ */ qr(qK, [["render", YK]]), JK = { class: "font-bold pt
|
|
|
1520
1528
|
return te.modelValue.start;
|
|
1521
1529
|
},
|
|
1522
1530
|
set(gt) {
|
|
1523
|
-
j.value.start = gt, Be(j.value.start, j.value.end),
|
|
1531
|
+
j.value.start = gt, Be(j.value.start, j.value.end), _e("update:modelValue", { start: j.value.start, end: j.value.end }), _e("keydown", { start: j.value.start, end: j.value.end });
|
|
1524
1532
|
}
|
|
1525
1533
|
}), Q = vc({
|
|
1526
1534
|
get() {
|
|
1527
1535
|
return te.modelValue.end;
|
|
1528
1536
|
},
|
|
1529
1537
|
set(gt) {
|
|
1530
|
-
j.value.end = gt, Be(j.value.start, j.value.end),
|
|
1538
|
+
j.value.end = gt, Be(j.value.start, j.value.end), _e("update:modelValue", { start: j.value.start, end: j.value.end }), _e("keydown", { start: j.value.start, end: j.value.end });
|
|
1531
1539
|
}
|
|
1532
1540
|
}), Be = (gt, Et) => {
|
|
1533
|
-
gt && Et && new Date(gt) > new Date(Et) ? (ae.value = "Start date cannot be after end date.", j.value.start = "", j.value.end = "",
|
|
1541
|
+
gt && Et && new Date(gt) > new Date(Et) ? (ae.value = "Start date cannot be after end date.", j.value.start = "", j.value.end = "", _e("update:modelValue", { start: j.value.start, end: j.value.end }), _e("keydown", { start: j.value.start, end: j.value.end })) : gt && Et && new Date(Et) < new Date(gt) ? (ae.value = "End date cannot be before start date.", j.value.start = "", j.value.end = "", _e("update:modelValue", { start: j.value.start, end: j.value.end }), _e("keydown", { start: j.value.start, end: j.value.end })) : ae.value = "";
|
|
1534
1542
|
};
|
|
1535
1543
|
return (gt, Et) => (pe(), ye(Jn, null, [
|
|
1536
1544
|
O.show ? (pe(), ye("div", {
|
|
@@ -1637,7 +1645,7 @@ const XK = /* @__PURE__ */ qr(qK, [["render", YK]]), JK = { class: "font-bold pt
|
|
|
1637
1645
|
},
|
|
1638
1646
|
emits: ["update:modelValue", "keydown"],
|
|
1639
1647
|
setup(O, { emit: ie }) {
|
|
1640
|
-
const te = ie,
|
|
1648
|
+
const te = ie, _e = Ao(null), ae = (j) => {
|
|
1641
1649
|
const Ae = j.target.files[0];
|
|
1642
1650
|
console.log(Ae), te("keydown", j), Ae && te("update:modelValue", Ae);
|
|
1643
1651
|
};
|
|
@@ -1673,7 +1681,7 @@ const XK = /* @__PURE__ */ qr(qK, [["render", YK]]), JK = { class: "font-bold pt
|
|
|
1673
1681
|
type: "file",
|
|
1674
1682
|
onChange: ae,
|
|
1675
1683
|
ref_key: "input",
|
|
1676
|
-
ref:
|
|
1684
|
+
ref: _e,
|
|
1677
1685
|
placeholder: O.placeholder
|
|
1678
1686
|
}, null, 42, lX),
|
|
1679
1687
|
M("span", cX, mt(O.error_message), 1),
|
|
@@ -1686,7 +1694,7 @@ const XK = /* @__PURE__ */ qr(qK, [["render", YK]]), JK = { class: "font-bold pt
|
|
|
1686
1694
|
props: {},
|
|
1687
1695
|
emits: ["TabChange"],
|
|
1688
1696
|
setup(O, { emit: ie }) {
|
|
1689
|
-
const te = ie,
|
|
1697
|
+
const te = ie, _e = Rq(), ae = Ao(_e.default().map((Be) => Be.props)), j = Ao("");
|
|
1690
1698
|
QG("selectedTitle", j);
|
|
1691
1699
|
const Ae = (Be) => {
|
|
1692
1700
|
window.location.hash = encodeURIComponent(Be), te("TabChange", Be);
|
|
@@ -1741,8 +1749,8 @@ const XK = /* @__PURE__ */ qr(qK, [["render", YK]]), JK = { class: "font-bold pt
|
|
|
1741
1749
|
key: 0,
|
|
1742
1750
|
class: "block"
|
|
1743
1751
|
};
|
|
1744
|
-
function yX(O, ie, te,
|
|
1745
|
-
return te.title ==
|
|
1752
|
+
function yX(O, ie, te, _e, ae, j) {
|
|
1753
|
+
return te.title == _e.selectedTitle ? (pe(), ye("div", vX, [
|
|
1746
1754
|
Dd(O.$slots, "default")
|
|
1747
1755
|
])) : it("", !0);
|
|
1748
1756
|
}
|
|
@@ -1798,9 +1806,9 @@ const rle = /* @__PURE__ */ qr(bX, [["render", yX]]), wX = {
|
|
|
1798
1806
|
},
|
|
1799
1807
|
generateRandomString(O) {
|
|
1800
1808
|
let ie = "";
|
|
1801
|
-
const te = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
|
|
1809
|
+
const te = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", _e = te.length;
|
|
1802
1810
|
for (let ae = 0; ae < O; ae++)
|
|
1803
|
-
ie += te.charAt(Math.floor(Math.random() *
|
|
1811
|
+
ie += te.charAt(Math.floor(Math.random() * _e));
|
|
1804
1812
|
return ie;
|
|
1805
1813
|
},
|
|
1806
1814
|
movingActions() {
|
|
@@ -1814,10 +1822,10 @@ const rle = /* @__PURE__ */ qr(bX, [["render", yX]]), wX = {
|
|
|
1814
1822
|
document.removeEventListener("mousemove", j), document.removeEventListener("touchmove", j), document.removeEventListener("mouseup", Ae), document.removeEventListener("touchend", Ae), ie.style.cursor = "grab";
|
|
1815
1823
|
};
|
|
1816
1824
|
document.addEventListener("mousemove", j), document.addEventListener("touchmove", j, { passive: !1 }), document.addEventListener("mouseup", Ae), document.addEventListener("touchend", Ae), O.initialX = ae.clientX || ae.touches && ae.touches[0] && ae.touches[0].clientX, O.initialY = ae.clientY || ae.touches && ae.touches[0] && ae.touches[0].clientY;
|
|
1817
|
-
},
|
|
1825
|
+
}, _e = (ae) => {
|
|
1818
1826
|
ae.key === "ArrowLeft" ? O.prev() : ae.key === "ArrowRight" && O.next();
|
|
1819
1827
|
};
|
|
1820
|
-
ie.addEventListener("mousedown", te), ie.addEventListener("touchstart", te), document.addEventListener("keydown",
|
|
1828
|
+
ie.addEventListener("mousedown", te), ie.addEventListener("touchstart", te), document.addEventListener("keydown", _e);
|
|
1821
1829
|
},
|
|
1822
1830
|
next() {
|
|
1823
1831
|
this.currentDot < this.dotsNavigation.length && (this.currentDot++, this.setDot(this.currentDot));
|
|
@@ -1826,7 +1834,7 @@ const rle = /* @__PURE__ */ qr(bX, [["render", yX]]), wX = {
|
|
|
1826
1834
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
1827
1835
|
},
|
|
1828
1836
|
initSlider() {
|
|
1829
|
-
let O = document.getElementById("sliderContainer_" + this.Random_string), ie = document.getElementById("mainSliderContainer_" + this.Random_string), te = document.getElementById("slider_" + this.Random_string),
|
|
1837
|
+
let O = document.getElementById("sliderContainer_" + this.Random_string), ie = document.getElementById("mainSliderContainer_" + this.Random_string), te = document.getElementById("slider_" + this.Random_string), _e = te.querySelectorAll("li"), ae = Array.from(_e).filter((Q) => Q.parentNode === te), j = O.clientWidth, Ae = j / this.elementsToShow;
|
|
1830
1838
|
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, Ae = this.hide_arrow ? ie.clientWidth : j) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, Ae = this.hide_arrow ? ie.clientWidth : j), ae.length > 1) {
|
|
1831
1839
|
this.dotsNum = this.elementsToShow == 1 ? ae.length : ae.length - this.elementsToShow + 1;
|
|
1832
1840
|
let Q = this.elementsToShow == 1 ? Ae * ae.length / this.dotsNum : Ae * (ae.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
@@ -2030,7 +2038,7 @@ const rle = /* @__PURE__ */ qr(bX, [["render", yX]]), wX = {
|
|
|
2030
2038
|
}, null, -1)), SJ = [
|
|
2031
2039
|
CJ
|
|
2032
2040
|
];
|
|
2033
|
-
function _J(O, ie, te,
|
|
2041
|
+
function _J(O, ie, te, _e, ae, j) {
|
|
2034
2042
|
return pe(), ye("div", null, [
|
|
2035
2043
|
M("div", {
|
|
2036
2044
|
class: nn(["", !te.hide_arrow && te.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
@@ -2189,12 +2197,12 @@ const ale = /* @__PURE__ */ qr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2189
2197
|
},
|
|
2190
2198
|
emits: ["closeModal"],
|
|
2191
2199
|
setup(O, { emit: ie }) {
|
|
2192
|
-
const te = O,
|
|
2200
|
+
const te = O, _e = ie, ae = () => {
|
|
2193
2201
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2194
2202
|
}, j = () => {
|
|
2195
2203
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
2196
2204
|
}, Ae = () => {
|
|
2197
|
-
|
|
2205
|
+
_e("closeModal"), j();
|
|
2198
2206
|
};
|
|
2199
2207
|
return Ay(
|
|
2200
2208
|
() => te.is_open,
|
|
@@ -2280,12 +2288,12 @@ const ale = /* @__PURE__ */ qr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2280
2288
|
},
|
|
2281
2289
|
emits: ["closeModal"],
|
|
2282
2290
|
setup(O, { emit: ie }) {
|
|
2283
|
-
const te = O,
|
|
2291
|
+
const te = O, _e = ie, ae = () => {
|
|
2284
2292
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2285
2293
|
}, j = () => {
|
|
2286
2294
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
2287
2295
|
}, Ae = () => {
|
|
2288
|
-
|
|
2296
|
+
_e("closeModal"), j();
|
|
2289
2297
|
};
|
|
2290
2298
|
return Ay(
|
|
2291
2299
|
() => te.is_open,
|
|
@@ -2379,12 +2387,12 @@ const ale = /* @__PURE__ */ qr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2379
2387
|
},
|
|
2380
2388
|
emits: ["update:modelValue"],
|
|
2381
2389
|
setup(O, { emit: ie }) {
|
|
2382
|
-
const te = O,
|
|
2390
|
+
const te = O, _e = ie, ae = Ao(null), j = vc({
|
|
2383
2391
|
get() {
|
|
2384
2392
|
return te.modelValue;
|
|
2385
2393
|
},
|
|
2386
2394
|
set(Ae) {
|
|
2387
|
-
|
|
2395
|
+
_e("update:modelValue", Ae);
|
|
2388
2396
|
}
|
|
2389
2397
|
});
|
|
2390
2398
|
return (Ae, Q) => (pe(), ye(Jn, null, [
|
|
@@ -2490,12 +2498,12 @@ const ale = /* @__PURE__ */ qr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2490
2498
|
},
|
|
2491
2499
|
emits: ["update:modelValue"],
|
|
2492
2500
|
setup(O, { emit: ie }) {
|
|
2493
|
-
const te = O,
|
|
2501
|
+
const te = O, _e = ie, ae = Ao(null), j = vc({
|
|
2494
2502
|
get() {
|
|
2495
2503
|
return te.modelValue;
|
|
2496
2504
|
},
|
|
2497
2505
|
set(Ae) {
|
|
2498
|
-
|
|
2506
|
+
_e("update:modelValue", Ae);
|
|
2499
2507
|
}
|
|
2500
2508
|
});
|
|
2501
2509
|
return (Ae, Q) => (pe(), ye(Jn, null, [
|
|
@@ -2649,7 +2657,7 @@ const ale = /* @__PURE__ */ qr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2649
2657
|
},
|
|
2650
2658
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
2651
2659
|
setup(O, { emit: ie }) {
|
|
2652
|
-
const te = O,
|
|
2660
|
+
const te = O, _e = ie;
|
|
2653
2661
|
Ao(null);
|
|
2654
2662
|
const ae = Ao({}), j = Ao(0), Ae = Ao(!1), Q = Ao(""), Be = Ao(""), gt = Ao(null), Et = Ao(0), _n = Ao(0), Ht = () => {
|
|
2655
2663
|
if (gt.value) {
|
|
@@ -2731,7 +2739,7 @@ const ale = /* @__PURE__ */ qr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2731
2739
|
) || {};
|
|
2732
2740
|
}
|
|
2733
2741
|
function In(Nt) {
|
|
2734
|
-
ae.value = Nt, Ae.value = !1,
|
|
2742
|
+
ae.value = Nt, Ae.value = !1, _e("update:modelValue", ae.value.id), _e("selected", ae.value), _e("selectionChanged", ae.value);
|
|
2735
2743
|
}
|
|
2736
2744
|
function We() {
|
|
2737
2745
|
if (!te.show) {
|
|
@@ -2749,15 +2757,15 @@ const ale = /* @__PURE__ */ qr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2749
2757
|
}
|
|
2750
2758
|
}
|
|
2751
2759
|
function ge() {
|
|
2752
|
-
te.show || (ae.value = {}, Q.value = "",
|
|
2760
|
+
te.show || (ae.value = {}, Q.value = "", _e("update:modelValue", ""), We());
|
|
2753
2761
|
}
|
|
2754
2762
|
function ss() {
|
|
2755
|
-
ae.value.id || (ae.value = {}, Q.value = ""),
|
|
2763
|
+
ae.value.id || (ae.value = {}, Q.value = ""), _e("selected", ae.value);
|
|
2756
2764
|
}
|
|
2757
2765
|
return Ay(Q, () => {
|
|
2758
2766
|
_t.value.length === 0 && (ae.value = {});
|
|
2759
2767
|
}), Ay(ae, (Nt) => {
|
|
2760
|
-
fe(Nt) &&
|
|
2768
|
+
fe(Nt) && _e("update:modelValue", Nt.id);
|
|
2761
2769
|
}), (Nt, Ot) => {
|
|
2762
2770
|
var A, Qn, rt;
|
|
2763
2771
|
return pe(), ye(Jn, null, [
|
|
@@ -2924,13 +2932,13 @@ const ale = /* @__PURE__ */ qr(wX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2924
2932
|
},
|
|
2925
2933
|
emits: ["update:modelValue", "keydown"],
|
|
2926
2934
|
setup(O, { expose: ie, emit: te }) {
|
|
2927
|
-
const
|
|
2935
|
+
const _e = O, ae = te, j = Ao(null);
|
|
2928
2936
|
Tg(() => {
|
|
2929
2937
|
j.value !== null && j.value.hasAttribute("autofocus") && j.value.focus();
|
|
2930
2938
|
});
|
|
2931
2939
|
const Ae = vc({
|
|
2932
2940
|
get() {
|
|
2933
|
-
return
|
|
2941
|
+
return _e.modelValue;
|
|
2934
2942
|
},
|
|
2935
2943
|
set(Q) {
|
|
2936
2944
|
ae("update:modelValue", Q);
|
|
@@ -3007,7 +3015,7 @@ var oq = { exports: {} };
|
|
|
3007
3015
|
"xml",
|
|
3008
3016
|
"null"
|
|
3009
3017
|
].indexOf(e) !== -1;
|
|
3010
|
-
},
|
|
3018
|
+
}, _e = function(e, n) {
|
|
3011
3019
|
var o = Array.prototype.slice.call(e);
|
|
3012
3020
|
return o.sort(n);
|
|
3013
3021
|
}, ae = function(e, n) {
|
|
@@ -3029,7 +3037,7 @@ var oq = { exports: {} };
|
|
|
3029
3037
|
});
|
|
3030
3038
|
}, gt = function(e, n) {
|
|
3031
3039
|
return ae(Be(e), function(o) {
|
|
3032
|
-
return
|
|
3040
|
+
return _e(o, n);
|
|
3033
3041
|
});
|
|
3034
3042
|
}, Et = function(e) {
|
|
3035
3043
|
return j(function(n, o) {
|
|
@@ -3164,7 +3172,7 @@ var oq = { exports: {} };
|
|
|
3164
3172
|
r[l] = n(u, l);
|
|
3165
3173
|
}
|
|
3166
3174
|
return r;
|
|
3167
|
-
},
|
|
3175
|
+
}, ke = (e, n) => {
|
|
3168
3176
|
for (let o = 0, r = e.length; o < r; o++) {
|
|
3169
3177
|
const l = e[o];
|
|
3170
3178
|
n(l, o);
|
|
@@ -3193,7 +3201,7 @@ var oq = { exports: {} };
|
|
|
3193
3201
|
return o;
|
|
3194
3202
|
}, Tr = (e, n, o) => (yn(e, (r, l) => {
|
|
3195
3203
|
o = n(o, r, l);
|
|
3196
|
-
}), o), Ho = (e, n, o) => (
|
|
3204
|
+
}), o), Ho = (e, n, o) => (ke(e, (r, l) => {
|
|
3197
3205
|
o = n(o, r, l);
|
|
3198
3206
|
}), o), za = (e, n, o) => {
|
|
3199
3207
|
for (let r = 0, l = e.length; r < l; r++) {
|
|
@@ -3290,7 +3298,7 @@ var oq = { exports: {} };
|
|
|
3290
3298
|
}), o;
|
|
3291
3299
|
}, bl = (e) => tl(e, no), Xo = (e, n) => hn(e, n) ? z.from(e[n]) : z.none(), hn = (e, n) => Gi.call(e, n), Ar = (e, n) => hn(e, n) && e[n] !== void 0 && e[n] !== null, Nl = (e, n, o = _n) => Et(o).eq(e, n), Hc = (e) => {
|
|
3292
3300
|
const n = {};
|
|
3293
|
-
return
|
|
3301
|
+
return ke(e, (o) => {
|
|
3294
3302
|
n[o] = {};
|
|
3295
3303
|
}), es(n);
|
|
3296
3304
|
}, mi = (e) => e.length !== void 0, xr = Array.isArray, mr = (e) => {
|
|
@@ -3892,16 +3900,16 @@ var oq = { exports: {} };
|
|
|
3892
3900
|
}, Fg = (e, n) => {
|
|
3893
3901
|
Wr(e, n), Sr(n, e);
|
|
3894
3902
|
}, Wh = (e, n) => {
|
|
3895
|
-
|
|
3903
|
+
ke(n, (o, r) => {
|
|
3896
3904
|
const l = r === 0 ? e : n[r - 1];
|
|
3897
3905
|
Gc(l, o);
|
|
3898
3906
|
});
|
|
3899
3907
|
}, Go = (e, n) => {
|
|
3900
|
-
|
|
3908
|
+
ke(n, (o) => {
|
|
3901
3909
|
Sr(e, o);
|
|
3902
3910
|
});
|
|
3903
3911
|
}, qc = (e) => {
|
|
3904
|
-
e.dom.textContent = "",
|
|
3912
|
+
e.dom.textContent = "", ke(Rr(e), (n) => {
|
|
3905
3913
|
_o(n);
|
|
3906
3914
|
});
|
|
3907
3915
|
}, _o = (e) => {
|
|
@@ -3979,7 +3987,7 @@ var oq = { exports: {} };
|
|
|
3979
3987
|
}, (l) => Ws(Math.max(l.pageLeft, r.left), Math.max(l.pageTop, r.top), l.width, l.height));
|
|
3980
3988
|
}, Ul = (e, n) => zt(Rr(e), n), ou = (e, n) => {
|
|
3981
3989
|
let o = [];
|
|
3982
|
-
return
|
|
3990
|
+
return ke(Rr(e), (r) => {
|
|
3983
3991
|
n(r) && (o = o.concat([r])), o = o.concat(ou(r, n));
|
|
3984
3992
|
}), o;
|
|
3985
3993
|
}, ba = (e, n) => $g(n, e), Dy = (e, n, o) => tu(e, n, o).isSome();
|
|
@@ -4143,7 +4151,7 @@ var oq = { exports: {} };
|
|
|
4143
4151
|
return n;
|
|
4144
4152
|
}, pb = (e) => {
|
|
4145
4153
|
const n = ba(e, "br"), o = zt(sa(e).slice(-1), Fd);
|
|
4146
|
-
n.length === o.length &&
|
|
4154
|
+
n.length === o.length && ke(o, _o);
|
|
4147
4155
|
}, jl = () => {
|
|
4148
4156
|
const e = ce.fromTag("br");
|
|
4149
4157
|
return Cs(e, "data-mce-bogus", "1"), e;
|
|
@@ -4308,12 +4316,12 @@ var oq = { exports: {} };
|
|
|
4308
4316
|
}
|
|
4309
4317
|
}, Xx = (e, n, o) => {
|
|
4310
4318
|
const r = e.getBlockElements(), l = ce.fromDom(n), u = (b) => go(b) in r, f = (b) => So(b, l);
|
|
4311
|
-
|
|
4319
|
+
ke(nu(o), (b) => {
|
|
4312
4320
|
Ks(b, u, f).each((y) => {
|
|
4313
4321
|
const k = Ul(b, (P) => u(P) && !e.isValidChild(go(y), go(P)));
|
|
4314
4322
|
if (k.length > 0) {
|
|
4315
4323
|
const P = jc(y);
|
|
4316
|
-
|
|
4324
|
+
ke(k, (B) => {
|
|
4317
4325
|
Ks(B, u, f).each((F) => {
|
|
4318
4326
|
Pf(F.dom, B.dom);
|
|
4319
4327
|
});
|
|
@@ -4322,10 +4330,10 @@ var oq = { exports: {} };
|
|
|
4322
4330
|
});
|
|
4323
4331
|
});
|
|
4324
4332
|
}, yb = (e, n, o) => {
|
|
4325
|
-
|
|
4333
|
+
ke([
|
|
4326
4334
|
...o,
|
|
4327
4335
|
...wo(e, n) ? [n] : []
|
|
4328
|
-
], (r) =>
|
|
4336
|
+
], (r) => ke(ba(ce.fromDom(r), r.nodeName.toLowerCase()), (l) => {
|
|
4329
4337
|
un(e, l.dom) && ll(l);
|
|
4330
4338
|
}));
|
|
4331
4339
|
}, D1 = (e, n) => {
|
|
@@ -4387,7 +4395,7 @@ var oq = { exports: {} };
|
|
|
4387
4395
|
const ot = lt._addCacheSuffix(we), wt = P(ot);
|
|
4388
4396
|
r[ot] = wt, wt.count++;
|
|
4389
4397
|
const Ft = (qt, cn) => {
|
|
4390
|
-
|
|
4398
|
+
ke(qt, br), wt.status = cn, wt.passed = [], wt.failed = [], Pe && (Pe.onload = null, Pe.onerror = null, Pe = null);
|
|
4391
4399
|
}, Ze = () => Ft(wt.passed, 2), Ve = () => Ft(wt.failed, 3);
|
|
4392
4400
|
if (Se && wt.passed.push(Se), Ce && wt.failed.push(Ce), wt.status === 1)
|
|
4393
4401
|
return;
|
|
@@ -4435,7 +4443,7 @@ var oq = { exports: {} };
|
|
|
4435
4443
|
});
|
|
4436
4444
|
},
|
|
4437
4445
|
unloadAll: (we) => {
|
|
4438
|
-
|
|
4446
|
+
ke(we, (Se) => {
|
|
4439
4447
|
ne(Se);
|
|
4440
4448
|
});
|
|
4441
4449
|
},
|
|
@@ -4601,9 +4609,9 @@ var oq = { exports: {} };
|
|
|
4601
4609
|
J.attributes[B[ne]] = {}, J.attributesOrder.push(B[ne]);
|
|
4602
4610
|
}
|
|
4603
4611
|
};
|
|
4604
|
-
return e !== "html5-strict" && (
|
|
4612
|
+
return e !== "html5-strict" && (ke(dl("acronym applet basefont big font strike tt"), (P) => {
|
|
4605
4613
|
f(P, "", o);
|
|
4606
|
-
}),
|
|
4614
|
+
}), ke(dl("center dir isindex noframes"), (P) => {
|
|
4607
4615
|
f(P, "", r);
|
|
4608
4616
|
})), f("html", "manifest", "head body"), f("head", "", "base command link meta noscript script style title"), f("title hr noscript br"), f("base", "href target"), f("link", "href rel media hreflang type sizes hreflang"), f("meta", "name http-equiv content charset"), f("style", "media type scoped"), f("script", "src async defer type charset"), f("body", "onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload", r), f("dd div", "", r), f("address dt caption", "", e === "html4" ? o : r), f("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn", "", o), f("blockquote", "cite", r), f("ol", "reversed start type", "li"), f("ul", "", "li"), f("li", "value", r), f("dl", "", "dt dd"), f("a", "href target rel media hreflang type", e === "html4" ? o : r), f("q", "cite", o), f("ins del", "cite datetime", r), f("img", "src sizes srcset alt usemap ismap width height"), f("iframe", "src name width height", r), f("embed", "src type width height"), f("object", "data type typemustmatch name usemap form width height", [
|
|
4609
4617
|
r,
|
|
@@ -4638,12 +4646,12 @@ var oq = { exports: {} };
|
|
|
4638
4646
|
].join(" ")), f("time", "datetime", o), f("dialog", "open", r), f("command", "type label icon disabled checked radiogroup command"), f("output", "for form name", o), f("progress", "value max", o), f("meter", "value min max low high optimum", o), f("details", "open", [
|
|
4639
4647
|
r,
|
|
4640
4648
|
"summary"
|
|
4641
|
-
].join(" ")), f("keygen", "autofocus challenge disabled form keytype name"), u("svg", "id tabindex lang xml:space class style x y width height viewBox preserveAspectRatio zoomAndPan transform".split(" "), [])), e !== "html5-strict" && (b("script", "language xml:space"), b("style", "xml:space"), b("object", "declare classid code codebase codetype archive standby align border hspace vspace"), b("embed", "align name hspace vspace"), b("param", "valuetype type"), b("a", "charset name rev shape coords"), b("br", "clear"), b("applet", "codebase archive code object alt name width height align hspace vspace"), b("img", "name longdesc align border hspace vspace"), b("iframe", "longdesc frameborder marginwidth marginheight scrolling align"), b("font basefont", "size color face"), b("input", "usemap align"), b("select"), b("textarea"), b("h1 h2 h3 h4 h5 h6 div p legend caption", "align"), b("ul", "type compact"), b("li", "type"), b("ol dl menu dir", "compact"), b("pre", "width xml:space"), b("hr", "align noshade size width"), b("isindex", "prompt"), b("table", "summary width frame rules cellspacing cellpadding align bgcolor"), b("col", "width align char charoff valign"), b("colgroup", "width align char charoff valign"), b("thead", "align char charoff valign"), b("tr", "align char charoff valign bgcolor"), b("th", "axis align char charoff valign nowrap bgcolor width height"), b("form", "accept"), b("td", "abbr axis scope align char charoff valign nowrap bgcolor width height"), b("tfoot", "align char charoff valign"), b("tbody", "align char charoff valign"), b("area", "nohref"), b("body", "background bgcolor text link vlink alink")), e !== "html4" && (b("input button select textarea", "autofocus"), b("input textarea", "placeholder"), b("a", "download"), b("link script img", "crossorigin"), b("img", "loading"), b("iframe", "sandbox seamless allow allowfullscreen loading")), e !== "html4" &&
|
|
4649
|
+
].join(" ")), f("keygen", "autofocus challenge disabled form keytype name"), u("svg", "id tabindex lang xml:space class style x y width height viewBox preserveAspectRatio zoomAndPan transform".split(" "), [])), e !== "html5-strict" && (b("script", "language xml:space"), b("style", "xml:space"), b("object", "declare classid code codebase codetype archive standby align border hspace vspace"), b("embed", "align name hspace vspace"), b("param", "valuetype type"), b("a", "charset name rev shape coords"), b("br", "clear"), b("applet", "codebase archive code object alt name width height align hspace vspace"), b("img", "name longdesc align border hspace vspace"), b("iframe", "longdesc frameborder marginwidth marginheight scrolling align"), b("font basefont", "size color face"), b("input", "usemap align"), b("select"), b("textarea"), b("h1 h2 h3 h4 h5 h6 div p legend caption", "align"), b("ul", "type compact"), b("li", "type"), b("ol dl menu dir", "compact"), b("pre", "width xml:space"), b("hr", "align noshade size width"), b("isindex", "prompt"), b("table", "summary width frame rules cellspacing cellpadding align bgcolor"), b("col", "width align char charoff valign"), b("colgroup", "width align char charoff valign"), b("thead", "align char charoff valign"), b("tr", "align char charoff valign bgcolor"), b("th", "axis align char charoff valign nowrap bgcolor width height"), b("form", "accept"), b("td", "abbr axis scope align char charoff valign nowrap bgcolor width height"), b("tfoot", "align char charoff valign"), b("tbody", "align char charoff valign"), b("area", "nohref"), b("body", "background bgcolor text link vlink alink")), e !== "html4" && (b("input button select textarea", "autofocus"), b("input textarea", "placeholder"), b("a", "download"), b("link script img", "crossorigin"), b("img", "loading"), b("iframe", "sandbox seamless allow allowfullscreen loading")), e !== "html4" && ke([
|
|
4642
4650
|
l.video,
|
|
4643
4651
|
l.audio
|
|
4644
4652
|
], (y) => {
|
|
4645
4653
|
delete y.children.audio, delete y.children.video;
|
|
4646
|
-
}),
|
|
4654
|
+
}), ke(dl("a form meter progress dfn"), (y) => {
|
|
4647
4655
|
l[y] && delete l[y].children[y];
|
|
4648
4656
|
}), delete l.caption.children.table, delete l.script, l;
|
|
4649
4657
|
}, eC = (e) => e === "-" ? "remove" : "add", eh = (e) => {
|
|
@@ -4662,7 +4670,7 @@ var oq = { exports: {} };
|
|
|
4662
4670
|
});
|
|
4663
4671
|
}, Xh = (e, n) => {
|
|
4664
4672
|
const o = /^([!\-])?(\w+[\\:]:\w+|[^=~<]+)?(?:([=~<])(.*))?$/, r = /[*?+]/, { attributes: l, attributesOrder: u } = n;
|
|
4665
|
-
return
|
|
4673
|
+
return ke(dl(e, "|"), (f) => {
|
|
4666
4674
|
const b = o.exec(f);
|
|
4667
4675
|
if (b) {
|
|
4668
4676
|
const y = {}, k = b[1], P = b[2].replace(/[\\:]:/g, ":"), B = b[3], F = b[4];
|
|
@@ -4743,7 +4751,7 @@ var oq = { exports: {} };
|
|
|
4743
4751
|
});
|
|
4744
4752
|
const nt = (Nn) => {
|
|
4745
4753
|
const No = z.from(o["@"]), Ms = /[*?+]/;
|
|
4746
|
-
|
|
4754
|
+
ke(Jh(No, Nn ?? ""), ({ name: Qs, element: dr, aliasName: Vi }) => {
|
|
4747
4755
|
if (Vi && (o[Vi] = dr), Ms.test(Qs)) {
|
|
4748
4756
|
const vf = dr;
|
|
4749
4757
|
vf.pattern = jt(Qs), l.push(vf);
|
|
@@ -4751,11 +4759,11 @@ var oq = { exports: {} };
|
|
|
4751
4759
|
o[Qs] = dr;
|
|
4752
4760
|
});
|
|
4753
4761
|
}, qt = (Nn) => {
|
|
4754
|
-
l = [],
|
|
4762
|
+
l = [], ke(es(o), (No) => {
|
|
4755
4763
|
delete o[No];
|
|
4756
4764
|
}), nt(Nn);
|
|
4757
4765
|
}, cn = (Nn) => {
|
|
4758
|
-
delete kb.text_block_elements, delete kb.block_elements,
|
|
4766
|
+
delete kb.text_block_elements, delete kb.block_elements, ke(PT(Nn ?? ""), ({ inline: No, name: Ms, cloneName: Qs }) => {
|
|
4759
4767
|
if (r[Ms] = r[Qs], u[Ms] = Qs, Se[Ms.toUpperCase()] = {}, Se[Ms] = {}, No || (wt[Ms.toUpperCase()] = {}, wt[Ms] = {}), !o[Ms]) {
|
|
4760
4768
|
let dr = o[Qs];
|
|
4761
4769
|
dr = B1({}, dr), delete dr.removeEmptyAttrs, delete dr.removeEmpty, o[Ms] = dr;
|
|
@@ -4765,9 +4773,9 @@ var oq = { exports: {} };
|
|
|
4765
4773
|
});
|
|
4766
4774
|
});
|
|
4767
4775
|
}, Yn = (Nn) => {
|
|
4768
|
-
|
|
4776
|
+
ke(eh(Nn ?? ""), ({ operation: No, name: Ms, validChildren: Qs }) => {
|
|
4769
4777
|
const dr = No === "replace" ? { "#comment": {} } : r[Ms];
|
|
4770
|
-
|
|
4778
|
+
ke(Qs, (Vi) => {
|
|
4771
4779
|
No === "remove" ? delete dr[Vi] : dr[Vi] = {};
|
|
4772
4780
|
}), r[Ms] = dr;
|
|
4773
4781
|
});
|
|
@@ -5353,7 +5361,7 @@ var oq = { exports: {} };
|
|
|
5353
5361
|
return St.removeChild(He), St;
|
|
5354
5362
|
}, ps = (Ne, He) => tn(Ne, (St) => {
|
|
5355
5363
|
const pt = ce.fromDom(St);
|
|
5356
|
-
return He &&
|
|
5364
|
+
return He && ke(Rr(pt), (ln) => {
|
|
5357
5365
|
ga(ln) && ln.dom.length === 0 ? _o(ln) : Wr(pt, ln);
|
|
5358
5366
|
}), _o(pt), pt.dom;
|
|
5359
5367
|
}), Fa = (Ne) => tn(Ne, (He) => {
|
|
@@ -5374,14 +5382,14 @@ var oq = { exports: {} };
|
|
|
5374
5382
|
}
|
|
5375
5383
|
He.styleSheet ? He.styleSheet.cssText += Ne : He.appendChild(e.createTextNode(Ne));
|
|
5376
5384
|
}, _d = (Ne) => {
|
|
5377
|
-
Ne || (Ne = ""),
|
|
5385
|
+
Ne || (Ne = ""), ke(Ne.split(","), (He) => {
|
|
5378
5386
|
l[He] = !0, y.load(He).catch(Ot);
|
|
5379
5387
|
});
|
|
5380
5388
|
}, Nn = (Ne, He, St) => {
|
|
5381
5389
|
tn(Ne, (pt) => {
|
|
5382
5390
|
if (Gt(pt)) {
|
|
5383
5391
|
const ln = ce.fromDom(pt), mo = He.split(" ");
|
|
5384
|
-
|
|
5392
|
+
ke(mo, (or) => {
|
|
5385
5393
|
We(St) ? (St ? vu : vi)(ln, or) : Ag(ln, or);
|
|
5386
5394
|
});
|
|
5387
5395
|
}
|
|
@@ -5674,7 +5682,7 @@ var oq = { exports: {} };
|
|
|
5674
5682
|
loadScripts(n) {
|
|
5675
5683
|
const o = this, r = (y, k) => {
|
|
5676
5684
|
Xo(o.scriptLoadedCallbacks, k).each((P) => {
|
|
5677
|
-
|
|
5685
|
+
ke(P, (B) => B[y](k));
|
|
5678
5686
|
}), delete o.scriptLoadedCallbacks[k];
|
|
5679
5687
|
}, l = (y) => {
|
|
5680
5688
|
const k = zt(y, (P) => P.status === "rejected");
|
|
@@ -5742,7 +5750,7 @@ var oq = { exports: {} };
|
|
|
5742
5750
|
}, ql = () => {
|
|
5743
5751
|
const e = [], n = {}, o = {}, r = [], l = (q, oe) => {
|
|
5744
5752
|
const we = zt(r, (Se) => Se.name === q && Se.state === oe);
|
|
5745
|
-
|
|
5753
|
+
ke(we, (Se) => Se.resolve());
|
|
5746
5754
|
}, u = (q) => hn(n, q), f = (q) => hn(o, q), b = (q) => {
|
|
5747
5755
|
if (o[q])
|
|
5748
5756
|
return o[q].instance;
|
|
@@ -5859,7 +5867,7 @@ var oq = { exports: {} };
|
|
|
5859
5867
|
return zt(r, (l) => !mp(l, o));
|
|
5860
5868
|
}, Ib = (e, n) => {
|
|
5861
5869
|
const o = ce.fromDom(e.getBody()), r = ba(o, `[${Gd()}="${n}"]`), l = {};
|
|
5862
|
-
return
|
|
5870
|
+
return ke(r, (u) => {
|
|
5863
5871
|
if (!mp(u, o)) {
|
|
5864
5872
|
const f = ja(u, ip()), b = Xo(l, f).getOr([]);
|
|
5865
5873
|
l[f] = b.concat([u]);
|
|
@@ -5876,22 +5884,22 @@ var oq = { exports: {} };
|
|
|
5876
5884
|
J[B] = q, o.set(J);
|
|
5877
5885
|
}, f = (B, F, J) => {
|
|
5878
5886
|
l(B, (ne) => {
|
|
5879
|
-
|
|
5887
|
+
ke(ne.listeners, (q) => q(!0, B, {
|
|
5880
5888
|
uid: F,
|
|
5881
5889
|
nodes: Ke(J, (oe) => oe.dom)
|
|
5882
5890
|
}));
|
|
5883
5891
|
});
|
|
5884
5892
|
}, b = (B) => {
|
|
5885
5893
|
l(B, (F) => {
|
|
5886
|
-
|
|
5894
|
+
ke(F.listeners, (J) => J(!1, B));
|
|
5887
5895
|
});
|
|
5888
5896
|
}, y = (B, F) => {
|
|
5889
|
-
|
|
5897
|
+
ke(dC(e, B), (J) => {
|
|
5890
5898
|
F ? Cs(J, up(), "true") : ar(J, up());
|
|
5891
5899
|
});
|
|
5892
5900
|
}, k = Bb(() => {
|
|
5893
5901
|
const B = Ko(n.getNames());
|
|
5894
|
-
|
|
5902
|
+
ke(B, (F) => {
|
|
5895
5903
|
u(F, (J) => {
|
|
5896
5904
|
const ne = J.previous.get();
|
|
5897
5905
|
return _r(e, z.some(F)).fold(() => {
|
|
@@ -5922,7 +5930,7 @@ var oq = { exports: {} };
|
|
|
5922
5930
|
var f, b;
|
|
5923
5931
|
u.attr(ip(), null), u.attr(Gd(), null), u.attr(up(), null);
|
|
5924
5932
|
const y = z.from(u.attr(nh())).map((F) => F.split(",")).getOr([]), k = z.from(u.attr(dp())).map((F) => F.split(",")).getOr([]);
|
|
5925
|
-
|
|
5933
|
+
ke(y, (F) => u.attr(F, null));
|
|
5926
5934
|
const P = (b = (f = u.attr("class")) === null || f === void 0 ? void 0 : f.split(" ")) !== null && b !== void 0 ? b : [], B = ji(P, [Nb()].concat(k));
|
|
5927
5935
|
u.attr("class", B.length > 0 ? B.join(" ") : null), u.attr(dp(), null), u.attr(nh(), null);
|
|
5928
5936
|
};
|
|
@@ -5950,11 +5958,11 @@ var oq = { exports: {} };
|
|
|
5950
5958
|
const o = (/* @__PURE__ */ new Date()).getTime(), r = Math.floor(Math.random() * 1e9);
|
|
5951
5959
|
return Lb++, e + "_" + r + Lb + String(o);
|
|
5952
5960
|
}, ZT = (e, n) => {
|
|
5953
|
-
|
|
5961
|
+
ke(n, (o) => {
|
|
5954
5962
|
vu(e, o);
|
|
5955
5963
|
});
|
|
5956
5964
|
}, fC = (e, n) => {
|
|
5957
|
-
|
|
5965
|
+
ke(n, (o) => {
|
|
5958
5966
|
vi(e, o);
|
|
5959
5967
|
});
|
|
5960
5968
|
}, qy = (e, n) => ce.fromDom(e.dom.cloneNode(n)), oi = (e) => qy(e, !1), Fb = (e) => qy(e, !0), Nr = (e, n) => {
|
|
@@ -6379,7 +6387,7 @@ var oq = { exports: {} };
|
|
|
6379
6387
|
if (e.length === 0)
|
|
6380
6388
|
throw new Error("there must be at least one case");
|
|
6381
6389
|
const n = [], o = {};
|
|
6382
|
-
return
|
|
6390
|
+
return ke(e, (r, l) => {
|
|
6383
6391
|
const u = es(r);
|
|
6384
6392
|
if (u.length !== 1)
|
|
6385
6393
|
throw new Error("one and only one name per case");
|
|
@@ -6449,7 +6457,7 @@ Required: ` + n.join(", "));
|
|
|
6449
6457
|
]);
|
|
6450
6458
|
const xt = (e) => {
|
|
6451
6459
|
const n = [], o = [];
|
|
6452
|
-
return
|
|
6460
|
+
return ke(e, (r) => {
|
|
6453
6461
|
r.fold((l) => {
|
|
6454
6462
|
n.push(l);
|
|
6455
6463
|
}, (l) => {
|
|
@@ -6521,7 +6529,7 @@ Required: ` + n.join(", "));
|
|
|
6521
6529
|
dynamicPatternsLookup: n
|
|
6522
6530
|
}), e4 = (e) => {
|
|
6523
6531
|
const n = xt(Ke(e, xC));
|
|
6524
|
-
return
|
|
6532
|
+
return ke(n.errors, (o) => console.error(o.message, o.pattern)), n.values;
|
|
6525
6533
|
}, CC = (e) => (n) => {
|
|
6526
6534
|
const o = e(n);
|
|
6527
6535
|
return e4(o);
|
|
@@ -7498,7 +7506,7 @@ Required: ` + n.join(", "));
|
|
|
7498
7506
|
return We(n) && n.rangeCount > 0;
|
|
7499
7507
|
}, Qf = (e, n) => {
|
|
7500
7508
|
const o = Ip(e);
|
|
7501
|
-
o.length > 0 ?
|
|
7509
|
+
o.length > 0 ? ke(o, (r) => {
|
|
7502
7510
|
const l = r.dom, u = e.dom.createRng();
|
|
7503
7511
|
u.setStartBefore(l), u.setEndAfter(l), n(u, !0);
|
|
7504
7512
|
}) : n(e.selection.getRng(), !1);
|
|
@@ -7748,7 +7756,7 @@ Required: ` + n.join(", "));
|
|
|
7748
7756
|
}, _s = (e) => {
|
|
7749
7757
|
vi(e, Nb()), ar(e, `${ip()}`), ar(e, `${Gd()}`), ar(e, `${up()}`);
|
|
7750
7758
|
const n = bi(e, `${nh()}`).map((r) => r.split(",")).getOr([]), o = bi(e, `${dp()}`).map((r) => r.split(",")).getOr([]);
|
|
7751
|
-
|
|
7759
|
+
ke(n, (r) => ar(e, r)), fC(e, o), ar(e, `${dp()}`), ar(e, `${nh()}`);
|
|
7752
7760
|
}, ef = (e, n, o, r, l) => {
|
|
7753
7761
|
const u = ce.fromTag("span", e);
|
|
7754
7762
|
return Cv(u, n, o, r, l, !1), u;
|
|
@@ -7759,7 +7767,7 @@ Required: ` + n.join(", "));
|
|
|
7759
7767
|
const ne = oi(b);
|
|
7760
7768
|
return f.push(ne), y.set(ne), ne;
|
|
7761
7769
|
}), B = (ne) => {
|
|
7762
|
-
|
|
7770
|
+
ke(ne, F);
|
|
7763
7771
|
}, F = (ne) => {
|
|
7764
7772
|
switch (hS(e, ne, "span", go(ne))) {
|
|
7765
7773
|
case "invalid-child": {
|
|
@@ -7802,7 +7810,7 @@ Required: ` + n.join(", "));
|
|
|
7802
7810
|
const n = mC();
|
|
7803
7811
|
Ti(e, n);
|
|
7804
7812
|
const o = kl(e, n), r = lc("span"), l = (u) => {
|
|
7805
|
-
|
|
7813
|
+
ke(u, (f) => {
|
|
7806
7814
|
r(f) ? ll(f) : _s(f);
|
|
7807
7815
|
});
|
|
7808
7816
|
};
|
|
@@ -7957,7 +7965,7 @@ Required: ` + n.join(", "));
|
|
|
7957
7965
|
}, Yn = (Ct) => Ze(Ct) ? o.create("img", { src: It.transparentSrc }) : Ct.cloneNode(!0), jn = (Ct, $n, Eo) => {
|
|
7958
7966
|
if (We(Eo)) {
|
|
7959
7967
|
const ks = qt(Ct);
|
|
7960
|
-
|
|
7968
|
+
ke(ks, (ps) => {
|
|
7961
7969
|
ps.style[$n] || !n.schema.isValid(ps.nodeName.toLowerCase(), $n) ? o.setStyle(ps, $n, Eo) : o.setAttrib(ps, $n, "" + Eo);
|
|
7962
7970
|
});
|
|
7963
7971
|
}
|
|
@@ -8028,7 +8036,7 @@ Required: ` + n.join(", "));
|
|
|
8028
8036
|
if (Se || n.removed || n.composing)
|
|
8029
8037
|
return;
|
|
8030
8038
|
const $n = Ct.type === "mousedown" ? Ct.target : e.getNode(), Eo = Ci(ce.fromDom($n), wS).map((ps) => ps.dom).filter((ps) => o.isEditable(ps.parentElement) || ps.nodeName === "IMG" && o.isEditable(ps)).getOrUndefined(), ks = We(Eo) ? o.getAttrib(Eo, tg, "1") : "1";
|
|
8031
|
-
if (
|
|
8039
|
+
if (ke(o.select(`img[${tg}],hr[${tg}]`), (ps) => {
|
|
8032
8040
|
ps.removeAttribute(tg);
|
|
8033
8041
|
}), We(Eo) && tn(Eo, u) && n.hasFocus()) {
|
|
8034
8042
|
Xt();
|
|
@@ -8207,7 +8215,7 @@ Required: ` + n.join(", "));
|
|
|
8207
8215
|
exact: iw
|
|
8208
8216
|
}), uw = (e, n) => {
|
|
8209
8217
|
const r = document.createDocumentFragment();
|
|
8210
|
-
return
|
|
8218
|
+
return ke(e, (l) => {
|
|
8211
8219
|
r.appendChild(l.dom);
|
|
8212
8220
|
}), ce.fromDom(r);
|
|
8213
8221
|
}, gE = (e) => {
|
|
@@ -8871,9 +8879,9 @@ Required: ` + n.join(", "));
|
|
|
8871
8879
|
} else
|
|
8872
8880
|
return NodeFilter.FILTER_SKIP;
|
|
8873
8881
|
}), E7 = (e) => VO(e).nextNode() !== null, A7 = (e) => zO(e).nextNode() !== null, IS = (e, n) => n.querySelector(NS(e)) !== null, UO = (e, n) => {
|
|
8874
|
-
|
|
8882
|
+
ke(T7(e, n), (o) => {
|
|
8875
8883
|
const r = ce.fromDom(o);
|
|
8876
|
-
ja(r, "data-mce-bogus") === "all" ? _o(r) :
|
|
8884
|
+
ja(r, "data-mce-bogus") === "all" ? _o(r) : ke(e, (l) => {
|
|
8877
8885
|
Ur(r, l) && ar(r, l);
|
|
8878
8886
|
});
|
|
8879
8887
|
});
|
|
@@ -8897,17 +8905,17 @@ Required: ` + n.join(", "));
|
|
|
8897
8905
|
}
|
|
8898
8906
|
];
|
|
8899
8907
|
let r = e, l = !1;
|
|
8900
|
-
return
|
|
8908
|
+
return ke(o, ({ condition: u, action: f }) => {
|
|
8901
8909
|
u(r) && (l || (r = e.cloneNode(!0), l = !0), f(r));
|
|
8902
8910
|
}), r;
|
|
8903
8911
|
}, zn = (e) => {
|
|
8904
8912
|
const n = ba(e, "[data-mce-bogus]");
|
|
8905
|
-
|
|
8913
|
+
ke(n, (o) => {
|
|
8906
8914
|
ja(o, "data-mce-bogus") === "all" ? _o(o) : Fd(o) ? (Wr(o, ce.fromText(jg)), _o(o)) : ll(o);
|
|
8907
8915
|
});
|
|
8908
8916
|
}, _E = (e) => {
|
|
8909
8917
|
const n = ba(e, "input");
|
|
8910
|
-
|
|
8918
|
+
ke(n, (o) => {
|
|
8911
8919
|
ar(o, "name");
|
|
8912
8920
|
});
|
|
8913
8921
|
}, Mj = (e, n) => {
|
|
@@ -9068,7 +9076,7 @@ Required: ` + n.join(", "));
|
|
|
9068
9076
|
return l.type === 1 && !e.inner ? b(l) : l.type === 3 ? f[3](l) : f[11](l), o.getContent();
|
|
9069
9077
|
} };
|
|
9070
9078
|
}, xn = /* @__PURE__ */ new Set();
|
|
9071
|
-
|
|
9079
|
+
ke([
|
|
9072
9080
|
"margin",
|
|
9073
9081
|
"margin-left",
|
|
9074
9082
|
"margin-right",
|
|
@@ -9220,7 +9228,7 @@ Required: ` + n.join(", "));
|
|
|
9220
9228
|
}, ME = (e) => (n) => n.dom === e, aI = (e, n) => n && hn(e.schema.getBlockElements(), go(n)), lI = (e, n) => {
|
|
9221
9229
|
if (hr(e)) {
|
|
9222
9230
|
const o = ce.fromHtml('<br data-mce-bogus="1">');
|
|
9223
|
-
return n ?
|
|
9231
|
+
return n ? ke(Rr(e), (r) => {
|
|
9224
9232
|
p0(r) || _o(r);
|
|
9225
9233
|
}) : qc(e), Sr(e, o), z.some(Le.before(o.dom));
|
|
9226
9234
|
} else
|
|
@@ -9266,7 +9274,7 @@ Required: ` + n.join(", "));
|
|
|
9266
9274
|
const u = IE(o).getOr(o), f = ce.fromDom((l = e.dom.getParent(u.dom, e.dom.isBlock)) !== null && l !== void 0 ? l : o.dom);
|
|
9267
9275
|
if (f.dom === e.getBody() ? WS(e, r) : hr(f) && (Au(f), r && e.selection.setCursorLocation(f.dom, 0)), !So(o, f)) {
|
|
9268
9276
|
const b = ls(ha(f), o) ? [] : Fh(f);
|
|
9269
|
-
|
|
9277
|
+
ke(b.concat(Rr(o)), (y) => {
|
|
9270
9278
|
!So(y, f) && !Ba(y, f) && hr(y) && _o(y);
|
|
9271
9279
|
});
|
|
9272
9280
|
}
|
|
@@ -9368,7 +9376,7 @@ Required: ` + n.join(", "));
|
|
|
9368
9376
|
}), wI = (e, n) => {
|
|
9369
9377
|
const o = gI(e), r = vI(n, o), l = pR(n, o);
|
|
9370
9378
|
return yI(r, n, o) ? r.map((u) => Sw.singleCellTable(n, u.start)) : l.isMultiTable ? rm(r, l, n, o) : yR(r, l, n, o);
|
|
9371
|
-
}, wR = (e) =>
|
|
9379
|
+
}, wR = (e) => ke(e, (n) => {
|
|
9372
9380
|
ar(n, "contenteditable"), Au(n);
|
|
9373
9381
|
}), Nj = (e, n) => z.from(e.dom.getParent(n, e.dom.isBlock)).map(ce.fromDom), ZE = (e, n, o) => {
|
|
9374
9382
|
o.each((r) => {
|
|
@@ -9504,7 +9512,7 @@ Required: ` + n.join(", "));
|
|
|
9504
9512
|
const o = (r, l) => {
|
|
9505
9513
|
vt(r, (u) => {
|
|
9506
9514
|
const f = wr(u.nodes);
|
|
9507
|
-
|
|
9515
|
+
ke(u.filter.callbacks, (b) => {
|
|
9508
9516
|
for (let y = f.length - 1; y >= 0; y--) {
|
|
9509
9517
|
const k = f[y];
|
|
9510
9518
|
(!(l ? k.attr(u.filter.name) !== void 0 : k.name === u.filter.name) || In(k.parent)) && f.splice(y, 1);
|
|
@@ -10062,7 +10070,7 @@ Required: ` + n.join(", "));
|
|
|
10062
10070
|
}, Pw = {}, d_ = Mr(["pre"]), Jr = (e, n) => {
|
|
10063
10071
|
Pw[e] || (Pw[e] = []), Pw[e].push(n);
|
|
10064
10072
|
}, C3 = (e, n) => {
|
|
10065
|
-
hn(Pw, e) &&
|
|
10073
|
+
hn(Pw, e) && ke(Pw[e], (o) => {
|
|
10066
10074
|
o(n);
|
|
10067
10075
|
});
|
|
10068
10076
|
};
|
|
@@ -10080,7 +10088,7 @@ Required: ` + n.join(", "));
|
|
|
10080
10088
|
};
|
|
10081
10089
|
if (!n.collapsed) {
|
|
10082
10090
|
const l = e.selection.getSelectedBlocks(), u = zt(zt(l, d_), o(l));
|
|
10083
|
-
|
|
10091
|
+
ke(u, (f) => {
|
|
10084
10092
|
r(f.previousSibling, f);
|
|
10085
10093
|
});
|
|
10086
10094
|
}
|
|
@@ -10175,7 +10183,7 @@ Required: ` + n.join(", "));
|
|
|
10175
10183
|
const r = n.parentNode;
|
|
10176
10184
|
let l;
|
|
10177
10185
|
const u = e.dom, f = Yl(e);
|
|
10178
|
-
hd(o) && r === u.getRoot() && (!o.list_block || !Zv(n, o.list_block)) &&
|
|
10186
|
+
hd(o) && r === u.getRoot() && (!o.list_block || !Zv(n, o.list_block)) && ke(wr(n.childNodes), (b) => {
|
|
10179
10187
|
Jm(e, f, b.nodeName.toLowerCase()) ? l ? l.appendChild(b) : (l = E3(u, b, f), u.setAttribs(l, G1(e))) : l = null;
|
|
10180
10188
|
}), !(yv(o) && !Zv(o.inline, n)) && u.remove(n, !0);
|
|
10181
10189
|
}, jv = (e, n, o) => ss(e) ? {
|
|
@@ -10196,10 +10204,10 @@ Required: ` + n.join(", "));
|
|
|
10196
10204
|
(o.remove_similar || se(k) || !Gt(l) || Zv(Lp(e, l, y), P)) && e.setStyle(n, y, ""), u = !0;
|
|
10197
10205
|
}), u && u$(e, n);
|
|
10198
10206
|
}, D3 = (e, n, o) => {
|
|
10199
|
-
n === "removeformat" ?
|
|
10200
|
-
|
|
10207
|
+
n === "removeformat" ? ke(Yp(e.selection), (r) => {
|
|
10208
|
+
ke(m_, (l) => e.dom.setStyle(r, l, "")), u$(e.dom, r);
|
|
10201
10209
|
}) : S3(e.formatter, n).each((r) => {
|
|
10202
|
-
|
|
10210
|
+
ke(Yp(e.selection), (l) => A3(e.dom, l, r, o, null));
|
|
10203
10211
|
});
|
|
10204
10212
|
}, d$ = (e, n, o, r, l) => {
|
|
10205
10213
|
const u = e.dom, f = YS(e), b = e.schema;
|
|
@@ -10210,7 +10218,7 @@ Required: ` + n.join(", "));
|
|
|
10210
10218
|
const y = r, k = n.preserve_attributes;
|
|
10211
10219
|
if (Xr(n) && n.remove === "all" && to(k)) {
|
|
10212
10220
|
const P = zt(u.getAttribs(y), (B) => qe(k, B.name.toLowerCase()));
|
|
10213
|
-
if (u.removeAllAttribs(y),
|
|
10221
|
+
if (u.removeAllAttribs(y), ke(P, (B) => u.setAttrib(y, B.name, B.value)), P.length > 0)
|
|
10214
10222
|
return cg.rename("span");
|
|
10215
10223
|
}
|
|
10216
10224
|
if (n.remove !== "all") {
|
|
@@ -10224,7 +10232,7 @@ Required: ` + n.join(", "));
|
|
|
10224
10232
|
const q = u.getAttrib(y, J);
|
|
10225
10233
|
if (q) {
|
|
10226
10234
|
let oe = "";
|
|
10227
|
-
if (
|
|
10235
|
+
if (ke(q.split(/\s+/), (we) => {
|
|
10228
10236
|
/mce\-\w+/.test(we) && (oe += (oe ? " " : "") + we);
|
|
10229
10237
|
}), oe) {
|
|
10230
10238
|
u.setAttrib(y, J, oe);
|
|
@@ -10251,7 +10259,7 @@ Required: ` + n.join(", "));
|
|
|
10251
10259
|
return n.remove !== "none" ? (i$(e, y, n), cg.removed()) : cg.keep();
|
|
10252
10260
|
}, m$ = (e, n, o, r, l) => {
|
|
10253
10261
|
let u;
|
|
10254
|
-
return n.parentNode &&
|
|
10262
|
+
return n.parentNode && ke(f0(e.dom, n.parentNode).reverse(), (f) => {
|
|
10255
10263
|
if (!u && Gt(f) && f.id !== "_start" && f.id !== "_end") {
|
|
10256
10264
|
const b = rg(e, f, o, r, l);
|
|
10257
10265
|
b && b.split !== !1 && (u = f);
|
|
@@ -10281,7 +10289,7 @@ Required: ` + n.join(", "));
|
|
|
10281
10289
|
if (!Se && We(Ce) && g0(f) && B(Ce), f.deep && oe.length)
|
|
10282
10290
|
for (let ot = 0; ot < oe.length; ot++)
|
|
10283
10291
|
F(oe[ot]);
|
|
10284
|
-
|
|
10292
|
+
ke([
|
|
10285
10293
|
"underline",
|
|
10286
10294
|
"line-through",
|
|
10287
10295
|
"overline"
|
|
@@ -10329,7 +10337,7 @@ Required: ` + n.join(", "));
|
|
|
10329
10337
|
});
|
|
10330
10338
|
const Ce = b.createRng();
|
|
10331
10339
|
Ce.setStartAfter(oe), Ce.setEndBefore(we), w0(b, Ce, (Pe) => {
|
|
10332
|
-
|
|
10340
|
+
ke(Pe, (ot) => {
|
|
10333
10341
|
!Oi(ot) && !Oi(ot.parentNode) && k(ot);
|
|
10334
10342
|
});
|
|
10335
10343
|
}), k(oe), k(we), oe = J(!0), we = J();
|
|
@@ -10338,7 +10346,7 @@ Required: ` + n.join(", "));
|
|
|
10338
10346
|
Se.startContainer = oe.parentNode ? oe.parentNode : oe, Se.startOffset = b.nodeIndex(oe), Se.endContainer = we.parentNode ? we.parentNode : we, Se.endOffset = b.nodeIndex(we) + 1;
|
|
10339
10347
|
}
|
|
10340
10348
|
w0(b, Se, (Ce) => {
|
|
10341
|
-
|
|
10349
|
+
ke(Ce, F);
|
|
10342
10350
|
});
|
|
10343
10351
|
};
|
|
10344
10352
|
if (r) {
|
|
@@ -10449,18 +10457,18 @@ Required: ` + n.join(", "));
|
|
|
10449
10457
|
return;
|
|
10450
10458
|
}
|
|
10451
10459
|
}
|
|
10452
|
-
We(Pe) && Ft(qt, $s, $l, jn) ? (Ve || (Ve = ne.clone(Pe, !1), hs.insertBefore(Ve, qt), we.push(Ve)), jn && cn && (Se = Yn), Ve.appendChild(qt)) : (Ve = null,
|
|
10460
|
+
We(Pe) && Ft(qt, $s, $l, jn) ? (Ve || (Ve = ne.clone(Pe, !1), hs.insertBefore(Ve, qt), we.push(Ve)), jn && cn && (Se = Yn), Ve.appendChild(qt)) : (Ve = null, ke(wr(qt.childNodes), nt), cn && (Se = Yn), Ve = null);
|
|
10453
10461
|
};
|
|
10454
|
-
|
|
10455
|
-
}), u.links === !0 &&
|
|
10462
|
+
ke(Ze, nt);
|
|
10463
|
+
}), u.links === !0 && ke(we, (Ze) => {
|
|
10456
10464
|
const Ve = (nt) => {
|
|
10457
|
-
nt.nodeName === "A" && k(nt, u),
|
|
10465
|
+
nt.nodeName === "A" && k(nt, u), ke(wr(nt.childNodes), Ve);
|
|
10458
10466
|
};
|
|
10459
10467
|
Ve(Ze);
|
|
10460
|
-
}),
|
|
10468
|
+
}), ke(we, (Ze) => {
|
|
10461
10469
|
const Ve = (cn) => {
|
|
10462
10470
|
let Yn = 0;
|
|
10463
|
-
return
|
|
10471
|
+
return ke(cn.childNodes, (jn) => {
|
|
10464
10472
|
!du(jn) && !Oi(jn) && Yn++;
|
|
10465
10473
|
}), Yn;
|
|
10466
10474
|
}, nt = (cn) => bs(cn.childNodes, q2).filter((jn) => ne.getContentEditable(jn) !== "false" && Mw(ne, jn, u)).map((jn) => {
|
|
@@ -10494,7 +10502,7 @@ Required: ` + n.join(", "));
|
|
|
10494
10502
|
F(b, oe, !1);
|
|
10495
10503
|
});
|
|
10496
10504
|
}, bt), e.nodeChanged()) : BI(e, n, o), S3(e.formatter, n).each((ne) => {
|
|
10497
|
-
|
|
10505
|
+
ke(II(e.selection), (q) => p$(b, q, ne, o));
|
|
10498
10506
|
});
|
|
10499
10507
|
C3(n, e);
|
|
10500
10508
|
}
|
|
@@ -10526,21 +10534,21 @@ Required: ` + n.join(", "));
|
|
|
10526
10534
|
node: P,
|
|
10527
10535
|
format: u,
|
|
10528
10536
|
parents: r
|
|
10529
|
-
}) :
|
|
10537
|
+
}) : ke(b.callbacks, (B) => B(k, {
|
|
10530
10538
|
node: P,
|
|
10531
10539
|
format: u,
|
|
10532
10540
|
parents: r
|
|
10533
10541
|
}));
|
|
10534
10542
|
}
|
|
10535
10543
|
};
|
|
10536
|
-
|
|
10544
|
+
ke([
|
|
10537
10545
|
l.withSimilar,
|
|
10538
10546
|
l.withoutSimilar
|
|
10539
|
-
], f),
|
|
10547
|
+
], f), ke(l.withVars, f);
|
|
10540
10548
|
});
|
|
10541
10549
|
}, KI = (e, n, o, r, l, u) => {
|
|
10542
10550
|
const f = n.get();
|
|
10543
|
-
|
|
10551
|
+
ke(o.split(","), (b) => {
|
|
10544
10552
|
const y = Xo(f, b).getOrThunk(() => {
|
|
10545
10553
|
const P = {
|
|
10546
10554
|
withSimilar: {
|
|
@@ -10573,7 +10581,7 @@ Required: ` + n.join(", "));
|
|
|
10573
10581
|
}), n.set(f);
|
|
10574
10582
|
}, YI = (e, n, o) => {
|
|
10575
10583
|
const r = e.get();
|
|
10576
|
-
|
|
10584
|
+
ke(n.split(","), (l) => Xo(r, l).each((u) => {
|
|
10577
10585
|
r[l] = {
|
|
10578
10586
|
withSimilar: {
|
|
10579
10587
|
...u.withSimilar,
|
|
@@ -10593,7 +10601,7 @@ Required: ` + n.join(", "));
|
|
|
10593
10601
|
const e = {};
|
|
10594
10602
|
return {
|
|
10595
10603
|
addFilter: (l, u) => {
|
|
10596
|
-
|
|
10604
|
+
ke(C$(l), (f) => {
|
|
10597
10605
|
hn(e, f) || (e[f] = {
|
|
10598
10606
|
name: f,
|
|
10599
10607
|
callbacks: []
|
|
@@ -10602,7 +10610,7 @@ Required: ` + n.join(", "));
|
|
|
10602
10610
|
},
|
|
10603
10611
|
getFilters: () => bl(e),
|
|
10604
10612
|
removeFilter: (l, u) => {
|
|
10605
|
-
|
|
10613
|
+
ke(C$(l), (f) => {
|
|
10606
10614
|
if (hn(e, f))
|
|
10607
10615
|
if (We(u)) {
|
|
10608
10616
|
const b = e[f], y = zt(b.callbacks, (k) => k !== u);
|
|
@@ -10613,12 +10621,12 @@ Required: ` + n.join(", "));
|
|
|
10613
10621
|
}
|
|
10614
10622
|
};
|
|
10615
10623
|
}, QI = (e, n) => {
|
|
10616
|
-
|
|
10624
|
+
ke(n, (o) => {
|
|
10617
10625
|
e.attr(o, null);
|
|
10618
10626
|
});
|
|
10619
10627
|
}, eL = (e, n, o) => {
|
|
10620
10628
|
e.addNodeFilter("font", (r) => {
|
|
10621
|
-
|
|
10629
|
+
ke(r, (l) => {
|
|
10622
10630
|
const u = n.parse(l.attr("style")), f = l.attr("color"), b = l.attr("face"), y = l.attr("size");
|
|
10623
10631
|
f && (u.color = f), b && (u["font-family"] = b), y && zc(y).each((k) => {
|
|
10624
10632
|
u["font-size"] = o[k - 1];
|
|
@@ -10632,7 +10640,7 @@ Required: ` + n.join(", "));
|
|
|
10632
10640
|
}, tL = (e, n, o) => {
|
|
10633
10641
|
e.addNodeFilter("strike", (r) => {
|
|
10634
10642
|
const l = n.type !== "html4";
|
|
10635
|
-
|
|
10643
|
+
ke(r, (u) => {
|
|
10636
10644
|
if (l)
|
|
10637
10645
|
u.name = "s";
|
|
10638
10646
|
else {
|
|
@@ -10745,7 +10753,7 @@ Required: ` + n.join(", "));
|
|
|
10745
10753
|
l.attr("src", f.blobUri());
|
|
10746
10754
|
});
|
|
10747
10755
|
};
|
|
10748
|
-
e.addAttributeFilter("src", (l) =>
|
|
10756
|
+
e.addAttributeFilter("src", (l) => ke(l, r));
|
|
10749
10757
|
}
|
|
10750
10758
|
}, M3 = (e, n) => Es(e, `${n}/`), v_ = (e, n, o, r, l) => {
|
|
10751
10759
|
let u;
|
|
@@ -10800,9 +10808,9 @@ Required: ` + n.join(", "));
|
|
|
10800
10808
|
}
|
|
10801
10809
|
P.length || (P = null), b.attr("class", P);
|
|
10802
10810
|
}
|
|
10803
|
-
}), A$(e, n), n.convert_unsafe_embeds && e.addNodeFilter("object,embed", (l) =>
|
|
10811
|
+
}), A$(e, n), n.convert_unsafe_embeds && e.addNodeFilter("object,embed", (l) => ke(l, (u) => {
|
|
10804
10812
|
u.replace(v_(u.attr("type"), u.name === "object" ? u.attr("data") : u.attr("src"), u.attr("width"), u.attr("height"), n.sandbox_iframes));
|
|
10805
|
-
})), n.sandbox_iframes && e.addNodeFilter("iframe", (l) =>
|
|
10813
|
+
})), n.sandbox_iframes && e.addNodeFilter("iframe", (l) => ke(l, (u) => u.attr("sandbox", "")));
|
|
10806
10814
|
}, { entries: Ta, setPrototypeOf: cL, isFrozen: Hj, getPrototypeOf: Vj, getOwnPropertyDescriptor: zj } = Object;
|
|
10807
10815
|
let { freeze: la, seal: Vu, create: Xp } = Object, { apply: ig, construct: P3 } = typeof Reflect < "u" && Reflect;
|
|
10808
10816
|
ig || (ig = function(n, o, r) {
|
|
@@ -12092,9 +12100,9 @@ Required: ` + n.join(", "));
|
|
|
12092
12100
|
} else
|
|
12093
12101
|
We(l) && (l.allowedTags[B] = !0);
|
|
12094
12102
|
if (k && q && !J) {
|
|
12095
|
-
if (
|
|
12103
|
+
if (ke((b = q.attributesForced) !== null && b !== void 0 ? b : [], (oe) => {
|
|
12096
12104
|
Cs(F, oe.name, oe.value === "{$uid}" ? `mce_${G$++}` : oe.value);
|
|
12097
|
-
}),
|
|
12105
|
+
}), ke((y = q.attributesDefault) !== null && y !== void 0 ? y : [], (oe) => {
|
|
12098
12106
|
Ur(F, oe.name) || Cs(F, oe.name, oe.value === "{$uid}" ? `mce_${G$++}` : oe.value);
|
|
12099
12107
|
}), q.attributesRequired && !Rt(q.attributesRequired, (oe) => Ur(F, oe))) {
|
|
12100
12108
|
ll(F);
|
|
@@ -12197,11 +12205,11 @@ Required: ` + n.join(", "));
|
|
|
12197
12205
|
const r = [];
|
|
12198
12206
|
for (let l = e, u = l; l; u = l, l = l.walk()) {
|
|
12199
12207
|
const f = l;
|
|
12200
|
-
|
|
12208
|
+
ke(n, (b) => b(f)), In(f.parent) && f !== e ? l = u : r.push(f);
|
|
12201
12209
|
}
|
|
12202
12210
|
for (let l = r.length - 1; l >= 0; l--) {
|
|
12203
12211
|
const u = r[l];
|
|
12204
|
-
|
|
12212
|
+
ke(o, (f) => f(u));
|
|
12205
12213
|
}
|
|
12206
12214
|
}, xL = (e, n, o, r) => {
|
|
12207
12215
|
const l = o.validate, u = n.getNonEmptyElements(), f = n.getWhitespaceElements(), b = X$(Y$("script,style,head,html,body,title,meta,param"), n.getBlockElements()), y = tC(n), k = /[ \t\r\n]+/g, P = /^[ \t\r\n]+/, B = /[ \t\r\n]+$/, F = (Se) => {
|
|
@@ -12428,8 +12436,8 @@ Required: ` + n.join(", "));
|
|
|
12428
12436
|
return Go(r, o), r;
|
|
12429
12437
|
}), kL = (e) => {
|
|
12430
12438
|
const n = q3(oi(e), 0, []);
|
|
12431
|
-
return
|
|
12432
|
-
|
|
12439
|
+
return ke(ba(e, "tr"), (o, r) => {
|
|
12440
|
+
ke(ba(o, "td,th"), (l, u) => {
|
|
12433
12441
|
CL(n, SL(n, u, r), r, o, l);
|
|
12434
12442
|
});
|
|
12435
12443
|
}), q3(n.element, T_(n.rows), n.rows);
|
|
@@ -12572,7 +12580,7 @@ Required: ` + n.join(", "));
|
|
|
12572
12580
|
}
|
|
12573
12581
|
}, ML = (e, n) => {
|
|
12574
12582
|
let o = 0;
|
|
12575
|
-
|
|
12583
|
+
ke(e, (r) => {
|
|
12576
12584
|
r[0] === Zw ? o++ : r[0] === nA ? ($L(n, r[1], o), o++) : r[0] === oA && O_(n, o);
|
|
12577
12585
|
});
|
|
12578
12586
|
}, PL = (e, n) => zt(Ke(wr(e.childNodes), A(V, uM)), (o) => o.length > 0), BL = (e, n) => {
|
|
@@ -12601,7 +12609,7 @@ Required: ` + n.join(", "));
|
|
|
12601
12609
|
}), r && (e.selection.moveToBookmark(r), e.selection.scrollIntoView());
|
|
12602
12610
|
}, aA = (e) => e.type === "fragmented" ? e.fragments.join("") : e.content, lA = (e) => {
|
|
12603
12611
|
const n = ce.fromTag("body", dM());
|
|
12604
|
-
return ed(n, aA(e)),
|
|
12612
|
+
return ed(n, aA(e)), ke(ba(n, "*[data-mce-bogus]"), ll), qn(n);
|
|
12605
12613
|
}, Uj = (e, n) => aA(e) === aA(n), LL = (e, n) => lA(e) === lA(n), cA = (e, n) => !e || !n ? !1 : Uj(e, n) ? !0 : LL(e, n), iA = (e) => e.get() === 0, $_ = (e, n, o) => {
|
|
12606
12614
|
iA(o) && (e.typing = n);
|
|
12607
12615
|
}, fM = (e, n) => {
|
|
@@ -12660,7 +12668,7 @@ Required: ` + n.join(", "));
|
|
|
12660
12668
|
}
|
|
12661
12669
|
}, jj = (e, n) => {
|
|
12662
12670
|
const o = e.dom, r = We(n) ? n : e.getBody();
|
|
12663
|
-
|
|
12671
|
+
ke(o.select("table,a", r), (l) => {
|
|
12664
12672
|
switch (l.nodeName) {
|
|
12665
12673
|
case "TABLE":
|
|
12666
12674
|
const u = p4(e), f = o.getAttrib(l, "border");
|
|
@@ -12880,7 +12888,7 @@ Required: ` + n.join(", "));
|
|
|
12880
12888
|
const y = b.element, k = u(y), P = {};
|
|
12881
12889
|
vt(o, (B, F) => {
|
|
12882
12890
|
l(F, k).each((J) => {
|
|
12883
|
-
r[F] || (
|
|
12891
|
+
r[F] || (ke(B, (ne) => {
|
|
12884
12892
|
ne(!0, {
|
|
12885
12893
|
node: J,
|
|
12886
12894
|
selector: F,
|
|
@@ -12889,7 +12897,7 @@ Required: ` + n.join(", "));
|
|
|
12889
12897
|
}), r[F] = B), P[F] = B;
|
|
12890
12898
|
});
|
|
12891
12899
|
}), vt(r, (B, F) => {
|
|
12892
|
-
P[F] || (delete r[F],
|
|
12900
|
+
P[F] || (delete r[F], ke(B, (J) => {
|
|
12893
12901
|
J(!1, {
|
|
12894
12902
|
node: y,
|
|
12895
12903
|
selector: F,
|
|
@@ -13109,7 +13117,7 @@ Required: ` + n.join(", "));
|
|
|
13109
13117
|
f.type === 7 ? f.remove() : f.type === 1 && l === "input" && !f.attr("type") && f.attr("type", "text");
|
|
13110
13118
|
}
|
|
13111
13119
|
}), e.addAttributeFilter("data-mce-type", (r) => {
|
|
13112
|
-
|
|
13120
|
+
ke(r, (l) => {
|
|
13113
13121
|
l.attr("data-mce-type") === "format-caret" && (l.isEmpty(e.schema.getNonEmptyElements()) ? l.remove() : l.unwrap());
|
|
13114
13122
|
});
|
|
13115
13123
|
}), e.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-block,data-mce-type,data-mce-resize,data-mce-placeholder", (r, l) => {
|
|
@@ -13334,7 +13342,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
13334
13342
|
const F = e.theme;
|
|
13335
13343
|
return F && F.getNotificationManagerImpl ? F.getNotificationManagerImpl() : LM();
|
|
13336
13344
|
}, r = () => z.from(n[0]), l = (F, J) => F.type === J.type && F.text === J.text && !F.progressBar && !F.timeout && !J.progressBar && !J.timeout, u = () => {
|
|
13337
|
-
|
|
13345
|
+
ke(n, (F) => {
|
|
13338
13346
|
F.reposition();
|
|
13339
13347
|
});
|
|
13340
13348
|
}, f = (F) => {
|
|
@@ -13365,7 +13373,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
13365
13373
|
}), F.on("show ResizeEditor ResizeWindow NodeChange", () => {
|
|
13366
13374
|
requestAnimationFrame(u);
|
|
13367
13375
|
}), F.on("remove", () => {
|
|
13368
|
-
|
|
13376
|
+
ke(n.slice(), (J) => {
|
|
13369
13377
|
o().close(J);
|
|
13370
13378
|
});
|
|
13371
13379
|
});
|
|
@@ -13416,7 +13424,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
13416
13424
|
});
|
|
13417
13425
|
};
|
|
13418
13426
|
return e.on("remove", () => {
|
|
13419
|
-
|
|
13427
|
+
ke(n, (q) => {
|
|
13420
13428
|
o().close(q);
|
|
13421
13429
|
});
|
|
13422
13430
|
}), {
|
|
@@ -13573,7 +13581,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
13573
13581
|
e = zt(e, (F) => F.blobUri() === B ? (URL.revokeObjectURL(F.blobUri()), !1) : !0);
|
|
13574
13582
|
},
|
|
13575
13583
|
destroy: () => {
|
|
13576
|
-
|
|
13584
|
+
ke(e, (B) => {
|
|
13577
13585
|
URL.revokeObjectURL(B.blobUri());
|
|
13578
13586
|
}), e = [];
|
|
13579
13587
|
}
|
|
@@ -13669,7 +13677,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
13669
13677
|
const wt = `src="${ot}"${ot === It.transparentSrc ? ' data-mce-placeholder="1"' : ""}`;
|
|
13670
13678
|
return Ce = y(Ce, `src="${Pe}"`, wt), Ce = y(Ce, 'data-mce-src="' + Pe + '"', 'data-mce-src="' + ot + '"'), Ce;
|
|
13671
13679
|
}, P = (Ce, Pe) => {
|
|
13672
|
-
|
|
13680
|
+
ke(e.undoManager.data, (ot) => {
|
|
13673
13681
|
ot.type === "fragmented" ? ot.fragments = Ke(ot.fragments, (wt) => k(wt, Ce, Pe)) : ot.content = k(ot.content, Ce, Pe);
|
|
13674
13682
|
});
|
|
13675
13683
|
}, B = (Ce, Pe) => {
|
|
@@ -13695,7 +13703,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
13695
13703
|
};
|
|
13696
13704
|
});
|
|
13697
13705
|
return wt.length > 0 && !Th(e) ? e.undoManager.transact(() => {
|
|
13698
|
-
|
|
13706
|
+
ke(nu(wt), (Ve) => {
|
|
13699
13707
|
const nt = ha(Ve);
|
|
13700
13708
|
_o(Ve), nt.each(QF(e)), n.removeByUri(Ve.dom.src);
|
|
13701
13709
|
});
|
|
@@ -13705,7 +13713,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
13705
13713
|
u.push(Ce);
|
|
13706
13714
|
}, oe = () => (r || (r = jF(l, n)), r.findAll(e.getBody(), ne).then(f((Ce) => {
|
|
13707
13715
|
const Pe = zt(Ce, (ot) => fe(ot) ? (I_(e, ot), !1) : ot.uriType !== "blob");
|
|
13708
|
-
return Th(e) ||
|
|
13716
|
+
return Th(e) || ke(Pe, (ot) => {
|
|
13709
13717
|
P(ot.image.src, ot.blobInfo.blobUri()), ot.image.src = ot.blobInfo.blobUri(), ot.image.removeAttribute("data-mce-src");
|
|
13710
13718
|
}), Pe;
|
|
13711
13719
|
}))), we = () => {
|
|
@@ -13725,7 +13733,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
13725
13733
|
Ce.source_view || Ce.format === "raw" || Ce.format === "tree" || (Ce.content = Se(Ce.content));
|
|
13726
13734
|
}), e.on("PostRender", () => {
|
|
13727
13735
|
e.parser.addNodeFilter("img", (Ce) => {
|
|
13728
|
-
|
|
13736
|
+
ke(Ce, (Pe) => {
|
|
13729
13737
|
const ot = Pe.attr("src");
|
|
13730
13738
|
if (!ot || n.getByUri(ot))
|
|
13731
13739
|
return;
|
|
@@ -14123,7 +14131,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14123
14131
|
}
|
|
14124
14132
|
}, H_ = rt(V0), V_ = (e) => {
|
|
14125
14133
|
const n = {}, o = (f) => We(f) ? n[f] : n, r = (f) => hn(n, f), l = (f, b) => {
|
|
14126
|
-
f && (fe(f) ? (to(b) || (b = [b]),
|
|
14134
|
+
f && (fe(f) ? (to(b) || (b = [b]), ke(b, (y) => {
|
|
14127
14135
|
ds(y.deep) && (y.deep = !gl(y)), ds(y.split) && (y.split = !gl(y) || Xr(y)), ds(y.remove) && gl(y) && !Xr(y) && (y.remove = "none"), gl(y) && Xr(y) && (y.mixed = !0, y.block_expand = !0), fe(y.classes) && (y.classes = y.classes.split(/\s+/));
|
|
14128
14136
|
}), n[f] = b) : vt(f, (y, k) => {
|
|
14129
14137
|
l(k, y);
|
|
@@ -14452,7 +14460,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14452
14460
|
return vr(o, (r) => n.isBlock(go(r))).fold(rt(o), (r) => o.slice(0, r));
|
|
14453
14461
|
}, U_ = (e, n) => {
|
|
14454
14462
|
const o = d9(e, n);
|
|
14455
|
-
return
|
|
14463
|
+
return ke(o, _o), o;
|
|
14456
14464
|
}, W_ = (e, n) => {
|
|
14457
14465
|
const o = og(n, e);
|
|
14458
14466
|
return bs(o.reverse(), (r) => hr(r)).each(_o);
|
|
@@ -14461,7 +14469,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14461
14469
|
return Au(o), hc(o.dom);
|
|
14462
14470
|
XM(l) && hr(n) && Wr(l, ce.fromTag("br"));
|
|
14463
14471
|
const u = $c(o.dom, Le.before(l.dom));
|
|
14464
|
-
return
|
|
14472
|
+
return ke(U_(n, r), (f) => {
|
|
14465
14473
|
Wr(l, f);
|
|
14466
14474
|
}), W_(e, n), u;
|
|
14467
14475
|
}, f9 = (e, n) => e.isInline(go(n)), JM = (e, n, o, r) => {
|
|
@@ -14476,7 +14484,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14476
14484
|
return _o(o), hc(n.dom);
|
|
14477
14485
|
}
|
|
14478
14486
|
const l = Bu(o.dom);
|
|
14479
|
-
return
|
|
14487
|
+
return ke(U_(n, r), (u) => {
|
|
14480
14488
|
Sr(o, u);
|
|
14481
14489
|
}), W_(e, n), l;
|
|
14482
14490
|
}, QM = (e, n) => {
|
|
@@ -14572,7 +14580,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14572
14580
|
const o = e.selection.getNode();
|
|
14573
14581
|
return a6(e, o).filter(ho).fold(() => J_(e.getBody(), n, e.selection.getRng(), e.schema).map((r) => () => r.fold(IA(e, n), S9(e, n), _9(e))), () => z.some(Ot));
|
|
14574
14582
|
}, l6 = (e) => {
|
|
14575
|
-
|
|
14583
|
+
ke(ba(e, ".mce-offscreen-selection"), _o);
|
|
14576
14584
|
}, T9 = (e, n) => {
|
|
14577
14585
|
const o = e.selection.getNode();
|
|
14578
14586
|
return ho(o) && !Ef(o) ? a6(e, o.parentNode).filter(ho).fold(() => z.some(() => {
|
|
@@ -14876,7 +14884,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14876
14884
|
return H9(o, u, r, l).bind((b) => YA(e, n, b));
|
|
14877
14885
|
}, O6 = (e, n, o) => {
|
|
14878
14886
|
const r = Ke(ba(ce.fromDom(n.getRoot()), '*[data-mce-selected="inline-boundary"]'), (f) => f.dom), l = zt(r, e), u = zt(o, e);
|
|
14879
|
-
|
|
14887
|
+
ke(ji(l, u), Me(D6, !1)), ke(ji(u, l), Me(D6, !0));
|
|
14880
14888
|
}, Q9 = (e, n) => {
|
|
14881
14889
|
const o = n.get();
|
|
14882
14890
|
if (e.selection.isCollapsed() && !e.composing && o) {
|
|
@@ -14886,7 +14894,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14886
14894
|
}, R6 = (e, n, o, r) => {
|
|
14887
14895
|
if (n.selection.isCollapsed()) {
|
|
14888
14896
|
const l = zt(r, e);
|
|
14889
|
-
|
|
14897
|
+
ke(l, (u) => {
|
|
14890
14898
|
const f = Le.fromRangeStart(n.selection.getRng());
|
|
14891
14899
|
Rl(e, n.getBody(), f).bind((b) => YA(n, o, b));
|
|
14892
14900
|
});
|
|
@@ -15022,7 +15030,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15022
15030
|
}, W6 = (e) => Wl(e) || Kc(e), vH = (e) => ha(e).exists(W6), Z6 = (e) => zt(nu(e.selection.getSelectedBlocks()), (n) => !W6(n) && !vH(n) && bH(n)), j6 = (e, n) => {
|
|
15023
15031
|
var o, r;
|
|
15024
15032
|
const { dom: l } = e, u = y2(e), f = (r = (o = /[a-z%]+$/i.exec(u)) === null || o === void 0 ? void 0 : o[0]) !== null && r !== void 0 ? r : "px", b = Li(u), y = Kb(e);
|
|
15025
|
-
|
|
15033
|
+
ke(Z6(e), (k) => {
|
|
15026
15034
|
l5(l, n, y, b, f, k.dom);
|
|
15027
15035
|
});
|
|
15028
15036
|
}, yH = (e) => j6(e, "indent"), c5 = (e) => j6(e, "outdent"), G6 = (e) => {
|
|
@@ -15596,7 +15604,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15596
15604
|
})(gf || (gf = {}));
|
|
15597
15605
|
const k5 = (e, n, o) => e.stype === gf.Error ? n(e.serror) : o(e.svalue), lV = (e) => {
|
|
15598
15606
|
const n = [], o = [];
|
|
15599
|
-
return
|
|
15607
|
+
return ke(e, (r) => {
|
|
15600
15608
|
k5(r, (l) => o.push(l), (l) => n.push(l));
|
|
15601
15609
|
}), {
|
|
15602
15610
|
values: n,
|
|
@@ -15912,7 +15920,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
15912
15920
|
}, J = () => {
|
|
15913
15921
|
y = b == null ? void 0 : b.anchorNode, k = b == null ? void 0 : b.anchorOffset, P = b == null ? void 0 : b.focusNode, B = b == null ? void 0 : b.focusOffset;
|
|
15914
15922
|
}, ne = (oe, we) => {
|
|
15915
|
-
|
|
15923
|
+
ke(oe.childNodes, (Se) => {
|
|
15916
15924
|
u0(Se) && we.appendChild(Se);
|
|
15917
15925
|
});
|
|
15918
15926
|
}, q = e.dom.create("span", { "data-mce-bogus": "1" });
|
|
@@ -16247,14 +16255,14 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
16247
16255
|
const B = P.extractContents();
|
|
16248
16256
|
if (l === "LI" && rz(B, "LI")) {
|
|
16249
16257
|
const F = zt(Ke(k.children, ce.fromDom), sn(lc("br")));
|
|
16250
|
-
k = B.firstChild, u.insertAfter(B, o),
|
|
16258
|
+
k = B.firstChild, u.insertAfter(B, o), ke(F, (J) => Qu(ce.fromDom(k), J)), y && k.setAttribute("style", y);
|
|
16251
16259
|
} else
|
|
16252
16260
|
u.insertAfter(B, o), u.insertAfter(k, o);
|
|
16253
16261
|
u.remove(r);
|
|
16254
16262
|
}
|
|
16255
16263
|
nr(e, k);
|
|
16256
16264
|
}, cz = (e) => {
|
|
16257
|
-
|
|
16265
|
+
ke(ou(ce.fromDom(e), ga), (n) => {
|
|
16258
16266
|
const o = n.dom;
|
|
16259
16267
|
o.nodeValue = V(o.data);
|
|
16260
16268
|
});
|
|
@@ -16830,9 +16838,9 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
16830
16838
|
return F8(r), r;
|
|
16831
16839
|
}, Yz = (e) => {
|
|
16832
16840
|
const n = cD(), o = I8(e);
|
|
16833
|
-
return rD(e), nD(n), n.dropEffect = e.dropEffect, n.effectAllowed = e.effectAllowed, tD(e).each((r) => n.setDragImage(r.image, r.x, r.y)),
|
|
16841
|
+
return rD(e), nD(n), n.dropEffect = e.dropEffect, n.effectAllowed = e.effectAllowed, tD(e).each((r) => n.setDragImage(r.image, r.x, r.y)), ke(e.types, (r) => {
|
|
16834
16842
|
r !== "Files" && n.setData(r, e.getData(r));
|
|
16835
|
-
}),
|
|
16843
|
+
}), ke(e.files, (r) => n.items.add(r)), P8(e).each((r) => {
|
|
16836
16844
|
B8(n, r);
|
|
16837
16845
|
}), o.each((r) => {
|
|
16838
16846
|
L8(e, r), L8(n, r);
|
|
@@ -16874,7 +16882,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
16874
16882
|
const n = e.dom, o = (f, b) => {
|
|
16875
16883
|
f.appendChild(b), n.remove(b, !0);
|
|
16876
16884
|
}, [r, ...l] = zt(e.getBody().childNodes, oU);
|
|
16877
|
-
|
|
16885
|
+
ke(l, (f) => {
|
|
16878
16886
|
o(r, f);
|
|
16879
16887
|
});
|
|
16880
16888
|
const u = n.select("div[id=mcepastebin]", r);
|
|
@@ -17043,7 +17051,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
17043
17051
|
const l = X8(e, r);
|
|
17044
17052
|
if (l.length > 0)
|
|
17045
17053
|
return n.preventDefault(), wU(l).then((u) => {
|
|
17046
|
-
o && e.selection.setRng(o),
|
|
17054
|
+
o && e.selection.setRng(o), ke(u, (f) => {
|
|
17047
17055
|
yU(e, f);
|
|
17048
17056
|
});
|
|
17049
17057
|
}), !0;
|
|
@@ -17162,7 +17170,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
17162
17170
|
const o = (r) => se(r.querySelector("summary"));
|
|
17163
17171
|
if (n.inputType === "deleteByDrag") {
|
|
17164
17172
|
const r = zt(e.dom.select("details"), o);
|
|
17165
|
-
|
|
17173
|
+
ke(r, (l) => {
|
|
17166
17174
|
cs(l.firstChild) && l.firstChild.remove();
|
|
17167
17175
|
const u = e.dom.create("summary");
|
|
17168
17176
|
u.appendChild(jl().dom), l.prepend(u);
|
|
@@ -17242,12 +17250,12 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
17242
17250
|
}, MU = (e) => {
|
|
17243
17251
|
e.parser.addNodeFilter("details", (n) => {
|
|
17244
17252
|
const o = Ka(e);
|
|
17245
|
-
|
|
17253
|
+
ke(n, (r) => {
|
|
17246
17254
|
o === "expanded" ? r.attr("open", "open") : o === "collapsed" && r.attr("open", null);
|
|
17247
17255
|
});
|
|
17248
17256
|
}), e.serializer.addNodeFilter("details", (n) => {
|
|
17249
17257
|
const o = fO(e);
|
|
17250
|
-
|
|
17258
|
+
ke(n, (r) => {
|
|
17251
17259
|
o === "expanded" ? r.attr("open", "open") : o === "collapsed" && r.attr("open", null);
|
|
17252
17260
|
});
|
|
17253
17261
|
});
|
|
@@ -17572,10 +17580,10 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
17572
17580
|
"drop",
|
|
17573
17581
|
"dragover"
|
|
17574
17582
|
];
|
|
17575
|
-
|
|
17583
|
+
ke(y, (k) => {
|
|
17576
17584
|
l.bind(f, k, o), u.bind(b, k, n);
|
|
17577
17585
|
}), e.on("remove", () => {
|
|
17578
|
-
|
|
17586
|
+
ke(y, (k) => {
|
|
17579
17587
|
l.unbind(f, k, o), u.unbind(b, k, n);
|
|
17580
17588
|
});
|
|
17581
17589
|
});
|
|
@@ -17682,7 +17690,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
17682
17690
|
if (Ve.isDefaultPrevented())
|
|
17683
17691
|
return null;
|
|
17684
17692
|
const nt = we(Ft, Ve.targetClone), qt = ce.fromDom(Ft);
|
|
17685
|
-
return
|
|
17693
|
+
return ke(ba(ce.fromDom(e.getBody()), `*[${f}]`), (cn) => {
|
|
17686
17694
|
So(qt, cn) || ar(cn, f);
|
|
17687
17695
|
}), o.getAttrib(Ft, f) || Ft.setAttribute(f, "1"), b = Ft, wt(), nt;
|
|
17688
17696
|
}, Ce = (Ft, Ze) => {
|
|
@@ -17828,7 +17836,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
17828
17836
|
if (n.length === 0)
|
|
17829
17837
|
return;
|
|
17830
17838
|
const o = e.selection.getBookmark();
|
|
17831
|
-
|
|
17839
|
+
ke(n, (r) => Xk(e, r)), e.selection.moveToBookmark(o);
|
|
17832
17840
|
}, ED = (e, n) => e.create("span", {
|
|
17833
17841
|
"data-mce-type": "bookmark",
|
|
17834
17842
|
id: n
|
|
@@ -17932,7 +17940,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
17932
17940
|
return z.none();
|
|
17933
17941
|
});
|
|
17934
17942
|
}, HB = (e, n, o) => {
|
|
17935
|
-
e.selection.setRng(o), n.type === "inline-format" ?
|
|
17943
|
+
e.selection.setRng(o), n.type === "inline-format" ? ke(n.format, (r) => {
|
|
17936
17944
|
e.formatter.apply(r);
|
|
17937
17945
|
}) : e.execCommand(n.cmd, !1, n.value);
|
|
17938
17946
|
}, VB = (e, n, o, r) => {
|
|
@@ -17972,7 +17980,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
17972
17980
|
if (n.length === 0)
|
|
17973
17981
|
return;
|
|
17974
17982
|
const o = e.dom, r = e.selection.getBookmark(), l = AD(o, n);
|
|
17975
|
-
|
|
17983
|
+
ke(l, (u) => {
|
|
17976
17984
|
const f = o.getParent(u.startMarker.start, o.isBlock), b = (y) => y === f;
|
|
17977
17985
|
Px(u.pattern) ? VB(e, u.pattern, u.endMarker, b) : zB(e, u.pattern, u.startMarker, u.endMarker, b), LB(o, u.endMarker, b), LB(o, u.startMarker, b);
|
|
17978
17986
|
}), e.selection.moveToBookmark(r);
|
|
@@ -18493,7 +18501,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
18493
18501
|
}
|
|
18494
18502
|
}, WW = (e) => e.replace(/^\-/, ""), ZW = (e) => {
|
|
18495
18503
|
const n = [];
|
|
18496
|
-
|
|
18504
|
+
ke(J1(e), (o) => {
|
|
18497
18505
|
tN(e, n, WW(o));
|
|
18498
18506
|
});
|
|
18499
18507
|
}, jW = (e) => {
|
|
@@ -18585,7 +18593,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
18585
18593
|
name: z.some(r)
|
|
18586
18594
|
})), eZ = (e, n, o) => {
|
|
18587
18595
|
const r = BD(n, "default", o), l = cN(n).orThunk(() => BD(n, p2(n), ""));
|
|
18588
|
-
|
|
18596
|
+
ke(zs([
|
|
18589
18597
|
r,
|
|
18590
18598
|
l
|
|
18591
18599
|
]), (u) => {
|
|
@@ -18601,7 +18609,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
18601
18609
|
};
|
|
18602
18610
|
vt(Wf(e), (r, l) => {
|
|
18603
18611
|
o(l, r), e.options.set("plugins", J1(e).concat(l));
|
|
18604
|
-
}),
|
|
18612
|
+
}), ke(J1(e), (r) => {
|
|
18605
18613
|
r = lt.trim(r), r && !H0.urls[r] && !aN(r) && o(r, `plugins/${r}/plugin${n}.js`);
|
|
18606
18614
|
});
|
|
18607
18615
|
}, nZ = (e) => {
|
|
@@ -18701,7 +18709,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
18701
18709
|
const n = (r, l) => {
|
|
18702
18710
|
e.formatter.toggle(r, l), e.nodeChanged();
|
|
18703
18711
|
}, o = (r) => () => {
|
|
18704
|
-
|
|
18712
|
+
ke("left,center,right,justify".split(","), (l) => {
|
|
18705
18713
|
r !== l && e.formatter.remove("align" + l);
|
|
18706
18714
|
}), r !== "none" && n("align" + r);
|
|
18707
18715
|
};
|
|
@@ -19075,7 +19083,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
19075
19083
|
addCommands(n, o = "exec") {
|
|
19076
19084
|
const r = this.commands;
|
|
19077
19085
|
vt(n, (l, u) => {
|
|
19078
|
-
|
|
19086
|
+
ke(u.toLowerCase().split(","), (f) => {
|
|
19079
19087
|
r[o][f] = l;
|
|
19080
19088
|
});
|
|
19081
19089
|
});
|
|
@@ -19105,11 +19113,11 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
19105
19113
|
}, uT = (e, n) => {
|
|
19106
19114
|
e.dom.contentEditable = n ? "true" : "false";
|
|
19107
19115
|
}, NZ = (e) => {
|
|
19108
|
-
|
|
19116
|
+
ke(ba(e, '*[contenteditable="true"]'), (n) => {
|
|
19109
19117
|
Cs(n, f1, "true"), uT(n, !1);
|
|
19110
19118
|
});
|
|
19111
19119
|
}, g1 = (e) => {
|
|
19112
|
-
|
|
19120
|
+
ke(ba(e, `*[${f1}="true"]`), (n) => {
|
|
19113
19121
|
ar(n, f1), uT(n, !0);
|
|
19114
19122
|
});
|
|
19115
19123
|
}, IZ = (e) => {
|
|
@@ -19123,11 +19131,11 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
19123
19131
|
BZ(o, "mce-content-readonly", n), n ? (e.selection.controlSelection.hideResizeRect(), e._selectionOverrides.hideFakeCaret(), IZ(e), e.readonly = !0, uT(o, !1), NZ(o)) : (e.readonly = !1, e.hasEditableRoot() && uT(o, !0), g1(o), WD(e, "StyleWithCSS", !1), WD(e, "enableInlineTableEditing", !1), WD(e, "enableObjectResizing", !1), RO(e) && e.focus(), wN(e), e.nodeChanged());
|
|
19124
19132
|
}, vg = (e) => e.readonly, xN = (e) => {
|
|
19125
19133
|
e.parser.addAttributeFilter("contenteditable", (n) => {
|
|
19126
|
-
vg(e) &&
|
|
19134
|
+
vg(e) && ke(n, (o) => {
|
|
19127
19135
|
o.attr(f1, o.attr("contenteditable")), o.attr("contenteditable", "false");
|
|
19128
19136
|
});
|
|
19129
19137
|
}), e.serializer.addAttributeFilter(f1, (n) => {
|
|
19130
|
-
vg(e) &&
|
|
19138
|
+
vg(e) && ke(n, (o) => {
|
|
19131
19139
|
o.attr("contenteditable", o.attr(f1));
|
|
19132
19140
|
});
|
|
19133
19141
|
}), e.serializer.addTempAttr(f1);
|
|
@@ -19218,7 +19226,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, vo(n, A5)), ZP = rt(VP), vk
|
|
|
19218
19226
|
f.length = 0;
|
|
19219
19227
|
else {
|
|
19220
19228
|
const b = qo(f, (y) => y.func === o);
|
|
19221
|
-
f = b.fail, this.bindings[u] = f,
|
|
19229
|
+
f = b.fail, this.bindings[u] = f, ke(b.pass, (y) => {
|
|
19222
19230
|
y.removed = !0;
|
|
19223
19231
|
});
|
|
19224
19232
|
}
|
|
@@ -20394,7 +20402,7 @@ tinymce.IconManager.add("default", {
|
|
|
20394
20402
|
}, te = (t) => {
|
|
20395
20403
|
const s = typeof t;
|
|
20396
20404
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && ie(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
20397
|
-
},
|
|
20405
|
+
}, _e = (t) => (s) => te(s) === t, ae = (t) => (s) => typeof s === t, j = (t) => (s) => t === s, Ae = (t, s) => Be(t) && ie(t, s, (a, c) => O(a) === c), Q = _e("string"), Be = _e("object"), gt = (t) => Ae(t, Object), Et = _e("array"), _n = j(null), Ht = ae("boolean"), Oo = j(void 0), Wn = (t) => t == null, co = (t) => !Wn(t), _t = ae("function"), pr = ae("number"), mn = (t, s) => {
|
|
20398
20406
|
if (Et(t)) {
|
|
20399
20407
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
20400
20408
|
if (!s(t[a]))
|
|
@@ -20568,7 +20576,7 @@ tinymce.IconManager.add("default", {
|
|
|
20568
20576
|
no.apply(s, t[a]);
|
|
20569
20577
|
}
|
|
20570
20578
|
return s;
|
|
20571
|
-
},
|
|
20579
|
+
}, ke = (t, s) => Ke(et(t, s)), yn = (t, s) => {
|
|
20572
20580
|
for (let a = 0, c = t.length; a < c; ++a) {
|
|
20573
20581
|
const d = t[a];
|
|
20574
20582
|
if (s(d, a) !== !0)
|
|
@@ -22139,7 +22147,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22139
22147
|
return Xh(c, t.uid), c;
|
|
22140
22148
|
}, Bb = (t) => {
|
|
22141
22149
|
const s = vt(t, "behaviours").getOr({});
|
|
22142
|
-
return
|
|
22150
|
+
return ke(vs(s), (a) => {
|
|
22143
22151
|
const c = s[a];
|
|
22144
22152
|
return co(c) ? [c.me] : [];
|
|
22145
22153
|
});
|
|
@@ -22158,7 +22166,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22158
22166
|
}, W = () => {
|
|
22159
22167
|
c.set(Vm(a));
|
|
22160
22168
|
}, X = () => {
|
|
22161
|
-
const dt = $a(E), Xe =
|
|
22169
|
+
const dt = $a(E), Xe = ke(dt, (Ge) => c.get().getByDom(Ge).fold(() => [], Ho));
|
|
22162
22170
|
N.set(Xe);
|
|
22163
22171
|
}, ue = (dt) => {
|
|
22164
22172
|
const Xe = w;
|
|
@@ -22874,8 +22882,8 @@ Receiver: ` + Wd(s.element), E, g.data);
|
|
|
22874
22882
|
const N = zt(BC, R);
|
|
22875
22883
|
return {
|
|
22876
22884
|
offset: Io(C, E),
|
|
22877
|
-
classesOn:
|
|
22878
|
-
classesOff:
|
|
22885
|
+
classesOn: ke(R, p),
|
|
22886
|
+
classesOff: ke(N, p)
|
|
22879
22887
|
};
|
|
22880
22888
|
};
|
|
22881
22889
|
return {
|
|
@@ -23422,7 +23430,7 @@ Receiver: ` + Wd(s.element), E, g.data);
|
|
|
23422
23430
|
Op(p) ? dh(t, p) : (t.getSystem().addToWorld(p), dh(t, p), fo(t.element) && Rp(p));
|
|
23423
23431
|
}), t.syncComponents();
|
|
23424
23432
|
}, L4 = (t, s, a) => {
|
|
23425
|
-
const c = t.components(), d =
|
|
23433
|
+
const c = t.components(), d = ke(s, (w) => ep(w).toArray());
|
|
23426
23434
|
bt(c, (w) => {
|
|
23427
23435
|
sn(d, w) || $p(w);
|
|
23428
23436
|
});
|
|
@@ -23752,7 +23760,7 @@ Known: [` + vs(c) + `]
|
|
|
23752
23760
|
Namespace: ` + t.getOr("none") + `
|
|
23753
23761
|
Spec: ` + JSON.stringify(a, null, 2));
|
|
23754
23762
|
}, (d) => d.replace()), bv = (t, s, a, c) => gd(a) && a.uiType === hv ? pv(t, s, a, c) : m0.single(!1, se(a)), Lp = (t, s, a, c) => bv(t, s, a, c).fold((g, p) => {
|
|
23755
|
-
const w = gd(a) ? p(s, a.config, a.validated) : p(s), C = vt(w, "components").getOr([]), E =
|
|
23763
|
+
const w = gd(a) ? p(s, a.config, a.validated) : p(s), C = vt(w, "components").getOr([]), E = ke(C, (R) => Lp(t, s, R, c));
|
|
23756
23764
|
return [{
|
|
23757
23765
|
...w,
|
|
23758
23766
|
components: E
|
|
@@ -23763,7 +23771,7 @@ Spec: ` + JSON.stringify(a, null, 2));
|
|
|
23763
23771
|
return a.validated.preprocess.getOr(Bn)(w);
|
|
23764
23772
|
} else
|
|
23765
23773
|
return p(s);
|
|
23766
|
-
}), cS = (t, s, a, c) =>
|
|
23774
|
+
}), cS = (t, s, a, c) => ke(a, (d) => Lp(t, s, d, c)), f0 = (t, s) => {
|
|
23767
23775
|
let a = !1;
|
|
23768
23776
|
const c = () => a, d = () => {
|
|
23769
23777
|
if (a)
|
|
@@ -23880,7 +23888,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
23880
23888
|
name: s,
|
|
23881
23889
|
config: a,
|
|
23882
23890
|
validated: {}
|
|
23883
|
-
}), gS = (t) =>
|
|
23891
|
+
}), gS = (t) => ke(t, (s) => s.fold(A.none, A.some, A.none, A.none).map((a) => Si(a.name, a.schema.concat([H1(xv())]))).toArray()), hS = (t) => et(t, dS), J2 = (t, s, a) => Y4(t, s, a), Cv = (t, s, a) => K2(A.some(t), s, s.components, a), _s = (t, s, a) => {
|
|
23884
23892
|
const c = s.partUids[a];
|
|
23885
23893
|
return t.getSystem().getByUid(c).toOptional();
|
|
23886
23894
|
}, ef = (t, s, a) => _s(t, s, a).getOrDie("Could not find part: " + a), pS = (t, s, a) => {
|
|
@@ -25031,7 +25039,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25031
25039
|
})))), N = (Xe, Ge) => {
|
|
25032
25040
|
const yt = so(xe(Xe).toArray(), (At) => ue(At).isSome());
|
|
25033
25041
|
return vt(a.get(), Xe).bind((At) => {
|
|
25034
|
-
const Un = qo(yt.concat(At)), Zt =
|
|
25042
|
+
const Un = qo(yt.concat(At)), Zt = ke(Un, (An, Cn) => R(An, Ge, Un.slice(0, Cn + 1)).fold(() => Aa(c.get(), An) ? [] : [A.none()], (Yo) => [A.some(Yo)]));
|
|
25035
25043
|
return ts(Zt);
|
|
25036
25044
|
});
|
|
25037
25045
|
}, H = (Xe) => vt(t.get(), Xe).map((Ge) => {
|
|
@@ -25100,7 +25108,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25100
25108
|
return A.none();
|
|
25101
25109
|
const vn = Fo.getCandidates(Mn);
|
|
25102
25110
|
return qe(vn, (Fn) => p(Fn) === Dn);
|
|
25103
|
-
}), C = (Dt) => Ko(t.data.menus, (Jt, Dn) =>
|
|
25111
|
+
}), C = (Dt) => Ko(t.data.menus, (Jt, Dn) => ke(Jt.items, (Mn) => Mn.type === "separator" ? [] : [Mn.data.value])), E = Fo.highlight, R = (Dt, Jt) => {
|
|
25104
25112
|
E(Dt, Jt), Fo.getHighlighted(Jt).orThunk(() => Fo.getFirst(Jt)).each((Dn) => {
|
|
25105
25113
|
t.fakeFocus ? Fo.highlight(Jt, Dn) : Cb(Dt, Dn.element, hr());
|
|
25106
25114
|
});
|
|
@@ -28657,7 +28665,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28657
28665
|
for (let g = 0; g < c; g++)
|
|
28658
28666
|
for (let p = 0; p < d; p++)
|
|
28659
28667
|
Kn.set(t[g][p], g <= s && p <= a);
|
|
28660
|
-
}, aA = (t) =>
|
|
28668
|
+
}, aA = (t) => ke(t, (s) => et(s, Ti)), lA = (t, s) => _r(`${s}x${t}`), LL = {
|
|
28661
28669
|
inserttable: (t, s) => {
|
|
28662
28670
|
const d = NL(s), g = R_(d, 10, 10), p = lA(0, 0), w = Jo({
|
|
28663
28671
|
dom: {
|
|
@@ -29271,7 +29279,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29271
29279
|
}
|
|
29272
29280
|
}, E = () => ur.getContent(g).bind(($e) => bs($e.components(), 0)), R = () => t.execCommand("mceAutocompleterClose"), N = ($e) => {
|
|
29273
29281
|
const xe = er($e, (be) => A.from(be.columns)).getOr(1);
|
|
29274
|
-
return
|
|
29282
|
+
return ke($e, (be) => {
|
|
29275
29283
|
const Oe = be.items;
|
|
29276
29284
|
return mF(Oe, be.matchText, (dt, Xe) => {
|
|
29277
29285
|
const Ge = t.selection.getRng();
|
|
@@ -32818,7 +32826,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
32818
32826
|
M_(t, p(N), N, X, c, ue, Nc.HighlightMenuAndItem).get(fe);
|
|
32819
32827
|
}
|
|
32820
32828
|
}, g = h3(t), p = (N) => (H) => H.map((W) => {
|
|
32821
|
-
const X = Gi(W.menus), ue =
|
|
32829
|
+
const X = Gi(W.menus), ue = ke(X, (xe) => so(xe.items, (be) => be.type === "item"));
|
|
32822
32830
|
return Vt.getState(N).update(et(ue, (xe) => xe.data)), W;
|
|
32823
32831
|
}), w = (N) => po.getCurrent(N), C = "typeaheadevents", E = [
|
|
32824
32832
|
xn.config({}),
|
|
@@ -36095,7 +36103,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
36095
36103
|
const c = KE(a).split(/[ ,]/);
|
|
36096
36104
|
return {
|
|
36097
36105
|
text: t.title,
|
|
36098
|
-
getItems: () =>
|
|
36106
|
+
getItems: () => ke(t.items, (d) => {
|
|
36099
36107
|
const g = d.toLowerCase();
|
|
36100
36108
|
return g.trim().length === 0 ? [] : Uo(c, (p) => p === g) ? [] : g === "separator" || g === "|" ? [{ type: "separator" }] : s.menuItems[g] ? [s.menuItems[g]] : [];
|
|
36101
36109
|
})
|
|
@@ -36174,12 +36182,12 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
36174
36182
|
text: R
|
|
36175
36183
|
});
|
|
36176
36184
|
if (p.type === "submenu") {
|
|
36177
|
-
const N =
|
|
36185
|
+
const N = ke(p.getStyleItems(), (H) => c(H, w, E));
|
|
36178
36186
|
return w === 0 && N.length <= 0 ? A.none() : A.some({
|
|
36179
36187
|
type: "nestedmenuitem",
|
|
36180
36188
|
text: R,
|
|
36181
36189
|
enabled: N.length > 0,
|
|
36182
|
-
getSubmenuItems: () =>
|
|
36190
|
+
getSubmenuItems: () => ke(p.getStyleItems(), (H) => c(H, w, E))
|
|
36183
36191
|
});
|
|
36184
36192
|
} else
|
|
36185
36193
|
return A.some({
|
|
@@ -36196,7 +36204,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
36196
36204
|
return w === 0 ? E ? [] : a(p, w, !1, C).toArray() : a(p, w, E, C).toArray();
|
|
36197
36205
|
}, d = (p) => {
|
|
36198
36206
|
const w = s.getCurrentValue(), C = s.shouldHide ? 0 : 1;
|
|
36199
|
-
return
|
|
36207
|
+
return ke(p, (E) => c(E, C, w));
|
|
36200
36208
|
};
|
|
36201
36209
|
return {
|
|
36202
36210
|
validateItems: d,
|
|
@@ -36708,10 +36716,10 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
36708
36716
|
styles: t.dom.parseStyle(t.formatter.getCssText(p))
|
|
36709
36717
|
}) : A.none();
|
|
36710
36718
|
}, g = (p) => {
|
|
36711
|
-
const w = (N) => DP(N) ?
|
|
36719
|
+
const w = (N) => DP(N) ? ke(N.items, w) : yx(N) ? [{
|
|
36712
36720
|
title: N.title,
|
|
36713
36721
|
format: N.format
|
|
36714
|
-
}] : [], C =
|
|
36722
|
+
}] : [], C = ke($P(t), w), R = Q8(t, se(C)).fold(se(a), (N) => N.title);
|
|
36715
36723
|
un(p, Uu, { text: R }), bL(t, { value: R });
|
|
36716
36724
|
};
|
|
36717
36725
|
return {
|
|
@@ -37221,7 +37229,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
37221
37229
|
return s === !1 ? [] : s === void 0 || s === !0 ? Wk(a) : Q(s) ? Zk(s) : CB(s) ? s : (console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"), []);
|
|
37222
37230
|
}, nW = (t, s, a, c, d, g) => vt(s, a.toLowerCase()).orThunk(() => g.bind((p) => er(p, (w) => vt(s, w + a.toLowerCase())))).fold(() => vt(xB, a.toLowerCase()).map((p) => p(t, d)), (p) => p.type === "grouptoolbarbutton" && !c ? (console.warn(`Ignoring the '${a}' toolbar button. Group toolbar buttons are only supported when using floating toolbar mode and cannot be nested.`), A.none()) : Uk(p, d, t)), jk = (t, s, a, c) => {
|
|
37223
37231
|
const d = tW(s), g = et(d, (p) => {
|
|
37224
|
-
const w =
|
|
37232
|
+
const w = ke(p.items, (C) => C.trim().length === 0 ? [] : nW(t, s.buttons, C, s.allowToolbarGroups, a, c).toArray());
|
|
37225
37233
|
return {
|
|
37226
37234
|
title: A.from(t.translate(p.name)),
|
|
37227
37235
|
items: w
|
|
@@ -40061,7 +40069,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
40061
40069
|
sa("onCancel", fe),
|
|
40062
40070
|
sa("onClose", fe),
|
|
40063
40071
|
sa("onMessage", fe)
|
|
40064
|
-
]), wt = (t) => Ys("dialog", ot, t), Ft = (t) => Be(t) ? [t].concat(
|
|
40072
|
+
]), wt = (t) => Ys("dialog", ot, t), Ft = (t) => Be(t) ? [t].concat(ke(Gi(t), Ft)) : Et(t) ? ke(t, Ft) : [], Ze = (t) => Q(t.type) && Q(t.name), Ve = {
|
|
40065
40073
|
checkbox: AN,
|
|
40066
40074
|
colorinput: QZ,
|
|
40067
40075
|
colorpicker: nj,
|
|
@@ -40080,7 +40088,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
40080
40088
|
collection: JZ,
|
|
40081
40089
|
togglemenuitem: dT
|
|
40082
40090
|
}, nt = (t) => A.from(Ve[t.type]), qt = (t) => so(Ft(t), Ze), cn = (t) => {
|
|
40083
|
-
const s = qt(t), a =
|
|
40091
|
+
const s = qt(t), a = ke(s, (c) => nt(c).fold(() => [], (d) => [dc(c.name, d)]));
|
|
40084
40092
|
return rn(a);
|
|
40085
40093
|
}, Yn = (t) => {
|
|
40086
40094
|
var s;
|
|
@@ -41576,7 +41584,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
41576
41584
|
}, te = (i) => {
|
|
41577
41585
|
const m = typeof i;
|
|
41578
41586
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && ie(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
41579
|
-
},
|
|
41587
|
+
}, _e = (i) => (m) => te(m) === i, ae = (i) => (m) => typeof m === i, j = (i) => (m) => i === m, Ae = _e("string"), Q = _e("object"), Be = _e("array"), gt = j(null), Et = ae("boolean"), _n = j(void 0), Ht = (i) => i == null, Oo = (i) => !Ht(i), Wn = ae("function"), co = ae("number"), _t = () => {
|
|
41580
41588
|
}, pr = (i, m) => (...h) => i(m.apply(null, h)), mn = (i, m) => (h) => i(m(h)), fe = (i) => () => i, kt = (i) => i, Qr = (i, m) => i === m;
|
|
41581
41589
|
function to(i, ...m) {
|
|
41582
41590
|
return (...h) => {
|
|
@@ -41752,7 +41760,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
41752
41760
|
}, Rt = (i, m) => {
|
|
41753
41761
|
const h = ss.call(i, 0);
|
|
41754
41762
|
return h.sort(m), h;
|
|
41755
|
-
}, Ke = (i, m) => m >= 0 && m < i.length ? ge.some(i[m]) : ge.none(),
|
|
41763
|
+
}, Ke = (i, m) => m >= 0 && m < i.length ? ge.some(i[m]) : ge.none(), ke = (i) => Ke(i, 0), yn = (i) => Ke(i, i.length - 1), qo = (i, m) => {
|
|
41756
41764
|
for (let h = 0; h < i.length; h++) {
|
|
41757
41765
|
const v = m(i[h], h);
|
|
41758
41766
|
if (v.isSome())
|
|
@@ -42020,7 +42028,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
42020
42028
|
if (Ar(m) && Gu(m) && i.composed && i.composedPath) {
|
|
42021
42029
|
const h = i.composedPath();
|
|
42022
42030
|
if (h)
|
|
42023
|
-
return
|
|
42031
|
+
return ke(h);
|
|
42024
42032
|
}
|
|
42025
42033
|
}
|
|
42026
42034
|
return ge.from(i.target);
|
|
@@ -42433,7 +42441,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
42433
42441
|
}), h += _;
|
|
42434
42442
|
}), m;
|
|
42435
42443
|
}, Go = (i) => {
|
|
42436
|
-
const m = {}, h = [], _ =
|
|
42444
|
+
const m = {}, h = [], _ = ke(i).map((Pt) => Pt.element).bind(sl).bind(lr).getOr({});
|
|
42437
42445
|
let D = 0, L = 0, Z = 0;
|
|
42438
42446
|
const {
|
|
42439
42447
|
pass: ee,
|
|
@@ -43212,7 +43220,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
43212
43220
|
}), i.on("BeforeSetContent", (h) => {
|
|
43213
43221
|
if (h.selection === !0 && h.paste === !0) {
|
|
43214
43222
|
const v = iu(i);
|
|
43215
|
-
|
|
43223
|
+
ke(v).each((_) => {
|
|
43216
43224
|
sl(_).each((D) => {
|
|
43217
43225
|
const L = oo(T1(h.content), (ee) => ts(ee) !== "meta"), Z = xr("table");
|
|
43218
43226
|
if (hr(i) && L.length === 1 && Z(L[0])) {
|
|
@@ -44167,7 +44175,7 @@ Required: ` + m.join(", "));
|
|
|
44167
44175
|
}
|
|
44168
44176
|
}, de = (pc, fw) => fw.cursor.fold(() => {
|
|
44169
44177
|
const T0 = ol(pc);
|
|
44170
|
-
return
|
|
44178
|
+
return ke(T0).filter(js).map((nm) => {
|
|
44171
44179
|
h.clearSelectedCells(pc.dom);
|
|
44172
44180
|
const Ol = i.dom.createRng();
|
|
44173
44181
|
return Ol.selectNode(nm.dom), i.selection.setRng(Ol), Zs(nm, "data-mce-selected", "1"), Ol;
|
|
@@ -45819,7 +45827,7 @@ Required: ` + m.join(", "));
|
|
|
45819
45827
|
}, te = (S) => {
|
|
45820
45828
|
const $ = typeof S;
|
|
45821
45829
|
return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && ie(S, String, (U, le) => le.isPrototypeOf(U)) ? "string" : $;
|
|
45822
|
-
},
|
|
45830
|
+
}, _e = (S) => ($) => te($) === S, ae = (S) => ($) => typeof $ === S, j = _e("string"), Ae = _e("object"), Q = _e("array"), Be = ae("boolean"), gt = (S) => S == null, Et = (S) => !gt(S), _n = ae("function"), Ht = ae("number"), Oo = () => {
|
|
45823
45831
|
}, Wn = (S, $) => (U) => S($(U)), co = (S) => () => S, _t = (S, $) => S === $;
|
|
45824
45832
|
function pr(S, ...$) {
|
|
45825
45833
|
return (...U) => {
|
|
@@ -46967,7 +46975,7 @@ Required: ` + m.join(", "));
|
|
|
46967
46975
|
}, te = (G) => {
|
|
46968
46976
|
const me = typeof G;
|
|
46969
46977
|
return G === null ? "null" : me === "object" && Array.isArray(G) ? "array" : me === "object" && ie(G, String, (Te, Ie) => Ie.isPrototypeOf(Te)) ? "string" : me;
|
|
46970
|
-
},
|
|
46978
|
+
}, _e = (G) => (me) => te(me) === G, ae = (G) => (me) => typeof me === G, j = (G) => (me) => G === me, Ae = _e("string"), Q = _e("object"), Be = _e("array"), gt = j(null), Et = ae("boolean"), _n = (G) => G == null, Ht = (G) => !_n(G), Oo = ae("function"), Wn = (G, me) => {
|
|
46971
46979
|
if (Be(G)) {
|
|
46972
46980
|
for (let Te = 0, Ie = G.length; Te < Ie; ++Te)
|
|
46973
46981
|
if (!me(G[Te]))
|
|
@@ -47159,8 +47167,8 @@ Required: ` + m.join(", "));
|
|
|
47159
47167
|
items: Te
|
|
47160
47168
|
}),
|
|
47161
47169
|
getValue: so
|
|
47162
|
-
},
|
|
47163
|
-
const Te =
|
|
47170
|
+
}, ke = Object.keys, yn = Object.hasOwnProperty, qo = (G, me) => {
|
|
47171
|
+
const Te = ke(G);
|
|
47164
47172
|
for (let Ie = 0, ft = Te.length; Ie < ft; Ie++) {
|
|
47165
47173
|
const fn = Te[Ie], Zo = G[fn];
|
|
47166
47174
|
me(Zo, fn);
|
|
@@ -47721,10 +47729,10 @@ Required: ` + m.join(", "));
|
|
|
47721
47729
|
const ie = Object.getPrototypeOf, te = (I, Y, re) => {
|
|
47722
47730
|
var Fe;
|
|
47723
47731
|
return re(I, Y.prototype) ? !0 : ((Fe = I.constructor) === null || Fe === void 0 ? void 0 : Fe.name) === Y.name;
|
|
47724
|
-
},
|
|
47732
|
+
}, _e = (I) => {
|
|
47725
47733
|
const Y = typeof I;
|
|
47726
47734
|
return I === null ? "null" : Y === "object" && Array.isArray(I) ? "array" : Y === "object" && te(I, String, (re, Fe) => Fe.isPrototypeOf(re)) ? "string" : Y;
|
|
47727
|
-
}, ae = (I) => (Y) =>
|
|
47735
|
+
}, ae = (I) => (Y) => _e(Y) === I, j = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => gt(I) && te(I, Y, (re, Fe) => ie(re) === Fe), Be = ae("string"), gt = ae("object"), Et = (I) => Q(I, Object), _n = ae("array"), Ht = Ae(null), Oo = j("boolean"), Wn = (I) => I == null, co = (I) => !Wn(I), _t = j("function"), pr = j("number"), mn = (I, Y) => {
|
|
47728
47736
|
if (_n(I)) {
|
|
47729
47737
|
for (let re = 0, Fe = I.length; re < Fe; ++re)
|
|
47730
47738
|
if (!Y(I[re]))
|
|
@@ -47907,7 +47915,7 @@ Required: ` + m.join(", "));
|
|
|
47907
47915
|
},
|
|
47908
47916
|
default: !1
|
|
47909
47917
|
});
|
|
47910
|
-
}, Wo = so("image_dimensions"), Zi = so("image_advtab"), qe = so("image_uploadtab"), Rt = so("image_prepend_url"), Ke = so("image_class_list"),
|
|
47918
|
+
}, Wo = so("image_dimensions"), Zi = so("image_advtab"), qe = so("image_uploadtab"), Rt = so("image_prepend_url"), Ke = so("image_class_list"), ke = so("image_description"), yn = so("image_title"), qo = so("image_caption"), zt = so("image_list"), Tr = so("a11y_advanced_options"), Ho = so("automatic_uploads"), za = (I) => el(I.options.get("images_upload_url")), bs = (I) => co(I.options.get("images_upload_handler")), vr = (I, Y) => Math.max(parseInt(I, 10), parseInt(Y, 10)), yc = (I) => new Promise((Y) => {
|
|
47911
47919
|
const re = document.createElement("img"), Fe = (Xn) => {
|
|
47912
47920
|
re.onload = re.onerror = null, re.parentNode && re.parentNode.removeChild(re), Y(Xn);
|
|
47913
47921
|
};
|
|
@@ -48248,7 +48256,7 @@ Required: ` + m.join(", "));
|
|
|
48248
48256
|
Us
|
|
48249
48257
|
])));
|
|
48250
48258
|
});
|
|
48251
|
-
}), Fe = ua.sanitize(Ke(I)), $t = Zi(I), Xn = qe(I), Kt = za(I), Ps = bs(I), lt = fi(I), ls =
|
|
48259
|
+
}), Fe = ua.sanitize(Ke(I)), $t = Zi(I), Xn = qe(I), Kt = za(I), Ps = bs(I), lt = fi(I), ls = ke(I), Wa = yn(I), zs = Wo(I), Cr = qo(I), Uc = Tr(I), yo = Ho(I), Za = kt.some(Rt(I)).filter((Bs) => Be(Bs) && Bs.length > 0);
|
|
48252
48260
|
return re.then((Bs) => ({
|
|
48253
48261
|
image: lt,
|
|
48254
48262
|
imageList: Bs,
|
|
@@ -48593,7 +48601,7 @@ Required: ` + m.join(", "));
|
|
|
48593
48601
|
}, te = (x) => {
|
|
48594
48602
|
const T = typeof x;
|
|
48595
48603
|
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && ie(x, String, (V, K) => K.isPrototypeOf(V)) ? "string" : T;
|
|
48596
|
-
},
|
|
48604
|
+
}, _e = (x) => (T) => te(T) === x, ae = (x) => (T) => typeof T === x, j = (x) => (T) => x === T, Ae = _e("string"), Q = _e("array"), Be = ae("boolean"), gt = j(void 0), Et = (x) => x == null, _n = (x) => !Et(x), Ht = ae("function"), Oo = ae("number"), Wn = () => {
|
|
48597
48605
|
}, co = (x, T) => (V) => x(T(V)), _t = (x) => () => x, pr = (x) => x, mn = (x, T) => x === T;
|
|
48598
48606
|
function fe(x, ...T) {
|
|
48599
48607
|
return (...V) => {
|
|
@@ -48767,7 +48775,7 @@ Required: ` + m.join(", "));
|
|
|
48767
48775
|
sn.apply(T, x[V]);
|
|
48768
48776
|
}
|
|
48769
48777
|
return T;
|
|
48770
|
-
},
|
|
48778
|
+
}, ke = (x, T) => Ke(bt(x, T)), yn = (x, T) => {
|
|
48771
48779
|
for (let V = 0, K = x.length; V < K; ++V) {
|
|
48772
48780
|
const ve = x[V];
|
|
48773
48781
|
if (T(ve, V) !== !0)
|
|
@@ -48928,7 +48936,7 @@ Required: ` + m.join(", "));
|
|
|
48928
48936
|
}, ft = (x, T) => {
|
|
48929
48937
|
const V = x.dom;
|
|
48930
48938
|
ju(V, T), Xi(Hs(x, "style").map(Zu), "") && os(x, "style");
|
|
48931
|
-
}, fn = (x, T, V = 0) => Hs(x, T).map((K) => parseInt(K, 10)).getOr(V), Zo = (x, T) => as(x, T, to), as = (x, T, V) =>
|
|
48939
|
+
}, fn = (x, T, V = 0) => Hs(x, T).map((K) => parseInt(K, 10)).getOr(V), Zo = (x, T) => as(x, T, to), as = (x, T, V) => ke(xr(x), (K) => ys(K, T) ? V(K) ? [K] : [] : as(K, T, V)), jo = [
|
|
48932
48940
|
"tfoot",
|
|
48933
48941
|
"thead",
|
|
48934
48942
|
"tbody",
|
|
@@ -48973,7 +48981,7 @@ Required: ` + m.join(", "));
|
|
|
48973
48981
|
}, Y = (x, T) => I([
|
|
48974
48982
|
"td",
|
|
48975
48983
|
"th"
|
|
48976
|
-
], x, T), re = (x) => Zo(x, "th,td"), Fe = (x) => ys(x, "colgroup") ? Cc(x, "col") :
|
|
48984
|
+
], x, T), re = (x) => Zo(x, "th,td"), Fe = (x) => ys(x, "colgroup") ? Cc(x, "col") : ke(Kt(x), (T) => Cc(T, "col")), $t = (x, T) => Ll(x, "table", T), Xn = (x) => Zo(x, "tr"), Kt = (x) => $t(x).fold(_t([]), (T) => Cc(T, "colgroup")), Ps = (x, T) => bt(x, (V) => {
|
|
48977
48985
|
if (vt(V) === "colgroup") {
|
|
48978
48986
|
const K = bt(Fe(V), (ve) => {
|
|
48979
48987
|
const je = fn(ve, "span", 1);
|
|
@@ -49000,7 +49008,7 @@ Required: ` + m.join(", "));
|
|
|
49000
49008
|
const K = Za(x, (ve) => V(T, ve.element));
|
|
49001
49009
|
return K.length > 0 ? se.some(K[0]) : se.none();
|
|
49002
49010
|
}, Za = (x, T) => {
|
|
49003
|
-
const V =
|
|
49011
|
+
const V = ke(x.all, (K) => K.cells);
|
|
49004
49012
|
return rs(V, T);
|
|
49005
49013
|
}, Bs = (x) => {
|
|
49006
49014
|
const T = {};
|
|
@@ -49060,7 +49068,7 @@ Required: ` + m.join(", "));
|
|
|
49060
49068
|
getAt: Uc,
|
|
49061
49069
|
findItem: yo,
|
|
49062
49070
|
filterItems: Za,
|
|
49063
|
-
justCells: (x) =>
|
|
49071
|
+
justCells: (x) => ke(x.all, (T) => T.cells),
|
|
49064
49072
|
justColumns: (x) => Ot(x.columns),
|
|
49065
49073
|
hasColumns: (x) => Bn(x.columns).length > 0,
|
|
49066
49074
|
getColumnAt: (x, T) => se.from(x.columns[T])
|
|
@@ -49497,7 +49505,7 @@ Required: ` + m.join(", "));
|
|
|
49497
49505
|
};
|
|
49498
49506
|
}), ll = (x, T) => (V) => {
|
|
49499
49507
|
x.execCommand("mceTableApplyCellStyle", !1, { [T]: V });
|
|
49500
|
-
}, Su = (x) =>
|
|
49508
|
+
}, Su = (x) => ke(x, (T) => Go(T) ? [{
|
|
49501
49509
|
...T,
|
|
49502
49510
|
menu: Su(T.menu)
|
|
49503
49511
|
}] : wl(T.value) ? [T] : []), nu = (x, T, V, K) => (ve) => ve(_o(x, T, V, K)), qn = (x, T, V) => {
|
|
@@ -50756,7 +50764,7 @@ Required: ` + T.join(", "));
|
|
|
50756
50764
|
Q.focus(), Q.undoManager.transact(() => {
|
|
50757
50765
|
Q.setContent(Be);
|
|
50758
50766
|
}), Q.selection.setCursorLocation(), Q.nodeChanged();
|
|
50759
|
-
}, te = (Q) => Q.getContent({ source_view: !0 }),
|
|
50767
|
+
}, te = (Q) => Q.getContent({ source_view: !0 }), _e = (Q) => {
|
|
50760
50768
|
const Be = te(Q);
|
|
50761
50769
|
Q.windowManager.open({
|
|
50762
50770
|
title: "Source Code",
|
|
@@ -50788,7 +50796,7 @@ Required: ` + T.join(", "));
|
|
|
50788
50796
|
});
|
|
50789
50797
|
}, ae = (Q) => {
|
|
50790
50798
|
Q.addCommand("mceCodeEditor", () => {
|
|
50791
|
-
|
|
50799
|
+
_e(Q);
|
|
50792
50800
|
});
|
|
50793
50801
|
}, j = (Q) => {
|
|
50794
50802
|
const Be = () => Q.execCommand("mceCodeEditor");
|
|
@@ -50809,13 +50817,13 @@ Required: ` + T.join(", "));
|
|
|
50809
50817
|
})();
|
|
50810
50818
|
(function() {
|
|
50811
50819
|
var O = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
50812
|
-
const te = ((qe) => (Rt) => qe === Rt)(null),
|
|
50813
|
-
const Ke = qe.length,
|
|
50820
|
+
const te = ((qe) => (Rt) => qe === Rt)(null), _e = (qe) => qe, ae = (qe, Rt) => {
|
|
50821
|
+
const Ke = qe.length, ke = new Array(Ke);
|
|
50814
50822
|
for (let yn = 0; yn < Ke; yn++) {
|
|
50815
50823
|
const qo = qe[yn];
|
|
50816
|
-
|
|
50824
|
+
ke[yn] = Rt(qo, yn);
|
|
50817
50825
|
}
|
|
50818
|
-
return
|
|
50826
|
+
return ke;
|
|
50819
50827
|
}, Ae = {
|
|
50820
50828
|
aletter: "[A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-׳ؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆༀཀ-ཇཉ-ཬྈ-ྌႠ-Ⴥა-ჺჼᄀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᨀ-ᨖᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᯀ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⒶ-ⓩⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⴀ-ⴥⴰ-ⵥⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〻〼ㄅ-ㄭㄱ-ㆎㆠ-ㆺꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐꞑꞠ-ꞩꟺ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]",
|
|
50821
50829
|
midnumlet: "[-'\\.‘’․﹒'.]",
|
|
@@ -50862,10 +50870,10 @@ Required: ` + T.join(", "));
|
|
|
50862
50870
|
], gt = "", Et = new RegExp("^" + Ae.punctuation + "$"), _n = /^\s+$/, Ht = Be, Oo = Q.OTHER, Wn = (qe) => {
|
|
50863
50871
|
let Rt = Oo;
|
|
50864
50872
|
const Ke = Ht.length;
|
|
50865
|
-
for (let
|
|
50866
|
-
const yn = Ht[
|
|
50873
|
+
for (let ke = 0; ke < Ke; ++ke) {
|
|
50874
|
+
const yn = Ht[ke];
|
|
50867
50875
|
if (yn && yn.test(qe)) {
|
|
50868
|
-
Rt =
|
|
50876
|
+
Rt = ke;
|
|
50869
50877
|
break;
|
|
50870
50878
|
}
|
|
50871
50879
|
}
|
|
@@ -50876,22 +50884,22 @@ Required: ` + T.join(", "));
|
|
|
50876
50884
|
if (Rt[Ke])
|
|
50877
50885
|
return Rt[Ke];
|
|
50878
50886
|
{
|
|
50879
|
-
const
|
|
50880
|
-
return Rt[Ke] =
|
|
50887
|
+
const ke = qe(Ke);
|
|
50888
|
+
return Rt[Ke] = ke, ke;
|
|
50881
50889
|
}
|
|
50882
50890
|
};
|
|
50883
50891
|
}, _t = (qe) => {
|
|
50884
50892
|
const Rt = co(Wn);
|
|
50885
50893
|
return ae(qe, Rt);
|
|
50886
50894
|
}, pr = (qe, Rt) => {
|
|
50887
|
-
const Ke = qe[Rt],
|
|
50888
|
-
if (Rt < 0 || Rt > qe.length - 1 && Rt !== 0 || Ke === Q.ALETTER &&
|
|
50895
|
+
const Ke = qe[Rt], ke = qe[Rt + 1];
|
|
50896
|
+
if (Rt < 0 || Rt > qe.length - 1 && Rt !== 0 || Ke === Q.ALETTER && ke === Q.ALETTER)
|
|
50889
50897
|
return !1;
|
|
50890
50898
|
const yn = qe[Rt + 2];
|
|
50891
|
-
if (Ke === Q.ALETTER && (
|
|
50899
|
+
if (Ke === Q.ALETTER && (ke === Q.MIDLETTER || ke === Q.MIDNUMLET || ke === Q.AT) && yn === Q.ALETTER)
|
|
50892
50900
|
return !1;
|
|
50893
50901
|
const qo = qe[Rt - 1];
|
|
50894
|
-
return (Ke === Q.MIDLETTER || Ke === Q.MIDNUMLET ||
|
|
50902
|
+
return (Ke === Q.MIDLETTER || Ke === Q.MIDNUMLET || ke === Q.AT) && ke === Q.ALETTER && qo === Q.ALETTER || (Ke === Q.NUMERIC || Ke === Q.ALETTER) && (ke === Q.NUMERIC || ke === Q.ALETTER) || (Ke === Q.MIDNUM || Ke === Q.MIDNUMLET) && ke === Q.NUMERIC && qo === Q.NUMERIC || Ke === Q.NUMERIC && (ke === Q.MIDNUM || ke === Q.MIDNUMLET) && yn === Q.NUMERIC || (Ke === Q.EXTEND || Ke === Q.FORMAT) && (ke === Q.ALETTER || ke === Q.NUMERIC || ke === Q.KATAKANA || ke === Q.EXTEND || ke === Q.FORMAT) || (ke === Q.EXTEND || ke === Q.FORMAT && (yn === Q.ALETTER || yn === Q.NUMERIC || yn === Q.KATAKANA || yn === Q.EXTEND || yn === Q.FORMAT)) && (Ke === Q.ALETTER || Ke === Q.NUMERIC || Ke === Q.KATAKANA || Ke === Q.EXTEND || Ke === Q.FORMAT) || Ke === Q.CR && ke === Q.LF ? !1 : Ke === Q.NEWLINE || Ke === Q.CR || Ke === Q.LF || ke === Q.NEWLINE || ke === Q.CR || ke === Q.LF ? !0 : !(Ke === Q.KATAKANA && ke === Q.KATAKANA || ke === Q.EXTENDNUMLET && (Ke === Q.ALETTER || Ke === Q.NUMERIC || Ke === Q.KATAKANA || Ke === Q.EXTENDNUMLET) || Ke === Q.EXTENDNUMLET && (ke === Q.ALETTER || ke === Q.NUMERIC || ke === Q.KATAKANA) || Ke === Q.AT);
|
|
50895
50903
|
}, mn = gt, fe = _n, kt = Et, Qr = (qe) => qe === "http" || qe === "https", to = (qe, Rt) => {
|
|
50896
50904
|
let Ke;
|
|
50897
50905
|
for (Ke = Rt; Ke < qe.length && !fe.test(qe[Ke]); Ke++)
|
|
@@ -50900,13 +50908,13 @@ Required: ` + T.join(", "));
|
|
|
50900
50908
|
}, se = (qe, Rt) => {
|
|
50901
50909
|
const Ke = to(qe, Rt + 1);
|
|
50902
50910
|
return qe.slice(Rt + 1, Ke).join(mn).substr(0, 3) === "://" ? Ke : Rt;
|
|
50903
|
-
}, Bn = (qe, Rt, Ke,
|
|
50911
|
+
}, Bn = (qe, Rt, Ke, ke) => {
|
|
50904
50912
|
const yn = [], qo = [];
|
|
50905
50913
|
let zt = [];
|
|
50906
50914
|
for (let Tr = 0; Tr < Ke.length; ++Tr)
|
|
50907
50915
|
if (zt.push(qe[Tr]), pr(Ke, Tr)) {
|
|
50908
50916
|
const Ho = Rt[Tr];
|
|
50909
|
-
if ((
|
|
50917
|
+
if ((ke.includeWhitespace || !fe.test(Ho)) && (ke.includePunctuation || !kt.test(Ho))) {
|
|
50910
50918
|
const za = Tr - zt.length + 1, bs = Tr + 1, vr = Rt.slice(za, bs).join(mn);
|
|
50911
50919
|
if (Qr(vr)) {
|
|
50912
50920
|
const yc = se(Rt, Tr), yr = qe.slice(bs, yc);
|
|
@@ -50931,12 +50939,12 @@ Required: ` + T.join(", "));
|
|
|
50931
50939
|
...ds(),
|
|
50932
50940
|
...Ke
|
|
50933
50941
|
};
|
|
50934
|
-
const
|
|
50935
|
-
return Bn(qe,
|
|
50942
|
+
const ke = ae(qe, Rt), yn = _t(ke);
|
|
50943
|
+
return Bn(qe, ke, yn, Ke);
|
|
50936
50944
|
}, ge = (qe, Rt, Ke) => In(qe, Rt, Ke).words, ss = (qe) => qe.replace(/\uFEFF/g, "");
|
|
50937
50945
|
var Nt = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
|
|
50938
50946
|
const Ot = (qe, Rt) => {
|
|
50939
|
-
const Ke = Rt.getBlockElements(),
|
|
50947
|
+
const Ke = Rt.getBlockElements(), ke = Rt.getVoidElements(), yn = (za) => Ke[za.nodeName] || ke[za.nodeName], qo = [];
|
|
50940
50948
|
let zt = "";
|
|
50941
50949
|
const Tr = new Nt(qe, qe);
|
|
50942
50950
|
let Ho;
|
|
@@ -50946,7 +50954,7 @@ Required: ` + T.join(", "));
|
|
|
50946
50954
|
}, A = (qe) => qe.replace(/\u200B/g, ""), Qn = (qe) => qe.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "_").length, rt = (qe, Rt) => {
|
|
50947
50955
|
const Ke = A(Ot(qe, Rt).join(`
|
|
50948
50956
|
`));
|
|
50949
|
-
return ge(Ke.split(""),
|
|
50957
|
+
return ge(Ke.split(""), _e).length;
|
|
50950
50958
|
}, no = (qe, Rt) => {
|
|
50951
50959
|
const Ke = Ot(qe, Rt).join("");
|
|
50952
50960
|
return Qn(Ke);
|
|
@@ -51030,11 +51038,11 @@ Required: ` + T.join(", "));
|
|
|
51030
51038
|
}, so = (qe, Rt) => {
|
|
51031
51039
|
el(qe, Rt);
|
|
51032
51040
|
}, rs = (qe, Rt, Ke) => {
|
|
51033
|
-
const
|
|
51041
|
+
const ke = bt(() => so(qe, Rt), Ke);
|
|
51034
51042
|
qe.on("init", () => {
|
|
51035
51043
|
so(qe, Rt), z.setEditorTimeout(qe, () => {
|
|
51036
|
-
qe.on("SetContent BeforeAddUndo Undo Redo ViewUpdate keyup",
|
|
51037
|
-
}, 0), qe.on("remove",
|
|
51044
|
+
qe.on("SetContent BeforeAddUndo Undo Redo ViewUpdate keyup", ke.throttle);
|
|
51045
|
+
}, 0), qe.on("remove", ke.cancel);
|
|
51038
51046
|
});
|
|
51039
51047
|
}, Wo = (qe) => {
|
|
51040
51048
|
const Rt = () => qe.execCommand("mceWordCount");
|
|
@@ -51071,11 +51079,11 @@ const zQ = { class: "font-bold ptext-lg dark:text-white" }, UQ = ["id"], WQ = /*
|
|
|
51071
51079
|
},
|
|
51072
51080
|
emits: ["update:modelValue", "keydown"],
|
|
51073
51081
|
setup(O, { expose: ie, emit: te }) {
|
|
51074
|
-
const
|
|
51082
|
+
const _e = O, ae = te, j = Ao(null);
|
|
51075
51083
|
let Ae = null;
|
|
51076
51084
|
Tg(async () => {
|
|
51077
51085
|
await Rj(), Ae && (Ae.destroy(), Ae = null), VQ.init({
|
|
51078
|
-
selector: "#" +
|
|
51086
|
+
selector: "#" + _e.field_name,
|
|
51079
51087
|
height: 300,
|
|
51080
51088
|
plugins: [
|
|
51081
51089
|
"link",
|
|
@@ -51092,18 +51100,18 @@ const zQ = { class: "font-bold ptext-lg dark:text-white" }, UQ = ["id"], WQ = /*
|
|
|
51092
51100
|
Ae = gt, gt.on("Change", () => {
|
|
51093
51101
|
ae("update:modelValue", gt.getContent());
|
|
51094
51102
|
}), gt.on("init", () => {
|
|
51095
|
-
gt.setContent(
|
|
51103
|
+
gt.setContent(_e.modelValue);
|
|
51096
51104
|
});
|
|
51097
51105
|
}
|
|
51098
51106
|
});
|
|
51099
51107
|
}), WN(() => {
|
|
51100
51108
|
Ae && (Ae.destroy(), Ae = null);
|
|
51101
|
-
}), Ay(() =>
|
|
51109
|
+
}), Ay(() => _e.modelValue, (gt) => {
|
|
51102
51110
|
Ae && Ae.getContent() !== gt && Ae.setContent(gt);
|
|
51103
51111
|
});
|
|
51104
51112
|
const Be = vc({
|
|
51105
51113
|
get() {
|
|
51106
|
-
return
|
|
51114
|
+
return _e.modelValue;
|
|
51107
51115
|
},
|
|
51108
51116
|
set(gt) {
|
|
51109
51117
|
ae("update:modelValue", gt);
|
|
@@ -51206,8 +51214,8 @@ const zQ = { class: "font-bold ptext-lg dark:text-white" }, UQ = ["id"], WQ = /*
|
|
|
51206
51214
|
return 0;
|
|
51207
51215
|
if (this.limit === 0)
|
|
51208
51216
|
return this.lastPage;
|
|
51209
|
-
for (var O = this.currentPage, ie = this.lastPage, te = this.limit,
|
|
51210
|
-
(Be === 1 || Be === ie || Be >=
|
|
51217
|
+
for (var O = this.currentPage, ie = this.lastPage, te = this.limit, _e = O - te, ae = O + te + 1, j = [], Ae = [], Q, Be = 1; Be <= ie; Be++)
|
|
51218
|
+
(Be === 1 || Be === ie || Be >= _e && Be < ae) && j.push(Be);
|
|
51211
51219
|
return j.forEach(function(gt) {
|
|
51212
51220
|
Q && (gt - Q === 2 ? Ae.push(Q + 1) : gt - Q !== 1 && Ae.push("...")), Ae.push(gt), Q = gt;
|
|
51213
51221
|
}), Ae;
|
|
@@ -51332,7 +51340,7 @@ const zQ = { class: "font-bold ptext-lg dark:text-white" }, UQ = ["id"], WQ = /*
|
|
|
51332
51340
|
d: "m1 9 4-4-4-4"
|
|
51333
51341
|
})
|
|
51334
51342
|
], -1);
|
|
51335
|
-
function iee(O, ie, te,
|
|
51343
|
+
function iee(O, ie, te, _e, ae, j) {
|
|
51336
51344
|
const Ae = kg("RenderlessPagination");
|
|
51337
51345
|
return pe(), Ad(Ae, {
|
|
51338
51346
|
data: te.data,
|
|
@@ -51444,7 +51452,7 @@ const sq = /* @__PURE__ */ qr(YQ, [["render", iee]]), uee = {
|
|
|
51444
51452
|
}
|
|
51445
51453
|
},
|
|
51446
51454
|
setup(O, { expose: ie }) {
|
|
51447
|
-
const te = Ao(""),
|
|
51455
|
+
const te = Ao(""), _e = Ao(""), ae = Ao(""), j = Ao("Cancel"), Ae = Ao(!1), Q = Ao(!1), Be = Ao(void 0), gt = Ao(void 0), Et = (Wn = {}) => (te.value = Wn.title, _e.value = Wn.message, ae.value = Wn.okButton, Wn.cancelButton && (j.value = Wn.cancelButton), Ae.value = !0, new Promise((co, _t) => {
|
|
51448
51456
|
Be.value = co, gt.value = _t;
|
|
51449
51457
|
})), _n = () => {
|
|
51450
51458
|
Q.value = !0;
|
|
@@ -51466,7 +51474,7 @@ const sq = /* @__PURE__ */ qr(YQ, [["render", iee]]), uee = {
|
|
|
51466
51474
|
M("div", bee, [
|
|
51467
51475
|
M("h3", vee, mt(te.value), 1),
|
|
51468
51476
|
M("div", yee, [
|
|
51469
|
-
M("p", wee, mt(
|
|
51477
|
+
M("p", wee, mt(_e.value), 1)
|
|
51470
51478
|
])
|
|
51471
51479
|
])
|
|
51472
51480
|
])
|
|
@@ -51539,7 +51547,7 @@ const sq = /* @__PURE__ */ qr(YQ, [["render", iee]]), uee = {
|
|
|
51539
51547
|
filteredData() {
|
|
51540
51548
|
const O = this.search.toLowerCase();
|
|
51541
51549
|
return this.sortData(this.data).filter((te) => Object.values(te).some(
|
|
51542
|
-
(
|
|
51550
|
+
(_e) => _e.toString().toLowerCase().includes(O)
|
|
51543
51551
|
));
|
|
51544
51552
|
},
|
|
51545
51553
|
customFilters() {
|
|
@@ -51707,7 +51715,7 @@ const sq = /* @__PURE__ */ qr(YQ, [["render", iee]]), uee = {
|
|
|
51707
51715
|
class: "text-center rounded-t-lg lg:rounded-t-none text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700",
|
|
51708
51716
|
"data-label": ""
|
|
51709
51717
|
}, Kee = ["checked", "onChange"], Yee = ["data-label"], Xee = { class: "overflow-auto max-h-40" }, Jee = { 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" };
|
|
51710
|
-
function Qee(O, ie, te,
|
|
51718
|
+
function Qee(O, ie, te, _e, ae, j) {
|
|
51711
51719
|
const Ae = kg("DynamicConfirmation"), Q = kg("dropdown"), Be = kg("GlDropdown"), gt = kg("GlTextInput"), Et = kg("gl-button"), _n = kg("TailwindPagination");
|
|
51712
51720
|
return pe(), ye(Jn, null, [
|
|
51713
51721
|
wf(Ae, { ref: "ConfirmationDelete" }, null, 512),
|
|
@@ -51958,7 +51966,7 @@ const fle = /* @__PURE__ */ qr(_ee, [["render", Qee]]), ete = {
|
|
|
51958
51966
|
filteredData() {
|
|
51959
51967
|
const O = this.search.toLowerCase();
|
|
51960
51968
|
return this.sortData(this.itemLists).filter((te) => Object.values(te).some(
|
|
51961
|
-
(
|
|
51969
|
+
(_e) => _e != null && _e.toString().toLowerCase().includes(O)
|
|
51962
51970
|
));
|
|
51963
51971
|
},
|
|
51964
51972
|
totalPages() {
|
|
@@ -51975,7 +51983,7 @@ const fle = /* @__PURE__ */ qr(_ee, [["render", Qee]]), ete = {
|
|
|
51975
51983
|
), ie = O + this.maxDisplayedPages - 1;
|
|
51976
51984
|
return ie > this.totalPages && (ie = this.totalPages, O = Math.max(ie - this.maxDisplayedPages + 1, 1)), Array.from(
|
|
51977
51985
|
{ length: ie - O + 1 },
|
|
51978
|
-
(te,
|
|
51986
|
+
(te, _e) => O + _e
|
|
51979
51987
|
);
|
|
51980
51988
|
},
|
|
51981
51989
|
firstItemIndex() {
|
|
@@ -52143,7 +52151,7 @@ const fle = /* @__PURE__ */ qr(_ee, [["render", Qee]]), ete = {
|
|
|
52143
52151
|
Vte,
|
|
52144
52152
|
zte
|
|
52145
52153
|
];
|
|
52146
|
-
function Wte(O, ie, te,
|
|
52154
|
+
function Wte(O, ie, te, _e, ae, j) {
|
|
52147
52155
|
const Ae = kg("dropdown");
|
|
52148
52156
|
return pe(), ye("div", tte, [
|
|
52149
52157
|
M("div", nte, [
|
|
@@ -52337,7 +52345,7 @@ const gle = /* @__PURE__ */ qr(ete, [["render", Wte]]), Zte = {
|
|
|
52337
52345
|
filteredData() {
|
|
52338
52346
|
const O = this.search.toLowerCase();
|
|
52339
52347
|
return this.sortData(this.data).filter((te) => Object.values(te).some(
|
|
52340
|
-
(
|
|
52348
|
+
(_e) => _e.toString().toLowerCase().includes(O)
|
|
52341
52349
|
));
|
|
52342
52350
|
},
|
|
52343
52351
|
groupedItems() {
|
|
@@ -52347,10 +52355,10 @@ const gle = /* @__PURE__ */ qr(ete, [["render", Wte]]), Zte = {
|
|
|
52347
52355
|
methods: {
|
|
52348
52356
|
groupBy(O) {
|
|
52349
52357
|
return this.itemLists.data ? this.itemLists.data.reduce((ie, te) => {
|
|
52350
|
-
const
|
|
52351
|
-
ie[
|
|
52358
|
+
const _e = te[O];
|
|
52359
|
+
ie[_e] || (ie[_e] = []);
|
|
52352
52360
|
const ae = { ...te };
|
|
52353
|
-
return delete ae[O], ie[
|
|
52361
|
+
return delete ae[O], ie[_e].push(ae), ie;
|
|
52354
52362
|
}, {}) : [];
|
|
52355
52363
|
},
|
|
52356
52364
|
editAction(O) {
|
|
@@ -52464,7 +52472,7 @@ const gle = /* @__PURE__ */ qr(ete, [["render", Wte]]), Zte = {
|
|
|
52464
52472
|
], -1), dne = [
|
|
52465
52473
|
une
|
|
52466
52474
|
], mne = { 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" }, fne = ["colspan"], gne = ["data-label"], hne = { class: "overflow-auto max-h-40" }, pne = { 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" };
|
|
52467
|
-
function bne(O, ie, te,
|
|
52475
|
+
function bne(O, ie, te, _e, ae, j) {
|
|
52468
52476
|
const Ae = kg("dropdown"), Q = kg("TailwindPagination");
|
|
52469
52477
|
return pe(), ye("div", jte, [
|
|
52470
52478
|
M("div", Gte, [
|
|
@@ -52592,7 +52600,7 @@ const hle = /* @__PURE__ */ qr(Zte, [["render", bne]]), vne = {
|
|
|
52592
52600
|
filteredData() {
|
|
52593
52601
|
const O = this.search.toLowerCase();
|
|
52594
52602
|
return this.sortData(this.data).filter((te) => Object.values(te).some(
|
|
52595
|
-
(
|
|
52603
|
+
(_e) => _e != null && _e.toString().toLowerCase().includes(O)
|
|
52596
52604
|
));
|
|
52597
52605
|
},
|
|
52598
52606
|
totalPages() {
|
|
@@ -52609,7 +52617,7 @@ const hle = /* @__PURE__ */ qr(Zte, [["render", bne]]), vne = {
|
|
|
52609
52617
|
), ie = O + this.maxDisplayedPages - 1;
|
|
52610
52618
|
return ie > this.totalPages && (ie = this.totalPages, O = Math.max(ie - this.maxDisplayedPages + 1, 1)), Array.from(
|
|
52611
52619
|
{ length: ie - O + 1 },
|
|
52612
|
-
(te,
|
|
52620
|
+
(te, _e) => O + _e
|
|
52613
52621
|
);
|
|
52614
52622
|
},
|
|
52615
52623
|
firstItemIndex() {
|
|
@@ -52713,7 +52721,7 @@ const hle = /* @__PURE__ */ qr(Zte, [["render", bne]]), vne = {
|
|
|
52713
52721
|
toe,
|
|
52714
52722
|
noe
|
|
52715
52723
|
];
|
|
52716
|
-
function soe(O, ie, te,
|
|
52724
|
+
function soe(O, ie, te, _e, ae, j) {
|
|
52717
52725
|
const Ae = kg("dropdown");
|
|
52718
52726
|
return pe(), ye("div", yne, [
|
|
52719
52727
|
M("div", wne, [
|
|
@@ -52859,10 +52867,10 @@ const ple = /* @__PURE__ */ qr(vne, [["render", soe]]), roe = {
|
|
|
52859
52867
|
props: ["field", "row", "tdProps"],
|
|
52860
52868
|
methods: {
|
|
52861
52869
|
convertCronToHuman(O) {
|
|
52862
|
-
const [ie, te,
|
|
52863
|
-
if (ie === "*" && te === "*" &&
|
|
52870
|
+
const [ie, te, _e, ae, j] = O.split(" ");
|
|
52871
|
+
if (ie === "*" && te === "*" && _e === "*" && ae === "*" && j === "*")
|
|
52864
52872
|
return "Runs every minute.";
|
|
52865
|
-
if (ie === "0" && te === "0" &&
|
|
52873
|
+
if (ie === "0" && te === "0" && _e === "*" && ae === "*" && j !== "*")
|
|
52866
52874
|
return `Runs at 12:00 AM every ${this.convertDayOfWeek(j)}.`;
|
|
52867
52875
|
const Ae = {
|
|
52868
52876
|
0: "Sunday",
|
|
@@ -52887,10 +52895,10 @@ const ple = /* @__PURE__ */ qr(vne, [["render", soe]]), roe = {
|
|
|
52887
52895
|
11: "November",
|
|
52888
52896
|
12: "December",
|
|
52889
52897
|
"*": "every month"
|
|
52890
|
-
}, Be = this.convertField(ie, "minute", 59), gt = this.convertField(te, "hour", 23), Et = this.convertField(
|
|
52898
|
+
}, Be = this.convertField(ie, "minute", 59), gt = this.convertField(te, "hour", 23), Et = this.convertField(_e, "day of the month", 31), _n = this.convertField(ae, "month", 12, Q), Ht = this.convertField(j, "day", 6, Ae);
|
|
52891
52899
|
return `Runs ${Be} ${gt} ${Et} ${_n} on ${Ht}.`;
|
|
52892
52900
|
},
|
|
52893
|
-
convertField(O, ie, te,
|
|
52901
|
+
convertField(O, ie, te, _e = {}) {
|
|
52894
52902
|
if (O === "*") return `every ${ie}`;
|
|
52895
52903
|
if (O.includes("/")) {
|
|
52896
52904
|
const [ae, j] = O.split("/");
|
|
@@ -52901,10 +52909,10 @@ const ple = /* @__PURE__ */ qr(vne, [["render", soe]]), roe = {
|
|
|
52901
52909
|
return `${ie}s from ${ae} to ${j}`;
|
|
52902
52910
|
}
|
|
52903
52911
|
if (O.includes(",")) {
|
|
52904
|
-
const ae = O.split(",").map((j) =>
|
|
52912
|
+
const ae = O.split(",").map((j) => _e[j] || j);
|
|
52905
52913
|
return `${ie}s on ${ae.join(", ")}`;
|
|
52906
52914
|
}
|
|
52907
|
-
return
|
|
52915
|
+
return _e[O] || `${ie} ${O}`;
|
|
52908
52916
|
},
|
|
52909
52917
|
convertDayOfWeek(O) {
|
|
52910
52918
|
return {
|
|
@@ -52926,7 +52934,7 @@ const ple = /* @__PURE__ */ qr(vne, [["render", soe]]), roe = {
|
|
|
52926
52934
|
key: 0,
|
|
52927
52935
|
class: "flex flex-wrap gap-2"
|
|
52928
52936
|
}, loe = { class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300" };
|
|
52929
|
-
function coe(O, ie, te,
|
|
52937
|
+
function coe(O, ie, te, _e, ae, j) {
|
|
52930
52938
|
return te.row[te.field] ? (pe(), ye("div", aoe, [
|
|
52931
52939
|
M("span", loe, mt(j.convertCronToHuman(te.row[te.field])), 1)
|
|
52932
52940
|
])) : it("", !0);
|
|
@@ -52951,7 +52959,7 @@ const ble = /* @__PURE__ */ qr(roe, [["render", coe]]), ioe = {
|
|
|
52951
52959
|
}), {};
|
|
52952
52960
|
}
|
|
52953
52961
|
};
|
|
52954
|
-
function uoe(O, ie, te,
|
|
52962
|
+
function uoe(O, ie, te, _e, ae, j) {
|
|
52955
52963
|
return pe(), ye("div", null, [
|
|
52956
52964
|
Dd(O.$slots, "default")
|
|
52957
52965
|
]);
|
|
@@ -52964,7 +52972,7 @@ const vle = /* @__PURE__ */ qr(ioe, [["render", uoe]]), doe = {
|
|
|
52964
52972
|
}
|
|
52965
52973
|
},
|
|
52966
52974
|
setup() {
|
|
52967
|
-
const O = Ao(!1), ie = eq("accordionsWrapper"),
|
|
52975
|
+
const O = Ao(!1), ie = eq("accordionsWrapper"), _e = (() => {
|
|
52968
52976
|
var gt = (/* @__PURE__ */ new Date()).getTime();
|
|
52969
52977
|
typeof performance < "u" && typeof performance.now == "function" && (gt += performance.now());
|
|
52970
52978
|
var Et = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(_n) {
|
|
@@ -52972,7 +52980,7 @@ const vle = /* @__PURE__ */ qr(ioe, [["render", uoe]]), doe = {
|
|
|
52972
52980
|
return gt = Math.floor(gt / 16), (_n === "x" ? Ht : Ht & 3 | 8).toString(16);
|
|
52973
52981
|
});
|
|
52974
52982
|
return Et;
|
|
52975
|
-
})(), ae = { isOpen: O, id:
|
|
52983
|
+
})(), ae = { isOpen: O, id: _e }, j = vc(() => ie.accordions.value), Ae = vc(() => j.value.length > 0 && j.value[0].id === _e), Q = vc(() => j.value.length > 0 && j.value[j.value.length - 1].id === _e);
|
|
52976
52984
|
return Tg(() => {
|
|
52977
52985
|
ie.registerAccordion(ae);
|
|
52978
52986
|
}), Pq(() => {
|
|
@@ -53012,29 +53020,29 @@ const vle = /* @__PURE__ */ qr(ioe, [["render", uoe]]), doe = {
|
|
|
53012
53020
|
}, null, -1), voe = [
|
|
53013
53021
|
boe
|
|
53014
53022
|
];
|
|
53015
|
-
function yoe(O, ie, te,
|
|
53023
|
+
function yoe(O, ie, te, _e, ae, j) {
|
|
53016
53024
|
return pe(), ye("div", null, [
|
|
53017
53025
|
M("h2", null, [
|
|
53018
53026
|
M("button", {
|
|
53019
|
-
onClick: ie[0] || (ie[0] = (...Ae) =>
|
|
53027
|
+
onClick: ie[0] || (ie[0] = (...Ae) => _e.toggle && _e.toggle(...Ae)),
|
|
53020
53028
|
type: "button",
|
|
53021
53029
|
class: nn(["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", {
|
|
53022
|
-
"rounded-t-xl":
|
|
53023
|
-
"border-b-0": !
|
|
53024
|
-
"bg-gray-100 dark:bg-gray-800":
|
|
53030
|
+
"rounded-t-xl": _e.isFirstAccordion,
|
|
53031
|
+
"border-b-0": !_e.isLastAccordion,
|
|
53032
|
+
"bg-gray-100 dark:bg-gray-800": _e.isOpen
|
|
53025
53033
|
}]),
|
|
53026
53034
|
"aria-expanded": "true"
|
|
53027
53035
|
}, [
|
|
53028
53036
|
M("span", moe, mt(te.title), 1),
|
|
53029
|
-
|
|
53030
|
-
|
|
53037
|
+
_e.isOpen ? it("", !0) : (pe(), ye("svg", foe, hoe)),
|
|
53038
|
+
_e.isOpen ? (pe(), ye("svg", poe, voe)) : it("", !0)
|
|
53031
53039
|
], 2)
|
|
53032
53040
|
]),
|
|
53033
|
-
|
|
53041
|
+
_e.isOpen ? (pe(), ye("div", {
|
|
53034
53042
|
key: 0,
|
|
53035
53043
|
class: nn([{
|
|
53036
|
-
"border-b-0": !
|
|
53037
|
-
"border-t-0":
|
|
53044
|
+
"border-b-0": !_e.isLastAccordion,
|
|
53045
|
+
"border-t-0": _e.isLastAccordion
|
|
53038
53046
|
}, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
|
|
53039
53047
|
}, [
|
|
53040
53048
|
Dd(O.$slots, "default")
|
|
@@ -53118,16 +53126,16 @@ const yle = /* @__PURE__ */ qr(doe, [["render", yoe]]), woe = {
|
|
|
53118
53126
|
setup(O, { emit: ie }) {
|
|
53119
53127
|
const te = O;
|
|
53120
53128
|
Tg(() => {
|
|
53121
|
-
setTimeout(() =>
|
|
53129
|
+
setTimeout(() => _e("remove"), te.duration);
|
|
53122
53130
|
});
|
|
53123
|
-
const
|
|
53131
|
+
const _e = ie;
|
|
53124
53132
|
return (ae, j) => (pe(), ye("div", woe, [
|
|
53125
53133
|
te.type === "success" ? (pe(), ye("div", xoe, _oe)) : it("", !0),
|
|
53126
53134
|
te.type === "error" ? (pe(), ye("div", koe, Aoe)) : it("", !0),
|
|
53127
53135
|
te.type === "warning" ? (pe(), ye("div", Doe, $oe)) : it("", !0),
|
|
53128
53136
|
M("div", Moe, mt(te.message), 1),
|
|
53129
53137
|
M("button", {
|
|
53130
|
-
onClick: j[0] || (j[0] = (Ae) =>
|
|
53138
|
+
onClick: j[0] || (j[0] = (Ae) => _e("remove")),
|
|
53131
53139
|
type: "button",
|
|
53132
53140
|
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",
|
|
53133
53141
|
"data-dismiss-target": "#toast-default",
|
|
@@ -53141,7 +53149,7 @@ const yle = /* @__PURE__ */ qr(doe, [["render", yoe]]), woe = {
|
|
|
53141
53149
|
function ie(te) {
|
|
53142
53150
|
Kx.methods.remove(te);
|
|
53143
53151
|
}
|
|
53144
|
-
return (te,
|
|
53152
|
+
return (te, _e) => (pe(), Ad(Bq, {
|
|
53145
53153
|
tag: "div",
|
|
53146
53154
|
"enter-from-class": "translate-x-full opacity-0",
|
|
53147
53155
|
"enter-active-class": "duration-500",
|
|
@@ -53203,10 +53211,10 @@ const yle = /* @__PURE__ */ qr(doe, [["render", yoe]]), woe = {
|
|
|
53203
53211
|
},
|
|
53204
53212
|
emits: ["deleteAction"],
|
|
53205
53213
|
setup(O, { emit: ie }) {
|
|
53206
|
-
const te = O,
|
|
53207
|
-
|
|
53214
|
+
const te = O, _e = Ao(!1), ae = Ao(!1), j = () => {
|
|
53215
|
+
_e.value = !1;
|
|
53208
53216
|
}, Ae = () => {
|
|
53209
|
-
|
|
53217
|
+
_e.value = !0;
|
|
53210
53218
|
}, Q = () => {
|
|
53211
53219
|
ae.value = !1;
|
|
53212
53220
|
}, Be = () => {
|
|
@@ -53259,7 +53267,7 @@ const yle = /* @__PURE__ */ qr(doe, [["render", yoe]]), woe = {
|
|
|
53259
53267
|
])) : it("", !0)
|
|
53260
53268
|
])
|
|
53261
53269
|
], 512), [
|
|
53262
|
-
[TT,
|
|
53270
|
+
[TT, _e.value]
|
|
53263
53271
|
])
|
|
53264
53272
|
])), [
|
|
53265
53273
|
[Oo, j]
|
|
@@ -53309,10 +53317,10 @@ const yle = /* @__PURE__ */ qr(doe, [["render", yoe]]), woe = {
|
|
|
53309
53317
|
},
|
|
53310
53318
|
emits: ["deleteAction"],
|
|
53311
53319
|
setup(O, { emit: ie }) {
|
|
53312
|
-
const te = O,
|
|
53313
|
-
|
|
53320
|
+
const te = O, _e = Ao(!1), ae = Ao(!1), j = () => {
|
|
53321
|
+
_e.value = !1;
|
|
53314
53322
|
}, Ae = () => {
|
|
53315
|
-
|
|
53323
|
+
_e.value = !0;
|
|
53316
53324
|
}, Q = () => {
|
|
53317
53325
|
ae.value = !1;
|
|
53318
53326
|
}, Be = () => {
|
|
@@ -53356,7 +53364,7 @@ const yle = /* @__PURE__ */ qr(doe, [["render", yoe]]), woe = {
|
|
|
53356
53364
|
])) : it("", !0)
|
|
53357
53365
|
])
|
|
53358
53366
|
], 512), [
|
|
53359
|
-
[TT,
|
|
53367
|
+
[TT, _e.value]
|
|
53360
53368
|
])
|
|
53361
53369
|
])), [
|
|
53362
53370
|
[Oo, j]
|
|
@@ -53417,7 +53425,7 @@ const yle = /* @__PURE__ */ qr(doe, [["render", yoe]]), woe = {
|
|
|
53417
53425
|
"clip-rule": "evenodd"
|
|
53418
53426
|
})
|
|
53419
53427
|
], -1);
|
|
53420
|
-
function lse(O, ie, te,
|
|
53428
|
+
function lse(O, ie, te, _e, ae, j) {
|
|
53421
53429
|
return pe(), ye("div", null, [
|
|
53422
53430
|
j.isArray ? (pe(!0), ye(Jn, { key: 0 }, sr(te.row, (Ae, Q) => (pe(), ye("div", {
|
|
53423
53431
|
key: Q,
|
|
@@ -53493,7 +53501,7 @@ const Sle = /* @__PURE__ */ qr(tse, [["render", lse]]), cse = {
|
|
|
53493
53501
|
"clip-rule": "evenodd"
|
|
53494
53502
|
})
|
|
53495
53503
|
], -1);
|
|
53496
|
-
function gse(O, ie, te,
|
|
53504
|
+
function gse(O, ie, te, _e, ae, j) {
|
|
53497
53505
|
return j.isArray ? (pe(!0), ye(Jn, { key: 0 }, sr(te.row[te.field], (Ae) => (pe(), ye("div", {
|
|
53498
53506
|
key: Ae.id,
|
|
53499
53507
|
class: "m-1 d-inline-block"
|
|
@@ -53522,7 +53530,7 @@ function gse(O, ie, te, ke, ae, j) {
|
|
|
53522
53530
|
const _le = /* @__PURE__ */ qr(cse, [["render", gse]]), hse = {
|
|
53523
53531
|
props: ["field", "row", "tdProps"]
|
|
53524
53532
|
}, pse = { key: 0 }, bse = ["innerHTML"];
|
|
53525
|
-
function vse(O, ie, te,
|
|
53533
|
+
function vse(O, ie, te, _e, ae, j) {
|
|
53526
53534
|
return te.row[te.field] ? (pe(), ye("div", pse, [
|
|
53527
53535
|
M("div", {
|
|
53528
53536
|
class: "w-full",
|
|
@@ -53551,7 +53559,7 @@ const kle = /* @__PURE__ */ qr(hse, [["render", vse]]), yse = {
|
|
|
53551
53559
|
key: 1,
|
|
53552
53560
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53553
53561
|
};
|
|
53554
|
-
function Cse(O, ie, te,
|
|
53562
|
+
function Cse(O, ie, te, _e, ae, j) {
|
|
53555
53563
|
return this.row[this.entry.key] ? (pe(), ye("div", wse, [
|
|
53556
53564
|
j.isArray ? (pe(!0), ye(Jn, { key: 0 }, sr(te.row[j.entry.key], (Ae, Q) => (pe(), ye("span", {
|
|
53557
53565
|
key: Q,
|
|
@@ -53575,14 +53583,14 @@ const Tle = /* @__PURE__ */ qr(yse, [["render", Cse]]), Sse = {
|
|
|
53575
53583
|
},
|
|
53576
53584
|
methods: {
|
|
53577
53585
|
getNestedValue(O, ie) {
|
|
53578
|
-
return ie.reduce((te,
|
|
53586
|
+
return ie.reduce((te, _e) => (te || {})[_e], O);
|
|
53579
53587
|
}
|
|
53580
53588
|
}
|
|
53581
53589
|
}, _se = { class: "flex flex-wrap gap-2" }, kse = {
|
|
53582
53590
|
key: 1,
|
|
53583
53591
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53584
53592
|
};
|
|
53585
|
-
function Tse(O, ie, te,
|
|
53593
|
+
function Tse(O, ie, te, _e, ae, j) {
|
|
53586
53594
|
return pe(), ye("div", _se, [
|
|
53587
53595
|
j.isArray ? (pe(!0), ye(Jn, { key: 0 }, sr(j.getNestedValue(te.row, j.entry.keys), (Ae, Q) => (pe(), ye("span", {
|
|
53588
53596
|
key: Q,
|
|
@@ -53593,7 +53601,7 @@ function Tse(O, ie, te, ke, ae, j) {
|
|
|
53593
53601
|
const Ele = /* @__PURE__ */ qr(Sse, [["render", Tse]]), Ese = {
|
|
53594
53602
|
props: ["field", "row", "tdProps"]
|
|
53595
53603
|
}, Ase = { key: 0 }, Dse = { class: "m-1 d-inline-block" }, Ose = ["href", "title"], Rse = ["src", "alt", "title"];
|
|
53596
|
-
function $se(O, ie, te,
|
|
53604
|
+
function $se(O, ie, te, _e, ae, j) {
|
|
53597
53605
|
return te.row[te.field] ? (pe(), ye("div", Ase, [
|
|
53598
53606
|
M("div", Dse, [
|
|
53599
53607
|
M("a", {
|
|
@@ -53624,7 +53632,7 @@ const Ale = /* @__PURE__ */ qr(Ese, [["render", $se], ["__scopeId", "data-v-3a28
|
|
|
53624
53632
|
key: 0,
|
|
53625
53633
|
class: "grid grid-cols-2 gap-4"
|
|
53626
53634
|
}, Bse = ["src", "alt"], Nse = { key: 1 }, Ise = ["src", "alt"];
|
|
53627
|
-
function Lse(O, ie, te,
|
|
53635
|
+
function Lse(O, ie, te, _e, ae, j) {
|
|
53628
53636
|
return j.isArray ? (pe(), ye("div", Pse, [
|
|
53629
53637
|
(pe(!0), ye(Jn, null, sr(te.row[te.field], (Ae) => (pe(), ye("div", {
|
|
53630
53638
|
key: Ae.id
|
|
@@ -53657,7 +53665,7 @@ const Dle = /* @__PURE__ */ qr(Mse, [["render", Lse]]), Fse = {
|
|
|
53657
53665
|
key: 1,
|
|
53658
53666
|
class: "inline-flex items-center px-2 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full dark:bg-red-900 dark:text-red-300"
|
|
53659
53667
|
}, Wse = /* @__PURE__ */ M("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
53660
|
-
function Zse(O, ie, te,
|
|
53668
|
+
function Zse(O, ie, te, _e, ae, j) {
|
|
53661
53669
|
return pe(), ye("div", Hse, [
|
|
53662
53670
|
j.isActive ? (pe(), ye("span", Vse, [
|
|
53663
53671
|
zse,
|
|
@@ -53697,7 +53705,7 @@ const Ole = /* @__PURE__ */ qr(Fse, [["render", Zse]]), jse = {
|
|
|
53697
53705
|
/* @__PURE__ */ M("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
53698
53706
|
/* @__PURE__ */ M("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
53699
53707
|
], -1);
|
|
53700
|
-
function sre(O, ie, te,
|
|
53708
|
+
function sre(O, ie, te, _e, ae, j) {
|
|
53701
53709
|
return pe(), ye("div", Gse, [
|
|
53702
53710
|
j.hasLabelColor == "green" ? (pe(), ye("span", qse, [
|
|
53703
53711
|
Kse,
|
|
@@ -53743,7 +53751,7 @@ const Rle = /* @__PURE__ */ qr(jse, [["render", sre]]), rre = {
|
|
|
53743
53751
|
}
|
|
53744
53752
|
}
|
|
53745
53753
|
}, are = { class: "flex flex-wrap gap-2 text-nowrap lg:justify-center" };
|
|
53746
|
-
function lre(O, ie, te,
|
|
53754
|
+
function lre(O, ie, te, _e, ae, j) {
|
|
53747
53755
|
return pe(), ye("div", are, [
|
|
53748
53756
|
j.hasLabelColor == "Default" ? (pe(), ye("span", {
|
|
53749
53757
|
key: 0,
|
|
@@ -53810,7 +53818,7 @@ const $le = /* @__PURE__ */ qr(rre, [["render", lre]]), cre = {
|
|
|
53810
53818
|
return this.isObject ? this.getNestedValue(this.row, this.entry.keys)[this.entry.field] : this.row[this.field];
|
|
53811
53819
|
},
|
|
53812
53820
|
getNestedValue(O, ie) {
|
|
53813
|
-
return ie.reduce((te,
|
|
53821
|
+
return ie.reduce((te, _e) => (te || {})[_e], O);
|
|
53814
53822
|
}
|
|
53815
53823
|
}
|
|
53816
53824
|
}, ire = { class: "flex flex-wrap gap-2 text-nowrap" }, ure = {
|
|
@@ -53832,7 +53840,7 @@ const $le = /* @__PURE__ */ qr(rre, [["render", lre]]), cre = {
|
|
|
53832
53840
|
/* @__PURE__ */ M("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
53833
53841
|
/* @__PURE__ */ M("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
53834
53842
|
], -1);
|
|
53835
|
-
function wre(O, ie, te,
|
|
53843
|
+
function wre(O, ie, te, _e, ae, j) {
|
|
53836
53844
|
return pe(), ye("div", ire, [
|
|
53837
53845
|
j.hasLabelColor == "green" ? (pe(), ye("span", ure, [
|
|
53838
53846
|
dre,
|
|
@@ -53862,14 +53870,14 @@ const Mle = /* @__PURE__ */ qr(cre, [["render", wre]]), xre = {
|
|
|
53862
53870
|
formattedDate() {
|
|
53863
53871
|
if (!this.row[this.field])
|
|
53864
53872
|
return "";
|
|
53865
|
-
const O = new Date(this.row[this.field]), ie = O.getFullYear(), te = O.toLocaleString("default", { month: "long" }),
|
|
53873
|
+
const O = new Date(this.row[this.field]), ie = O.getFullYear(), te = O.toLocaleString("default", { month: "long" }), _e = O.getDate();
|
|
53866
53874
|
let ae = O.getHours();
|
|
53867
53875
|
const j = O.getMinutes(), Ae = O.getSeconds(), Q = ae >= 12 ? "pm" : "am";
|
|
53868
|
-
return ae = ae % 12, ae = ae || 12, `${te} ${
|
|
53876
|
+
return ae = ae % 12, ae = ae || 12, `${te} ${_e}, ${ie}, ${ae}:${j}:${Ae} ${Q}`;
|
|
53869
53877
|
}
|
|
53870
53878
|
}
|
|
53871
53879
|
}, Cre = { class: "w-full" };
|
|
53872
|
-
function Sre(O, ie, te,
|
|
53880
|
+
function Sre(O, ie, te, _e, ae, j) {
|
|
53873
53881
|
return pe(), ye("div", Cre, mt(j.formattedDate), 1);
|
|
53874
53882
|
}
|
|
53875
53883
|
const Ple = /* @__PURE__ */ qr(xre, [["render", Sre]]), _re = {
|
|
@@ -53878,12 +53886,12 @@ const Ple = /* @__PURE__ */ qr(xre, [["render", Sre]]), _re = {
|
|
|
53878
53886
|
formattedDate() {
|
|
53879
53887
|
if (!this.row[this.field])
|
|
53880
53888
|
return "";
|
|
53881
|
-
const O = new Date(this.row[this.field]), ie = O.getFullYear(), te = O.toLocaleString("default", { month: "long" }),
|
|
53882
|
-
return `${te} ${
|
|
53889
|
+
const O = new Date(this.row[this.field]), ie = O.getFullYear(), te = O.toLocaleString("default", { month: "long" }), _e = O.getDate();
|
|
53890
|
+
return `${te} ${_e}, ${ie}`;
|
|
53883
53891
|
}
|
|
53884
53892
|
}
|
|
53885
53893
|
}, kre = { class: "w-full" };
|
|
53886
|
-
function Tre(O, ie, te,
|
|
53894
|
+
function Tre(O, ie, te, _e, ae, j) {
|
|
53887
53895
|
return pe(), ye("div", kre, mt(j.formattedDate), 1);
|
|
53888
53896
|
}
|
|
53889
53897
|
const Ble = /* @__PURE__ */ qr(_re, [["render", Tre]]), Ere = {
|
|
@@ -53901,7 +53909,7 @@ const Ble = /* @__PURE__ */ qr(_re, [["render", Tre]]), Ere = {
|
|
|
53901
53909
|
key: 2,
|
|
53902
53910
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
|
|
53903
53911
|
}, Pre = /* @__PURE__ */ M("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
53904
|
-
function Bre(O, ie, te,
|
|
53912
|
+
function Bre(O, ie, te, _e, ae, j) {
|
|
53905
53913
|
return pe(), ye("div", Are, [
|
|
53906
53914
|
te.row[te.field] === 0 ? (pe(), ye("span", Dre, [
|
|
53907
53915
|
Ore,
|
|
@@ -53923,7 +53931,7 @@ const Nle = /* @__PURE__ */ qr(Ere, [["render", Bre]]), Nre = {
|
|
|
53923
53931
|
key: 0,
|
|
53924
53932
|
class: "text-nowrap w-full"
|
|
53925
53933
|
}, Lre = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
|
|
53926
|
-
function Fre(O, ie, te,
|
|
53934
|
+
function Fre(O, ie, te, _e, ae, j) {
|
|
53927
53935
|
return te.row[te.field] ? (pe(), ye("div", Ire, [
|
|
53928
53936
|
M("pre", Lre, " " + mt(te.row[te.field]) + `
|
|
53929
53937
|
`, 1)
|
|
@@ -53951,7 +53959,7 @@ const Ile = /* @__PURE__ */ qr(Nre, [["render", Fre]]), Hre = {
|
|
|
53951
53959
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
53952
53960
|
"aria-hidden": "true"
|
|
53953
53961
|
}, "", -1), Zre = { 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" }, jre = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, Gre = { class: "sm:flex sm:items-start" }, qre = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Kre = { class: "text-lg font-medium leading-6" }, Yre = { class: "mt-2" }, Xre = { 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" };
|
|
53954
|
-
function Jre(O, ie, te,
|
|
53962
|
+
function Jre(O, ie, te, _e, ae, j) {
|
|
53955
53963
|
return te.isOpen ? (pe(), ye("div", Vre, [
|
|
53956
53964
|
M("div", zre, [
|
|
53957
53965
|
Ure,
|
|
@@ -54034,7 +54042,7 @@ const Lle = /* @__PURE__ */ qr(Hre, [["render", Jre]]), Qre = { class: "w-full"
|
|
|
54034
54042
|
}
|
|
54035
54043
|
},
|
|
54036
54044
|
setup(O) {
|
|
54037
|
-
const ie = O, te = Ao(!1),
|
|
54045
|
+
const ie = O, te = Ao(!1), _e = (j) => {
|
|
54038
54046
|
navigator.clipboard.writeText(j).then(function() {
|
|
54039
54047
|
te.value = !0, setTimeout(() => {
|
|
54040
54048
|
te.value = !1;
|
|
@@ -54053,7 +54061,7 @@ const Lle = /* @__PURE__ */ qr(Hre, [["render", Jre]]), Qre = { class: "w-full"
|
|
|
54053
54061
|
]),
|
|
54054
54062
|
M("div", rae, [
|
|
54055
54063
|
M("button", {
|
|
54056
|
-
onClick: Ae[0] || (Ae[0] = (Q) =>
|
|
54064
|
+
onClick: Ae[0] || (Ae[0] = (Q) => _e(ae.value)),
|
|
54057
54065
|
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"
|
|
54058
54066
|
}, [
|
|
54059
54067
|
te.value ? it("", !0) : (pe(), ye("span", aae, iae)),
|
|
@@ -54114,7 +54122,7 @@ const Lle = /* @__PURE__ */ qr(Hre, [["render", Jre]]), Qre = { class: "w-full"
|
|
|
54114
54122
|
}
|
|
54115
54123
|
},
|
|
54116
54124
|
setup(O) {
|
|
54117
|
-
const ie = O, te = Ao(!1),
|
|
54125
|
+
const ie = O, te = Ao(!1), _e = (j) => {
|
|
54118
54126
|
navigator.clipboard.writeText(j).then(function() {
|
|
54119
54127
|
te.value = !0, setTimeout(() => {
|
|
54120
54128
|
te.value = !1;
|
|
@@ -54141,7 +54149,7 @@ const Lle = /* @__PURE__ */ qr(Hre, [["render", Jre]]), Qre = { class: "w-full"
|
|
|
54141
54149
|
]),
|
|
54142
54150
|
M("button", {
|
|
54143
54151
|
style: { padding: ".61rem" },
|
|
54144
|
-
onClick: Ae[0] || (Ae[0] = (Q) =>
|
|
54152
|
+
onClick: Ae[0] || (Ae[0] = (Q) => _e(ae.value)),
|
|
54145
54153
|
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",
|
|
54146
54154
|
type: "button"
|
|
54147
54155
|
}, [
|
|
@@ -54222,7 +54230,7 @@ const Lle = /* @__PURE__ */ qr(Hre, [["render", Jre]]), Qre = { class: "w-full"
|
|
|
54222
54230
|
},
|
|
54223
54231
|
emits: ["reconnect"],
|
|
54224
54232
|
setup(O, { emit: ie }) {
|
|
54225
|
-
const te = ie,
|
|
54233
|
+
const te = ie, _e = () => {
|
|
54226
54234
|
te("reconnect");
|
|
54227
54235
|
};
|
|
54228
54236
|
return (ae, j) => (pe(), ye("div", Nae, [
|
|
@@ -54239,7 +54247,7 @@ const Lle = /* @__PURE__ */ qr(Hre, [["render", Jre]]), Qre = { class: "w-full"
|
|
|
54239
54247
|
lo(" Disconnected ")
|
|
54240
54248
|
])) : it("", !0),
|
|
54241
54249
|
M("button", {
|
|
54242
|
-
onClick:
|
|
54250
|
+
onClick: _e,
|
|
54243
54251
|
class: "ml-1"
|
|
54244
54252
|
}, [
|
|
54245
54253
|
(pe(), ye("svg", Uae, Zae))
|