@emailmaker/emailmaker 1.1.81 → 1.1.84
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/CHANGELOG.md +30 -0
- package/README.md +18 -7
- package/{emailmaker-core.5550faa5.js → emailmaker-core.79ea451d.js} +6 -6
- package/emailmaker-esm.js +4 -4
- package/{emailmaker-po.5550faa5.js → emailmaker-po.79ea451d.js} +1 -1
- package/emailmaker.d.ts +51 -24
- package/emailmaker.js +3 -3
- package/iframe/css/sandbox-dark.css +1 -1
- package/iframe/css/sandbox-darktheme.css +3 -3
- package/iframe/css/sandbox-light.css +1 -1
- package/iframe/css/sandbox.css +2 -2
- package/iframe/js/amp.BX1rGa_X.js +1 -0
- 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/package.json +1 -1
- package/static/core/{8fe345a7.js → 12f8b705.js} +6 -6
- package/static/core/{438f4766.js → 1b3e2d70.js} +4 -4
- package/static/core/{4d48fdcd.js → 2180385a.js} +33 -33
- package/static/core/{26d559d32.js → 3834896e2.js} +124 -124
- package/static/core/{20625a132.js → 5ec924792.js} +857 -857
- package/static/core/{d34d3cc0.js → 62284a79.js} +77 -4
- package/static/core/{60e2f0e02.js → 69d13cd82.js} +49 -49
- package/static/core/{1cb65d65.js → 860577ca.js} +300 -300
- package/static/core/{ed08ded22.js → 8bf24c892.js} +982 -974
- package/static/core/{395f82fa.js → af78f5c5.js} +3 -3
- package/static/core/{adc7cd4e.js → c62226dd.js} +7 -7
- package/static/core/{f6e0d3702.js → d31af2772.js} +849 -836
- package/static/core/{5be7581f.js → d6d05bc8.js} +13058 -12638
- package/static/core/{d239a2a0.js → d825fdc8.js} +7 -7
- package/static/core/{16751762.js → dd044cfd.js} +7 -7
- package/static/core/{758a0c3c.js → f422bc19.js} +3 -3
- package/static/core/{d0a3e529.js → f4cfd2a7.js} +544 -539
- package/static/core/{544a8fe8.js → f740dd7d.js} +35 -35
- package/static/umd-runtime/{DntxC9N-.js → Py_VRWLn.js} +7 -1
- package/static/umd-runtime/runtime.js +2 -2
- package/static/umd-runtime/ui-kit.js +1742 -1734
- package/ui-kit/index.js +1859 -1851
- package/iframe/js/amp.BtGCOg7N.js +0 -1
- /package/iframe/{iframe-eblock.5550faa5.html → iframe-eblock.79ea451d.html} +0 -0
- /package/iframe/{iframe.5550faa5.html → iframe.79ea451d.html} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/f4cfd2a7.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/7df48ae1.js",
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
6
|
+
"static/core/62284a79.js",
|
|
7
|
+
"static/core/f422bc19.js",
|
|
8
8
|
"static/core/e1dddb82.js",
|
|
9
|
-
"static/core/
|
|
9
|
+
"static/core/af78f5c5.js",
|
|
10
10
|
"dayjs"
|
|
11
|
-
], function(Oe, x,
|
|
12
|
-
const hi = Oe("./7df48ae1.js"), u = Oe("./
|
|
11
|
+
], function(Oe, x, ah) {
|
|
12
|
+
const hi = Oe("./7df48ae1.js"), u = Oe("./62284a79.js"), re = Oe("./f422bc19.js"), Ut = Oe("./e1dddb82.js"), zt = Oe("./af78f5c5.js");
|
|
13
13
|
let pt = Oe("dayjs");
|
|
14
14
|
pt = hi.__toESM(pt);
|
|
15
15
|
var Ys = class {
|
|
@@ -1307,7 +1307,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1307
1307
|
extraQuery: { url: encodeURIComponent(t) }
|
|
1308
1308
|
}));
|
|
1309
1309
|
} }) })
|
|
1310
|
-
}), { useGetFileQuery:
|
|
1310
|
+
}), { useGetFileQuery: oh, useLazyGetFileQuery: wc } = bt, yt = u.createApi({
|
|
1311
1311
|
reducerPath: "promoApi",
|
|
1312
1312
|
baseQuery: u.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/promo/v1/" }),
|
|
1313
1313
|
endpoints: (e) => ({
|
|
@@ -1319,7 +1319,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1319
1319
|
return u.getClient(r).promo.get_code_info_list({ code: t });
|
|
1320
1320
|
} })
|
|
1321
1321
|
})
|
|
1322
|
-
}), { useCheckPromoMutation:
|
|
1322
|
+
}), { useCheckPromoMutation: sh, useGetPromoInfoQuery: ch } = yt;
|
|
1323
1323
|
function Ac(e) {
|
|
1324
1324
|
return typeof e == "number" && Number.isFinite(e) ? e : 0;
|
|
1325
1325
|
}
|
|
@@ -1468,7 +1468,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1468
1468
|
}]
|
|
1469
1469
|
})
|
|
1470
1470
|
})
|
|
1471
|
-
}), { useGetLocalesQuery:
|
|
1471
|
+
}), { useGetLocalesQuery: Mc, useGetLocaleQuery: lh, useLazyGetLocaleQuery: Rc, useLazyGetLocalesQuery: Ic } = ke, _t = u.createApi({
|
|
1472
1472
|
reducerPath: "saveFileApi",
|
|
1473
1473
|
tagTypes: ["Images"],
|
|
1474
1474
|
baseQuery: u.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/save-file/v1/" }),
|
|
@@ -1486,7 +1486,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1486
1486
|
return u.getClient(r).saveFile.shortener_create(t, { type: u.ContentType$1.FormData });
|
|
1487
1487
|
} })
|
|
1488
1488
|
})
|
|
1489
|
-
}), { useUploadImageMutation:
|
|
1489
|
+
}), { useUploadImageMutation: Dc, useSendTestEmailMutation: Lc, useSendLivePreviewMutation: Fc, useSendShortLinkMutation: Uc } = _t, Xi = () => ({
|
|
1490
1490
|
title: "",
|
|
1491
1491
|
description: "",
|
|
1492
1492
|
website: "",
|
|
@@ -1495,7 +1495,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1495
1495
|
email: "",
|
|
1496
1496
|
phone: "",
|
|
1497
1497
|
logo_url: ""
|
|
1498
|
-
}),
|
|
1498
|
+
}), zc = {
|
|
1499
1499
|
title: "title",
|
|
1500
1500
|
description: "description",
|
|
1501
1501
|
website: "website",
|
|
@@ -1517,7 +1517,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1517
1517
|
}), Zi = (e) => (e ?? []).filter((t) => !!t?.code).map(({ code: t, label: r }) => ({
|
|
1518
1518
|
value: t,
|
|
1519
1519
|
label: r ?? t
|
|
1520
|
-
})),
|
|
1520
|
+
})), Bc = (e) => ({
|
|
1521
1521
|
company_sizes: Zi(e?.company_sizes),
|
|
1522
1522
|
industries: Zi(e?.industries)
|
|
1523
1523
|
});
|
|
@@ -1539,11 +1539,11 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1539
1539
|
}),
|
|
1540
1540
|
getProjectProfileOptions: e.query({ async queryFn(t, r) {
|
|
1541
1541
|
const n = u.v2ResultOf(await u.getClientV2(r).projects.profileOptionsList());
|
|
1542
|
-
return "error" in n ? { error: n.error } : { data:
|
|
1542
|
+
return "error" in n ? { error: n.error } : { data: Bc(n.data) };
|
|
1543
1543
|
} }),
|
|
1544
1544
|
updateProjectProfileField: e.mutation({
|
|
1545
1545
|
async queryFn({ projectId: t, field: r, value: n }, i) {
|
|
1546
|
-
const a = { [
|
|
1546
|
+
const a = { [zc[r]]: n }, o = u.v2ResultOf(await u.getClientV2(i).projects.profilePartialUpdate({ id: String(t) }, a));
|
|
1547
1547
|
return "error" in o ? { error: o.error } : { data: Ji(o.data) };
|
|
1548
1548
|
},
|
|
1549
1549
|
async onQueryStarted({ projectId: t }, { dispatch: r, queryFulfilled: n }) {
|
|
@@ -1554,7 +1554,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1554
1554
|
}
|
|
1555
1555
|
})
|
|
1556
1556
|
})
|
|
1557
|
-
}), { useGetProjectProfileQuery: ph, useGetProjectProfileOptionsQuery: dh, useUpdateProjectProfileFieldMutation: fh } = Et,
|
|
1557
|
+
}), { useGetProjectProfileQuery: ph, useGetProjectProfileOptionsQuery: dh, useUpdateProjectProfileFieldMutation: fh } = Et, qc = (e) => Number(e) || void 0, $c = {
|
|
1558
1558
|
colors: [],
|
|
1559
1559
|
fonts: [],
|
|
1560
1560
|
socials: []
|
|
@@ -1563,11 +1563,11 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1563
1563
|
if (t?.randomUUID) return t.randomUUID();
|
|
1564
1564
|
const r = typeof performance < "u" ? performance.now().toString(36).replace(".", "") : String(Date.now());
|
|
1565
1565
|
return `${e}-${Date.now().toString(36)}-${r}`;
|
|
1566
|
-
},
|
|
1566
|
+
}, Hc = /^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i, Qc = /^#?([0-9a-f]{6})$/i, yn = (e) => {
|
|
1567
1567
|
if (!e) return null;
|
|
1568
|
-
const t = String(e).trim().toLowerCase(), r =
|
|
1568
|
+
const t = String(e).trim().toLowerCase(), r = Qc.exec(t);
|
|
1569
1569
|
if (r) return `#${r[1]}`;
|
|
1570
|
-
const n =
|
|
1570
|
+
const n = Hc.exec(t);
|
|
1571
1571
|
if (n) {
|
|
1572
1572
|
const [, i, a, o] = n;
|
|
1573
1573
|
return `#${i}${i}${a}${a}${o}${o}`;
|
|
@@ -1591,7 +1591,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1591
1591
|
"rdt",
|
|
1592
1592
|
"sptf",
|
|
1593
1593
|
"twitch"
|
|
1594
|
-
],
|
|
1594
|
+
], Vc = [
|
|
1595
1595
|
"telegram",
|
|
1596
1596
|
"whatsapp",
|
|
1597
1597
|
"instagram",
|
|
@@ -1617,7 +1617,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1617
1617
|
"thrds",
|
|
1618
1618
|
"msngr",
|
|
1619
1619
|
"bs"
|
|
1620
|
-
],
|
|
1620
|
+
], Gc = [
|
|
1621
1621
|
{
|
|
1622
1622
|
id: "vk",
|
|
1623
1623
|
labelMsgid: "VK",
|
|
@@ -1779,11 +1779,11 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1779
1779
|
brands: ["em"]
|
|
1780
1780
|
}
|
|
1781
1781
|
];
|
|
1782
|
-
function
|
|
1783
|
-
const t = e === "em" ? ta :
|
|
1782
|
+
function Wc(e) {
|
|
1783
|
+
const t = e === "em" ? ta : Vc, r = new Set(t), n = Object.fromEntries(Gc.filter((i) => i.brands.includes(e) && r.has(i.id)).map((i) => [i.id, i]));
|
|
1784
1784
|
return t.map((i) => n[i]).filter((i) => !!i);
|
|
1785
1785
|
}
|
|
1786
|
-
var
|
|
1786
|
+
var Yc = {
|
|
1787
1787
|
tg: "telegram",
|
|
1788
1788
|
yt: "youtube",
|
|
1789
1789
|
yd: "yandex_zen",
|
|
@@ -1793,18 +1793,18 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1793
1793
|
fb: "facebook",
|
|
1794
1794
|
xa: "x",
|
|
1795
1795
|
tw: "twitter"
|
|
1796
|
-
}, ra = "vk",
|
|
1796
|
+
}, ra = "vk", Xc = new Set(ta), Jc = (e) => Xc.has(e), na = (e) => {
|
|
1797
1797
|
const t = String(e ?? "").trim().toLowerCase();
|
|
1798
|
-
return t ?
|
|
1799
|
-
},
|
|
1800
|
-
const t =
|
|
1798
|
+
return t ? Jc(t) ? t : Yc[t] ?? ra : ra;
|
|
1799
|
+
}, Zc = (e) => na(e), Kc = /\.(woff2|woff|ttf|otf)$/i, el = (e) => {
|
|
1800
|
+
const t = Kc.exec(e.trim().toLowerCase());
|
|
1801
1801
|
return t ? `.${t[1]}` : null;
|
|
1802
|
-
},
|
|
1802
|
+
}, tl = {
|
|
1803
1803
|
".woff": "application/x-font-woff",
|
|
1804
1804
|
".woff2": "application/font-woff2",
|
|
1805
1805
|
".ttf": "font/sfnt",
|
|
1806
1806
|
".otf": "font/sfnt"
|
|
1807
|
-
},
|
|
1807
|
+
}, rl = {
|
|
1808
1808
|
".woff": [
|
|
1809
1809
|
"application/x-font-woff",
|
|
1810
1810
|
"font/woff",
|
|
@@ -1826,41 +1826,41 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1826
1826
|
"font/otf",
|
|
1827
1827
|
"font/opentype"
|
|
1828
1828
|
]
|
|
1829
|
-
},
|
|
1829
|
+
}, nl = new Set([
|
|
1830
1830
|
"",
|
|
1831
1831
|
"application/octet-stream",
|
|
1832
1832
|
"binary/octet-stream"
|
|
1833
|
-
]),
|
|
1834
|
-
const t =
|
|
1833
|
+
]), il = (e) => {
|
|
1834
|
+
const t = el(e.name);
|
|
1835
1835
|
if (!t) return e;
|
|
1836
1836
|
const r = e.type.trim().toLowerCase();
|
|
1837
|
-
return
|
|
1838
|
-
type:
|
|
1837
|
+
return rl[t].includes(r) || !nl.has(r) ? e : new File([e], e.name, {
|
|
1838
|
+
type: tl[t],
|
|
1839
1839
|
lastModified: e.lastModified
|
|
1840
1840
|
});
|
|
1841
|
-
},
|
|
1841
|
+
}, al = () => bn("fnt"), ol = (e) => e.family?.trim() || e.name.trim(), sl = (e) => e.filter((t) => t.source_url?.trim()).map((t) => ({
|
|
1842
1842
|
family: t.family?.trim() || t.name.trim(),
|
|
1843
1843
|
source_url: t.source_url?.trim() ?? "",
|
|
1844
1844
|
weight: t.weight?.trim() || "400",
|
|
1845
1845
|
style: t.style ?? "normal"
|
|
1846
|
-
})),
|
|
1846
|
+
})), cl = (e, t = {}) => {
|
|
1847
1847
|
const r = t.srcOverride?.trim() || e.source_url?.trim();
|
|
1848
1848
|
if (!r || !t.srcOverride && ia(e) || t.srcOverride && u.isGoogleFontsCssUrl(r)) return null;
|
|
1849
|
-
const n = t.familyOverride?.trim() ||
|
|
1849
|
+
const n = t.familyOverride?.trim() || ol(e), i = e.weight?.trim() || "400", a = e.style ?? "normal";
|
|
1850
1850
|
return `@font-face{font-family:${JSON.stringify(n)};src:url(${JSON.stringify(r)});font-weight:${i};font-style:${a};font-display:swap;}`;
|
|
1851
|
-
},
|
|
1851
|
+
}, ll = (e) => e.source_kind ? e.source_kind : u.isGoogleFontsCssUrl(e.source_url) ? "google_stylesheet" : e.file_name?.trim() ? "uploaded" : "remote_file", ia = (e) => e.source_kind ? e.source_kind === "google_stylesheet" || e.source_kind === "remote_stylesheet" : u.isGoogleFontsCssUrl(e.source_url), aa = "data-em-project-fonts-face", oa = "data-em-project-font-link", ul = (e) => {
|
|
1852
1852
|
const t = e.filter((r) => ia(r)).map((r) => r.source_url?.trim() ?? "").filter(Boolean);
|
|
1853
1853
|
return [...new Set(t)];
|
|
1854
|
-
},
|
|
1855
|
-
const r =
|
|
1854
|
+
}, pl = (e) => e.map((t) => cl(t)).filter((t) => !!t).join(""), dl = (e, t = document) => {
|
|
1855
|
+
const r = pl(e), { head: n } = t;
|
|
1856
1856
|
let i = n.querySelector(`style[${aa}]`);
|
|
1857
1857
|
if (!r) {
|
|
1858
1858
|
i?.remove();
|
|
1859
1859
|
return;
|
|
1860
1860
|
}
|
|
1861
1861
|
i || (i = t.createElement("style"), i.setAttribute(aa, ""), n.appendChild(i)), i.textContent = r;
|
|
1862
|
-
},
|
|
1863
|
-
const r = new Set(
|
|
1862
|
+
}, fl = (e, t = document) => {
|
|
1863
|
+
const r = new Set(ul(e)), { head: n } = t;
|
|
1864
1864
|
n.querySelectorAll(`link[${oa}]`).forEach((i) => {
|
|
1865
1865
|
const a = i.getAttribute("href") ?? "";
|
|
1866
1866
|
r.has(a) ? r.delete(a) : i.remove();
|
|
@@ -1868,17 +1868,17 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1868
1868
|
const a = t.createElement("link");
|
|
1869
1869
|
a.setAttribute("rel", "stylesheet"), a.setAttribute("href", i), a.setAttribute(oa, ""), n.appendChild(a);
|
|
1870
1870
|
});
|
|
1871
|
-
},
|
|
1872
|
-
|
|
1873
|
-
},
|
|
1871
|
+
}, ml = (e, t = document) => {
|
|
1872
|
+
dl(e, t), fl(e, t);
|
|
1873
|
+
}, hl = new Set([
|
|
1874
1874
|
"normal",
|
|
1875
1875
|
"italic",
|
|
1876
1876
|
"oblique"
|
|
1877
|
-
]),
|
|
1877
|
+
]), gl = new Set([
|
|
1878
1878
|
"uploaded",
|
|
1879
1879
|
"remote_file",
|
|
1880
1880
|
"google_stylesheet"
|
|
1881
|
-
]), ve = (e) => (e ?? "").trim(), xt = (e) => ve(e) || void 0, sa = (e) => typeof e == "number" && e > 0 ? e : void 0,
|
|
1881
|
+
]), ve = (e) => (e ?? "").trim(), xt = (e) => ve(e) || void 0, sa = (e) => typeof e == "number" && e > 0 ? e : void 0, vl = (e) => hl.has(e) ? e : void 0, bl = (e) => gl.has(e) ? e : void 0, yl = (e, t) => {
|
|
1882
1882
|
const r = yn(ve(e.hex));
|
|
1883
1883
|
return r ? {
|
|
1884
1884
|
id: ve(e.id) || ea(),
|
|
@@ -1890,17 +1890,17 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1890
1890
|
id: ve(e.id),
|
|
1891
1891
|
name: ve(e.name),
|
|
1892
1892
|
source_url: xt(e.source_url),
|
|
1893
|
-
source_kind:
|
|
1893
|
+
source_kind: bl(e.source_kind),
|
|
1894
1894
|
file_name: xt(e.file_name),
|
|
1895
1895
|
family: xt(e.family),
|
|
1896
1896
|
weight: xt(e.weight),
|
|
1897
|
-
style:
|
|
1897
|
+
style: vl(e.style),
|
|
1898
1898
|
preview_url: xt(e.preview_url),
|
|
1899
1899
|
storage_fallback: e.storage_fallback || void 0,
|
|
1900
1900
|
font_size_px: sa(e.font_size_px),
|
|
1901
1901
|
line_height_px: sa(e.line_height_px),
|
|
1902
1902
|
order: e.order ?? t
|
|
1903
|
-
}),
|
|
1903
|
+
}), _l = (e, t) => {
|
|
1904
1904
|
const r = ve(e.url);
|
|
1905
1905
|
return r ? {
|
|
1906
1906
|
id: ve(e.id),
|
|
@@ -1911,10 +1911,10 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1911
1911
|
order: e.order ?? t
|
|
1912
1912
|
} : null;
|
|
1913
1913
|
}, Ge = (e) => [...e].sort((t, r) => t.order - r.order), la = (e) => e ? {
|
|
1914
|
-
colors: Ge((e.colors ?? []).map(
|
|
1914
|
+
colors: Ge((e.colors ?? []).map(yl).filter((t) => t !== null)),
|
|
1915
1915
|
fonts: Ge((e.fonts ?? []).map(ca)),
|
|
1916
|
-
socials: Ge((e.socials ?? []).map(
|
|
1917
|
-
} :
|
|
1916
|
+
socials: Ge((e.socials ?? []).map(_l).filter((t) => t !== null))
|
|
1917
|
+
} : $c, El = (e) => e === "remote_stylesheet" ? "remote_file" : e, xl = (e) => {
|
|
1918
1918
|
const t = {};
|
|
1919
1919
|
return e.colors && (t.colors = Ge(e.colors).map((r) => ({
|
|
1920
1920
|
id: r.id,
|
|
@@ -1924,7 +1924,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1924
1924
|
id: r.id,
|
|
1925
1925
|
name: r.name.trim(),
|
|
1926
1926
|
source_url: r.source_url ?? "",
|
|
1927
|
-
source_kind:
|
|
1927
|
+
source_kind: El(ll(r)),
|
|
1928
1928
|
file_name: r.file_name ?? "",
|
|
1929
1929
|
family: r.family ?? "",
|
|
1930
1930
|
weight: r.weight ?? "",
|
|
@@ -1937,7 +1937,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1937
1937
|
id: r.id,
|
|
1938
1938
|
name: r.name.trim(),
|
|
1939
1939
|
url: r.url,
|
|
1940
|
-
icon_key:
|
|
1940
|
+
icon_key: Zc(r.icon_key),
|
|
1941
1941
|
enabled: r.enabled
|
|
1942
1942
|
}))), t;
|
|
1943
1943
|
}, ua = "ProjectBrandStyles", Ne = u.createApi({
|
|
@@ -1957,7 +1957,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1957
1957
|
}),
|
|
1958
1958
|
updateProjectStyles: e.mutation({
|
|
1959
1959
|
async queryFn({ projectId: t, patch: r }, n) {
|
|
1960
|
-
const i = u.v2ResultOf(await u.getClientV2(n).projects.stylesPartialUpdate({ id: String(t) },
|
|
1960
|
+
const i = u.v2ResultOf(await u.getClientV2(n).projects.stylesPartialUpdate({ id: String(t) }, xl(r)));
|
|
1961
1961
|
return "error" in i ? { error: i.error } : { data: la(i.data) };
|
|
1962
1962
|
},
|
|
1963
1963
|
async onQueryStarted({ projectId: t, patch: r }, { dispatch: n, queryFulfilled: i }) {
|
|
@@ -1973,7 +1973,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1973
1973
|
uploadProjectFont: e.mutation({
|
|
1974
1974
|
async queryFn({ projectId: t, file: r }, n) {
|
|
1975
1975
|
const i = new FormData();
|
|
1976
|
-
i.append("file",
|
|
1976
|
+
i.append("file", il(r));
|
|
1977
1977
|
const a = u.v2ResultOf(await u.getClientV2(n).request({
|
|
1978
1978
|
path: `/projects/${String(t)}/styles/fonts`,
|
|
1979
1979
|
method: "POST",
|
|
@@ -1994,7 +1994,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
1994
1994
|
}
|
|
1995
1995
|
})
|
|
1996
1996
|
})
|
|
1997
|
-
}), { useGetProjectStylesQuery:
|
|
1997
|
+
}), { useGetProjectStylesQuery: wl, useUpdateProjectStylesMutation: mh, useUploadProjectFontMutation: hh } = Ne, pa = "ProjectStorage", wt = u.createApi({
|
|
1998
1998
|
reducerPath: "projectSettingsStorageApi",
|
|
1999
1999
|
baseQuery: u.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
|
|
2000
2000
|
tagTypes: [pa],
|
|
@@ -2042,7 +2042,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2042
2042
|
var We = {
|
|
2043
2043
|
current: 0,
|
|
2044
2044
|
limit: null
|
|
2045
|
-
},
|
|
2045
|
+
}, Al = () => ({
|
|
2046
2046
|
pluginInit: { ...We },
|
|
2047
2047
|
aiAssistant: { ...We },
|
|
2048
2048
|
aiImage: { ...We },
|
|
@@ -2077,24 +2077,24 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2077
2077
|
if (typeof n == "string" && n.trim() && Number.isFinite(Number(n))) return Number(n);
|
|
2078
2078
|
}
|
|
2079
2079
|
return null;
|
|
2080
|
-
},
|
|
2080
|
+
}, Cl = new Set(Object.values(H)), Sl = (e) => Cl.has(e) ? e : null, Me = (e) => Y(e) && "data" in e && (e.ok === !0 || typeof e.success == "boolean" || e.success === void 0) ? e.data : e, Ye = (e, t) => {
|
|
2081
2081
|
for (const r of t) {
|
|
2082
2082
|
const n = e[r];
|
|
2083
2083
|
if (Y(n)) return n;
|
|
2084
2084
|
}
|
|
2085
2085
|
return null;
|
|
2086
|
-
},
|
|
2086
|
+
}, Pl = (e, t) => {
|
|
2087
2087
|
for (const r of t) {
|
|
2088
2088
|
const n = e[r];
|
|
2089
2089
|
if (!Array.isArray(n)) continue;
|
|
2090
2090
|
const i = n.filter((a) => typeof a == "string");
|
|
2091
2091
|
if (i.length > 0) return i;
|
|
2092
2092
|
}
|
|
2093
|
-
},
|
|
2093
|
+
}, Tl = (e) => Y(e) ? {
|
|
2094
2094
|
clientId: Q(e, ["clientId", "client_id"]),
|
|
2095
2095
|
clientSecretConfigured: _n(e, ["clientSecretConfigured", "client_secret_configured"]),
|
|
2096
2096
|
rotatedAt: Q(e, ["rotatedAt", "rotated_at"]) || void 0,
|
|
2097
|
-
scopesSuggested:
|
|
2097
|
+
scopesSuggested: Pl(e, ["scopesSuggested", "scopes_suggested"])
|
|
2098
2098
|
} : {
|
|
2099
2099
|
clientId: "",
|
|
2100
2100
|
clientSecretConfigured: !1
|
|
@@ -2103,7 +2103,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2103
2103
|
const n = e[r];
|
|
2104
2104
|
if (typeof n == "boolean") return n;
|
|
2105
2105
|
}
|
|
2106
|
-
},
|
|
2106
|
+
}, Ol = (e) => {
|
|
2107
2107
|
const t = da(e, [
|
|
2108
2108
|
"pluginConnected",
|
|
2109
2109
|
"plugin_connected",
|
|
@@ -2127,7 +2127,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2127
2127
|
const a = Q(n, ["clientId", "client_id"]), o = _n(n, ["clientSecretConfigured", "client_secret_configured"]);
|
|
2128
2128
|
if (a) return o;
|
|
2129
2129
|
}
|
|
2130
|
-
},
|
|
2130
|
+
}, kl = (e) => {
|
|
2131
2131
|
const t = Me(e);
|
|
2132
2132
|
if (!Y(t)) return {};
|
|
2133
2133
|
const r = Ye(t, ["members"]);
|
|
@@ -2141,9 +2141,9 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2141
2141
|
"my_role",
|
|
2142
2142
|
"role"
|
|
2143
2143
|
]) : "") || void 0,
|
|
2144
|
-
pluginConnected:
|
|
2144
|
+
pluginConnected: Ol(t)
|
|
2145
2145
|
};
|
|
2146
|
-
},
|
|
2146
|
+
}, Nl = (e) => Y(e) ? {
|
|
2147
2147
|
clientId: Q(e, ["clientId", "client_id"]),
|
|
2148
2148
|
secret: Q(e, [
|
|
2149
2149
|
"secret",
|
|
@@ -2153,9 +2153,9 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2153
2153
|
} : {
|
|
2154
2154
|
clientId: "",
|
|
2155
2155
|
secret: ""
|
|
2156
|
-
},
|
|
2156
|
+
}, jl = (e) => {
|
|
2157
2157
|
if (!Y(e)) return null;
|
|
2158
|
-
const r =
|
|
2158
|
+
const r = Sl(Q(e, [
|
|
2159
2159
|
"event",
|
|
2160
2160
|
"type",
|
|
2161
2161
|
"key"
|
|
@@ -2186,10 +2186,10 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2186
2186
|
}
|
|
2187
2187
|
for (const [i, a] of Object.entries(e)) i === "date" || i === "day" || i === "x" || i === "event_counts" || i === "eventCounts" || typeof a == "number" && Number.isFinite(a) && (r[i] = a);
|
|
2188
2188
|
return r;
|
|
2189
|
-
},
|
|
2189
|
+
}, Ml = (e) => {
|
|
2190
2190
|
const t = Me(e);
|
|
2191
2191
|
return Y(t) ? (Array.isArray(t.chart) ? t.chart : Array.isArray(t.series) ? t.series : Array.isArray(t.time_series) ? t.time_series : Array.isArray(t.history) ? t.history : []).map(fa).filter((r) => r !== null) : [];
|
|
2192
|
-
},
|
|
2192
|
+
}, Rl = (e) => {
|
|
2193
2193
|
if (!Y(e)) return {
|
|
2194
2194
|
current: 0,
|
|
2195
2195
|
limit: null
|
|
@@ -2211,7 +2211,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2211
2211
|
limit: r === null ? null : r
|
|
2212
2212
|
};
|
|
2213
2213
|
}, Xe = (e, t) => {
|
|
2214
|
-
for (const r of t) if (r in e) return
|
|
2214
|
+
for (const r of t) if (r in e) return Rl(e[r]);
|
|
2215
2215
|
return {
|
|
2216
2216
|
current: 0,
|
|
2217
2217
|
limit: null
|
|
@@ -2251,7 +2251,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2251
2251
|
"spamCheck"
|
|
2252
2252
|
]
|
|
2253
2253
|
}, En = (e) => {
|
|
2254
|
-
const t =
|
|
2254
|
+
const t = Al(), r = Me(e), n = Y(r) && Y(r.usage) ? r.usage : r;
|
|
2255
2255
|
if (!Y(n)) return t;
|
|
2256
2256
|
const i = Ee(n, ["operationsTotal", "operations_total"], 0), a = Ee(n, ["operationsLast30d", "operations_last_30d"], 0), o = Ye(n, [
|
|
2257
2257
|
"metrics",
|
|
@@ -2294,7 +2294,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2294
2294
|
total: e.aiImage.current,
|
|
2295
2295
|
delta: null
|
|
2296
2296
|
}
|
|
2297
|
-
], n = t ?
|
|
2297
|
+
], n = t ? Ml(t) : [];
|
|
2298
2298
|
return n.length > 0 ? {
|
|
2299
2299
|
cards: r,
|
|
2300
2300
|
chart: n
|
|
@@ -2302,15 +2302,15 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2302
2302
|
cards: r,
|
|
2303
2303
|
chart: []
|
|
2304
2304
|
};
|
|
2305
|
-
},
|
|
2305
|
+
}, Il = (e) => {
|
|
2306
2306
|
const t = Me(e);
|
|
2307
2307
|
if (!Y(t)) return ma(En(e), e);
|
|
2308
2308
|
const r = Array.isArray(t.cards) ? t.cards : Array.isArray(t.summary) ? t.summary : [], n = Array.isArray(t.chart) ? t.chart : Array.isArray(t.series) ? t.series : [];
|
|
2309
2309
|
return r.length > 0 || n.length > 0 ? {
|
|
2310
|
-
cards: r.map(
|
|
2310
|
+
cards: r.map(jl).filter((i) => i !== null),
|
|
2311
2311
|
chart: n.map(fa).filter((i) => i !== null)
|
|
2312
2312
|
} : ma(En(t), t);
|
|
2313
|
-
},
|
|
2313
|
+
}, Dl = (e) => {
|
|
2314
2314
|
if (!Y(e)) return null;
|
|
2315
2315
|
const t = Q(e, ["id", "payment_id"]);
|
|
2316
2316
|
return t ? {
|
|
@@ -2329,16 +2329,16 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2329
2329
|
"pdf_url"
|
|
2330
2330
|
]) || void 0
|
|
2331
2331
|
} : null;
|
|
2332
|
-
},
|
|
2332
|
+
}, Ll = (e) => {
|
|
2333
2333
|
const t = Me(e), r = Y(t) && Array.isArray(t.payments) ? t.payments : [];
|
|
2334
2334
|
return {
|
|
2335
|
-
payments: r.map(
|
|
2335
|
+
payments: r.map(Dl).filter((n) => n !== null),
|
|
2336
2336
|
page: Y(t) ? Ee(t, ["page"], 1) : 1,
|
|
2337
2337
|
perPage: Y(t) ? Ee(t, ["perPage", "per_page"], 20) : 20,
|
|
2338
2338
|
total: Y(t) ? Ee(t, ["total"], r.length) : r.length,
|
|
2339
2339
|
totalPages: Y(t) ? Ee(t, ["totalPages", "total_pages"], 1) : 1
|
|
2340
2340
|
};
|
|
2341
|
-
},
|
|
2341
|
+
}, Fl = (e) => {
|
|
2342
2342
|
const t = Me(e);
|
|
2343
2343
|
if (!Y(t)) return { viewerSeesBilling: !1 };
|
|
2344
2344
|
const r = Ye(t, ["endpoints"]) ?? {}, n = Ye(t, ["documentLinks", "document_links"]), i = n ? Object.fromEntries(Object.entries(n).filter((h) => typeof h[1] == "string")) : void 0, a = nr(t, ["ownerUserId", "owner_user_id"]), o = Ye(t, [
|
|
@@ -2373,13 +2373,13 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2373
2373
|
},
|
|
2374
2374
|
documentLinks: i && Object.keys(i).length > 0 ? i : void 0
|
|
2375
2375
|
};
|
|
2376
|
-
},
|
|
2376
|
+
}, Ul = { myRole: "owner" }, zl = () => ({ ...Ul }), Bl = {
|
|
2377
2377
|
clientId: "rust-awkward-bear",
|
|
2378
2378
|
clientSecretConfigured: Ut.browser$1.env.REACT_APP_PLUGIN_SETTINGS_MOCK_CONNECTED !== "false"
|
|
2379
2379
|
}, ha = () => ({
|
|
2380
|
-
...
|
|
2380
|
+
...Bl,
|
|
2381
2381
|
clientSecretConfigured: Ut.browser$1.env.REACT_APP_PLUGIN_SETTINGS_MOCK_CONNECTED !== "false"
|
|
2382
|
-
}), ga = Object.values(H),
|
|
2382
|
+
}), ga = Object.values(H), ql = {
|
|
2383
2383
|
[H.PLUGIN_INIT]: 42,
|
|
2384
2384
|
[H.LINK_CHECK]: -15,
|
|
2385
2385
|
[H.IMAGE_CHECK]: 28,
|
|
@@ -2387,17 +2387,17 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2387
2387
|
[H.AI_IMAGE]: 6,
|
|
2388
2388
|
[H.AI_WRITE]: -11,
|
|
2389
2389
|
[H.AI_REPHRASE]: 4
|
|
2390
|
-
},
|
|
2390
|
+
}, $l = (e, t) => {
|
|
2391
2391
|
const r = { date: e };
|
|
2392
2392
|
return ga.forEach((n, i) => {
|
|
2393
2393
|
const a = Math.sin(t * .65 + i * .9), o = t * (i % 2 === 0 ? .35 : .2), s = 2 + i;
|
|
2394
2394
|
r[n] = Math.max(0, Math.round(s + a * 4 + o));
|
|
2395
2395
|
}), r;
|
|
2396
|
-
},
|
|
2396
|
+
}, Hl = (e) => ga.map((t) => ({
|
|
2397
2397
|
event: t,
|
|
2398
2398
|
total: e.reduce((r, n) => r + (typeof n[t] == "number" ? n[t] : 0), 0),
|
|
2399
|
-
delta:
|
|
2400
|
-
})),
|
|
2399
|
+
delta: ql[t]
|
|
2400
|
+
})), Ql = ({ period: e, dateFrom: t, dateTo: r }) => {
|
|
2401
2401
|
const n = (0, pt.default)().startOf("day");
|
|
2402
2402
|
if (e === je.WEEK) return {
|
|
2403
2403
|
startDate: n.subtract(6, "day"),
|
|
@@ -2419,14 +2419,14 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2419
2419
|
days: 1
|
|
2420
2420
|
};
|
|
2421
2421
|
}, xn = (e = { period: je.TODAY }) => {
|
|
2422
|
-
const { startDate: t, days: r } =
|
|
2422
|
+
const { startDate: t, days: r } = Ql(e), n = Array.from({ length: r }, (i, a) => $l(t.add(a, "day").format("YYYY-MM-DD"), a));
|
|
2423
2423
|
return {
|
|
2424
|
-
cards:
|
|
2424
|
+
cards: Hl(n),
|
|
2425
2425
|
chart: n
|
|
2426
2426
|
};
|
|
2427
2427
|
};
|
|
2428
2428
|
xn({ period: je.WEEK });
|
|
2429
|
-
var
|
|
2429
|
+
var Vl = {
|
|
2430
2430
|
pluginInit: {
|
|
2431
2431
|
current: 0,
|
|
2432
2432
|
limit: null
|
|
@@ -2481,7 +2481,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2481
2481
|
perPage: 20,
|
|
2482
2482
|
total: 3,
|
|
2483
2483
|
totalPages: 1
|
|
2484
|
-
},
|
|
2484
|
+
}, Gl = {
|
|
2485
2485
|
viewerSeesBilling: !0,
|
|
2486
2486
|
ownerUserId: 1,
|
|
2487
2487
|
planName: "Corporate",
|
|
@@ -2493,13 +2493,13 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2493
2493
|
subscriptionMe: "/wp-json/subscription/v2/me",
|
|
2494
2494
|
payments: "/wp-json/projects/v1/billing-context/2581/payments"
|
|
2495
2495
|
}
|
|
2496
|
-
},
|
|
2496
|
+
}, Wl = {
|
|
2497
2497
|
info: {
|
|
2498
2498
|
name: "EmailMaker Plugin Requests",
|
|
2499
2499
|
schema: "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
|
2500
2500
|
},
|
|
2501
2501
|
item: []
|
|
2502
|
-
},
|
|
2502
|
+
}, Yl = (e) => e, Xl = () => !1, Jl = () => !1, Zl = (e) => e, Ze = "ProjectPlugin", Kl = () => Ut.browser$1.env.REACT_APP_PLUGIN_SETTINGS_USE_MOCK === "true", Ce = (e, t, r) => e.error && Kl() ? { data: r(t) } : u.transformResponseFn(r)(e), eu = (e) => Yl(Tl(e)), tu = (e) => Zl(Fl(e)), ru = ({ period: e, dateFrom: t, dateTo: r }) => {
|
|
2503
2503
|
if (e === je.CUSTOM) {
|
|
2504
2504
|
const n = {};
|
|
2505
2505
|
return t && (n.date_from = t), r && (n.date_to = r), n;
|
|
@@ -2512,7 +2512,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2512
2512
|
endpoints: (e) => ({
|
|
2513
2513
|
getPluginSummary: e.query({
|
|
2514
2514
|
queryFn({ projectId: t }, r) {
|
|
2515
|
-
return u.getClient(r).projects.settings_summary_detail({ projectId: t }).then((n) => Ce(n,
|
|
2515
|
+
return u.getClient(r).projects.settings_summary_detail({ projectId: t }).then((n) => Ce(n, zl(), kl));
|
|
2516
2516
|
},
|
|
2517
2517
|
providesTags: (t, r, { projectId: n }) => [{
|
|
2518
2518
|
type: Ze,
|
|
@@ -2521,7 +2521,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2521
2521
|
}),
|
|
2522
2522
|
getPluginCredentials: e.query({
|
|
2523
2523
|
queryFn({ projectId: t }, r) {
|
|
2524
|
-
return u.getClient(r).projects.developer_credentials_detail({ projectId: t }).then((n) => Ce(n, ha(),
|
|
2524
|
+
return u.getClient(r).projects.developer_credentials_detail({ projectId: t }).then((n) => Ce(n, ha(), eu));
|
|
2525
2525
|
},
|
|
2526
2526
|
providesTags: (t, r, { projectId: n }) => [{
|
|
2527
2527
|
type: Ze,
|
|
@@ -2533,7 +2533,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2533
2533
|
return u.getClient(r).projects.developer_credentials_rotate_secret_create({ projectId: t }).then((n) => Ce(n, {
|
|
2534
2534
|
clientId: ha().clientId,
|
|
2535
2535
|
secret: "mock-rotated-secret"
|
|
2536
|
-
},
|
|
2536
|
+
}, Nl));
|
|
2537
2537
|
},
|
|
2538
2538
|
invalidatesTags: (t, r, { projectId: n }) => [{
|
|
2539
2539
|
type: Ze,
|
|
@@ -2541,7 +2541,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2541
2541
|
}]
|
|
2542
2542
|
}),
|
|
2543
2543
|
getPostmanCollection: e.query({ queryFn({ projectId: t }, r) {
|
|
2544
|
-
return u.getClient(r).projects.developer_kit_postman_collection_list({ extraQuery: { project_id: String(t) } }).then((n) => Ce(n,
|
|
2544
|
+
return u.getClient(r).projects.developer_kit_postman_collection_list({ extraQuery: { project_id: String(t) } }).then((n) => Ce(n, Wl, (i) => Me(i) ?? i));
|
|
2545
2545
|
} }),
|
|
2546
2546
|
getPluginAnalytics: e.query({ queryFn({ projectId: t, period: r, dateFrom: n, dateTo: i }, a) {
|
|
2547
2547
|
const o = {
|
|
@@ -2549,15 +2549,15 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2549
2549
|
dateFrom: n,
|
|
2550
2550
|
dateTo: i
|
|
2551
2551
|
};
|
|
2552
|
-
return
|
|
2552
|
+
return Xl() ? Promise.resolve({ data: xn(o) }) : u.getClient(a).request({
|
|
2553
2553
|
path: `/projects/v1/usage/${t}/timeseries`,
|
|
2554
2554
|
method: "GET",
|
|
2555
|
-
query:
|
|
2556
|
-
}).then((s) => Ce(s, xn(o),
|
|
2555
|
+
query: ru(o)
|
|
2556
|
+
}).then((s) => Ce(s, xn(o), Il));
|
|
2557
2557
|
} }),
|
|
2558
2558
|
getPluginBillingContext: e.query({
|
|
2559
2559
|
queryFn({ projectId: t }, r) {
|
|
2560
|
-
return u.getClient(r).projects.billing_context_detail({ projectId: t }).then((n) => Ce(n,
|
|
2560
|
+
return u.getClient(r).projects.billing_context_detail({ projectId: t }).then((n) => Ce(n, Gl, tu));
|
|
2561
2561
|
},
|
|
2562
2562
|
providesTags: (t, r, { projectId: n }) => [{
|
|
2563
2563
|
type: Ze,
|
|
@@ -2565,18 +2565,18 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2565
2565
|
}]
|
|
2566
2566
|
}),
|
|
2567
2567
|
getPluginUsage: e.query({ queryFn({ projectId: t }, r) {
|
|
2568
|
-
return u.getClient(r).projects.usage_detail({ projectId: t }).then((n) => Ce(n,
|
|
2568
|
+
return u.getClient(r).projects.usage_detail({ projectId: t }).then((n) => Ce(n, Vl, En));
|
|
2569
2569
|
} }),
|
|
2570
2570
|
getPluginPayments: e.query({
|
|
2571
2571
|
queryFn({ projectId: t, page: r = 1, perPage: n = 20 }, i) {
|
|
2572
|
-
return
|
|
2572
|
+
return Jl() ? Promise.resolve({ data: va }) : u.getClient(i).request({
|
|
2573
2573
|
path: `/projects/v1/billing-context/${t}/payments`,
|
|
2574
2574
|
method: "GET",
|
|
2575
2575
|
query: {
|
|
2576
2576
|
page: String(r),
|
|
2577
2577
|
per_page: String(n)
|
|
2578
2578
|
}
|
|
2579
|
-
}).then((a) => Ce(a, va,
|
|
2579
|
+
}).then((a) => Ce(a, va, Ll));
|
|
2580
2580
|
},
|
|
2581
2581
|
providesTags: (t, r, { projectId: n }) => [{
|
|
2582
2582
|
type: Ze,
|
|
@@ -2597,7 +2597,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2597
2597
|
id: n
|
|
2598
2598
|
}]
|
|
2599
2599
|
}) })
|
|
2600
|
-
}), { useGetEmailRawQuery: Oh } = At, ya = "Optimise",
|
|
2600
|
+
}), { useGetEmailRawQuery: Oh } = At, ya = "Optimise", nu = "usage_limit_exceeded", iu = async (e, t, r) => {
|
|
2601
2601
|
const n = await u.fetchBaseQueryApp({ baseUrl: `${u.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "")}/optimization/v1/validate` })(e, t, r);
|
|
2602
2602
|
if (n.error) {
|
|
2603
2603
|
let i = n.error;
|
|
@@ -2612,7 +2612,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2612
2612
|
}, ar = u.createApi({
|
|
2613
2613
|
reducerPath: "optimiseApi",
|
|
2614
2614
|
tagTypes: [ya],
|
|
2615
|
-
baseQuery:
|
|
2615
|
+
baseQuery: iu,
|
|
2616
2616
|
endpoints: (e) => ({
|
|
2617
2617
|
editLinks: e.mutation({
|
|
2618
2618
|
query: (t) => ({
|
|
@@ -2648,7 +2648,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2648
2648
|
body: t
|
|
2649
2649
|
}) })
|
|
2650
2650
|
})
|
|
2651
|
-
}), { useEditLinksMutation:
|
|
2651
|
+
}), { useEditLinksMutation: au, useEditImagesMutation: ou, useEditSpamMutation: su } = ar, cu = async (e, t, r) => {
|
|
2652
2652
|
try {
|
|
2653
2653
|
const { notification: n, ...i } = e, a = await u.fetchBaseQuery({ baseUrl: "https://racs.emcdn.ru/v3" })(i, t, r);
|
|
2654
2654
|
if (a.error) throw new Error();
|
|
@@ -2658,7 +2658,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2658
2658
|
}
|
|
2659
2659
|
}, or = u.createApi({
|
|
2660
2660
|
reducerPath: "exportPngApi",
|
|
2661
|
-
baseQuery:
|
|
2661
|
+
baseQuery: cu,
|
|
2662
2662
|
endpoints: (e) => ({
|
|
2663
2663
|
makeTemporaryMailForPng: e.mutation({ query: ({ file: t, title: r, notification: n }) => {
|
|
2664
2664
|
const i = new Blob([t], { type: "text/html" }), a = new FormData();
|
|
@@ -2675,7 +2675,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2675
2675
|
notification: r
|
|
2676
2676
|
}) })
|
|
2677
2677
|
})
|
|
2678
|
-
}), { useMakeTemporaryMailForPngMutation:
|
|
2678
|
+
}), { useMakeTemporaryMailForPngMutation: lu, useDeleteTemporaryMailMutation: uu } = or, sr = u.createApi({
|
|
2679
2679
|
reducerPath: "yandexAuthApi",
|
|
2680
2680
|
baseQuery: u.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
|
|
2681
2681
|
endpoints: (e) => ({ validateYandexToken: e.mutation({ query: (t) => ({
|
|
@@ -2707,7 +2707,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2707
2707
|
method: "POST",
|
|
2708
2708
|
body: r
|
|
2709
2709
|
}) }) })
|
|
2710
|
-
}), { usePostDataByWebHookMutation:
|
|
2710
|
+
}), { usePostDataByWebHookMutation: pu } = ur, pr = u.createApi({
|
|
2711
2711
|
reducerPath: "unisenderApi",
|
|
2712
2712
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
2713
2713
|
endpoints: (e) => ({ createEmailMessage: e.mutation({ query: (t) => {
|
|
@@ -2721,7 +2721,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2721
2721
|
body: n.toString()
|
|
2722
2722
|
};
|
|
2723
2723
|
} }) })
|
|
2724
|
-
}), { useCreateEmailMessageMutation:
|
|
2724
|
+
}), { useCreateEmailMessageMutation: du } = pr, dr = u.createApi({
|
|
2725
2725
|
reducerPath: "mailganerApi",
|
|
2726
2726
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://mailganer.com" }),
|
|
2727
2727
|
endpoints: (e) => ({ createMailing: e.mutation({ query: (t) => {
|
|
@@ -2733,7 +2733,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2733
2733
|
body: r.toString()
|
|
2734
2734
|
};
|
|
2735
2735
|
} }) })
|
|
2736
|
-
}), { useCreateMailingMutation:
|
|
2736
|
+
}), { useCreateMailingMutation: fu } = dr, fr = u.createApi({
|
|
2737
2737
|
reducerPath: "sendsayApi",
|
|
2738
2738
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://api.sendsay.ru" }),
|
|
2739
2739
|
endpoints: (e) => ({ createDraft: e.mutation({ query: (t) => {
|
|
@@ -2758,7 +2758,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2758
2758
|
body: r
|
|
2759
2759
|
};
|
|
2760
2760
|
} }) })
|
|
2761
|
-
}), { useCreateDraftMutation:
|
|
2761
|
+
}), { useCreateDraftMutation: mu } = fr, mr = u.createApi({
|
|
2762
2762
|
reducerPath: "altcraftApi",
|
|
2763
2763
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
2764
2764
|
endpoints: (e) => ({ addTemplate: e.mutation({ query: (t) => {
|
|
@@ -2787,11 +2787,11 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2787
2787
|
body: JSON.stringify(n)
|
|
2788
2788
|
};
|
|
2789
2789
|
} }) })
|
|
2790
|
-
}), { useAddTemplateMutation:
|
|
2790
|
+
}), { useAddTemplateMutation: hu } = mr, gu = (e) => e.replace(/<style[^>]*>[\s\S]*?<\/style>/gi, "").replace(/<script[^>]*>[\s\S]*?<\/script>/gi, "").replace(/<[^>]+>/g, " ").replace(/ /g, " ").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, "\"").replace(/\s+/g, " ").trim(), hr = u.createApi({
|
|
2791
2791
|
reducerPath: "enkodApi",
|
|
2792
2792
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://api.enkod.ru" }),
|
|
2793
2793
|
endpoints: (e) => ({ createMessage: e.mutation({ query: (t) => {
|
|
2794
|
-
const r =
|
|
2794
|
+
const r = gu(t.html_content) || t.subject, n = {
|
|
2795
2795
|
message: {
|
|
2796
2796
|
subject: t.subject,
|
|
2797
2797
|
fromEmail: t.sender_email || "",
|
|
@@ -2811,14 +2811,14 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2811
2811
|
body: n
|
|
2812
2812
|
};
|
|
2813
2813
|
} }) })
|
|
2814
|
-
}), { useCreateMessageMutation:
|
|
2814
|
+
}), { useCreateMessageMutation: vu } = hr, bu = (e) => {
|
|
2815
2815
|
const t = e.split("-");
|
|
2816
2816
|
return t.length > 1 ? t[1] : "us1";
|
|
2817
|
-
},
|
|
2817
|
+
}, yu = (e) => `https://${bu(e)}.api.mailchimp.com/3.0`, gr = u.createApi({
|
|
2818
2818
|
reducerPath: "mailchimpApi",
|
|
2819
2819
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
2820
2820
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
2821
|
-
const a =
|
|
2821
|
+
const a = yu(t.api_key), o = btoa(`anystring:${t.api_key}`), s = {
|
|
2822
2822
|
type: "regular",
|
|
2823
2823
|
recipients: { list_id: t.list_id },
|
|
2824
2824
|
settings: {
|
|
@@ -2869,16 +2869,16 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2869
2869
|
web_id: f.web_id
|
|
2870
2870
|
} };
|
|
2871
2871
|
} }) })
|
|
2872
|
-
}), { useCreateCampaignMutation:
|
|
2872
|
+
}), { useCreateCampaignMutation: _u } = gr, wn = "https://a.klaviyo.com/api", Eu = "2025-04-15", xu = (e) => ({
|
|
2873
2873
|
"Content-Type": "application/json",
|
|
2874
2874
|
Accept: "application/json",
|
|
2875
2875
|
Authorization: `Klaviyo-API-Key ${e}`,
|
|
2876
|
-
revision:
|
|
2876
|
+
revision: Eu
|
|
2877
2877
|
}), vr = u.createApi({
|
|
2878
2878
|
reducerPath: "klaviyoApi",
|
|
2879
2879
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
2880
2880
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
2881
|
-
const a =
|
|
2881
|
+
const a = xu(t.api_key), o = { data: {
|
|
2882
2882
|
type: "template",
|
|
2883
2883
|
attributes: {
|
|
2884
2884
|
name: `Email ${Date.now()}`,
|
|
@@ -2969,14 +2969,14 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
2969
2969
|
campaign_message_id: b
|
|
2970
2970
|
} };
|
|
2971
2971
|
} }) })
|
|
2972
|
-
}), { useCreateCampaignMutation:
|
|
2972
|
+
}), { useCreateCampaignMutation: wu } = vr, Au = "https://api.hubapi.com", Cu = (e) => ({
|
|
2973
2973
|
"Content-Type": "application/json",
|
|
2974
2974
|
Authorization: `Bearer ${e}`
|
|
2975
2975
|
}), br = u.createApi({
|
|
2976
2976
|
reducerPath: "hubspotApi",
|
|
2977
2977
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
2978
2978
|
endpoints: (e) => ({ createEmail: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
2979
|
-
const a =
|
|
2979
|
+
const a = Cu(t.api_key), o = {
|
|
2980
2980
|
name: t.name,
|
|
2981
2981
|
subject: t.subject,
|
|
2982
2982
|
from: {
|
|
@@ -3018,7 +3018,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3018
3018
|
}
|
|
3019
3019
|
}
|
|
3020
3020
|
}, s = await i({
|
|
3021
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3021
|
+
url: `?proxy_url=${encodeURIComponent(`${Au}/marketing/v3/emails/`)}`,
|
|
3022
3022
|
method: "POST",
|
|
3023
3023
|
headers: a,
|
|
3024
3024
|
body: JSON.stringify(o)
|
|
@@ -3036,7 +3036,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3036
3036
|
error: s.data?.errors?.map((f) => f.message || f.errorType).join("; ") || "Failed to create email"
|
|
3037
3037
|
} };
|
|
3038
3038
|
} }) })
|
|
3039
|
-
}), { useCreateEmailMutation:
|
|
3039
|
+
}), { useCreateEmailMutation: Su } = br, yr = u.createApi({
|
|
3040
3040
|
reducerPath: "salesforceMcApi",
|
|
3041
3041
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3042
3042
|
endpoints: (e) => ({ createEmail: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
@@ -3097,11 +3097,11 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3097
3097
|
error: m.data?.errors?.map((y) => y.message).join("; ") || "Failed to create email"
|
|
3098
3098
|
} };
|
|
3099
3099
|
} }) })
|
|
3100
|
-
}), { useCreateEmailMutation:
|
|
3100
|
+
}), { useCreateEmailMutation: Pu } = yr, Tu = (e) => e.replace(/\/$/, ""), Ou = (e) => e.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim() || " ", _r = u.createApi({
|
|
3101
3101
|
reducerPath: "activecampaignApi",
|
|
3102
3102
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3103
3103
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
3104
|
-
const a =
|
|
3104
|
+
const a = Tu(t.api_url), o = t.api_key, s = {
|
|
3105
3105
|
"Content-Type": "application/json",
|
|
3106
3106
|
"Api-Token": o
|
|
3107
3107
|
}, l = await i({
|
|
@@ -3126,7 +3126,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3126
3126
|
reply2: t.from_email,
|
|
3127
3127
|
subject: t.subject,
|
|
3128
3128
|
html: t.html,
|
|
3129
|
-
text:
|
|
3129
|
+
text: Ou(t.html),
|
|
3130
3130
|
preheader_text: "",
|
|
3131
3131
|
format: "mime"
|
|
3132
3132
|
} }, b = await i({
|
|
@@ -3176,7 +3176,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3176
3176
|
error: k?.result_message || "Campaign created but no ID returned."
|
|
3177
3177
|
} };
|
|
3178
3178
|
} }) })
|
|
3179
|
-
}), { useCreateCampaignMutation:
|
|
3179
|
+
}), { useCreateCampaignMutation: ku } = _r, Nu = "https://api.brevo.com/v3", Er = u.createApi({
|
|
3180
3180
|
reducerPath: "brevoApi",
|
|
3181
3181
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3182
3182
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
@@ -3190,7 +3190,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3190
3190
|
htmlContent: t.html,
|
|
3191
3191
|
recipients: { listIds: [t.list_id] }
|
|
3192
3192
|
}, o = await i({
|
|
3193
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3193
|
+
url: `?proxy_url=${encodeURIComponent(`${Nu}/emailCampaigns`)}`,
|
|
3194
3194
|
method: "POST",
|
|
3195
3195
|
headers: {
|
|
3196
3196
|
"Content-Type": "application/json",
|
|
@@ -3211,7 +3211,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3211
3211
|
error: o.data?.message || "Failed to create campaign"
|
|
3212
3212
|
} };
|
|
3213
3213
|
} }) })
|
|
3214
|
-
}), { useCreateCampaignMutation:
|
|
3214
|
+
}), { useCreateCampaignMutation: ju } = Er, Mu = "https://api.createsend.com/api/v3.3", Ru = (e) => `Basic ${btoa(`${e}:x`)}`, xr = u.createApi({
|
|
3215
3215
|
reducerPath: "campaignMonitorApi",
|
|
3216
3216
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3217
3217
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
@@ -3225,11 +3225,11 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3225
3225
|
ListIDs: [t.list_id],
|
|
3226
3226
|
InlineCss: !0
|
|
3227
3227
|
}, o = await i({
|
|
3228
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3228
|
+
url: `?proxy_url=${encodeURIComponent(`${Mu}/campaigns/${t.client_id}.json`)}`,
|
|
3229
3229
|
method: "POST",
|
|
3230
3230
|
headers: {
|
|
3231
3231
|
"Content-Type": "application/json",
|
|
3232
|
-
Authorization:
|
|
3232
|
+
Authorization: Ru(t.api_key)
|
|
3233
3233
|
},
|
|
3234
3234
|
body: JSON.stringify(a)
|
|
3235
3235
|
});
|
|
@@ -3246,11 +3246,11 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3246
3246
|
error: s?.Message || "Failed to create campaign"
|
|
3247
3247
|
} } : { data: { id: l } };
|
|
3248
3248
|
} }) })
|
|
3249
|
-
}), { useCreateCampaignMutation:
|
|
3249
|
+
}), { useCreateCampaignMutation: Iu } = xr, _a = "https://api.cc.email/v3", Du = (e) => e.includes("[[trackingImage]]") ? e : e.replace(/<body([^>]*)>/i, "<body$1>[[trackingImage]]"), wr = u.createApi({
|
|
3250
3250
|
reducerPath: "constantContactApi",
|
|
3251
3251
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3252
3252
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
3253
|
-
const a =
|
|
3253
|
+
const a = Du(t.html), o = {
|
|
3254
3254
|
name: t.name,
|
|
3255
3255
|
email_campaign_activities: [{
|
|
3256
3256
|
format_type: 5,
|
|
@@ -3312,7 +3312,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3312
3312
|
}
|
|
3313
3313
|
return { data: { campaign_id: h } };
|
|
3314
3314
|
} }) })
|
|
3315
|
-
}), { useCreateCampaignMutation:
|
|
3315
|
+
}), { useCreateCampaignMutation: Lu } = wr, Fu = "https://api.getresponse.com/v3", Uu = (e) => `api-key ${e}`, Ar = u.createApi({
|
|
3316
3316
|
reducerPath: "getresponseApi",
|
|
3317
3317
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3318
3318
|
endpoints: (e) => ({ createNewsletter: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
@@ -3330,11 +3330,11 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3330
3330
|
flags: ["openrate", "clicktrack"],
|
|
3331
3331
|
sendSettings: { selectedCampaigns: [t.campaign_id] }
|
|
3332
3332
|
}, s = await i({
|
|
3333
|
-
url: `?proxy_url=${encodeURIComponent(`${
|
|
3333
|
+
url: `?proxy_url=${encodeURIComponent(`${Fu}/newsletters`)}`,
|
|
3334
3334
|
method: "POST",
|
|
3335
3335
|
headers: {
|
|
3336
3336
|
"Content-Type": "application/json",
|
|
3337
|
-
"X-Auth-Token":
|
|
3337
|
+
"X-Auth-Token": Uu(t.api_key)
|
|
3338
3338
|
},
|
|
3339
3339
|
body: JSON.stringify(o)
|
|
3340
3340
|
});
|
|
@@ -3351,11 +3351,11 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3351
3351
|
error: s.data?.message || "Failed to create newsletter"
|
|
3352
3352
|
} };
|
|
3353
3353
|
} }) })
|
|
3354
|
-
}), { useCreateNewsletterMutation:
|
|
3354
|
+
}), { useCreateNewsletterMutation: zu } = Ar, Bu = (e) => `https://${e || "r1"}-api.dotdigital.com/v2`, Ea = (e, t) => `Basic ${btoa(`${e}:${t}`)}`, xa = (e) => e && typeof e == "object" && "data" in e && e.data !== void 0 ? e.data : e, wa = (e) => e.trim().toLowerCase(), Cr = u.createApi({
|
|
3355
3355
|
reducerPath: "dotdigitalApi",
|
|
3356
3356
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3357
3357
|
endpoints: (e) => ({ createCampaign: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
3358
|
-
const a = t.html.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim(), o =
|
|
3358
|
+
const a = t.html.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim(), o = Bu(t.region), s = {
|
|
3359
3359
|
"Content-Type": "application/json",
|
|
3360
3360
|
Authorization: Ea(t.username, t.password)
|
|
3361
3361
|
}, l = await i({
|
|
@@ -3398,7 +3398,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3398
3398
|
error: S.data?.message || A?.message || "Failed to create campaign"
|
|
3399
3399
|
} };
|
|
3400
3400
|
} }) })
|
|
3401
|
-
}), { useCreateCampaignMutation:
|
|
3401
|
+
}), { useCreateCampaignMutation: qu } = Cr, $u = "https://app.bentonow.com/api/v1", Hu = (e, t) => `Basic ${btoa(`${e}:${t}`)}`, Sr = u.createApi({
|
|
3402
3402
|
reducerPath: "bentoApi",
|
|
3403
3403
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3404
3404
|
endpoints: (e) => ({ createBroadcast: e.mutation({ queryFn: async (t, r, n, i) => {
|
|
@@ -3416,12 +3416,12 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3416
3416
|
segment_id: t.segment_id || "",
|
|
3417
3417
|
batch_size_per_hour: 500,
|
|
3418
3418
|
approved: !1
|
|
3419
|
-
}] }, o = `${
|
|
3419
|
+
}] }, o = `${$u}/batch/broadcasts?site_uuid=${encodeURIComponent(t.site_uuid)}`, s = await i({
|
|
3420
3420
|
url: `?proxy_url=${encodeURIComponent(o)}`,
|
|
3421
3421
|
method: "POST",
|
|
3422
3422
|
headers: {
|
|
3423
3423
|
"Content-Type": "application/json",
|
|
3424
|
-
Authorization:
|
|
3424
|
+
Authorization: Hu(t.publishable_key, t.secret_key),
|
|
3425
3425
|
"User-Agent": "EmailMaker/1.0"
|
|
3426
3426
|
},
|
|
3427
3427
|
body: JSON.stringify(a)
|
|
@@ -3435,11 +3435,11 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3435
3435
|
}
|
|
3436
3436
|
return { data: { count: s.data?.count ?? 1 } };
|
|
3437
3437
|
} }) })
|
|
3438
|
-
}), { useCreateBroadcastMutation:
|
|
3439
|
-
function
|
|
3438
|
+
}), { useCreateBroadcastMutation: Qu } = Sr, Vu = re.require_eventsource();
|
|
3439
|
+
function Gu(e, t) {
|
|
3440
3440
|
e === !0 || typeof t != "function" || t();
|
|
3441
3441
|
}
|
|
3442
|
-
var
|
|
3442
|
+
var Wu = async (e, t, r) => {
|
|
3443
3443
|
const n = await u.fetchBaseQueryApp({ baseUrl: u.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "") })(e, t, r);
|
|
3444
3444
|
if (n.error) {
|
|
3445
3445
|
let i = n.error;
|
|
@@ -3453,7 +3453,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3453
3453
|
return n;
|
|
3454
3454
|
}, Pr = u.createApi({
|
|
3455
3455
|
reducerPath: "AiApiGenerator",
|
|
3456
|
-
baseQuery:
|
|
3456
|
+
baseQuery: Wu,
|
|
3457
3457
|
endpoints: (e) => ({
|
|
3458
3458
|
generateIdForTask: e.mutation({ queryFn(t, r) {
|
|
3459
3459
|
return u.getAIClient(r).tasks.tasksControllerCreateTask(t).then((n) => n);
|
|
@@ -3464,7 +3464,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3464
3464
|
getGeneratedContent: e.query({
|
|
3465
3465
|
queryFn: (t) => ({ data: [] }),
|
|
3466
3466
|
async onCacheEntryAdded({ id: t, setError: r }, n) {
|
|
3467
|
-
const { updateCachedData: i, cacheEntryRemoved: a } = n, o = u.getClient(n).baseUrl.indexOf("emailmaker") >= 0 ? u.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.maker : u.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.blocks, s = u.PLUGIN.isPlugin ? await u.di.getInstance(n, re.TOKEN_ID) : u.api.get(u.APP_COOKIES.em_token), l = s ? { Authorization: `Bearer ${s}` } : {}, f = new
|
|
3467
|
+
const { updateCachedData: i, cacheEntryRemoved: a } = n, o = u.getClient(n).baseUrl.indexOf("emailmaker") >= 0 ? u.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.maker : u.URLS_FOR_EMAIL_GENERATOR_IN_AI_CHAT.blocks, s = u.PLUGIN.isPlugin ? await u.di.getInstance(n, re.TOKEN_ID) : u.api.get(u.APP_COOKIES.em_token), l = s ? { Authorization: `Bearer ${s}` } : {}, f = new Vu.EventSourcePolyfill(`${o}/tasks/${t}`, { headers: l });
|
|
3468
3468
|
f.onmessage = (h) => {
|
|
3469
3469
|
const m = JSON.parse(h.data);
|
|
3470
3470
|
i((b) => {
|
|
@@ -3481,7 +3481,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3481
3481
|
body: t
|
|
3482
3482
|
}) })
|
|
3483
3483
|
})
|
|
3484
|
-
}), { useGenerateIdForTaskMutation: Mh, useGetGeneratedContentQuery: Rh, useLazyClearAiChatQuery:
|
|
3484
|
+
}), { useGenerateIdForTaskMutation: Mh, useGetGeneratedContentQuery: Rh, useLazyClearAiChatQuery: Yu, useLazyGetGeneratedContentQuery: Xu, useGetAiGenerateStatusMutation: Ju } = Pr, Aa = async (e) => {
|
|
3485
3485
|
const t = await e.text();
|
|
3486
3486
|
let r = t;
|
|
3487
3487
|
try {
|
|
@@ -3490,7 +3490,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3490
3490
|
r = t;
|
|
3491
3491
|
}
|
|
3492
3492
|
return r;
|
|
3493
|
-
},
|
|
3493
|
+
}, Zu = (e, t, r) => {
|
|
3494
3494
|
if (!e) throw new Error(`Set ${r}`);
|
|
3495
3495
|
return {
|
|
3496
3496
|
url: `?proxy_url=${encodeURIComponent(e)}`,
|
|
@@ -3499,7 +3499,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3499
3499
|
body: t,
|
|
3500
3500
|
responseHandler: Aa
|
|
3501
3501
|
};
|
|
3502
|
-
},
|
|
3502
|
+
}, Ku = (e, t, r) => {
|
|
3503
3503
|
if (!e) throw new Error(`Set ${r}`);
|
|
3504
3504
|
return {
|
|
3505
3505
|
url: `?proxy_url=${encodeURIComponent(e)}`,
|
|
@@ -3511,12 +3511,12 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3511
3511
|
reducerPath: "requestPlaneApi",
|
|
3512
3512
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3513
3513
|
endpoints: (e) => ({
|
|
3514
|
-
getRequest: e.mutation({ query: (t) =>
|
|
3515
|
-
getInvoiceRequest: e.mutation({ query: (t) =>
|
|
3514
|
+
getRequest: e.mutation({ query: (t) => Ku("https://webhook.latenode.com/5868/prod/9e7a6445-2244-4dd5-bda4-5bca82997bf8", t, "REACT_APP_PIPEDREAM_REQUEST_PLANE_SRC") }),
|
|
3515
|
+
getInvoiceRequest: e.mutation({ query: (t) => Zu("https://webhook.latenode.com/5868/prod/6e2d04a8-6cd9-4ec3-b884-ee2fd67267a3", t, "REACT_APP_REQUEST_PLANE_WEBHOOK_URL") })
|
|
3516
3516
|
})
|
|
3517
|
-
}), { useGetRequestMutation: Ih, useGetInvoiceRequestMutation:
|
|
3517
|
+
}), { useGetRequestMutation: Ih, useGetInvoiceRequestMutation: ep } = Tr, tp = async (e, t, r) => {
|
|
3518
3518
|
try {
|
|
3519
|
-
const { notification: n, ...i } = e, a = await u.
|
|
3519
|
+
const { notification: n, ...i } = e, a = await u.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" })(i, t, r);
|
|
3520
3520
|
if (a.error) throw new Error();
|
|
3521
3521
|
return a;
|
|
3522
3522
|
} catch (n) {
|
|
@@ -3524,15 +3524,15 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3524
3524
|
}
|
|
3525
3525
|
}, Or = u.createApi({
|
|
3526
3526
|
reducerPath: "htmlToPdfPlusApi",
|
|
3527
|
-
baseQuery:
|
|
3527
|
+
baseQuery: tp,
|
|
3528
3528
|
endpoints: (e) => ({ generateHtmlToPdf: e.mutation({ query: ({ htmlContent: t, notification: r }) => ({
|
|
3529
|
-
url: "",
|
|
3529
|
+
url: "emails/pdf",
|
|
3530
3530
|
method: "POST",
|
|
3531
3531
|
body: t,
|
|
3532
3532
|
notification: r,
|
|
3533
3533
|
responseHandler: (n) => n.blob()
|
|
3534
3534
|
}) }) })
|
|
3535
|
-
}), { useGenerateHtmlToPdfMutation:
|
|
3535
|
+
}), { useGenerateHtmlToPdfMutation: rp } = Or, kr = u.createApi({
|
|
3536
3536
|
reducerPath: "layoutConverterApi",
|
|
3537
3537
|
baseQuery: u.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
|
|
3538
3538
|
endpoints: (e) => ({
|
|
@@ -3546,7 +3546,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3546
3546
|
method: "GET"
|
|
3547
3547
|
}) })
|
|
3548
3548
|
})
|
|
3549
|
-
}), { useCreateConvertJobMutation:
|
|
3549
|
+
}), { useCreateConvertJobMutation: np, useLazyGetConvertJobStatusQuery: ip } = kr;
|
|
3550
3550
|
function Ca({ title: e, content: t, acf: { seen: r, type: n, event: i, data: a }, ...o }) {
|
|
3551
3551
|
return {
|
|
3552
3552
|
...o,
|
|
@@ -3591,7 +3591,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3591
3591
|
}]
|
|
3592
3592
|
})
|
|
3593
3593
|
})
|
|
3594
|
-
}), { useGetNotificationsQuery:
|
|
3594
|
+
}), { useGetNotificationsQuery: ap, useNotificationShownMutation: op } = St, Nr = u.createApi({
|
|
3595
3595
|
reducerPath: "getCheckoutUrlApi",
|
|
3596
3596
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3597
3597
|
endpoints: (e) => ({ GetCheckoutUrl: e.mutation({ query: (t) => ({
|
|
@@ -3599,7 +3599,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3599
3599
|
method: "POST",
|
|
3600
3600
|
body: t
|
|
3601
3601
|
}) }) })
|
|
3602
|
-
}), { useGetCheckoutUrlMutation:
|
|
3602
|
+
}), { useGetCheckoutUrlMutation: sp } = Nr, An = u.createApi({
|
|
3603
3603
|
reducerPath: "recoverPasswordApi",
|
|
3604
3604
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://app.emailmaker.ru/api/wp-json/bdpwr/v1/" }),
|
|
3605
3605
|
endpoints: () => ({})
|
|
@@ -3616,15 +3616,15 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3616
3616
|
responseHandler: (e) => e.text()
|
|
3617
3617
|
}),
|
|
3618
3618
|
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}`)}` }) }) })
|
|
3619
|
-
}), { useLazyGetConfirmationMailQuery:
|
|
3619
|
+
}), { useLazyGetConfirmationMailQuery: cp } = jr, Mr = u.createApi({
|
|
3620
3620
|
reducerPath: "recurrenceSubscriptionsOffApi",
|
|
3621
3621
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3622
3622
|
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}`)}` }) }) })
|
|
3623
|
-
}), { useLazyGetCanselRecurrenceQuery:
|
|
3623
|
+
}), { useLazyGetCanselRecurrenceQuery: lp, useGetCanselRecurrenceQuery: Lh } = Mr, Rr = u.createApi({
|
|
3624
3624
|
reducerPath: "recurrenceSubscriptionsOnApi",
|
|
3625
3625
|
baseQuery: u.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3626
3626
|
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}`)}` }) }) })
|
|
3627
|
-
}), { useLazyGetRecurrenceQuery:
|
|
3627
|
+
}), { useLazyGetRecurrenceQuery: up, useGetRecurrenceQuery: Fh } = Rr, Ir = u.createApi({
|
|
3628
3628
|
reducerPath: "authApi",
|
|
3629
3629
|
baseQuery: u.fetchBaseQueryApp({
|
|
3630
3630
|
baseUrl: "https://app.emailmaker.ru/api/v2",
|
|
@@ -3673,7 +3673,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3673
3673
|
body: t
|
|
3674
3674
|
}) })
|
|
3675
3675
|
})
|
|
3676
|
-
}), { useLoginMutation: Uh, useRegisterMutation: zh, useRefreshTokenMutation: Bh, useLogoutMutation:
|
|
3676
|
+
}), { useLoginMutation: Uh, useRegisterMutation: zh, useRefreshTokenMutation: Bh, useLogoutMutation: dp, useGetUserQuery: qh, useLazyGetUserQuery: $h, useChangePasswordMutation: fp, useResetPasswordMutation: Hh, useResetPasswordConfirmMutation: Qh } = Ir, Cn = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
3677
3677
|
<html>
|
|
3678
3678
|
<head>
|
|
3679
3679
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
@@ -3715,7 +3715,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3715
3715
|
</table>
|
|
3716
3716
|
</body>
|
|
3717
3717
|
</html>`;
|
|
3718
|
-
function
|
|
3718
|
+
function mp(e) {
|
|
3719
3719
|
return Object.prototype.hasOwnProperty.call(e, "meta");
|
|
3720
3720
|
}
|
|
3721
3721
|
var Tt = u.createState({
|
|
@@ -3748,7 +3748,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3748
3748
|
});
|
|
3749
3749
|
function Sa(e, t) {
|
|
3750
3750
|
const { id: r, subject: n = void 0, description: i = "", preheader: a, html: o = Cn, utm_parameters: { utm_source: s = "", utm_medium: l = "", utm_campaign: f = "", utm_term: h = "", utm_content: m = "" } = {}, common_styles: b = "{}", emailtags: y = null, renderGuid: S, title: A, _embedded: C, isAmp: k = !1 } = t;
|
|
3751
|
-
e.hasChanged || (e.hasChanged = !0), delete e.email.id, e.email.isNew = !0, e.email.isAmp = k, e.email.title = A,
|
|
3751
|
+
e.hasChanged || (e.hasChanged = !0), delete e.email.id, e.email.isNew = !0, e.email.isAmp = k, e.email.title = A, mp(t) ? e.email.meta = t.meta : delete e.email.meta, e.emailtags = y, e.email.subject = n, e.email.description = i, e.email.common_styles = b || JSON.stringify(vi), e.email.preheader = a, e.email.is_template = !1, e.email.html = o;
|
|
3752
3752
|
const P = u.getTaxonomy({ _embedded: C }, "emailtags") ?? [];
|
|
3753
3753
|
e.email.tags = P.map((O) => O.name), e.email.renderGuid = S ?? e.email.renderGuid ?? u.generateUUID(), e.email.showId = t.showId, t.showToken !== void 0 ? e.appliedShowToken = t.showToken : e.appliedShowToken += 1, e.email.parent_email = r ?? t.parent_email ?? null, e.email.utm_parameters = {
|
|
3754
3754
|
utm_source: s,
|
|
@@ -3858,7 +3858,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3858
3858
|
}
|
|
3859
3859
|
});
|
|
3860
3860
|
}
|
|
3861
|
-
}), { setNewEmailAll:
|
|
3861
|
+
}), { setNewEmailAll: hp, setNewEmailTitle: gp, setNewEmailSubject: vp, setNewEmailPreheader: bp, setNewEmailDescription: yp, setNewEmailIsTemplate: _p, setNewEmailHtml: Ep, setNewCommonStyles: Vh, setNewEmailTags: xp, setNewEmailUtmSource: wp, setNewEmailUtmMedium: Ap, setNewEmailUtmCampaign: Cp, setNewEmailUtmContent: Sp, setNewEmailUtmTerm: Pp, resetNewEmailSlice: Tp, setNewIsInited: Op, setNewEmailIsAmp: kp, setNewEmailMeta: Np, setNewEmailProject: jp, promoteNewEmailAfterSave: Mp } = Sn.actions, Rp = (e) => e[Dr].email, Ip = (e) => e[Dr].appliedShowToken, Dp = (e) => e[Dr].hasChanged, Pa = `<tr em="block" class="empty-structure">
|
|
3862
3862
|
<td align="center">
|
|
3863
3863
|
<!--[if (gte mso 9)|(IE)]>
|
|
3864
3864
|
<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>
|
|
@@ -3937,7 +3937,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3937
3937
|
}
|
|
3938
3938
|
}));
|
|
3939
3939
|
}
|
|
3940
|
-
}), { setNewBlockAll: Gh, setNewBlockTitle: Wh, setNewBlockDescription:
|
|
3940
|
+
}), { setNewBlockAll: Gh, setNewBlockTitle: Wh, setNewBlockDescription: Lp, setNewBlockHtml: Yh, setNewBlockTags: Fp, resetNewBlockSlice: Up, setBlockIsAmp: Xh } = Pn.actions, zp = (e) => e[Ta].hasChanged, Oa = u.createState({
|
|
3941
3941
|
emailsTotal: 0,
|
|
3942
3942
|
elementsList: [],
|
|
3943
3943
|
emailsTrashTotal: 0,
|
|
@@ -3988,7 +3988,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
3988
3988
|
}) : n);
|
|
3989
3989
|
});
|
|
3990
3990
|
}
|
|
3991
|
-
}), { resetPagesAndTotal:
|
|
3991
|
+
}), { resetPagesAndTotal: Bp, toggleElementsView: qp, resetElementsList: $p, removeEmailFromList: Hp } = Tn.actions, Qp = (e) => e[Re].emailsTotal, Vp = (e) => e[Re].elementsView, Gp = (e) => e[Re].elementsList, Wp = (e) => e[Re].customFolders, Yp = (e) => e[Re].emailsTrashTotal, Xp = (e) => e[Re].elementsTrashList, ka = u.createState({
|
|
3992
3992
|
blocksTotal: null,
|
|
3993
3993
|
blocksTotalPages: null,
|
|
3994
3994
|
parentEmailBlocksTotal: null,
|
|
@@ -4046,7 +4046,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4046
4046
|
}) : n);
|
|
4047
4047
|
});
|
|
4048
4048
|
}
|
|
4049
|
-
}), { resetPagesAndTotal: Jh, resetElementsList: Zh, toggleElementsView: Kh, removeBlockFromList: eg } = On.actions,
|
|
4049
|
+
}), { resetPagesAndTotal: Jh, resetElementsList: Zh, toggleElementsView: Kh, removeBlockFromList: eg } = On.actions, Jp = (e) => e[Lr].blocksTotal, Zp = (e) => e[Lr].templateBlocksTotal, Kp = (e) => e[Lr].parentEmailBlocksTotal, Na = u.createState({
|
|
4050
4050
|
historyData: [],
|
|
4051
4051
|
elementHistoryTotalPages: 1
|
|
4052
4052
|
}), kn = "revisionHistorySlice", Fr = u.createSlice({
|
|
@@ -4065,7 +4065,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4065
4065
|
t.elementHistoryTotalPages = +r.baseQueryMeta?.response.headers.get("X-WP-TotalPages"), (!n.args.page || n.args.page === 1) && (t.historyData = n.data || []);
|
|
4066
4066
|
});
|
|
4067
4067
|
}
|
|
4068
|
-
}), { resetElementHistorySlice:
|
|
4068
|
+
}), { resetElementHistorySlice: ed } = Fr.actions, { setElementHistory: tg } = Fr.actions, td = (e) => e[kn].elementHistoryTotalPages, rd = (e) => e[kn].historyData, ja = u.combineReducers({
|
|
4069
4069
|
[u.di.reducerPath]: u.di.reducer,
|
|
4070
4070
|
[vt.reducerPath]: vt.reducer,
|
|
4071
4071
|
[u.userSlice.name]: u.userSlice.reducer,
|
|
@@ -4134,7 +4134,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4134
4134
|
[Mr.reducerPath]: Mr.reducer,
|
|
4135
4135
|
[Ir.reducerPath]: Ir.reducer,
|
|
4136
4136
|
[re.projectSettingsV2Api.reducerPath]: re.projectSettingsV2Api.reducer
|
|
4137
|
-
}),
|
|
4137
|
+
}), nd = (e, t) => t.type === "authorizationApi/resetApiState" ? ja({
|
|
4138
4138
|
[u.reducerPath]: e[u.reducerPath],
|
|
4139
4139
|
[ke.reducerPath]: e[ke.reducerPath]
|
|
4140
4140
|
}, t) : ja(e, t), Ma = [
|
|
@@ -4192,14 +4192,14 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4192
4192
|
Rr,
|
|
4193
4193
|
Mr
|
|
4194
4194
|
];
|
|
4195
|
-
function
|
|
4195
|
+
function id(e) {
|
|
4196
4196
|
let t = {};
|
|
4197
4197
|
if (e) {
|
|
4198
4198
|
const n = u.createIdentifier$1();
|
|
4199
4199
|
u.DependencyResolver.inject(n, e), t = { INJECTION: n };
|
|
4200
4200
|
}
|
|
4201
4201
|
const r = u.configureStore({
|
|
4202
|
-
reducer:
|
|
4202
|
+
reducer: nd,
|
|
4203
4203
|
middleware: (n) => n({ serializableCheck: !1 }).concat(Ma.map((i) => i.middleware)),
|
|
4204
4204
|
preloadedState: t
|
|
4205
4205
|
});
|
|
@@ -4225,7 +4225,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4225
4225
|
for (const t of Ma) e.set(t.reducerPath, t);
|
|
4226
4226
|
return e.set(Ur.reducerPath, Ur), [...e.values()];
|
|
4227
4227
|
}
|
|
4228
|
-
var
|
|
4228
|
+
var ad = {
|
|
4229
4229
|
AiApi: new Set(["sendMessage", "getDialog"]),
|
|
4230
4230
|
imageApi: new Set([
|
|
4231
4231
|
"sendAiImageRequest",
|
|
@@ -4233,27 +4233,27 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4233
4233
|
"getAiImageSSE"
|
|
4234
4234
|
])
|
|
4235
4235
|
};
|
|
4236
|
-
function
|
|
4236
|
+
function od(e) {
|
|
4237
4237
|
return e.getState().configSlice?.config;
|
|
4238
4238
|
}
|
|
4239
|
-
function
|
|
4239
|
+
function sd(e) {
|
|
4240
4240
|
return e?.backendProxy !== void 0 && e?.backendProxyPolicy?.proxyAi === !0;
|
|
4241
4241
|
}
|
|
4242
|
-
function
|
|
4243
|
-
return od(
|
|
4242
|
+
function cd(e) {
|
|
4243
|
+
return sd(od(e));
|
|
4244
4244
|
}
|
|
4245
|
-
function
|
|
4246
|
-
return
|
|
4245
|
+
function ld(e, t, r, n) {
|
|
4246
|
+
return ad[t]?.has(r) ? (i) => cd(e) ? (a) => a(i) : n(i) : n;
|
|
4247
4247
|
}
|
|
4248
|
-
function
|
|
4248
|
+
function ud(e) {
|
|
4249
4249
|
const t = u.getOverrideApiFn(e);
|
|
4250
4250
|
return ((r, n) => {
|
|
4251
4251
|
if (!r || typeof r.reducerPath != "string") return new u.Disposable();
|
|
4252
|
-
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, o]) => [a, typeof o == "function" ?
|
|
4252
|
+
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, o]) => [a, typeof o == "function" ? ld(e, r.reducerPath, a, o) : o]));
|
|
4253
4253
|
return t(r, i);
|
|
4254
4254
|
});
|
|
4255
4255
|
}
|
|
4256
|
-
function
|
|
4256
|
+
function pd(e) {
|
|
4257
4257
|
const t = `blocks_${u.generateUUID().replaceAll("-", "")}`, r = document.createElement("script");
|
|
4258
4258
|
return r.type = "text/javascript", r.text = `window.${t}(function(module, exports, require) { ${e}; })`, new Promise((n, i) => {
|
|
4259
4259
|
window[t] = function(a) {
|
|
@@ -4264,58 +4264,58 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4264
4264
|
r.remove(), delete window[t];
|
|
4265
4265
|
});
|
|
4266
4266
|
}
|
|
4267
|
-
function
|
|
4267
|
+
function dd(e) {
|
|
4268
4268
|
if (!e) return;
|
|
4269
4269
|
const t = re.decodeJwt(e)?.data, r = t?.data?.scope ?? t?.scope;
|
|
4270
4270
|
return (Array.isArray(r) ? r.flatMap((n) => String(n).split(/\s+/)) : String(r || "").split(/\s+/)).find((n) => /^project_\d+$/.test(n))?.replace(/^project_/, "") || void 0;
|
|
4271
4271
|
}
|
|
4272
|
-
async function
|
|
4272
|
+
async function fd(e) {
|
|
4273
4273
|
const t = u.di.getInstance(e, u.STANDALONE_PROJECT_ID), r = t ? void 0 : await u.di.getInstanceAsync(e, u.APP_ID).catch(() => {}), n = t || (r?.project !== void 0 ? String(r.project) : void 0);
|
|
4274
4274
|
n && e.dispatch(u.setProject(Qi(n)));
|
|
4275
4275
|
}
|
|
4276
|
-
async function
|
|
4276
|
+
async function md(e, t) {
|
|
4277
4277
|
try {
|
|
4278
4278
|
const r = function(s) {
|
|
4279
4279
|
const l = u.di.getInstance(e, u.STANDALONE_PROJECT_ID), f = l ? Vi(l, s) : s;
|
|
4280
4280
|
u.di.injectFactory(e, u.APP_ID, async () => f);
|
|
4281
|
-
}, n =
|
|
4281
|
+
}, n = ud(e), i = await bc(t), a = i.key && Hi(i.key);
|
|
4282
4282
|
if (typeof a != "string") return;
|
|
4283
|
-
const o = await
|
|
4283
|
+
const o = await pd(a);
|
|
4284
4284
|
if (typeof o != "object" || o === null || typeof o.execute != "function") return;
|
|
4285
4285
|
o.execute(r, n, Ra());
|
|
4286
4286
|
} catch {}
|
|
4287
4287
|
}
|
|
4288
|
-
function
|
|
4288
|
+
function hd(e, t) {
|
|
4289
4289
|
const r = Object.keys(t.endpoints);
|
|
4290
4290
|
r.length && e(t, Object.fromEntries(r.map((n) => [n, u.standaloneTerminalGuardExecutor])));
|
|
4291
4291
|
}
|
|
4292
|
-
function
|
|
4292
|
+
function gd(e) {
|
|
4293
4293
|
u.markStandaloneMockGuardInstalled(e);
|
|
4294
4294
|
const t = u.getOverrideApiFn(e);
|
|
4295
|
-
for (const r of Ra())
|
|
4295
|
+
for (const r of Ra()) hd(t, r);
|
|
4296
4296
|
}
|
|
4297
|
-
function
|
|
4297
|
+
function vd(e, t) {
|
|
4298
4298
|
if (e.getInstance(u.STANDALONE_FILE_PROXY_REGISTERED_ID)) return;
|
|
4299
4299
|
e.inject(u.STANDALONE_FILE_PROXY_REGISTERED_ID, !0);
|
|
4300
4300
|
const r = u.getEvent$1(e, u.events.FILE_PROXY_EVENT_ID);
|
|
4301
4301
|
t.addDisposable(r(async ({ url: n }) => (await fetch(n)).blob(), Number.MIN_VALUE));
|
|
4302
4302
|
}
|
|
4303
|
-
function
|
|
4303
|
+
function bd(e) {
|
|
4304
4304
|
e.getInstance(u.STANDALONE_ACTIVATED_ID) || e.inject(u.SECURITY_MODULE_ID, void 0);
|
|
4305
4305
|
}
|
|
4306
4306
|
function Nn(e) {
|
|
4307
4307
|
return String(e.standaloneKey || "").trim() || void 0;
|
|
4308
4308
|
}
|
|
4309
|
-
function
|
|
4309
|
+
function yd(e) {
|
|
4310
4310
|
return e.standaloneOnAuthFailure === !0 ? !0 : e.config?.standaloneOnAuthFailure === !0;
|
|
4311
4311
|
}
|
|
4312
4312
|
function Ia(e) {
|
|
4313
|
-
return
|
|
4313
|
+
return yd(e) ? !!Nn(e) : !1;
|
|
4314
4314
|
}
|
|
4315
|
-
function
|
|
4315
|
+
function _d(e) {
|
|
4316
4316
|
return !!Nn(e) && !Ia(e);
|
|
4317
4317
|
}
|
|
4318
|
-
var
|
|
4318
|
+
var Ed = class extends u.Disposable {
|
|
4319
4319
|
_event;
|
|
4320
4320
|
_listener;
|
|
4321
4321
|
_disposeEvent;
|
|
@@ -4329,7 +4329,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4329
4329
|
this._disposeEvent && this._disposeEvent(), super.dispose();
|
|
4330
4330
|
}
|
|
4331
4331
|
};
|
|
4332
|
-
function
|
|
4332
|
+
function xd(e, t, r) {
|
|
4333
4333
|
const n = u.snapshot(e);
|
|
4334
4334
|
return (i, a, o) => {
|
|
4335
4335
|
const s = n(async (l) => {
|
|
@@ -4355,7 +4355,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4355
4355
|
"SUBJECT",
|
|
4356
4356
|
"INITED"
|
|
4357
4357
|
], Mn = 2e4, La = Mn + Da.reduce((e, t) => e + jn[t], 0) + 3e3;
|
|
4358
|
-
function
|
|
4358
|
+
function Ad(e) {
|
|
4359
4359
|
return Da.reduce((t, r) => t + Fa(r, e), 0);
|
|
4360
4360
|
}
|
|
4361
4361
|
function Fa(e, t) {
|
|
@@ -4370,12 +4370,12 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4370
4370
|
const t = e?.sandboxReady;
|
|
4371
4371
|
return typeof t == "number" && t > 0 ? t : Mn;
|
|
4372
4372
|
}
|
|
4373
|
-
var
|
|
4373
|
+
var Cd = class extends Error {
|
|
4374
4374
|
showId;
|
|
4375
4375
|
constructor(e, t) {
|
|
4376
4376
|
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;
|
|
4377
4377
|
}
|
|
4378
|
-
},
|
|
4378
|
+
}, Sd = class {
|
|
4379
4379
|
_activeRequest = null;
|
|
4380
4380
|
_pending = new Map();
|
|
4381
4381
|
_listeners = new Set();
|
|
@@ -4391,7 +4391,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4391
4391
|
return this._rejectPending(fe("Superseded by newer show()")), r.aborted ? Promise.reject(fe(r.reason)) : (this._activeRequest = e, new Promise((n, i) => {
|
|
4392
4392
|
const a = setTimeout(() => {
|
|
4393
4393
|
this._settle(e.showId, () => {
|
|
4394
|
-
i(new
|
|
4394
|
+
i(new Cd(e.showId, t));
|
|
4395
4395
|
});
|
|
4396
4396
|
}, t);
|
|
4397
4397
|
a.unref?.();
|
|
@@ -4439,7 +4439,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4439
4439
|
this._pending.clear();
|
|
4440
4440
|
}
|
|
4441
4441
|
};
|
|
4442
|
-
function
|
|
4442
|
+
function Pd(e, t) {
|
|
4443
4443
|
return {
|
|
4444
4444
|
contentReady: t.contentReady ?? e?.contentReady,
|
|
4445
4445
|
sandboxReady: t.sandboxReady ?? e?.sandboxReady,
|
|
@@ -4449,16 +4449,16 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4449
4449
|
} : e?.sandbox
|
|
4450
4450
|
};
|
|
4451
4451
|
}
|
|
4452
|
-
function
|
|
4452
|
+
function Td(e) {
|
|
4453
4453
|
if (!e || !(e.contentReady !== void 0 || e.sandboxReady !== void 0 || e.sandbox !== void 0)) return;
|
|
4454
4454
|
Ua(e);
|
|
4455
|
-
za(e) +
|
|
4455
|
+
za(e) + Ad(e.sandbox);
|
|
4456
4456
|
}
|
|
4457
4457
|
var Ba = class {
|
|
4458
4458
|
_controller = new AbortController();
|
|
4459
4459
|
_externalSignalDisposable = new u.Disposable();
|
|
4460
4460
|
_sessionChangeListeners = new Set();
|
|
4461
|
-
_showRegistry = new
|
|
4461
|
+
_showRegistry = new Sd();
|
|
4462
4462
|
_timeouts;
|
|
4463
4463
|
_generation = 0;
|
|
4464
4464
|
_sessionStarted = !1;
|
|
@@ -4507,7 +4507,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4507
4507
|
};
|
|
4508
4508
|
}
|
|
4509
4509
|
configure(e) {
|
|
4510
|
-
e.timeouts !== void 0 && (this._timeouts =
|
|
4510
|
+
e.timeouts !== void 0 && (this._timeouts = Pd(this._timeouts, e.timeouts), Td(this._timeouts));
|
|
4511
4511
|
const t = e.replaceSession === !0 || !this._sessionStarted || e.timeouts !== void 0 || e.signal !== void 0;
|
|
4512
4512
|
this._sessionStarted = !0, t && (this._replaceSessionController(), this.bumpGeneration()), (e.signal !== void 0 || t) && this._linkExternalSignal(e.signal);
|
|
4513
4513
|
}
|
|
@@ -4534,18 +4534,18 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
4534
4534
|
e.removeEventListener("abort", t);
|
|
4535
4535
|
});
|
|
4536
4536
|
}
|
|
4537
|
-
},
|
|
4537
|
+
}, Od = (() => {
|
|
4538
4538
|
const e = new Ba();
|
|
4539
4539
|
return e.configure({}), e;
|
|
4540
4540
|
})();
|
|
4541
|
-
function
|
|
4541
|
+
function kd(e = La) {
|
|
4542
4542
|
return e + 3e3;
|
|
4543
4543
|
}
|
|
4544
4544
|
var qa = "PluginRegistry";
|
|
4545
|
-
function
|
|
4545
|
+
function Nd(e = u.resolveContainer()) {
|
|
4546
4546
|
return e.getOrCreateInstance(qa, () => new Ys());
|
|
4547
4547
|
}
|
|
4548
|
-
var
|
|
4548
|
+
var jd = new Xs(() => Nd()), $a = {
|
|
4549
4549
|
"application/prs.cww": ["cww"],
|
|
4550
4550
|
"application/prs.xsf+xml": ["xsf"],
|
|
4551
4551
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -5856,7 +5856,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
5856
5856
|
if (r === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
|
|
5857
5857
|
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");
|
|
5858
5858
|
return r === "m" ? n : r === "a" ? n.call(e) : n ? n.value : t.get(e);
|
|
5859
|
-
}, Ke, kt, Ie,
|
|
5859
|
+
}, Ke, kt, Ie, Md = class {
|
|
5860
5860
|
constructor(...e) {
|
|
5861
5861
|
Ke.set(this, new Map()), kt.set(this, new Map()), Ie.set(this, new Map());
|
|
5862
5862
|
for (const t of e) this.define(t);
|
|
@@ -5902,7 +5902,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
5902
5902
|
}
|
|
5903
5903
|
};
|
|
5904
5904
|
Ke = new WeakMap(), kt = new WeakMap(), Ie = new WeakMap();
|
|
5905
|
-
var Rn = new
|
|
5905
|
+
var Rn = new Md(Ha, $a)._freeze();
|
|
5906
5906
|
function Qa(e) {
|
|
5907
5907
|
return /#set\s*\(\s*.*=.*\)/.test(e);
|
|
5908
5908
|
}
|
|
@@ -5936,22 +5936,22 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
5936
5936
|
}
|
|
5937
5937
|
return r === 0;
|
|
5938
5938
|
}
|
|
5939
|
-
function
|
|
5939
|
+
function Rd(e) {
|
|
5940
5940
|
return (t, r, n) => zr(t) ? e(t, r, n) : !1;
|
|
5941
5941
|
}
|
|
5942
|
-
function
|
|
5942
|
+
function Id(e) {
|
|
5943
5943
|
return (t) => zr(t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t) ? e(t) : !1;
|
|
5944
5944
|
}
|
|
5945
|
-
function
|
|
5945
|
+
function Dd(e) {
|
|
5946
5946
|
return (t, r, n) => zr(t) ? Qa(t) ? e(t, r, n) : t : !1;
|
|
5947
5947
|
}
|
|
5948
|
-
function
|
|
5948
|
+
function Ld(e) {
|
|
5949
5949
|
return (t) => {
|
|
5950
5950
|
const r = t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t;
|
|
5951
5951
|
return zr(r) ? Qa(r) ? e(t) : t : !1;
|
|
5952
5952
|
};
|
|
5953
5953
|
}
|
|
5954
|
-
function
|
|
5954
|
+
function Fd(e) {
|
|
5955
5955
|
const t = /[<>&]/g;
|
|
5956
5956
|
for (; t.exec(e) !== null;) return !0;
|
|
5957
5957
|
return !1;
|
|
@@ -5964,7 +5964,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
5964
5964
|
}
|
|
5965
5965
|
return !0;
|
|
5966
5966
|
}
|
|
5967
|
-
function
|
|
5967
|
+
function Ud(e) {
|
|
5968
5968
|
const t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", n = new Uint8Array(e);
|
|
5969
5969
|
crypto.getRandomValues(n);
|
|
5970
5970
|
let i = "";
|
|
@@ -5974,34 +5974,34 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
5974
5974
|
}
|
|
5975
5975
|
return i;
|
|
5976
5976
|
}
|
|
5977
|
-
var
|
|
5977
|
+
var zd = 8, Bd = class {
|
|
5978
5978
|
_byKey = Object.create(null);
|
|
5979
5979
|
_byValue = Object.create(null);
|
|
5980
5980
|
getOrCreateByKey(e) {
|
|
5981
5981
|
let t = this._byKey[e];
|
|
5982
|
-
return t === void 0 && (t =
|
|
5982
|
+
return t === void 0 && (t = Ud(zd), this._byKey[e] = t, this._byValue[t] = e), t;
|
|
5983
5983
|
}
|
|
5984
5984
|
getByValue(e) {
|
|
5985
5985
|
return this._byValue[e];
|
|
5986
5986
|
}
|
|
5987
|
-
}, Br = new
|
|
5987
|
+
}, Br = new Bd();
|
|
5988
5988
|
function Va(e, t) {
|
|
5989
5989
|
return t !== void 0 && !In(e, t) ? `%|{${Br.getOrCreateByKey(e)}}|%` : e;
|
|
5990
5990
|
}
|
|
5991
|
-
function
|
|
5991
|
+
function qd(e) {
|
|
5992
5992
|
const t = Br.getByValue(e.slice(3, e.length - 3));
|
|
5993
5993
|
return t === void 0 ? e : t;
|
|
5994
5994
|
}
|
|
5995
5995
|
function X(e, t, r) {
|
|
5996
5996
|
return t !== void 0 ? In(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : `<!--${e}-->`;
|
|
5997
5997
|
}
|
|
5998
|
-
function
|
|
5998
|
+
function $d(e) {
|
|
5999
5999
|
return e.replace(/>/g, ">").replace(/</g, "<").replace(/&/g, "&");
|
|
6000
6000
|
}
|
|
6001
6001
|
function G(e) {
|
|
6002
|
-
return e.startsWith("<!--") && e.endsWith("-->") ?
|
|
6002
|
+
return e.startsWith("<!--") && e.endsWith("-->") ? $d(e.slice(4, -3)) : e;
|
|
6003
6003
|
}
|
|
6004
|
-
function
|
|
6004
|
+
function Hd(e) {
|
|
6005
6005
|
const t = /^(IF|ELSE|ELSIF|ELSEIF|END|FOREACH|WHILE|NEXT|LAST|BREAK|DO|UNLESS|CONTINUE|SET|UNSET|DEFINE|INCLUDE)\b/i, r = /\w+\s*\(/;
|
|
6006
6006
|
let n = e;
|
|
6007
6007
|
const i = e.match(/\[%\s*([^%]*?)\s*%\]/);
|
|
@@ -6009,14 +6009,14 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6009
6009
|
const a = n.trim();
|
|
6010
6010
|
return t.test(a) || r.test(a);
|
|
6011
6011
|
}
|
|
6012
|
-
function
|
|
6013
|
-
return t !== void 0 ? In(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : r ||
|
|
6012
|
+
function Qd(e, t, r) {
|
|
6013
|
+
return t !== void 0 ? In(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : r || Fd(e) || Hd(e) ? `<!--${e}-->` : e;
|
|
6014
6014
|
}
|
|
6015
|
-
var De =
|
|
6016
|
-
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%",
|
|
6017
|
-
}, Dn = "bare",
|
|
6018
|
-
function
|
|
6019
|
-
return e ?
|
|
6015
|
+
var De = Rd(X), Le = Id(G), Vd = Dd(X), Gd = Ld(G), Ga = (e) => {
|
|
6016
|
+
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%", qd), e.escape("@{", "}", X, !0).unescape("<!--@{", "}-->", G, !0), e.unescape("<!--%%%{{{", "}}}%%%-->", (t) => t.substring(10, t.length - 9), !1), e.escape("${", "}", Va, !0), e.escape("{{", "}}", Va, !0), e.createSyntax("brace-percent").escape("{%", "%}", X).unescape("<!--{%", "%}-->", G), e.createSyntax("brace-hash").escape("{#", "#}", X).unescape("<!--{#", "#}-->", G), e.createSyntax("proscript").escape("[%", "%]", Qd, !0).unescape("<!--[%", "%]-->", G, !0), e.createSyntax("getresponse").escape("[[IF", "]]", X).escape("[[if", "]]", X).escape("[[ELSE]]", "", X).escape("[[else]]", "", X).escape("[[ENDIF]]", "", X).escape("[[endif]]", "", X).unescape("<!--[[IF", "]]-->", G).unescape("<!--[[if", "]]-->", G).unescape("<!--[[ELSE]]", "-->", G).unescape("<!--[[else]]", "-->", G).unescape("<!--[[ENDIF]]", "-->", G).unescape("<!--[[endif]]", "-->", G), e.createSyntax("expert-sender").escape("<if", ">", X).escape("</if", ">", X).escape("<else", ">", X).escape("</else", ">", X).escape("<var ", ">", X, !0).unescape("<!--<if ", ">-->", G).unescape("<!--</if", ">-->", G).unescape("<!--<else ", ">-->", G).unescape("<!--</else", ">-->", G).unescape("<!--<var", ">-->", G, !0), e.createSyntax("velocity").escape("#if", ")", De).escape("#elseif", ")", De).escape("#else", "", X).escape("#foreach", ")", De).escape("#macro", ")", De).escape("#set", ")", Vd, !0).escape("#parse", ")", De).escape("#include", ")", De).escape("#evaluate", ")", De).escape("#end", "", X).escape("#break", "", X).escape("#stop", "", X).unescape("<!--#macro", "-->", Le).unescape("<!--#if", "-->", Le).unescape("<!--#elseif", "-->", Le).unescape("<!--#else", "-->", G).unescape("<!--#foreach", "-->", Le).unescape("<!--#parse", "-->", Le).unescape("<!--#include", "-->", Le).unescape("<!--#evaluate", "-->", Le).unescape("<!--#end", "-->", G).unescape("<!--#break", "-->", G).unescape("<!--#stop", "-->", G).unescape("<!--#set", "-->", Gd, !0), e.createSyntax("mailchimp").escape("*|", "|*", X).unescape("<!--*|", "|*-->", G);
|
|
6017
|
+
}, Dn = "bare", Wd = new Map();
|
|
6018
|
+
function Yd(e) {
|
|
6019
|
+
return e ? Wd.get(e) ?? Dn : Dn;
|
|
6020
6020
|
}
|
|
6021
6021
|
var Wa = [
|
|
6022
6022
|
"brace-percent",
|
|
@@ -6036,7 +6036,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6036
6036
|
function Ln(e) {
|
|
6037
6037
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
6038
6038
|
}
|
|
6039
|
-
function
|
|
6039
|
+
function Xd(e, t = (r) => {}) {
|
|
6040
6040
|
const r = {
|
|
6041
6041
|
output: {},
|
|
6042
6042
|
editor: {}
|
|
@@ -6124,7 +6124,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6124
6124
|
}
|
|
6125
6125
|
return o.sort((h, m) => h.range.start - m.range.start || h.range.end - m.range.end);
|
|
6126
6126
|
}
|
|
6127
|
-
function
|
|
6127
|
+
function Jd(e, t) {
|
|
6128
6128
|
const r = t.reduce((s, { mapFn: l, start: f, end: h, syntax: m, isVariable: b }) => (s[f] || (s[f] = []), s[f].push({
|
|
6129
6129
|
value: h,
|
|
6130
6130
|
mapFn: l,
|
|
@@ -6145,7 +6145,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6145
6145
|
function Fn(e, t, r, n, i = !1) {
|
|
6146
6146
|
const a = [];
|
|
6147
6147
|
if (r && (t = t.filter((f) => f.isVariable)), !t.length) return a;
|
|
6148
|
-
const o =
|
|
6148
|
+
const o = Jd(e, t), s = {
|
|
6149
6149
|
insideTag: !1,
|
|
6150
6150
|
insideAttributeValue: !1,
|
|
6151
6151
|
attributeQuoteChar: void 0,
|
|
@@ -6198,7 +6198,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6198
6198
|
for (const { text: i, range: a } of r) n = n.slice(0, a.start) + i + n.slice(a.end);
|
|
6199
6199
|
return n;
|
|
6200
6200
|
}
|
|
6201
|
-
var
|
|
6201
|
+
var Zd = class {
|
|
6202
6202
|
_disposables = [];
|
|
6203
6203
|
_escapes = [];
|
|
6204
6204
|
_unescapes = [];
|
|
@@ -6266,7 +6266,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6266
6266
|
return [...a, ...o].sort((s, l) => s.range.start - l.range.start || s.range.end - l.range.end);
|
|
6267
6267
|
}
|
|
6268
6268
|
getRevertMappings(e, t, r) {
|
|
6269
|
-
const n = r ? (i) => i !== void 0 && r.has(i) : (i) =>
|
|
6269
|
+
const n = r ? (i) => i !== void 0 && r.has(i) : (i) => Yd(i) === "html-comment";
|
|
6270
6270
|
return this._collectRevertMappings(e, t).filter((i) => i.isVariable || !n(i.syntax));
|
|
6271
6271
|
}
|
|
6272
6272
|
getDetectedMappings(e, t, r) {
|
|
@@ -6294,7 +6294,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6294
6294
|
}
|
|
6295
6295
|
}, ne = (function(e) {
|
|
6296
6296
|
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;
|
|
6297
|
-
})({}), $r = (e) => e.type === 0 ? e.start - 1 : e.start,
|
|
6297
|
+
})({}), $r = (e) => e.type === 0 ? e.start - 1 : e.start, Kd = (e) => e.type === 0 ? e.end + 1 : e.end, Se = class Ws {
|
|
6298
6298
|
start;
|
|
6299
6299
|
end;
|
|
6300
6300
|
children;
|
|
@@ -6342,7 +6342,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6342
6342
|
const r = Ka(this.children, (n) => t <= $r(n)) - 1;
|
|
6343
6343
|
if (r >= 0) {
|
|
6344
6344
|
const n = this.children[r];
|
|
6345
|
-
if (t >= $r(n) && t <=
|
|
6345
|
+
if (t >= $r(n) && t <= Kd(n)) return n.findNodeAt(t);
|
|
6346
6346
|
}
|
|
6347
6347
|
return this;
|
|
6348
6348
|
}
|
|
@@ -6376,7 +6376,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6376
6376
|
const i = this.start - r, a = new Ws(r, this.end - i, [], t);
|
|
6377
6377
|
return a.children = n ? this.children.map((o) => o.clone(a, o.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;
|
|
6378
6378
|
}
|
|
6379
|
-
},
|
|
6379
|
+
}, ef = new Set([
|
|
6380
6380
|
"area",
|
|
6381
6381
|
"br",
|
|
6382
6382
|
"col",
|
|
@@ -6389,20 +6389,20 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6389
6389
|
"param",
|
|
6390
6390
|
"vk-snippet-end"
|
|
6391
6391
|
]);
|
|
6392
|
-
function
|
|
6392
|
+
function tf(e) {
|
|
6393
6393
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
6394
6394
|
}
|
|
6395
6395
|
var Za = Object.create(null);
|
|
6396
|
-
function
|
|
6396
|
+
function rf(e, t) {
|
|
6397
6397
|
const r = Za[e] || (Za[e] = Object.create(null));
|
|
6398
6398
|
let n = r[t];
|
|
6399
6399
|
if (typeof n != "boolean") {
|
|
6400
|
-
const i = document.createElement(e)[
|
|
6400
|
+
const i = document.createElement(e)[tf(t)];
|
|
6401
6401
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
6402
6402
|
}
|
|
6403
6403
|
return n;
|
|
6404
6404
|
}
|
|
6405
|
-
function
|
|
6405
|
+
function nf(e) {
|
|
6406
6406
|
const t = e.tag?.toLowerCase();
|
|
6407
6407
|
let r = "";
|
|
6408
6408
|
if (t) {
|
|
@@ -6411,15 +6411,15 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6411
6411
|
const i = Object.keys(n);
|
|
6412
6412
|
for (const a of i) {
|
|
6413
6413
|
const o = n[a] === null ? "" : n[a];
|
|
6414
|
-
typeof o == "string" && (r += o === "" && a !== "em" && !
|
|
6414
|
+
typeof o == "string" && (r += o === "" && a !== "em" && !rf(t, a) ? ` ${a}` : ` ${a}="${o.replaceAll("\"", "'")}"`);
|
|
6415
6415
|
}
|
|
6416
6416
|
}
|
|
6417
6417
|
}
|
|
6418
6418
|
return r;
|
|
6419
6419
|
}
|
|
6420
|
-
function
|
|
6420
|
+
function af(e, t) {
|
|
6421
6421
|
if (e.start !== e.startTagEnd || t) {
|
|
6422
|
-
const r = e.tag?.toLowerCase() || "div", n =
|
|
6422
|
+
const r = e.tag?.toLowerCase() || "div", n = nf(e);
|
|
6423
6423
|
return r === "vk-snippet-end" ? `<${r}${n}/>` : `<${r}${n}>`;
|
|
6424
6424
|
}
|
|
6425
6425
|
return "";
|
|
@@ -6433,18 +6433,18 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6433
6433
|
}
|
|
6434
6434
|
return r;
|
|
6435
6435
|
}
|
|
6436
|
-
function
|
|
6436
|
+
function of(e) {
|
|
6437
6437
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
6438
6438
|
}
|
|
6439
6439
|
function Un(e) {
|
|
6440
6440
|
return "<!DOCTYPE " + e.name + (e.publicId ? " PUBLIC \"" + e.publicId + "\"" : "") + (!e.publicId && e.systemId ? " SYSTEM" : "") + (e.systemId ? " \"" + e.systemId + "\"" : "") + ">";
|
|
6441
6441
|
}
|
|
6442
6442
|
var eo = Object.create(null);
|
|
6443
|
-
function
|
|
6443
|
+
function sf(e, t) {
|
|
6444
6444
|
const r = eo[e] || (eo[e] = Object.create(null));
|
|
6445
6445
|
let n = r[t];
|
|
6446
6446
|
if (typeof n != "boolean") {
|
|
6447
|
-
const i = document.createElement(e)[
|
|
6447
|
+
const i = document.createElement(e)[of(t)];
|
|
6448
6448
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
6449
6449
|
}
|
|
6450
6450
|
return n;
|
|
@@ -6458,16 +6458,16 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6458
6458
|
function to(e) {
|
|
6459
6459
|
return e.tagName === "IMG";
|
|
6460
6460
|
}
|
|
6461
|
-
function
|
|
6461
|
+
function cf(e) {
|
|
6462
6462
|
return e.tagName === "AMP-IMG";
|
|
6463
6463
|
}
|
|
6464
|
-
function
|
|
6464
|
+
function lf(e) {
|
|
6465
6465
|
return e.tagName === "BODY";
|
|
6466
6466
|
}
|
|
6467
|
-
function
|
|
6467
|
+
function uf(e) {
|
|
6468
6468
|
return e.tagName === "FORM";
|
|
6469
6469
|
}
|
|
6470
|
-
function
|
|
6470
|
+
function pf(e) {
|
|
6471
6471
|
return e.tagName === "HTML";
|
|
6472
6472
|
}
|
|
6473
6473
|
function ro(e) {
|
|
@@ -6476,10 +6476,10 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6476
6476
|
function Bn(e) {
|
|
6477
6477
|
return e.nodeType === Node.DOCUMENT_NODE;
|
|
6478
6478
|
}
|
|
6479
|
-
function
|
|
6479
|
+
function df(e) {
|
|
6480
6480
|
return e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
|
|
6481
6481
|
}
|
|
6482
|
-
function
|
|
6482
|
+
function ff(e) {
|
|
6483
6483
|
return e.nodeType === Node.DOCUMENT_TYPE_NODE;
|
|
6484
6484
|
}
|
|
6485
6485
|
var Mt;
|
|
@@ -6532,16 +6532,16 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6532
6532
|
function qn(e) {
|
|
6533
6533
|
return e.nodeType === Node.COMMENT_NODE;
|
|
6534
6534
|
}
|
|
6535
|
-
function
|
|
6535
|
+
function mf(e) {
|
|
6536
6536
|
return e && !!e.host && !!e.mode;
|
|
6537
6537
|
}
|
|
6538
|
-
function
|
|
6538
|
+
function hf(e) {
|
|
6539
6539
|
const t = e.getRootNode() || window.document;
|
|
6540
|
-
return
|
|
6540
|
+
return mf(t) ? t : null;
|
|
6541
6541
|
}
|
|
6542
|
-
var
|
|
6543
|
-
function
|
|
6544
|
-
const t = et(e).matchAll(
|
|
6542
|
+
var gf = /(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;
|
|
6543
|
+
function vf(e) {
|
|
6544
|
+
const t = et(e).matchAll(gf);
|
|
6545
6545
|
if (t) for (const r of t) {
|
|
6546
6546
|
const [, n, , i, a] = r;
|
|
6547
6547
|
return {
|
|
@@ -6554,7 +6554,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6554
6554
|
function Rt(e) {
|
|
6555
6555
|
return e.nodeType === Node.TEXT_NODE;
|
|
6556
6556
|
}
|
|
6557
|
-
function
|
|
6557
|
+
function bf(e) {
|
|
6558
6558
|
return e.tagName === "TABLE";
|
|
6559
6559
|
}
|
|
6560
6560
|
async function no(e, t = 5e3) {
|
|
@@ -6563,18 +6563,18 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6563
6563
|
}) : getComputedStyle(e);
|
|
6564
6564
|
}
|
|
6565
6565
|
function et(e) {
|
|
6566
|
-
if (xe(e)) return
|
|
6566
|
+
if (xe(e)) return _f(e);
|
|
6567
6567
|
if (Bn(e)) return [...e.childNodes].map((r) => et(r)).join("");
|
|
6568
|
-
if (
|
|
6568
|
+
if (ff(e)) return Un(e);
|
|
6569
6569
|
const t = document.createElement("div");
|
|
6570
6570
|
return t.appendChild(e.cloneNode(!0)), t.innerHTML;
|
|
6571
6571
|
}
|
|
6572
|
-
function
|
|
6572
|
+
function yf(e) {
|
|
6573
6573
|
const t = e.tagName.toLowerCase();
|
|
6574
6574
|
let r = "";
|
|
6575
6575
|
for (const n of e.attributes) {
|
|
6576
6576
|
const i = n.name, a = n.value;
|
|
6577
|
-
r += a === "" && i !== "em" && !
|
|
6577
|
+
r += a === "" && i !== "em" && !sf(t, i) ? ` ${i}` : ` ${i}="${a.replaceAll("\"", "'")}"`;
|
|
6578
6578
|
}
|
|
6579
6579
|
return r;
|
|
6580
6580
|
}
|
|
@@ -6583,13 +6583,13 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
6583
6583
|
for (const r of e.childNodes) t += et(r);
|
|
6584
6584
|
return t;
|
|
6585
6585
|
}
|
|
6586
|
-
function
|
|
6587
|
-
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r =
|
|
6588
|
-
return
|
|
6586
|
+
function _f(e) {
|
|
6587
|
+
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r = yf(e);
|
|
6588
|
+
return ef.has(t.toLowerCase()) ? t === "vk-snippet-end" ? `<${t}${r}/>` : `<${t}${r}>` : ro(e) ? `<${t}${r}>${e.innerHTML}</${t}>` : `<${t}${r}>${io(e)}</${t}>`;
|
|
6589
6589
|
}
|
|
6590
6590
|
function ao(e, t) {
|
|
6591
6591
|
for (const a of [...e.childNodes]) a.remove();
|
|
6592
|
-
let r = t.find((a) =>
|
|
6592
|
+
let r = t.find((a) => pf(a)), n = t.find((a) => lf(a)), i = e;
|
|
6593
6593
|
r || (r = document.createElement("html"), e.appendChild(r), i = r, n || (n = document.createElement("body"), r.appendChild(n), i = n));
|
|
6594
6594
|
for (const a of t) {
|
|
6595
6595
|
if (i === e) {
|
|
@@ -7555,7 +7555,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
7555
7555
|
var us;
|
|
7556
7556
|
(function(e) {
|
|
7557
7557
|
function t(a, o, s, l) {
|
|
7558
|
-
return new
|
|
7558
|
+
return new Ef(a, o, s, l);
|
|
7559
7559
|
}
|
|
7560
7560
|
e.create = t;
|
|
7561
7561
|
function r(a) {
|
|
@@ -7590,7 +7590,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
7590
7590
|
return a;
|
|
7591
7591
|
}
|
|
7592
7592
|
})(us || (us = {}));
|
|
7593
|
-
var
|
|
7593
|
+
var Ef = class {
|
|
7594
7594
|
constructor(e, t, r, n) {
|
|
7595
7595
|
this._uri = e, this._languageId = t, this._version = r, this._content = n, this._lineOffsets = void 0;
|
|
7596
7596
|
}
|
|
@@ -7790,7 +7790,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
7790
7790
|
}
|
|
7791
7791
|
e.update = r;
|
|
7792
7792
|
function n(i, a) {
|
|
7793
|
-
const o = i.getText(), s = ri(a.map(
|
|
7793
|
+
const o = i.getText(), s = ri(a.map(xf), (h, m) => {
|
|
7794
7794
|
const b = h.range.start.line - m.range.start.line;
|
|
7795
7795
|
return b === 0 ? h.range.start.character - m.range.start.character : b;
|
|
7796
7796
|
});
|
|
@@ -7833,7 +7833,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
7833
7833
|
end: t
|
|
7834
7834
|
} : e;
|
|
7835
7835
|
}
|
|
7836
|
-
function
|
|
7836
|
+
function xf(e) {
|
|
7837
7837
|
const t = hs(e.range);
|
|
7838
7838
|
return t !== e.range ? {
|
|
7839
7839
|
newText: e.newText,
|
|
@@ -7861,7 +7861,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
7861
7861
|
})(bs || (bs = {}));
|
|
7862
7862
|
var oe = (function(e) {
|
|
7863
7863
|
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;
|
|
7864
|
-
})({}),
|
|
7864
|
+
})({}), wf = class {
|
|
7865
7865
|
source;
|
|
7866
7866
|
len;
|
|
7867
7867
|
position;
|
|
@@ -7929,19 +7929,19 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
7929
7929
|
return this.goToEnd(), !1;
|
|
7930
7930
|
}
|
|
7931
7931
|
skipWhitespace() {
|
|
7932
|
-
return this.advanceWhileChar((e) => e ===
|
|
7932
|
+
return this.advanceWhileChar((e) => e === kf || e === Nf || e === Pf || e === Of || e === Tf) > 0;
|
|
7933
7933
|
}
|
|
7934
7934
|
advanceWhileChar(e) {
|
|
7935
7935
|
const t = this.position;
|
|
7936
7936
|
for (; this.position < this.len && e(this.source.charCodeAt(this.position));) this.position++;
|
|
7937
7937
|
return this.position - t;
|
|
7938
7938
|
}
|
|
7939
|
-
}, ys = 33, nt = 45, Xr = 60, be = 62, ni = 47,
|
|
7939
|
+
}, ys = 33, nt = 45, Xr = 60, be = 62, ni = 47, Af = 61, Cf = 34, Sf = 39, Pf = 10, Tf = 13, Of = 12, kf = 32, Nf = 9, jf = {
|
|
7940
7940
|
"text/x-handlebars-template": !0,
|
|
7941
7941
|
"text/html": !0
|
|
7942
7942
|
};
|
|
7943
|
-
function
|
|
7944
|
-
const i = new
|
|
7943
|
+
function Mf(e, t = 0, r = F.WithinContent, n = !1) {
|
|
7944
|
+
const i = new wf(e, t);
|
|
7945
7945
|
let a = r, o = 0, s = 18, l, f, h, m, b;
|
|
7946
7946
|
function y() {
|
|
7947
7947
|
return i.advanceIfRegExp(/^[_:a-zA-Z][_:\w-.\d]*/).toLowerCase();
|
|
@@ -7992,14 +7992,14 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
7992
7992
|
O = "Closing bracket expected.";
|
|
7993
7993
|
break;
|
|
7994
7994
|
case F.AfterOpeningStartTag: return h = y(), b = void 0, m = void 0, h.length > 0 ? (f = !1, a = F.WithinTag, A(P, 6)) : i.skipWhitespace() ? A(P, 17, "Tag name must directly follow the open bracket.") : (a = F.WithinTag, i.advanceUntilChar(be), P < i.pos() ? A(P, 18, "Start tag name expected.") : k());
|
|
7995
|
-
case F.WithinTag: return i.skipWhitespace() ? (f = !0, A(P, 17)) : f && (m = S(), m.length > 0) ? (a = F.AfterAttributeName, f = !1, A(P, 11)) : i.advanceIfChars([ni, be]) ? (a = F.WithinContent, A(P, 5)) : i.advanceIfChar(be) ? (h === "script" ? b &&
|
|
7996
|
-
case F.AfterAttributeName: return i.skipWhitespace() ? (f = !0, A(P, 17)) : i.advanceIfChar(
|
|
7995
|
+
case F.WithinTag: return i.skipWhitespace() ? (f = !0, A(P, 17)) : f && (m = S(), m.length > 0) ? (a = F.AfterAttributeName, f = !1, A(P, 11)) : i.advanceIfChars([ni, be]) ? (a = F.WithinContent, A(P, 5)) : i.advanceIfChar(be) ? (h === "script" ? b && jf[b] ? a = F.WithinContent : a = F.WithinScriptContent : h === "style" ? a = F.WithinStyleContent : a = F.WithinContent, A(P, 4)) : n && i.peekChar() === Xr ? (a = F.WithinContent, A(P, 4, "Closing bracket missing.")) : (i.advance(1), A(P, 18, "Unexpected character in tag."));
|
|
7996
|
+
case F.AfterAttributeName: return i.skipWhitespace() ? (f = !0, A(P, 17)) : i.advanceIfChar(Af) ? (a = F.BeforeAttributeValue, A(P, 10)) : (a = F.WithinTag, k());
|
|
7997
7997
|
case F.BeforeAttributeValue:
|
|
7998
7998
|
if (i.skipWhitespace()) return A(P, 17);
|
|
7999
7999
|
let d = i.advanceIfRegExp(/^[^\s"'`=<>]+/);
|
|
8000
8000
|
if (d.length > 0) return i.peekChar() === be && i.peekChar(-1) === ni && (i.goBack(1), d = d.substr(0, d.length - 1)), m === "type" && (b = d), a = F.WithinTag, f = !1, A(P, 12);
|
|
8001
8001
|
const c = i.peekChar();
|
|
8002
|
-
return c ===
|
|
8002
|
+
return c === Sf || c === Cf ? (i.advance(1), i.advanceUntilChar(c) && i.advance(1), m === "type" && (b = i.getSource().substring(P + 1, i.pos() - 1)), a = F.WithinTag, f = !1, A(P, 12)) : (a = F.WithinTag, f = !1, k());
|
|
8003
8003
|
case F.WithinScriptContent:
|
|
8004
8004
|
let p = 1;
|
|
8005
8005
|
for (; !i.eos();) {
|
|
@@ -8030,7 +8030,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8030
8030
|
getTokenError: () => l
|
|
8031
8031
|
};
|
|
8032
8032
|
}
|
|
8033
|
-
function
|
|
8033
|
+
function Rf(e) {
|
|
8034
8034
|
if (typeof e == "string") {
|
|
8035
8035
|
const t = e.startsWith("'") || e.startsWith("\"") ? 1 : 0, r = e.endsWith("'") || e.endsWith("\"") ? e.length - 1 : e.length;
|
|
8036
8036
|
return e.substring(t, r);
|
|
@@ -8080,7 +8080,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8080
8080
|
this.dataManager = e;
|
|
8081
8081
|
}
|
|
8082
8082
|
parse(e, t = []) {
|
|
8083
|
-
const r =
|
|
8083
|
+
const r = Mf(e, void 0, void 0, !0), n = new Se(0, e.length, [], void 0);
|
|
8084
8084
|
n.type = ne.ROOT;
|
|
8085
8085
|
let i = n, a = -1, o, s = null, l = r.scan();
|
|
8086
8086
|
const f = () => {
|
|
@@ -8178,7 +8178,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8178
8178
|
}
|
|
8179
8179
|
case oe.AttributeValue: {
|
|
8180
8180
|
const P = r.getTokenText(), O = i.attributes;
|
|
8181
|
-
O && s && (O[s] =
|
|
8181
|
+
O && s && (O[s] = Rf(P), s = null);
|
|
8182
8182
|
break;
|
|
8183
8183
|
}
|
|
8184
8184
|
}
|
|
@@ -8217,7 +8217,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8217
8217
|
"wbr",
|
|
8218
8218
|
"vk-snippet-end"
|
|
8219
8219
|
]));
|
|
8220
|
-
var
|
|
8220
|
+
var If = new Es(new oo([
|
|
8221
8221
|
"area",
|
|
8222
8222
|
"base",
|
|
8223
8223
|
"br",
|
|
@@ -8233,16 +8233,16 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8233
8233
|
"wbr",
|
|
8234
8234
|
"vk-snippet-end"
|
|
8235
8235
|
]));
|
|
8236
|
-
function If(e) {
|
|
8237
|
-
return Rf.parse(e);
|
|
8238
|
-
}
|
|
8239
8236
|
function Df(e) {
|
|
8237
|
+
return If.parse(e);
|
|
8238
|
+
}
|
|
8239
|
+
function Lf(e) {
|
|
8240
8240
|
if (e) {
|
|
8241
8241
|
const t = document.createElement("div");
|
|
8242
8242
|
return t.insertAdjacentHTML("afterbegin", e), t.firstChild || document.createTextNode("");
|
|
8243
8243
|
} else return document.createTextNode("");
|
|
8244
8244
|
}
|
|
8245
|
-
function
|
|
8245
|
+
function Ff(e) {
|
|
8246
8246
|
let t;
|
|
8247
8247
|
switch (e?.toLowerCase()) {
|
|
8248
8248
|
case "tr":
|
|
@@ -8265,7 +8265,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8265
8265
|
}
|
|
8266
8266
|
return t;
|
|
8267
8267
|
}
|
|
8268
|
-
var
|
|
8268
|
+
var Uf = new Set([
|
|
8269
8269
|
"onclick",
|
|
8270
8270
|
"onload",
|
|
8271
8271
|
"onchange",
|
|
@@ -8273,15 +8273,15 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8273
8273
|
"onmouseover",
|
|
8274
8274
|
"onkeydown",
|
|
8275
8275
|
"onerror"
|
|
8276
|
-
]),
|
|
8276
|
+
]), zf = new Set([
|
|
8277
8277
|
"script",
|
|
8278
8278
|
"style",
|
|
8279
8279
|
"xmp"
|
|
8280
8280
|
]);
|
|
8281
|
-
function
|
|
8282
|
-
return !(t &&
|
|
8281
|
+
function Bf(e, t) {
|
|
8282
|
+
return !(t && zf.has(t.toLowerCase()) || Uf.has(e.toLowerCase()));
|
|
8283
8283
|
}
|
|
8284
|
-
var
|
|
8284
|
+
var qf = (e) => {
|
|
8285
8285
|
let t = e.indexOf("&");
|
|
8286
8286
|
for (; t !== -1;) {
|
|
8287
8287
|
if (e.indexOf(";", t) !== -1) return !0;
|
|
@@ -8292,7 +8292,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8292
8292
|
function xs(e, t, r) {
|
|
8293
8293
|
let n = e.tagName.toLowerCase();
|
|
8294
8294
|
n === "html" && (n = "div");
|
|
8295
|
-
const i = `<${n} ${t}="${r}"/>`, a =
|
|
8295
|
+
const i = `<${n} ${t}="${r}"/>`, a = Ff(n);
|
|
8296
8296
|
if (a instanceof Document) return;
|
|
8297
8297
|
a.innerHTML = i;
|
|
8298
8298
|
const o = a.querySelector(n);
|
|
@@ -8302,7 +8302,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8302
8302
|
}
|
|
8303
8303
|
function it(e, t, r) {
|
|
8304
8304
|
try {
|
|
8305
|
-
|
|
8305
|
+
Bf(t, e.tagName) && !qf(r) ? e.setAttribute(t, r) : xs(e, t, r);
|
|
8306
8306
|
} catch {
|
|
8307
8307
|
xs(e, t, r);
|
|
8308
8308
|
}
|
|
@@ -8335,28 +8335,28 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8335
8335
|
return n;
|
|
8336
8336
|
}
|
|
8337
8337
|
return document.createTextNode("<");
|
|
8338
|
-
case ne.HTML: return
|
|
8338
|
+
case ne.HTML: return Lf(r || "");
|
|
8339
8339
|
default: throw new Error("unsupported node");
|
|
8340
8340
|
}
|
|
8341
8341
|
}
|
|
8342
8342
|
function ai(e) {
|
|
8343
|
-
return
|
|
8343
|
+
return Df(e).roots.map((t) => ii(t));
|
|
8344
8344
|
}
|
|
8345
8345
|
var ws = Symbol("Error");
|
|
8346
8346
|
function It(e) {
|
|
8347
8347
|
return Promise.all(e.map((t) => t instanceof Promise ? t.catch((r) => ws) : t)).then((t) => t.filter((r) => r !== ws));
|
|
8348
8348
|
}
|
|
8349
|
-
var As = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e),
|
|
8349
|
+
var As = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e), $f = new Set([
|
|
8350
8350
|
"https:",
|
|
8351
8351
|
"http:",
|
|
8352
8352
|
"file:"
|
|
8353
|
-
]),
|
|
8353
|
+
]), Hf = (e) => {
|
|
8354
8354
|
const t = e.indexOf(":");
|
|
8355
8355
|
if (t <= 0) return !1;
|
|
8356
8356
|
const r = e.substring(0, t + 1);
|
|
8357
|
-
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") &&
|
|
8357
|
+
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !$f.has(r) : !1;
|
|
8358
8358
|
};
|
|
8359
|
-
function
|
|
8359
|
+
function Qf(e, t) {
|
|
8360
8360
|
if (t = {
|
|
8361
8361
|
defaultProtocol: "http",
|
|
8362
8362
|
normalizeProtocol: !0,
|
|
@@ -8374,7 +8374,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8374
8374
|
sortQueryParameters: !0,
|
|
8375
8375
|
...t
|
|
8376
8376
|
}, !e) return "";
|
|
8377
|
-
if (Cs(e) && (e = Be(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) ||
|
|
8377
|
+
if (Cs(e) && (e = Be(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) || Hf(e)) return e;
|
|
8378
8378
|
const r = e.startsWith("//"), n = !r && /^\.*\//.test(e);
|
|
8379
8379
|
let i;
|
|
8380
8380
|
try {
|
|
@@ -8424,22 +8424,22 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8424
8424
|
function Cs(e) {
|
|
8425
8425
|
if (!e) return !1;
|
|
8426
8426
|
const t = e[0];
|
|
8427
|
-
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") ||
|
|
8427
|
+
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") || Vf(t);
|
|
8428
8428
|
}
|
|
8429
|
-
function
|
|
8429
|
+
function Vf(e) {
|
|
8430
8430
|
const t = e.charCodeAt(0);
|
|
8431
8431
|
return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
|
|
8432
8432
|
}
|
|
8433
|
-
function
|
|
8433
|
+
function Gf(e) {
|
|
8434
8434
|
return /^(mailto:|tel:|fax:|sms:|geo:|blob:|data:|javascript:)/i.test(e);
|
|
8435
8435
|
}
|
|
8436
8436
|
function Be(e) {
|
|
8437
|
-
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Cs(e) ||
|
|
8437
|
+
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Cs(e) || Gf(e)) return e;
|
|
8438
8438
|
if (e.startsWith("/")) return window.location.origin + e;
|
|
8439
8439
|
const t = window.location.href, r = t.lastIndexOf("/");
|
|
8440
8440
|
return (r !== -1 ? t.slice(0, r + 1) : t + "/") + e;
|
|
8441
8441
|
}
|
|
8442
|
-
var at = /<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,
|
|
8442
|
+
var at = /<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, Wf = /\s(?:bis_[a-z0-9_-]+|data-bis-config|data-dynamic-id)=(["'])(?:(?!\1).)*\1/gi, ot = /<style\b[^>]*>[\s\S]*?<\/style>/gi, Ss = /display:\s*none\s*!important/gi, Yf = /((?:html\s*,\s*body|body\s*,\s*html)\s*\{)([^}]*)(\})/gi, Xf = /\s*height\s*:\s*100%\s*!important\s*;?/gi, Jf = /height\s*:\s*100%\s*!important/i, Zf = [
|
|
8443
8443
|
".socialshare,",
|
|
8444
8444
|
".advertisment,",
|
|
8445
8445
|
".adHolder,",
|
|
@@ -8456,57 +8456,57 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
8456
8456
|
"#advblock",
|
|
8457
8457
|
"body { overflow: visible!important; }"
|
|
8458
8458
|
];
|
|
8459
|
-
function
|
|
8459
|
+
function Kf(e) {
|
|
8460
8460
|
return Ss.lastIndex = 0, (e.match(Ss) || []).length;
|
|
8461
8461
|
}
|
|
8462
8462
|
function Ps(e) {
|
|
8463
|
-
const t = e.trim(), r =
|
|
8463
|
+
const t = e.trim(), r = Kf(t);
|
|
8464
8464
|
if (r === 0) return !1;
|
|
8465
8465
|
if (t.includes(".advertisment,") && t.includes(".adHolder,") && (t.includes(".socialshare,") || r >= 3 || t.length > 2e3)) return !0;
|
|
8466
|
-
const n =
|
|
8466
|
+
const n = Zf.filter((i) => t.includes(i)).length;
|
|
8467
8467
|
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);
|
|
8468
8468
|
}
|
|
8469
|
-
function
|
|
8469
|
+
function em(e) {
|
|
8470
8470
|
ot.lastIndex = 0;
|
|
8471
8471
|
for (const t of e.matchAll(ot)) if (Ps(t[0].replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, ""))) return !0;
|
|
8472
8472
|
return !1;
|
|
8473
8473
|
}
|
|
8474
|
-
function
|
|
8474
|
+
function tm(e) {
|
|
8475
8475
|
let t = !1;
|
|
8476
8476
|
return ot.lastIndex = 0, {
|
|
8477
8477
|
html: e.replace(ot, (r) => Ps(r.replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, "")) ? (t = !0, "") : r),
|
|
8478
8478
|
found: t
|
|
8479
8479
|
};
|
|
8480
8480
|
}
|
|
8481
|
-
function
|
|
8482
|
-
return at.lastIndex = 0, at.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) ||
|
|
8481
|
+
function rm(e) {
|
|
8482
|
+
return at.lastIndex = 0, at.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) || em(e);
|
|
8483
8483
|
}
|
|
8484
8484
|
function Ts(e) {
|
|
8485
|
-
if (!
|
|
8485
|
+
if (!rm(e)) return {
|
|
8486
8486
|
html: e,
|
|
8487
8487
|
found: !1
|
|
8488
8488
|
};
|
|
8489
8489
|
let t = !1, r = e;
|
|
8490
|
-
at.lastIndex = 0, at.test(r) && (at.lastIndex = 0, r = r.replace(at, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(
|
|
8491
|
-
const n =
|
|
8490
|
+
at.lastIndex = 0, at.test(r) && (at.lastIndex = 0, r = r.replace(at, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(Wf, ""), t = !0);
|
|
8491
|
+
const n = tm(r);
|
|
8492
8492
|
return r = n.html, t = t || n.found, {
|
|
8493
8493
|
html: r,
|
|
8494
8494
|
found: t
|
|
8495
8495
|
};
|
|
8496
8496
|
}
|
|
8497
|
-
function rm(e) {
|
|
8498
|
-
return !e || !Xf.test(e) ? e : (ot.lastIndex = 0, e.replace(ot, (t) => t.replace(Wf, (r, n, i, a) => `${n}${i.replace(Yf, "")}${a}`)));
|
|
8499
|
-
}
|
|
8500
8497
|
function nm(e) {
|
|
8498
|
+
return !e || !Jf.test(e) ? e : (ot.lastIndex = 0, e.replace(ot, (t) => t.replace(Yf, (r, n, i, a) => `${n}${i.replace(Xf, "")}${a}`)));
|
|
8499
|
+
}
|
|
8500
|
+
function im(e) {
|
|
8501
8501
|
const t = Ts(e.replaceAll(`\r
|
|
8502
8502
|
`, `
|
|
8503
8503
|
`));
|
|
8504
8504
|
return {
|
|
8505
|
-
html:
|
|
8505
|
+
html: nm(t.html),
|
|
8506
8506
|
hasBrowserExtensionArtifacts: t.found
|
|
8507
8507
|
};
|
|
8508
8508
|
}
|
|
8509
|
-
var
|
|
8509
|
+
var om = hi.__commonJSMin(((e, t) => {
|
|
8510
8510
|
(function(r, n) {
|
|
8511
8511
|
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 = {}));
|
|
8512
8512
|
})(e, (function(r) {
|
|
@@ -9424,33 +9424,33 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
9424
9424
|
r.ChildListChange = i, r.MutationProjection = f, r.MutationSummary = k, r.NodeChange = s, r.NodeMap = n, r.Qualifier = m, r.Selector = A, r.Summary = h, r.TreeChanges = l, r.TreeMirror = P, r.TreeMirrorClient = O, Object.defineProperty(r, "__esModule", { value: !0 });
|
|
9425
9425
|
}));
|
|
9426
9426
|
}))(), st = 0, ct = new Array(1e3);
|
|
9427
|
-
function
|
|
9427
|
+
function sm() {
|
|
9428
9428
|
for (let e = 0; e < st; e += 2) {
|
|
9429
9429
|
const t = ct[e], r = ct[e + 1];
|
|
9430
9430
|
t(...r), ct[e] = void 0, ct[e + 1] = void 0;
|
|
9431
9431
|
}
|
|
9432
9432
|
st = 0;
|
|
9433
9433
|
}
|
|
9434
|
-
function
|
|
9435
|
-
ct[st] = e, ct[st + 1] = t, st += 2, st === 2 &&
|
|
9434
|
+
function cm(e, ...t) {
|
|
9435
|
+
ct[st] = e, ct[st + 1] = t, st += 2, st === 2 && um();
|
|
9436
9436
|
}
|
|
9437
|
-
function
|
|
9437
|
+
function lm() {
|
|
9438
9438
|
let e = 0;
|
|
9439
|
-
const t = new MutationObserver(
|
|
9439
|
+
const t = new MutationObserver(sm), r = document.createTextNode("");
|
|
9440
9440
|
return t.observe(r, { characterData: !0 }), () => {
|
|
9441
9441
|
r.data = String(e = ++e % 2);
|
|
9442
9442
|
};
|
|
9443
9443
|
}
|
|
9444
|
-
var
|
|
9444
|
+
var um = lm();
|
|
9445
9445
|
function Os() {
|
|
9446
|
-
|
|
9446
|
+
cm(() => {
|
|
9447
9447
|
oi.hasListeners() && (oi.fire(), Os());
|
|
9448
9448
|
});
|
|
9449
9449
|
}
|
|
9450
|
-
var oi = new u.Emitter({ onFirstListenerAdd: Os }), si = oi.once,
|
|
9450
|
+
var oi = new u.Emitter({ onFirstListenerAdd: Os }), si = oi.once, pm = class extends u.Emitter {
|
|
9451
9451
|
_mutationSummary;
|
|
9452
9452
|
constructor(e = {}) {
|
|
9453
|
-
super(), this._mutationSummary = new
|
|
9453
|
+
super(), this._mutationSummary = new om.MutationSummary({
|
|
9454
9454
|
...e,
|
|
9455
9455
|
observeOwnChanges: !0,
|
|
9456
9456
|
callback: (t) => this.fire(t),
|
|
@@ -9464,7 +9464,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
9464
9464
|
const t = this._mutationSummary.takeSummaries();
|
|
9465
9465
|
return (e || t?.length) && this.fire(t || []), t;
|
|
9466
9466
|
}
|
|
9467
|
-
},
|
|
9467
|
+
}, dm = class extends u.Disposable {
|
|
9468
9468
|
_mutationEmitter;
|
|
9469
9469
|
_innerEmitter = this.addDisposable(new u.Emitter({ onFirstListenerAdd: () => {
|
|
9470
9470
|
this._nextTickHandler();
|
|
@@ -9479,7 +9479,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
9479
9479
|
}, Number.MAX_VALUE);
|
|
9480
9480
|
}
|
|
9481
9481
|
constructor(e = {}) {
|
|
9482
|
-
super(), this._mutationEmitter = this.addDisposable(new
|
|
9482
|
+
super(), this._mutationEmitter = this.addDisposable(new pm(e)), this.onNativeMutate = this._mutationEmitter.event, this.addDisposable(this._mutationEmitter.event((t) => {
|
|
9483
9483
|
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t), si(() => {
|
|
9484
9484
|
this._summaries.length && !this._innerEmitter.hasListeners() && (this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
9485
9485
|
}, Number.MAX_VALUE)));
|
|
@@ -9507,7 +9507,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
9507
9507
|
onLost = this._lostEmitter.event;
|
|
9508
9508
|
onNativeMutate;
|
|
9509
9509
|
};
|
|
9510
|
-
function
|
|
9510
|
+
function fm(e) {
|
|
9511
9511
|
for (const t of e) {
|
|
9512
9512
|
if (t.removed) for (const r of t.removed) {
|
|
9513
9513
|
const n = t.getOldParentNode(r), i = t.getOldPreviousSibling(r);
|
|
@@ -9531,18 +9531,18 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
9531
9531
|
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Rt(r) || qn(r) || qn(r)) && (r.data = t.getOldCharacterData(r));
|
|
9532
9532
|
}
|
|
9533
9533
|
}
|
|
9534
|
-
var
|
|
9534
|
+
var mm = class extends u.Disposable {
|
|
9535
9535
|
_commitPromise;
|
|
9536
9536
|
_mutationCollector;
|
|
9537
9537
|
_onLostSummaries = (e) => {
|
|
9538
9538
|
try {
|
|
9539
|
-
this._mutationCollector.stop(),
|
|
9539
|
+
this._mutationCollector.stop(), fm(e);
|
|
9540
9540
|
} finally {
|
|
9541
9541
|
this._mutationCollector.start();
|
|
9542
9542
|
}
|
|
9543
9543
|
};
|
|
9544
9544
|
constructor(e) {
|
|
9545
|
-
super(), this._mutationCollector = this.addDisposable(new
|
|
9545
|
+
super(), this._mutationCollector = this.addDisposable(new dm({
|
|
9546
9546
|
rootNode: e,
|
|
9547
9547
|
oldPreviousSibling: !0
|
|
9548
9548
|
})), this._mutationCollector.onLost(this._onLostSummaries);
|
|
@@ -9580,7 +9580,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
9580
9580
|
if (i.hasListeners()) {
|
|
9581
9581
|
const s = document.createElement("iframe");
|
|
9582
9582
|
s.style.position = "absolute", s.style.left = "-10000px", document.body.appendChild(s);
|
|
9583
|
-
const l = s.contentWindow.document, f = new
|
|
9583
|
+
const l = s.contentWindow.document, f = new mm(s.contentDocument);
|
|
9584
9584
|
let h;
|
|
9585
9585
|
try {
|
|
9586
9586
|
if (t) {
|
|
@@ -9615,8 +9615,8 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
9615
9615
|
throw a;
|
|
9616
9616
|
}
|
|
9617
9617
|
}
|
|
9618
|
-
var
|
|
9619
|
-
function
|
|
9618
|
+
var hm = /url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi;
|
|
9619
|
+
function gm(e) {
|
|
9620
9620
|
return e.arrayBuffer().then((t) => {
|
|
9621
9621
|
const r = new Uint8Array(t);
|
|
9622
9622
|
let n = "";
|
|
@@ -9634,7 +9634,7 @@ __emailmaker__.define("static/core/d0a3e529.js", [
|
|
|
9634
9634
|
function Jr(e) {
|
|
9635
9635
|
return e.replaceAll(/[\\\/:*?"<>|]/g, "_");
|
|
9636
9636
|
}
|
|
9637
|
-
async function
|
|
9637
|
+
async function vm(e, t, r, n, i, a, o) {
|
|
9638
9638
|
const s = [];
|
|
9639
9639
|
a && (a.attachments = s);
|
|
9640
9640
|
let l = "";
|
|
@@ -9674,24 +9674,24 @@ ${m.base64}\r
|
|
|
9674
9674
|
\r
|
|
9675
9675
|
${l}`;
|
|
9676
9676
|
}
|
|
9677
|
-
function
|
|
9677
|
+
function bm(e, t = !0) {
|
|
9678
9678
|
const r = re.decodeFileNameFromPath(e);
|
|
9679
9679
|
return t ? Jr(r) : r;
|
|
9680
9680
|
}
|
|
9681
|
-
function
|
|
9681
|
+
function ym(e) {
|
|
9682
9682
|
return !(e.length > 8 || e.length < 1 || /[^\x00-\x7F]/.test(e) || /[\\\/:*?"<>|&=%]/.test(e) || !/[a-zA-Z]/.test(e) || /^\d+$/.test(e));
|
|
9683
9683
|
}
|
|
9684
9684
|
function Ns(e) {
|
|
9685
9685
|
const t = re.decodeFileNameFromPath(e), r = t.lastIndexOf("."), n = t.slice(r + 1);
|
|
9686
|
-
return r === -1 || !
|
|
9686
|
+
return r === -1 || !ym(n) ? [Jr(t), ""] : [Jr(t.slice(0, r)), n];
|
|
9687
9687
|
}
|
|
9688
|
-
function
|
|
9688
|
+
function _m(e) {
|
|
9689
9689
|
return Is(e).then((t) => Ds(t));
|
|
9690
9690
|
}
|
|
9691
9691
|
function js(e) {
|
|
9692
9692
|
return e.replace("<script", "<___script").replace("<\/script>", "</___script>");
|
|
9693
9693
|
}
|
|
9694
|
-
var ye = new
|
|
9694
|
+
var ye = new Zd((e) => {
|
|
9695
9695
|
e.escape("<script", "<\/script>", (t) => js(t)).unescape("<___script", "</___script>", (t) => t.replace("<___script", "<script").replace("</___script>", "<\/script>")), e.escape("<script", "/>", (t) => js(t)).unescape("<___script", "/>", (t) => t.replace("<___script", "<script")), Ga(e);
|
|
9696
9696
|
});
|
|
9697
9697
|
async function Zr(e, t, r, n) {
|
|
@@ -9731,13 +9731,13 @@ ${l}`;
|
|
|
9731
9731
|
return Promise.reject(n);
|
|
9732
9732
|
}
|
|
9733
9733
|
}
|
|
9734
|
-
async function
|
|
9734
|
+
async function Em(e, t, r = new Map(), n) {
|
|
9735
9735
|
const i = (m) => {
|
|
9736
9736
|
let b = r.get(m);
|
|
9737
9737
|
return b || (b = t(m), r.set(m, b)), b instanceof Promise ? b : Promise.resolve(b);
|
|
9738
9738
|
};
|
|
9739
9739
|
function a(m) {
|
|
9740
|
-
return Kr(m,
|
|
9740
|
+
return Kr(m, hm, async (b, y = "", S) => `url(${y}${await i(S)}${y})`);
|
|
9741
9741
|
}
|
|
9742
9742
|
async function o(m) {
|
|
9743
9743
|
const b = m.getAttribute("style");
|
|
@@ -9759,7 +9759,7 @@ ${l}`;
|
|
|
9759
9759
|
const b = m.getAttribute("background");
|
|
9760
9760
|
if (b && h.push(i(b).then((y) => {
|
|
9761
9761
|
m.setAttribute("background", y || b), n && n();
|
|
9762
|
-
})), to(m) ||
|
|
9762
|
+
})), to(m) || cf(m)) {
|
|
9763
9763
|
const y = m.getAttribute("src"), S = y && ye.hasDetectedMappings(y, !0, !0) ? y : ("src" in m ? m.src : "") || y;
|
|
9764
9764
|
S && h.push(i(S).then((A) => {
|
|
9765
9765
|
A || (A = S), m.setAttribute("src", A), n && n();
|
|
@@ -9772,7 +9772,7 @@ ${l}`;
|
|
|
9772
9772
|
}));
|
|
9773
9773
|
}
|
|
9774
9774
|
} else if (qn(m)) {
|
|
9775
|
-
const b =
|
|
9775
|
+
const b = vf(m), y = b?.content;
|
|
9776
9776
|
y && h.push(Kr(y, /<v:fill.*>/gi, async (S) => Kr(await Kr(S, /src="([^"]*)"/gi, async (A, C) => `src="${await i(C) || C}"`), /src='([^']*)'/gi, async (A, C) => `src='${await i(C) || C}'`)).then((S) => {
|
|
9777
9777
|
y !== S && (m.replaceWith(ai(`${b.open}${S}${b.close}`)[0]), n && n());
|
|
9778
9778
|
}));
|
|
@@ -9781,9 +9781,9 @@ ${l}`;
|
|
|
9781
9781
|
return It(h);
|
|
9782
9782
|
}
|
|
9783
9783
|
async function Dt(e, t, r = new Map(), n) {
|
|
9784
|
-
await
|
|
9784
|
+
await Em(e, t, r, n);
|
|
9785
9785
|
}
|
|
9786
|
-
function
|
|
9786
|
+
function xm(e) {
|
|
9787
9787
|
const t = new Map();
|
|
9788
9788
|
let r = 0;
|
|
9789
9789
|
for (; r >= 0;) if (r = e.indexOf("<!--", r), r >= 0) {
|
|
@@ -9792,7 +9792,7 @@ ${l}`;
|
|
|
9792
9792
|
}
|
|
9793
9793
|
return t;
|
|
9794
9794
|
}
|
|
9795
|
-
function
|
|
9795
|
+
function wm(e) {
|
|
9796
9796
|
return !!e && ye.hasDetectedMappings(e, !0, !0);
|
|
9797
9797
|
}
|
|
9798
9798
|
function Ms(e, t) {
|
|
@@ -9805,7 +9805,7 @@ ${l}`;
|
|
|
9805
9805
|
if (t) for (const f of Object.keys(t)) t[f] && !s.has(f) && (l = l + (l ? "&" : "") + `${f}=${t[f]}`);
|
|
9806
9806
|
return l === o ? e : i + (l ? `?${l}` : "") + (n ? `#${n}` : "");
|
|
9807
9807
|
}
|
|
9808
|
-
function
|
|
9808
|
+
function Am(e) {
|
|
9809
9809
|
const t = ye.getDetectedMappings(e, !0, !0).slice().sort((a, o) => o.range.start - a.range.start), r = [], n = [];
|
|
9810
9810
|
let i = e;
|
|
9811
9811
|
for (const { range: a } of t) {
|
|
@@ -9821,9 +9821,9 @@ ${l}`;
|
|
|
9821
9821
|
restore: (a) => n.reduce((o, { token: s, original: l }) => o.split(s).join(l), a)
|
|
9822
9822
|
};
|
|
9823
9823
|
}
|
|
9824
|
-
function
|
|
9824
|
+
function Cm(e, t, r, n) {
|
|
9825
9825
|
if (!/^https?:\/\//i.test(t.trimStart())) return;
|
|
9826
|
-
const { masked: i, tokens: a, restore: o } =
|
|
9826
|
+
const { masked: i, tokens: a, restore: o } = Am(t), s = i.replace(/^https?:\/\//i, ""), l = s.search(/[/?#]/), f = l === -1 ? s : s.slice(0, l);
|
|
9827
9827
|
if (!a.some((b) => f.includes(b)) && e.host === document.location.host) return;
|
|
9828
9828
|
const h = Ms(i, r);
|
|
9829
9829
|
if (h === i) return;
|
|
@@ -9832,13 +9832,13 @@ ${l}`;
|
|
|
9832
9832
|
}
|
|
9833
9833
|
function li(e, t, r) {
|
|
9834
9834
|
const n = e.getAttribute("href");
|
|
9835
|
-
if (
|
|
9836
|
-
|
|
9835
|
+
if (wm(n)) {
|
|
9836
|
+
Cm(e, n, t, r);
|
|
9837
9837
|
return;
|
|
9838
9838
|
}
|
|
9839
9839
|
let i = e.href;
|
|
9840
9840
|
if (i = Be(i), i && e.protocol.startsWith("http")) {
|
|
9841
|
-
const a =
|
|
9841
|
+
const a = xm(i);
|
|
9842
9842
|
if (a.forEach((o, s) => {
|
|
9843
9843
|
i = i.replaceAll(s, o);
|
|
9844
9844
|
}), e.host !== document.location.host) {
|
|
@@ -9849,7 +9849,7 @@ ${l}`;
|
|
|
9849
9849
|
}
|
|
9850
9850
|
}
|
|
9851
9851
|
}
|
|
9852
|
-
async function
|
|
9852
|
+
async function Sm(e, t, r, n, i) {
|
|
9853
9853
|
let [a, o] = t || [800];
|
|
9854
9854
|
return typeof a == "number" && (a = a + "px"), typeof o == "number" && (o = o + "px"), e = await Zr(e, async (s) => {
|
|
9855
9855
|
const l = s.document;
|
|
@@ -9872,7 +9872,7 @@ ${l}`;
|
|
|
9872
9872
|
isNaN(A) || y.setAttribute("height", String(A)), !isNaN(C) && !y.getAttribute("width") && y.setAttribute("width", String(C));
|
|
9873
9873
|
}
|
|
9874
9874
|
m.commit();
|
|
9875
|
-
} else if (
|
|
9875
|
+
} else if (bf(y)) {
|
|
9876
9876
|
const S = parseInt(getComputedStyle(y).width);
|
|
9877
9877
|
!isNaN(S) && y.parentElement.tagName !== "BODY" && y.setAttribute("width", String(S)), m.commit();
|
|
9878
9878
|
} else y.tagName === "TD" || y.tagName === "A" && li(y, r, () => m.commit());
|
|
@@ -9911,7 +9911,7 @@ ${l}`;
|
|
|
9911
9911
|
return P;
|
|
9912
9912
|
}
|
|
9913
9913
|
try {
|
|
9914
|
-
const O = await h(P), d = `img-${u.generateUUID()}@emailmaker`, c = await
|
|
9914
|
+
const O = await h(P), d = `img-${u.generateUUID()}@emailmaker`, c = await gm(O);
|
|
9915
9915
|
return m.push({
|
|
9916
9916
|
cid: d,
|
|
9917
9917
|
mimeType: O.type || "application/octet-stream",
|
|
@@ -9928,12 +9928,12 @@ ${l}`;
|
|
|
9928
9928
|
if (n) return n(l);
|
|
9929
9929
|
}, [o, s], a), e = e.replaceAll(/<tbody>/gi, "").replaceAll(/<\/tbody>/gi, ""), e;
|
|
9930
9930
|
}
|
|
9931
|
-
var
|
|
9932
|
-
function
|
|
9931
|
+
var Pm = "images", Tm = 40;
|
|
9932
|
+
function Om() {
|
|
9933
9933
|
const e = new Date();
|
|
9934
9934
|
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("")}`;
|
|
9935
9935
|
}
|
|
9936
|
-
async function
|
|
9936
|
+
async function km(e, t, r, n = _m, i, a) {
|
|
9937
9937
|
const o = Object.create(null);
|
|
9938
9938
|
let [s, l] = t || [800];
|
|
9939
9939
|
typeof s == "number" && (s = s + "px"), typeof l == "number" && (l = l + "px");
|
|
@@ -9943,13 +9943,13 @@ ${l}`;
|
|
|
9943
9943
|
ye.getEscapedText(S) === S && (S = Be(S));
|
|
9944
9944
|
const A = await n(S);
|
|
9945
9945
|
let [C, k] = Ns(S);
|
|
9946
|
-
if (C.length >
|
|
9946
|
+
if (C.length > Tm && (C = Om()), !k || !Rn.getType(k)) try {
|
|
9947
9947
|
k = Rn.getExtension(A.type);
|
|
9948
9948
|
} catch {}
|
|
9949
9949
|
let P = `${C}.${k}`, O = 1;
|
|
9950
9950
|
for (; f.has(P);) P = `${C}(${++O}).${k}`;
|
|
9951
9951
|
f.add(P);
|
|
9952
|
-
const d = `${
|
|
9952
|
+
const d = `${Pm}/${P}`;
|
|
9953
9953
|
return o[d] = A, d;
|
|
9954
9954
|
});
|
|
9955
9955
|
const y = b.querySelectorAll("a");
|
|
@@ -9958,7 +9958,7 @@ ${l}`;
|
|
|
9958
9958
|
}, [s, l], a);
|
|
9959
9959
|
return o["index.html"] = new Blob([h], { type: "text/html;charset=utf-8" }), o;
|
|
9960
9960
|
}
|
|
9961
|
-
function
|
|
9961
|
+
function Nm(e) {
|
|
9962
9962
|
return vc(e);
|
|
9963
9963
|
}
|
|
9964
9964
|
function Is(e) {
|
|
@@ -9971,7 +9971,7 @@ ${l}`;
|
|
|
9971
9971
|
const n = document.createElement("canvas");
|
|
9972
9972
|
return n.width = e.width, n.height = e.height, n.getContext("2d").drawImage(e, 0, 0), new Promise((i, a) => n.toBlob((o) => o ? i(o) : a("blob is null"), t, Number(r) || 0));
|
|
9973
9973
|
}
|
|
9974
|
-
function
|
|
9974
|
+
function jm(e, t) {
|
|
9975
9975
|
do {
|
|
9976
9976
|
if (e === t) return !0;
|
|
9977
9977
|
e = e.parentNode;
|
|
@@ -9980,13 +9980,13 @@ ${l}`;
|
|
|
9980
9980
|
}
|
|
9981
9981
|
function Ls(e) {
|
|
9982
9982
|
const t = e.ownerDocument?.body;
|
|
9983
|
-
if (t &&
|
|
9983
|
+
if (t && jm(e, t)) {
|
|
9984
9984
|
if (xe(e) && (e.tagName === "IMG" || e.tagName === "SPAN" && e.classList.contains("preheader"))) return "";
|
|
9985
9985
|
if (e.nodeName === "#text") return e.textContent;
|
|
9986
9986
|
}
|
|
9987
9987
|
return e.childNodes ? [...e.childNodes].map(Ls).join("") : "";
|
|
9988
9988
|
}
|
|
9989
|
-
function
|
|
9989
|
+
function Mm(e) {
|
|
9990
9990
|
const { document: t } = ks(e);
|
|
9991
9991
|
try {
|
|
9992
9992
|
return Ls(t).replace(/\u2800/g, "").replace(/(\r\n|\r|\n){2,}/g, `
|
|
@@ -10013,22 +10013,22 @@ ${l}`;
|
|
|
10013
10013
|
for (const n of r) t[n] = e.getAttribute(n);
|
|
10014
10014
|
return t;
|
|
10015
10015
|
}
|
|
10016
|
-
function
|
|
10016
|
+
function Rm(e) {
|
|
10017
10017
|
for (const t of document.querySelectorAll("iframe")) if (t.contentDocument === e.ownerDocument) return t;
|
|
10018
10018
|
}
|
|
10019
|
-
function
|
|
10019
|
+
function Im(e) {
|
|
10020
10020
|
const t = Lt(e);
|
|
10021
10021
|
if (!e.querySelector("style[amp4email-boilerplate]")) {
|
|
10022
10022
|
const r = e.createElement("style");
|
|
10023
10023
|
r.setAttribute("amp4email-boilerplate", ""), r.innerHTML = "body{visibility:hidden}", t.prepend(r);
|
|
10024
10024
|
}
|
|
10025
10025
|
}
|
|
10026
|
-
function
|
|
10026
|
+
function Dm(e) {
|
|
10027
10027
|
const t = e.querySelector("style[amp4email-boilerplate]");
|
|
10028
10028
|
t && t.remove();
|
|
10029
10029
|
}
|
|
10030
10030
|
var en = "amp-custom";
|
|
10031
|
-
function
|
|
10031
|
+
function Lm(e, t) {
|
|
10032
10032
|
return `em-${e.replaceAll("-", "_")}-${t.toLowerCase()}`;
|
|
10033
10033
|
}
|
|
10034
10034
|
function zs(e, t, r) {
|
|
@@ -10052,7 +10052,7 @@ ${l}`;
|
|
|
10052
10052
|
if (r) {
|
|
10053
10053
|
const a = new Set();
|
|
10054
10054
|
zs(e, r.cssRules, (o, s) => {
|
|
10055
|
-
const l =
|
|
10055
|
+
const l = Lm(o, s), f = [...r.cssRules], h = `.${l} { ${o}: ${s} }`;
|
|
10056
10056
|
return !f.find((m) => Mt.isStyleRule(m) && m.selectorText === `.${l}`) && !a.has(h) && (a.add(h), t.innerHTML = `
|
|
10057
10057
|
.${l} { ${o}: ${s} };
|
|
10058
10058
|
${t.innerHTML}`), l;
|
|
@@ -10064,7 +10064,7 @@ ${t.innerHTML}`);
|
|
|
10064
10064
|
const n = t.innerHTML, i = n.replace(/!important/g, "");
|
|
10065
10065
|
n !== i && (t.innerHTML = i);
|
|
10066
10066
|
}
|
|
10067
|
-
function
|
|
10067
|
+
function Fm(e) {
|
|
10068
10068
|
const t = Lt(e), r = e.querySelectorAll("link[rel=\"stylesheet\"]"), n = [...e.querySelectorAll("style")].filter((a) => !a.hasAttribute("amp4email-boilerplate"));
|
|
10069
10069
|
if (n.length === 1) {
|
|
10070
10070
|
const a = n[0];
|
|
@@ -10083,12 +10083,12 @@ ${i.join("")}
|
|
|
10083
10083
|
}
|
|
10084
10084
|
for (const a of r) a.remove();
|
|
10085
10085
|
}
|
|
10086
|
-
function
|
|
10086
|
+
function Um(e) {
|
|
10087
10087
|
const t = e.querySelector(`style[${en}]`);
|
|
10088
10088
|
t && t.removeAttribute(en);
|
|
10089
10089
|
}
|
|
10090
|
-
var
|
|
10091
|
-
function
|
|
10090
|
+
var zm = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", tn = "<!doctype html>";
|
|
10091
|
+
function Bm(e) {
|
|
10092
10092
|
const t = e.doctype;
|
|
10093
10093
|
if (t) {
|
|
10094
10094
|
if (Un(t) === tn) return;
|
|
@@ -10099,10 +10099,10 @@ ${i.join("")}
|
|
|
10099
10099
|
e.insertBefore(r, e.firstChild);
|
|
10100
10100
|
}
|
|
10101
10101
|
}
|
|
10102
|
-
function
|
|
10102
|
+
function qm(e) {
|
|
10103
10103
|
const t = e.doctype;
|
|
10104
10104
|
if (t && Un(t).toLowerCase() === tn) {
|
|
10105
|
-
const r = new DOMParser().parseFromString(
|
|
10105
|
+
const r = new DOMParser().parseFromString(zm, "text/html").doctype;
|
|
10106
10106
|
e.replaceChild(r, t);
|
|
10107
10107
|
}
|
|
10108
10108
|
}
|
|
@@ -10111,7 +10111,7 @@ ${i.join("")}
|
|
|
10111
10111
|
try {
|
|
10112
10112
|
let a = e;
|
|
10113
10113
|
for (; a && zn(a);) getComputedStyle(a)?.display === "none" && (a.style.display = "initial", i.push([a, a.style.display])), a = a.parentElement;
|
|
10114
|
-
const o = n?.height ? `${parseInt(n.height)}` : "", s = n?.width ? `${parseInt(n.width)}` : "", l =
|
|
10114
|
+
const o = n?.height ? `${parseInt(n.height)}` : "", s = n?.width ? `${parseInt(n.width)}` : "", l = Rm(e);
|
|
10115
10115
|
let f = !1;
|
|
10116
10116
|
if (l) {
|
|
10117
10117
|
const m = l.getAttribute("width");
|
|
@@ -10138,12 +10138,12 @@ ${i.join("")}
|
|
|
10138
10138
|
}
|
|
10139
10139
|
return r;
|
|
10140
10140
|
}
|
|
10141
|
-
function
|
|
10141
|
+
function $m(e) {
|
|
10142
10142
|
const t = document.createElement("img"), { layout: r, height: n, ...i } = Us(e), a = r === "responsive";
|
|
10143
10143
|
for (const o of Object.keys(i)) it(t, o, i[o]);
|
|
10144
10144
|
return a && (t.style.maxWidth = i.width || "0px", t.style.width = "100%"), t;
|
|
10145
10145
|
}
|
|
10146
|
-
async function
|
|
10146
|
+
async function Hm(e, t) {
|
|
10147
10147
|
const r = [...e.querySelectorAll("img")], n = [];
|
|
10148
10148
|
for (const a of r) n.push(qs(a).then((o) => [a, o], () => [a, void 0]));
|
|
10149
10149
|
const i = [...e.querySelectorAll("picture")];
|
|
@@ -10157,12 +10157,12 @@ ${i.join("")}
|
|
|
10157
10157
|
t?.();
|
|
10158
10158
|
}
|
|
10159
10159
|
}
|
|
10160
|
-
function
|
|
10160
|
+
function Qm(e, t) {
|
|
10161
10161
|
const r = [...e.querySelectorAll("amp-img")];
|
|
10162
|
-
for (const n of r) n.replaceWith(
|
|
10162
|
+
for (const n of r) n.replaceWith($m(n));
|
|
10163
10163
|
r.length && t?.();
|
|
10164
10164
|
}
|
|
10165
|
-
function
|
|
10165
|
+
function Vm(e) {
|
|
10166
10166
|
const t = e.querySelectorAll("meta");
|
|
10167
10167
|
for (const i of t) {
|
|
10168
10168
|
const a = i.getAttribute("charset");
|
|
@@ -10174,25 +10174,25 @@ ${i.join("")}
|
|
|
10174
10174
|
const r = Lt(e), n = e.createElement("meta");
|
|
10175
10175
|
n.setAttribute("charset", "utf-8"), r.insertBefore(n, r.firstChild);
|
|
10176
10176
|
}
|
|
10177
|
-
function
|
|
10177
|
+
function Gm(e, t, r) {
|
|
10178
10178
|
const n = r("script:not([type=\"application/ld+json\"])"), i = e.querySelectorAll(n);
|
|
10179
10179
|
for (const a of i) !a.getAttribute("src")?.startsWith("https://cdn.ampproject.org/") && !(a.closest("amp-state") && a.getAttribute("type") === "application/json") && a.remove();
|
|
10180
10180
|
}
|
|
10181
|
-
var ui = "https://cdn.ampproject.org/v0", $s = `${ui}.js`,
|
|
10182
|
-
function
|
|
10181
|
+
var ui = "https://cdn.ampproject.org/v0", $s = `${ui}.js`, Wm = `script[src='${$s}']`;
|
|
10182
|
+
function Ym(e, t) {
|
|
10183
10183
|
return `${ui}/${e.toLowerCase()}-${t}.js`;
|
|
10184
10184
|
}
|
|
10185
|
-
async function
|
|
10185
|
+
async function Xm(e, t, r) {
|
|
10186
10186
|
for (const { name: n, versions: i } of t) {
|
|
10187
10187
|
const a = r.replaceSelectors(n === "amp-mustache" ? `script[async][custom-template='${n}']` : `script[async][custom-element='${n}']`);
|
|
10188
10188
|
if (!e.querySelector(a)) {
|
|
10189
|
-
const o = Lt(e), s = r.createElementFn("script"), l =
|
|
10189
|
+
const o = Lt(e), s = r.createElementFn("script"), l = Ym(n, i.findLast((f) => f !== "latest") || "v0");
|
|
10190
10190
|
s.setAttribute("async", ""), s.setAttribute(n === "amp-mustache" ? "custom-template" : "custom-element", n), s.setAttribute("src", l), o.appendChild(s), o.appendChild(e.createTextNode(`
|
|
10191
10191
|
`));
|
|
10192
10192
|
}
|
|
10193
10193
|
}
|
|
10194
10194
|
}
|
|
10195
|
-
function
|
|
10195
|
+
function Jm(e, t) {
|
|
10196
10196
|
const r = e.querySelectorAll("*"), n = e.querySelectorAll(t.replaceSelectors("script[src]"));
|
|
10197
10197
|
for (const i of n) i.getAttribute("src")?.startsWith("https://cdn.ampproject.org/v0") && i.remove();
|
|
10198
10198
|
for (const i of r) Qs(i) && i.tagName !== "FORM" && i.remove();
|
|
@@ -10202,7 +10202,7 @@ ${i.join("")}
|
|
|
10202
10202
|
return Hs || (Hs = await Promise.resolve().then(() => Oe("./3c5b0572.js")).then((e) => e.default));
|
|
10203
10203
|
}
|
|
10204
10204
|
var pi = new Map();
|
|
10205
|
-
async function
|
|
10205
|
+
async function Zm() {
|
|
10206
10206
|
if (!pi.size) {
|
|
10207
10207
|
const e = await rn(), t = e.tags;
|
|
10208
10208
|
for (let r = 0; r < t.length; r++) {
|
|
@@ -10217,17 +10217,17 @@ ${i.join("")}
|
|
|
10217
10217
|
return pi;
|
|
10218
10218
|
}
|
|
10219
10219
|
var di = new Map();
|
|
10220
|
-
async function
|
|
10220
|
+
async function Km() {
|
|
10221
10221
|
if (!di.size) {
|
|
10222
10222
|
const e = await rn();
|
|
10223
10223
|
for (const t of e.declarations) di.set(t.name, t);
|
|
10224
10224
|
}
|
|
10225
10225
|
return di;
|
|
10226
10226
|
}
|
|
10227
|
-
var
|
|
10228
|
-
async function
|
|
10227
|
+
var eh = "$GLOBAL_ATTRS", fi = new Map();
|
|
10228
|
+
async function th() {
|
|
10229
10229
|
if (!fi.size) {
|
|
10230
|
-
const e = (await rn()).attrLists.find((t) => t.name ===
|
|
10230
|
+
const e = (await rn()).attrLists.find((t) => t.name === eh)?.attrs;
|
|
10231
10231
|
if (e) for (const t of e) fi.set(t.name, t);
|
|
10232
10232
|
}
|
|
10233
10233
|
return fi;
|
|
@@ -10265,17 +10265,17 @@ ${i.join("")}
|
|
|
10265
10265
|
}
|
|
10266
10266
|
else Bn(e) ? i() : Rt(e) && (e.textContent?.trim() || e.nextSibling?.textContent?.trim() && Rt(e.nextSibling)) && n();
|
|
10267
10267
|
}
|
|
10268
|
-
async function
|
|
10268
|
+
async function rh(e, t) {
|
|
10269
10269
|
const r = new Set(), n = t.commit, i = (y) => t.replaceSelectors(y.toLowerCase());
|
|
10270
|
-
if (t.replaceImages && await
|
|
10271
|
-
const y = t.replaceSelectors(
|
|
10270
|
+
if (t.replaceImages && await Hm(e, n), t.injectExtensions) {
|
|
10271
|
+
const y = t.replaceSelectors(Wm);
|
|
10272
10272
|
if (!e.querySelector(y)) {
|
|
10273
10273
|
const S = t.createElementFn("script");
|
|
10274
10274
|
S.setAttribute("src", $s), S.setAttribute("async", ""), Lt(e).appendChild(S), n?.();
|
|
10275
10275
|
}
|
|
10276
10276
|
}
|
|
10277
|
-
t.injectRequiredTags && (
|
|
10278
|
-
const a = await rn(), o = await
|
|
10277
|
+
t.injectRequiredTags && (Gm(e, t.createElementFn, i), Bm(e), Im(e), Vm(e), n?.()), t.replaceStylesAndLinks && (Fm(e), n?.());
|
|
10278
|
+
const a = await rn(), o = await Zm(), s = new Set(t.removeUnsupportedTags ? e.querySelectorAll("*") : []), l = new Map();
|
|
10279
10279
|
for (let [y, S] of o) if (!S.deprecation) {
|
|
10280
10280
|
y = i(y);
|
|
10281
10281
|
let A = [...e.querySelectorAll(y)].filter((C) => !l.has(C));
|
|
@@ -10295,7 +10295,7 @@ ${i.join("")}
|
|
|
10295
10295
|
if (t.injectExtensions && S.requiresExtension) for (const k of S.requiresExtension) r.add(k);
|
|
10296
10296
|
const A = S.requiredParent ? S.requiredParent === "$ROOT" ? e : e.querySelector(S.requiredParent) : null;
|
|
10297
10297
|
A && (!y.parentNode || t.moveInvalidTagPosition) ? A !== y.parentNode && (S.name === "HEAD" || xe(A) && A.tagName === "HEAD" ? A.insertBefore(y, A.firstChild) : A.appendChild(y)) : y.parentNode || e.body.appendChild(y), t.removeUnsupportedTags && s.delete(y), n?.();
|
|
10298
|
-
const C = await
|
|
10298
|
+
const C = await th();
|
|
10299
10299
|
if (t.removeUnsupportedAttributes || t.injectRequiredAttributes) {
|
|
10300
10300
|
const k = S.attrs, P = t.injectRequiredAttributes ? new Set([...k].map(([d, c]) => c).filter((d) => d.required && d.value)) : void 0, O = y.getAttributeNames();
|
|
10301
10301
|
for (const d of O) {
|
|
@@ -10390,7 +10390,7 @@ ${i.join("")}
|
|
|
10390
10390
|
C(v) ? v.selectorText.indexOf("[") >= 0 || v.selectorText.indexOf(":") >= 0 ? d.deleteRule(p) : (A(v.style), v.style.cssText || d.deleteRule(p)) : k(v) ? (P(v), v.cssRules.length || d.deleteRule(p)) : d.deleteRule(p);
|
|
10391
10391
|
}
|
|
10392
10392
|
};
|
|
10393
|
-
const y = e.querySelectorAll("*"), S = await
|
|
10393
|
+
const y = e.querySelectorAll("*"), S = await Km();
|
|
10394
10394
|
for (const d of y) if (zn(d)) {
|
|
10395
10395
|
const c = d.getAttribute("style");
|
|
10396
10396
|
c && (A(d.style), d.style.length ? d.style.cssText !== c && d.setAttribute("style", d.style.cssText) : d.removeAttribute("style"));
|
|
@@ -10402,14 +10402,14 @@ ${i.join("")}
|
|
|
10402
10402
|
`)), n?.();
|
|
10403
10403
|
}
|
|
10404
10404
|
}
|
|
10405
|
-
await
|
|
10405
|
+
await Xm(e, a.extensions.filter(({ name: y }) => r.has(y)), t);
|
|
10406
10406
|
}
|
|
10407
10407
|
function Gs(e, t) {
|
|
10408
10408
|
return Object.keys(t).reduce((r, n) => r.replaceAll(n, t[n]), e);
|
|
10409
10409
|
}
|
|
10410
|
-
function
|
|
10410
|
+
function nh(e, t = {}) {
|
|
10411
10411
|
const { correct: r = !0, injectExtensions: n = !0, mappedTags: i = {} } = t;
|
|
10412
|
-
return
|
|
10412
|
+
return rh(e, {
|
|
10413
10413
|
replaceImages: r,
|
|
10414
10414
|
replaceStylesAndLinks: r,
|
|
10415
10415
|
injectRequiredTags: r,
|
|
@@ -10425,14 +10425,14 @@ ${i.join("")}
|
|
|
10425
10425
|
commit: t.commit
|
|
10426
10426
|
});
|
|
10427
10427
|
}
|
|
10428
|
-
function
|
|
10428
|
+
function ih(e, t = {}) {
|
|
10429
10429
|
const { correct: r = !0, removeExtensions: n = !0, mappedTags: i = {} } = t, a = t.commit, o = (l) => e.createElement(i[l.toLowerCase()] || l), s = (l) => Gs(l, i);
|
|
10430
10430
|
if (r) {
|
|
10431
|
-
|
|
10431
|
+
Qm(e), qm(e), Um(e), Dm(e);
|
|
10432
10432
|
const l = Fs(e);
|
|
10433
10433
|
l.removeAttribute("⚡4email"), l.removeAttribute("data-css-strict"), a?.();
|
|
10434
10434
|
}
|
|
10435
|
-
n && (
|
|
10435
|
+
n && (Jm(e, {
|
|
10436
10436
|
formsAsAmpForms: t.removeExtensions,
|
|
10437
10437
|
createElementFn: o,
|
|
10438
10438
|
replaceSelectors: s
|
|
@@ -10456,7 +10456,7 @@ ${i.join("")}
|
|
|
10456
10456
|
}), Object.defineProperty(x, "DEFAULT_INIT_PIPELINE_CONTEXT", {
|
|
10457
10457
|
enumerable: !0,
|
|
10458
10458
|
get: function() {
|
|
10459
|
-
return
|
|
10459
|
+
return Od;
|
|
10460
10460
|
}
|
|
10461
10461
|
}), Object.defineProperty(x, "DEFAULT_SANDBOX_OP_TIMEOUT_MS", {
|
|
10462
10462
|
enumerable: !0,
|
|
@@ -10476,7 +10476,7 @@ ${i.join("")}
|
|
|
10476
10476
|
}), Object.defineProperty(x, "ListenerUpdater", {
|
|
10477
10477
|
enumerable: !0,
|
|
10478
10478
|
get: function() {
|
|
10479
|
-
return
|
|
10479
|
+
return Ed;
|
|
10480
10480
|
}
|
|
10481
10481
|
}), Object.defineProperty(x, "PLUGIN_REGISTRY_ID", {
|
|
10482
10482
|
enumerable: !0,
|
|
@@ -10486,7 +10486,7 @@ ${i.join("")}
|
|
|
10486
10486
|
}), Object.defineProperty(x, "USAGE_LIMIT_EXCEEDED_CODE", {
|
|
10487
10487
|
enumerable: !0,
|
|
10488
10488
|
get: function() {
|
|
10489
|
-
return
|
|
10489
|
+
return nu;
|
|
10490
10490
|
}
|
|
10491
10491
|
}), Object.defineProperty(x, "addUserToProjectApi", {
|
|
10492
10492
|
enumerable: !0,
|
|
@@ -10496,7 +10496,7 @@ ${i.join("")}
|
|
|
10496
10496
|
}), Object.defineProperty(x, "amp2html", {
|
|
10497
10497
|
enumerable: !0,
|
|
10498
10498
|
get: function() {
|
|
10499
|
-
return
|
|
10499
|
+
return ih;
|
|
10500
10500
|
}
|
|
10501
10501
|
}), Object.defineProperty(x, "changeHtml", {
|
|
10502
10502
|
enumerable: !0,
|
|
@@ -10506,7 +10506,7 @@ ${i.join("")}
|
|
|
10506
10506
|
}), Object.defineProperty(x, "clearStandaloneSecurityModule", {
|
|
10507
10507
|
enumerable: !0,
|
|
10508
10508
|
get: function() {
|
|
10509
|
-
return
|
|
10509
|
+
return bd;
|
|
10510
10510
|
}
|
|
10511
10511
|
}), Object.defineProperty(x, "createAbortError", {
|
|
10512
10512
|
enumerable: !0,
|
|
@@ -10531,7 +10531,7 @@ ${i.join("")}
|
|
|
10531
10531
|
}), Object.defineProperty(x, "createStore", {
|
|
10532
10532
|
enumerable: !0,
|
|
10533
10533
|
get: function() {
|
|
10534
|
-
return
|
|
10534
|
+
return id;
|
|
10535
10535
|
}
|
|
10536
10536
|
}), Object.defineProperty(x, "emailRawApi", {
|
|
10537
10537
|
enumerable: !0,
|
|
@@ -10546,12 +10546,12 @@ ${i.join("")}
|
|
|
10546
10546
|
}), Object.defineProperty(x, "extractDocumentTextContent", {
|
|
10547
10547
|
enumerable: !0,
|
|
10548
10548
|
get: function() {
|
|
10549
|
-
return
|
|
10549
|
+
return Mm;
|
|
10550
10550
|
}
|
|
10551
10551
|
}), Object.defineProperty(x, "extractServerProjectIdFromToken", {
|
|
10552
10552
|
enumerable: !0,
|
|
10553
10553
|
get: function() {
|
|
10554
|
-
return
|
|
10554
|
+
return dd;
|
|
10555
10555
|
}
|
|
10556
10556
|
}), Object.defineProperty(x, "fetchWithApiOriginFailover", {
|
|
10557
10557
|
enumerable: !0,
|
|
@@ -10561,7 +10561,7 @@ ${i.join("")}
|
|
|
10561
10561
|
}), Object.defineProperty(x, "findShadowRoot", {
|
|
10562
10562
|
enumerable: !0,
|
|
10563
10563
|
get: function() {
|
|
10564
|
-
return
|
|
10564
|
+
return hf;
|
|
10565
10565
|
}
|
|
10566
10566
|
}), Object.defineProperty(x, "generateBrandColorId", {
|
|
10567
10567
|
enumerable: !0,
|
|
@@ -10576,12 +10576,12 @@ ${i.join("")}
|
|
|
10576
10576
|
}), Object.defineProperty(x, "generateProjectFontId", {
|
|
10577
10577
|
enumerable: !0,
|
|
10578
10578
|
get: function() {
|
|
10579
|
-
return
|
|
10579
|
+
return al;
|
|
10580
10580
|
}
|
|
10581
10581
|
}), Object.defineProperty(x, "getEML", {
|
|
10582
10582
|
enumerable: !0,
|
|
10583
10583
|
get: function() {
|
|
10584
|
-
return
|
|
10584
|
+
return vm;
|
|
10585
10585
|
}
|
|
10586
10586
|
}), Object.defineProperty(x, "getElementInnerHTML", {
|
|
10587
10587
|
enumerable: !0,
|
|
@@ -10591,7 +10591,7 @@ ${i.join("")}
|
|
|
10591
10591
|
}), Object.defineProperty(x, "getElementStartHtml_VDOM", {
|
|
10592
10592
|
enumerable: !0,
|
|
10593
10593
|
get: function() {
|
|
10594
|
-
return
|
|
10594
|
+
return af;
|
|
10595
10595
|
}
|
|
10596
10596
|
}), Object.defineProperty(x, "getFileNameAndExt", {
|
|
10597
10597
|
enumerable: !0,
|
|
@@ -10601,7 +10601,7 @@ ${i.join("")}
|
|
|
10601
10601
|
}), Object.defineProperty(x, "getFileNameWithExt", {
|
|
10602
10602
|
enumerable: !0,
|
|
10603
10603
|
get: function() {
|
|
10604
|
-
return
|
|
10604
|
+
return bm;
|
|
10605
10605
|
}
|
|
10606
10606
|
}), Object.defineProperty(x, "getImageByUrl", {
|
|
10607
10607
|
enumerable: !0,
|
|
@@ -10616,27 +10616,27 @@ ${i.join("")}
|
|
|
10616
10616
|
}), Object.defineProperty(x, "getSaveTimeoutMs", {
|
|
10617
10617
|
enumerable: !0,
|
|
10618
10618
|
get: function() {
|
|
10619
|
-
return
|
|
10619
|
+
return kd;
|
|
10620
10620
|
}
|
|
10621
10621
|
}), Object.defineProperty(x, "getSocialPresetsForBrand", {
|
|
10622
10622
|
enumerable: !0,
|
|
10623
10623
|
get: function() {
|
|
10624
|
-
return
|
|
10624
|
+
return Wc;
|
|
10625
10625
|
}
|
|
10626
10626
|
}), Object.defineProperty(x, "html2amp", {
|
|
10627
10627
|
enumerable: !0,
|
|
10628
10628
|
get: function() {
|
|
10629
|
-
return
|
|
10629
|
+
return nh;
|
|
10630
10630
|
}
|
|
10631
10631
|
}), Object.defineProperty(x, "htmlFilesToZip", {
|
|
10632
10632
|
enumerable: !0,
|
|
10633
10633
|
get: function() {
|
|
10634
|
-
return
|
|
10634
|
+
return Nm;
|
|
10635
10635
|
}
|
|
10636
10636
|
}), Object.defineProperty(x, "htmlToFilesData", {
|
|
10637
10637
|
enumerable: !0,
|
|
10638
10638
|
get: function() {
|
|
10639
|
-
return
|
|
10639
|
+
return km;
|
|
10640
10640
|
}
|
|
10641
10641
|
}), Object.defineProperty(x, "imageToBlob", {
|
|
10642
10642
|
enumerable: !0,
|
|
@@ -10646,12 +10646,12 @@ ${i.join("")}
|
|
|
10646
10646
|
}), Object.defineProperty(x, "injectStandaloneMocks", {
|
|
10647
10647
|
enumerable: !0,
|
|
10648
10648
|
get: function() {
|
|
10649
|
-
return
|
|
10649
|
+
return md;
|
|
10650
10650
|
}
|
|
10651
10651
|
}), Object.defineProperty(x, "installStandaloneMockGuard", {
|
|
10652
10652
|
enumerable: !0,
|
|
10653
10653
|
get: function() {
|
|
10654
|
-
return
|
|
10654
|
+
return gd;
|
|
10655
10655
|
}
|
|
10656
10656
|
}), Object.defineProperty(x, "isAmpElement", {
|
|
10657
10657
|
enumerable: !0,
|
|
@@ -10671,7 +10671,7 @@ ${i.join("")}
|
|
|
10671
10671
|
}), Object.defineProperty(x, "isDocumentFragment", {
|
|
10672
10672
|
enumerable: !0,
|
|
10673
10673
|
get: function() {
|
|
10674
|
-
return
|
|
10674
|
+
return df;
|
|
10675
10675
|
}
|
|
10676
10676
|
}), Object.defineProperty(x, "isElement", {
|
|
10677
10677
|
enumerable: !0,
|
|
@@ -10681,12 +10681,12 @@ ${i.join("")}
|
|
|
10681
10681
|
}), Object.defineProperty(x, "isForm", {
|
|
10682
10682
|
enumerable: !0,
|
|
10683
10683
|
get: function() {
|
|
10684
|
-
return
|
|
10684
|
+
return uf;
|
|
10685
10685
|
}
|
|
10686
10686
|
}), Object.defineProperty(x, "isImmediateStandalone", {
|
|
10687
10687
|
enumerable: !0,
|
|
10688
10688
|
get: function() {
|
|
10689
|
-
return
|
|
10689
|
+
return _d;
|
|
10690
10690
|
}
|
|
10691
10691
|
}), Object.defineProperty(x, "isTextNode", {
|
|
10692
10692
|
enumerable: !0,
|
|
@@ -10711,7 +10711,7 @@ ${i.join("")}
|
|
|
10711
10711
|
}), Object.defineProperty(x, "normalizeUrl", {
|
|
10712
10712
|
enumerable: !0,
|
|
10713
10713
|
get: function() {
|
|
10714
|
-
return
|
|
10714
|
+
return Qf;
|
|
10715
10715
|
}
|
|
10716
10716
|
}), Object.defineProperty(x, "notificationsApi", {
|
|
10717
10717
|
enumerable: !0,
|
|
@@ -10731,22 +10731,22 @@ ${i.join("")}
|
|
|
10731
10731
|
}), Object.defineProperty(x, "pluginRegistry", {
|
|
10732
10732
|
enumerable: !0,
|
|
10733
10733
|
get: function() {
|
|
10734
|
-
return
|
|
10734
|
+
return jd;
|
|
10735
10735
|
}
|
|
10736
10736
|
}), Object.defineProperty(x, "prepareEmailHtmlForEditor", {
|
|
10737
10737
|
enumerable: !0,
|
|
10738
10738
|
get: function() {
|
|
10739
|
-
return
|
|
10739
|
+
return im;
|
|
10740
10740
|
}
|
|
10741
10741
|
}), Object.defineProperty(x, "prepareEvent", {
|
|
10742
10742
|
enumerable: !0,
|
|
10743
10743
|
get: function() {
|
|
10744
|
-
return
|
|
10744
|
+
return xd;
|
|
10745
10745
|
}
|
|
10746
10746
|
}), Object.defineProperty(x, "prepareHTML", {
|
|
10747
10747
|
enumerable: !0,
|
|
10748
10748
|
get: function() {
|
|
10749
|
-
return
|
|
10749
|
+
return Sm;
|
|
10750
10750
|
}
|
|
10751
10751
|
}), Object.defineProperty(x, "promoApi", {
|
|
10752
10752
|
enumerable: !0,
|
|
@@ -10756,7 +10756,7 @@ ${i.join("")}
|
|
|
10756
10756
|
}), Object.defineProperty(x, "promoteNewEmailAfterSave", {
|
|
10757
10757
|
enumerable: !0,
|
|
10758
10758
|
get: function() {
|
|
10759
|
-
return
|
|
10759
|
+
return Mp;
|
|
10760
10760
|
}
|
|
10761
10761
|
}), Object.defineProperty(x, "proxyApi", {
|
|
10762
10762
|
enumerable: !0,
|
|
@@ -10776,17 +10776,17 @@ ${i.join("")}
|
|
|
10776
10776
|
}), Object.defineProperty(x, "refetchIfActive", {
|
|
10777
10777
|
enumerable: !0,
|
|
10778
10778
|
get: function() {
|
|
10779
|
-
return
|
|
10779
|
+
return Gu;
|
|
10780
10780
|
}
|
|
10781
10781
|
}), Object.defineProperty(x, "registerDefaultFileProxy", {
|
|
10782
10782
|
enumerable: !0,
|
|
10783
10783
|
get: function() {
|
|
10784
|
-
return
|
|
10784
|
+
return vd;
|
|
10785
10785
|
}
|
|
10786
10786
|
}), Object.defineProperty(x, "removeEmailFromList", {
|
|
10787
10787
|
enumerable: !0,
|
|
10788
10788
|
get: function() {
|
|
10789
|
-
return
|
|
10789
|
+
return Hp;
|
|
10790
10790
|
}
|
|
10791
10791
|
}), Object.defineProperty(x, "replaceImagesInDocument", {
|
|
10792
10792
|
enumerable: !0,
|
|
@@ -10796,27 +10796,27 @@ ${i.join("")}
|
|
|
10796
10796
|
}), Object.defineProperty(x, "resetElementHistorySlice", {
|
|
10797
10797
|
enumerable: !0,
|
|
10798
10798
|
get: function() {
|
|
10799
|
-
return
|
|
10799
|
+
return ed;
|
|
10800
10800
|
}
|
|
10801
10801
|
}), Object.defineProperty(x, "resetElementsList", {
|
|
10802
10802
|
enumerable: !0,
|
|
10803
10803
|
get: function() {
|
|
10804
|
-
return
|
|
10804
|
+
return $p;
|
|
10805
10805
|
}
|
|
10806
10806
|
}), Object.defineProperty(x, "resetNewBlockSlice", {
|
|
10807
10807
|
enumerable: !0,
|
|
10808
10808
|
get: function() {
|
|
10809
|
-
return
|
|
10809
|
+
return Up;
|
|
10810
10810
|
}
|
|
10811
10811
|
}), Object.defineProperty(x, "resetNewEmailSlice", {
|
|
10812
10812
|
enumerable: !0,
|
|
10813
10813
|
get: function() {
|
|
10814
|
-
return
|
|
10814
|
+
return Tp;
|
|
10815
10815
|
}
|
|
10816
10816
|
}), Object.defineProperty(x, "resetPagesAndTotal", {
|
|
10817
10817
|
enumerable: !0,
|
|
10818
10818
|
get: function() {
|
|
10819
|
-
return
|
|
10819
|
+
return Bp;
|
|
10820
10820
|
}
|
|
10821
10821
|
}), Object.defineProperty(x, "resolveStandaloneKey", {
|
|
10822
10822
|
enumerable: !0,
|
|
@@ -10826,7 +10826,7 @@ ${i.join("")}
|
|
|
10826
10826
|
}), Object.defineProperty(x, "resolveTemplateDirectivesConfig", {
|
|
10827
10827
|
enumerable: !0,
|
|
10828
10828
|
get: function() {
|
|
10829
|
-
return
|
|
10829
|
+
return Xd;
|
|
10830
10830
|
}
|
|
10831
10831
|
}), Object.defineProperty(x, "sanitizeFileName", {
|
|
10832
10832
|
enumerable: !0,
|
|
@@ -10841,172 +10841,172 @@ ${i.join("")}
|
|
|
10841
10841
|
}), Object.defineProperty(x, "selectBlocksTotal", {
|
|
10842
10842
|
enumerable: !0,
|
|
10843
10843
|
get: function() {
|
|
10844
|
-
return
|
|
10844
|
+
return Jp;
|
|
10845
10845
|
}
|
|
10846
10846
|
}), Object.defineProperty(x, "selectCustomFolders", {
|
|
10847
10847
|
enumerable: !0,
|
|
10848
10848
|
get: function() {
|
|
10849
|
-
return
|
|
10849
|
+
return Wp;
|
|
10850
10850
|
}
|
|
10851
10851
|
}), Object.defineProperty(x, "selectElementHistoryTotalPages", {
|
|
10852
10852
|
enumerable: !0,
|
|
10853
10853
|
get: function() {
|
|
10854
|
-
return
|
|
10854
|
+
return td;
|
|
10855
10855
|
}
|
|
10856
10856
|
}), Object.defineProperty(x, "selectElementsList", {
|
|
10857
10857
|
enumerable: !0,
|
|
10858
10858
|
get: function() {
|
|
10859
|
-
return
|
|
10859
|
+
return Gp;
|
|
10860
10860
|
}
|
|
10861
10861
|
}), Object.defineProperty(x, "selectElementsTrashList", {
|
|
10862
10862
|
enumerable: !0,
|
|
10863
10863
|
get: function() {
|
|
10864
|
-
return
|
|
10864
|
+
return Xp;
|
|
10865
10865
|
}
|
|
10866
10866
|
}), Object.defineProperty(x, "selectElementsView", {
|
|
10867
10867
|
enumerable: !0,
|
|
10868
10868
|
get: function() {
|
|
10869
|
-
return
|
|
10869
|
+
return Vp;
|
|
10870
10870
|
}
|
|
10871
10871
|
}), Object.defineProperty(x, "selectEmailsTotal", {
|
|
10872
10872
|
enumerable: !0,
|
|
10873
10873
|
get: function() {
|
|
10874
|
-
return
|
|
10874
|
+
return Qp;
|
|
10875
10875
|
}
|
|
10876
10876
|
}), Object.defineProperty(x, "selectEmailsTrashTotal", {
|
|
10877
10877
|
enumerable: !0,
|
|
10878
10878
|
get: function() {
|
|
10879
|
-
return
|
|
10879
|
+
return Yp;
|
|
10880
10880
|
}
|
|
10881
10881
|
}), Object.defineProperty(x, "selectHistoryData", {
|
|
10882
10882
|
enumerable: !0,
|
|
10883
10883
|
get: function() {
|
|
10884
|
-
return
|
|
10884
|
+
return rd;
|
|
10885
10885
|
}
|
|
10886
10886
|
}), Object.defineProperty(x, "selectNewBlockHasChanged", {
|
|
10887
10887
|
enumerable: !0,
|
|
10888
10888
|
get: function() {
|
|
10889
|
-
return
|
|
10889
|
+
return zp;
|
|
10890
10890
|
}
|
|
10891
10891
|
}), Object.defineProperty(x, "selectNewEmailAppliedShowToken", {
|
|
10892
10892
|
enumerable: !0,
|
|
10893
10893
|
get: function() {
|
|
10894
|
-
return
|
|
10894
|
+
return Ip;
|
|
10895
10895
|
}
|
|
10896
10896
|
}), Object.defineProperty(x, "selectNewEmailHasChanged", {
|
|
10897
10897
|
enumerable: !0,
|
|
10898
10898
|
get: function() {
|
|
10899
|
-
return
|
|
10899
|
+
return Dp;
|
|
10900
10900
|
}
|
|
10901
10901
|
}), Object.defineProperty(x, "selectNewEmailSettings", {
|
|
10902
10902
|
enumerable: !0,
|
|
10903
10903
|
get: function() {
|
|
10904
|
-
return
|
|
10904
|
+
return Rp;
|
|
10905
10905
|
}
|
|
10906
10906
|
}), Object.defineProperty(x, "selectParentEmailBlocksTotal", {
|
|
10907
10907
|
enumerable: !0,
|
|
10908
10908
|
get: function() {
|
|
10909
|
-
return
|
|
10909
|
+
return Kp;
|
|
10910
10910
|
}
|
|
10911
10911
|
}), Object.defineProperty(x, "selectTemplateBlocksTotal", {
|
|
10912
10912
|
enumerable: !0,
|
|
10913
10913
|
get: function() {
|
|
10914
|
-
return
|
|
10914
|
+
return Zp;
|
|
10915
10915
|
}
|
|
10916
10916
|
}), Object.defineProperty(x, "setNewBlockDescription", {
|
|
10917
10917
|
enumerable: !0,
|
|
10918
10918
|
get: function() {
|
|
10919
|
-
return
|
|
10919
|
+
return Lp;
|
|
10920
10920
|
}
|
|
10921
10921
|
}), Object.defineProperty(x, "setNewBlockTags", {
|
|
10922
10922
|
enumerable: !0,
|
|
10923
10923
|
get: function() {
|
|
10924
|
-
return
|
|
10924
|
+
return Fp;
|
|
10925
10925
|
}
|
|
10926
10926
|
}), Object.defineProperty(x, "setNewEmailAll", {
|
|
10927
10927
|
enumerable: !0,
|
|
10928
10928
|
get: function() {
|
|
10929
|
-
return
|
|
10929
|
+
return hp;
|
|
10930
10930
|
}
|
|
10931
10931
|
}), Object.defineProperty(x, "setNewEmailDescription", {
|
|
10932
10932
|
enumerable: !0,
|
|
10933
10933
|
get: function() {
|
|
10934
|
-
return
|
|
10934
|
+
return yp;
|
|
10935
10935
|
}
|
|
10936
10936
|
}), Object.defineProperty(x, "setNewEmailHtml", {
|
|
10937
10937
|
enumerable: !0,
|
|
10938
10938
|
get: function() {
|
|
10939
|
-
return
|
|
10939
|
+
return Ep;
|
|
10940
10940
|
}
|
|
10941
10941
|
}), Object.defineProperty(x, "setNewEmailIsAmp", {
|
|
10942
10942
|
enumerable: !0,
|
|
10943
10943
|
get: function() {
|
|
10944
|
-
return
|
|
10944
|
+
return kp;
|
|
10945
10945
|
}
|
|
10946
10946
|
}), Object.defineProperty(x, "setNewEmailIsTemplate", {
|
|
10947
10947
|
enumerable: !0,
|
|
10948
10948
|
get: function() {
|
|
10949
|
-
return
|
|
10949
|
+
return _p;
|
|
10950
10950
|
}
|
|
10951
10951
|
}), Object.defineProperty(x, "setNewEmailMeta", {
|
|
10952
10952
|
enumerable: !0,
|
|
10953
10953
|
get: function() {
|
|
10954
|
-
return
|
|
10954
|
+
return Np;
|
|
10955
10955
|
}
|
|
10956
10956
|
}), Object.defineProperty(x, "setNewEmailPreheader", {
|
|
10957
10957
|
enumerable: !0,
|
|
10958
10958
|
get: function() {
|
|
10959
|
-
return
|
|
10959
|
+
return bp;
|
|
10960
10960
|
}
|
|
10961
10961
|
}), Object.defineProperty(x, "setNewEmailProject", {
|
|
10962
10962
|
enumerable: !0,
|
|
10963
10963
|
get: function() {
|
|
10964
|
-
return
|
|
10964
|
+
return jp;
|
|
10965
10965
|
}
|
|
10966
10966
|
}), Object.defineProperty(x, "setNewEmailSubject", {
|
|
10967
10967
|
enumerable: !0,
|
|
10968
10968
|
get: function() {
|
|
10969
|
-
return
|
|
10969
|
+
return vp;
|
|
10970
10970
|
}
|
|
10971
10971
|
}), Object.defineProperty(x, "setNewEmailTags", {
|
|
10972
10972
|
enumerable: !0,
|
|
10973
10973
|
get: function() {
|
|
10974
|
-
return
|
|
10974
|
+
return xp;
|
|
10975
10975
|
}
|
|
10976
10976
|
}), Object.defineProperty(x, "setNewEmailTitle", {
|
|
10977
10977
|
enumerable: !0,
|
|
10978
10978
|
get: function() {
|
|
10979
|
-
return
|
|
10979
|
+
return gp;
|
|
10980
10980
|
}
|
|
10981
10981
|
}), Object.defineProperty(x, "setNewEmailUtmCampaign", {
|
|
10982
10982
|
enumerable: !0,
|
|
10983
10983
|
get: function() {
|
|
10984
|
-
return
|
|
10984
|
+
return Cp;
|
|
10985
10985
|
}
|
|
10986
10986
|
}), Object.defineProperty(x, "setNewEmailUtmContent", {
|
|
10987
10987
|
enumerable: !0,
|
|
10988
10988
|
get: function() {
|
|
10989
|
-
return
|
|
10989
|
+
return Sp;
|
|
10990
10990
|
}
|
|
10991
10991
|
}), Object.defineProperty(x, "setNewEmailUtmMedium", {
|
|
10992
10992
|
enumerable: !0,
|
|
10993
10993
|
get: function() {
|
|
10994
|
-
return
|
|
10994
|
+
return Ap;
|
|
10995
10995
|
}
|
|
10996
10996
|
}), Object.defineProperty(x, "setNewEmailUtmSource", {
|
|
10997
10997
|
enumerable: !0,
|
|
10998
10998
|
get: function() {
|
|
10999
|
-
return
|
|
10999
|
+
return wp;
|
|
11000
11000
|
}
|
|
11001
11001
|
}), Object.defineProperty(x, "setNewEmailUtmTerm", {
|
|
11002
11002
|
enumerable: !0,
|
|
11003
11003
|
get: function() {
|
|
11004
|
-
return
|
|
11004
|
+
return Pp;
|
|
11005
11005
|
}
|
|
11006
11006
|
}), Object.defineProperty(x, "setNewIsInited", {
|
|
11007
11007
|
enumerable: !0,
|
|
11008
11008
|
get: function() {
|
|
11009
|
-
return
|
|
11009
|
+
return Op;
|
|
11010
11010
|
}
|
|
11011
11011
|
}), Object.defineProperty(x, "src_default", {
|
|
11012
11012
|
enumerable: !0,
|
|
@@ -11016,12 +11016,12 @@ ${i.join("")}
|
|
|
11016
11016
|
}), Object.defineProperty(x, "syncProjectFontsToDocument", {
|
|
11017
11017
|
enumerable: !0,
|
|
11018
11018
|
get: function() {
|
|
11019
|
-
return
|
|
11019
|
+
return ml;
|
|
11020
11020
|
}
|
|
11021
11021
|
}), Object.defineProperty(x, "syncStandaloneProjectState", {
|
|
11022
11022
|
enumerable: !0,
|
|
11023
11023
|
get: function() {
|
|
11024
|
-
return
|
|
11024
|
+
return fd;
|
|
11025
11025
|
}
|
|
11026
11026
|
}), Object.defineProperty(x, "throwIfAborted", {
|
|
11027
11027
|
enumerable: !0,
|
|
@@ -11036,17 +11036,17 @@ ${i.join("")}
|
|
|
11036
11036
|
}), Object.defineProperty(x, "toProjectFontEntries", {
|
|
11037
11037
|
enumerable: !0,
|
|
11038
11038
|
get: function() {
|
|
11039
|
-
return
|
|
11039
|
+
return sl;
|
|
11040
11040
|
}
|
|
11041
11041
|
}), Object.defineProperty(x, "toProjectStylesProjectId", {
|
|
11042
11042
|
enumerable: !0,
|
|
11043
11043
|
get: function() {
|
|
11044
|
-
return
|
|
11044
|
+
return qc;
|
|
11045
11045
|
}
|
|
11046
11046
|
}), Object.defineProperty(x, "toggleElementsView", {
|
|
11047
11047
|
enumerable: !0,
|
|
11048
11048
|
get: function() {
|
|
11049
|
-
return
|
|
11049
|
+
return qp;
|
|
11050
11050
|
}
|
|
11051
11051
|
}), Object.defineProperty(x, "tokenApi", {
|
|
11052
11052
|
enumerable: !0,
|
|
@@ -11056,127 +11056,127 @@ ${i.join("")}
|
|
|
11056
11056
|
}), Object.defineProperty(x, "useAddTemplateMutation", {
|
|
11057
11057
|
enumerable: !0,
|
|
11058
11058
|
get: function() {
|
|
11059
|
-
return
|
|
11059
|
+
return hu;
|
|
11060
11060
|
}
|
|
11061
11061
|
}), Object.defineProperty(x, "useChangePasswordMutation", {
|
|
11062
11062
|
enumerable: !0,
|
|
11063
11063
|
get: function() {
|
|
11064
|
-
return
|
|
11064
|
+
return fp;
|
|
11065
11065
|
}
|
|
11066
11066
|
}), Object.defineProperty(x, "useCreateBroadcastMutation", {
|
|
11067
11067
|
enumerable: !0,
|
|
11068
11068
|
get: function() {
|
|
11069
|
-
return
|
|
11069
|
+
return Qu;
|
|
11070
11070
|
}
|
|
11071
11071
|
}), Object.defineProperty(x, "useCreateCampaignMutation", {
|
|
11072
11072
|
enumerable: !0,
|
|
11073
11073
|
get: function() {
|
|
11074
|
-
return
|
|
11074
|
+
return qu;
|
|
11075
11075
|
}
|
|
11076
11076
|
}), Object.defineProperty(x, "useCreateCampaignMutation$1", {
|
|
11077
11077
|
enumerable: !0,
|
|
11078
11078
|
get: function() {
|
|
11079
|
-
return
|
|
11079
|
+
return Lu;
|
|
11080
11080
|
}
|
|
11081
11081
|
}), Object.defineProperty(x, "useCreateCampaignMutation$2", {
|
|
11082
11082
|
enumerable: !0,
|
|
11083
11083
|
get: function() {
|
|
11084
|
-
return
|
|
11084
|
+
return Iu;
|
|
11085
11085
|
}
|
|
11086
11086
|
}), Object.defineProperty(x, "useCreateCampaignMutation$3", {
|
|
11087
11087
|
enumerable: !0,
|
|
11088
11088
|
get: function() {
|
|
11089
|
-
return
|
|
11089
|
+
return ju;
|
|
11090
11090
|
}
|
|
11091
11091
|
}), Object.defineProperty(x, "useCreateCampaignMutation$4", {
|
|
11092
11092
|
enumerable: !0,
|
|
11093
11093
|
get: function() {
|
|
11094
|
-
return
|
|
11094
|
+
return ku;
|
|
11095
11095
|
}
|
|
11096
11096
|
}), Object.defineProperty(x, "useCreateCampaignMutation$5", {
|
|
11097
11097
|
enumerable: !0,
|
|
11098
11098
|
get: function() {
|
|
11099
|
-
return
|
|
11099
|
+
return wu;
|
|
11100
11100
|
}
|
|
11101
11101
|
}), Object.defineProperty(x, "useCreateCampaignMutation$6", {
|
|
11102
11102
|
enumerable: !0,
|
|
11103
11103
|
get: function() {
|
|
11104
|
-
return
|
|
11104
|
+
return _u;
|
|
11105
11105
|
}
|
|
11106
11106
|
}), Object.defineProperty(x, "useCreateConvertJobMutation", {
|
|
11107
11107
|
enumerable: !0,
|
|
11108
11108
|
get: function() {
|
|
11109
|
-
return
|
|
11109
|
+
return np;
|
|
11110
11110
|
}
|
|
11111
11111
|
}), Object.defineProperty(x, "useCreateDraftMutation", {
|
|
11112
11112
|
enumerable: !0,
|
|
11113
11113
|
get: function() {
|
|
11114
|
-
return
|
|
11114
|
+
return mu;
|
|
11115
11115
|
}
|
|
11116
11116
|
}), Object.defineProperty(x, "useCreateEmailMessageMutation", {
|
|
11117
11117
|
enumerable: !0,
|
|
11118
11118
|
get: function() {
|
|
11119
|
-
return
|
|
11119
|
+
return du;
|
|
11120
11120
|
}
|
|
11121
11121
|
}), Object.defineProperty(x, "useCreateEmailMutation", {
|
|
11122
11122
|
enumerable: !0,
|
|
11123
11123
|
get: function() {
|
|
11124
|
-
return
|
|
11124
|
+
return Pu;
|
|
11125
11125
|
}
|
|
11126
11126
|
}), Object.defineProperty(x, "useCreateEmailMutation$1", {
|
|
11127
11127
|
enumerable: !0,
|
|
11128
11128
|
get: function() {
|
|
11129
|
-
return
|
|
11129
|
+
return Su;
|
|
11130
11130
|
}
|
|
11131
11131
|
}), Object.defineProperty(x, "useCreateMailingMutation", {
|
|
11132
11132
|
enumerable: !0,
|
|
11133
11133
|
get: function() {
|
|
11134
|
-
return
|
|
11134
|
+
return fu;
|
|
11135
11135
|
}
|
|
11136
11136
|
}), Object.defineProperty(x, "useCreateMessageMutation", {
|
|
11137
11137
|
enumerable: !0,
|
|
11138
11138
|
get: function() {
|
|
11139
|
-
return
|
|
11139
|
+
return vu;
|
|
11140
11140
|
}
|
|
11141
11141
|
}), Object.defineProperty(x, "useCreateNewsletterMutation", {
|
|
11142
11142
|
enumerable: !0,
|
|
11143
11143
|
get: function() {
|
|
11144
|
-
return
|
|
11144
|
+
return zu;
|
|
11145
11145
|
}
|
|
11146
11146
|
}), Object.defineProperty(x, "useDeleteTemporaryMailMutation", {
|
|
11147
11147
|
enumerable: !0,
|
|
11148
11148
|
get: function() {
|
|
11149
|
-
return
|
|
11149
|
+
return uu;
|
|
11150
11150
|
}
|
|
11151
11151
|
}), Object.defineProperty(x, "useEditImagesMutation", {
|
|
11152
11152
|
enumerable: !0,
|
|
11153
11153
|
get: function() {
|
|
11154
|
-
return
|
|
11154
|
+
return ou;
|
|
11155
11155
|
}
|
|
11156
11156
|
}), Object.defineProperty(x, "useEditLinksMutation", {
|
|
11157
11157
|
enumerable: !0,
|
|
11158
11158
|
get: function() {
|
|
11159
|
-
return
|
|
11159
|
+
return au;
|
|
11160
11160
|
}
|
|
11161
11161
|
}), Object.defineProperty(x, "useEditSpamMutation", {
|
|
11162
11162
|
enumerable: !0,
|
|
11163
11163
|
get: function() {
|
|
11164
|
-
return
|
|
11164
|
+
return su;
|
|
11165
11165
|
}
|
|
11166
11166
|
}), Object.defineProperty(x, "useGenerateHtmlToPdfMutation", {
|
|
11167
11167
|
enumerable: !0,
|
|
11168
11168
|
get: function() {
|
|
11169
|
-
return
|
|
11169
|
+
return rp;
|
|
11170
11170
|
}
|
|
11171
11171
|
}), Object.defineProperty(x, "useGetAiGenerateStatusMutation", {
|
|
11172
11172
|
enumerable: !0,
|
|
11173
11173
|
get: function() {
|
|
11174
|
-
return
|
|
11174
|
+
return Ju;
|
|
11175
11175
|
}
|
|
11176
11176
|
}), Object.defineProperty(x, "useGetCheckoutUrlMutation", {
|
|
11177
11177
|
enumerable: !0,
|
|
11178
11178
|
get: function() {
|
|
11179
|
-
return
|
|
11179
|
+
return sp;
|
|
11180
11180
|
}
|
|
11181
11181
|
}), Object.defineProperty(x, "useGetDialogQuery", {
|
|
11182
11182
|
enumerable: !0,
|
|
@@ -11186,37 +11186,42 @@ ${i.join("")}
|
|
|
11186
11186
|
}), Object.defineProperty(x, "useGetInvoiceRequestMutation", {
|
|
11187
11187
|
enumerable: !0,
|
|
11188
11188
|
get: function() {
|
|
11189
|
-
return
|
|
11189
|
+
return ep;
|
|
11190
|
+
}
|
|
11191
|
+
}), Object.defineProperty(x, "useGetLocalesQuery", {
|
|
11192
|
+
enumerable: !0,
|
|
11193
|
+
get: function() {
|
|
11194
|
+
return Mc;
|
|
11190
11195
|
}
|
|
11191
11196
|
}), Object.defineProperty(x, "useGetNotificationsQuery", {
|
|
11192
11197
|
enumerable: !0,
|
|
11193
11198
|
get: function() {
|
|
11194
|
-
return
|
|
11199
|
+
return ap;
|
|
11195
11200
|
}
|
|
11196
11201
|
}), Object.defineProperty(x, "useGetProjectStylesQuery", {
|
|
11197
11202
|
enumerable: !0,
|
|
11198
11203
|
get: function() {
|
|
11199
|
-
return
|
|
11204
|
+
return wl;
|
|
11200
11205
|
}
|
|
11201
11206
|
}), Object.defineProperty(x, "useLazyClearAiChatQuery", {
|
|
11202
11207
|
enumerable: !0,
|
|
11203
11208
|
get: function() {
|
|
11204
|
-
return
|
|
11209
|
+
return Yu;
|
|
11205
11210
|
}
|
|
11206
11211
|
}), Object.defineProperty(x, "useLazyGetCanselRecurrenceQuery", {
|
|
11207
11212
|
enumerable: !0,
|
|
11208
11213
|
get: function() {
|
|
11209
|
-
return
|
|
11214
|
+
return lp;
|
|
11210
11215
|
}
|
|
11211
11216
|
}), Object.defineProperty(x, "useLazyGetConfirmationMailQuery", {
|
|
11212
11217
|
enumerable: !0,
|
|
11213
11218
|
get: function() {
|
|
11214
|
-
return
|
|
11219
|
+
return cp;
|
|
11215
11220
|
}
|
|
11216
11221
|
}), Object.defineProperty(x, "useLazyGetConvertJobStatusQuery", {
|
|
11217
11222
|
enumerable: !0,
|
|
11218
11223
|
get: function() {
|
|
11219
|
-
return
|
|
11224
|
+
return ip;
|
|
11220
11225
|
}
|
|
11221
11226
|
}), Object.defineProperty(x, "useLazyGetDialogQuery", {
|
|
11222
11227
|
enumerable: !0,
|
|
@@ -11231,47 +11236,47 @@ ${i.join("")}
|
|
|
11231
11236
|
}), Object.defineProperty(x, "useLazyGetGeneratedContentQuery", {
|
|
11232
11237
|
enumerable: !0,
|
|
11233
11238
|
get: function() {
|
|
11234
|
-
return
|
|
11239
|
+
return Xu;
|
|
11235
11240
|
}
|
|
11236
11241
|
}), Object.defineProperty(x, "useLazyGetLocaleQuery", {
|
|
11237
11242
|
enumerable: !0,
|
|
11238
11243
|
get: function() {
|
|
11239
|
-
return
|
|
11244
|
+
return Rc;
|
|
11240
11245
|
}
|
|
11241
11246
|
}), Object.defineProperty(x, "useLazyGetLocalesQuery", {
|
|
11242
11247
|
enumerable: !0,
|
|
11243
11248
|
get: function() {
|
|
11244
|
-
return
|
|
11249
|
+
return Ic;
|
|
11245
11250
|
}
|
|
11246
11251
|
}), Object.defineProperty(x, "useLazyGetRecurrenceQuery", {
|
|
11247
11252
|
enumerable: !0,
|
|
11248
11253
|
get: function() {
|
|
11249
|
-
return
|
|
11254
|
+
return up;
|
|
11250
11255
|
}
|
|
11251
11256
|
}), Object.defineProperty(x, "useLogoutMutation", {
|
|
11252
11257
|
enumerable: !0,
|
|
11253
11258
|
get: function() {
|
|
11254
|
-
return
|
|
11259
|
+
return dp;
|
|
11255
11260
|
}
|
|
11256
11261
|
}), Object.defineProperty(x, "useMakeTemporaryMailForPngMutation", {
|
|
11257
11262
|
enumerable: !0,
|
|
11258
11263
|
get: function() {
|
|
11259
|
-
return
|
|
11264
|
+
return lu;
|
|
11260
11265
|
}
|
|
11261
11266
|
}), Object.defineProperty(x, "useNotificationShownMutation", {
|
|
11262
11267
|
enumerable: !0,
|
|
11263
11268
|
get: function() {
|
|
11264
|
-
return
|
|
11269
|
+
return op;
|
|
11265
11270
|
}
|
|
11266
11271
|
}), Object.defineProperty(x, "usePostDataByWebHookMutation", {
|
|
11267
11272
|
enumerable: !0,
|
|
11268
11273
|
get: function() {
|
|
11269
|
-
return
|
|
11274
|
+
return pu;
|
|
11270
11275
|
}
|
|
11271
11276
|
}), Object.defineProperty(x, "useSendLivePreviewMutation", {
|
|
11272
11277
|
enumerable: !0,
|
|
11273
11278
|
get: function() {
|
|
11274
|
-
return
|
|
11279
|
+
return Fc;
|
|
11275
11280
|
}
|
|
11276
11281
|
}), Object.defineProperty(x, "useSendMessageMutation", {
|
|
11277
11282
|
enumerable: !0,
|
|
@@ -11281,17 +11286,17 @@ ${i.join("")}
|
|
|
11281
11286
|
}), Object.defineProperty(x, "useSendShortLinkMutation", {
|
|
11282
11287
|
enumerable: !0,
|
|
11283
11288
|
get: function() {
|
|
11284
|
-
return
|
|
11289
|
+
return Uc;
|
|
11285
11290
|
}
|
|
11286
11291
|
}), Object.defineProperty(x, "useSendTestEmailMutation", {
|
|
11287
11292
|
enumerable: !0,
|
|
11288
11293
|
get: function() {
|
|
11289
|
-
return
|
|
11294
|
+
return Lc;
|
|
11290
11295
|
}
|
|
11291
11296
|
}), Object.defineProperty(x, "useUploadImageMutation", {
|
|
11292
11297
|
enumerable: !0,
|
|
11293
11298
|
get: function() {
|
|
11294
|
-
return
|
|
11299
|
+
return Dc;
|
|
11295
11300
|
}
|
|
11296
11301
|
}), Object.defineProperty(x, "zipEntryToBlob", {
|
|
11297
11302
|
enumerable: !0,
|