@myissue/vue-website-page-builder 3.0.19 → 3.0.20
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/README.md +2 -18
- package/dist/vue-website-page-builder.js +170 -170
- package/dist/vue-website-page-builder.umd.cjs +1 -1
- package/package.json +1 -1
|
@@ -15923,7 +15923,7 @@ const qv = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
|
|
|
15923
15923
|
return o || e && n.forEach((i) => {
|
|
15924
15924
|
r.removeMark(i.$from.pos, i.$to.pos);
|
|
15925
15925
|
}), !0;
|
|
15926
|
-
},
|
|
15926
|
+
}, e2 = (r, e = {}) => ({ tr: t, state: o, dispatch: n }) => {
|
|
15927
15927
|
var i;
|
|
15928
15928
|
const { extendEmptyMarkRange: a = !1 } = e, { selection: s } = t, l = jr(r, o.schema), { $from: d, empty: c, ranges: p } = s;
|
|
15929
15929
|
if (!n)
|
|
@@ -15937,7 +15937,7 @@ const qv = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
|
|
|
15937
15937
|
t.removeMark(u.$from.pos, u.$to.pos, l);
|
|
15938
15938
|
});
|
|
15939
15939
|
return t.removeStoredMark(l), !0;
|
|
15940
|
-
},
|
|
15940
|
+
}, t2 = (r, e = {}) => ({ tr: t, state: o, dispatch: n }) => {
|
|
15941
15941
|
let i = null, a = null;
|
|
15942
15942
|
const s = hs(typeof r == "string" ? r : r.name, o.schema);
|
|
15943
15943
|
return s ? (s === "node" && (i = Ue(r, o.schema)), s === "mark" && (a = jr(r, o.schema)), n && t.selection.ranges.forEach((l) => {
|
|
@@ -15968,14 +15968,14 @@ const qv = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
|
|
|
15968
15968
|
}));
|
|
15969
15969
|
}));
|
|
15970
15970
|
}), !0) : !1;
|
|
15971
|
-
},
|
|
15971
|
+
}, r2 = (r, e = {}) => ({ state: t, dispatch: o }) => {
|
|
15972
15972
|
const n = Ue(r, t.schema);
|
|
15973
15973
|
return fw(n, e)(t, o);
|
|
15974
|
-
},
|
|
15974
|
+
}, o2 = (r, e = {}) => ({ state: t, dispatch: o }) => {
|
|
15975
15975
|
const n = Ue(r, t.schema);
|
|
15976
15976
|
return bw(n, e)(t, o);
|
|
15977
15977
|
};
|
|
15978
|
-
var
|
|
15978
|
+
var n2 = /* @__PURE__ */ Object.freeze({
|
|
15979
15979
|
__proto__: null,
|
|
15980
15980
|
blur: Fw,
|
|
15981
15981
|
clearContent: jw,
|
|
@@ -16031,19 +16031,19 @@ var nx = /* @__PURE__ */ Object.freeze({
|
|
|
16031
16031
|
toggleWrap: Xv,
|
|
16032
16032
|
undoInputRule: Qv,
|
|
16033
16033
|
unsetAllMarks: Zv,
|
|
16034
|
-
unsetMark:
|
|
16035
|
-
updateAttributes:
|
|
16036
|
-
wrapIn:
|
|
16037
|
-
wrapInList:
|
|
16034
|
+
unsetMark: e2,
|
|
16035
|
+
updateAttributes: t2,
|
|
16036
|
+
wrapIn: r2,
|
|
16037
|
+
wrapInList: o2
|
|
16038
16038
|
});
|
|
16039
|
-
const
|
|
16039
|
+
const i2 = Ye.create({
|
|
16040
16040
|
name: "commands",
|
|
16041
16041
|
addCommands() {
|
|
16042
16042
|
return {
|
|
16043
|
-
...
|
|
16043
|
+
...n2
|
|
16044
16044
|
};
|
|
16045
16045
|
}
|
|
16046
|
-
}),
|
|
16046
|
+
}), a2 = Ye.create({
|
|
16047
16047
|
name: "drop",
|
|
16048
16048
|
addProseMirrorPlugins() {
|
|
16049
16049
|
return [
|
|
@@ -16062,7 +16062,7 @@ const ix = Ye.create({
|
|
|
16062
16062
|
})
|
|
16063
16063
|
];
|
|
16064
16064
|
}
|
|
16065
|
-
}),
|
|
16065
|
+
}), s2 = Ye.create({
|
|
16066
16066
|
name: "editable",
|
|
16067
16067
|
addProseMirrorPlugins() {
|
|
16068
16068
|
return [
|
|
@@ -16074,13 +16074,13 @@ const ix = Ye.create({
|
|
|
16074
16074
|
})
|
|
16075
16075
|
];
|
|
16076
16076
|
}
|
|
16077
|
-
}),
|
|
16077
|
+
}), l2 = new ct("focusEvents"), d2 = Ye.create({
|
|
16078
16078
|
name: "focusEvents",
|
|
16079
16079
|
addProseMirrorPlugins() {
|
|
16080
16080
|
const { editor: r } = this;
|
|
16081
16081
|
return [
|
|
16082
16082
|
new _e({
|
|
16083
|
-
key:
|
|
16083
|
+
key: l2,
|
|
16084
16084
|
props: {
|
|
16085
16085
|
handleDOMEvents: {
|
|
16086
16086
|
focus: (e, t) => {
|
|
@@ -16098,7 +16098,7 @@ const ix = Ye.create({
|
|
|
16098
16098
|
})
|
|
16099
16099
|
];
|
|
16100
16100
|
}
|
|
16101
|
-
}),
|
|
16101
|
+
}), c2 = Ye.create({
|
|
16102
16102
|
name: "keymap",
|
|
16103
16103
|
addKeyboardShortcuts() {
|
|
16104
16104
|
const r = () => this.editor.commands.first(({ commands: a }) => [
|
|
@@ -16176,7 +16176,7 @@ const ix = Ye.create({
|
|
|
16176
16176
|
})
|
|
16177
16177
|
];
|
|
16178
16178
|
}
|
|
16179
|
-
}),
|
|
16179
|
+
}), p2 = Ye.create({
|
|
16180
16180
|
name: "paste",
|
|
16181
16181
|
addProseMirrorPlugins() {
|
|
16182
16182
|
return [
|
|
@@ -16194,7 +16194,7 @@ const ix = Ye.create({
|
|
|
16194
16194
|
})
|
|
16195
16195
|
];
|
|
16196
16196
|
}
|
|
16197
|
-
}),
|
|
16197
|
+
}), u2 = Ye.create({
|
|
16198
16198
|
name: "tabindex",
|
|
16199
16199
|
addProseMirrorPlugins() {
|
|
16200
16200
|
return [
|
|
@@ -16330,7 +16330,7 @@ class Xr {
|
|
|
16330
16330
|
}), this.editor.view.dispatch(t);
|
|
16331
16331
|
}
|
|
16332
16332
|
}
|
|
16333
|
-
const
|
|
16333
|
+
const m2 = `.ProseMirror {
|
|
16334
16334
|
position: relative;
|
|
16335
16335
|
}
|
|
16336
16336
|
|
|
@@ -16405,14 +16405,14 @@ img.ProseMirror-separator {
|
|
|
16405
16405
|
.tippy-box[data-animation=fade][data-state=hidden] {
|
|
16406
16406
|
opacity: 0
|
|
16407
16407
|
}`;
|
|
16408
|
-
function
|
|
16408
|
+
function h2(r, e, t) {
|
|
16409
16409
|
const o = document.querySelector("style[data-tiptap-style]");
|
|
16410
16410
|
if (o !== null)
|
|
16411
16411
|
return o;
|
|
16412
16412
|
const n = document.createElement("style");
|
|
16413
16413
|
return e && n.setAttribute("nonce", e), n.setAttribute("data-tiptap-style", ""), n.innerHTML = r, document.getElementsByTagName("head")[0].appendChild(n), n;
|
|
16414
16414
|
}
|
|
16415
|
-
let
|
|
16415
|
+
let g2 = class extends Cw {
|
|
16416
16416
|
constructor(e = {}) {
|
|
16417
16417
|
super(), this.isFocused = !1, this.isInitialized = !1, this.extensionStorage = {}, this.options = {
|
|
16418
16418
|
element: document.createElement("div"),
|
|
@@ -16474,7 +16474,7 @@ let gx = class extends Cw {
|
|
|
16474
16474
|
* Inject CSS styles.
|
|
16475
16475
|
*/
|
|
16476
16476
|
injectCSS() {
|
|
16477
|
-
this.options.injectCSS && document && (this.css =
|
|
16477
|
+
this.options.injectCSS && document && (this.css = h2(m2, this.options.injectNonce));
|
|
16478
16478
|
}
|
|
16479
16479
|
/**
|
|
16480
16480
|
* Update editor options.
|
|
@@ -16543,16 +16543,16 @@ let gx = class extends Cw {
|
|
|
16543
16543
|
createExtensionManager() {
|
|
16544
16544
|
var e, t;
|
|
16545
16545
|
const n = [...this.options.enableCoreExtensions ? [
|
|
16546
|
-
|
|
16546
|
+
s2,
|
|
16547
16547
|
_w.configure({
|
|
16548
16548
|
blockSeparator: (t = (e = this.options.coreExtensionOptions) === null || e === void 0 ? void 0 : e.clipboardTextSerializer) === null || t === void 0 ? void 0 : t.blockSeparator
|
|
16549
16549
|
}),
|
|
16550
|
-
|
|
16551
|
-
|
|
16552
|
-
|
|
16553
|
-
|
|
16554
|
-
|
|
16555
|
-
|
|
16550
|
+
i2,
|
|
16551
|
+
d2,
|
|
16552
|
+
c2,
|
|
16553
|
+
u2,
|
|
16554
|
+
a2,
|
|
16555
|
+
p2
|
|
16556
16556
|
].filter((i) => typeof this.options.enableCoreExtensions == "object" ? this.options.enableCoreExtensions[i.name] !== !1 : !0) : [], ...this.options.extensions].filter((i) => ["extension", "node", "mark"].includes(i == null ? void 0 : i.type));
|
|
16557
16557
|
this.extensionManager = new Io(n, this);
|
|
16558
16558
|
}
|
|
@@ -16777,7 +16777,7 @@ function Vo(r) {
|
|
|
16777
16777
|
}
|
|
16778
16778
|
});
|
|
16779
16779
|
}
|
|
16780
|
-
function
|
|
16780
|
+
function f2(r) {
|
|
16781
16781
|
return new us({
|
|
16782
16782
|
find: r.find,
|
|
16783
16783
|
handler: ({ state: e, range: t, match: o }) => {
|
|
@@ -16885,11 +16885,11 @@ function ho(r) {
|
|
|
16885
16885
|
}
|
|
16886
16886
|
});
|
|
16887
16887
|
}
|
|
16888
|
-
var ht = "top", Lt = "bottom", Bt = "right", gt = "left", Rd = "auto", pi = [ht, Lt, Bt, gt], Uo = "start", qn = "end",
|
|
16888
|
+
var ht = "top", Lt = "bottom", Bt = "right", gt = "left", Rd = "auto", pi = [ht, Lt, Bt, gt], Uo = "start", qn = "end", b2 = "clippingParents", Kh = "viewport", pn = "popper", y2 = "reference", Pp = /* @__PURE__ */ pi.reduce(function(r, e) {
|
|
16889
16889
|
return r.concat([e + "-" + Uo, e + "-" + qn]);
|
|
16890
16890
|
}, []), Gh = /* @__PURE__ */ [].concat(pi, [Rd]).reduce(function(r, e) {
|
|
16891
16891
|
return r.concat([e, e + "-" + Uo, e + "-" + qn]);
|
|
16892
|
-
}, []),
|
|
16892
|
+
}, []), w2 = "beforeRead", v2 = "read", x2 = "afterRead", k2 = "beforeMain", S2 = "main", C2 = "afterMain", E2 = "beforeWrite", M2 = "write", T2 = "afterWrite", O2 = [w2, v2, x2, k2, S2, C2, E2, M2, T2];
|
|
16893
16893
|
function Xt(r) {
|
|
16894
16894
|
return r ? (r.nodeName || "").toLowerCase() : null;
|
|
16895
16895
|
}
|
|
@@ -16916,7 +16916,7 @@ function $d(r) {
|
|
|
16916
16916
|
var e = xt(r).ShadowRoot;
|
|
16917
16917
|
return r instanceof e || r instanceof ShadowRoot;
|
|
16918
16918
|
}
|
|
16919
|
-
function
|
|
16919
|
+
function P2(r) {
|
|
16920
16920
|
var e = r.state;
|
|
16921
16921
|
Object.keys(e.elements).forEach(function(t) {
|
|
16922
16922
|
var o = e.styles[t] || {}, n = e.attributes[t] || {}, i = e.elements[t];
|
|
@@ -16926,7 +16926,7 @@ function Px(r) {
|
|
|
16926
16926
|
}));
|
|
16927
16927
|
});
|
|
16928
16928
|
}
|
|
16929
|
-
function
|
|
16929
|
+
function A2(r) {
|
|
16930
16930
|
var e = r.state, t = {
|
|
16931
16931
|
popper: {
|
|
16932
16932
|
position: e.options.strategy,
|
|
@@ -16954,8 +16954,8 @@ const Jh = {
|
|
|
16954
16954
|
name: "applyStyles",
|
|
16955
16955
|
enabled: !0,
|
|
16956
16956
|
phase: "write",
|
|
16957
|
-
fn:
|
|
16958
|
-
effect:
|
|
16957
|
+
fn: P2,
|
|
16958
|
+
effect: A2,
|
|
16959
16959
|
requires: ["computeStyles"]
|
|
16960
16960
|
};
|
|
16961
16961
|
function Gt(r) {
|
|
@@ -17013,7 +17013,7 @@ function Xh(r, e) {
|
|
|
17013
17013
|
function mr(r) {
|
|
17014
17014
|
return xt(r).getComputedStyle(r);
|
|
17015
17015
|
}
|
|
17016
|
-
function
|
|
17016
|
+
function L2(r) {
|
|
17017
17017
|
return ["table", "td", "th"].indexOf(Xt(r)) >= 0;
|
|
17018
17018
|
}
|
|
17019
17019
|
function Hr(r) {
|
|
@@ -17038,7 +17038,7 @@ function Ap(r) {
|
|
|
17038
17038
|
return !At(r) || // https://github.com/popperjs/popper-core/issues/837
|
|
17039
17039
|
mr(r).position === "fixed" ? null : r.offsetParent;
|
|
17040
17040
|
}
|
|
17041
|
-
function
|
|
17041
|
+
function B2(r) {
|
|
17042
17042
|
var e = /firefox/i.test(Il()), t = /Trident/i.test(Il());
|
|
17043
17043
|
if (t && At(r)) {
|
|
17044
17044
|
var o = mr(r);
|
|
@@ -17055,9 +17055,9 @@ function Bx(r) {
|
|
|
17055
17055
|
return null;
|
|
17056
17056
|
}
|
|
17057
17057
|
function ui(r) {
|
|
17058
|
-
for (var e = xt(r), t = Ap(r); t &&
|
|
17058
|
+
for (var e = xt(r), t = Ap(r); t && L2(t) && mr(t).position === "static"; )
|
|
17059
17059
|
t = Ap(t);
|
|
17060
|
-
return t && (Xt(t) === "html" || Xt(t) === "body" && mr(t).position === "static") ? e : t ||
|
|
17060
|
+
return t && (Xt(t) === "html" || Xt(t) === "body" && mr(t).position === "static") ? e : t || B2(r) || e;
|
|
17061
17061
|
}
|
|
17062
17062
|
function _d(r) {
|
|
17063
17063
|
return ["top", "bottom"].indexOf(r) >= 0 ? "x" : "y";
|
|
@@ -17065,7 +17065,7 @@ function _d(r) {
|
|
|
17065
17065
|
function Cn(r, e, t) {
|
|
17066
17066
|
return ao(r, ba(e, t));
|
|
17067
17067
|
}
|
|
17068
|
-
function
|
|
17068
|
+
function N2(r, e, t) {
|
|
17069
17069
|
var o = Cn(r, e, t);
|
|
17070
17070
|
return o > t ? t : o;
|
|
17071
17071
|
}
|
|
@@ -17085,41 +17085,41 @@ function eg(r, e) {
|
|
|
17085
17085
|
return t[o] = r, t;
|
|
17086
17086
|
}, {});
|
|
17087
17087
|
}
|
|
17088
|
-
var
|
|
17088
|
+
var D2 = function(e, t) {
|
|
17089
17089
|
return e = typeof e == "function" ? e(Object.assign({}, t.rects, {
|
|
17090
17090
|
placement: t.placement
|
|
17091
17091
|
})) : e, Zh(typeof e != "number" ? e : eg(e, pi));
|
|
17092
17092
|
};
|
|
17093
|
-
function
|
|
17093
|
+
function I2(r) {
|
|
17094
17094
|
var e, t = r.state, o = r.name, n = r.options, i = t.elements.arrow, a = t.modifiersData.popperOffsets, s = Gt(t.placement), l = _d(s), d = [gt, Bt].indexOf(s) >= 0, c = d ? "height" : "width";
|
|
17095
17095
|
if (!(!i || !a)) {
|
|
17096
|
-
var p =
|
|
17096
|
+
var p = D2(n.padding, t), u = zd(i), m = l === "y" ? ht : gt, h = l === "y" ? Lt : Bt, f = t.rects.reference[c] + t.rects.reference[l] - a[l] - t.rects.popper[c], b = a[l] - t.rects.reference[l], w = ui(i), M = w ? l === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, v = f / 2 - b / 2, y = p[m], E = M - u[c] - p[h], k = M / 2 - u[c] / 2 + v, P = Cn(y, k, E), j = l;
|
|
17097
17097
|
t.modifiersData[o] = (e = {}, e[j] = P, e.centerOffset = P - k, e);
|
|
17098
17098
|
}
|
|
17099
17099
|
}
|
|
17100
|
-
function
|
|
17100
|
+
function R2(r) {
|
|
17101
17101
|
var e = r.state, t = r.options, o = t.element, n = o === void 0 ? "[data-popper-arrow]" : o;
|
|
17102
17102
|
n != null && (typeof n == "string" && (n = e.elements.popper.querySelector(n), !n) || Xh(e.elements.popper, n) && (e.elements.arrow = n));
|
|
17103
17103
|
}
|
|
17104
|
-
const $
|
|
17104
|
+
const $2 = {
|
|
17105
17105
|
name: "arrow",
|
|
17106
17106
|
enabled: !0,
|
|
17107
17107
|
phase: "main",
|
|
17108
|
-
fn:
|
|
17109
|
-
effect:
|
|
17108
|
+
fn: I2,
|
|
17109
|
+
effect: R2,
|
|
17110
17110
|
requires: ["popperOffsets"],
|
|
17111
17111
|
requiresIfExists: ["preventOverflow"]
|
|
17112
17112
|
};
|
|
17113
17113
|
function Ko(r) {
|
|
17114
17114
|
return r.split("-")[1];
|
|
17115
17115
|
}
|
|
17116
|
-
var
|
|
17116
|
+
var z2 = {
|
|
17117
17117
|
top: "auto",
|
|
17118
17118
|
right: "auto",
|
|
17119
17119
|
bottom: "auto",
|
|
17120
17120
|
left: "auto"
|
|
17121
17121
|
};
|
|
17122
|
-
function
|
|
17122
|
+
function _2(r, e) {
|
|
17123
17123
|
var t = r.x, o = r.y, n = e.devicePixelRatio || 1;
|
|
17124
17124
|
return {
|
|
17125
17125
|
x: Wo(t * n) / n || 0,
|
|
@@ -17157,7 +17157,7 @@ function Lp(r) {
|
|
|
17157
17157
|
}
|
|
17158
17158
|
var B = Object.assign({
|
|
17159
17159
|
position: s
|
|
17160
|
-
}, d &&
|
|
17160
|
+
}, d && z2), L = c === !0 ? _2({
|
|
17161
17161
|
x: m,
|
|
17162
17162
|
y: f
|
|
17163
17163
|
}, xt(t)) : {
|
|
@@ -17170,7 +17170,7 @@ function Lp(r) {
|
|
|
17170
17170
|
}
|
|
17171
17171
|
return Object.assign({}, B, (e = {}, e[y] = M ? f + "px" : "", e[v] = w ? m + "px" : "", e.transform = "", e));
|
|
17172
17172
|
}
|
|
17173
|
-
function
|
|
17173
|
+
function F2(r) {
|
|
17174
17174
|
var e = r.state, t = r.options, o = t.gpuAcceleration, n = o === void 0 ? !0 : o, i = t.adaptive, a = i === void 0 ? !0 : i, s = t.roundOffsets, l = s === void 0 ? !0 : s, d = {
|
|
17175
17175
|
placement: Gt(e.placement),
|
|
17176
17176
|
variation: Ko(e.placement),
|
|
@@ -17193,17 +17193,17 @@ function Fx(r) {
|
|
|
17193
17193
|
"data-popper-placement": e.placement
|
|
17194
17194
|
});
|
|
17195
17195
|
}
|
|
17196
|
-
const
|
|
17196
|
+
const j2 = {
|
|
17197
17197
|
name: "computeStyles",
|
|
17198
17198
|
enabled: !0,
|
|
17199
17199
|
phase: "beforeWrite",
|
|
17200
|
-
fn:
|
|
17200
|
+
fn: F2,
|
|
17201
17201
|
data: {}
|
|
17202
17202
|
};
|
|
17203
17203
|
var $i = {
|
|
17204
17204
|
passive: !0
|
|
17205
17205
|
};
|
|
17206
|
-
function
|
|
17206
|
+
function H2(r) {
|
|
17207
17207
|
var e = r.state, t = r.instance, o = r.options, n = o.scroll, i = n === void 0 ? !0 : n, a = o.resize, s = a === void 0 ? !0 : a, l = xt(e.elements.popper), d = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
17208
17208
|
return i && d.forEach(function(c) {
|
|
17209
17209
|
c.addEventListener("scroll", t.update, $i);
|
|
@@ -17213,16 +17213,16 @@ function Hx(r) {
|
|
|
17213
17213
|
}), s && l.removeEventListener("resize", t.update, $i);
|
|
17214
17214
|
};
|
|
17215
17215
|
}
|
|
17216
|
-
const
|
|
17216
|
+
const V2 = {
|
|
17217
17217
|
name: "eventListeners",
|
|
17218
17218
|
enabled: !0,
|
|
17219
17219
|
phase: "write",
|
|
17220
17220
|
fn: function() {
|
|
17221
17221
|
},
|
|
17222
|
-
effect:
|
|
17222
|
+
effect: H2,
|
|
17223
17223
|
data: {}
|
|
17224
17224
|
};
|
|
17225
|
-
var
|
|
17225
|
+
var U2 = {
|
|
17226
17226
|
left: "right",
|
|
17227
17227
|
right: "left",
|
|
17228
17228
|
bottom: "top",
|
|
@@ -17230,16 +17230,16 @@ var Ux = {
|
|
|
17230
17230
|
};
|
|
17231
17231
|
function Xi(r) {
|
|
17232
17232
|
return r.replace(/left|right|bottom|top/g, function(e) {
|
|
17233
|
-
return
|
|
17233
|
+
return U2[e];
|
|
17234
17234
|
});
|
|
17235
17235
|
}
|
|
17236
|
-
var
|
|
17236
|
+
var W2 = {
|
|
17237
17237
|
start: "end",
|
|
17238
17238
|
end: "start"
|
|
17239
17239
|
};
|
|
17240
17240
|
function Bp(r) {
|
|
17241
17241
|
return r.replace(/start|end/g, function(e) {
|
|
17242
|
-
return
|
|
17242
|
+
return W2[e];
|
|
17243
17243
|
});
|
|
17244
17244
|
}
|
|
17245
17245
|
function Fd(r) {
|
|
@@ -17252,7 +17252,7 @@ function Fd(r) {
|
|
|
17252
17252
|
function jd(r) {
|
|
17253
17253
|
return qo(Hr(r)).left + Fd(r).scrollLeft;
|
|
17254
17254
|
}
|
|
17255
|
-
function
|
|
17255
|
+
function q2(r, e) {
|
|
17256
17256
|
var t = xt(r), o = Hr(r), n = t.visualViewport, i = o.clientWidth, a = o.clientHeight, s = 0, l = 0;
|
|
17257
17257
|
if (n) {
|
|
17258
17258
|
i = n.width, a = n.height;
|
|
@@ -17266,7 +17266,7 @@ function qx(r, e) {
|
|
|
17266
17266
|
y: l
|
|
17267
17267
|
};
|
|
17268
17268
|
}
|
|
17269
|
-
function
|
|
17269
|
+
function K2(r) {
|
|
17270
17270
|
var e, t = Hr(r), o = Fd(r), n = (e = r.ownerDocument) == null ? void 0 : e.body, i = ao(t.scrollWidth, t.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), a = ao(t.scrollHeight, t.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), s = -o.scrollLeft + jd(r), l = -o.scrollTop;
|
|
17271
17271
|
return mr(n || t).direction === "rtl" && (s += ao(t.clientWidth, n ? n.clientWidth : 0) - i), {
|
|
17272
17272
|
width: i,
|
|
@@ -17299,21 +17299,21 @@ function Rl(r) {
|
|
|
17299
17299
|
bottom: r.y + r.height
|
|
17300
17300
|
});
|
|
17301
17301
|
}
|
|
17302
|
-
function
|
|
17302
|
+
function G2(r, e) {
|
|
17303
17303
|
var t = qo(r, !1, e === "fixed");
|
|
17304
17304
|
return t.top = t.top + r.clientTop, t.left = t.left + r.clientLeft, t.bottom = t.top + r.clientHeight, t.right = t.left + r.clientWidth, t.width = r.clientWidth, t.height = r.clientHeight, t.x = t.left, t.y = t.top, t;
|
|
17305
17305
|
}
|
|
17306
17306
|
function Np(r, e, t) {
|
|
17307
|
-
return e === Kh ? Rl(
|
|
17307
|
+
return e === Kh ? Rl(q2(r, t)) : go(e) ? G2(e, t) : Rl(K2(Hr(r)));
|
|
17308
17308
|
}
|
|
17309
|
-
function
|
|
17309
|
+
function J2(r) {
|
|
17310
17310
|
var e = En(gs(r)), t = ["absolute", "fixed"].indexOf(mr(r).position) >= 0, o = t && At(r) ? ui(r) : r;
|
|
17311
17311
|
return go(o) ? e.filter(function(n) {
|
|
17312
17312
|
return go(n) && Xh(n, o) && Xt(n) !== "body";
|
|
17313
17313
|
}) : [];
|
|
17314
17314
|
}
|
|
17315
|
-
function
|
|
17316
|
-
var n = e === "clippingParents" ?
|
|
17315
|
+
function Y2(r, e, t, o) {
|
|
17316
|
+
var n = e === "clippingParents" ? J2(r) : [].concat(e), i = [].concat(n, [t]), a = i[0], s = i.reduce(function(l, d) {
|
|
17317
17317
|
var c = Np(r, d, o);
|
|
17318
17318
|
return l.top = ao(c.top, l.top), l.right = ba(c.right, l.right), l.bottom = ba(c.bottom, l.bottom), l.left = ao(c.left, l.left), l;
|
|
17319
17319
|
}, Np(r, a, o));
|
|
@@ -17368,7 +17368,7 @@ function rg(r) {
|
|
|
17368
17368
|
}
|
|
17369
17369
|
function Kn(r, e) {
|
|
17370
17370
|
e === void 0 && (e = {});
|
|
17371
|
-
var t = e, o = t.placement, n = o === void 0 ? r.placement : o, i = t.strategy, a = i === void 0 ? r.strategy : i, s = t.boundary, l = s === void 0 ?
|
|
17371
|
+
var t = e, o = t.placement, n = o === void 0 ? r.placement : o, i = t.strategy, a = i === void 0 ? r.strategy : i, s = t.boundary, l = s === void 0 ? b2 : s, d = t.rootBoundary, c = d === void 0 ? Kh : d, p = t.elementContext, u = p === void 0 ? pn : p, m = t.altBoundary, h = m === void 0 ? !1 : m, f = t.padding, b = f === void 0 ? 0 : f, w = Zh(typeof b != "number" ? b : eg(b, pi)), M = u === pn ? y2 : pn, v = r.rects.popper, y = r.elements[h ? M : u], E = Y2(go(y) ? y : y.contextElement || Hr(r.elements.popper), l, c, a), k = qo(r.elements.reference), P = rg({
|
|
17372
17372
|
reference: k,
|
|
17373
17373
|
element: v,
|
|
17374
17374
|
placement: n
|
|
@@ -17387,7 +17387,7 @@ function Kn(r, e) {
|
|
|
17387
17387
|
}
|
|
17388
17388
|
return D;
|
|
17389
17389
|
}
|
|
17390
|
-
function
|
|
17390
|
+
function X2(r, e) {
|
|
17391
17391
|
e === void 0 && (e = {});
|
|
17392
17392
|
var t = e, o = t.placement, n = t.boundary, i = t.rootBoundary, a = t.padding, s = t.flipVariations, l = t.allowedAutoPlacements, d = l === void 0 ? Gh : l, c = Ko(o), p = c ? s ? Pp : Pp.filter(function(h) {
|
|
17393
17393
|
return Ko(h) === c;
|
|
@@ -17407,17 +17407,17 @@ function Xx(r, e) {
|
|
|
17407
17407
|
return m[h] - m[f];
|
|
17408
17408
|
});
|
|
17409
17409
|
}
|
|
17410
|
-
function
|
|
17410
|
+
function Q2(r) {
|
|
17411
17411
|
if (Gt(r) === Rd)
|
|
17412
17412
|
return [];
|
|
17413
17413
|
var e = Xi(r);
|
|
17414
17414
|
return [Bp(r), e, Bp(e)];
|
|
17415
17415
|
}
|
|
17416
|
-
function
|
|
17416
|
+
function Z2(r) {
|
|
17417
17417
|
var e = r.state, t = r.options, o = r.name;
|
|
17418
17418
|
if (!e.modifiersData[o]._skip) {
|
|
17419
|
-
for (var n = t.mainAxis, i = n === void 0 ? !0 : n, a = t.altAxis, s = a === void 0 ? !0 : a, l = t.fallbackPlacements, d = t.padding, c = t.boundary, p = t.rootBoundary, u = t.altBoundary, m = t.flipVariations, h = m === void 0 ? !0 : m, f = t.allowedAutoPlacements, b = e.options.placement, w = Gt(b), M = w === b, v = l || (M || !h ? [Xi(b)] :
|
|
17420
|
-
return Ee.concat(Gt(nt) === Rd ?
|
|
17419
|
+
for (var n = t.mainAxis, i = n === void 0 ? !0 : n, a = t.altAxis, s = a === void 0 ? !0 : a, l = t.fallbackPlacements, d = t.padding, c = t.boundary, p = t.rootBoundary, u = t.altBoundary, m = t.flipVariations, h = m === void 0 ? !0 : m, f = t.allowedAutoPlacements, b = e.options.placement, w = Gt(b), M = w === b, v = l || (M || !h ? [Xi(b)] : Q2(b)), y = [b].concat(v).reduce(function(Ee, nt) {
|
|
17420
|
+
return Ee.concat(Gt(nt) === Rd ? X2(e, {
|
|
17421
17421
|
placement: nt,
|
|
17422
17422
|
boundary: c,
|
|
17423
17423
|
rootBoundary: p,
|
|
@@ -17461,11 +17461,11 @@ function Zx(r) {
|
|
|
17461
17461
|
e.placement !== F && (e.modifiersData[o]._skip = !0, e.placement = F, e.reset = !0);
|
|
17462
17462
|
}
|
|
17463
17463
|
}
|
|
17464
|
-
const
|
|
17464
|
+
const ex = {
|
|
17465
17465
|
name: "flip",
|
|
17466
17466
|
enabled: !0,
|
|
17467
17467
|
phase: "main",
|
|
17468
|
-
fn:
|
|
17468
|
+
fn: Z2,
|
|
17469
17469
|
requiresIfExists: ["offset"],
|
|
17470
17470
|
data: {
|
|
17471
17471
|
_skip: !1
|
|
@@ -17487,7 +17487,7 @@ function Ip(r) {
|
|
|
17487
17487
|
return r[e] >= 0;
|
|
17488
17488
|
});
|
|
17489
17489
|
}
|
|
17490
|
-
function
|
|
17490
|
+
function tx(r) {
|
|
17491
17491
|
var e = r.state, t = r.name, o = e.rects.reference, n = e.rects.popper, i = e.modifiersData.preventOverflow, a = Kn(e, {
|
|
17492
17492
|
elementContext: "reference"
|
|
17493
17493
|
}), s = Kn(e, {
|
|
@@ -17503,14 +17503,14 @@ function t2(r) {
|
|
|
17503
17503
|
"data-popper-escaped": p
|
|
17504
17504
|
});
|
|
17505
17505
|
}
|
|
17506
|
-
const
|
|
17506
|
+
const rx = {
|
|
17507
17507
|
name: "hide",
|
|
17508
17508
|
enabled: !0,
|
|
17509
17509
|
phase: "main",
|
|
17510
17510
|
requiresIfExists: ["preventOverflow"],
|
|
17511
|
-
fn:
|
|
17511
|
+
fn: tx
|
|
17512
17512
|
};
|
|
17513
|
-
function
|
|
17513
|
+
function ox(r, e, t) {
|
|
17514
17514
|
var o = Gt(r), n = [gt, ht].indexOf(o) >= 0 ? -1 : 1, i = typeof t == "function" ? t(Object.assign({}, e, {
|
|
17515
17515
|
placement: r
|
|
17516
17516
|
})) : t, a = i[0], s = i[1];
|
|
@@ -17522,20 +17522,20 @@ function o2(r, e, t) {
|
|
|
17522
17522
|
y: s
|
|
17523
17523
|
};
|
|
17524
17524
|
}
|
|
17525
|
-
function
|
|
17525
|
+
function nx(r) {
|
|
17526
17526
|
var e = r.state, t = r.options, o = r.name, n = t.offset, i = n === void 0 ? [0, 0] : n, a = Gh.reduce(function(c, p) {
|
|
17527
|
-
return c[p] =
|
|
17527
|
+
return c[p] = ox(p, e.rects, i), c;
|
|
17528
17528
|
}, {}), s = a[e.placement], l = s.x, d = s.y;
|
|
17529
17529
|
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += l, e.modifiersData.popperOffsets.y += d), e.modifiersData[o] = a;
|
|
17530
17530
|
}
|
|
17531
|
-
const
|
|
17531
|
+
const ix = {
|
|
17532
17532
|
name: "offset",
|
|
17533
17533
|
enabled: !0,
|
|
17534
17534
|
phase: "main",
|
|
17535
17535
|
requires: ["popperOffsets"],
|
|
17536
|
-
fn:
|
|
17536
|
+
fn: nx
|
|
17537
17537
|
};
|
|
17538
|
-
function
|
|
17538
|
+
function ax(r) {
|
|
17539
17539
|
var e = r.state, t = r.name;
|
|
17540
17540
|
e.modifiersData[t] = rg({
|
|
17541
17541
|
reference: e.rects.reference,
|
|
@@ -17543,23 +17543,23 @@ function a2(r) {
|
|
|
17543
17543
|
placement: e.placement
|
|
17544
17544
|
});
|
|
17545
17545
|
}
|
|
17546
|
-
const
|
|
17546
|
+
const sx = {
|
|
17547
17547
|
name: "popperOffsets",
|
|
17548
17548
|
enabled: !0,
|
|
17549
17549
|
phase: "read",
|
|
17550
|
-
fn:
|
|
17550
|
+
fn: ax,
|
|
17551
17551
|
data: {}
|
|
17552
17552
|
};
|
|
17553
|
-
function
|
|
17553
|
+
function lx(r) {
|
|
17554
17554
|
return r === "x" ? "y" : "x";
|
|
17555
17555
|
}
|
|
17556
|
-
function
|
|
17556
|
+
function dx(r) {
|
|
17557
17557
|
var e = r.state, t = r.options, o = r.name, n = t.mainAxis, i = n === void 0 ? !0 : n, a = t.altAxis, s = a === void 0 ? !1 : a, l = t.boundary, d = t.rootBoundary, c = t.altBoundary, p = t.padding, u = t.tether, m = u === void 0 ? !0 : u, h = t.tetherOffset, f = h === void 0 ? 0 : h, b = Kn(e, {
|
|
17558
17558
|
boundary: l,
|
|
17559
17559
|
rootBoundary: d,
|
|
17560
17560
|
padding: p,
|
|
17561
17561
|
altBoundary: c
|
|
17562
|
-
}), w = Gt(e.placement), M = Ko(e.placement), v = !M, y = _d(w), E =
|
|
17562
|
+
}), w = Gt(e.placement), M = Ko(e.placement), v = !M, y = _d(w), E = lx(y), k = e.modifiersData.popperOffsets, P = e.rects.reference, j = e.rects.popper, F = typeof f == "function" ? f(Object.assign({}, e.rects, {
|
|
17563
17563
|
placement: e.placement
|
|
17564
17564
|
})) : f, D = typeof F == "number" ? {
|
|
17565
17565
|
mainAxis: F,
|
|
@@ -17580,35 +17580,35 @@ function d2(r) {
|
|
|
17580
17580
|
k[y] = tn, L[y] = tn - ie;
|
|
17581
17581
|
}
|
|
17582
17582
|
if (s) {
|
|
17583
|
-
var rn, fi = y === "x" ? ht : gt, bi = y === "x" ? Lt : Bt, Zt = k[E], gr = E === "y" ? "height" : "width", on = Zt + b[fi], Vr = Zt - b[bi], nn = [ht, gt].indexOf(w) !== -1, yi = (rn = B == null ? void 0 : B[E]) != null ? rn : 0, wi = nn ? on : Zt - P[gr] - j[gr] - yi + D.altAxis, vi = nn ? Zt + P[gr] + j[gr] - yi - D.altAxis : Vr, xi = m && nn ?
|
|
17583
|
+
var rn, fi = y === "x" ? ht : gt, bi = y === "x" ? Lt : Bt, Zt = k[E], gr = E === "y" ? "height" : "width", on = Zt + b[fi], Vr = Zt - b[bi], nn = [ht, gt].indexOf(w) !== -1, yi = (rn = B == null ? void 0 : B[E]) != null ? rn : 0, wi = nn ? on : Zt - P[gr] - j[gr] - yi + D.altAxis, vi = nn ? Zt + P[gr] + j[gr] - yi - D.altAxis : Vr, xi = m && nn ? N2(wi, Zt, vi) : Cn(m ? wi : on, Zt, m ? vi : Vr);
|
|
17584
17584
|
k[E] = xi, L[E] = xi - Zt;
|
|
17585
17585
|
}
|
|
17586
17586
|
e.modifiersData[o] = L;
|
|
17587
17587
|
}
|
|
17588
17588
|
}
|
|
17589
|
-
const
|
|
17589
|
+
const cx = {
|
|
17590
17590
|
name: "preventOverflow",
|
|
17591
17591
|
enabled: !0,
|
|
17592
17592
|
phase: "main",
|
|
17593
|
-
fn:
|
|
17593
|
+
fn: dx,
|
|
17594
17594
|
requiresIfExists: ["offset"]
|
|
17595
17595
|
};
|
|
17596
|
-
function
|
|
17596
|
+
function px(r) {
|
|
17597
17597
|
return {
|
|
17598
17598
|
scrollLeft: r.scrollLeft,
|
|
17599
17599
|
scrollTop: r.scrollTop
|
|
17600
17600
|
};
|
|
17601
17601
|
}
|
|
17602
|
-
function
|
|
17603
|
-
return r === xt(r) || !At(r) ? Fd(r) :
|
|
17602
|
+
function ux(r) {
|
|
17603
|
+
return r === xt(r) || !At(r) ? Fd(r) : px(r);
|
|
17604
17604
|
}
|
|
17605
|
-
function
|
|
17605
|
+
function mx(r) {
|
|
17606
17606
|
var e = r.getBoundingClientRect(), t = Wo(e.width) / r.offsetWidth || 1, o = Wo(e.height) / r.offsetHeight || 1;
|
|
17607
17607
|
return t !== 1 || o !== 1;
|
|
17608
17608
|
}
|
|
17609
|
-
function
|
|
17609
|
+
function hx(r, e, t) {
|
|
17610
17610
|
t === void 0 && (t = !1);
|
|
17611
|
-
var o = At(e), n = At(e) &&
|
|
17611
|
+
var o = At(e), n = At(e) && mx(e), i = Hr(e), a = qo(r, n, t), s = {
|
|
17612
17612
|
scrollLeft: 0,
|
|
17613
17613
|
scrollTop: 0
|
|
17614
17614
|
}, l = {
|
|
@@ -17616,14 +17616,14 @@ function h2(r, e, t) {
|
|
|
17616
17616
|
y: 0
|
|
17617
17617
|
};
|
|
17618
17618
|
return (o || !o && !t) && ((Xt(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
17619
|
-
Hd(i)) && (s =
|
|
17619
|
+
Hd(i)) && (s = ux(e)), At(e) ? (l = qo(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : i && (l.x = jd(i))), {
|
|
17620
17620
|
x: a.left + s.scrollLeft - l.x,
|
|
17621
17621
|
y: a.top + s.scrollTop - l.y,
|
|
17622
17622
|
width: a.width,
|
|
17623
17623
|
height: a.height
|
|
17624
17624
|
};
|
|
17625
17625
|
}
|
|
17626
|
-
function
|
|
17626
|
+
function gx(r) {
|
|
17627
17627
|
var e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set(), o = [];
|
|
17628
17628
|
r.forEach(function(i) {
|
|
17629
17629
|
e.set(i.name, i);
|
|
@@ -17642,15 +17642,15 @@ function g2(r) {
|
|
|
17642
17642
|
t.has(i.name) || n(i);
|
|
17643
17643
|
}), o;
|
|
17644
17644
|
}
|
|
17645
|
-
function
|
|
17646
|
-
var e =
|
|
17647
|
-
return
|
|
17645
|
+
function fx(r) {
|
|
17646
|
+
var e = gx(r);
|
|
17647
|
+
return O2.reduce(function(t, o) {
|
|
17648
17648
|
return t.concat(e.filter(function(n) {
|
|
17649
17649
|
return n.phase === o;
|
|
17650
17650
|
}));
|
|
17651
17651
|
}, []);
|
|
17652
17652
|
}
|
|
17653
|
-
function
|
|
17653
|
+
function bx(r) {
|
|
17654
17654
|
var e;
|
|
17655
17655
|
return function() {
|
|
17656
17656
|
return e || (e = new Promise(function(t) {
|
|
@@ -17660,7 +17660,7 @@ function b2(r) {
|
|
|
17660
17660
|
})), e;
|
|
17661
17661
|
};
|
|
17662
17662
|
}
|
|
17663
|
-
function
|
|
17663
|
+
function yx(r) {
|
|
17664
17664
|
var e = r.reduce(function(t, o) {
|
|
17665
17665
|
var n = t[o.name];
|
|
17666
17666
|
return t[o.name] = n ? Object.assign({}, n, o, {
|
|
@@ -17684,7 +17684,7 @@ function $p() {
|
|
|
17684
17684
|
return !(o && typeof o.getBoundingClientRect == "function");
|
|
17685
17685
|
});
|
|
17686
17686
|
}
|
|
17687
|
-
function
|
|
17687
|
+
function wx(r) {
|
|
17688
17688
|
r === void 0 && (r = {});
|
|
17689
17689
|
var e = r, t = e.defaultModifiers, o = t === void 0 ? [] : t, n = e.defaultOptions, i = n === void 0 ? Rp : n;
|
|
17690
17690
|
return function(s, l, d) {
|
|
@@ -17708,7 +17708,7 @@ function w2(r) {
|
|
|
17708
17708
|
reference: go(s) ? En(s) : s.contextElement ? En(s.contextElement) : [],
|
|
17709
17709
|
popper: En(l)
|
|
17710
17710
|
};
|
|
17711
|
-
var v =
|
|
17711
|
+
var v = fx(yx([].concat(o, c.options.modifiers)));
|
|
17712
17712
|
return c.orderedModifiers = v.filter(function(y) {
|
|
17713
17713
|
return y.enabled;
|
|
17714
17714
|
}), h(), m.update();
|
|
@@ -17723,7 +17723,7 @@ function w2(r) {
|
|
|
17723
17723
|
var w = c.elements, M = w.reference, v = w.popper;
|
|
17724
17724
|
if ($p(M, v)) {
|
|
17725
17725
|
c.rects = {
|
|
17726
|
-
reference:
|
|
17726
|
+
reference: hx(M, ui(v), c.options.strategy === "fixed"),
|
|
17727
17727
|
popper: zd(v)
|
|
17728
17728
|
}, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(D) {
|
|
17729
17729
|
return c.modifiersData[D.name] = Object.assign({}, D.data);
|
|
@@ -17746,7 +17746,7 @@ function w2(r) {
|
|
|
17746
17746
|
},
|
|
17747
17747
|
// Async and optimistically optimized update – it will not be executed if
|
|
17748
17748
|
// not necessary (debounced to run at most once-per-tick)
|
|
17749
|
-
update:
|
|
17749
|
+
update: bx(function() {
|
|
17750
17750
|
return new Promise(function(b) {
|
|
17751
17751
|
m.forceUpdate(), b(c);
|
|
17752
17752
|
});
|
|
@@ -17783,15 +17783,15 @@ function w2(r) {
|
|
|
17783
17783
|
return m;
|
|
17784
17784
|
};
|
|
17785
17785
|
}
|
|
17786
|
-
var
|
|
17787
|
-
defaultModifiers:
|
|
17788
|
-
}),
|
|
17786
|
+
var vx = [V2, sx, j2, Jh, ix, ex, cx, $2, rx], xx = /* @__PURE__ */ wx({
|
|
17787
|
+
defaultModifiers: vx
|
|
17788
|
+
}), kx = "tippy-box", og = "tippy-content", Sx = "tippy-backdrop", ng = "tippy-arrow", ig = "tippy-svg-arrow", Gr = {
|
|
17789
17789
|
passive: !0,
|
|
17790
17790
|
capture: !0
|
|
17791
17791
|
}, ag = function() {
|
|
17792
17792
|
return document.body;
|
|
17793
17793
|
};
|
|
17794
|
-
function
|
|
17794
|
+
function Cx(r, e) {
|
|
17795
17795
|
return {}.hasOwnProperty.call(r, e);
|
|
17796
17796
|
}
|
|
17797
17797
|
function Us(r, e, t) {
|
|
@@ -17818,13 +17818,13 @@ function zp(r, e) {
|
|
|
17818
17818
|
}, e);
|
|
17819
17819
|
};
|
|
17820
17820
|
}
|
|
17821
|
-
function
|
|
17821
|
+
function Ex(r, e) {
|
|
17822
17822
|
var t = Object.assign({}, r);
|
|
17823
17823
|
return e.forEach(function(o) {
|
|
17824
17824
|
delete t[o];
|
|
17825
17825
|
}), t;
|
|
17826
17826
|
}
|
|
17827
|
-
function
|
|
17827
|
+
function Mx(r) {
|
|
17828
17828
|
return r.split(/\s+/).filter(Boolean);
|
|
17829
17829
|
}
|
|
17830
17830
|
function Lo(r) {
|
|
@@ -17833,12 +17833,12 @@ function Lo(r) {
|
|
|
17833
17833
|
function _p(r, e) {
|
|
17834
17834
|
r.indexOf(e) === -1 && r.push(e);
|
|
17835
17835
|
}
|
|
17836
|
-
function
|
|
17836
|
+
function Tx(r) {
|
|
17837
17837
|
return r.filter(function(e, t) {
|
|
17838
17838
|
return r.indexOf(e) === t;
|
|
17839
17839
|
});
|
|
17840
17840
|
}
|
|
17841
|
-
function
|
|
17841
|
+
function Ox(r) {
|
|
17842
17842
|
return r.split("-")[0];
|
|
17843
17843
|
}
|
|
17844
17844
|
function ya(r) {
|
|
@@ -17857,17 +17857,17 @@ function Gn(r) {
|
|
|
17857
17857
|
return Vd(r, e);
|
|
17858
17858
|
});
|
|
17859
17859
|
}
|
|
17860
|
-
function
|
|
17860
|
+
function Px(r) {
|
|
17861
17861
|
return Vd(r, "NodeList");
|
|
17862
17862
|
}
|
|
17863
|
-
function
|
|
17863
|
+
function Ax(r) {
|
|
17864
17864
|
return Vd(r, "MouseEvent");
|
|
17865
17865
|
}
|
|
17866
|
-
function
|
|
17866
|
+
function Lx(r) {
|
|
17867
17867
|
return !!(r && r._tippy && r._tippy.reference === r);
|
|
17868
17868
|
}
|
|
17869
|
-
function
|
|
17870
|
-
return Gn(r) ? [r] :
|
|
17869
|
+
function Bx(r) {
|
|
17870
|
+
return Gn(r) ? [r] : Px(r) ? ya(r) : Array.isArray(r) ? r : ya(document.querySelectorAll(r));
|
|
17871
17871
|
}
|
|
17872
17872
|
function Ws(r, e) {
|
|
17873
17873
|
r.forEach(function(t) {
|
|
@@ -17879,14 +17879,14 @@ function jp(r, e) {
|
|
|
17879
17879
|
t && t.setAttribute("data-state", e);
|
|
17880
17880
|
});
|
|
17881
17881
|
}
|
|
17882
|
-
function
|
|
17882
|
+
function Nx(r) {
|
|
17883
17883
|
var e, t = Lo(r), o = t[0];
|
|
17884
17884
|
return o != null && (e = o.ownerDocument) != null && e.body ? o.ownerDocument : document;
|
|
17885
17885
|
}
|
|
17886
|
-
function
|
|
17886
|
+
function Dx(r, e) {
|
|
17887
17887
|
var t = e.clientX, o = e.clientY;
|
|
17888
17888
|
return r.every(function(n) {
|
|
17889
|
-
var i = n.popperRect, a = n.popperState, s = n.props, l = s.interactiveBorder, d =
|
|
17889
|
+
var i = n.popperRect, a = n.popperState, s = n.props, l = s.interactiveBorder, d = Ox(a.placement), c = a.modifiersData.offset;
|
|
17890
17890
|
if (!c)
|
|
17891
17891
|
return !0;
|
|
17892
17892
|
var p = d === "bottom" ? c.top.y : 0, u = d === "top" ? c.bottom.y : 0, m = d === "right" ? c.left.x : 0, h = d === "left" ? c.right.x : 0, f = i.top - o + p > l, b = o - i.bottom - u > l, w = i.left - t + m > l, M = t - i.right - h > l;
|
|
@@ -17911,24 +17911,24 @@ function Hp(r, e) {
|
|
|
17911
17911
|
var Ht = {
|
|
17912
17912
|
isTouch: !1
|
|
17913
17913
|
}, Vp = 0;
|
|
17914
|
-
function
|
|
17914
|
+
function Ix() {
|
|
17915
17915
|
Ht.isTouch || (Ht.isTouch = !0, window.performance && document.addEventListener("mousemove", lg));
|
|
17916
17916
|
}
|
|
17917
17917
|
function lg() {
|
|
17918
17918
|
var r = performance.now();
|
|
17919
17919
|
r - Vp < 20 && (Ht.isTouch = !1, document.removeEventListener("mousemove", lg)), Vp = r;
|
|
17920
17920
|
}
|
|
17921
|
-
function
|
|
17921
|
+
function Rx() {
|
|
17922
17922
|
var r = document.activeElement;
|
|
17923
|
-
if (
|
|
17923
|
+
if (Lx(r)) {
|
|
17924
17924
|
var e = r._tippy;
|
|
17925
17925
|
r.blur && !e.state.isVisible && r.blur();
|
|
17926
17926
|
}
|
|
17927
17927
|
}
|
|
17928
|
-
function $
|
|
17929
|
-
document.addEventListener("touchstart",
|
|
17928
|
+
function $x() {
|
|
17929
|
+
document.addEventListener("touchstart", Ix, Gr), window.addEventListener("blur", Rx);
|
|
17930
17930
|
}
|
|
17931
|
-
var
|
|
17931
|
+
var zx = typeof window < "u" && typeof document < "u", _x = zx ? (
|
|
17932
17932
|
// @ts-ignore
|
|
17933
17933
|
!!window.msCrypto
|
|
17934
17934
|
) : !1;
|
|
@@ -17940,7 +17940,7 @@ function Up(r) {
|
|
|
17940
17940
|
var e = /[ \t]{2,}/g, t = /^[ \t]*/gm;
|
|
17941
17941
|
return r.replace(e, " ").replace(t, "").trim();
|
|
17942
17942
|
}
|
|
17943
|
-
function
|
|
17943
|
+
function Fx(r) {
|
|
17944
17944
|
return Up(`
|
|
17945
17945
|
%ctippy.js
|
|
17946
17946
|
|
|
@@ -17951,7 +17951,7 @@ function F2(r) {
|
|
|
17951
17951
|
}
|
|
17952
17952
|
function dg(r) {
|
|
17953
17953
|
return [
|
|
17954
|
-
|
|
17954
|
+
Fx(r),
|
|
17955
17955
|
// title
|
|
17956
17956
|
"color: #00C584; font-size: 1.3em; font-weight: bold;",
|
|
17957
17957
|
// message
|
|
@@ -17961,8 +17961,8 @@ function dg(r) {
|
|
|
17961
17961
|
];
|
|
17962
17962
|
}
|
|
17963
17963
|
var Jn;
|
|
17964
|
-
process.env.NODE_ENV !== "production" &&
|
|
17965
|
-
function
|
|
17964
|
+
process.env.NODE_ENV !== "production" && jx();
|
|
17965
|
+
function jx() {
|
|
17966
17966
|
Jn = /* @__PURE__ */ new Set();
|
|
17967
17967
|
}
|
|
17968
17968
|
function ar(r, e) {
|
|
@@ -17977,7 +17977,7 @@ function $l(r, e) {
|
|
|
17977
17977
|
Jn.add(e), (t = console).error.apply(t, dg(e));
|
|
17978
17978
|
}
|
|
17979
17979
|
}
|
|
17980
|
-
function
|
|
17980
|
+
function Hx(r) {
|
|
17981
17981
|
var e = !r, t = Object.prototype.toString.call(r) === "[object Object]" && !r.addEventListener;
|
|
17982
17982
|
$l(e, ["tippy() was passed", "`" + String(r) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), $l(t, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
|
|
17983
17983
|
}
|
|
@@ -17986,7 +17986,7 @@ var cg = {
|
|
|
17986
17986
|
followCursor: !1,
|
|
17987
17987
|
inlinePositioning: !1,
|
|
17988
17988
|
sticky: !1
|
|
17989
|
-
},
|
|
17989
|
+
}, Vx = {
|
|
17990
17990
|
allowHTML: !1,
|
|
17991
17991
|
animation: "fade",
|
|
17992
17992
|
arrow: !0,
|
|
@@ -18044,7 +18044,7 @@ var cg = {
|
|
|
18044
18044
|
touch: !0,
|
|
18045
18045
|
trigger: "mouseenter focus",
|
|
18046
18046
|
triggerTarget: null
|
|
18047
|
-
}, cg,
|
|
18047
|
+
}, cg, Vx), Ux = Object.keys(yt), Wx = function(e) {
|
|
18048
18048
|
process.env.NODE_ENV !== "production" && ug(e, []);
|
|
18049
18049
|
var t = Object.keys(e);
|
|
18050
18050
|
t.forEach(function(o) {
|
|
@@ -18062,10 +18062,10 @@ function pg(r) {
|
|
|
18062
18062
|
}, {});
|
|
18063
18063
|
return Object.assign({}, r, t);
|
|
18064
18064
|
}
|
|
18065
|
-
function
|
|
18065
|
+
function qx(r, e) {
|
|
18066
18066
|
var t = e ? Object.keys(pg(Object.assign({}, yt, {
|
|
18067
18067
|
plugins: e
|
|
18068
|
-
}))) :
|
|
18068
|
+
}))) : Ux, o = t.reduce(function(n, i) {
|
|
18069
18069
|
var a = (r.getAttribute("data-tippy-" + i) || "").trim();
|
|
18070
18070
|
if (!a)
|
|
18071
18071
|
return n;
|
|
@@ -18084,7 +18084,7 @@ function q2(r, e) {
|
|
|
18084
18084
|
function Wp(r, e) {
|
|
18085
18085
|
var t = Object.assign({}, e, {
|
|
18086
18086
|
content: sg(e.content, [r])
|
|
18087
|
-
}, e.ignoreAttributes ? {} :
|
|
18087
|
+
}, e.ignoreAttributes ? {} : qx(r, e.plugins));
|
|
18088
18088
|
return t.aria = Object.assign({}, yt.aria, t.aria), t.aria = {
|
|
18089
18089
|
expanded: t.aria.expanded === "auto" ? e.interactive : t.aria.expanded,
|
|
18090
18090
|
content: t.aria.content === "auto" ? e.interactive ? null : "describedby" : t.aria.content
|
|
@@ -18094,7 +18094,7 @@ function ug(r, e) {
|
|
|
18094
18094
|
r === void 0 && (r = {}), e === void 0 && (e = []);
|
|
18095
18095
|
var t = Object.keys(r);
|
|
18096
18096
|
t.forEach(function(o) {
|
|
18097
|
-
var n =
|
|
18097
|
+
var n = Ex(yt, Object.keys(cg)), i = !Cx(n, o);
|
|
18098
18098
|
i && (i = e.filter(function(a) {
|
|
18099
18099
|
return a.name === o;
|
|
18100
18100
|
}).length === 0), ar(i, ["`" + o + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
|
|
@@ -18103,11 +18103,11 @@ function ug(r, e) {
|
|
|
18103
18103
|
`, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
|
|
18104
18104
|
});
|
|
18105
18105
|
}
|
|
18106
|
-
var
|
|
18106
|
+
var Kx = function() {
|
|
18107
18107
|
return "innerHTML";
|
|
18108
18108
|
};
|
|
18109
18109
|
function zl(r, e) {
|
|
18110
|
-
r[
|
|
18110
|
+
r[Kx()] = e;
|
|
18111
18111
|
}
|
|
18112
18112
|
function qp(r) {
|
|
18113
18113
|
var e = Mn();
|
|
@@ -18127,13 +18127,13 @@ function _l(r) {
|
|
|
18127
18127
|
return o.classList.contains(ng) || o.classList.contains(ig);
|
|
18128
18128
|
}),
|
|
18129
18129
|
backdrop: t.find(function(o) {
|
|
18130
|
-
return o.classList.contains(
|
|
18130
|
+
return o.classList.contains(Sx);
|
|
18131
18131
|
})
|
|
18132
18132
|
};
|
|
18133
18133
|
}
|
|
18134
18134
|
function mg(r) {
|
|
18135
18135
|
var e = Mn(), t = Mn();
|
|
18136
|
-
t.className =
|
|
18136
|
+
t.className = kx, t.setAttribute("data-state", "hidden"), t.setAttribute("tabindex", "-1");
|
|
18137
18137
|
var o = Mn();
|
|
18138
18138
|
o.className = og, o.setAttribute("data-state", "hidden"), Kp(o, r.props), e.appendChild(t), t.appendChild(o), n(r.props, r.props);
|
|
18139
18139
|
function n(i, a) {
|
|
@@ -18146,9 +18146,9 @@ function mg(r) {
|
|
|
18146
18146
|
};
|
|
18147
18147
|
}
|
|
18148
18148
|
mg.$$tippy = !0;
|
|
18149
|
-
var
|
|
18150
|
-
function
|
|
18151
|
-
var t = Wp(r, Object.assign({}, yt, pg(Fp(e)))), o, n, i, a = !1, s = !1, l = !1, d = !1, c, p, u, m = [], h = zp(hi, t.interactiveDebounce), f, b =
|
|
18149
|
+
var Gx = 1, zi = [], Ks = [];
|
|
18150
|
+
function Jx(r, e) {
|
|
18151
|
+
var t = Wp(r, Object.assign({}, yt, pg(Fp(e)))), o, n, i, a = !1, s = !1, l = !1, d = !1, c, p, u, m = [], h = zp(hi, t.interactiveDebounce), f, b = Gx++, w = null, M = Tx(t.plugins), v = {
|
|
18152
18152
|
// Is the instance currently enabled?
|
|
18153
18153
|
isEnabled: !0,
|
|
18154
18154
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -18208,7 +18208,7 @@ function J2(r, e) {
|
|
|
18208
18208
|
}
|
|
18209
18209
|
function q() {
|
|
18210
18210
|
var A = C().parentNode;
|
|
18211
|
-
return A ?
|
|
18211
|
+
return A ? Nx(A) : document;
|
|
18212
18212
|
}
|
|
18213
18213
|
function oe() {
|
|
18214
18214
|
return _l(k);
|
|
@@ -18320,14 +18320,14 @@ function J2(r, e) {
|
|
|
18320
18320
|
passive: !0
|
|
18321
18321
|
}), hr("touchend", gi, {
|
|
18322
18322
|
passive: !0
|
|
18323
|
-
})),
|
|
18323
|
+
})), Mx(y.props.trigger).forEach(function(A) {
|
|
18324
18324
|
if (A !== "manual")
|
|
18325
18325
|
switch (hr(A, en), A) {
|
|
18326
18326
|
case "mouseenter":
|
|
18327
18327
|
hr("mouseleave", gi);
|
|
18328
18328
|
break;
|
|
18329
18329
|
case "focus":
|
|
18330
|
-
hr(
|
|
18330
|
+
hr(_x ? "focusout" : "blur", tn);
|
|
18331
18331
|
break;
|
|
18332
18332
|
case "focusin":
|
|
18333
18333
|
hr("focusout", tn);
|
|
@@ -18345,7 +18345,7 @@ function J2(r, e) {
|
|
|
18345
18345
|
var W, X = !1;
|
|
18346
18346
|
if (!(!y.state.isEnabled || rn(A) || s)) {
|
|
18347
18347
|
var pe = ((W = c) == null ? void 0 : W.type) === "focus";
|
|
18348
|
-
c = A, f = A.currentTarget, Pe(), !y.state.isVisible &&
|
|
18348
|
+
c = A, f = A.currentTarget, Pe(), !y.state.isVisible && Ax(A) && zi.forEach(function(le) {
|
|
18349
18349
|
return le(A);
|
|
18350
18350
|
}), A.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || a) && y.props.hideOnClick !== !1 && y.state.isVisible ? X = !0 : on(A), A.type === "click" && (a = !X), X && !pe && Vr(A);
|
|
18351
18351
|
}
|
|
@@ -18361,7 +18361,7 @@ function J2(r, e) {
|
|
|
18361
18361
|
props: t
|
|
18362
18362
|
} : null;
|
|
18363
18363
|
}).filter(Boolean);
|
|
18364
|
-
|
|
18364
|
+
Dx(pe, A) && (G(), Vr(A));
|
|
18365
18365
|
}
|
|
18366
18366
|
}
|
|
18367
18367
|
function gi(A) {
|
|
@@ -18431,7 +18431,7 @@ function J2(r, e) {
|
|
|
18431
18431
|
element: kt,
|
|
18432
18432
|
padding: 3
|
|
18433
18433
|
}
|
|
18434
|
-
}), Ur.push.apply(Ur, (W == null ? void 0 : W.modifiers) || []), y.popperInstance =
|
|
18434
|
+
}), Ur.push.apply(Ur, (W == null ? void 0 : W.modifiers) || []), y.popperInstance = xx(vo, k, Object.assign({}, W, {
|
|
18435
18435
|
placement: X,
|
|
18436
18436
|
onFirstUpdate: u,
|
|
18437
18437
|
modifiers: Ur
|
|
@@ -18551,10 +18551,10 @@ function J2(r, e) {
|
|
|
18551
18551
|
function Qo(r, e) {
|
|
18552
18552
|
e === void 0 && (e = {});
|
|
18553
18553
|
var t = yt.plugins.concat(e.plugins || []);
|
|
18554
|
-
process.env.NODE_ENV !== "production" && (
|
|
18554
|
+
process.env.NODE_ENV !== "production" && (Hx(r), ug(e, t)), $x();
|
|
18555
18555
|
var o = Object.assign({}, e, {
|
|
18556
18556
|
plugins: t
|
|
18557
|
-
}), n =
|
|
18557
|
+
}), n = Bx(r);
|
|
18558
18558
|
if (process.env.NODE_ENV !== "production") {
|
|
18559
18559
|
var i = Gn(o.content), a = n.length > 1;
|
|
18560
18560
|
ar(i && a, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
|
|
@@ -18565,13 +18565,13 @@ function Qo(r, e) {
|
|
|
18565
18565
|
`, "2) content: () => element.cloneNode(true)"].join(" "));
|
|
18566
18566
|
}
|
|
18567
18567
|
var s = n.reduce(function(l, d) {
|
|
18568
|
-
var c = d &&
|
|
18568
|
+
var c = d && Jx(d, o);
|
|
18569
18569
|
return c && l.push(c), l;
|
|
18570
18570
|
}, []);
|
|
18571
18571
|
return Gn(r) ? s[0] : s;
|
|
18572
18572
|
}
|
|
18573
18573
|
Qo.defaultProps = yt;
|
|
18574
|
-
Qo.setDefaultProps =
|
|
18574
|
+
Qo.setDefaultProps = Wx;
|
|
18575
18575
|
Qo.currentInput = Ht;
|
|
18576
18576
|
Object.assign({}, Jh, {
|
|
18577
18577
|
effect: function(e) {
|
|
@@ -18593,7 +18593,7 @@ Object.assign({}, Jh, {
|
|
|
18593
18593
|
Qo.setDefaultProps({
|
|
18594
18594
|
render: mg
|
|
18595
18595
|
});
|
|
18596
|
-
class
|
|
18596
|
+
class Yx {
|
|
18597
18597
|
constructor({ editor: e, element: t, view: o, tippyOptions: n = {}, updateDelay: i = 250, shouldShow: a }) {
|
|
18598
18598
|
this.preventHide = !1, this.shouldShow = ({ view: s, state: l, from: d, to: c }) => {
|
|
18599
18599
|
const { doc: p, selection: u } = l, { empty: m } = u, h = !p.textBetween(d, c).length && Ld(l.selection), f = this.element.contains(document.activeElement);
|
|
@@ -18689,7 +18689,7 @@ class Y2 {
|
|
|
18689
18689
|
}
|
|
18690
18690
|
const hg = (r) => new _e({
|
|
18691
18691
|
key: typeof r.pluginKey == "string" ? new ct(r.pluginKey) : r.pluginKey,
|
|
18692
|
-
view: (e) => new
|
|
18692
|
+
view: (e) => new Yx({ view: e, ...r })
|
|
18693
18693
|
});
|
|
18694
18694
|
Ye.create({
|
|
18695
18695
|
name: "bubbleMenu",
|
|
@@ -18715,7 +18715,7 @@ Ye.create({
|
|
|
18715
18715
|
] : [];
|
|
18716
18716
|
}
|
|
18717
18717
|
});
|
|
18718
|
-
class
|
|
18718
|
+
class Xx {
|
|
18719
18719
|
getTextContent(e) {
|
|
18720
18720
|
return Vh(e, { textSerializers: Pd(this.editor.schema) });
|
|
18721
18721
|
}
|
|
@@ -18784,7 +18784,7 @@ class X2 {
|
|
|
18784
18784
|
}
|
|
18785
18785
|
const gg = (r) => new _e({
|
|
18786
18786
|
key: typeof r.pluginKey == "string" ? new ct(r.pluginKey) : r.pluginKey,
|
|
18787
|
-
view: (e) => new
|
|
18787
|
+
view: (e) => new Xx({ view: e, ...r })
|
|
18788
18788
|
});
|
|
18789
18789
|
Ye.create({
|
|
18790
18790
|
name: "floatingMenu",
|
|
@@ -18867,7 +18867,7 @@ function Gp(r) {
|
|
|
18867
18867
|
}
|
|
18868
18868
|
}));
|
|
18869
18869
|
}
|
|
18870
|
-
class
|
|
18870
|
+
class Qx extends g2 {
|
|
18871
18871
|
constructor(e = {}) {
|
|
18872
18872
|
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = Gp(this.view.state), this.reactiveExtensionStorage = Gp(this.extensionStorage), this.on("beforeTransaction", ({ nextState: t }) => {
|
|
18873
18873
|
this.reactiveState.value = t, this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
@@ -18894,7 +18894,7 @@ class Q2 extends gx {
|
|
|
18894
18894
|
return this.reactiveState && t && (this.reactiveState.value = t), t;
|
|
18895
18895
|
}
|
|
18896
18896
|
}
|
|
18897
|
-
const
|
|
18897
|
+
const Zx = ue({
|
|
18898
18898
|
name: "EditorContent",
|
|
18899
18899
|
props: {
|
|
18900
18900
|
editor: {
|
|
@@ -19018,7 +19018,7 @@ ue({
|
|
|
19018
19018
|
const e5 = (r = {}) => {
|
|
19019
19019
|
const e = cu();
|
|
19020
19020
|
return xe(() => {
|
|
19021
|
-
e.value = new
|
|
19021
|
+
e.value = new Qx(r);
|
|
19022
19022
|
}), Ya(() => {
|
|
19023
19023
|
var t, o, n;
|
|
19024
19024
|
const i = (t = e.value) === null || t === void 0 ? void 0 : t.options.element, a = i == null ? void 0 : i.cloneNode(!0);
|
|
@@ -20170,7 +20170,7 @@ const yg = bg(!1, !0), wg = bg(!0, !0), _5 = Ye.create({
|
|
|
20170
20170
|
},
|
|
20171
20171
|
addInputRules() {
|
|
20172
20172
|
return [
|
|
20173
|
-
|
|
20173
|
+
f2({
|
|
20174
20174
|
find: /^(?:---|—-|___\s|\*\*\*\s)$/,
|
|
20175
20175
|
type: this.type
|
|
20176
20176
|
})
|
|
@@ -21584,7 +21584,7 @@ const S3 = ur.create({
|
|
|
21584
21584
|
])
|
|
21585
21585
|
])
|
|
21586
21586
|
]),
|
|
21587
|
-
$(T(
|
|
21587
|
+
$(T(Zx), {
|
|
21588
21588
|
id: "page-builder-editor",
|
|
21589
21589
|
editor: T(v),
|
|
21590
21590
|
class: "px-4 pt-6 pb-12 bg-white rounded-lg lg:min-h-[20rem] lg:max-h-[30rem] md:min-h-[20rem] md:max-h-[20rem] min-h-[20rem] max-h-[20rem] overflow-y-auto"
|
|
@@ -24417,7 +24417,7 @@ const Zo = /* @__PURE__ */ Zd(c6, [["render", h6]]), g6 = { class: "flex flex-ro
|
|
|
24417
24417
|
}
|
|
24418
24418
|
},
|
|
24419
24419
|
setup(r) {
|
|
24420
|
-
const e = "v3.0.
|
|
24420
|
+
const e = "v3.0.20", t = r, o = ff(), n = DS(o), i = NS(o), a = IS(o);
|
|
24421
24421
|
t.PageBuilderLogo && i.setPageBuilderLogo(t.PageBuilderLogo);
|
|
24422
24422
|
const s = N(() => i.getPageBuilderLogo);
|
|
24423
24423
|
t.resourceData && i.setCurrentResourceData(t.resourceData), t.userForPageBuilder && a.setCurrentUser(t.userForPageBuilder), i.setUpdateOrCreate(t.updateOrCreate);
|