@emailmaker/emailmaker 1.1.49 → 1.1.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{emailmaker-core.686599cb.js → emailmaker-core.2cbaea2b.js} +6 -6
- package/emailmaker-esm.js +3 -3
- package/emailmaker.js +3 -3
- package/iframe/js/amp.V09Q6hy6.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.B-wCbIo7.js +1 -1
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -1
- package/runtime/THIRD_PARTY_LICENSES.txt +1 -1
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/342d650a.js +467 -0
- package/static/core/{28d0ee07.js → 3bff559e.js} +321 -321
- package/static/core/{1724d302.js → 4a0c3723.js} +179 -173
- package/static/core/{2638406e.js → 4a151a86.js} +41 -41
- package/static/core/{c78634e5.js → 4f1afec5.js} +616 -611
- package/static/core/{7b48c5bf.js → 57d41489.js} +524 -510
- package/static/core/{b61ea992.js → 61a44678.js} +4028 -3892
- package/static/core/{cf9b492f.js → 704587a1.js} +34 -34
- package/static/core/{f5401fe7.js → 75e0e02f.js} +31 -31
- package/static/core/{e19a9688.js → 7e999d72.js} +514 -494
- package/static/core/{c9f81757.js → 7f43dc55.js} +7 -7
- package/static/core/{dde3447a.js → 83b6ffb1.js} +12970 -12926
- package/static/core/{bfec1c65.js → 956da3cd.js} +5156 -5116
- package/static/core/{23692b142.js → 9e7e9aa52.js} +10 -10
- package/static/core/{5cd9928a.js → abb0338c.js} +107 -107
- package/static/core/{35b2febf.js → b3475019.js} +3 -3
- package/static/core/{5a79f04d.js → cc1487fb.js} +3 -3
- package/static/core/{67b72215.js → d745f656.js} +1267 -1265
- package/two_step_headless_plugin.html +1 -1
- package/ui-kit/index.js +49 -47
- package/static/core/2c90e83d.js +0 -467
- /package/iframe/{iframe-eblock.686599cb.html → iframe-eblock.2cbaea2b.html} +0 -0
- /package/iframe/{iframe.686599cb.html → iframe.2cbaea2b.html} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/57d41489.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/16c2710d.js",
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
6
|
+
"static/core/61a44678.js",
|
|
7
|
+
"static/core/cc1487fb.js",
|
|
8
8
|
"static/core/51fd08fd.js",
|
|
9
|
-
"static/core/
|
|
10
|
-
], function(mt, L,
|
|
11
|
-
const Z = mt("./16c2710d.js"), O = mt("./
|
|
9
|
+
"static/core/b3475019.js"
|
|
10
|
+
], function(mt, L, Qp) {
|
|
11
|
+
const Z = mt("./16c2710d.js"), O = mt("./61a44678.js"), Ie = mt("./cc1487fb.js"), Kt = mt("./51fd08fd.js"), er = mt("./b3475019.js");
|
|
12
12
|
var rs = class {
|
|
13
13
|
_plugins = new Map();
|
|
14
14
|
_listeners = new Map();
|
|
@@ -1125,7 +1125,7 @@ __emailmaker__.define("static/core/7b48c5bf.js", [
|
|
|
1125
1125
|
meta: { percent: this.max ? this.index / this.max * 100 : 0 }
|
|
1126
1126
|
});
|
|
1127
1127
|
}, t.exports = a;
|
|
1128
|
-
})),
|
|
1128
|
+
})), ai = Z.__commonJSMin(((e, t) => {
|
|
1129
1129
|
var r = ve();
|
|
1130
1130
|
function n() {
|
|
1131
1131
|
for (var l, u = [], m = 0; m < 256; m++) {
|
|
@@ -1152,7 +1152,7 @@ __emailmaker__.define("static/core/7b48c5bf.js", [
|
|
|
1152
1152
|
return typeof u > "u" || !u.length ? 0 : r.getTypeOf(u) !== "string" ? a(m | 0, u, u.length, 0) : s(m | 0, u, u.length, 0);
|
|
1153
1153
|
};
|
|
1154
1154
|
})), cn = Z.__commonJSMin(((e, t) => {
|
|
1155
|
-
var r = Le(), n =
|
|
1155
|
+
var r = Le(), n = ai(), i = ve();
|
|
1156
1156
|
function a() {
|
|
1157
1157
|
r.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0);
|
|
1158
1158
|
}
|
|
@@ -1171,7 +1171,7 @@ __emailmaker__.define("static/core/7b48c5bf.js", [
|
|
|
1171
1171
|
}
|
|
1172
1172
|
n.prototype.processChunk.call(this, a);
|
|
1173
1173
|
}, t.exports = i;
|
|
1174
|
-
})),
|
|
1174
|
+
})), oi = Z.__commonJSMin(((e, t) => {
|
|
1175
1175
|
var r = Tt(), n = ln(), i = cn(), a = ds();
|
|
1176
1176
|
function s(l, u, m, b, E) {
|
|
1177
1177
|
this.compressedSize = l, this.uncompressedSize = u, this.crc32 = m, this.compression = b, this.compressedContent = E;
|
|
@@ -1190,7 +1190,7 @@ __emailmaker__.define("static/core/7b48c5bf.js", [
|
|
|
1190
1190
|
return l.pipe(new i()).pipe(new a("uncompressedSize")).pipe(u.compressWorker(m)).pipe(new a("compressedSize")).withStreamInfo("compression", u);
|
|
1191
1191
|
}, t.exports = s;
|
|
1192
1192
|
})), ps = Z.__commonJSMin(((e, t) => {
|
|
1193
|
-
var r = on(), n = ln(), i = Ot(), a =
|
|
1193
|
+
var r = on(), n = ln(), i = Ot(), a = oi(), s = Le(), l = function(E, p, c) {
|
|
1194
1194
|
this.name = E, this.dir = c.dir, this.date = c.date, this.comment = c.comment, this.unixPermissions = c.unixPermissions, this.dosPermissions = c.dosPermissions, this._data = p, this._dataBinary = c.binary, this.options = {
|
|
1195
1195
|
compression: c.compression,
|
|
1196
1196
|
compressionOptions: c.compressionOptions
|
|
@@ -1575,7 +1575,7 @@ __emailmaker__.define("static/core/7b48c5bf.js", [
|
|
|
1575
1575
|
return a ^ -1;
|
|
1576
1576
|
}
|
|
1577
1577
|
t.exports = i;
|
|
1578
|
-
})),
|
|
1578
|
+
})), si = Z.__commonJSMin(((e, t) => {
|
|
1579
1579
|
t.exports = {
|
|
1580
1580
|
2: "need dictionary",
|
|
1581
1581
|
1: "stream end",
|
|
@@ -1588,7 +1588,7 @@ __emailmaker__.define("static/core/7b48c5bf.js", [
|
|
|
1588
1588
|
"-6": "incompatible version"
|
|
1589
1589
|
};
|
|
1590
1590
|
})), hs = Z.__commonJSMin(((e) => {
|
|
1591
|
-
var t = Xe(), r = fs(), n = un(), i = dn(), a =
|
|
1591
|
+
var t = Xe(), r = fs(), n = un(), i = dn(), a = si(), s = 0, l = 1, u = 3, m = 4, b = 5, E = 0, p = 1, c = -2, h = -3, w = -5, k = -1, I = 1, _ = 2, C = 3, d = 4, f = 0, y = 2, x = 8, A = 9, T = 15, R = 8, F = 286, H = 30, Q = 19, J = 2 * F + 1, $ = 15, q = 3, ie = 258, se = ie + q + 1, fe = 32, de = 42, pe = 69, ge = 73, he = 91, ue = 103, ae = 113, ye = 666, te = 1, K = 2, Se = 3, X = 4, He = 3;
|
|
1592
1592
|
function Re(o, P) {
|
|
1593
1593
|
return o.msg = a[P], P;
|
|
1594
1594
|
}
|
|
@@ -1889,7 +1889,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
1889
1889
|
}
|
|
1890
1890
|
t.exports = r;
|
|
1891
1891
|
})), ms = Z.__commonJSMin(((e) => {
|
|
1892
|
-
var t = hs(), r = Xe(), n = pn(), i =
|
|
1892
|
+
var t = hs(), r = Xe(), n = pn(), i = si(), a = fn(), s = Object.prototype.toString, l = 0, u = 4, m = 0, b = 1, E = 2, p = -1, c = 0, h = 8;
|
|
1893
1893
|
function w(C) {
|
|
1894
1894
|
if (!(this instanceof w)) return new w(C);
|
|
1895
1895
|
this.options = r.assign({
|
|
@@ -2228,7 +2228,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2228
2228
|
return P.window === null && (P.wsize = 1 << P.wbits, P.wnext = 0, P.whave = 0, P.window = new t.Buf8(P.wsize)), B >= P.wsize ? (t.arraySet(P.window, U, v - P.wsize, P.wsize, 0), P.wnext = 0, P.whave = P.wsize) : (o = P.wsize - P.wnext, o > B && (o = B), t.arraySet(P.window, U, v - B, o, P.wnext), B -= o, B ? (t.arraySet(P.window, U, v - B, B, 0), P.wnext = B, P.whave = P.wsize) : (P.wnext += o, P.wnext === P.wsize && (P.wnext = 0), P.whave < P.wsize && (P.whave += o))), 0;
|
|
2229
2229
|
}
|
|
2230
2230
|
function kt(N, U) {
|
|
2231
|
-
var v, B, o, P, W, g, z, M, D, ee, ne, Y, Ge, Xt, me = 0, le, Ae, De, Ne,
|
|
2231
|
+
var v, B, o, P, W, g, z, M, D, ee, ne, Y, Ge, Xt, me = 0, le, Ae, De, Ne, ii, ni, xe, ze, Ce = new t.Buf8(4), Ye, Ze, es = [
|
|
2232
2232
|
16,
|
|
2233
2233
|
17,
|
|
2234
2234
|
18,
|
|
@@ -2494,7 +2494,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2494
2494
|
g--, M += B[P++] << D, D += 8;
|
|
2495
2495
|
}
|
|
2496
2496
|
if (Ae && (Ae & 240) === 0) {
|
|
2497
|
-
for (Ne = le,
|
|
2497
|
+
for (Ne = le, ii = Ae, ni = De; me = v.lencode[ni + ((M & (1 << Ne + ii) - 1) >> Ne)], le = me >>> 24, Ae = me >>> 16 & 255, De = me & 65535, !(Ne + le <= D);) {
|
|
2498
2498
|
if (g === 0) break e;
|
|
2499
2499
|
g--, M += B[P++] << D, D += 8;
|
|
2500
2500
|
}
|
|
@@ -2528,7 +2528,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2528
2528
|
g--, M += B[P++] << D, D += 8;
|
|
2529
2529
|
}
|
|
2530
2530
|
if ((Ae & 240) === 0) {
|
|
2531
|
-
for (Ne = le,
|
|
2531
|
+
for (Ne = le, ii = Ae, ni = De; me = v.distcode[ni + ((M & (1 << Ne + ii) - 1) >> Ne)], le = me >>> 24, Ae = me >>> 16 & 255, De = me & 65535, !(Ne + le <= D);) {
|
|
2532
2532
|
if (g === 0) break e;
|
|
2533
2533
|
g--, M += B[P++] << D, D += 8;
|
|
2534
2534
|
}
|
|
@@ -2659,7 +2659,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2659
2659
|
}
|
|
2660
2660
|
t.exports = r;
|
|
2661
2661
|
})), ys = Z.__commonJSMin(((e) => {
|
|
2662
|
-
var t = bs(), r = Xe(), n = pn(), i = hn(), a =
|
|
2662
|
+
var t = bs(), r = Xe(), n = pn(), i = hn(), a = si(), s = fn(), l = _s(), u = Object.prototype.toString;
|
|
2663
2663
|
function m(p) {
|
|
2664
2664
|
if (!(this instanceof m)) return new m(p);
|
|
2665
2665
|
this.options = r.assign({
|
|
@@ -2742,7 +2742,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2742
2742
|
})), gn = Z.__commonJSMin(((e) => {
|
|
2743
2743
|
e.LOCAL_FILE_HEADER = "PK", e.CENTRAL_FILE_HEADER = "PK", e.CENTRAL_DIRECTORY_END = "PK", e.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", e.ZIP64_CENTRAL_DIRECTORY_END = "PK", e.DATA_DESCRIPTOR = "PK\x07\b";
|
|
2744
2744
|
})), xs = Z.__commonJSMin(((e, t) => {
|
|
2745
|
-
var r = ve(), n = Le(), i = Ot(), a =
|
|
2745
|
+
var r = ve(), n = Le(), i = Ot(), a = ai(), s = gn(), l = function(h, w) {
|
|
2746
2746
|
var k = "", I;
|
|
2747
2747
|
for (I = 0; I < w; I++) k += String.fromCharCode(h & 255), h = h >>> 8;
|
|
2748
2748
|
return k;
|
|
@@ -2895,7 +2895,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
2895
2895
|
return n.prototype.resume.call(this) ? (this._upstreamEnded ? this.end() : this._stream.resume(), !0) : !1;
|
|
2896
2896
|
}, t.exports = i;
|
|
2897
2897
|
})), Cs = Z.__commonJSMin(((e, t) => {
|
|
2898
|
-
var r = Ot(), n = ve(), i = Le(), a = on(), s = sn(), l =
|
|
2898
|
+
var r = Ot(), n = ve(), i = Le(), a = on(), s = sn(), l = oi(), u = ps(), m = Ss(), b = tr(), E = As(), p = function(_, C, d) {
|
|
2899
2899
|
var f = n.getTypeOf(C), y, x = n.extend(d || {}, s);
|
|
2900
2900
|
x.date = x.date || new Date(), x.compression !== null && (x.compression = x.compression.toUpperCase()), typeof x.unixPermissions == "string" && (x.unixPermissions = parseInt(x.unixPermissions, 8)), x.unixPermissions && x.unixPermissions & 16384 && (x.dir = !0), x.dosPermissions && x.dosPermissions & 16 && (x.dir = !0), x.dir && (_ = h(_)), x.createFolders && (y = c(_)) && w.call(this, y, !0);
|
|
2901
2901
|
var A = f === "string" && x.binary === !1 && x.base64 === !1;
|
|
@@ -3091,7 +3091,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3091
3091
|
return r.checkSupport(m), m === "string" && !n.uint8array ? new a(u) : m === "nodebuffer" ? new s(u) : n.uint8array ? new l(r.transformTo("uint8array", u)) : new i(r.transformTo("array", u));
|
|
3092
3092
|
};
|
|
3093
3093
|
})), Os = Z.__commonJSMin(((e, t) => {
|
|
3094
|
-
var r = yn(), n = ve(), i =
|
|
3094
|
+
var r = yn(), n = ve(), i = oi(), a = ai(), s = Ot(), l = mn(), u = Je(), m = 0, b = 3, E = function(c) {
|
|
3095
3095
|
for (var h in l) if (Object.prototype.hasOwnProperty.call(l, h) && l[h].magic === c) return l[h];
|
|
3096
3096
|
return null;
|
|
3097
3097
|
};
|
|
@@ -3367,7 +3367,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3367
3367
|
extraQuery: { url: encodeURIComponent(t) }
|
|
3368
3368
|
}));
|
|
3369
3369
|
} }) })
|
|
3370
|
-
}), { useGetFileQuery:
|
|
3370
|
+
}), { useGetFileQuery: Gp, useLazyGetFileQuery: js } = Rt, Nt = O.createApi({
|
|
3371
3371
|
reducerPath: "promoApi",
|
|
3372
3372
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/promo/v1/" }),
|
|
3373
3373
|
endpoints: (e) => ({
|
|
@@ -3379,9 +3379,9 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3379
3379
|
return O.getClient(r).promo.get_code_info_list({ code: t });
|
|
3380
3380
|
} })
|
|
3381
3381
|
})
|
|
3382
|
-
}), { useCheckPromoMutation:
|
|
3382
|
+
}), { useCheckPromoMutation: Zp, useGetPromoInfoQuery: Yp } = Nt, li = "LOCALES", it = O.createApi({
|
|
3383
3383
|
reducerPath: "localesApi",
|
|
3384
|
-
tagTypes: [
|
|
3384
|
+
tagTypes: [li],
|
|
3385
3385
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://app.emailmaker.ru/api/wp-json/translations/v1" }),
|
|
3386
3386
|
endpoints: (e) => ({
|
|
3387
3387
|
getLocale: e.query({
|
|
@@ -3400,7 +3400,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3400
3400
|
}
|
|
3401
3401
|
},
|
|
3402
3402
|
providesTags: (t, r, n) => [{
|
|
3403
|
-
type:
|
|
3403
|
+
type: li,
|
|
3404
3404
|
id: n
|
|
3405
3405
|
}]
|
|
3406
3406
|
}),
|
|
@@ -3409,12 +3409,12 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3409
3409
|
return O.getClient(r).translations.get_translations2({ file: "react_app" });
|
|
3410
3410
|
},
|
|
3411
3411
|
providesTags: (t, r, n) => [{
|
|
3412
|
-
type:
|
|
3412
|
+
type: li,
|
|
3413
3413
|
id: "react_app"
|
|
3414
3414
|
}]
|
|
3415
3415
|
})
|
|
3416
3416
|
})
|
|
3417
|
-
}), { useGetLocalesQuery:
|
|
3417
|
+
}), { useGetLocalesQuery: Jp, useGetLocaleQuery: Xp, useLazyGetLocaleQuery: Ds, useLazyGetLocalesQuery: Ls } = it, It = O.createApi({
|
|
3418
3418
|
reducerPath: "saveFileApi",
|
|
3419
3419
|
tagTypes: ["Images"],
|
|
3420
3420
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/save-file/v1/" }),
|
|
@@ -3445,7 +3445,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3445
3445
|
id: n
|
|
3446
3446
|
}]
|
|
3447
3447
|
}) })
|
|
3448
|
-
}), { useGetEmailRawQuery:
|
|
3448
|
+
}), { useGetEmailRawQuery: Kp } = Mt, Cn = "Optimise", qs = "usage_limit_exceeded", Hs = async (e, t, r) => {
|
|
3449
3449
|
const n = await O.fetchBaseQueryApp({ baseUrl: `${O.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "")}/optimization/v1/validate` })(e, t, r);
|
|
3450
3450
|
if (n.error) {
|
|
3451
3451
|
let i = n.error;
|
|
@@ -3531,7 +3531,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3531
3531
|
method: "POST",
|
|
3532
3532
|
body: t
|
|
3533
3533
|
}) }) })
|
|
3534
|
-
}), { useValidateYandexTokenMutation:
|
|
3534
|
+
}), { useValidateYandexTokenMutation: ef } = ar, or = O.createApi({
|
|
3535
3535
|
reducerPath: "elamaAuthApi",
|
|
3536
3536
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
|
|
3537
3537
|
endpoints: (e) => ({ validateElamaCode: e.mutation({ query: (t) => ({
|
|
@@ -3539,7 +3539,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3539
3539
|
method: "POST",
|
|
3540
3540
|
body: t
|
|
3541
3541
|
}) }) })
|
|
3542
|
-
}), { useValidateElamaCodeMutation:
|
|
3542
|
+
}), { useValidateElamaCodeMutation: tf } = or, sr = O.createApi({
|
|
3543
3543
|
reducerPath: "googleAuthApi",
|
|
3544
3544
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
|
|
3545
3545
|
endpoints: (e) => ({ validateGoogleToken: e.mutation({ query: (t) => ({
|
|
@@ -3547,7 +3547,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3547
3547
|
method: "POST",
|
|
3548
3548
|
body: t
|
|
3549
3549
|
}) }) })
|
|
3550
|
-
}), { useValidateGoogleTokenMutation:
|
|
3550
|
+
}), { useValidateGoogleTokenMutation: rf } = sr, lr = O.createApi({
|
|
3551
3551
|
reducerPath: "webHookApi",
|
|
3552
3552
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3553
3553
|
endpoints: (e) => ({ postDataByWebHook: e.mutation({ query: ({ url: t, body: r }) => ({
|
|
@@ -3717,7 +3717,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3717
3717
|
web_id: m.web_id
|
|
3718
3718
|
} };
|
|
3719
3719
|
} }) })
|
|
3720
|
-
}), { useCreateCampaignMutation: al } = hr,
|
|
3720
|
+
}), { useCreateCampaignMutation: al } = hr, ci = "https://a.klaviyo.com/api", ol = "2025-04-15", sl = (e) => ({
|
|
3721
3721
|
"Content-Type": "application/json",
|
|
3722
3722
|
Accept: "application/json",
|
|
3723
3723
|
Authorization: `Klaviyo-API-Key ${e}`,
|
|
@@ -3734,7 +3734,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3734
3734
|
html: t.html
|
|
3735
3735
|
}
|
|
3736
3736
|
} }, l = await i({
|
|
3737
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3737
|
+
url: `?proxy_url=${encodeURIComponent(`${ci}/templates`)}`,
|
|
3738
3738
|
method: "POST",
|
|
3739
3739
|
headers: a,
|
|
3740
3740
|
body: JSON.stringify(s)
|
|
@@ -3775,7 +3775,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3775
3775
|
}] }
|
|
3776
3776
|
}
|
|
3777
3777
|
} }, b = await i({
|
|
3778
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3778
|
+
url: `?proxy_url=${encodeURIComponent(`${ci}/campaigns`)}`,
|
|
3779
3779
|
method: "POST",
|
|
3780
3780
|
headers: a,
|
|
3781
3781
|
body: JSON.stringify(m)
|
|
@@ -3800,7 +3800,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3800
3800
|
id: u
|
|
3801
3801
|
} } }
|
|
3802
3802
|
} }, w = await i({
|
|
3803
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3803
|
+
url: `?proxy_url=${encodeURIComponent(`${ci}/campaign-message-assign-template`)}`,
|
|
3804
3804
|
method: "POST",
|
|
3805
3805
|
headers: a,
|
|
3806
3806
|
body: JSON.stringify(h)
|
|
@@ -4283,7 +4283,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4283
4283
|
}
|
|
4284
4284
|
return { data: { count: l.data?.count ?? 1 } };
|
|
4285
4285
|
} }) })
|
|
4286
|
-
}), { useCreateBroadcastMutation: Pl } = Sr, Rl = Ie.require_eventsource()
|
|
4286
|
+
}), { useCreateBroadcastMutation: Pl } = Sr, Rl = Ie.require_eventsource();
|
|
4287
|
+
function Nl(e, t) {
|
|
4288
|
+
e === !0 || typeof t != "function" || t();
|
|
4289
|
+
}
|
|
4290
|
+
var Il = async (e, t, r) => {
|
|
4287
4291
|
const n = await O.fetchBaseQueryApp({ baseUrl: O.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "") })(e, t, r);
|
|
4288
4292
|
if (n.error) {
|
|
4289
4293
|
let i = n.error;
|
|
@@ -4297,7 +4301,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4297
4301
|
return n;
|
|
4298
4302
|
}, Ar = O.createApi({
|
|
4299
4303
|
reducerPath: "AiApiGenerator",
|
|
4300
|
-
baseQuery:
|
|
4304
|
+
baseQuery: Il,
|
|
4301
4305
|
endpoints: (e) => ({
|
|
4302
4306
|
generateIdForTask: e.mutation({ queryFn(t, r) {
|
|
4303
4307
|
return O.getAIClient(r).tasks.tasksControllerCreateTask(t).then((n) => n);
|
|
@@ -4325,7 +4329,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4325
4329
|
body: t
|
|
4326
4330
|
}) })
|
|
4327
4331
|
})
|
|
4328
|
-
}), { useGenerateIdForTaskMutation:
|
|
4332
|
+
}), { useGenerateIdForTaskMutation: nf, useGetGeneratedContentQuery: af, useLazyClearAiChatQuery: Ml, useLazyGetGeneratedContentQuery: jl, useGetAiGenerateStatusMutation: Dl } = Ar, Rn = async (e) => {
|
|
4329
4333
|
const t = await e.text();
|
|
4330
4334
|
let r = t;
|
|
4331
4335
|
try {
|
|
@@ -4334,7 +4338,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4334
4338
|
r = t;
|
|
4335
4339
|
}
|
|
4336
4340
|
return r;
|
|
4337
|
-
},
|
|
4341
|
+
}, Ll = (e, t, r) => {
|
|
4338
4342
|
if (!e) throw new Error(`Set ${r}`);
|
|
4339
4343
|
return {
|
|
4340
4344
|
url: `?proxy_url=${encodeURIComponent(e)}`,
|
|
@@ -4343,7 +4347,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4343
4347
|
body: t,
|
|
4344
4348
|
responseHandler: Rn
|
|
4345
4349
|
};
|
|
4346
|
-
},
|
|
4350
|
+
}, Fl = (e, t, r) => {
|
|
4347
4351
|
if (!e) throw new Error(`Set ${r}`);
|
|
4348
4352
|
return {
|
|
4349
4353
|
url: `?proxy_url=${encodeURIComponent(e)}`,
|
|
@@ -4355,10 +4359,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4355
4359
|
reducerPath: "requestPlaneApi",
|
|
4356
4360
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
4357
4361
|
endpoints: (e) => ({
|
|
4358
|
-
getRequest: e.mutation({ query: (t) =>
|
|
4359
|
-
getInvoiceRequest: e.mutation({ query: (t) =>
|
|
4362
|
+
getRequest: e.mutation({ query: (t) => Fl("https://webhook.latenode.com/5868/prod/9e7a6445-2244-4dd5-bda4-5bca82997bf8", t, "REACT_APP_PIPEDREAM_REQUEST_PLANE_SRC") }),
|
|
4363
|
+
getInvoiceRequest: e.mutation({ query: (t) => Ll("https://webhook.latenode.com/5868/prod/6e2d04a8-6cd9-4ec3-b884-ee2fd67267a3", t, "REACT_APP_REQUEST_PLANE_WEBHOOK_URL") })
|
|
4360
4364
|
})
|
|
4361
|
-
}), { useGetRequestMutation:
|
|
4365
|
+
}), { useGetRequestMutation: of, useGetInvoiceRequestMutation: Ul } = Cr, zl = async (e, t, r) => {
|
|
4362
4366
|
try {
|
|
4363
4367
|
const { notification: n, ...i } = e, a = await O.fetchBaseQuery({ baseUrl: "https://html2pdf.emcdn.ru/convert/html-to-pdf" })(i, t, r);
|
|
4364
4368
|
if (a.error) throw new Error();
|
|
@@ -4368,7 +4372,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4368
4372
|
}
|
|
4369
4373
|
}, kr = O.createApi({
|
|
4370
4374
|
reducerPath: "htmlToPdfPlusApi",
|
|
4371
|
-
baseQuery:
|
|
4375
|
+
baseQuery: zl,
|
|
4372
4376
|
endpoints: (e) => ({ generateHtmlToPdf: e.mutation({ query: ({ htmlContent: t, notification: r }) => ({
|
|
4373
4377
|
url: "",
|
|
4374
4378
|
method: "POST",
|
|
@@ -4376,7 +4380,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4376
4380
|
notification: r,
|
|
4377
4381
|
responseHandler: (n) => n.blob()
|
|
4378
4382
|
}) }) })
|
|
4379
|
-
}), { useGenerateHtmlToPdfMutation:
|
|
4383
|
+
}), { useGenerateHtmlToPdfMutation: Bl } = kr, Tr = O.createApi({
|
|
4380
4384
|
reducerPath: "layoutConverterApi",
|
|
4381
4385
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
|
|
4382
4386
|
endpoints: (e) => ({
|
|
@@ -4390,7 +4394,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4390
4394
|
method: "GET"
|
|
4391
4395
|
}) })
|
|
4392
4396
|
})
|
|
4393
|
-
}), { useCreateConvertJobMutation:
|
|
4397
|
+
}), { useCreateConvertJobMutation: ql, useLazyGetConvertJobStatusQuery: Hl } = Tr;
|
|
4394
4398
|
function Nn({ title: e, content: t, acf: { seen: r, type: n, event: i, data: a }, ...s }) {
|
|
4395
4399
|
return {
|
|
4396
4400
|
...s,
|
|
@@ -4435,7 +4439,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4435
4439
|
}]
|
|
4436
4440
|
})
|
|
4437
4441
|
})
|
|
4438
|
-
}), { useGetNotificationsQuery:
|
|
4442
|
+
}), { useGetNotificationsQuery: $l, useNotificationShownMutation: Wl } = Dt;
|
|
4439
4443
|
Kt.init__polyfill_node_process();
|
|
4440
4444
|
var Or = O.createApi({
|
|
4441
4445
|
reducerPath: "getCheckoutUrlApi",
|
|
@@ -4445,7 +4449,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4445
4449
|
method: "POST",
|
|
4446
4450
|
body: t
|
|
4447
4451
|
}) }) })
|
|
4448
|
-
}), { useGetCheckoutUrlMutation:
|
|
4452
|
+
}), { useGetCheckoutUrlMutation: Ql } = Or, ui = O.createApi({
|
|
4449
4453
|
reducerPath: "recoverPasswordApi",
|
|
4450
4454
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://app.emailmaker.ru/api/wp-json/bdpwr/v1/" }),
|
|
4451
4455
|
endpoints: () => ({})
|
|
@@ -4455,22 +4459,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4455
4459
|
endpoints: (e) => ({ addUserToProject: e.mutation({ queryFn(t, r) {
|
|
4456
4460
|
return O.getClient(r).userToProject.add_user_create(t, { type: O.ContentType$1.FormData });
|
|
4457
4461
|
} }) })
|
|
4458
|
-
}), { useAddUserToProjectMutation:
|
|
4462
|
+
}), { useAddUserToProjectMutation: sf } = Lt, Pr = O.createApi({
|
|
4459
4463
|
reducerPath: "confirmationMailApi",
|
|
4460
4464
|
baseQuery: O.fetchBaseQuery({
|
|
4461
4465
|
baseUrl: "https://px0.emailmaker.ru/",
|
|
4462
4466
|
responseHandler: (e) => e.text()
|
|
4463
4467
|
}),
|
|
4464
4468
|
endpoints: (e) => ({ getConfirmationMail: e.query({ query: ({ userId: t, email: r }) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/f0da9c0f-ed12-4d23-8a86-b86f7bf1a276?user_id=${t}&user_email=${r}`)}` }) }) })
|
|
4465
|
-
}), { useLazyGetConfirmationMailQuery:
|
|
4469
|
+
}), { useLazyGetConfirmationMailQuery: Vl } = Pr, Rr = O.createApi({
|
|
4466
4470
|
reducerPath: "recurrenceSubscriptionsOffApi",
|
|
4467
4471
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
4468
4472
|
endpoints: (e) => ({ getCanselRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/07ae4159-132b-4a00-998b-bc47c20365ba?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
|
|
4469
|
-
}), { useLazyGetCanselRecurrenceQuery:
|
|
4473
|
+
}), { useLazyGetCanselRecurrenceQuery: Gl, useGetCanselRecurrenceQuery: lf } = Rr, Nr = O.createApi({
|
|
4470
4474
|
reducerPath: "recurrenceSubscriptionsOnApi",
|
|
4471
4475
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
4472
4476
|
endpoints: (e) => ({ getRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/e1dd37b1-c3d4-4441-b329-d6b3aa51bfe7?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
|
|
4473
|
-
}), { useLazyGetRecurrenceQuery:
|
|
4477
|
+
}), { useLazyGetRecurrenceQuery: Zl, useGetRecurrenceQuery: cf } = Nr, Ir = O.createApi({
|
|
4474
4478
|
reducerPath: "authApi",
|
|
4475
4479
|
baseQuery: O.fetchBaseQueryApp({
|
|
4476
4480
|
baseUrl: "https://app.emailmaker.ru/api/v2",
|
|
@@ -4519,15 +4523,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4519
4523
|
body: t
|
|
4520
4524
|
}) })
|
|
4521
4525
|
})
|
|
4522
|
-
}), { useLoginMutation:
|
|
4526
|
+
}), { useLoginMutation: uf, useRegisterMutation: df, useRefreshTokenMutation: pf, useLogoutMutation: Jl, useGetUserQuery: ff, useLazyGetUserQuery: hf, useChangePasswordMutation: Xl, useResetPasswordMutation: mf, useResetPasswordConfirmMutation: gf } = Ir, Kl = "https://app.emailmaker.ru/api/v2", Ft = "Integrations", Mr = "Webhook", jr = "TestRecipients", di = "Storage", Ut = O.createApi({
|
|
4523
4527
|
reducerPath: "projectSettingsV2Api",
|
|
4524
4528
|
tagTypes: [
|
|
4525
4529
|
Ft,
|
|
4526
4530
|
Mr,
|
|
4527
4531
|
jr,
|
|
4528
|
-
|
|
4532
|
+
di
|
|
4529
4533
|
],
|
|
4530
|
-
baseQuery: O.fetchBaseQueryApp({ baseUrl:
|
|
4534
|
+
baseQuery: O.fetchBaseQueryApp({ baseUrl: Kl }),
|
|
4531
4535
|
endpoints: (e) => ({
|
|
4532
4536
|
getProjectIntegrations: e.query({
|
|
4533
4537
|
query: (t) => `/projects/${t}/integrations`,
|
|
@@ -4585,7 +4589,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4585
4589
|
getProjectStorage: e.query({
|
|
4586
4590
|
query: (t) => `/projects/${t}/storage`,
|
|
4587
4591
|
providesTags: (t, r, n) => [{
|
|
4588
|
-
type:
|
|
4592
|
+
type: di,
|
|
4589
4593
|
id: String(n)
|
|
4590
4594
|
}]
|
|
4591
4595
|
}),
|
|
@@ -4609,7 +4613,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4609
4613
|
id: String(n)
|
|
4610
4614
|
},
|
|
4611
4615
|
{
|
|
4612
|
-
type:
|
|
4616
|
+
type: di,
|
|
4613
4617
|
id: String(n)
|
|
4614
4618
|
}
|
|
4615
4619
|
]
|
|
@@ -4634,7 +4638,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4634
4638
|
}]
|
|
4635
4639
|
})
|
|
4636
4640
|
})
|
|
4637
|
-
}), { useGetProjectStorageQuery:
|
|
4641
|
+
}), { useGetProjectStorageQuery: ec, usePutProjectSettingsMutation: tc, useGetProjectIntegrationsQuery: rc, useLazyGetIntegrationCredentialsQuery: ic, usePutProjectIntegrationMutation: vf, useDeleteProjectIntegrationMutation: bf, useGetProjectWebhookQuery: nc, usePutProjectWebhookMutation: _f, useGetProjectTestRecipientsQuery: ac, usePutProjectTestRecipientsMutation: oc } = Ut, In = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
4638
4642
|
<html>
|
|
4639
4643
|
<head>
|
|
4640
4644
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
@@ -4676,7 +4680,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4676
4680
|
</table>
|
|
4677
4681
|
</body>
|
|
4678
4682
|
</html>`;
|
|
4679
|
-
function
|
|
4683
|
+
function sc(e) {
|
|
4680
4684
|
return Object.prototype.hasOwnProperty.call(e, "meta");
|
|
4681
4685
|
}
|
|
4682
4686
|
var zt = O.createState({
|
|
@@ -4706,13 +4710,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4706
4710
|
isAmp: !1
|
|
4707
4711
|
},
|
|
4708
4712
|
hasChanged: !1
|
|
4709
|
-
}), Dr = "newEmailSlice",
|
|
4713
|
+
}), Dr = "newEmailSlice", pi = O.createSlice({
|
|
4710
4714
|
name: Dr,
|
|
4711
4715
|
initialState: zt,
|
|
4712
4716
|
reducers: {
|
|
4713
4717
|
setNewEmailAll: (e, { payload: t }) => {
|
|
4714
4718
|
const { id: r, subject: n = void 0, description: i = "", preheader: a, html: s = In, utm_parameters: { utm_source: l = "", utm_medium: u = "", utm_campaign: m = "", utm_term: b = "", utm_content: E = "" } = {}, common_styles: p = "{}", emailtags: c = null, renderGuid: h, title: w, _embedded: k, isAmp: I = !1 } = t;
|
|
4715
|
-
e.hasChanged || (e.hasChanged = !0), e.email.isAmp = I, e.email.title = w,
|
|
4719
|
+
e.hasChanged || (e.hasChanged = !0), e.email.isAmp = I, e.email.title = w, sc(t) ? e.email.meta = t.meta : delete e.email.meta, e.emailtags = c, e.email.subject = n, e.email.description = i, e.email.common_styles = p || JSON.stringify(tn), e.email.preheader = a, e.email.is_template = !1, e.email.html = s, e.email.tags = O.getTaxonomy({ _embedded: k }, "emailtags")?.map((_) => _.name) || [], e.email.renderGuid = h ?? e.email.renderGuid ?? O.generateUUID(), t.showToken !== void 0 ? e.appliedShowToken = t.showToken : e.appliedShowToken += 1, e.email.parent_email = r, e.email.utm_parameters = {
|
|
4716
4720
|
utm_source: l,
|
|
4717
4721
|
utm_medium: u,
|
|
4718
4722
|
utm_campaign: m,
|
|
@@ -4801,7 +4805,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4801
4805
|
}
|
|
4802
4806
|
}));
|
|
4803
4807
|
}
|
|
4804
|
-
}), { setNewEmailAll:
|
|
4808
|
+
}), { setNewEmailAll: lc, setNewEmailTitle: cc, setNewEmailSubject: uc, setNewEmailPreheader: dc, setNewEmailDescription: pc, setNewEmailIsTemplate: fc, setNewEmailHtml: hc, setNewCommonStyles: yf, setNewEmailTags: mc, setNewEmailUtmSource: gc, setNewEmailUtmMedium: vc, setNewEmailUtmCampaign: bc, setNewEmailUtmContent: _c, setNewEmailUtmTerm: yc, resetNewEmailSlice: wc, setNewIsInited: Ec, setNewEmailIsAmp: xc, setNewEmailMeta: Sc, setNewEmailProject: Ac } = pi.actions, Cc = (e) => e[Dr].email, kc = (e) => e[Dr].appliedShowToken, Tc = (e) => e[Dr].hasChanged, Mn = `<tr em="block" class="empty-structure">
|
|
4805
4809
|
<td align="center">
|
|
4806
4810
|
<!--[if (gte mso 9)|(IE)]>
|
|
4807
4811
|
<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>
|
|
@@ -4837,7 +4841,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4837
4841
|
title: null
|
|
4838
4842
|
},
|
|
4839
4843
|
hasChanged: !1
|
|
4840
|
-
}), jn = "newBlockSlice",
|
|
4844
|
+
}), jn = "newBlockSlice", fi = O.createSlice({
|
|
4841
4845
|
name: jn,
|
|
4842
4846
|
initialState: Bt,
|
|
4843
4847
|
reducers: {
|
|
@@ -4880,14 +4884,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4880
4884
|
}
|
|
4881
4885
|
}));
|
|
4882
4886
|
}
|
|
4883
|
-
}), { setNewBlockAll:
|
|
4887
|
+
}), { setNewBlockAll: wf, setNewBlockTitle: Ef, setNewBlockDescription: Oc, setNewBlockHtml: xf, setNewBlockTags: Pc, resetNewBlockSlice: Rc, setBlockIsAmp: Sf } = fi.actions, Nc = (e) => e[jn].hasChanged, Dn = O.createState({
|
|
4884
4888
|
emailsTotal: 0,
|
|
4885
4889
|
elementsList: [],
|
|
4886
4890
|
emailsTrashTotal: 0,
|
|
4887
4891
|
elementsTrashList: [],
|
|
4888
4892
|
customFolders: {},
|
|
4889
4893
|
elementsView: !O.PLUGIN.isPlugin && O.api.get(O.APP_COOKIES.em_elements_view) || "cards"
|
|
4890
|
-
}), nt = "emailsPageSlice",
|
|
4894
|
+
}), nt = "emailsPageSlice", hi = O.createSlice({
|
|
4891
4895
|
name: nt,
|
|
4892
4896
|
initialState: Dn,
|
|
4893
4897
|
reducers: {
|
|
@@ -4931,7 +4935,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4931
4935
|
}) : n);
|
|
4932
4936
|
});
|
|
4933
4937
|
}
|
|
4934
|
-
}), { resetPagesAndTotal:
|
|
4938
|
+
}), { resetPagesAndTotal: Ic, toggleElementsView: Mc, resetElementsList: jc, removeEmailFromList: Dc } = hi.actions, Lc = (e) => e[nt].emailsTotal, Fc = (e) => e[nt].elementsView, Uc = (e) => e[nt].elementsList, zc = (e) => e[nt].customFolders, Bc = (e) => e[nt].emailsTrashTotal, qc = (e) => e[nt].elementsTrashList, Ln = O.createState({
|
|
4935
4939
|
blocksTotal: null,
|
|
4936
4940
|
blocksTotalPages: null,
|
|
4937
4941
|
parentEmailBlocksTotal: null,
|
|
@@ -4944,7 +4948,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4944
4948
|
customFolders: {},
|
|
4945
4949
|
blocksTrashTotal: 0,
|
|
4946
4950
|
elementsTrashList: []
|
|
4947
|
-
}), Lr = "blocksPageSlice",
|
|
4951
|
+
}), Lr = "blocksPageSlice", mi = O.createSlice({
|
|
4948
4952
|
name: Lr,
|
|
4949
4953
|
initialState: Ln,
|
|
4950
4954
|
reducers: {
|
|
@@ -4989,11 +4993,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4989
4993
|
}) : n);
|
|
4990
4994
|
});
|
|
4991
4995
|
}
|
|
4992
|
-
}), { resetPagesAndTotal:
|
|
4996
|
+
}), { resetPagesAndTotal: Af, resetElementsList: Cf, toggleElementsView: kf, removeBlockFromList: Tf } = mi.actions, Hc = (e) => e[Lr].blocksTotal, $c = (e) => e[Lr].templateBlocksTotal, Wc = (e) => e[Lr].parentEmailBlocksTotal, Fn = O.createState({
|
|
4993
4997
|
historyData: [],
|
|
4994
4998
|
elementHistoryTotalPages: 1
|
|
4995
|
-
}),
|
|
4996
|
-
name:
|
|
4999
|
+
}), gi = "revisionHistorySlice", Fr = O.createSlice({
|
|
5000
|
+
name: gi,
|
|
4997
5001
|
initialState: Fn,
|
|
4998
5002
|
reducers: {
|
|
4999
5003
|
resetElementHistorySlice: () => ({ ...Fn }),
|
|
@@ -5008,7 +5012,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5008
5012
|
t.elementHistoryTotalPages = +r.baseQueryMeta?.response.headers.get("X-WP-TotalPages"), (!n.args.page || n.args.page === 1) && (t.historyData = n.data || []);
|
|
5009
5013
|
});
|
|
5010
5014
|
}
|
|
5011
|
-
}), { resetElementHistorySlice:
|
|
5015
|
+
}), { resetElementHistorySlice: Qc } = Fr.actions, { setElementHistory: Of } = Fr.actions, Vc = (e) => e[gi].elementHistoryTotalPages, Gc = (e) => e[gi].historyData, Un = O.combineReducers({
|
|
5012
5016
|
[O.di.reducerPath]: O.di.reducer,
|
|
5013
5017
|
[Pt.reducerPath]: Pt.reducer,
|
|
5014
5018
|
[O.userSlice.name]: O.userSlice.reducer,
|
|
@@ -5021,8 +5025,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5021
5025
|
[O.projectSlice.name]: O.projectSlice.reducer,
|
|
5022
5026
|
[O.blocksApi.reducerPath]: O.blocksApi.reducer,
|
|
5023
5027
|
[O.emailsApi.reducerPath]: O.emailsApi.reducer,
|
|
5024
|
-
[di.name]: di.reducer,
|
|
5025
5028
|
[pi.name]: pi.reducer,
|
|
5029
|
+
[fi.name]: fi.reducer,
|
|
5026
5030
|
[it.reducerPath]: it.reducer,
|
|
5027
5031
|
[lr.reducerPath]: lr.reducer,
|
|
5028
5032
|
[cr.reducerPath]: cr.reducer,
|
|
@@ -5047,8 +5051,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5047
5051
|
[Mt.reducerPath]: Mt.reducer,
|
|
5048
5052
|
[O.commentsApi.reducerPath]: O.commentsApi.reducer,
|
|
5049
5053
|
[ir.reducerPath]: ir.reducer,
|
|
5054
|
+
[mi.name]: mi.reducer,
|
|
5050
5055
|
[hi.name]: hi.reducer,
|
|
5051
|
-
[fi.name]: fi.reducer,
|
|
5052
5056
|
[nr.reducerPath]: nr.reducer,
|
|
5053
5057
|
[sr.reducerPath]: sr.reducer,
|
|
5054
5058
|
[ar.reducerPath]: ar.reducer,
|
|
@@ -5066,14 +5070,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5066
5070
|
[O.autosaveRecoverySlice.name]: O.autosaveRecoverySlice.reducer,
|
|
5067
5071
|
[Or.reducerPath]: Or.reducer,
|
|
5068
5072
|
[er.defaultModePanesSlice.name]: er.defaultModePanesSlice.reducer,
|
|
5069
|
-
[
|
|
5073
|
+
[ui.reducerPath]: ui.reducer,
|
|
5070
5074
|
[Lt.reducerPath]: Lt.reducer,
|
|
5071
5075
|
[Pr.reducerPath]: Pr.reducer,
|
|
5072
5076
|
[Nr.reducerPath]: Nr.reducer,
|
|
5073
5077
|
[Rr.reducerPath]: Rr.reducer,
|
|
5074
5078
|
[Ir.reducerPath]: Ir.reducer,
|
|
5075
5079
|
[Ut.reducerPath]: Ut.reducer
|
|
5076
|
-
}),
|
|
5080
|
+
}), Zc = (e, t) => t.type === "authorizationApi/resetApiState" ? Un({
|
|
5077
5081
|
[O.reducerPath]: e[O.reducerPath],
|
|
5078
5082
|
[it.reducerPath]: e[it.reducerPath]
|
|
5079
5083
|
}, t) : Un(e, t), zn = [
|
|
@@ -5119,7 +5123,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5119
5123
|
Tr,
|
|
5120
5124
|
Dt,
|
|
5121
5125
|
Or,
|
|
5122
|
-
|
|
5126
|
+
ui,
|
|
5123
5127
|
Ir,
|
|
5124
5128
|
Ut,
|
|
5125
5129
|
Lt,
|
|
@@ -5127,14 +5131,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5127
5131
|
Nr,
|
|
5128
5132
|
Rr
|
|
5129
5133
|
];
|
|
5130
|
-
function
|
|
5134
|
+
function Yc(e) {
|
|
5131
5135
|
let t = {};
|
|
5132
5136
|
if (e) {
|
|
5133
5137
|
const n = O.createIdentifier$1();
|
|
5134
5138
|
O.DependencyResolver.inject(n, e), t = { INJECTION: n };
|
|
5135
5139
|
}
|
|
5136
5140
|
const r = O.configureStore({
|
|
5137
|
-
reducer:
|
|
5141
|
+
reducer: Zc,
|
|
5138
5142
|
middleware: (n) => n({ serializableCheck: !1 }).concat(zn.map((i) => i.middleware)),
|
|
5139
5143
|
preloadedState: t
|
|
5140
5144
|
});
|
|
@@ -5154,13 +5158,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5154
5158
|
return O.getClient(r).jwtAuth.token_validate_create({ type: O.ContentType$1.Json });
|
|
5155
5159
|
} })
|
|
5156
5160
|
})
|
|
5157
|
-
}), { useTokenCreateMutation:
|
|
5161
|
+
}), { useTokenCreateMutation: Pf, useTokenValidateMutation: Rf } = Ur;
|
|
5158
5162
|
function Bn() {
|
|
5159
5163
|
const e = new Map();
|
|
5160
5164
|
for (const t of zn) e.set(t.reducerPath, t);
|
|
5161
5165
|
return e.set(Ur.reducerPath, Ur), [...e.values()];
|
|
5162
5166
|
}
|
|
5163
|
-
var
|
|
5167
|
+
var Jc = {
|
|
5164
5168
|
AiApi: new Set(["sendMessage", "getDialog"]),
|
|
5165
5169
|
imageApi: new Set([
|
|
5166
5170
|
"sendAiImageRequest",
|
|
@@ -5168,27 +5172,27 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5168
5172
|
"getAiImageSSE"
|
|
5169
5173
|
])
|
|
5170
5174
|
};
|
|
5171
|
-
function
|
|
5175
|
+
function Xc(e) {
|
|
5172
5176
|
return e.getState().configSlice?.config;
|
|
5173
5177
|
}
|
|
5174
|
-
function
|
|
5178
|
+
function Kc(e) {
|
|
5175
5179
|
return e?.backendProxy !== void 0 && e?.backendProxyPolicy?.proxyAi === !0;
|
|
5176
5180
|
}
|
|
5177
|
-
function
|
|
5178
|
-
return Xc(
|
|
5181
|
+
function eu(e) {
|
|
5182
|
+
return Kc(Xc(e));
|
|
5179
5183
|
}
|
|
5180
|
-
function
|
|
5181
|
-
return
|
|
5184
|
+
function tu(e, t, r, n) {
|
|
5185
|
+
return Jc[t]?.has(r) ? (i) => eu(e) ? (a) => a(i) : n(i) : n;
|
|
5182
5186
|
}
|
|
5183
|
-
function
|
|
5187
|
+
function ru(e) {
|
|
5184
5188
|
const t = O.getOverrideApiFn(e);
|
|
5185
5189
|
return ((r, n) => {
|
|
5186
5190
|
if (!r || typeof r.reducerPath != "string") return new O.Disposable();
|
|
5187
|
-
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ?
|
|
5191
|
+
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ? tu(e, r.reducerPath, a, s) : s]));
|
|
5188
5192
|
return t(r, i);
|
|
5189
5193
|
});
|
|
5190
5194
|
}
|
|
5191
|
-
function
|
|
5195
|
+
function iu(e) {
|
|
5192
5196
|
const t = `blocks_${O.generateUUID().replaceAll("-", "")}`, r = document.createElement("script");
|
|
5193
5197
|
return r.type = "text/javascript", r.text = `window.${t}(function(module, exports, require) { ${e}; })`, new Promise((n, i) => {
|
|
5194
5198
|
window[t] = function(a) {
|
|
@@ -5199,37 +5203,37 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5199
5203
|
r.remove(), delete window[t];
|
|
5200
5204
|
});
|
|
5201
5205
|
}
|
|
5202
|
-
function
|
|
5206
|
+
function nu(e) {
|
|
5203
5207
|
if (!e) return;
|
|
5204
5208
|
const t = Ie.decodeJwt(e)?.data?.scope;
|
|
5205
5209
|
return (Array.isArray(t) ? t.flatMap((r) => String(r).split(/\s+/)) : String(t || "").split(/\s+/)).find((r) => /^project_\d+$/.test(r))?.replace(/^project_/, "") || void 0;
|
|
5206
5210
|
}
|
|
5207
|
-
async function
|
|
5211
|
+
async function au(e) {
|
|
5208
5212
|
const t = O.di.getInstance(e, O.STANDALONE_PROJECT_ID), r = t ? void 0 : await O.di.getInstanceAsync(e, O.APP_ID).catch(() => {}), n = t || (r?.project !== void 0 ? String(r.project) : void 0);
|
|
5209
5213
|
n && e.dispatch(O.setProject(xn(n)));
|
|
5210
5214
|
}
|
|
5211
|
-
async function
|
|
5215
|
+
async function ou(e, t) {
|
|
5212
5216
|
try {
|
|
5213
5217
|
const r = function(s) {
|
|
5214
5218
|
const l = O.di.getInstance(e, O.STANDALONE_PROJECT_ID), u = l ? Sn(l, s) : s;
|
|
5215
5219
|
O.di.injectFactory(e, O.APP_ID, async () => u);
|
|
5216
|
-
}, n =
|
|
5220
|
+
}, n = ru(e), i = await (await En.default.loadAsync(t, { base64: !0 })).files.key?.async("text");
|
|
5217
5221
|
if (typeof i != "string") return;
|
|
5218
|
-
const a = await
|
|
5222
|
+
const a = await iu(i);
|
|
5219
5223
|
if (typeof a != "object" || a === null || typeof a.execute != "function") return;
|
|
5220
5224
|
a.execute(r, n, Bn());
|
|
5221
5225
|
} catch {}
|
|
5222
5226
|
}
|
|
5223
|
-
function
|
|
5227
|
+
function su(e, t) {
|
|
5224
5228
|
const r = Object.keys(t.endpoints);
|
|
5225
5229
|
r.length && e(t, Object.fromEntries(r.map((n) => [n, O.standaloneTerminalGuardExecutor])));
|
|
5226
5230
|
}
|
|
5227
|
-
function
|
|
5231
|
+
function lu(e) {
|
|
5228
5232
|
O.markStandaloneMockGuardInstalled(e);
|
|
5229
5233
|
const t = O.getOverrideApiFn(e);
|
|
5230
|
-
for (const r of Bn())
|
|
5234
|
+
for (const r of Bn()) su(t, r);
|
|
5231
5235
|
}
|
|
5232
|
-
var
|
|
5236
|
+
var cu = class extends O.Disposable {
|
|
5233
5237
|
_event;
|
|
5234
5238
|
_listener;
|
|
5235
5239
|
_disposeEvent;
|
|
@@ -5243,7 +5247,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5243
5247
|
this._disposeEvent && this._disposeEvent(), super.dispose();
|
|
5244
5248
|
}
|
|
5245
5249
|
};
|
|
5246
|
-
function
|
|
5250
|
+
function uu(e, t, r) {
|
|
5247
5251
|
const n = O.snapshot(e);
|
|
5248
5252
|
return (i, a, s) => {
|
|
5249
5253
|
const l = n(async (u) => {
|
|
@@ -5255,7 +5259,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5255
5259
|
return () => l.dispose();
|
|
5256
5260
|
};
|
|
5257
5261
|
}
|
|
5258
|
-
var
|
|
5262
|
+
var vi = {
|
|
5259
5263
|
INIT_START: 5e3,
|
|
5260
5264
|
SET_ENTITY: 12e3,
|
|
5261
5265
|
PREHEADER: 5e3,
|
|
@@ -5268,13 +5272,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5268
5272
|
"PREHEADER",
|
|
5269
5273
|
"SUBJECT",
|
|
5270
5274
|
"INITED"
|
|
5271
|
-
],
|
|
5272
|
-
function
|
|
5275
|
+
], bi = 2e4, Hn = bi + qn.reduce((e, t) => e + vi[t], 0) + 3e3;
|
|
5276
|
+
function pu(e) {
|
|
5273
5277
|
return qn.reduce((t, r) => t + $n(r, e), 0);
|
|
5274
5278
|
}
|
|
5275
5279
|
function $n(e, t) {
|
|
5276
5280
|
const r = t?.[e];
|
|
5277
|
-
return typeof r == "number" && r > 0 ? r :
|
|
5281
|
+
return typeof r == "number" && r > 0 ? r : vi[e];
|
|
5278
5282
|
}
|
|
5279
5283
|
function Wn(e) {
|
|
5280
5284
|
const t = e?.contentReady;
|
|
@@ -5282,14 +5286,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5282
5286
|
}
|
|
5283
5287
|
function Qn(e) {
|
|
5284
5288
|
const t = e?.sandboxReady;
|
|
5285
|
-
return typeof t == "number" && t > 0 ? t :
|
|
5289
|
+
return typeof t == "number" && t > 0 ? t : bi;
|
|
5286
5290
|
}
|
|
5287
|
-
var
|
|
5291
|
+
var fu = class extends Error {
|
|
5288
5292
|
showId;
|
|
5289
5293
|
constructor(e, t) {
|
|
5290
5294
|
super(`[emailmaker] show() timed out after ${t}ms waiting for editor init (showId=${e}). Check earlier console errors: wrong host-plugin publicPath (chunks return HTML), mount element removed without destroy(), or sandbox init never completed. Search for [show-pipeline] and [AMD] messages.`), this.name = "ShowPipelineTimeoutError", this.showId = e;
|
|
5291
5295
|
}
|
|
5292
|
-
},
|
|
5296
|
+
}, hu = class {
|
|
5293
5297
|
_activeRequest = null;
|
|
5294
5298
|
_pending = new Map();
|
|
5295
5299
|
_listeners = new Set();
|
|
@@ -5305,7 +5309,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5305
5309
|
return this._rejectPending(Be("Superseded by newer show()")), r.aborted ? Promise.reject(Be(r.reason)) : (this._activeRequest = e, new Promise((n, i) => {
|
|
5306
5310
|
const a = setTimeout(() => {
|
|
5307
5311
|
this._settle(e.showId, () => {
|
|
5308
|
-
i(new
|
|
5312
|
+
i(new fu(e.showId, t));
|
|
5309
5313
|
});
|
|
5310
5314
|
}, t);
|
|
5311
5315
|
a.unref?.();
|
|
@@ -5353,7 +5357,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5353
5357
|
this._pending.clear();
|
|
5354
5358
|
}
|
|
5355
5359
|
};
|
|
5356
|
-
function
|
|
5360
|
+
function mu(e, t) {
|
|
5357
5361
|
return {
|
|
5358
5362
|
contentReady: t.contentReady ?? e?.contentReady,
|
|
5359
5363
|
sandboxReady: t.sandboxReady ?? e?.sandboxReady,
|
|
@@ -5363,16 +5367,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5363
5367
|
} : e?.sandbox
|
|
5364
5368
|
};
|
|
5365
5369
|
}
|
|
5366
|
-
function
|
|
5370
|
+
function gu(e) {
|
|
5367
5371
|
if (!e || !(e.contentReady !== void 0 || e.sandboxReady !== void 0 || e.sandbox !== void 0)) return;
|
|
5368
5372
|
Wn(e);
|
|
5369
|
-
Qn(e) +
|
|
5373
|
+
Qn(e) + pu(e.sandbox);
|
|
5370
5374
|
}
|
|
5371
5375
|
var Vn = class {
|
|
5372
5376
|
_controller = new AbortController();
|
|
5373
5377
|
_externalSignalDisposable = new O.Disposable();
|
|
5374
5378
|
_sessionChangeListeners = new Set();
|
|
5375
|
-
_showRegistry = new
|
|
5379
|
+
_showRegistry = new hu();
|
|
5376
5380
|
_timeouts;
|
|
5377
5381
|
_generation = 0;
|
|
5378
5382
|
_sessionStarted = !1;
|
|
@@ -5421,7 +5425,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5421
5425
|
};
|
|
5422
5426
|
}
|
|
5423
5427
|
configure(e) {
|
|
5424
|
-
e.timeouts !== void 0 && (this._timeouts =
|
|
5428
|
+
e.timeouts !== void 0 && (this._timeouts = mu(this._timeouts, e.timeouts), gu(this._timeouts));
|
|
5425
5429
|
const t = e.replaceSession === !0 || !this._sessionStarted || e.timeouts !== void 0 || e.signal !== void 0;
|
|
5426
5430
|
this._sessionStarted = !0, t && (this._replaceSessionController(), this.bumpGeneration()), (e.signal !== void 0 || t) && this._linkExternalSignal(e.signal);
|
|
5427
5431
|
}
|
|
@@ -5448,18 +5452,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5448
5452
|
e.removeEventListener("abort", t);
|
|
5449
5453
|
});
|
|
5450
5454
|
}
|
|
5451
|
-
},
|
|
5455
|
+
}, vu = (() => {
|
|
5452
5456
|
const e = new Vn();
|
|
5453
5457
|
return e.configure({}), e;
|
|
5454
5458
|
})();
|
|
5455
|
-
function
|
|
5459
|
+
function bu(e = Hn) {
|
|
5456
5460
|
return e + 3e3;
|
|
5457
5461
|
}
|
|
5458
5462
|
var Gn = "PluginRegistry";
|
|
5459
|
-
function
|
|
5463
|
+
function _u(e = O.resolveContainer()) {
|
|
5460
5464
|
return e.getOrCreateInstance(Gn, () => new rs());
|
|
5461
5465
|
}
|
|
5462
|
-
var
|
|
5466
|
+
var yu = new is(() => _u()), Zn = {
|
|
5463
5467
|
"application/prs.cww": ["cww"],
|
|
5464
5468
|
"application/prs.xsf+xml": ["xsf"],
|
|
5465
5469
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -6770,7 +6774,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6770
6774
|
if (r === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
|
|
6771
6775
|
if (typeof t == "function" ? e !== t || !n : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
6772
6776
|
return r === "m" ? n : r === "a" ? n.call(e) : n ? n.value : t.get(e);
|
|
6773
|
-
}, gt, qt, at,
|
|
6777
|
+
}, gt, qt, at, wu = class {
|
|
6774
6778
|
constructor(...e) {
|
|
6775
6779
|
gt.set(this, new Map()), qt.set(this, new Map()), at.set(this, new Map());
|
|
6776
6780
|
for (const t of e) this.define(t);
|
|
@@ -6816,7 +6820,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6816
6820
|
}
|
|
6817
6821
|
};
|
|
6818
6822
|
gt = new WeakMap(), qt = new WeakMap(), at = new WeakMap();
|
|
6819
|
-
var
|
|
6823
|
+
var _i = new wu(Yn, Zn)._freeze();
|
|
6820
6824
|
function Jn(e) {
|
|
6821
6825
|
return /#set\s*\(\s*.*=.*\)/.test(e);
|
|
6822
6826
|
}
|
|
@@ -6850,27 +6854,27 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6850
6854
|
}
|
|
6851
6855
|
return r === 0;
|
|
6852
6856
|
}
|
|
6853
|
-
function
|
|
6857
|
+
function Eu(e) {
|
|
6854
6858
|
return (t, r, n) => zr(t) ? e(t, r, n) : !1;
|
|
6855
6859
|
}
|
|
6856
|
-
function
|
|
6860
|
+
function xu(e) {
|
|
6857
6861
|
return (t) => zr(t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t) ? e(t) : !1;
|
|
6858
6862
|
}
|
|
6859
|
-
function
|
|
6863
|
+
function Su(e) {
|
|
6860
6864
|
return (t, r, n) => zr(t) ? Jn(t) ? e(t, r, n) : t : !1;
|
|
6861
6865
|
}
|
|
6862
|
-
function
|
|
6866
|
+
function Au(e) {
|
|
6863
6867
|
return (t) => {
|
|
6864
6868
|
const r = t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t;
|
|
6865
6869
|
return zr(r) ? Jn(r) ? e(t) : t : !1;
|
|
6866
6870
|
};
|
|
6867
6871
|
}
|
|
6868
|
-
function
|
|
6872
|
+
function Cu(e) {
|
|
6869
6873
|
const t = /[<>&]/g;
|
|
6870
6874
|
for (; t.exec(e) !== null;) return !0;
|
|
6871
6875
|
return !1;
|
|
6872
6876
|
}
|
|
6873
|
-
function
|
|
6877
|
+
function yi(e, t) {
|
|
6874
6878
|
const r = e.length;
|
|
6875
6879
|
for (let n = 0; n < r; n++) {
|
|
6876
6880
|
const i = e.charCodeAt(n);
|
|
@@ -6878,7 +6882,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6878
6882
|
}
|
|
6879
6883
|
return !0;
|
|
6880
6884
|
}
|
|
6881
|
-
function
|
|
6885
|
+
function ku(e) {
|
|
6882
6886
|
const t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", n = new Uint8Array(e);
|
|
6883
6887
|
crypto.getRandomValues(n);
|
|
6884
6888
|
let i = "";
|
|
@@ -6888,34 +6892,34 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6888
6892
|
}
|
|
6889
6893
|
return i;
|
|
6890
6894
|
}
|
|
6891
|
-
var
|
|
6895
|
+
var Tu = 8, Ou = class {
|
|
6892
6896
|
_byKey = Object.create(null);
|
|
6893
6897
|
_byValue = Object.create(null);
|
|
6894
6898
|
getOrCreateByKey(e) {
|
|
6895
6899
|
let t = this._byKey[e];
|
|
6896
|
-
return t === void 0 && (t =
|
|
6900
|
+
return t === void 0 && (t = ku(Tu), this._byKey[e] = t, this._byValue[t] = e), t;
|
|
6897
6901
|
}
|
|
6898
6902
|
getByValue(e) {
|
|
6899
6903
|
return this._byValue[e];
|
|
6900
6904
|
}
|
|
6901
|
-
}, Br = new
|
|
6905
|
+
}, Br = new Ou();
|
|
6902
6906
|
function Xn(e, t) {
|
|
6903
|
-
return t !== void 0 && !
|
|
6907
|
+
return t !== void 0 && !yi(e, t) ? `%|{${Br.getOrCreateByKey(e)}}|%` : e;
|
|
6904
6908
|
}
|
|
6905
|
-
function
|
|
6909
|
+
function Pu(e) {
|
|
6906
6910
|
const t = Br.getByValue(e.slice(3, e.length - 3));
|
|
6907
6911
|
return t === void 0 ? e : t;
|
|
6908
6912
|
}
|
|
6909
6913
|
function we(e, t, r) {
|
|
6910
|
-
return t !== void 0 ?
|
|
6914
|
+
return t !== void 0 ? yi(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : `<!--${e}-->`;
|
|
6911
6915
|
}
|
|
6912
|
-
function
|
|
6916
|
+
function Ru(e) {
|
|
6913
6917
|
return e.replace(/>/g, ">").replace(/</g, "<").replace(/&/g, "&");
|
|
6914
6918
|
}
|
|
6915
6919
|
function be(e) {
|
|
6916
|
-
return e.startsWith("<!--") && e.endsWith("-->") ?
|
|
6920
|
+
return e.startsWith("<!--") && e.endsWith("-->") ? Ru(e.slice(4, -3)) : e;
|
|
6917
6921
|
}
|
|
6918
|
-
function
|
|
6922
|
+
function Nu(e) {
|
|
6919
6923
|
const t = /^(IF|ELSE|ELSIF|ELSEIF|END|FOREACH|WHILE|NEXT|LAST|BREAK|DO|UNLESS|CONTINUE|SET|UNSET|DEFINE|INCLUDE)\b/i, r = /\w+\s*\(/;
|
|
6920
6924
|
let n = e;
|
|
6921
6925
|
const i = e.match(/\[%\s*([^%]*?)\s*%\]/);
|
|
@@ -6923,14 +6927,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6923
6927
|
const a = n.trim();
|
|
6924
6928
|
return t.test(a) || r.test(a);
|
|
6925
6929
|
}
|
|
6926
|
-
function
|
|
6927
|
-
return t !== void 0 ?
|
|
6930
|
+
function Iu(e, t, r) {
|
|
6931
|
+
return t !== void 0 ? yi(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : r || Cu(e) || Nu(e) ? `<!--${e}-->` : e;
|
|
6928
6932
|
}
|
|
6929
|
-
var ot =
|
|
6930
|
-
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%",
|
|
6931
|
-
},
|
|
6932
|
-
function
|
|
6933
|
-
return e ?
|
|
6933
|
+
var ot = Eu(we), st = xu(be), Mu = Su(we), ju = Au(be), Kn = (e) => {
|
|
6934
|
+
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%", Pu), e.escape("@{", "}", we, !0).unescape("<!--@{", "}-->", be, !0), e.unescape("<!--%%%{{{", "}}}%%%-->", (t) => t.substring(10, t.length - 9), !1), e.escape("${", "}", Xn, !0), e.escape("{{", "}}", Xn, !0), e.createSyntax("brace-percent").escape("{%", "%}", we).unescape("<!--{%", "%}-->", be), e.createSyntax("brace-hash").escape("{#", "#}", we).unescape("<!--{#", "#}-->", be), e.createSyntax("proscript").escape("[%", "%]", Iu, !0).unescape("<!--[%", "%]-->", be, !0), e.createSyntax("getresponse").escape("[[IF", "]]", we).escape("[[if", "]]", we).escape("[[ELSE]]", "", we).escape("[[else]]", "", we).escape("[[ENDIF]]", "", we).escape("[[endif]]", "", we).unescape("<!--[[IF", "]]-->", be).unescape("<!--[[if", "]]-->", be).unescape("<!--[[ELSE]]", "-->", be).unescape("<!--[[else]]", "-->", be).unescape("<!--[[ENDIF]]", "-->", be).unescape("<!--[[endif]]", "-->", be), e.createSyntax("expert-sender").escape("<if", ">", we).escape("</if", ">", we).escape("<else", ">", we).escape("</else", ">", we).escape("<var ", ">", we, !0).unescape("<!--<if ", ">-->", be).unescape("<!--</if", ">-->", be).unescape("<!--<else ", ">-->", be).unescape("<!--</else", ">-->", be).unescape("<!--<var", ">-->", be, !0), e.createSyntax("velocity").escape("#if", ")", ot).escape("#elseif", ")", ot).escape("#else", "", we).escape("#foreach", ")", ot).escape("#macro", ")", ot).escape("#set", ")", Mu, !0).escape("#parse", ")", ot).escape("#include", ")", ot).escape("#evaluate", ")", ot).escape("#end", "", we).escape("#break", "", we).escape("#stop", "", we).unescape("<!--#macro", "-->", st).unescape("<!--#if", "-->", st).unescape("<!--#elseif", "-->", st).unescape("<!--#else", "-->", be).unescape("<!--#foreach", "-->", st).unescape("<!--#parse", "-->", st).unescape("<!--#include", "-->", st).unescape("<!--#evaluate", "-->", st).unescape("<!--#end", "-->", be).unescape("<!--#break", "-->", be).unescape("<!--#stop", "-->", be).unescape("<!--#set", "-->", ju, !0), e.createSyntax("mailchimp").escape("*|", "|*", we).unescape("<!--*|", "|*-->", be);
|
|
6935
|
+
}, wi = "bare", Du = new Map();
|
|
6936
|
+
function Lu(e) {
|
|
6937
|
+
return e ? Du.get(e) ?? wi : wi;
|
|
6934
6938
|
}
|
|
6935
6939
|
var ea = [
|
|
6936
6940
|
"brace-percent",
|
|
@@ -6947,10 +6951,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6947
6951
|
function Ht(e) {
|
|
6948
6952
|
return e === "bare" || e === "html-comment";
|
|
6949
6953
|
}
|
|
6950
|
-
function
|
|
6954
|
+
function Ei(e) {
|
|
6951
6955
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
6952
6956
|
}
|
|
6953
|
-
function
|
|
6957
|
+
function Fu(e, t = (r) => {}) {
|
|
6954
6958
|
const r = {
|
|
6955
6959
|
output: {},
|
|
6956
6960
|
editor: {}
|
|
@@ -6963,10 +6967,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6963
6967
|
} else if (typeof e == "object" && !Array.isArray(e)) n = e;
|
|
6964
6968
|
else return t(`templateDirectives: expected a string or an object, got ${typeof e}. Ignored.`), r;
|
|
6965
6969
|
for (const [m, b] of [["output", n.output], ["editor", n.editor]]) if (b !== void 0 && !Ht(b)) return t(`templateDirectives.${m}: unknown form "${String(b)}", configuration ignored.`), r;
|
|
6966
|
-
if (n.syntaxes !== void 0 && !
|
|
6970
|
+
if (n.syntaxes !== void 0 && !Ei(n.syntaxes)) return t("templateDirectives.syntaxes: expected an object, configuration ignored."), r;
|
|
6967
6971
|
if (n.syntaxes) {
|
|
6968
6972
|
for (const [m, b] of Object.entries(n.syntaxes)) if (!(!ta(m) || b === void 0 || Ht(b))) {
|
|
6969
|
-
if (!
|
|
6973
|
+
if (!Ei(b)) return t(`templateDirectives.syntaxes.${m}: expected a form or an object, configuration ignored.`), r;
|
|
6970
6974
|
for (const E of ["output", "editor"]) {
|
|
6971
6975
|
const p = b[E];
|
|
6972
6976
|
if (p !== void 0 && !Ht(p)) return t(`templateDirectives.syntaxes.${m}.${E}: unknown form "${String(p)}", configuration ignored.`), r;
|
|
@@ -6974,7 +6978,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6974
6978
|
}
|
|
6975
6979
|
}
|
|
6976
6980
|
if (n.output === void 0 && n.editor === void 0 && n.syntaxes === void 0) return r;
|
|
6977
|
-
const i = n.output ??
|
|
6981
|
+
const i = n.output ?? wi;
|
|
6978
6982
|
let a = n.editor;
|
|
6979
6983
|
i === "bare" && n.editor === "html-comment" && (t("templateDirectives: editor=\"html-comment\" requires output=\"html-comment\"; editor was reset to match output."), a = void 0);
|
|
6980
6984
|
const s = [];
|
|
@@ -6988,7 +6992,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6988
6992
|
else s.push(...ea);
|
|
6989
6993
|
const l = {}, u = {};
|
|
6990
6994
|
for (const m of s) {
|
|
6991
|
-
const b = n.syntaxes?.[m], E =
|
|
6995
|
+
const b = n.syntaxes?.[m], E = Ei(b) ? b : void 0, p = (Ht(b) ? b : E?.output) ?? i;
|
|
6992
6996
|
let c = E?.editor ?? a ?? p;
|
|
6993
6997
|
p === "bare" && c === "html-comment" && (t(`templateDirectives.syntaxes.${m}: editor="html-comment" requires output="html-comment" for this id; editor was reset to "bare" for it.`), c = "bare"), l[m] = p, u[m] = c;
|
|
6994
6998
|
}
|
|
@@ -7038,7 +7042,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7038
7042
|
}
|
|
7039
7043
|
return s.sort((b, E) => b.range.start - E.range.start || b.range.end - E.range.end);
|
|
7040
7044
|
}
|
|
7041
|
-
function
|
|
7045
|
+
function Uu(e, t) {
|
|
7042
7046
|
const r = t.reduce((l, { mapFn: u, start: m, end: b, syntax: E, isVariable: p }) => (l[m] || (l[m] = []), l[m].push({
|
|
7043
7047
|
value: b,
|
|
7044
7048
|
mapFn: u,
|
|
@@ -7056,10 +7060,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7056
7060
|
}
|
|
7057
7061
|
return a;
|
|
7058
7062
|
}
|
|
7059
|
-
function
|
|
7063
|
+
function xi(e, t, r, n, i = !1) {
|
|
7060
7064
|
const a = [];
|
|
7061
7065
|
if (r && (t = t.filter((m) => m.isVariable)), !t.length) return a;
|
|
7062
|
-
const s =
|
|
7066
|
+
const s = Uu(e, t), l = {
|
|
7063
7067
|
insideTag: !1,
|
|
7064
7068
|
insideAttributeValue: !1,
|
|
7065
7069
|
attributeQuoteChar: void 0,
|
|
@@ -7112,7 +7116,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7112
7116
|
for (const { text: i, range: a } of r) n = n.slice(0, a.start) + i + n.slice(a.end);
|
|
7113
7117
|
return n;
|
|
7114
7118
|
}
|
|
7115
|
-
var
|
|
7119
|
+
var zu = class {
|
|
7116
7120
|
_disposables = [];
|
|
7117
7121
|
_escapes = [];
|
|
7118
7122
|
_unescapes = [];
|
|
@@ -7169,22 +7173,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7169
7173
|
return this.addDisposable(a), a;
|
|
7170
7174
|
}
|
|
7171
7175
|
_collectMappings(e, t, r) {
|
|
7172
|
-
const n =
|
|
7176
|
+
const n = xi(e, this._escapes, t, r), i = ia(e, this._escapeMatchers, t, r), a = i.filter((u) => u.overrideBuiltins).map((u) => u.range), s = n.filter((u) => !a.some((m) => $t(m, u.range))), l = i.filter((u) => u.overrideBuiltins || !s.some((m) => $t(u.range, m.range)));
|
|
7173
7177
|
return [...s, ...l].sort((u, m) => u.range.start - m.range.start || u.range.end - m.range.end);
|
|
7174
7178
|
}
|
|
7175
7179
|
getMappings(e, t, r) {
|
|
7176
7180
|
return this._collectMappings(e, t, r);
|
|
7177
7181
|
}
|
|
7178
7182
|
_collectRevertMappings(e, t) {
|
|
7179
|
-
const r =
|
|
7183
|
+
const r = xi(e, this._unescapes, t), n = ia(e, this._unescapeMatchers, t, !1), i = n.filter((l) => l.overrideBuiltins).map((l) => l.range), a = r.filter((l) => !i.some((u) => $t(u, l.range))), s = n.filter((l) => l.overrideBuiltins || !a.some((u) => $t(l.range, u.range)));
|
|
7180
7184
|
return [...a, ...s].sort((l, u) => l.range.start - u.range.start || l.range.end - u.range.end);
|
|
7181
7185
|
}
|
|
7182
7186
|
getRevertMappings(e, t, r) {
|
|
7183
|
-
const n = r ? (i) => i !== void 0 && r.has(i) : (i) =>
|
|
7187
|
+
const n = r ? (i) => i !== void 0 && r.has(i) : (i) => Lu(i) === "html-comment";
|
|
7184
7188
|
return this._collectRevertMappings(e, t).filter((i) => i.isVariable || !n(i.syntax));
|
|
7185
7189
|
}
|
|
7186
7190
|
getDetectedMappings(e, t, r) {
|
|
7187
|
-
return
|
|
7191
|
+
return xi(e, this._escapes, t, r, !0);
|
|
7188
7192
|
}
|
|
7189
7193
|
getEscapedText(e, t) {
|
|
7190
7194
|
return qr(e, this.getMappings(e, t));
|
|
@@ -7208,7 +7212,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7208
7212
|
}
|
|
7209
7213
|
}, ke = (function(e) {
|
|
7210
7214
|
return e[e.HTML = 0] = "HTML", e[e.ELEMENT = 1] = "ELEMENT", e[e.ROOT = 2] = "ROOT", e[e.COMMENT = 3] = "COMMENT", e[e.DOCTYPE = 4] = "DOCTYPE", e[e.ADVANCED = 5] = "ADVANCED", e;
|
|
7211
|
-
})({}), Hr = (e) => e.type === 0 ? e.start - 1 : e.start,
|
|
7215
|
+
})({}), Hr = (e) => e.type === 0 ? e.start - 1 : e.start, Bu = (e) => e.type === 0 ? e.end + 1 : e.end, Ke = class ts {
|
|
7212
7216
|
start;
|
|
7213
7217
|
end;
|
|
7214
7218
|
children;
|
|
@@ -7256,7 +7260,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7256
7260
|
const r = aa(this.children, (n) => t <= Hr(n)) - 1;
|
|
7257
7261
|
if (r >= 0) {
|
|
7258
7262
|
const n = this.children[r];
|
|
7259
|
-
if (t >= Hr(n) && t <=
|
|
7263
|
+
if (t >= Hr(n) && t <= Bu(n)) return n.findNodeAt(t);
|
|
7260
7264
|
}
|
|
7261
7265
|
return this;
|
|
7262
7266
|
}
|
|
@@ -7290,7 +7294,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7290
7294
|
const i = this.start - r, a = new ts(r, this.end - i, [], t);
|
|
7291
7295
|
return a.children = n ? this.children.map((s) => s.clone(a, s.start - i)) : [], a.attributes = { ...this.attributes }, a.closed = this.closed, a.content = this.content, a.startTagEnd = this.startTagEnd, a.endTagStart = this.endTagStart, a.tag = this.tag, a.type = this.type, a;
|
|
7292
7296
|
}
|
|
7293
|
-
},
|
|
7297
|
+
}, qu = new Set([
|
|
7294
7298
|
"area",
|
|
7295
7299
|
"br",
|
|
7296
7300
|
"col",
|
|
@@ -7303,20 +7307,20 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7303
7307
|
"param",
|
|
7304
7308
|
"vk-snippet-end"
|
|
7305
7309
|
]);
|
|
7306
|
-
function
|
|
7310
|
+
function Hu(e) {
|
|
7307
7311
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7308
7312
|
}
|
|
7309
7313
|
var na = Object.create(null);
|
|
7310
|
-
function
|
|
7314
|
+
function $u(e, t) {
|
|
7311
7315
|
const r = na[e] || (na[e] = Object.create(null));
|
|
7312
7316
|
let n = r[t];
|
|
7313
7317
|
if (typeof n != "boolean") {
|
|
7314
|
-
const i = document.createElement(e)[
|
|
7318
|
+
const i = document.createElement(e)[Hu(t)];
|
|
7315
7319
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
7316
7320
|
}
|
|
7317
7321
|
return n;
|
|
7318
7322
|
}
|
|
7319
|
-
function
|
|
7323
|
+
function Wu(e) {
|
|
7320
7324
|
const t = e.tag?.toLowerCase();
|
|
7321
7325
|
let r = "";
|
|
7322
7326
|
if (t) {
|
|
@@ -7325,15 +7329,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7325
7329
|
const i = Object.keys(n);
|
|
7326
7330
|
for (const a of i) {
|
|
7327
7331
|
const s = n[a] === null ? "" : n[a];
|
|
7328
|
-
typeof s == "string" && (r += s === "" && a !== "em" &&
|
|
7332
|
+
typeof s == "string" && (r += s === "" && a !== "em" && !$u(t, a) ? ` ${a}` : ` ${a}="${s.replaceAll("\"", "'")}"`);
|
|
7329
7333
|
}
|
|
7330
7334
|
}
|
|
7331
7335
|
}
|
|
7332
7336
|
return r;
|
|
7333
7337
|
}
|
|
7334
|
-
function
|
|
7338
|
+
function Qu(e, t) {
|
|
7335
7339
|
if (e.start !== e.startTagEnd || t) {
|
|
7336
|
-
const r = e.tag?.toLowerCase() || "div", n =
|
|
7340
|
+
const r = e.tag?.toLowerCase() || "div", n = Wu(e);
|
|
7337
7341
|
return r === "vk-snippet-end" ? `<${r}${n}/>` : `<${r}${n}>`;
|
|
7338
7342
|
}
|
|
7339
7343
|
return "";
|
|
@@ -7347,18 +7351,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7347
7351
|
}
|
|
7348
7352
|
return r;
|
|
7349
7353
|
}
|
|
7350
|
-
function
|
|
7354
|
+
function Vu(e) {
|
|
7351
7355
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7352
7356
|
}
|
|
7353
|
-
function
|
|
7357
|
+
function Si(e) {
|
|
7354
7358
|
return "<!DOCTYPE " + e.name + (e.publicId ? " PUBLIC \"" + e.publicId + "\"" : "") + (!e.publicId && e.systemId ? " SYSTEM" : "") + (e.systemId ? " \"" + e.systemId + "\"" : "") + ">";
|
|
7355
7359
|
}
|
|
7356
7360
|
var oa = Object.create(null);
|
|
7357
|
-
function
|
|
7361
|
+
function Gu(e, t) {
|
|
7358
7362
|
const r = oa[e] || (oa[e] = Object.create(null));
|
|
7359
7363
|
let n = r[t];
|
|
7360
7364
|
if (typeof n != "boolean") {
|
|
7361
|
-
const i = document.createElement(e)[
|
|
7365
|
+
const i = document.createElement(e)[Vu(t)];
|
|
7362
7366
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
7363
7367
|
}
|
|
7364
7368
|
return n;
|
|
@@ -7366,34 +7370,34 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7366
7370
|
function et(e) {
|
|
7367
7371
|
return e.nodeType === Node.ELEMENT_NODE;
|
|
7368
7372
|
}
|
|
7369
|
-
function
|
|
7373
|
+
function Ai(e) {
|
|
7370
7374
|
return et(e) && !e.ownerSVGElement;
|
|
7371
7375
|
}
|
|
7372
7376
|
function sa(e) {
|
|
7373
7377
|
return e.tagName === "IMG";
|
|
7374
7378
|
}
|
|
7375
|
-
function
|
|
7379
|
+
function Zu(e) {
|
|
7376
7380
|
return e.tagName === "AMP-IMG";
|
|
7377
7381
|
}
|
|
7378
|
-
function
|
|
7382
|
+
function Yu(e) {
|
|
7379
7383
|
return e.tagName === "BODY";
|
|
7380
7384
|
}
|
|
7381
|
-
function
|
|
7385
|
+
function Ju(e) {
|
|
7382
7386
|
return e.tagName === "FORM";
|
|
7383
7387
|
}
|
|
7384
|
-
function
|
|
7388
|
+
function Xu(e) {
|
|
7385
7389
|
return e.tagName === "HTML";
|
|
7386
7390
|
}
|
|
7387
7391
|
function la(e) {
|
|
7388
7392
|
return e.tagName === "STYLE";
|
|
7389
7393
|
}
|
|
7390
|
-
function
|
|
7394
|
+
function Ci(e) {
|
|
7391
7395
|
return e.nodeType === Node.DOCUMENT_NODE;
|
|
7392
7396
|
}
|
|
7393
|
-
function
|
|
7397
|
+
function Ku(e) {
|
|
7394
7398
|
return e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
|
|
7395
7399
|
}
|
|
7396
|
-
function
|
|
7400
|
+
function ed(e) {
|
|
7397
7401
|
return e.nodeType === Node.DOCUMENT_TYPE_NODE;
|
|
7398
7402
|
}
|
|
7399
7403
|
var Wt;
|
|
@@ -7443,19 +7447,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7443
7447
|
}
|
|
7444
7448
|
e.isFontFeatureValuesRuleRule = E;
|
|
7445
7449
|
})(Wt || (Wt = {}));
|
|
7446
|
-
function
|
|
7450
|
+
function ki(e) {
|
|
7447
7451
|
return e.nodeType === Node.COMMENT_NODE;
|
|
7448
7452
|
}
|
|
7449
|
-
function
|
|
7453
|
+
function td(e) {
|
|
7450
7454
|
return e && !!e.host && !!e.mode;
|
|
7451
7455
|
}
|
|
7452
|
-
function
|
|
7456
|
+
function rd(e) {
|
|
7453
7457
|
const t = e.getRootNode() || window.document;
|
|
7454
|
-
return
|
|
7458
|
+
return td(t) ? t : null;
|
|
7455
7459
|
}
|
|
7456
|
-
var
|
|
7457
|
-
function
|
|
7458
|
-
const t = vt(e).matchAll(
|
|
7460
|
+
var id = /(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;
|
|
7461
|
+
function nd(e) {
|
|
7462
|
+
const t = vt(e).matchAll(id);
|
|
7459
7463
|
if (t) for (const r of t) {
|
|
7460
7464
|
const [, n, , i, a] = r;
|
|
7461
7465
|
return {
|
|
@@ -7468,7 +7472,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7468
7472
|
function Qt(e) {
|
|
7469
7473
|
return e.nodeType === Node.TEXT_NODE;
|
|
7470
7474
|
}
|
|
7471
|
-
function
|
|
7475
|
+
function ad(e) {
|
|
7472
7476
|
return e.tagName === "TABLE";
|
|
7473
7477
|
}
|
|
7474
7478
|
async function ca(e, t = 5e3) {
|
|
@@ -7477,18 +7481,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7477
7481
|
}) : getComputedStyle(e);
|
|
7478
7482
|
}
|
|
7479
7483
|
function vt(e) {
|
|
7480
|
-
if (et(e)) return
|
|
7481
|
-
if (
|
|
7482
|
-
if (
|
|
7484
|
+
if (et(e)) return sd(e);
|
|
7485
|
+
if (Ci(e)) return [...e.childNodes].map((r) => vt(r)).join("");
|
|
7486
|
+
if (ed(e)) return Si(e);
|
|
7483
7487
|
const t = document.createElement("div");
|
|
7484
7488
|
return t.appendChild(e.cloneNode(!0)), t.innerHTML;
|
|
7485
7489
|
}
|
|
7486
|
-
function
|
|
7490
|
+
function od(e) {
|
|
7487
7491
|
const t = e.tagName.toLowerCase();
|
|
7488
7492
|
let r = "";
|
|
7489
7493
|
for (const n of e.attributes) {
|
|
7490
7494
|
const i = n.name, a = n.value;
|
|
7491
|
-
r += a === "" && i !== "em" && !
|
|
7495
|
+
r += a === "" && i !== "em" && !Gu(t, i) ? ` ${i}` : ` ${i}="${a.replaceAll("\"", "'")}"`;
|
|
7492
7496
|
}
|
|
7493
7497
|
return r;
|
|
7494
7498
|
}
|
|
@@ -7497,13 +7501,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7497
7501
|
for (const r of e.childNodes) t += vt(r);
|
|
7498
7502
|
return t;
|
|
7499
7503
|
}
|
|
7500
|
-
function
|
|
7501
|
-
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r =
|
|
7502
|
-
return
|
|
7504
|
+
function sd(e) {
|
|
7505
|
+
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r = od(e);
|
|
7506
|
+
return qu.has(t.toLowerCase()) ? t === "vk-snippet-end" ? `<${t}${r}/>` : `<${t}${r}>` : la(e) ? `<${t}${r}>${e.innerHTML}</${t}>` : `<${t}${r}>${ua(e)}</${t}>`;
|
|
7503
7507
|
}
|
|
7504
7508
|
function da(e, t) {
|
|
7505
7509
|
for (const a of [...e.childNodes]) a.remove();
|
|
7506
|
-
let r = t.find((a) =>
|
|
7510
|
+
let r = t.find((a) => Xu(a)), n = t.find((a) => Yu(a)), i = e;
|
|
7507
7511
|
r || (r = document.createElement("html"), e.appendChild(r), i = r, n || (n = document.createElement("body"), r.appendChild(n), i = n));
|
|
7508
7512
|
for (const a of t) {
|
|
7509
7513
|
if (i === e && Qt(a)) {
|
|
@@ -7528,13 +7532,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7528
7532
|
}
|
|
7529
7533
|
e.is = t;
|
|
7530
7534
|
})(fa || (fa = {}));
|
|
7531
|
-
var
|
|
7535
|
+
var Ti;
|
|
7532
7536
|
(function(e) {
|
|
7533
7537
|
function t(r) {
|
|
7534
7538
|
return typeof r == "string";
|
|
7535
7539
|
}
|
|
7536
7540
|
e.is = t;
|
|
7537
|
-
})(
|
|
7541
|
+
})(Ti || (Ti = {}));
|
|
7538
7542
|
var ha;
|
|
7539
7543
|
(function(e) {
|
|
7540
7544
|
e.MIN_VALUE = -2147483648, e.MAX_VALUE = 2147483647;
|
|
@@ -7618,7 +7622,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7618
7622
|
}
|
|
7619
7623
|
e.is = r;
|
|
7620
7624
|
})(ma || (ma = {}));
|
|
7621
|
-
var
|
|
7625
|
+
var Oi;
|
|
7622
7626
|
(function(e) {
|
|
7623
7627
|
function t(n, i, a, s) {
|
|
7624
7628
|
return {
|
|
@@ -7634,7 +7638,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7634
7638
|
return j.objectLiteral(i) && j.numberRange(i.red, 0, 1) && j.numberRange(i.green, 0, 1) && j.numberRange(i.blue, 0, 1) && j.numberRange(i.alpha, 0, 1);
|
|
7635
7639
|
}
|
|
7636
7640
|
e.is = r;
|
|
7637
|
-
})(
|
|
7641
|
+
})(Oi || (Oi = {}));
|
|
7638
7642
|
var ga;
|
|
7639
7643
|
(function(e) {
|
|
7640
7644
|
function t(n, i) {
|
|
@@ -7646,7 +7650,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7646
7650
|
e.create = t;
|
|
7647
7651
|
function r(n) {
|
|
7648
7652
|
const i = n;
|
|
7649
|
-
return j.objectLiteral(i) && _e.is(i.range) &&
|
|
7653
|
+
return j.objectLiteral(i) && _e.is(i.range) && Oi.is(i.color);
|
|
7650
7654
|
}
|
|
7651
7655
|
e.is = r;
|
|
7652
7656
|
})(ga || (ga = {}));
|
|
@@ -7686,7 +7690,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7686
7690
|
}
|
|
7687
7691
|
e.is = r;
|
|
7688
7692
|
})(_a || (_a = {}));
|
|
7689
|
-
var
|
|
7693
|
+
var Pi;
|
|
7690
7694
|
(function(e) {
|
|
7691
7695
|
function t(n, i) {
|
|
7692
7696
|
return {
|
|
@@ -7700,7 +7704,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7700
7704
|
return j.defined(i) && Wr.is(i.location) && j.string(i.message);
|
|
7701
7705
|
}
|
|
7702
7706
|
e.is = r;
|
|
7703
|
-
})(
|
|
7707
|
+
})(Pi || (Pi = {}));
|
|
7704
7708
|
var ya;
|
|
7705
7709
|
(function(e) {
|
|
7706
7710
|
e.Error = 1, e.Warning = 2, e.Information = 3, e.Hint = 4;
|
|
@@ -7730,7 +7734,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7730
7734
|
function r(a) {
|
|
7731
7735
|
var s;
|
|
7732
7736
|
const l = a;
|
|
7733
|
-
return j.defined(l) && _e.is(l.range) && (j.string(l.message) || ut.is(l.message)) && (j.number(l.severity) || j.undefined(l.severity)) && (j.integer(l.code) || j.string(l.code) || j.undefined(l.code)) && (j.undefined(l.codeDescription) || j.string((s = l.codeDescription) === null || s === void 0 ? void 0 : s.href)) && (j.string(l.source) || j.undefined(l.source)) && (j.undefined(l.relatedInformation) || j.typedArray(l.relatedInformation,
|
|
7737
|
+
return j.defined(l) && _e.is(l.range) && (j.string(l.message) || ut.is(l.message)) && (j.number(l.severity) || j.undefined(l.severity)) && (j.integer(l.code) || j.string(l.code) || j.undefined(l.code)) && (j.undefined(l.codeDescription) || j.string((s = l.codeDescription) === null || s === void 0 ? void 0 : s.href)) && (j.string(l.source) || j.undefined(l.source)) && (j.undefined(l.relatedInformation) || j.typedArray(l.relatedInformation, Pi.is));
|
|
7734
7738
|
}
|
|
7735
7739
|
e.is = r;
|
|
7736
7740
|
function n(a) {
|
|
@@ -7848,7 +7852,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7848
7852
|
}
|
|
7849
7853
|
e.is = i;
|
|
7850
7854
|
})(xa || (xa = {}));
|
|
7851
|
-
var
|
|
7855
|
+
var Ri;
|
|
7852
7856
|
(function(e) {
|
|
7853
7857
|
function t(n, i) {
|
|
7854
7858
|
return {
|
|
@@ -7859,11 +7863,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7859
7863
|
e.create = t;
|
|
7860
7864
|
function r(n) {
|
|
7861
7865
|
const i = n;
|
|
7862
|
-
return j.defined(i) &&
|
|
7866
|
+
return j.defined(i) && Di.is(i.textDocument) && Array.isArray(i.edits);
|
|
7863
7867
|
}
|
|
7864
7868
|
e.is = r;
|
|
7865
|
-
})(
|
|
7866
|
-
var
|
|
7869
|
+
})(Ri || (Ri = {}));
|
|
7870
|
+
var Ni;
|
|
7867
7871
|
(function(e) {
|
|
7868
7872
|
function t(n, i, a) {
|
|
7869
7873
|
const s = {
|
|
@@ -7878,8 +7882,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7878
7882
|
return i && i.kind === "create" && j.string(i.uri) && (i.options === void 0 || (i.options.overwrite === void 0 || j.boolean(i.options.overwrite)) && (i.options.ignoreIfExists === void 0 || j.boolean(i.options.ignoreIfExists))) && (i.annotationId === void 0 || lt.is(i.annotationId));
|
|
7879
7883
|
}
|
|
7880
7884
|
e.is = r;
|
|
7881
|
-
})(
|
|
7882
|
-
var
|
|
7885
|
+
})(Ni || (Ni = {}));
|
|
7886
|
+
var Ii;
|
|
7883
7887
|
(function(e) {
|
|
7884
7888
|
function t(n, i, a, s) {
|
|
7885
7889
|
const l = {
|
|
@@ -7895,8 +7899,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7895
7899
|
return i && i.kind === "rename" && j.string(i.oldUri) && j.string(i.newUri) && (i.options === void 0 || (i.options.overwrite === void 0 || j.boolean(i.options.overwrite)) && (i.options.ignoreIfExists === void 0 || j.boolean(i.options.ignoreIfExists))) && (i.annotationId === void 0 || lt.is(i.annotationId));
|
|
7896
7900
|
}
|
|
7897
7901
|
e.is = r;
|
|
7898
|
-
})(
|
|
7899
|
-
var
|
|
7902
|
+
})(Ii || (Ii = {}));
|
|
7903
|
+
var Mi;
|
|
7900
7904
|
(function(e) {
|
|
7901
7905
|
function t(n, i, a) {
|
|
7902
7906
|
const s = {
|
|
@@ -7911,20 +7915,20 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7911
7915
|
return i && i.kind === "delete" && j.string(i.uri) && (i.options === void 0 || (i.options.recursive === void 0 || j.boolean(i.options.recursive)) && (i.options.ignoreIfNotExists === void 0 || j.boolean(i.options.ignoreIfNotExists))) && (i.annotationId === void 0 || lt.is(i.annotationId));
|
|
7912
7916
|
}
|
|
7913
7917
|
e.is = r;
|
|
7914
|
-
})(
|
|
7915
|
-
var
|
|
7918
|
+
})(Mi || (Mi = {}));
|
|
7919
|
+
var ji;
|
|
7916
7920
|
(function(e) {
|
|
7917
7921
|
function t(r) {
|
|
7918
7922
|
const n = r;
|
|
7919
|
-
return n && (n.changes !== void 0 || n.documentChanges !== void 0) && (n.documentChanges === void 0 || n.documentChanges.every((i) => j.string(i.kind) ?
|
|
7923
|
+
return n && (n.changes !== void 0 || n.documentChanges !== void 0) && (n.documentChanges === void 0 || n.documentChanges.every((i) => j.string(i.kind) ? Ni.is(i) || Ii.is(i) || Mi.is(i) : Ri.is(i)));
|
|
7920
7924
|
}
|
|
7921
7925
|
e.is = t;
|
|
7922
|
-
})(
|
|
7926
|
+
})(ji || (ji = {}));
|
|
7923
7927
|
var Sa;
|
|
7924
7928
|
(function(e) {
|
|
7925
7929
|
function t(r) {
|
|
7926
7930
|
const n = r;
|
|
7927
|
-
return j.objectLiteral(n) && _e.is(n.range) &&
|
|
7931
|
+
return j.objectLiteral(n) && _e.is(n.range) && zi.isSnippet(n.snippet) && (n.annotationId === void 0 || Vr.is(n.annotationId) || lt.is(n.annotationId));
|
|
7928
7932
|
}
|
|
7929
7933
|
e.is = t;
|
|
7930
7934
|
})(Sa || (Sa = {}));
|
|
@@ -7955,7 +7959,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7955
7959
|
}
|
|
7956
7960
|
e.is = r;
|
|
7957
7961
|
})(Ca || (Ca = {}));
|
|
7958
|
-
var
|
|
7962
|
+
var Di;
|
|
7959
7963
|
(function(e) {
|
|
7960
7964
|
function t(n, i) {
|
|
7961
7965
|
return {
|
|
@@ -7969,7 +7973,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7969
7973
|
return j.defined(i) && j.string(i.uri) && (i.version === null || j.integer(i.version));
|
|
7970
7974
|
}
|
|
7971
7975
|
e.is = r;
|
|
7972
|
-
})(
|
|
7976
|
+
})(Di || (Di = {}));
|
|
7973
7977
|
var ka;
|
|
7974
7978
|
(function(e) {
|
|
7975
7979
|
e.ABAP = "abap", e.WindowsBat = "bat", e.BibTeX = "bibtex", e.Clojure = "clojure", e.Coffeescript = "coffeescript", e.C = "c", e.CPP = "cpp", e.CSharp = "csharp", e.CSS = "css", e.D = "d", e.Delphi = "pascal", e.Diff = "diff", e.Dart = "dart", e.Dockerfile = "dockerfile", e.Elixir = "elixir", e.Erlang = "erlang", e.FSharp = "fsharp", e.GitCommit = "git-commit", e.GitRebase = "git-rebase", e.Go = "go", e.Groovy = "groovy", e.Handlebars = "handlebars", e.Haskell = "haskell", e.HTML = "html", e.Ini = "ini", e.Java = "java", e.JavaScript = "javascript", e.JavaScriptReact = "javascriptreact", e.JSON = "json", e.LaTeX = "latex", e.Less = "less", e.Lua = "lua", e.Makefile = "makefile", e.Markdown = "markdown", e.ObjectiveC = "objective-c", e.ObjectiveCPP = "objective-cpp", e.Pascal = "pascal", e.Perl = "perl", e.Perl6 = "perl6", e.PHP = "php", e.Plaintext = "plaintext", e.Powershell = "powershell", e.Pug = "jade", e.Python = "python", e.R = "r", e.Razor = "razor", e.Ruby = "ruby", e.Rust = "rust", e.SCSS = "scss", e.SASS = "sass", e.Scala = "scala", e.ShaderLab = "shaderlab", e.ShellScript = "shellscript", e.SQL = "sql", e.Swift = "swift", e.TypeScript = "typescript", e.TypeScriptReact = "typescriptreact", e.TeX = "tex", e.VisualBasic = "vb", e.XML = "xml", e.XSL = "xsl", e.YAML = "yaml";
|
|
@@ -8200,14 +8204,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8200
8204
|
}
|
|
8201
8205
|
e.is = r;
|
|
8202
8206
|
})(Za || (Za = {}));
|
|
8203
|
-
var
|
|
8207
|
+
var Li;
|
|
8204
8208
|
(function(e) {
|
|
8205
8209
|
e.LLMGenerated = 1;
|
|
8206
8210
|
function t(r) {
|
|
8207
8211
|
return j.defined(r) && r === e.LLMGenerated;
|
|
8208
8212
|
}
|
|
8209
8213
|
e.is = t;
|
|
8210
|
-
})(
|
|
8214
|
+
})(Li || (Li = {}));
|
|
8211
8215
|
var Ya;
|
|
8212
8216
|
(function(e) {
|
|
8213
8217
|
function t(n, i, a) {
|
|
@@ -8218,7 +8222,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8218
8222
|
e.create = t;
|
|
8219
8223
|
function r(n) {
|
|
8220
8224
|
const i = n;
|
|
8221
|
-
return i && j.string(i.title) && (i.diagnostics === void 0 || j.typedArray(i.diagnostics, Qr.is)) && (i.kind === void 0 || j.string(i.kind)) && (i.edit !== void 0 || i.command !== void 0) && (i.command === void 0 || bt.is(i.command)) && (i.isPreferred === void 0 || j.boolean(i.isPreferred)) && (i.edit === void 0 ||
|
|
8225
|
+
return i && j.string(i.title) && (i.diagnostics === void 0 || j.typedArray(i.diagnostics, Qr.is)) && (i.kind === void 0 || j.string(i.kind)) && (i.edit !== void 0 || i.command !== void 0) && (i.command === void 0 || bt.is(i.command)) && (i.isPreferred === void 0 || j.boolean(i.isPreferred)) && (i.edit === void 0 || ji.is(i.edit)) && (i.tags === void 0 || j.typedArray(i.tags, Li.is));
|
|
8222
8226
|
}
|
|
8223
8227
|
e.is = r;
|
|
8224
8228
|
})(Ya || (Ya = {}));
|
|
@@ -8358,15 +8362,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8358
8362
|
}
|
|
8359
8363
|
e.is = r;
|
|
8360
8364
|
})(so || (so = {}));
|
|
8361
|
-
var
|
|
8365
|
+
var Fi;
|
|
8362
8366
|
(function(e) {
|
|
8363
8367
|
e.Type = 1, e.Parameter = 2;
|
|
8364
8368
|
function t(r) {
|
|
8365
8369
|
return r === 1 || r === 2;
|
|
8366
8370
|
}
|
|
8367
8371
|
e.is = t;
|
|
8368
|
-
})(
|
|
8369
|
-
var
|
|
8372
|
+
})(Fi || (Fi = {}));
|
|
8373
|
+
var Ui;
|
|
8370
8374
|
(function(e) {
|
|
8371
8375
|
function t(n) {
|
|
8372
8376
|
return { value: n };
|
|
@@ -8377,7 +8381,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8377
8381
|
return j.objectLiteral(i) && (i.tooltip === void 0 || j.string(i.tooltip) || ut.is(i.tooltip)) && (i.location === void 0 || Wr.is(i.location)) && (i.command === void 0 || bt.is(i.command));
|
|
8378
8382
|
}
|
|
8379
8383
|
e.is = r;
|
|
8380
|
-
})(
|
|
8384
|
+
})(Ui || (Ui = {}));
|
|
8381
8385
|
var lo;
|
|
8382
8386
|
(function(e) {
|
|
8383
8387
|
function t(n, i, a) {
|
|
@@ -8390,11 +8394,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8390
8394
|
e.create = t;
|
|
8391
8395
|
function r(n) {
|
|
8392
8396
|
const i = n;
|
|
8393
|
-
return j.objectLiteral(i) && qe.is(i.position) && (j.string(i.label) || j.typedArray(i.label,
|
|
8397
|
+
return j.objectLiteral(i) && qe.is(i.position) && (j.string(i.label) || j.typedArray(i.label, Ui.is)) && (i.kind === void 0 || Fi.is(i.kind)) && i.textEdits === void 0 || j.typedArray(i.textEdits, _t.is) && (i.tooltip === void 0 || j.string(i.tooltip) || ut.is(i.tooltip)) && (i.paddingLeft === void 0 || j.boolean(i.paddingLeft)) && (i.paddingRight === void 0 || j.boolean(i.paddingRight));
|
|
8394
8398
|
}
|
|
8395
8399
|
e.is = r;
|
|
8396
8400
|
})(lo || (lo = {}));
|
|
8397
|
-
var
|
|
8401
|
+
var zi;
|
|
8398
8402
|
(function(e) {
|
|
8399
8403
|
function t(n) {
|
|
8400
8404
|
return {
|
|
@@ -8408,7 +8412,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8408
8412
|
return j.objectLiteral(i) && i.kind === "snippet" && j.string(i.value);
|
|
8409
8413
|
}
|
|
8410
8414
|
e.isSnippet = r;
|
|
8411
|
-
})(
|
|
8415
|
+
})(zi || (zi = {}));
|
|
8412
8416
|
var co;
|
|
8413
8417
|
(function(e) {
|
|
8414
8418
|
function t(r, n, i, a) {
|
|
@@ -8456,14 +8460,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8456
8460
|
(function(e) {
|
|
8457
8461
|
function t(r) {
|
|
8458
8462
|
const n = r;
|
|
8459
|
-
return j.objectLiteral(n) &&
|
|
8463
|
+
return j.objectLiteral(n) && Ti.is(n.uri) && j.string(n.name);
|
|
8460
8464
|
}
|
|
8461
8465
|
e.is = t;
|
|
8462
8466
|
})(mo || (mo = {}));
|
|
8463
8467
|
var go;
|
|
8464
8468
|
(function(e) {
|
|
8465
8469
|
function t(a, s, l, u) {
|
|
8466
|
-
return new
|
|
8470
|
+
return new ld(a, s, l, u);
|
|
8467
8471
|
}
|
|
8468
8472
|
e.create = t;
|
|
8469
8473
|
function r(a) {
|
|
@@ -8498,7 +8502,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8498
8502
|
return a;
|
|
8499
8503
|
}
|
|
8500
8504
|
})(go || (go = {}));
|
|
8501
|
-
var
|
|
8505
|
+
var ld = class {
|
|
8502
8506
|
constructor(e, t, r, n) {
|
|
8503
8507
|
this._uri = e, this._languageId = t, this._version = r, this._content = n, this._lineOffsets = void 0;
|
|
8504
8508
|
}
|
|
@@ -8698,7 +8702,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8698
8702
|
}
|
|
8699
8703
|
e.update = r;
|
|
8700
8704
|
function n(i, a) {
|
|
8701
|
-
const s = i.getText(), l =
|
|
8705
|
+
const s = i.getText(), l = Bi(a.map(cd), (b, E) => {
|
|
8702
8706
|
const p = b.range.start.line - E.range.start.line;
|
|
8703
8707
|
return p === 0 ? b.range.start.character - E.range.start.character : p;
|
|
8704
8708
|
});
|
|
@@ -8713,10 +8717,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8713
8717
|
}
|
|
8714
8718
|
e.applyEdits = n;
|
|
8715
8719
|
})(bo || (bo = {}));
|
|
8716
|
-
function
|
|
8720
|
+
function Bi(e, t) {
|
|
8717
8721
|
if (e.length <= 1) return e;
|
|
8718
8722
|
const r = e.length / 2 | 0, n = e.slice(0, r), i = e.slice(r);
|
|
8719
|
-
|
|
8723
|
+
Bi(n, t), Bi(i, t);
|
|
8720
8724
|
let a = 0, s = 0, l = 0;
|
|
8721
8725
|
for (; a < n.length && s < i.length;) t(n[a], i[s]) <= 0 ? e[l++] = n[a++] : e[l++] = i[s++];
|
|
8722
8726
|
for (; a < n.length;) e[l++] = n[a++];
|
|
@@ -8741,7 +8745,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8741
8745
|
end: t
|
|
8742
8746
|
} : e;
|
|
8743
8747
|
}
|
|
8744
|
-
function
|
|
8748
|
+
function cd(e) {
|
|
8745
8749
|
const t = wo(e.range);
|
|
8746
8750
|
return t !== e.range ? {
|
|
8747
8751
|
newText: e.newText,
|
|
@@ -8769,7 +8773,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8769
8773
|
})(So || (So = {}));
|
|
8770
8774
|
var Pe = (function(e) {
|
|
8771
8775
|
return e[e.StartCommentTag = 0] = "StartCommentTag", e[e.Comment = 1] = "Comment", e[e.EndCommentTag = 2] = "EndCommentTag", e[e.StartTagOpen = 3] = "StartTagOpen", e[e.StartTagClose = 4] = "StartTagClose", e[e.StartTagSelfClose = 5] = "StartTagSelfClose", e[e.StartTag = 6] = "StartTag", e[e.EndTagOpen = 7] = "EndTagOpen", e[e.EndTagClose = 8] = "EndTagClose", e[e.EndTag = 9] = "EndTag", e[e.DelimiterAssign = 10] = "DelimiterAssign", e[e.AttributeName = 11] = "AttributeName", e[e.AttributeValue = 12] = "AttributeValue", e[e.StartDoctypeTag = 13] = "StartDoctypeTag", e[e.Doctype = 14] = "Doctype", e[e.EndDoctypeTag = 15] = "EndDoctypeTag", e[e.Content = 16] = "Content", e[e.Whitespace = 17] = "Whitespace", e[e.Unknown = 18] = "Unknown", e[e.Script = 19] = "Script", e[e.Styles = 20] = "Styles", e[e.EOS = 21] = "EOS", e[e.AdvancedStart = 100] = "AdvancedStart", e[e.AdvancedEnd = 101] = "AdvancedEnd", e;
|
|
8772
|
-
})({}),
|
|
8776
|
+
})({}), ud = class {
|
|
8773
8777
|
source;
|
|
8774
8778
|
len;
|
|
8775
8779
|
position;
|
|
@@ -8837,19 +8841,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8837
8841
|
return this.goToEnd(), !1;
|
|
8838
8842
|
}
|
|
8839
8843
|
skipWhitespace() {
|
|
8840
|
-
return this.advanceWhileChar((e) => e ===
|
|
8844
|
+
return this.advanceWhileChar((e) => e === vd || e === bd || e === hd || e === gd || e === md) > 0;
|
|
8841
8845
|
}
|
|
8842
8846
|
advanceWhileChar(e) {
|
|
8843
8847
|
const t = this.position;
|
|
8844
8848
|
for (; this.position < this.len && e(this.source.charCodeAt(this.position));) this.position++;
|
|
8845
8849
|
return this.position - t;
|
|
8846
8850
|
}
|
|
8847
|
-
}, Ao = 33, yt = 45, Yr = 60, Qe = 62,
|
|
8851
|
+
}, Ao = 33, yt = 45, Yr = 60, Qe = 62, qi = 47, dd = 61, pd = 34, fd = 39, hd = 10, md = 13, gd = 12, vd = 32, bd = 9, _d = {
|
|
8848
8852
|
"text/x-handlebars-template": !0,
|
|
8849
8853
|
"text/html": !0
|
|
8850
8854
|
};
|
|
8851
|
-
function
|
|
8852
|
-
const i = new
|
|
8855
|
+
function yd(e, t = 0, r = re.WithinContent, n = !1) {
|
|
8856
|
+
const i = new ud(e, t);
|
|
8853
8857
|
let a = r, s = 0, l = 18, u, m, b, E, p;
|
|
8854
8858
|
function c() {
|
|
8855
8859
|
return i.advanceIfRegExp(/^[_:a-zA-Z][_:\w-.\d]*/).toLowerCase();
|
|
@@ -8889,7 +8893,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8889
8893
|
])) return a = re.WithinComment, w(_, 0);
|
|
8890
8894
|
if (i.advanceIfRegExp(/^!doctype/i)) return a = re.WithinDoctype, w(_, 13);
|
|
8891
8895
|
}
|
|
8892
|
-
return i.advanceIfChar(
|
|
8896
|
+
return i.advanceIfChar(qi) ? (a = re.AfterOpeningEndTag, w(_, 7)) : (a = re.AfterOpeningStartTag, w(_, 3));
|
|
8893
8897
|
}
|
|
8894
8898
|
return i.advanceUntilChar(Yr), w(_, 16);
|
|
8895
8899
|
case re.AfterOpeningEndTag: return c().length > 0 ? (a = re.WithinEndTag, w(_, 9)) : i.skipWhitespace() ? w(_, 17, "Tag name must directly follow the open bracket.") : (a = re.WithinEndTag, i.advanceUntilChar(Qe), _ < i.pos() ? w(_, 18, "End tag name expected.") : I());
|
|
@@ -8900,14 +8904,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8900
8904
|
C = "Closing bracket expected.";
|
|
8901
8905
|
break;
|
|
8902
8906
|
case re.AfterOpeningStartTag: return b = c(), p = void 0, E = void 0, b.length > 0 ? (m = !1, a = re.WithinTag, w(_, 6)) : i.skipWhitespace() ? w(_, 17, "Tag name must directly follow the open bracket.") : (a = re.WithinTag, i.advanceUntilChar(Qe), _ < i.pos() ? w(_, 18, "Start tag name expected.") : I());
|
|
8903
|
-
case re.WithinTag: return i.skipWhitespace() ? (m = !0, w(_, 17)) : m && (E = h(), E.length > 0) ? (a = re.AfterAttributeName, m = !1, w(_, 11)) : i.advanceIfChars([
|
|
8904
|
-
case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, w(_, 17)) : i.advanceIfChar(
|
|
8907
|
+
case re.WithinTag: return i.skipWhitespace() ? (m = !0, w(_, 17)) : m && (E = h(), E.length > 0) ? (a = re.AfterAttributeName, m = !1, w(_, 11)) : i.advanceIfChars([qi, Qe]) ? (a = re.WithinContent, w(_, 5)) : i.advanceIfChar(Qe) ? (b === "script" ? p && _d[p] ? a = re.WithinContent : a = re.WithinScriptContent : b === "style" ? a = re.WithinStyleContent : a = re.WithinContent, w(_, 4)) : n && i.peekChar() === Yr ? (a = re.WithinContent, w(_, 4, "Closing bracket missing.")) : (i.advance(1), w(_, 18, "Unexpected character in tag."));
|
|
8908
|
+
case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, w(_, 17)) : i.advanceIfChar(dd) ? (a = re.BeforeAttributeValue, w(_, 10)) : (a = re.WithinTag, I());
|
|
8905
8909
|
case re.BeforeAttributeValue:
|
|
8906
8910
|
if (i.skipWhitespace()) return w(_, 17);
|
|
8907
8911
|
let d = i.advanceIfRegExp(/^[^\s"'`=<>]+/);
|
|
8908
|
-
if (d.length > 0) return i.peekChar() === Qe && i.peekChar(-1) ===
|
|
8912
|
+
if (d.length > 0) return i.peekChar() === Qe && i.peekChar(-1) === qi && (i.goBack(1), d = d.substr(0, d.length - 1)), E === "type" && (p = d), a = re.WithinTag, m = !1, w(_, 12);
|
|
8909
8913
|
const f = i.peekChar();
|
|
8910
|
-
return f ===
|
|
8914
|
+
return f === fd || f === pd ? (i.advance(1), i.advanceUntilChar(f) && i.advance(1), E === "type" && (p = i.getSource().substring(_ + 1, i.pos() - 1)), a = re.WithinTag, m = !1, w(_, 12)) : (a = re.WithinTag, m = !1, I());
|
|
8911
8915
|
case re.WithinScriptContent:
|
|
8912
8916
|
let y = 1;
|
|
8913
8917
|
for (; !i.eos();) {
|
|
@@ -8938,7 +8942,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8938
8942
|
getTokenError: () => u
|
|
8939
8943
|
};
|
|
8940
8944
|
}
|
|
8941
|
-
function
|
|
8945
|
+
function wd(e) {
|
|
8942
8946
|
if (typeof e == "string") {
|
|
8943
8947
|
const t = e.startsWith("'") || e.startsWith("\"") ? 1 : 0, r = e.endsWith("'") || e.endsWith("\"") ? e.length - 1 : e.length;
|
|
8944
8948
|
return e.substring(t, r);
|
|
@@ -8988,7 +8992,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8988
8992
|
this.dataManager = e;
|
|
8989
8993
|
}
|
|
8990
8994
|
parse(e, t = []) {
|
|
8991
|
-
const r =
|
|
8995
|
+
const r = yd(e, void 0, void 0, !0), n = new Ke(0, e.length, [], void 0);
|
|
8992
8996
|
n.type = ke.ROOT;
|
|
8993
8997
|
let i = n, a = -1, s, l = null, u = r.scan();
|
|
8994
8998
|
const m = () => {
|
|
@@ -9086,7 +9090,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9086
9090
|
}
|
|
9087
9091
|
case Pe.AttributeValue: {
|
|
9088
9092
|
const _ = r.getTokenText(), C = i.attributes;
|
|
9089
|
-
C && l && (C[l] =
|
|
9093
|
+
C && l && (C[l] = wd(_), l = null);
|
|
9090
9094
|
break;
|
|
9091
9095
|
}
|
|
9092
9096
|
}
|
|
@@ -9125,7 +9129,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9125
9129
|
"wbr",
|
|
9126
9130
|
"vk-snippet-end"
|
|
9127
9131
|
]));
|
|
9128
|
-
var
|
|
9132
|
+
var Ed = new ko(new pa([
|
|
9129
9133
|
"area",
|
|
9130
9134
|
"base",
|
|
9131
9135
|
"br",
|
|
@@ -9141,16 +9145,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9141
9145
|
"wbr",
|
|
9142
9146
|
"vk-snippet-end"
|
|
9143
9147
|
]));
|
|
9144
|
-
function Ed(e) {
|
|
9145
|
-
return wd.parse(e);
|
|
9146
|
-
}
|
|
9147
9148
|
function xd(e) {
|
|
9149
|
+
return Ed.parse(e);
|
|
9150
|
+
}
|
|
9151
|
+
function Sd(e) {
|
|
9148
9152
|
if (e) {
|
|
9149
9153
|
const t = document.createElement("div");
|
|
9150
9154
|
return t.insertAdjacentHTML("afterbegin", e), t.firstChild || document.createTextNode("");
|
|
9151
9155
|
} else return document.createTextNode("");
|
|
9152
9156
|
}
|
|
9153
|
-
function
|
|
9157
|
+
function Ad(e) {
|
|
9154
9158
|
let t;
|
|
9155
9159
|
switch (e?.toLowerCase()) {
|
|
9156
9160
|
case "tr":
|
|
@@ -9173,7 +9177,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9173
9177
|
}
|
|
9174
9178
|
return t;
|
|
9175
9179
|
}
|
|
9176
|
-
var
|
|
9180
|
+
var Cd = new Set([
|
|
9177
9181
|
"onclick",
|
|
9178
9182
|
"onload",
|
|
9179
9183
|
"onchange",
|
|
@@ -9181,15 +9185,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9181
9185
|
"onmouseover",
|
|
9182
9186
|
"onkeydown",
|
|
9183
9187
|
"onerror"
|
|
9184
|
-
]),
|
|
9188
|
+
]), kd = new Set([
|
|
9185
9189
|
"script",
|
|
9186
9190
|
"style",
|
|
9187
9191
|
"xmp"
|
|
9188
9192
|
]);
|
|
9189
|
-
function
|
|
9190
|
-
return !(t &&
|
|
9193
|
+
function Td(e, t) {
|
|
9194
|
+
return !(t && kd.has(t.toLowerCase()) || Cd.has(e.toLowerCase()));
|
|
9191
9195
|
}
|
|
9192
|
-
var
|
|
9196
|
+
var Od = (e) => {
|
|
9193
9197
|
let t = e.indexOf("&");
|
|
9194
9198
|
for (; t !== -1;) {
|
|
9195
9199
|
if (e.indexOf(";", t) !== -1) return !0;
|
|
@@ -9200,7 +9204,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9200
9204
|
function To(e, t, r) {
|
|
9201
9205
|
let n = e.tagName.toLowerCase();
|
|
9202
9206
|
n === "html" && (n = "div");
|
|
9203
|
-
const i = `<${n} ${t}="${r}"/>`, a =
|
|
9207
|
+
const i = `<${n} ${t}="${r}"/>`, a = Ad(n);
|
|
9204
9208
|
if (a instanceof Document) return;
|
|
9205
9209
|
a.innerHTML = i;
|
|
9206
9210
|
const s = a.querySelector(n);
|
|
@@ -9210,18 +9214,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9210
9214
|
}
|
|
9211
9215
|
function wt(e, t, r) {
|
|
9212
9216
|
try {
|
|
9213
|
-
|
|
9217
|
+
Td(t, e.tagName) && !Od(r) ? e.setAttribute(t, r) : To(e, t, r);
|
|
9214
9218
|
} catch {
|
|
9215
9219
|
To(e, t, r);
|
|
9216
9220
|
}
|
|
9217
9221
|
}
|
|
9218
|
-
function
|
|
9222
|
+
function Hi(e, t = !0) {
|
|
9219
9223
|
const r = e.content;
|
|
9220
9224
|
switch (e.type) {
|
|
9221
9225
|
case ke.ROOT: {
|
|
9222
9226
|
const n = document.implementation.createHTMLDocument();
|
|
9223
9227
|
for (const i of [...n.childNodes]) n.removeChild(i);
|
|
9224
|
-
if (t) for (const i of e.children) n.appendChild(
|
|
9228
|
+
if (t) for (const i of e.children) n.appendChild(Hi(i));
|
|
9225
9229
|
return n;
|
|
9226
9230
|
}
|
|
9227
9231
|
case ke.DOCTYPE: return new DOMParser().parseFromString(`<!DOCTYPE${e.content}>`, "text/html").doctype;
|
|
@@ -9239,32 +9243,32 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9239
9243
|
wt(n, i, typeof a == "string" ? a : "");
|
|
9240
9244
|
} catch {}
|
|
9241
9245
|
}
|
|
9242
|
-
if (t) for (const i of e.children) n.appendChild(
|
|
9246
|
+
if (t) for (const i of e.children) n.appendChild(Hi(i));
|
|
9243
9247
|
return n;
|
|
9244
9248
|
}
|
|
9245
9249
|
return document.createTextNode("<");
|
|
9246
|
-
case ke.HTML: return
|
|
9250
|
+
case ke.HTML: return Sd(r || "");
|
|
9247
9251
|
default: throw new Error("unsupported node");
|
|
9248
9252
|
}
|
|
9249
9253
|
}
|
|
9250
|
-
function
|
|
9251
|
-
return
|
|
9254
|
+
function $i(e) {
|
|
9255
|
+
return xd(e).roots.map((t) => Hi(t));
|
|
9252
9256
|
}
|
|
9253
9257
|
var Oo = Symbol("Error");
|
|
9254
9258
|
function Vt(e) {
|
|
9255
9259
|
return Promise.all(e.map((t) => t instanceof Promise ? t.catch((r) => Oo) : t)).then((t) => t.filter((r) => r !== Oo));
|
|
9256
9260
|
}
|
|
9257
|
-
var Po = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e),
|
|
9261
|
+
var Po = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e), Pd = new Set([
|
|
9258
9262
|
"https:",
|
|
9259
9263
|
"http:",
|
|
9260
9264
|
"file:"
|
|
9261
|
-
]),
|
|
9265
|
+
]), Rd = (e) => {
|
|
9262
9266
|
const t = e.indexOf(":");
|
|
9263
9267
|
if (t <= 0) return !1;
|
|
9264
9268
|
const r = e.substring(0, t + 1);
|
|
9265
|
-
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !
|
|
9269
|
+
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !Pd.has(r) : !1;
|
|
9266
9270
|
};
|
|
9267
|
-
function
|
|
9271
|
+
function Nd(e, t) {
|
|
9268
9272
|
if (t = {
|
|
9269
9273
|
defaultProtocol: "http",
|
|
9270
9274
|
normalizeProtocol: !0,
|
|
@@ -9282,7 +9286,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9282
9286
|
sortQueryParameters: !0,
|
|
9283
9287
|
...t
|
|
9284
9288
|
}, !e) return "";
|
|
9285
|
-
if (Ro(e) && (e = dt(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) ||
|
|
9289
|
+
if (Ro(e) && (e = dt(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) || Rd(e)) return e;
|
|
9286
9290
|
const r = e.startsWith("//"), n = !r && /^\.*\//.test(e);
|
|
9287
9291
|
let i;
|
|
9288
9292
|
try {
|
|
@@ -9332,22 +9336,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9332
9336
|
function Ro(e) {
|
|
9333
9337
|
if (!e) return !1;
|
|
9334
9338
|
const t = e[0];
|
|
9335
|
-
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") ||
|
|
9339
|
+
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") || Id(t);
|
|
9336
9340
|
}
|
|
9337
|
-
function
|
|
9341
|
+
function Id(e) {
|
|
9338
9342
|
const t = e.charCodeAt(0);
|
|
9339
9343
|
return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
|
|
9340
9344
|
}
|
|
9341
|
-
function
|
|
9345
|
+
function Md(e) {
|
|
9342
9346
|
return /^(mailto:|tel:|fax:|sms:|geo:|blob:|data:|javascript:)/i.test(e);
|
|
9343
9347
|
}
|
|
9344
9348
|
function dt(e) {
|
|
9345
|
-
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Ro(e) ||
|
|
9349
|
+
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Ro(e) || Md(e)) return e;
|
|
9346
9350
|
if (e.startsWith("/")) return window.location.origin + e;
|
|
9347
9351
|
const t = window.location.href, r = t.lastIndexOf("/");
|
|
9348
9352
|
return (r !== -1 ? t.slice(0, r + 1) : t + "/") + e;
|
|
9349
9353
|
}
|
|
9350
|
-
var Et = /<script\b(?=[^>]*(?:\bbis_use(?:=|\s)|\bdata-bis-config(?:=|\s)|\bdata-dynamic-id(?:=|\s)|local\.adguard\.org|(?:chrome-extension|moz-extension|safari-extension):\/\/))[^>]*>[\s\S]*?<\/script>/gi,
|
|
9354
|
+
var Et = /<script\b(?=[^>]*(?:\bbis_use(?:=|\s)|\bdata-bis-config(?:=|\s)|\bdata-dynamic-id(?:=|\s)|local\.adguard\.org|(?:chrome-extension|moz-extension|safari-extension):\/\/))[^>]*>[\s\S]*?<\/script>/gi, jd = /\s(?:bis_[a-z0-9_-]+|data-bis-config|data-dynamic-id)=(["'])(?:(?!\1).)*\1/gi, xt = /<style\b[^>]*>[\s\S]*?<\/style>/gi, No = /display:\s*none\s*!important/gi, Dd = /((?:html\s*,\s*body|body\s*,\s*html)\s*\{)([^}]*)(\})/gi, Ld = /\s*height\s*:\s*100%\s*!important\s*;?/gi, Fd = /height\s*:\s*100%\s*!important/i, Ud = [
|
|
9351
9355
|
".socialshare,",
|
|
9352
9356
|
".advertisment,",
|
|
9353
9357
|
".adHolder,",
|
|
@@ -9364,57 +9368,57 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9364
9368
|
"#advblock",
|
|
9365
9369
|
"body { overflow: visible!important; }"
|
|
9366
9370
|
];
|
|
9367
|
-
function
|
|
9371
|
+
function zd(e) {
|
|
9368
9372
|
return No.lastIndex = 0, (e.match(No) || []).length;
|
|
9369
9373
|
}
|
|
9370
9374
|
function Io(e) {
|
|
9371
|
-
const t = e.trim(), r =
|
|
9375
|
+
const t = e.trim(), r = zd(t);
|
|
9372
9376
|
if (r === 0) return !1;
|
|
9373
9377
|
if (t.includes(".advertisment,") && t.includes(".adHolder,") && (t.includes(".socialshare,") || r >= 3 || t.length > 2e3)) return !0;
|
|
9374
|
-
const n =
|
|
9378
|
+
const n = Ud.filter((i) => t.includes(i)).length;
|
|
9375
9379
|
return n >= 1 && (r >= 3 || t.length > 2e3) || r >= 5 && n >= 1 ? !0 : r >= 20 && /\b(?:\.ad(?:s|vert|vertisment|Holder|banner|box|Container|Wrapper)?[,{]|#ad[-_]|ins\.adsbygoogle)/i.test(t);
|
|
9376
9380
|
}
|
|
9377
|
-
function
|
|
9381
|
+
function Bd(e) {
|
|
9378
9382
|
xt.lastIndex = 0;
|
|
9379
9383
|
for (const t of e.matchAll(xt)) if (Io(t[0].replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, ""))) return !0;
|
|
9380
9384
|
return !1;
|
|
9381
9385
|
}
|
|
9382
|
-
function
|
|
9386
|
+
function qd(e) {
|
|
9383
9387
|
let t = !1;
|
|
9384
9388
|
return xt.lastIndex = 0, {
|
|
9385
9389
|
html: e.replace(xt, (r) => Io(r.replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, "")) ? (t = !0, "") : r),
|
|
9386
9390
|
found: t
|
|
9387
9391
|
};
|
|
9388
9392
|
}
|
|
9389
|
-
function
|
|
9390
|
-
return Et.lastIndex = 0, Et.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) ||
|
|
9393
|
+
function Hd(e) {
|
|
9394
|
+
return Et.lastIndex = 0, Et.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) || Bd(e);
|
|
9391
9395
|
}
|
|
9392
9396
|
function Mo(e) {
|
|
9393
|
-
if (!
|
|
9397
|
+
if (!Hd(e)) return {
|
|
9394
9398
|
html: e,
|
|
9395
9399
|
found: !1
|
|
9396
9400
|
};
|
|
9397
9401
|
let t = !1, r = e;
|
|
9398
|
-
Et.lastIndex = 0, Et.test(r) && (Et.lastIndex = 0, r = r.replace(Et, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(
|
|
9399
|
-
const n =
|
|
9402
|
+
Et.lastIndex = 0, Et.test(r) && (Et.lastIndex = 0, r = r.replace(Et, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(jd, ""), t = !0);
|
|
9403
|
+
const n = qd(r);
|
|
9400
9404
|
return r = n.html, t = t || n.found, {
|
|
9401
9405
|
html: r,
|
|
9402
9406
|
found: t
|
|
9403
9407
|
};
|
|
9404
9408
|
}
|
|
9405
|
-
function Hd(e) {
|
|
9406
|
-
return !e || !Ld.test(e) ? e : (xt.lastIndex = 0, e.replace(xt, (t) => t.replace(jd, (r, n, i, a) => `${n}${i.replace(Dd, "")}${a}`)));
|
|
9407
|
-
}
|
|
9408
9409
|
function $d(e) {
|
|
9410
|
+
return !e || !Fd.test(e) ? e : (xt.lastIndex = 0, e.replace(xt, (t) => t.replace(Dd, (r, n, i, a) => `${n}${i.replace(Ld, "")}${a}`)));
|
|
9411
|
+
}
|
|
9412
|
+
function Wd(e) {
|
|
9409
9413
|
const t = Mo(e.replaceAll(`\r
|
|
9410
9414
|
`, `
|
|
9411
9415
|
`));
|
|
9412
9416
|
return {
|
|
9413
|
-
html:
|
|
9417
|
+
html: $d(t.html),
|
|
9414
9418
|
hasBrowserExtensionArtifacts: t.found
|
|
9415
9419
|
};
|
|
9416
9420
|
}
|
|
9417
|
-
var
|
|
9421
|
+
var Vd = Z.__commonJSMin(((e, t) => {
|
|
9418
9422
|
(function(r, n) {
|
|
9419
9423
|
typeof e == "object" && typeof t < "u" ? n(e) : typeof define == "function" && define.amd ? define(["exports"], n) : (r = typeof globalThis < "u" ? globalThis : r || self, n(r.MutationSummary = {}));
|
|
9420
9424
|
})(e, (function(r) {
|
|
@@ -10332,33 +10336,33 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10332
10336
|
r.ChildListChange = i, r.MutationProjection = m, r.MutationSummary = I, r.NodeChange = l, r.NodeMap = n, r.Qualifier = E, r.Selector = w, r.Summary = b, r.TreeChanges = u, r.TreeMirror = _, r.TreeMirrorClient = C, Object.defineProperty(r, "__esModule", { value: !0 });
|
|
10333
10337
|
}));
|
|
10334
10338
|
}))(), St = 0, At = new Array(1e3);
|
|
10335
|
-
function
|
|
10339
|
+
function Gd() {
|
|
10336
10340
|
for (let e = 0; e < St; e += 2) {
|
|
10337
10341
|
const t = At[e], r = At[e + 1];
|
|
10338
10342
|
t(...r), At[e] = void 0, At[e + 1] = void 0;
|
|
10339
10343
|
}
|
|
10340
10344
|
St = 0;
|
|
10341
10345
|
}
|
|
10342
|
-
function
|
|
10343
|
-
At[St] = e, At[St + 1] = t, St += 2, St === 2 &&
|
|
10346
|
+
function Zd(e, ...t) {
|
|
10347
|
+
At[St] = e, At[St + 1] = t, St += 2, St === 2 && Jd();
|
|
10344
10348
|
}
|
|
10345
|
-
function
|
|
10349
|
+
function Yd() {
|
|
10346
10350
|
let e = 0;
|
|
10347
|
-
const t = new MutationObserver(
|
|
10351
|
+
const t = new MutationObserver(Gd), r = document.createTextNode("");
|
|
10348
10352
|
return t.observe(r, { characterData: !0 }), () => {
|
|
10349
10353
|
r.data = String(e = ++e % 2);
|
|
10350
10354
|
};
|
|
10351
10355
|
}
|
|
10352
|
-
var
|
|
10356
|
+
var Jd = Yd();
|
|
10353
10357
|
function jo() {
|
|
10354
|
-
|
|
10355
|
-
|
|
10358
|
+
Zd(() => {
|
|
10359
|
+
Wi.hasListeners() && (Wi.fire(), jo());
|
|
10356
10360
|
});
|
|
10357
10361
|
}
|
|
10358
|
-
var
|
|
10362
|
+
var Wi = new O.Emitter({ onFirstListenerAdd: jo }), Qi = Wi.once, Xd = class extends O.Emitter {
|
|
10359
10363
|
_mutationSummary;
|
|
10360
10364
|
constructor(e = {}) {
|
|
10361
|
-
super(), this._mutationSummary = new
|
|
10365
|
+
super(), this._mutationSummary = new Vd.MutationSummary({
|
|
10362
10366
|
...e,
|
|
10363
10367
|
observeOwnChanges: !0,
|
|
10364
10368
|
callback: (t) => this.fire(t),
|
|
@@ -10372,7 +10376,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10372
10376
|
const t = this._mutationSummary.takeSummaries();
|
|
10373
10377
|
return (e || t?.length) && this.fire(t || []), t;
|
|
10374
10378
|
}
|
|
10375
|
-
},
|
|
10379
|
+
}, Kd = class extends O.Disposable {
|
|
10376
10380
|
_mutationEmitter;
|
|
10377
10381
|
_innerEmitter = this.addDisposable(new O.Emitter({ onFirstListenerAdd: () => {
|
|
10378
10382
|
this._nextTickHandler();
|
|
@@ -10382,13 +10386,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10382
10386
|
_stopped = 0;
|
|
10383
10387
|
_summaries = [];
|
|
10384
10388
|
_nextTickHandler() {
|
|
10385
|
-
|
|
10389
|
+
Qi(() => {
|
|
10386
10390
|
this.trigger(), this._summaries.length && (this._innerEmitter.hasListeners() ? this._innerEmitter.fire(this._summaries) : this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
10387
10391
|
}, Number.MAX_VALUE);
|
|
10388
10392
|
}
|
|
10389
10393
|
constructor(e = {}) {
|
|
10390
|
-
super(), this._mutationEmitter = this.addDisposable(new
|
|
10391
|
-
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t),
|
|
10394
|
+
super(), this._mutationEmitter = this.addDisposable(new Xd(e)), this.onNativeMutate = this._mutationEmitter.event, this.addDisposable(this._mutationEmitter.event((t) => {
|
|
10395
|
+
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t), Qi(() => {
|
|
10392
10396
|
this._summaries.length && !this._innerEmitter.hasListeners() && (this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
10393
10397
|
}, Number.MAX_VALUE)));
|
|
10394
10398
|
}));
|
|
@@ -10415,7 +10419,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10415
10419
|
onLost = this._lostEmitter.event;
|
|
10416
10420
|
onNativeMutate;
|
|
10417
10421
|
};
|
|
10418
|
-
function
|
|
10422
|
+
function ep(e) {
|
|
10419
10423
|
for (const t of e) {
|
|
10420
10424
|
if (t.removed) for (const r of t.removed) {
|
|
10421
10425
|
const n = t.getOldParentNode(r), i = t.getOldPreviousSibling(r);
|
|
@@ -10436,21 +10440,21 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10436
10440
|
const i = t.getOldAttribute(n, r);
|
|
10437
10441
|
i == null ? n.removeAttribute(r) : n.setAttribute(r, i);
|
|
10438
10442
|
}
|
|
10439
|
-
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Qt(r) ||
|
|
10443
|
+
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Qt(r) || ki(r) || ki(r)) && (r.data = t.getOldCharacterData(r));
|
|
10440
10444
|
}
|
|
10441
10445
|
}
|
|
10442
|
-
var
|
|
10446
|
+
var tp = class extends O.Disposable {
|
|
10443
10447
|
_commitPromise;
|
|
10444
10448
|
_mutationCollector;
|
|
10445
10449
|
_onLostSummaries = (e) => {
|
|
10446
10450
|
try {
|
|
10447
|
-
this._mutationCollector.stop(),
|
|
10451
|
+
this._mutationCollector.stop(), ep(e);
|
|
10448
10452
|
} finally {
|
|
10449
10453
|
this._mutationCollector.start();
|
|
10450
10454
|
}
|
|
10451
10455
|
};
|
|
10452
10456
|
constructor(e) {
|
|
10453
|
-
super(), this._mutationCollector = this.addDisposable(new
|
|
10457
|
+
super(), this._mutationCollector = this.addDisposable(new Kd({
|
|
10454
10458
|
rootNode: e,
|
|
10455
10459
|
oldPreviousSibling: !0
|
|
10456
10460
|
})), this._mutationCollector.onLost(this._onLostSummaries);
|
|
@@ -10462,7 +10466,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10462
10466
|
const r = this._mutationCollector.onMutate((n) => {
|
|
10463
10467
|
this._commitPromise = void 0, t(), r.dispose();
|
|
10464
10468
|
});
|
|
10465
|
-
|
|
10469
|
+
Qi(() => {
|
|
10466
10470
|
this._commitPromise = void 0, t(), r.dispose();
|
|
10467
10471
|
});
|
|
10468
10472
|
});
|
|
@@ -10479,7 +10483,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10479
10483
|
return s.html = Mo(s.html).html, s;
|
|
10480
10484
|
}, n = new O.AsyncEmitter(), i = new O.AsyncEmitter();
|
|
10481
10485
|
try {
|
|
10482
|
-
const a =
|
|
10486
|
+
const a = $i(e), s = document.implementation.createHTMLDocument();
|
|
10483
10487
|
return da(s, a), {
|
|
10484
10488
|
document: s,
|
|
10485
10489
|
handleRender: i.event,
|
|
@@ -10488,7 +10492,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10488
10492
|
if (i.hasListeners()) {
|
|
10489
10493
|
const l = document.createElement("iframe");
|
|
10490
10494
|
l.style.position = "absolute", l.style.left = "-10000px", document.body.appendChild(l);
|
|
10491
|
-
const u = l.contentWindow.document, m = new
|
|
10495
|
+
const u = l.contentWindow.document, m = new tp(l.contentDocument);
|
|
10492
10496
|
let b;
|
|
10493
10497
|
try {
|
|
10494
10498
|
if (t) {
|
|
@@ -10523,8 +10527,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10523
10527
|
throw a;
|
|
10524
10528
|
}
|
|
10525
10529
|
}
|
|
10526
|
-
var
|
|
10527
|
-
function
|
|
10530
|
+
var rp = /url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi;
|
|
10531
|
+
function ip(e) {
|
|
10528
10532
|
return e.arrayBuffer().then((t) => {
|
|
10529
10533
|
const r = new Uint8Array(t);
|
|
10530
10534
|
let n = "";
|
|
@@ -10532,17 +10536,17 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10532
10536
|
return btoa(n);
|
|
10533
10537
|
});
|
|
10534
10538
|
}
|
|
10535
|
-
function
|
|
10539
|
+
function Vi(e, t = 76) {
|
|
10536
10540
|
if (e = e.replace(/[\r\n\s]/g, ""), !e) return e;
|
|
10537
10541
|
const r = [];
|
|
10538
10542
|
for (let n = 0; n < e.length; n += t) r.push(e.slice(n, n + t));
|
|
10539
10543
|
return r.join(`
|
|
10540
10544
|
`);
|
|
10541
10545
|
}
|
|
10542
|
-
function
|
|
10546
|
+
function Jr(e) {
|
|
10543
10547
|
return e.replaceAll(/[\\\/:*?"<>|]/g, "_");
|
|
10544
10548
|
}
|
|
10545
|
-
async function
|
|
10549
|
+
async function np(e, t, r, n, i, a, s) {
|
|
10546
10550
|
const l = [];
|
|
10547
10551
|
a && (a.attachments = l);
|
|
10548
10552
|
let u = "";
|
|
@@ -10582,27 +10586,27 @@ ${E.base64}\r
|
|
|
10582
10586
|
\r
|
|
10583
10587
|
${u}`;
|
|
10584
10588
|
}
|
|
10585
|
-
function
|
|
10589
|
+
function ap(e, t = !0) {
|
|
10586
10590
|
const r = Ie.decodeFileNameFromPath(e);
|
|
10587
|
-
return t ?
|
|
10591
|
+
return t ? Jr(r) : r;
|
|
10588
10592
|
}
|
|
10589
|
-
function
|
|
10593
|
+
function op(e) {
|
|
10590
10594
|
return !(e.length > 8 || e.length < 1 || /[^\x00-\x7F]/.test(e) || /[\\\/:*?"<>|&=%]/.test(e) || !/[a-zA-Z]/.test(e) || /^\d+$/.test(e));
|
|
10591
10595
|
}
|
|
10592
10596
|
function Lo(e) {
|
|
10593
10597
|
const t = Ie.decodeFileNameFromPath(e), r = t.lastIndexOf("."), n = t.slice(r + 1);
|
|
10594
|
-
return r === -1 || !
|
|
10598
|
+
return r === -1 || !op(n) ? [Jr(t), ""] : [Jr(t.slice(0, r)), n];
|
|
10595
10599
|
}
|
|
10596
|
-
function
|
|
10600
|
+
function sp(e) {
|
|
10597
10601
|
return Bo(e).then((t) => qo(t));
|
|
10598
10602
|
}
|
|
10599
10603
|
function Fo(e) {
|
|
10600
10604
|
return e.replace("<script", "<___script").replace("<\/script>", "</___script>");
|
|
10601
10605
|
}
|
|
10602
|
-
var Ve = new
|
|
10606
|
+
var Ve = new zu((e) => {
|
|
10603
10607
|
e.escape("<script", "<\/script>", (t) => Fo(t)).unescape("<___script", "</___script>", (t) => t.replace("<___script", "<script").replace("</___script>", "<\/script>")), e.escape("<script", "/>", (t) => Fo(t)).unescape("<___script", "/>", (t) => t.replace("<___script", "<script")), Kn(e);
|
|
10604
10608
|
});
|
|
10605
|
-
async function
|
|
10609
|
+
async function Xr(e, t, r, n) {
|
|
10606
10610
|
e = Ve.getEscapedText(e);
|
|
10607
10611
|
const i = Do(e, r);
|
|
10608
10612
|
try {
|
|
@@ -10623,7 +10627,7 @@ ${u}`;
|
|
|
10623
10627
|
}
|
|
10624
10628
|
return Ve.getUnescapedText(e, !1, n);
|
|
10625
10629
|
}
|
|
10626
|
-
function
|
|
10630
|
+
function Kr(e, t, r) {
|
|
10627
10631
|
try {
|
|
10628
10632
|
if (typeof r == "function") {
|
|
10629
10633
|
const n = [];
|
|
@@ -10639,13 +10643,13 @@ ${u}`;
|
|
|
10639
10643
|
return Promise.reject(n);
|
|
10640
10644
|
}
|
|
10641
10645
|
}
|
|
10642
|
-
async function
|
|
10646
|
+
async function lp(e, t, r = new Map(), n) {
|
|
10643
10647
|
const i = (E) => {
|
|
10644
10648
|
let p = r.get(E);
|
|
10645
10649
|
return p || (p = t(E), r.set(E, p)), p instanceof Promise ? p : Promise.resolve(p);
|
|
10646
10650
|
};
|
|
10647
10651
|
function a(E) {
|
|
10648
|
-
return
|
|
10652
|
+
return Kr(E, rp, async (p, c = "", h) => `url(${c}${await i(h)}${c})`);
|
|
10649
10653
|
}
|
|
10650
10654
|
async function s(E) {
|
|
10651
10655
|
const p = E.getAttribute("style");
|
|
@@ -10667,7 +10671,7 @@ ${u}`;
|
|
|
10667
10671
|
const p = E.getAttribute("background");
|
|
10668
10672
|
if (p && b.push(i(p).then((c) => {
|
|
10669
10673
|
E.setAttribute("background", c || p), n && n();
|
|
10670
|
-
})), sa(E) ||
|
|
10674
|
+
})), sa(E) || Zu(E)) {
|
|
10671
10675
|
const c = E.getAttribute("src"), h = c && Ve.hasDetectedMappings(c, !0, !0) ? c : ("src" in E ? E.src : "") || c;
|
|
10672
10676
|
h && b.push(i(h).then((w) => {
|
|
10673
10677
|
w || (w = h), E.setAttribute("src", w), n && n();
|
|
@@ -10679,19 +10683,19 @@ ${u}`;
|
|
|
10679
10683
|
h !== c && (E.innerHTML = h, n && n());
|
|
10680
10684
|
}));
|
|
10681
10685
|
}
|
|
10682
|
-
} else if (
|
|
10683
|
-
const p =
|
|
10684
|
-
c && b.push(
|
|
10685
|
-
c !== h && (E.replaceWith(
|
|
10686
|
+
} else if (ki(E)) {
|
|
10687
|
+
const p = nd(E), c = p?.content;
|
|
10688
|
+
c && b.push(Kr(c, /<v:fill.*>/gi, async (h) => Kr(await Kr(h, /src="([^"]*)"/gi, async (w, k) => `src="${await i(k) || k}"`), /src='([^']*)'/gi, async (w, k) => `src='${await i(k) || k}'`)).then((h) => {
|
|
10689
|
+
c !== h && (E.replaceWith($i(`${p.open}${h}${p.close}`)[0]), n && n());
|
|
10686
10690
|
}));
|
|
10687
10691
|
}
|
|
10688
10692
|
}
|
|
10689
10693
|
return Vt(b);
|
|
10690
10694
|
}
|
|
10691
10695
|
async function Gt(e, t, r = new Map(), n) {
|
|
10692
|
-
await
|
|
10696
|
+
await lp(e, t, r, n);
|
|
10693
10697
|
}
|
|
10694
|
-
function
|
|
10698
|
+
function cp(e) {
|
|
10695
10699
|
const t = new Map();
|
|
10696
10700
|
let r = 0;
|
|
10697
10701
|
for (; r >= 0;) if (r = e.indexOf("<!--", r), r >= 0) {
|
|
@@ -10700,7 +10704,7 @@ ${u}`;
|
|
|
10700
10704
|
}
|
|
10701
10705
|
return t;
|
|
10702
10706
|
}
|
|
10703
|
-
function
|
|
10707
|
+
function up(e) {
|
|
10704
10708
|
return !!e && Ve.hasDetectedMappings(e, !0, !0);
|
|
10705
10709
|
}
|
|
10706
10710
|
function Uo(e, t) {
|
|
@@ -10713,7 +10717,7 @@ ${u}`;
|
|
|
10713
10717
|
if (t) for (const m of Object.keys(t)) t[m] && !l.has(m) && (u = u + (u ? "&" : "") + `${m}=${t[m]}`);
|
|
10714
10718
|
return u === s ? e : i + (u ? `?${u}` : "") + (n ? `#${n}` : "");
|
|
10715
10719
|
}
|
|
10716
|
-
function
|
|
10720
|
+
function dp(e) {
|
|
10717
10721
|
const t = Ve.getDetectedMappings(e, !0, !0).slice().sort((a, s) => s.range.start - a.range.start), r = [], n = [];
|
|
10718
10722
|
let i = e;
|
|
10719
10723
|
for (const { range: a } of t) {
|
|
@@ -10729,9 +10733,9 @@ ${u}`;
|
|
|
10729
10733
|
restore: (a) => n.reduce((s, { token: l, original: u }) => s.split(l).join(u), a)
|
|
10730
10734
|
};
|
|
10731
10735
|
}
|
|
10732
|
-
function
|
|
10736
|
+
function pp(e, t, r, n) {
|
|
10733
10737
|
if (!/^https?:\/\//i.test(t.trimStart())) return;
|
|
10734
|
-
const { masked: i, tokens: a, restore: s } =
|
|
10738
|
+
const { masked: i, tokens: a, restore: s } = dp(t), l = i.replace(/^https?:\/\//i, ""), u = l.search(/[/?#]/), m = u === -1 ? l : l.slice(0, u);
|
|
10735
10739
|
if (!a.some((p) => m.includes(p)) && e.host === document.location.host) return;
|
|
10736
10740
|
const b = Uo(i, r);
|
|
10737
10741
|
if (b === i) return;
|
|
@@ -10740,13 +10744,13 @@ ${u}`;
|
|
|
10740
10744
|
}
|
|
10741
10745
|
function Gi(e, t, r) {
|
|
10742
10746
|
const n = e.getAttribute("href");
|
|
10743
|
-
if (
|
|
10744
|
-
|
|
10747
|
+
if (up(n)) {
|
|
10748
|
+
pp(e, n, t, r);
|
|
10745
10749
|
return;
|
|
10746
10750
|
}
|
|
10747
10751
|
let i = e.href;
|
|
10748
10752
|
if (i = dt(i), i && e.protocol.startsWith("http")) {
|
|
10749
|
-
const a =
|
|
10753
|
+
const a = cp(i);
|
|
10750
10754
|
if (a.forEach((s, l) => {
|
|
10751
10755
|
i = i.replaceAll(l, s);
|
|
10752
10756
|
}), e.host !== document.location.host) {
|
|
@@ -10757,9 +10761,9 @@ ${u}`;
|
|
|
10757
10761
|
}
|
|
10758
10762
|
}
|
|
10759
10763
|
}
|
|
10760
|
-
async function
|
|
10764
|
+
async function fp(e, t, r, n, i) {
|
|
10761
10765
|
let [a, s] = t || [800];
|
|
10762
|
-
return typeof a == "number" && (a = a + "px"), typeof s == "number" && (s = s + "px"), e = await
|
|
10766
|
+
return typeof a == "number" && (a = a + "px"), typeof s == "number" && (s = s + "px"), e = await Xr(e, async (l) => {
|
|
10763
10767
|
const u = l.document;
|
|
10764
10768
|
await Gt(u, (b) => Ve.getEscapedText(b) !== b ? b : dt(b));
|
|
10765
10769
|
const m = u.querySelectorAll("a");
|
|
@@ -10769,7 +10773,7 @@ ${u}`;
|
|
|
10769
10773
|
}
|
|
10770
10774
|
async function zo(e, t, r, n, i, a) {
|
|
10771
10775
|
let [s, l] = t || [800];
|
|
10772
|
-
return typeof s == "number" && (s = s + "px"), typeof l == "number" && (l = l + "px"), e = await
|
|
10776
|
+
return typeof s == "number" && (s = s + "px"), typeof l == "number" && (l = l + "px"), e = await Xr(e, async (u) => {
|
|
10773
10777
|
const m = u.document;
|
|
10774
10778
|
if (await Gt(m, (b) => Ve.getEscapedText(b) !== b ? b : dt(b)), u.handleRender(async ({ contentDocument: b, managedNodeController: E }) => {
|
|
10775
10779
|
const p = b.querySelectorAll("*");
|
|
@@ -10780,7 +10784,7 @@ ${u}`;
|
|
|
10780
10784
|
isNaN(w) || c.setAttribute("height", String(w)), !isNaN(k) && !c.getAttribute("width") && c.setAttribute("width", String(k));
|
|
10781
10785
|
}
|
|
10782
10786
|
E.commit();
|
|
10783
|
-
} else if (
|
|
10787
|
+
} else if (ad(c)) {
|
|
10784
10788
|
const h = parseInt(getComputedStyle(c).width);
|
|
10785
10789
|
!isNaN(h) && c.parentElement.tagName !== "BODY" && c.setAttribute("width", String(h)), E.commit();
|
|
10786
10790
|
} else c.tagName === "TD" || c.tagName === "A" && Gi(c, r, () => E.commit());
|
|
@@ -10800,7 +10804,7 @@ ${u}`;
|
|
|
10800
10804
|
return E.push({
|
|
10801
10805
|
cid: d,
|
|
10802
10806
|
mimeType: C[1] || "application/octet-stream",
|
|
10803
|
-
base64:
|
|
10807
|
+
base64: Vi(C[2])
|
|
10804
10808
|
}), `cid:${d}`;
|
|
10805
10809
|
}
|
|
10806
10810
|
return k;
|
|
@@ -10813,17 +10817,17 @@ ${u}`;
|
|
|
10813
10817
|
return E.push({
|
|
10814
10818
|
cid: d,
|
|
10815
10819
|
mimeType: C[1] || "application/octet-stream",
|
|
10816
|
-
base64:
|
|
10820
|
+
base64: Vi(C[2])
|
|
10817
10821
|
}), `cid:${d}`;
|
|
10818
10822
|
}
|
|
10819
10823
|
return _;
|
|
10820
10824
|
}
|
|
10821
10825
|
try {
|
|
10822
|
-
const C = await b(_), d = `img-${O.generateUUID()}@emailmaker`, f = await
|
|
10826
|
+
const C = await b(_), d = `img-${O.generateUUID()}@emailmaker`, f = await ip(C);
|
|
10823
10827
|
return E.push({
|
|
10824
10828
|
cid: d,
|
|
10825
10829
|
mimeType: C.type || "application/octet-stream",
|
|
10826
|
-
base64:
|
|
10830
|
+
base64: Vi(f)
|
|
10827
10831
|
}), `cid:${d}`;
|
|
10828
10832
|
} catch {
|
|
10829
10833
|
return _;
|
|
@@ -10836,28 +10840,28 @@ ${u}`;
|
|
|
10836
10840
|
if (n) return n(u);
|
|
10837
10841
|
}, [s, l], a), e = e.replaceAll(/<tbody>/gi, "").replaceAll(/<\/tbody>/gi, ""), e;
|
|
10838
10842
|
}
|
|
10839
|
-
var
|
|
10840
|
-
function
|
|
10843
|
+
var hp = "images", mp = 40;
|
|
10844
|
+
function gp() {
|
|
10841
10845
|
const e = new Date();
|
|
10842
10846
|
return `${e.toISOString().slice(2, 10).replace(/-/g, "").concat("_", e.toTimeString().slice(0, 5).replace(/:/g, ""))}_${Array.from({ length: 8 }, () => "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(Math.random() * 62))).join("")}`;
|
|
10843
10847
|
}
|
|
10844
|
-
async function
|
|
10848
|
+
async function vp(e, t, r, n = sp, i, a) {
|
|
10845
10849
|
const s = Object.create(null);
|
|
10846
10850
|
let [l, u] = t || [800];
|
|
10847
10851
|
typeof l == "number" && (l = l + "px"), typeof u == "number" && (u = u + "px");
|
|
10848
|
-
const m = new Set(), b = await
|
|
10852
|
+
const m = new Set(), b = await Xr(e, async (E) => {
|
|
10849
10853
|
const p = E.document;
|
|
10850
10854
|
await Gt(p, async (h) => {
|
|
10851
10855
|
Ve.getEscapedText(h) === h && (h = dt(h));
|
|
10852
10856
|
const w = await n(h);
|
|
10853
10857
|
let [k, I] = Lo(h);
|
|
10854
|
-
if (k.length >
|
|
10855
|
-
I =
|
|
10858
|
+
if (k.length > mp && (k = gp()), !I || !_i.getType(I)) try {
|
|
10859
|
+
I = _i.getExtension(w.type);
|
|
10856
10860
|
} catch {}
|
|
10857
10861
|
let _ = `${k}.${I}`, C = 1;
|
|
10858
10862
|
for (; m.has(_);) _ = `${k}(${++C}).${I}`;
|
|
10859
10863
|
m.add(_);
|
|
10860
|
-
const d = `${
|
|
10864
|
+
const d = `${hp}/${_}`;
|
|
10861
10865
|
return s[d] = w, d;
|
|
10862
10866
|
});
|
|
10863
10867
|
const c = p.querySelectorAll("a");
|
|
@@ -10866,7 +10870,7 @@ ${u}`;
|
|
|
10866
10870
|
}, [l, u], a);
|
|
10867
10871
|
return s["index.html"] = new Blob([b], { type: "text/html;charset=utf-8" }), s;
|
|
10868
10872
|
}
|
|
10869
|
-
function
|
|
10873
|
+
function bp(e) {
|
|
10870
10874
|
const t = new En.default();
|
|
10871
10875
|
for (const r of Object.keys(e)) {
|
|
10872
10876
|
let n = t;
|
|
@@ -10889,7 +10893,7 @@ ${u}`;
|
|
|
10889
10893
|
const n = document.createElement("canvas");
|
|
10890
10894
|
return n.width = e.width, n.height = e.height, n.getContext("2d").drawImage(e, 0, 0), new Promise((i, a) => n.toBlob((s) => s ? i(s) : a("blob is null"), t, Number(r) || 0));
|
|
10891
10895
|
}
|
|
10892
|
-
function
|
|
10896
|
+
function _p(e, t) {
|
|
10893
10897
|
do {
|
|
10894
10898
|
if (e === t) return !0;
|
|
10895
10899
|
e = e.parentNode;
|
|
@@ -10898,13 +10902,13 @@ ${u}`;
|
|
|
10898
10902
|
}
|
|
10899
10903
|
function Ho(e) {
|
|
10900
10904
|
const t = e.ownerDocument?.body;
|
|
10901
|
-
if (t &&
|
|
10905
|
+
if (t && _p(e, t)) {
|
|
10902
10906
|
if (et(e) && (e.tagName === "IMG" || e.tagName === "SPAN" && e.classList.contains("preheader"))) return "";
|
|
10903
10907
|
if (e.nodeName === "#text") return e.textContent;
|
|
10904
10908
|
}
|
|
10905
10909
|
return e.childNodes ? [...e.childNodes].map(Ho).join("") : "";
|
|
10906
10910
|
}
|
|
10907
|
-
function
|
|
10911
|
+
function yp(e) {
|
|
10908
10912
|
const { document: t } = Do(e);
|
|
10909
10913
|
try {
|
|
10910
10914
|
return Ho(t).replace(/\u2800/g, "").replace(/(\r\n|\r|\n){2,}/g, `
|
|
@@ -10931,22 +10935,22 @@ ${u}`;
|
|
|
10931
10935
|
for (const n of r) t[n] = e.getAttribute(n);
|
|
10932
10936
|
return t;
|
|
10933
10937
|
}
|
|
10934
|
-
function
|
|
10938
|
+
function wp(e) {
|
|
10935
10939
|
for (const t of document.querySelectorAll("iframe")) if (t.contentDocument === e.ownerDocument) return t;
|
|
10936
10940
|
}
|
|
10937
|
-
function
|
|
10941
|
+
function Ep(e) {
|
|
10938
10942
|
const t = Zt(e);
|
|
10939
10943
|
if (!e.querySelector("style[amp4email-boilerplate]")) {
|
|
10940
10944
|
const r = e.createElement("style");
|
|
10941
10945
|
r.setAttribute("amp4email-boilerplate", ""), r.innerHTML = "body{visibility:hidden}", t.prepend(r);
|
|
10942
10946
|
}
|
|
10943
10947
|
}
|
|
10944
|
-
function
|
|
10948
|
+
function xp(e) {
|
|
10945
10949
|
const t = e.querySelector("style[amp4email-boilerplate]");
|
|
10946
10950
|
t && t.remove();
|
|
10947
10951
|
}
|
|
10948
|
-
var
|
|
10949
|
-
function
|
|
10952
|
+
var ei = "amp-custom";
|
|
10953
|
+
function Sp(e, t) {
|
|
10950
10954
|
return `em-${e.replaceAll("-", "_")}-${t.toLowerCase()}`;
|
|
10951
10955
|
}
|
|
10952
10956
|
function Qo(e, t, r) {
|
|
@@ -10954,7 +10958,7 @@ ${u}`;
|
|
|
10954
10958
|
const i = n.selectorText.split(/\+>~/).flatMap((a) => a.trim().split(" "));
|
|
10955
10959
|
if (i.length === 1 && i[0].trim().startsWith(".em-")) {
|
|
10956
10960
|
for (const a of n.style) if (n.style.getPropertyPriority(a) === "important") {
|
|
10957
|
-
for (const s of e.querySelectorAll(n.selectorText)) if (
|
|
10961
|
+
for (const s of e.querySelectorAll(n.selectorText)) if (Ai(s)) {
|
|
10958
10962
|
const l = s.style;
|
|
10959
10963
|
for (const u of [...l]) if (u.startsWith(a)) {
|
|
10960
10964
|
const m = r(u, l.getPropertyValue(u)), b = s.getAttribute("class");
|
|
@@ -10970,7 +10974,7 @@ ${u}`;
|
|
|
10970
10974
|
if (r) {
|
|
10971
10975
|
const a = new Set();
|
|
10972
10976
|
Qo(e, r.cssRules, (s, l) => {
|
|
10973
|
-
const u =
|
|
10977
|
+
const u = Sp(s, l), m = [...r.cssRules], b = `.${u} { ${s}: ${l} }`;
|
|
10974
10978
|
return !m.find((E) => Wt.isStyleRule(E) && E.selectorText === `.${u}`) && !a.has(b) && (a.add(b), t.innerHTML = `
|
|
10975
10979
|
.${u} { ${s}: ${l} };
|
|
10976
10980
|
${t.innerHTML}`), u;
|
|
@@ -10982,11 +10986,11 @@ ${t.innerHTML}`);
|
|
|
10982
10986
|
const n = t.innerHTML, i = n.replace(/!important/g, "");
|
|
10983
10987
|
n !== i && (t.innerHTML = i);
|
|
10984
10988
|
}
|
|
10985
|
-
function
|
|
10989
|
+
function Ap(e) {
|
|
10986
10990
|
const t = Zt(e), r = e.querySelectorAll("link[rel=\"stylesheet\"]"), n = [...e.querySelectorAll("style")].filter((a) => !a.hasAttribute("amp4email-boilerplate"));
|
|
10987
10991
|
if (n.length === 1) {
|
|
10988
10992
|
const a = n[0];
|
|
10989
|
-
if (a.parentElement === t && a.getAttribute(
|
|
10993
|
+
if (a.parentElement === t && a.getAttribute(ei) === "") {
|
|
10990
10994
|
Vo(e, a);
|
|
10991
10995
|
return;
|
|
10992
10996
|
}
|
|
@@ -10997,30 +11001,30 @@ ${t.innerHTML}`);
|
|
|
10997
11001
|
const a = e.createElement("style");
|
|
10998
11002
|
a.innerHTML = `
|
|
10999
11003
|
${i.join("")}
|
|
11000
|
-
`, a.setAttribute(
|
|
11004
|
+
`, a.setAttribute(ei, ""), t.append(a), Vo(e, a);
|
|
11001
11005
|
}
|
|
11002
11006
|
for (const a of r) a.remove();
|
|
11003
11007
|
}
|
|
11004
|
-
function
|
|
11005
|
-
const t = e.querySelector(`style[${
|
|
11006
|
-
t && t.removeAttribute(
|
|
11008
|
+
function Cp(e) {
|
|
11009
|
+
const t = e.querySelector(`style[${ei}]`);
|
|
11010
|
+
t && t.removeAttribute(ei);
|
|
11007
11011
|
}
|
|
11008
|
-
var
|
|
11009
|
-
function
|
|
11012
|
+
var kp = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", ti = "<!doctype html>";
|
|
11013
|
+
function Tp(e) {
|
|
11010
11014
|
const t = e.doctype;
|
|
11011
11015
|
if (t) {
|
|
11012
|
-
if (
|
|
11013
|
-
const r = new DOMParser().parseFromString(
|
|
11016
|
+
if (Si(t) === ti) return;
|
|
11017
|
+
const r = new DOMParser().parseFromString(ti, "text/html").doctype;
|
|
11014
11018
|
e.replaceChild(r, t);
|
|
11015
11019
|
} else {
|
|
11016
|
-
const r = new DOMParser().parseFromString(
|
|
11020
|
+
const r = new DOMParser().parseFromString(ti, "text/html").doctype;
|
|
11017
11021
|
e.insertBefore(r, e.firstChild);
|
|
11018
11022
|
}
|
|
11019
11023
|
}
|
|
11020
|
-
function
|
|
11024
|
+
function Op(e) {
|
|
11021
11025
|
const t = e.doctype;
|
|
11022
|
-
if (t &&
|
|
11023
|
-
const r = new DOMParser().parseFromString(
|
|
11026
|
+
if (t && Si(t).toLowerCase() === ti) {
|
|
11027
|
+
const r = new DOMParser().parseFromString(kp, "text/html").doctype;
|
|
11024
11028
|
e.replaceChild(r, t);
|
|
11025
11029
|
}
|
|
11026
11030
|
}
|
|
@@ -11028,8 +11032,8 @@ ${i.join("")}
|
|
|
11028
11032
|
const r = document.createElement("amp-img"), n = await ca(e) || void 0, i = [];
|
|
11029
11033
|
try {
|
|
11030
11034
|
let a = e;
|
|
11031
|
-
for (; a &&
|
|
11032
|
-
const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u =
|
|
11035
|
+
for (; a && Ai(a);) getComputedStyle(a)?.display === "none" && (a.style.display = "initial", i.push([a, a.style.display])), a = a.parentElement;
|
|
11036
|
+
const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u = wp(e);
|
|
11033
11037
|
let m = !1;
|
|
11034
11038
|
if (u) {
|
|
11035
11039
|
const E = u.getAttribute("width");
|
|
@@ -11056,12 +11060,12 @@ ${i.join("")}
|
|
|
11056
11060
|
}
|
|
11057
11061
|
return r;
|
|
11058
11062
|
}
|
|
11059
|
-
function
|
|
11063
|
+
function Pp(e) {
|
|
11060
11064
|
const t = document.createElement("img"), { layout: r, height: n, ...i } = Wo(e), a = r === "responsive";
|
|
11061
11065
|
for (const s of Object.keys(i)) wt(t, s, i[s]);
|
|
11062
11066
|
return a && (t.style.maxWidth = i.width || "0px", t.style.width = "100%"), t;
|
|
11063
11067
|
}
|
|
11064
|
-
async function
|
|
11068
|
+
async function Rp(e, t) {
|
|
11065
11069
|
const r = [...e.querySelectorAll("img")], n = [];
|
|
11066
11070
|
for (const a of r) n.push(Go(a).then((s) => [a, s], () => [a, void 0]));
|
|
11067
11071
|
const i = [...e.querySelectorAll("picture")];
|
|
@@ -11075,12 +11079,12 @@ ${i.join("")}
|
|
|
11075
11079
|
t?.();
|
|
11076
11080
|
}
|
|
11077
11081
|
}
|
|
11078
|
-
function
|
|
11082
|
+
function Np(e, t) {
|
|
11079
11083
|
const r = [...e.querySelectorAll("amp-img")];
|
|
11080
|
-
for (const n of r) n.replaceWith(
|
|
11084
|
+
for (const n of r) n.replaceWith(Pp(n));
|
|
11081
11085
|
r.length && t?.();
|
|
11082
11086
|
}
|
|
11083
|
-
function
|
|
11087
|
+
function Ip(e) {
|
|
11084
11088
|
const t = e.querySelectorAll("meta");
|
|
11085
11089
|
for (const i of t) {
|
|
11086
11090
|
const a = i.getAttribute("charset");
|
|
@@ -11092,37 +11096,37 @@ ${i.join("")}
|
|
|
11092
11096
|
const r = Zt(e), n = e.createElement("meta");
|
|
11093
11097
|
n.setAttribute("charset", "utf-8"), r.insertBefore(n, r.firstChild);
|
|
11094
11098
|
}
|
|
11095
|
-
function
|
|
11099
|
+
function Mp(e, t, r) {
|
|
11096
11100
|
const n = r("script:not([type=\"application/ld+json\"])"), i = e.querySelectorAll(n);
|
|
11097
11101
|
for (const a of i) !a.getAttribute("src")?.startsWith("https://cdn.ampproject.org/") && !(a.closest("amp-state") && a.getAttribute("type") === "application/json") && a.remove();
|
|
11098
11102
|
}
|
|
11099
|
-
var Zi = "https://cdn.ampproject.org/v0", Zo = `${Zi}.js`,
|
|
11100
|
-
function
|
|
11103
|
+
var Zi = "https://cdn.ampproject.org/v0", Zo = `${Zi}.js`, jp = `script[src='${Zo}']`;
|
|
11104
|
+
function Dp(e, t) {
|
|
11101
11105
|
return `${Zi}/${e.toLowerCase()}-${t}.js`;
|
|
11102
11106
|
}
|
|
11103
|
-
async function
|
|
11107
|
+
async function Lp(e, t, r) {
|
|
11104
11108
|
for (const { name: n, versions: i } of t) {
|
|
11105
11109
|
const a = r.replaceSelectors(n === "amp-mustache" ? `script[async][custom-template='${n}']` : `script[async][custom-element='${n}']`);
|
|
11106
11110
|
if (!e.querySelector(a)) {
|
|
11107
|
-
const s = Zt(e), l = r.createElementFn("script"), u =
|
|
11111
|
+
const s = Zt(e), l = r.createElementFn("script"), u = Dp(n, i.findLast((m) => m !== "latest") || "v0");
|
|
11108
11112
|
l.setAttribute("async", ""), l.setAttribute(n === "amp-mustache" ? "custom-template" : "custom-element", n), l.setAttribute("src", u), s.appendChild(l), s.appendChild(e.createTextNode(`
|
|
11109
11113
|
`));
|
|
11110
11114
|
}
|
|
11111
11115
|
}
|
|
11112
11116
|
}
|
|
11113
|
-
function
|
|
11117
|
+
function Fp(e, t) {
|
|
11114
11118
|
const r = e.querySelectorAll("*"), n = e.querySelectorAll(t.replaceSelectors("script[src]"));
|
|
11115
11119
|
for (const i of n) i.getAttribute("src")?.startsWith("https://cdn.ampproject.org/v0") && i.remove();
|
|
11116
11120
|
for (const i of r) Jo(i) && i.tagName !== "FORM" && i.remove();
|
|
11117
11121
|
}
|
|
11118
11122
|
var Yo = void 0;
|
|
11119
|
-
async function
|
|
11123
|
+
async function ri() {
|
|
11120
11124
|
return Yo || (Yo = await Promise.resolve().then(() => mt("./c874b7982.js")).then((e) => e.default));
|
|
11121
11125
|
}
|
|
11122
11126
|
var Yi = new Map();
|
|
11123
|
-
async function
|
|
11127
|
+
async function Up() {
|
|
11124
11128
|
if (!Yi.size) {
|
|
11125
|
-
const e = await
|
|
11129
|
+
const e = await ri(), t = e.tags;
|
|
11126
11130
|
for (let r = 0; r < t.length; r++) {
|
|
11127
11131
|
const n = t[r], { selector: i, attrs: a, attrLists: s } = n, l = s?.flatMap((u) => e.attrLists.filter(({ name: m }) => m === u).flatMap((m) => m.attrs)) || [];
|
|
11128
11132
|
Yi.set(i, {
|
|
@@ -11135,17 +11139,17 @@ ${i.join("")}
|
|
|
11135
11139
|
return Yi;
|
|
11136
11140
|
}
|
|
11137
11141
|
var Ji = new Map();
|
|
11138
|
-
async function
|
|
11142
|
+
async function zp() {
|
|
11139
11143
|
if (!Ji.size) {
|
|
11140
|
-
const e = await
|
|
11144
|
+
const e = await ri();
|
|
11141
11145
|
for (const t of e.declarations) Ji.set(t.name, t);
|
|
11142
11146
|
}
|
|
11143
11147
|
return Ji;
|
|
11144
11148
|
}
|
|
11145
|
-
var
|
|
11146
|
-
async function
|
|
11149
|
+
var Bp = "$GLOBAL_ATTRS", Xi = new Map();
|
|
11150
|
+
async function qp() {
|
|
11147
11151
|
if (!Xi.size) {
|
|
11148
|
-
const e = (await
|
|
11152
|
+
const e = (await ri()).attrLists.find((t) => t.name === Bp)?.attrs;
|
|
11149
11153
|
if (e) for (const t of e) Xi.set(t.name, t);
|
|
11150
11154
|
}
|
|
11151
11155
|
return Xi;
|
|
@@ -11181,19 +11185,19 @@ ${i.join("")}
|
|
|
11181
11185
|
n() || i();
|
|
11182
11186
|
break;
|
|
11183
11187
|
}
|
|
11184
|
-
else
|
|
11188
|
+
else Ci(e) ? i() : Qt(e) && (e.textContent?.trim() || e.nextSibling?.textContent?.trim() && Qt(e.nextSibling)) && n();
|
|
11185
11189
|
}
|
|
11186
|
-
async function
|
|
11190
|
+
async function Hp(e, t) {
|
|
11187
11191
|
const r = new Set(), n = t.commit, i = (c) => t.replaceSelectors(c.toLowerCase());
|
|
11188
|
-
if (t.replaceImages && await
|
|
11189
|
-
const c = t.replaceSelectors(
|
|
11192
|
+
if (t.replaceImages && await Rp(e, n), t.injectExtensions) {
|
|
11193
|
+
const c = t.replaceSelectors(jp);
|
|
11190
11194
|
if (!e.querySelector(c)) {
|
|
11191
11195
|
const h = t.createElementFn("script");
|
|
11192
11196
|
h.setAttribute("src", Zo), h.setAttribute("async", ""), Zt(e).appendChild(h), n?.();
|
|
11193
11197
|
}
|
|
11194
11198
|
}
|
|
11195
|
-
t.injectRequiredTags && (
|
|
11196
|
-
const a = await
|
|
11199
|
+
t.injectRequiredTags && (Mp(e, t.createElementFn, i), Tp(e), Ep(e), Ip(e), n?.()), t.replaceStylesAndLinks && (Ap(e), n?.());
|
|
11200
|
+
const a = await ri(), s = await Up(), l = new Set(t.removeUnsupportedTags ? e.querySelectorAll("*") : []), u = new Map();
|
|
11197
11201
|
for (let [c, h] of s) if (!h.deprecation) {
|
|
11198
11202
|
c = i(c);
|
|
11199
11203
|
let w = [...e.querySelectorAll(c)].filter((k) => !u.has(k));
|
|
@@ -11213,7 +11217,7 @@ ${i.join("")}
|
|
|
11213
11217
|
if (t.injectExtensions && h.requiresExtension) for (const I of h.requiresExtension) r.add(I);
|
|
11214
11218
|
const w = h.requiredParent ? h.requiredParent === "$ROOT" ? e : e.querySelector(h.requiredParent) : null;
|
|
11215
11219
|
w && (!c.parentNode || t.moveInvalidTagPosition) ? w !== c.parentNode && (h.name === "HEAD" || et(w) && w.tagName === "HEAD" ? w.insertBefore(c, w.firstChild) : w.appendChild(c)) : c.parentNode || e.body.appendChild(c), t.removeUnsupportedTags && l.delete(c), n?.();
|
|
11216
|
-
const k = await
|
|
11220
|
+
const k = await qp();
|
|
11217
11221
|
if (t.removeUnsupportedAttributes || t.injectRequiredAttributes) {
|
|
11218
11222
|
const I = h.attrs, _ = t.injectRequiredAttributes ? new Set([...I].map(([d, f]) => f).filter((d) => d.required && d.value)) : void 0, C = c.getAttributeNames();
|
|
11219
11223
|
for (const d of C) {
|
|
@@ -11308,8 +11312,8 @@ ${i.join("")}
|
|
|
11308
11312
|
k(x) ? x.selectorText.indexOf("[") >= 0 || x.selectorText.indexOf(":") >= 0 ? d.deleteRule(y) : (w(x.style), x.style.cssText || d.deleteRule(y)) : I(x) ? (_(x), x.cssRules.length || d.deleteRule(y)) : d.deleteRule(y);
|
|
11309
11313
|
}
|
|
11310
11314
|
};
|
|
11311
|
-
const c = e.querySelectorAll("*"), h = await
|
|
11312
|
-
for (const d of c) if (
|
|
11315
|
+
const c = e.querySelectorAll("*"), h = await zp();
|
|
11316
|
+
for (const d of c) if (Ai(d)) {
|
|
11313
11317
|
const f = d.getAttribute("style");
|
|
11314
11318
|
f && (w(d.style), d.style.length ? d.style.cssText !== f && d.setAttribute("style", d.style.cssText) : d.removeAttribute("style"));
|
|
11315
11319
|
}
|
|
@@ -11320,14 +11324,14 @@ ${i.join("")}
|
|
|
11320
11324
|
`)), n?.();
|
|
11321
11325
|
}
|
|
11322
11326
|
}
|
|
11323
|
-
await
|
|
11327
|
+
await Lp(e, a.extensions.filter(({ name: c }) => r.has(c)), t);
|
|
11324
11328
|
}
|
|
11325
11329
|
function Ko(e, t) {
|
|
11326
11330
|
return Object.keys(t).reduce((r, n) => r.replaceAll(n, t[n]), e);
|
|
11327
11331
|
}
|
|
11328
|
-
function
|
|
11332
|
+
function $p(e, t = {}) {
|
|
11329
11333
|
const { correct: r = !0, injectExtensions: n = !0, mappedTags: i = {} } = t;
|
|
11330
|
-
return
|
|
11334
|
+
return Hp(e, {
|
|
11331
11335
|
replaceImages: r,
|
|
11332
11336
|
replaceStylesAndLinks: r,
|
|
11333
11337
|
injectRequiredTags: r,
|
|
@@ -11343,14 +11347,14 @@ ${i.join("")}
|
|
|
11343
11347
|
commit: t.commit
|
|
11344
11348
|
});
|
|
11345
11349
|
}
|
|
11346
|
-
function
|
|
11350
|
+
function Wp(e, t = {}) {
|
|
11347
11351
|
const { correct: r = !0, removeExtensions: n = !0, mappedTags: i = {} } = t, a = t.commit, s = (u) => e.createElement(i[u.toLowerCase()] || u), l = (u) => Ko(u, i);
|
|
11348
11352
|
if (r) {
|
|
11349
|
-
|
|
11353
|
+
Np(e), Op(e), Cp(e), xp(e);
|
|
11350
11354
|
const u = $o(e);
|
|
11351
11355
|
u.removeAttribute("⚡4email"), u.removeAttribute("data-css-strict"), a?.();
|
|
11352
11356
|
}
|
|
11353
|
-
n && (
|
|
11357
|
+
n && (Fp(e, {
|
|
11354
11358
|
formsAsAmpForms: t.removeExtensions,
|
|
11355
11359
|
createElementFn: s,
|
|
11356
11360
|
replaceSelectors: l
|
|
@@ -11374,17 +11378,17 @@ ${i.join("")}
|
|
|
11374
11378
|
}), Object.defineProperty(L, "DEFAULT_INIT_PIPELINE_CONTEXT", {
|
|
11375
11379
|
enumerable: !0,
|
|
11376
11380
|
get: function() {
|
|
11377
|
-
return
|
|
11381
|
+
return vu;
|
|
11378
11382
|
}
|
|
11379
11383
|
}), Object.defineProperty(L, "DEFAULT_SANDBOX_OP_TIMEOUT_MS", {
|
|
11380
11384
|
enumerable: !0,
|
|
11381
11385
|
get: function() {
|
|
11382
|
-
return
|
|
11386
|
+
return vi;
|
|
11383
11387
|
}
|
|
11384
11388
|
}), Object.defineProperty(L, "DEFAULT_SANDBOX_READY_TIMEOUT_MS", {
|
|
11385
11389
|
enumerable: !0,
|
|
11386
11390
|
get: function() {
|
|
11387
|
-
return
|
|
11391
|
+
return bi;
|
|
11388
11392
|
}
|
|
11389
11393
|
}), Object.defineProperty(L, "InitPipelineContext", {
|
|
11390
11394
|
enumerable: !0,
|
|
@@ -11394,7 +11398,7 @@ ${i.join("")}
|
|
|
11394
11398
|
}), Object.defineProperty(L, "ListenerUpdater", {
|
|
11395
11399
|
enumerable: !0,
|
|
11396
11400
|
get: function() {
|
|
11397
|
-
return
|
|
11401
|
+
return cu;
|
|
11398
11402
|
}
|
|
11399
11403
|
}), Object.defineProperty(L, "PLUGIN_REGISTRY_ID", {
|
|
11400
11404
|
enumerable: !0,
|
|
@@ -11414,12 +11418,12 @@ ${i.join("")}
|
|
|
11414
11418
|
}), Object.defineProperty(L, "amp2html", {
|
|
11415
11419
|
enumerable: !0,
|
|
11416
11420
|
get: function() {
|
|
11417
|
-
return
|
|
11421
|
+
return Wp;
|
|
11418
11422
|
}
|
|
11419
11423
|
}), Object.defineProperty(L, "changeHtml", {
|
|
11420
11424
|
enumerable: !0,
|
|
11421
11425
|
get: function() {
|
|
11422
|
-
return
|
|
11426
|
+
return Xr;
|
|
11423
11427
|
}
|
|
11424
11428
|
}), Object.defineProperty(L, "createAbortError", {
|
|
11425
11429
|
enumerable: !0,
|
|
@@ -11444,7 +11448,7 @@ ${i.join("")}
|
|
|
11444
11448
|
}), Object.defineProperty(L, "createStore", {
|
|
11445
11449
|
enumerable: !0,
|
|
11446
11450
|
get: function() {
|
|
11447
|
-
return
|
|
11451
|
+
return Yc;
|
|
11448
11452
|
}
|
|
11449
11453
|
}), Object.defineProperty(L, "emailRawApi", {
|
|
11450
11454
|
enumerable: !0,
|
|
@@ -11454,22 +11458,22 @@ ${i.join("")}
|
|
|
11454
11458
|
}), Object.defineProperty(L, "extractDocumentTextContent", {
|
|
11455
11459
|
enumerable: !0,
|
|
11456
11460
|
get: function() {
|
|
11457
|
-
return
|
|
11461
|
+
return yp;
|
|
11458
11462
|
}
|
|
11459
11463
|
}), Object.defineProperty(L, "extractServerProjectIdFromToken", {
|
|
11460
11464
|
enumerable: !0,
|
|
11461
11465
|
get: function() {
|
|
11462
|
-
return
|
|
11466
|
+
return nu;
|
|
11463
11467
|
}
|
|
11464
11468
|
}), Object.defineProperty(L, "findShadowRoot", {
|
|
11465
11469
|
enumerable: !0,
|
|
11466
11470
|
get: function() {
|
|
11467
|
-
return
|
|
11471
|
+
return rd;
|
|
11468
11472
|
}
|
|
11469
11473
|
}), Object.defineProperty(L, "getEML", {
|
|
11470
11474
|
enumerable: !0,
|
|
11471
11475
|
get: function() {
|
|
11472
|
-
return
|
|
11476
|
+
return np;
|
|
11473
11477
|
}
|
|
11474
11478
|
}), Object.defineProperty(L, "getElementInnerHTML", {
|
|
11475
11479
|
enumerable: !0,
|
|
@@ -11479,7 +11483,7 @@ ${i.join("")}
|
|
|
11479
11483
|
}), Object.defineProperty(L, "getElementStartHtml_VDOM", {
|
|
11480
11484
|
enumerable: !0,
|
|
11481
11485
|
get: function() {
|
|
11482
|
-
return
|
|
11486
|
+
return Qu;
|
|
11483
11487
|
}
|
|
11484
11488
|
}), Object.defineProperty(L, "getFileNameAndExt", {
|
|
11485
11489
|
enumerable: !0,
|
|
@@ -11489,7 +11493,7 @@ ${i.join("")}
|
|
|
11489
11493
|
}), Object.defineProperty(L, "getFileNameWithExt", {
|
|
11490
11494
|
enumerable: !0,
|
|
11491
11495
|
get: function() {
|
|
11492
|
-
return
|
|
11496
|
+
return ap;
|
|
11493
11497
|
}
|
|
11494
11498
|
}), Object.defineProperty(L, "getImageByUrl", {
|
|
11495
11499
|
enumerable: !0,
|
|
@@ -11504,22 +11508,22 @@ ${i.join("")}
|
|
|
11504
11508
|
}), Object.defineProperty(L, "getSaveTimeoutMs", {
|
|
11505
11509
|
enumerable: !0,
|
|
11506
11510
|
get: function() {
|
|
11507
|
-
return
|
|
11511
|
+
return bu;
|
|
11508
11512
|
}
|
|
11509
11513
|
}), Object.defineProperty(L, "html2amp", {
|
|
11510
11514
|
enumerable: !0,
|
|
11511
11515
|
get: function() {
|
|
11512
|
-
return
|
|
11516
|
+
return $p;
|
|
11513
11517
|
}
|
|
11514
11518
|
}), Object.defineProperty(L, "htmlFilesToZip", {
|
|
11515
11519
|
enumerable: !0,
|
|
11516
11520
|
get: function() {
|
|
11517
|
-
return
|
|
11521
|
+
return bp;
|
|
11518
11522
|
}
|
|
11519
11523
|
}), Object.defineProperty(L, "htmlToFilesData", {
|
|
11520
11524
|
enumerable: !0,
|
|
11521
11525
|
get: function() {
|
|
11522
|
-
return
|
|
11526
|
+
return vp;
|
|
11523
11527
|
}
|
|
11524
11528
|
}), Object.defineProperty(L, "imageToBlob", {
|
|
11525
11529
|
enumerable: !0,
|
|
@@ -11529,12 +11533,12 @@ ${i.join("")}
|
|
|
11529
11533
|
}), Object.defineProperty(L, "injectStandaloneMocks", {
|
|
11530
11534
|
enumerable: !0,
|
|
11531
11535
|
get: function() {
|
|
11532
|
-
return
|
|
11536
|
+
return ou;
|
|
11533
11537
|
}
|
|
11534
11538
|
}), Object.defineProperty(L, "installStandaloneMockGuard", {
|
|
11535
11539
|
enumerable: !0,
|
|
11536
11540
|
get: function() {
|
|
11537
|
-
return
|
|
11541
|
+
return lu;
|
|
11538
11542
|
}
|
|
11539
11543
|
}), Object.defineProperty(L, "isAmpElement", {
|
|
11540
11544
|
enumerable: !0,
|
|
@@ -11544,12 +11548,12 @@ ${i.join("")}
|
|
|
11544
11548
|
}), Object.defineProperty(L, "isDocument", {
|
|
11545
11549
|
enumerable: !0,
|
|
11546
11550
|
get: function() {
|
|
11547
|
-
return
|
|
11551
|
+
return Ci;
|
|
11548
11552
|
}
|
|
11549
11553
|
}), Object.defineProperty(L, "isDocumentFragment", {
|
|
11550
11554
|
enumerable: !0,
|
|
11551
11555
|
get: function() {
|
|
11552
|
-
return
|
|
11556
|
+
return Ku;
|
|
11553
11557
|
}
|
|
11554
11558
|
}), Object.defineProperty(L, "isElement", {
|
|
11555
11559
|
enumerable: !0,
|
|
@@ -11559,7 +11563,7 @@ ${i.join("")}
|
|
|
11559
11563
|
}), Object.defineProperty(L, "isForm", {
|
|
11560
11564
|
enumerable: !0,
|
|
11561
11565
|
get: function() {
|
|
11562
|
-
return
|
|
11566
|
+
return Ju;
|
|
11563
11567
|
}
|
|
11564
11568
|
}), Object.defineProperty(L, "isTextNode", {
|
|
11565
11569
|
enumerable: !0,
|
|
@@ -11579,7 +11583,7 @@ ${i.join("")}
|
|
|
11579
11583
|
}), Object.defineProperty(L, "normalizeUrl", {
|
|
11580
11584
|
enumerable: !0,
|
|
11581
11585
|
get: function() {
|
|
11582
|
-
return
|
|
11586
|
+
return Nd;
|
|
11583
11587
|
}
|
|
11584
11588
|
}), Object.defineProperty(L, "notificationsApi", {
|
|
11585
11589
|
enumerable: !0,
|
|
@@ -11589,27 +11593,27 @@ ${i.join("")}
|
|
|
11589
11593
|
}), Object.defineProperty(L, "parseFromString", {
|
|
11590
11594
|
enumerable: !0,
|
|
11591
11595
|
get: function() {
|
|
11592
|
-
return
|
|
11596
|
+
return $i;
|
|
11593
11597
|
}
|
|
11594
11598
|
}), Object.defineProperty(L, "pluginRegistry", {
|
|
11595
11599
|
enumerable: !0,
|
|
11596
11600
|
get: function() {
|
|
11597
|
-
return
|
|
11601
|
+
return yu;
|
|
11598
11602
|
}
|
|
11599
11603
|
}), Object.defineProperty(L, "prepareEmailHtmlForEditor", {
|
|
11600
11604
|
enumerable: !0,
|
|
11601
11605
|
get: function() {
|
|
11602
|
-
return
|
|
11606
|
+
return Wd;
|
|
11603
11607
|
}
|
|
11604
11608
|
}), Object.defineProperty(L, "prepareEvent", {
|
|
11605
11609
|
enumerable: !0,
|
|
11606
11610
|
get: function() {
|
|
11607
|
-
return
|
|
11611
|
+
return uu;
|
|
11608
11612
|
}
|
|
11609
11613
|
}), Object.defineProperty(L, "prepareHTML", {
|
|
11610
11614
|
enumerable: !0,
|
|
11611
11615
|
get: function() {
|
|
11612
|
-
return
|
|
11616
|
+
return fp;
|
|
11613
11617
|
}
|
|
11614
11618
|
}), Object.defineProperty(L, "projectSettingsV2Api", {
|
|
11615
11619
|
enumerable: !0,
|
|
@@ -11631,10 +11635,15 @@ ${i.join("")}
|
|
|
11631
11635
|
get: function() {
|
|
11632
11636
|
return ns;
|
|
11633
11637
|
}
|
|
11638
|
+
}), Object.defineProperty(L, "refetchIfActive", {
|
|
11639
|
+
enumerable: !0,
|
|
11640
|
+
get: function() {
|
|
11641
|
+
return Nl;
|
|
11642
|
+
}
|
|
11634
11643
|
}), Object.defineProperty(L, "removeEmailFromList", {
|
|
11635
11644
|
enumerable: !0,
|
|
11636
11645
|
get: function() {
|
|
11637
|
-
return
|
|
11646
|
+
return Dc;
|
|
11638
11647
|
}
|
|
11639
11648
|
}), Object.defineProperty(L, "replaceImagesInDocument", {
|
|
11640
11649
|
enumerable: !0,
|
|
@@ -11654,32 +11663,37 @@ ${i.join("")}
|
|
|
11654
11663
|
}), Object.defineProperty(L, "resetElementHistorySlice", {
|
|
11655
11664
|
enumerable: !0,
|
|
11656
11665
|
get: function() {
|
|
11657
|
-
return
|
|
11666
|
+
return Qc;
|
|
11658
11667
|
}
|
|
11659
11668
|
}), Object.defineProperty(L, "resetElementsList", {
|
|
11660
11669
|
enumerable: !0,
|
|
11661
11670
|
get: function() {
|
|
11662
|
-
return
|
|
11671
|
+
return jc;
|
|
11663
11672
|
}
|
|
11664
11673
|
}), Object.defineProperty(L, "resetNewBlockSlice", {
|
|
11665
11674
|
enumerable: !0,
|
|
11666
11675
|
get: function() {
|
|
11667
|
-
return
|
|
11676
|
+
return Rc;
|
|
11668
11677
|
}
|
|
11669
11678
|
}), Object.defineProperty(L, "resetNewEmailSlice", {
|
|
11670
11679
|
enumerable: !0,
|
|
11671
11680
|
get: function() {
|
|
11672
|
-
return
|
|
11681
|
+
return wc;
|
|
11673
11682
|
}
|
|
11674
11683
|
}), Object.defineProperty(L, "resetPagesAndTotal", {
|
|
11675
11684
|
enumerable: !0,
|
|
11676
11685
|
get: function() {
|
|
11677
|
-
return
|
|
11686
|
+
return Ic;
|
|
11678
11687
|
}
|
|
11679
11688
|
}), Object.defineProperty(L, "resolveTemplateDirectivesConfig", {
|
|
11680
11689
|
enumerable: !0,
|
|
11681
11690
|
get: function() {
|
|
11682
|
-
return
|
|
11691
|
+
return Fu;
|
|
11692
|
+
}
|
|
11693
|
+
}), Object.defineProperty(L, "sanitizeFileName", {
|
|
11694
|
+
enumerable: !0,
|
|
11695
|
+
get: function() {
|
|
11696
|
+
return Jr;
|
|
11683
11697
|
}
|
|
11684
11698
|
}), Object.defineProperty(L, "saveFileApi", {
|
|
11685
11699
|
enumerable: !0,
|
|
@@ -11689,182 +11703,182 @@ ${i.join("")}
|
|
|
11689
11703
|
}), Object.defineProperty(L, "selectBlocksTotal", {
|
|
11690
11704
|
enumerable: !0,
|
|
11691
11705
|
get: function() {
|
|
11692
|
-
return
|
|
11706
|
+
return Hc;
|
|
11693
11707
|
}
|
|
11694
11708
|
}), Object.defineProperty(L, "selectCustomFolders", {
|
|
11695
11709
|
enumerable: !0,
|
|
11696
11710
|
get: function() {
|
|
11697
|
-
return
|
|
11711
|
+
return zc;
|
|
11698
11712
|
}
|
|
11699
11713
|
}), Object.defineProperty(L, "selectElementHistoryTotalPages", {
|
|
11700
11714
|
enumerable: !0,
|
|
11701
11715
|
get: function() {
|
|
11702
|
-
return
|
|
11716
|
+
return Vc;
|
|
11703
11717
|
}
|
|
11704
11718
|
}), Object.defineProperty(L, "selectElementsList", {
|
|
11705
11719
|
enumerable: !0,
|
|
11706
11720
|
get: function() {
|
|
11707
|
-
return
|
|
11721
|
+
return Uc;
|
|
11708
11722
|
}
|
|
11709
11723
|
}), Object.defineProperty(L, "selectElementsTrashList", {
|
|
11710
11724
|
enumerable: !0,
|
|
11711
11725
|
get: function() {
|
|
11712
|
-
return
|
|
11726
|
+
return qc;
|
|
11713
11727
|
}
|
|
11714
11728
|
}), Object.defineProperty(L, "selectElementsView", {
|
|
11715
11729
|
enumerable: !0,
|
|
11716
11730
|
get: function() {
|
|
11717
|
-
return
|
|
11731
|
+
return Fc;
|
|
11718
11732
|
}
|
|
11719
11733
|
}), Object.defineProperty(L, "selectEmailsTotal", {
|
|
11720
11734
|
enumerable: !0,
|
|
11721
11735
|
get: function() {
|
|
11722
|
-
return
|
|
11736
|
+
return Lc;
|
|
11723
11737
|
}
|
|
11724
11738
|
}), Object.defineProperty(L, "selectEmailsTrashTotal", {
|
|
11725
11739
|
enumerable: !0,
|
|
11726
11740
|
get: function() {
|
|
11727
|
-
return
|
|
11741
|
+
return Bc;
|
|
11728
11742
|
}
|
|
11729
11743
|
}), Object.defineProperty(L, "selectHistoryData", {
|
|
11730
11744
|
enumerable: !0,
|
|
11731
11745
|
get: function() {
|
|
11732
|
-
return
|
|
11746
|
+
return Gc;
|
|
11733
11747
|
}
|
|
11734
11748
|
}), Object.defineProperty(L, "selectNewBlockHasChanged", {
|
|
11735
11749
|
enumerable: !0,
|
|
11736
11750
|
get: function() {
|
|
11737
|
-
return
|
|
11751
|
+
return Nc;
|
|
11738
11752
|
}
|
|
11739
11753
|
}), Object.defineProperty(L, "selectNewEmailAppliedShowToken", {
|
|
11740
11754
|
enumerable: !0,
|
|
11741
11755
|
get: function() {
|
|
11742
|
-
return
|
|
11756
|
+
return kc;
|
|
11743
11757
|
}
|
|
11744
11758
|
}), Object.defineProperty(L, "selectNewEmailHasChanged", {
|
|
11745
11759
|
enumerable: !0,
|
|
11746
11760
|
get: function() {
|
|
11747
|
-
return
|
|
11761
|
+
return Tc;
|
|
11748
11762
|
}
|
|
11749
11763
|
}), Object.defineProperty(L, "selectNewEmailSettings", {
|
|
11750
11764
|
enumerable: !0,
|
|
11751
11765
|
get: function() {
|
|
11752
|
-
return
|
|
11766
|
+
return Cc;
|
|
11753
11767
|
}
|
|
11754
11768
|
}), Object.defineProperty(L, "selectParentEmailBlocksTotal", {
|
|
11755
11769
|
enumerable: !0,
|
|
11756
11770
|
get: function() {
|
|
11757
|
-
return
|
|
11771
|
+
return Wc;
|
|
11758
11772
|
}
|
|
11759
11773
|
}), Object.defineProperty(L, "selectTemplateBlocksTotal", {
|
|
11760
11774
|
enumerable: !0,
|
|
11761
11775
|
get: function() {
|
|
11762
|
-
return
|
|
11776
|
+
return $c;
|
|
11763
11777
|
}
|
|
11764
11778
|
}), Object.defineProperty(L, "setNewBlockDescription", {
|
|
11765
11779
|
enumerable: !0,
|
|
11766
11780
|
get: function() {
|
|
11767
|
-
return
|
|
11781
|
+
return Oc;
|
|
11768
11782
|
}
|
|
11769
11783
|
}), Object.defineProperty(L, "setNewBlockTags", {
|
|
11770
11784
|
enumerable: !0,
|
|
11771
11785
|
get: function() {
|
|
11772
|
-
return
|
|
11786
|
+
return Pc;
|
|
11773
11787
|
}
|
|
11774
11788
|
}), Object.defineProperty(L, "setNewEmailAll", {
|
|
11775
11789
|
enumerable: !0,
|
|
11776
11790
|
get: function() {
|
|
11777
|
-
return
|
|
11791
|
+
return lc;
|
|
11778
11792
|
}
|
|
11779
11793
|
}), Object.defineProperty(L, "setNewEmailDescription", {
|
|
11780
11794
|
enumerable: !0,
|
|
11781
11795
|
get: function() {
|
|
11782
|
-
return
|
|
11796
|
+
return pc;
|
|
11783
11797
|
}
|
|
11784
11798
|
}), Object.defineProperty(L, "setNewEmailHtml", {
|
|
11785
11799
|
enumerable: !0,
|
|
11786
11800
|
get: function() {
|
|
11787
|
-
return
|
|
11801
|
+
return hc;
|
|
11788
11802
|
}
|
|
11789
11803
|
}), Object.defineProperty(L, "setNewEmailIsAmp", {
|
|
11790
11804
|
enumerable: !0,
|
|
11791
11805
|
get: function() {
|
|
11792
|
-
return
|
|
11806
|
+
return xc;
|
|
11793
11807
|
}
|
|
11794
11808
|
}), Object.defineProperty(L, "setNewEmailIsTemplate", {
|
|
11795
11809
|
enumerable: !0,
|
|
11796
11810
|
get: function() {
|
|
11797
|
-
return
|
|
11811
|
+
return fc;
|
|
11798
11812
|
}
|
|
11799
11813
|
}), Object.defineProperty(L, "setNewEmailMeta", {
|
|
11800
11814
|
enumerable: !0,
|
|
11801
11815
|
get: function() {
|
|
11802
|
-
return
|
|
11816
|
+
return Sc;
|
|
11803
11817
|
}
|
|
11804
11818
|
}), Object.defineProperty(L, "setNewEmailPreheader", {
|
|
11805
11819
|
enumerable: !0,
|
|
11806
11820
|
get: function() {
|
|
11807
|
-
return
|
|
11821
|
+
return dc;
|
|
11808
11822
|
}
|
|
11809
11823
|
}), Object.defineProperty(L, "setNewEmailProject", {
|
|
11810
11824
|
enumerable: !0,
|
|
11811
11825
|
get: function() {
|
|
11812
|
-
return
|
|
11826
|
+
return Ac;
|
|
11813
11827
|
}
|
|
11814
11828
|
}), Object.defineProperty(L, "setNewEmailSubject", {
|
|
11815
11829
|
enumerable: !0,
|
|
11816
11830
|
get: function() {
|
|
11817
|
-
return
|
|
11831
|
+
return uc;
|
|
11818
11832
|
}
|
|
11819
11833
|
}), Object.defineProperty(L, "setNewEmailTags", {
|
|
11820
11834
|
enumerable: !0,
|
|
11821
11835
|
get: function() {
|
|
11822
|
-
return
|
|
11836
|
+
return mc;
|
|
11823
11837
|
}
|
|
11824
11838
|
}), Object.defineProperty(L, "setNewEmailTitle", {
|
|
11825
11839
|
enumerable: !0,
|
|
11826
11840
|
get: function() {
|
|
11827
|
-
return
|
|
11841
|
+
return cc;
|
|
11828
11842
|
}
|
|
11829
11843
|
}), Object.defineProperty(L, "setNewEmailUtmCampaign", {
|
|
11830
11844
|
enumerable: !0,
|
|
11831
11845
|
get: function() {
|
|
11832
|
-
return
|
|
11846
|
+
return bc;
|
|
11833
11847
|
}
|
|
11834
11848
|
}), Object.defineProperty(L, "setNewEmailUtmContent", {
|
|
11835
11849
|
enumerable: !0,
|
|
11836
11850
|
get: function() {
|
|
11837
|
-
return
|
|
11851
|
+
return _c;
|
|
11838
11852
|
}
|
|
11839
11853
|
}), Object.defineProperty(L, "setNewEmailUtmMedium", {
|
|
11840
11854
|
enumerable: !0,
|
|
11841
11855
|
get: function() {
|
|
11842
|
-
return
|
|
11856
|
+
return vc;
|
|
11843
11857
|
}
|
|
11844
11858
|
}), Object.defineProperty(L, "setNewEmailUtmSource", {
|
|
11845
11859
|
enumerable: !0,
|
|
11846
11860
|
get: function() {
|
|
11847
|
-
return
|
|
11861
|
+
return gc;
|
|
11848
11862
|
}
|
|
11849
11863
|
}), Object.defineProperty(L, "setNewEmailUtmTerm", {
|
|
11850
11864
|
enumerable: !0,
|
|
11851
11865
|
get: function() {
|
|
11852
|
-
return
|
|
11866
|
+
return yc;
|
|
11853
11867
|
}
|
|
11854
11868
|
}), Object.defineProperty(L, "setNewIsInited", {
|
|
11855
11869
|
enumerable: !0,
|
|
11856
11870
|
get: function() {
|
|
11857
|
-
return
|
|
11871
|
+
return Ec;
|
|
11858
11872
|
}
|
|
11859
11873
|
}), Object.defineProperty(L, "src_default", {
|
|
11860
11874
|
enumerable: !0,
|
|
11861
11875
|
get: function() {
|
|
11862
|
-
return
|
|
11876
|
+
return _i;
|
|
11863
11877
|
}
|
|
11864
11878
|
}), Object.defineProperty(L, "syncStandaloneProjectState", {
|
|
11865
11879
|
enumerable: !0,
|
|
11866
11880
|
get: function() {
|
|
11867
|
-
return
|
|
11881
|
+
return au;
|
|
11868
11882
|
}
|
|
11869
11883
|
}), Object.defineProperty(L, "throwIfAborted", {
|
|
11870
11884
|
enumerable: !0,
|
|
@@ -11879,7 +11893,7 @@ ${i.join("")}
|
|
|
11879
11893
|
}), Object.defineProperty(L, "toggleElementsView", {
|
|
11880
11894
|
enumerable: !0,
|
|
11881
11895
|
get: function() {
|
|
11882
|
-
return
|
|
11896
|
+
return Mc;
|
|
11883
11897
|
}
|
|
11884
11898
|
}), Object.defineProperty(L, "tokenApi", {
|
|
11885
11899
|
enumerable: !0,
|
|
@@ -11894,7 +11908,7 @@ ${i.join("")}
|
|
|
11894
11908
|
}), Object.defineProperty(L, "useChangePasswordMutation", {
|
|
11895
11909
|
enumerable: !0,
|
|
11896
11910
|
get: function() {
|
|
11897
|
-
return
|
|
11911
|
+
return Xl;
|
|
11898
11912
|
}
|
|
11899
11913
|
}), Object.defineProperty(L, "useCreateBroadcastMutation", {
|
|
11900
11914
|
enumerable: !0,
|
|
@@ -11939,7 +11953,7 @@ ${i.join("")}
|
|
|
11939
11953
|
}), Object.defineProperty(L, "useCreateConvertJobMutation", {
|
|
11940
11954
|
enumerable: !0,
|
|
11941
11955
|
get: function() {
|
|
11942
|
-
return
|
|
11956
|
+
return ql;
|
|
11943
11957
|
}
|
|
11944
11958
|
}), Object.defineProperty(L, "useCreateDraftMutation", {
|
|
11945
11959
|
enumerable: !0,
|
|
@@ -11999,17 +12013,17 @@ ${i.join("")}
|
|
|
11999
12013
|
}), Object.defineProperty(L, "useGenerateHtmlToPdfMutation", {
|
|
12000
12014
|
enumerable: !0,
|
|
12001
12015
|
get: function() {
|
|
12002
|
-
return
|
|
12016
|
+
return Bl;
|
|
12003
12017
|
}
|
|
12004
12018
|
}), Object.defineProperty(L, "useGetAiGenerateStatusMutation", {
|
|
12005
12019
|
enumerable: !0,
|
|
12006
12020
|
get: function() {
|
|
12007
|
-
return
|
|
12021
|
+
return Dl;
|
|
12008
12022
|
}
|
|
12009
12023
|
}), Object.defineProperty(L, "useGetCheckoutUrlMutation", {
|
|
12010
12024
|
enumerable: !0,
|
|
12011
12025
|
get: function() {
|
|
12012
|
-
return
|
|
12026
|
+
return Ql;
|
|
12013
12027
|
}
|
|
12014
12028
|
}), Object.defineProperty(L, "useGetDialogQuery", {
|
|
12015
12029
|
enumerable: !0,
|
|
@@ -12019,52 +12033,52 @@ ${i.join("")}
|
|
|
12019
12033
|
}), Object.defineProperty(L, "useGetInvoiceRequestMutation", {
|
|
12020
12034
|
enumerable: !0,
|
|
12021
12035
|
get: function() {
|
|
12022
|
-
return
|
|
12036
|
+
return Ul;
|
|
12023
12037
|
}
|
|
12024
12038
|
}), Object.defineProperty(L, "useGetNotificationsQuery", {
|
|
12025
12039
|
enumerable: !0,
|
|
12026
12040
|
get: function() {
|
|
12027
|
-
return
|
|
12041
|
+
return $l;
|
|
12028
12042
|
}
|
|
12029
12043
|
}), Object.defineProperty(L, "useGetProjectIntegrationsQuery", {
|
|
12030
12044
|
enumerable: !0,
|
|
12031
12045
|
get: function() {
|
|
12032
|
-
return
|
|
12046
|
+
return rc;
|
|
12033
12047
|
}
|
|
12034
12048
|
}), Object.defineProperty(L, "useGetProjectStorageQuery", {
|
|
12035
12049
|
enumerable: !0,
|
|
12036
12050
|
get: function() {
|
|
12037
|
-
return
|
|
12051
|
+
return ec;
|
|
12038
12052
|
}
|
|
12039
12053
|
}), Object.defineProperty(L, "useGetProjectTestRecipientsQuery", {
|
|
12040
12054
|
enumerable: !0,
|
|
12041
12055
|
get: function() {
|
|
12042
|
-
return
|
|
12056
|
+
return ac;
|
|
12043
12057
|
}
|
|
12044
12058
|
}), Object.defineProperty(L, "useGetProjectWebhookQuery", {
|
|
12045
12059
|
enumerable: !0,
|
|
12046
12060
|
get: function() {
|
|
12047
|
-
return
|
|
12061
|
+
return nc;
|
|
12048
12062
|
}
|
|
12049
12063
|
}), Object.defineProperty(L, "useLazyClearAiChatQuery", {
|
|
12050
12064
|
enumerable: !0,
|
|
12051
12065
|
get: function() {
|
|
12052
|
-
return
|
|
12066
|
+
return Ml;
|
|
12053
12067
|
}
|
|
12054
12068
|
}), Object.defineProperty(L, "useLazyGetCanselRecurrenceQuery", {
|
|
12055
12069
|
enumerable: !0,
|
|
12056
12070
|
get: function() {
|
|
12057
|
-
return
|
|
12071
|
+
return Gl;
|
|
12058
12072
|
}
|
|
12059
12073
|
}), Object.defineProperty(L, "useLazyGetConfirmationMailQuery", {
|
|
12060
12074
|
enumerable: !0,
|
|
12061
12075
|
get: function() {
|
|
12062
|
-
return
|
|
12076
|
+
return Vl;
|
|
12063
12077
|
}
|
|
12064
12078
|
}), Object.defineProperty(L, "useLazyGetConvertJobStatusQuery", {
|
|
12065
12079
|
enumerable: !0,
|
|
12066
12080
|
get: function() {
|
|
12067
|
-
return
|
|
12081
|
+
return Hl;
|
|
12068
12082
|
}
|
|
12069
12083
|
}), Object.defineProperty(L, "useLazyGetDialogQuery", {
|
|
12070
12084
|
enumerable: !0,
|
|
@@ -12079,12 +12093,12 @@ ${i.join("")}
|
|
|
12079
12093
|
}), Object.defineProperty(L, "useLazyGetGeneratedContentQuery", {
|
|
12080
12094
|
enumerable: !0,
|
|
12081
12095
|
get: function() {
|
|
12082
|
-
return
|
|
12096
|
+
return jl;
|
|
12083
12097
|
}
|
|
12084
12098
|
}), Object.defineProperty(L, "useLazyGetIntegrationCredentialsQuery", {
|
|
12085
12099
|
enumerable: !0,
|
|
12086
12100
|
get: function() {
|
|
12087
|
-
return
|
|
12101
|
+
return ic;
|
|
12088
12102
|
}
|
|
12089
12103
|
}), Object.defineProperty(L, "useLazyGetLocaleQuery", {
|
|
12090
12104
|
enumerable: !0,
|
|
@@ -12099,12 +12113,12 @@ ${i.join("")}
|
|
|
12099
12113
|
}), Object.defineProperty(L, "useLazyGetRecurrenceQuery", {
|
|
12100
12114
|
enumerable: !0,
|
|
12101
12115
|
get: function() {
|
|
12102
|
-
return
|
|
12116
|
+
return Zl;
|
|
12103
12117
|
}
|
|
12104
12118
|
}), Object.defineProperty(L, "useLogoutMutation", {
|
|
12105
12119
|
enumerable: !0,
|
|
12106
12120
|
get: function() {
|
|
12107
|
-
return
|
|
12121
|
+
return Jl;
|
|
12108
12122
|
}
|
|
12109
12123
|
}), Object.defineProperty(L, "useMakeTemporaryMailForPngMutation", {
|
|
12110
12124
|
enumerable: !0,
|
|
@@ -12114,7 +12128,7 @@ ${i.join("")}
|
|
|
12114
12128
|
}), Object.defineProperty(L, "useNotificationShownMutation", {
|
|
12115
12129
|
enumerable: !0,
|
|
12116
12130
|
get: function() {
|
|
12117
|
-
return
|
|
12131
|
+
return Wl;
|
|
12118
12132
|
}
|
|
12119
12133
|
}), Object.defineProperty(L, "usePostDataByWebHookMutation", {
|
|
12120
12134
|
enumerable: !0,
|
|
@@ -12124,12 +12138,12 @@ ${i.join("")}
|
|
|
12124
12138
|
}), Object.defineProperty(L, "usePutProjectSettingsMutation", {
|
|
12125
12139
|
enumerable: !0,
|
|
12126
12140
|
get: function() {
|
|
12127
|
-
return
|
|
12141
|
+
return tc;
|
|
12128
12142
|
}
|
|
12129
12143
|
}), Object.defineProperty(L, "usePutProjectTestRecipientsMutation", {
|
|
12130
12144
|
enumerable: !0,
|
|
12131
12145
|
get: function() {
|
|
12132
|
-
return
|
|
12146
|
+
return oc;
|
|
12133
12147
|
}
|
|
12134
12148
|
}), Object.defineProperty(L, "useSendLivePreviewMutation", {
|
|
12135
12149
|
enumerable: !0,
|