@fewangsit/wangsvue-fats 1.0.0-alpha.104 → 1.0.0-alpha.105
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/components/inputtext/InputText.vue.d.ts +1 -0
- package/package.json +1 -1
- package/stats.html +1 -1
- package/wangsvue-fats.js +273 -273
- package/wangsvue-fats.system.js +9 -9
package/wangsvue-fats.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var dt = (t, e, n) =>
|
|
4
|
-
import { inject as ct, shallowRef as se, ref as re, readonly as Pb, getCurrentInstance as so, onMounted as pt, nextTick as wt, watch as Ve, mergeProps as C, reactive as qt, computed as G, unref as x, isRef as Yu, provide as Fa, toValue as Ot, onBeforeUnmount as Ii, watchEffect as ed, shallowReactive as
|
|
1
|
+
var KS = Object.defineProperty;
|
|
2
|
+
var WS = (t, e, n) => e in t ? KS(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var dt = (t, e, n) => WS(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
+
import { inject as ct, shallowRef as se, ref as re, readonly as Pb, getCurrentInstance as so, onMounted as pt, nextTick as wt, watch as Ve, mergeProps as C, reactive as qt, computed as G, unref as x, isRef as Yu, provide as Fa, toValue as Ot, onBeforeUnmount as Ii, watchEffect as ed, shallowReactive as XS, defineComponent as Ce, h as qi, withDirectives as nt, createElementBlock as T, openBlock as g, renderSlot as Y, createTextVNode as ot, toDisplayString as ee, createElementVNode as E, resolveComponent as Ge, resolveDirective as Wt, createBlock as I, createCommentVNode as B, normalizeClass as me, Fragment as ue, withCtx as F, normalizeProps as _e, Teleport as Ah, createVNode as R, Transition as ao, resolveDynamicComponent as lt, createSlots as ln, renderList as qe, mergeModels as vn, useModel as Mi, guardReactiveProps as mt, withModifiers as yt, onUnmounted as jl, vShow as Pn, normalizeStyle as pr, useSlots as td, TransitionGroup as ZS, onBeforeMount as Lb, withKeys as cn, toHandlers as vs, vModelText as Db, markRaw as Rb, render as mg, customRef as GS } from "vue";
|
|
5
5
|
import { navigateToUrl as wh } from "single-spa";
|
|
6
|
-
import { I18nService as
|
|
6
|
+
import { I18nService as qS, ChangelogServices as JS, AssetServices as Ha, DisposalServices as YS, getImageURL as qf, TAGServices as Nb, AssetNameServices as gg, DamageServicesGo as _S, DamageServices as QS, TrackingServices as e3, MissingServicesGo as t3, MissingServices as n3, getImageURLGo as i3, GroupCategoryServicesGo as r3, GroupCategoryServices as o3 } from "@tagsamurai/fats-api-services";
|
|
7
7
|
import { isNavigationFailure as vg } from "vue-router";
|
|
8
8
|
import s3, { AxiosError as a3 } from "axios";
|
|
9
9
|
function l3(t) {
|
|
@@ -5459,7 +5459,7 @@ const w0 = () => {
|
|
|
5459
5459
|
} catch {
|
|
5460
5460
|
return {};
|
|
5461
5461
|
}
|
|
5462
|
-
}, cu =
|
|
5462
|
+
}, cu = XS(w0()), Vr = new Proxy(cu, {
|
|
5463
5463
|
get: (t, e) => {
|
|
5464
5464
|
const i = w0()[e];
|
|
5465
5465
|
return cu[e] = i, i;
|
|
@@ -5532,7 +5532,7 @@ const w0 = () => {
|
|
|
5532
5532
|
e.config.globalProperties.$i18n = t, e.config.globalProperties.$t = t.t, e.provide("i18n", t);
|
|
5533
5533
|
}
|
|
5534
5534
|
};
|
|
5535
|
-
}, A7 = (t) => (ki = t, b7()), gne = A7(
|
|
5535
|
+
}, A7 = (t) => (ki = t, b7()), gne = A7(qS), w7 = (t, e) => {
|
|
5536
5536
|
e.forEach((n) => {
|
|
5537
5537
|
const i = t.document.createElement("link");
|
|
5538
5538
|
i.setAttribute("rel", "stylesheet"), i.setAttribute("type", "text/css"), i.setAttribute("href", n), t.document.head.appendChild(i);
|
|
@@ -6562,10 +6562,10 @@ const h8 = /* @__PURE__ */ ad(class extends od {
|
|
|
6562
6562
|
return this;
|
|
6563
6563
|
}
|
|
6564
6564
|
handleModelValueChange(n) {
|
|
6565
|
-
this.tokens = n ? n.split("") : Array(this.length);
|
|
6565
|
+
this.tokens = n ? n.split("") : Array(this.length).fill("");
|
|
6566
6566
|
}
|
|
6567
6567
|
onTokensChange(n) {
|
|
6568
|
-
n.length === this.length && n.every((i) => i && i.length === 1) && this.completed.emit(n.join(""));
|
|
6568
|
+
n.length === this.length && n.every((i) => i && i.length === 1) && (console.log("🚀 ~ InputOtp ~ onTokensChange ~ newTokens:", n), this.completed.emit(n.join("")));
|
|
6569
6569
|
}
|
|
6570
6570
|
componentWillLoad() {
|
|
6571
6571
|
this.handleModelValueChange(this.modelValue);
|
|
@@ -6601,7 +6601,7 @@ const h8 = /* @__PURE__ */ ad(class extends od {
|
|
|
6601
6601
|
};
|
|
6602
6602
|
}
|
|
6603
6603
|
render() {
|
|
6604
|
-
return Wn(Wl, { key: "
|
|
6604
|
+
return Wn(Wl, { key: "5c4cfc33e633066632f2e28915cdab8772866462", class: this.cx("root", this.getPtmo()) }, Array.from({ length: this.length }).map((n, i) => Wn("input", { type: this.mask ? "password" : "text", class: this.cx("input", this.getPtmo(i)), value: this.tokens[i] || "", inputmode: this.integerOnly ? "numeric" : "text", disabled: this.disabled, readonly: this.readonly, onInput: (r) => this.onInput(r, i), onFocus: this.onFocus, onBlur: this.onBlur, onPaste: this.onPaste, onKeyDown: this.onKeyDown, maxLength: 1 })));
|
|
6605
6605
|
}
|
|
6606
6606
|
static get watchers() {
|
|
6607
6607
|
return {
|
|
@@ -15593,7 +15593,7 @@ function SM(t, e, n, i, r, o) {
|
|
|
15593
15593
|
style: t.sx("root", !0, {
|
|
15594
15594
|
position: t.position
|
|
15595
15595
|
})
|
|
15596
|
-
}, t.ptmi("root")), [R(
|
|
15596
|
+
}, t.ptmi("root")), [R(ZS, C({
|
|
15597
15597
|
name: "p-toast-message",
|
|
15598
15598
|
tag: "div",
|
|
15599
15599
|
onEnter: o.onEnter,
|
|
@@ -15840,7 +15840,7 @@ const Cs = /* @__PURE__ */ Ce({
|
|
|
15840
15840
|
}
|
|
15841
15841
|
if (!k.includes(Ae)) {
|
|
15842
15842
|
try {
|
|
15843
|
-
|
|
15843
|
+
JS.postScanLog({
|
|
15844
15844
|
tag: Ae,
|
|
15845
15845
|
serialNumber: O()
|
|
15846
15846
|
});
|
|
@@ -41110,7 +41110,7 @@ function cm(t, e = null) {
|
|
|
41110
41110
|
return u;
|
|
41111
41111
|
}
|
|
41112
41112
|
function _w(t) {
|
|
41113
|
-
return t.editable ? t.hasFocus() :
|
|
41113
|
+
return t.editable ? t.hasFocus() : e6(t) && document.activeElement && document.activeElement.contains(t.dom);
|
|
41114
41114
|
}
|
|
41115
41115
|
function gr(t, e = !1) {
|
|
41116
41116
|
let n = t.state.selection;
|
|
@@ -41180,9 +41180,9 @@ function dm(t, e, n, i) {
|
|
|
41180
41180
|
return t.someProp("createSelectionBetween", (r) => r(t, e, n)) || gt.between(e, n, i);
|
|
41181
41181
|
}
|
|
41182
41182
|
function Sy(t) {
|
|
41183
|
-
return t.editable && !t.hasFocus() ? !1 :
|
|
41183
|
+
return t.editable && !t.hasFocus() ? !1 : e6(t);
|
|
41184
41184
|
}
|
|
41185
|
-
function
|
|
41185
|
+
function e6(t) {
|
|
41186
41186
|
let e = t.domSelectionRange();
|
|
41187
41187
|
if (!e.anchorNode)
|
|
41188
41188
|
return !1;
|
|
@@ -41262,7 +41262,7 @@ function dX(t) {
|
|
|
41262
41262
|
break;
|
|
41263
41263
|
}
|
|
41264
41264
|
} else {
|
|
41265
|
-
if (
|
|
41265
|
+
if (t6(n))
|
|
41266
41266
|
break;
|
|
41267
41267
|
{
|
|
41268
41268
|
let a = n.previousSibling;
|
|
@@ -41294,7 +41294,7 @@ function fX(t) {
|
|
|
41294
41294
|
else
|
|
41295
41295
|
break;
|
|
41296
41296
|
} else {
|
|
41297
|
-
if (
|
|
41297
|
+
if (t6(n))
|
|
41298
41298
|
break;
|
|
41299
41299
|
{
|
|
41300
41300
|
let a = n.nextSibling;
|
|
@@ -41311,7 +41311,7 @@ function fX(t) {
|
|
|
41311
41311
|
}
|
|
41312
41312
|
o && _p(t, o, s);
|
|
41313
41313
|
}
|
|
41314
|
-
function
|
|
41314
|
+
function t6(t) {
|
|
41315
41315
|
let e = t.pmViewDesc;
|
|
41316
41316
|
return e && e.node && e.node.isBlock;
|
|
41317
41317
|
}
|
|
@@ -41458,10 +41458,10 @@ function fm(t, e) {
|
|
|
41458
41458
|
let p = i.firstChild;
|
|
41459
41459
|
n.push(p.type.name, p.attrs != p.type.defaultAttrs ? p.attrs : null), i = p.content;
|
|
41460
41460
|
}
|
|
41461
|
-
let s = t.someProp("clipboardSerializer") || es.fromSchema(t.state.schema), a =
|
|
41461
|
+
let s = t.someProp("clipboardSerializer") || es.fromSchema(t.state.schema), a = a6(), l = a.createElement("div");
|
|
41462
41462
|
l.appendChild(s.serializeFragment(i, { document: a }));
|
|
41463
41463
|
let u = l.firstChild, c, d = 0;
|
|
41464
|
-
for (; u && u.nodeType == 1 && (c =
|
|
41464
|
+
for (; u && u.nodeType == 1 && (c = s6[u.nodeName.toLowerCase()]); ) {
|
|
41465
41465
|
for (let p = c.length - 1; p >= 0; p--) {
|
|
41466
41466
|
let h = a.createElement(c[p]);
|
|
41467
41467
|
for (; l.firstChild; )
|
|
@@ -41476,7 +41476,7 @@ function fm(t, e) {
|
|
|
41476
41476
|
`);
|
|
41477
41477
|
return { dom: l, text: f, slice: e };
|
|
41478
41478
|
}
|
|
41479
|
-
function
|
|
41479
|
+
function n6(t, e, n, i, r) {
|
|
41480
41480
|
let o = r.parent.type.spec.code, s, a;
|
|
41481
41481
|
if (!n && !e)
|
|
41482
41482
|
return null;
|
|
@@ -41543,11 +41543,11 @@ function bX(t, e) {
|
|
|
41543
41543
|
let l = r.findWrapping(a.type), u;
|
|
41544
41544
|
if (!l)
|
|
41545
41545
|
return s = null;
|
|
41546
|
-
if (u = s.length && o.length &&
|
|
41546
|
+
if (u = s.length && o.length && r6(l, o, a, s[s.length - 1], 0))
|
|
41547
41547
|
s[s.length - 1] = u;
|
|
41548
41548
|
else {
|
|
41549
|
-
s.length && (s[s.length - 1] =
|
|
41550
|
-
let c =
|
|
41549
|
+
s.length && (s[s.length - 1] = o6(s[s.length - 1], o.length));
|
|
41550
|
+
let c = i6(a, l);
|
|
41551
41551
|
s.push(c), r = r.matchType(c.type), o = l;
|
|
41552
41552
|
}
|
|
41553
41553
|
}), s)
|
|
@@ -41555,24 +41555,24 @@ function bX(t, e) {
|
|
|
41555
41555
|
}
|
|
41556
41556
|
return t;
|
|
41557
41557
|
}
|
|
41558
|
-
function
|
|
41558
|
+
function i6(t, e, n = 0) {
|
|
41559
41559
|
for (let i = e.length - 1; i >= n; i--)
|
|
41560
41560
|
t = e[i].create(null, xe.from(t));
|
|
41561
41561
|
return t;
|
|
41562
41562
|
}
|
|
41563
|
-
function
|
|
41563
|
+
function r6(t, e, n, i, r) {
|
|
41564
41564
|
if (r < t.length && r < e.length && t[r] == e[r]) {
|
|
41565
|
-
let o =
|
|
41565
|
+
let o = r6(t, e, n, i.lastChild, r + 1);
|
|
41566
41566
|
if (o)
|
|
41567
41567
|
return i.copy(i.content.replaceChild(i.childCount - 1, o));
|
|
41568
41568
|
if (i.contentMatchAt(i.childCount).matchType(r == t.length - 1 ? n.type : t[r + 1]))
|
|
41569
|
-
return i.copy(i.content.append(xe.from(
|
|
41569
|
+
return i.copy(i.content.append(xe.from(i6(n, t, r + 1))));
|
|
41570
41570
|
}
|
|
41571
41571
|
}
|
|
41572
|
-
function
|
|
41572
|
+
function o6(t, e) {
|
|
41573
41573
|
if (e == 0)
|
|
41574
41574
|
return t;
|
|
41575
|
-
let n = t.content.replaceChild(t.childCount - 1,
|
|
41575
|
+
let n = t.content.replaceChild(t.childCount - 1, o6(t.lastChild, e - 1)), i = t.contentMatchAt(t.childCount).fillBefore(xe.empty, !0);
|
|
41576
41576
|
return t.copy(n.append(i));
|
|
41577
41577
|
}
|
|
41578
41578
|
function Qp(t, e, n, i, r, o) {
|
|
@@ -41582,7 +41582,7 @@ function Qp(t, e, n, i, r, o) {
|
|
|
41582
41582
|
function My(t, e, n) {
|
|
41583
41583
|
return e < t.openStart && (t = new je(Qp(t.content, -1, e, t.openStart, 0, t.openEnd), e, t.openEnd)), n < t.openEnd && (t = new je(Qp(t.content, 1, n, t.openEnd, 0, 0), t.openStart, n)), t;
|
|
41584
41584
|
}
|
|
41585
|
-
const
|
|
41585
|
+
const s6 = {
|
|
41586
41586
|
thead: ["table"],
|
|
41587
41587
|
tbody: ["table"],
|
|
41588
41588
|
tfoot: ["table"],
|
|
@@ -41594,7 +41594,7 @@ const sS = {
|
|
|
41594
41594
|
th: ["table", "tbody", "tr"]
|
|
41595
41595
|
};
|
|
41596
41596
|
let Ey = null;
|
|
41597
|
-
function
|
|
41597
|
+
function a6() {
|
|
41598
41598
|
return Ey || (Ey = document.implementation.createHTMLDocument("title"));
|
|
41599
41599
|
}
|
|
41600
41600
|
let Sf = null;
|
|
@@ -41605,8 +41605,8 @@ function AX(t) {
|
|
|
41605
41605
|
function wX(t) {
|
|
41606
41606
|
let e = /^(\s*<meta [^>]*>)*/.exec(t);
|
|
41607
41607
|
e && (t = t.slice(e[0].length));
|
|
41608
|
-
let n =
|
|
41609
|
-
if ((r = i &&
|
|
41608
|
+
let n = a6().createElement("div"), i = /<([a-z][^>\s]+)/i.exec(t), r;
|
|
41609
|
+
if ((r = i && s6[i[1].toLowerCase()]) && (t = r.map((o) => "<" + o + ">").join("") + t + r.map((o) => "</" + o + ">").reverse().join("")), n.innerHTML = AX(t), r)
|
|
41610
41610
|
for (let o = 0; o < r.length; o++)
|
|
41611
41611
|
n = n.querySelector(r[o]) || n;
|
|
41612
41612
|
return n;
|
|
@@ -41687,7 +41687,7 @@ function EX(t, e) {
|
|
|
41687
41687
|
}
|
|
41688
41688
|
Fn.keydown = (t, e) => {
|
|
41689
41689
|
let n = e;
|
|
41690
|
-
if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !
|
|
41690
|
+
if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !u6(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(cr && Ln && n.keyCode == 13)))
|
|
41691
41691
|
if (n.keyCode != 229 && t.domObserver.forceFlush(), Ns && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
|
|
41692
41692
|
let i = Date.now();
|
|
41693
41693
|
t.input.lastIOSEnter = i, t.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
|
|
@@ -41700,7 +41700,7 @@ Fn.keyup = (t, e) => {
|
|
|
41700
41700
|
};
|
|
41701
41701
|
Fn.keypress = (t, e) => {
|
|
41702
41702
|
let n = e;
|
|
41703
|
-
if (
|
|
41703
|
+
if (u6(t, n) || !n.charCode || n.ctrlKey && !n.altKey || pi && n.metaKey)
|
|
41704
41704
|
return;
|
|
41705
41705
|
if (t.someProp("handleKeyPress", (r) => r(t, n))) {
|
|
41706
41706
|
n.preventDefault();
|
|
@@ -41785,18 +41785,18 @@ function BX(t, e, n) {
|
|
|
41785
41785
|
function mm(t) {
|
|
41786
41786
|
return gc(t);
|
|
41787
41787
|
}
|
|
41788
|
-
const
|
|
41788
|
+
const l6 = pi ? "metaKey" : "ctrlKey";
|
|
41789
41789
|
zn.mousedown = (t, e) => {
|
|
41790
41790
|
let n = e;
|
|
41791
41791
|
t.input.shiftKey = n.shiftKey;
|
|
41792
41792
|
let i = mm(t), r = Date.now(), o = "singleClick";
|
|
41793
|
-
r - t.input.lastClick.time < 500 && IX(n, t.input.lastClick) && !n[
|
|
41793
|
+
r - t.input.lastClick.time < 500 && IX(n, t.input.lastClick) && !n[l6] && (t.input.lastClick.type == "singleClick" ? o = "doubleClick" : t.input.lastClick.type == "doubleClick" && (o = "tripleClick")), t.input.lastClick = { time: r, x: n.clientX, y: n.clientY, type: o };
|
|
41794
41794
|
let s = t.posAtCoords(Sd(n));
|
|
41795
41795
|
s && (o == "singleClick" ? (t.input.mouseDown && t.input.mouseDown.done(), t.input.mouseDown = new VX(t, s, n, !!i)) : (o == "doubleClick" ? RX : NX)(t, s.pos, s.inside, n) ? n.preventDefault() : Xr(t, "pointer"));
|
|
41796
41796
|
};
|
|
41797
41797
|
class VX {
|
|
41798
41798
|
constructor(e, n, i, r) {
|
|
41799
|
-
this.view = e, this.pos = n, this.event = i, this.flushed = r, this.delayedSelectionSync = !1, this.mightDrag = null, this.startDoc = e.state.doc, this.selectNode = !!i[
|
|
41799
|
+
this.view = e, this.pos = n, this.event = i, this.flushed = r, this.delayedSelectionSync = !1, this.mightDrag = null, this.startDoc = e.state.doc, this.selectNode = !!i[l6], this.allowDefault = i.shiftKey;
|
|
41800
41800
|
let o, s;
|
|
41801
41801
|
if (n.inside > -1)
|
|
41802
41802
|
o = e.state.doc.nodeAt(n.inside), s = n.inside;
|
|
@@ -41847,7 +41847,7 @@ zn.touchmove = (t) => {
|
|
|
41847
41847
|
t.input.lastTouch = Date.now(), Xr(t, "pointer");
|
|
41848
41848
|
};
|
|
41849
41849
|
zn.contextmenu = (t) => mm(t);
|
|
41850
|
-
function
|
|
41850
|
+
function u6(t, e) {
|
|
41851
41851
|
return t.composing ? !0 : $n && Math.abs(e.timeStamp - t.input.compositionEndedAt) < 500 ? (t.input.compositionEndedAt = -2e8, !0) : !1;
|
|
41852
41852
|
}
|
|
41853
41853
|
const $X = cr ? 5e3 : -1;
|
|
@@ -41873,15 +41873,15 @@ Fn.compositionstart = Fn.compositionupdate = (t) => {
|
|
|
41873
41873
|
}
|
|
41874
41874
|
t.input.composing = !0;
|
|
41875
41875
|
}
|
|
41876
|
-
|
|
41876
|
+
c6(t, $X);
|
|
41877
41877
|
};
|
|
41878
41878
|
Fn.compositionend = (t, e) => {
|
|
41879
|
-
t.composing && (t.input.composing = !1, t.input.compositionEndedAt = e.timeStamp, t.input.compositionPendingChanges = t.domObserver.pendingRecords().length ? t.input.compositionID : 0, t.input.compositionNode = null, t.input.compositionPendingChanges && Promise.resolve().then(() => t.domObserver.flush()), t.input.compositionID++,
|
|
41879
|
+
t.composing && (t.input.composing = !1, t.input.compositionEndedAt = e.timeStamp, t.input.compositionPendingChanges = t.domObserver.pendingRecords().length ? t.input.compositionID : 0, t.input.compositionNode = null, t.input.compositionPendingChanges && Promise.resolve().then(() => t.domObserver.flush()), t.input.compositionID++, c6(t, 20));
|
|
41880
41880
|
};
|
|
41881
|
-
function
|
|
41881
|
+
function c6(t, e) {
|
|
41882
41882
|
clearTimeout(t.input.composingTimeout), e > -1 && (t.input.composingTimeout = setTimeout(() => gc(t), e));
|
|
41883
41883
|
}
|
|
41884
|
-
function
|
|
41884
|
+
function d6(t) {
|
|
41885
41885
|
for (t.composing && (t.input.composing = !1, t.input.compositionEndedAt = FX()); t.input.compositionNodes.length > 0; )
|
|
41886
41886
|
t.input.compositionNodes.pop().markParentsDirty();
|
|
41887
41887
|
}
|
|
@@ -41910,7 +41910,7 @@ function FX() {
|
|
|
41910
41910
|
}
|
|
41911
41911
|
function gc(t, e = !1) {
|
|
41912
41912
|
if (!(cr && t.domObserver.flushingSoon >= 0)) {
|
|
41913
|
-
if (t.domObserver.forceFlush(),
|
|
41913
|
+
if (t.domObserver.forceFlush(), d6(t), e || t.docView && t.docView.dirty) {
|
|
41914
41914
|
let n = cm(t);
|
|
41915
41915
|
return n && !n.eq(t.state.selection) ? t.dispatch(t.state.tr.setSelection(n)) : (t.markCursor || e) && !t.state.selection.empty ? t.dispatch(t.state.tr.deleteSelection()) : t.updateState(t.state), !0;
|
|
41916
41916
|
}
|
|
@@ -41949,7 +41949,7 @@ function UX(t, e) {
|
|
|
41949
41949
|
}, 50);
|
|
41950
41950
|
}
|
|
41951
41951
|
function Dl(t, e, n, i, r) {
|
|
41952
|
-
let o =
|
|
41952
|
+
let o = n6(t, e, n, i, t.state.selection.$from);
|
|
41953
41953
|
if (t.someProp("handlePaste", (l) => l(t, r, o || je.empty)))
|
|
41954
41954
|
return !0;
|
|
41955
41955
|
if (!o)
|
|
@@ -41957,7 +41957,7 @@ function Dl(t, e, n, i, r) {
|
|
|
41957
41957
|
let s = jX(o), a = s ? t.state.tr.replaceSelectionWith(s, i) : t.state.tr.replaceSelection(o);
|
|
41958
41958
|
return t.dispatch(a.scrollIntoView().setMeta("paste", !0).setMeta("uiEvent", "paste")), !0;
|
|
41959
41959
|
}
|
|
41960
|
-
function
|
|
41960
|
+
function f6(t) {
|
|
41961
41961
|
let e = t.getData("text/plain") || t.getData("Text");
|
|
41962
41962
|
if (e)
|
|
41963
41963
|
return e;
|
|
@@ -41969,15 +41969,15 @@ Fn.paste = (t, e) => {
|
|
|
41969
41969
|
if (t.composing && !cr)
|
|
41970
41970
|
return;
|
|
41971
41971
|
let i = Ll ? null : n.clipboardData, r = t.input.shiftKey && t.input.lastKeyCode != 45;
|
|
41972
|
-
i && Dl(t,
|
|
41972
|
+
i && Dl(t, f6(i), i.getData("text/html"), r, n) ? n.preventDefault() : UX(t, n);
|
|
41973
41973
|
};
|
|
41974
|
-
class
|
|
41974
|
+
class p6 {
|
|
41975
41975
|
constructor(e, n, i) {
|
|
41976
41976
|
this.slice = e, this.move = n, this.node = i;
|
|
41977
41977
|
}
|
|
41978
41978
|
}
|
|
41979
41979
|
const KX = pi ? "altKey" : "ctrlKey";
|
|
41980
|
-
function
|
|
41980
|
+
function h6(t, e) {
|
|
41981
41981
|
let n = t.someProp("dragCopies", (i) => !i(e));
|
|
41982
41982
|
return n ?? !e[KX];
|
|
41983
41983
|
}
|
|
@@ -41995,7 +41995,7 @@ zn.dragstart = (t, e) => {
|
|
|
41995
41995
|
}
|
|
41996
41996
|
}
|
|
41997
41997
|
let a = (s || t.state.selection).content(), { dom: l, text: u, slice: c } = fm(t, a);
|
|
41998
|
-
(!n.dataTransfer.files.length || !Ln || Fw > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(Ll ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", Ll || n.dataTransfer.setData("text/plain", u), t.dragging = new
|
|
41998
|
+
(!n.dataTransfer.files.length || !Ln || Fw > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(Ll ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", Ll || n.dataTransfer.setData("text/plain", u), t.dragging = new p6(c, h6(t, n), s);
|
|
41999
41999
|
};
|
|
42000
42000
|
zn.dragend = (t) => {
|
|
42001
42001
|
let e = t.dragging;
|
|
@@ -42014,8 +42014,8 @@ Fn.drop = (t, e) => {
|
|
|
42014
42014
|
let o = t.state.doc.resolve(r.pos), s = i && i.slice;
|
|
42015
42015
|
s ? t.someProp("transformPasted", (h) => {
|
|
42016
42016
|
s = h(s, t);
|
|
42017
|
-
}) : s =
|
|
42018
|
-
let a = !!(i &&
|
|
42017
|
+
}) : s = n6(t, f6(n.dataTransfer), Ll ? null : n.dataTransfer.getData("text/html"), !1, o);
|
|
42018
|
+
let a = !!(i && h6(t, n));
|
|
42019
42019
|
if (t.someProp("handleDrop", (h) => h(t, n, s || je.empty, a))) {
|
|
42020
42020
|
n.preventDefault();
|
|
42021
42021
|
return;
|
|
@@ -42276,13 +42276,13 @@ class tn {
|
|
|
42276
42276
|
let r, o = 0;
|
|
42277
42277
|
e.forEach((a, l) => {
|
|
42278
42278
|
let u = l + i, c;
|
|
42279
|
-
if (c =
|
|
42279
|
+
if (c = g6(n, a, u)) {
|
|
42280
42280
|
for (r || (r = this.children.slice()); o < r.length && r[o] < l; )
|
|
42281
42281
|
o += 3;
|
|
42282
42282
|
r[o] == l ? r[o + 2] = r[o + 2].addInner(a, c, u + 1) : r.splice(o, 0, l, l + a.nodeSize, yc(c, a, u + 1, Ro)), o += 3;
|
|
42283
42283
|
}
|
|
42284
42284
|
});
|
|
42285
|
-
let s =
|
|
42285
|
+
let s = m6(o ? v6(n) : n, -i);
|
|
42286
42286
|
for (let a = 0; a < s.length; a++)
|
|
42287
42287
|
s[a].type.valid(e, s[a]) || s.splice(a--, 1);
|
|
42288
42288
|
return new tn(s.length ? this.local.concat(s).sort(No) : this.local, r || this.children);
|
|
@@ -42488,7 +42488,7 @@ function WX(t, e, n, i, r, o, s) {
|
|
|
42488
42488
|
}
|
|
42489
42489
|
return new tn(e.sort(No), a);
|
|
42490
42490
|
}
|
|
42491
|
-
function
|
|
42491
|
+
function m6(t, e) {
|
|
42492
42492
|
if (!e || !t.length)
|
|
42493
42493
|
return t;
|
|
42494
42494
|
let n = [];
|
|
@@ -42511,7 +42511,7 @@ function XX(t, e, n, i, r, o, s) {
|
|
|
42511
42511
|
t[l + 1] == -1 && a(t[l + 2], e[l] + o + 1);
|
|
42512
42512
|
return n;
|
|
42513
42513
|
}
|
|
42514
|
-
function
|
|
42514
|
+
function g6(t, e, n) {
|
|
42515
42515
|
if (e.isLeaf)
|
|
42516
42516
|
return null;
|
|
42517
42517
|
let i = n + e.nodeSize, r = null;
|
|
@@ -42519,7 +42519,7 @@ function gS(t, e, n) {
|
|
|
42519
42519
|
(s = t[o]) && s.from > n && s.to < i && ((r || (r = [])).push(s), t[o] = null);
|
|
42520
42520
|
return r;
|
|
42521
42521
|
}
|
|
42522
|
-
function
|
|
42522
|
+
function v6(t) {
|
|
42523
42523
|
let e = [];
|
|
42524
42524
|
for (let n = 0; n < t.length; n++)
|
|
42525
42525
|
t[n] != null && e.push(t[n]);
|
|
@@ -42528,14 +42528,14 @@ function vS(t) {
|
|
|
42528
42528
|
function yc(t, e, n, i) {
|
|
42529
42529
|
let r = [], o = !1;
|
|
42530
42530
|
e.forEach((a, l) => {
|
|
42531
|
-
let u =
|
|
42531
|
+
let u = g6(t, a, l + n);
|
|
42532
42532
|
if (u) {
|
|
42533
42533
|
o = !0;
|
|
42534
42534
|
let c = yc(u, a, n + l + 1, i);
|
|
42535
42535
|
c != In && r.push(l, l + a.nodeSize, c);
|
|
42536
42536
|
}
|
|
42537
42537
|
});
|
|
42538
|
-
let s =
|
|
42538
|
+
let s = m6(o ? v6(t) : t, -n).sort(No);
|
|
42539
42539
|
for (let a = 0; a < s.length; a++)
|
|
42540
42540
|
s[a].type.valid(e, s[a]) || (i.onRemove && i.onRemove(s[a].spec), s.splice(a--, 1));
|
|
42541
42541
|
return s.length || r.length ? new tn(s, r) : In;
|
|
@@ -43022,7 +43022,7 @@ class aZ {
|
|
|
43022
43022
|
updateStateInner(e, n) {
|
|
43023
43023
|
var i;
|
|
43024
43024
|
let r = this.state, o = !1, s = !1;
|
|
43025
|
-
e.storedMarks && this.composing && (
|
|
43025
|
+
e.storedMarks && this.composing && (d6(this), s = !0), this.state = e;
|
|
43026
43026
|
let a = r.plugins != e.plugins || this._props.plugins != n.plugins;
|
|
43027
43027
|
if (a || this._props.plugins != n.plugins || this._props.nodeViews != n.nodeViews) {
|
|
43028
43028
|
let p = zy(this);
|
|
@@ -43086,7 +43086,7 @@ class aZ {
|
|
|
43086
43086
|
let o = i.from + (this.state.doc.content.size - n.doc.content.size);
|
|
43087
43087
|
(o > 0 && this.state.doc.nodeAt(o)) == i.node && (r = o);
|
|
43088
43088
|
}
|
|
43089
|
-
this.dragging = new
|
|
43089
|
+
this.dragging = new p6(e.slice, e.move, r < 0 ? void 0 : it.create(this.state.doc, r));
|
|
43090
43090
|
}
|
|
43091
43091
|
someProp(e, n) {
|
|
43092
43092
|
let i = this._props && this._props[e], r;
|
|
@@ -43491,12 +43491,12 @@ function vZ(t) {
|
|
|
43491
43491
|
};
|
|
43492
43492
|
}
|
|
43493
43493
|
const ym = (t, e) => t.selection.empty ? !1 : (e && e(t.tr.deleteSelection().scrollIntoView()), !0);
|
|
43494
|
-
function
|
|
43494
|
+
function y6(t, e) {
|
|
43495
43495
|
let { $cursor: n } = t.selection;
|
|
43496
43496
|
return !n || (e ? !e.endOfTextblock("backward", t) : n.parentOffset > 0) ? null : n;
|
|
43497
43497
|
}
|
|
43498
|
-
const
|
|
43499
|
-
let i =
|
|
43498
|
+
const b6 = (t, e, n) => {
|
|
43499
|
+
let i = y6(t, n);
|
|
43500
43500
|
if (!i)
|
|
43501
43501
|
return !1;
|
|
43502
43502
|
let r = bm(i);
|
|
@@ -43505,7 +43505,7 @@ const bS = (t, e, n) => {
|
|
|
43505
43505
|
return a == null ? !1 : (e && e(t.tr.lift(s, a).scrollIntoView()), !0);
|
|
43506
43506
|
}
|
|
43507
43507
|
let o = r.nodeBefore;
|
|
43508
|
-
if (
|
|
43508
|
+
if (M6(t, r, e, -1))
|
|
43509
43509
|
return !0;
|
|
43510
43510
|
if (i.parent.content.size == 0 && (Bs(o, "end") || it.isSelectable(o)))
|
|
43511
43511
|
for (let s = i.depth; ; s--) {
|
|
@@ -43522,19 +43522,19 @@ const bS = (t, e, n) => {
|
|
|
43522
43522
|
}
|
|
43523
43523
|
return o.isAtom && r.depth == i.depth - 1 ? (e && e(t.tr.delete(r.pos - o.nodeSize, r.pos).scrollIntoView()), !0) : !1;
|
|
43524
43524
|
}, yZ = (t, e, n) => {
|
|
43525
|
-
let i =
|
|
43525
|
+
let i = y6(t, n);
|
|
43526
43526
|
if (!i)
|
|
43527
43527
|
return !1;
|
|
43528
43528
|
let r = bm(i);
|
|
43529
|
-
return r ?
|
|
43529
|
+
return r ? A6(t, r, e) : !1;
|
|
43530
43530
|
}, bZ = (t, e, n) => {
|
|
43531
|
-
let i =
|
|
43531
|
+
let i = S6(t, n);
|
|
43532
43532
|
if (!i)
|
|
43533
43533
|
return !1;
|
|
43534
43534
|
let r = Am(i);
|
|
43535
|
-
return r ?
|
|
43535
|
+
return r ? A6(t, r, e) : !1;
|
|
43536
43536
|
};
|
|
43537
|
-
function
|
|
43537
|
+
function A6(t, e, n) {
|
|
43538
43538
|
let i = e.nodeBefore, r = i, o = e.pos - 1;
|
|
43539
43539
|
for (; !r.isTextblock; o--) {
|
|
43540
43540
|
if (r.type.spec.isolating)
|
|
@@ -43571,7 +43571,7 @@ function Bs(t, e, n = !1) {
|
|
|
43571
43571
|
}
|
|
43572
43572
|
return !1;
|
|
43573
43573
|
}
|
|
43574
|
-
const
|
|
43574
|
+
const w6 = (t, e, n) => {
|
|
43575
43575
|
let { $head: i, empty: r } = t.selection, o = i;
|
|
43576
43576
|
if (!r)
|
|
43577
43577
|
return !1;
|
|
@@ -43593,19 +43593,19 @@ function bm(t) {
|
|
|
43593
43593
|
}
|
|
43594
43594
|
return null;
|
|
43595
43595
|
}
|
|
43596
|
-
function
|
|
43596
|
+
function S6(t, e) {
|
|
43597
43597
|
let { $cursor: n } = t.selection;
|
|
43598
43598
|
return !n || (e ? !e.endOfTextblock("forward", t) : n.parentOffset < n.parent.content.size) ? null : n;
|
|
43599
43599
|
}
|
|
43600
|
-
const
|
|
43601
|
-
let i =
|
|
43600
|
+
const C6 = (t, e, n) => {
|
|
43601
|
+
let i = S6(t, n);
|
|
43602
43602
|
if (!i)
|
|
43603
43603
|
return !1;
|
|
43604
43604
|
let r = Am(i);
|
|
43605
43605
|
if (!r)
|
|
43606
43606
|
return !1;
|
|
43607
43607
|
let o = r.nodeAfter;
|
|
43608
|
-
if (
|
|
43608
|
+
if (M6(t, r, e, 1))
|
|
43609
43609
|
return !0;
|
|
43610
43610
|
if (i.parent.content.size == 0 && (Bs(o, "start") || it.isSelectable(o))) {
|
|
43611
43611
|
let s = yd(t.doc, i.before(), i.after(), je.empty);
|
|
@@ -43618,7 +43618,7 @@ const CS = (t, e, n) => {
|
|
|
43618
43618
|
}
|
|
43619
43619
|
}
|
|
43620
43620
|
return o.isAtom && r.depth == i.depth - 1 ? (e && e(t.tr.delete(r.pos, r.pos + o.nodeSize).scrollIntoView()), !0) : !1;
|
|
43621
|
-
},
|
|
43621
|
+
}, k6 = (t, e, n) => {
|
|
43622
43622
|
let { $head: i, empty: r } = t.selection, o = i;
|
|
43623
43623
|
if (!r)
|
|
43624
43624
|
return !1;
|
|
@@ -43666,7 +43666,7 @@ const AZ = (t, e) => {
|
|
|
43666
43666
|
}, SZ = (t, e) => {
|
|
43667
43667
|
let { $from: n, $to: i } = t.selection, r = n.blockRange(i), o = r && Qs(r);
|
|
43668
43668
|
return o == null ? !1 : (e && e(t.tr.lift(r, o).scrollIntoView()), !0);
|
|
43669
|
-
},
|
|
43669
|
+
}, O6 = (t, e) => {
|
|
43670
43670
|
let { $head: n, $anchor: i } = t.selection;
|
|
43671
43671
|
return !n.parent.type.spec.code || !n.sameParent(i) ? !1 : (e && e(t.tr.insertText(`
|
|
43672
43672
|
`).scrollIntoView()), !0);
|
|
@@ -43691,7 +43691,7 @@ const CZ = (t, e) => {
|
|
|
43691
43691
|
l.setSelection(St.near(l.doc.resolve(a), 1)), e(l.scrollIntoView());
|
|
43692
43692
|
}
|
|
43693
43693
|
return !0;
|
|
43694
|
-
},
|
|
43694
|
+
}, T6 = (t, e) => {
|
|
43695
43695
|
let n = t.selection, { $from: i, $to: r } = n;
|
|
43696
43696
|
if (n instanceof oi || i.parent.inlineContent || r.parent.inlineContent)
|
|
43697
43697
|
return !1;
|
|
@@ -43703,7 +43703,7 @@ const CZ = (t, e) => {
|
|
|
43703
43703
|
a.setSelection(gt.create(a.doc, s + 1)), e(a.scrollIntoView());
|
|
43704
43704
|
}
|
|
43705
43705
|
return !0;
|
|
43706
|
-
},
|
|
43706
|
+
}, x6 = (t, e) => {
|
|
43707
43707
|
let { $cursor: n } = t.selection;
|
|
43708
43708
|
if (!n || n.parent.content.size)
|
|
43709
43709
|
return !1;
|
|
@@ -43750,7 +43750,7 @@ function xZ(t, e, n) {
|
|
|
43750
43750
|
let i = e.nodeBefore, r = e.nodeAfter, o = e.index();
|
|
43751
43751
|
return !i || !r || !i.type.compatibleContent(r.type) ? !1 : !i.content.size && e.parent.canReplace(o - 1, o) ? (n && n(t.tr.delete(e.pos - i.nodeSize, e.pos).scrollIntoView()), !0) : !e.parent.canReplace(o, o + 1) || !(r.isTextblock || fo(t.doc, e.pos)) ? !1 : (n && n(t.tr.join(e.pos).scrollIntoView()), !0);
|
|
43752
43752
|
}
|
|
43753
|
-
function
|
|
43753
|
+
function M6(t, e, n, i) {
|
|
43754
43754
|
let r = e.nodeBefore, o = e.nodeAfter, s, a, l = r.type.spec.isolating || o.type.spec.isolating;
|
|
43755
43755
|
if (!l && xZ(t, e, n))
|
|
43756
43756
|
return !0;
|
|
@@ -43789,7 +43789,7 @@ function MS(t, e, n, i) {
|
|
|
43789
43789
|
}
|
|
43790
43790
|
return !1;
|
|
43791
43791
|
}
|
|
43792
|
-
function
|
|
43792
|
+
function E6(t) {
|
|
43793
43793
|
return function(e, n) {
|
|
43794
43794
|
let i = e.selection, r = t < 0 ? i.$from : i.$to, o = r.depth;
|
|
43795
43795
|
for (; r.node(o).isInline; ) {
|
|
@@ -43800,7 +43800,7 @@ function ES(t) {
|
|
|
43800
43800
|
return r.node(o).isTextblock ? (n && n(e.tr.setSelection(gt.create(e.doc, t < 0 ? r.start(o) : r.end(o)))), !0) : !1;
|
|
43801
43801
|
};
|
|
43802
43802
|
}
|
|
43803
|
-
const MZ =
|
|
43803
|
+
const MZ = E6(-1), EZ = E6(1);
|
|
43804
43804
|
function IZ(t, e = null) {
|
|
43805
43805
|
return function(n, i) {
|
|
43806
43806
|
let { $from: r, $to: o } = n.selection, s = r.blockRange(o), a = s && am(s, t, e);
|
|
@@ -43845,9 +43845,9 @@ function Sm(...t) {
|
|
|
43845
43845
|
return !1;
|
|
43846
43846
|
};
|
|
43847
43847
|
}
|
|
43848
|
-
Sm(ym,
|
|
43849
|
-
Sm(ym,
|
|
43850
|
-
Sm(
|
|
43848
|
+
Sm(ym, b6, w6);
|
|
43849
|
+
Sm(ym, C6, k6);
|
|
43850
|
+
Sm(O6, T6, x6, OZ);
|
|
43851
43851
|
typeof navigator < "u" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : typeof os < "u" && os.platform && os.platform() == "darwin";
|
|
43852
43852
|
function PZ(t, e = null) {
|
|
43853
43853
|
return function(n, i) {
|
|
@@ -44053,7 +44053,7 @@ function Od(t) {
|
|
|
44053
44053
|
markExtensions: i
|
|
44054
44054
|
};
|
|
44055
44055
|
}
|
|
44056
|
-
function
|
|
44056
|
+
function I6(t) {
|
|
44057
44057
|
const e = [], { nodeExtensions: n, markExtensions: i } = Od(t), r = [...n, ...i], o = {
|
|
44058
44058
|
default: null,
|
|
44059
44059
|
rendered: !0,
|
|
@@ -44145,11 +44145,11 @@ function th(t, e) {
|
|
|
44145
44145
|
[n.name]: t.attrs[n.name]
|
|
44146
44146
|
}).reduce((n, i) => rn(n, i), {});
|
|
44147
44147
|
}
|
|
44148
|
-
function
|
|
44148
|
+
function P6(t) {
|
|
44149
44149
|
return typeof t == "function";
|
|
44150
44150
|
}
|
|
44151
44151
|
function vt(t, e = void 0, ...n) {
|
|
44152
|
-
return
|
|
44152
|
+
return P6(t) ? e ? t.bind(e)(...n) : t(...n) : t;
|
|
44153
44153
|
}
|
|
44154
44154
|
function zZ(t = {}) {
|
|
44155
44155
|
return Object.keys(t).length === 0 && t.constructor === Object;
|
|
@@ -44183,7 +44183,7 @@ function Uy(t) {
|
|
|
44183
44183
|
}
|
|
44184
44184
|
function HZ(t, e) {
|
|
44185
44185
|
var n;
|
|
44186
|
-
const i =
|
|
44186
|
+
const i = I6(t), { nodeExtensions: r, markExtensions: o } = Od(t), s = (n = r.find((u) => Xe(u, "topNode"))) === null || n === void 0 ? void 0 : n.name, a = Object.fromEntries(r.map((u) => {
|
|
44187
44187
|
const c = i.filter((S) => S.type === u.name), d = {
|
|
44188
44188
|
name: u.name,
|
|
44189
44189
|
options: u.options,
|
|
@@ -44731,7 +44731,7 @@ class As {
|
|
|
44731
44731
|
* @returns An array of attributes
|
|
44732
44732
|
*/
|
|
44733
44733
|
get attributes() {
|
|
44734
|
-
return
|
|
44734
|
+
return I6(this.extensions);
|
|
44735
44735
|
}
|
|
44736
44736
|
/**
|
|
44737
44737
|
* Get all node views from the extensions.
|
|
@@ -44823,7 +44823,7 @@ class Hn {
|
|
|
44823
44823
|
})), n;
|
|
44824
44824
|
}
|
|
44825
44825
|
}
|
|
44826
|
-
function
|
|
44826
|
+
function L6(t, e, n) {
|
|
44827
44827
|
const { from: i, to: r } = e, { blockSeparator: o = `
|
|
44828
44828
|
|
|
44829
44829
|
`, textSerializers: s = {} } = n || {};
|
|
@@ -44860,7 +44860,7 @@ const QZ = Hn.create({
|
|
|
44860
44860
|
props: {
|
|
44861
44861
|
clipboardTextSerializer: () => {
|
|
44862
44862
|
const { editor: t } = this, { state: e, schema: n } = t, { doc: i, selection: r } = e, { ranges: o } = r, s = Math.min(...o.map((c) => c.$from.pos)), a = Math.max(...o.map((c) => c.$to.pos)), l = Om(n);
|
|
44863
|
-
return
|
|
44863
|
+
return L6(i, { from: s, to: a }, {
|
|
44864
44864
|
...this.options.blockSeparator !== void 0 ? { blockSeparator: this.options.blockSeparator } : {},
|
|
44865
44865
|
textSerializers: l
|
|
44866
44866
|
});
|
|
@@ -44889,7 +44889,7 @@ const QZ = Hn.create({
|
|
|
44889
44889
|
(h || h === 0) && e.lift(p, h);
|
|
44890
44890
|
});
|
|
44891
44891
|
}), !0;
|
|
44892
|
-
}, iG = (t) => (e) => t(e), rG = () => ({ state: t, dispatch: e }) =>
|
|
44892
|
+
}, iG = (t) => (e) => t(e), rG = () => ({ state: t, dispatch: e }) => T6(t, e), oG = (t, e) => ({ editor: n, tr: i }) => {
|
|
44893
44893
|
const { state: r } = n, o = r.doc.slice(t.from, t.to);
|
|
44894
44894
|
i.deleteRange(t.from, t.to);
|
|
44895
44895
|
const s = i.mapping.map(e);
|
|
@@ -44927,7 +44927,7 @@ function Ac(t, e, n = { strict: !0 }) {
|
|
|
44927
44927
|
const i = Object.keys(e);
|
|
44928
44928
|
return i.length ? i.every((r) => n.strict ? e[r] === t[r] : km(e[r]) ? e[r].test(t[r]) : e[r] === t[r]) : !0;
|
|
44929
44929
|
}
|
|
44930
|
-
function
|
|
44930
|
+
function D6(t, e, n = {}) {
|
|
44931
44931
|
return t.find((i) => i.type === e && Ac(
|
|
44932
44932
|
// Only check equality for the attributes that are provided
|
|
44933
44933
|
Object.fromEntries(Object.keys(n).map((r) => [r, i.attrs[r]])),
|
|
@@ -44935,14 +44935,14 @@ function DS(t, e, n = {}) {
|
|
|
44935
44935
|
));
|
|
44936
44936
|
}
|
|
44937
44937
|
function Wy(t, e, n = {}) {
|
|
44938
|
-
return !!
|
|
44938
|
+
return !!D6(t, e, n);
|
|
44939
44939
|
}
|
|
44940
44940
|
function Tm(t, e, n) {
|
|
44941
44941
|
var i;
|
|
44942
44942
|
if (!t || !e)
|
|
44943
44943
|
return;
|
|
44944
44944
|
let r = t.parent.childAfter(t.parentOffset);
|
|
44945
|
-
if ((!r.node || !r.node.marks.some((c) => c.type === e)) && (r = t.parent.childBefore(t.parentOffset)), !r.node || !r.node.marks.some((c) => c.type === e) || (n = n || ((i = r.node.marks[0]) === null || i === void 0 ? void 0 : i.attrs), !
|
|
44945
|
+
if ((!r.node || !r.node.marks.some((c) => c.type === e)) && (r = t.parent.childBefore(t.parentOffset)), !r.node || !r.node.marks.some((c) => c.type === e) || (n = n || ((i = r.node.marks[0]) === null || i === void 0 ? void 0 : i.attrs), !D6([...r.node.marks], e, n)))
|
|
44946
44946
|
return;
|
|
44947
44947
|
let s = r.index, a = t.start() + r.offset, l = s + 1, u = a + r.node.nodeSize;
|
|
44948
44948
|
for (; s > 0 && Wy([...t.parent.child(s - 1).marks], e, n); )
|
|
@@ -44985,7 +44985,7 @@ function xm(t) {
|
|
|
44985
44985
|
function dr(t = 0, e = 0, n = 0) {
|
|
44986
44986
|
return Math.min(Math.max(t, e), n);
|
|
44987
44987
|
}
|
|
44988
|
-
function
|
|
44988
|
+
function R6(t, e = null) {
|
|
44989
44989
|
if (!e)
|
|
44990
44990
|
return null;
|
|
44991
44991
|
const n = St.atStart(t), i = St.atEnd(t);
|
|
@@ -44996,7 +44996,7 @@ function RS(t, e = null) {
|
|
|
44996
44996
|
const r = n.from, o = i.to;
|
|
44997
44997
|
return e === "all" ? gt.create(t, dr(0, r, o), dr(t.content.size, r, o)) : gt.create(t, dr(e, r, o), dr(e, r, o));
|
|
44998
44998
|
}
|
|
44999
|
-
function
|
|
44999
|
+
function N6() {
|
|
45000
45000
|
return navigator.platform === "Android" || /android/i.test(navigator.userAgent);
|
|
45001
45001
|
}
|
|
45002
45002
|
function Md() {
|
|
@@ -45015,7 +45015,7 @@ const hG = (t = null, e = {}) => ({ editor: n, view: i, tr: r, dispatch: o }) =>
|
|
|
45015
45015
|
...e
|
|
45016
45016
|
};
|
|
45017
45017
|
const s = () => {
|
|
45018
|
-
(Md() ||
|
|
45018
|
+
(Md() || N6()) && i.dom.focus(), requestAnimationFrame(() => {
|
|
45019
45019
|
n.isDestroyed || (i.focus(), e != null && e.scrollIntoView && n.commands.scrollIntoView());
|
|
45020
45020
|
});
|
|
45021
45021
|
};
|
|
@@ -45023,19 +45023,19 @@ const hG = (t = null, e = {}) => ({ editor: n, view: i, tr: r, dispatch: o }) =>
|
|
|
45023
45023
|
return !0;
|
|
45024
45024
|
if (o && t === null && !xm(n.state.selection))
|
|
45025
45025
|
return s(), !0;
|
|
45026
|
-
const a =
|
|
45026
|
+
const a = R6(r.doc, t) || n.state.selection, l = n.state.selection.eq(a);
|
|
45027
45027
|
return o && (l || r.setSelection(a), l && r.storedMarks && r.setStoredMarks(r.storedMarks), s()), !0;
|
|
45028
|
-
}, mG = (t, e) => (n) => t.every((i, r) => e(i, { ...n, index: r })), gG = (t, e) => ({ tr: n, commands: i }) => i.insertContentAt({ from: n.selection.from, to: n.selection.to }, t, e),
|
|
45028
|
+
}, mG = (t, e) => (n) => t.every((i, r) => e(i, { ...n, index: r })), gG = (t, e) => ({ tr: n, commands: i }) => i.insertContentAt({ from: n.selection.from, to: n.selection.to }, t, e), B6 = (t) => {
|
|
45029
45029
|
const e = t.childNodes;
|
|
45030
45030
|
for (let n = e.length - 1; n >= 0; n -= 1) {
|
|
45031
45031
|
const i = e[n];
|
|
45032
|
-
i.nodeType === 3 && i.nodeValue && /^(\n\s\s|\n)$/.test(i.nodeValue) ? t.removeChild(i) : i.nodeType === 1 &&
|
|
45032
|
+
i.nodeType === 3 && i.nodeValue && /^(\n\s\s|\n)$/.test(i.nodeValue) ? t.removeChild(i) : i.nodeType === 1 && B6(i);
|
|
45033
45033
|
}
|
|
45034
45034
|
return t;
|
|
45035
45035
|
};
|
|
45036
45036
|
function Lu(t) {
|
|
45037
45037
|
const e = `<body>${t}</body>`, n = new window.DOMParser().parseFromString(e, "text/html").body;
|
|
45038
|
-
return
|
|
45038
|
+
return B6(n);
|
|
45039
45039
|
}
|
|
45040
45040
|
function wc(t, e, n) {
|
|
45041
45041
|
if (t instanceof Jr || t instanceof xe)
|
|
@@ -45150,7 +45150,7 @@ const yG = (t) => !("type" in t), bG = (t, e, n) => ({ tr: i, dispatch: r, edito
|
|
|
45150
45150
|
n.updateSelection && vG(i, i.steps.length - 1, -1), n.applyInputRules && i.setMeta("applyInputRules", { from: l, text: p }), n.applyPasteRules && i.setMeta("applyPasteRules", { from: l, text: p });
|
|
45151
45151
|
}
|
|
45152
45152
|
return !0;
|
|
45153
|
-
}, AG = () => ({ state: t, dispatch: e }) => AZ(t, e), wG = () => ({ state: t, dispatch: e }) => wZ(t, e), SG = () => ({ state: t, dispatch: e }) =>
|
|
45153
|
+
}, AG = () => ({ state: t, dispatch: e }) => AZ(t, e), wG = () => ({ state: t, dispatch: e }) => wZ(t, e), SG = () => ({ state: t, dispatch: e }) => b6(t, e), CG = () => ({ state: t, dispatch: e }) => C6(t, e), kG = () => ({ state: t, dispatch: e, tr: n }) => {
|
|
45154
45154
|
try {
|
|
45155
45155
|
const i = vd(t.doc, t.selection.$from.pos, -1);
|
|
45156
45156
|
return i == null ? !1 : (n.join(i, 2), e && e(n), !0);
|
|
@@ -45165,7 +45165,7 @@ const yG = (t) => !("type" in t), bG = (t, e, n) => ({ tr: i, dispatch: r, edito
|
|
|
45165
45165
|
return !1;
|
|
45166
45166
|
}
|
|
45167
45167
|
}, TG = () => ({ state: t, dispatch: e }) => yZ(t, e), xG = () => ({ state: t, dispatch: e }) => bZ(t, e);
|
|
45168
|
-
function
|
|
45168
|
+
function V6() {
|
|
45169
45169
|
return typeof navigator < "u" ? /Mac/.test(navigator.platform) : !1;
|
|
45170
45170
|
}
|
|
45171
45171
|
function MG(t) {
|
|
@@ -45184,7 +45184,7 @@ function MG(t) {
|
|
|
45184
45184
|
else if (/^s(hift)?$/i.test(l))
|
|
45185
45185
|
o = !0;
|
|
45186
45186
|
else if (/^mod$/i.test(l))
|
|
45187
|
-
Md() ||
|
|
45187
|
+
Md() || V6() ? s = !0 : r = !0;
|
|
45188
45188
|
else
|
|
45189
45189
|
throw new Error(`Unrecognized modifier name: ${l}`);
|
|
45190
45190
|
}
|
|
@@ -45225,10 +45225,10 @@ function Nl(t, e, n = {}) {
|
|
|
45225
45225
|
const IG = (t, e = {}) => ({ state: n, dispatch: i }) => {
|
|
45226
45226
|
const r = yn(t, n.schema);
|
|
45227
45227
|
return Nl(n, r, e) ? SZ(n, i) : !1;
|
|
45228
|
-
}, PG = () => ({ state: t, dispatch: e }) =>
|
|
45228
|
+
}, PG = () => ({ state: t, dispatch: e }) => x6(t, e), LG = (t) => ({ state: e, dispatch: n }) => {
|
|
45229
45229
|
const i = yn(t, e.schema);
|
|
45230
45230
|
return RZ(i)(e, n);
|
|
45231
|
-
}, DG = () => ({ state: t, dispatch: e }) =>
|
|
45231
|
+
}, DG = () => ({ state: t, dispatch: e }) => O6(t, e);
|
|
45232
45232
|
function Ed(t, e) {
|
|
45233
45233
|
return e.nodes[t] ? "node" : e.marks[t] ? "mark" : null;
|
|
45234
45234
|
}
|
|
@@ -45252,7 +45252,7 @@ const RG = (t, e) => ({ tr: n, state: i, dispatch: r }) => {
|
|
|
45252
45252
|
t.setSelection(n);
|
|
45253
45253
|
}
|
|
45254
45254
|
return !0;
|
|
45255
|
-
}, VG = () => ({ state: t, dispatch: e }) =>
|
|
45255
|
+
}, VG = () => ({ state: t, dispatch: e }) => w6(t, e), $G = () => ({ state: t, dispatch: e }) => k6(t, e), zG = () => ({ state: t, dispatch: e }) => TZ(t, e), FG = () => ({ state: t, dispatch: e }) => EZ(t, e), HG = () => ({ state: t, dispatch: e }) => MZ(t, e);
|
|
45256
45256
|
function nh(t, e, n = {}, i = {}) {
|
|
45257
45257
|
return wc(t, e, {
|
|
45258
45258
|
slice: !1,
|
|
@@ -45274,7 +45274,7 @@ const jG = (t, e = !1, n = {}, i = {}) => ({ editor: r, tr: o, dispatch: s, comm
|
|
|
45274
45274
|
errorOnInvalidContent: (u = i.errorOnInvalidContent) !== null && u !== void 0 ? u : r.options.enableContentCheck
|
|
45275
45275
|
});
|
|
45276
45276
|
};
|
|
45277
|
-
function $
|
|
45277
|
+
function $6(t, e) {
|
|
45278
45278
|
const n = ho(e, t.schema), { from: i, to: r, empty: o } = t.selection, s = [];
|
|
45279
45279
|
o ? (t.storedMarks && s.push(...t.storedMarks), s.push(...t.selection.$head.marks())) : t.doc.nodesBetween(i, r, (l) => {
|
|
45280
45280
|
s.push(...l.marks);
|
|
@@ -45322,12 +45322,12 @@ function XG(t, e) {
|
|
|
45322
45322
|
function Mm(t) {
|
|
45323
45323
|
return (e) => XG(e.$from, t);
|
|
45324
45324
|
}
|
|
45325
|
-
function
|
|
45325
|
+
function z6(t, e) {
|
|
45326
45326
|
const n = {
|
|
45327
45327
|
from: 0,
|
|
45328
45328
|
to: t.content.size
|
|
45329
45329
|
};
|
|
45330
|
-
return
|
|
45330
|
+
return L6(t, n, e);
|
|
45331
45331
|
}
|
|
45332
45332
|
function ZG(t, e) {
|
|
45333
45333
|
const n = yn(e, t.schema), { from: i, to: r } = t.selection, o = [];
|
|
@@ -45337,9 +45337,9 @@ function ZG(t, e) {
|
|
|
45337
45337
|
const s = o.reverse().find((a) => a.type.name === n.name);
|
|
45338
45338
|
return s ? { ...s.attrs } : {};
|
|
45339
45339
|
}
|
|
45340
|
-
function
|
|
45340
|
+
function F6(t, e) {
|
|
45341
45341
|
const n = Ed(typeof e == "string" ? e : e.name, t.schema);
|
|
45342
|
-
return n === "node" ? ZG(t, e) : n === "mark" ? $
|
|
45342
|
+
return n === "node" ? ZG(t, e) : n === "mark" ? $6(t, e) : {};
|
|
45343
45343
|
}
|
|
45344
45344
|
function GG(t, e = JSON.stringify) {
|
|
45345
45345
|
const n = {};
|
|
@@ -45468,7 +45468,7 @@ function Id(t, { checkChildren: e = !0, ignoreWhitespace: n = !1 } = {}) {
|
|
|
45468
45468
|
function _G(t) {
|
|
45469
45469
|
return t instanceof it;
|
|
45470
45470
|
}
|
|
45471
|
-
function
|
|
45471
|
+
function H6(t, e, n) {
|
|
45472
45472
|
const r = t.state.doc.content.size, o = dr(e, 0, r), s = dr(n, 0, r), a = t.coordsAtPos(o), l = t.coordsAtPos(s, -1), u = Math.min(a.top, l.top), c = Math.max(a.bottom, l.bottom), d = Math.min(a.left, l.left), f = Math.max(a.right, l.right), p = f - d, h = c - u, S = {
|
|
45473
45473
|
top: u,
|
|
45474
45474
|
bottom: c,
|
|
@@ -45510,7 +45510,7 @@ const eq = (t, e = {}) => ({ tr: n, state: i, dispatch: r }) => {
|
|
|
45510
45510
|
const { selection: o } = n, { empty: s, ranges: a } = o, l = ho(t, i.schema);
|
|
45511
45511
|
if (r)
|
|
45512
45512
|
if (s) {
|
|
45513
|
-
const u = $
|
|
45513
|
+
const u = $6(i, l);
|
|
45514
45514
|
n.addStoredMark(l.create({
|
|
45515
45515
|
...u,
|
|
45516
45516
|
...e
|
|
@@ -45925,7 +45925,7 @@ const bq = Hn.create({
|
|
|
45925
45925
|
"Ctrl-a": () => this.editor.commands.selectTextblockStart(),
|
|
45926
45926
|
"Ctrl-e": () => this.editor.commands.selectTextblockEnd()
|
|
45927
45927
|
};
|
|
45928
|
-
return Md() ||
|
|
45928
|
+
return Md() || V6() ? o : r;
|
|
45929
45929
|
},
|
|
45930
45930
|
addProseMirrorPlugins() {
|
|
45931
45931
|
return [
|
|
@@ -46295,7 +46295,7 @@ let Eq = class extends $Z {
|
|
|
46295
46295
|
* @returns The new editor state
|
|
46296
46296
|
*/
|
|
46297
46297
|
registerPlugin(e, n) {
|
|
46298
|
-
const i =
|
|
46298
|
+
const i = P6(n) ? n(e, [...this.state.plugins]) : [...this.state.plugins, e], r = this.state.reconfigure({ plugins: i });
|
|
46299
46299
|
return this.view.updateState(r), r;
|
|
46300
46300
|
}
|
|
46301
46301
|
/**
|
|
@@ -46371,7 +46371,7 @@ let Eq = class extends $Z {
|
|
|
46371
46371
|
}
|
|
46372
46372
|
}), n = nh(this.options.content, this.schema, this.options.parseOptions, { errorOnInvalidContent: !1 });
|
|
46373
46373
|
}
|
|
46374
|
-
const i =
|
|
46374
|
+
const i = R6(n, this.options.autofocus);
|
|
46375
46375
|
this.view = new aZ(this.options.element, {
|
|
46376
46376
|
...this.options.editorProps,
|
|
46377
46377
|
attributes: {
|
|
@@ -46460,7 +46460,7 @@ let Eq = class extends $Z {
|
|
|
46460
46460
|
* Get attributes of the currently selected node or mark.
|
|
46461
46461
|
*/
|
|
46462
46462
|
getAttributes(e) {
|
|
46463
|
-
return
|
|
46463
|
+
return F6(this.state, e);
|
|
46464
46464
|
}
|
|
46465
46465
|
isActive(e, n) {
|
|
46466
46466
|
const i = typeof e == "string" ? e : null, r = typeof e == "string" ? n : e;
|
|
@@ -46485,7 +46485,7 @@ let Eq = class extends $Z {
|
|
|
46485
46485
|
const { blockSeparator: n = `
|
|
46486
46486
|
|
|
46487
46487
|
`, textSerializers: i = {} } = e || {};
|
|
46488
|
-
return
|
|
46488
|
+
return z6(this.state.doc, {
|
|
46489
46489
|
blockSeparator: n,
|
|
46490
46490
|
textSerializers: {
|
|
46491
46491
|
...Om(this.schema),
|
|
@@ -46716,7 +46716,7 @@ class Lq {
|
|
|
46716
46716
|
* @return `true` if it can safely be ignored.
|
|
46717
46717
|
*/
|
|
46718
46718
|
ignoreMutation(e) {
|
|
46719
|
-
return !this.dom || !this.contentDOM ? !0 : typeof this.options.ignoreMutation == "function" ? this.options.ignoreMutation({ mutation: e }) : this.node.isLeaf || this.node.isAtom ? !0 : e.type === "selection" || this.dom.contains(e.target) && e.type === "childList" && (Md() ||
|
|
46719
|
+
return !this.dom || !this.contentDOM ? !0 : typeof this.options.ignoreMutation == "function" ? this.options.ignoreMutation({ mutation: e }) : this.node.isLeaf || this.node.isAtom ? !0 : e.type === "selection" || this.dom.contains(e.target) && e.type === "childList" && (Md() || N6()) && this.editor.isFocused && [
|
|
46720
46720
|
...Array.from(e.addedNodes),
|
|
46721
46721
|
...Array.from(e.removedNodes)
|
|
46722
46722
|
].every((i) => i.isContentEditable) ? !1 : this.contentDOM === e.target && e.type === "attributes" ? !0 : !this.contentDOM.contains(e.target);
|
|
@@ -46930,9 +46930,9 @@ const Rq = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, Nq = /(?:^|\s
|
|
|
46930
46930
|
topNode: !0,
|
|
46931
46931
|
content: "block+"
|
|
46932
46932
|
});
|
|
46933
|
-
var Yn = "top", bi = "bottom", Ai = "right", _n = "left", Im = "auto", Yl = [Yn, bi, Ai, _n], $s = "start", Vl = "end", Wq = "clippingParents",
|
|
46933
|
+
var Yn = "top", bi = "bottom", Ai = "right", _n = "left", Im = "auto", Yl = [Yn, bi, Ai, _n], $s = "start", Vl = "end", Wq = "clippingParents", j6 = "viewport", ua = "popper", Xq = "reference", Yy = /* @__PURE__ */ Yl.reduce(function(t, e) {
|
|
46934
46934
|
return t.concat([e + "-" + $s, e + "-" + Vl]);
|
|
46935
|
-
}, []),
|
|
46935
|
+
}, []), U6 = /* @__PURE__ */ [].concat(Yl, [Im]).reduce(function(t, e) {
|
|
46936
46936
|
return t.concat([e, e + "-" + $s, e + "-" + Vl]);
|
|
46937
46937
|
}, []), Zq = "beforeRead", Gq = "read", qq = "afterRead", Jq = "beforeMain", Yq = "main", _q = "afterMain", Qq = "beforeWrite", eJ = "write", tJ = "afterWrite", nJ = [Zq, Gq, qq, Jq, Yq, _q, Qq, eJ, tJ];
|
|
46938
46938
|
function Gi(t) {
|
|
@@ -46995,7 +46995,7 @@ function rJ(t) {
|
|
|
46995
46995
|
});
|
|
46996
46996
|
};
|
|
46997
46997
|
}
|
|
46998
|
-
const
|
|
46998
|
+
const K6 = {
|
|
46999
46999
|
name: "applyStyles",
|
|
47000
47000
|
enabled: !0,
|
|
47001
47001
|
phase: "write",
|
|
@@ -47013,14 +47013,14 @@ function rh() {
|
|
|
47013
47013
|
return e.brand + "/" + e.version;
|
|
47014
47014
|
}).join(" ") : navigator.userAgent;
|
|
47015
47015
|
}
|
|
47016
|
-
function
|
|
47016
|
+
function W6() {
|
|
47017
47017
|
return !/^((?!chrome|android).)*safari/i.test(rh());
|
|
47018
47018
|
}
|
|
47019
47019
|
function Fs(t, e, n) {
|
|
47020
47020
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
47021
47021
|
var i = t.getBoundingClientRect(), r = 1, o = 1;
|
|
47022
47022
|
e && yi(t) && (r = t.offsetWidth > 0 && zs(i.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && zs(i.height) / t.offsetHeight || 1);
|
|
47023
|
-
var s = Go(t) ? si(t) : window, a = s.visualViewport, l = !
|
|
47023
|
+
var s = Go(t) ? si(t) : window, a = s.visualViewport, l = !W6() && n, u = (i.left + (l && a ? a.offsetLeft : 0)) / r, c = (i.top + (l && a ? a.offsetTop : 0)) / o, d = i.width / r, f = i.height / o;
|
|
47024
47024
|
return {
|
|
47025
47025
|
width: d,
|
|
47026
47026
|
height: f,
|
|
@@ -47041,7 +47041,7 @@ function Lm(t) {
|
|
|
47041
47041
|
height: i
|
|
47042
47042
|
};
|
|
47043
47043
|
}
|
|
47044
|
-
function
|
|
47044
|
+
function X6(t, e) {
|
|
47045
47045
|
var n = e.getRootNode && e.getRootNode();
|
|
47046
47046
|
if (t.contains(e))
|
|
47047
47047
|
return !0;
|
|
@@ -47114,7 +47114,7 @@ function aJ(t, e, n) {
|
|
|
47114
47114
|
var i = Ia(t, e, n);
|
|
47115
47115
|
return i > n ? n : i;
|
|
47116
47116
|
}
|
|
47117
|
-
function
|
|
47117
|
+
function Z6() {
|
|
47118
47118
|
return {
|
|
47119
47119
|
top: 0,
|
|
47120
47120
|
right: 0,
|
|
@@ -47122,10 +47122,10 @@ function ZS() {
|
|
|
47122
47122
|
left: 0
|
|
47123
47123
|
};
|
|
47124
47124
|
}
|
|
47125
|
-
function
|
|
47126
|
-
return Object.assign({},
|
|
47125
|
+
function G6(t) {
|
|
47126
|
+
return Object.assign({}, Z6(), t);
|
|
47127
47127
|
}
|
|
47128
|
-
function
|
|
47128
|
+
function q6(t, e) {
|
|
47129
47129
|
return e.reduce(function(n, i) {
|
|
47130
47130
|
return n[i] = t, n;
|
|
47131
47131
|
}, {});
|
|
@@ -47133,7 +47133,7 @@ function qS(t, e) {
|
|
|
47133
47133
|
var lJ = function(e, n) {
|
|
47134
47134
|
return e = typeof e == "function" ? e(Object.assign({}, n.rects, {
|
|
47135
47135
|
placement: n.placement
|
|
47136
|
-
})) : e,
|
|
47136
|
+
})) : e, G6(typeof e != "number" ? e : q6(e, Yl));
|
|
47137
47137
|
};
|
|
47138
47138
|
function uJ(t) {
|
|
47139
47139
|
var e, n = t.state, i = t.name, r = t.options, o = n.elements.arrow, s = n.modifiersData.popperOffsets, a = Ki(n.placement), l = Dm(a), u = [_n, Ai].indexOf(a) >= 0, c = u ? "height" : "width";
|
|
@@ -47144,7 +47144,7 @@ function uJ(t) {
|
|
|
47144
47144
|
}
|
|
47145
47145
|
function cJ(t) {
|
|
47146
47146
|
var e = t.state, n = t.options, i = n.element, r = i === void 0 ? "[data-popper-arrow]" : i;
|
|
47147
|
-
r != null && (typeof r == "string" && (r = e.elements.popper.querySelector(r), !r) ||
|
|
47147
|
+
r != null && (typeof r == "string" && (r = e.elements.popper.querySelector(r), !r) || X6(e.elements.popper, r) && (e.elements.arrow = r));
|
|
47148
47148
|
}
|
|
47149
47149
|
const dJ = {
|
|
47150
47150
|
name: "arrow",
|
|
@@ -47301,7 +47301,7 @@ function AJ(t, e) {
|
|
|
47301
47301
|
var n = si(t), i = mo(t), r = n.visualViewport, o = i.clientWidth, s = i.clientHeight, a = 0, l = 0;
|
|
47302
47302
|
if (r) {
|
|
47303
47303
|
o = r.width, s = r.height;
|
|
47304
|
-
var u =
|
|
47304
|
+
var u = W6();
|
|
47305
47305
|
(u || !u && e === "fixed") && (a = r.offsetLeft, l = r.offsetTop);
|
|
47306
47306
|
}
|
|
47307
47307
|
return {
|
|
@@ -47324,13 +47324,13 @@ function Bm(t) {
|
|
|
47324
47324
|
var e = yr(t), n = e.overflow, i = e.overflowX, r = e.overflowY;
|
|
47325
47325
|
return /auto|scroll|overlay|hidden/.test(n + r + i);
|
|
47326
47326
|
}
|
|
47327
|
-
function
|
|
47328
|
-
return ["html", "body", "#document"].indexOf(Gi(t)) >= 0 ? t.ownerDocument.body : yi(t) && Bm(t) ? t :
|
|
47327
|
+
function J6(t) {
|
|
47328
|
+
return ["html", "body", "#document"].indexOf(Gi(t)) >= 0 ? t.ownerDocument.body : yi(t) && Bm(t) ? t : J6(Pd(t));
|
|
47329
47329
|
}
|
|
47330
47330
|
function Pa(t, e) {
|
|
47331
47331
|
var n;
|
|
47332
47332
|
e === void 0 && (e = []);
|
|
47333
|
-
var i =
|
|
47333
|
+
var i = J6(t), r = i === ((n = t.ownerDocument) == null ? void 0 : n.body), o = si(i), s = r ? [o].concat(o.visualViewport || [], Bm(i) ? i : []) : i, a = e.concat(s);
|
|
47334
47334
|
return r ? a : (
|
|
47335
47335
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
47336
47336
|
a.concat(Pa(Pd(s)))
|
|
@@ -47349,12 +47349,12 @@ function SJ(t, e) {
|
|
|
47349
47349
|
return n.top = n.top + t.clientTop, n.left = n.left + t.clientLeft, n.bottom = n.top + t.clientHeight, n.right = n.left + t.clientWidth, n.width = t.clientWidth, n.height = t.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
47350
47350
|
}
|
|
47351
47351
|
function tb(t, e, n) {
|
|
47352
|
-
return e ===
|
|
47352
|
+
return e === j6 ? oh(AJ(t, n)) : Go(e) ? SJ(e, n) : oh(wJ(mo(t)));
|
|
47353
47353
|
}
|
|
47354
47354
|
function CJ(t) {
|
|
47355
47355
|
var e = Pa(Pd(t)), n = ["absolute", "fixed"].indexOf(yr(t).position) >= 0, i = n && yi(t) ? _l(t) : t;
|
|
47356
47356
|
return Go(i) ? e.filter(function(r) {
|
|
47357
|
-
return Go(r) &&
|
|
47357
|
+
return Go(r) && X6(r, i) && Gi(r) !== "body";
|
|
47358
47358
|
}) : [];
|
|
47359
47359
|
}
|
|
47360
47360
|
function kJ(t, e, n, i) {
|
|
@@ -47364,7 +47364,7 @@ function kJ(t, e, n, i) {
|
|
|
47364
47364
|
}, tb(t, s, i));
|
|
47365
47365
|
return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
47366
47366
|
}
|
|
47367
|
-
function
|
|
47367
|
+
function Y6(t) {
|
|
47368
47368
|
var e = t.reference, n = t.element, i = t.placement, r = i ? Ki(i) : null, o = i ? Hs(i) : null, s = e.x + e.width / 2 - n.width / 2, a = e.y + e.height / 2 - n.height / 2, l;
|
|
47369
47369
|
switch (r) {
|
|
47370
47370
|
case Yn:
|
|
@@ -47413,7 +47413,7 @@ function YS(t) {
|
|
|
47413
47413
|
}
|
|
47414
47414
|
function $l(t, e) {
|
|
47415
47415
|
e === void 0 && (e = {});
|
|
47416
|
-
var n = e, i = n.placement, r = i === void 0 ? t.placement : i, o = n.strategy, s = o === void 0 ? t.strategy : o, a = n.boundary, l = a === void 0 ? Wq : a, u = n.rootBoundary, c = u === void 0 ?
|
|
47416
|
+
var n = e, i = n.placement, r = i === void 0 ? t.placement : i, o = n.strategy, s = o === void 0 ? t.strategy : o, a = n.boundary, l = a === void 0 ? Wq : a, u = n.rootBoundary, c = u === void 0 ? j6 : u, d = n.elementContext, f = d === void 0 ? ua : d, p = n.altBoundary, h = p === void 0 ? !1 : p, m = n.padding, v = m === void 0 ? 0 : m, S = G6(typeof v != "number" ? v : q6(v, Yl)), w = f === ua ? Xq : ua, k = t.rects.popper, b = t.elements[h ? w : f], A = kJ(Go(b) ? b : b.contextElement || mo(t.elements.popper), l, c, s), y = Fs(t.elements.reference), O = Y6({
|
|
47417
47417
|
reference: y,
|
|
47418
47418
|
element: k,
|
|
47419
47419
|
placement: r
|
|
@@ -47434,7 +47434,7 @@ function $l(t, e) {
|
|
|
47434
47434
|
}
|
|
47435
47435
|
function OJ(t, e) {
|
|
47436
47436
|
e === void 0 && (e = {});
|
|
47437
|
-
var n = e, i = n.placement, r = n.boundary, o = n.rootBoundary, s = n.padding, a = n.flipVariations, l = n.allowedAutoPlacements, u = l === void 0 ?
|
|
47437
|
+
var n = e, i = n.placement, r = n.boundary, o = n.rootBoundary, s = n.padding, a = n.flipVariations, l = n.allowedAutoPlacements, u = l === void 0 ? U6 : l, c = Hs(i), d = c ? a ? Yy : Yy.filter(function(h) {
|
|
47438
47438
|
return Hs(h) === c;
|
|
47439
47439
|
}) : Yl, f = d.filter(function(h) {
|
|
47440
47440
|
return u.indexOf(h) >= 0;
|
|
@@ -47568,7 +47568,7 @@ function PJ(t, e, n) {
|
|
|
47568
47568
|
};
|
|
47569
47569
|
}
|
|
47570
47570
|
function LJ(t) {
|
|
47571
|
-
var e = t.state, n = t.options, i = t.name, r = n.offset, o = r === void 0 ? [0, 0] : r, s =
|
|
47571
|
+
var e = t.state, n = t.options, i = t.name, r = n.offset, o = r === void 0 ? [0, 0] : r, s = U6.reduce(function(c, d) {
|
|
47572
47572
|
return c[d] = PJ(d, e.rects, o), c;
|
|
47573
47573
|
}, {}), a = s[e.placement], l = a.x, u = a.y;
|
|
47574
47574
|
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += l, e.modifiersData.popperOffsets.y += u), e.modifiersData[i] = s;
|
|
@@ -47582,7 +47582,7 @@ const DJ = {
|
|
|
47582
47582
|
};
|
|
47583
47583
|
function RJ(t) {
|
|
47584
47584
|
var e = t.state, n = t.name;
|
|
47585
|
-
e.modifiersData[n] =
|
|
47585
|
+
e.modifiersData[n] = Y6({
|
|
47586
47586
|
reference: e.rects.reference,
|
|
47587
47587
|
element: e.rects.popper,
|
|
47588
47588
|
placement: e.placement
|
|
@@ -47621,7 +47621,7 @@ function VJ(t) {
|
|
|
47621
47621
|
var ae, Ie = b === "y" ? Yn : _n, de = b === "y" ? bi : Ai, ce = b === "y" ? "height" : "width", K = y[b], W = K + v[Ie], pe = K - v[de], Se = p ? -P[ce] / 2 : 0, ye = w === $s ? O[ce] : P[ce], oe = w === $s ? -P[ce] : -O[ce], fe = e.elements.arrow, Ee = p && fe ? Lm(fe) : {
|
|
47622
47622
|
width: 0,
|
|
47623
47623
|
height: 0
|
|
47624
|
-
}, we = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding :
|
|
47624
|
+
}, we = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Z6(), ie = we[Ie], ke = we[de], q = Ia(0, O[ce], Ee[ce]), Z = k ? O[ce] / 2 - Se - q - ie - M.mainAxis : ye - q - ie - M.mainAxis, J = k ? -O[ce] / 2 + Se + q + ke + M.mainAxis : oe + q + ke + M.mainAxis, _ = e.elements.arrow && _l(e.elements.arrow), Ae = _ ? b === "y" ? _.clientTop || 0 : _.clientLeft || 0 : 0, Fe = (ae = D == null ? void 0 : D[b]) != null ? ae : 0, z = K + Z - Fe - Ae, he = K + J - Fe, Oe = Ia(p ? Cc(W, z) : W, K, p ? Bo(pe, he) : pe);
|
|
47625
47625
|
y[b] = Oe, ne[b] = Oe - K;
|
|
47626
47626
|
}
|
|
47627
47627
|
if (a) {
|
|
@@ -47828,12 +47828,12 @@ function ZJ(t) {
|
|
|
47828
47828
|
return p;
|
|
47829
47829
|
};
|
|
47830
47830
|
}
|
|
47831
|
-
var GJ = [vJ, NJ, mJ,
|
|
47831
|
+
var GJ = [vJ, NJ, mJ, K6, DJ, MJ, $J, dJ, IJ], qJ = /* @__PURE__ */ ZJ({
|
|
47832
47832
|
defaultModifiers: GJ
|
|
47833
|
-
}), JJ = "tippy-box",
|
|
47833
|
+
}), JJ = "tippy-box", _6 = "tippy-content", YJ = "tippy-backdrop", Q6 = "tippy-arrow", eS = "tippy-svg-arrow", So = {
|
|
47834
47834
|
passive: !0,
|
|
47835
47835
|
capture: !0
|
|
47836
|
-
},
|
|
47836
|
+
}, tS = function() {
|
|
47837
47837
|
return document.body;
|
|
47838
47838
|
};
|
|
47839
47839
|
function If(t, e, n) {
|
|
@@ -47847,7 +47847,7 @@ function Vm(t, e) {
|
|
|
47847
47847
|
var n = {}.toString.call(t);
|
|
47848
47848
|
return n.indexOf("[object") === 0 && n.indexOf(e + "]") > -1;
|
|
47849
47849
|
}
|
|
47850
|
-
function
|
|
47850
|
+
function nS(t, e) {
|
|
47851
47851
|
return typeof t == "function" ? t.apply(void 0, e) : t;
|
|
47852
47852
|
}
|
|
47853
47853
|
function sb(t, e) {
|
|
@@ -47948,11 +47948,11 @@ var Hi = {
|
|
|
47948
47948
|
isTouch: !1
|
|
47949
47949
|
}, db = 0;
|
|
47950
47950
|
function aY() {
|
|
47951
|
-
Hi.isTouch || (Hi.isTouch = !0, window.performance && document.addEventListener("mousemove",
|
|
47951
|
+
Hi.isTouch || (Hi.isTouch = !0, window.performance && document.addEventListener("mousemove", iS));
|
|
47952
47952
|
}
|
|
47953
|
-
function
|
|
47953
|
+
function iS() {
|
|
47954
47954
|
var t = performance.now();
|
|
47955
|
-
t - db < 20 && (Hi.isTouch = !1, document.removeEventListener("mousemove",
|
|
47955
|
+
t - db < 20 && (Hi.isTouch = !1, document.removeEventListener("mousemove", iS)), db = t;
|
|
47956
47956
|
}
|
|
47957
47957
|
function lY() {
|
|
47958
47958
|
var t = document.activeElement;
|
|
@@ -47983,7 +47983,7 @@ var cY = typeof window < "u" && typeof document < "u", dY = cY ? (
|
|
|
47983
47983
|
theme: "",
|
|
47984
47984
|
zIndex: 9999
|
|
47985
47985
|
}, xi = Object.assign({
|
|
47986
|
-
appendTo:
|
|
47986
|
+
appendTo: tS,
|
|
47987
47987
|
aria: {
|
|
47988
47988
|
content: "auto",
|
|
47989
47989
|
expanded: "auto"
|
|
@@ -48036,7 +48036,7 @@ var cY = typeof window < "u" && typeof document < "u", dY = cY ? (
|
|
|
48036
48036
|
xi[i] = e[i];
|
|
48037
48037
|
});
|
|
48038
48038
|
};
|
|
48039
|
-
function
|
|
48039
|
+
function rS(t) {
|
|
48040
48040
|
var e = t.plugins || [], n = e.reduce(function(i, r) {
|
|
48041
48041
|
var o = r.name, s = r.defaultValue;
|
|
48042
48042
|
if (o) {
|
|
@@ -48048,7 +48048,7 @@ function r6(t) {
|
|
|
48048
48048
|
return Object.assign({}, t, n);
|
|
48049
48049
|
}
|
|
48050
48050
|
function gY(t, e) {
|
|
48051
|
-
var n = e ? Object.keys(
|
|
48051
|
+
var n = e ? Object.keys(rS(Object.assign({}, xi, {
|
|
48052
48052
|
plugins: e
|
|
48053
48053
|
}))) : hY, i = n.reduce(function(r, o) {
|
|
48054
48054
|
var s = (t.getAttribute("data-tippy-" + o) || "").trim();
|
|
@@ -48068,7 +48068,7 @@ function gY(t, e) {
|
|
|
48068
48068
|
}
|
|
48069
48069
|
function fb(t, e) {
|
|
48070
48070
|
var n = Object.assign({}, e, {
|
|
48071
|
-
content:
|
|
48071
|
+
content: nS(e.content, [t])
|
|
48072
48072
|
}, e.ignoreAttributes ? {} : gY(t, e.plugins));
|
|
48073
48073
|
return n.aria = Object.assign({}, xi.aria, n.aria), n.aria = {
|
|
48074
48074
|
expanded: n.aria.expanded === "auto" ? e.interactive : n.aria.expanded,
|
|
@@ -48083,7 +48083,7 @@ function sh(t, e) {
|
|
|
48083
48083
|
}
|
|
48084
48084
|
function pb(t) {
|
|
48085
48085
|
var e = La();
|
|
48086
|
-
return t === !0 ? e.className =
|
|
48086
|
+
return t === !0 ? e.className = Q6 : (e.className = eS, Ld(t) ? e.appendChild(t) : sh(e, t)), e;
|
|
48087
48087
|
}
|
|
48088
48088
|
function hb(t, e) {
|
|
48089
48089
|
Ld(e.content) ? (sh(t, ""), t.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? sh(t, e.content) : t.textContent = e.content);
|
|
@@ -48093,21 +48093,21 @@ function ah(t) {
|
|
|
48093
48093
|
return {
|
|
48094
48094
|
box: e,
|
|
48095
48095
|
content: n.find(function(i) {
|
|
48096
|
-
return i.classList.contains(
|
|
48096
|
+
return i.classList.contains(_6);
|
|
48097
48097
|
}),
|
|
48098
48098
|
arrow: n.find(function(i) {
|
|
48099
|
-
return i.classList.contains(
|
|
48099
|
+
return i.classList.contains(Q6) || i.classList.contains(eS);
|
|
48100
48100
|
}),
|
|
48101
48101
|
backdrop: n.find(function(i) {
|
|
48102
48102
|
return i.classList.contains(YJ);
|
|
48103
48103
|
})
|
|
48104
48104
|
};
|
|
48105
48105
|
}
|
|
48106
|
-
function
|
|
48106
|
+
function oS(t) {
|
|
48107
48107
|
var e = La(), n = La();
|
|
48108
48108
|
n.className = JJ, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
|
|
48109
48109
|
var i = La();
|
|
48110
|
-
i.className =
|
|
48110
|
+
i.className = _6, i.setAttribute("data-state", "hidden"), hb(i, t.props), e.appendChild(n), n.appendChild(i), r(t.props, t.props);
|
|
48111
48111
|
function r(o, s) {
|
|
48112
48112
|
var a = ah(e), l = a.box, u = a.content, c = a.arrow;
|
|
48113
48113
|
s.theme ? l.setAttribute("data-theme", s.theme) : l.removeAttribute("data-theme"), typeof s.animation == "string" ? l.setAttribute("data-animation", s.animation) : l.removeAttribute("data-animation"), s.inertia ? l.setAttribute("data-inertia", "") : l.removeAttribute("data-inertia"), l.style.maxWidth = typeof s.maxWidth == "number" ? s.maxWidth + "px" : s.maxWidth, s.role ? l.setAttribute("role", s.role) : l.removeAttribute("role"), (o.content !== s.content || o.allowHTML !== s.allowHTML) && hb(u, t.props), s.arrow ? c ? o.arrow !== s.arrow && (l.removeChild(c), l.appendChild(pb(s.arrow))) : l.appendChild(pb(s.arrow)) : c && l.removeChild(c);
|
|
@@ -48117,10 +48117,10 @@ function o6(t) {
|
|
|
48117
48117
|
onUpdate: r
|
|
48118
48118
|
};
|
|
48119
48119
|
}
|
|
48120
|
-
|
|
48120
|
+
oS.$$tippy = !0;
|
|
48121
48121
|
var yY = 1, Ru = [], Df = [];
|
|
48122
48122
|
function bY(t, e) {
|
|
48123
|
-
var n = fb(t, Object.assign({}, xi,
|
|
48123
|
+
var n = fb(t, Object.assign({}, xi, rS(lb(e)))), i, r, o, s = !1, a = !1, l = !1, u = !1, c, d, f, p = [], h = sb(z, n.interactiveDebounce), m, v = yY++, S = null, w = QJ(n.plugins), k = {
|
|
48124
48124
|
// Is the instance currently enabled?
|
|
48125
48125
|
isEnabled: !0,
|
|
48126
48126
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -48414,7 +48414,7 @@ function bY(t, e) {
|
|
|
48414
48414
|
}
|
|
48415
48415
|
function ut() {
|
|
48416
48416
|
var Q = b.props.appendTo, ge, $e = ae();
|
|
48417
|
-
b.props.interactive && Q ===
|
|
48417
|
+
b.props.interactive && Q === tS || Q === "parent" ? ge = $e.parentNode : ge = nS(Q, [$e]), ge.contains(y) || ge.appendChild(y), b.state.isMounted = !0, ft();
|
|
48418
48418
|
}
|
|
48419
48419
|
function st() {
|
|
48420
48420
|
return kc(y.querySelectorAll("[data-tippy-root]"));
|
|
@@ -48527,7 +48527,7 @@ function ts(t, e) {
|
|
|
48527
48527
|
ts.defaultProps = xi;
|
|
48528
48528
|
ts.setDefaultProps = mY;
|
|
48529
48529
|
ts.currentInput = Hi;
|
|
48530
|
-
Object.assign({},
|
|
48530
|
+
Object.assign({}, K6, {
|
|
48531
48531
|
effect: function(e) {
|
|
48532
48532
|
var n = e.state, i = {
|
|
48533
48533
|
popper: {
|
|
@@ -48545,11 +48545,11 @@ Object.assign({}, KS, {
|
|
|
48545
48545
|
}
|
|
48546
48546
|
});
|
|
48547
48547
|
ts.setDefaultProps({
|
|
48548
|
-
render:
|
|
48548
|
+
render: oS
|
|
48549
48549
|
});
|
|
48550
48550
|
class AY {
|
|
48551
48551
|
getTextContent(e) {
|
|
48552
|
-
return
|
|
48552
|
+
return z6(e, { textSerializers: Om(this.editor.schema) });
|
|
48553
48553
|
}
|
|
48554
48554
|
constructor({ editor: e, element: n, view: i, tippyOptions: r = {}, shouldShow: o }) {
|
|
48555
48555
|
this.preventHide = !1, this.shouldShow = ({ view: s, state: a }) => {
|
|
@@ -48598,7 +48598,7 @@ class AY {
|
|
|
48598
48598
|
return;
|
|
48599
48599
|
}
|
|
48600
48600
|
(r = this.tippy) === null || r === void 0 || r.setProps({
|
|
48601
|
-
getReferenceClientRect: ((o = this.tippyOptions) === null || o === void 0 ? void 0 : o.getReferenceClientRect) || (() =>
|
|
48601
|
+
getReferenceClientRect: ((o = this.tippyOptions) === null || o === void 0 ? void 0 : o.getReferenceClientRect) || (() => H6(e, u, c))
|
|
48602
48602
|
}), this.show();
|
|
48603
48603
|
}
|
|
48604
48604
|
show() {
|
|
@@ -48614,7 +48614,7 @@ class AY {
|
|
|
48614
48614
|
!((e = this.tippy) === null || e === void 0) && e.popper.firstChild && this.tippy.popper.firstChild.removeEventListener("blur", this.tippyBlurHandler), (n = this.tippy) === null || n === void 0 || n.destroy(), this.element.removeEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler);
|
|
48615
48615
|
}
|
|
48616
48616
|
}
|
|
48617
|
-
const
|
|
48617
|
+
const sS = (t) => new An({
|
|
48618
48618
|
key: typeof t.pluginKey == "string" ? new Mn(t.pluginKey) : t.pluginKey,
|
|
48619
48619
|
view: (e) => new AY({ view: e, ...t })
|
|
48620
48620
|
}), wY = Hn.create({
|
|
@@ -48629,7 +48629,7 @@ const s6 = (t) => new An({
|
|
|
48629
48629
|
},
|
|
48630
48630
|
addProseMirrorPlugins() {
|
|
48631
48631
|
return this.options.element ? [
|
|
48632
|
-
|
|
48632
|
+
sS({
|
|
48633
48633
|
pluginKey: this.options.pluginKey,
|
|
48634
48634
|
editor: this.editor,
|
|
48635
48635
|
element: this.options.element,
|
|
@@ -48717,9 +48717,9 @@ gn.prototype.map = function(e, n, i) {
|
|
|
48717
48717
|
}, n, i), r;
|
|
48718
48718
|
};
|
|
48719
48719
|
gn.from = function(e) {
|
|
48720
|
-
return e instanceof gn ? e : e && e.length ? new
|
|
48720
|
+
return e instanceof gn ? e : e && e.length ? new aS(e) : gn.empty;
|
|
48721
48721
|
};
|
|
48722
|
-
var
|
|
48722
|
+
var aS = /* @__PURE__ */ function(t) {
|
|
48723
48723
|
function e(i) {
|
|
48724
48724
|
t.call(this), this.values = i;
|
|
48725
48725
|
}
|
|
@@ -48751,7 +48751,7 @@ var a6 = /* @__PURE__ */ function(t) {
|
|
|
48751
48751
|
return 0;
|
|
48752
48752
|
}, Object.defineProperties(e.prototype, n), e;
|
|
48753
48753
|
}(gn);
|
|
48754
|
-
gn.empty = new
|
|
48754
|
+
gn.empty = new aS([]);
|
|
48755
48755
|
var CY = /* @__PURE__ */ function(t) {
|
|
48756
48756
|
function e(n, i) {
|
|
48757
48757
|
t.call(this), this.left = n, this.right = i, this.length = n.length + i.length, this.depth = Math.max(n.depth, i.depth) + 1;
|
|
@@ -49005,14 +49005,14 @@ function PY(t = {}) {
|
|
|
49005
49005
|
props: {
|
|
49006
49006
|
handleDOMEvents: {
|
|
49007
49007
|
beforeinput(e, n) {
|
|
49008
|
-
let i = n.inputType, r = i == "historyUndo" ?
|
|
49008
|
+
let i = n.inputType, r = i == "historyUndo" ? uS : i == "historyRedo" ? cS : null;
|
|
49009
49009
|
return r ? (n.preventDefault(), r(e.state, e.dispatch)) : !1;
|
|
49010
49010
|
}
|
|
49011
49011
|
}
|
|
49012
49012
|
}
|
|
49013
49013
|
});
|
|
49014
49014
|
}
|
|
49015
|
-
function
|
|
49015
|
+
function lS(t, e) {
|
|
49016
49016
|
return (n, i) => {
|
|
49017
49017
|
let r = Vo.getState(n);
|
|
49018
49018
|
if (!r || (t ? r.undone : r.done).eventCount == 0)
|
|
@@ -49024,7 +49024,7 @@ function l6(t, e) {
|
|
|
49024
49024
|
return !0;
|
|
49025
49025
|
};
|
|
49026
49026
|
}
|
|
49027
|
-
const
|
|
49027
|
+
const uS = lS(!1, !0), cS = lS(!0, !0), LY = Hn.create({
|
|
49028
49028
|
name: "history",
|
|
49029
49029
|
addOptions() {
|
|
49030
49030
|
return {
|
|
@@ -49034,8 +49034,8 @@ const u6 = l6(!1, !0), c6 = l6(!0, !0), LY = Hn.create({
|
|
|
49034
49034
|
},
|
|
49035
49035
|
addCommands() {
|
|
49036
49036
|
return {
|
|
49037
|
-
undo: () => ({ state: t, dispatch: e }) =>
|
|
49038
|
-
redo: () => ({ state: t, dispatch: e }) =>
|
|
49037
|
+
undo: () => ({ state: t, dispatch: e }) => uS(t, e),
|
|
49038
|
+
redo: () => ({ state: t, dispatch: e }) => cS(t, e)
|
|
49039
49039
|
};
|
|
49040
49040
|
},
|
|
49041
49041
|
addProseMirrorPlugins() {
|
|
@@ -49181,12 +49181,12 @@ const u6 = l6(!1, !0), c6 = l6(!0, !0), LY = Hn.create({
|
|
|
49181
49181
|
for (const n in e)
|
|
49182
49182
|
t[n] = e[n];
|
|
49183
49183
|
return t;
|
|
49184
|
-
}, lh = "numeric", uh = "ascii", ch = "alpha", Da = "asciinumeric", ba = "alphanumeric", dh = "domain",
|
|
49184
|
+
}, lh = "numeric", uh = "ascii", ch = "alpha", Da = "asciinumeric", ba = "alphanumeric", dh = "domain", dS = "emoji", jY = "scheme", UY = "slashscheme", Bf = "whitespace";
|
|
49185
49185
|
function KY(t, e) {
|
|
49186
49186
|
return t in e || (e[t] = []), e[t];
|
|
49187
49187
|
}
|
|
49188
49188
|
function Eo(t, e, n) {
|
|
49189
|
-
e[lh] && (e[Da] = !0, e[ba] = !0), e[uh] && (e[Da] = !0, e[ch] = !0), e[Da] && (e[ba] = !0), e[ch] && (e[ba] = !0), e[ba] && (e[dh] = !0), e[
|
|
49189
|
+
e[lh] && (e[Da] = !0, e[ba] = !0), e[uh] && (e[Da] = !0, e[ch] = !0), e[Da] && (e[ba] = !0), e[ch] && (e[ba] = !0), e[ba] && (e[dh] = !0), e[dS] && (e[dh] = !0);
|
|
49190
49190
|
for (const i in e) {
|
|
49191
49191
|
const r = KY(i, n);
|
|
49192
49192
|
r.indexOf(t) < 0 && r.push(t);
|
|
@@ -49322,13 +49322,13 @@ Xn.prototype = {
|
|
|
49322
49322
|
return r.j[t] = s, s;
|
|
49323
49323
|
}
|
|
49324
49324
|
};
|
|
49325
|
-
const ht = (t, e, n, i, r) => t.ta(e, n, i, r), Yt = (t, e, n, i, r) => t.tr(e, n, i, r), vb = (t, e, n, i, r) => t.ts(e, n, i, r), Le = (t, e, n, i, r) => t.tt(e, n, i, r), sr = "WORD", fh = "UWORD",
|
|
49326
|
-
var
|
|
49325
|
+
const ht = (t, e, n, i, r) => t.ta(e, n, i, r), Yt = (t, e, n, i, r) => t.tr(e, n, i, r), vb = (t, e, n, i, r) => t.ts(e, n, i, r), Le = (t, e, n, i, r) => t.tt(e, n, i, r), sr = "WORD", fh = "UWORD", fS = "ASCIINUMERICAL", pS = "ALPHANUMERICAL", zl = "LOCALHOST", ph = "TLD", hh = "UTLD", Ju = "SCHEME", gs = "SLASH_SCHEME", $m = "NUM", mh = "WS", zm = "NL", Ra = "OPENBRACE", Na = "CLOSEBRACE", Tc = "OPENBRACKET", xc = "CLOSEBRACKET", Mc = "OPENPAREN", Ec = "CLOSEPAREN", Ic = "OPENANGLEBRACKET", Pc = "CLOSEANGLEBRACKET", Lc = "FULLWIDTHLEFTPAREN", Dc = "FULLWIDTHRIGHTPAREN", Rc = "LEFTCORNERBRACKET", Nc = "RIGHTCORNERBRACKET", Bc = "LEFTWHITECORNERBRACKET", Vc = "RIGHTWHITECORNERBRACKET", $c = "FULLWIDTHLESSTHAN", zc = "FULLWIDTHGREATERTHAN", Fc = "AMPERSAND", Fm = "APOSTROPHE", Hc = "ASTERISK", Br = "AT", jc = "BACKSLASH", Uc = "BACKTICK", Kc = "CARET", Fr = "COLON", Hm = "COMMA", Wc = "DOLLAR", $i = "DOT", Xc = "EQUALS", jm = "EXCLAMATION", ci = "HYPHEN", Ba = "PERCENT", Zc = "PIPE", Gc = "PLUS", qc = "POUND", Va = "QUERY", Um = "QUOTE", hS = "FULLWIDTHMIDDLEDOT", Km = "SEMI", zi = "SLASH", $a = "TILDE", Jc = "UNDERSCORE", mS = "EMOJI", Yc = "SYM";
|
|
49326
|
+
var gS = /* @__PURE__ */ Object.freeze({
|
|
49327
49327
|
__proto__: null,
|
|
49328
49328
|
WORD: sr,
|
|
49329
49329
|
UWORD: fh,
|
|
49330
|
-
ASCIINUMERICAL:
|
|
49331
|
-
ALPHANUMERICAL:
|
|
49330
|
+
ASCIINUMERICAL: fS,
|
|
49331
|
+
ALPHANUMERICAL: pS,
|
|
49332
49332
|
LOCALHOST: zl,
|
|
49333
49333
|
TLD: ph,
|
|
49334
49334
|
UTLD: hh,
|
|
@@ -49373,12 +49373,12 @@ var g6 = /* @__PURE__ */ Object.freeze({
|
|
|
49373
49373
|
POUND: qc,
|
|
49374
49374
|
QUERY: Va,
|
|
49375
49375
|
QUOTE: Um,
|
|
49376
|
-
FULLWIDTHMIDDLEDOT:
|
|
49376
|
+
FULLWIDTHMIDDLEDOT: hS,
|
|
49377
49377
|
SEMI: Km,
|
|
49378
49378
|
SLASH: zi,
|
|
49379
49379
|
TILDE: $a,
|
|
49380
49380
|
UNDERSCORE: Jc,
|
|
49381
|
-
EMOJI:
|
|
49381
|
+
EMOJI: mS,
|
|
49382
49382
|
SYM: Yc
|
|
49383
49383
|
});
|
|
49384
49384
|
const ir = /[a-z]/, ca = new RegExp("\\p{L}", "u"), Vf = new RegExp("\\p{Emoji}", "u"), rr = /\d/, $f = /\s/, yb = "\r", zf = `
|
|
@@ -49388,14 +49388,14 @@ function GY(t = []) {
|
|
|
49388
49388
|
const e = {};
|
|
49389
49389
|
Xn.groups = e;
|
|
49390
49390
|
const n = new Xn();
|
|
49391
|
-
Nu == null && (Nu = bb(FY)), Bu == null && (Bu = bb(HY)), Le(n, "'", Fm), Le(n, "{", Ra), Le(n, "}", Na), Le(n, "[", Tc), Le(n, "]", xc), Le(n, "(", Mc), Le(n, ")", Ec), Le(n, "<", Ic), Le(n, ">", Pc), Le(n, "(", Lc), Le(n, ")", Dc), Le(n, "「", Rc), Le(n, "」", Nc), Le(n, "『", Bc), Le(n, "』", Vc), Le(n, "<", $c), Le(n, ">", zc), Le(n, "&", Fc), Le(n, "*", Hc), Le(n, "@", Br), Le(n, "`", Uc), Le(n, "^", Kc), Le(n, ":", Fr), Le(n, ",", Hm), Le(n, "$", Wc), Le(n, ".", $i), Le(n, "=", Xc), Le(n, "!", jm), Le(n, "-", ci), Le(n, "%", Ba), Le(n, "|", Zc), Le(n, "+", Gc), Le(n, "#", qc), Le(n, "?", Va), Le(n, '"', Um), Le(n, "/", zi), Le(n, ";", Km), Le(n, "~", $a), Le(n, "_", Jc), Le(n, "\\", jc), Le(n, "・",
|
|
49391
|
+
Nu == null && (Nu = bb(FY)), Bu == null && (Bu = bb(HY)), Le(n, "'", Fm), Le(n, "{", Ra), Le(n, "}", Na), Le(n, "[", Tc), Le(n, "]", xc), Le(n, "(", Mc), Le(n, ")", Ec), Le(n, "<", Ic), Le(n, ">", Pc), Le(n, "(", Lc), Le(n, ")", Dc), Le(n, "「", Rc), Le(n, "」", Nc), Le(n, "『", Bc), Le(n, "』", Vc), Le(n, "<", $c), Le(n, ">", zc), Le(n, "&", Fc), Le(n, "*", Hc), Le(n, "@", Br), Le(n, "`", Uc), Le(n, "^", Kc), Le(n, ":", Fr), Le(n, ",", Hm), Le(n, "$", Wc), Le(n, ".", $i), Le(n, "=", Xc), Le(n, "!", jm), Le(n, "-", ci), Le(n, "%", Ba), Le(n, "|", Zc), Le(n, "+", Gc), Le(n, "#", qc), Le(n, "?", Va), Le(n, '"', Um), Le(n, "/", zi), Le(n, ";", Km), Le(n, "~", $a), Le(n, "_", Jc), Le(n, "\\", jc), Le(n, "・", hS);
|
|
49392
49392
|
const i = Yt(n, rr, $m, {
|
|
49393
49393
|
[lh]: !0
|
|
49394
49394
|
});
|
|
49395
49395
|
Yt(i, rr, i);
|
|
49396
|
-
const r = Yt(i, ir,
|
|
49396
|
+
const r = Yt(i, ir, fS, {
|
|
49397
49397
|
[Da]: !0
|
|
49398
|
-
}), o = Yt(i, ca,
|
|
49398
|
+
}), o = Yt(i, ca, pS, {
|
|
49399
49399
|
[ba]: !0
|
|
49400
49400
|
}), s = Yt(n, ir, sr, {
|
|
49401
49401
|
[uh]: !0
|
|
@@ -49413,8 +49413,8 @@ function GY(t = []) {
|
|
|
49413
49413
|
[Bf]: !0
|
|
49414
49414
|
});
|
|
49415
49415
|
Le(n, Ff, c), Le(u, zf, l), Le(u, Ff, c), Yt(u, $f, c), Le(c, yb), Le(c, zf), Yt(c, $f, c), Le(c, Ff, c);
|
|
49416
|
-
const d = Yt(n, Vf,
|
|
49417
|
-
[
|
|
49416
|
+
const d = Yt(n, Vf, mS, {
|
|
49417
|
+
[dS]: !0
|
|
49418
49418
|
});
|
|
49419
49419
|
Le(d, "#"), Yt(d, Vf, d), Le(d, XY, d);
|
|
49420
49420
|
const f = Le(d, ZY);
|
|
@@ -49451,10 +49451,10 @@ function GY(t = []) {
|
|
|
49451
49451
|
start: n,
|
|
49452
49452
|
tokens: js({
|
|
49453
49453
|
groups: e
|
|
49454
|
-
},
|
|
49454
|
+
}, gS)
|
|
49455
49455
|
};
|
|
49456
49456
|
}
|
|
49457
|
-
function
|
|
49457
|
+
function vS(t, e) {
|
|
49458
49458
|
const n = qY(e.replace(/[A-Z]/g, (a) => a.toLowerCase())), i = n.length, r = [];
|
|
49459
49459
|
let o = 0, s = 0;
|
|
49460
49460
|
for (; s < i; ) {
|
|
@@ -49598,10 +49598,10 @@ Wm.prototype = {
|
|
|
49598
49598
|
function Ab(t) {
|
|
49599
49599
|
return t;
|
|
49600
49600
|
}
|
|
49601
|
-
function
|
|
49601
|
+
function yS(t, e) {
|
|
49602
49602
|
this.t = "token", this.v = t, this.tk = e;
|
|
49603
49603
|
}
|
|
49604
|
-
|
|
49604
|
+
yS.prototype = {
|
|
49605
49605
|
isLink: !1,
|
|
49606
49606
|
/**
|
|
49607
49607
|
* Return the string this token represents.
|
|
@@ -49706,7 +49706,7 @@ y6.prototype = {
|
|
|
49706
49706
|
}
|
|
49707
49707
|
};
|
|
49708
49708
|
function Dd(t, e) {
|
|
49709
|
-
class n extends
|
|
49709
|
+
class n extends yS {
|
|
49710
49710
|
constructor(r, o) {
|
|
49711
49711
|
super(r, o), this.t = t;
|
|
49712
49712
|
}
|
|
@@ -49800,7 +49800,7 @@ function YY({
|
|
|
49800
49800
|
}
|
|
49801
49801
|
return Le(r, zl, w), Le(r, zm, JY), {
|
|
49802
49802
|
start: r,
|
|
49803
|
-
tokens:
|
|
49803
|
+
tokens: gS
|
|
49804
49804
|
};
|
|
49805
49805
|
}
|
|
49806
49806
|
function _Y(t, e, n) {
|
|
@@ -49860,10 +49860,10 @@ function n_() {
|
|
|
49860
49860
|
return Kt.initialized = !0, Kt;
|
|
49861
49861
|
}
|
|
49862
49862
|
function Xm(t) {
|
|
49863
|
-
return Kt.initialized || n_(), _Y(Kt.parser.start, t,
|
|
49863
|
+
return Kt.initialized || n_(), _Y(Kt.parser.start, t, vS(Kt.scanner.start, t));
|
|
49864
49864
|
}
|
|
49865
|
-
Xm.scan =
|
|
49866
|
-
function
|
|
49865
|
+
Xm.scan = vS;
|
|
49866
|
+
function bS(t, e = null, n = null) {
|
|
49867
49867
|
if (e && typeof e == "object") {
|
|
49868
49868
|
if (n)
|
|
49869
49869
|
throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);
|
|
@@ -49929,7 +49929,7 @@ function o_(t) {
|
|
|
49929
49929
|
a.push(s), s = s.parentNode;
|
|
49930
49930
|
if (!a.find((f) => f.nodeName === "A"))
|
|
49931
49931
|
return !1;
|
|
49932
|
-
const l =
|
|
49932
|
+
const l = F6(e.state, t.type.name), u = i.target, c = (r = u == null ? void 0 : u.href) !== null && r !== void 0 ? r : l.href, d = (o = u == null ? void 0 : u.target) !== null && o !== void 0 ? o : l.target;
|
|
49933
49933
|
return u && c ? (window.open(c, d), !0) : !1;
|
|
49934
49934
|
}
|
|
49935
49935
|
}
|
|
@@ -49947,7 +49947,7 @@ function s_(t) {
|
|
|
49947
49947
|
i.content.forEach((u) => {
|
|
49948
49948
|
a += u.textContent;
|
|
49949
49949
|
});
|
|
49950
|
-
const l =
|
|
49950
|
+
const l = bS(a, { defaultProtocol: t.defaultProtocol }).find((u) => u.isLink && u.value === a);
|
|
49951
49951
|
return !a || !l ? !1 : t.editor.commands.setMark(t.type, {
|
|
49952
49952
|
href: l.href
|
|
49953
49953
|
});
|
|
@@ -50087,7 +50087,7 @@ const l_ = vr.create({
|
|
|
50087
50087
|
find: (t) => {
|
|
50088
50088
|
const e = [];
|
|
50089
50089
|
if (t) {
|
|
50090
|
-
const { protocols: n, defaultProtocol: i } = this.options, r =
|
|
50090
|
+
const { protocols: n, defaultProtocol: i } = this.options, r = bS(t).filter((o) => o.isLink && this.options.isAllowedUri(o.value, {
|
|
50091
50091
|
defaultValidate: (s) => !!bo(s, n),
|
|
50092
50092
|
protocols: n,
|
|
50093
50093
|
defaultProtocol: i
|
|
@@ -50640,7 +50640,7 @@ class w_ {
|
|
|
50640
50640
|
return y.getBoundingClientRect();
|
|
50641
50641
|
}
|
|
50642
50642
|
}
|
|
50643
|
-
return
|
|
50643
|
+
return H6(a, k, b);
|
|
50644
50644
|
})
|
|
50645
50645
|
}), this.show();
|
|
50646
50646
|
}, this.editor = e, this.element = n, this.view = i, this.updateDelay = o, s && (this.shouldShow = s), this.element.addEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.view.dom.addEventListener("dragstart", this.dragstartHandler), this.editor.on("focus", this.focusHandler), this.editor.on("blur", this.blurHandler), this.tippyOptions = r, this.element.remove(), this.element.style.visibility = "visible";
|
|
@@ -50680,7 +50680,7 @@ class w_ {
|
|
|
50680
50680
|
!((e = this.tippy) === null || e === void 0) && e.popper.firstChild && this.tippy.popper.firstChild.removeEventListener("blur", this.tippyBlurHandler), (n = this.tippy) === null || n === void 0 || n.destroy(), this.element.removeEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.view.dom.removeEventListener("dragstart", this.dragstartHandler), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler);
|
|
50681
50681
|
}
|
|
50682
50682
|
}
|
|
50683
|
-
const
|
|
50683
|
+
const AS = (t) => new An({
|
|
50684
50684
|
key: typeof t.pluginKey == "string" ? new Mn(t.pluginKey) : t.pluginKey,
|
|
50685
50685
|
view: (e) => new w_({ view: e, ...t })
|
|
50686
50686
|
});
|
|
@@ -50697,7 +50697,7 @@ Hn.create({
|
|
|
50697
50697
|
},
|
|
50698
50698
|
addProseMirrorPlugins() {
|
|
50699
50699
|
return this.options.element ? [
|
|
50700
|
-
|
|
50700
|
+
AS({
|
|
50701
50701
|
pluginKey: this.options.pluginKey,
|
|
50702
50702
|
editor: this.editor,
|
|
50703
50703
|
element: this.options.element,
|
|
@@ -50736,7 +50736,7 @@ Ce({
|
|
|
50736
50736
|
const n = re(null);
|
|
50737
50737
|
return pt(() => {
|
|
50738
50738
|
const { updateDelay: i, editor: r, pluginKey: o, shouldShow: s, tippyOptions: a } = t;
|
|
50739
|
-
r.registerPlugin(
|
|
50739
|
+
r.registerPlugin(AS({
|
|
50740
50740
|
updateDelay: i,
|
|
50741
50741
|
editor: r,
|
|
50742
50742
|
element: n.value,
|
|
@@ -50754,7 +50754,7 @@ Ce({
|
|
|
50754
50754
|
}
|
|
50755
50755
|
});
|
|
50756
50756
|
function Tb(t) {
|
|
50757
|
-
return
|
|
50757
|
+
return GS((e, n) => ({
|
|
50758
50758
|
get() {
|
|
50759
50759
|
return e(), t;
|
|
50760
50760
|
},
|
|
@@ -50858,7 +50858,7 @@ const C_ = Ce({
|
|
|
50858
50858
|
const n = re(null);
|
|
50859
50859
|
return pt(() => {
|
|
50860
50860
|
const { pluginKey: i, editor: r, tippyOptions: o, shouldShow: s } = t;
|
|
50861
|
-
r.registerPlugin(
|
|
50861
|
+
r.registerPlugin(sS({
|
|
50862
50862
|
pluginKey: i,
|
|
50863
50863
|
editor: r,
|
|
50864
50864
|
element: n.value,
|
|
@@ -50891,7 +50891,7 @@ Ce({
|
|
|
50891
50891
|
});
|
|
50892
50892
|
}
|
|
50893
50893
|
});
|
|
50894
|
-
const
|
|
50894
|
+
const wS = Ce({
|
|
50895
50895
|
name: "NodeViewWrapper",
|
|
50896
50896
|
props: {
|
|
50897
50897
|
as: {
|
|
@@ -50923,7 +50923,7 @@ const w6 = Ce({
|
|
|
50923
50923
|
(i = o == null ? void 0 : o.parentNode) === null || i === void 0 || i.replaceChild(s, o), (r = e.value) === null || r === void 0 || r.destroy();
|
|
50924
50924
|
}), e;
|
|
50925
50925
|
};
|
|
50926
|
-
class
|
|
50926
|
+
class SS {
|
|
50927
50927
|
constructor(e, { props: n = {}, editor: i }) {
|
|
50928
50928
|
this.editor = i, this.component = Rb(e), this.el = document.createElement("div"), this.props = qt(n), this.renderedComponent = this.renderComponent();
|
|
50929
50929
|
}
|
|
@@ -50949,7 +50949,7 @@ class S6 {
|
|
|
50949
50949
|
this.renderedComponent.destroy();
|
|
50950
50950
|
}
|
|
50951
50951
|
}
|
|
50952
|
-
const
|
|
50952
|
+
const CS = {
|
|
50953
50953
|
editor: {
|
|
50954
50954
|
type: Object,
|
|
50955
50955
|
required: !0
|
|
@@ -51038,7 +51038,7 @@ class O_ extends Lq {
|
|
|
51038
51038
|
// eslint-disable-next-line
|
|
51039
51039
|
__file: this.component.__file
|
|
51040
51040
|
});
|
|
51041
|
-
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.renderer = new
|
|
51041
|
+
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.renderer = new SS(i, {
|
|
51042
51042
|
editor: this.editor,
|
|
51043
51043
|
props: e
|
|
51044
51044
|
});
|
|
@@ -51123,7 +51123,7 @@ class O_ extends Lq {
|
|
|
51123
51123
|
this.renderer.destroy(), this.editor.off("selectionUpdate", this.handleSelectionUpdate);
|
|
51124
51124
|
}
|
|
51125
51125
|
}
|
|
51126
|
-
function
|
|
51126
|
+
function kS(t, e) {
|
|
51127
51127
|
return (n) => {
|
|
51128
51128
|
if (!n.editor.contentComponent)
|
|
51129
51129
|
return {};
|
|
@@ -51133,12 +51133,12 @@ function k6(t, e) {
|
|
|
51133
51133
|
}
|
|
51134
51134
|
const T_ = /* @__PURE__ */ Ce({
|
|
51135
51135
|
__name: "CodeSnippetAdapter",
|
|
51136
|
-
props:
|
|
51136
|
+
props: CS,
|
|
51137
51137
|
setup(t) {
|
|
51138
51138
|
const e = t, n = re(e.node.attrs.code);
|
|
51139
51139
|
return Ve(n, () => {
|
|
51140
51140
|
e.updateAttributes({ code: n.value });
|
|
51141
|
-
}), (i, r) => (g(), I(x(
|
|
51141
|
+
}), (i, r) => (g(), I(x(wS), null, {
|
|
51142
51142
|
default: F(() => [
|
|
51143
51143
|
R(ow, {
|
|
51144
51144
|
code: n.value,
|
|
@@ -51172,7 +51172,7 @@ const T_ = /* @__PURE__ */ Ce({
|
|
|
51172
51172
|
return ["codeSnippet", rn(t)];
|
|
51173
51173
|
},
|
|
51174
51174
|
addNodeView() {
|
|
51175
|
-
return
|
|
51175
|
+
return kS(T_);
|
|
51176
51176
|
},
|
|
51177
51177
|
addCommands() {
|
|
51178
51178
|
return {
|
|
@@ -51188,7 +51188,7 @@ const T_ = /* @__PURE__ */ Ce({
|
|
|
51188
51188
|
class: "absolute top-[45%] px-4 text-gray-400"
|
|
51189
51189
|
}, P_ = ["contenteditable"], L_ = /* @__PURE__ */ Ce({
|
|
51190
51190
|
__name: "MentionSection",
|
|
51191
|
-
props:
|
|
51191
|
+
props: CS,
|
|
51192
51192
|
setup(t) {
|
|
51193
51193
|
const e = t;
|
|
51194
51194
|
pt(() => {
|
|
@@ -51199,7 +51199,7 @@ const T_ = /* @__PURE__ */ Ce({
|
|
|
51199
51199
|
e.updateAttributes({ title: n.value });
|
|
51200
51200
|
}), Ve(i, () => {
|
|
51201
51201
|
e.updateAttributes({ bodyText: i.value });
|
|
51202
|
-
}), (o, s) => (g(), I(x(
|
|
51202
|
+
}), (o, s) => (g(), I(x(wS), null, {
|
|
51203
51203
|
default: F(() => [
|
|
51204
51204
|
E("div", M_, [
|
|
51205
51205
|
E("p", E_, [
|
|
@@ -51254,7 +51254,7 @@ const T_ = /* @__PURE__ */ Ce({
|
|
|
51254
51254
|
return ["mentionSection", rn(t)];
|
|
51255
51255
|
},
|
|
51256
51256
|
addNodeView() {
|
|
51257
|
-
return
|
|
51257
|
+
return kS(L_);
|
|
51258
51258
|
},
|
|
51259
51259
|
addCommands() {
|
|
51260
51260
|
return {
|
|
@@ -51325,7 +51325,7 @@ const T_ = /* @__PURE__ */ Ce({
|
|
|
51325
51325
|
let t, e;
|
|
51326
51326
|
return {
|
|
51327
51327
|
onStart(n) {
|
|
51328
|
-
t = new
|
|
51328
|
+
t = new SS(z_, {
|
|
51329
51329
|
props: {
|
|
51330
51330
|
items: n.items,
|
|
51331
51331
|
command: n.command
|
|
@@ -52667,7 +52667,7 @@ const T_ = /* @__PURE__ */ Ce({
|
|
|
52667
52667
|
) : void 0,
|
|
52668
52668
|
page: 1,
|
|
52669
52669
|
limit: 1
|
|
52670
|
-
}, { data: v } = await
|
|
52670
|
+
}, { data: v } = await YS.getReportedDisposal(m);
|
|
52671
52671
|
if ((p = (f = v == null ? void 0 : v.data) == null ? void 0 : f.data) != null && p.length) {
|
|
52672
52672
|
const S = (h = v == null ? void 0 : v.data) == null ? void 0 : h.data[0], w = [S, ...r.modelValue];
|
|
52673
52673
|
o("update:modelValue", w), o("scan", { ...c, asset: S });
|
|
@@ -52766,7 +52766,7 @@ const T_ = /* @__PURE__ */ Ce({
|
|
|
52766
52766
|
return (t == null ? void 0 : t.division) ?? "-";
|
|
52767
52767
|
}
|
|
52768
52768
|
}
|
|
52769
|
-
]),
|
|
52769
|
+
]), OS = (t) => {
|
|
52770
52770
|
if (Array.isArray(t)) {
|
|
52771
52771
|
const [e, n] = t;
|
|
52772
52772
|
return [
|
|
@@ -52787,7 +52787,7 @@ const T_ = /* @__PURE__ */ Ce({
|
|
|
52787
52787
|
)) {
|
|
52788
52788
|
r[o] = JSON.stringify(
|
|
52789
52789
|
// Adjust the end range time to 23.59.59 and the start to 00.00.00 to fix filtering issue when user only select a date
|
|
52790
|
-
|
|
52790
|
+
OS(l)
|
|
52791
52791
|
);
|
|
52792
52792
|
return;
|
|
52793
52793
|
}
|
|
@@ -52805,7 +52805,7 @@ const T_ = /* @__PURE__ */ Ce({
|
|
|
52805
52805
|
Ze.emit("multi-select:hide-overlay"), n.forEach((o) => {
|
|
52806
52806
|
if ("field" in o) {
|
|
52807
52807
|
const s = fn(t, o.field);
|
|
52808
|
-
"value" in s && s.value != null && (r[o.field] = s, "matchMode" in s && s.matchMode == "DATE_BETWEEN" && (r[o.field].value =
|
|
52808
|
+
"value" in s && s.value != null && (r[o.field] = s, "matchMode" in s && s.matchMode == "DATE_BETWEEN" && (r[o.field].value = OS(
|
|
52809
52809
|
s.value
|
|
52810
52810
|
)), Array.isArray(s.value) && !s.value.filter(Boolean).length && delete r[o.field]);
|
|
52811
52811
|
}
|
|
@@ -53015,7 +53015,7 @@ const T_ = /* @__PURE__ */ Ce({
|
|
|
53015
53015
|
[Pn, f.value]
|
|
53016
53016
|
]);
|
|
53017
53017
|
}
|
|
53018
|
-
}),
|
|
53018
|
+
}), TS = /* @__PURE__ */ Ce({
|
|
53019
53019
|
__name: "FilterContainer",
|
|
53020
53020
|
setup(t) {
|
|
53021
53021
|
return (e, n) => (g(), I(UQ, C({
|
|
@@ -53065,7 +53065,7 @@ const T_ = /* @__PURE__ */ Ce({
|
|
|
53065
53065
|
}
|
|
53066
53066
|
}
|
|
53067
53067
|
]);
|
|
53068
|
-
return (i, r) => (g(), I(
|
|
53068
|
+
return (i, r) => (g(), I(TS, {
|
|
53069
53069
|
fields: n.value,
|
|
53070
53070
|
"table-name": i.tableName
|
|
53071
53071
|
}, null, 8, ["fields", "table-name"]));
|
|
@@ -53709,7 +53709,7 @@ const T_ = /* @__PURE__ */ Ce({
|
|
|
53709
53709
|
});
|
|
53710
53710
|
var Us = {}, lee = function() {
|
|
53711
53711
|
return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
|
|
53712
|
-
},
|
|
53712
|
+
}, xS = {}, ai = {};
|
|
53713
53713
|
let Gm;
|
|
53714
53714
|
const uee = [
|
|
53715
53715
|
0,
|
|
@@ -53815,10 +53815,10 @@ var Rd = {};
|
|
|
53815
53815
|
}
|
|
53816
53816
|
};
|
|
53817
53817
|
})(Rd);
|
|
53818
|
-
function
|
|
53818
|
+
function MS() {
|
|
53819
53819
|
this.buffer = [], this.length = 0;
|
|
53820
53820
|
}
|
|
53821
|
-
|
|
53821
|
+
MS.prototype = {
|
|
53822
53822
|
get: function(t) {
|
|
53823
53823
|
const e = Math.floor(t / 8);
|
|
53824
53824
|
return (this.buffer[e] >>> 7 - t % 8 & 1) === 1;
|
|
@@ -53835,7 +53835,7 @@ M6.prototype = {
|
|
|
53835
53835
|
this.buffer.length <= e && this.buffer.push(0), t && (this.buffer[e] |= 128 >>> this.length % 8), this.length++;
|
|
53836
53836
|
}
|
|
53837
53837
|
};
|
|
53838
|
-
var cee =
|
|
53838
|
+
var cee = MS;
|
|
53839
53839
|
function Ql(t) {
|
|
53840
53840
|
if (!t || t < 1)
|
|
53841
53841
|
throw new Error("BitMatrix size must be defined and greater than 0");
|
|
@@ -53854,7 +53854,7 @@ Ql.prototype.xor = function(t, e, n) {
|
|
|
53854
53854
|
Ql.prototype.isReserved = function(t, e) {
|
|
53855
53855
|
return this.reservedBit[t * this.size + e];
|
|
53856
53856
|
};
|
|
53857
|
-
var dee = Ql,
|
|
53857
|
+
var dee = Ql, ES = {};
|
|
53858
53858
|
(function(t) {
|
|
53859
53859
|
const e = ai.getSymbolSize;
|
|
53860
53860
|
t.getRowColCoords = function(i) {
|
|
@@ -53872,10 +53872,10 @@ var dee = Ql, E6 = {};
|
|
|
53872
53872
|
a === s - 1 && l === 0 || r.push([o[a], o[l]]);
|
|
53873
53873
|
return r;
|
|
53874
53874
|
};
|
|
53875
|
-
})(
|
|
53876
|
-
var
|
|
53875
|
+
})(ES);
|
|
53876
|
+
var IS = {};
|
|
53877
53877
|
const fee = ai.getSymbolSize, xb = 7;
|
|
53878
|
-
|
|
53878
|
+
IS.getPositions = function(e) {
|
|
53879
53879
|
const n = fee(e);
|
|
53880
53880
|
return [
|
|
53881
53881
|
// top-left
|
|
@@ -53886,7 +53886,7 @@ I6.getPositions = function(e) {
|
|
|
53886
53886
|
[0, n - xb]
|
|
53887
53887
|
];
|
|
53888
53888
|
};
|
|
53889
|
-
var
|
|
53889
|
+
var PS = {};
|
|
53890
53890
|
(function(t) {
|
|
53891
53891
|
t.Patterns = {
|
|
53892
53892
|
PATTERN000: 0,
|
|
@@ -53981,7 +53981,7 @@ var P6 = {};
|
|
|
53981
53981
|
}
|
|
53982
53982
|
return a;
|
|
53983
53983
|
};
|
|
53984
|
-
})(
|
|
53984
|
+
})(PS);
|
|
53985
53985
|
var Nd = {};
|
|
53986
53986
|
const Zr = Rd, zu = [
|
|
53987
53987
|
// L M Q H
|
|
@@ -54336,7 +54336,7 @@ Nd.getTotalCodewordsCount = function(e, n) {
|
|
|
54336
54336
|
return;
|
|
54337
54337
|
}
|
|
54338
54338
|
};
|
|
54339
|
-
var
|
|
54339
|
+
var LS = {}, Bd = {};
|
|
54340
54340
|
const za = new Uint8Array(512), _c = new Uint8Array(256);
|
|
54341
54341
|
(function() {
|
|
54342
54342
|
let e = 1;
|
|
@@ -54380,32 +54380,32 @@ Bd.mul = function(e, n) {
|
|
|
54380
54380
|
r = t.mul(r, new Uint8Array([1, e.exp(o)]));
|
|
54381
54381
|
return r;
|
|
54382
54382
|
};
|
|
54383
|
-
})(
|
|
54384
|
-
const
|
|
54383
|
+
})(LS);
|
|
54384
|
+
const DS = LS;
|
|
54385
54385
|
function qm(t) {
|
|
54386
54386
|
this.genPoly = void 0, this.degree = t, this.degree && this.initialize(this.degree);
|
|
54387
54387
|
}
|
|
54388
54388
|
qm.prototype.initialize = function(e) {
|
|
54389
|
-
this.degree = e, this.genPoly =
|
|
54389
|
+
this.degree = e, this.genPoly = DS.generateECPolynomial(this.degree);
|
|
54390
54390
|
};
|
|
54391
54391
|
qm.prototype.encode = function(e) {
|
|
54392
54392
|
if (!this.genPoly)
|
|
54393
54393
|
throw new Error("Encoder not initialized");
|
|
54394
54394
|
const n = new Uint8Array(e.length + this.degree);
|
|
54395
54395
|
n.set(e);
|
|
54396
|
-
const i =
|
|
54396
|
+
const i = DS.mod(n, this.genPoly), r = this.degree - i.length;
|
|
54397
54397
|
if (r > 0) {
|
|
54398
54398
|
const o = new Uint8Array(this.degree);
|
|
54399
54399
|
return o.set(i, r), o;
|
|
54400
54400
|
}
|
|
54401
54401
|
return i;
|
|
54402
54402
|
};
|
|
54403
|
-
var pee = qm,
|
|
54403
|
+
var pee = qm, RS = {}, go = {}, Jm = {};
|
|
54404
54404
|
Jm.isValid = function(e) {
|
|
54405
54405
|
return !isNaN(e) && e >= 1 && e <= 40;
|
|
54406
54406
|
};
|
|
54407
54407
|
var Yi = {};
|
|
54408
|
-
const
|
|
54408
|
+
const NS = "[0-9]+", hee = "[A-Z $%*+\\-./:]+";
|
|
54409
54409
|
let Hl = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
|
|
54410
54410
|
Hl = Hl.replace(/u/g, "\\u");
|
|
54411
54411
|
const mee = "(?:(?![A-Z0-9 $%*+\\-./:]|" + Hl + `)(?:.|[\r
|
|
@@ -54413,9 +54413,9 @@ const mee = "(?:(?![A-Z0-9 $%*+\\-./:]|" + Hl + `)(?:.|[\r
|
|
|
54413
54413
|
Yi.KANJI = new RegExp(Hl, "g");
|
|
54414
54414
|
Yi.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
|
|
54415
54415
|
Yi.BYTE = new RegExp(mee, "g");
|
|
54416
|
-
Yi.NUMERIC = new RegExp(
|
|
54416
|
+
Yi.NUMERIC = new RegExp(NS, "g");
|
|
54417
54417
|
Yi.ALPHANUMERIC = new RegExp(hee, "g");
|
|
54418
|
-
const gee = new RegExp("^" + Hl + "$"), vee = new RegExp("^" +
|
|
54418
|
+
const gee = new RegExp("^" + Hl + "$"), vee = new RegExp("^" + NS + "$"), yee = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
|
|
54419
54419
|
Yi.testKanji = function(e) {
|
|
54420
54420
|
return gee.test(e);
|
|
54421
54421
|
};
|
|
@@ -54546,17 +54546,17 @@ Yi.testAlphanumeric = function(e) {
|
|
|
54546
54546
|
h ^= s << e.getBCHDigit(h) - a;
|
|
54547
54547
|
return p << 12 | h;
|
|
54548
54548
|
};
|
|
54549
|
-
})(
|
|
54550
|
-
var
|
|
54551
|
-
const gh = ai,
|
|
54552
|
-
|
|
54549
|
+
})(RS);
|
|
54550
|
+
var BS = {};
|
|
54551
|
+
const gh = ai, VS = 1335, bee = 21522, Mb = gh.getBCHDigit(VS);
|
|
54552
|
+
BS.getEncodedBits = function(e, n) {
|
|
54553
54553
|
const i = e.bit << 3 | n;
|
|
54554
54554
|
let r = i << 10;
|
|
54555
54555
|
for (; gh.getBCHDigit(r) - Mb >= 0; )
|
|
54556
|
-
r ^=
|
|
54556
|
+
r ^= VS << gh.getBCHDigit(r) - Mb;
|
|
54557
54557
|
return (i << 10 | r) ^ bee;
|
|
54558
54558
|
};
|
|
54559
|
-
var $
|
|
54559
|
+
var $S = {};
|
|
54560
54560
|
const Aee = go;
|
|
54561
54561
|
function Ks(t) {
|
|
54562
54562
|
this.mode = Aee.NUMERIC, this.data = t.toString();
|
|
@@ -54693,7 +54693,7 @@ Make sure your charset is UTF-8`
|
|
|
54693
54693
|
n = (n >>> 8 & 255) * 192 + (n & 255), t.put(n, 13);
|
|
54694
54694
|
}
|
|
54695
54695
|
};
|
|
54696
|
-
var Mee = Zs,
|
|
54696
|
+
var Mee = Zs, zS = { exports: {} };
|
|
54697
54697
|
(function(t) {
|
|
54698
54698
|
var e = {
|
|
54699
54699
|
single_source_shortest_paths: function(n, i, r) {
|
|
@@ -54758,8 +54758,8 @@ var Mee = Zs, z6 = { exports: {} };
|
|
|
54758
54758
|
}
|
|
54759
54759
|
};
|
|
54760
54760
|
t.exports = e;
|
|
54761
|
-
})(
|
|
54762
|
-
var Eee =
|
|
54761
|
+
})(zS);
|
|
54762
|
+
var Eee = zS.exports;
|
|
54763
54763
|
(function(t) {
|
|
54764
54764
|
const e = go, n = wee, i = Cee, r = Oee, o = Mee, s = Yi, a = ai, l = Eee;
|
|
54765
54765
|
function u(S) {
|
|
@@ -54890,8 +54890,8 @@ var Eee = z6.exports;
|
|
|
54890
54890
|
d(w, a.isKanjiModeEnabled())
|
|
54891
54891
|
);
|
|
54892
54892
|
};
|
|
54893
|
-
})($
|
|
54894
|
-
const Vd = ai, Kf = Rd, Iee = cee, Pee = dee, Lee =
|
|
54893
|
+
})($S);
|
|
54894
|
+
const Vd = ai, Kf = Rd, Iee = cee, Pee = dee, Lee = ES, Dee = IS, vh = PS, yh = Nd, Ree = pee, Qc = RS, Nee = BS, Bee = go, Wf = $S;
|
|
54895
54895
|
function Vee(t, e) {
|
|
54896
54896
|
const n = t.size, i = Dee.getPositions(e);
|
|
54897
54897
|
for (let r = 0; r < i.length; r++) {
|
|
@@ -55017,13 +55017,13 @@ Minimum version required to store current data is: ` + o + `.
|
|
|
55017
55017
|
segments: r
|
|
55018
55018
|
};
|
|
55019
55019
|
}
|
|
55020
|
-
|
|
55020
|
+
xS.create = function(e, n) {
|
|
55021
55021
|
if (typeof e > "u" || e === "")
|
|
55022
55022
|
throw new Error("No input text");
|
|
55023
55023
|
let i = Kf.M, r, o;
|
|
55024
55024
|
return typeof n < "u" && (i = Kf.from(n.errorCorrectionLevel, Kf.M), r = Qc.from(n.version), o = vh.from(n.maskPattern), n.toSJISFunc && Vd.setToSJISFunction(n.toSJISFunc)), Kee(e, r, i, o);
|
|
55025
55025
|
};
|
|
55026
|
-
var
|
|
55026
|
+
var FS = {}, Ym = {};
|
|
55027
55027
|
(function(t) {
|
|
55028
55028
|
function e(n) {
|
|
55029
55029
|
if (typeof n == "number" && (n = n.toString()), typeof n != "string")
|
|
@@ -55098,8 +55098,8 @@ var F6 = {}, Ym = {};
|
|
|
55098
55098
|
const u = t.render(o, s, l), c = l.type || "image/png", d = l.rendererOpts || {};
|
|
55099
55099
|
return u.toDataURL(c, d.quality);
|
|
55100
55100
|
};
|
|
55101
|
-
})(
|
|
55102
|
-
var
|
|
55101
|
+
})(FS);
|
|
55102
|
+
var HS = {};
|
|
55103
55103
|
const Wee = Ym;
|
|
55104
55104
|
function Eb(t, e) {
|
|
55105
55105
|
const n = t.a / 255, i = e + '="' + t.hex + '"';
|
|
@@ -55117,12 +55117,12 @@ function Xee(t, e, n) {
|
|
|
55117
55117
|
}
|
|
55118
55118
|
return i;
|
|
55119
55119
|
}
|
|
55120
|
-
|
|
55120
|
+
HS.render = function(e, n, i) {
|
|
55121
55121
|
const r = Wee.getOptions(n), o = e.modules.size, s = e.modules.data, a = o + r.margin * 2, l = r.color.light.a ? "<path " + Eb(r.color.light, "fill") + ' d="M0 0h' + a + "v" + a + 'H0z"/>' : "", u = "<path " + Eb(r.color.dark, "stroke") + ' d="' + Xee(s, o, r.margin) + '"/>', c = 'viewBox="0 0 ' + a + " " + a + '"', f = '<svg xmlns="http://www.w3.org/2000/svg" ' + (r.width ? 'width="' + r.width + '" height="' + r.width + '" ' : "") + c + ' shape-rendering="crispEdges">' + l + u + `</svg>
|
|
55122
55122
|
`;
|
|
55123
55123
|
return typeof i == "function" && i(null, f), f;
|
|
55124
55124
|
};
|
|
55125
|
-
const Zee = lee, bh =
|
|
55125
|
+
const Zee = lee, bh = xS, jS = FS, Gee = HS;
|
|
55126
55126
|
function _m(t, e, n, i, r) {
|
|
55127
55127
|
const o = [].slice.call(arguments, 1), s = o.length, a = typeof o[s - 1] == "function";
|
|
55128
55128
|
if (!a && !Zee())
|
|
@@ -55151,8 +55151,8 @@ function _m(t, e, n, i, r) {
|
|
|
55151
55151
|
}
|
|
55152
55152
|
}
|
|
55153
55153
|
Us.create = bh.create;
|
|
55154
|
-
Us.toCanvas = _m.bind(null,
|
|
55155
|
-
Us.toDataURL = _m.bind(null,
|
|
55154
|
+
Us.toCanvas = _m.bind(null, jS.render);
|
|
55155
|
+
Us.toDataURL = _m.bind(null, jS.renderToDataURL);
|
|
55156
55156
|
Us.toString = _m.bind(null, function(t, e, n) {
|
|
55157
55157
|
return Gee.render(t, n);
|
|
55158
55158
|
});
|
|
@@ -55694,7 +55694,7 @@ const Ib = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
55694
55694
|
R(gA, { "table-name": a.value }, null, 8, ["table-name"]),
|
|
55695
55695
|
R(oA, { "table-name": a.value }, null, 8, ["table-name"])
|
|
55696
55696
|
]),
|
|
55697
|
-
R(
|
|
55697
|
+
R(TS, {
|
|
55698
55698
|
fields: x(Cte),
|
|
55699
55699
|
"table-name": a.value
|
|
55700
55700
|
}, null, 8, ["fields", "table-name"]),
|
|
@@ -55884,7 +55884,7 @@ const Ib = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
55884
55884
|
if (n.submitFunction)
|
|
55885
55885
|
await n.submitFunction(y) && (s.add({ message: n.successMessage ?? O }), i("reported"), b());
|
|
55886
55886
|
else {
|
|
55887
|
-
const { data: P } = await (r === "Basic" ?
|
|
55887
|
+
const { data: P } = await (r === "Basic" ? _S : QS).putReportDamage(n.id, y);
|
|
55888
55888
|
P && (s.add({ message: n.successMessage ?? O }), i("reported"), b());
|
|
55889
55889
|
}
|
|
55890
55890
|
} catch (y) {
|
|
@@ -56163,7 +56163,7 @@ const Ib = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
56163
56163
|
_: 1
|
|
56164
56164
|
}, 8, ["visible", "header"]));
|
|
56165
56165
|
}
|
|
56166
|
-
}), $te = "data:image/svg+xml,%3csvg%20width='125'%20height='125'%20viewBox='0%200%20125%20125'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20x='0.25'%20y='0.25'%20width='124.5'%20height='124.5'%20rx='7.75'%20fill='%23EBEAF0'/%3e%3crect%20x='0.25'%20y='0.25'%20width='124.5'%20height='124.5'%20rx='7.75'%20stroke='%23D9DBE9'%20stroke-width='0.5'/%3e%3crect%20x='26'%20y='32'%20width='74'%20height='62'%20fill='url(%23pattern0_7801_14173)'%20fill-opacity='0.25'/%3e%3cdefs%3e%3cpattern%20id='pattern0_7801_14173'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_7801_14173'%20transform='matrix(0.00382482%200%200%200.00458979%200.0059523%200)'/%3e%3c/pattern%3e%3cimage%20id='image0_7801_14173'%20width='747'%20height='215'%20preserveAspectRatio='none'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAusAAADXCAMAAACUAO/wAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAuIwAALiMBeKU/dgAAADNQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAowVGyQAAABF0Uk5TAECAIBB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dGY3o+TGKUAZPcBaUXDdGD/f5Rh0zKHtbPcYOgyjqyc5wU3rVErFnoQiuB7YPkrcZ00uWdihK7VwCD+a/E+JUSQoV/O7tbS4yXQDA3HZkJjz8tvv7YBargNHJ/nS1Ah5OzhwpJ2tccEkwG/nywmLLaoxyZy1+BxnDXEKymC4+RoEF7jDBOz+3JyMS/3F4mWD3l6JdsyOe4BxwNvJlFR+awa427LOEdHbEEx+jgANHI1+/OEG6I5oJPHgSh31xKj5GARvWRr5+ufjsutofH0sMkgLVd0Z8jAIv0D5Iv4xNVguluzXUCwN1GvExCgJAxUF6KmFGC6W758r0j/Lt0AVuBAIrUB+kd9MWRhV+e6gXBkwaVeJjFIQDiYMMaMblyvhzhHqxTik+RsFimD7IkDJx9qZHrK1S84zGh0HSjQQxoMdBBgkFS99ptPuQG+opxMcoiAbVBxloQCmPOCfUC8P8tdmku4ngQhiFe3A/Ubwae3Dh3GFxKj5GwQroE5h8djd1IBVOPSpqmPgtTsXHKFgJnXAPWUiOMKPAQvVLh1J8jIJVUS7ru6brmGWF/+M2xhIIIkNJ21igXwSCFPCKoF8EgiTQVwZbIvsFgkTQfALiXwSCJCGeQsFm+AcZhLyXgtxmbAAAAABJRU5ErkJggg=='/%3e%3c/defs%3e%3c/svg%3e", { plan: U6 } = JSON.parse(localStorage.getItem("user") ?? "{}"), wo = (t) => {
|
|
56166
|
+
}), $te = "data:image/svg+xml,%3csvg%20width='125'%20height='125'%20viewBox='0%200%20125%20125'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20x='0.25'%20y='0.25'%20width='124.5'%20height='124.5'%20rx='7.75'%20fill='%23EBEAF0'/%3e%3crect%20x='0.25'%20y='0.25'%20width='124.5'%20height='124.5'%20rx='7.75'%20stroke='%23D9DBE9'%20stroke-width='0.5'/%3e%3crect%20x='26'%20y='32'%20width='74'%20height='62'%20fill='url(%23pattern0_7801_14173)'%20fill-opacity='0.25'/%3e%3cdefs%3e%3cpattern%20id='pattern0_7801_14173'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_7801_14173'%20transform='matrix(0.00382482%200%200%200.00458979%200.0059523%200)'/%3e%3c/pattern%3e%3cimage%20id='image0_7801_14173'%20width='747'%20height='215'%20preserveAspectRatio='none'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAusAAADXCAMAAACUAO/wAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAuIwAALiMBeKU/dgAAADNQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAowVGyQAAABF0Uk5TAECAIBBw/7DAYJDgMKDw0FBIfQQ/AAAbK0lEQVR4nO1d6bqjIAy9Lm1ttbbv/7Qz1g1IAgFxQXN+zTf1KuIxHkKWv78ZWU4gK/5SQ3mjbua299AEB8CdRL730LyR0TeT7T02wf4QrguuApoej72H5g3husAGmh7V3kPzxlO4LrDgTFzPhesCC2h63PcemjeE6wIbXtV5uP6i7qR+pOdAFayB5o0zpNx7YL7AX9vqmdyNCNZD8TjFdx/jep3cXQhWxu0MXG/hPTzEpgtMIP665DbW4S289x6S4IiAoj21jVO4lfQRqy5AUAIFkJqD/Zu+ChNsA6BiPnuPyBPAvZ7ayyrYCiUwi3uPyBPAmfTde0SCowJwJTEJUCf+rgq2A9AAaTliwHdJJIyAAvBjpBXVC4b/2ntEgsOiMMlS7z0iL4DP0nPvEQmOC+B1TCpiCkQINHuPSHBcALYkZRnNwcvSVEADqICUttiBXJelqYAGoEtKgh0Er8vSVEAD7iYlJHk/SQswwdYAfEnHww6cSGktrAVbA+iAdEJiQAB+SvpLsD1gpGAyxhF8klJaVwu2BxTsqYgYKGFErgusANYxFREDcwglTUNgBaywkognBsQ4pvKSCvZCA7iehuyF405FfAl2A7CP7d4jYgEmyybyPRLsB1g6K4U1HsyVFY+jwAUoBlIQvnBlKgEC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%3e%3c/svg%3e", { plan: US } = JSON.parse(localStorage.getItem("user") ?? "{}"), wo = (t) => {
|
|
56167
56167
|
const e = [], n = window.location.pathname, i = qs(t);
|
|
56168
56168
|
return n.includes("approval") ? i.approver && e.push("Approval") : (i.manager && e.push("Manager"), i.monitoringReport && e.push("Monitoring"), i.staff && e.push("Staff")), e;
|
|
56169
56169
|
}, zte = () => {
|
|
@@ -56243,7 +56243,7 @@ const Ib = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
56243
56243
|
return {};
|
|
56244
56244
|
}, Fte = async (t, e) => {
|
|
56245
56245
|
try {
|
|
56246
|
-
const n =
|
|
56246
|
+
const n = US === "Basic" ? r3 : o3, { systemRole: i, transactionAttribute: r, roleType: o } = e ?? zte(), s = {
|
|
56247
56247
|
systemRole: i ? JSON.stringify(i) : void 0,
|
|
56248
56248
|
transactionAttribute: r ? JSON.stringify(r) : void 0,
|
|
56249
56249
|
roleType: o ? JSON.stringify(o) : void 0
|
|
@@ -56270,7 +56270,7 @@ const Ib = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
56270
56270
|
libPath: "admin"
|
|
56271
56271
|
},
|
|
56272
56272
|
Image: {
|
|
56273
|
-
getImageURL:
|
|
56273
|
+
getImageURL: US === "Basic" ? i3 : qf,
|
|
56274
56274
|
placeholder: $te
|
|
56275
56275
|
},
|
|
56276
56276
|
DataTable: {
|
|
@@ -56406,7 +56406,7 @@ export {
|
|
|
56406
56406
|
_Q as DialogSelectUser,
|
|
56407
56407
|
ul as Dropdown,
|
|
56408
56408
|
Pne as FileUpload,
|
|
56409
|
-
|
|
56409
|
+
TS as FilterContainer,
|
|
56410
56410
|
pne as Focus,
|
|
56411
56411
|
_A as Form,
|
|
56412
56412
|
De as Icon,
|