@myissue/vue-website-page-builder 3.3.62 → 3.3.64
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.
|
@@ -404,10 +404,10 @@ const Fi = (r) => fi = r, qc = process.env.NODE_ENV !== "production" ? Symbol("p
|
|
|
404
404
|
function vo(r) {
|
|
405
405
|
return r && typeof r == "object" && Object.prototype.toString.call(r) === "[object Object]" && typeof r.toJSON != "function";
|
|
406
406
|
}
|
|
407
|
-
var
|
|
407
|
+
var Ge;
|
|
408
408
|
(function(r) {
|
|
409
409
|
r.direct = "direct", r.patchObject = "patch object", r.patchFunction = "patch function";
|
|
410
|
-
})(
|
|
410
|
+
})(Ge || (Ge = {}));
|
|
411
411
|
const Rr = typeof window < "u", Lp = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
|
|
412
412
|
function Nx(r, { autoBom: t = !1 } = {}) {
|
|
413
413
|
return t && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(r.type) ? new Blob(["\uFEFF", r], { type: r.type }) : r;
|
|
@@ -531,18 +531,18 @@ async function _x(r) {
|
|
|
531
531
|
At("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
let
|
|
534
|
+
let nr;
|
|
535
535
|
function zx() {
|
|
536
|
-
|
|
536
|
+
nr || (nr = document.createElement("input"), nr.type = "file", nr.accept = ".json");
|
|
537
537
|
function r() {
|
|
538
538
|
return new Promise((t, e) => {
|
|
539
|
-
|
|
540
|
-
const o =
|
|
539
|
+
nr.onchange = async () => {
|
|
540
|
+
const o = nr.files;
|
|
541
541
|
if (!o)
|
|
542
542
|
return t(null);
|
|
543
543
|
const i = o.item(0);
|
|
544
544
|
return t(i ? { text: await i.text(), file: i } : null);
|
|
545
|
-
},
|
|
545
|
+
}, nr.oncancel = () => t(null), nr.onerror = e, nr.click();
|
|
546
546
|
});
|
|
547
547
|
}
|
|
548
548
|
return r;
|
|
@@ -632,11 +632,11 @@ function Vx(r) {
|
|
|
632
632
|
}
|
|
633
633
|
function Wx(r) {
|
|
634
634
|
switch (r) {
|
|
635
|
-
case
|
|
635
|
+
case Ge.direct:
|
|
636
636
|
return "mutation";
|
|
637
|
-
case
|
|
637
|
+
case Ge.patchFunction:
|
|
638
638
|
return "$patch";
|
|
639
|
-
case
|
|
639
|
+
case Ge.patchObject:
|
|
640
640
|
return "$patch";
|
|
641
641
|
default:
|
|
642
642
|
return "unknown";
|
|
@@ -874,7 +874,7 @@ function Kx(r, t) {
|
|
|
874
874
|
data: qx({ store: Ie(t.$id) }, Vx(a)),
|
|
875
875
|
groupId: $r
|
|
876
876
|
};
|
|
877
|
-
s ===
|
|
877
|
+
s === Ge.patchFunction ? p.subtitle = "⤵️" : s === Ge.patchObject ? p.subtitle = "🧩" : a && !Array.isArray(a) && (p.subtitle = a.type), a && (p.data["rawEvent(s)"] = {
|
|
878
878
|
_custom: {
|
|
879
879
|
display: "DebuggerEvent",
|
|
880
880
|
type: "object",
|
|
@@ -1042,11 +1042,11 @@ function Us(r, t, e = {}, o, i, n) {
|
|
|
1042
1042
|
function y(P) {
|
|
1043
1043
|
let E;
|
|
1044
1044
|
p = d = !1, process.env.NODE_ENV !== "production" && (u = []), typeof P == "function" ? (P(o.state.value[r]), E = {
|
|
1045
|
-
type:
|
|
1045
|
+
type: Ge.patchFunction,
|
|
1046
1046
|
storeId: r,
|
|
1047
1047
|
events: u
|
|
1048
1048
|
}) : (qs(o.state.value[r], P), E = {
|
|
1049
|
-
type:
|
|
1049
|
+
type: Ge.patchObject,
|
|
1050
1050
|
payload: P,
|
|
1051
1051
|
storeId: r,
|
|
1052
1052
|
events: u
|
|
@@ -1114,7 +1114,7 @@ function Us(r, t, e = {}, o, i, n) {
|
|
|
1114
1114
|
const z = $p(c, P, E.detached, () => X()), X = a.run(() => ot(() => o.state.value[r], (mt) => {
|
|
1115
1115
|
(E.flush === "sync" ? d : p) && P({
|
|
1116
1116
|
storeId: r,
|
|
1117
|
-
type:
|
|
1117
|
+
type: Ge.direct,
|
|
1118
1118
|
events: u
|
|
1119
1119
|
}, mt);
|
|
1120
1120
|
}, ve({}, l, E)));
|
|
@@ -2457,7 +2457,7 @@ const hi = {
|
|
|
2457
2457
|
"pbx-mx-80",
|
|
2458
2458
|
"pbx-mx-96"
|
|
2459
2459
|
]
|
|
2460
|
-
},
|
|
2460
|
+
}, Ue = {
|
|
2461
2461
|
roundedGlobal: [
|
|
2462
2462
|
"none",
|
|
2463
2463
|
"pbx-rounded-sm",
|
|
@@ -2813,7 +2813,7 @@ function ob(r, t) {
|
|
|
2813
2813
|
};
|
|
2814
2814
|
return i(e), e.outerHTML;
|
|
2815
2815
|
}
|
|
2816
|
-
var _, ib, nb, ab,
|
|
2816
|
+
var _, ib, nb, ab, je, wt, sb, lb, $a, _a, za, ce, pb, db, Ks, cb, yi, bb, mb, _n, Gs, zn, Js, ub;
|
|
2817
2817
|
class ag {
|
|
2818
2818
|
constructor(t) {
|
|
2819
2819
|
Lo(this, _);
|
|
@@ -2977,38 +2977,42 @@ class ag {
|
|
|
2977
2977
|
const e = this.pageBuilderStateStore.getPageBuilderConfig, o = e && e.updateOrCreate && e.updateOrCreate.formType, i = this.loadStoredComponentsFromStorage();
|
|
2978
2978
|
if (await this.clearHtmlSelection(), o === "update" || o === "create") {
|
|
2979
2979
|
if (!this.pendingMountData) {
|
|
2980
|
+
if (!t && !this.isPageBuilderMissingOnStart && i) {
|
|
2981
|
+
await K(this, _, je).call(this, i);
|
|
2982
|
+
return;
|
|
2983
|
+
}
|
|
2980
2984
|
if (t && !i) {
|
|
2981
|
-
await K(this, _,
|
|
2985
|
+
await K(this, _, je).call(this, JSON.stringify(t), !0);
|
|
2982
2986
|
return;
|
|
2983
2987
|
}
|
|
2984
2988
|
if (t && i) {
|
|
2985
|
-
this.pageBuilderStateStore.setHasLocalDraftForUpdate(!0), await K(this, _,
|
|
2989
|
+
this.pageBuilderStateStore.setHasLocalDraftForUpdate(!0), await K(this, _, je).call(this, JSON.stringify(t), !0);
|
|
2986
2990
|
return;
|
|
2987
2991
|
}
|
|
2988
2992
|
if (!t && i && this.isPageBuilderMissingOnStart) {
|
|
2989
|
-
await K(this, _,
|
|
2993
|
+
await K(this, _, je).call(this, i);
|
|
2990
2994
|
return;
|
|
2991
2995
|
}
|
|
2992
2996
|
if (!t && !i && this.isPageBuilderMissingOnStart) {
|
|
2993
|
-
await K(this, _,
|
|
2997
|
+
await K(this, _, je).call(this, JSON.stringify([]));
|
|
2994
2998
|
return;
|
|
2995
2999
|
}
|
|
2996
3000
|
if (!this.isPageBuilderMissingOnStart && !i && !t) {
|
|
2997
|
-
await K(this, _,
|
|
3001
|
+
await K(this, _, je).call(this, JSON.stringify([]));
|
|
2998
3002
|
return;
|
|
2999
3003
|
}
|
|
3000
3004
|
}
|
|
3001
3005
|
if (this.pendingMountData) {
|
|
3002
3006
|
if (i && this.isPageBuilderMissingOnStart) {
|
|
3003
|
-
this.pageBuilderStateStore.setHasLocalDraftForUpdate(!0), await K(this, _,
|
|
3007
|
+
this.pageBuilderStateStore.setHasLocalDraftForUpdate(!0), await K(this, _, je).call(this, JSON.stringify(this.pendingMountData), !0), this.pendingMountData = null;
|
|
3004
3008
|
return;
|
|
3005
3009
|
}
|
|
3006
3010
|
if (!i && t && this.isPageBuilderMissingOnStart) {
|
|
3007
|
-
await K(this, _,
|
|
3011
|
+
await K(this, _, je).call(this, JSON.stringify(this.pendingMountData), !0);
|
|
3008
3012
|
return;
|
|
3009
3013
|
}
|
|
3010
3014
|
if (!t && !i && this.isPageBuilderMissingOnStart) {
|
|
3011
|
-
await K(this, _,
|
|
3015
|
+
await K(this, _, je).call(this, JSON.stringify(this.pendingMountData), !0);
|
|
3012
3016
|
return;
|
|
3013
3017
|
}
|
|
3014
3018
|
}
|
|
@@ -3127,19 +3131,19 @@ class ag {
|
|
|
3127
3131
|
K(this, _, wt).call(this, t, Kn.textColorVariables, "setTextColor");
|
|
3128
3132
|
}
|
|
3129
3133
|
handleBorderRadiusGlobal(t) {
|
|
3130
|
-
K(this, _, wt).call(this, t,
|
|
3134
|
+
K(this, _, wt).call(this, t, Ue.roundedGlobal, "setBorderRadiusGlobal");
|
|
3131
3135
|
}
|
|
3132
3136
|
handleBorderRadiusTopLeft(t) {
|
|
3133
|
-
K(this, _, wt).call(this, t,
|
|
3137
|
+
K(this, _, wt).call(this, t, Ue.roundedTopLeft, "setBorderRadiusTopLeft");
|
|
3134
3138
|
}
|
|
3135
3139
|
handleBorderRadiusTopRight(t) {
|
|
3136
|
-
K(this, _, wt).call(this, t,
|
|
3140
|
+
K(this, _, wt).call(this, t, Ue.roundedTopRight, "setBorderRadiusTopRight");
|
|
3137
3141
|
}
|
|
3138
3142
|
handleBorderRadiusBottomleft(t) {
|
|
3139
|
-
K(this, _, wt).call(this, t,
|
|
3143
|
+
K(this, _, wt).call(this, t, Ue.roundedBottomLeft, "setBorderRadiusBottomleft");
|
|
3140
3144
|
}
|
|
3141
3145
|
handleBorderRadiusBottomRight(t) {
|
|
3142
|
-
K(this, _, wt).call(this, t,
|
|
3146
|
+
K(this, _, wt).call(this, t, Ue.roundedBottomRight, "setBorderRadiusBottomRight");
|
|
3143
3147
|
}
|
|
3144
3148
|
// border radius / end
|
|
3145
3149
|
handleFontSizeTablet(t) {
|
|
@@ -3305,7 +3309,7 @@ class ag {
|
|
|
3305
3309
|
t && (this.pageBuilderStateStore.setIsLoadingResumeEditing(!0), await Se(400), await K(this, _, zn).call(this, t), this.pageBuilderStateStore.setIsLoadingResumeEditing(!1)), await st(), await ne(this, ce).call(this), this.pageBuilderStateStore.setIsLoadingResumeEditing(!1);
|
|
3306
3310
|
}
|
|
3307
3311
|
async restoreOriginalContent() {
|
|
3308
|
-
this.localStorageManager.updateLocalStorageItemName(), this.pageBuilderStateStore.setIsRestoring(!0), await Se(400), Array.isArray(this.originalComponents) && (await K(this, _, zn).call(this, JSON.stringify(this.originalComponents), !0), this.removeCurrentComponentsFromLocalStorage()), await st(), await ne(this, ce).call(this), this.pageBuilderStateStore.setIsRestoring(!1);
|
|
3312
|
+
this.localStorageManager.updateLocalStorageItemName(), this.pageBuilderStateStore.setIsRestoring(!0), await Se(400), Array.isArray(this.originalComponents) && (await this.clearClassesFromPage(), await this.clearInlineStylesFromPagee(), await K(this, _, zn).call(this, JSON.stringify(this.originalComponents), !0), this.removeCurrentComponentsFromLocalStorage()), await st(), await ne(this, ce).call(this), this.pageBuilderStateStore.setIsRestoring(!1);
|
|
3309
3313
|
}
|
|
3310
3314
|
getStorageItemNameForResource() {
|
|
3311
3315
|
return this.getLocalStorageItemName.value;
|
|
@@ -3464,7 +3468,7 @@ _ = new WeakSet(), ib = function(t) {
|
|
|
3464
3468
|
}
|
|
3465
3469
|
};
|
|
3466
3470
|
(!t || t && Object.keys(t).length === 0 && t.constructor === Object) && this.pageBuilderStateStore.setPageBuilderConfig(e), t && Object.keys(t).length !== 0 && t.constructor === Object && K(this, _, ib).call(this, t);
|
|
3467
|
-
},
|
|
3471
|
+
}, je = async function(t, e) {
|
|
3468
3472
|
await K(this, _, zn).call(this, t, e), await st(), await ne(this, ce).call(this), this.deleteOldPageBuilderLocalStorage(), this.pageBuilderStateStore.setIsRestoring(!1), this.pageBuilderStateStore.setIsLoadingGlobal(!1);
|
|
3469
3473
|
}, wt = function(t, e, o) {
|
|
3470
3474
|
const i = this.getElement.value;
|
|
@@ -6915,7 +6919,7 @@ class zr extends Jt {
|
|
|
6915
6919
|
return Et.fromReplace(t, this.from, this.to, n);
|
|
6916
6920
|
}
|
|
6917
6921
|
invert() {
|
|
6918
|
-
return new
|
|
6922
|
+
return new Ke(this.from, this.to, this.mark);
|
|
6919
6923
|
}
|
|
6920
6924
|
map(t) {
|
|
6921
6925
|
let e = t.mapResult(this.from, 1), o = t.mapResult(this.to, -1);
|
|
@@ -6942,7 +6946,7 @@ class zr extends Jt {
|
|
|
6942
6946
|
}
|
|
6943
6947
|
}
|
|
6944
6948
|
Jt.jsonID("addMark", zr);
|
|
6945
|
-
class
|
|
6949
|
+
class Ke extends Jt {
|
|
6946
6950
|
/**
|
|
6947
6951
|
Create a mark-removing step.
|
|
6948
6952
|
*/
|
|
@@ -6958,10 +6962,10 @@ class Ue extends Jt {
|
|
|
6958
6962
|
}
|
|
6959
6963
|
map(t) {
|
|
6960
6964
|
let e = t.mapResult(this.from, 1), o = t.mapResult(this.to, -1);
|
|
6961
|
-
return e.deleted && o.deleted || e.pos >= o.pos ? null : new
|
|
6965
|
+
return e.deleted && o.deleted || e.pos >= o.pos ? null : new Ke(e.pos, o.pos, this.mark);
|
|
6962
6966
|
}
|
|
6963
6967
|
merge(t) {
|
|
6964
|
-
return t instanceof
|
|
6968
|
+
return t instanceof Ke && t.mark.eq(this.mark) && this.from <= t.to && this.to >= t.from ? new Ke(Math.min(this.from, t.from), Math.max(this.to, t.to), this.mark) : null;
|
|
6965
6969
|
}
|
|
6966
6970
|
toJSON() {
|
|
6967
6971
|
return {
|
|
@@ -6977,10 +6981,10 @@ class Ue extends Jt {
|
|
|
6977
6981
|
static fromJSON(t, e) {
|
|
6978
6982
|
if (typeof e.from != "number" || typeof e.to != "number")
|
|
6979
6983
|
throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");
|
|
6980
|
-
return new
|
|
6984
|
+
return new Ke(e.from, e.to, t.markFromJSON(e.mark));
|
|
6981
6985
|
}
|
|
6982
6986
|
}
|
|
6983
|
-
Jt.jsonID("removeMark",
|
|
6987
|
+
Jt.jsonID("removeMark", Ke);
|
|
6984
6988
|
class Fr extends Jt {
|
|
6985
6989
|
/**
|
|
6986
6990
|
Create a node mark step.
|
|
@@ -7193,7 +7197,7 @@ function Lg(r, t, e, o) {
|
|
|
7193
7197
|
if (!o.isInSet(c) && d.type.allowsMarkType(o.type)) {
|
|
7194
7198
|
let m = Math.max(p, t), u = Math.min(p + l.nodeSize, e), x = o.addToSet(c);
|
|
7195
7199
|
for (let g = 0; g < c.length; g++)
|
|
7196
|
-
c[g].isInSet(x) || (a && a.to == m && a.mark.eq(c[g]) ? a.to = u : i.push(a = new
|
|
7200
|
+
c[g].isInSet(x) || (a && a.to == m && a.mark.eq(c[g]) ? a.to = u : i.push(a = new Ke(m, u, c[g])));
|
|
7197
7201
|
s && s.to == m ? s.to = u : n.push(s = new zr(m, u, o));
|
|
7198
7202
|
}
|
|
7199
7203
|
}), i.forEach((l) => r.step(l)), n.forEach((l) => r.step(l));
|
|
@@ -7221,7 +7225,7 @@ function Rg(r, t, e, o) {
|
|
|
7221
7225
|
m ? (m.to = p, m.step = n) : i.push({ style: c, from: Math.max(s, t), to: p, step: n });
|
|
7222
7226
|
}
|
|
7223
7227
|
}
|
|
7224
|
-
}), i.forEach((a) => r.step(new
|
|
7228
|
+
}), i.forEach((a) => r.step(new Ke(a.from, a.to, a.style)));
|
|
7225
7229
|
}
|
|
7226
7230
|
function $l(r, t, e, o = e.contentMatch, i = !0) {
|
|
7227
7231
|
let n = r.doc.nodeAt(t), a = [], s = t + 1;
|
|
@@ -7232,7 +7236,7 @@ function $l(r, t, e, o = e.contentMatch, i = !0) {
|
|
|
7232
7236
|
else {
|
|
7233
7237
|
o = c;
|
|
7234
7238
|
for (let m = 0; m < p.marks.length; m++)
|
|
7235
|
-
e.allowsMarkType(p.marks[m].type) || r.step(new
|
|
7239
|
+
e.allowsMarkType(p.marks[m].type) || r.step(new Ke(s, d, p.marks[m]));
|
|
7236
7240
|
if (i && p.isText && e.whitespace != "pre") {
|
|
7237
7241
|
let m, u = /\r?\n|\r/g, x;
|
|
7238
7242
|
for (; m = u.exec(p.text); )
|
|
@@ -8983,9 +8987,9 @@ function bf(r, t, e) {
|
|
|
8983
8987
|
return { node: o.startContainer, offset: Math.min(Me(o.startContainer), o.startOffset) };
|
|
8984
8988
|
}
|
|
8985
8989
|
}
|
|
8986
|
-
const
|
|
8990
|
+
const Ye = typeof navigator < "u" ? navigator : null, ld = typeof document < "u" ? document : null, Yr = Ye && Ye.userAgent || "", il = /Edge\/(\d+)/.exec(Yr), Jb = /MSIE \d/.exec(Yr), nl = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Yr), se = !!(Jb || nl || il), Vr = Jb ? document.documentMode : nl ? +nl[1] : il ? +il[1] : 0, $e = !se && /gecko\/(\d+)/i.test(Yr);
|
|
8987
8991
|
$e && +(/Firefox\/(\d+)/.exec(Yr) || [0, 0])[1];
|
|
8988
|
-
const al = !se && /Chrome\/(\d+)/.exec(Yr), Gt = !!al, Yb = al ? +al[1] : 0, Zt = !se && !!
|
|
8992
|
+
const al = !se && /Chrome\/(\d+)/.exec(Yr), Gt = !!al, Yb = al ? +al[1] : 0, Zt = !se && !!Ye && /Apple Computer/.test(Ye.vendor), ei = Zt && (/Mobile\/\w+/.test(Yr) || !!Ye && Ye.maxTouchPoints > 2), Ce = ei || (Ye ? /Mac/.test(Ye.platform) : !1), mf = Ye ? /Win/.test(Ye.platform) : !1, br = /Android \d/.test(Yr), ln = !!ld && "webkitFontSmoothing" in ld.documentElement.style, uf = ln ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
8989
8993
|
function xf(r) {
|
|
8990
8994
|
let t = r.defaultView && r.defaultView.visualViewport;
|
|
8991
8995
|
return t ? {
|
|
@@ -9000,7 +9004,7 @@ function xf(r) {
|
|
|
9000
9004
|
bottom: r.documentElement.clientHeight
|
|
9001
9005
|
};
|
|
9002
9006
|
}
|
|
9003
|
-
function
|
|
9007
|
+
function ar(r, t) {
|
|
9004
9008
|
return typeof r == "number" ? r : r[t];
|
|
9005
9009
|
}
|
|
9006
9010
|
function gf(r) {
|
|
@@ -9020,7 +9024,7 @@ function pd(r, t, e) {
|
|
|
9020
9024
|
continue;
|
|
9021
9025
|
}
|
|
9022
9026
|
let s = a, l = s == n.body, p = l ? xf(n) : gf(s), d = 0, c = 0;
|
|
9023
|
-
if (t.top < p.top +
|
|
9027
|
+
if (t.top < p.top + ar(o, "top") ? c = -(p.top - t.top + ar(i, "top")) : t.bottom > p.bottom - ar(o, "bottom") && (c = t.bottom - t.top > p.bottom - p.top ? t.top + ar(i, "top") - p.top : t.bottom - p.bottom + ar(i, "bottom")), t.left < p.left + ar(o, "left") ? d = -(p.left - t.left + ar(i, "left")) : t.right > p.right - ar(o, "right") && (d = t.right - p.right + ar(i, "right")), d || c)
|
|
9024
9028
|
if (l)
|
|
9025
9029
|
n.defaultView.scrollBy(d, c);
|
|
9026
9030
|
else {
|
|
@@ -9319,7 +9323,7 @@ let cd = null, bd = null, md = !1;
|
|
|
9319
9323
|
function Bf(r, t, e) {
|
|
9320
9324
|
return cd == t && bd == e ? md : (cd = t, bd = e, md = e == "up" || e == "down" ? Ef(r, t, e) : Of(r, t, e));
|
|
9321
9325
|
}
|
|
9322
|
-
const Te = 0, ud = 1, co = 2,
|
|
9326
|
+
const Te = 0, ud = 1, co = 2, Xe = 3;
|
|
9323
9327
|
class pn {
|
|
9324
9328
|
constructor(t, e, o, i) {
|
|
9325
9329
|
this.parent = t, this.children = e, this.dom = o, this.contentDOM = i, this.dirty = Te, o.pmViewDesc = this;
|
|
@@ -9635,10 +9639,10 @@ class pn {
|
|
|
9635
9639
|
if (o == a ? t <= a && e >= o : t < a && e > o) {
|
|
9636
9640
|
let s = o + n.border, l = a - n.border;
|
|
9637
9641
|
if (t >= s && e <= l) {
|
|
9638
|
-
this.dirty = t == o || e == a ? co : ud, t == s && e == l && (n.contentLost || n.dom.parentNode != this.contentDOM) ? n.dirty =
|
|
9642
|
+
this.dirty = t == o || e == a ? co : ud, t == s && e == l && (n.contentLost || n.dom.parentNode != this.contentDOM) ? n.dirty = Xe : n.markDirty(t - s, e - s);
|
|
9639
9643
|
return;
|
|
9640
9644
|
} else
|
|
9641
|
-
n.dirty = n.dom == n.contentDOM && n.dom.parentNode == this.contentDOM && !n.children.length ? co :
|
|
9645
|
+
n.dirty = n.dom == n.contentDOM && n.dom.parentNode == this.contentDOM && !n.children.length ? co : Xe;
|
|
9642
9646
|
}
|
|
9643
9647
|
o = a;
|
|
9644
9648
|
}
|
|
@@ -9733,10 +9737,10 @@ class Mo extends pn {
|
|
|
9733
9737
|
return (!a || !a.dom) && (a = Bo.renderSpec(document, e.type.spec.toDOM(e, o), null, e.attrs)), new Mo(t, e, a.dom, a.contentDOM || a.dom, a);
|
|
9734
9738
|
}
|
|
9735
9739
|
parseRule() {
|
|
9736
|
-
return this.dirty &
|
|
9740
|
+
return this.dirty & Xe || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
|
|
9737
9741
|
}
|
|
9738
9742
|
matchesMark(t) {
|
|
9739
|
-
return this.dirty !=
|
|
9743
|
+
return this.dirty != Xe && this.mark.eq(t);
|
|
9740
9744
|
}
|
|
9741
9745
|
markDirty(t, e) {
|
|
9742
9746
|
if (super.markDirty(t, e), this.dirty != Te) {
|
|
@@ -9863,7 +9867,7 @@ class Wr extends pn {
|
|
|
9863
9867
|
// If this desc must be updated to match the given node decoration,
|
|
9864
9868
|
// do so and return true.
|
|
9865
9869
|
update(t, e, o, i) {
|
|
9866
|
-
return this.dirty ==
|
|
9870
|
+
return this.dirty == Xe || !t.sameMarkup(this.node) ? !1 : (this.updateInner(t, e, o, i), !0);
|
|
9867
9871
|
}
|
|
9868
9872
|
updateInner(t, e, o, i) {
|
|
9869
9873
|
this.updateOuterDeco(e), this.node = t, this.innerDeco = o, this.contentDOM && this.updateChildren(i, this.posAtStart), this.dirty = Te;
|
|
@@ -9902,7 +9906,7 @@ class Ua extends Wr {
|
|
|
9902
9906
|
return { skip: t || !0 };
|
|
9903
9907
|
}
|
|
9904
9908
|
update(t, e, o, i) {
|
|
9905
|
-
return this.dirty ==
|
|
9909
|
+
return this.dirty == Xe || this.dirty != Te && !this.inParent() || !t.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(e), (this.dirty != Te || t.text != this.node.text) && t.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = t.text, i.trackWrites == this.nodeDOM && (i.trackWrites = null)), this.node = t, this.dirty = Te, !0);
|
|
9906
9910
|
}
|
|
9907
9911
|
inParent() {
|
|
9908
9912
|
let t = this.parent.contentDOM;
|
|
@@ -9925,7 +9929,7 @@ class Ua extends Wr {
|
|
|
9925
9929
|
return new Ua(this.parent, i, this.outerDeco, this.innerDeco, n, n, o);
|
|
9926
9930
|
}
|
|
9927
9931
|
markDirty(t, e) {
|
|
9928
|
-
super.markDirty(t, e), this.dom != this.nodeDOM && (t == 0 || e == this.nodeDOM.nodeValue.length) && (this.dirty =
|
|
9932
|
+
super.markDirty(t, e), this.dom != this.nodeDOM && (t == 0 || e == this.nodeDOM.nodeValue.length) && (this.dirty = Xe);
|
|
9929
9933
|
}
|
|
9930
9934
|
get domAtom() {
|
|
9931
9935
|
return !1;
|
|
@@ -9956,7 +9960,7 @@ class Af extends Wr {
|
|
|
9956
9960
|
// through. If it does, and there's a `contentDOM` node, our logic
|
|
9957
9961
|
// updates the children.
|
|
9958
9962
|
update(t, e, o, i) {
|
|
9959
|
-
if (this.dirty ==
|
|
9963
|
+
if (this.dirty == Xe)
|
|
9960
9964
|
return !1;
|
|
9961
9965
|
if (this.spec.update && (this.node.type == t.type || this.spec.multiType)) {
|
|
9962
9966
|
let n = this.spec.update(t, e, o);
|
|
@@ -10135,7 +10139,7 @@ class Df {
|
|
|
10135
10139
|
}
|
|
10136
10140
|
updateNodeAt(t, e, o, i, n) {
|
|
10137
10141
|
let a = this.top.children[i];
|
|
10138
|
-
return a.dirty ==
|
|
10142
|
+
return a.dirty == Xe && a.dom == a.contentDOM && (a.dirty = co), a.update(t, e, o, n) ? (this.destroyBetween(this.index, i), this.index++, !0) : !1;
|
|
10139
10143
|
}
|
|
10140
10144
|
findIndexWithChild(t) {
|
|
10141
10145
|
for (; ; ) {
|
|
@@ -10163,7 +10167,7 @@ class Df {
|
|
|
10163
10167
|
let p = this.preMatch.matched.get(l);
|
|
10164
10168
|
if (p != null && p != n)
|
|
10165
10169
|
return !1;
|
|
10166
|
-
let d = l.dom, c, m = this.isLocked(d) && !(t.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == t.text && l.dirty !=
|
|
10170
|
+
let d = l.dom, c, m = this.isLocked(d) && !(t.isText && l.node && l.node.isText && l.nodeDOM.nodeValue == t.text && l.dirty != Xe && ta(e, l.outerDeco));
|
|
10167
10171
|
if (!m && l.update(t, e, o, i))
|
|
10168
10172
|
return this.destroyBetween(this.index, s), l.dom != d && (this.changed = !0), this.index++, !0;
|
|
10169
10173
|
if (!m && (c = this.recreateWrapper(l, t, e, o, i, a)))
|
|
@@ -15951,7 +15955,7 @@ var le = "top", Be = "bottom", Pe = "right", pe = "left", pp = "auto", dn = [le,
|
|
|
15951
15955
|
}, []), eu = /* @__PURE__ */ [].concat(dn, [pp]).reduce(function(r, t) {
|
|
15952
15956
|
return r.concat([t, t + "-" + ii, t + "-" + Xi]);
|
|
15953
15957
|
}, []), py = "beforeRead", dy = "read", cy = "afterRead", by = "beforeMain", my = "main", uy = "afterMain", xy = "beforeWrite", gy = "write", fy = "afterWrite", hy = [py, dy, cy, by, my, uy, xy, gy, fy];
|
|
15954
|
-
function
|
|
15958
|
+
function Qe(r) {
|
|
15955
15959
|
return r ? (r.nodeName || "").toLowerCase() : null;
|
|
15956
15960
|
}
|
|
15957
15961
|
function xe(r) {
|
|
@@ -15981,7 +15985,7 @@ function yy(r) {
|
|
|
15981
15985
|
var t = r.state;
|
|
15982
15986
|
Object.keys(t.elements).forEach(function(e) {
|
|
15983
15987
|
var o = t.styles[e] || {}, i = t.attributes[e] || {}, n = t.elements[e];
|
|
15984
|
-
!Oe(n) || !
|
|
15988
|
+
!Oe(n) || !Qe(n) || (Object.assign(n.style, o), Object.keys(i).forEach(function(a) {
|
|
15985
15989
|
var s = i[a];
|
|
15986
15990
|
s === !1 ? n.removeAttribute(a) : n.setAttribute(a, s === !0 ? "" : s);
|
|
15987
15991
|
}));
|
|
@@ -16005,7 +16009,7 @@ function wy(r) {
|
|
|
16005
16009
|
var i = t.elements[o], n = t.attributes[o] || {}, a = Object.keys(t.styles.hasOwnProperty(o) ? t.styles[o] : e[o]), s = a.reduce(function(l, p) {
|
|
16006
16010
|
return l[p] = "", l;
|
|
16007
16011
|
}, {});
|
|
16008
|
-
!Oe(i) || !
|
|
16012
|
+
!Oe(i) || !Qe(i) || (Object.assign(i.style, s), Object.keys(n).forEach(function(l) {
|
|
16009
16013
|
i.removeAttribute(l);
|
|
16010
16014
|
}));
|
|
16011
16015
|
});
|
|
@@ -16019,7 +16023,7 @@ const ru = {
|
|
|
16019
16023
|
effect: wy,
|
|
16020
16024
|
requires: ["computeStyles"]
|
|
16021
16025
|
};
|
|
16022
|
-
function
|
|
16026
|
+
function Je(r) {
|
|
16023
16027
|
return r.split("-")[0];
|
|
16024
16028
|
}
|
|
16025
16029
|
var ho = Math.max, sa = Math.min, ni = Math.round;
|
|
@@ -16075,7 +16079,7 @@ function yr(r) {
|
|
|
16075
16079
|
return xe(r).getComputedStyle(r);
|
|
16076
16080
|
}
|
|
16077
16081
|
function vy(r) {
|
|
16078
|
-
return ["table", "td", "th"].indexOf(
|
|
16082
|
+
return ["table", "td", "th"].indexOf(Qe(r)) >= 0;
|
|
16079
16083
|
}
|
|
16080
16084
|
function Qr(r) {
|
|
16081
16085
|
return ((To(r) ? r.ownerDocument : (
|
|
@@ -16084,7 +16088,7 @@ function Qr(r) {
|
|
|
16084
16088
|
)) || window.document).documentElement;
|
|
16085
16089
|
}
|
|
16086
16090
|
function ts(r) {
|
|
16087
|
-
return
|
|
16091
|
+
return Qe(r) === "html" ? r : (
|
|
16088
16092
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
16089
16093
|
// $FlowFixMe[incompatible-return]
|
|
16090
16094
|
// $FlowFixMe[prop-missing]
|
|
@@ -16107,7 +16111,7 @@ function ky(r) {
|
|
|
16107
16111
|
return null;
|
|
16108
16112
|
}
|
|
16109
16113
|
var i = ts(r);
|
|
16110
|
-
for (dp(i) && (i = i.host); Oe(i) && ["html", "body"].indexOf(
|
|
16114
|
+
for (dp(i) && (i = i.host); Oe(i) && ["html", "body"].indexOf(Qe(i)) < 0; ) {
|
|
16111
16115
|
var n = yr(i);
|
|
16112
16116
|
if (n.transform !== "none" || n.perspective !== "none" || n.contain === "paint" || ["transform", "perspective"].indexOf(n.willChange) !== -1 || t && n.willChange === "filter" || t && n.filter && n.filter !== "none")
|
|
16113
16117
|
return i;
|
|
@@ -16118,7 +16122,7 @@ function ky(r) {
|
|
|
16118
16122
|
function cn(r) {
|
|
16119
16123
|
for (var t = xe(r), e = Jd(r); e && vy(e) && yr(e).position === "static"; )
|
|
16120
16124
|
e = Jd(e);
|
|
16121
|
-
return e && (
|
|
16125
|
+
return e && (Qe(e) === "html" || Qe(e) === "body" && yr(e).position === "static") ? t : e || ky(r) || t;
|
|
16122
16126
|
}
|
|
16123
16127
|
function bp(r) {
|
|
16124
16128
|
return ["top", "bottom"].indexOf(r) >= 0 ? "x" : "y";
|
|
@@ -16152,7 +16156,7 @@ var Cy = function(t, e) {
|
|
|
16152
16156
|
})) : t, au(typeof t != "number" ? t : su(t, dn));
|
|
16153
16157
|
};
|
|
16154
16158
|
function My(r) {
|
|
16155
|
-
var t, e = r.state, o = r.name, i = r.options, n = e.elements.arrow, a = e.modifiersData.popperOffsets, s =
|
|
16159
|
+
var t, e = r.state, o = r.name, i = r.options, n = e.elements.arrow, a = e.modifiersData.popperOffsets, s = Je(e.placement), l = bp(s), p = [pe, Pe].indexOf(s) >= 0, d = p ? "height" : "width";
|
|
16156
16160
|
if (!(!n || !a)) {
|
|
16157
16161
|
var c = Cy(i.padding, e), m = cp(n), u = l === "y" ? le : pe, x = l === "y" ? Be : Pe, g = e.rects.reference[d] + e.rects.reference[l] - a[l] - e.rects.popper[d], f = a[l] - e.rects.reference[l], y = cn(n), w = y ? l === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, k = g / 2 - f / 2, h = c[u], B = w - m[d] - c[x], M = w / 2 - m[d] / 2 + k, A = Pi(h, M, B), R = l;
|
|
16158
16162
|
e.modifiersData[o] = (t = {}, t[R] = A, t.centerOffset = A - M, t);
|
|
@@ -16233,7 +16237,7 @@ function Yd(r) {
|
|
|
16233
16237
|
}
|
|
16234
16238
|
function Py(r) {
|
|
16235
16239
|
var t = r.state, e = r.options, o = e.gpuAcceleration, i = o === void 0 ? !0 : o, n = e.adaptive, a = n === void 0 ? !0 : n, s = e.roundOffsets, l = s === void 0 ? !0 : s, p = {
|
|
16236
|
-
placement:
|
|
16240
|
+
placement: Je(t.placement),
|
|
16237
16241
|
variation: si(t.placement),
|
|
16238
16242
|
popper: t.elements.popper,
|
|
16239
16243
|
popperRect: t.rects.popper,
|
|
@@ -16341,7 +16345,7 @@ function xp(r) {
|
|
|
16341
16345
|
return /auto|scroll|overlay|hidden/.test(e + i + o);
|
|
16342
16346
|
}
|
|
16343
16347
|
function lu(r) {
|
|
16344
|
-
return ["html", "body", "#document"].indexOf(
|
|
16348
|
+
return ["html", "body", "#document"].indexOf(Qe(r)) >= 0 ? r.ownerDocument.body : Oe(r) && xp(r) ? r : lu(ts(r));
|
|
16345
16349
|
}
|
|
16346
16350
|
function Ai(r, t) {
|
|
16347
16351
|
var e;
|
|
@@ -16370,7 +16374,7 @@ function Qd(r, t, e) {
|
|
|
16370
16374
|
function zy(r) {
|
|
16371
16375
|
var t = Ai(ts(r)), e = ["absolute", "fixed"].indexOf(yr(r).position) >= 0, o = e && Oe(r) ? cn(r) : r;
|
|
16372
16376
|
return To(o) ? t.filter(function(i) {
|
|
16373
|
-
return To(i) && iu(i, o) &&
|
|
16377
|
+
return To(i) && iu(i, o) && Qe(i) !== "body";
|
|
16374
16378
|
}) : [];
|
|
16375
16379
|
}
|
|
16376
16380
|
function Fy(r, t, e, o) {
|
|
@@ -16381,7 +16385,7 @@ function Fy(r, t, e, o) {
|
|
|
16381
16385
|
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
16382
16386
|
}
|
|
16383
16387
|
function pu(r) {
|
|
16384
|
-
var t = r.reference, e = r.element, o = r.placement, i = o ?
|
|
16388
|
+
var t = r.reference, e = r.element, o = r.placement, i = o ? Je(o) : null, n = o ? si(o) : null, a = t.x + t.width / 2 - e.width / 2, s = t.y + t.height / 2 - e.height / 2, l;
|
|
16385
16389
|
switch (i) {
|
|
16386
16390
|
case le:
|
|
16387
16391
|
l = {
|
|
@@ -16462,14 +16466,14 @@ function jy(r, t) {
|
|
|
16462
16466
|
boundary: i,
|
|
16463
16467
|
rootBoundary: n,
|
|
16464
16468
|
padding: a
|
|
16465
|
-
})[
|
|
16469
|
+
})[Je(g)], x;
|
|
16466
16470
|
}, {});
|
|
16467
16471
|
return Object.keys(u).sort(function(x, g) {
|
|
16468
16472
|
return u[x] - u[g];
|
|
16469
16473
|
});
|
|
16470
16474
|
}
|
|
16471
16475
|
function Hy(r) {
|
|
16472
|
-
if (
|
|
16476
|
+
if (Je(r) === pp)
|
|
16473
16477
|
return [];
|
|
16474
16478
|
var t = Vn(r);
|
|
16475
16479
|
return [Xd(r), t, Xd(t)];
|
|
@@ -16477,8 +16481,8 @@ function Hy(r) {
|
|
|
16477
16481
|
function Vy(r) {
|
|
16478
16482
|
var t = r.state, e = r.options, o = r.name;
|
|
16479
16483
|
if (!t.modifiersData[o]._skip) {
|
|
16480
|
-
for (var i = e.mainAxis, n = i === void 0 ? !0 : i, a = e.altAxis, s = a === void 0 ? !0 : a, l = e.fallbackPlacements, p = e.padding, d = e.boundary, c = e.rootBoundary, m = e.altBoundary, u = e.flipVariations, x = u === void 0 ? !0 : u, g = e.allowedAutoPlacements, f = t.options.placement, y =
|
|
16481
|
-
return ge.concat(
|
|
16484
|
+
for (var i = e.mainAxis, n = i === void 0 ? !0 : i, a = e.altAxis, s = a === void 0 ? !0 : a, l = e.fallbackPlacements, p = e.padding, d = e.boundary, c = e.rootBoundary, m = e.altBoundary, u = e.flipVariations, x = u === void 0 ? !0 : u, g = e.allowedAutoPlacements, f = t.options.placement, y = Je(f), w = y === f, k = l || (w || !x ? [Vn(f)] : Hy(f)), h = [f].concat(k).reduce(function(ge, Vt) {
|
|
16485
|
+
return ge.concat(Je(Vt) === pp ? jy(t, {
|
|
16482
16486
|
placement: Vt,
|
|
16483
16487
|
boundary: d,
|
|
16484
16488
|
rootBoundary: c,
|
|
@@ -16487,7 +16491,7 @@ function Vy(r) {
|
|
|
16487
16491
|
allowedAutoPlacements: g
|
|
16488
16492
|
}) : Vt);
|
|
16489
16493
|
}, []), B = t.rects.reference, M = t.rects.popper, A = /* @__PURE__ */ new Map(), R = !0, j = h[0], P = 0; P < h.length; P++) {
|
|
16490
|
-
var E = h[P], z =
|
|
16494
|
+
var E = h[P], z = Je(E), X = si(E) === ii, mt = [le, Be].indexOf(z) >= 0, xt = mt ? "width" : "height", it = Qi(t, {
|
|
16491
16495
|
placement: E,
|
|
16492
16496
|
boundary: d,
|
|
16493
16497
|
rootBoundary: c,
|
|
@@ -16505,19 +16509,19 @@ function Vy(r) {
|
|
|
16505
16509
|
A.set(E, gt);
|
|
16506
16510
|
}
|
|
16507
16511
|
if (R)
|
|
16508
|
-
for (var oe = x ? 3 : 1,
|
|
16509
|
-
var fe = h.find(function(
|
|
16510
|
-
var he = A.get(
|
|
16512
|
+
for (var oe = x ? 3 : 1, Ze = function(Vt) {
|
|
16513
|
+
var fe = h.find(function(er) {
|
|
16514
|
+
var he = A.get(er);
|
|
16511
16515
|
if (he)
|
|
16512
|
-
return he.slice(0, Vt).every(function(
|
|
16513
|
-
return
|
|
16516
|
+
return he.slice(0, Vt).every(function(rr) {
|
|
16517
|
+
return rr;
|
|
16514
16518
|
});
|
|
16515
16519
|
});
|
|
16516
16520
|
if (fe)
|
|
16517
16521
|
return j = fe, "break";
|
|
16518
16522
|
}, Yt = oe; Yt > 0; Yt--) {
|
|
16519
|
-
var
|
|
16520
|
-
if (
|
|
16523
|
+
var tr = Ze(Yt);
|
|
16524
|
+
if (tr === "break") break;
|
|
16521
16525
|
}
|
|
16522
16526
|
t.placement !== j && (t.modifiersData[o]._skip = !0, t.placement = j, t.reset = !0);
|
|
16523
16527
|
}
|
|
@@ -16572,7 +16576,7 @@ const Uy = {
|
|
|
16572
16576
|
fn: qy
|
|
16573
16577
|
};
|
|
16574
16578
|
function Ky(r, t, e) {
|
|
16575
|
-
var o =
|
|
16579
|
+
var o = Je(r), i = [pe, le].indexOf(o) >= 0 ? -1 : 1, n = typeof e == "function" ? e(Object.assign({}, t, {
|
|
16576
16580
|
placement: r
|
|
16577
16581
|
})) : e, a = n[0], s = n[1];
|
|
16578
16582
|
return a = a || 0, s = (s || 0) * i, [pe, Pe].indexOf(o) >= 0 ? {
|
|
@@ -16620,7 +16624,7 @@ function Zy(r) {
|
|
|
16620
16624
|
rootBoundary: p,
|
|
16621
16625
|
padding: c,
|
|
16622
16626
|
altBoundary: d
|
|
16623
|
-
}), y =
|
|
16627
|
+
}), y = Je(t.placement), w = si(t.placement), k = !w, h = bp(y), B = Qy(h), M = t.modifiersData.popperOffsets, A = t.rects.reference, R = t.rects.popper, j = typeof g == "function" ? g(Object.assign({}, t.rects, {
|
|
16624
16628
|
placement: t.placement
|
|
16625
16629
|
})) : g, P = typeof j == "number" ? {
|
|
16626
16630
|
mainAxis: j,
|
|
@@ -16634,10 +16638,10 @@ function Zy(r) {
|
|
|
16634
16638
|
};
|
|
16635
16639
|
if (M) {
|
|
16636
16640
|
if (n) {
|
|
16637
|
-
var X, mt = h === "y" ? le : pe, xt = h === "y" ? Be : Pe, it = h === "y" ? "height" : "width", G = M[h], pt = G + f[mt], gt = G - f[xt], oe = u ? -R[it] / 2 : 0,
|
|
16641
|
+
var X, mt = h === "y" ? le : pe, xt = h === "y" ? Be : Pe, it = h === "y" ? "height" : "width", G = M[h], pt = G + f[mt], gt = G - f[xt], oe = u ? -R[it] / 2 : 0, Ze = w === ii ? A[it] : R[it], Yt = w === ii ? -R[it] : -A[it], tr = t.elements.arrow, ge = u && tr ? cp(tr) : {
|
|
16638
16642
|
width: 0,
|
|
16639
16643
|
height: 0
|
|
16640
|
-
}, Vt = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : nu(), fe = Vt[mt],
|
|
16644
|
+
}, Vt = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : nu(), fe = Vt[mt], er = Vt[xt], he = Pi(0, A[it], ge[it]), rr = k ? A[it] / 2 - oe - he - fe - P.mainAxis : Ze - he - fe - P.mainAxis, Ae = k ? -A[it] / 2 + oe + he + er + P.mainAxis : Yt + he + er + P.mainAxis, or = t.elements.arrow && cn(t.elements.arrow), Zr = or ? h === "y" ? or.clientTop || 0 : or.clientLeft || 0 : 0, vr = (X = E == null ? void 0 : E[h]) != null ? X : 0, Po = G + rr - vr - Zr, Ao = G + Ae - vr, kr = Pi(u ? sa(pt, Po) : pt, G, u ? ho(gt, Ao) : gt);
|
|
16641
16645
|
M[h] = kr, z[h] = kr - G;
|
|
16642
16646
|
}
|
|
16643
16647
|
if (s) {
|
|
@@ -16676,7 +16680,7 @@ function iw(r, t, e) {
|
|
|
16676
16680
|
x: 0,
|
|
16677
16681
|
y: 0
|
|
16678
16682
|
};
|
|
16679
|
-
return (o || !o && !e) && ((
|
|
16683
|
+
return (o || !o && !e) && ((Qe(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
16680
16684
|
xp(n)) && (s = rw(t)), Oe(t) ? (l = ai(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : n && (l.x = up(n))), {
|
|
16681
16685
|
x: a.left + s.scrollLeft - l.x,
|
|
16682
16686
|
y: a.top + s.scrollTop - l.y,
|
|
@@ -16969,15 +16973,15 @@ function sc(r, t) {
|
|
|
16969
16973
|
}
|
|
16970
16974
|
return !1;
|
|
16971
16975
|
}
|
|
16972
|
-
var
|
|
16976
|
+
var qe = {
|
|
16973
16977
|
isTouch: !1
|
|
16974
16978
|
}, lc = 0;
|
|
16975
16979
|
function Mw() {
|
|
16976
|
-
|
|
16980
|
+
qe.isTouch || (qe.isTouch = !0, window.performance && document.addEventListener("mousemove", xu));
|
|
16977
16981
|
}
|
|
16978
16982
|
function xu() {
|
|
16979
16983
|
var r = performance.now();
|
|
16980
|
-
r - lc < 20 && (
|
|
16984
|
+
r - lc < 20 && (qe.isTouch = !1, document.removeEventListener("mousemove", xu)), lc = r;
|
|
16981
16985
|
}
|
|
16982
16986
|
function Ew() {
|
|
16983
16987
|
var r = document.activeElement;
|
|
@@ -17248,7 +17252,7 @@ function zw(r, t) {
|
|
|
17248
17252
|
var R = w.map(function(O) {
|
|
17249
17253
|
return O.fn(h);
|
|
17250
17254
|
}), j = r.hasAttribute("aria-expanded");
|
|
17251
|
-
return
|
|
17255
|
+
return or(), oe(), G(), pt("onCreate", [h]), e.showOnCreate && Sr(), M.addEventListener("mouseenter", function() {
|
|
17252
17256
|
h.props.interactive && h.state.isVisible && h.clearDelayTimeouts();
|
|
17253
17257
|
}), M.addEventListener("mouseleave", function() {
|
|
17254
17258
|
h.props.interactive && h.props.trigger.indexOf("mouseenter") >= 0 && mt().addEventListener("mousemove", x);
|
|
@@ -17275,7 +17279,7 @@ function zw(r, t) {
|
|
|
17275
17279
|
return kl(M);
|
|
17276
17280
|
}
|
|
17277
17281
|
function it(O) {
|
|
17278
|
-
return h.state.isMounted && !h.state.isVisible ||
|
|
17282
|
+
return h.state.isMounted && !h.state.isVisible || qe.isTouch || d && d.type === "focus" ? 0 : Bs(h.props.delay, O ? 0 : 1, me.delay);
|
|
17279
17283
|
}
|
|
17280
17284
|
function G(O) {
|
|
17281
17285
|
O === void 0 && (O = !1), M.style.pointerEvents = h.props.interactive && !O ? "" : "none", M.style.zIndex = "" + h.props.zIndex;
|
|
@@ -17311,19 +17315,19 @@ function zw(r, t) {
|
|
|
17311
17315
|
});
|
|
17312
17316
|
}
|
|
17313
17317
|
}
|
|
17314
|
-
function
|
|
17318
|
+
function Ze() {
|
|
17315
17319
|
mt().removeEventListener("mousemove", x), On = On.filter(function(O) {
|
|
17316
17320
|
return O !== x;
|
|
17317
17321
|
});
|
|
17318
17322
|
}
|
|
17319
17323
|
function Yt(O) {
|
|
17320
|
-
if (!(
|
|
17324
|
+
if (!(qe.isTouch && (l || O.type === "mousedown"))) {
|
|
17321
17325
|
var V = O.composedPath && O.composedPath()[0] || O.target;
|
|
17322
17326
|
if (!(h.props.interactive && sc(M, V))) {
|
|
17323
17327
|
if (Wo(h.props.triggerTarget || r).some(function(Y) {
|
|
17324
17328
|
return sc(Y, V);
|
|
17325
17329
|
})) {
|
|
17326
|
-
if (
|
|
17330
|
+
if (qe.isTouch || h.state.isVisible && h.props.trigger.indexOf("click") >= 0)
|
|
17327
17331
|
return;
|
|
17328
17332
|
} else
|
|
17329
17333
|
pt("onClickOutside", [h, O]);
|
|
@@ -17333,7 +17337,7 @@ function zw(r, t) {
|
|
|
17333
17337
|
}
|
|
17334
17338
|
}
|
|
17335
17339
|
}
|
|
17336
|
-
function
|
|
17340
|
+
function tr() {
|
|
17337
17341
|
l = !0;
|
|
17338
17342
|
}
|
|
17339
17343
|
function ge() {
|
|
@@ -17341,21 +17345,21 @@ function zw(r, t) {
|
|
|
17341
17345
|
}
|
|
17342
17346
|
function Vt() {
|
|
17343
17347
|
var O = mt();
|
|
17344
|
-
O.addEventListener("mousedown", Yt, !0), O.addEventListener("touchend", Yt, ao), O.addEventListener("touchstart", ge, ao), O.addEventListener("touchmove",
|
|
17348
|
+
O.addEventListener("mousedown", Yt, !0), O.addEventListener("touchend", Yt, ao), O.addEventListener("touchstart", ge, ao), O.addEventListener("touchmove", tr, ao);
|
|
17345
17349
|
}
|
|
17346
17350
|
function fe() {
|
|
17347
17351
|
var O = mt();
|
|
17348
|
-
O.removeEventListener("mousedown", Yt, !0), O.removeEventListener("touchend", Yt, ao), O.removeEventListener("touchstart", ge, ao), O.removeEventListener("touchmove",
|
|
17352
|
+
O.removeEventListener("mousedown", Yt, !0), O.removeEventListener("touchend", Yt, ao), O.removeEventListener("touchstart", ge, ao), O.removeEventListener("touchmove", tr, ao);
|
|
17349
17353
|
}
|
|
17350
|
-
function
|
|
17351
|
-
|
|
17354
|
+
function er(O, V) {
|
|
17355
|
+
rr(O, function() {
|
|
17352
17356
|
!h.state.isVisible && M.parentNode && M.parentNode.contains(M) && V();
|
|
17353
17357
|
});
|
|
17354
17358
|
}
|
|
17355
17359
|
function he(O, V) {
|
|
17356
|
-
|
|
17360
|
+
rr(O, V);
|
|
17357
17361
|
}
|
|
17358
|
-
function
|
|
17362
|
+
function rr(O, V) {
|
|
17359
17363
|
var Y = xt().box;
|
|
17360
17364
|
function lt(nt) {
|
|
17361
17365
|
nt.target === Y && (As(Y, "remove", lt), V());
|
|
@@ -17376,7 +17380,7 @@ function zw(r, t) {
|
|
|
17376
17380
|
});
|
|
17377
17381
|
});
|
|
17378
17382
|
}
|
|
17379
|
-
function
|
|
17383
|
+
function or() {
|
|
17380
17384
|
E() && (Ae("touchstart", vr, {
|
|
17381
17385
|
passive: !0
|
|
17382
17386
|
}), Ae("touchend", Ao, {
|
|
@@ -17415,14 +17419,14 @@ function zw(r, t) {
|
|
|
17415
17419
|
var V = O.target, Y = X().contains(V) || M.contains(V);
|
|
17416
17420
|
if (!(O.type === "mousemove" && Y)) {
|
|
17417
17421
|
var lt = Ne().concat(M).map(function(nt) {
|
|
17418
|
-
var Wt, ie = nt._tippy,
|
|
17419
|
-
return
|
|
17422
|
+
var Wt, ie = nt._tippy, ir = (Wt = ie.popperInstance) == null ? void 0 : Wt.state;
|
|
17423
|
+
return ir ? {
|
|
17420
17424
|
popperRect: nt.getBoundingClientRect(),
|
|
17421
|
-
popperState:
|
|
17425
|
+
popperState: ir,
|
|
17422
17426
|
props: e
|
|
17423
17427
|
} : null;
|
|
17424
17428
|
}).filter(Boolean);
|
|
17425
|
-
Cw(lt, O) && (
|
|
17429
|
+
Cw(lt, O) && (Ze(), Fe(O));
|
|
17426
17430
|
}
|
|
17427
17431
|
}
|
|
17428
17432
|
function Ao(O) {
|
|
@@ -17439,11 +17443,11 @@ function zw(r, t) {
|
|
|
17439
17443
|
h.props.trigger.indexOf("focusin") < 0 && O.target !== X() || h.props.interactive && O.relatedTarget && M.contains(O.relatedTarget) || Fe(O);
|
|
17440
17444
|
}
|
|
17441
17445
|
function ze(O) {
|
|
17442
|
-
return
|
|
17446
|
+
return qe.isTouch ? E() !== O.type.indexOf("touch") >= 0 : !1;
|
|
17443
17447
|
}
|
|
17444
17448
|
function to() {
|
|
17445
17449
|
eo();
|
|
17446
|
-
var O = h.props, V = O.popperOptions, Y = O.placement, lt = O.offset, nt = O.getReferenceClientRect, Wt = O.moveTransition, ie = z() ? kl(M).arrow : null,
|
|
17450
|
+
var O = h.props, V = O.popperOptions, Y = O.placement, lt = O.offset, nt = O.getReferenceClientRect, Wt = O.moveTransition, ie = z() ? kl(M).arrow : null, ir = nt ? {
|
|
17447
17451
|
getBoundingClientRect: nt,
|
|
17448
17452
|
contextElement: nt.contextElement || X()
|
|
17449
17453
|
} : r, Op = {
|
|
@@ -17492,7 +17496,7 @@ function zw(r, t) {
|
|
|
17492
17496
|
element: ie,
|
|
17493
17497
|
padding: 3
|
|
17494
17498
|
}
|
|
17495
|
-
}), oo.push.apply(oo, (V == null ? void 0 : V.modifiers) || []), h.popperInstance = cw(
|
|
17499
|
+
}), oo.push.apply(oo, (V == null ? void 0 : V.modifiers) || []), h.popperInstance = cw(ir, M, Object.assign({}, V, {
|
|
17496
17500
|
placement: Y,
|
|
17497
17501
|
onFirstUpdate: m,
|
|
17498
17502
|
modifiers: oo
|
|
@@ -17517,7 +17521,7 @@ function zw(r, t) {
|
|
|
17517
17521
|
function Sr(O) {
|
|
17518
17522
|
h.clearDelayTimeouts(), O && pt("onTrigger", [h, O]), Vt();
|
|
17519
17523
|
var V = it(!0), Y = P(), lt = Y[0], nt = Y[1];
|
|
17520
|
-
|
|
17524
|
+
qe.isTouch && lt === "hold" && nt && (V = nt), V ? o = setTimeout(function() {
|
|
17521
17525
|
h.show();
|
|
17522
17526
|
}, V) : h.show();
|
|
17523
17527
|
}
|
|
@@ -17550,7 +17554,7 @@ function zw(r, t) {
|
|
|
17550
17554
|
var V = h.props, Y = dc(r, Object.assign({}, V, nc(O), {
|
|
17551
17555
|
ignoreAttributes: !0
|
|
17552
17556
|
}));
|
|
17553
|
-
h.props = Y,
|
|
17557
|
+
h.props = Y, or(), V.interactiveDebounce !== Y.interactiveDebounce && (Ze(), x = oc(Po, Y.interactiveDebounce)), V.triggerTarget && !Y.triggerTarget ? Wo(V.triggerTarget).forEach(function(lt) {
|
|
17554
17558
|
lt.removeAttribute("aria-expanded");
|
|
17555
17559
|
}) : Y.triggerTarget && r.removeAttribute("aria-expanded"), oe(), G(), A && A(V, Y), h.popperInstance && (to(), Ne().forEach(function(lt) {
|
|
17556
17560
|
requestAnimationFrame(lt._tippy.popperInstance.forceUpdate);
|
|
@@ -17564,11 +17568,11 @@ function zw(r, t) {
|
|
|
17564
17568
|
}
|
|
17565
17569
|
function bi() {
|
|
17566
17570
|
process.env.NODE_ENV !== "production" && cr(h.state.isDestroyed, Fo("show"));
|
|
17567
|
-
var O = h.state.isVisible, V = h.state.isDestroyed, Y = !h.state.isEnabled, lt =
|
|
17571
|
+
var O = h.state.isVisible, V = h.state.isDestroyed, Y = !h.state.isEnabled, lt = qe.isTouch && !h.props.touch, nt = Bs(h.props.duration, 0, me.duration);
|
|
17568
17572
|
if (!(O || V || Y || lt) && !X().hasAttribute("disabled") && (pt("onShow", [h], !1), h.props.onShow(h) !== !1)) {
|
|
17569
17573
|
if (h.state.isVisible = !0, z() && (M.style.visibility = "visible"), G(), Vt(), h.state.isMounted || (M.style.transition = "none"), z()) {
|
|
17570
|
-
var Wt = xt(), ie = Wt.box,
|
|
17571
|
-
Ps([ie,
|
|
17574
|
+
var Wt = xt(), ie = Wt.box, ir = Wt.content;
|
|
17575
|
+
Ps([ie, ir], 0);
|
|
17572
17576
|
}
|
|
17573
17577
|
m = function() {
|
|
17574
17578
|
var oo;
|
|
@@ -17588,11 +17592,11 @@ function zw(r, t) {
|
|
|
17588
17592
|
process.env.NODE_ENV !== "production" && cr(h.state.isDestroyed, Fo("hide"));
|
|
17589
17593
|
var O = !h.state.isVisible, V = h.state.isDestroyed, Y = !h.state.isEnabled, lt = Bs(h.props.duration, 1, me.duration);
|
|
17590
17594
|
if (!(O || V || Y) && (pt("onHide", [h], !1), h.props.onHide(h) !== !1)) {
|
|
17591
|
-
if (h.state.isVisible = !1, h.state.isShown = !1, p = !1, a = !1, z() && (M.style.visibility = "hidden"),
|
|
17595
|
+
if (h.state.isVisible = !1, h.state.isShown = !1, p = !1, a = !1, z() && (M.style.visibility = "hidden"), Ze(), fe(), G(!0), z()) {
|
|
17592
17596
|
var nt = xt(), Wt = nt.box, ie = nt.content;
|
|
17593
17597
|
h.props.animation && (Ps([Wt, ie], lt), ac([Wt, ie], "hidden"));
|
|
17594
17598
|
}
|
|
17595
|
-
gt(), oe(), h.props.animation ? z() &&
|
|
17599
|
+
gt(), oe(), h.props.animation ? z() && er(lt, h.unmount) : h.unmount();
|
|
17596
17600
|
}
|
|
17597
17601
|
}
|
|
17598
17602
|
function Do(O) {
|
|
@@ -17633,7 +17637,7 @@ function di(r, t) {
|
|
|
17633
17637
|
}
|
|
17634
17638
|
di.defaultProps = me;
|
|
17635
17639
|
di.setDefaultProps = Lw;
|
|
17636
|
-
di.currentInput =
|
|
17640
|
+
di.currentInput = qe;
|
|
17637
17641
|
Object.assign({}, ru, {
|
|
17638
17642
|
effect: function(t) {
|
|
17639
17643
|
var e = t.state, o = {
|
|
@@ -18944,9 +18948,9 @@ class Le {
|
|
|
18944
18948
|
return;
|
|
18945
18949
|
}
|
|
18946
18950
|
if (i) {
|
|
18947
|
-
d.push(new
|
|
18951
|
+
d.push(new He(c.map));
|
|
18948
18952
|
let u = c.step.map(i.slice(n)), x;
|
|
18949
|
-
u && a.maybeStep(u).doc && (x = a.mapping.maps[a.mapping.maps.length - 1], p.push(new
|
|
18953
|
+
u && a.maybeStep(u).doc && (x = a.mapping.maps[a.mapping.maps.length - 1], p.push(new He(x, void 0, void 0, p.length + d.length))), n--, x && i.appendMap(x, n);
|
|
18950
18954
|
} else
|
|
18951
18955
|
a.maybeStep(c.step);
|
|
18952
18956
|
if (c.selection)
|
|
@@ -18957,7 +18961,7 @@ class Le {
|
|
|
18957
18961
|
addTransform(t, e, o, i) {
|
|
18958
18962
|
let n = [], a = this.eventCount, s = this.items, l = !i && s.length ? s.get(s.length - 1) : null;
|
|
18959
18963
|
for (let d = 0; d < t.steps.length; d++) {
|
|
18960
|
-
let c = t.steps[d].invert(t.docs[d]), m = new
|
|
18964
|
+
let c = t.steps[d].invert(t.docs[d]), m = new He(t.mapping.maps[d], c, e), u;
|
|
18961
18965
|
(u = l && l.merge(m)) && (m = u, d ? n.pop() : s = s.slice(0, s.length - 1)), n.push(m), e && (a++, e = void 0), i || (l = m);
|
|
18962
18966
|
}
|
|
18963
18967
|
let p = a - o.depth;
|
|
@@ -18971,7 +18975,7 @@ class Le {
|
|
|
18971
18975
|
}, t, e), o;
|
|
18972
18976
|
}
|
|
18973
18977
|
addMaps(t) {
|
|
18974
|
-
return this.eventCount == 0 ? this : new Le(this.items.append(t.map((e) => new
|
|
18978
|
+
return this.eventCount == 0 ? this : new Le(this.items.append(t.map((e) => new He(e))), this.eventCount);
|
|
18975
18979
|
}
|
|
18976
18980
|
// When the collab module receives remote changes, the history has
|
|
18977
18981
|
// to know about those, so that it can adjust the steps that were
|
|
@@ -18993,13 +18997,13 @@ class Le {
|
|
|
18993
18997
|
let x = n.maps[u];
|
|
18994
18998
|
if (m.step) {
|
|
18995
18999
|
let g = t.steps[u].invert(t.docs[u]), f = m.selection && m.selection.map(n.slice(l + 1, u));
|
|
18996
|
-
f && s++, o.push(new
|
|
19000
|
+
f && s++, o.push(new He(x, g, f));
|
|
18997
19001
|
} else
|
|
18998
|
-
o.push(new
|
|
19002
|
+
o.push(new He(x));
|
|
18999
19003
|
}, i);
|
|
19000
19004
|
let p = [];
|
|
19001
19005
|
for (let m = e; m < a; m++)
|
|
19002
|
-
p.push(new
|
|
19006
|
+
p.push(new He(n.maps[m]));
|
|
19003
19007
|
let d = this.items.slice(0, i).append(p).append(o), c = new Le(d, s);
|
|
19004
19008
|
return c.emptyItemCount() > v2 && (c = c.compress(this.items.length - o.length)), c;
|
|
19005
19009
|
}
|
|
@@ -19025,7 +19029,7 @@ class Le {
|
|
|
19025
19029
|
if (o--, p && e.appendMap(p, o), l) {
|
|
19026
19030
|
let d = a.selection && a.selection.map(e.slice(o));
|
|
19027
19031
|
d && n++;
|
|
19028
|
-
let c = new
|
|
19032
|
+
let c = new He(p.invert(), l, d), m, u = i.length - 1;
|
|
19029
19033
|
(m = i.length && i[u].merge(c)) ? i[u] = m : i.push(c);
|
|
19030
19034
|
}
|
|
19031
19035
|
} else a.map && o--;
|
|
@@ -19040,7 +19044,7 @@ function k2(r, t) {
|
|
|
19040
19044
|
return e = i, !1;
|
|
19041
19045
|
}), r.slice(e);
|
|
19042
19046
|
}
|
|
19043
|
-
class
|
|
19047
|
+
class He {
|
|
19044
19048
|
constructor(t, e, o, i) {
|
|
19045
19049
|
this.map = t, this.step = e, this.selection = o, this.mirrorOffset = i;
|
|
19046
19050
|
}
|
|
@@ -19048,7 +19052,7 @@ class je {
|
|
|
19048
19052
|
if (this.step && t.step && !t.selection) {
|
|
19049
19053
|
let e = t.step.merge(this.step);
|
|
19050
19054
|
if (e)
|
|
19051
|
-
return new
|
|
19055
|
+
return new He(e.getMap().invert(), e, this.selection);
|
|
19052
19056
|
}
|
|
19053
19057
|
}
|
|
19054
19058
|
}
|
|
@@ -19634,7 +19638,7 @@ ae.prototype = {
|
|
|
19634
19638
|
return i.j[r] = a, a;
|
|
19635
19639
|
}
|
|
19636
19640
|
};
|
|
19637
|
-
const et = (r, t, e, o, i) => r.ta(t, e, o, i), vt = (r, t, e, o, i) => r.tr(t, e, o, i), wc = (r, t, e, o, i) => r.ts(t, e, o, i), L = (r, t, e, o, i) => r.tt(t, e, o, i), pr = "WORD", Tl = "UWORD", Ou = "ASCIINUMERICAL", Bu = "ALPHANUMERICAL", en = "LOCALHOST", Ol = "TLD", Bl = "UTLD", qn = "SCHEME", qo = "SLASH_SCHEME", hp = "NUM", Pl = "WS", yp = "NL", Ii = "OPENBRACE", Li = "CLOSEBRACE", da = "OPENBRACKET", ca = "CLOSEBRACKET", ba = "OPENPAREN", ma = "CLOSEPAREN", ua = "OPENANGLEBRACKET", xa = "CLOSEANGLEBRACKET", ga = "FULLWIDTHLEFTPAREN", fa = "FULLWIDTHRIGHTPAREN", ha = "LEFTCORNERBRACKET", ya = "RIGHTCORNERBRACKET", wa = "LEFTWHITECORNERBRACKET", va = "RIGHTWHITECORNERBRACKET", ka = "FULLWIDTHLESSTHAN", Sa = "FULLWIDTHGREATERTHAN", Ca = "AMPERSAND", Ma = "APOSTROPHE", Ea = "ASTERISK", Ar = "AT", Ta = "BACKSLASH", Oa = "BACKTICK", Ba = "CARET", Ir = "COLON", wp = "COMMA", Pa = "DOLLAR",
|
|
19641
|
+
const et = (r, t, e, o, i) => r.ta(t, e, o, i), vt = (r, t, e, o, i) => r.tr(t, e, o, i), wc = (r, t, e, o, i) => r.ts(t, e, o, i), L = (r, t, e, o, i) => r.tt(t, e, o, i), pr = "WORD", Tl = "UWORD", Ou = "ASCIINUMERICAL", Bu = "ALPHANUMERICAL", en = "LOCALHOST", Ol = "TLD", Bl = "UTLD", qn = "SCHEME", qo = "SLASH_SCHEME", hp = "NUM", Pl = "WS", yp = "NL", Ii = "OPENBRACE", Li = "CLOSEBRACE", da = "OPENBRACKET", ca = "CLOSEBRACKET", ba = "OPENPAREN", ma = "CLOSEPAREN", ua = "OPENANGLEBRACKET", xa = "CLOSEANGLEBRACKET", ga = "FULLWIDTHLEFTPAREN", fa = "FULLWIDTHRIGHTPAREN", ha = "LEFTCORNERBRACKET", ya = "RIGHTCORNERBRACKET", wa = "LEFTWHITECORNERBRACKET", va = "RIGHTWHITECORNERBRACKET", ka = "FULLWIDTHLESSTHAN", Sa = "FULLWIDTHGREATERTHAN", Ca = "AMPERSAND", Ma = "APOSTROPHE", Ea = "ASTERISK", Ar = "AT", Ta = "BACKSLASH", Oa = "BACKTICK", Ba = "CARET", Ir = "COLON", wp = "COMMA", Pa = "DOLLAR", Ve = "DOT", Aa = "EQUALS", vp = "EXCLAMATION", ke = "HYPHEN", Ri = "PERCENT", Na = "PIPE", Da = "PLUS", Ia = "POUND", $i = "QUERY", kp = "QUOTE", Pu = "FULLWIDTHMIDDLEDOT", Sp = "SEMI", We = "SLASH", _i = "TILDE", La = "UNDERSCORE", Au = "EMOJI", Ra = "SYM";
|
|
19638
19642
|
var Nu = /* @__PURE__ */ Object.freeze({
|
|
19639
19643
|
__proto__: null,
|
|
19640
19644
|
ALPHANUMERICAL: Bu,
|
|
@@ -19653,7 +19657,7 @@ var Nu = /* @__PURE__ */ Object.freeze({
|
|
|
19653
19657
|
COLON: Ir,
|
|
19654
19658
|
COMMA: wp,
|
|
19655
19659
|
DOLLAR: Pa,
|
|
19656
|
-
DOT:
|
|
19660
|
+
DOT: Ve,
|
|
19657
19661
|
EMOJI: Au,
|
|
19658
19662
|
EQUALS: Aa,
|
|
19659
19663
|
EXCLAMATION: vp,
|
|
@@ -19682,7 +19686,7 @@ var Nu = /* @__PURE__ */ Object.freeze({
|
|
|
19682
19686
|
RIGHTWHITECORNERBRACKET: va,
|
|
19683
19687
|
SCHEME: qn,
|
|
19684
19688
|
SEMI: Sp,
|
|
19685
|
-
SLASH:
|
|
19689
|
+
SLASH: We,
|
|
19686
19690
|
SLASH_SCHEME: qo,
|
|
19687
19691
|
SYM: Ra,
|
|
19688
19692
|
TILDE: _i,
|
|
@@ -19693,30 +19697,30 @@ var Nu = /* @__PURE__ */ Object.freeze({
|
|
|
19693
19697
|
WORD: pr,
|
|
19694
19698
|
WS: Pl
|
|
19695
19699
|
});
|
|
19696
|
-
const
|
|
19700
|
+
const sr = /[a-z]/, gi = new RegExp("\\p{L}", "u"), Rs = new RegExp("\\p{Emoji}", "u"), lr = /\d/, $s = /\s/, vc = "\r", _s = `
|
|
19697
19701
|
`, X2 = "️", Q2 = "", zs = "";
|
|
19698
19702
|
let Pn = null, An = null;
|
|
19699
19703
|
function Z2(r = []) {
|
|
19700
19704
|
const t = {};
|
|
19701
19705
|
ae.groups = t;
|
|
19702
19706
|
const e = new ae();
|
|
19703
|
-
Pn == null && (Pn = kc(q2)), An == null && (An = kc(U2)), L(e, "'", Ma), L(e, "{", Ii), L(e, "}", Li), L(e, "[", da), L(e, "]", ca), L(e, "(", ba), L(e, ")", ma), L(e, "<", ua), L(e, ">", xa), L(e, "(", ga), L(e, ")", fa), L(e, "「", ha), L(e, "」", ya), L(e, "『", wa), L(e, "』", va), L(e, "<", ka), L(e, ">", Sa), L(e, "&", Ca), L(e, "*", Ea), L(e, "@", Ar), L(e, "`", Oa), L(e, "^", Ba), L(e, ":", Ir), L(e, ",", wp), L(e, "$", Pa), L(e, ".",
|
|
19704
|
-
const o = vt(e,
|
|
19707
|
+
Pn == null && (Pn = kc(q2)), An == null && (An = kc(U2)), L(e, "'", Ma), L(e, "{", Ii), L(e, "}", Li), L(e, "[", da), L(e, "]", ca), L(e, "(", ba), L(e, ")", ma), L(e, "<", ua), L(e, ">", xa), L(e, "(", ga), L(e, ")", fa), L(e, "「", ha), L(e, "」", ya), L(e, "『", wa), L(e, "』", va), L(e, "<", ka), L(e, ">", Sa), L(e, "&", Ca), L(e, "*", Ea), L(e, "@", Ar), L(e, "`", Oa), L(e, "^", Ba), L(e, ":", Ir), L(e, ",", wp), L(e, "$", Pa), L(e, ".", Ve), L(e, "=", Aa), L(e, "!", vp), L(e, "-", ke), L(e, "%", Ri), L(e, "|", Na), L(e, "+", Da), L(e, "#", Ia), L(e, "?", $i), L(e, '"', kp), L(e, "/", We), L(e, ";", Sp), L(e, "~", _i), L(e, "_", La), L(e, "\\", Ta), L(e, "・", Pu);
|
|
19708
|
+
const o = vt(e, lr, hp, {
|
|
19705
19709
|
[Sl]: !0
|
|
19706
19710
|
});
|
|
19707
|
-
vt(o,
|
|
19708
|
-
const i = vt(o,
|
|
19711
|
+
vt(o, lr, o);
|
|
19712
|
+
const i = vt(o, sr, Ou, {
|
|
19709
19713
|
[Di]: !0
|
|
19710
19714
|
}), n = vt(o, gi, Bu, {
|
|
19711
19715
|
[Si]: !0
|
|
19712
|
-
}), a = vt(e,
|
|
19716
|
+
}), a = vt(e, sr, pr, {
|
|
19713
19717
|
[Cl]: !0
|
|
19714
19718
|
});
|
|
19715
|
-
vt(a,
|
|
19719
|
+
vt(a, lr, i), vt(a, sr, a), vt(i, lr, i), vt(i, sr, i);
|
|
19716
19720
|
const s = vt(e, gi, Tl, {
|
|
19717
19721
|
[Ml]: !0
|
|
19718
19722
|
});
|
|
19719
|
-
vt(s,
|
|
19723
|
+
vt(s, sr), vt(s, lr, n), vt(s, gi, s), vt(n, lr, n), vt(n, sr), vt(n, gi, n);
|
|
19720
19724
|
const l = L(e, _s, yp, {
|
|
19721
19725
|
[Ls]: !0
|
|
19722
19726
|
}), p = L(e, vc, Pl, {
|
|
@@ -19731,7 +19735,7 @@ function Z2(r = []) {
|
|
|
19731
19735
|
L(c, "#"), vt(c, Rs, c), L(c, X2, c);
|
|
19732
19736
|
const m = L(c, Q2);
|
|
19733
19737
|
L(m, "#"), vt(m, Rs, c);
|
|
19734
|
-
const u = [[
|
|
19738
|
+
const u = [[sr, a], [lr, i]], x = [[sr, null], [gi, s], [lr, n]];
|
|
19735
19739
|
for (let g = 0; g < Pn.length; g++)
|
|
19736
19740
|
Tr(e, Pn[g], Ol, pr, u);
|
|
19737
19741
|
for (let g = 0; g < An.length; g++)
|
|
@@ -19755,7 +19759,7 @@ function Z2(r = []) {
|
|
|
19755
19759
|
} : {
|
|
19756
19760
|
[G2]: !0
|
|
19757
19761
|
};
|
|
19758
|
-
f.indexOf("-") >= 0 ? w[El] = !0 :
|
|
19762
|
+
f.indexOf("-") >= 0 ? w[El] = !0 : sr.test(f) ? lr.test(f) ? w[Di] = !0 : w[Cl] = !0 : w[Sl] = !0, wc(e, f, f, w);
|
|
19759
19763
|
}
|
|
19760
19764
|
return wc(e, "localhost", en, {
|
|
19761
19765
|
ascii: !0
|
|
@@ -20056,34 +20060,34 @@ const Cc = es("email", {
|
|
|
20056
20060
|
function rv({
|
|
20057
20061
|
groups: r
|
|
20058
20062
|
}) {
|
|
20059
|
-
const t = r.domain.concat([Ca, Ea, Ar, Ta, Oa, Ba, Pa, Aa, ke, hp, Ri, Na, Da, Ia,
|
|
20063
|
+
const t = r.domain.concat([Ca, Ea, Ar, Ta, Oa, Ba, Pa, Aa, ke, hp, Ri, Na, Da, Ia, We, Ra, _i, La]), e = [Ma, Ir, wp, Ve, vp, Ri, $i, kp, Sp, ua, xa, Ii, Li, ca, da, ba, ma, ga, fa, ha, ya, wa, va, ka, Sa], o = [Ca, Ma, Ea, Ta, Oa, Ba, Pa, Aa, ke, Ii, Li, Ri, Na, Da, Ia, $i, We, Ra, _i, La], i = we(), n = L(i, _i);
|
|
20060
20064
|
et(n, o, n), et(n, r.domain, n);
|
|
20061
20065
|
const a = we(), s = we(), l = we();
|
|
20062
20066
|
et(i, r.domain, a), et(i, r.scheme, s), et(i, r.slashscheme, l), et(a, o, n), et(a, r.domain, a);
|
|
20063
20067
|
const p = L(a, Ar);
|
|
20064
20068
|
L(n, Ar, p), L(s, Ar, p), L(l, Ar, p);
|
|
20065
|
-
const d = L(n,
|
|
20069
|
+
const d = L(n, Ve);
|
|
20066
20070
|
et(d, o, n), et(d, r.domain, n);
|
|
20067
20071
|
const c = we();
|
|
20068
20072
|
et(p, r.domain, c), et(c, r.domain, c);
|
|
20069
|
-
const m = L(c,
|
|
20073
|
+
const m = L(c, Ve);
|
|
20070
20074
|
et(m, r.domain, c);
|
|
20071
20075
|
const u = we(Cc);
|
|
20072
20076
|
et(m, r.tld, u), et(m, r.utld, u), L(p, en, u);
|
|
20073
20077
|
const x = L(c, ke);
|
|
20074
|
-
L(x, ke, x), et(x, r.domain, c), et(u, r.domain, c), L(u,
|
|
20078
|
+
L(x, ke, x), et(x, r.domain, c), et(u, r.domain, c), L(u, Ve, m), L(u, ke, x);
|
|
20075
20079
|
const g = L(u, Ir);
|
|
20076
20080
|
et(g, r.numeric, Cc);
|
|
20077
|
-
const f = L(a, ke), y = L(a,
|
|
20081
|
+
const f = L(a, ke), y = L(a, Ve);
|
|
20078
20082
|
L(f, ke, f), et(f, r.domain, a), et(y, o, n), et(y, r.domain, a);
|
|
20079
20083
|
const w = we(Nn);
|
|
20080
|
-
et(y, r.tld, w), et(y, r.utld, w), et(w, r.domain, a), et(w, o, n), L(w,
|
|
20084
|
+
et(y, r.tld, w), et(y, r.utld, w), et(w, r.domain, a), et(w, o, n), L(w, Ve, y), L(w, ke, f), L(w, Ar, p);
|
|
20081
20085
|
const k = L(w, Ir), h = we(Nn);
|
|
20082
20086
|
et(k, r.numeric, h);
|
|
20083
20087
|
const B = we(Nn), M = we();
|
|
20084
|
-
et(B, t, B), et(B, e, M), et(M, t, B), et(M, e, M), L(w,
|
|
20085
|
-
const A = L(s, Ir), R = L(l, Ir), j = L(R,
|
|
20086
|
-
et(s, r.domain, a), L(s,
|
|
20088
|
+
et(B, t, B), et(B, e, M), et(M, t, B), et(M, e, M), L(w, We, B), L(h, We, B);
|
|
20089
|
+
const A = L(s, Ir), R = L(l, Ir), j = L(R, We), P = L(j, We);
|
|
20090
|
+
et(s, r.domain, a), L(s, Ve, y), L(s, ke, f), et(l, r.domain, a), L(l, Ve, y), L(l, ke, f), et(A, r.domain, B), L(A, We, B), L(A, $i, B), et(P, r.domain, B), et(P, t, B), L(P, We, B);
|
|
20087
20091
|
const E = [
|
|
20088
20092
|
[Ii, Li],
|
|
20089
20093
|
// {}
|
|
@@ -23075,7 +23079,7 @@ const M3 = ["src"], E3 = {
|
|
|
23075
23079
|
disabled: "",
|
|
23076
23080
|
value: ""
|
|
23077
23081
|
}, "Select", -1)),
|
|
23078
|
-
(v(!0), C(dt, null, yt(T(
|
|
23082
|
+
(v(!0), C(dt, null, yt(T(Ue).roundedGlobal, (g) => (v(), C("option", { key: g }, H(g), 1))), 128))
|
|
23079
23083
|
], 544), [
|
|
23080
23084
|
[Qt, o.value]
|
|
23081
23085
|
])
|
|
@@ -23092,7 +23096,7 @@ const M3 = ["src"], E3 = {
|
|
|
23092
23096
|
disabled: "",
|
|
23093
23097
|
value: ""
|
|
23094
23098
|
}, "Select", -1)),
|
|
23095
|
-
(v(!0), C(dt, null, yt(T(
|
|
23099
|
+
(v(!0), C(dt, null, yt(T(Ue).roundedTopLeft, (g) => (v(), C("option", { key: g }, H(g), 1))), 128))
|
|
23096
23100
|
], 544), [
|
|
23097
23101
|
[Qt, i.value]
|
|
23098
23102
|
])
|
|
@@ -23108,7 +23112,7 @@ const M3 = ["src"], E3 = {
|
|
|
23108
23112
|
disabled: "",
|
|
23109
23113
|
value: ""
|
|
23110
23114
|
}, "Select", -1)),
|
|
23111
|
-
(v(!0), C(dt, null, yt(T(
|
|
23115
|
+
(v(!0), C(dt, null, yt(T(Ue).roundedTopRight, (g) => (v(), C("option", { key: g }, H(g), 1))), 128))
|
|
23112
23116
|
], 544), [
|
|
23113
23117
|
[Qt, n.value]
|
|
23114
23118
|
])
|
|
@@ -23124,7 +23128,7 @@ const M3 = ["src"], E3 = {
|
|
|
23124
23128
|
disabled: "",
|
|
23125
23129
|
value: ""
|
|
23126
23130
|
}, "Select", -1)),
|
|
23127
|
-
(v(!0), C(dt, null, yt(T(
|
|
23131
|
+
(v(!0), C(dt, null, yt(T(Ue).roundedBottomLeft, (g) => (v(), C("option", { key: g }, H(g), 1))), 128))
|
|
23128
23132
|
], 544), [
|
|
23129
23133
|
[Qt, a.value]
|
|
23130
23134
|
])
|
|
@@ -23140,7 +23144,7 @@ const M3 = ["src"], E3 = {
|
|
|
23140
23144
|
disabled: "",
|
|
23141
23145
|
value: ""
|
|
23142
23146
|
}, "Select", -1)),
|
|
23143
|
-
(v(!0), C(dt, null, yt(T(
|
|
23147
|
+
(v(!0), C(dt, null, yt(T(Ue).roundedBottomRight, (g) => (v(), C("option", { key: g }, H(g), 1))), 128))
|
|
23144
23148
|
], 544), [
|
|
23145
23149
|
[Qt, s.value]
|
|
23146
23150
|
])
|
|
@@ -23545,7 +23549,7 @@ const M3 = ["src"], E3 = {
|
|
|
23545
23549
|
}, aS = { class: "pbx-overflow-hidden pbx-shadow pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 md:pbx-rounded-lg" }, sS = { class: "pbx-overflow-x-auto" }, lS = { class: "pbx-w-max" }, pS = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, dS = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, cS = { class: "pbx-min-w-[30rem] pbx-w-max" }, bS = { key: 0 }, mS = { key: 1 }, uS = { key: 0 }, xS = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, gS = { class: "pbx-min-w-[30rem] pbx-w-max" }, fS = { class: "pbx-inline-flex pbx-items-center pbx-px-2.5 pbx-py-0.5 pbx-rounded-full pbx-text-xs pbx-font-medium" }, hS = { class: "pbx-mt-4 pbx-mb-4 pbx-py-8 pbx-px-2 pbx-border pbx-border-solid pbx-border-gray-600 pbx-rounded-xl" }, yS = { class: "pbx-mt-4 pbx-whitespace-pre-wrap pbx-text-white pbx-overflow-hidden pbx-bg-gray-900" }, wS = { class: "pbx-px-4 pbx-pb-8 pbx-pt-4 pbx-text-white pbx-text-xs pbx-break-all" }, vS = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-text-white" }, kS = {
|
|
23546
23550
|
__name: "PageBuilderSettings",
|
|
23547
23551
|
setup(r) {
|
|
23548
|
-
const t = "3.3.
|
|
23552
|
+
const t = "3.3.64", e = Ot, o = $(() => e.getPageBuilderConfig);
|
|
23549
23553
|
return (i, n) => {
|
|
23550
23554
|
var a, s, l, p, d, c, m, u, x, g, f, y, w, k, h, B;
|
|
23551
23555
|
return v(), C("div", Uk, [
|
|
@@ -24362,8 +24366,8 @@ const Q6 = /* @__PURE__ */ rs(J6, [["render", X6]]), Z6 = { class: "pbx-font-san
|
|
|
24362
24366
|
});
|
|
24363
24367
|
const G = function(at) {
|
|
24364
24368
|
n.setComponent(at);
|
|
24365
|
-
}, pt = S(null), gt = $(() => n.getIsLoadingGlobal), oe = $(() => n.getIsSaving),
|
|
24366
|
-
ge.value = "warning", Vt.value = !0, fe.value = "Continue Your Work?",
|
|
24369
|
+
}, pt = S(null), gt = $(() => n.getIsLoadingGlobal), oe = $(() => n.getIsSaving), Ze = $(() => n.getIsLoadingResumeEditing), Yt = $(() => n.getIsRestoring), tr = S(1), ge = S(""), Vt = S(!1), fe = S(""), er = S(""), he = S(""), rr = S(null), Ae = S(null), or = S(null), Zr = S(null), vr = S(null), Po = async function() {
|
|
24370
|
+
ge.value = "warning", Vt.value = !0, fe.value = "Continue Your Work?", er.value = "We noticed you have some changes that weren’t saved last time. Would you like to pick up where you left off, or use the version that’s currently loaded from the database?", he.value = "Use Saved Version", rr.value = null, Ae.value = "Continue Where I Left Off", or.value = async function() {
|
|
24367
24371
|
n.setHasLocalDraftForUpdate(!1), Vt.value = !1;
|
|
24368
24372
|
}, Zr.value = function() {
|
|
24369
24373
|
}, vr.value = async function() {
|
|
@@ -24385,8 +24389,8 @@ const Q6 = /* @__PURE__ */ rs(J6, [["render", X6]]), Z6 = { class: "pbx-font-san
|
|
|
24385
24389
|
if (!at || !N) return;
|
|
24386
24390
|
const V = at.querySelector("[selected]");
|
|
24387
24391
|
if (V && typeof V.getBoundingClientRect == "function") {
|
|
24388
|
-
const Y = V.getBoundingClientRect(), lt = at.getBoundingClientRect(), nt = Y.left - lt.left + Y.width / 2 - N.offsetWidth / 2, ie = Y.top - lt.top + at.scrollTop - N.offsetHeight - 20,
|
|
24389
|
-
N.style.position = "absolute", N.style.left = `${nt}px`, N.style.top = `${
|
|
24392
|
+
const Y = V.getBoundingClientRect(), lt = at.getBoundingClientRect(), nt = Y.left - lt.left + Y.width / 2 - N.offsetWidth / 2, ie = Y.top - lt.top + at.scrollTop - N.offsetHeight - 20, ir = Math.max(0, ie);
|
|
24393
|
+
N.style.position = "absolute", N.style.left = `${nt}px`, N.style.top = `${ir}px`, N.classList.add("is-visible"), bi = nt, mi = ir;
|
|
24390
24394
|
} else O && bi !== null && mi !== null ? (N.style.position = "absolute", N.style.left = `${bi}px`, N.style.top = `${mi}px`, N.classList.add("is-visible")) : N.classList.remove("is-visible");
|
|
24391
24395
|
}
|
|
24392
24396
|
return fr(async () => {
|
|
@@ -24447,15 +24451,15 @@ const Q6 = /* @__PURE__ */ rs(J6, [["render", X6]]), Z6 = { class: "pbx-font-san
|
|
|
24447
24451
|
}, 8, ["showModalBuilder"]),
|
|
24448
24452
|
q(wo, {
|
|
24449
24453
|
showDynamicModalBuilder: Vt.value,
|
|
24450
|
-
isLoading:
|
|
24454
|
+
isLoading: Ze.value,
|
|
24451
24455
|
type: ge.value,
|
|
24452
|
-
gridColumnAmount:
|
|
24456
|
+
gridColumnAmount: tr.value,
|
|
24453
24457
|
title: fe.value,
|
|
24454
|
-
description:
|
|
24458
|
+
description: er.value,
|
|
24455
24459
|
firstButtonText: he.value,
|
|
24456
|
-
secondButtonText:
|
|
24460
|
+
secondButtonText: rr.value,
|
|
24457
24461
|
thirdButtonText: Ae.value,
|
|
24458
|
-
onFirstModalButtonFunctionDynamicModalBuilder:
|
|
24462
|
+
onFirstModalButtonFunctionDynamicModalBuilder: or.value,
|
|
24459
24463
|
onSecondModalButtonFunctionDynamicModalBuilder: Zr.value,
|
|
24460
24464
|
onThirdModalButtonFunctionDynamicModalBuilder: vr.value
|
|
24461
24465
|
}, {
|