@myissue/vue-website-page-builder 3.4.80 → 3.4.87
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.
|
@@ -2,7 +2,7 @@ var QS = Object.defineProperty;
|
|
|
2
2
|
var XS = (n, e, t) => e in n ? QS(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var de = (n, e, t) => XS(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import * as Ma from "vue";
|
|
5
|
-
import { defineComponent as Ze, computed as L, createBlock as re, openBlock as y, Teleport as ZS, createElementVNode as p, createElementBlock as w, createCommentVNode as E, normalizeClass as j, toDisplayString as C, renderSlot as Xt, ref as k, watchEffect as ci, Fragment as G, withCtx as V, nextTick as Z, readonly as ew, effectScope as cp, markRaw as Zt, toRaw as Fe, hasInjectionContext as tw, inject as un, getCurrentInstance as up, watch as Y, unref as x, reactive as nw, isRef as
|
|
5
|
+
import { defineComponent as Ze, computed as L, createBlock as re, openBlock as y, Teleport as ZS, createElementVNode as p, createElementBlock as w, createCommentVNode as E, normalizeClass as j, toDisplayString as C, renderSlot as Xt, ref as k, watchEffect as ci, Fragment as G, withCtx as V, nextTick as Z, readonly as ew, effectScope as cp, markRaw as Zt, toRaw as Fe, hasInjectionContext as tw, inject as un, getCurrentInstance as up, watch as Y, unref as x, reactive as nw, isRef as Ni, isReactive as xl, toRef as ts, getCurrentScope as iw, onScopeDispose as ow, toRefs as Ea, Transition as Rt, withModifiers as Ye, createVNode as F, normalizeStyle as rw, renderList as ne, shallowRef as sw, onMounted as Ln, onBeforeUnmount as hp, h as An, customRef as lw, withDirectives as se, vModelSelect as Se, onBeforeMount as aw, vModelText as In, provide as Kt, resolveDynamicComponent as fp, cloneVNode as dw, onUnmounted as pw, createTextVNode as Ae, withKeys as Os, vShow as _s, createStaticVNode as cw } from "vue";
|
|
6
6
|
const uw = {
|
|
7
7
|
id: "pbx-modal",
|
|
8
8
|
class: "pbx-font-sans"
|
|
@@ -6355,8 +6355,8 @@ function Av(n, e) {
|
|
|
6355
6355
|
* (c) 2025 Eduardo San Martin Morote
|
|
6356
6356
|
* @license MIT
|
|
6357
6357
|
*/
|
|
6358
|
-
let
|
|
6359
|
-
const
|
|
6358
|
+
let Si;
|
|
6359
|
+
const Hi = (n) => Si = n, Iv = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
6360
6360
|
/* istanbul ignore next */
|
|
6361
6361
|
Symbol()
|
|
6362
6362
|
);
|
|
@@ -6905,7 +6905,7 @@ function EC() {
|
|
|
6905
6905
|
let t = [], i = [];
|
|
6906
6906
|
const o = Zt({
|
|
6907
6907
|
install(r) {
|
|
6908
|
-
|
|
6908
|
+
Hi(o), o._a = r, r.provide(Iv, o), r.config.globalProperties.$pinia = o, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && tn && kC(r, o), i.forEach((s) => t.push(s)), i = [];
|
|
6909
6909
|
},
|
|
6910
6910
|
use(r) {
|
|
6911
6911
|
return this._a ? t.push(r) : i.push(r), this;
|
|
@@ -6926,7 +6926,7 @@ function Fv(n, e) {
|
|
|
6926
6926
|
if (!(t in n))
|
|
6927
6927
|
continue;
|
|
6928
6928
|
const o = n[t];
|
|
6929
|
-
Dn(o) && Dn(i) && !
|
|
6929
|
+
Dn(o) && Dn(i) && !Ni(i) && !xl(i) ? n[t] = Fv(o, i) : n[t] = i;
|
|
6930
6930
|
}
|
|
6931
6931
|
return n;
|
|
6932
6932
|
}
|
|
@@ -6952,7 +6952,7 @@ function Rs(n, e) {
|
|
|
6952
6952
|
if (!e.hasOwnProperty(t))
|
|
6953
6953
|
continue;
|
|
6954
6954
|
const i = e[t], o = n[t];
|
|
6955
|
-
Dn(o) && Dn(i) && n.hasOwnProperty(t) && !
|
|
6955
|
+
Dn(o) && Dn(i) && n.hasOwnProperty(t) && !Ni(i) && !xl(i) ? n[t] = Rs(o, i) : n[t] = i;
|
|
6956
6956
|
}
|
|
6957
6957
|
return n;
|
|
6958
6958
|
}
|
|
@@ -6965,7 +6965,7 @@ function LC(n) {
|
|
|
6965
6965
|
}
|
|
6966
6966
|
const { assign: lt } = Object;
|
|
6967
6967
|
function Oa(n) {
|
|
6968
|
-
return !!(
|
|
6968
|
+
return !!(Ni(n) && n.effect);
|
|
6969
6969
|
}
|
|
6970
6970
|
function _a(n, e, t, i) {
|
|
6971
6971
|
const { state: o, actions: r, getters: s } = e, l = t.state.value[n];
|
|
@@ -6977,7 +6977,7 @@ function _a(n, e, t, i) {
|
|
|
6977
6977
|
Ea(k(o ? o() : {}).value)
|
|
6978
6978
|
) : Ea(t.state.value[n]);
|
|
6979
6979
|
return lt(c, r, Object.keys(s || {}).reduce((u, h) => (process.env.NODE_ENV !== "production" && h in c && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${h}" in store "${n}".`), u[h] = Zt(L(() => {
|
|
6980
|
-
|
|
6980
|
+
Hi(t);
|
|
6981
6981
|
const f = t._s.get(n);
|
|
6982
6982
|
return s[h].call(f, f);
|
|
6983
6983
|
})), u), {}));
|
|
@@ -7033,7 +7033,7 @@ function zs(n, e, t = {}, i, o, r) {
|
|
|
7033
7033
|
if ($a in O)
|
|
7034
7034
|
return O[is] = _, O;
|
|
7035
7035
|
const q = function() {
|
|
7036
|
-
|
|
7036
|
+
Hi(i);
|
|
7037
7037
|
const X = Array.from(arguments), N = [], ie = [];
|
|
7038
7038
|
function Re(ue) {
|
|
7039
7039
|
N.push(ue);
|
|
@@ -7057,7 +7057,7 @@ function zs(n, e, t = {}, i, o, r) {
|
|
|
7057
7057
|
return Mt instanceof Promise ? Mt.then((ue) => (Wn(N, ue), ue)).catch((ue) => (Wn(ie, ue), Promise.reject(ue))) : (Wn(N, Mt), Mt);
|
|
7058
7058
|
};
|
|
7059
7059
|
return q[$a] = !0, q[is] = _, q;
|
|
7060
|
-
},
|
|
7060
|
+
}, P = /* @__PURE__ */ Zt({
|
|
7061
7061
|
actions: {},
|
|
7062
7062
|
getters: {},
|
|
7063
7063
|
state: [],
|
|
@@ -7082,7 +7082,7 @@ function zs(n, e, t = {}, i, o, r) {
|
|
|
7082
7082
|
$dispose: v
|
|
7083
7083
|
}, I = nw(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && tn ? lt(
|
|
7084
7084
|
{
|
|
7085
|
-
_hmrPayload:
|
|
7085
|
+
_hmrPayload: P,
|
|
7086
7086
|
_customProperties: Zt(/* @__PURE__ */ new Set())
|
|
7087
7087
|
// devtools custom properties
|
|
7088
7088
|
},
|
|
@@ -7094,12 +7094,12 @@ function zs(n, e, t = {}, i, o, r) {
|
|
|
7094
7094
|
const z = (i._a && i._a.runWithContext || PC)(() => i._e.run(() => (s = cp()).run(() => e({ action: M }))));
|
|
7095
7095
|
for (const O in z) {
|
|
7096
7096
|
const _ = z[O];
|
|
7097
|
-
if (
|
|
7098
|
-
process.env.NODE_ENV !== "production" && o ? xo(m.value, O, ts(z, O)) : r || (b && LC(_) && (
|
|
7097
|
+
if (Ni(_) && !Oa(_) || xl(_))
|
|
7098
|
+
process.env.NODE_ENV !== "production" && o ? xo(m.value, O, ts(z, O)) : r || (b && LC(_) && (Ni(_) ? _.value = b[O] : Rs(_, b[O])), i.state.value[n][O] = _), process.env.NODE_ENV !== "production" && P.state.push(O);
|
|
7099
7099
|
else if (typeof _ == "function") {
|
|
7100
7100
|
const q = process.env.NODE_ENV !== "production" && o ? _ : M(_, O);
|
|
7101
|
-
z[O] = q, process.env.NODE_ENV !== "production" && (
|
|
7102
|
-
} else process.env.NODE_ENV !== "production" && Oa(_) && (
|
|
7101
|
+
z[O] = q, process.env.NODE_ENV !== "production" && (P.actions[O] = _), l.actions[O] = _;
|
|
7102
|
+
} else process.env.NODE_ENV !== "production" && Oa(_) && (P.getters[O] = r ? (
|
|
7103
7103
|
// @ts-expect-error
|
|
7104
7104
|
t.getters[O]
|
|
7105
7105
|
) : _, tn && (z._getters || // @ts-expect-error: same
|
|
@@ -7133,7 +7133,7 @@ function zs(n, e, t = {}, i, o, r) {
|
|
|
7133
7133
|
for (const _ in O._hmrPayload.getters) {
|
|
7134
7134
|
const q = O._hmrPayload.getters[_], X = r ? (
|
|
7135
7135
|
// special handling of options api
|
|
7136
|
-
L(() => (
|
|
7136
|
+
L(() => (Hi(i), q.call(I, I)))
|
|
7137
7137
|
) : q;
|
|
7138
7138
|
xo(I, _, X);
|
|
7139
7139
|
}
|
|
@@ -7183,11 +7183,11 @@ function AC(n, e, t) {
|
|
|
7183
7183
|
const d = tw();
|
|
7184
7184
|
if (l = // in test mode, ignore the argument provided as we can always retrieve a
|
|
7185
7185
|
// pinia instance with getActivePinia()
|
|
7186
|
-
(process.env.NODE_ENV === "test" &&
|
|
7186
|
+
(process.env.NODE_ENV === "test" && Si && Si._testing ? null : l) || (d ? un(Iv, null) : null), l && Hi(l), process.env.NODE_ENV !== "production" && !Si)
|
|
7187
7187
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
7188
7188
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
7189
7189
|
This will fail in production.`);
|
|
7190
|
-
l =
|
|
7190
|
+
l = Si, l._s.has(i) || (r ? zs(i, e, o, l) : _a(i, o, l), process.env.NODE_ENV !== "production" && (s._pinia = l));
|
|
7191
7191
|
const c = l._s.get(i);
|
|
7192
7192
|
if (process.env.NODE_ENV !== "production" && a) {
|
|
7193
7193
|
const u = "__hot:" + i, h = r ? zs(u, e, o, l, !0) : _a(u, lt({}, o), l, !0);
|
|
@@ -7637,9 +7637,9 @@ const IC = /* @__PURE__ */ AC("pageBuilderState", {
|
|
|
7637
7637
|
}, G2 = { class: "pbx-overflow-hidden pbx-shadow pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 md:pbx-rounded-lg" }, K2 = { class: "pbx-overflow-x-auto" }, J2 = { class: "pbx-w-max" }, Y2 = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, Q2 = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, X2 = { class: "pbx-min-w-[30rem] pbx-w-max" }, Z2 = { key: 0 }, ek = { key: 1 }, tk = { key: 0 }, nk = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, ik = { class: "pbx-min-w-[30rem] pbx-w-max" }, ok = { class: "pbx-inline-flex pbx-items-center pbx-px-2.5 pbx-py-0.5 pbx-rounded-full pbx-text-xs pbx-font-medium" }, rk = { 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" }, sk = { class: "pbx-mt-4 pbx-whitespace-pre-wrap pbx-text-white pbx-overflow-hidden pbx-bg-gray-900" }, lk = { class: "pbx-px-4 pbx-pb-8 pbx-pt-4 pbx-text-white pbx-text-xs pbx-break-all" }, ak = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-text-white" }, dk = {
|
|
7638
7638
|
__name: "PageBuilderSettings",
|
|
7639
7639
|
setup(n) {
|
|
7640
|
-
const e = "3.4.
|
|
7640
|
+
const e = "3.4.87", t = fe, i = L(() => t.getPageBuilderConfig);
|
|
7641
7641
|
return (o, r) => {
|
|
7642
|
-
var s, l, a, d, c, u, h, f, b, m, g, S, T, v, M,
|
|
7642
|
+
var s, l, a, d, c, u, h, f, b, m, g, S, T, v, M, P;
|
|
7643
7643
|
return y(), w("div", DC, [
|
|
7644
7644
|
p("div", $C, [
|
|
7645
7645
|
p("div", null, [
|
|
@@ -7899,7 +7899,7 @@ const IC = /* @__PURE__ */ AC("pageBuilderState", {
|
|
|
7899
7899
|
])
|
|
7900
7900
|
])
|
|
7901
7901
|
])) : E("", !0),
|
|
7902
|
-
(
|
|
7902
|
+
(P = i.value) != null && P.updateOrCreate && !x(Jt)(i.value.updateOrCreate) ? (y(), w("div", U2, [
|
|
7903
7903
|
r[25] || (r[25] = p("h4", { class: "pbx-myQuaternaryHeader pbx-text-sm pbx-mb-2" }, "Form Type", -1)),
|
|
7904
7904
|
p("div", G2, [
|
|
7905
7905
|
p("div", K2, [
|
|
@@ -8060,7 +8060,7 @@ const IC = /* @__PURE__ */ AC("pageBuilderState", {
|
|
|
8060
8060
|
g.value = !1;
|
|
8061
8061
|
}, T = function() {
|
|
8062
8062
|
g.value = !0;
|
|
8063
|
-
}, v = k(null), M = k(!1),
|
|
8063
|
+
}, v = k(null), M = k(!1), P = async function() {
|
|
8064
8064
|
M.value = !M.value, M.value && (v.value = await t.analyzeSEO());
|
|
8065
8065
|
}, H = function() {
|
|
8066
8066
|
M.value = !1;
|
|
@@ -8069,7 +8069,7 @@ const IC = /* @__PURE__ */ AC("pageBuilderState", {
|
|
|
8069
8069
|
p("div", bk, [
|
|
8070
8070
|
p("div", mk, [
|
|
8071
8071
|
p("div", {
|
|
8072
|
-
onClick:
|
|
8072
|
+
onClick: P,
|
|
8073
8073
|
"pbx-bg-myPrimaryLinkColor": "",
|
|
8074
8074
|
class: j(["pbx-select-none pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white", { "pbx-bg-myPrimaryLinkColor pbx-text-white": M.value }])
|
|
8075
8075
|
}, [...D[1] || (D[1] = [
|
|
@@ -8872,7 +8872,7 @@ function Tn(n, e) {
|
|
|
8872
8872
|
let t = e.length - 1;
|
|
8873
8873
|
t >= 0 && n.isText && n.sameMarkup(e[t]) ? e[t] = n.withText(e[t].text + n.text) : e.push(n);
|
|
8874
8874
|
}
|
|
8875
|
-
function
|
|
8875
|
+
function Mi(n, e, t, i) {
|
|
8876
8876
|
let o = (e || n).node(t), r = 0, s = e ? e.index(t) : o.childCount;
|
|
8877
8877
|
n && (r = n.index(t), n.depth > t ? r++ : n.textOffset && (Tn(n.nodeAfter, i), r++));
|
|
8878
8878
|
for (let l = r; l < s; l++)
|
|
@@ -8884,15 +8884,15 @@ function Mn(n, e) {
|
|
|
8884
8884
|
}
|
|
8885
8885
|
function Yv(n, e, t, i, o) {
|
|
8886
8886
|
let r = n.depth > o && Vs(n, e, o + 1), s = i.depth > o && Vs(t, i, o + 1), l = [];
|
|
8887
|
-
return
|
|
8887
|
+
return Mi(null, n, o, l), r && s && e.index(o) == t.index(o) ? (Jv(r, s), Tn(Mn(r, Yv(n, e, t, i, o + 1)), l)) : (r && Tn(Mn(r, Uo(n, e, o + 1)), l), Mi(e, t, o, l), s && Tn(Mn(s, Uo(t, i, o + 1)), l)), Mi(i, null, o, l), new A(l);
|
|
8888
8888
|
}
|
|
8889
8889
|
function Uo(n, e, t) {
|
|
8890
8890
|
let i = [];
|
|
8891
|
-
if (
|
|
8891
|
+
if (Mi(null, n, t, i), n.depth > t) {
|
|
8892
8892
|
let o = Vs(n, e, t + 1);
|
|
8893
8893
|
Tn(Mn(o, Uo(n, e, t + 1)), i);
|
|
8894
8894
|
}
|
|
8895
|
-
return
|
|
8895
|
+
return Mi(e, null, t, i), new A(i);
|
|
8896
8896
|
}
|
|
8897
8897
|
function Ok(n, e) {
|
|
8898
8898
|
let t = e.depth - n.openStart, o = e.node(t).copy(n.content);
|
|
@@ -8903,7 +8903,7 @@ function Ok(n, e) {
|
|
|
8903
8903
|
end: o.resolveNoCache(o.content.size - n.openEnd - t)
|
|
8904
8904
|
};
|
|
8905
8905
|
}
|
|
8906
|
-
class
|
|
8906
|
+
class Ri {
|
|
8907
8907
|
/**
|
|
8908
8908
|
@internal
|
|
8909
8909
|
*/
|
|
@@ -9131,7 +9131,7 @@ class zi {
|
|
|
9131
9131
|
break;
|
|
9132
9132
|
r = d - 1, o += a + 1;
|
|
9133
9133
|
}
|
|
9134
|
-
return new
|
|
9134
|
+
return new Ri(t, i, r);
|
|
9135
9135
|
}
|
|
9136
9136
|
/**
|
|
9137
9137
|
@internal
|
|
@@ -9146,7 +9146,7 @@ class zi {
|
|
|
9146
9146
|
}
|
|
9147
9147
|
else
|
|
9148
9148
|
Na.set(e, i = new _k());
|
|
9149
|
-
let o = i.elts[i.i] =
|
|
9149
|
+
let o = i.elts[i.i] = Ri.resolve(e, t);
|
|
9150
9150
|
return i.i = (i.i + 1) % Nk, o;
|
|
9151
9151
|
}
|
|
9152
9152
|
}
|
|
@@ -9401,13 +9401,13 @@ let an = class js {
|
|
|
9401
9401
|
[object](https://prosemirror.net/docs/ref/#model.ResolvedPos) with information about its context.
|
|
9402
9402
|
*/
|
|
9403
9403
|
resolve(e) {
|
|
9404
|
-
return
|
|
9404
|
+
return Ri.resolveCached(this, e);
|
|
9405
9405
|
}
|
|
9406
9406
|
/**
|
|
9407
9407
|
@internal
|
|
9408
9408
|
*/
|
|
9409
9409
|
resolveNoCache(e) {
|
|
9410
|
-
return
|
|
9410
|
+
return Ri.resolve(this, e);
|
|
9411
9411
|
}
|
|
9412
9412
|
/**
|
|
9413
9413
|
Test whether a given mark or mark type occurs in this document
|
|
@@ -10335,7 +10335,7 @@ function Yk(n) {
|
|
|
10335
10335
|
function Qk(n) {
|
|
10336
10336
|
return n.style != null;
|
|
10337
10337
|
}
|
|
10338
|
-
let
|
|
10338
|
+
let Ei = class qs {
|
|
10339
10339
|
/**
|
|
10340
10340
|
Create a parser that targets the given schema, using the given
|
|
10341
10341
|
parsing rules.
|
|
@@ -10490,13 +10490,13 @@ const s0 = {
|
|
|
10490
10490
|
script: !0,
|
|
10491
10491
|
style: !0,
|
|
10492
10492
|
title: !0
|
|
10493
|
-
}, l0 = { ol: !0, ul: !0 },
|
|
10493
|
+
}, l0 = { ol: !0, ul: !0 }, zi = 1, Ws = 2, Pi = 4;
|
|
10494
10494
|
function Va(n, e, t) {
|
|
10495
|
-
return e != null ? (e ?
|
|
10495
|
+
return e != null ? (e ? zi : 0) | (e === "full" ? Ws : 0) : n && n.whitespace == "pre" ? zi | Ws : t & ~Pi;
|
|
10496
10496
|
}
|
|
10497
10497
|
class vo {
|
|
10498
10498
|
constructor(e, t, i, o, r, s) {
|
|
10499
|
-
this.type = e, this.attrs = t, this.marks = i, this.solid = o, this.options = s, this.content = [], this.activeMarks = pe.none, this.match = r || (s &
|
|
10499
|
+
this.type = e, this.attrs = t, this.marks = i, this.solid = o, this.options = s, this.content = [], this.activeMarks = pe.none, this.match = r || (s & Pi ? null : e.contentMatch);
|
|
10500
10500
|
}
|
|
10501
10501
|
findWrapping(e) {
|
|
10502
10502
|
if (!this.match) {
|
|
@@ -10513,7 +10513,7 @@ class vo {
|
|
|
10513
10513
|
return this.match.findWrapping(e.type);
|
|
10514
10514
|
}
|
|
10515
10515
|
finish(e) {
|
|
10516
|
-
if (!(this.options &
|
|
10516
|
+
if (!(this.options & zi)) {
|
|
10517
10517
|
let i = this.content[this.content.length - 1], o;
|
|
10518
10518
|
if (i && i.isText && (o = /[ \t\r\n\u000c]+$/.exec(i.text))) {
|
|
10519
10519
|
let r = i;
|
|
@@ -10530,7 +10530,7 @@ class vo {
|
|
|
10530
10530
|
class ja {
|
|
10531
10531
|
constructor(e, t, i) {
|
|
10532
10532
|
this.parser = e, this.options = t, this.isOpen = i, this.open = 0, this.localPreserveWS = !1;
|
|
10533
|
-
let o = t.topNode, r, s = Va(null, t.preserveWhitespace, 0) | (i ?
|
|
10533
|
+
let o = t.topNode, r, s = Va(null, t.preserveWhitespace, 0) | (i ? Pi : 0);
|
|
10534
10534
|
o ? r = new vo(o.type, o.attrs, pe.none, !0, t.topMatch || o.type.contentMatch, s) : i ? r = new vo(null, null, pe.none, !0, null, s) : r = new vo(e.schema.topNodeType, null, pe.none, !0, null, s), this.nodes = [r], this.find = t.findPositions, this.needsBlock = !1;
|
|
10535
10535
|
}
|
|
10536
10536
|
get top() {
|
|
@@ -10543,7 +10543,7 @@ class ja {
|
|
|
10543
10543
|
e.nodeType == 3 ? this.addTextNode(e, t) : e.nodeType == 1 && this.addElement(e, t);
|
|
10544
10544
|
}
|
|
10545
10545
|
addTextNode(e, t) {
|
|
10546
|
-
let i = e.nodeValue, o = this.top, r = o.options & Ws ? "full" : this.localPreserveWS || (o.options &
|
|
10546
|
+
let i = e.nodeValue, o = this.top, r = o.options & Ws ? "full" : this.localPreserveWS || (o.options & zi) > 0;
|
|
10547
10547
|
if (r === "full" || o.inlineContext(e) || /[^ \t\r\n\u000c]/.test(i)) {
|
|
10548
10548
|
if (r)
|
|
10549
10549
|
r !== "full" ? i = i.replace(/\r?\n|\r/g, " ") : i = i.replace(/\r\n?/g, `
|
|
@@ -10705,7 +10705,7 @@ class ja {
|
|
|
10705
10705
|
let s = this.top;
|
|
10706
10706
|
s.match = s.match && s.match.matchType(e);
|
|
10707
10707
|
let l = Va(e, r, s.options);
|
|
10708
|
-
s.options &
|
|
10708
|
+
s.options & Pi && s.content.length == 0 && (l |= Pi);
|
|
10709
10709
|
let a = pe.none;
|
|
10710
10710
|
return i = i.filter((d) => (s.type ? s.type.allowsMarkType(d.type) : Wa(d.type, e)) ? (a = d.addToSet(a), !1) : !0), this.nodes.push(new vo(e, t, a, o, null, l)), this.open++, i;
|
|
10711
10711
|
}
|
|
@@ -10726,7 +10726,7 @@ class ja {
|
|
|
10726
10726
|
for (let t = this.open; t >= 0; t--) {
|
|
10727
10727
|
if (this.nodes[t] == e)
|
|
10728
10728
|
return this.open = t, !0;
|
|
10729
|
-
this.localPreserveWS && (this.nodes[t].options |=
|
|
10729
|
+
this.localPreserveWS && (this.nodes[t].options |= zi);
|
|
10730
10730
|
}
|
|
10731
10731
|
return !1;
|
|
10732
10732
|
}
|
|
@@ -11154,7 +11154,7 @@ class tt {
|
|
|
11154
11154
|
}
|
|
11155
11155
|
}
|
|
11156
11156
|
tt.empty = new tt([]);
|
|
11157
|
-
class
|
|
11157
|
+
class Fi {
|
|
11158
11158
|
/**
|
|
11159
11159
|
Create a new mapping with the given position maps.
|
|
11160
11160
|
*/
|
|
@@ -11171,7 +11171,7 @@ class Vi {
|
|
|
11171
11171
|
Create a mapping that maps only through a part of this one.
|
|
11172
11172
|
*/
|
|
11173
11173
|
slice(e = 0, t = this.maps.length) {
|
|
11174
|
-
return new
|
|
11174
|
+
return new Fi(this._maps, this.mirror, e, t);
|
|
11175
11175
|
}
|
|
11176
11176
|
/**
|
|
11177
11177
|
Add a step map to the end of this mapping. If `mirrors` is
|
|
@@ -11222,7 +11222,7 @@ class Vi {
|
|
|
11222
11222
|
Create an inverted version of this mapping.
|
|
11223
11223
|
*/
|
|
11224
11224
|
invert() {
|
|
11225
|
-
let e = new
|
|
11225
|
+
let e = new Fi();
|
|
11226
11226
|
return e.appendMappingInverted(this), e;
|
|
11227
11227
|
}
|
|
11228
11228
|
/**
|
|
@@ -11995,9 +11995,9 @@ class yT {
|
|
|
11995
11995
|
let { content: e, openStart: t, openEnd: i } = this.unplaced, o = as(e, t);
|
|
11996
11996
|
if (o.childCount <= 1 && t > 0) {
|
|
11997
11997
|
let r = e.size - t <= t + o.size;
|
|
11998
|
-
this.unplaced = new R(
|
|
11998
|
+
this.unplaced = new R(wi(e, t - 1, 1), t - 1, r ? t - 1 : i);
|
|
11999
11999
|
} else
|
|
12000
|
-
this.unplaced = new R(
|
|
12000
|
+
this.unplaced = new R(wi(e, t, 1), t, i);
|
|
12001
12001
|
}
|
|
12002
12002
|
// Move content from the unplaced slice at `sliceDepth` to the
|
|
12003
12003
|
// frontier node at `frontierDepth`. Close that frontier node when
|
|
@@ -12022,12 +12022,12 @@ class yT {
|
|
|
12022
12022
|
d++, (d > 1 || a == 0 || m.content.size) && (u = g, c.push(x0(m.mark(h.allowedMarks(m.marks)), d == 1 ? a : 0, d == l.childCount ? f : -1)));
|
|
12023
12023
|
}
|
|
12024
12024
|
let b = d == l.childCount;
|
|
12025
|
-
b || (f = -1), this.placed =
|
|
12025
|
+
b || (f = -1), this.placed = Ci(this.placed, t, A.from(c)), this.frontier[t].match = u, b && f < 0 && i && i.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
|
|
12026
12026
|
for (let m = 0, g = l; m < f; m++) {
|
|
12027
12027
|
let S = g.lastChild;
|
|
12028
12028
|
this.frontier.push({ type: S.type, match: S.contentMatchAt(S.childCount) }), g = S.content;
|
|
12029
12029
|
}
|
|
12030
|
-
this.unplaced = b ? e == 0 ? R.empty : new R(
|
|
12030
|
+
this.unplaced = b ? e == 0 ? R.empty : new R(wi(s.content, e - 1, 1), e - 1, f < 0 ? s.openEnd : e - 1) : new R(wi(s.content, e, d), s.openStart, s.openEnd);
|
|
12031
12031
|
}
|
|
12032
12032
|
mustMoveInline() {
|
|
12033
12033
|
if (!this.$to.parent.isTextblock)
|
|
@@ -12059,7 +12059,7 @@ class yT {
|
|
|
12059
12059
|
return null;
|
|
12060
12060
|
for (; this.depth > t.depth; )
|
|
12061
12061
|
this.closeFrontierNode();
|
|
12062
|
-
t.fit.childCount && (this.placed =
|
|
12062
|
+
t.fit.childCount && (this.placed = Ci(this.placed, t.depth, t.fit)), e = t.move;
|
|
12063
12063
|
for (let i = t.depth + 1; i <= e.depth; i++) {
|
|
12064
12064
|
let o = e.node(i), r = o.type.contentMatch.fillBefore(o.content, !0, e.index(i));
|
|
12065
12065
|
this.openFrontierNode(o.type, o.attrs, r);
|
|
@@ -12068,18 +12068,18 @@ class yT {
|
|
|
12068
12068
|
}
|
|
12069
12069
|
openFrontierNode(e, t = null, i) {
|
|
12070
12070
|
let o = this.frontier[this.depth];
|
|
12071
|
-
o.match = o.match.matchType(e), this.placed =
|
|
12071
|
+
o.match = o.match.matchType(e), this.placed = Ci(this.placed, this.depth, A.from(e.create(t, i))), this.frontier.push({ type: e, match: e.contentMatch });
|
|
12072
12072
|
}
|
|
12073
12073
|
closeFrontierNode() {
|
|
12074
12074
|
let t = this.frontier.pop().match.fillBefore(A.empty, !0);
|
|
12075
|
-
t.childCount && (this.placed =
|
|
12075
|
+
t.childCount && (this.placed = Ci(this.placed, this.frontier.length, t));
|
|
12076
12076
|
}
|
|
12077
12077
|
}
|
|
12078
|
-
function
|
|
12079
|
-
return e == 0 ? n.cutByIndex(t, n.childCount) : n.replaceChild(0, n.firstChild.copy(
|
|
12078
|
+
function wi(n, e, t) {
|
|
12079
|
+
return e == 0 ? n.cutByIndex(t, n.childCount) : n.replaceChild(0, n.firstChild.copy(wi(n.firstChild.content, e - 1, t)));
|
|
12080
12080
|
}
|
|
12081
|
-
function
|
|
12082
|
-
return e == 0 ? n.append(t) : n.replaceChild(n.childCount - 1, n.lastChild.copy(
|
|
12081
|
+
function Ci(n, e, t) {
|
|
12082
|
+
return e == 0 ? n.append(t) : n.replaceChild(n.childCount - 1, n.lastChild.copy(Ci(n.lastChild.content, e - 1, t)));
|
|
12083
12083
|
}
|
|
12084
12084
|
function as(n, e) {
|
|
12085
12085
|
for (let t = 0; t < e; t++)
|
|
@@ -12235,7 +12235,7 @@ class ii extends qe {
|
|
|
12235
12235
|
}
|
|
12236
12236
|
}
|
|
12237
12237
|
qe.jsonID("attr", ii);
|
|
12238
|
-
class
|
|
12238
|
+
class Vi extends qe {
|
|
12239
12239
|
/**
|
|
12240
12240
|
Construct an attribute step.
|
|
12241
12241
|
*/
|
|
@@ -12254,7 +12254,7 @@ class ji extends qe {
|
|
|
12254
12254
|
return tt.empty;
|
|
12255
12255
|
}
|
|
12256
12256
|
invert(e) {
|
|
12257
|
-
return new
|
|
12257
|
+
return new Vi(this.attr, e.attrs[this.attr]);
|
|
12258
12258
|
}
|
|
12259
12259
|
map(e) {
|
|
12260
12260
|
return this;
|
|
@@ -12265,10 +12265,10 @@ class ji extends qe {
|
|
|
12265
12265
|
static fromJSON(e, t) {
|
|
12266
12266
|
if (typeof t.attr != "string")
|
|
12267
12267
|
throw new RangeError("Invalid input for DocAttrStep.fromJSON");
|
|
12268
|
-
return new
|
|
12268
|
+
return new Vi(t.attr, t.value);
|
|
12269
12269
|
}
|
|
12270
12270
|
}
|
|
12271
|
-
qe.jsonID("docAttr",
|
|
12271
|
+
qe.jsonID("docAttr", Vi);
|
|
12272
12272
|
let ri = class extends Error {
|
|
12273
12273
|
};
|
|
12274
12274
|
ri = function n(e) {
|
|
@@ -12283,7 +12283,7 @@ class S0 {
|
|
|
12283
12283
|
Create a transform that starts with the given document.
|
|
12284
12284
|
*/
|
|
12285
12285
|
constructor(e) {
|
|
12286
|
-
this.doc = e, this.steps = [], this.docs = [], this.mapping = new
|
|
12286
|
+
this.doc = e, this.steps = [], this.docs = [], this.mapping = new Fi();
|
|
12287
12287
|
}
|
|
12288
12288
|
/**
|
|
12289
12289
|
The starting document.
|
|
@@ -12441,7 +12441,7 @@ class S0 {
|
|
|
12441
12441
|
Set a single attribute on the document to a new value.
|
|
12442
12442
|
*/
|
|
12443
12443
|
setDocAttribute(e, t) {
|
|
12444
|
-
return this.step(new
|
|
12444
|
+
return this.step(new Vi(e, t)), this;
|
|
12445
12445
|
}
|
|
12446
12446
|
/**
|
|
12447
12447
|
Add a mark to the node at position `pos`.
|
|
@@ -13053,13 +13053,13 @@ class ET extends S0 {
|
|
|
13053
13053
|
function td(n, e) {
|
|
13054
13054
|
return !e || !n ? n : n.bind(e);
|
|
13055
13055
|
}
|
|
13056
|
-
class
|
|
13056
|
+
class ki {
|
|
13057
13057
|
constructor(e, t, i) {
|
|
13058
13058
|
this.name = e, this.init = td(t.init, i), this.apply = td(t.apply, i);
|
|
13059
13059
|
}
|
|
13060
13060
|
}
|
|
13061
13061
|
const PT = [
|
|
13062
|
-
new
|
|
13062
|
+
new ki("doc", {
|
|
13063
13063
|
init(n) {
|
|
13064
13064
|
return n.doc || n.schema.topNodeType.createAndFill();
|
|
13065
13065
|
},
|
|
@@ -13067,7 +13067,7 @@ const PT = [
|
|
|
13067
13067
|
return n.doc;
|
|
13068
13068
|
}
|
|
13069
13069
|
}),
|
|
13070
|
-
new
|
|
13070
|
+
new ki("selection", {
|
|
13071
13071
|
init(n, e) {
|
|
13072
13072
|
return n.selection || ee.atStart(e.doc);
|
|
13073
13073
|
},
|
|
@@ -13075,7 +13075,7 @@ const PT = [
|
|
|
13075
13075
|
return n.selection;
|
|
13076
13076
|
}
|
|
13077
13077
|
}),
|
|
13078
|
-
new
|
|
13078
|
+
new ki("storedMarks", {
|
|
13079
13079
|
init(n) {
|
|
13080
13080
|
return n.storedMarks || null;
|
|
13081
13081
|
},
|
|
@@ -13083,7 +13083,7 @@ const PT = [
|
|
|
13083
13083
|
return i.selection.$cursor ? n.storedMarks : null;
|
|
13084
13084
|
}
|
|
13085
13085
|
}),
|
|
13086
|
-
new
|
|
13086
|
+
new ki("scrollToSelection", {
|
|
13087
13087
|
init() {
|
|
13088
13088
|
return 0;
|
|
13089
13089
|
},
|
|
@@ -13097,7 +13097,7 @@ class cs {
|
|
|
13097
13097
|
this.schema = e, this.plugins = [], this.pluginsByKey = /* @__PURE__ */ Object.create(null), this.fields = PT.slice(), t && t.forEach((i) => {
|
|
13098
13098
|
if (this.pluginsByKey[i.key])
|
|
13099
13099
|
throw new RangeError("Adding different instances of a keyed plugin (" + i.key + ")");
|
|
13100
|
-
this.plugins.push(i), this.pluginsByKey[i.key] = i, i.spec.state && this.fields.push(new
|
|
13100
|
+
this.plugins.push(i), this.pluginsByKey[i.key] = i, i.spec.state && this.fields.push(new ki(i.key, i.spec.state, i));
|
|
13101
13101
|
});
|
|
13102
13102
|
}
|
|
13103
13103
|
}
|
|
@@ -13335,7 +13335,7 @@ function nd(n, e, t, i, o) {
|
|
|
13335
13335
|
return !0;
|
|
13336
13336
|
if (e == (o < 0 ? 0 : pt(n))) {
|
|
13337
13337
|
let s = n.parentNode;
|
|
13338
|
-
if (!s || s.nodeType != 1 ||
|
|
13338
|
+
if (!s || s.nodeType != 1 || Qi(n) || LT.test(n.nodeName) || n.contentEditable == "false")
|
|
13339
13339
|
return !1;
|
|
13340
13340
|
e = Ne(n) + (o < 0 ? 0 : 1), n = s;
|
|
13341
13341
|
} else if (n.nodeType == 1) {
|
|
@@ -13362,7 +13362,7 @@ function AT(n, e) {
|
|
|
13362
13362
|
if (n.contentEditable == "false")
|
|
13363
13363
|
return null;
|
|
13364
13364
|
n = n.childNodes[e - 1], e = pt(n);
|
|
13365
|
-
} else if (n.parentNode && !
|
|
13365
|
+
} else if (n.parentNode && !Qi(n))
|
|
13366
13366
|
e = Ne(n), n = n.parentNode;
|
|
13367
13367
|
else
|
|
13368
13368
|
return null;
|
|
@@ -13376,7 +13376,7 @@ function IT(n, e) {
|
|
|
13376
13376
|
if (n.contentEditable == "false")
|
|
13377
13377
|
return null;
|
|
13378
13378
|
n = n.childNodes[e], e = 0;
|
|
13379
|
-
} else if (n.parentNode && !
|
|
13379
|
+
} else if (n.parentNode && !Qi(n))
|
|
13380
13380
|
e = Ne(n) + 1, n = n.parentNode;
|
|
13381
13381
|
else
|
|
13382
13382
|
return null;
|
|
@@ -13392,7 +13392,7 @@ function DT(n, e, t) {
|
|
|
13392
13392
|
i = i && r == 0, o = o && r == pt(n);
|
|
13393
13393
|
}
|
|
13394
13394
|
}
|
|
13395
|
-
function
|
|
13395
|
+
function Qi(n) {
|
|
13396
13396
|
let e;
|
|
13397
13397
|
for (let t = n; t && !(e = t.pmViewDesc); t = t.parentNode)
|
|
13398
13398
|
;
|
|
@@ -13427,7 +13427,7 @@ function OT(n, e, t) {
|
|
|
13427
13427
|
}
|
|
13428
13428
|
const kt = typeof navigator < "u" ? navigator : null, id = typeof document < "u" ? document : null, mn = kt && kt.userAgent || "", Js = /Edge\/(\d+)/.exec(mn), k0 = /MSIE \d/.exec(mn), Ys = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(mn), Xe = !!(k0 || Ys || Js), dn = k0 ? document.documentMode : Ys ? +Ys[1] : Js ? +Js[1] : 0, ct = !Xe && /gecko\/(\d+)/i.test(mn);
|
|
13429
13429
|
ct && +(/Firefox\/(\d+)/.exec(mn) || [0, 0])[1];
|
|
13430
|
-
const Qs = !Xe && /Chrome\/(\d+)/.exec(mn), je = !!Qs, T0 = Qs ? +Qs[1] : 0, Ge = !Xe && !!kt && /Apple Computer/.test(kt.vendor), li = Ge && (/Mobile\/\w+/.test(mn) || !!kt && kt.maxTouchPoints > 2), dt = li || (kt ? /Mac/.test(kt.platform) : !1), _T = kt ? /Win/.test(kt.platform) : !1, Ot = /Android \d/.test(mn),
|
|
13430
|
+
const Qs = !Xe && /Chrome\/(\d+)/.exec(mn), je = !!Qs, T0 = Qs ? +Qs[1] : 0, Ge = !Xe && !!kt && /Apple Computer/.test(kt.vendor), li = Ge && (/Mobile\/\w+/.test(mn) || !!kt && kt.maxTouchPoints > 2), dt = li || (kt ? /Mac/.test(kt.platform) : !1), _T = kt ? /Win/.test(kt.platform) : !1, Ot = /Android \d/.test(mn), Xi = !!id && "webkitFontSmoothing" in id.documentElement.style, NT = Xi ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
13431
13431
|
function HT(n) {
|
|
13432
13432
|
let e = n.defaultView && n.defaultView.visualViewport;
|
|
13433
13433
|
return e ? {
|
|
@@ -13622,7 +13622,7 @@ function GT(n, e) {
|
|
|
13622
13622
|
c.nodeName == "IMG" && (u = c.getBoundingClientRect()).right <= e.left && u.bottom > e.top && o++;
|
|
13623
13623
|
}
|
|
13624
13624
|
let d;
|
|
13625
|
-
|
|
13625
|
+
Xi && o && i.nodeType == 1 && (d = i.childNodes[o - 1]).nodeType == 1 && d.contentEditable == "false" && d.getBoundingClientRect().top >= e.top && o--, i == n.dom && o == i.childNodes.length - 1 && i.lastChild.nodeType == 1 && e.top > i.lastChild.getBoundingClientRect().bottom ? l = n.state.doc.content.size : (o == 0 || i.nodeType != 1 || i.childNodes[o - 1].nodeName != "BR") && (l = UT(n, i, o, e));
|
|
13626
13626
|
}
|
|
13627
13627
|
l == null && (l = WT(n, s, e));
|
|
13628
13628
|
let a = n.docView.nearestDesc(s, !0);
|
|
@@ -13642,7 +13642,7 @@ function qt(n, e) {
|
|
|
13642
13642
|
}
|
|
13643
13643
|
const KT = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
|
|
13644
13644
|
function L0(n, e, t) {
|
|
13645
|
-
let { node: i, offset: o, atom: r } = n.docView.domFromPos(e, t < 0 ? -1 : 1), s =
|
|
13645
|
+
let { node: i, offset: o, atom: r } = n.docView.domFromPos(e, t < 0 ? -1 : 1), s = Xi || ct;
|
|
13646
13646
|
if (i.nodeType == 3)
|
|
13647
13647
|
if (s && (KT.test(i.nodeValue) || (t < 0 ? !o : o == i.nodeValue.length))) {
|
|
13648
13648
|
let a = qt(Dt(i, o, o), t);
|
|
@@ -13651,13 +13651,13 @@ function L0(n, e, t) {
|
|
|
13651
13651
|
if (d.top == a.top) {
|
|
13652
13652
|
let c = qt(Dt(i, o, o + 1), -1);
|
|
13653
13653
|
if (c.top != a.top)
|
|
13654
|
-
return
|
|
13654
|
+
return yi(c, c.left < d.left);
|
|
13655
13655
|
}
|
|
13656
13656
|
}
|
|
13657
13657
|
return a;
|
|
13658
13658
|
} else {
|
|
13659
13659
|
let a = o, d = o, c = t < 0 ? 1 : -1;
|
|
13660
|
-
return t < 0 && !o ? (d++, c = -1) : t >= 0 && o == i.nodeValue.length ? (a--, c = 1) : t < 0 ? a-- : d++,
|
|
13660
|
+
return t < 0 && !o ? (d++, c = -1) : t >= 0 && o == i.nodeValue.length ? (a--, c = 1) : t < 0 ? a-- : d++, yi(qt(Dt(i, a, d), c), c < 0);
|
|
13661
13661
|
}
|
|
13662
13662
|
if (!n.state.doc.resolve(e - (r || 0)).parent.inlineContent) {
|
|
13663
13663
|
if (r == null && o && (t < 0 || o == pt(i))) {
|
|
@@ -13675,7 +13675,7 @@ function L0(n, e, t) {
|
|
|
13675
13675
|
if (r == null && o && (t < 0 || o == pt(i))) {
|
|
13676
13676
|
let a = i.childNodes[o - 1], d = a.nodeType == 3 ? Dt(a, pt(a) - (s ? 0 : 1)) : a.nodeType == 1 && (a.nodeName != "BR" || !a.nextSibling) ? a : null;
|
|
13677
13677
|
if (d)
|
|
13678
|
-
return
|
|
13678
|
+
return yi(qt(d, 1), !1);
|
|
13679
13679
|
}
|
|
13680
13680
|
if (r == null && o < pt(i)) {
|
|
13681
13681
|
let a = i.childNodes[o];
|
|
@@ -13683,11 +13683,11 @@ function L0(n, e, t) {
|
|
|
13683
13683
|
a = a.nextSibling;
|
|
13684
13684
|
let d = a ? a.nodeType == 3 ? Dt(a, 0, s ? 0 : 1) : a.nodeType == 1 ? a : null : null;
|
|
13685
13685
|
if (d)
|
|
13686
|
-
return
|
|
13686
|
+
return yi(qt(d, -1), !0);
|
|
13687
13687
|
}
|
|
13688
|
-
return
|
|
13688
|
+
return yi(qt(i.nodeType == 3 ? Dt(i) : i, -t), t >= 0);
|
|
13689
13689
|
}
|
|
13690
|
-
function
|
|
13690
|
+
function yi(n, e) {
|
|
13691
13691
|
if (n.width == 0)
|
|
13692
13692
|
return n;
|
|
13693
13693
|
let t = e ? n.left : n.right;
|
|
@@ -13762,7 +13762,7 @@ function XT(n, e, t) {
|
|
|
13762
13762
|
return sd == e && ld == t ? ad : (sd = e, ld = t, ad = t == "up" || t == "down" ? JT(n, e, t) : QT(n, e, t));
|
|
13763
13763
|
}
|
|
13764
13764
|
const ut = 0, dd = 1, Sn = 2, Tt = 3;
|
|
13765
|
-
class
|
|
13765
|
+
class Zi {
|
|
13766
13766
|
constructor(e, t, i, o) {
|
|
13767
13767
|
this.parent = e, this.children = t, this.dom = i, this.contentDOM = o, this.dirty = ut, i.pmViewDesc = this;
|
|
13768
13768
|
}
|
|
@@ -14106,7 +14106,7 @@ class eo {
|
|
|
14106
14106
|
return !1;
|
|
14107
14107
|
}
|
|
14108
14108
|
}
|
|
14109
|
-
class I0 extends
|
|
14109
|
+
class I0 extends Zi {
|
|
14110
14110
|
constructor(e, t, i, o) {
|
|
14111
14111
|
let r, s = t.type.toDOM;
|
|
14112
14112
|
if (typeof s == "function" && (s = s(i, () => {
|
|
@@ -14149,7 +14149,7 @@ class I0 extends eo {
|
|
|
14149
14149
|
return this.widget.type.side;
|
|
14150
14150
|
}
|
|
14151
14151
|
}
|
|
14152
|
-
class ZT extends
|
|
14152
|
+
class ZT extends Zi {
|
|
14153
14153
|
constructor(e, t, i, o) {
|
|
14154
14154
|
super(e, [], t, null), this.textDOM = i, this.text = o;
|
|
14155
14155
|
}
|
|
@@ -14166,7 +14166,7 @@ class ZT extends eo {
|
|
|
14166
14166
|
return e.type === "characterData" && e.target.nodeValue == e.oldValue;
|
|
14167
14167
|
}
|
|
14168
14168
|
}
|
|
14169
|
-
class Nn extends
|
|
14169
|
+
class Nn extends Zi {
|
|
14170
14170
|
constructor(e, t, i, o, r) {
|
|
14171
14171
|
super(e, [], i, o), this.mark = t, this.spec = r;
|
|
14172
14172
|
}
|
|
@@ -14202,7 +14202,7 @@ class Nn extends eo {
|
|
|
14202
14202
|
this.spec.destroy && this.spec.destroy(), super.destroy();
|
|
14203
14203
|
}
|
|
14204
14204
|
}
|
|
14205
|
-
class pn extends
|
|
14205
|
+
class pn extends Zi {
|
|
14206
14206
|
constructor(e, t, i, o, r, s, l, a, d) {
|
|
14207
14207
|
super(e, [], r, s), this.node = t, this.outerDeco = i, this.innerDeco = o, this.nodeDOM = l;
|
|
14208
14208
|
}
|
|
@@ -14376,7 +14376,7 @@ class Nr extends pn {
|
|
|
14376
14376
|
return this.node.text == e;
|
|
14377
14377
|
}
|
|
14378
14378
|
}
|
|
14379
|
-
class D0 extends
|
|
14379
|
+
class D0 extends Zi {
|
|
14380
14380
|
parseRule() {
|
|
14381
14381
|
return { ignore: !0 };
|
|
14382
14382
|
}
|
|
@@ -14443,22 +14443,22 @@ function $0(n, e, t) {
|
|
|
14443
14443
|
i = cd(i), o = !0;
|
|
14444
14444
|
o && t.trackWrites == n && (t.trackWrites = null);
|
|
14445
14445
|
}
|
|
14446
|
-
const
|
|
14446
|
+
const Bi = function(n) {
|
|
14447
14447
|
n && (this.nodeName = n);
|
|
14448
14448
|
};
|
|
14449
|
-
|
|
14450
|
-
const wn = [new
|
|
14449
|
+
Bi.prototype = /* @__PURE__ */ Object.create(null);
|
|
14450
|
+
const wn = [new Bi()];
|
|
14451
14451
|
function Xs(n, e, t) {
|
|
14452
14452
|
if (n.length == 0)
|
|
14453
14453
|
return wn;
|
|
14454
|
-
let i = t ? wn[0] : new
|
|
14454
|
+
let i = t ? wn[0] : new Bi(), o = [i];
|
|
14455
14455
|
for (let r = 0; r < n.length; r++) {
|
|
14456
14456
|
let s = n[r].type.attrs;
|
|
14457
14457
|
if (s) {
|
|
14458
|
-
s.nodeName && o.push(i = new
|
|
14458
|
+
s.nodeName && o.push(i = new Bi(s.nodeName));
|
|
14459
14459
|
for (let l in s) {
|
|
14460
14460
|
let a = s[l];
|
|
14461
|
-
a != null && (t && o.length == 1 && o.push(i = new
|
|
14461
|
+
a != null && (t && o.length == 1 && o.push(i = new Bi(e.isInline ? "span" : "div")), l == "class" ? i.class = (i.class ? i.class + " " : "") + a : l == "style" ? i.style = (i.style ? i.style + ";" : "") + a : l != "nodeName" && (i[l] = a));
|
|
14462
14462
|
}
|
|
14463
14463
|
}
|
|
14464
14464
|
}
|
|
@@ -14931,7 +14931,7 @@ function gd(n, e, t) {
|
|
|
14931
14931
|
if (!r || r.isText)
|
|
14932
14932
|
return !1;
|
|
14933
14933
|
let l = e < 0 ? o.pos - r.nodeSize : o.pos;
|
|
14934
|
-
return r.isAtom || (s = n.docView.descAt(l)) && !s.contentDOM ? U.isSelectable(r) ? Wt(n, new U(e < 0 ? n.state.doc.resolve(o.pos - r.nodeSize) : o)) :
|
|
14934
|
+
return r.isAtom || (s = n.docView.descAt(l)) && !s.contentDOM ? U.isSelectable(r) ? Wt(n, new U(e < 0 ? n.state.doc.resolve(o.pos - r.nodeSize) : o)) : Xi ? Wt(n, new Q(n.state.doc.resolve(e < 0 ? l : l + r.nodeSize))) : !1 : !1;
|
|
14935
14935
|
}
|
|
14936
14936
|
} else return !1;
|
|
14937
14937
|
else {
|
|
@@ -14946,7 +14946,7 @@ function gd(n, e, t) {
|
|
|
14946
14946
|
function Yo(n) {
|
|
14947
14947
|
return n.nodeType == 3 ? n.nodeValue.length : n.childNodes.length;
|
|
14948
14948
|
}
|
|
14949
|
-
function
|
|
14949
|
+
function Li(n, e) {
|
|
14950
14950
|
let t = n.pmViewDesc;
|
|
14951
14951
|
return t && t.size == 0 && (e < 0 || n.nextSibling || n.nodeName != "BR");
|
|
14952
14952
|
}
|
|
@@ -14958,13 +14958,13 @@ function cM(n) {
|
|
|
14958
14958
|
if (!t)
|
|
14959
14959
|
return;
|
|
14960
14960
|
let o, r, s = !1;
|
|
14961
|
-
for (ct && t.nodeType == 1 && i < Yo(t) &&
|
|
14961
|
+
for (ct && t.nodeType == 1 && i < Yo(t) && Li(t.childNodes[i], -1) && (s = !0); ; )
|
|
14962
14962
|
if (i > 0) {
|
|
14963
14963
|
if (t.nodeType != 1)
|
|
14964
14964
|
break;
|
|
14965
14965
|
{
|
|
14966
14966
|
let l = t.childNodes[i - 1];
|
|
14967
|
-
if (
|
|
14967
|
+
if (Li(l, -1))
|
|
14968
14968
|
o = t, r = --i;
|
|
14969
14969
|
else if (l.nodeType == 3)
|
|
14970
14970
|
t = l, i = t.nodeValue.length;
|
|
@@ -14976,7 +14976,7 @@ function cM(n) {
|
|
|
14976
14976
|
break;
|
|
14977
14977
|
{
|
|
14978
14978
|
let l = t.previousSibling;
|
|
14979
|
-
for (; l &&
|
|
14979
|
+
for (; l && Li(l, -1); )
|
|
14980
14980
|
o = t.parentNode, r = Ne(l), l = l.previousSibling;
|
|
14981
14981
|
if (l)
|
|
14982
14982
|
t = l, i = Yo(t);
|
|
@@ -14999,7 +14999,7 @@ function uM(n) {
|
|
|
14999
14999
|
if (t.nodeType != 1)
|
|
15000
15000
|
break;
|
|
15001
15001
|
let l = t.childNodes[i];
|
|
15002
|
-
if (
|
|
15002
|
+
if (Li(l, 1))
|
|
15003
15003
|
r = t, s = ++i;
|
|
15004
15004
|
else
|
|
15005
15005
|
break;
|
|
@@ -15008,7 +15008,7 @@ function uM(n) {
|
|
|
15008
15008
|
break;
|
|
15009
15009
|
{
|
|
15010
15010
|
let l = t.nextSibling;
|
|
15011
|
-
for (; l &&
|
|
15011
|
+
for (; l && Li(l, 1); )
|
|
15012
15012
|
r = l.parentNode, s = Ne(l) + 1, l = l.nextSibling;
|
|
15013
15013
|
if (l)
|
|
15014
15014
|
t = l, i = 0, o = Yo(t);
|
|
@@ -15026,7 +15026,7 @@ function z0(n) {
|
|
|
15026
15026
|
return e && e.node && e.node.isBlock;
|
|
15027
15027
|
}
|
|
15028
15028
|
function hM(n, e) {
|
|
15029
|
-
for (; n && e == n.childNodes.length && !
|
|
15029
|
+
for (; n && e == n.childNodes.length && !Qi(n); )
|
|
15030
15030
|
e = Ne(n) + 1, n = n.parentNode;
|
|
15031
15031
|
for (; n && e < n.childNodes.length; ) {
|
|
15032
15032
|
let t = n.childNodes[e];
|
|
@@ -15038,7 +15038,7 @@ function hM(n, e) {
|
|
|
15038
15038
|
}
|
|
15039
15039
|
}
|
|
15040
15040
|
function fM(n, e) {
|
|
15041
|
-
for (; n && !e && !
|
|
15041
|
+
for (; n && !e && !Qi(n); )
|
|
15042
15042
|
e = Ne(n), n = n.parentNode;
|
|
15043
15043
|
for (; n && e; ) {
|
|
15044
15044
|
let t = n.childNodes[e - 1];
|
|
@@ -15212,7 +15212,7 @@ function F0(n, e, t, i, o) {
|
|
|
15212
15212
|
} else
|
|
15213
15213
|
n.someProp("transformPastedHTML", (u) => {
|
|
15214
15214
|
t = u(t, n);
|
|
15215
|
-
}), s = SM(t),
|
|
15215
|
+
}), s = SM(t), Xi && wM(s);
|
|
15216
15216
|
let d = s && s.querySelector("[data-pm-slice]"), c = d && /^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(d.getAttribute("data-pm-slice") || "");
|
|
15217
15217
|
if (c && c[3])
|
|
15218
15218
|
for (let u = +c[3]; u > 0; u--) {
|
|
@@ -15223,7 +15223,7 @@ function F0(n, e, t, i, o) {
|
|
|
15223
15223
|
break;
|
|
15224
15224
|
s = h;
|
|
15225
15225
|
}
|
|
15226
|
-
if (l || (l = (n.someProp("clipboardParser") || n.someProp("domParser") ||
|
|
15226
|
+
if (l || (l = (n.someProp("clipboardParser") || n.someProp("domParser") || Ei.fromSchema(n.state.schema)).parseSlice(s, {
|
|
15227
15227
|
preserveWhitespace: !!(a || c),
|
|
15228
15228
|
context: o,
|
|
15229
15229
|
ruleFromNode(h) {
|
|
@@ -15639,12 +15639,12 @@ function FM(n, e) {
|
|
|
15639
15639
|
t.parentNode && t.parentNode.removeChild(t), n.focus();
|
|
15640
15640
|
}, 50);
|
|
15641
15641
|
}
|
|
15642
|
-
const
|
|
15642
|
+
const ji = Xe && dn < 15 || li && NT < 604;
|
|
15643
15643
|
Ke.copy = Je.cut = (n, e) => {
|
|
15644
15644
|
let t = e, i = n.state.selection, o = t.type == "cut";
|
|
15645
15645
|
if (i.empty)
|
|
15646
15646
|
return;
|
|
15647
|
-
let r =
|
|
15647
|
+
let r = ji ? null : t.clipboardData, s = i.content(), { dom: l, text: a } = Pl(n, s);
|
|
15648
15648
|
r ? (t.preventDefault(), r.clearData(), r.setData("text/html", l.innerHTML), r.setData("text/plain", a)) : FM(n, l), o && n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent", "cut"));
|
|
15649
15649
|
};
|
|
15650
15650
|
function VM(n) {
|
|
@@ -15657,10 +15657,10 @@ function jM(n, e) {
|
|
|
15657
15657
|
t || (i.contentEditable = "true"), i.style.cssText = "position: fixed; left: -10000px; top: 10px", i.focus();
|
|
15658
15658
|
let o = n.input.shiftKey && n.input.lastKeyCode != 45;
|
|
15659
15659
|
setTimeout(() => {
|
|
15660
|
-
n.focus(), i.parentNode && i.parentNode.removeChild(i), t ?
|
|
15660
|
+
n.focus(), i.parentNode && i.parentNode.removeChild(i), t ? qi(n, i.value, null, o, e) : qi(n, i.textContent, i.innerHTML, o, e);
|
|
15661
15661
|
}, 50);
|
|
15662
15662
|
}
|
|
15663
|
-
function
|
|
15663
|
+
function qi(n, e, t, i, o) {
|
|
15664
15664
|
let r = F0(n, e, t, i, n.state.selection.$from);
|
|
15665
15665
|
if (n.someProp("handlePaste", (a) => a(n, o, r || R.empty)))
|
|
15666
15666
|
return !0;
|
|
@@ -15680,8 +15680,8 @@ Je.paste = (n, e) => {
|
|
|
15680
15680
|
let t = e;
|
|
15681
15681
|
if (n.composing && !Ot)
|
|
15682
15682
|
return;
|
|
15683
|
-
let i =
|
|
15684
|
-
i &&
|
|
15683
|
+
let i = ji ? null : t.clipboardData, o = n.input.shiftKey && n.input.lastKeyCode != 45;
|
|
15684
|
+
i && qi(n, Q0(i), i.getData("text/html"), o, t) ? t.preventDefault() : jM(n, t);
|
|
15685
15685
|
};
|
|
15686
15686
|
class X0 {
|
|
15687
15687
|
constructor(e, t, i) {
|
|
@@ -15707,7 +15707,7 @@ Ke.dragstart = (n, e) => {
|
|
|
15707
15707
|
}
|
|
15708
15708
|
}
|
|
15709
15709
|
let l = (s || n.state.selection).content(), { dom: a, text: d, slice: c } = Pl(n, l);
|
|
15710
|
-
(!t.dataTransfer.files.length || !je || T0 > 120) && t.dataTransfer.clearData(), t.dataTransfer.setData(
|
|
15710
|
+
(!t.dataTransfer.files.length || !je || T0 > 120) && t.dataTransfer.clearData(), t.dataTransfer.setData(ji ? "Text" : "text/html", a.innerHTML), t.dataTransfer.effectAllowed = "copyMove", ji || t.dataTransfer.setData("text/plain", d), n.dragging = new X0(c, Z0(n, t), s);
|
|
15711
15711
|
};
|
|
15712
15712
|
Ke.dragend = (n) => {
|
|
15713
15713
|
let e = n.dragging;
|
|
@@ -15726,7 +15726,7 @@ Je.drop = (n, e) => {
|
|
|
15726
15726
|
let r = n.state.doc.resolve(o.pos), s = i && i.slice;
|
|
15727
15727
|
s ? n.someProp("transformPasted", (b) => {
|
|
15728
15728
|
s = b(s, n, !1);
|
|
15729
|
-
}) : s = F0(n, Q0(t.dataTransfer),
|
|
15729
|
+
}) : s = F0(n, Q0(t.dataTransfer), ji ? null : t.dataTransfer.getData("text/html"), !1, r);
|
|
15730
15730
|
let l = !!(i && Z0(n, t));
|
|
15731
15731
|
if (n.someProp("handleDrop", (b) => b(n, t, s || R.empty, l))) {
|
|
15732
15732
|
t.preventDefault();
|
|
@@ -15777,7 +15777,7 @@ Ke.beforeinput = (n, e) => {
|
|
|
15777
15777
|
};
|
|
15778
15778
|
for (let n in Je)
|
|
15779
15779
|
Ke[n] = Je[n];
|
|
15780
|
-
function
|
|
15780
|
+
function Wi(n, e) {
|
|
15781
15781
|
if (n == e)
|
|
15782
15782
|
return !0;
|
|
15783
15783
|
for (let t in n)
|
|
@@ -15800,7 +15800,7 @@ class Xo {
|
|
|
15800
15800
|
return !0;
|
|
15801
15801
|
}
|
|
15802
15802
|
eq(e) {
|
|
15803
|
-
return this == e || e instanceof Xo && (this.spec.key && this.spec.key == e.spec.key || this.toDOM == e.toDOM &&
|
|
15803
|
+
return this == e || e instanceof Xo && (this.spec.key && this.spec.key == e.spec.key || this.toDOM == e.toDOM && Wi(this.spec, e.spec));
|
|
15804
15804
|
}
|
|
15805
15805
|
destroy(e) {
|
|
15806
15806
|
this.spec.destroy && this.spec.destroy(e);
|
|
@@ -15818,7 +15818,7 @@ class cn {
|
|
|
15818
15818
|
return t.from < t.to;
|
|
15819
15819
|
}
|
|
15820
15820
|
eq(e) {
|
|
15821
|
-
return this == e || e instanceof cn &&
|
|
15821
|
+
return this == e || e instanceof cn && Wi(this.attrs, e.attrs) && Wi(this.spec, e.spec);
|
|
15822
15822
|
}
|
|
15823
15823
|
static is(e) {
|
|
15824
15824
|
return e.type instanceof cn;
|
|
@@ -15842,7 +15842,7 @@ class Il {
|
|
|
15842
15842
|
return o == t.from && !(r = e.child(i)).isText && o + r.nodeSize == t.to;
|
|
15843
15843
|
}
|
|
15844
15844
|
eq(e) {
|
|
15845
|
-
return this == e || e instanceof Il &&
|
|
15845
|
+
return this == e || e instanceof Il && Wi(this.attrs, e.attrs) && Wi(this.spec, e.spec);
|
|
15846
15846
|
}
|
|
15847
15847
|
destroy() {
|
|
15848
15848
|
}
|
|
@@ -16493,7 +16493,7 @@ function e3(n, e, t) {
|
|
|
16493
16493
|
if (!T || T.size)
|
|
16494
16494
|
break;
|
|
16495
16495
|
}
|
|
16496
|
-
let u = n.state.doc, h = n.someProp("domParser") ||
|
|
16496
|
+
let u = n.state.doc, h = n.someProp("domParser") || Ei.fromSchema(n.state.schema), f = u.resolve(s), b = null, m = h.parse(i, {
|
|
16497
16497
|
topNode: f.parent,
|
|
16498
16498
|
topMatch: f.parent.contentMatchAt(f.index()),
|
|
16499
16499
|
topOpen: !0,
|
|
@@ -16574,28 +16574,28 @@ function i3(n, e, t, i, o) {
|
|
|
16574
16574
|
return D(n, vn(13, "Enter"));
|
|
16575
16575
|
});
|
|
16576
16576
|
}, 20));
|
|
16577
|
-
let M = b.start,
|
|
16578
|
-
let z = D || n.state.tr.replace(M,
|
|
16577
|
+
let M = b.start, P = b.endA, H = (D) => {
|
|
16578
|
+
let z = D || n.state.tr.replace(M, P, d.doc.slice(b.start - d.from, b.endB - d.from));
|
|
16579
16579
|
if (d.sel) {
|
|
16580
16580
|
let O = Pd(n, z.doc, d.sel);
|
|
16581
|
-
O && !(je && n.composing && O.empty && (b.start != b.endB || n.input.lastChromeDelete < Date.now() - 100) && (O.head == M || O.head == z.mapping.map(
|
|
16581
|
+
O && !(je && n.composing && O.empty && (b.start != b.endB || n.input.lastChromeDelete < Date.now() - 100) && (O.head == M || O.head == z.mapping.map(P) - 1) || Xe && O.empty && O.head == M) && z.setSelection(O);
|
|
16582
16582
|
}
|
|
16583
16583
|
return r && z.setMeta("composition", r), z.scrollIntoView();
|
|
16584
16584
|
}, I;
|
|
16585
16585
|
if (T) {
|
|
16586
16586
|
if (m.pos == g.pos) {
|
|
16587
16587
|
Xe && dn <= 11 && m.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => Ht(n), 20));
|
|
16588
|
-
let D = H(n.state.tr.delete(M,
|
|
16588
|
+
let D = H(n.state.tr.delete(M, P)), z = c.resolve(b.start).marksAcross(c.resolve(b.endA));
|
|
16589
16589
|
z && D.ensureMarks(z), n.dispatch(D);
|
|
16590
16590
|
} else if (
|
|
16591
16591
|
// Adding or removing a mark
|
|
16592
16592
|
b.endA == b.endB && (I = o3(m.parent.content.cut(m.parentOffset, g.parentOffset), S.parent.content.cut(S.parentOffset, b.endA - S.start())))
|
|
16593
16593
|
) {
|
|
16594
16594
|
let D = H(n.state.tr);
|
|
16595
|
-
I.type == "add" ? D.addMark(M,
|
|
16595
|
+
I.type == "add" ? D.addMark(M, P, I.mark) : D.removeMark(M, P, I.mark), n.dispatch(D);
|
|
16596
16596
|
} else if (m.parent.child(m.index()).isText && m.index() == g.index() - (g.textOffset ? 0 : 1)) {
|
|
16597
|
-
let D = m.parent.textBetween(m.parentOffset, g.parentOffset), z = () => H(n.state.tr.insertText(D, M,
|
|
16598
|
-
n.someProp("handleTextInput", (O) => O(n, M,
|
|
16597
|
+
let D = m.parent.textBetween(m.parentOffset, g.parentOffset), z = () => H(n.state.tr.insertText(D, M, P));
|
|
16598
|
+
n.someProp("handleTextInput", (O) => O(n, M, P, D, z)) || n.dispatch(z());
|
|
16599
16599
|
}
|
|
16600
16600
|
} else
|
|
16601
16601
|
n.dispatch(H());
|
|
@@ -16951,13 +16951,13 @@ class i1 {
|
|
|
16951
16951
|
[`handlePaste`](https://prosemirror.net/docs/ref/#view.EditorProps.handlePaste) hook.
|
|
16952
16952
|
*/
|
|
16953
16953
|
pasteHTML(e, t) {
|
|
16954
|
-
return
|
|
16954
|
+
return qi(this, "", e, !1, t || new ClipboardEvent("paste"));
|
|
16955
16955
|
}
|
|
16956
16956
|
/**
|
|
16957
16957
|
Run the editor's paste logic with the given plain-text input.
|
|
16958
16958
|
*/
|
|
16959
16959
|
pasteText(e, t) {
|
|
16960
|
-
return
|
|
16960
|
+
return qi(this, e, null, !0, t || new ClipboardEvent("paste"));
|
|
16961
16961
|
}
|
|
16962
16962
|
/**
|
|
16963
16963
|
Serialize the given slice as it would be if it was copied from
|
|
@@ -17782,7 +17782,7 @@ function wo(n) {
|
|
|
17782
17782
|
const e = `<body>${n}</body>`, t = new window.DOMParser().parseFromString(e, "text/html").body;
|
|
17783
17783
|
return y1(t);
|
|
17784
17784
|
}
|
|
17785
|
-
function
|
|
17785
|
+
function Ui(n, e, t) {
|
|
17786
17786
|
if (n instanceof an || n instanceof A)
|
|
17787
17787
|
return n;
|
|
17788
17788
|
t = {
|
|
@@ -17800,7 +17800,7 @@ function Gi(n, e, t) {
|
|
|
17800
17800
|
} catch (r) {
|
|
17801
17801
|
if (t.errorOnInvalidContent)
|
|
17802
17802
|
throw new Error("[tiptap error]: Invalid JSON content", { cause: r });
|
|
17803
|
-
return console.warn("[tiptap warn]: Invalid content.", "Passed value:", n, "Error:", r),
|
|
17803
|
+
return console.warn("[tiptap warn]: Invalid content.", "Passed value:", n, "Error:", r), Ui("", e, t);
|
|
17804
17804
|
}
|
|
17805
17805
|
if (o) {
|
|
17806
17806
|
if (t.errorOnInvalidContent) {
|
|
@@ -17823,18 +17823,18 @@ function Gi(n, e, t) {
|
|
|
17823
17823
|
}
|
|
17824
17824
|
})
|
|
17825
17825
|
});
|
|
17826
|
-
if (t.slice ?
|
|
17826
|
+
if (t.slice ? Ei.fromSchema(a).parseSlice(wo(n), t.parseOptions) : Ei.fromSchema(a).parse(wo(n), t.parseOptions), t.errorOnInvalidContent && s)
|
|
17827
17827
|
throw new Error("[tiptap error]: Invalid HTML content", {
|
|
17828
17828
|
cause: new Error(`Invalid element found: ${l}`)
|
|
17829
17829
|
});
|
|
17830
17830
|
}
|
|
17831
|
-
const r =
|
|
17831
|
+
const r = Ei.fromSchema(e);
|
|
17832
17832
|
return t.slice ? r.parseSlice(wo(n), t.parseOptions).content : r.parse(wo(n), t.parseOptions);
|
|
17833
17833
|
}
|
|
17834
|
-
return
|
|
17834
|
+
return Ui("", e, t);
|
|
17835
17835
|
}
|
|
17836
17836
|
function ol(n, e, t = {}, i = {}) {
|
|
17837
|
-
return
|
|
17837
|
+
return Ui(n, e, {
|
|
17838
17838
|
slice: !1,
|
|
17839
17839
|
parseOptions: t,
|
|
17840
17840
|
errorOnInvalidContent: i.errorOnInvalidContent
|
|
@@ -17901,7 +17901,7 @@ function le(n, e = void 0, ...t) {
|
|
|
17901
17901
|
function V3(n = {}) {
|
|
17902
17902
|
return Object.keys(n).length === 0 && n.constructor === Object;
|
|
17903
17903
|
}
|
|
17904
|
-
function
|
|
17904
|
+
function Gi(n) {
|
|
17905
17905
|
const e = n.filter((o) => o.type === "extension"), t = n.filter((o) => o.type === "node"), i = n.filter((o) => o.type === "mark");
|
|
17906
17906
|
return {
|
|
17907
17907
|
baseExtensions: e,
|
|
@@ -17910,7 +17910,7 @@ function Ki(n) {
|
|
|
17910
17910
|
};
|
|
17911
17911
|
}
|
|
17912
17912
|
function S1(n) {
|
|
17913
|
-
const e = [], { nodeExtensions: t, markExtensions: i } =
|
|
17913
|
+
const e = [], { nodeExtensions: t, markExtensions: i } = Gi(n), o = [...t, ...i], r = {
|
|
17914
17914
|
default: null,
|
|
17915
17915
|
validate: void 0,
|
|
17916
17916
|
rendered: !0,
|
|
@@ -18031,7 +18031,7 @@ function Nd(n) {
|
|
|
18031
18031
|
}
|
|
18032
18032
|
function q3(n, e) {
|
|
18033
18033
|
var t;
|
|
18034
|
-
const i = S1(n), { nodeExtensions: o, markExtensions: r } =
|
|
18034
|
+
const i = S1(n), { nodeExtensions: o, markExtensions: r } = Gi(n), s = (t = o.find((d) => W(d, "topNode"))) == null ? void 0 : t.name, l = Object.fromEntries(
|
|
18035
18035
|
o.map((d) => {
|
|
18036
18036
|
const c = i.filter((S) => S.type === d.name), u = {
|
|
18037
18037
|
name: d.name,
|
|
@@ -18407,7 +18407,7 @@ function Rd(n, e) {
|
|
|
18407
18407
|
return Array.isArray(e) ? e.some((t) => (typeof t == "string" ? t : t.name) === n.name) : e;
|
|
18408
18408
|
}
|
|
18409
18409
|
function zd(n, e) {
|
|
18410
|
-
const { nodeExtensions: t } =
|
|
18410
|
+
const { nodeExtensions: t } = Gi(e), i = t.find((s) => s.name === n);
|
|
18411
18411
|
if (!i)
|
|
18412
18412
|
return !1;
|
|
18413
18413
|
const o = {
|
|
@@ -18711,14 +18711,14 @@ function aE(n) {
|
|
|
18711
18711
|
var m, g, S, T, v;
|
|
18712
18712
|
if ((g = (m = f.type) == null ? void 0 : m.spec) != null && g.code || !(f.isText || f.isTextblock || f.isInline))
|
|
18713
18713
|
return;
|
|
18714
|
-
const M = (v = (T = (S = f.content) == null ? void 0 : S.size) != null ? T : f.nodeSize) != null ? v : 0,
|
|
18715
|
-
if (
|
|
18714
|
+
const M = (v = (T = (S = f.content) == null ? void 0 : S.size) != null ? T : f.nodeSize) != null ? v : 0, P = Math.max(i, b), H = Math.min(o, b + M);
|
|
18715
|
+
if (P >= H)
|
|
18716
18716
|
return;
|
|
18717
|
-
const I = f.isText ? f.text || "" : f.textBetween(
|
|
18717
|
+
const I = f.isText ? f.text || "" : f.textBetween(P - b, H - b, void 0, "");
|
|
18718
18718
|
lE(I, r.find, s).forEach((z) => {
|
|
18719
18719
|
if (z.index === void 0)
|
|
18720
18720
|
return;
|
|
18721
|
-
const O =
|
|
18721
|
+
const O = P + z.index + 1, _ = O + z[0].length, q = {
|
|
18722
18722
|
from: t.tr.mapping.map(O),
|
|
18723
18723
|
to: t.tr.mapping.map(_)
|
|
18724
18724
|
}, X = r.handler({
|
|
@@ -18817,9 +18817,9 @@ function pE(n) {
|
|
|
18817
18817
|
if (!m && !g && !T)
|
|
18818
18818
|
return;
|
|
18819
18819
|
if (T) {
|
|
18820
|
-
let { text:
|
|
18821
|
-
typeof
|
|
18822
|
-
const { from: H } = S, I = H +
|
|
18820
|
+
let { text: P } = S;
|
|
18821
|
+
typeof P == "string" ? P = P : P = zl(A.from(P), f.schema);
|
|
18822
|
+
const { from: H } = S, I = H + P.length, D = dE(P);
|
|
18823
18823
|
return a({
|
|
18824
18824
|
rule: c,
|
|
18825
18825
|
state: f,
|
|
@@ -18933,7 +18933,7 @@ var Wr = class {
|
|
|
18933
18933
|
* @returns An object with all node views where the key is the node name and the value is the node view function
|
|
18934
18934
|
*/
|
|
18935
18935
|
get nodeViews() {
|
|
18936
|
-
const { editor: n } = this, { nodeExtensions: e } =
|
|
18936
|
+
const { editor: n } = this, { nodeExtensions: e } = Gi(this.extensions);
|
|
18937
18937
|
return Object.fromEntries(
|
|
18938
18938
|
e.filter((t) => !!W(t, "addNodeView")).map((t) => {
|
|
18939
18939
|
const i = this.attributes.filter((l) => l.type === t.name), o = {
|
|
@@ -18965,7 +18965,7 @@ var Wr = class {
|
|
|
18965
18965
|
);
|
|
18966
18966
|
}
|
|
18967
18967
|
get markViews() {
|
|
18968
|
-
const { editor: n } = this, { markExtensions: e } =
|
|
18968
|
+
const { editor: n } = this, { markExtensions: e } = Gi(this.extensions);
|
|
18969
18969
|
return Object.fromEntries(
|
|
18970
18970
|
e.filter((t) => !!W(t, "addMarkView")).map((t) => {
|
|
18971
18971
|
const i = this.attributes.filter((l) => l.type === t.name), o = {
|
|
@@ -19261,7 +19261,7 @@ var EE = (n = null, e = {}) => ({ editor: t, view: i, tr: o, dispatch: r }) => {
|
|
|
19261
19261
|
};
|
|
19262
19262
|
if (!t.errorOnInvalidContent && !r.options.enableContentCheck && r.options.emitContentError)
|
|
19263
19263
|
try {
|
|
19264
|
-
|
|
19264
|
+
Ui(e, r.schema, {
|
|
19265
19265
|
parseOptions: c,
|
|
19266
19266
|
errorOnInvalidContent: !0
|
|
19267
19267
|
});
|
|
@@ -19269,7 +19269,7 @@ var EE = (n = null, e = {}) => ({ editor: t, view: i, tr: o, dispatch: r }) => {
|
|
|
19269
19269
|
d(S);
|
|
19270
19270
|
}
|
|
19271
19271
|
try {
|
|
19272
|
-
l =
|
|
19272
|
+
l = Ui(e, r.schema, {
|
|
19273
19273
|
parseOptions: c,
|
|
19274
19274
|
errorOnInvalidContent: (s = t.errorOnInvalidContent) != null ? s : r.options.enableContentCheck
|
|
19275
19275
|
});
|
|
@@ -19528,8 +19528,8 @@ var aP = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
19528
19528
|
), M = {
|
|
19529
19529
|
...No(h, a.node().type.name, a.node().attrs),
|
|
19530
19530
|
...e
|
|
19531
|
-
},
|
|
19532
|
-
S = S.append(A.from(l.createAndFill(null,
|
|
19531
|
+
}, P = ((s = l.contentMatch.defaultType) == null ? void 0 : s.createAndFill(M)) || void 0;
|
|
19532
|
+
S = S.append(A.from(l.createAndFill(null, P) || void 0));
|
|
19533
19533
|
const H = a.before(a.depth - (T - 1));
|
|
19534
19534
|
t.replace(H, a.after(-v), new R(S, 4 - T, 0));
|
|
19535
19535
|
let I = -1;
|
|
@@ -19559,8 +19559,8 @@ var aP = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
19559
19559
|
const { selection: S, storedMarks: T } = i, { splittableMarks: v } = r.extensionManager, M = T || S.$to.parentOffset && S.$from.marks();
|
|
19560
19560
|
if (t.split(a.pos, 2, g).scrollIntoView(), !M || !o)
|
|
19561
19561
|
return !0;
|
|
19562
|
-
const
|
|
19563
|
-
t.ensureMarks(
|
|
19562
|
+
const P = M.filter((H) => v.includes(H.type.name));
|
|
19563
|
+
t.ensureMarks(P);
|
|
19564
19564
|
}
|
|
19565
19565
|
return !0;
|
|
19566
19566
|
}, Ss = (n, e) => {
|
|
@@ -19585,12 +19585,12 @@ var aP = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
19585
19585
|
const { extensions: u, splittableMarks: h } = o.extensionManager, f = ke(n, s.schema), b = ke(e, s.schema), { selection: m, storedMarks: g } = s, { $from: S, $to: T } = m, v = S.blockRange(T), M = g || m.$to.parentOffset && m.$from.marks();
|
|
19586
19586
|
if (!v)
|
|
19587
19587
|
return !1;
|
|
19588
|
-
const
|
|
19589
|
-
if (v.depth >= 1 &&
|
|
19590
|
-
if (
|
|
19588
|
+
const P = Fr((H) => zd(H.type.name, u))(m);
|
|
19589
|
+
if (v.depth >= 1 && P && v.depth - P.depth <= 1) {
|
|
19590
|
+
if (P.node.type === f)
|
|
19591
19591
|
return d.liftListItem(b);
|
|
19592
|
-
if (zd(
|
|
19593
|
-
return a().command(() => (r.setNodeMarkup(
|
|
19592
|
+
if (zd(P.node.type.name, u) && f.validContent(P.node.content) && l)
|
|
19593
|
+
return a().command(() => (r.setNodeMarkup(P.pos, f), !0)).command(() => Ss(r, f)).command(() => ws(r, f)).run();
|
|
19594
19594
|
}
|
|
19595
19595
|
return !t || !M || !l ? a().command(() => c().wrapInList(f, i) ? !0 : d.clearNodes()).wrapInList(f, i).command(() => Ss(r, f)).command(() => ws(r, f)).run() : a().command(() => {
|
|
19596
19596
|
const H = c().wrapInList(f, i), I = M.filter((D) => h.includes(D.type.name));
|
|
@@ -19732,7 +19732,7 @@ var aP = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
19732
19732
|
c.steps.forEach((f, b) => {
|
|
19733
19733
|
var m, g;
|
|
19734
19734
|
if (f instanceof mt) {
|
|
19735
|
-
const S = h.slice(b).map(f.from, -1), T = h.slice(b).map(f.to), v = h.invert().map(S, -1), M = h.invert().map(T),
|
|
19735
|
+
const S = h.slice(b).map(f.from, -1), T = h.slice(b).map(f.to), v = h.invert().map(S, -1), M = h.invert().map(T), P = (m = c.doc.nodeAt(S - 1)) == null ? void 0 : m.marks.some((I) => I.eq(f.mark)), H = (g = c.doc.nodeAt(T)) == null ? void 0 : g.marks.some((I) => I.eq(f.mark));
|
|
19736
19736
|
this.editor.emit("delete", {
|
|
19737
19737
|
type: "mark",
|
|
19738
19738
|
mark: f.mark,
|
|
@@ -19746,7 +19746,7 @@ var aP = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, editor
|
|
|
19746
19746
|
from: S,
|
|
19747
19747
|
to: T
|
|
19748
19748
|
},
|
|
19749
|
-
partial: !!(H ||
|
|
19749
|
+
partial: !!(H || P),
|
|
19750
19750
|
editor: this.editor,
|
|
19751
19751
|
transaction: n,
|
|
19752
19752
|
combinedTransform: c
|
|
@@ -21397,12 +21397,12 @@ var ir = (n, e) => {
|
|
|
21397
21397
|
];
|
|
21398
21398
|
}
|
|
21399
21399
|
});
|
|
21400
|
-
const XP = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", ZP = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", ll = "numeric", al = "ascii", dl = "alpha",
|
|
21400
|
+
const XP = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", ZP = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", ll = "numeric", al = "ascii", dl = "alpha", Ai = "asciinumeric", Ti = "alphanumeric", pl = "domain", K1 = "emoji", eB = "scheme", tB = "slashscheme", Cs = "whitespace";
|
|
21401
21401
|
function nB(n, e) {
|
|
21402
21402
|
return n in e || (e[n] = []), e[n];
|
|
21403
21403
|
}
|
|
21404
21404
|
function kn(n, e, t) {
|
|
21405
|
-
e[ll] && (e[
|
|
21405
|
+
e[ll] && (e[Ai] = !0, e[Ti] = !0), e[al] && (e[Ai] = !0, e[dl] = !0), e[Ai] && (e[Ti] = !0), e[dl] && (e[Ti] = !0), e[Ti] && (e[pl] = !0), e[K1] && (e[pl] = !0);
|
|
21406
21406
|
for (const i in e) {
|
|
21407
21407
|
const o = nB(i, t);
|
|
21408
21408
|
o.indexOf(n) < 0 && o.push(n);
|
|
@@ -21538,7 +21538,7 @@ Qe.prototype = {
|
|
|
21538
21538
|
return o.j[n] = s, s;
|
|
21539
21539
|
}
|
|
21540
21540
|
};
|
|
21541
|
-
const te = (n, e, t, i, o) => n.ta(e, t, i, o), be = (n, e, t, i, o) => n.tr(e, t, i, o), qd = (n, e, t, i, o) => n.ts(e, t, i, o), $ = (n, e, t, i, o) => n.tt(e, t, i, o), It = "WORD", cl = "UWORD", J1 = "ASCIINUMERICAL", Y1 = "ALPHANUMERICAL",
|
|
21541
|
+
const te = (n, e, t, i, o) => n.ta(e, t, i, o), be = (n, e, t, i, o) => n.tr(e, t, i, o), qd = (n, e, t, i, o) => n.ts(e, t, i, o), $ = (n, e, t, i, o) => n.tt(e, t, i, o), It = "WORD", cl = "UWORD", J1 = "ASCIINUMERICAL", Y1 = "ALPHANUMERICAL", Ki = "LOCALHOST", ul = "TLD", hl = "UTLD", Ho = "SCHEME", Qn = "SLASH_SCHEME", Gl = "NUM", fl = "WS", Kl = "NL", Ii = "OPENBRACE", Di = "CLOSEBRACE", or = "OPENBRACKET", rr = "CLOSEBRACKET", sr = "OPENPAREN", lr = "CLOSEPAREN", ar = "OPENANGLEBRACKET", dr = "CLOSEANGLEBRACKET", pr = "FULLWIDTHLEFTPAREN", cr = "FULLWIDTHRIGHTPAREN", ur = "LEFTCORNERBRACKET", hr = "RIGHTCORNERBRACKET", fr = "LEFTWHITECORNERBRACKET", br = "RIGHTWHITECORNERBRACKET", mr = "FULLWIDTHLESSTHAN", gr = "FULLWIDTHGREATERTHAN", xr = "AMPERSAND", yr = "APOSTROPHE", vr = "ASTERISK", Ut = "AT", Sr = "BACKSLASH", wr = "BACKTICK", Cr = "CARET", Qt = "COLON", Jl = "COMMA", kr = "DOLLAR", yt = "DOT", Tr = "EQUALS", Yl = "EXCLAMATION", at = "HYPHEN", $i = "PERCENT", Mr = "PIPE", Er = "PLUS", Pr = "POUND", Oi = "QUERY", Ql = "QUOTE", Q1 = "FULLWIDTHMIDDLEDOT", Xl = "SEMI", vt = "SLASH", _i = "TILDE", Br = "UNDERSCORE", X1 = "EMOJI", Lr = "SYM";
|
|
21542
21542
|
var Z1 = /* @__PURE__ */ Object.freeze({
|
|
21543
21543
|
__proto__: null,
|
|
21544
21544
|
ALPHANUMERICAL: Y1,
|
|
@@ -21551,7 +21551,7 @@ var Z1 = /* @__PURE__ */ Object.freeze({
|
|
|
21551
21551
|
BACKTICK: wr,
|
|
21552
21552
|
CARET: Cr,
|
|
21553
21553
|
CLOSEANGLEBRACKET: dr,
|
|
21554
|
-
CLOSEBRACE:
|
|
21554
|
+
CLOSEBRACE: Di,
|
|
21555
21555
|
CLOSEBRACKET: rr,
|
|
21556
21556
|
CLOSEPAREN: lr,
|
|
21557
21557
|
COLON: Qt,
|
|
@@ -21569,18 +21569,18 @@ var Z1 = /* @__PURE__ */ Object.freeze({
|
|
|
21569
21569
|
HYPHEN: at,
|
|
21570
21570
|
LEFTCORNERBRACKET: ur,
|
|
21571
21571
|
LEFTWHITECORNERBRACKET: fr,
|
|
21572
|
-
LOCALHOST:
|
|
21572
|
+
LOCALHOST: Ki,
|
|
21573
21573
|
NL: Kl,
|
|
21574
21574
|
NUM: Gl,
|
|
21575
21575
|
OPENANGLEBRACKET: ar,
|
|
21576
|
-
OPENBRACE:
|
|
21576
|
+
OPENBRACE: Ii,
|
|
21577
21577
|
OPENBRACKET: or,
|
|
21578
21578
|
OPENPAREN: sr,
|
|
21579
|
-
PERCENT:
|
|
21579
|
+
PERCENT: $i,
|
|
21580
21580
|
PIPE: Mr,
|
|
21581
21581
|
PLUS: Er,
|
|
21582
21582
|
POUND: Pr,
|
|
21583
|
-
QUERY:
|
|
21583
|
+
QUERY: Oi,
|
|
21584
21584
|
QUOTE: Ql,
|
|
21585
21585
|
RIGHTCORNERBRACKET: hr,
|
|
21586
21586
|
RIGHTWHITECORNERBRACKET: br,
|
|
@@ -21589,7 +21589,7 @@ var Z1 = /* @__PURE__ */ Object.freeze({
|
|
|
21589
21589
|
SLASH: vt,
|
|
21590
21590
|
SLASH_SCHEME: Qn,
|
|
21591
21591
|
SYM: Lr,
|
|
21592
|
-
TILDE:
|
|
21592
|
+
TILDE: _i,
|
|
21593
21593
|
TLD: ul,
|
|
21594
21594
|
UNDERSCORE: Br,
|
|
21595
21595
|
UTLD: hl,
|
|
@@ -21597,30 +21597,30 @@ var Z1 = /* @__PURE__ */ Object.freeze({
|
|
|
21597
21597
|
WORD: It,
|
|
21598
21598
|
WS: fl
|
|
21599
21599
|
});
|
|
21600
|
-
const Lt = /[a-z]/,
|
|
21600
|
+
const Lt = /[a-z]/, vi = new RegExp("\\p{L}", "u"), ks = new RegExp("\\p{Emoji}", "u"), At = /\d/, Ts = /\s/, Wd = "\r", Ms = `
|
|
21601
21601
|
`, oB = "️", rB = "", Es = "";
|
|
21602
21602
|
let Mo = null, Eo = null;
|
|
21603
21603
|
function sB(n = []) {
|
|
21604
21604
|
const e = {};
|
|
21605
21605
|
Qe.groups = e;
|
|
21606
21606
|
const t = new Qe();
|
|
21607
|
-
Mo == null && (Mo = Ud(XP)), Eo == null && (Eo = Ud(ZP)), $(t, "'", yr), $(t, "{",
|
|
21607
|
+
Mo == null && (Mo = Ud(XP)), Eo == null && (Eo = Ud(ZP)), $(t, "'", yr), $(t, "{", Ii), $(t, "}", Di), $(t, "[", or), $(t, "]", rr), $(t, "(", sr), $(t, ")", lr), $(t, "<", ar), $(t, ">", dr), $(t, "(", pr), $(t, ")", cr), $(t, "「", ur), $(t, "」", hr), $(t, "『", fr), $(t, "』", br), $(t, "<", mr), $(t, ">", gr), $(t, "&", xr), $(t, "*", vr), $(t, "@", Ut), $(t, "`", wr), $(t, "^", Cr), $(t, ":", Qt), $(t, ",", Jl), $(t, "$", kr), $(t, ".", yt), $(t, "=", Tr), $(t, "!", Yl), $(t, "-", at), $(t, "%", $i), $(t, "|", Mr), $(t, "+", Er), $(t, "#", Pr), $(t, "?", Oi), $(t, '"', Ql), $(t, "/", vt), $(t, ";", Xl), $(t, "~", _i), $(t, "_", Br), $(t, "\\", Sr), $(t, "・", Q1);
|
|
21608
21608
|
const i = be(t, At, Gl, {
|
|
21609
21609
|
[ll]: !0
|
|
21610
21610
|
});
|
|
21611
21611
|
be(i, At, i);
|
|
21612
21612
|
const o = be(i, Lt, J1, {
|
|
21613
|
-
[
|
|
21614
|
-
}), r = be(i,
|
|
21615
|
-
[
|
|
21613
|
+
[Ai]: !0
|
|
21614
|
+
}), r = be(i, vi, Y1, {
|
|
21615
|
+
[Ti]: !0
|
|
21616
21616
|
}), s = be(t, Lt, It, {
|
|
21617
21617
|
[al]: !0
|
|
21618
21618
|
});
|
|
21619
21619
|
be(s, At, o), be(s, Lt, s), be(o, At, o), be(o, Lt, o);
|
|
21620
|
-
const l = be(t,
|
|
21620
|
+
const l = be(t, vi, cl, {
|
|
21621
21621
|
[dl]: !0
|
|
21622
21622
|
});
|
|
21623
|
-
be(l, Lt), be(l, At, r), be(l,
|
|
21623
|
+
be(l, Lt), be(l, At, r), be(l, vi, l), be(r, At, r), be(r, Lt), be(r, vi, r);
|
|
21624
21624
|
const a = $(t, Ms, Kl, {
|
|
21625
21625
|
[Cs]: !0
|
|
21626
21626
|
}), d = $(t, Wd, fl, {
|
|
@@ -21635,7 +21635,7 @@ function sB(n = []) {
|
|
|
21635
21635
|
$(u, "#"), be(u, ks, u), $(u, oB, u);
|
|
21636
21636
|
const h = $(u, rB);
|
|
21637
21637
|
$(h, "#"), be(h, ks, u);
|
|
21638
|
-
const f = [[Lt, s], [At, o]], b = [[Lt, null], [
|
|
21638
|
+
const f = [[Lt, s], [At, o]], b = [[Lt, null], [vi, l], [At, r]];
|
|
21639
21639
|
for (let m = 0; m < Mo.length; m++)
|
|
21640
21640
|
jt(t, Mo[m], ul, It, f);
|
|
21641
21641
|
for (let m = 0; m < Eo.length; m++)
|
|
@@ -21659,9 +21659,9 @@ function sB(n = []) {
|
|
|
21659
21659
|
} : {
|
|
21660
21660
|
[tB]: !0
|
|
21661
21661
|
};
|
|
21662
|
-
g.indexOf("-") >= 0 ? T[pl] = !0 : Lt.test(g) ? At.test(g) ? T[
|
|
21662
|
+
g.indexOf("-") >= 0 ? T[pl] = !0 : Lt.test(g) ? At.test(g) ? T[Ai] = !0 : T[al] = !0 : T[ll] = !0, qd(t, g, g, T);
|
|
21663
21663
|
}
|
|
21664
|
-
return qd(t, "localhost",
|
|
21664
|
+
return qd(t, "localhost", Ki, {
|
|
21665
21665
|
ascii: !0
|
|
21666
21666
|
}), t.jd = new Qe(Lr), {
|
|
21667
21667
|
start: t,
|
|
@@ -21725,7 +21725,7 @@ function Ud(n) {
|
|
|
21725
21725
|
}
|
|
21726
21726
|
return e;
|
|
21727
21727
|
}
|
|
21728
|
-
const
|
|
21728
|
+
const Ji = {
|
|
21729
21729
|
defaultProtocol: "http",
|
|
21730
21730
|
events: null,
|
|
21731
21731
|
format: Gd,
|
|
@@ -21742,7 +21742,7 @@ const Yi = {
|
|
|
21742
21742
|
render: null
|
|
21743
21743
|
};
|
|
21744
21744
|
function Zl(n, e = null) {
|
|
21745
|
-
let t = Object.assign({},
|
|
21745
|
+
let t = Object.assign({}, Ji);
|
|
21746
21746
|
n && (t = Object.assign(t, n instanceof Zl ? n.o : n));
|
|
21747
21747
|
const i = t.ignoreTags, o = [];
|
|
21748
21748
|
for (let r = 0; r < i.length; r++)
|
|
@@ -21750,7 +21750,7 @@ function Zl(n, e = null) {
|
|
|
21750
21750
|
this.o = t, e && (this.defaultRender = e), this.ignoreTags = o;
|
|
21751
21751
|
}
|
|
21752
21752
|
Zl.prototype = {
|
|
21753
|
-
o:
|
|
21753
|
+
o: Ji,
|
|
21754
21754
|
/**
|
|
21755
21755
|
* @type string[]
|
|
21756
21756
|
*/
|
|
@@ -21786,7 +21786,7 @@ Zl.prototype = {
|
|
|
21786
21786
|
get(n, e, t) {
|
|
21787
21787
|
const i = e != null;
|
|
21788
21788
|
let o = this.o[n];
|
|
21789
|
-
return o && (typeof o == "object" ? (o = t.t in o ? o[t.t] :
|
|
21789
|
+
return o && (typeof o == "object" ? (o = t.t in o ? o[t.t] : Ji[n], typeof o == "function" && i && (o = o(e, t))) : typeof o == "function" && i && (o = o(e, t.t, t)), o);
|
|
21790
21790
|
},
|
|
21791
21791
|
/**
|
|
21792
21792
|
* @template {keyof Opts} L
|
|
@@ -21875,7 +21875,7 @@ tS.prototype = {
|
|
|
21875
21875
|
@method toObject
|
|
21876
21876
|
@param {string} [protocol] `'http'` by default
|
|
21877
21877
|
*/
|
|
21878
|
-
toObject(n =
|
|
21878
|
+
toObject(n = Ji.defaultProtocol) {
|
|
21879
21879
|
return {
|
|
21880
21880
|
type: this.t,
|
|
21881
21881
|
value: this.toString(),
|
|
@@ -21945,7 +21945,7 @@ const Kd = Ur("email", {
|
|
|
21945
21945
|
@param {string} [scheme] default scheme (e.g., 'https')
|
|
21946
21946
|
@return {string} the full href
|
|
21947
21947
|
*/
|
|
21948
|
-
toHref(n =
|
|
21948
|
+
toHref(n = Ji.defaultProtocol) {
|
|
21949
21949
|
return this.hasProtocol() ? this.v : `${n}://${this.v}`;
|
|
21950
21950
|
},
|
|
21951
21951
|
/**
|
|
@@ -21954,13 +21954,13 @@ const Kd = Ur("email", {
|
|
|
21954
21954
|
*/
|
|
21955
21955
|
hasProtocol() {
|
|
21956
21956
|
const n = this.tk;
|
|
21957
|
-
return n.length >= 2 && n[0].t !==
|
|
21957
|
+
return n.length >= 2 && n[0].t !== Ki && n[1].t === Qt;
|
|
21958
21958
|
}
|
|
21959
21959
|
}), rt = (n) => new Qe(n);
|
|
21960
21960
|
function dB({
|
|
21961
21961
|
groups: n
|
|
21962
21962
|
}) {
|
|
21963
|
-
const e = n.domain.concat([xr, vr, Ut, Sr, wr, Cr, kr, Tr, at, Gl,
|
|
21963
|
+
const e = n.domain.concat([xr, vr, Ut, Sr, wr, Cr, kr, Tr, at, Gl, $i, Mr, Er, Pr, vt, Lr, _i, Br]), t = [yr, Qt, Jl, yt, Yl, $i, Oi, Ql, Xl, ar, dr, Ii, Di, rr, or, sr, lr, pr, cr, ur, hr, fr, br, mr, gr], i = [xr, yr, vr, Sr, wr, Cr, kr, Tr, at, Ii, Di, $i, Mr, Er, Pr, Oi, vt, Lr, _i, Br], o = rt(), r = $(o, _i);
|
|
21964
21964
|
te(r, i, r), te(r, n.domain, r);
|
|
21965
21965
|
const s = rt(), l = rt(), a = rt();
|
|
21966
21966
|
te(o, n.domain, s), te(o, n.scheme, l), te(o, n.slashscheme, a), te(s, i, r), te(s, n.domain, s);
|
|
@@ -21973,7 +21973,7 @@ function dB({
|
|
|
21973
21973
|
const h = $(u, yt);
|
|
21974
21974
|
te(h, n.domain, u);
|
|
21975
21975
|
const f = rt(Kd);
|
|
21976
|
-
te(h, n.tld, f), te(h, n.utld, f), $(d,
|
|
21976
|
+
te(h, n.tld, f), te(h, n.utld, f), $(d, Ki, f);
|
|
21977
21977
|
const b = $(u, at);
|
|
21978
21978
|
$(b, at, b), te(b, n.domain, u), te(f, n.domain, u), $(f, yt, h), $(f, at, b);
|
|
21979
21979
|
const m = $(f, Qt);
|
|
@@ -21984,12 +21984,12 @@ function dB({
|
|
|
21984
21984
|
te(S, n.tld, T), te(S, n.utld, T), te(T, n.domain, s), te(T, i, r), $(T, yt, S), $(T, at, g), $(T, Ut, d);
|
|
21985
21985
|
const v = $(T, Qt), M = rt(Po);
|
|
21986
21986
|
te(v, n.numeric, M);
|
|
21987
|
-
const
|
|
21988
|
-
te(
|
|
21987
|
+
const P = rt(Po), H = rt();
|
|
21988
|
+
te(P, e, P), te(P, t, H), te(H, e, P), te(H, t, H), $(T, vt, P), $(M, vt, P);
|
|
21989
21989
|
const I = $(l, Qt), D = $(a, Qt), z = $(D, vt), O = $(z, vt);
|
|
21990
|
-
te(l, n.domain, s), $(l, yt, S), $(l, at, g), te(a, n.domain, s), $(a, yt, S), $(a, at, g), te(I, n.domain,
|
|
21990
|
+
te(l, n.domain, s), $(l, yt, S), $(l, at, g), te(a, n.domain, s), $(a, yt, S), $(a, at, g), te(I, n.domain, P), $(I, vt, P), $(I, Oi, P), te(O, n.domain, P), te(O, e, P), $(O, vt, P);
|
|
21991
21991
|
const _ = [
|
|
21992
|
-
[
|
|
21992
|
+
[Ii, Di],
|
|
21993
21993
|
// {}
|
|
21994
21994
|
[or, rr],
|
|
21995
21995
|
// []
|
|
@@ -22007,14 +22007,14 @@ function dB({
|
|
|
22007
22007
|
// <>
|
|
22008
22008
|
];
|
|
22009
22009
|
for (let q = 0; q < _.length; q++) {
|
|
22010
|
-
const [X, N] = _[q], ie = $(
|
|
22011
|
-
$(H, X, ie), $(ie, N,
|
|
22010
|
+
const [X, N] = _[q], ie = $(P, X);
|
|
22011
|
+
$(H, X, ie), $(ie, N, P);
|
|
22012
22012
|
const Re = rt(Po);
|
|
22013
22013
|
te(ie, e, Re);
|
|
22014
22014
|
const ht = rt();
|
|
22015
|
-
te(ie, t), te(Re, e, Re), te(Re, t, ht), te(ht, e, Re), te(ht, t, ht), $(Re, N,
|
|
22015
|
+
te(ie, t), te(Re, e, Re), te(Re, t, ht), te(ht, e, Re), te(ht, t, ht), $(Re, N, P), $(ht, N, P);
|
|
22016
22016
|
}
|
|
22017
|
-
return $(o,
|
|
22017
|
+
return $(o, Ki, T), $(o, Kl, aB), {
|
|
22018
22018
|
start: o,
|
|
22019
22019
|
tokens: Z1
|
|
22020
22020
|
};
|
|
@@ -22449,7 +22449,7 @@ var wB = Fn.create({
|
|
|
22449
22449
|
}
|
|
22450
22450
|
}), MB = {};
|
|
22451
22451
|
kB(MB, {
|
|
22452
|
-
findListItemPos: () =>
|
|
22452
|
+
findListItemPos: () => eo,
|
|
22453
22453
|
getNextListDepth: () => na,
|
|
22454
22454
|
handleBackspace: () => bl,
|
|
22455
22455
|
handleDelete: () => ml,
|
|
@@ -22460,14 +22460,14 @@ kB(MB, {
|
|
|
22460
22460
|
nextListIsDeeper: () => aS,
|
|
22461
22461
|
nextListIsHigher: () => dS
|
|
22462
22462
|
});
|
|
22463
|
-
var
|
|
22463
|
+
var eo = (n, e) => {
|
|
22464
22464
|
const { $from: t } = e.selection, i = ke(n, e.schema);
|
|
22465
22465
|
let o = null, r = t.depth, s = t.pos, l = null;
|
|
22466
22466
|
for (; r > 0 && l === null; )
|
|
22467
22467
|
o = t.node(r), o.type === i ? l = r : (r -= 1, s -= 1);
|
|
22468
22468
|
return l === null ? null : { $pos: e.doc.resolve(s), depth: l };
|
|
22469
22469
|
}, na = (n, e) => {
|
|
22470
|
-
const t =
|
|
22470
|
+
const t = eo(n, e);
|
|
22471
22471
|
if (!t)
|
|
22472
22472
|
return !1;
|
|
22473
22473
|
const [, i] = Y3(e, n, t.$pos.pos + 4);
|
|
@@ -22505,16 +22505,16 @@ var to = (n, e) => {
|
|
|
22505
22505
|
}
|
|
22506
22506
|
if (!fn(n.state, e) || !eE(n.state))
|
|
22507
22507
|
return !1;
|
|
22508
|
-
const i =
|
|
22508
|
+
const i = eo(e, n.state);
|
|
22509
22509
|
if (!i)
|
|
22510
22510
|
return !1;
|
|
22511
22511
|
const r = n.state.doc.resolve(i.$pos.pos - 2).node(i.depth), s = lS(e, n.state, r);
|
|
22512
22512
|
return sS(e, n.state) && !s ? n.commands.joinItemBackward() : n.chain().liftListItem(e).run();
|
|
22513
22513
|
}, aS = (n, e) => {
|
|
22514
|
-
const t = na(n, e), i =
|
|
22514
|
+
const t = na(n, e), i = eo(n, e);
|
|
22515
22515
|
return !i || !t ? !1 : t > i.depth;
|
|
22516
22516
|
}, dS = (n, e) => {
|
|
22517
|
-
const t = na(n, e), i =
|
|
22517
|
+
const t = na(n, e), i = eo(n, e);
|
|
22518
22518
|
return !i || !t ? !1 : t < i.depth;
|
|
22519
22519
|
}, ml = (n, e) => {
|
|
22520
22520
|
if (!fn(n.state, e) || !Z3(n.state, e))
|
|
@@ -23322,7 +23322,7 @@ class bt {
|
|
|
23322
23322
|
return d > YB && (l = JB(l, d), s -= d), new bt(l.append(r), s);
|
|
23323
23323
|
}
|
|
23324
23324
|
remapping(e, t) {
|
|
23325
|
-
let i = new
|
|
23325
|
+
let i = new Fi();
|
|
23326
23326
|
return this.items.forEach((o, r) => {
|
|
23327
23327
|
let s = o.mirrorOffset != null && r - o.mirrorOffset >= e ? i.maps.length - o.mirrorOffset : void 0;
|
|
23328
23328
|
i.appendMap(o.map, s);
|
|
@@ -24063,14 +24063,14 @@ const Ft = /* @__PURE__ */ Gr(p4, [["render", f4]]), b4 = { class: "pbx-my-2 pbx
|
|
|
24063
24063
|
Y(m, () => {
|
|
24064
24064
|
M();
|
|
24065
24065
|
});
|
|
24066
|
-
const
|
|
24067
|
-
Y(
|
|
24066
|
+
const P = k(""), H = k(""), I = k(null);
|
|
24067
|
+
Y(P, (X) => {
|
|
24068
24068
|
H.value = X;
|
|
24069
24069
|
});
|
|
24070
24070
|
const D = function() {
|
|
24071
|
-
|
|
24071
|
+
P.value = v.value.getAttributes("link").href, o.value = !0, r.value = "success", s.value = 2, l.value = t("Enter URL"), a.value = t(
|
|
24072
24072
|
"Add a valid URL to transform the selected text into a clickable hyperlink that directs users to the specified web address."
|
|
24073
|
-
), d.value = t("Close"), c.value =
|
|
24073
|
+
), d.value = t("Close"), c.value = P.value ? "Remove url" : null, u.value = t("Save"), h.value = function() {
|
|
24074
24074
|
o.value = !1, I.value = null;
|
|
24075
24075
|
}, f.value = function() {
|
|
24076
24076
|
v.value.chain().focus().extendMarkRange("link").unsetLink().run(), o.value = !1;
|
|
@@ -24115,12 +24115,12 @@ const Ft = /* @__PURE__ */ Gr(p4, [["render", f4]]), b4 = { class: "pbx-my-2 pbx
|
|
|
24115
24115
|
p("span", null, C(x(t)("Enter URL")), 1)
|
|
24116
24116
|
]),
|
|
24117
24117
|
se(p("input", {
|
|
24118
|
-
"onUpdate:modelValue": N[0] || (N[0] = (ie) =>
|
|
24118
|
+
"onUpdate:modelValue": N[0] || (N[0] = (ie) => P.value = ie),
|
|
24119
24119
|
class: "pbx-myPrimaryInput pbx-mt-1 pbx-w-full",
|
|
24120
24120
|
type: "url",
|
|
24121
24121
|
placeholder: "url"
|
|
24122
24122
|
}, null, 512), [
|
|
24123
|
-
[In,
|
|
24123
|
+
[In, P.value]
|
|
24124
24124
|
]),
|
|
24125
24125
|
I.value ? (y(), w("div", L4, [
|
|
24126
24126
|
p("p", A4, C(I.value), 1)
|
|
@@ -24565,7 +24565,7 @@ let cL = Ze({ name: "Hidden", props: { as: { type: [Object, String], default: "d
|
|
|
24565
24565
|
return hi({ ourProps: s, theirProps: r, slot: {}, attrs: t, slots: e, name: "Hidden" });
|
|
24566
24566
|
};
|
|
24567
24567
|
} }), wS = Symbol("Context");
|
|
24568
|
-
var
|
|
24568
|
+
var Yi = ((n) => (n[n.Open = 1] = "Open", n[n.Closed = 2] = "Closed", n[n.Closing = 4] = "Closing", n[n.Opening = 8] = "Opening", n))(Yi || {});
|
|
24569
24569
|
function uL() {
|
|
24570
24570
|
return un(wS, null);
|
|
24571
24571
|
}
|
|
@@ -24666,63 +24666,63 @@ function wL(n) {
|
|
|
24666
24666
|
requestAnimationFrame(() => requestAnimationFrame(n));
|
|
24667
24667
|
}
|
|
24668
24668
|
let MS = Symbol("ListboxContext");
|
|
24669
|
-
function
|
|
24669
|
+
function to(n) {
|
|
24670
24670
|
let e = un(MS, null);
|
|
24671
24671
|
if (e === null) {
|
|
24672
24672
|
let t = new Error(`<${n} /> is missing a parent <Listbox /> component.`);
|
|
24673
|
-
throw Error.captureStackTrace && Error.captureStackTrace(t,
|
|
24673
|
+
throw Error.captureStackTrace && Error.captureStackTrace(t, to), t;
|
|
24674
24674
|
}
|
|
24675
24675
|
return e;
|
|
24676
24676
|
}
|
|
24677
|
-
let
|
|
24677
|
+
let no = Ze({ name: "Listbox", emits: { "update:modelValue": (n) => !0 }, props: { as: { type: [Object, String], default: "template" }, disabled: { type: [Boolean], default: !1 }, by: { type: [String, Function], default: () => xL }, horizontal: { type: [Boolean], default: !1 }, modelValue: { type: [Object, String, Number, Boolean], default: void 0 }, defaultValue: { type: [Object, String, Number, Boolean], default: void 0 }, form: { type: String, optional: !0 }, name: { type: String, optional: !0 }, multiple: { type: [Boolean], default: !1 } }, inheritAttrs: !1, setup(n, { slots: e, attrs: t, emit: i }) {
|
|
24678
24678
|
let o = k(1), r = k(null), s = k(null), l = k(null), a = k([]), d = k(""), c = k(null), u = k(1);
|
|
24679
24679
|
function h(v = (M) => M) {
|
|
24680
|
-
let M = c.value !== null ? a.value[c.value] : null,
|
|
24681
|
-
return H === -1 && (H = null), { options:
|
|
24680
|
+
let M = c.value !== null ? a.value[c.value] : null, P = eL(v(a.value.slice()), (I) => xe(I.dataRef.domRef)), H = M ? P.indexOf(M) : null;
|
|
24681
|
+
return H === -1 && (H = null), { options: P, activeOptionIndex: H };
|
|
24682
24682
|
}
|
|
24683
24683
|
let f = L(() => n.multiple ? 1 : 0), [b, m] = j4(L(() => n.modelValue), (v) => i("update:modelValue", v), L(() => n.defaultValue)), g = L(() => b.value === void 0 ? gt(f.value, { 1: [], 0: void 0 }) : b.value), S = { listboxState: o, value: g, mode: f, compare(v, M) {
|
|
24684
24684
|
if (typeof n.by == "string") {
|
|
24685
|
-
let
|
|
24686
|
-
return (v == null ? void 0 : v[
|
|
24685
|
+
let P = n.by;
|
|
24686
|
+
return (v == null ? void 0 : v[P]) === (M == null ? void 0 : M[P]);
|
|
24687
24687
|
}
|
|
24688
24688
|
return n.by(v, M);
|
|
24689
24689
|
}, orientation: L(() => n.horizontal ? "horizontal" : "vertical"), labelRef: r, buttonRef: s, optionsRef: l, disabled: L(() => n.disabled), options: a, searchQuery: d, activeOptionIndex: c, activationTrigger: u, closeListbox() {
|
|
24690
24690
|
n.disabled || o.value !== 1 && (o.value = 1, c.value = null);
|
|
24691
24691
|
}, openListbox() {
|
|
24692
24692
|
n.disabled || o.value !== 0 && (o.value = 0);
|
|
24693
|
-
}, goToOption(v, M,
|
|
24693
|
+
}, goToOption(v, M, P) {
|
|
24694
24694
|
if (n.disabled || o.value === 1) return;
|
|
24695
24695
|
let H = h(), I = bL(v === We.Specific ? { focus: We.Specific, id: M } : { focus: v }, { resolveItems: () => H.options, resolveActiveIndex: () => H.activeOptionIndex, resolveId: (D) => D.id, resolveDisabled: (D) => D.dataRef.disabled });
|
|
24696
|
-
d.value = "", c.value = I, u.value =
|
|
24696
|
+
d.value = "", c.value = I, u.value = P ?? 1, a.value = H.options;
|
|
24697
24697
|
}, search(v) {
|
|
24698
24698
|
if (n.disabled || o.value === 1) return;
|
|
24699
24699
|
let M = d.value !== "" ? 0 : 1;
|
|
24700
24700
|
d.value += v.toLowerCase();
|
|
24701
|
-
let
|
|
24701
|
+
let P = (c.value !== null ? a.value.slice(c.value + M).concat(a.value.slice(0, c.value + M)) : a.value).find((I) => I.dataRef.textValue.startsWith(d.value) && !I.dataRef.disabled), H = P ? a.value.indexOf(P) : -1;
|
|
24702
24702
|
H === -1 || H === c.value || (c.value = H, u.value = 1);
|
|
24703
24703
|
}, clearSearch() {
|
|
24704
24704
|
n.disabled || o.value !== 1 && d.value !== "" && (d.value = "");
|
|
24705
24705
|
}, registerOption(v, M) {
|
|
24706
|
-
let
|
|
24707
|
-
a.value =
|
|
24706
|
+
let P = h((H) => [...H, { id: v, dataRef: M }]);
|
|
24707
|
+
a.value = P.options, c.value = P.activeOptionIndex;
|
|
24708
24708
|
}, unregisterOption(v) {
|
|
24709
|
-
let M = h((
|
|
24710
|
-
let H =
|
|
24711
|
-
return H !== -1 &&
|
|
24709
|
+
let M = h((P) => {
|
|
24710
|
+
let H = P.findIndex((I) => I.id === v);
|
|
24711
|
+
return H !== -1 && P.splice(H, 1), P;
|
|
24712
24712
|
});
|
|
24713
24713
|
a.value = M.options, c.value = M.activeOptionIndex, u.value = 1;
|
|
24714
24714
|
}, theirOnChange(v) {
|
|
24715
24715
|
n.disabled || m(v);
|
|
24716
24716
|
}, select(v) {
|
|
24717
24717
|
n.disabled || m(gt(f.value, { 0: () => v, 1: () => {
|
|
24718
|
-
let M = Fe(S.value.value).slice(),
|
|
24719
|
-
return H === -1 ? M.push(
|
|
24718
|
+
let M = Fe(S.value.value).slice(), P = Fe(v), H = M.findIndex((I) => S.compare(P, Fe(I)));
|
|
24719
|
+
return H === -1 ? M.push(P) : M.splice(H, 1), M;
|
|
24720
24720
|
} }));
|
|
24721
24721
|
} };
|
|
24722
24722
|
rL([s, l], (v, M) => {
|
|
24723
|
-
var
|
|
24724
|
-
S.closeListbox(), gS(M, ra.Loose) || (v.preventDefault(), (
|
|
24725
|
-
}, L(() => o.value === 0)), Kt(MS, S), hL(L(() => gt(o.value, { 0:
|
|
24723
|
+
var P;
|
|
24724
|
+
S.closeListbox(), gS(M, ra.Loose) || (v.preventDefault(), (P = xe(s)) == null || P.focus());
|
|
24725
|
+
}, L(() => o.value === 0)), Kt(MS, S), hL(L(() => gt(o.value, { 0: Yi.Open, 1: Yi.Closed })));
|
|
24726
24726
|
let T = L(() => {
|
|
24727
24727
|
var v;
|
|
24728
24728
|
return (v = xe(s)) == null ? void 0 : v.closest("form");
|
|
@@ -24739,13 +24739,13 @@ let io = Ze({ name: "Listbox", emits: { "update:modelValue": (n) => !0 }, props:
|
|
|
24739
24739
|
};
|
|
24740
24740
|
}, { immediate: !0 });
|
|
24741
24741
|
}), () => {
|
|
24742
|
-
let { name: v, modelValue: M, disabled:
|
|
24743
|
-
return An(G, [...v != null && g.value != null ? CS({ [v]: g.value }).map(([z, O]) => An(cL, dL({ features: SS.Hidden, key: z, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: H, disabled:
|
|
24742
|
+
let { name: v, modelValue: M, disabled: P, form: H, ...I } = n, D = { open: o.value === 0, disabled: P, value: g.value };
|
|
24743
|
+
return An(G, [...v != null && g.value != null ? CS({ [v]: g.value }).map(([z, O]) => An(cL, dL({ features: SS.Hidden, key: z, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: H, disabled: P, name: z, value: O }))) : [], hi({ ourProps: {}, theirProps: { ...t, ...vS(I, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot: D, slots: e, attrs: t, name: "Listbox" })]);
|
|
24744
24744
|
};
|
|
24745
24745
|
} });
|
|
24746
24746
|
Ze({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: null } }, setup(n, { attrs: e, slots: t }) {
|
|
24747
24747
|
var i;
|
|
24748
|
-
let o = (i = n.id) != null ? i : `headlessui-listbox-label-${Kr()}`, r =
|
|
24748
|
+
let o = (i = n.id) != null ? i : `headlessui-listbox-label-${Kr()}`, r = to("ListboxLabel");
|
|
24749
24749
|
function s() {
|
|
24750
24750
|
var l;
|
|
24751
24751
|
(l = xe(r.buttonRef)) == null || l.focus({ preventScroll: !0 });
|
|
@@ -24757,7 +24757,7 @@ Ze({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "labe
|
|
|
24757
24757
|
} });
|
|
24758
24758
|
let Rn = Ze({ name: "ListboxButton", props: { as: { type: [Object, String], default: "button" }, id: { type: String, default: null } }, setup(n, { attrs: e, slots: t, expose: i }) {
|
|
24759
24759
|
var o;
|
|
24760
|
-
let r = (o = n.id) != null ? o : `headlessui-listbox-button-${Kr()}`, s =
|
|
24760
|
+
let r = (o = n.id) != null ? o : `headlessui-listbox-button-${Kr()}`, s = to("ListboxButton");
|
|
24761
24761
|
i({ el: s.buttonRef, $el: s.buttonRef });
|
|
24762
24762
|
function l(u) {
|
|
24763
24763
|
switch (u.key) {
|
|
@@ -24799,9 +24799,9 @@ let Rn = Ze({ name: "ListboxButton", props: { as: { type: [Object, String], defa
|
|
|
24799
24799
|
let f = { open: s.listboxState.value === 0, disabled: s.disabled.value, value: s.value.value }, { ...b } = n, m = { ref: s.buttonRef, id: r, type: c.value, "aria-haspopup": "listbox", "aria-controls": (u = xe(s.optionsRef)) == null ? void 0 : u.id, "aria-expanded": s.listboxState.value === 0, "aria-labelledby": s.labelRef.value ? [(h = xe(s.labelRef)) == null ? void 0 : h.id, r].join(" ") : void 0, disabled: s.disabled.value === !0 ? !0 : void 0, onKeydown: l, onKeyup: a, onClick: d };
|
|
24800
24800
|
return hi({ ourProps: m, theirProps: b, slot: f, attrs: e, slots: t, name: "ListboxButton" });
|
|
24801
24801
|
};
|
|
24802
|
-
} }),
|
|
24802
|
+
} }), io = Ze({ name: "ListboxOptions", props: { as: { type: [Object, String], default: "ul" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, id: { type: String, default: null } }, setup(n, { attrs: e, slots: t, expose: i }) {
|
|
24803
24803
|
var o;
|
|
24804
|
-
let r = (o = n.id) != null ? o : `headlessui-listbox-options-${Kr()}`, s =
|
|
24804
|
+
let r = (o = n.id) != null ? o : `headlessui-listbox-options-${Kr()}`, s = to("ListboxOptions"), l = k(null);
|
|
24805
24805
|
i({ el: s.optionsRef, $el: s.optionsRef });
|
|
24806
24806
|
function a(u) {
|
|
24807
24807
|
switch (l.value && clearTimeout(l.value), u.key) {
|
|
@@ -24841,20 +24841,20 @@ let Rn = Ze({ name: "ListboxButton", props: { as: { type: [Object, String], defa
|
|
|
24841
24841
|
break;
|
|
24842
24842
|
}
|
|
24843
24843
|
}
|
|
24844
|
-
let d = uL(), c = L(() => d !== null ? (d.value &
|
|
24844
|
+
let d = uL(), c = L(() => d !== null ? (d.value & Yi.Open) === Yi.Open : s.listboxState.value === 0);
|
|
24845
24845
|
return () => {
|
|
24846
24846
|
var u, h;
|
|
24847
24847
|
let f = { open: s.listboxState.value === 0 }, { ...b } = n, m = { "aria-activedescendant": s.activeOptionIndex.value === null || (u = s.options.value[s.activeOptionIndex.value]) == null ? void 0 : u.id, "aria-multiselectable": s.mode.value === 1 ? !0 : void 0, "aria-labelledby": (h = xe(s.buttonRef)) == null ? void 0 : h.id, "aria-orientation": s.orientation.value, id: r, onKeydown: a, role: "listbox", tabIndex: 0, ref: s.optionsRef };
|
|
24848
24848
|
return hi({ ourProps: m, theirProps: b, slot: f, attrs: e, slots: t, features: gl.RenderStrategy | gl.Static, visible: c.value, name: "ListboxOptions" });
|
|
24849
24849
|
};
|
|
24850
|
-
} }),
|
|
24850
|
+
} }), oo = Ze({ name: "ListboxOption", props: { as: { type: [Object, String], default: "li" }, value: { type: [Object, String, Number, Boolean] }, disabled: { type: Boolean, default: !1 }, id: { type: String, default: null } }, setup(n, { slots: e, attrs: t, expose: i }) {
|
|
24851
24851
|
var o;
|
|
24852
|
-
let r = (o = n.id) != null ? o : `headlessui-listbox-option-${Kr()}`, s =
|
|
24852
|
+
let r = (o = n.id) != null ? o : `headlessui-listbox-option-${Kr()}`, s = to("ListboxOption"), l = k(null);
|
|
24853
24853
|
i({ el: l, $el: l });
|
|
24854
24854
|
let a = L(() => s.activeOptionIndex.value !== null ? s.options.value[s.activeOptionIndex.value].id === r : !1), d = L(() => gt(s.mode.value, { 0: () => s.compare(Fe(s.value.value), Fe(n.value)), 1: () => Fe(s.value.value).some((v) => s.compare(Fe(v), Fe(n.value))) })), c = L(() => gt(s.mode.value, { 1: () => {
|
|
24855
24855
|
var v;
|
|
24856
24856
|
let M = Fe(s.value.value);
|
|
24857
|
-
return ((v = s.options.value.find((
|
|
24857
|
+
return ((v = s.options.value.find((P) => M.some((H) => s.compare(Fe(H), Fe(P.dataRef.value))))) == null ? void 0 : v.id) === r;
|
|
24858
24858
|
}, 0: () => d.value })), u = gL(l), h = L(() => ({ disabled: n.disabled, value: n.value, get textValue() {
|
|
24859
24859
|
return u();
|
|
24860
24860
|
}, domRef: l }));
|
|
@@ -24894,7 +24894,7 @@ let Rn = Ze({ name: "ListboxButton", props: { as: { type: [Object, String], defa
|
|
|
24894
24894
|
m.wasMoved(v) && (n.disabled || a.value && s.goToOption(We.Nothing));
|
|
24895
24895
|
}
|
|
24896
24896
|
return () => {
|
|
24897
|
-
let { disabled: v } = n, M = { active: a.value, selected: d.value, disabled: v }, { value:
|
|
24897
|
+
let { disabled: v } = n, M = { active: a.value, selected: d.value, disabled: v }, { value: P, disabled: H, ...I } = n, D = { id: r, ref: l, role: "option", tabIndex: v === !0 ? void 0 : -1, "aria-disabled": v === !0 ? !0 : void 0, "aria-selected": d.value, disabled: void 0, onClick: f, onFocus: b, onPointerenter: g, onMouseenter: g, onPointermove: S, onMousemove: S, onPointerleave: T, onMouseleave: T };
|
|
24898
24898
|
return hi({ ourProps: D, theirProps: I, slot: M, attrs: t, slots: e, name: "ListboxOption" });
|
|
24899
24899
|
};
|
|
24900
24900
|
} });
|
|
@@ -24922,7 +24922,7 @@ const CL = { class: "pbx-relative" }, kL = { class: "pbx-flex pbx-justify-start
|
|
|
24922
24922
|
o.value = s, await t.initializeElementStyles();
|
|
24923
24923
|
},
|
|
24924
24924
|
{ immediate: !0 }
|
|
24925
|
-
), (s, l) => (y(), re(x(
|
|
24925
|
+
), (s, l) => (y(), re(x(no), {
|
|
24926
24926
|
as: "div",
|
|
24927
24927
|
modelValue: o.value,
|
|
24928
24928
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => o.value = a)
|
|
@@ -24981,9 +24981,9 @@ const CL = { class: "pbx-relative" }, kL = { class: "pbx-flex pbx-justify-start
|
|
|
24981
24981
|
"leave-to-class": "pbx-opacity-0"
|
|
24982
24982
|
}, {
|
|
24983
24983
|
default: V(() => [
|
|
24984
|
-
F(x(
|
|
24984
|
+
F(x(io), { class: "pbx-headless-dropdown pbx-absolute pbx-min-w-[12rem] pbx-z-40 pbx-mt-1 pbx-max-h-56 pbx-w-full pbx-overflow-auto pbx-rounded-md pbx-bg-gray-50 pbx-py-1 pbx-text-base pbx-shadow-lg pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 focus:pbx-outline-none sm:pbx-text-sm" }, {
|
|
24985
24985
|
default: V(() => [
|
|
24986
|
-
(y(!0), w(G, null, ne(x(zo).textColorVariables, (a) => (y(), re(x(
|
|
24986
|
+
(y(!0), w(G, null, ne(x(zo).textColorVariables, (a) => (y(), re(x(oo), {
|
|
24987
24987
|
as: "template",
|
|
24988
24988
|
onClick: l[0] || (l[0] = (d) => x(t).handleTextColor(o.value)),
|
|
24989
24989
|
key: a,
|
|
@@ -25052,7 +25052,7 @@ const CL = { class: "pbx-relative" }, kL = { class: "pbx-flex pbx-justify-start
|
|
|
25052
25052
|
o.value = s, await t.initializeElementStyles();
|
|
25053
25053
|
},
|
|
25054
25054
|
{ immediate: !0 }
|
|
25055
|
-
), (s, l) => (y(), re(x(
|
|
25055
|
+
), (s, l) => (y(), re(x(no), {
|
|
25056
25056
|
as: "div",
|
|
25057
25057
|
modelValue: o.value,
|
|
25058
25058
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => o.value = a)
|
|
@@ -25113,9 +25113,9 @@ const CL = { class: "pbx-relative" }, kL = { class: "pbx-flex pbx-justify-start
|
|
|
25113
25113
|
"leave-to-class": "pbx-opacity-0"
|
|
25114
25114
|
}, {
|
|
25115
25115
|
default: V(() => [
|
|
25116
|
-
F(x(
|
|
25116
|
+
F(x(io), { class: "pbx-headless-dropdown pbx-absolute pbx-min-w-[12rem] pbx-z-40 pbx-mt-1 pbx-max-h-56 pbx-w-full pbx-overflow-auto pbx-rounded-md pbx-bg-gray-50 pbx-py-1 pbx-text-base pbx-shadow-lg pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 focus:pbx-outline-none sm:pbx-text-sm" }, {
|
|
25117
25117
|
default: V(() => [
|
|
25118
|
-
(y(!0), w(G, null, ne(x(zo).backgroundColorVariables, (a) => (y(), re(x(
|
|
25118
|
+
(y(!0), w(G, null, ne(x(zo).backgroundColorVariables, (a) => (y(), re(x(oo), {
|
|
25119
25119
|
as: "template",
|
|
25120
25120
|
onClick: l[0] || (l[0] = (d) => x(t).handleBackgroundColor(o.value)),
|
|
25121
25121
|
key: a,
|
|
@@ -25196,7 +25196,7 @@ const CL = { class: "pbx-relative" }, kL = { class: "pbx-flex pbx-justify-start
|
|
|
25196
25196
|
}, v.value = function() {
|
|
25197
25197
|
t.toggleTipTapModal(!0);
|
|
25198
25198
|
};
|
|
25199
|
-
},
|
|
25199
|
+
}, P = L(() => i.getBasePrimaryImage), H = k(!1), I = k(""), D = k(""), z = k(""), O = k(null), _ = k(null), q = k(null), X = function() {
|
|
25200
25200
|
H.value = !0, I.value = e("Media Library"), D.value = null, z.value = e("Close"), O.value = e("Select image"), q.value = function() {
|
|
25201
25201
|
H.value = !1;
|
|
25202
25202
|
};
|
|
@@ -25215,8 +25215,8 @@ const CL = { class: "pbx-relative" }, kL = { class: "pbx-flex pbx-justify-start
|
|
|
25215
25215
|
};
|
|
25216
25216
|
}, ue = k(!1), Jr = async () => {
|
|
25217
25217
|
i.setToggleGlobalHtmlMode(!1), ue.value = !1, i.setShowModalHTMLEditor(!0);
|
|
25218
|
-
}, Vn = k(!1), gn = k(""),
|
|
25219
|
-
Vn.value = !0, gn.value = "delete",
|
|
25218
|
+
}, Vn = k(!1), gn = k(""), ro = k(1), so = k(""), lo = k(""), Vt = k(""), fi = k(null), bi = k(null), mi = k(null), ao = k(null), jn = k(null), et = function() {
|
|
25219
|
+
Vn.value = !0, gn.value = "delete", ro.value = 2, so.value = e("Remove Component?"), lo.value = e("Are you sure you want to remove this Component?"), Vt.value = e("Close"), fi.value = null, bi.value = e("Delete"), mi.value = function() {
|
|
25220
25220
|
Vn.value = !1;
|
|
25221
25221
|
}, jn.value = async function() {
|
|
25222
25222
|
await t.deleteComponentFromDOM(), Vn.value = !1;
|
|
@@ -25293,14 +25293,14 @@ const CL = { class: "pbx-relative" }, kL = { class: "pbx-flex pbx-justify-start
|
|
|
25293
25293
|
F(ln, {
|
|
25294
25294
|
showDynamicModalBuilder: Vn.value,
|
|
25295
25295
|
type: gn.value,
|
|
25296
|
-
gridColumnAmount:
|
|
25297
|
-
title:
|
|
25298
|
-
description:
|
|
25296
|
+
gridColumnAmount: ro.value,
|
|
25297
|
+
title: so.value,
|
|
25298
|
+
description: lo.value,
|
|
25299
25299
|
firstButtonText: Vt.value,
|
|
25300
25300
|
secondButtonText: fi.value,
|
|
25301
25301
|
thirdButtonText: bi.value,
|
|
25302
25302
|
onFirstModalButtonFunctionDynamicModalBuilder: mi.value,
|
|
25303
|
-
onSecondModalButtonFunctionDynamicModalBuilder:
|
|
25303
|
+
onSecondModalButtonFunctionDynamicModalBuilder: ao.value,
|
|
25304
25304
|
onThirdModalButtonFunctionDynamicModalBuilder: jn.value
|
|
25305
25305
|
}, {
|
|
25306
25306
|
default: V(() => [...J[11] || (J[11] = [
|
|
@@ -25351,7 +25351,7 @@ const CL = { class: "pbx-relative" }, kL = { class: "pbx-flex pbx-justify-start
|
|
|
25351
25351
|
]),
|
|
25352
25352
|
F(ES)
|
|
25353
25353
|
], 64)) : E("", !0),
|
|
25354
|
-
r.value && d.value &&
|
|
25354
|
+
r.value && d.value && P.value && !x(t).ElOrFirstChildIsIframe() ? (y(), w("div", QL, [
|
|
25355
25355
|
p("div", {
|
|
25356
25356
|
onClick: X,
|
|
25357
25357
|
class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-flex pbx-items-center pbx-justify-center hover:pbx-bg-gray-100 pbx-aspect-square pbx-text-myPrimaryDarkGrayColor pbx-bg-gray-100 pbx-rounded-xl hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white"
|
|
@@ -25359,7 +25359,7 @@ const CL = { class: "pbx-relative" }, kL = { class: "pbx-flex pbx-justify-start
|
|
|
25359
25359
|
p("span", { class: "material-symbols-outlined" }, " add_photo_alternate ", -1)
|
|
25360
25360
|
])])
|
|
25361
25361
|
])) : E("", !0),
|
|
25362
|
-
r.value && r.value.nodeType === 1 && !
|
|
25362
|
+
r.value && r.value.nodeType === 1 && !P.value && !x(t).ElOrFirstChildIsIframe() ? (y(), re(PS, { key: 3 })) : E("", !0),
|
|
25363
25363
|
(r.value, E("", !0)),
|
|
25364
25364
|
r.value && d.value ? (y(), w("div", {
|
|
25365
25365
|
key: 5,
|
|
@@ -26860,7 +26860,7 @@ const k5 = ["src"], T5 = {
|
|
|
26860
26860
|
for: "bg-opacity",
|
|
26861
26861
|
class: "pbx-myPrimaryInputLabel"
|
|
26862
26862
|
}, " Background Opacity", -1)),
|
|
26863
|
-
F(x(
|
|
26863
|
+
F(x(no), {
|
|
26864
26864
|
as: "div",
|
|
26865
26865
|
modelValue: i.value,
|
|
26866
26866
|
"onUpdate:modelValue": s[0] || (s[0] = (l) => i.value = l)
|
|
@@ -26895,9 +26895,9 @@ const k5 = ["src"], T5 = {
|
|
|
26895
26895
|
"leave-to-class": "pbx-opacity-0"
|
|
26896
26896
|
}, {
|
|
26897
26897
|
default: V(() => [
|
|
26898
|
-
F(x(
|
|
26898
|
+
F(x(io), { class: "pbx-absolute pbx-z-10 pbx-mt-1 pbx-max-h-56 pbx-w-full pbx-overflow-auto pbx-rounded-md pbx-bg-white pbx-text-base pbx-shadow-lg pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 focus:pbx-outline-none sm:pbx-text-sm pbx-list-none pbx-p-0 pbx-m-0" }, {
|
|
26899
26899
|
default: V(() => [
|
|
26900
|
-
(y(!0), w(G, null, ne(x(Fo).backgroundOpacities, (l) => (y(), re(x(
|
|
26900
|
+
(y(!0), w(G, null, ne(x(Fo).backgroundOpacities, (l) => (y(), re(x(oo), {
|
|
26901
26901
|
as: "template",
|
|
26902
26902
|
onClick: (a) => x(e).handleBackgroundOpacity(l),
|
|
26903
26903
|
key: l,
|
|
@@ -26960,7 +26960,7 @@ const k5 = ["src"], T5 = {
|
|
|
26960
26960
|
for: "default-opacity",
|
|
26961
26961
|
class: "pbx-myPrimaryInputLabel"
|
|
26962
26962
|
}, " Opacity", -1)),
|
|
26963
|
-
F(x(
|
|
26963
|
+
F(x(no), {
|
|
26964
26964
|
as: "div",
|
|
26965
26965
|
modelValue: i.value,
|
|
26966
26966
|
"onUpdate:modelValue": s[0] || (s[0] = (l) => i.value = l)
|
|
@@ -26995,9 +26995,9 @@ const k5 = ["src"], T5 = {
|
|
|
26995
26995
|
"leave-to-class": "pbx-opacity-0"
|
|
26996
26996
|
}, {
|
|
26997
26997
|
default: V(() => [
|
|
26998
|
-
F(x(
|
|
26998
|
+
F(x(io), { class: "pbx-absolute pbx-z-10 pbx-mt-1 pbx-max-h-56 pbx-w-full pbx-overflow-auto pbx-rounded-md pbx-bg-white pbx-text-base pbx-shadow-lg pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 focus:pbx-outline-none sm:pbx-text-sm pbx-list-none pbx-p-0 pbx-m-0" }, {
|
|
26999
26999
|
default: V(() => [
|
|
27000
|
-
(y(!0), w(G, null, ne(x(Fo).opacities, (l) => (y(), re(x(
|
|
27000
|
+
(y(!0), w(G, null, ne(x(Fo).opacities, (l) => (y(), re(x(oo), {
|
|
27001
27001
|
as: "template",
|
|
27002
27002
|
onClick: (a) => x(e).handleOpacity(l),
|
|
27003
27003
|
key: l,
|
|
@@ -27449,7 +27449,7 @@ const k5 = ["src"], T5 = {
|
|
|
27449
27449
|
u[9] || (u[9] = p("hr", null, null, -1)),
|
|
27450
27450
|
p("div", AI, [
|
|
27451
27451
|
p("label", II, C(x(e)("Border Color")), 1),
|
|
27452
|
-
F(x(
|
|
27452
|
+
F(x(no), {
|
|
27453
27453
|
as: "div",
|
|
27454
27454
|
modelValue: s.value,
|
|
27455
27455
|
"onUpdate:modelValue": u[5] || (u[5] = (h) => s.value = h)
|
|
@@ -27485,9 +27485,9 @@ const k5 = ["src"], T5 = {
|
|
|
27485
27485
|
"leave-to-class": "pbx-opacity-0"
|
|
27486
27486
|
}, {
|
|
27487
27487
|
default: V(() => [
|
|
27488
|
-
F(x(
|
|
27488
|
+
F(x(io), { class: "pbx-absolute pbx-z-10 pbx-mt-1 pbx-max-h-56 pbx-w-full pbx-overflow-auto pbx-rounded-md pbx-bg-white pbx-text-base pbx-shadow-lg pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 focus:pbx-outline-none sm:pbx-text-sm pbx-list-none pbx-p-0 pbx-m-0" }, {
|
|
27489
27489
|
default: V(() => [
|
|
27490
|
-
(y(!0), w(G, null, ne(x(ni).borderColor, (h) => (y(), re(x(
|
|
27490
|
+
(y(!0), w(G, null, ne(x(ni).borderColor, (h) => (y(), re(x(oo), {
|
|
27491
27491
|
as: "template",
|
|
27492
27492
|
onClick: u[4] || (u[4] = (f) => x(t).handleBorderColor(s.value)),
|
|
27493
27493
|
key: h,
|
|
@@ -27749,11 +27749,11 @@ const k5 = ["src"], T5 = {
|
|
|
27749
27749
|
"<wbr"
|
|
27750
27750
|
];
|
|
27751
27751
|
return T.forEach((M) => {
|
|
27752
|
-
const
|
|
27753
|
-
if (!
|
|
27754
|
-
const H =
|
|
27752
|
+
const P = M.trim();
|
|
27753
|
+
if (!P) return;
|
|
27754
|
+
const H = P.startsWith("<") && P.endsWith(">"), I = H && P.startsWith("</");
|
|
27755
27755
|
I && (m = Math.max(0, m - 1));
|
|
27756
|
-
let D = b.repeat(m) +
|
|
27756
|
+
let D = b.repeat(m) + P;
|
|
27757
27757
|
H && (D = D.replace(/(<\/?[[\w\s="/.':;#-\/\?]+>)/g, (z) => {
|
|
27758
27758
|
var q;
|
|
27759
27759
|
const O = (q = z.match(/<\/?([\w-]+)/)) == null ? void 0 : q[1];
|
|
@@ -27766,7 +27766,7 @@ const k5 = ["src"], T5 = {
|
|
|
27766
27766
|
'<span class="html-attribute-name">$1</span><span class="html-operator">=</span><span class="html-attribute-value">$2</span>'
|
|
27767
27767
|
), _ + '<span class="html-tag-symbol">></span>';
|
|
27768
27768
|
})), g += D + `
|
|
27769
|
-
`, H && !I && (
|
|
27769
|
+
`, H && !I && (P.endsWith("/>") || v.some((O) => P.startsWith(O)) || m++);
|
|
27770
27770
|
}), g;
|
|
27771
27771
|
}
|
|
27772
27772
|
const d = function(f, b) {
|
|
@@ -27825,7 +27825,7 @@ const k5 = ["src"], T5 = {
|
|
|
27825
27825
|
u.value = f;
|
|
27826
27826
|
}
|
|
27827
27827
|
return (f, b) => {
|
|
27828
|
-
var m, g, S, T, v, M,
|
|
27828
|
+
var m, g, S, T, v, M, P, H, I, D;
|
|
27829
27829
|
return y(), w("div", null, [
|
|
27830
27830
|
p("div", null, [
|
|
27831
27831
|
p("div", oD, [
|
|
@@ -28032,7 +28032,7 @@ const k5 = ["src"], T5 = {
|
|
|
28032
28032
|
]),
|
|
28033
28033
|
p("tbody", p$, [
|
|
28034
28034
|
p("tr", null, [
|
|
28035
|
-
p("td", c$, C((v = i.value) != null && v.classList ? (M = i.value) == null ? void 0 : M.classList : typeof ((
|
|
28035
|
+
p("td", c$, C((v = i.value) != null && v.classList ? (M = i.value) == null ? void 0 : M.classList : typeof ((P = i.value) == null ? void 0 : P.classList)), 1)
|
|
28036
28036
|
])
|
|
28037
28037
|
])
|
|
28038
28038
|
])
|
|
@@ -28383,67 +28383,67 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28383
28383
|
}, U6 = {
|
|
28384
28384
|
key: 1,
|
|
28385
28385
|
class: "pbx-h-10 pbx-w-4 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-justify-center"
|
|
28386
|
-
}, G6 = { class: "lg:pbx-block pbx-hidden" }, K6 = { class: "lg:pbx-hidden pbx-block" }, J6 = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-
|
|
28386
|
+
}, G6 = { class: "lg:pbx-block pbx-hidden" }, K6 = { class: "lg:pbx-hidden pbx-block" }, J6 = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2 pbx-border-gray-200" }, Y6 = { class: "pbx-cursor-pointer lg:pbx-block lg:pbx-pr-4 pbx-hidden" }, Q6 = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-mr-2" }, X6 = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2" }, Z6 = { class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white" }, e9 = {
|
|
28387
28387
|
fill: "currentColor",
|
|
28388
28388
|
height: "22",
|
|
28389
28389
|
viewBox: "0 0 22 22",
|
|
28390
28390
|
width: "22",
|
|
28391
28391
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28392
28392
|
style: { display: "block" }
|
|
28393
|
-
},
|
|
28393
|
+
}, t9 = { class: "lg:pbx-flex pbx-hidden pbx-items-center pbx-justify-center" }, n9 = { class: "pbx-flex pbx-items-center pbx-justify-center pbx-gap-2" }, i9 = { class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white" }, o9 = {
|
|
28394
28394
|
fill: "currentColor",
|
|
28395
28395
|
height: "22",
|
|
28396
28396
|
viewBox: "0 0 22 22",
|
|
28397
28397
|
width: "22",
|
|
28398
28398
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28399
28399
|
style: { display: "block" }
|
|
28400
|
-
},
|
|
28400
|
+
}, r9 = { class: "pbx-flex-1 pbx-flex gap-2 pbx-items-center pbx-justify-end" }, s9 = {
|
|
28401
28401
|
key: 0,
|
|
28402
28402
|
class: "pbx-flex-1 pbx-ml-2"
|
|
28403
|
-
},
|
|
28403
|
+
}, l9 = {
|
|
28404
28404
|
key: 0,
|
|
28405
28405
|
class: "pbx-flex-1 pbx-flex pbx-justify-end pbx-items-center pbx-ml-2 lg:pbx-mr-4 pbx-mr-2"
|
|
28406
|
-
},
|
|
28406
|
+
}, a9 = ["value"], d9 = ["value"], p9 = {
|
|
28407
28407
|
key: 2,
|
|
28408
28408
|
class: "pbx-flex-1 pbx-ml-2 pbx-mr-2"
|
|
28409
|
-
},
|
|
28409
|
+
}, c9 = {
|
|
28410
28410
|
id: "pagebuilder-main",
|
|
28411
28411
|
class: "lg:pbx-min-w-full lg:pbx-max-w-full lg:pbx-w-full pbx-min-w-[64rem] pbx-max-w-[64rem] pbx-w-[64rem] pbx-flex-1 pbx-relative pbx-h-full pbx-flex pbx-pb-2 pbx-gap-2"
|
|
28412
|
-
},
|
|
28412
|
+
}, u9 = { class: "pbx-mx-2 pbx-flex pbx-flex-col pbx-myPrimaryGap pbx-items-stretch" }, h9 = {
|
|
28413
28413
|
id: "pbxEditToolbar",
|
|
28414
28414
|
class: "pbx-z-30 pbx-flex pbx-gap-2 pbx-justify-center pbx-items-center pbx-rounded-sm pbx-px-2 pbx-h-0 pbx-min-w-52 pbx-relative"
|
|
28415
|
-
},
|
|
28415
|
+
}, f9 = {
|
|
28416
28416
|
id: "pagebuilder",
|
|
28417
28417
|
class: "pbx-text-black pbx-font-sans"
|
|
28418
|
-
},
|
|
28418
|
+
}, b9 = {
|
|
28419
28419
|
key: 0,
|
|
28420
28420
|
id: "nolocalstorage"
|
|
28421
|
-
},
|
|
28421
|
+
}, m9 = { class: "pbx-flex pbx-justify-center pbx-w-full pbx-absolute pbx-items-center" }, g9 = { class: "pbx-flex pbx-items-center pbx-gap-2" }, x9 = { class: "pbx-font-medium pbx-break-words lg:pbx-text-lg md:pbx-text-lg pbx-text-base pbx-font-sans" }, y9 = {
|
|
28422
28422
|
key: 1,
|
|
28423
28423
|
id: "nolocalstorage"
|
|
28424
|
-
},
|
|
28424
|
+
}, v9 = { class: "pbx-flex pbx-justify-end pbx-w-full pbx-h-0 pbx-items-center pbx-border pbx-border-transparent hover:pbx-border hover:pbx-border-gray-200 pbx-rounded-r-full pbx-z-10" }, S9 = { class: "pbx-flex pbx-items-center pbx-gap-1" }, w9 = { class: "lg:pbx-block pbx-hidden" }, C9 = ["innerHTML", "onMouseup"], k9 = {
|
|
28425
28425
|
key: 1,
|
|
28426
28426
|
id: "nolocalstorage"
|
|
28427
|
-
},
|
|
28427
|
+
}, T9 = { class: "pbx-flex pbx-justify-end pbx-w-full pbx-h-0 pbx-items-center pbx-border pbx-border-transparent hover:pbx-border hover:pbx-border-gray-200 pbx-rounded-r-full pbx-z-10" }, M9 = ["onClick"], E9 = { class: "pbx-flex pbx-items-center pbx-gap-1" }, P9 = { class: "lg:pbx-block pbx-hidden" }, B9 = {
|
|
28428
28428
|
fill: "currentColor",
|
|
28429
28429
|
height: "22",
|
|
28430
28430
|
viewBox: "0 0 22 22",
|
|
28431
28431
|
width: "22",
|
|
28432
28432
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28433
28433
|
style: { display: "block" }
|
|
28434
|
-
},
|
|
28434
|
+
}, L9 = { class: "pbx-flex pbx-justify-end pbx-min-h-6" }, A9 = {
|
|
28435
28435
|
key: 0,
|
|
28436
28436
|
class: "pbx-myPrimaryParagraphError"
|
|
28437
|
-
},
|
|
28437
|
+
}, I9 = { class: "pbx-border-0 pbx-border-solid pbx-border-t pbx-border-gray-200 pbx-flex pbx-items-center pbx-justify-end" }, D9 = { class: "pbx-py-4 pbx-flex sm:pbx-justify-end pbx-justify-center" }, $9 = { class: "sm:pbx-grid-cols-2 sm:pbx-items-end sm:pbx-justify-end pbx-flex pbx-flex-row pbx-myPrimaryGap pbx-w-full" }, O9 = {
|
|
28438
28438
|
key: 1,
|
|
28439
28439
|
class: "pbx-flex pbx-items-center pbx-my-2 pbx-justify-end"
|
|
28440
|
-
},
|
|
28440
|
+
}, _9 = { class: "pbx-flex pbx-justify-end pbx-min-h-6" }, N9 = {
|
|
28441
28441
|
key: 0,
|
|
28442
28442
|
class: "pbx-myPrimaryParagraphError"
|
|
28443
|
-
},
|
|
28443
|
+
}, H9 = { class: "pbx-border-0 pbx-border-solid pbx-border-t pbx-border-gray-200 pbx-flex pbx-items-center pbx-justify-end" }, R9 = { class: "pbx-py-4 pbx-flex sm:pbx-justify-end pbx-justify-center" }, z9 = { class: "sm:pbx-grid-cols-2 sm:pbx-items-end sm:pbx-justify-end pbx-flex pbx-flex-row pbx-myPrimaryGap pbx-w-full" }, F9 = {
|
|
28444
28444
|
key: 1,
|
|
28445
28445
|
class: "pbx-flex pbx-items-center pbx-my-2 pbx-justify-end"
|
|
28446
|
-
},
|
|
28446
|
+
}, G9 = {
|
|
28447
28447
|
__name: "PageBuilder",
|
|
28448
28448
|
props: {
|
|
28449
28449
|
CustomMediaLibraryComponent: {
|
|
@@ -28473,10 +28473,10 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28473
28473
|
), b.value = null, m.value = o("Close Page Builder"), g.value = null, S.value = async function() {
|
|
28474
28474
|
u.value = !1;
|
|
28475
28475
|
}, T.value = function() {
|
|
28476
|
-
|
|
28476
|
+
P();
|
|
28477
28477
|
}, v.value = async function() {
|
|
28478
28478
|
};
|
|
28479
|
-
},
|
|
28479
|
+
}, P = function() {
|
|
28480
28480
|
u.value = !1, a("handleClosePageBuilder");
|
|
28481
28481
|
}, H = async function() {
|
|
28482
28482
|
l.setIsLoadingGlobal(!0), await t.handleManualSave(), l.setIsLoadingGlobal(!1), a("handlePublishPageBuilder");
|
|
@@ -28490,8 +28490,8 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28490
28490
|
Y(D, async (K) => {
|
|
28491
28491
|
if (K && !z) {
|
|
28492
28492
|
O.value = !0, await ve(200), await r(K), t.changeLanguage(K);
|
|
28493
|
-
const
|
|
28494
|
-
|
|
28493
|
+
const B = JSON.parse(localStorage.getItem("userSettingsPageBuilder")) || {};
|
|
28494
|
+
B.lang = K, localStorage.setItem("userSettingsPageBuilder", JSON.stringify(B)), O.value = !1;
|
|
28495
28495
|
}
|
|
28496
28496
|
});
|
|
28497
28497
|
const _ = L(() => l.getBuilderStarted), q = L(() => l.getPageBuilderConfig), X = L(() => l.getMenuRight), N = k(!1), ie = k(""), Re = k(""), ht = function() {
|
|
@@ -28502,18 +28502,18 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28502
28502
|
t.previewCurrentDesign();
|
|
28503
28503
|
}, Vn = function() {
|
|
28504
28504
|
Re.value = o("Mobile"), Jr(), ue.value = !0;
|
|
28505
|
-
}, gn = k(!1),
|
|
28505
|
+
}, gn = k(!1), ro = function() {
|
|
28506
28506
|
gn.value = !1;
|
|
28507
|
-
},
|
|
28507
|
+
}, so = function() {
|
|
28508
28508
|
N.value = !1;
|
|
28509
|
-
},
|
|
28509
|
+
}, lo = function() {
|
|
28510
28510
|
ue.value = !1;
|
|
28511
|
-
}, Vt = k(!1), fi = k(""), bi = k(""), mi = k(null),
|
|
28511
|
+
}, Vt = k(!1), fi = k(""), bi = k(""), mi = k(null), ao = async function() {
|
|
28512
28512
|
await t.clearHtmlSelection(), fi.value = o("Add Components to Page"), bi.value = o("Close"), Vt.value = !0, mi.value = function() {
|
|
28513
28513
|
Vt.value = !1;
|
|
28514
28514
|
};
|
|
28515
28515
|
}, jn = function(K) {
|
|
28516
|
-
l.setAddComponentAddIndex(K), l.setComponentArrayAddMethod("insert"),
|
|
28516
|
+
l.setAddComponentAddIndex(K), l.setComponentArrayAddMethod("insert"), ao();
|
|
28517
28517
|
}, et = L(() => l.getElement), Ee = L(() => l.getComponents), J = L(() => l.getHasLocalDraftForUpdate), ot = L(() => l.getToggleGlobalHtmlMode);
|
|
28518
28518
|
Y(J, (K) => {
|
|
28519
28519
|
K && VS();
|
|
@@ -28525,8 +28525,8 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28525
28525
|
class: et.value.getAttribute("class"),
|
|
28526
28526
|
dataImage: et.value.getAttribute("data-image")
|
|
28527
28527
|
}), NS = A6();
|
|
28528
|
-
Y(_S, async (K,
|
|
28529
|
-
((K == null ? void 0 : K.src) !== (
|
|
28528
|
+
Y(_S, async (K, B) => {
|
|
28529
|
+
((K == null ? void 0 : K.src) !== (B == null ? void 0 : B.src) || (K == null ? void 0 : K.href) !== (B == null ? void 0 : B.href) || (K == null ? void 0 : K.style) !== (B == null ? void 0 : B.style) || (K == null ? void 0 : K.class) !== (B == null ? void 0 : B.class) || (K == null ? void 0 : K.dataImage) !== (B == null ? void 0 : B.dataImage)) && NS(async () => {
|
|
28530
28530
|
await t.initializeElementStyles();
|
|
28531
28531
|
}, 200);
|
|
28532
28532
|
});
|
|
@@ -28585,25 +28585,25 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28585
28585
|
K && (K.classList.remove("is-visible"), K.removeAttribute("style"));
|
|
28586
28586
|
};
|
|
28587
28587
|
function bo() {
|
|
28588
|
-
const K = Zr.value,
|
|
28589
|
-
if (!K || !
|
|
28588
|
+
const K = Zr.value, B = K && K.querySelector("#pbxEditToolbar");
|
|
28589
|
+
if (!K || !B) return;
|
|
28590
28590
|
const ae = K.querySelector("[selected]");
|
|
28591
28591
|
if (ae && typeof ae.getBoundingClientRect == "function") {
|
|
28592
|
-
const
|
|
28593
|
-
let es =
|
|
28592
|
+
const xi = ae.getBoundingClientRect(), mo = K.getBoundingClientRect();
|
|
28593
|
+
let es = xi.left - mo.left + xi.width / 2 - B.offsetWidth / 2;
|
|
28594
28594
|
const Ta = 20;
|
|
28595
28595
|
es = Math.max(
|
|
28596
28596
|
Ta,
|
|
28597
|
-
Math.min(es, K.offsetWidth -
|
|
28597
|
+
Math.min(es, K.offsetWidth - B.offsetWidth - Ta)
|
|
28598
28598
|
);
|
|
28599
|
-
const JS =
|
|
28600
|
-
|
|
28599
|
+
const JS = xi.top - mo.top + K.scrollTop - B.offsetHeight - 20, YS = Math.max(0, JS);
|
|
28600
|
+
B.style.position = "absolute", B.style.left = `${es}px`, B.style.top = `${YS}px`, B.classList.add("is-visible");
|
|
28601
28601
|
} else
|
|
28602
|
-
|
|
28602
|
+
B.classList.remove("is-visible"), B.removeAttribute("style");
|
|
28603
28603
|
}
|
|
28604
|
-
const
|
|
28604
|
+
const gi = JSON.parse(localStorage.getItem("userSettingsPageBuilder"));
|
|
28605
28605
|
return Ln(async () => {
|
|
28606
|
-
await t.completeBuilderInitialization(void 0, !0),
|
|
28606
|
+
await t.completeBuilderInitialization(void 0, !0), gi && gi.lang && (D.value = gi.lang), q.value && q.value.userSettings && q.value.userSettings.language && q.value.userSettings.language.default && (!gi || !gi.lang) && (D.value = q.value.userSettings.language.default), await r(D.value), z = !1, bo();
|
|
28607
28607
|
const K = Zr.value;
|
|
28608
28608
|
if (!K) return;
|
|
28609
28609
|
new MutationObserver(bo).observe(K, {
|
|
@@ -28612,18 +28612,18 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28612
28612
|
attributes: !0,
|
|
28613
28613
|
attributeFilter: ["selected"]
|
|
28614
28614
|
}), window.addEventListener("scroll", bo), window.addEventListener("resize", bo), await ve(1e4), Xr(), await ve(1e4), Xr(), await ve(1e4), Xr();
|
|
28615
|
-
}), (K,
|
|
28615
|
+
}), (K, B) => (y(), w(G, null, [
|
|
28616
28616
|
p("div", N6, [
|
|
28617
28617
|
RS.value && !gn.value || O.value ? (y(), re(OS, { key: 0 })) : E("", !0),
|
|
28618
28618
|
F($t, {
|
|
28619
28619
|
title: "The builder hasn’t started yet",
|
|
28620
28620
|
showModalBuilder: gn.value,
|
|
28621
|
-
onCloseMainModalBuilder:
|
|
28621
|
+
onCloseMainModalBuilder: ro,
|
|
28622
28622
|
type: "delete",
|
|
28623
28623
|
maxWidth: "2xl",
|
|
28624
28624
|
noBackgroundOpacity: !0
|
|
28625
28625
|
}, {
|
|
28626
|
-
default: V(() => [...
|
|
28626
|
+
default: V(() => [...B[23] || (B[23] = [
|
|
28627
28627
|
Ae(" The builder hasn’t started yet. If this screen doesn’t go away soon, it may just need a little setup in the background. You can safely contact support and ask them to initialize the builder by running the startBuilder method for this resource. ", -1)
|
|
28628
28628
|
])]),
|
|
28629
28629
|
_: 1
|
|
@@ -28650,7 +28650,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28650
28650
|
onSecondModalButtonFunctionDynamicModalBuilder: T.value,
|
|
28651
28651
|
onThirdModalButtonFunctionDynamicModalBuilder: v.value
|
|
28652
28652
|
}, {
|
|
28653
|
-
default: V(() => [...
|
|
28653
|
+
default: V(() => [...B[24] || (B[24] = [
|
|
28654
28654
|
p("header", null, null, -1),
|
|
28655
28655
|
p("main", null, null, -1)
|
|
28656
28656
|
])]),
|
|
@@ -28659,7 +28659,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28659
28659
|
F($t, {
|
|
28660
28660
|
title: ie.value,
|
|
28661
28661
|
showModalBuilder: N.value,
|
|
28662
|
-
onCloseMainModalBuilder:
|
|
28662
|
+
onCloseMainModalBuilder: so,
|
|
28663
28663
|
maxWidth: "screen"
|
|
28664
28664
|
}, {
|
|
28665
28665
|
default: V(() => [
|
|
@@ -28670,7 +28670,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28670
28670
|
F($t, {
|
|
28671
28671
|
title: Re.value,
|
|
28672
28672
|
showModalBuilder: ue.value,
|
|
28673
|
-
onCloseMainModalBuilder:
|
|
28673
|
+
onCloseMainModalBuilder: lo,
|
|
28674
28674
|
maxWidth: "lg"
|
|
28675
28675
|
}, {
|
|
28676
28676
|
default: V(() => [
|
|
@@ -28692,7 +28692,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28692
28692
|
onSecondModalButtonFunctionDynamicModalBuilder: ha.value,
|
|
28693
28693
|
onThirdModalButtonFunctionDynamicModalBuilder: fa.value
|
|
28694
28694
|
}, {
|
|
28695
|
-
default: V(() => [...
|
|
28695
|
+
default: V(() => [...B[25] || (B[25] = [
|
|
28696
28696
|
p("header", null, null, -1),
|
|
28697
28697
|
p("main", null, null, -1)
|
|
28698
28698
|
])]),
|
|
@@ -28712,7 +28712,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28712
28712
|
onSecondModalButtonFunctionDynamicModalBuilder: wa.value,
|
|
28713
28713
|
onThirdModalButtonFunctionDynamicModalBuilder: Ca.value
|
|
28714
28714
|
}, {
|
|
28715
|
-
default: V(() => [...
|
|
28715
|
+
default: V(() => [...B[26] || (B[26] = [
|
|
28716
28716
|
p("header", null, null, -1),
|
|
28717
28717
|
p("main", null, null, -1)
|
|
28718
28718
|
])]),
|
|
@@ -28721,7 +28721,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28721
28721
|
p("div", H6, [
|
|
28722
28722
|
q.value && q.value.pageBuilderLogo && q.value.pageBuilderLogo.src ? (y(), w("div", {
|
|
28723
28723
|
key: 0,
|
|
28724
|
-
onClick:
|
|
28724
|
+
onClick: B[0] || (B[0] = Ye(
|
|
28725
28725
|
async () => {
|
|
28726
28726
|
await x(t).clearHtmlSelection();
|
|
28727
28727
|
},
|
|
@@ -28737,7 +28737,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28737
28737
|
])) : E("", !0),
|
|
28738
28738
|
F(_6, { onToolbarHideRequest: KS }),
|
|
28739
28739
|
p("div", {
|
|
28740
|
-
onClick:
|
|
28740
|
+
onClick: B[3] || (B[3] = Ye(
|
|
28741
28741
|
async () => {
|
|
28742
28742
|
await x(t).clearHtmlSelection();
|
|
28743
28743
|
},
|
|
@@ -28748,7 +28748,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28748
28748
|
p("div", z6, [
|
|
28749
28749
|
p("button", {
|
|
28750
28750
|
class: "pbx-mySecondaryButton pbx-h-6 pbx-flex pbx-gap-2 pbx-mr-2",
|
|
28751
|
-
onClick:
|
|
28751
|
+
onClick: B[1] || (B[1] = Ye(
|
|
28752
28752
|
async () => {
|
|
28753
28753
|
await x(t).clearHtmlSelection(), await x(t).handleManualSave();
|
|
28754
28754
|
},
|
|
@@ -28757,10 +28757,10 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28757
28757
|
type: "button",
|
|
28758
28758
|
disabled: Yr.value
|
|
28759
28759
|
}, [
|
|
28760
|
-
Yr.value ? E("", !0) : (y(), w("div", V6, [...
|
|
28760
|
+
Yr.value ? E("", !0) : (y(), w("div", V6, [...B[27] || (B[27] = [
|
|
28761
28761
|
p("span", { class: "material-symbols-outlined" }, "save", -1)
|
|
28762
28762
|
])])),
|
|
28763
|
-
Yr.value ? (y(), w("div", j6, [...
|
|
28763
|
+
Yr.value ? (y(), w("div", j6, [...B[28] || (B[28] = [
|
|
28764
28764
|
p("span", { class: "pbx-relative pbx-flex pbx-size-3" }, [
|
|
28765
28765
|
p("span", { class: "pbx-absolute pbx-inline-flex pbx-h-full pbx-w-full pbx-animate-ping pbx-rounded-full pbx-bg-gray-400 pbx-opacity-75" }),
|
|
28766
28766
|
p("span", { class: "pbx-relative pbx-inline-flex pbx-size-3 pbx-rounded-full pbx-bg-green-200" })
|
|
@@ -28771,7 +28771,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28771
28771
|
q.value && q.value.updateOrCreate && q.value.updateOrCreate.formType === "update" ? (y(), w("button", {
|
|
28772
28772
|
key: 0,
|
|
28773
28773
|
class: "pbx-mySecondaryButton pbx-h-6 pbx-flex pbx-gap-2 lg:pbx-mr-2 pbx-mr-2",
|
|
28774
|
-
onClick:
|
|
28774
|
+
onClick: B[2] || (B[2] = Ye(
|
|
28775
28775
|
async () => {
|
|
28776
28776
|
await x(t).clearHtmlSelection(), await qS();
|
|
28777
28777
|
},
|
|
@@ -28780,10 +28780,10 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28780
28780
|
type: "button",
|
|
28781
28781
|
disabled: po.value
|
|
28782
28782
|
}, [
|
|
28783
|
-
po.value ? E("", !0) : (y(), w("div", W6, [...
|
|
28783
|
+
po.value ? E("", !0) : (y(), w("div", W6, [...B[29] || (B[29] = [
|
|
28784
28784
|
p("span", { class: "material-symbols-outlined" }, " settings_backup_restore ", -1)
|
|
28785
28785
|
])])),
|
|
28786
|
-
po.value ? (y(), w("div", U6, [...
|
|
28786
|
+
po.value ? (y(), w("div", U6, [...B[30] || (B[30] = [
|
|
28787
28787
|
p("span", { class: "pbx-relative pbx-flex pbx-size-3" }, [
|
|
28788
28788
|
p("span", { class: "pbx-absolute pbx-inline-flex pbx-h-full pbx-w-full pbx-animate-ping pbx-rounded-full pbx-bg-gray-400 pbx-opacity-75" }),
|
|
28789
28789
|
p("span", { class: "pbx-relative pbx-inline-flex pbx-size-3 pbx-rounded-full pbx-bg-green-200" })
|
|
@@ -28799,7 +28799,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28799
28799
|
])
|
|
28800
28800
|
]),
|
|
28801
28801
|
p("div", {
|
|
28802
|
-
onClick:
|
|
28802
|
+
onClick: B[8] || (B[8] = Ye(
|
|
28803
28803
|
async () => {
|
|
28804
28804
|
await x(t).clearHtmlSelection();
|
|
28805
28805
|
},
|
|
@@ -28808,7 +28808,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28808
28808
|
class: "pbx-flex-1 pbx-flex pbx-justify-center pbx-items-center pbx-py-2 pbx-w-full"
|
|
28809
28809
|
}, [
|
|
28810
28810
|
p("div", {
|
|
28811
|
-
onClick:
|
|
28811
|
+
onClick: B[7] || (B[7] = Ye(
|
|
28812
28812
|
async () => {
|
|
28813
28813
|
await x(t).clearHtmlSelection();
|
|
28814
28814
|
},
|
|
@@ -28818,27 +28818,27 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28818
28818
|
}, [
|
|
28819
28819
|
p("div", {
|
|
28820
28820
|
class: "pbx-mr-2",
|
|
28821
|
-
onClick:
|
|
28822
|
-
x(l).setComponentArrayAddMethod("unshift"),
|
|
28821
|
+
onClick: B[4] || (B[4] = () => {
|
|
28822
|
+
x(l).setComponentArrayAddMethod("unshift"), ao();
|
|
28823
28823
|
})
|
|
28824
|
-
}, [
|
|
28825
|
-
p("div",
|
|
28826
|
-
p("span", { class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white" }, [
|
|
28824
|
+
}, [
|
|
28825
|
+
p("div", J6, [
|
|
28826
|
+
B[31] || (B[31] = p("span", { class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white" }, [
|
|
28827
28827
|
p("span", { class: "pbx-myMediumIcon material-symbols-outlined" }, " add ")
|
|
28828
|
-
]),
|
|
28829
|
-
p("span",
|
|
28830
|
-
]
|
|
28831
|
-
])
|
|
28832
|
-
p("div",
|
|
28828
|
+
], -1)),
|
|
28829
|
+
p("span", Y6, C(x(o)("Add")), 1)
|
|
28830
|
+
])
|
|
28831
|
+
]),
|
|
28832
|
+
p("div", Q6, [
|
|
28833
28833
|
p("div", {
|
|
28834
|
-
onClick:
|
|
28834
|
+
onClick: B[5] || (B[5] = async () => {
|
|
28835
28835
|
x(l).setMenuRight(!1), x(l).setElement(null), await x(t).clearHtmlSelection(), Mt();
|
|
28836
28836
|
})
|
|
28837
28837
|
}, [
|
|
28838
|
-
p("div",
|
|
28839
|
-
p("span",
|
|
28838
|
+
p("div", X6, [
|
|
28839
|
+
p("span", Z6, [
|
|
28840
28840
|
p("span", null, [
|
|
28841
|
-
(y(), w("svg",
|
|
28841
|
+
(y(), w("svg", e9, [...B[32] || (B[32] = [
|
|
28842
28842
|
p("path", {
|
|
28843
28843
|
"clip-rule": "evenodd",
|
|
28844
28844
|
d: "M2 3h18v13h-8v2h3v2H7v-2h3v-2H2V3zm2 2v9h14V5H4z",
|
|
@@ -28850,15 +28850,15 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28850
28850
|
])
|
|
28851
28851
|
])
|
|
28852
28852
|
]),
|
|
28853
|
-
p("div",
|
|
28853
|
+
p("div", t9, [
|
|
28854
28854
|
p("div", {
|
|
28855
|
-
onClick:
|
|
28855
|
+
onClick: B[6] || (B[6] = async () => {
|
|
28856
28856
|
x(l).setMenuRight(!1), x(l).setElement(null), await x(t).clearHtmlSelection(), Vn();
|
|
28857
28857
|
})
|
|
28858
28858
|
}, [
|
|
28859
|
-
p("div",
|
|
28860
|
-
p("span",
|
|
28861
|
-
(y(), w("svg",
|
|
28859
|
+
p("div", n9, [
|
|
28860
|
+
p("span", i9, [
|
|
28861
|
+
(y(), w("svg", o9, [...B[33] || (B[33] = [
|
|
28862
28862
|
p("path", { d: "M14 16H8v2h6v-2z" }, null, -1),
|
|
28863
28863
|
p("path", { d: "M14 1H8a3 3 0 00-3 3v14a3 3 0 003 3h6a3 3 0 003-3V4a3 3 0 00-3-3zM7 4a1 1 0 011-1h6a1 1 0 011 1v14a1 1 0 01-1 1H8a1 1 0 01-1-1V4z" }, null, -1)
|
|
28864
28864
|
])]))
|
|
@@ -28868,9 +28868,9 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28868
28868
|
])
|
|
28869
28869
|
])
|
|
28870
28870
|
]),
|
|
28871
|
-
p("div",
|
|
28871
|
+
p("div", r9, [
|
|
28872
28872
|
p("div", {
|
|
28873
|
-
onClick:
|
|
28873
|
+
onClick: B[9] || (B[9] = Ye(
|
|
28874
28874
|
async () => {
|
|
28875
28875
|
await x(t).clearHtmlSelection();
|
|
28876
28876
|
},
|
|
@@ -28880,49 +28880,49 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28880
28880
|
}, [
|
|
28881
28881
|
F(L6)
|
|
28882
28882
|
], 2),
|
|
28883
|
-
n.showPublishButton ? (y(), w("div",
|
|
28883
|
+
n.showPublishButton ? (y(), w("div", s9, [
|
|
28884
28884
|
p("button", {
|
|
28885
28885
|
class: "pbx-myPrimaryButton",
|
|
28886
|
-
onClick:
|
|
28886
|
+
onClick: B[10] || (B[10] = async () => {
|
|
28887
28887
|
H();
|
|
28888
28888
|
})
|
|
28889
28889
|
}, C(x(o)("Publish")), 1)
|
|
28890
28890
|
])) : E("", !0),
|
|
28891
28891
|
x(t) && q.value && q.value.userSettings && q.value.userSettings.language && !q.value.userSettings.language.disableLanguageDropDown ? (y(), w(G, { key: 1 }, [
|
|
28892
|
-
q.value && q.value.userSettings && q.value.userSettings.language ? (y(), w("div",
|
|
28892
|
+
q.value && q.value.userSettings && q.value.userSettings.language ? (y(), w("div", l9, [
|
|
28893
28893
|
se(p("select", {
|
|
28894
28894
|
id: "pbx-lang",
|
|
28895
28895
|
class: "pbx-myPrimarySelect pbx-min-w-20",
|
|
28896
|
-
"onUpdate:modelValue":
|
|
28896
|
+
"onUpdate:modelValue": B[11] || (B[11] = (ae) => D.value = ae)
|
|
28897
28897
|
}, [
|
|
28898
28898
|
Array.isArray(q.value.userSettings.language.enable) && q.value.userSettings.language.enable.length >= 1 ? (y(!0), w(G, { key: 0 }, ne(x(t).availableLanguage().filter((ae) => q.value.userSettings.language.enable.includes(ae)), (ae) => (y(), w("option", {
|
|
28899
28899
|
key: ae,
|
|
28900
28900
|
value: ae
|
|
28901
|
-
}, C(ae), 9,
|
|
28901
|
+
}, C(ae), 9, a9))), 128)) : E("", !0),
|
|
28902
28902
|
!q.value.userSettings.language.enable || Array.isArray(q.value.userSettings.language.enable) && q.value.userSettings.language.enable.length === 0 ? (y(!0), w(G, { key: 1 }, ne(x(t).availableLanguage(), (ae) => (y(), w("option", {
|
|
28903
28903
|
key: ae,
|
|
28904
28904
|
value: ae
|
|
28905
|
-
}, C(ae), 9,
|
|
28905
|
+
}, C(ae), 9, d9))), 128)) : E("", !0)
|
|
28906
28906
|
], 512), [
|
|
28907
28907
|
[Se, D.value]
|
|
28908
28908
|
])
|
|
28909
28909
|
])) : E("", !0)
|
|
28910
28910
|
], 64)) : E("", !0),
|
|
28911
|
-
n.showCloseButton ? (y(), w("div",
|
|
28911
|
+
n.showCloseButton ? (y(), w("div", p9, [
|
|
28912
28912
|
p("button", {
|
|
28913
28913
|
class: "pbx-h-10 pbx-w-10 pbx-flex-end pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor hover:pbx-text-white hover:pbx-fill-white focus-visible:pbx-ring-0",
|
|
28914
|
-
onClick:
|
|
28914
|
+
onClick: B[12] || (B[12] = async () => {
|
|
28915
28915
|
M(), await x(t).clearHtmlSelection();
|
|
28916
28916
|
})
|
|
28917
|
-
}, [...
|
|
28917
|
+
}, [...B[34] || (B[34] = [
|
|
28918
28918
|
p("span", { class: "material-symbols-outlined" }, " close ", -1)
|
|
28919
28919
|
])])
|
|
28920
28920
|
])) : E("", !0)
|
|
28921
28921
|
])
|
|
28922
28922
|
]),
|
|
28923
|
-
p("div",
|
|
28923
|
+
p("div", c9, [
|
|
28924
28924
|
p("div", {
|
|
28925
|
-
onClick:
|
|
28925
|
+
onClick: B[14] || (B[14] = Ye(
|
|
28926
28926
|
async () => {
|
|
28927
28927
|
await x(t).clearHtmlSelection();
|
|
28928
28928
|
},
|
|
@@ -28931,20 +28931,9 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28931
28931
|
id: "pagebuilder-left-menu",
|
|
28932
28932
|
class: "pbx-w-16 pbx-pt-7 pbx-pb-2 pbx-bg-myPrimaryLightGrayColor pbx-rounded-r-2xl pbx-shadow-sm"
|
|
28933
28933
|
}, [
|
|
28934
|
-
p("div",
|
|
28935
|
-
p("div", c9, [
|
|
28936
|
-
p("button", {
|
|
28937
|
-
type: "button",
|
|
28938
|
-
onClick: P[13] || (P[13] = () => {
|
|
28939
|
-
x(l).setComponentArrayAddMethod("unshift"), gi();
|
|
28940
|
-
}),
|
|
28941
|
-
class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white"
|
|
28942
|
-
}, [...P[36] || (P[36] = [
|
|
28943
|
-
p("span", { class: "pbx-myMediumIcon material-symbols-outlined" }, " add ", -1)
|
|
28944
|
-
])])
|
|
28945
|
-
]),
|
|
28934
|
+
p("div", u9, [
|
|
28946
28935
|
p("div", {
|
|
28947
|
-
onClick:
|
|
28936
|
+
onClick: B[13] || (B[13] = Ye(
|
|
28948
28937
|
async () => {
|
|
28949
28938
|
await x(t).clearHtmlSelection();
|
|
28950
28939
|
},
|
|
@@ -28961,56 +28950,56 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
28961
28950
|
id: "page-builder-wrapper",
|
|
28962
28951
|
class: j(["pbx-transition-all pbx-duration-300 pbx-font-sans pbx-p-1 pbx-flex pbx-flex-col pbx-grow pbx-rounded-tr-2xl pbx-rounded-tl-2xl pbx-border-solid pbx-border pbx-border-gray-200 pbx-items-stretch pbx-text-black pbx-h-[100vh] pbx-overflow-y-scroll pbx-relative pbx-pt-16", [(X.value, "pbx-w-full")]])
|
|
28963
28952
|
}, [
|
|
28964
|
-
p("div",
|
|
28953
|
+
p("div", h9, [
|
|
28965
28954
|
et.value ? (y(), re(dA, { key: 0 })) : E("", !0)
|
|
28966
28955
|
]),
|
|
28967
|
-
p("div",
|
|
28968
|
-
Array.isArray(Ee.value) && Ee.value.length === 0 ? (y(), w("div",
|
|
28969
|
-
p("div",
|
|
28956
|
+
p("div", f9, [
|
|
28957
|
+
Array.isArray(Ee.value) && Ee.value.length === 0 ? (y(), w("div", b9, [
|
|
28958
|
+
p("div", m9, [
|
|
28970
28959
|
p("div", {
|
|
28971
|
-
onClick:
|
|
28960
|
+
onClick: B[15] || (B[15] = (ae) => jn(0)),
|
|
28972
28961
|
class: "pbx-py-4 pbx-px-4 pbx-my-4 pbx-rounded-full pbx-bg-gray-100 pbx-text-gray-600 pbx-flex pbx-items-center pbx-justify-center hover:pbx-text-white hover:pbx-bg-gray-900 pbx-cursor-pointer"
|
|
28973
28962
|
}, [
|
|
28974
|
-
p("div",
|
|
28975
|
-
p("span",
|
|
28963
|
+
p("div", g9, [
|
|
28964
|
+
p("span", x9, C(x(o)("Add new Components")), 1)
|
|
28976
28965
|
])
|
|
28977
28966
|
])
|
|
28978
28967
|
])
|
|
28979
28968
|
])) : E("", !0),
|
|
28980
|
-
Array.isArray(Ee.value) && Ee.value.length != 0 ? (y(), w("div",
|
|
28981
|
-
p("div",
|
|
28969
|
+
Array.isArray(Ee.value) && Ee.value.length != 0 ? (y(), w("div", y9, [
|
|
28970
|
+
p("div", v9, [
|
|
28982
28971
|
p("div", {
|
|
28983
|
-
onClick:
|
|
28972
|
+
onClick: B[16] || (B[16] = (ae) => jn(0)),
|
|
28984
28973
|
id: "addsection",
|
|
28985
28974
|
class: "pbx-h-10 pbx-rounded-l-full pbx-bg-gray-100 pbx-text-gray-600 pbx-z-50 pbx-pl-2 pbx-pr-2 pbx-flex pbx-items-center pbx-justify-center hover:pbx-text-white hover:pbx-bg-gray-900 pbx-cursor-pointer"
|
|
28986
|
-
}, [
|
|
28987
|
-
p("div",
|
|
28988
|
-
p("span", { class: "material-symbols-outlined" }, " add "),
|
|
28989
|
-
p("span",
|
|
28990
|
-
]
|
|
28991
|
-
])
|
|
28975
|
+
}, [
|
|
28976
|
+
p("div", S9, [
|
|
28977
|
+
B[35] || (B[35] = p("span", { class: "material-symbols-outlined" }, " add ", -1)),
|
|
28978
|
+
p("span", w9, C(x(o)("Add")), 1)
|
|
28979
|
+
])
|
|
28980
|
+
])
|
|
28992
28981
|
])
|
|
28993
28982
|
])) : E("", !0),
|
|
28994
|
-
(y(!0), w(G, null, ne(Ee.value, (ae,
|
|
28983
|
+
(y(!0), w(G, null, ne(Ee.value, (ae, xi) => (y(), w(G, {
|
|
28995
28984
|
key: ae.id
|
|
28996
28985
|
}, [
|
|
28997
28986
|
ae.html_code ? (y(), w("div", {
|
|
28998
28987
|
key: 0,
|
|
28999
28988
|
innerHTML: ae.html_code,
|
|
29000
28989
|
onMouseup: (mo) => HS(ae)
|
|
29001
|
-
}, null, 40,
|
|
29002
|
-
Array.isArray(Ee.value) && Ee.value.length != 0 ? (y(), w("div",
|
|
29003
|
-
p("div",
|
|
28990
|
+
}, null, 40, C9)) : E("", !0),
|
|
28991
|
+
Array.isArray(Ee.value) && Ee.value.length != 0 ? (y(), w("div", k9, [
|
|
28992
|
+
p("div", T9, [
|
|
29004
28993
|
p("div", {
|
|
29005
|
-
onClick: (mo) => jn(
|
|
28994
|
+
onClick: (mo) => jn(xi + 1),
|
|
29006
28995
|
id: "addsection",
|
|
29007
28996
|
class: "pbx-h-10 pbx-rounded-l-full pbx-bg-gray-100 pbx-text-gray-600 pbx-z-50 pbx-pl-2 pbx-pr-2 pbx-flex pbx-items-center pbx-justify-center hover:pbx-text-white hover:pbx-bg-gray-900 pbx-cursor-pointer"
|
|
29008
|
-
}, [
|
|
29009
|
-
p("div",
|
|
29010
|
-
p("span", { class: "material-symbols-outlined" }, " add "),
|
|
29011
|
-
p("span",
|
|
29012
|
-
]
|
|
29013
|
-
]
|
|
28997
|
+
}, [
|
|
28998
|
+
p("div", E9, [
|
|
28999
|
+
B[36] || (B[36] = p("span", { class: "material-symbols-outlined" }, " add ", -1)),
|
|
29000
|
+
p("span", P9, C(x(o)("Add")), 1)
|
|
29001
|
+
])
|
|
29002
|
+
], 8, M9)
|
|
29014
29003
|
])
|
|
29015
29004
|
])) : E("", !0)
|
|
29016
29005
|
], 64))), 128))
|
|
@@ -29031,11 +29020,11 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
29031
29020
|
]])
|
|
29032
29021
|
}, [
|
|
29033
29022
|
F(w6, {
|
|
29034
|
-
onCloseEditor:
|
|
29023
|
+
onCloseEditor: B[17] || (B[17] = (ae) => x(l).setMenuRight(!1))
|
|
29035
29024
|
})
|
|
29036
29025
|
], 2)) : (y(), w("div", {
|
|
29037
29026
|
key: 1,
|
|
29038
|
-
onClick:
|
|
29027
|
+
onClick: B[20] || (B[20] = Ye(
|
|
29039
29028
|
async () => {
|
|
29040
29029
|
await x(t).clearHtmlSelection();
|
|
29041
29030
|
},
|
|
@@ -29044,7 +29033,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
29044
29033
|
class: "pbx-w-18 pbx-bg-myPrimaryLightGrayColor pbx-pt-5 pbx-z-20 pbx-flex-shrink-0 pbx-overflow-hidden pbx-border-0 pbx-border-solid pbx-border-l-0 pbx-border-l-gray-600 pbx-rounded-l-2xl pbx-h-[100vh] pbx-pl-2 pbx-pr-2"
|
|
29045
29034
|
}, [
|
|
29046
29035
|
p("div", {
|
|
29047
|
-
onClick:
|
|
29036
|
+
onClick: B[19] || (B[19] = Ye(
|
|
29048
29037
|
async () => {
|
|
29049
29038
|
await x(t).clearHtmlSelection();
|
|
29050
29039
|
},
|
|
@@ -29054,12 +29043,12 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
29054
29043
|
}, [
|
|
29055
29044
|
X.value ? E("", !0) : (y(), w("button", {
|
|
29056
29045
|
key: 0,
|
|
29057
|
-
onClick:
|
|
29046
|
+
onClick: B[18] || (B[18] = (ae) => x(l).setMenuRight(!0)),
|
|
29058
29047
|
type: "button",
|
|
29059
29048
|
class: "pbx-h-10 pbx-w-10 pbx-cursor-pointer pbx-rounded-full pbx-flex pbx-items-center pbx-border-none pbx-justify-center pbx-bg-gray-50 pbx-aspect-square hover:pbx-bg-myPrimaryLinkColor focus-visible:pbx-ring-0 pbx-text-black hover:pbx-text-white"
|
|
29060
29049
|
}, [
|
|
29061
29050
|
p("span", null, [
|
|
29062
|
-
(y(), w("svg",
|
|
29051
|
+
(y(), w("svg", B9, [...B[37] || (B[37] = [
|
|
29063
29052
|
p("g", { "clip-path": "url(#prefix__clip0_1645_485)" }, [
|
|
29064
29053
|
p("path", {
|
|
29065
29054
|
"clip-rule": "evenodd",
|
|
@@ -29095,18 +29084,18 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
29095
29084
|
ot.value ? E("", !0) : (y(), w(G, { key: 0 }, [
|
|
29096
29085
|
se(p("textarea", {
|
|
29097
29086
|
id: "html-editor",
|
|
29098
|
-
"onUpdate:modelValue":
|
|
29087
|
+
"onUpdate:modelValue": B[21] || (B[21] = (ae) => ho.value = ae),
|
|
29099
29088
|
class: "pbx-h-full pbx-font-sans pbx-bg-gray-900 pbx-text-white pbx-w-full",
|
|
29100
29089
|
style: { overflow: "auto", "min-height": "400px" }
|
|
29101
29090
|
}, null, 512), [
|
|
29102
29091
|
[In, ho.value]
|
|
29103
29092
|
]),
|
|
29104
|
-
p("div",
|
|
29105
|
-
Et.value ? (y(), w("p",
|
|
29093
|
+
p("div", L9, [
|
|
29094
|
+
Et.value ? (y(), w("p", A9, " Error: " + C(Et.value), 1)) : E("", !0)
|
|
29106
29095
|
]),
|
|
29107
|
-
p("div",
|
|
29108
|
-
p("div",
|
|
29109
|
-
p("div",
|
|
29096
|
+
p("div", I9, [
|
|
29097
|
+
p("div", D9, [
|
|
29098
|
+
p("div", $9, [
|
|
29110
29099
|
xt.value ? E("", !0) : (y(), w(G, { key: 0 }, [
|
|
29111
29100
|
p("button", {
|
|
29112
29101
|
onClick: Qr,
|
|
@@ -29119,7 +29108,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
29119
29108
|
class: "pbx-myPrimaryButton"
|
|
29120
29109
|
}, C(x(o)("Save")), 1)
|
|
29121
29110
|
], 64)),
|
|
29122
|
-
xt.value ? (y(), w("div",
|
|
29111
|
+
xt.value ? (y(), w("div", O9, [...B[38] || (B[38] = [
|
|
29123
29112
|
p("div", { class: "pbx-inline-block pbx-h-8 pbx-w-8 pbx-animate-spin pbx-rounded-full pbx-border-4 pbx-border-solid pbx-border-current pbx-border-r-transparent pbx-align-[-0.125em] motion-reduce:pbx-animate-[spin_1.5s_linear_infinite]" }, [
|
|
29124
29113
|
p("span", { class: "!pbx-absolute !pbx-m-px !pbx-h-px !pbx-w-px !pbx-overflow-hidden !pbx-whitespace-nowrap !pbx-border-0 !pbx-p-0 !pbx-[clip:rect(0,0,0,0)]" }, "Loading...")
|
|
29125
29114
|
], -1)
|
|
@@ -29131,18 +29120,18 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
29131
29120
|
ot.value ? (y(), w(G, { key: 1 }, [
|
|
29132
29121
|
se(p("textarea", {
|
|
29133
29122
|
id: "html-editor",
|
|
29134
|
-
"onUpdate:modelValue":
|
|
29123
|
+
"onUpdate:modelValue": B[22] || (B[22] = (ae) => fo.value = ae),
|
|
29135
29124
|
class: "pbx-h-full pbx-font-sans pbx-bg-gray-900 pbx-text-white pbx-w-full",
|
|
29136
29125
|
style: { overflow: "auto", "min-height": "400px" }
|
|
29137
29126
|
}, null, 512), [
|
|
29138
29127
|
[In, fo.value]
|
|
29139
29128
|
]),
|
|
29140
|
-
p("div",
|
|
29141
|
-
Et.value ? (y(), w("p",
|
|
29129
|
+
p("div", _9, [
|
|
29130
|
+
Et.value ? (y(), w("p", N9, " Error: " + C(Et.value), 1)) : E("", !0)
|
|
29142
29131
|
]),
|
|
29143
|
-
p("div",
|
|
29144
|
-
p("div",
|
|
29145
|
-
p("div",
|
|
29132
|
+
p("div", H9, [
|
|
29133
|
+
p("div", R9, [
|
|
29134
|
+
p("div", z9, [
|
|
29146
29135
|
xt.value ? E("", !0) : (y(), w(G, { key: 0 }, [
|
|
29147
29136
|
p("button", {
|
|
29148
29137
|
onClick: Qr,
|
|
@@ -29155,7 +29144,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
29155
29144
|
class: "pbx-myPrimaryButton"
|
|
29156
29145
|
}, C(x(o)("Save")), 1)
|
|
29157
29146
|
], 64)),
|
|
29158
|
-
xt.value ? (y(), w("div",
|
|
29147
|
+
xt.value ? (y(), w("div", F9, [...B[39] || (B[39] = [
|
|
29159
29148
|
p("div", { class: "pbx-inline-block pbx-h-8 pbx-w-8 pbx-animate-spin pbx-rounded-full pbx-border-4 pbx-border-solid pbx-border-current pbx-border-r-transparent pbx-align-[-0.125em] motion-reduce:pbx-animate-[spin_1.5s_linear_infinite]" }, [
|
|
29160
29149
|
p("span", { class: "!pbx-absolute !pbx-m-px !pbx-h-px !pbx-w-px !pbx-overflow-hidden !pbx-whitespace-nowrap !pbx-border-0 !pbx-p-0 !pbx-[clip:rect(0,0,0,0)]" }, "Loading...")
|
|
29161
29150
|
], -1)
|
|
@@ -29169,7 +29158,7 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
29169
29158
|
}, 8, ["showModalBuilder", "title"])
|
|
29170
29159
|
], 64));
|
|
29171
29160
|
}
|
|
29172
|
-
},
|
|
29161
|
+
}, K9 = {
|
|
29173
29162
|
install: (n) => {
|
|
29174
29163
|
if (!n.config.globalProperties.$pageBuilder) {
|
|
29175
29164
|
const e = fe, t = new Lw(e);
|
|
@@ -29178,11 +29167,11 @@ const OS = /* @__PURE__ */ Gr(I6, [["render", $6]]), O6 = { class: "pbx-text-xs
|
|
|
29178
29167
|
}
|
|
29179
29168
|
};
|
|
29180
29169
|
export {
|
|
29181
|
-
|
|
29170
|
+
G9 as PageBuilder,
|
|
29182
29171
|
Pa as Preview,
|
|
29183
29172
|
EC as createPinia,
|
|
29184
29173
|
Me as getPageBuilder,
|
|
29185
|
-
|
|
29174
|
+
K9 as pageBuilder,
|
|
29186
29175
|
jv as sharedPageBuilderPinia,
|
|
29187
29176
|
fe as sharedPageBuilderStore,
|
|
29188
29177
|
cA as usePageBuilderModal,
|