@fewangsit/wangsvue-fats 1.0.0-alpha.128 → 1.0.0-alpha.129
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/package.json +1 -1
- package/stats.html +1 -1
- package/wangsvue-fats.js +302 -296
- package/wangsvue-fats.system.js +9 -9
package/wangsvue-fats.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var ft = (t, e, n) =>
|
|
1
|
+
var Y6 = Object.defineProperty;
|
|
2
|
+
var Q6 = (t, e, n) => e in t ? Y6(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var ft = (t, e, n) => Q6(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
4
|
import { inject as lt, shallowRef as oe, ref as ie, readonly as zb, getCurrentInstance as co, onMounted as pt, nextTick as St, watch as $e, mergeProps as C, reactive as Jt, computed as Z, unref as x, isRef as Qu, provide as Ua, toValue as Tt, onBeforeUnmount as Pi, watchEffect as nd, shallowReactive as e3, defineComponent as be, h as tr, withDirectives as nt, createElementBlock as T, openBlock as g, renderSlot as ee, createTextVNode as it, toDisplayString as _, createElementVNode as M, resolveComponent as Je, resolveDirective as jt, createBlock as P, createCommentVNode as D, normalizeClass as he, Fragment as ae, withCtx as F, normalizeProps as _e, Teleport as Ch, createVNode as L, Transition as fo, resolveDynamicComponent as ut, createSlots as un, renderList as Xe, mergeModels as Yt, useModel as $n, guardReactiveProps as ht, withModifiers as yt, onUnmounted as Js, vShow as Pn, normalizeStyle as qi, useSlots as id, TransitionGroup as t3, onBeforeMount as Fb, withKeys as dn, toHandlers as As, vModelText as Hb, markRaw as jb, render as Sg, customRef as n3 } from "vue";
|
|
5
5
|
import { navigateToUrl as rd } from "single-spa";
|
|
6
6
|
import { I18nService as i3, ChangelogServices as r3, AssetServices as zo, DisposalServices as Ub, getImageURL as Kb, TAGServices as Wb, AssetNameServices as Cg, DamageServicesGo as Xb, DamageServices as o3, TrackingServices as s3, MissingServicesGo as a3, MissingServices as l3, TransferServicesGo as u3, TransferServices as c3, getImageURLGo as d3, GroupCategoryServicesGo as f3, GroupCategoryServices as p3 } from "@tagsamurai/fats-api-services";
|
|
@@ -6275,7 +6275,7 @@ const g7 = /* @__PURE__ */ cd(class extends ld {
|
|
|
6275
6275
|
this.__registerHost();
|
|
6276
6276
|
}
|
|
6277
6277
|
render() {
|
|
6278
|
-
return Xn(Xl, { key: "
|
|
6278
|
+
return Xn(Xl, { key: "b38f4386d6fb33972469caffc9b7f95b7fb0e7c9" }, Xn("slot", { key: "e1f130e8171a7ac985fc07612e3e8a693d6058ea", name: "icon" }), Xn("slot", { key: "f7395cc5ea9dc2d6125bf3e30a97e0303dab43e0" }, this.label));
|
|
6279
6279
|
}
|
|
6280
6280
|
}, [4, "wangs-button", {
|
|
6281
6281
|
label: [1]
|
|
@@ -6321,7 +6321,7 @@ const y7 = v7, b7 = /* @__PURE__ */ cd(class extends ld {
|
|
|
6321
6321
|
return `icon ic-${this.icon} cursor-pointer !shrink-0`;
|
|
6322
6322
|
}
|
|
6323
6323
|
render() {
|
|
6324
|
-
return Xn(Xl, { key: "
|
|
6324
|
+
return Xn(Xl, { key: "5cab8f5fe45204596e7fa4a154bd03c23bf2b525", class: this.getIconClass() });
|
|
6325
6325
|
}
|
|
6326
6326
|
}, [0, "wangs-icon", {
|
|
6327
6327
|
icon: [1],
|
|
@@ -6614,7 +6614,7 @@ const S7 = /* @__PURE__ */ cd(class extends ld {
|
|
|
6614
6614
|
};
|
|
6615
6615
|
}
|
|
6616
6616
|
render() {
|
|
6617
|
-
return Xn(Xl, { key: "
|
|
6617
|
+
return Xn(Xl, { key: "844b6b24ab1e9755147b855a1bfe18e13998eb26", class: this.cx("root", this.getPtmo()) }, Array.from({ length: this.length }).map((n, i) => Xn("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 })));
|
|
6618
6618
|
}
|
|
6619
6619
|
static get watchers() {
|
|
6620
6620
|
return {
|
|
@@ -6906,7 +6906,7 @@ const Qd = new O7(), T7 = /* @__PURE__ */ cd(class extends ld {
|
|
|
6906
6906
|
};
|
|
6907
6907
|
}
|
|
6908
6908
|
render() {
|
|
6909
|
-
return Xn(Xl, { key: "
|
|
6909
|
+
return Xn(Xl, { key: "4a399a4b6412de58edb4f06df1ff9246654981a7", ...this.ptm("root") }, Xn("ul", { key: "37930281d1b0ec7d17a1eb9089edd5fbe89109f7", ...this.ptm("menu", this.getPtmo()), role: "menubar", ref: (n) => this.navRef = n }, this.model.map((n, i) => this.visible(n) ? Xn("li", { key: this.label(n) + "_" + i, class: this.cx("menuitem", this.getPtmo(n, i)), role: "presentation", "data-ui-highlight": (this.currentActiveIndex === i).toString(), "data-ui-disabled": this.disabled(n).toString(), onClick: (r) => this.onItemClick(r, n, i) }, Xn("a", { role: "menuitem", href: n.url ?? n.route ? Qd.normalizePath(n.url ?? n.route) : void 0, target: n.target, "aria-label": this.label(n), "aria-disabled": this.disabled(n) ? "true" : "false", tabIndex: -1, onClick: (r) => n.route && r.preventDefault(), ...this.ptm("action", this.getPtmo(n, i)) }, n.icon && Xn("wangs-icon", { icon: n.icon }), Xn("span", { class: this.cx("label") }, this.label(n)))) : null), Xn("li", { key: "2031b2abfd6285d4b513ad8bed9f522bd7413ecf", ref: (n) => this.inkbarRef = n, class: this.cx("inkbar", this.getPtmo()), role: "none" })));
|
|
6910
6910
|
}
|
|
6911
6911
|
static get watchers() {
|
|
6912
6912
|
return {
|
|
@@ -6954,9 +6954,9 @@ function Q0(t, e) {
|
|
|
6954
6954
|
}
|
|
6955
6955
|
Q0("WANGS-TAB-MENU", {
|
|
6956
6956
|
root: {
|
|
6957
|
-
class: "overflow-x-
|
|
6957
|
+
class: "overflow-x-visible"
|
|
6958
6958
|
},
|
|
6959
|
-
menu: {
|
|
6959
|
+
menu: ({ props: t }) => ({
|
|
6960
6960
|
class: [
|
|
6961
6961
|
// Flexbox
|
|
6962
6962
|
"flex flex-1",
|
|
@@ -6964,9 +6964,10 @@ Q0("WANGS-TAB-MENU", {
|
|
|
6964
6964
|
"list-none",
|
|
6965
6965
|
"p-0 m-0",
|
|
6966
6966
|
// Colors
|
|
6967
|
-
"text-general-100"
|
|
6967
|
+
"text-general-100",
|
|
6968
|
+
{ "w-max ring-1 ring-inset ring-general-100 rounded": t.type === "segmented" }
|
|
6968
6969
|
]
|
|
6969
|
-
},
|
|
6970
|
+
}),
|
|
6970
6971
|
menuitem: {
|
|
6971
6972
|
class: "mr-0"
|
|
6972
6973
|
},
|
|
@@ -6983,13 +6984,16 @@ Q0("WANGS-TAB-MENU", {
|
|
|
6983
6984
|
// Spacing
|
|
6984
6985
|
{
|
|
6985
6986
|
"rounded-xl py-1 px-3": t.type === "pill",
|
|
6986
|
-
|
|
6987
|
+
rounded: t.type === "segmented",
|
|
6988
|
+
"p-2 pb-1.5 pt-0.5 !h-6": t.type === "tab",
|
|
6989
|
+
"py-[5px] px-3 !h-6": t.type === "segmented",
|
|
6987
6990
|
"ml-1": t.type === "pill" && e.index !== 0,
|
|
6988
6991
|
"gap-1": e.item.icon
|
|
6989
6992
|
},
|
|
6990
6993
|
// Shape
|
|
6991
6994
|
{
|
|
6992
|
-
"border-b-2": t.type
|
|
6995
|
+
"border-b-2": t.type === "tab",
|
|
6996
|
+
"shadow-[-2px_2px_2px_rgba(0,0,0,0.25)] overflow-visible": t.type === "segmented" && e.active
|
|
6993
6997
|
},
|
|
6994
6998
|
// Colors and Conditions
|
|
6995
6999
|
{
|
|
@@ -6999,6 +7003,8 @@ Q0("WANGS-TAB-MENU", {
|
|
|
6999
7003
|
"text-primary-700": e.active && t.type === "tab",
|
|
7000
7004
|
"bg-primary-700 text-white": t.type === "pill" && e.active,
|
|
7001
7005
|
"bg-grayscale-100 text-grayscale-800": t.type === "pill" && !e.active,
|
|
7006
|
+
"bg-primary-500 text-white": t.type === "segmented" && e.active,
|
|
7007
|
+
"!text-general-800": t.type === "segmented" && !e.active,
|
|
7002
7008
|
"bg-transparent ": t.type !== "pill" && !e.active
|
|
7003
7009
|
},
|
|
7004
7010
|
// States
|
|
@@ -7027,7 +7033,7 @@ Q0("WANGS-TAB-MENU", {
|
|
|
7027
7033
|
class: "mr-2"
|
|
7028
7034
|
},
|
|
7029
7035
|
inkbar: ({ props: t }) => ({
|
|
7030
|
-
class: ["grow border-b-2 border-grayscale-400", { hidden: t.type === "pill" || t.useTrailingLine === !1 }]
|
|
7036
|
+
class: ["grow border-b-2 border-grayscale-400", { hidden: t.type === "pill" || t.useTrailingLine === !1 || t.type === "segmented" }]
|
|
7031
7037
|
})
|
|
7032
7038
|
});
|
|
7033
7039
|
Q0("WANGS-INPUT-OTP", {
|
|
@@ -40124,7 +40130,7 @@ function kf(t, e) {
|
|
|
40124
40130
|
let n = e ? t.top : t.bottom;
|
|
40125
40131
|
return { top: n, bottom: n, left: t.left, right: t.right };
|
|
40126
40132
|
}
|
|
40127
|
-
function
|
|
40133
|
+
function eS(t, e, n) {
|
|
40128
40134
|
let i = t.state, r = t.root.activeElement;
|
|
40129
40135
|
i != e && t.updateState(e), r != t.dom && t.focus();
|
|
40130
40136
|
try {
|
|
@@ -40135,7 +40141,7 @@ function e6(t, e, n) {
|
|
|
40135
40141
|
}
|
|
40136
40142
|
function uX(t, e, n) {
|
|
40137
40143
|
let i = e.selection, r = n == "up" ? i.$from : i.$to;
|
|
40138
|
-
return
|
|
40144
|
+
return eS(t, e, () => {
|
|
40139
40145
|
let { node: o } = t.docView.domFromPos(r.pos, n == "up" ? -1 : 1);
|
|
40140
40146
|
for (; ; ) {
|
|
40141
40147
|
let a = t.docView.nearestDesc(o, !0);
|
|
@@ -40171,7 +40177,7 @@ function dX(t, e, n) {
|
|
|
40171
40177
|
if (!i.parent.isTextblock)
|
|
40172
40178
|
return !1;
|
|
40173
40179
|
let r = i.parentOffset, o = !r, s = r == i.parent.content.size, a = t.domSelection();
|
|
40174
|
-
return a ? !cX.test(i.parent.textContent) || !a.modify ? n == "left" || n == "backward" ? o : s :
|
|
40180
|
+
return a ? !cX.test(i.parent.textContent) || !a.modify ? n == "left" || n == "backward" ? o : s : eS(t, e, () => {
|
|
40175
40181
|
let { focusNode: l, focusOffset: u, anchorNode: c, anchorOffset: d } = t.domSelectionRange(), f = a.caretBidiLevel;
|
|
40176
40182
|
a.modify("move", n, "character");
|
|
40177
40183
|
let p = i.depth ? t.docView.domAfterPos(i.before()) : t.dom, { focusNode: h, focusOffset: m } = t.domSelectionRange(), y = h && !p.contains(h.nodeType == 1 ? h : h.parentNode) || l == h && u == m;
|
|
@@ -40358,7 +40364,7 @@ class _l {
|
|
|
40358
40364
|
let i = 0, r = 0;
|
|
40359
40365
|
for (let o = 0; i < this.children.length; i++) {
|
|
40360
40366
|
let s = this.children[i], a = o + s.size;
|
|
40361
|
-
if (a > e || s instanceof
|
|
40367
|
+
if (a > e || s instanceof nS) {
|
|
40362
40368
|
r = e - o;
|
|
40363
40369
|
break;
|
|
40364
40370
|
}
|
|
@@ -40366,7 +40372,7 @@ class _l {
|
|
|
40366
40372
|
}
|
|
40367
40373
|
if (r)
|
|
40368
40374
|
return this.children[i].domFromPos(r - this.children[i].border, n);
|
|
40369
|
-
for (let o; i && !(o = this.children[i - 1]).size && o instanceof
|
|
40375
|
+
for (let o; i && !(o = this.children[i - 1]).size && o instanceof tS && o.side >= 0; i--)
|
|
40370
40376
|
;
|
|
40371
40377
|
if (n <= 0) {
|
|
40372
40378
|
let o, s = !0;
|
|
@@ -40528,7 +40534,7 @@ class _l {
|
|
|
40528
40534
|
return !1;
|
|
40529
40535
|
}
|
|
40530
40536
|
}
|
|
40531
|
-
class
|
|
40537
|
+
class tS extends _l {
|
|
40532
40538
|
constructor(e, n, i, r) {
|
|
40533
40539
|
let o, s = n.type.toDOM;
|
|
40534
40540
|
if (typeof s == "function" && (s = s(i, () => {
|
|
@@ -40649,7 +40655,7 @@ class io extends _l {
|
|
|
40649
40655
|
} else c || ({ dom: c, contentDOM: d } = is.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
|
|
40650
40656
|
!d && !n.isText && c.nodeName != "BR" && (c.hasAttribute("contenteditable") || (c.contentEditable = "false"), n.type.spec.draggable && (c.draggable = !0));
|
|
40651
40657
|
let f = c;
|
|
40652
|
-
return c =
|
|
40658
|
+
return c = oS(c, i, n), u ? l = new hX(e, n, i, r, c, d || null, f, u, o, s + 1) : n.isText ? new Od(e, n, i, r, c, f, o) : new io(e, n, i, r, c, d || null, f, o, s + 1);
|
|
40653
40659
|
}
|
|
40654
40660
|
parseRule() {
|
|
40655
40661
|
if (this.node.type.spec.reparseInView)
|
|
@@ -40692,7 +40698,7 @@ class io extends _l {
|
|
|
40692
40698
|
l.syncToMarks(u.marks, i, e);
|
|
40693
40699
|
let p;
|
|
40694
40700
|
l.findNodeMatch(u, c, d, f) || a && e.state.selection.from > r && e.state.selection.to < r + u.nodeSize && (p = l.findIndexWithChild(o.node)) > -1 && l.updateNodeAt(u, c, d, p, e) || l.updateNextNode(u, c, d, e, f, r) || l.addNode(u, c, d, e, r), r += u.nodeSize;
|
|
40695
|
-
}), l.syncToMarks([], i, e), this.node.isTextblock && l.addTextblockHacks(), l.destroyRest(), (l.changed || this.dirty == Mo) && (s && this.protectLocalComposition(e, s),
|
|
40701
|
+
}), l.syncToMarks([], i, e), this.node.isTextblock && l.addTextblockHacks(), l.destroyRest(), (l.changed || this.dirty == Mo) && (s && this.protectLocalComposition(e, s), iS(this.contentDOM, this.children, e), $s && AX(this.dom));
|
|
40696
40702
|
}
|
|
40697
40703
|
localCompositionInfo(e, n) {
|
|
40698
40704
|
let { from: i, to: r } = e.state.selection;
|
|
@@ -40733,7 +40739,7 @@ class io extends _l {
|
|
|
40733
40739
|
if (gc(e, this.outerDeco))
|
|
40734
40740
|
return;
|
|
40735
40741
|
let n = this.nodeDOM.nodeType != 1, i = this.dom;
|
|
40736
|
-
this.dom =
|
|
40742
|
+
this.dom = rS(this.dom, this.nodeDOM, Yp(this.outerDeco, this.node, n), Yp(e, this.node, n)), this.dom != i && (i.pmViewDesc = void 0, this.dom.pmViewDesc = this), this.outerDeco = e;
|
|
40737
40743
|
}
|
|
40738
40744
|
// Mark this node as being the selected node.
|
|
40739
40745
|
selectNode() {
|
|
@@ -40748,7 +40754,7 @@ class io extends _l {
|
|
|
40748
40754
|
}
|
|
40749
40755
|
}
|
|
40750
40756
|
function ky(t, e, n, i, r) {
|
|
40751
|
-
|
|
40757
|
+
oS(i, e, t);
|
|
40752
40758
|
let o = new io(void 0, t, e, n, i, i, i, r, 0);
|
|
40753
40759
|
return o.contentDOM && o.updateChildren(r, 0), o;
|
|
40754
40760
|
}
|
|
@@ -40795,7 +40801,7 @@ class Od extends io {
|
|
|
40795
40801
|
return this.node.text == e;
|
|
40796
40802
|
}
|
|
40797
40803
|
}
|
|
40798
|
-
class
|
|
40804
|
+
class nS extends _l {
|
|
40799
40805
|
parseRule() {
|
|
40800
40806
|
return { ignore: !0 };
|
|
40801
40807
|
}
|
|
@@ -40843,7 +40849,7 @@ class hX extends io {
|
|
|
40843
40849
|
return this.spec.ignoreMutation ? this.spec.ignoreMutation(e) : super.ignoreMutation(e);
|
|
40844
40850
|
}
|
|
40845
40851
|
}
|
|
40846
|
-
function
|
|
40852
|
+
function iS(t, e, n) {
|
|
40847
40853
|
let i = t.firstChild, r = !1;
|
|
40848
40854
|
for (let o = 0; o < e.length; o++) {
|
|
40849
40855
|
let s = e[o], a = s.dom;
|
|
@@ -40855,7 +40861,7 @@ function i6(t, e, n) {
|
|
|
40855
40861
|
r = !0, t.insertBefore(a, i);
|
|
40856
40862
|
if (s instanceof Zo) {
|
|
40857
40863
|
let l = i ? i.previousSibling : t.lastChild;
|
|
40858
|
-
|
|
40864
|
+
iS(s.contentDOM, s.children, n), i = l ? l.nextSibling : t.firstChild;
|
|
40859
40865
|
}
|
|
40860
40866
|
}
|
|
40861
40867
|
for (; i; )
|
|
@@ -40883,7 +40889,7 @@ function Yp(t, e, n) {
|
|
|
40883
40889
|
}
|
|
40884
40890
|
return r;
|
|
40885
40891
|
}
|
|
40886
|
-
function
|
|
40892
|
+
function rS(t, e, n, i) {
|
|
40887
40893
|
if (n == Eo && i == Eo)
|
|
40888
40894
|
return e;
|
|
40889
40895
|
let r = e;
|
|
@@ -40919,8 +40925,8 @@ function mX(t, e, n) {
|
|
|
40919
40925
|
n.style && (t.style.cssText += n.style);
|
|
40920
40926
|
}
|
|
40921
40927
|
}
|
|
40922
|
-
function
|
|
40923
|
-
return
|
|
40928
|
+
function oS(t, e, n) {
|
|
40929
|
+
return rS(t, t, Eo, Yp(e, n, t.nodeType != 1));
|
|
40924
40930
|
}
|
|
40925
40931
|
function gc(t, e) {
|
|
40926
40932
|
if (t.length != e.length)
|
|
@@ -41057,7 +41063,7 @@ class gX {
|
|
|
41057
41063
|
if (r && r.matchesWidget(e) && (e == r.widget || !r.widget.type.toDOM.parentNode))
|
|
41058
41064
|
this.index++;
|
|
41059
41065
|
else {
|
|
41060
|
-
let o = new
|
|
41066
|
+
let o = new tS(this.top, e, n, i);
|
|
41061
41067
|
this.top.children.splice(this.index++, 0, o), this.changed = !0;
|
|
41062
41068
|
}
|
|
41063
41069
|
}
|
|
@@ -41076,7 +41082,7 @@ class gX {
|
|
|
41076
41082
|
else {
|
|
41077
41083
|
let i = document.createElement(e);
|
|
41078
41084
|
e == "IMG" && (i.className = "ProseMirror-separator", i.alt = ""), e == "BR" && (i.className = "ProseMirror-trailingBreak");
|
|
41079
|
-
let r = new
|
|
41085
|
+
let r = new nS(this.top, [], i, null);
|
|
41080
41086
|
n != this.top ? n.children.push(r) : n.children.splice(this.index++, 0, r), this.changed = !0;
|
|
41081
41087
|
}
|
|
41082
41088
|
}
|
|
@@ -41238,12 +41244,12 @@ function gm(t, e = null) {
|
|
|
41238
41244
|
}
|
|
41239
41245
|
return u;
|
|
41240
41246
|
}
|
|
41241
|
-
function
|
|
41242
|
-
return t.editable ? t.hasFocus() :
|
|
41247
|
+
function sS(t) {
|
|
41248
|
+
return t.editable ? t.hasFocus() : lS(t) && document.activeElement && document.activeElement.contains(t.dom);
|
|
41243
41249
|
}
|
|
41244
41250
|
function wr(t, e = !1) {
|
|
41245
41251
|
let n = t.state.selection;
|
|
41246
|
-
if (
|
|
41252
|
+
if (aS(t, n), !!sS(t)) {
|
|
41247
41253
|
if (!e && t.input.mouseDown && t.input.mouseDown.allowDefault && Ln) {
|
|
41248
41254
|
let i = t.domSelectionRange(), r = t.domObserver.currentSelection;
|
|
41249
41255
|
if (i.anchorNode && r.anchorNode && qo(i.anchorNode, i.anchorOffset, r.anchorNode, r.anchorOffset)) {
|
|
@@ -41284,7 +41290,7 @@ function SX(t) {
|
|
|
41284
41290
|
let n = t.domSelectionRange(), i = n.anchorNode, r = n.anchorOffset;
|
|
41285
41291
|
e.addEventListener("selectionchange", t.input.hideSelectionGuard = () => {
|
|
41286
41292
|
(n.anchorNode != i || n.anchorOffset != r) && (e.removeEventListener("selectionchange", t.input.hideSelectionGuard), setTimeout(() => {
|
|
41287
|
-
(!
|
|
41293
|
+
(!sS(t) || t.state.selection.visible) && t.dom.classList.remove("ProseMirror-hideselection");
|
|
41288
41294
|
}, 20));
|
|
41289
41295
|
});
|
|
41290
41296
|
}
|
|
@@ -41295,7 +41301,7 @@ function CX(t) {
|
|
|
41295
41301
|
let i = t.cursorWrapper.dom, r = i.nodeName == "IMG";
|
|
41296
41302
|
r ? n.setStart(i.parentNode, kn(i) + 1) : n.setStart(i, 0), n.collapse(!0), e.removeAllRanges(), e.addRange(n), !r && !t.state.selection.visible && _n && no <= 11 && (i.disabled = !0, i.disabled = !1);
|
|
41297
41303
|
}
|
|
41298
|
-
function
|
|
41304
|
+
function aS(t, e) {
|
|
41299
41305
|
if (e instanceof rt) {
|
|
41300
41306
|
let n = t.docView.descAt(e.from);
|
|
41301
41307
|
n != t.lastSelectedViewDesc && (Ey(t), n && n.selectNode(), t.lastSelectedViewDesc = n);
|
|
@@ -41309,9 +41315,9 @@ function vm(t, e, n, i) {
|
|
|
41309
41315
|
return t.someProp("createSelectionBetween", (r) => r(t, e, n)) || gt.between(e, n, i);
|
|
41310
41316
|
}
|
|
41311
41317
|
function Iy(t) {
|
|
41312
|
-
return t.editable && !t.hasFocus() ? !1 :
|
|
41318
|
+
return t.editable && !t.hasFocus() ? !1 : lS(t);
|
|
41313
41319
|
}
|
|
41314
|
-
function
|
|
41320
|
+
function lS(t) {
|
|
41315
41321
|
let e = t.domSelectionRange();
|
|
41316
41322
|
if (!e.anchorNode)
|
|
41317
41323
|
return !1;
|
|
@@ -41391,7 +41397,7 @@ function OX(t) {
|
|
|
41391
41397
|
break;
|
|
41392
41398
|
}
|
|
41393
41399
|
} else {
|
|
41394
|
-
if (
|
|
41400
|
+
if (uS(n))
|
|
41395
41401
|
break;
|
|
41396
41402
|
{
|
|
41397
41403
|
let a = n.previousSibling;
|
|
@@ -41423,7 +41429,7 @@ function TX(t) {
|
|
|
41423
41429
|
else
|
|
41424
41430
|
break;
|
|
41425
41431
|
} else {
|
|
41426
|
-
if (
|
|
41432
|
+
if (uS(n))
|
|
41427
41433
|
break;
|
|
41428
41434
|
{
|
|
41429
41435
|
let a = n.nextSibling;
|
|
@@ -41440,7 +41446,7 @@ function TX(t) {
|
|
|
41440
41446
|
}
|
|
41441
41447
|
o && th(t, o, s);
|
|
41442
41448
|
}
|
|
41443
|
-
function
|
|
41449
|
+
function uS(t) {
|
|
41444
41450
|
let e = t.pmViewDesc;
|
|
41445
41451
|
return e && e.node && e.node.isBlock;
|
|
41446
41452
|
}
|
|
@@ -41587,10 +41593,10 @@ function ym(t, e) {
|
|
|
41587
41593
|
let p = i.firstChild;
|
|
41588
41594
|
n.push(p.type.name, p.attrs != p.type.defaultAttrs ? p.attrs : null), i = p.content;
|
|
41589
41595
|
}
|
|
41590
|
-
let s = t.someProp("clipboardSerializer") || is.fromSchema(t.state.schema), a =
|
|
41596
|
+
let s = t.someProp("clipboardSerializer") || is.fromSchema(t.state.schema), a = mS(), l = a.createElement("div");
|
|
41591
41597
|
l.appendChild(s.serializeFragment(i, { document: a }));
|
|
41592
41598
|
let u = l.firstChild, c, d = 0;
|
|
41593
|
-
for (; u && u.nodeType == 1 && (c =
|
|
41599
|
+
for (; u && u.nodeType == 1 && (c = hS[u.nodeName.toLowerCase()]); ) {
|
|
41594
41600
|
for (let p = c.length - 1; p >= 0; p--) {
|
|
41595
41601
|
let h = a.createElement(c[p]);
|
|
41596
41602
|
for (; l.firstChild; )
|
|
@@ -41605,7 +41611,7 @@ function ym(t, e) {
|
|
|
41605
41611
|
`);
|
|
41606
41612
|
return { dom: l, text: f, slice: e };
|
|
41607
41613
|
}
|
|
41608
|
-
function
|
|
41614
|
+
function cS(t, e, n, i, r) {
|
|
41609
41615
|
let o = r.parent.type.spec.code, s, a;
|
|
41610
41616
|
if (!n && !e)
|
|
41611
41617
|
return null;
|
|
@@ -41672,11 +41678,11 @@ function DX(t, e) {
|
|
|
41672
41678
|
let l = r.findWrapping(a.type), u;
|
|
41673
41679
|
if (!l)
|
|
41674
41680
|
return s = null;
|
|
41675
|
-
if (u = s.length && o.length &&
|
|
41681
|
+
if (u = s.length && o.length && fS(l, o, a, s[s.length - 1], 0))
|
|
41676
41682
|
s[s.length - 1] = u;
|
|
41677
41683
|
else {
|
|
41678
|
-
s.length && (s[s.length - 1] =
|
|
41679
|
-
let c =
|
|
41684
|
+
s.length && (s[s.length - 1] = pS(s[s.length - 1], o.length));
|
|
41685
|
+
let c = dS(a, l);
|
|
41680
41686
|
s.push(c), r = r.matchType(c.type), o = l;
|
|
41681
41687
|
}
|
|
41682
41688
|
}), s)
|
|
@@ -41684,24 +41690,24 @@ function DX(t, e) {
|
|
|
41684
41690
|
}
|
|
41685
41691
|
return t;
|
|
41686
41692
|
}
|
|
41687
|
-
function
|
|
41693
|
+
function dS(t, e, n = 0) {
|
|
41688
41694
|
for (let i = e.length - 1; i >= n; i--)
|
|
41689
41695
|
t = e[i].create(null, Ie.from(t));
|
|
41690
41696
|
return t;
|
|
41691
41697
|
}
|
|
41692
|
-
function
|
|
41698
|
+
function fS(t, e, n, i, r) {
|
|
41693
41699
|
if (r < t.length && r < e.length && t[r] == e[r]) {
|
|
41694
|
-
let o =
|
|
41700
|
+
let o = fS(t, e, n, i.lastChild, r + 1);
|
|
41695
41701
|
if (o)
|
|
41696
41702
|
return i.copy(i.content.replaceChild(i.childCount - 1, o));
|
|
41697
41703
|
if (i.contentMatchAt(i.childCount).matchType(r == t.length - 1 ? n.type : t[r + 1]))
|
|
41698
|
-
return i.copy(i.content.append(Ie.from(
|
|
41704
|
+
return i.copy(i.content.append(Ie.from(dS(n, t, r + 1))));
|
|
41699
41705
|
}
|
|
41700
41706
|
}
|
|
41701
|
-
function
|
|
41707
|
+
function pS(t, e) {
|
|
41702
41708
|
if (e == 0)
|
|
41703
41709
|
return t;
|
|
41704
|
-
let n = t.content.replaceChild(t.childCount - 1,
|
|
41710
|
+
let n = t.content.replaceChild(t.childCount - 1, pS(t.lastChild, e - 1)), i = t.contentMatchAt(t.childCount).fillBefore(Ie.empty, !0);
|
|
41705
41711
|
return t.copy(n.append(i));
|
|
41706
41712
|
}
|
|
41707
41713
|
function nh(t, e, n, i, r, o) {
|
|
@@ -41711,7 +41717,7 @@ function nh(t, e, n, i, r, o) {
|
|
|
41711
41717
|
function By(t, e, n) {
|
|
41712
41718
|
return e < t.openStart && (t = new Ue(nh(t.content, -1, e, t.openStart, 0, t.openEnd), e, t.openEnd)), n < t.openEnd && (t = new Ue(nh(t.content, 1, n, t.openEnd, 0, 0), t.openStart, n)), t;
|
|
41713
41719
|
}
|
|
41714
|
-
const
|
|
41720
|
+
const hS = {
|
|
41715
41721
|
thead: ["table"],
|
|
41716
41722
|
tbody: ["table"],
|
|
41717
41723
|
tfoot: ["table"],
|
|
@@ -41723,7 +41729,7 @@ const h6 = {
|
|
|
41723
41729
|
th: ["table", "tbody", "tr"]
|
|
41724
41730
|
};
|
|
41725
41731
|
let $y = null;
|
|
41726
|
-
function
|
|
41732
|
+
function mS() {
|
|
41727
41733
|
return $y || ($y = document.implementation.createHTMLDocument("title"));
|
|
41728
41734
|
}
|
|
41729
41735
|
let Tf = null;
|
|
@@ -41734,8 +41740,8 @@ function RX(t) {
|
|
|
41734
41740
|
function NX(t) {
|
|
41735
41741
|
let e = /^(\s*<meta [^>]*>)*/.exec(t);
|
|
41736
41742
|
e && (t = t.slice(e[0].length));
|
|
41737
|
-
let n =
|
|
41738
|
-
if ((r = i &&
|
|
41743
|
+
let n = mS().createElement("div"), i = /<([a-z][^>\s]+)/i.exec(t), r;
|
|
41744
|
+
if ((r = i && hS[i[1].toLowerCase()]) && (t = r.map((o) => "<" + o + ">").join("") + t + r.map((o) => "</" + o + ">").reverse().join("")), n.innerHTML = RX(t), r)
|
|
41739
41745
|
for (let o = 0; o < r.length; o++)
|
|
41740
41746
|
n = n.querySelector(r[o]) || n;
|
|
41741
41747
|
return n;
|
|
@@ -41816,7 +41822,7 @@ function UX(t, e) {
|
|
|
41816
41822
|
}
|
|
41817
41823
|
Hn.keydown = (t, e) => {
|
|
41818
41824
|
let n = e;
|
|
41819
|
-
if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !
|
|
41825
|
+
if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !vS(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(gr && Ln && n.keyCode == 13)))
|
|
41820
41826
|
if (n.keyCode != 229 && t.domObserver.forceFlush(), $s && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
|
|
41821
41827
|
let i = Date.now();
|
|
41822
41828
|
t.input.lastIOSEnter = i, t.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
|
|
@@ -41829,7 +41835,7 @@ Hn.keyup = (t, e) => {
|
|
|
41829
41835
|
};
|
|
41830
41836
|
Hn.keypress = (t, e) => {
|
|
41831
41837
|
let n = e;
|
|
41832
|
-
if (
|
|
41838
|
+
if (vS(t, n) || !n.charCode || n.ctrlKey && !n.altKey || hi && n.metaKey)
|
|
41833
41839
|
return;
|
|
41834
41840
|
if (t.someProp("handleKeyPress", (r) => r(t, n))) {
|
|
41835
41841
|
n.preventDefault();
|
|
@@ -41914,18 +41920,18 @@ function JX(t, e, n) {
|
|
|
41914
41920
|
function wm(t) {
|
|
41915
41921
|
return yc(t);
|
|
41916
41922
|
}
|
|
41917
|
-
const
|
|
41923
|
+
const gS = hi ? "metaKey" : "ctrlKey";
|
|
41918
41924
|
Fn.mousedown = (t, e) => {
|
|
41919
41925
|
let n = e;
|
|
41920
41926
|
t.input.shiftKey = n.shiftKey;
|
|
41921
41927
|
let i = wm(t), r = Date.now(), o = "singleClick";
|
|
41922
|
-
r - t.input.lastClick.time < 500 && KX(n, t.input.lastClick) && !n[
|
|
41928
|
+
r - t.input.lastClick.time < 500 && KX(n, t.input.lastClick) && !n[gS] && (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 };
|
|
41923
41929
|
let s = t.posAtCoords(Td(n));
|
|
41924
41930
|
s && (o == "singleClick" ? (t.input.mouseDown && t.input.mouseDown.done(), t.input.mouseDown = new _X(t, s, n, !!i)) : (o == "doubleClick" ? qX : ZX)(t, s.pos, s.inside, n) ? n.preventDefault() : Jr(t, "pointer"));
|
|
41925
41931
|
};
|
|
41926
41932
|
class _X {
|
|
41927
41933
|
constructor(e, n, i, r) {
|
|
41928
|
-
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[
|
|
41934
|
+
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[gS], this.allowDefault = i.shiftKey;
|
|
41929
41935
|
let o, s;
|
|
41930
41936
|
if (n.inside > -1)
|
|
41931
41937
|
o = e.state.doc.nodeAt(n.inside), s = n.inside;
|
|
@@ -41976,7 +41982,7 @@ Fn.touchmove = (t) => {
|
|
|
41976
41982
|
t.input.lastTouch = Date.now(), Jr(t, "pointer");
|
|
41977
41983
|
};
|
|
41978
41984
|
Fn.contextmenu = (t) => wm(t);
|
|
41979
|
-
function
|
|
41985
|
+
function vS(t, e) {
|
|
41980
41986
|
return t.composing ? !0 : zn && Math.abs(e.timeStamp - t.input.compositionEndedAt) < 500 ? (t.input.compositionEndedAt = -2e8, !0) : !1;
|
|
41981
41987
|
}
|
|
41982
41988
|
const YX = gr ? 5e3 : -1;
|
|
@@ -42002,15 +42008,15 @@ Hn.compositionstart = Hn.compositionupdate = (t) => {
|
|
|
42002
42008
|
}
|
|
42003
42009
|
t.input.composing = !0;
|
|
42004
42010
|
}
|
|
42005
|
-
|
|
42011
|
+
yS(t, YX);
|
|
42006
42012
|
};
|
|
42007
42013
|
Hn.compositionend = (t, e) => {
|
|
42008
|
-
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++,
|
|
42014
|
+
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++, yS(t, 20));
|
|
42009
42015
|
};
|
|
42010
|
-
function
|
|
42016
|
+
function yS(t, e) {
|
|
42011
42017
|
clearTimeout(t.input.composingTimeout), e > -1 && (t.input.composingTimeout = setTimeout(() => yc(t), e));
|
|
42012
42018
|
}
|
|
42013
|
-
function
|
|
42019
|
+
function bS(t) {
|
|
42014
42020
|
for (t.composing && (t.input.composing = !1, t.input.compositionEndedAt = eG()); t.input.compositionNodes.length > 0; )
|
|
42015
42021
|
t.input.compositionNodes.pop().markParentsDirty();
|
|
42016
42022
|
}
|
|
@@ -42039,7 +42045,7 @@ function eG() {
|
|
|
42039
42045
|
}
|
|
42040
42046
|
function yc(t, e = !1) {
|
|
42041
42047
|
if (!(gr && t.domObserver.flushingSoon >= 0)) {
|
|
42042
|
-
if (t.domObserver.forceFlush(),
|
|
42048
|
+
if (t.domObserver.forceFlush(), bS(t), e || t.docView && t.docView.dirty) {
|
|
42043
42049
|
let n = gm(t);
|
|
42044
42050
|
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;
|
|
42045
42051
|
}
|
|
@@ -42078,7 +42084,7 @@ function iG(t, e) {
|
|
|
42078
42084
|
}, 50);
|
|
42079
42085
|
}
|
|
42080
42086
|
function Nl(t, e, n, i, r) {
|
|
42081
|
-
let o =
|
|
42087
|
+
let o = cS(t, e, n, i, t.state.selection.$from);
|
|
42082
42088
|
if (t.someProp("handlePaste", (l) => l(t, r, o || Ue.empty)))
|
|
42083
42089
|
return !0;
|
|
42084
42090
|
if (!o)
|
|
@@ -42086,7 +42092,7 @@ function Nl(t, e, n, i, r) {
|
|
|
42086
42092
|
let s = nG(o), a = s ? t.state.tr.replaceSelectionWith(s, i) : t.state.tr.replaceSelection(o);
|
|
42087
42093
|
return t.dispatch(a.scrollIntoView().setMeta("paste", !0).setMeta("uiEvent", "paste")), !0;
|
|
42088
42094
|
}
|
|
42089
|
-
function
|
|
42095
|
+
function AS(t) {
|
|
42090
42096
|
let e = t.getData("text/plain") || t.getData("Text");
|
|
42091
42097
|
if (e)
|
|
42092
42098
|
return e;
|
|
@@ -42098,15 +42104,15 @@ Hn.paste = (t, e) => {
|
|
|
42098
42104
|
if (t.composing && !gr)
|
|
42099
42105
|
return;
|
|
42100
42106
|
let i = Rl ? null : n.clipboardData, r = t.input.shiftKey && t.input.lastKeyCode != 45;
|
|
42101
|
-
i && Nl(t,
|
|
42107
|
+
i && Nl(t, AS(i), i.getData("text/html"), r, n) ? n.preventDefault() : iG(t, n);
|
|
42102
42108
|
};
|
|
42103
|
-
class
|
|
42109
|
+
class wS {
|
|
42104
42110
|
constructor(e, n, i) {
|
|
42105
42111
|
this.slice = e, this.move = n, this.node = i;
|
|
42106
42112
|
}
|
|
42107
42113
|
}
|
|
42108
42114
|
const rG = hi ? "altKey" : "ctrlKey";
|
|
42109
|
-
function
|
|
42115
|
+
function SS(t, e) {
|
|
42110
42116
|
let n = t.someProp("dragCopies", (i) => !i(e));
|
|
42111
42117
|
return n ?? !e[rG];
|
|
42112
42118
|
}
|
|
@@ -42124,7 +42130,7 @@ Fn.dragstart = (t, e) => {
|
|
|
42124
42130
|
}
|
|
42125
42131
|
}
|
|
42126
42132
|
let a = (s || t.state.selection).content(), { dom: l, text: u, slice: c } = ym(t, a);
|
|
42127
|
-
(!n.dataTransfer.files.length || !Ln || qw > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(Rl ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", Rl || n.dataTransfer.setData("text/plain", u), t.dragging = new
|
|
42133
|
+
(!n.dataTransfer.files.length || !Ln || qw > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(Rl ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", Rl || n.dataTransfer.setData("text/plain", u), t.dragging = new wS(c, SS(t, n), s);
|
|
42128
42134
|
};
|
|
42129
42135
|
Fn.dragend = (t) => {
|
|
42130
42136
|
let e = t.dragging;
|
|
@@ -42143,8 +42149,8 @@ Hn.drop = (t, e) => {
|
|
|
42143
42149
|
let o = t.state.doc.resolve(r.pos), s = i && i.slice;
|
|
42144
42150
|
s ? t.someProp("transformPasted", (h) => {
|
|
42145
42151
|
s = h(s, t);
|
|
42146
|
-
}) : s =
|
|
42147
|
-
let a = !!(i &&
|
|
42152
|
+
}) : s = cS(t, AS(n.dataTransfer), Rl ? null : n.dataTransfer.getData("text/html"), !1, o);
|
|
42153
|
+
let a = !!(i && SS(t, n));
|
|
42148
42154
|
if (t.someProp("handleDrop", (h) => h(t, n, s || Ue.empty, a))) {
|
|
42149
42155
|
n.preventDefault();
|
|
42150
42156
|
return;
|
|
@@ -42405,13 +42411,13 @@ class rn {
|
|
|
42405
42411
|
let r, o = 0;
|
|
42406
42412
|
e.forEach((a, l) => {
|
|
42407
42413
|
let u = l + i, c;
|
|
42408
|
-
if (c =
|
|
42414
|
+
if (c = kS(n, a, u)) {
|
|
42409
42415
|
for (r || (r = this.children.slice()); o < r.length && r[o] < l; )
|
|
42410
42416
|
o += 3;
|
|
42411
42417
|
r[o] == l ? r[o + 2] = r[o + 2].addInner(a, c, u + 1) : r.splice(o, 0, l, l + a.nodeSize, Ac(c, a, u + 1, No)), o += 3;
|
|
42412
42418
|
}
|
|
42413
42419
|
});
|
|
42414
|
-
let s =
|
|
42420
|
+
let s = CS(o ? OS(n) : n, -i);
|
|
42415
42421
|
for (let a = 0; a < s.length; a++)
|
|
42416
42422
|
s[a].type.valid(e, s[a]) || s.splice(a--, 1);
|
|
42417
42423
|
return new rn(s.length ? this.local.concat(s).sort(Bo) : this.local, r || this.children);
|
|
@@ -42617,7 +42623,7 @@ function oG(t, e, n, i, r, o, s) {
|
|
|
42617
42623
|
}
|
|
42618
42624
|
return new rn(e.sort(Bo), a);
|
|
42619
42625
|
}
|
|
42620
|
-
function
|
|
42626
|
+
function CS(t, e) {
|
|
42621
42627
|
if (!e || !t.length)
|
|
42622
42628
|
return t;
|
|
42623
42629
|
let n = [];
|
|
@@ -42640,7 +42646,7 @@ function sG(t, e, n, i, r, o, s) {
|
|
|
42640
42646
|
t[l + 1] == -1 && a(t[l + 2], e[l] + o + 1);
|
|
42641
42647
|
return n;
|
|
42642
42648
|
}
|
|
42643
|
-
function
|
|
42649
|
+
function kS(t, e, n) {
|
|
42644
42650
|
if (e.isLeaf)
|
|
42645
42651
|
return null;
|
|
42646
42652
|
let i = n + e.nodeSize, r = null;
|
|
@@ -42648,7 +42654,7 @@ function k6(t, e, n) {
|
|
|
42648
42654
|
(s = t[o]) && s.from > n && s.to < i && ((r || (r = [])).push(s), t[o] = null);
|
|
42649
42655
|
return r;
|
|
42650
42656
|
}
|
|
42651
|
-
function
|
|
42657
|
+
function OS(t) {
|
|
42652
42658
|
let e = [];
|
|
42653
42659
|
for (let n = 0; n < t.length; n++)
|
|
42654
42660
|
t[n] != null && e.push(t[n]);
|
|
@@ -42657,14 +42663,14 @@ function O6(t) {
|
|
|
42657
42663
|
function Ac(t, e, n, i) {
|
|
42658
42664
|
let r = [], o = !1;
|
|
42659
42665
|
e.forEach((a, l) => {
|
|
42660
|
-
let u =
|
|
42666
|
+
let u = kS(t, a, l + n);
|
|
42661
42667
|
if (u) {
|
|
42662
42668
|
o = !0;
|
|
42663
42669
|
let c = Ac(u, a, n + l + 1, i);
|
|
42664
42670
|
c != In && r.push(l, l + a.nodeSize, c);
|
|
42665
42671
|
}
|
|
42666
42672
|
});
|
|
42667
|
-
let s =
|
|
42673
|
+
let s = CS(o ? OS(t) : t, -n).sort(Bo);
|
|
42668
42674
|
for (let a = 0; a < s.length; a++)
|
|
42669
42675
|
s[a].type.valid(e, s[a]) || (i.onRemove && i.onRemove(s[a].spec), s.splice(a--, 1));
|
|
42670
42676
|
return s.length || r.length ? new rn(s, r) : In;
|
|
@@ -43151,7 +43157,7 @@ class wG {
|
|
|
43151
43157
|
updateStateInner(e, n) {
|
|
43152
43158
|
var i;
|
|
43153
43159
|
let r = this.state, o = !1, s = !1;
|
|
43154
|
-
e.storedMarks && this.composing && (
|
|
43160
|
+
e.storedMarks && this.composing && (bS(this), s = !0), this.state = e;
|
|
43155
43161
|
let a = r.plugins != e.plugins || this._props.plugins != n.plugins;
|
|
43156
43162
|
if (a || this._props.plugins != n.plugins || this._props.nodeViews != n.nodeViews) {
|
|
43157
43163
|
let p = Gy(this);
|
|
@@ -43168,7 +43174,7 @@ class wG {
|
|
|
43168
43174
|
let h = Ln ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
43169
43175
|
this.composing && (this.input.compositionNode = QX(this)), (o || !this.docView.update(e.doc, u, l, this)) && (this.docView.updateOuterDeco(u), this.docView.destroy(), this.docView = ky(e.doc, u, l, this.dom, this)), h && !this.trackWrites && (p = !0);
|
|
43170
43176
|
}
|
|
43171
|
-
p || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && kX(this)) ? wr(this, p) : (
|
|
43177
|
+
p || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && kX(this)) ? wr(this, p) : (aS(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
|
|
43172
43178
|
}
|
|
43173
43179
|
this.updatePluginViews(r), !((i = this.dragging) === null || i === void 0) && i.node && !r.doc.eq(e.doc) && this.updateDraggedNode(this.dragging, r), c == "reset" ? this.dom.scrollTop = 0 : c == "to selection" ? this.scrollToSelection() : f && tX(f);
|
|
43174
43180
|
}
|
|
@@ -43215,7 +43221,7 @@ class wG {
|
|
|
43215
43221
|
let o = i.from + (this.state.doc.content.size - n.doc.content.size);
|
|
43216
43222
|
(o > 0 && this.state.doc.nodeAt(o)) == i.node && (r = o);
|
|
43217
43223
|
}
|
|
43218
|
-
this.dragging = new
|
|
43224
|
+
this.dragging = new wS(e.slice, e.move, r < 0 ? void 0 : rt.create(this.state.doc, r));
|
|
43219
43225
|
}
|
|
43220
43226
|
someProp(e, n) {
|
|
43221
43227
|
let i = this._props && this._props[e], r;
|
|
@@ -43620,12 +43626,12 @@ function PG(t) {
|
|
|
43620
43626
|
};
|
|
43621
43627
|
}
|
|
43622
43628
|
const km = (t, e) => t.selection.empty ? !1 : (e && e(t.tr.deleteSelection().scrollIntoView()), !0);
|
|
43623
|
-
function
|
|
43629
|
+
function TS(t, e) {
|
|
43624
43630
|
let { $cursor: n } = t.selection;
|
|
43625
43631
|
return !n || (e ? !e.endOfTextblock("backward", t) : n.parentOffset > 0) ? null : n;
|
|
43626
43632
|
}
|
|
43627
|
-
const
|
|
43628
|
-
let i =
|
|
43633
|
+
const xS = (t, e, n) => {
|
|
43634
|
+
let i = TS(t, n);
|
|
43629
43635
|
if (!i)
|
|
43630
43636
|
return !1;
|
|
43631
43637
|
let r = Om(i);
|
|
@@ -43634,7 +43640,7 @@ const x6 = (t, e, n) => {
|
|
|
43634
43640
|
return a == null ? !1 : (e && e(t.tr.lift(s, a).scrollIntoView()), !0);
|
|
43635
43641
|
}
|
|
43636
43642
|
let o = r.nodeBefore;
|
|
43637
|
-
if (
|
|
43643
|
+
if (BS(t, r, e, -1))
|
|
43638
43644
|
return !0;
|
|
43639
43645
|
if (i.parent.content.size == 0 && (Vs(o, "end") || rt.isSelectable(o)))
|
|
43640
43646
|
for (let s = i.depth; ; s--) {
|
|
@@ -43651,19 +43657,19 @@ const x6 = (t, e, n) => {
|
|
|
43651
43657
|
}
|
|
43652
43658
|
return o.isAtom && r.depth == i.depth - 1 ? (e && e(t.tr.delete(r.pos - o.nodeSize, r.pos).scrollIntoView()), !0) : !1;
|
|
43653
43659
|
}, LG = (t, e, n) => {
|
|
43654
|
-
let i =
|
|
43660
|
+
let i = TS(t, n);
|
|
43655
43661
|
if (!i)
|
|
43656
43662
|
return !1;
|
|
43657
43663
|
let r = Om(i);
|
|
43658
|
-
return r ?
|
|
43664
|
+
return r ? MS(t, r, e) : !1;
|
|
43659
43665
|
}, DG = (t, e, n) => {
|
|
43660
|
-
let i =
|
|
43666
|
+
let i = IS(t, n);
|
|
43661
43667
|
if (!i)
|
|
43662
43668
|
return !1;
|
|
43663
43669
|
let r = Tm(i);
|
|
43664
|
-
return r ?
|
|
43670
|
+
return r ? MS(t, r, e) : !1;
|
|
43665
43671
|
};
|
|
43666
|
-
function
|
|
43672
|
+
function MS(t, e, n) {
|
|
43667
43673
|
let i = e.nodeBefore, r = i, o = e.pos - 1;
|
|
43668
43674
|
for (; !r.isTextblock; o--) {
|
|
43669
43675
|
if (r.type.spec.isolating)
|
|
@@ -43700,7 +43706,7 @@ function Vs(t, e, n = !1) {
|
|
|
43700
43706
|
}
|
|
43701
43707
|
return !1;
|
|
43702
43708
|
}
|
|
43703
|
-
const
|
|
43709
|
+
const ES = (t, e, n) => {
|
|
43704
43710
|
let { $head: i, empty: r } = t.selection, o = i;
|
|
43705
43711
|
if (!r)
|
|
43706
43712
|
return !1;
|
|
@@ -43722,19 +43728,19 @@ function Om(t) {
|
|
|
43722
43728
|
}
|
|
43723
43729
|
return null;
|
|
43724
43730
|
}
|
|
43725
|
-
function
|
|
43731
|
+
function IS(t, e) {
|
|
43726
43732
|
let { $cursor: n } = t.selection;
|
|
43727
43733
|
return !n || (e ? !e.endOfTextblock("forward", t) : n.parentOffset < n.parent.content.size) ? null : n;
|
|
43728
43734
|
}
|
|
43729
|
-
const
|
|
43730
|
-
let i =
|
|
43735
|
+
const PS = (t, e, n) => {
|
|
43736
|
+
let i = IS(t, n);
|
|
43731
43737
|
if (!i)
|
|
43732
43738
|
return !1;
|
|
43733
43739
|
let r = Tm(i);
|
|
43734
43740
|
if (!r)
|
|
43735
43741
|
return !1;
|
|
43736
43742
|
let o = r.nodeAfter;
|
|
43737
|
-
if (
|
|
43743
|
+
if (BS(t, r, e, 1))
|
|
43738
43744
|
return !0;
|
|
43739
43745
|
if (i.parent.content.size == 0 && (Vs(o, "start") || rt.isSelectable(o))) {
|
|
43740
43746
|
let s = Sd(t.doc, i.before(), i.after(), Ue.empty);
|
|
@@ -43747,7 +43753,7 @@ const P6 = (t, e, n) => {
|
|
|
43747
43753
|
}
|
|
43748
43754
|
}
|
|
43749
43755
|
return o.isAtom && r.depth == i.depth - 1 ? (e && e(t.tr.delete(r.pos, r.pos + o.nodeSize).scrollIntoView()), !0) : !1;
|
|
43750
|
-
},
|
|
43756
|
+
}, LS = (t, e, n) => {
|
|
43751
43757
|
let { $head: i, empty: r } = t.selection, o = i;
|
|
43752
43758
|
if (!r)
|
|
43753
43759
|
return !1;
|
|
@@ -43795,7 +43801,7 @@ const RG = (t, e) => {
|
|
|
43795
43801
|
}, BG = (t, e) => {
|
|
43796
43802
|
let { $from: n, $to: i } = t.selection, r = n.blockRange(i), o = r && na(r);
|
|
43797
43803
|
return o == null ? !1 : (e && e(t.tr.lift(r, o).scrollIntoView()), !0);
|
|
43798
|
-
},
|
|
43804
|
+
}, DS = (t, e) => {
|
|
43799
43805
|
let { $head: n, $anchor: i } = t.selection;
|
|
43800
43806
|
return !n.parent.type.spec.code || !n.sameParent(i) ? !1 : (e && e(t.tr.insertText(`
|
|
43801
43807
|
`).scrollIntoView()), !0);
|
|
@@ -43820,7 +43826,7 @@ const $G = (t, e) => {
|
|
|
43820
43826
|
l.setSelection(Ct.near(l.doc.resolve(a), 1)), e(l.scrollIntoView());
|
|
43821
43827
|
}
|
|
43822
43828
|
return !0;
|
|
43823
|
-
},
|
|
43829
|
+
}, RS = (t, e) => {
|
|
43824
43830
|
let n = t.selection, { $from: i, $to: r } = n;
|
|
43825
43831
|
if (n instanceof si || i.parent.inlineContent || r.parent.inlineContent)
|
|
43826
43832
|
return !1;
|
|
@@ -43832,7 +43838,7 @@ const $G = (t, e) => {
|
|
|
43832
43838
|
a.setSelection(gt.create(a.doc, s + 1)), e(a.scrollIntoView());
|
|
43833
43839
|
}
|
|
43834
43840
|
return !0;
|
|
43835
|
-
},
|
|
43841
|
+
}, NS = (t, e) => {
|
|
43836
43842
|
let { $cursor: n } = t.selection;
|
|
43837
43843
|
if (!n || n.parent.content.size)
|
|
43838
43844
|
return !1;
|
|
@@ -43879,7 +43885,7 @@ function HG(t, e, n) {
|
|
|
43879
43885
|
let i = e.nodeBefore, r = e.nodeAfter, o = e.index();
|
|
43880
43886
|
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 || po(t.doc, e.pos)) ? !1 : (n && n(t.tr.join(e.pos).scrollIntoView()), !0);
|
|
43881
43887
|
}
|
|
43882
|
-
function
|
|
43888
|
+
function BS(t, e, n, i) {
|
|
43883
43889
|
let r = e.nodeBefore, o = e.nodeAfter, s, a, l = r.type.spec.isolating || o.type.spec.isolating;
|
|
43884
43890
|
if (!l && HG(t, e, n))
|
|
43885
43891
|
return !0;
|
|
@@ -43918,7 +43924,7 @@ function B6(t, e, n, i) {
|
|
|
43918
43924
|
}
|
|
43919
43925
|
return !1;
|
|
43920
43926
|
}
|
|
43921
|
-
function $
|
|
43927
|
+
function $S(t) {
|
|
43922
43928
|
return function(e, n) {
|
|
43923
43929
|
let i = e.selection, r = t < 0 ? i.$from : i.$to, o = r.depth;
|
|
43924
43930
|
for (; r.node(o).isInline; ) {
|
|
@@ -43929,7 +43935,7 @@ function $6(t) {
|
|
|
43929
43935
|
return r.node(o).isTextblock ? (n && n(e.tr.setSelection(gt.create(e.doc, t < 0 ? r.start(o) : r.end(o)))), !0) : !1;
|
|
43930
43936
|
};
|
|
43931
43937
|
}
|
|
43932
|
-
const jG = $
|
|
43938
|
+
const jG = $S(-1), UG = $S(1);
|
|
43933
43939
|
function KG(t, e = null) {
|
|
43934
43940
|
return function(n, i) {
|
|
43935
43941
|
let { $from: r, $to: o } = n.selection, s = r.blockRange(o), a = s && pm(s, t, e);
|
|
@@ -43974,9 +43980,9 @@ function Mm(...t) {
|
|
|
43974
43980
|
return !1;
|
|
43975
43981
|
};
|
|
43976
43982
|
}
|
|
43977
|
-
Mm(km,
|
|
43978
|
-
Mm(km,
|
|
43979
|
-
Mm(
|
|
43983
|
+
Mm(km, xS, ES);
|
|
43984
|
+
Mm(km, PS, LS);
|
|
43985
|
+
Mm(DS, RS, NS, zG);
|
|
43980
43986
|
typeof navigator < "u" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : typeof os < "u" && os.platform && os.platform() == "darwin";
|
|
43981
43987
|
function WG(t, e = null) {
|
|
43982
43988
|
return function(n, i) {
|
|
@@ -44182,7 +44188,7 @@ function Ed(t) {
|
|
|
44182
44188
|
markExtensions: i
|
|
44183
44189
|
};
|
|
44184
44190
|
}
|
|
44185
|
-
function
|
|
44191
|
+
function VS(t) {
|
|
44186
44192
|
const e = [], { nodeExtensions: n, markExtensions: i } = Ed(t), r = [...n, ...i], o = {
|
|
44187
44193
|
default: null,
|
|
44188
44194
|
rendered: !0,
|
|
@@ -44274,11 +44280,11 @@ function rh(t, e) {
|
|
|
44274
44280
|
[n.name]: t.attrs[n.name]
|
|
44275
44281
|
}).reduce((n, i) => sn(n, i), {});
|
|
44276
44282
|
}
|
|
44277
|
-
function
|
|
44283
|
+
function zS(t) {
|
|
44278
44284
|
return typeof t == "function";
|
|
44279
44285
|
}
|
|
44280
44286
|
function vt(t, e = void 0, ...n) {
|
|
44281
|
-
return
|
|
44287
|
+
return zS(t) ? e ? t.bind(e)(...n) : t(...n) : t;
|
|
44282
44288
|
}
|
|
44283
44289
|
function QG(t = {}) {
|
|
44284
44290
|
return Object.keys(t).length === 0 && t.constructor === Object;
|
|
@@ -44312,7 +44318,7 @@ function _y(t) {
|
|
|
44312
44318
|
}
|
|
44313
44319
|
function tq(t, e) {
|
|
44314
44320
|
var n;
|
|
44315
|
-
const i =
|
|
44321
|
+
const i = VS(t), { nodeExtensions: r, markExtensions: o } = Ed(t), s = (n = r.find((u) => Ze(u, "topNode"))) === null || n === void 0 ? void 0 : n.name, a = Object.fromEntries(r.map((u) => {
|
|
44316
44322
|
const c = i.filter((S) => S.type === u.name), d = {
|
|
44317
44323
|
name: u.name,
|
|
44318
44324
|
options: u.options,
|
|
@@ -44860,7 +44866,7 @@ class Cs {
|
|
|
44860
44866
|
* @returns An array of attributes
|
|
44861
44867
|
*/
|
|
44862
44868
|
get attributes() {
|
|
44863
|
-
return
|
|
44869
|
+
return VS(this.extensions);
|
|
44864
44870
|
}
|
|
44865
44871
|
/**
|
|
44866
44872
|
* Get all node views from the extensions.
|
|
@@ -44952,7 +44958,7 @@ class jn {
|
|
|
44952
44958
|
})), n;
|
|
44953
44959
|
}
|
|
44954
44960
|
}
|
|
44955
|
-
function
|
|
44961
|
+
function FS(t, e, n) {
|
|
44956
44962
|
const { from: i, to: r } = e, { blockSeparator: o = `
|
|
44957
44963
|
|
|
44958
44964
|
`, textSerializers: s = {} } = n || {};
|
|
@@ -44989,7 +44995,7 @@ const pq = jn.create({
|
|
|
44989
44995
|
props: {
|
|
44990
44996
|
clipboardTextSerializer: () => {
|
|
44991
44997
|
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 = Pm(n);
|
|
44992
|
-
return
|
|
44998
|
+
return FS(i, { from: s, to: a }, {
|
|
44993
44999
|
...this.options.blockSeparator !== void 0 ? { blockSeparator: this.options.blockSeparator } : {},
|
|
44994
45000
|
textSerializers: l
|
|
44995
45001
|
});
|
|
@@ -45018,7 +45024,7 @@ const pq = jn.create({
|
|
|
45018
45024
|
(h || h === 0) && e.lift(p, h);
|
|
45019
45025
|
});
|
|
45020
45026
|
}), !0;
|
|
45021
|
-
}, vq = (t) => (e) => t(e), yq = () => ({ state: t, dispatch: e }) =>
|
|
45027
|
+
}, vq = (t) => (e) => t(e), yq = () => ({ state: t, dispatch: e }) => RS(t, e), bq = (t, e) => ({ editor: n, tr: i }) => {
|
|
45022
45028
|
const { state: r } = n, o = r.doc.slice(t.from, t.to);
|
|
45023
45029
|
i.deleteRange(t.from, t.to);
|
|
45024
45030
|
const s = i.mapping.map(e);
|
|
@@ -45056,7 +45062,7 @@ function Sc(t, e, n = { strict: !0 }) {
|
|
|
45056
45062
|
const i = Object.keys(e);
|
|
45057
45063
|
return i.length ? i.every((r) => n.strict ? e[r] === t[r] : Im(e[r]) ? e[r].test(t[r]) : e[r] === t[r]) : !0;
|
|
45058
45064
|
}
|
|
45059
|
-
function
|
|
45065
|
+
function HS(t, e, n = {}) {
|
|
45060
45066
|
return t.find((i) => i.type === e && Sc(
|
|
45061
45067
|
// Only check equality for the attributes that are provided
|
|
45062
45068
|
Object.fromEntries(Object.keys(n).map((r) => [r, i.attrs[r]])),
|
|
@@ -45064,14 +45070,14 @@ function H6(t, e, n = {}) {
|
|
|
45064
45070
|
));
|
|
45065
45071
|
}
|
|
45066
45072
|
function Qy(t, e, n = {}) {
|
|
45067
|
-
return !!
|
|
45073
|
+
return !!HS(t, e, n);
|
|
45068
45074
|
}
|
|
45069
45075
|
function Lm(t, e, n) {
|
|
45070
45076
|
var i;
|
|
45071
45077
|
if (!t || !e)
|
|
45072
45078
|
return;
|
|
45073
45079
|
let r = t.parent.childAfter(t.parentOffset);
|
|
45074
|
-
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), !
|
|
45080
|
+
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), !HS([...r.node.marks], e, n)))
|
|
45075
45081
|
return;
|
|
45076
45082
|
let s = r.index, a = t.start() + r.offset, l = s + 1, u = a + r.node.nodeSize;
|
|
45077
45083
|
for (; s > 0 && Qy([...t.parent.child(s - 1).marks], e, n); )
|
|
@@ -45114,7 +45120,7 @@ function Dm(t) {
|
|
|
45114
45120
|
function vr(t = 0, e = 0, n = 0) {
|
|
45115
45121
|
return Math.min(Math.max(t, e), n);
|
|
45116
45122
|
}
|
|
45117
|
-
function
|
|
45123
|
+
function jS(t, e = null) {
|
|
45118
45124
|
if (!e)
|
|
45119
45125
|
return null;
|
|
45120
45126
|
const n = Ct.atStart(t), i = Ct.atEnd(t);
|
|
@@ -45125,7 +45131,7 @@ function j6(t, e = null) {
|
|
|
45125
45131
|
const r = n.from, o = i.to;
|
|
45126
45132
|
return e === "all" ? gt.create(t, vr(0, r, o), vr(t.content.size, r, o)) : gt.create(t, vr(e, r, o), vr(e, r, o));
|
|
45127
45133
|
}
|
|
45128
|
-
function
|
|
45134
|
+
function US() {
|
|
45129
45135
|
return navigator.platform === "Android" || /android/i.test(navigator.userAgent);
|
|
45130
45136
|
}
|
|
45131
45137
|
function Ld() {
|
|
@@ -45144,7 +45150,7 @@ const Mq = (t = null, e = {}) => ({ editor: n, view: i, tr: r, dispatch: o }) =>
|
|
|
45144
45150
|
...e
|
|
45145
45151
|
};
|
|
45146
45152
|
const s = () => {
|
|
45147
|
-
(Ld() ||
|
|
45153
|
+
(Ld() || US()) && i.dom.focus(), requestAnimationFrame(() => {
|
|
45148
45154
|
n.isDestroyed || (i.focus(), e != null && e.scrollIntoView && n.commands.scrollIntoView());
|
|
45149
45155
|
});
|
|
45150
45156
|
};
|
|
@@ -45152,19 +45158,19 @@ const Mq = (t = null, e = {}) => ({ editor: n, view: i, tr: r, dispatch: o }) =>
|
|
|
45152
45158
|
return !0;
|
|
45153
45159
|
if (o && t === null && !Dm(n.state.selection))
|
|
45154
45160
|
return s(), !0;
|
|
45155
|
-
const a =
|
|
45161
|
+
const a = jS(r.doc, t) || n.state.selection, l = n.state.selection.eq(a);
|
|
45156
45162
|
return o && (l || r.setSelection(a), l && r.storedMarks && r.setStoredMarks(r.storedMarks), s()), !0;
|
|
45157
|
-
}, Eq = (t, e) => (n) => t.every((i, r) => e(i, { ...n, index: r })), Iq = (t, e) => ({ tr: n, commands: i }) => i.insertContentAt({ from: n.selection.from, to: n.selection.to }, t, e),
|
|
45163
|
+
}, Eq = (t, e) => (n) => t.every((i, r) => e(i, { ...n, index: r })), Iq = (t, e) => ({ tr: n, commands: i }) => i.insertContentAt({ from: n.selection.from, to: n.selection.to }, t, e), KS = (t) => {
|
|
45158
45164
|
const e = t.childNodes;
|
|
45159
45165
|
for (let n = e.length - 1; n >= 0; n -= 1) {
|
|
45160
45166
|
const i = e[n];
|
|
45161
|
-
i.nodeType === 3 && i.nodeValue && /^(\n\s\s|\n)$/.test(i.nodeValue) ? t.removeChild(i) : i.nodeType === 1 &&
|
|
45167
|
+
i.nodeType === 3 && i.nodeValue && /^(\n\s\s|\n)$/.test(i.nodeValue) ? t.removeChild(i) : i.nodeType === 1 && KS(i);
|
|
45162
45168
|
}
|
|
45163
45169
|
return t;
|
|
45164
45170
|
};
|
|
45165
45171
|
function Ru(t) {
|
|
45166
45172
|
const e = `<body>${t}</body>`, n = new window.DOMParser().parseFromString(e, "text/html").body;
|
|
45167
|
-
return
|
|
45173
|
+
return KS(n);
|
|
45168
45174
|
}
|
|
45169
45175
|
function Cc(t, e, n) {
|
|
45170
45176
|
if (t instanceof eo || t instanceof Ie)
|
|
@@ -45279,7 +45285,7 @@ const Lq = (t) => !("type" in t), Dq = (t, e, n) => ({ tr: i, dispatch: r, edito
|
|
|
45279
45285
|
n.updateSelection && Pq(i, i.steps.length - 1, -1), n.applyInputRules && i.setMeta("applyInputRules", { from: l, text: p }), n.applyPasteRules && i.setMeta("applyPasteRules", { from: l, text: p });
|
|
45280
45286
|
}
|
|
45281
45287
|
return !0;
|
|
45282
|
-
}, Rq = () => ({ state: t, dispatch: e }) => RG(t, e), Nq = () => ({ state: t, dispatch: e }) => NG(t, e), Bq = () => ({ state: t, dispatch: e }) =>
|
|
45288
|
+
}, Rq = () => ({ state: t, dispatch: e }) => RG(t, e), Nq = () => ({ state: t, dispatch: e }) => NG(t, e), Bq = () => ({ state: t, dispatch: e }) => xS(t, e), $q = () => ({ state: t, dispatch: e }) => PS(t, e), Vq = () => ({ state: t, dispatch: e, tr: n }) => {
|
|
45283
45289
|
try {
|
|
45284
45290
|
const i = wd(t.doc, t.selection.$from.pos, -1);
|
|
45285
45291
|
return i == null ? !1 : (n.join(i, 2), e && e(n), !0);
|
|
@@ -45294,7 +45300,7 @@ const Lq = (t) => !("type" in t), Dq = (t, e, n) => ({ tr: i, dispatch: r, edito
|
|
|
45294
45300
|
return !1;
|
|
45295
45301
|
}
|
|
45296
45302
|
}, Fq = () => ({ state: t, dispatch: e }) => LG(t, e), Hq = () => ({ state: t, dispatch: e }) => DG(t, e);
|
|
45297
|
-
function
|
|
45303
|
+
function WS() {
|
|
45298
45304
|
return typeof navigator < "u" ? /Mac/.test(navigator.platform) : !1;
|
|
45299
45305
|
}
|
|
45300
45306
|
function jq(t) {
|
|
@@ -45313,7 +45319,7 @@ function jq(t) {
|
|
|
45313
45319
|
else if (/^s(hift)?$/i.test(l))
|
|
45314
45320
|
o = !0;
|
|
45315
45321
|
else if (/^mod$/i.test(l))
|
|
45316
|
-
Ld() ||
|
|
45322
|
+
Ld() || WS() ? s = !0 : r = !0;
|
|
45317
45323
|
else
|
|
45318
45324
|
throw new Error(`Unrecognized modifier name: ${l}`);
|
|
45319
45325
|
}
|
|
@@ -45354,10 +45360,10 @@ function $l(t, e, n = {}) {
|
|
|
45354
45360
|
const Kq = (t, e = {}) => ({ state: n, dispatch: i }) => {
|
|
45355
45361
|
const r = yn(t, n.schema);
|
|
45356
45362
|
return $l(n, r, e) ? BG(n, i) : !1;
|
|
45357
|
-
}, Wq = () => ({ state: t, dispatch: e }) =>
|
|
45363
|
+
}, Wq = () => ({ state: t, dispatch: e }) => NS(t, e), Xq = (t) => ({ state: e, dispatch: n }) => {
|
|
45358
45364
|
const i = yn(t, e.schema);
|
|
45359
45365
|
return qG(i)(e, n);
|
|
45360
|
-
}, Gq = () => ({ state: t, dispatch: e }) =>
|
|
45366
|
+
}, Gq = () => ({ state: t, dispatch: e }) => DS(t, e);
|
|
45361
45367
|
function Dd(t, e) {
|
|
45362
45368
|
return e.nodes[t] ? "node" : e.marks[t] ? "mark" : null;
|
|
45363
45369
|
}
|
|
@@ -45381,7 +45387,7 @@ const qq = (t, e) => ({ tr: n, state: i, dispatch: r }) => {
|
|
|
45381
45387
|
t.setSelection(n);
|
|
45382
45388
|
}
|
|
45383
45389
|
return !0;
|
|
45384
|
-
}, _q = () => ({ state: t, dispatch: e }) =>
|
|
45390
|
+
}, _q = () => ({ state: t, dispatch: e }) => ES(t, e), Yq = () => ({ state: t, dispatch: e }) => LS(t, e), Qq = () => ({ state: t, dispatch: e }) => FG(t, e), eZ = () => ({ state: t, dispatch: e }) => UG(t, e), tZ = () => ({ state: t, dispatch: e }) => jG(t, e);
|
|
45385
45391
|
function oh(t, e, n = {}, i = {}) {
|
|
45386
45392
|
return Cc(t, e, {
|
|
45387
45393
|
slice: !1,
|
|
@@ -45403,7 +45409,7 @@ const nZ = (t, e = !1, n = {}, i = {}) => ({ editor: r, tr: o, dispatch: s, comm
|
|
|
45403
45409
|
errorOnInvalidContent: (u = i.errorOnInvalidContent) !== null && u !== void 0 ? u : r.options.enableContentCheck
|
|
45404
45410
|
});
|
|
45405
45411
|
};
|
|
45406
|
-
function
|
|
45412
|
+
function XS(t, e) {
|
|
45407
45413
|
const n = mo(e, t.schema), { from: i, to: r, empty: o } = t.selection, s = [];
|
|
45408
45414
|
o ? (t.storedMarks && s.push(...t.storedMarks), s.push(...t.selection.$head.marks())) : t.doc.nodesBetween(i, r, (l) => {
|
|
45409
45415
|
s.push(...l.marks);
|
|
@@ -45451,12 +45457,12 @@ function sZ(t, e) {
|
|
|
45451
45457
|
function Rm(t) {
|
|
45452
45458
|
return (e) => sZ(e.$from, t);
|
|
45453
45459
|
}
|
|
45454
|
-
function
|
|
45460
|
+
function GS(t, e) {
|
|
45455
45461
|
const n = {
|
|
45456
45462
|
from: 0,
|
|
45457
45463
|
to: t.content.size
|
|
45458
45464
|
};
|
|
45459
|
-
return
|
|
45465
|
+
return FS(t, n, e);
|
|
45460
45466
|
}
|
|
45461
45467
|
function aZ(t, e) {
|
|
45462
45468
|
const n = yn(e, t.schema), { from: i, to: r } = t.selection, o = [];
|
|
@@ -45466,9 +45472,9 @@ function aZ(t, e) {
|
|
|
45466
45472
|
const s = o.reverse().find((a) => a.type.name === n.name);
|
|
45467
45473
|
return s ? { ...s.attrs } : {};
|
|
45468
45474
|
}
|
|
45469
|
-
function
|
|
45475
|
+
function qS(t, e) {
|
|
45470
45476
|
const n = Dd(typeof e == "string" ? e : e.name, t.schema);
|
|
45471
|
-
return n === "node" ? aZ(t, e) : n === "mark" ?
|
|
45477
|
+
return n === "node" ? aZ(t, e) : n === "mark" ? XS(t, e) : {};
|
|
45472
45478
|
}
|
|
45473
45479
|
function lZ(t, e = JSON.stringify) {
|
|
45474
45480
|
const n = {};
|
|
@@ -45597,7 +45603,7 @@ function Rd(t, { checkChildren: e = !0, ignoreWhitespace: n = !1 } = {}) {
|
|
|
45597
45603
|
function fZ(t) {
|
|
45598
45604
|
return t instanceof rt;
|
|
45599
45605
|
}
|
|
45600
|
-
function
|
|
45606
|
+
function ZS(t, e, n) {
|
|
45601
45607
|
const r = t.state.doc.content.size, o = vr(e, 0, r), s = vr(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 = {
|
|
45602
45608
|
top: u,
|
|
45603
45609
|
bottom: c,
|
|
@@ -45639,7 +45645,7 @@ const hZ = (t, e = {}) => ({ tr: n, state: i, dispatch: r }) => {
|
|
|
45639
45645
|
const { selection: o } = n, { empty: s, ranges: a } = o, l = mo(t, i.schema);
|
|
45640
45646
|
if (r)
|
|
45641
45647
|
if (s) {
|
|
45642
|
-
const u =
|
|
45648
|
+
const u = XS(i, l);
|
|
45643
45649
|
n.addStoredMark(l.create({
|
|
45644
45650
|
...u,
|
|
45645
45651
|
...e
|
|
@@ -46054,7 +46060,7 @@ const DZ = jn.create({
|
|
|
46054
46060
|
"Ctrl-a": () => this.editor.commands.selectTextblockStart(),
|
|
46055
46061
|
"Ctrl-e": () => this.editor.commands.selectTextblockEnd()
|
|
46056
46062
|
};
|
|
46057
|
-
return Ld() ||
|
|
46063
|
+
return Ld() || WS() ? o : r;
|
|
46058
46064
|
},
|
|
46059
46065
|
addProseMirrorPlugins() {
|
|
46060
46066
|
return [
|
|
@@ -46424,7 +46430,7 @@ let UZ = class extends YG {
|
|
|
46424
46430
|
* @returns The new editor state
|
|
46425
46431
|
*/
|
|
46426
46432
|
registerPlugin(e, n) {
|
|
46427
|
-
const i =
|
|
46433
|
+
const i = zS(n) ? n(e, [...this.state.plugins]) : [...this.state.plugins, e], r = this.state.reconfigure({ plugins: i });
|
|
46428
46434
|
return this.view.updateState(r), r;
|
|
46429
46435
|
}
|
|
46430
46436
|
/**
|
|
@@ -46500,7 +46506,7 @@ let UZ = class extends YG {
|
|
|
46500
46506
|
}
|
|
46501
46507
|
}), n = oh(this.options.content, this.schema, this.options.parseOptions, { errorOnInvalidContent: !1 });
|
|
46502
46508
|
}
|
|
46503
|
-
const i =
|
|
46509
|
+
const i = jS(n, this.options.autofocus);
|
|
46504
46510
|
this.view = new wG(this.options.element, {
|
|
46505
46511
|
...this.options.editorProps,
|
|
46506
46512
|
attributes: {
|
|
@@ -46589,7 +46595,7 @@ let UZ = class extends YG {
|
|
|
46589
46595
|
* Get attributes of the currently selected node or mark.
|
|
46590
46596
|
*/
|
|
46591
46597
|
getAttributes(e) {
|
|
46592
|
-
return
|
|
46598
|
+
return qS(this.state, e);
|
|
46593
46599
|
}
|
|
46594
46600
|
isActive(e, n) {
|
|
46595
46601
|
const i = typeof e == "string" ? e : null, r = typeof e == "string" ? n : e;
|
|
@@ -46614,7 +46620,7 @@ let UZ = class extends YG {
|
|
|
46614
46620
|
const { blockSeparator: n = `
|
|
46615
46621
|
|
|
46616
46622
|
`, textSerializers: i = {} } = e || {};
|
|
46617
|
-
return
|
|
46623
|
+
return GS(this.state.doc, {
|
|
46618
46624
|
blockSeparator: n,
|
|
46619
46625
|
textSerializers: {
|
|
46620
46626
|
...Pm(this.schema),
|
|
@@ -46845,7 +46851,7 @@ class XZ {
|
|
|
46845
46851
|
* @return `true` if it can safely be ignored.
|
|
46846
46852
|
*/
|
|
46847
46853
|
ignoreMutation(e) {
|
|
46848
|
-
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" && (Ld() ||
|
|
46854
|
+
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" && (Ld() || US()) && this.editor.isFocused && [
|
|
46849
46855
|
...Array.from(e.addedNodes),
|
|
46850
46856
|
...Array.from(e.removedNodes)
|
|
46851
46857
|
].every((i) => i.isContentEditable) ? !1 : this.contentDOM === e.target && e.type === "attributes" ? !0 : !this.contentDOM.contains(e.target);
|
|
@@ -47059,9 +47065,9 @@ const qZ = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, ZZ = /(?:^|\s
|
|
|
47059
47065
|
topNode: !0,
|
|
47060
47066
|
content: "block+"
|
|
47061
47067
|
});
|
|
47062
|
-
var Yn = "top", Ai = "bottom", wi = "right", Qn = "left", Bm = "auto", Yl = [Yn, Ai, wi, Qn], Fs = "start", zl = "end", oJ = "clippingParents",
|
|
47068
|
+
var Yn = "top", Ai = "bottom", wi = "right", Qn = "left", Bm = "auto", Yl = [Yn, Ai, wi, Qn], Fs = "start", zl = "end", oJ = "clippingParents", JS = "viewport", fa = "popper", sJ = "reference", ob = /* @__PURE__ */ Yl.reduce(function(t, e) {
|
|
47063
47069
|
return t.concat([e + "-" + Fs, e + "-" + zl]);
|
|
47064
|
-
}, []),
|
|
47070
|
+
}, []), _S = /* @__PURE__ */ [].concat(Yl, [Bm]).reduce(function(t, e) {
|
|
47065
47071
|
return t.concat([e, e + "-" + Fs, e + "-" + zl]);
|
|
47066
47072
|
}, []), aJ = "beforeRead", lJ = "read", uJ = "afterRead", cJ = "beforeMain", dJ = "main", fJ = "afterMain", pJ = "beforeWrite", hJ = "write", mJ = "afterWrite", gJ = [aJ, lJ, uJ, cJ, dJ, fJ, pJ, hJ, mJ];
|
|
47067
47073
|
function er(t) {
|
|
@@ -47124,7 +47130,7 @@ function yJ(t) {
|
|
|
47124
47130
|
});
|
|
47125
47131
|
};
|
|
47126
47132
|
}
|
|
47127
|
-
const
|
|
47133
|
+
const YS = {
|
|
47128
47134
|
name: "applyStyles",
|
|
47129
47135
|
enabled: !0,
|
|
47130
47136
|
phase: "write",
|
|
@@ -47142,14 +47148,14 @@ function ah() {
|
|
|
47142
47148
|
return e.brand + "/" + e.version;
|
|
47143
47149
|
}).join(" ") : navigator.userAgent;
|
|
47144
47150
|
}
|
|
47145
|
-
function
|
|
47151
|
+
function QS() {
|
|
47146
47152
|
return !/^((?!chrome|android).)*safari/i.test(ah());
|
|
47147
47153
|
}
|
|
47148
47154
|
function js(t, e, n) {
|
|
47149
47155
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
47150
47156
|
var i = t.getBoundingClientRect(), r = 1, o = 1;
|
|
47151
47157
|
e && bi(t) && (r = t.offsetWidth > 0 && Hs(i.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Hs(i.height) / t.offsetHeight || 1);
|
|
47152
|
-
var s = Jo(t) ? ai(t) : window, a = s.visualViewport, l = !
|
|
47158
|
+
var s = Jo(t) ? ai(t) : window, a = s.visualViewport, l = !QS() && 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;
|
|
47153
47159
|
return {
|
|
47154
47160
|
width: d,
|
|
47155
47161
|
height: f,
|
|
@@ -47170,7 +47176,7 @@ function Vm(t) {
|
|
|
47170
47176
|
height: i
|
|
47171
47177
|
};
|
|
47172
47178
|
}
|
|
47173
|
-
function
|
|
47179
|
+
function e6(t, e) {
|
|
47174
47180
|
var n = e.getRootNode && e.getRootNode();
|
|
47175
47181
|
if (t.contains(e))
|
|
47176
47182
|
return !0;
|
|
@@ -47243,7 +47249,7 @@ function wJ(t, e, n) {
|
|
|
47243
47249
|
var i = Da(t, e, n);
|
|
47244
47250
|
return i > n ? n : i;
|
|
47245
47251
|
}
|
|
47246
|
-
function
|
|
47252
|
+
function t6() {
|
|
47247
47253
|
return {
|
|
47248
47254
|
top: 0,
|
|
47249
47255
|
right: 0,
|
|
@@ -47251,10 +47257,10 @@ function tS() {
|
|
|
47251
47257
|
left: 0
|
|
47252
47258
|
};
|
|
47253
47259
|
}
|
|
47254
|
-
function
|
|
47255
|
-
return Object.assign({},
|
|
47260
|
+
function n6(t) {
|
|
47261
|
+
return Object.assign({}, t6(), t);
|
|
47256
47262
|
}
|
|
47257
|
-
function
|
|
47263
|
+
function i6(t, e) {
|
|
47258
47264
|
return e.reduce(function(n, i) {
|
|
47259
47265
|
return n[i] = t, n;
|
|
47260
47266
|
}, {});
|
|
@@ -47262,7 +47268,7 @@ function iS(t, e) {
|
|
|
47262
47268
|
var SJ = function(e, n) {
|
|
47263
47269
|
return e = typeof e == "function" ? e(Object.assign({}, n.rects, {
|
|
47264
47270
|
placement: n.placement
|
|
47265
|
-
})) : e,
|
|
47271
|
+
})) : e, n6(typeof e != "number" ? e : i6(e, Yl));
|
|
47266
47272
|
};
|
|
47267
47273
|
function CJ(t) {
|
|
47268
47274
|
var e, n = t.state, i = t.name, r = t.options, o = n.elements.arrow, s = n.modifiersData.popperOffsets, a = Zi(n.placement), l = zm(a), u = [Qn, wi].indexOf(a) >= 0, c = u ? "height" : "width";
|
|
@@ -47273,7 +47279,7 @@ function CJ(t) {
|
|
|
47273
47279
|
}
|
|
47274
47280
|
function kJ(t) {
|
|
47275
47281
|
var e = t.state, n = t.options, i = n.element, r = i === void 0 ? "[data-popper-arrow]" : i;
|
|
47276
|
-
r != null && (typeof r == "string" && (r = e.elements.popper.querySelector(r), !r) ||
|
|
47282
|
+
r != null && (typeof r == "string" && (r = e.elements.popper.querySelector(r), !r) || e6(e.elements.popper, r) && (e.elements.arrow = r));
|
|
47277
47283
|
}
|
|
47278
47284
|
const OJ = {
|
|
47279
47285
|
name: "arrow",
|
|
@@ -47430,7 +47436,7 @@ function RJ(t, e) {
|
|
|
47430
47436
|
var n = ai(t), i = go(t), r = n.visualViewport, o = i.clientWidth, s = i.clientHeight, a = 0, l = 0;
|
|
47431
47437
|
if (r) {
|
|
47432
47438
|
o = r.width, s = r.height;
|
|
47433
|
-
var u =
|
|
47439
|
+
var u = QS();
|
|
47434
47440
|
(u || !u && e === "fixed") && (a = r.offsetLeft, l = r.offsetTop);
|
|
47435
47441
|
}
|
|
47436
47442
|
return {
|
|
@@ -47453,13 +47459,13 @@ function jm(t) {
|
|
|
47453
47459
|
var e = Cr(t), n = e.overflow, i = e.overflowX, r = e.overflowY;
|
|
47454
47460
|
return /auto|scroll|overlay|hidden/.test(n + r + i);
|
|
47455
47461
|
}
|
|
47456
|
-
function
|
|
47457
|
-
return ["html", "body", "#document"].indexOf(er(t)) >= 0 ? t.ownerDocument.body : bi(t) && jm(t) ? t :
|
|
47462
|
+
function r6(t) {
|
|
47463
|
+
return ["html", "body", "#document"].indexOf(er(t)) >= 0 ? t.ownerDocument.body : bi(t) && jm(t) ? t : r6(Nd(t));
|
|
47458
47464
|
}
|
|
47459
47465
|
function Ra(t, e) {
|
|
47460
47466
|
var n;
|
|
47461
47467
|
e === void 0 && (e = []);
|
|
47462
|
-
var i =
|
|
47468
|
+
var i = r6(t), r = i === ((n = t.ownerDocument) == null ? void 0 : n.body), o = ai(i), s = r ? [o].concat(o.visualViewport || [], jm(i) ? i : []) : i, a = e.concat(s);
|
|
47463
47469
|
return r ? a : (
|
|
47464
47470
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
47465
47471
|
a.concat(Ra(Nd(s)))
|
|
@@ -47478,12 +47484,12 @@ function BJ(t, e) {
|
|
|
47478
47484
|
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;
|
|
47479
47485
|
}
|
|
47480
47486
|
function ub(t, e, n) {
|
|
47481
|
-
return e ===
|
|
47487
|
+
return e === JS ? lh(RJ(t, n)) : Jo(e) ? BJ(e, n) : lh(NJ(go(t)));
|
|
47482
47488
|
}
|
|
47483
47489
|
function $J(t) {
|
|
47484
47490
|
var e = Ra(Nd(t)), n = ["absolute", "fixed"].indexOf(Cr(t).position) >= 0, i = n && bi(t) ? Ql(t) : t;
|
|
47485
47491
|
return Jo(i) ? e.filter(function(r) {
|
|
47486
|
-
return Jo(r) &&
|
|
47492
|
+
return Jo(r) && e6(r, i) && er(r) !== "body";
|
|
47487
47493
|
}) : [];
|
|
47488
47494
|
}
|
|
47489
47495
|
function VJ(t, e, n, i) {
|
|
@@ -47493,7 +47499,7 @@ function VJ(t, e, n, i) {
|
|
|
47493
47499
|
}, ub(t, s, i));
|
|
47494
47500
|
return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
|
|
47495
47501
|
}
|
|
47496
|
-
function
|
|
47502
|
+
function o6(t) {
|
|
47497
47503
|
var e = t.reference, n = t.element, i = t.placement, r = i ? Zi(i) : null, o = i ? Us(i) : null, s = e.x + e.width / 2 - n.width / 2, a = e.y + e.height / 2 - n.height / 2, l;
|
|
47498
47504
|
switch (r) {
|
|
47499
47505
|
case Yn:
|
|
@@ -47542,7 +47548,7 @@ function oS(t) {
|
|
|
47542
47548
|
}
|
|
47543
47549
|
function Fl(t, e) {
|
|
47544
47550
|
e === void 0 && (e = {});
|
|
47545
|
-
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 ? oJ : a, u = n.rootBoundary, c = u === void 0 ?
|
|
47551
|
+
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 ? oJ : a, u = n.rootBoundary, c = u === void 0 ? JS : u, d = n.elementContext, f = d === void 0 ? fa : d, p = n.altBoundary, h = p === void 0 ? !1 : p, m = n.padding, y = m === void 0 ? 0 : m, S = n6(typeof y != "number" ? y : i6(y, Yl)), A = f === fa ? sJ : fa, k = t.rects.popper, b = t.elements[h ? A : f], w = VJ(Jo(b) ? b : b.contextElement || go(t.elements.popper), l, c, s), v = js(t.elements.reference), O = o6({
|
|
47546
47552
|
reference: v,
|
|
47547
47553
|
element: k,
|
|
47548
47554
|
placement: r
|
|
@@ -47563,7 +47569,7 @@ function Fl(t, e) {
|
|
|
47563
47569
|
}
|
|
47564
47570
|
function zJ(t, e) {
|
|
47565
47571
|
e === void 0 && (e = {});
|
|
47566
|
-
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 ?
|
|
47572
|
+
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 ? _S : l, c = Us(i), d = c ? a ? ob : ob.filter(function(h) {
|
|
47567
47573
|
return Us(h) === c;
|
|
47568
47574
|
}) : Yl, f = d.filter(function(h) {
|
|
47569
47575
|
return u.indexOf(h) >= 0;
|
|
@@ -47697,7 +47703,7 @@ function WJ(t, e, n) {
|
|
|
47697
47703
|
};
|
|
47698
47704
|
}
|
|
47699
47705
|
function XJ(t) {
|
|
47700
|
-
var e = t.state, n = t.options, i = t.name, r = n.offset, o = r === void 0 ? [0, 0] : r, s =
|
|
47706
|
+
var e = t.state, n = t.options, i = t.name, r = n.offset, o = r === void 0 ? [0, 0] : r, s = _S.reduce(function(c, d) {
|
|
47701
47707
|
return c[d] = WJ(d, e.rects, o), c;
|
|
47702
47708
|
}, {}), a = s[e.placement], l = a.x, u = a.y;
|
|
47703
47709
|
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += l, e.modifiersData.popperOffsets.y += u), e.modifiersData[i] = s;
|
|
@@ -47711,7 +47717,7 @@ const GJ = {
|
|
|
47711
47717
|
};
|
|
47712
47718
|
function qJ(t) {
|
|
47713
47719
|
var e = t.state, n = t.name;
|
|
47714
|
-
e.modifiersData[n] =
|
|
47720
|
+
e.modifiersData[n] = o6({
|
|
47715
47721
|
reference: e.rects.reference,
|
|
47716
47722
|
element: e.rects.popper,
|
|
47717
47723
|
placement: e.placement
|
|
@@ -47750,7 +47756,7 @@ function _J(t) {
|
|
|
47750
47756
|
var le, Oe = b === "y" ? Yn : Qn, ce = b === "y" ? Ai : wi, ue = b === "y" ? "height" : "width", W = v[b], X = W + y[Oe], me = W - y[ce], Ce = p ? -I[ue] / 2 : 0, ge = A === Fs ? O[ue] : I[ue], se = A === Fs ? -I[ue] : -O[ue], fe = e.elements.arrow, Me = p && fe ? Vm(fe) : {
|
|
47751
47757
|
width: 0,
|
|
47752
47758
|
height: 0
|
|
47753
|
-
}, Ae = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding :
|
|
47759
|
+
}, Ae = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : t6(), re = Ae[Oe], ke = Ae[ce], Y = Da(0, O[ue], Me[ue]), J = k ? O[ue] / 2 - Ce - Y - re - E.mainAxis : ge - Y - re - E.mainAxis, G = k ? -O[ue] / 2 + Ce + Y + ke + E.mainAxis : se + Y + ke + E.mainAxis, Q = e.elements.arrow && Ql(e.elements.arrow), we = Q ? b === "y" ? Q.clientTop || 0 : Q.clientLeft || 0 : 0, Ve = (le = N == null ? void 0 : N[b]) != null ? le : 0, V = W + J - Ve - we, pe = W + G - Ve, Te = Da(p ? Oc(X, V) : X, W, p ? $o(me, pe) : me);
|
|
47754
47760
|
v[b] = Te, j[b] = Te - W;
|
|
47755
47761
|
}
|
|
47756
47762
|
if (a) {
|
|
@@ -47957,12 +47963,12 @@ function a_(t) {
|
|
|
47957
47963
|
return p;
|
|
47958
47964
|
};
|
|
47959
47965
|
}
|
|
47960
|
-
var l_ = [PJ, ZJ, EJ,
|
|
47966
|
+
var l_ = [PJ, ZJ, EJ, YS, GJ, jJ, YJ, OJ, KJ], u_ = /* @__PURE__ */ a_({
|
|
47961
47967
|
defaultModifiers: l_
|
|
47962
|
-
}), c_ = "tippy-box",
|
|
47968
|
+
}), c_ = "tippy-box", s6 = "tippy-content", d_ = "tippy-backdrop", a6 = "tippy-arrow", l6 = "tippy-svg-arrow", Co = {
|
|
47963
47969
|
passive: !0,
|
|
47964
47970
|
capture: !0
|
|
47965
|
-
},
|
|
47971
|
+
}, u6 = function() {
|
|
47966
47972
|
return document.body;
|
|
47967
47973
|
};
|
|
47968
47974
|
function Rf(t, e, n) {
|
|
@@ -47976,7 +47982,7 @@ function Um(t, e) {
|
|
|
47976
47982
|
var n = {}.toString.call(t);
|
|
47977
47983
|
return n.indexOf("[object") === 0 && n.indexOf(e + "]") > -1;
|
|
47978
47984
|
}
|
|
47979
|
-
function
|
|
47985
|
+
function c6(t, e) {
|
|
47980
47986
|
return typeof t == "function" ? t.apply(void 0, e) : t;
|
|
47981
47987
|
}
|
|
47982
47988
|
function hb(t, e) {
|
|
@@ -48077,11 +48083,11 @@ var Wi = {
|
|
|
48077
48083
|
isTouch: !1
|
|
48078
48084
|
}, bb = 0;
|
|
48079
48085
|
function w_() {
|
|
48080
|
-
Wi.isTouch || (Wi.isTouch = !0, window.performance && document.addEventListener("mousemove",
|
|
48086
|
+
Wi.isTouch || (Wi.isTouch = !0, window.performance && document.addEventListener("mousemove", d6));
|
|
48081
48087
|
}
|
|
48082
|
-
function
|
|
48088
|
+
function d6() {
|
|
48083
48089
|
var t = performance.now();
|
|
48084
|
-
t - bb < 20 && (Wi.isTouch = !1, document.removeEventListener("mousemove",
|
|
48090
|
+
t - bb < 20 && (Wi.isTouch = !1, document.removeEventListener("mousemove", d6)), bb = t;
|
|
48085
48091
|
}
|
|
48086
48092
|
function S_() {
|
|
48087
48093
|
var t = document.activeElement;
|
|
@@ -48112,7 +48118,7 @@ var k_ = typeof window < "u" && typeof document < "u", O_ = k_ ? (
|
|
|
48112
48118
|
theme: "",
|
|
48113
48119
|
zIndex: 9999
|
|
48114
48120
|
}, Mi = Object.assign({
|
|
48115
|
-
appendTo:
|
|
48121
|
+
appendTo: u6,
|
|
48116
48122
|
aria: {
|
|
48117
48123
|
content: "auto",
|
|
48118
48124
|
expanded: "auto"
|
|
@@ -48165,7 +48171,7 @@ var k_ = typeof window < "u" && typeof document < "u", O_ = k_ ? (
|
|
|
48165
48171
|
Mi[i] = e[i];
|
|
48166
48172
|
});
|
|
48167
48173
|
};
|
|
48168
|
-
function
|
|
48174
|
+
function f6(t) {
|
|
48169
48175
|
var e = t.plugins || [], n = e.reduce(function(i, r) {
|
|
48170
48176
|
var o = r.name, s = r.defaultValue;
|
|
48171
48177
|
if (o) {
|
|
@@ -48177,7 +48183,7 @@ function fS(t) {
|
|
|
48177
48183
|
return Object.assign({}, t, n);
|
|
48178
48184
|
}
|
|
48179
48185
|
function I_(t, e) {
|
|
48180
|
-
var n = e ? Object.keys(
|
|
48186
|
+
var n = e ? Object.keys(f6(Object.assign({}, Mi, {
|
|
48181
48187
|
plugins: e
|
|
48182
48188
|
}))) : M_, i = n.reduce(function(r, o) {
|
|
48183
48189
|
var s = (t.getAttribute("data-tippy-" + o) || "").trim();
|
|
@@ -48197,7 +48203,7 @@ function I_(t, e) {
|
|
|
48197
48203
|
}
|
|
48198
48204
|
function Ab(t, e) {
|
|
48199
48205
|
var n = Object.assign({}, e, {
|
|
48200
|
-
content:
|
|
48206
|
+
content: c6(e.content, [t])
|
|
48201
48207
|
}, e.ignoreAttributes ? {} : I_(t, e.plugins));
|
|
48202
48208
|
return n.aria = Object.assign({}, Mi.aria, n.aria), n.aria = {
|
|
48203
48209
|
expanded: n.aria.expanded === "auto" ? e.interactive : n.aria.expanded,
|
|
@@ -48212,7 +48218,7 @@ function uh(t, e) {
|
|
|
48212
48218
|
}
|
|
48213
48219
|
function wb(t) {
|
|
48214
48220
|
var e = Na();
|
|
48215
|
-
return t === !0 ? e.className =
|
|
48221
|
+
return t === !0 ? e.className = a6 : (e.className = l6, Bd(t) ? e.appendChild(t) : uh(e, t)), e;
|
|
48216
48222
|
}
|
|
48217
48223
|
function Sb(t, e) {
|
|
48218
48224
|
Bd(e.content) ? (uh(t, ""), t.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? uh(t, e.content) : t.textContent = e.content);
|
|
@@ -48222,21 +48228,21 @@ function ch(t) {
|
|
|
48222
48228
|
return {
|
|
48223
48229
|
box: e,
|
|
48224
48230
|
content: n.find(function(i) {
|
|
48225
|
-
return i.classList.contains(
|
|
48231
|
+
return i.classList.contains(s6);
|
|
48226
48232
|
}),
|
|
48227
48233
|
arrow: n.find(function(i) {
|
|
48228
|
-
return i.classList.contains(
|
|
48234
|
+
return i.classList.contains(a6) || i.classList.contains(l6);
|
|
48229
48235
|
}),
|
|
48230
48236
|
backdrop: n.find(function(i) {
|
|
48231
48237
|
return i.classList.contains(d_);
|
|
48232
48238
|
})
|
|
48233
48239
|
};
|
|
48234
48240
|
}
|
|
48235
|
-
function
|
|
48241
|
+
function p6(t) {
|
|
48236
48242
|
var e = Na(), n = Na();
|
|
48237
48243
|
n.className = c_, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
|
|
48238
48244
|
var i = Na();
|
|
48239
|
-
i.className =
|
|
48245
|
+
i.className = s6, i.setAttribute("data-state", "hidden"), Sb(i, t.props), e.appendChild(n), n.appendChild(i), r(t.props, t.props);
|
|
48240
48246
|
function r(o, s) {
|
|
48241
48247
|
var a = ch(e), l = a.box, u = a.content, c = a.arrow;
|
|
48242
48248
|
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) && Sb(u, t.props), s.arrow ? c ? o.arrow !== s.arrow && (l.removeChild(c), l.appendChild(wb(s.arrow))) : l.appendChild(wb(s.arrow)) : c && l.removeChild(c);
|
|
@@ -48246,10 +48252,10 @@ function pS(t) {
|
|
|
48246
48252
|
onUpdate: r
|
|
48247
48253
|
};
|
|
48248
48254
|
}
|
|
48249
|
-
|
|
48255
|
+
p6.$$tippy = !0;
|
|
48250
48256
|
var L_ = 1, Bu = [], $f = [];
|
|
48251
48257
|
function D_(t, e) {
|
|
48252
|
-
var n = Ab(t, Object.assign({}, Mi,
|
|
48258
|
+
var n = Ab(t, Object.assign({}, Mi, f6(gb(e)))), i, r, o, s = !1, a = !1, l = !1, u = !1, c, d, f, p = [], h = hb(V, n.interactiveDebounce), m, y = L_++, S = null, A = p_(n.plugins), k = {
|
|
48253
48259
|
// Is the instance currently enabled?
|
|
48254
48260
|
isEnabled: !0,
|
|
48255
48261
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -48543,7 +48549,7 @@ function D_(t, e) {
|
|
|
48543
48549
|
}
|
|
48544
48550
|
function dt() {
|
|
48545
48551
|
var te = b.props.appendTo, ve, ze = le();
|
|
48546
|
-
b.props.interactive && te ===
|
|
48552
|
+
b.props.interactive && te === u6 || te === "parent" ? ve = ze.parentNode : ve = c6(te, [ze]), ve.contains(v) || ve.appendChild(v), b.state.isMounted = !0, ct();
|
|
48547
48553
|
}
|
|
48548
48554
|
function st() {
|
|
48549
48555
|
return Tc(v.querySelectorAll("[data-tippy-root]"));
|
|
@@ -48656,7 +48662,7 @@ function rs(t, e) {
|
|
|
48656
48662
|
rs.defaultProps = Mi;
|
|
48657
48663
|
rs.setDefaultProps = E_;
|
|
48658
48664
|
rs.currentInput = Wi;
|
|
48659
|
-
Object.assign({},
|
|
48665
|
+
Object.assign({}, YS, {
|
|
48660
48666
|
effect: function(e) {
|
|
48661
48667
|
var n = e.state, i = {
|
|
48662
48668
|
popper: {
|
|
@@ -48674,11 +48680,11 @@ Object.assign({}, Y6, {
|
|
|
48674
48680
|
}
|
|
48675
48681
|
});
|
|
48676
48682
|
rs.setDefaultProps({
|
|
48677
|
-
render:
|
|
48683
|
+
render: p6
|
|
48678
48684
|
});
|
|
48679
48685
|
class R_ {
|
|
48680
48686
|
getTextContent(e) {
|
|
48681
|
-
return
|
|
48687
|
+
return GS(e, { textSerializers: Pm(this.editor.schema) });
|
|
48682
48688
|
}
|
|
48683
48689
|
constructor({ editor: e, element: n, view: i, tippyOptions: r = {}, shouldShow: o }) {
|
|
48684
48690
|
this.preventHide = !1, this.shouldShow = ({ view: s, state: a }) => {
|
|
@@ -48727,7 +48733,7 @@ class R_ {
|
|
|
48727
48733
|
return;
|
|
48728
48734
|
}
|
|
48729
48735
|
(r = this.tippy) === null || r === void 0 || r.setProps({
|
|
48730
|
-
getReferenceClientRect: ((o = this.tippyOptions) === null || o === void 0 ? void 0 : o.getReferenceClientRect) || (() =>
|
|
48736
|
+
getReferenceClientRect: ((o = this.tippyOptions) === null || o === void 0 ? void 0 : o.getReferenceClientRect) || (() => ZS(e, u, c))
|
|
48731
48737
|
}), this.show();
|
|
48732
48738
|
}
|
|
48733
48739
|
show() {
|
|
@@ -48743,7 +48749,7 @@ class R_ {
|
|
|
48743
48749
|
!((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);
|
|
48744
48750
|
}
|
|
48745
48751
|
}
|
|
48746
|
-
const
|
|
48752
|
+
const h6 = (t) => new An({
|
|
48747
48753
|
key: typeof t.pluginKey == "string" ? new Mn(t.pluginKey) : t.pluginKey,
|
|
48748
48754
|
view: (e) => new R_({ view: e, ...t })
|
|
48749
48755
|
}), N_ = jn.create({
|
|
@@ -48758,7 +48764,7 @@ const hS = (t) => new An({
|
|
|
48758
48764
|
},
|
|
48759
48765
|
addProseMirrorPlugins() {
|
|
48760
48766
|
return this.options.element ? [
|
|
48761
|
-
|
|
48767
|
+
h6({
|
|
48762
48768
|
pluginKey: this.options.pluginKey,
|
|
48763
48769
|
editor: this.editor,
|
|
48764
48770
|
element: this.options.element,
|
|
@@ -48846,9 +48852,9 @@ vn.prototype.map = function(e, n, i) {
|
|
|
48846
48852
|
}, n, i), r;
|
|
48847
48853
|
};
|
|
48848
48854
|
vn.from = function(e) {
|
|
48849
|
-
return e instanceof vn ? e : e && e.length ? new
|
|
48855
|
+
return e instanceof vn ? e : e && e.length ? new m6(e) : vn.empty;
|
|
48850
48856
|
};
|
|
48851
|
-
var
|
|
48857
|
+
var m6 = /* @__PURE__ */ function(t) {
|
|
48852
48858
|
function e(i) {
|
|
48853
48859
|
t.call(this), this.values = i;
|
|
48854
48860
|
}
|
|
@@ -48880,7 +48886,7 @@ var mS = /* @__PURE__ */ function(t) {
|
|
|
48880
48886
|
return 0;
|
|
48881
48887
|
}, Object.defineProperties(e.prototype, n), e;
|
|
48882
48888
|
}(vn);
|
|
48883
|
-
vn.empty = new
|
|
48889
|
+
vn.empty = new m6([]);
|
|
48884
48890
|
var $_ = /* @__PURE__ */ function(t) {
|
|
48885
48891
|
function e(n, i) {
|
|
48886
48892
|
t.call(this), this.left = n, this.right = i, this.length = n.length + i.length, this.depth = Math.max(n.depth, i.depth) + 1;
|
|
@@ -49134,14 +49140,14 @@ function W_(t = {}) {
|
|
|
49134
49140
|
props: {
|
|
49135
49141
|
handleDOMEvents: {
|
|
49136
49142
|
beforeinput(e, n) {
|
|
49137
|
-
let i = n.inputType, r = i == "historyUndo" ?
|
|
49143
|
+
let i = n.inputType, r = i == "historyUndo" ? v6 : i == "historyRedo" ? y6 : null;
|
|
49138
49144
|
return r ? (n.preventDefault(), r(e.state, e.dispatch)) : !1;
|
|
49139
49145
|
}
|
|
49140
49146
|
}
|
|
49141
49147
|
}
|
|
49142
49148
|
});
|
|
49143
49149
|
}
|
|
49144
|
-
function
|
|
49150
|
+
function g6(t, e) {
|
|
49145
49151
|
return (n, i) => {
|
|
49146
49152
|
let r = Vo.getState(n);
|
|
49147
49153
|
if (!r || (t ? r.undone : r.done).eventCount == 0)
|
|
@@ -49153,7 +49159,7 @@ function gS(t, e) {
|
|
|
49153
49159
|
return !0;
|
|
49154
49160
|
};
|
|
49155
49161
|
}
|
|
49156
|
-
const
|
|
49162
|
+
const v6 = g6(!1, !0), y6 = g6(!0, !0), X_ = jn.create({
|
|
49157
49163
|
name: "history",
|
|
49158
49164
|
addOptions() {
|
|
49159
49165
|
return {
|
|
@@ -49163,8 +49169,8 @@ const vS = gS(!1, !0), yS = gS(!0, !0), X_ = jn.create({
|
|
|
49163
49169
|
},
|
|
49164
49170
|
addCommands() {
|
|
49165
49171
|
return {
|
|
49166
|
-
undo: () => ({ state: t, dispatch: e }) =>
|
|
49167
|
-
redo: () => ({ state: t, dispatch: e }) =>
|
|
49172
|
+
undo: () => ({ state: t, dispatch: e }) => v6(t, e),
|
|
49173
|
+
redo: () => ({ state: t, dispatch: e }) => y6(t, e)
|
|
49168
49174
|
};
|
|
49169
49175
|
},
|
|
49170
49176
|
addProseMirrorPlugins() {
|
|
@@ -49310,12 +49316,12 @@ const vS = gS(!1, !0), yS = gS(!0, !0), X_ = jn.create({
|
|
|
49310
49316
|
for (const n in e)
|
|
49311
49317
|
t[n] = e[n];
|
|
49312
49318
|
return t;
|
|
49313
|
-
}, dh = "numeric", fh = "ascii", ph = "alpha", Ba = "asciinumeric", Sa = "alphanumeric", hh = "domain",
|
|
49319
|
+
}, dh = "numeric", fh = "ascii", ph = "alpha", Ba = "asciinumeric", Sa = "alphanumeric", hh = "domain", b6 = "emoji", nY = "scheme", iY = "slashscheme", Ff = "whitespace";
|
|
49314
49320
|
function rY(t, e) {
|
|
49315
49321
|
return t in e || (e[t] = []), e[t];
|
|
49316
49322
|
}
|
|
49317
49323
|
function Io(t, e, n) {
|
|
49318
|
-
e[dh] && (e[Ba] = !0, e[Sa] = !0), e[fh] && (e[Ba] = !0, e[ph] = !0), e[Ba] && (e[Sa] = !0), e[ph] && (e[Sa] = !0), e[Sa] && (e[hh] = !0), e[
|
|
49324
|
+
e[dh] && (e[Ba] = !0, e[Sa] = !0), e[fh] && (e[Ba] = !0, e[ph] = !0), e[Ba] && (e[Sa] = !0), e[ph] && (e[Sa] = !0), e[Sa] && (e[hh] = !0), e[b6] && (e[hh] = !0);
|
|
49319
49325
|
for (const i in e) {
|
|
49320
49326
|
const r = rY(i, n);
|
|
49321
49327
|
r.indexOf(t) < 0 && r.push(t);
|
|
@@ -49451,13 +49457,13 @@ Gn.prototype = {
|
|
|
49451
49457
|
return r.j[t] = s, s;
|
|
49452
49458
|
}
|
|
49453
49459
|
};
|
|
49454
|
-
const mt = (t, e, n, i, r) => t.ta(e, n, i, r), Qt = (t, e, n, i, r) => t.tr(e, n, i, r), Ob = (t, e, n, i, r) => t.ts(e, n, i, r), De = (t, e, n, i, r) => t.tt(e, n, i, r), fr = "WORD", mh = "UWORD",
|
|
49455
|
-
var
|
|
49460
|
+
const mt = (t, e, n, i, r) => t.ta(e, n, i, r), Qt = (t, e, n, i, r) => t.tr(e, n, i, r), Ob = (t, e, n, i, r) => t.ts(e, n, i, r), De = (t, e, n, i, r) => t.tt(e, n, i, r), fr = "WORD", mh = "UWORD", A6 = "ASCIINUMERICAL", w6 = "ALPHANUMERICAL", Hl = "LOCALHOST", gh = "TLD", vh = "UTLD", Yu = "SCHEME", bs = "SLASH_SCHEME", Km = "NUM", yh = "WS", Wm = "NL", $a = "OPENBRACE", Va = "CLOSEBRACE", Mc = "OPENBRACKET", Ec = "CLOSEBRACKET", Ic = "OPENPAREN", Pc = "CLOSEPAREN", Lc = "OPENANGLEBRACKET", Dc = "CLOSEANGLEBRACKET", Rc = "FULLWIDTHLEFTPAREN", Nc = "FULLWIDTHRIGHTPAREN", Bc = "LEFTCORNERBRACKET", $c = "RIGHTCORNERBRACKET", Vc = "LEFTWHITECORNERBRACKET", zc = "RIGHTWHITECORNERBRACKET", Fc = "FULLWIDTHLESSTHAN", Hc = "FULLWIDTHGREATERTHAN", jc = "AMPERSAND", Xm = "APOSTROPHE", Uc = "ASTERISK", Fr = "AT", Kc = "BACKSLASH", Wc = "BACKTICK", Xc = "CARET", Kr = "COLON", Gm = "COMMA", Gc = "DOLLAR", ji = "DOT", qc = "EQUALS", qm = "EXCLAMATION", di = "HYPHEN", za = "PERCENT", Zc = "PIPE", Jc = "PLUS", _c = "POUND", Fa = "QUERY", Zm = "QUOTE", S6 = "FULLWIDTHMIDDLEDOT", Jm = "SEMI", Ui = "SLASH", Ha = "TILDE", Yc = "UNDERSCORE", C6 = "EMOJI", Qc = "SYM";
|
|
49461
|
+
var k6 = /* @__PURE__ */ Object.freeze({
|
|
49456
49462
|
__proto__: null,
|
|
49457
49463
|
WORD: fr,
|
|
49458
49464
|
UWORD: mh,
|
|
49459
|
-
ASCIINUMERICAL:
|
|
49460
|
-
ALPHANUMERICAL:
|
|
49465
|
+
ASCIINUMERICAL: A6,
|
|
49466
|
+
ALPHANUMERICAL: w6,
|
|
49461
49467
|
LOCALHOST: Hl,
|
|
49462
49468
|
TLD: gh,
|
|
49463
49469
|
UTLD: vh,
|
|
@@ -49502,12 +49508,12 @@ var kS = /* @__PURE__ */ Object.freeze({
|
|
|
49502
49508
|
POUND: _c,
|
|
49503
49509
|
QUERY: Fa,
|
|
49504
49510
|
QUOTE: Zm,
|
|
49505
|
-
FULLWIDTHMIDDLEDOT:
|
|
49511
|
+
FULLWIDTHMIDDLEDOT: S6,
|
|
49506
49512
|
SEMI: Jm,
|
|
49507
49513
|
SLASH: Ui,
|
|
49508
49514
|
TILDE: Ha,
|
|
49509
49515
|
UNDERSCORE: Yc,
|
|
49510
|
-
EMOJI:
|
|
49516
|
+
EMOJI: C6,
|
|
49511
49517
|
SYM: Qc
|
|
49512
49518
|
});
|
|
49513
49519
|
const ur = /[a-z]/, pa = new RegExp("\\p{L}", "u"), Hf = new RegExp("\\p{Emoji}", "u"), cr = /\d/, jf = /\s/, Tb = "\r", Uf = `
|
|
@@ -49517,14 +49523,14 @@ function lY(t = []) {
|
|
|
49517
49523
|
const e = {};
|
|
49518
49524
|
Gn.groups = e;
|
|
49519
49525
|
const n = new Gn();
|
|
49520
|
-
$u == null && ($u = xb(eY)), Vu == null && (Vu = xb(tY)), De(n, "'", Xm), De(n, "{", $a), De(n, "}", Va), De(n, "[", Mc), De(n, "]", Ec), De(n, "(", Ic), De(n, ")", Pc), De(n, "<", Lc), De(n, ">", Dc), De(n, "(", Rc), De(n, ")", Nc), De(n, "「", Bc), De(n, "」", $c), De(n, "『", Vc), De(n, "』", zc), De(n, "<", Fc), De(n, ">", Hc), De(n, "&", jc), De(n, "*", Uc), De(n, "@", Fr), De(n, "`", Wc), De(n, "^", Xc), De(n, ":", Kr), De(n, ",", Gm), De(n, "$", Gc), De(n, ".", ji), De(n, "=", qc), De(n, "!", qm), De(n, "-", di), De(n, "%", za), De(n, "|", Zc), De(n, "+", Jc), De(n, "#", _c), De(n, "?", Fa), De(n, '"', Zm), De(n, "/", Ui), De(n, ";", Jm), De(n, "~", Ha), De(n, "_", Yc), De(n, "\\", Kc), De(n, "・",
|
|
49526
|
+
$u == null && ($u = xb(eY)), Vu == null && (Vu = xb(tY)), De(n, "'", Xm), De(n, "{", $a), De(n, "}", Va), De(n, "[", Mc), De(n, "]", Ec), De(n, "(", Ic), De(n, ")", Pc), De(n, "<", Lc), De(n, ">", Dc), De(n, "(", Rc), De(n, ")", Nc), De(n, "「", Bc), De(n, "」", $c), De(n, "『", Vc), De(n, "』", zc), De(n, "<", Fc), De(n, ">", Hc), De(n, "&", jc), De(n, "*", Uc), De(n, "@", Fr), De(n, "`", Wc), De(n, "^", Xc), De(n, ":", Kr), De(n, ",", Gm), De(n, "$", Gc), De(n, ".", ji), De(n, "=", qc), De(n, "!", qm), De(n, "-", di), De(n, "%", za), De(n, "|", Zc), De(n, "+", Jc), De(n, "#", _c), De(n, "?", Fa), De(n, '"', Zm), De(n, "/", Ui), De(n, ";", Jm), De(n, "~", Ha), De(n, "_", Yc), De(n, "\\", Kc), De(n, "・", S6);
|
|
49521
49527
|
const i = Qt(n, cr, Km, {
|
|
49522
49528
|
[dh]: !0
|
|
49523
49529
|
});
|
|
49524
49530
|
Qt(i, cr, i);
|
|
49525
|
-
const r = Qt(i, ur,
|
|
49531
|
+
const r = Qt(i, ur, A6, {
|
|
49526
49532
|
[Ba]: !0
|
|
49527
|
-
}), o = Qt(i, pa,
|
|
49533
|
+
}), o = Qt(i, pa, w6, {
|
|
49528
49534
|
[Sa]: !0
|
|
49529
49535
|
}), s = Qt(n, ur, fr, {
|
|
49530
49536
|
[fh]: !0
|
|
@@ -49542,8 +49548,8 @@ function lY(t = []) {
|
|
|
49542
49548
|
[Ff]: !0
|
|
49543
49549
|
});
|
|
49544
49550
|
De(n, Kf, c), De(u, Uf, l), De(u, Kf, c), Qt(u, jf, c), De(c, Tb), De(c, Uf), Qt(c, jf, c), De(c, Kf, c);
|
|
49545
|
-
const d = Qt(n, Hf,
|
|
49546
|
-
[
|
|
49551
|
+
const d = Qt(n, Hf, C6, {
|
|
49552
|
+
[b6]: !0
|
|
49547
49553
|
});
|
|
49548
49554
|
De(d, "#"), Qt(d, Hf, d), De(d, sY, d);
|
|
49549
49555
|
const f = De(d, aY);
|
|
@@ -49580,10 +49586,10 @@ function lY(t = []) {
|
|
|
49580
49586
|
start: n,
|
|
49581
49587
|
tokens: Ks({
|
|
49582
49588
|
groups: e
|
|
49583
|
-
},
|
|
49589
|
+
}, k6)
|
|
49584
49590
|
};
|
|
49585
49591
|
}
|
|
49586
|
-
function
|
|
49592
|
+
function O6(t, e) {
|
|
49587
49593
|
const n = uY(e.replace(/[A-Z]/g, (a) => a.toLowerCase())), i = n.length, r = [];
|
|
49588
49594
|
let o = 0, s = 0;
|
|
49589
49595
|
for (; s < i; ) {
|
|
@@ -49727,10 +49733,10 @@ _m.prototype = {
|
|
|
49727
49733
|
function Mb(t) {
|
|
49728
49734
|
return t;
|
|
49729
49735
|
}
|
|
49730
|
-
function
|
|
49736
|
+
function T6(t, e) {
|
|
49731
49737
|
this.t = "token", this.v = t, this.tk = e;
|
|
49732
49738
|
}
|
|
49733
|
-
|
|
49739
|
+
T6.prototype = {
|
|
49734
49740
|
isLink: !1,
|
|
49735
49741
|
/**
|
|
49736
49742
|
* Return the string this token represents.
|
|
@@ -49835,7 +49841,7 @@ TS.prototype = {
|
|
|
49835
49841
|
}
|
|
49836
49842
|
};
|
|
49837
49843
|
function $d(t, e) {
|
|
49838
|
-
class n extends
|
|
49844
|
+
class n extends T6 {
|
|
49839
49845
|
constructor(r, o) {
|
|
49840
49846
|
super(r, o), this.t = t;
|
|
49841
49847
|
}
|
|
@@ -49929,7 +49935,7 @@ function dY({
|
|
|
49929
49935
|
}
|
|
49930
49936
|
return De(r, Hl, A), De(r, Wm, cY), {
|
|
49931
49937
|
start: r,
|
|
49932
|
-
tokens:
|
|
49938
|
+
tokens: k6
|
|
49933
49939
|
};
|
|
49934
49940
|
}
|
|
49935
49941
|
function fY(t, e, n) {
|
|
@@ -49989,10 +49995,10 @@ function gY() {
|
|
|
49989
49995
|
return Xt.initialized = !0, Xt;
|
|
49990
49996
|
}
|
|
49991
49997
|
function Ym(t) {
|
|
49992
|
-
return Xt.initialized || gY(), fY(Xt.parser.start, t,
|
|
49998
|
+
return Xt.initialized || gY(), fY(Xt.parser.start, t, O6(Xt.scanner.start, t));
|
|
49993
49999
|
}
|
|
49994
|
-
Ym.scan =
|
|
49995
|
-
function
|
|
50000
|
+
Ym.scan = O6;
|
|
50001
|
+
function x6(t, e = null, n = null) {
|
|
49996
50002
|
if (e && typeof e == "object") {
|
|
49997
50003
|
if (n)
|
|
49998
50004
|
throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);
|
|
@@ -50058,7 +50064,7 @@ function bY(t) {
|
|
|
50058
50064
|
a.push(s), s = s.parentNode;
|
|
50059
50065
|
if (!a.find((f) => f.nodeName === "A"))
|
|
50060
50066
|
return !1;
|
|
50061
|
-
const l =
|
|
50067
|
+
const l = qS(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;
|
|
50062
50068
|
return u && c ? (window.open(c, d), !0) : !1;
|
|
50063
50069
|
}
|
|
50064
50070
|
}
|
|
@@ -50076,7 +50082,7 @@ function AY(t) {
|
|
|
50076
50082
|
i.content.forEach((u) => {
|
|
50077
50083
|
a += u.textContent;
|
|
50078
50084
|
});
|
|
50079
|
-
const l =
|
|
50085
|
+
const l = x6(a, { defaultProtocol: t.defaultProtocol }).find((u) => u.isLink && u.value === a);
|
|
50080
50086
|
return !a || !l ? !1 : t.editor.commands.setMark(t.type, {
|
|
50081
50087
|
href: l.href
|
|
50082
50088
|
});
|
|
@@ -50216,7 +50222,7 @@ const SY = Sr.create({
|
|
|
50216
50222
|
find: (t) => {
|
|
50217
50223
|
const e = [];
|
|
50218
50224
|
if (t) {
|
|
50219
|
-
const { protocols: n, defaultProtocol: i } = this.options, r =
|
|
50225
|
+
const { protocols: n, defaultProtocol: i } = this.options, r = x6(t).filter((o) => o.isLink && this.options.isAllowedUri(o.value, {
|
|
50220
50226
|
defaultValidate: (s) => !!Ao(s, n),
|
|
50221
50227
|
protocols: n,
|
|
50222
50228
|
defaultProtocol: i
|
|
@@ -50769,7 +50775,7 @@ class NY {
|
|
|
50769
50775
|
return v.getBoundingClientRect();
|
|
50770
50776
|
}
|
|
50771
50777
|
}
|
|
50772
|
-
return
|
|
50778
|
+
return ZS(a, k, b);
|
|
50773
50779
|
})
|
|
50774
50780
|
}), this.show();
|
|
50775
50781
|
}, 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";
|
|
@@ -50809,7 +50815,7 @@ class NY {
|
|
|
50809
50815
|
!((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);
|
|
50810
50816
|
}
|
|
50811
50817
|
}
|
|
50812
|
-
const
|
|
50818
|
+
const M6 = (t) => new An({
|
|
50813
50819
|
key: typeof t.pluginKey == "string" ? new Mn(t.pluginKey) : t.pluginKey,
|
|
50814
50820
|
view: (e) => new NY({ view: e, ...t })
|
|
50815
50821
|
});
|
|
@@ -50826,7 +50832,7 @@ jn.create({
|
|
|
50826
50832
|
},
|
|
50827
50833
|
addProseMirrorPlugins() {
|
|
50828
50834
|
return this.options.element ? [
|
|
50829
|
-
|
|
50835
|
+
M6({
|
|
50830
50836
|
pluginKey: this.options.pluginKey,
|
|
50831
50837
|
editor: this.editor,
|
|
50832
50838
|
element: this.options.element,
|
|
@@ -50865,7 +50871,7 @@ be({
|
|
|
50865
50871
|
const n = ie(null);
|
|
50866
50872
|
return pt(() => {
|
|
50867
50873
|
const { updateDelay: i, editor: r, pluginKey: o, shouldShow: s, tippyOptions: a } = t;
|
|
50868
|
-
r.registerPlugin(
|
|
50874
|
+
r.registerPlugin(M6({
|
|
50869
50875
|
updateDelay: i,
|
|
50870
50876
|
editor: r,
|
|
50871
50877
|
element: n.value,
|
|
@@ -50987,7 +50993,7 @@ const $Y = be({
|
|
|
50987
50993
|
const n = ie(null);
|
|
50988
50994
|
return pt(() => {
|
|
50989
50995
|
const { pluginKey: i, editor: r, tippyOptions: o, shouldShow: s } = t;
|
|
50990
|
-
r.registerPlugin(
|
|
50996
|
+
r.registerPlugin(h6({
|
|
50991
50997
|
pluginKey: i,
|
|
50992
50998
|
editor: r,
|
|
50993
50999
|
element: n.value,
|
|
@@ -51020,7 +51026,7 @@ be({
|
|
|
51020
51026
|
});
|
|
51021
51027
|
}
|
|
51022
51028
|
});
|
|
51023
|
-
const
|
|
51029
|
+
const E6 = be({
|
|
51024
51030
|
name: "NodeViewWrapper",
|
|
51025
51031
|
props: {
|
|
51026
51032
|
as: {
|
|
@@ -51052,7 +51058,7 @@ const ES = be({
|
|
|
51052
51058
|
(i = o == null ? void 0 : o.parentNode) === null || i === void 0 || i.replaceChild(s, o), (r = e.value) === null || r === void 0 || r.destroy();
|
|
51053
51059
|
}), e;
|
|
51054
51060
|
};
|
|
51055
|
-
class
|
|
51061
|
+
class I6 {
|
|
51056
51062
|
constructor(e, { props: n = {}, editor: i }) {
|
|
51057
51063
|
this.editor = i, this.component = jb(e), this.el = document.createElement("div"), this.props = Jt(n), this.renderedComponent = this.renderComponent();
|
|
51058
51064
|
}
|
|
@@ -51078,7 +51084,7 @@ class IS {
|
|
|
51078
51084
|
this.renderedComponent.destroy();
|
|
51079
51085
|
}
|
|
51080
51086
|
}
|
|
51081
|
-
const
|
|
51087
|
+
const P6 = {
|
|
51082
51088
|
editor: {
|
|
51083
51089
|
type: Object,
|
|
51084
51090
|
required: !0
|
|
@@ -51167,7 +51173,7 @@ class zY extends XZ {
|
|
|
51167
51173
|
// eslint-disable-next-line
|
|
51168
51174
|
__file: this.component.__file
|
|
51169
51175
|
});
|
|
51170
|
-
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.renderer = new
|
|
51176
|
+
this.handleSelectionUpdate = this.handleSelectionUpdate.bind(this), this.editor.on("selectionUpdate", this.handleSelectionUpdate), this.renderer = new I6(i, {
|
|
51171
51177
|
editor: this.editor,
|
|
51172
51178
|
props: e
|
|
51173
51179
|
});
|
|
@@ -51252,7 +51258,7 @@ class zY extends XZ {
|
|
|
51252
51258
|
this.renderer.destroy(), this.editor.off("selectionUpdate", this.handleSelectionUpdate);
|
|
51253
51259
|
}
|
|
51254
51260
|
}
|
|
51255
|
-
function
|
|
51261
|
+
function L6(t, e) {
|
|
51256
51262
|
return (n) => {
|
|
51257
51263
|
if (!n.editor.contentComponent)
|
|
51258
51264
|
return {};
|
|
@@ -51262,12 +51268,12 @@ function LS(t, e) {
|
|
|
51262
51268
|
}
|
|
51263
51269
|
const FY = /* @__PURE__ */ be({
|
|
51264
51270
|
__name: "CodeSnippetAdapter",
|
|
51265
|
-
props:
|
|
51271
|
+
props: P6,
|
|
51266
51272
|
setup(t) {
|
|
51267
51273
|
const e = t, n = ie(e.node.attrs.code);
|
|
51268
51274
|
return $e(n, () => {
|
|
51269
51275
|
e.updateAttributes({ code: n.value });
|
|
51270
|
-
}), (i, r) => (g(), P(x(
|
|
51276
|
+
}), (i, r) => (g(), P(x(E6), null, {
|
|
51271
51277
|
default: F(() => [
|
|
51272
51278
|
L(pw, {
|
|
51273
51279
|
code: n.value,
|
|
@@ -51301,7 +51307,7 @@ const FY = /* @__PURE__ */ be({
|
|
|
51301
51307
|
return ["codeSnippet", sn(t)];
|
|
51302
51308
|
},
|
|
51303
51309
|
addNodeView() {
|
|
51304
|
-
return
|
|
51310
|
+
return L6(FY);
|
|
51305
51311
|
},
|
|
51306
51312
|
addCommands() {
|
|
51307
51313
|
return {
|
|
@@ -51317,7 +51323,7 @@ const FY = /* @__PURE__ */ be({
|
|
|
51317
51323
|
class: "absolute top-[45%] px-4 text-gray-400"
|
|
51318
51324
|
}, WY = ["contenteditable"], XY = /* @__PURE__ */ be({
|
|
51319
51325
|
__name: "MentionSection",
|
|
51320
|
-
props:
|
|
51326
|
+
props: P6,
|
|
51321
51327
|
setup(t) {
|
|
51322
51328
|
const e = t;
|
|
51323
51329
|
pt(() => {
|
|
@@ -51328,7 +51334,7 @@ const FY = /* @__PURE__ */ be({
|
|
|
51328
51334
|
e.updateAttributes({ title: n.value });
|
|
51329
51335
|
}), $e(i, () => {
|
|
51330
51336
|
e.updateAttributes({ bodyText: i.value });
|
|
51331
|
-
}), (o, s) => (g(), P(x(
|
|
51337
|
+
}), (o, s) => (g(), P(x(E6), null, {
|
|
51332
51338
|
default: F(() => [
|
|
51333
51339
|
M("div", jY, [
|
|
51334
51340
|
M("p", UY, [
|
|
@@ -51383,7 +51389,7 @@ const FY = /* @__PURE__ */ be({
|
|
|
51383
51389
|
return ["mentionSection", sn(t)];
|
|
51384
51390
|
},
|
|
51385
51391
|
addNodeView() {
|
|
51386
|
-
return
|
|
51392
|
+
return L6(XY);
|
|
51387
51393
|
},
|
|
51388
51394
|
addCommands() {
|
|
51389
51395
|
return {
|
|
@@ -51454,7 +51460,7 @@ const FY = /* @__PURE__ */ be({
|
|
|
51454
51460
|
let t, e;
|
|
51455
51461
|
return {
|
|
51456
51462
|
onStart(n) {
|
|
51457
|
-
t = new
|
|
51463
|
+
t = new I6(QY, {
|
|
51458
51464
|
props: {
|
|
51459
51465
|
items: n.items,
|
|
51460
51466
|
command: n.command
|
|
@@ -52897,7 +52903,7 @@ const FY = /* @__PURE__ */ be({
|
|
|
52897
52903
|
return (t == null ? void 0 : t.division) ?? "-";
|
|
52898
52904
|
}
|
|
52899
52905
|
}
|
|
52900
|
-
]),
|
|
52906
|
+
]), D6 = (t) => {
|
|
52901
52907
|
if (Array.isArray(t)) {
|
|
52902
52908
|
const [e, n] = t;
|
|
52903
52909
|
return [
|
|
@@ -52918,7 +52924,7 @@ const FY = /* @__PURE__ */ be({
|
|
|
52918
52924
|
)) {
|
|
52919
52925
|
r[o] = JSON.stringify(
|
|
52920
52926
|
// 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
|
|
52921
|
-
|
|
52927
|
+
D6(l)
|
|
52922
52928
|
);
|
|
52923
52929
|
return;
|
|
52924
52930
|
}
|
|
@@ -52936,7 +52942,7 @@ const FY = /* @__PURE__ */ be({
|
|
|
52936
52942
|
We.emit("multi-select:hide-overlay"), n.forEach((o) => {
|
|
52937
52943
|
if ("field" in o) {
|
|
52938
52944
|
const s = pn(t, o.field);
|
|
52939
|
-
"value" in s && s.value != null && (r[o.field] = s, "matchMode" in s && s.matchMode == "DATE_BETWEEN" && (r[o.field].value =
|
|
52945
|
+
"value" in s && s.value != null && (r[o.field] = s, "matchMode" in s && s.matchMode == "DATE_BETWEEN" && (r[o.field].value = D6(
|
|
52940
52946
|
s.value
|
|
52941
52947
|
)), Array.isArray(s.value) && !s.value.filter(Boolean).length && delete r[o.field]);
|
|
52942
52948
|
}
|
|
@@ -53051,7 +53057,7 @@ const FY = /* @__PURE__ */ be({
|
|
|
53051
53057
|
}, B = (E, N) => {
|
|
53052
53058
|
switch (E.type) {
|
|
53053
53059
|
case "rangenumber":
|
|
53054
|
-
return E.field ? n.static ? `${E.field}.value.${N}` : `${E.field}` : n.static ? `${E.fields[N]}.value` : E.fields[N];
|
|
53060
|
+
return E.field ? n.static ? `${E.field}.value.${N}` : `${E.field}.${N}` : n.static ? `${E.fields[N]}.value` : E.fields[N];
|
|
53055
53061
|
case "multiselect":
|
|
53056
53062
|
case "dropdown":
|
|
53057
53063
|
case "calendar":
|
|
@@ -53567,7 +53573,7 @@ const FY = /* @__PURE__ */ be({
|
|
|
53567
53573
|
} : void 0
|
|
53568
53574
|
]), 1040, ["confirm-label", "show-icon"]));
|
|
53569
53575
|
}
|
|
53570
|
-
}),
|
|
53576
|
+
}), R6 = /* @__PURE__ */ be({
|
|
53571
53577
|
__name: "UserWithIcon",
|
|
53572
53578
|
props: {
|
|
53573
53579
|
user: {}
|
|
@@ -53845,7 +53851,7 @@ const FY = /* @__PURE__ */ be({
|
|
|
53845
53851
|
});
|
|
53846
53852
|
var Ws = {}, See = function() {
|
|
53847
53853
|
return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
|
|
53848
|
-
},
|
|
53854
|
+
}, N6 = {}, li = {};
|
|
53849
53855
|
let tg;
|
|
53850
53856
|
const Cee = [
|
|
53851
53857
|
0,
|
|
@@ -53951,10 +53957,10 @@ var Vd = {};
|
|
|
53951
53957
|
}
|
|
53952
53958
|
};
|
|
53953
53959
|
})(Vd);
|
|
53954
|
-
function
|
|
53960
|
+
function B6() {
|
|
53955
53961
|
this.buffer = [], this.length = 0;
|
|
53956
53962
|
}
|
|
53957
|
-
|
|
53963
|
+
B6.prototype = {
|
|
53958
53964
|
get: function(t) {
|
|
53959
53965
|
const e = Math.floor(t / 8);
|
|
53960
53966
|
return (this.buffer[e] >>> 7 - t % 8 & 1) === 1;
|
|
@@ -53971,7 +53977,7 @@ BS.prototype = {
|
|
|
53971
53977
|
this.buffer.length <= e && this.buffer.push(0), t && (this.buffer[e] |= 128 >>> this.length % 8), this.length++;
|
|
53972
53978
|
}
|
|
53973
53979
|
};
|
|
53974
|
-
var kee =
|
|
53980
|
+
var kee = B6;
|
|
53975
53981
|
function tu(t) {
|
|
53976
53982
|
if (!t || t < 1)
|
|
53977
53983
|
throw new Error("BitMatrix size must be defined and greater than 0");
|
|
@@ -53990,7 +53996,7 @@ tu.prototype.xor = function(t, e, n) {
|
|
|
53990
53996
|
tu.prototype.isReserved = function(t, e) {
|
|
53991
53997
|
return this.reservedBit[t * this.size + e];
|
|
53992
53998
|
};
|
|
53993
|
-
var Oee = tu, $
|
|
53999
|
+
var Oee = tu, $6 = {};
|
|
53994
54000
|
(function(t) {
|
|
53995
54001
|
const e = li.getSymbolSize;
|
|
53996
54002
|
t.getRowColCoords = function(i) {
|
|
@@ -54008,10 +54014,10 @@ var Oee = tu, $S = {};
|
|
|
54008
54014
|
a === s - 1 && l === 0 || r.push([o[a], o[l]]);
|
|
54009
54015
|
return r;
|
|
54010
54016
|
};
|
|
54011
|
-
})($
|
|
54012
|
-
var
|
|
54017
|
+
})($6);
|
|
54018
|
+
var V6 = {};
|
|
54013
54019
|
const Tee = li.getSymbolSize, Nb = 7;
|
|
54014
|
-
|
|
54020
|
+
V6.getPositions = function(e) {
|
|
54015
54021
|
const n = Tee(e);
|
|
54016
54022
|
return [
|
|
54017
54023
|
// top-left
|
|
@@ -54022,7 +54028,7 @@ VS.getPositions = function(e) {
|
|
|
54022
54028
|
[0, n - Nb]
|
|
54023
54029
|
];
|
|
54024
54030
|
};
|
|
54025
|
-
var
|
|
54031
|
+
var z6 = {};
|
|
54026
54032
|
(function(t) {
|
|
54027
54033
|
t.Patterns = {
|
|
54028
54034
|
PATTERN000: 0,
|
|
@@ -54117,7 +54123,7 @@ var zS = {};
|
|
|
54117
54123
|
}
|
|
54118
54124
|
return a;
|
|
54119
54125
|
};
|
|
54120
|
-
})(
|
|
54126
|
+
})(z6);
|
|
54121
54127
|
var zd = {};
|
|
54122
54128
|
const _r = Vd, Hu = [
|
|
54123
54129
|
// L M Q H
|
|
@@ -54472,7 +54478,7 @@ zd.getTotalCodewordsCount = function(e, n) {
|
|
|
54472
54478
|
return;
|
|
54473
54479
|
}
|
|
54474
54480
|
};
|
|
54475
|
-
var
|
|
54481
|
+
var F6 = {}, Fd = {};
|
|
54476
54482
|
const ja = new Uint8Array(512), ed = new Uint8Array(256);
|
|
54477
54483
|
(function() {
|
|
54478
54484
|
let e = 1;
|
|
@@ -54516,32 +54522,32 @@ Fd.mul = function(e, n) {
|
|
|
54516
54522
|
r = t.mul(r, new Uint8Array([1, e.exp(o)]));
|
|
54517
54523
|
return r;
|
|
54518
54524
|
};
|
|
54519
|
-
})(
|
|
54520
|
-
const
|
|
54525
|
+
})(F6);
|
|
54526
|
+
const H6 = F6;
|
|
54521
54527
|
function ng(t) {
|
|
54522
54528
|
this.genPoly = void 0, this.degree = t, this.degree && this.initialize(this.degree);
|
|
54523
54529
|
}
|
|
54524
54530
|
ng.prototype.initialize = function(e) {
|
|
54525
|
-
this.degree = e, this.genPoly =
|
|
54531
|
+
this.degree = e, this.genPoly = H6.generateECPolynomial(this.degree);
|
|
54526
54532
|
};
|
|
54527
54533
|
ng.prototype.encode = function(e) {
|
|
54528
54534
|
if (!this.genPoly)
|
|
54529
54535
|
throw new Error("Encoder not initialized");
|
|
54530
54536
|
const n = new Uint8Array(e.length + this.degree);
|
|
54531
54537
|
n.set(e);
|
|
54532
|
-
const i =
|
|
54538
|
+
const i = H6.mod(n, this.genPoly), r = this.degree - i.length;
|
|
54533
54539
|
if (r > 0) {
|
|
54534
54540
|
const o = new Uint8Array(this.degree);
|
|
54535
54541
|
return o.set(i, r), o;
|
|
54536
54542
|
}
|
|
54537
54543
|
return i;
|
|
54538
54544
|
};
|
|
54539
|
-
var xee = ng,
|
|
54545
|
+
var xee = ng, j6 = {}, vo = {}, ig = {};
|
|
54540
54546
|
ig.isValid = function(e) {
|
|
54541
54547
|
return !isNaN(e) && e >= 1 && e <= 40;
|
|
54542
54548
|
};
|
|
54543
54549
|
var ir = {};
|
|
54544
|
-
const
|
|
54550
|
+
const U6 = "[0-9]+", Mee = "[A-Z $%*+\\-./:]+";
|
|
54545
54551
|
let Ul = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
|
|
54546
54552
|
Ul = Ul.replace(/u/g, "\\u");
|
|
54547
54553
|
const Eee = "(?:(?![A-Z0-9 $%*+\\-./:]|" + Ul + `)(?:.|[\r
|
|
@@ -54549,9 +54555,9 @@ const Eee = "(?:(?![A-Z0-9 $%*+\\-./:]|" + Ul + `)(?:.|[\r
|
|
|
54549
54555
|
ir.KANJI = new RegExp(Ul, "g");
|
|
54550
54556
|
ir.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
|
|
54551
54557
|
ir.BYTE = new RegExp(Eee, "g");
|
|
54552
|
-
ir.NUMERIC = new RegExp(
|
|
54558
|
+
ir.NUMERIC = new RegExp(U6, "g");
|
|
54553
54559
|
ir.ALPHANUMERIC = new RegExp(Mee, "g");
|
|
54554
|
-
const Iee = new RegExp("^" + Ul + "$"), Pee = new RegExp("^" +
|
|
54560
|
+
const Iee = new RegExp("^" + Ul + "$"), Pee = new RegExp("^" + U6 + "$"), Lee = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
|
|
54555
54561
|
ir.testKanji = function(e) {
|
|
54556
54562
|
return Iee.test(e);
|
|
54557
54563
|
};
|
|
@@ -54682,17 +54688,17 @@ ir.testAlphanumeric = function(e) {
|
|
|
54682
54688
|
h ^= s << e.getBCHDigit(h) - a;
|
|
54683
54689
|
return p << 12 | h;
|
|
54684
54690
|
};
|
|
54685
|
-
})(
|
|
54686
|
-
var
|
|
54687
|
-
const bh = li,
|
|
54688
|
-
|
|
54691
|
+
})(j6);
|
|
54692
|
+
var K6 = {};
|
|
54693
|
+
const bh = li, W6 = 1335, Dee = 21522, Bb = bh.getBCHDigit(W6);
|
|
54694
|
+
K6.getEncodedBits = function(e, n) {
|
|
54689
54695
|
const i = e.bit << 3 | n;
|
|
54690
54696
|
let r = i << 10;
|
|
54691
54697
|
for (; bh.getBCHDigit(r) - Bb >= 0; )
|
|
54692
|
-
r ^=
|
|
54698
|
+
r ^= W6 << bh.getBCHDigit(r) - Bb;
|
|
54693
54699
|
return (i << 10 | r) ^ Dee;
|
|
54694
54700
|
};
|
|
54695
|
-
var
|
|
54701
|
+
var X6 = {};
|
|
54696
54702
|
const Ree = vo;
|
|
54697
54703
|
function Xs(t) {
|
|
54698
54704
|
this.mode = Ree.NUMERIC, this.data = t.toString();
|
|
@@ -54829,7 +54835,7 @@ Make sure your charset is UTF-8`
|
|
|
54829
54835
|
n = (n >>> 8 & 255) * 192 + (n & 255), t.put(n, 13);
|
|
54830
54836
|
}
|
|
54831
54837
|
};
|
|
54832
|
-
var jee = Zs,
|
|
54838
|
+
var jee = Zs, G6 = { exports: {} };
|
|
54833
54839
|
(function(t) {
|
|
54834
54840
|
var e = {
|
|
54835
54841
|
single_source_shortest_paths: function(n, i, r) {
|
|
@@ -54894,8 +54900,8 @@ var jee = Zs, GS = { exports: {} };
|
|
|
54894
54900
|
}
|
|
54895
54901
|
};
|
|
54896
54902
|
t.exports = e;
|
|
54897
|
-
})(
|
|
54898
|
-
var Uee =
|
|
54903
|
+
})(G6);
|
|
54904
|
+
var Uee = G6.exports;
|
|
54899
54905
|
(function(t) {
|
|
54900
54906
|
const e = vo, n = Nee, i = $ee, r = zee, o = jee, s = ir, a = li, l = Uee;
|
|
54901
54907
|
function u(S) {
|
|
@@ -55026,8 +55032,8 @@ var Uee = GS.exports;
|
|
|
55026
55032
|
d(A, a.isKanjiModeEnabled())
|
|
55027
55033
|
);
|
|
55028
55034
|
};
|
|
55029
|
-
})(
|
|
55030
|
-
const Hd = li, qf = Vd, Kee = kee, Wee = Oee, Xee = $
|
|
55035
|
+
})(X6);
|
|
55036
|
+
const Hd = li, qf = Vd, Kee = kee, Wee = Oee, Xee = $6, Gee = V6, Ah = z6, wh = zd, qee = xee, td = j6, Zee = K6, Jee = vo, Zf = X6;
|
|
55031
55037
|
function _ee(t, e) {
|
|
55032
55038
|
const n = t.size, i = Gee.getPositions(e);
|
|
55033
55039
|
for (let r = 0; r < i.length; r++) {
|
|
@@ -55153,13 +55159,13 @@ Minimum version required to store current data is: ` + o + `.
|
|
|
55153
55159
|
segments: r
|
|
55154
55160
|
};
|
|
55155
55161
|
}
|
|
55156
|
-
|
|
55162
|
+
N6.create = function(e, n) {
|
|
55157
55163
|
if (typeof e > "u" || e === "")
|
|
55158
55164
|
throw new Error("No input text");
|
|
55159
55165
|
let i = qf.M, r, o;
|
|
55160
55166
|
return typeof n < "u" && (i = qf.from(n.errorCorrectionLevel, qf.M), r = td.from(n.version), o = Ah.from(n.maskPattern), n.toSJISFunc && Hd.setToSJISFunction(n.toSJISFunc)), rte(e, r, i, o);
|
|
55161
55167
|
};
|
|
55162
|
-
var
|
|
55168
|
+
var q6 = {}, rg = {};
|
|
55163
55169
|
(function(t) {
|
|
55164
55170
|
function e(n) {
|
|
55165
55171
|
if (typeof n == "number" && (n = n.toString()), typeof n != "string")
|
|
@@ -55234,8 +55240,8 @@ var qS = {}, rg = {};
|
|
|
55234
55240
|
const u = t.render(o, s, l), c = l.type || "image/png", d = l.rendererOpts || {};
|
|
55235
55241
|
return u.toDataURL(c, d.quality);
|
|
55236
55242
|
};
|
|
55237
|
-
})(
|
|
55238
|
-
var
|
|
55243
|
+
})(q6);
|
|
55244
|
+
var Z6 = {};
|
|
55239
55245
|
const ote = rg;
|
|
55240
55246
|
function $b(t, e) {
|
|
55241
55247
|
const n = t.a / 255, i = e + '="' + t.hex + '"';
|
|
@@ -55253,12 +55259,12 @@ function ste(t, e, n) {
|
|
|
55253
55259
|
}
|
|
55254
55260
|
return i;
|
|
55255
55261
|
}
|
|
55256
|
-
|
|
55262
|
+
Z6.render = function(e, n, i) {
|
|
55257
55263
|
const r = ote.getOptions(n), o = e.modules.size, s = e.modules.data, a = o + r.margin * 2, l = r.color.light.a ? "<path " + $b(r.color.light, "fill") + ' d="M0 0h' + a + "v" + a + 'H0z"/>' : "", u = "<path " + $b(r.color.dark, "stroke") + ' d="' + ste(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>
|
|
55258
55264
|
`;
|
|
55259
55265
|
return typeof i == "function" && i(null, f), f;
|
|
55260
55266
|
};
|
|
55261
|
-
const ate = See, Sh =
|
|
55267
|
+
const ate = See, Sh = N6, J6 = q6, lte = Z6;
|
|
55262
55268
|
function og(t, e, n, i, r) {
|
|
55263
55269
|
const o = [].slice.call(arguments, 1), s = o.length, a = typeof o[s - 1] == "function";
|
|
55264
55270
|
if (!a && !ate())
|
|
@@ -55287,8 +55293,8 @@ function og(t, e, n, i, r) {
|
|
|
55287
55293
|
}
|
|
55288
55294
|
}
|
|
55289
55295
|
Ws.create = Sh.create;
|
|
55290
|
-
Ws.toCanvas = og.bind(null,
|
|
55291
|
-
Ws.toDataURL = og.bind(null,
|
|
55296
|
+
Ws.toCanvas = og.bind(null, J6.render);
|
|
55297
|
+
Ws.toDataURL = og.bind(null, J6.renderToDataURL);
|
|
55292
55298
|
Ws.toString = og.bind(null, function(t, e, n) {
|
|
55293
55299
|
return lte.render(t, n);
|
|
55294
55300
|
});
|
|
@@ -56445,7 +56451,7 @@ const Vb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
56445
56451
|
label: (k = r.value.originGroup) == null ? void 0 : k.name
|
|
56446
56452
|
}, null, 8, ["label"])
|
|
56447
56453
|
]),
|
|
56448
|
-
L(
|
|
56454
|
+
L(R6, {
|
|
56449
56455
|
user: {
|
|
56450
56456
|
...r.value.manager,
|
|
56451
56457
|
fullName: (b = r.value.manager) == null ? void 0 : b.fullName
|
|
@@ -56666,7 +56672,7 @@ const Vb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
56666
56672
|
label: (k = r.value.originGroup) == null ? void 0 : k.name
|
|
56667
56673
|
}, null, 8, ["label"])
|
|
56668
56674
|
]),
|
|
56669
|
-
L(
|
|
56675
|
+
L(R6, {
|
|
56670
56676
|
user: {
|
|
56671
56677
|
...r.value.manager,
|
|
56672
56678
|
fullName: (b = r.value.manager) == null ? void 0 : b.fullName
|
|
@@ -57471,7 +57477,7 @@ const Vb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
57471
57477
|
], 2))), 128))
|
|
57472
57478
|
]));
|
|
57473
57479
|
}
|
|
57474
|
-
}), iie = "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/hPTzEpgtMIP665DbW4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sutofH0sMkgLVd0Z8jAIv0D5Iv4xNVguluzXUCwN1GvExCgJAxUF6KmFGC6W758r0j/Lt0AVuBAIrUB+kd9MWRhV+e6gXBkwaVeJjFIQDiYMMaMblyvhzhHqxTik+RsFimD7IkDJx9qZHrK1S84zGh0HSjQQxoMdBBgkFS99ptPuQG+opxMcoiAbVBxloQCmPOCfUC8P8tdmku4ngQhiFe3A/Ubwae3Dh3GFxKj5GwQroE5h8djd1IBVOPSpqmPgtTsXHKFgJnXAPWUiOMKPAQvVLh1J8jIJVUS7ru6brmGWF/+M2xhIIIkNJ21igXwSCFPCKoF8EgiTQVwZbIvsFgkTQfALiXwSCJCGeQsFm+AcZhLyXgtxmbAAAAABJRU5ErkJggg=='/%3e%3c/defs%3e%3c/svg%3e", { plan: _S } = JSON.parse(localStorage.getItem("user") ?? "{}"), So = (t) => {
|
|
57480
|
+
}), iie = "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/wAAAAAXNSR0IB2cksfwAAAAlw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7PWjQ2siLasDJ4gcfCbaKiwRxYasnskbYF/Rqbgec2w11ZnSUhFtLVabQgSgncuuTNiXNt5GuU6bYvHMvQK2R92Ue1fJWp5GTzBKUBYXBouD7US0TI2xLCthEe9MpHdGY3o+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: _6 } = JSON.parse(localStorage.getItem("user") ?? "{}"), So = (t) => {
|
|
57475
57481
|
const e = [], n = window.location.pathname, i = Ys(t);
|
|
57476
57482
|
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;
|
|
57477
57483
|
}, rie = () => {
|
|
@@ -57551,7 +57557,7 @@ const Vb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
57551
57557
|
return {};
|
|
57552
57558
|
}, oie = async (t, e) => {
|
|
57553
57559
|
try {
|
|
57554
|
-
const n =
|
|
57560
|
+
const n = _6 === "Basic" ? f3 : p3, { systemRole: i, transactionAttribute: r, roleType: o } = e ?? rie(), s = {
|
|
57555
57561
|
systemRole: i ? JSON.stringify(i) : void 0,
|
|
57556
57562
|
transactionAttribute: r ? JSON.stringify(r) : void 0,
|
|
57557
57563
|
roleType: o ? JSON.stringify(o) : void 0
|
|
@@ -57578,7 +57584,7 @@ const Vb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
57578
57584
|
libPath: "admin"
|
|
57579
57585
|
},
|
|
57580
57586
|
Image: {
|
|
57581
|
-
getImageURL:
|
|
57587
|
+
getImageURL: _6 === "Basic" ? d3 : Kb,
|
|
57582
57588
|
placeholder: iie
|
|
57583
57589
|
},
|
|
57584
57590
|
DataTable: {
|
|
@@ -57756,7 +57762,7 @@ export {
|
|
|
57756
57762
|
dre as TransactionRoles,
|
|
57757
57763
|
_M as Tree,
|
|
57758
57764
|
xl as UserName,
|
|
57759
|
-
|
|
57765
|
+
R6 as UserWithIcon,
|
|
57760
57766
|
Bie as VueHtmlToPaper,
|
|
57761
57767
|
Are as WangsVue,
|
|
57762
57768
|
Tie as checkRouteAccess,
|