@emailmaker/emailmaker 1.1.53 → 1.1.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{emailmaker-core.2cbaea2b.js → emailmaker-core.80c7793f.js} +6 -6
- package/emailmaker-esm.js +298 -338
- package/emailmaker.js +62 -147
- package/iframe/js/amp.V09Q6hy6.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.B-wCbIo7.js +1 -1
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -7
- package/runtime/THIRD_PARTY_LICENSES.txt +0 -235
- package/runtime/index.js +0 -2
- package/runtime/package.json +0 -6
- package/runtime/plugin-dev-manifest.json +0 -4
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/100f1a1f.js +3150 -0
- package/static/core/{7e999d72.js → 116ebe97.js} +13 -13
- package/static/core/{3723b7392.js → 17f94ad52.js} +2 -2
- package/static/core/{cc1487fb.js → 270ea1f0.js} +3 -3
- package/static/core/{f903e0b02.js → 3b0afd352.js} +17 -17
- package/static/core/{57d41489.js → 41907e94.js} +334 -323
- package/static/core/{9f0a0813.js → 478adc67.js} +26 -8
- package/static/core/{b3475019.js → 4de323c6.js} +3 -3
- package/static/core/{51d702ff2.js → 54db7dc92.js} +3 -3
- package/static/core/{97d77f4b.js → 5761661e.js} +5 -5
- package/static/core/{704587a1.js → 60b14e0c.js} +17 -17
- package/static/core/{7f43dc55.js → 6bc4ff83.js} +10 -10
- package/static/core/{4a0c3723.js → 6dcd0dc9.js} +25 -25
- package/static/core/{9e5fd9cd.js → 7515f9852.js} +1 -1
- package/static/core/{d745f656.js → 76f8b642.js} +1019 -1032
- package/static/core/{1ce9dbcd2.js → 86a167002.js} +4 -4
- package/static/core/{54619353.js → 86ef0d53.js} +7 -7
- package/static/core/{10ac6936.js → 87d6fa75.js} +5 -5
- package/static/core/8a4486b0.js +761 -0
- package/static/core/{83b6ffb1.js → 8c887aba.js} +12606 -12580
- package/static/core/{4f1afec5.js → 916b241e.js} +247 -250
- package/static/core/{c4f07357.js → 95fcea69.js} +5 -5
- package/static/core/{956da3cd.js → 99b9545a.js} +9096 -9074
- package/static/core/{b6536443.js → 9be94d262.js} +1 -1
- package/static/core/{d858c4102.js → aa8e5c1c2.js} +3 -3
- package/static/core/{51134c092.js → afd04ca42.js} +4 -4
- package/static/core/{61a44678.js → b654a72e.js} +6491 -4930
- package/static/core/{c46c4a1e2.js → b6cc5b522.js} +4 -4
- package/static/core/c6089a51.js +466 -0
- package/static/core/{927ea89f2.js → d7506406.js} +1 -1
- package/static/core/{d6b9ee5f2.js → d76199d02.js} +15 -15
- package/static/core/{abb0338c.js → d89e1015.js} +90 -90
- package/static/core/{b768aab6.js → e57264b8.js} +3 -3
- package/static/core/{75e0e02f.js → fa39fd23.js} +26 -26
- package/static/core/{898acf3a.js → fd0c6ce7.js} +8 -8
- package/static/core/{4a151a86.js → ffb0449a.js} +42 -42
- package/static/core/{c79a7344.js → ffd61885.js} +5 -5
- package/static/esm/{1ce2bc32.js → 8b0bebd1.js} +55 -74
- package/static/esm/{c9e541a3.js → aec29e9e.js} +1 -1
- package/two_step_headless_plugin.html +1 -1
- package/runtime/prop-types/index.js +0 -4
- package/runtime/react-router-dom/index.js +0 -2
- package/static/core/342d650a.js +0 -467
- package/static/core/3bff559e.js +0 -3097
- package/static/core/9e7e9aa52.js +0 -602
- package/static/runtime/dom-export-CHgQ7Ws9.js +0 -8069
- package/static/runtime/prop-types-p_yYKrF7.js +0 -47
- /package/iframe/{iframe-eblock.2cbaea2b.html → iframe-eblock.80c7793f.html} +0 -0
- /package/iframe/{iframe.2cbaea2b.html → iframe.80c7793f.html} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/41907e94.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/16c2710d.js",
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
6
|
+
"static/core/b654a72e.js",
|
|
7
|
+
"static/core/270ea1f0.js",
|
|
8
8
|
"static/core/51fd08fd.js",
|
|
9
|
-
"static/core/
|
|
10
|
-
], function(mt, L,
|
|
11
|
-
const Z = mt("./16c2710d.js"), O = mt("./
|
|
9
|
+
"static/core/4de323c6.js"
|
|
10
|
+
], function(mt, L, Vp) {
|
|
11
|
+
const Z = mt("./16c2710d.js"), O = mt("./b654a72e.js"), Ie = mt("./270ea1f0.js"), Kt = mt("./51fd08fd.js"), er = mt("./4de323c6.js");
|
|
12
12
|
var rs = class {
|
|
13
13
|
_plugins = new Map();
|
|
14
14
|
_listeners = new Map();
|
|
@@ -3367,7 +3367,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3367
3367
|
extraQuery: { url: encodeURIComponent(t) }
|
|
3368
3368
|
}));
|
|
3369
3369
|
} }) })
|
|
3370
|
-
}), { useGetFileQuery:
|
|
3370
|
+
}), { useGetFileQuery: Zp, useLazyGetFileQuery: js } = Rt, Nt = O.createApi({
|
|
3371
3371
|
reducerPath: "promoApi",
|
|
3372
3372
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/promo/v1/" }),
|
|
3373
3373
|
endpoints: (e) => ({
|
|
@@ -3379,7 +3379,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3379
3379
|
return O.getClient(r).promo.get_code_info_list({ code: t });
|
|
3380
3380
|
} })
|
|
3381
3381
|
})
|
|
3382
|
-
}), { useCheckPromoMutation:
|
|
3382
|
+
}), { useCheckPromoMutation: Yp, useGetPromoInfoQuery: Jp } = Nt, li = "LOCALES", it = O.createApi({
|
|
3383
3383
|
reducerPath: "localesApi",
|
|
3384
3384
|
tagTypes: [li],
|
|
3385
3385
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://app.emailmaker.ru/api/wp-json/translations/v1" }),
|
|
@@ -3414,7 +3414,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3414
3414
|
}]
|
|
3415
3415
|
})
|
|
3416
3416
|
})
|
|
3417
|
-
}), { useGetLocalesQuery:
|
|
3417
|
+
}), { useGetLocalesQuery: Xp, useGetLocaleQuery: Kp, useLazyGetLocaleQuery: Ds, useLazyGetLocalesQuery: Ls } = it, It = O.createApi({
|
|
3418
3418
|
reducerPath: "saveFileApi",
|
|
3419
3419
|
tagTypes: ["Images"],
|
|
3420
3420
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/wp-json/save-file/v1/" }),
|
|
@@ -3445,7 +3445,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3445
3445
|
id: n
|
|
3446
3446
|
}]
|
|
3447
3447
|
}) })
|
|
3448
|
-
}), { useGetEmailRawQuery:
|
|
3448
|
+
}), { useGetEmailRawQuery: ef } = Mt, Cn = "Optimise", qs = "usage_limit_exceeded", Hs = async (e, t, r) => {
|
|
3449
3449
|
const n = await O.fetchBaseQueryApp({ baseUrl: `${O.getClient(t).baseUrl.replaceAll(/[\\/]$/g, "")}/optimization/v1/validate` })(e, t, r);
|
|
3450
3450
|
if (n.error) {
|
|
3451
3451
|
let i = n.error;
|
|
@@ -3531,7 +3531,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3531
3531
|
method: "POST",
|
|
3532
3532
|
body: t
|
|
3533
3533
|
}) }) })
|
|
3534
|
-
}), { useValidateYandexTokenMutation:
|
|
3534
|
+
}), { useValidateYandexTokenMutation: tf } = ar, or = O.createApi({
|
|
3535
3535
|
reducerPath: "elamaAuthApi",
|
|
3536
3536
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
|
|
3537
3537
|
endpoints: (e) => ({ validateElamaCode: e.mutation({ query: (t) => ({
|
|
@@ -3539,7 +3539,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3539
3539
|
method: "POST",
|
|
3540
3540
|
body: t
|
|
3541
3541
|
}) }) })
|
|
3542
|
-
}), { useValidateElamaCodeMutation:
|
|
3542
|
+
}), { useValidateElamaCodeMutation: rf } = or, sr = O.createApi({
|
|
3543
3543
|
reducerPath: "googleAuthApi",
|
|
3544
3544
|
baseQuery: O.fetchBaseQueryApp({ baseUrl: "https://app.emailmaker.ru/api/v2" }),
|
|
3545
3545
|
endpoints: (e) => ({ validateGoogleToken: e.mutation({ query: (t) => ({
|
|
@@ -3547,7 +3547,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
3547
3547
|
method: "POST",
|
|
3548
3548
|
body: t
|
|
3549
3549
|
}) }) })
|
|
3550
|
-
}), { useValidateGoogleTokenMutation:
|
|
3550
|
+
}), { useValidateGoogleTokenMutation: nf } = sr, lr = O.createApi({
|
|
3551
3551
|
reducerPath: "webHookApi",
|
|
3552
3552
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
3553
3553
|
endpoints: (e) => ({ postDataByWebHook: e.mutation({ query: ({ url: t, body: r }) => ({
|
|
@@ -4329,7 +4329,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4329
4329
|
body: t
|
|
4330
4330
|
}) })
|
|
4331
4331
|
})
|
|
4332
|
-
}), { useGenerateIdForTaskMutation:
|
|
4332
|
+
}), { useGenerateIdForTaskMutation: af, useGetGeneratedContentQuery: of, useLazyClearAiChatQuery: Ml, useLazyGetGeneratedContentQuery: jl, useGetAiGenerateStatusMutation: Dl } = Ar, Rn = async (e) => {
|
|
4333
4333
|
const t = await e.text();
|
|
4334
4334
|
let r = t;
|
|
4335
4335
|
try {
|
|
@@ -4362,7 +4362,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4362
4362
|
getRequest: e.mutation({ query: (t) => Fl("https://webhook.latenode.com/5868/prod/9e7a6445-2244-4dd5-bda4-5bca82997bf8", t, "REACT_APP_PIPEDREAM_REQUEST_PLANE_SRC") }),
|
|
4363
4363
|
getInvoiceRequest: e.mutation({ query: (t) => Ll("https://webhook.latenode.com/5868/prod/6e2d04a8-6cd9-4ec3-b884-ee2fd67267a3", t, "REACT_APP_REQUEST_PLANE_WEBHOOK_URL") })
|
|
4364
4364
|
})
|
|
4365
|
-
}), { useGetRequestMutation:
|
|
4365
|
+
}), { useGetRequestMutation: sf, useGetInvoiceRequestMutation: Ul } = Cr, zl = async (e, t, r) => {
|
|
4366
4366
|
try {
|
|
4367
4367
|
const { notification: n, ...i } = e, a = await O.fetchBaseQuery({ baseUrl: "https://html2pdf.emcdn.ru/convert/html-to-pdf" })(i, t, r);
|
|
4368
4368
|
if (a.error) throw new Error();
|
|
@@ -4459,7 +4459,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4459
4459
|
endpoints: (e) => ({ addUserToProject: e.mutation({ queryFn(t, r) {
|
|
4460
4460
|
return O.getClient(r).userToProject.add_user_create(t, { type: O.ContentType$1.FormData });
|
|
4461
4461
|
} }) })
|
|
4462
|
-
}), { useAddUserToProjectMutation:
|
|
4462
|
+
}), { useAddUserToProjectMutation: lf } = Lt, Pr = O.createApi({
|
|
4463
4463
|
reducerPath: "confirmationMailApi",
|
|
4464
4464
|
baseQuery: O.fetchBaseQuery({
|
|
4465
4465
|
baseUrl: "https://px0.emailmaker.ru/",
|
|
@@ -4470,11 +4470,11 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4470
4470
|
reducerPath: "recurrenceSubscriptionsOffApi",
|
|
4471
4471
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
4472
4472
|
endpoints: (e) => ({ getCanselRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/07ae4159-132b-4a00-998b-bc47c20365ba?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
|
|
4473
|
-
}), { useLazyGetCanselRecurrenceQuery: Gl, useGetCanselRecurrenceQuery:
|
|
4473
|
+
}), { useLazyGetCanselRecurrenceQuery: Gl, useGetCanselRecurrenceQuery: cf } = Rr, Nr = O.createApi({
|
|
4474
4474
|
reducerPath: "recurrenceSubscriptionsOnApi",
|
|
4475
4475
|
baseQuery: O.fetchBaseQuery({ baseUrl: "https://px0.emailmaker.ru/" }),
|
|
4476
4476
|
endpoints: (e) => ({ getRecurrence: e.query({ query: (t) => ({ url: `?proxy_url=${encodeURIComponent(`https://webhook.latenode.com/5868/prod/e1dd37b1-c3d4-4441-b329-d6b3aa51bfe7?subscription_id=${t.sid}&user_id=${t.uid}`)}` }) }) })
|
|
4477
|
-
}), { useLazyGetRecurrenceQuery: Zl, useGetRecurrenceQuery:
|
|
4477
|
+
}), { useLazyGetRecurrenceQuery: Zl, useGetRecurrenceQuery: uf } = Nr, Ir = O.createApi({
|
|
4478
4478
|
reducerPath: "authApi",
|
|
4479
4479
|
baseQuery: O.fetchBaseQueryApp({
|
|
4480
4480
|
baseUrl: "https://app.emailmaker.ru/api/v2",
|
|
@@ -4523,7 +4523,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4523
4523
|
body: t
|
|
4524
4524
|
}) })
|
|
4525
4525
|
})
|
|
4526
|
-
}), { useLoginMutation:
|
|
4526
|
+
}), { useLoginMutation: df, useRegisterMutation: pf, useRefreshTokenMutation: ff, useLogoutMutation: Jl, useGetUserQuery: hf, useLazyGetUserQuery: mf, useChangePasswordMutation: Xl, useResetPasswordMutation: gf, useResetPasswordConfirmMutation: vf } = Ir, Kl = "https://app.emailmaker.ru/api/v2", Ft = "Integrations", Mr = "Webhook", jr = "TestRecipients", di = "Storage", Ut = O.createApi({
|
|
4527
4527
|
reducerPath: "projectSettingsV2Api",
|
|
4528
4528
|
tagTypes: [
|
|
4529
4529
|
Ft,
|
|
@@ -4638,7 +4638,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4638
4638
|
}]
|
|
4639
4639
|
})
|
|
4640
4640
|
})
|
|
4641
|
-
}), { useGetProjectStorageQuery: ec, usePutProjectSettingsMutation: tc, useGetProjectIntegrationsQuery: rc, useLazyGetIntegrationCredentialsQuery: ic, usePutProjectIntegrationMutation:
|
|
4641
|
+
}), { useGetProjectStorageQuery: ec, usePutProjectSettingsMutation: tc, useGetProjectIntegrationsQuery: rc, useLazyGetIntegrationCredentialsQuery: ic, usePutProjectIntegrationMutation: bf, useDeleteProjectIntegrationMutation: _f, useGetProjectWebhookQuery: nc, usePutProjectWebhookMutation: yf, useGetProjectTestRecipientsQuery: ac, usePutProjectTestRecipientsMutation: oc } = Ut, In = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
4642
4642
|
<html>
|
|
4643
4643
|
<head>
|
|
4644
4644
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
@@ -4782,6 +4782,9 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4782
4782
|
setNewEmailProject: (e, t) => {
|
|
4783
4783
|
e.email.project = t.payload.id, t.payload.title != null && (e.email.project_title = t.payload.title);
|
|
4784
4784
|
},
|
|
4785
|
+
promoteNewEmailAfterSave: (e, { payload: t }) => {
|
|
4786
|
+
e.email.id = String(t.id), e.email.isNew = !1, t.modified != null && (e.email.modified = t.modified), t.lock != null && (e.email.lock = t.lock);
|
|
4787
|
+
},
|
|
4785
4788
|
resetNewEmailSlice: (e) => ({
|
|
4786
4789
|
...zt,
|
|
4787
4790
|
email: {
|
|
@@ -4796,16 +4799,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4796
4799
|
e.addMatcher(O.projectsApi.endpoints.getProject.matchFulfilled, (t, { payload: r, meta: n }) => {
|
|
4797
4800
|
const i = String(n.arg.originalArgs), a = t.email.project;
|
|
4798
4801
|
a != null && String(a) === i && String(r.id) === i && (t.email.project_title = r.name ?? "");
|
|
4799
|
-
}), e.addMatcher(O.emailsApi.endpoints.getEmail.matchFulfilled, (t) =>
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
...zt
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4802
|
+
}), e.addMatcher(O.emailsApi.endpoints.getEmail.matchFulfilled, (t, { payload: r }) => {
|
|
4803
|
+
const n = t.hasChanged && t.email.renderGuid != null && r.renderGuid != null && t.email.renderGuid === r.renderGuid, i = t.hasChanged && t.email.id != null && r.id != null && String(t.email.id) === String(r.id);
|
|
4804
|
+
if (!(n || i)) return {
|
|
4805
|
+
...zt,
|
|
4806
|
+
email: {
|
|
4807
|
+
...zt.email,
|
|
4808
|
+
project: t.email.project,
|
|
4809
|
+
project_title: t.email.project_title
|
|
4810
|
+
}
|
|
4811
|
+
};
|
|
4812
|
+
});
|
|
4807
4813
|
}
|
|
4808
|
-
}), { setNewEmailAll: lc, setNewEmailTitle: cc, setNewEmailSubject: uc, setNewEmailPreheader: dc, setNewEmailDescription: pc, setNewEmailIsTemplate: fc, setNewEmailHtml: hc, setNewCommonStyles:
|
|
4814
|
+
}), { setNewEmailAll: lc, setNewEmailTitle: cc, setNewEmailSubject: uc, setNewEmailPreheader: dc, setNewEmailDescription: pc, setNewEmailIsTemplate: fc, setNewEmailHtml: hc, setNewCommonStyles: wf, setNewEmailTags: mc, setNewEmailUtmSource: gc, setNewEmailUtmMedium: vc, setNewEmailUtmCampaign: bc, setNewEmailUtmContent: _c, setNewEmailUtmTerm: yc, resetNewEmailSlice: wc, setNewIsInited: Ec, setNewEmailIsAmp: xc, setNewEmailMeta: Sc, setNewEmailProject: Ac, promoteNewEmailAfterSave: Cc } = pi.actions, kc = (e) => e[Dr].email, Tc = (e) => e[Dr].appliedShowToken, Oc = (e) => e[Dr].hasChanged, Mn = `<tr em="block" class="empty-structure">
|
|
4809
4815
|
<td align="center">
|
|
4810
4816
|
<!--[if (gte mso 9)|(IE)]>
|
|
4811
4817
|
<table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td>
|
|
@@ -4884,7 +4890,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4884
4890
|
}
|
|
4885
4891
|
}));
|
|
4886
4892
|
}
|
|
4887
|
-
}), { setNewBlockAll:
|
|
4893
|
+
}), { setNewBlockAll: Ef, setNewBlockTitle: xf, setNewBlockDescription: Pc, setNewBlockHtml: Sf, setNewBlockTags: Rc, resetNewBlockSlice: Nc, setBlockIsAmp: Af } = fi.actions, Ic = (e) => e[jn].hasChanged, Dn = O.createState({
|
|
4888
4894
|
emailsTotal: 0,
|
|
4889
4895
|
elementsList: [],
|
|
4890
4896
|
emailsTrashTotal: 0,
|
|
@@ -4935,7 +4941,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4935
4941
|
}) : n);
|
|
4936
4942
|
});
|
|
4937
4943
|
}
|
|
4938
|
-
}), { resetPagesAndTotal:
|
|
4944
|
+
}), { resetPagesAndTotal: Mc, toggleElementsView: jc, resetElementsList: Dc, removeEmailFromList: Lc } = hi.actions, Fc = (e) => e[nt].emailsTotal, Uc = (e) => e[nt].elementsView, zc = (e) => e[nt].elementsList, Bc = (e) => e[nt].customFolders, qc = (e) => e[nt].emailsTrashTotal, Hc = (e) => e[nt].elementsTrashList, Ln = O.createState({
|
|
4939
4945
|
blocksTotal: null,
|
|
4940
4946
|
blocksTotalPages: null,
|
|
4941
4947
|
parentEmailBlocksTotal: null,
|
|
@@ -4993,7 +4999,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
4993
4999
|
}) : n);
|
|
4994
5000
|
});
|
|
4995
5001
|
}
|
|
4996
|
-
}), { resetPagesAndTotal:
|
|
5002
|
+
}), { resetPagesAndTotal: Cf, resetElementsList: kf, toggleElementsView: Tf, removeBlockFromList: Of } = mi.actions, $c = (e) => e[Lr].blocksTotal, Wc = (e) => e[Lr].templateBlocksTotal, Qc = (e) => e[Lr].parentEmailBlocksTotal, Fn = O.createState({
|
|
4997
5003
|
historyData: [],
|
|
4998
5004
|
elementHistoryTotalPages: 1
|
|
4999
5005
|
}), gi = "revisionHistorySlice", Fr = O.createSlice({
|
|
@@ -5012,7 +5018,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5012
5018
|
t.elementHistoryTotalPages = +r.baseQueryMeta?.response.headers.get("X-WP-TotalPages"), (!n.args.page || n.args.page === 1) && (t.historyData = n.data || []);
|
|
5013
5019
|
});
|
|
5014
5020
|
}
|
|
5015
|
-
}), { resetElementHistorySlice:
|
|
5021
|
+
}), { resetElementHistorySlice: Vc } = Fr.actions, { setElementHistory: Pf } = Fr.actions, Gc = (e) => e[gi].elementHistoryTotalPages, Zc = (e) => e[gi].historyData, Un = O.combineReducers({
|
|
5016
5022
|
[O.di.reducerPath]: O.di.reducer,
|
|
5017
5023
|
[Pt.reducerPath]: Pt.reducer,
|
|
5018
5024
|
[O.userSlice.name]: O.userSlice.reducer,
|
|
@@ -5077,7 +5083,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5077
5083
|
[Rr.reducerPath]: Rr.reducer,
|
|
5078
5084
|
[Ir.reducerPath]: Ir.reducer,
|
|
5079
5085
|
[Ut.reducerPath]: Ut.reducer
|
|
5080
|
-
}),
|
|
5086
|
+
}), Yc = (e, t) => t.type === "authorizationApi/resetApiState" ? Un({
|
|
5081
5087
|
[O.reducerPath]: e[O.reducerPath],
|
|
5082
5088
|
[it.reducerPath]: e[it.reducerPath]
|
|
5083
5089
|
}, t) : Un(e, t), zn = [
|
|
@@ -5131,14 +5137,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5131
5137
|
Nr,
|
|
5132
5138
|
Rr
|
|
5133
5139
|
];
|
|
5134
|
-
function
|
|
5140
|
+
function Jc(e) {
|
|
5135
5141
|
let t = {};
|
|
5136
5142
|
if (e) {
|
|
5137
5143
|
const n = O.createIdentifier$1();
|
|
5138
5144
|
O.DependencyResolver.inject(n, e), t = { INJECTION: n };
|
|
5139
5145
|
}
|
|
5140
5146
|
const r = O.configureStore({
|
|
5141
|
-
reducer:
|
|
5147
|
+
reducer: Yc,
|
|
5142
5148
|
middleware: (n) => n({ serializableCheck: !1 }).concat(zn.map((i) => i.middleware)),
|
|
5143
5149
|
preloadedState: t
|
|
5144
5150
|
});
|
|
@@ -5158,13 +5164,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5158
5164
|
return O.getClient(r).jwtAuth.token_validate_create({ type: O.ContentType$1.Json });
|
|
5159
5165
|
} })
|
|
5160
5166
|
})
|
|
5161
|
-
}), { useTokenCreateMutation:
|
|
5167
|
+
}), { useTokenCreateMutation: Rf, useTokenValidateMutation: Nf } = Ur;
|
|
5162
5168
|
function Bn() {
|
|
5163
5169
|
const e = new Map();
|
|
5164
5170
|
for (const t of zn) e.set(t.reducerPath, t);
|
|
5165
5171
|
return e.set(Ur.reducerPath, Ur), [...e.values()];
|
|
5166
5172
|
}
|
|
5167
|
-
var
|
|
5173
|
+
var Xc = {
|
|
5168
5174
|
AiApi: new Set(["sendMessage", "getDialog"]),
|
|
5169
5175
|
imageApi: new Set([
|
|
5170
5176
|
"sendAiImageRequest",
|
|
@@ -5172,27 +5178,27 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5172
5178
|
"getAiImageSSE"
|
|
5173
5179
|
])
|
|
5174
5180
|
};
|
|
5175
|
-
function
|
|
5181
|
+
function Kc(e) {
|
|
5176
5182
|
return e.getState().configSlice?.config;
|
|
5177
5183
|
}
|
|
5178
|
-
function
|
|
5184
|
+
function eu(e) {
|
|
5179
5185
|
return e?.backendProxy !== void 0 && e?.backendProxyPolicy?.proxyAi === !0;
|
|
5180
5186
|
}
|
|
5181
|
-
function
|
|
5182
|
-
return Kc(
|
|
5187
|
+
function tu(e) {
|
|
5188
|
+
return eu(Kc(e));
|
|
5183
5189
|
}
|
|
5184
|
-
function
|
|
5185
|
-
return
|
|
5190
|
+
function ru(e, t, r, n) {
|
|
5191
|
+
return Xc[t]?.has(r) ? (i) => tu(e) ? (a) => a(i) : n(i) : n;
|
|
5186
5192
|
}
|
|
5187
|
-
function
|
|
5193
|
+
function iu(e) {
|
|
5188
5194
|
const t = O.getOverrideApiFn(e);
|
|
5189
5195
|
return ((r, n) => {
|
|
5190
5196
|
if (!r || typeof r.reducerPath != "string") return new O.Disposable();
|
|
5191
|
-
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ?
|
|
5197
|
+
const i = Object.fromEntries(Object.entries(n ?? {}).map(([a, s]) => [a, typeof s == "function" ? ru(e, r.reducerPath, a, s) : s]));
|
|
5192
5198
|
return t(r, i);
|
|
5193
5199
|
});
|
|
5194
5200
|
}
|
|
5195
|
-
function
|
|
5201
|
+
function nu(e) {
|
|
5196
5202
|
const t = `blocks_${O.generateUUID().replaceAll("-", "")}`, r = document.createElement("script");
|
|
5197
5203
|
return r.type = "text/javascript", r.text = `window.${t}(function(module, exports, require) { ${e}; })`, new Promise((n, i) => {
|
|
5198
5204
|
window[t] = function(a) {
|
|
@@ -5203,37 +5209,37 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5203
5209
|
r.remove(), delete window[t];
|
|
5204
5210
|
});
|
|
5205
5211
|
}
|
|
5206
|
-
function
|
|
5212
|
+
function au(e) {
|
|
5207
5213
|
if (!e) return;
|
|
5208
5214
|
const t = Ie.decodeJwt(e)?.data?.scope;
|
|
5209
5215
|
return (Array.isArray(t) ? t.flatMap((r) => String(r).split(/\s+/)) : String(t || "").split(/\s+/)).find((r) => /^project_\d+$/.test(r))?.replace(/^project_/, "") || void 0;
|
|
5210
5216
|
}
|
|
5211
|
-
async function
|
|
5217
|
+
async function ou(e) {
|
|
5212
5218
|
const t = O.di.getInstance(e, O.STANDALONE_PROJECT_ID), r = t ? void 0 : await O.di.getInstanceAsync(e, O.APP_ID).catch(() => {}), n = t || (r?.project !== void 0 ? String(r.project) : void 0);
|
|
5213
5219
|
n && e.dispatch(O.setProject(xn(n)));
|
|
5214
5220
|
}
|
|
5215
|
-
async function
|
|
5221
|
+
async function su(e, t) {
|
|
5216
5222
|
try {
|
|
5217
5223
|
const r = function(s) {
|
|
5218
5224
|
const l = O.di.getInstance(e, O.STANDALONE_PROJECT_ID), u = l ? Sn(l, s) : s;
|
|
5219
5225
|
O.di.injectFactory(e, O.APP_ID, async () => u);
|
|
5220
|
-
}, n =
|
|
5226
|
+
}, n = iu(e), i = await (await En.default.loadAsync(t, { base64: !0 })).files.key?.async("text");
|
|
5221
5227
|
if (typeof i != "string") return;
|
|
5222
|
-
const a = await
|
|
5228
|
+
const a = await nu(i);
|
|
5223
5229
|
if (typeof a != "object" || a === null || typeof a.execute != "function") return;
|
|
5224
5230
|
a.execute(r, n, Bn());
|
|
5225
5231
|
} catch {}
|
|
5226
5232
|
}
|
|
5227
|
-
function
|
|
5233
|
+
function lu(e, t) {
|
|
5228
5234
|
const r = Object.keys(t.endpoints);
|
|
5229
5235
|
r.length && e(t, Object.fromEntries(r.map((n) => [n, O.standaloneTerminalGuardExecutor])));
|
|
5230
5236
|
}
|
|
5231
|
-
function
|
|
5237
|
+
function cu(e) {
|
|
5232
5238
|
O.markStandaloneMockGuardInstalled(e);
|
|
5233
5239
|
const t = O.getOverrideApiFn(e);
|
|
5234
|
-
for (const r of Bn())
|
|
5240
|
+
for (const r of Bn()) lu(t, r);
|
|
5235
5241
|
}
|
|
5236
|
-
var
|
|
5242
|
+
var uu = class extends O.Disposable {
|
|
5237
5243
|
_event;
|
|
5238
5244
|
_listener;
|
|
5239
5245
|
_disposeEvent;
|
|
@@ -5247,7 +5253,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5247
5253
|
this._disposeEvent && this._disposeEvent(), super.dispose();
|
|
5248
5254
|
}
|
|
5249
5255
|
};
|
|
5250
|
-
function
|
|
5256
|
+
function du(e, t, r) {
|
|
5251
5257
|
const n = O.snapshot(e);
|
|
5252
5258
|
return (i, a, s) => {
|
|
5253
5259
|
const l = n(async (u) => {
|
|
@@ -5273,7 +5279,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5273
5279
|
"SUBJECT",
|
|
5274
5280
|
"INITED"
|
|
5275
5281
|
], bi = 2e4, Hn = bi + qn.reduce((e, t) => e + vi[t], 0) + 3e3;
|
|
5276
|
-
function
|
|
5282
|
+
function fu(e) {
|
|
5277
5283
|
return qn.reduce((t, r) => t + $n(r, e), 0);
|
|
5278
5284
|
}
|
|
5279
5285
|
function $n(e, t) {
|
|
@@ -5288,12 +5294,12 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5288
5294
|
const t = e?.sandboxReady;
|
|
5289
5295
|
return typeof t == "number" && t > 0 ? t : bi;
|
|
5290
5296
|
}
|
|
5291
|
-
var
|
|
5297
|
+
var hu = class extends Error {
|
|
5292
5298
|
showId;
|
|
5293
5299
|
constructor(e, t) {
|
|
5294
5300
|
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;
|
|
5295
5301
|
}
|
|
5296
|
-
},
|
|
5302
|
+
}, mu = class {
|
|
5297
5303
|
_activeRequest = null;
|
|
5298
5304
|
_pending = new Map();
|
|
5299
5305
|
_listeners = new Set();
|
|
@@ -5309,7 +5315,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5309
5315
|
return this._rejectPending(Be("Superseded by newer show()")), r.aborted ? Promise.reject(Be(r.reason)) : (this._activeRequest = e, new Promise((n, i) => {
|
|
5310
5316
|
const a = setTimeout(() => {
|
|
5311
5317
|
this._settle(e.showId, () => {
|
|
5312
|
-
i(new
|
|
5318
|
+
i(new hu(e.showId, t));
|
|
5313
5319
|
});
|
|
5314
5320
|
}, t);
|
|
5315
5321
|
a.unref?.();
|
|
@@ -5357,7 +5363,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5357
5363
|
this._pending.clear();
|
|
5358
5364
|
}
|
|
5359
5365
|
};
|
|
5360
|
-
function
|
|
5366
|
+
function gu(e, t) {
|
|
5361
5367
|
return {
|
|
5362
5368
|
contentReady: t.contentReady ?? e?.contentReady,
|
|
5363
5369
|
sandboxReady: t.sandboxReady ?? e?.sandboxReady,
|
|
@@ -5367,16 +5373,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5367
5373
|
} : e?.sandbox
|
|
5368
5374
|
};
|
|
5369
5375
|
}
|
|
5370
|
-
function
|
|
5376
|
+
function vu(e) {
|
|
5371
5377
|
if (!e || !(e.contentReady !== void 0 || e.sandboxReady !== void 0 || e.sandbox !== void 0)) return;
|
|
5372
5378
|
Wn(e);
|
|
5373
|
-
Qn(e) +
|
|
5379
|
+
Qn(e) + fu(e.sandbox);
|
|
5374
5380
|
}
|
|
5375
5381
|
var Vn = class {
|
|
5376
5382
|
_controller = new AbortController();
|
|
5377
5383
|
_externalSignalDisposable = new O.Disposable();
|
|
5378
5384
|
_sessionChangeListeners = new Set();
|
|
5379
|
-
_showRegistry = new
|
|
5385
|
+
_showRegistry = new mu();
|
|
5380
5386
|
_timeouts;
|
|
5381
5387
|
_generation = 0;
|
|
5382
5388
|
_sessionStarted = !1;
|
|
@@ -5425,7 +5431,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5425
5431
|
};
|
|
5426
5432
|
}
|
|
5427
5433
|
configure(e) {
|
|
5428
|
-
e.timeouts !== void 0 && (this._timeouts =
|
|
5434
|
+
e.timeouts !== void 0 && (this._timeouts = gu(this._timeouts, e.timeouts), vu(this._timeouts));
|
|
5429
5435
|
const t = e.replaceSession === !0 || !this._sessionStarted || e.timeouts !== void 0 || e.signal !== void 0;
|
|
5430
5436
|
this._sessionStarted = !0, t && (this._replaceSessionController(), this.bumpGeneration()), (e.signal !== void 0 || t) && this._linkExternalSignal(e.signal);
|
|
5431
5437
|
}
|
|
@@ -5452,18 +5458,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
5452
5458
|
e.removeEventListener("abort", t);
|
|
5453
5459
|
});
|
|
5454
5460
|
}
|
|
5455
|
-
},
|
|
5461
|
+
}, bu = (() => {
|
|
5456
5462
|
const e = new Vn();
|
|
5457
5463
|
return e.configure({}), e;
|
|
5458
5464
|
})();
|
|
5459
|
-
function
|
|
5465
|
+
function _u(e = Hn) {
|
|
5460
5466
|
return e + 3e3;
|
|
5461
5467
|
}
|
|
5462
5468
|
var Gn = "PluginRegistry";
|
|
5463
|
-
function
|
|
5469
|
+
function yu(e = O.resolveContainer()) {
|
|
5464
5470
|
return e.getOrCreateInstance(Gn, () => new rs());
|
|
5465
5471
|
}
|
|
5466
|
-
var
|
|
5472
|
+
var wu = new is(() => yu()), Zn = {
|
|
5467
5473
|
"application/prs.cww": ["cww"],
|
|
5468
5474
|
"application/prs.xsf+xml": ["xsf"],
|
|
5469
5475
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -6774,7 +6780,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6774
6780
|
if (r === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
|
|
6775
6781
|
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");
|
|
6776
6782
|
return r === "m" ? n : r === "a" ? n.call(e) : n ? n.value : t.get(e);
|
|
6777
|
-
}, gt, qt, at,
|
|
6783
|
+
}, gt, qt, at, Eu = class {
|
|
6778
6784
|
constructor(...e) {
|
|
6779
6785
|
gt.set(this, new Map()), qt.set(this, new Map()), at.set(this, new Map());
|
|
6780
6786
|
for (const t of e) this.define(t);
|
|
@@ -6820,7 +6826,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6820
6826
|
}
|
|
6821
6827
|
};
|
|
6822
6828
|
gt = new WeakMap(), qt = new WeakMap(), at = new WeakMap();
|
|
6823
|
-
var _i = new
|
|
6829
|
+
var _i = new Eu(Yn, Zn)._freeze();
|
|
6824
6830
|
function Jn(e) {
|
|
6825
6831
|
return /#set\s*\(\s*.*=.*\)/.test(e);
|
|
6826
6832
|
}
|
|
@@ -6854,22 +6860,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6854
6860
|
}
|
|
6855
6861
|
return r === 0;
|
|
6856
6862
|
}
|
|
6857
|
-
function
|
|
6863
|
+
function xu(e) {
|
|
6858
6864
|
return (t, r, n) => zr(t) ? e(t, r, n) : !1;
|
|
6859
6865
|
}
|
|
6860
|
-
function
|
|
6866
|
+
function Su(e) {
|
|
6861
6867
|
return (t) => zr(t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t) ? e(t) : !1;
|
|
6862
6868
|
}
|
|
6863
|
-
function
|
|
6869
|
+
function Au(e) {
|
|
6864
6870
|
return (t, r, n) => zr(t) ? Jn(t) ? e(t, r, n) : t : !1;
|
|
6865
6871
|
}
|
|
6866
|
-
function
|
|
6872
|
+
function Cu(e) {
|
|
6867
6873
|
return (t) => {
|
|
6868
6874
|
const r = t.startsWith("<!--") && t.endsWith("-->") ? t.slice(4, -3) : t;
|
|
6869
6875
|
return zr(r) ? Jn(r) ? e(t) : t : !1;
|
|
6870
6876
|
};
|
|
6871
6877
|
}
|
|
6872
|
-
function
|
|
6878
|
+
function ku(e) {
|
|
6873
6879
|
const t = /[<>&]/g;
|
|
6874
6880
|
for (; t.exec(e) !== null;) return !0;
|
|
6875
6881
|
return !1;
|
|
@@ -6882,7 +6888,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6882
6888
|
}
|
|
6883
6889
|
return !0;
|
|
6884
6890
|
}
|
|
6885
|
-
function
|
|
6891
|
+
function Tu(e) {
|
|
6886
6892
|
const t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", n = new Uint8Array(e);
|
|
6887
6893
|
crypto.getRandomValues(n);
|
|
6888
6894
|
let i = "";
|
|
@@ -6892,34 +6898,34 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6892
6898
|
}
|
|
6893
6899
|
return i;
|
|
6894
6900
|
}
|
|
6895
|
-
var
|
|
6901
|
+
var Ou = 8, Pu = class {
|
|
6896
6902
|
_byKey = Object.create(null);
|
|
6897
6903
|
_byValue = Object.create(null);
|
|
6898
6904
|
getOrCreateByKey(e) {
|
|
6899
6905
|
let t = this._byKey[e];
|
|
6900
|
-
return t === void 0 && (t =
|
|
6906
|
+
return t === void 0 && (t = Tu(Ou), this._byKey[e] = t, this._byValue[t] = e), t;
|
|
6901
6907
|
}
|
|
6902
6908
|
getByValue(e) {
|
|
6903
6909
|
return this._byValue[e];
|
|
6904
6910
|
}
|
|
6905
|
-
}, Br = new
|
|
6911
|
+
}, Br = new Pu();
|
|
6906
6912
|
function Xn(e, t) {
|
|
6907
6913
|
return t !== void 0 && !yi(e, t) ? `%|{${Br.getOrCreateByKey(e)}}|%` : e;
|
|
6908
6914
|
}
|
|
6909
|
-
function
|
|
6915
|
+
function Ru(e) {
|
|
6910
6916
|
const t = Br.getByValue(e.slice(3, e.length - 3));
|
|
6911
6917
|
return t === void 0 ? e : t;
|
|
6912
6918
|
}
|
|
6913
6919
|
function we(e, t, r) {
|
|
6914
6920
|
return t !== void 0 ? yi(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : `<!--${e}-->`;
|
|
6915
6921
|
}
|
|
6916
|
-
function
|
|
6922
|
+
function Nu(e) {
|
|
6917
6923
|
return e.replace(/>/g, ">").replace(/</g, "<").replace(/&/g, "&");
|
|
6918
6924
|
}
|
|
6919
6925
|
function be(e) {
|
|
6920
|
-
return e.startsWith("<!--") && e.endsWith("-->") ?
|
|
6926
|
+
return e.startsWith("<!--") && e.endsWith("-->") ? Nu(e.slice(4, -3)) : e;
|
|
6921
6927
|
}
|
|
6922
|
-
function
|
|
6928
|
+
function Iu(e) {
|
|
6923
6929
|
const t = /^(IF|ELSE|ELSIF|ELSEIF|END|FOREACH|WHILE|NEXT|LAST|BREAK|DO|UNLESS|CONTINUE|SET|UNSET|DEFINE|INCLUDE)\b/i, r = /\w+\s*\(/;
|
|
6924
6930
|
let n = e;
|
|
6925
6931
|
const i = e.match(/\[%\s*([^%]*?)\s*%\]/);
|
|
@@ -6927,14 +6933,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6927
6933
|
const a = n.trim();
|
|
6928
6934
|
return t.test(a) || r.test(a);
|
|
6929
6935
|
}
|
|
6930
|
-
function
|
|
6931
|
-
return t !== void 0 ? yi(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : r ||
|
|
6936
|
+
function Mu(e, t, r) {
|
|
6937
|
+
return t !== void 0 ? yi(e, t) ? e : `%|{${Br.getOrCreateByKey(e)}}|%` : r || ku(e) || Iu(e) ? `<!--${e}-->` : e;
|
|
6932
6938
|
}
|
|
6933
|
-
var ot =
|
|
6934
|
-
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%",
|
|
6935
|
-
}, wi = "bare",
|
|
6936
|
-
function
|
|
6937
|
-
return e ?
|
|
6939
|
+
var ot = xu(we), st = Su(be), ju = Au(we), Du = Cu(be), Kn = (e) => {
|
|
6940
|
+
e.escape("<!--", "-->", (t) => t, !1), e.escape("<style", "</style>", (t) => t, !1), e.escape("<script", "<\/script>", (t) => t, !1), e.unescape("%|{", "}|%", Ru), e.escape("@{", "}", we, !0).unescape("<!--@{", "}-->", be, !0), e.unescape("<!--%%%{{{", "}}}%%%-->", (t) => t.substring(10, t.length - 9), !1), e.escape("${", "}", Xn, !0), e.escape("{{", "}}", Xn, !0), e.createSyntax("brace-percent").escape("{%", "%}", we).unescape("<!--{%", "%}-->", be), e.createSyntax("brace-hash").escape("{#", "#}", we).unescape("<!--{#", "#}-->", be), e.createSyntax("proscript").escape("[%", "%]", Mu, !0).unescape("<!--[%", "%]-->", be, !0), e.createSyntax("getresponse").escape("[[IF", "]]", we).escape("[[if", "]]", we).escape("[[ELSE]]", "", we).escape("[[else]]", "", we).escape("[[ENDIF]]", "", we).escape("[[endif]]", "", we).unescape("<!--[[IF", "]]-->", be).unescape("<!--[[if", "]]-->", be).unescape("<!--[[ELSE]]", "-->", be).unescape("<!--[[else]]", "-->", be).unescape("<!--[[ENDIF]]", "-->", be).unescape("<!--[[endif]]", "-->", be), e.createSyntax("expert-sender").escape("<if", ">", we).escape("</if", ">", we).escape("<else", ">", we).escape("</else", ">", we).escape("<var ", ">", we, !0).unescape("<!--<if ", ">-->", be).unescape("<!--</if", ">-->", be).unescape("<!--<else ", ">-->", be).unescape("<!--</else", ">-->", be).unescape("<!--<var", ">-->", be, !0), e.createSyntax("velocity").escape("#if", ")", ot).escape("#elseif", ")", ot).escape("#else", "", we).escape("#foreach", ")", ot).escape("#macro", ")", ot).escape("#set", ")", ju, !0).escape("#parse", ")", ot).escape("#include", ")", ot).escape("#evaluate", ")", ot).escape("#end", "", we).escape("#break", "", we).escape("#stop", "", we).unescape("<!--#macro", "-->", st).unescape("<!--#if", "-->", st).unescape("<!--#elseif", "-->", st).unescape("<!--#else", "-->", be).unescape("<!--#foreach", "-->", st).unescape("<!--#parse", "-->", st).unescape("<!--#include", "-->", st).unescape("<!--#evaluate", "-->", st).unescape("<!--#end", "-->", be).unescape("<!--#break", "-->", be).unescape("<!--#stop", "-->", be).unescape("<!--#set", "-->", Du, !0), e.createSyntax("mailchimp").escape("*|", "|*", we).unescape("<!--*|", "|*-->", be);
|
|
6941
|
+
}, wi = "bare", Lu = new Map();
|
|
6942
|
+
function Fu(e) {
|
|
6943
|
+
return e ? Lu.get(e) ?? wi : wi;
|
|
6938
6944
|
}
|
|
6939
6945
|
var ea = [
|
|
6940
6946
|
"brace-percent",
|
|
@@ -6954,7 +6960,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
6954
6960
|
function Ei(e) {
|
|
6955
6961
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
6956
6962
|
}
|
|
6957
|
-
function
|
|
6963
|
+
function Uu(e, t = (r) => {}) {
|
|
6958
6964
|
const r = {
|
|
6959
6965
|
output: {},
|
|
6960
6966
|
editor: {}
|
|
@@ -7042,7 +7048,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7042
7048
|
}
|
|
7043
7049
|
return s.sort((b, E) => b.range.start - E.range.start || b.range.end - E.range.end);
|
|
7044
7050
|
}
|
|
7045
|
-
function
|
|
7051
|
+
function zu(e, t) {
|
|
7046
7052
|
const r = t.reduce((l, { mapFn: u, start: m, end: b, syntax: E, isVariable: p }) => (l[m] || (l[m] = []), l[m].push({
|
|
7047
7053
|
value: b,
|
|
7048
7054
|
mapFn: u,
|
|
@@ -7063,7 +7069,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7063
7069
|
function xi(e, t, r, n, i = !1) {
|
|
7064
7070
|
const a = [];
|
|
7065
7071
|
if (r && (t = t.filter((m) => m.isVariable)), !t.length) return a;
|
|
7066
|
-
const s =
|
|
7072
|
+
const s = zu(e, t), l = {
|
|
7067
7073
|
insideTag: !1,
|
|
7068
7074
|
insideAttributeValue: !1,
|
|
7069
7075
|
attributeQuoteChar: void 0,
|
|
@@ -7116,7 +7122,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7116
7122
|
for (const { text: i, range: a } of r) n = n.slice(0, a.start) + i + n.slice(a.end);
|
|
7117
7123
|
return n;
|
|
7118
7124
|
}
|
|
7119
|
-
var
|
|
7125
|
+
var Bu = class {
|
|
7120
7126
|
_disposables = [];
|
|
7121
7127
|
_escapes = [];
|
|
7122
7128
|
_unescapes = [];
|
|
@@ -7184,7 +7190,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7184
7190
|
return [...a, ...s].sort((l, u) => l.range.start - u.range.start || l.range.end - u.range.end);
|
|
7185
7191
|
}
|
|
7186
7192
|
getRevertMappings(e, t, r) {
|
|
7187
|
-
const n = r ? (i) => i !== void 0 && r.has(i) : (i) =>
|
|
7193
|
+
const n = r ? (i) => i !== void 0 && r.has(i) : (i) => Fu(i) === "html-comment";
|
|
7188
7194
|
return this._collectRevertMappings(e, t).filter((i) => i.isVariable || !n(i.syntax));
|
|
7189
7195
|
}
|
|
7190
7196
|
getDetectedMappings(e, t, r) {
|
|
@@ -7212,7 +7218,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7212
7218
|
}
|
|
7213
7219
|
}, ke = (function(e) {
|
|
7214
7220
|
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;
|
|
7215
|
-
})({}), Hr = (e) => e.type === 0 ? e.start - 1 : e.start,
|
|
7221
|
+
})({}), Hr = (e) => e.type === 0 ? e.start - 1 : e.start, qu = (e) => e.type === 0 ? e.end + 1 : e.end, Ke = class ts {
|
|
7216
7222
|
start;
|
|
7217
7223
|
end;
|
|
7218
7224
|
children;
|
|
@@ -7260,7 +7266,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7260
7266
|
const r = aa(this.children, (n) => t <= Hr(n)) - 1;
|
|
7261
7267
|
if (r >= 0) {
|
|
7262
7268
|
const n = this.children[r];
|
|
7263
|
-
if (t >= Hr(n) && t <=
|
|
7269
|
+
if (t >= Hr(n) && t <= qu(n)) return n.findNodeAt(t);
|
|
7264
7270
|
}
|
|
7265
7271
|
return this;
|
|
7266
7272
|
}
|
|
@@ -7294,7 +7300,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7294
7300
|
const i = this.start - r, a = new ts(r, this.end - i, [], t);
|
|
7295
7301
|
return a.children = n ? this.children.map((s) => s.clone(a, s.start - i)) : [], a.attributes = { ...this.attributes }, a.closed = this.closed, a.content = this.content, a.startTagEnd = this.startTagEnd, a.endTagStart = this.endTagStart, a.tag = this.tag, a.type = this.type, a;
|
|
7296
7302
|
}
|
|
7297
|
-
},
|
|
7303
|
+
}, Hu = new Set([
|
|
7298
7304
|
"area",
|
|
7299
7305
|
"br",
|
|
7300
7306
|
"col",
|
|
@@ -7307,20 +7313,20 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7307
7313
|
"param",
|
|
7308
7314
|
"vk-snippet-end"
|
|
7309
7315
|
]);
|
|
7310
|
-
function
|
|
7316
|
+
function $u(e) {
|
|
7311
7317
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7312
7318
|
}
|
|
7313
7319
|
var na = Object.create(null);
|
|
7314
|
-
function
|
|
7320
|
+
function Wu(e, t) {
|
|
7315
7321
|
const r = na[e] || (na[e] = Object.create(null));
|
|
7316
7322
|
let n = r[t];
|
|
7317
7323
|
if (typeof n != "boolean") {
|
|
7318
|
-
const i = document.createElement(e)[
|
|
7324
|
+
const i = document.createElement(e)[$u(t)];
|
|
7319
7325
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
7320
7326
|
}
|
|
7321
7327
|
return n;
|
|
7322
7328
|
}
|
|
7323
|
-
function
|
|
7329
|
+
function Qu(e) {
|
|
7324
7330
|
const t = e.tag?.toLowerCase();
|
|
7325
7331
|
let r = "";
|
|
7326
7332
|
if (t) {
|
|
@@ -7329,15 +7335,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7329
7335
|
const i = Object.keys(n);
|
|
7330
7336
|
for (const a of i) {
|
|
7331
7337
|
const s = n[a] === null ? "" : n[a];
|
|
7332
|
-
typeof s == "string" && (r += s === "" && a !== "em" &&
|
|
7338
|
+
typeof s == "string" && (r += s === "" && a !== "em" && !Wu(t, a) ? ` ${a}` : ` ${a}="${s.replaceAll("\"", "'")}"`);
|
|
7333
7339
|
}
|
|
7334
7340
|
}
|
|
7335
7341
|
}
|
|
7336
7342
|
return r;
|
|
7337
7343
|
}
|
|
7338
|
-
function
|
|
7344
|
+
function Vu(e, t) {
|
|
7339
7345
|
if (e.start !== e.startTagEnd || t) {
|
|
7340
|
-
const r = e.tag?.toLowerCase() || "div", n =
|
|
7346
|
+
const r = e.tag?.toLowerCase() || "div", n = Qu(e);
|
|
7341
7347
|
return r === "vk-snippet-end" ? `<${r}${n}/>` : `<${r}${n}>`;
|
|
7342
7348
|
}
|
|
7343
7349
|
return "";
|
|
@@ -7351,18 +7357,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7351
7357
|
}
|
|
7352
7358
|
return r;
|
|
7353
7359
|
}
|
|
7354
|
-
function
|
|
7360
|
+
function Gu(e) {
|
|
7355
7361
|
return e.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (t, r) => r.toUpperCase());
|
|
7356
7362
|
}
|
|
7357
7363
|
function Si(e) {
|
|
7358
7364
|
return "<!DOCTYPE " + e.name + (e.publicId ? " PUBLIC \"" + e.publicId + "\"" : "") + (!e.publicId && e.systemId ? " SYSTEM" : "") + (e.systemId ? " \"" + e.systemId + "\"" : "") + ">";
|
|
7359
7365
|
}
|
|
7360
7366
|
var oa = Object.create(null);
|
|
7361
|
-
function
|
|
7367
|
+
function Zu(e, t) {
|
|
7362
7368
|
const r = oa[e] || (oa[e] = Object.create(null));
|
|
7363
7369
|
let n = r[t];
|
|
7364
7370
|
if (typeof n != "boolean") {
|
|
7365
|
-
const i = document.createElement(e)[
|
|
7371
|
+
const i = document.createElement(e)[Gu(t)];
|
|
7366
7372
|
n = r[t] = typeof i < "u" && typeof i != "boolean";
|
|
7367
7373
|
}
|
|
7368
7374
|
return n;
|
|
@@ -7376,16 +7382,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7376
7382
|
function sa(e) {
|
|
7377
7383
|
return e.tagName === "IMG";
|
|
7378
7384
|
}
|
|
7379
|
-
function
|
|
7385
|
+
function Yu(e) {
|
|
7380
7386
|
return e.tagName === "AMP-IMG";
|
|
7381
7387
|
}
|
|
7382
|
-
function
|
|
7388
|
+
function Ju(e) {
|
|
7383
7389
|
return e.tagName === "BODY";
|
|
7384
7390
|
}
|
|
7385
|
-
function
|
|
7391
|
+
function Xu(e) {
|
|
7386
7392
|
return e.tagName === "FORM";
|
|
7387
7393
|
}
|
|
7388
|
-
function
|
|
7394
|
+
function Ku(e) {
|
|
7389
7395
|
return e.tagName === "HTML";
|
|
7390
7396
|
}
|
|
7391
7397
|
function la(e) {
|
|
@@ -7394,10 +7400,10 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7394
7400
|
function Ci(e) {
|
|
7395
7401
|
return e.nodeType === Node.DOCUMENT_NODE;
|
|
7396
7402
|
}
|
|
7397
|
-
function
|
|
7403
|
+
function ed(e) {
|
|
7398
7404
|
return e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
|
|
7399
7405
|
}
|
|
7400
|
-
function
|
|
7406
|
+
function td(e) {
|
|
7401
7407
|
return e.nodeType === Node.DOCUMENT_TYPE_NODE;
|
|
7402
7408
|
}
|
|
7403
7409
|
var Wt;
|
|
@@ -7450,16 +7456,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7450
7456
|
function ki(e) {
|
|
7451
7457
|
return e.nodeType === Node.COMMENT_NODE;
|
|
7452
7458
|
}
|
|
7453
|
-
function
|
|
7459
|
+
function rd(e) {
|
|
7454
7460
|
return e && !!e.host && !!e.mode;
|
|
7455
7461
|
}
|
|
7456
|
-
function
|
|
7462
|
+
function id(e) {
|
|
7457
7463
|
const t = e.getRootNode() || window.document;
|
|
7458
|
-
return
|
|
7464
|
+
return rd(t) ? t : null;
|
|
7459
7465
|
}
|
|
7460
|
-
var
|
|
7461
|
-
function
|
|
7462
|
-
const t = vt(e).matchAll(
|
|
7466
|
+
var nd = /(<!(--)?\[if\s[()\w\s|&!]+\]>(?:<!--+>)?)((?:.|\r|\n)*?)((?:<!--)?<!\[endif\]\2>)/gi;
|
|
7467
|
+
function ad(e) {
|
|
7468
|
+
const t = vt(e).matchAll(nd);
|
|
7463
7469
|
if (t) for (const r of t) {
|
|
7464
7470
|
const [, n, , i, a] = r;
|
|
7465
7471
|
return {
|
|
@@ -7472,7 +7478,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7472
7478
|
function Qt(e) {
|
|
7473
7479
|
return e.nodeType === Node.TEXT_NODE;
|
|
7474
7480
|
}
|
|
7475
|
-
function
|
|
7481
|
+
function od(e) {
|
|
7476
7482
|
return e.tagName === "TABLE";
|
|
7477
7483
|
}
|
|
7478
7484
|
async function ca(e, t = 5e3) {
|
|
@@ -7481,18 +7487,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7481
7487
|
}) : getComputedStyle(e);
|
|
7482
7488
|
}
|
|
7483
7489
|
function vt(e) {
|
|
7484
|
-
if (et(e)) return
|
|
7490
|
+
if (et(e)) return ld(e);
|
|
7485
7491
|
if (Ci(e)) return [...e.childNodes].map((r) => vt(r)).join("");
|
|
7486
|
-
if (
|
|
7492
|
+
if (td(e)) return Si(e);
|
|
7487
7493
|
const t = document.createElement("div");
|
|
7488
7494
|
return t.appendChild(e.cloneNode(!0)), t.innerHTML;
|
|
7489
7495
|
}
|
|
7490
|
-
function
|
|
7496
|
+
function sd(e) {
|
|
7491
7497
|
const t = e.tagName.toLowerCase();
|
|
7492
7498
|
let r = "";
|
|
7493
7499
|
for (const n of e.attributes) {
|
|
7494
7500
|
const i = n.name, a = n.value;
|
|
7495
|
-
r += a === "" && i !== "em" && !
|
|
7501
|
+
r += a === "" && i !== "em" && !Zu(t, i) ? ` ${i}` : ` ${i}="${a.replaceAll("\"", "'")}"`;
|
|
7496
7502
|
}
|
|
7497
7503
|
return r;
|
|
7498
7504
|
}
|
|
@@ -7501,13 +7507,13 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
7501
7507
|
for (const r of e.childNodes) t += vt(r);
|
|
7502
7508
|
return t;
|
|
7503
7509
|
}
|
|
7504
|
-
function
|
|
7505
|
-
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r =
|
|
7506
|
-
return
|
|
7510
|
+
function ld(e) {
|
|
7511
|
+
const t = Object.getOwnPropertyDescriptor(e, "$$tagName")?.value || e.tagName.toLowerCase(), r = sd(e);
|
|
7512
|
+
return Hu.has(t.toLowerCase()) ? t === "vk-snippet-end" ? `<${t}${r}/>` : `<${t}${r}>` : la(e) ? `<${t}${r}>${e.innerHTML}</${t}>` : `<${t}${r}>${ua(e)}</${t}>`;
|
|
7507
7513
|
}
|
|
7508
7514
|
function da(e, t) {
|
|
7509
7515
|
for (const a of [...e.childNodes]) a.remove();
|
|
7510
|
-
let r = t.find((a) =>
|
|
7516
|
+
let r = t.find((a) => Ku(a)), n = t.find((a) => Ju(a)), i = e;
|
|
7511
7517
|
r || (r = document.createElement("html"), e.appendChild(r), i = r, n || (n = document.createElement("body"), r.appendChild(n), i = n));
|
|
7512
7518
|
for (const a of t) {
|
|
7513
7519
|
if (i === e && Qt(a)) {
|
|
@@ -8467,7 +8473,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8467
8473
|
var go;
|
|
8468
8474
|
(function(e) {
|
|
8469
8475
|
function t(a, s, l, u) {
|
|
8470
|
-
return new
|
|
8476
|
+
return new cd(a, s, l, u);
|
|
8471
8477
|
}
|
|
8472
8478
|
e.create = t;
|
|
8473
8479
|
function r(a) {
|
|
@@ -8502,7 +8508,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8502
8508
|
return a;
|
|
8503
8509
|
}
|
|
8504
8510
|
})(go || (go = {}));
|
|
8505
|
-
var
|
|
8511
|
+
var cd = class {
|
|
8506
8512
|
constructor(e, t, r, n) {
|
|
8507
8513
|
this._uri = e, this._languageId = t, this._version = r, this._content = n, this._lineOffsets = void 0;
|
|
8508
8514
|
}
|
|
@@ -8702,7 +8708,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8702
8708
|
}
|
|
8703
8709
|
e.update = r;
|
|
8704
8710
|
function n(i, a) {
|
|
8705
|
-
const s = i.getText(), l = Bi(a.map(
|
|
8711
|
+
const s = i.getText(), l = Bi(a.map(ud), (b, E) => {
|
|
8706
8712
|
const p = b.range.start.line - E.range.start.line;
|
|
8707
8713
|
return p === 0 ? b.range.start.character - E.range.start.character : p;
|
|
8708
8714
|
});
|
|
@@ -8745,7 +8751,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8745
8751
|
end: t
|
|
8746
8752
|
} : e;
|
|
8747
8753
|
}
|
|
8748
|
-
function
|
|
8754
|
+
function ud(e) {
|
|
8749
8755
|
const t = wo(e.range);
|
|
8750
8756
|
return t !== e.range ? {
|
|
8751
8757
|
newText: e.newText,
|
|
@@ -8773,7 +8779,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8773
8779
|
})(So || (So = {}));
|
|
8774
8780
|
var Pe = (function(e) {
|
|
8775
8781
|
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;
|
|
8776
|
-
})({}),
|
|
8782
|
+
})({}), dd = class {
|
|
8777
8783
|
source;
|
|
8778
8784
|
len;
|
|
8779
8785
|
position;
|
|
@@ -8841,19 +8847,19 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8841
8847
|
return this.goToEnd(), !1;
|
|
8842
8848
|
}
|
|
8843
8849
|
skipWhitespace() {
|
|
8844
|
-
return this.advanceWhileChar((e) => e ===
|
|
8850
|
+
return this.advanceWhileChar((e) => e === bd || e === _d || e === md || e === vd || e === gd) > 0;
|
|
8845
8851
|
}
|
|
8846
8852
|
advanceWhileChar(e) {
|
|
8847
8853
|
const t = this.position;
|
|
8848
8854
|
for (; this.position < this.len && e(this.source.charCodeAt(this.position));) this.position++;
|
|
8849
8855
|
return this.position - t;
|
|
8850
8856
|
}
|
|
8851
|
-
}, Ao = 33, yt = 45, Yr = 60, Qe = 62, qi = 47,
|
|
8857
|
+
}, Ao = 33, yt = 45, Yr = 60, Qe = 62, qi = 47, pd = 61, fd = 34, hd = 39, md = 10, gd = 13, vd = 12, bd = 32, _d = 9, yd = {
|
|
8852
8858
|
"text/x-handlebars-template": !0,
|
|
8853
8859
|
"text/html": !0
|
|
8854
8860
|
};
|
|
8855
|
-
function
|
|
8856
|
-
const i = new
|
|
8861
|
+
function wd(e, t = 0, r = re.WithinContent, n = !1) {
|
|
8862
|
+
const i = new dd(e, t);
|
|
8857
8863
|
let a = r, s = 0, l = 18, u, m, b, E, p;
|
|
8858
8864
|
function c() {
|
|
8859
8865
|
return i.advanceIfRegExp(/^[_:a-zA-Z][_:\w-.\d]*/).toLowerCase();
|
|
@@ -8904,14 +8910,14 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8904
8910
|
C = "Closing bracket expected.";
|
|
8905
8911
|
break;
|
|
8906
8912
|
case re.AfterOpeningStartTag: return b = c(), p = void 0, E = void 0, b.length > 0 ? (m = !1, a = re.WithinTag, w(_, 6)) : i.skipWhitespace() ? w(_, 17, "Tag name must directly follow the open bracket.") : (a = re.WithinTag, i.advanceUntilChar(Qe), _ < i.pos() ? w(_, 18, "Start tag name expected.") : I());
|
|
8907
|
-
case re.WithinTag: return i.skipWhitespace() ? (m = !0, w(_, 17)) : m && (E = h(), E.length > 0) ? (a = re.AfterAttributeName, m = !1, w(_, 11)) : i.advanceIfChars([qi, Qe]) ? (a = re.WithinContent, w(_, 5)) : i.advanceIfChar(Qe) ? (b === "script" ? p &&
|
|
8908
|
-
case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, w(_, 17)) : i.advanceIfChar(
|
|
8913
|
+
case re.WithinTag: return i.skipWhitespace() ? (m = !0, w(_, 17)) : m && (E = h(), E.length > 0) ? (a = re.AfterAttributeName, m = !1, w(_, 11)) : i.advanceIfChars([qi, Qe]) ? (a = re.WithinContent, w(_, 5)) : i.advanceIfChar(Qe) ? (b === "script" ? p && yd[p] ? a = re.WithinContent : a = re.WithinScriptContent : b === "style" ? a = re.WithinStyleContent : a = re.WithinContent, w(_, 4)) : n && i.peekChar() === Yr ? (a = re.WithinContent, w(_, 4, "Closing bracket missing.")) : (i.advance(1), w(_, 18, "Unexpected character in tag."));
|
|
8914
|
+
case re.AfterAttributeName: return i.skipWhitespace() ? (m = !0, w(_, 17)) : i.advanceIfChar(pd) ? (a = re.BeforeAttributeValue, w(_, 10)) : (a = re.WithinTag, I());
|
|
8909
8915
|
case re.BeforeAttributeValue:
|
|
8910
8916
|
if (i.skipWhitespace()) return w(_, 17);
|
|
8911
8917
|
let d = i.advanceIfRegExp(/^[^\s"'`=<>]+/);
|
|
8912
8918
|
if (d.length > 0) return i.peekChar() === Qe && i.peekChar(-1) === qi && (i.goBack(1), d = d.substr(0, d.length - 1)), E === "type" && (p = d), a = re.WithinTag, m = !1, w(_, 12);
|
|
8913
8919
|
const f = i.peekChar();
|
|
8914
|
-
return f ===
|
|
8920
|
+
return f === hd || f === fd ? (i.advance(1), i.advanceUntilChar(f) && i.advance(1), E === "type" && (p = i.getSource().substring(_ + 1, i.pos() - 1)), a = re.WithinTag, m = !1, w(_, 12)) : (a = re.WithinTag, m = !1, I());
|
|
8915
8921
|
case re.WithinScriptContent:
|
|
8916
8922
|
let y = 1;
|
|
8917
8923
|
for (; !i.eos();) {
|
|
@@ -8942,7 +8948,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8942
8948
|
getTokenError: () => u
|
|
8943
8949
|
};
|
|
8944
8950
|
}
|
|
8945
|
-
function
|
|
8951
|
+
function Ed(e) {
|
|
8946
8952
|
if (typeof e == "string") {
|
|
8947
8953
|
const t = e.startsWith("'") || e.startsWith("\"") ? 1 : 0, r = e.endsWith("'") || e.endsWith("\"") ? e.length - 1 : e.length;
|
|
8948
8954
|
return e.substring(t, r);
|
|
@@ -8992,7 +8998,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
8992
8998
|
this.dataManager = e;
|
|
8993
8999
|
}
|
|
8994
9000
|
parse(e, t = []) {
|
|
8995
|
-
const r =
|
|
9001
|
+
const r = wd(e, void 0, void 0, !0), n = new Ke(0, e.length, [], void 0);
|
|
8996
9002
|
n.type = ke.ROOT;
|
|
8997
9003
|
let i = n, a = -1, s, l = null, u = r.scan();
|
|
8998
9004
|
const m = () => {
|
|
@@ -9090,7 +9096,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9090
9096
|
}
|
|
9091
9097
|
case Pe.AttributeValue: {
|
|
9092
9098
|
const _ = r.getTokenText(), C = i.attributes;
|
|
9093
|
-
C && l && (C[l] =
|
|
9099
|
+
C && l && (C[l] = Ed(_), l = null);
|
|
9094
9100
|
break;
|
|
9095
9101
|
}
|
|
9096
9102
|
}
|
|
@@ -9129,7 +9135,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9129
9135
|
"wbr",
|
|
9130
9136
|
"vk-snippet-end"
|
|
9131
9137
|
]));
|
|
9132
|
-
var
|
|
9138
|
+
var xd = new ko(new pa([
|
|
9133
9139
|
"area",
|
|
9134
9140
|
"base",
|
|
9135
9141
|
"br",
|
|
@@ -9145,16 +9151,16 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9145
9151
|
"wbr",
|
|
9146
9152
|
"vk-snippet-end"
|
|
9147
9153
|
]));
|
|
9148
|
-
function xd(e) {
|
|
9149
|
-
return Ed.parse(e);
|
|
9150
|
-
}
|
|
9151
9154
|
function Sd(e) {
|
|
9155
|
+
return xd.parse(e);
|
|
9156
|
+
}
|
|
9157
|
+
function Ad(e) {
|
|
9152
9158
|
if (e) {
|
|
9153
9159
|
const t = document.createElement("div");
|
|
9154
9160
|
return t.insertAdjacentHTML("afterbegin", e), t.firstChild || document.createTextNode("");
|
|
9155
9161
|
} else return document.createTextNode("");
|
|
9156
9162
|
}
|
|
9157
|
-
function
|
|
9163
|
+
function Cd(e) {
|
|
9158
9164
|
let t;
|
|
9159
9165
|
switch (e?.toLowerCase()) {
|
|
9160
9166
|
case "tr":
|
|
@@ -9177,7 +9183,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9177
9183
|
}
|
|
9178
9184
|
return t;
|
|
9179
9185
|
}
|
|
9180
|
-
var
|
|
9186
|
+
var kd = new Set([
|
|
9181
9187
|
"onclick",
|
|
9182
9188
|
"onload",
|
|
9183
9189
|
"onchange",
|
|
@@ -9185,15 +9191,15 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9185
9191
|
"onmouseover",
|
|
9186
9192
|
"onkeydown",
|
|
9187
9193
|
"onerror"
|
|
9188
|
-
]),
|
|
9194
|
+
]), Td = new Set([
|
|
9189
9195
|
"script",
|
|
9190
9196
|
"style",
|
|
9191
9197
|
"xmp"
|
|
9192
9198
|
]);
|
|
9193
|
-
function
|
|
9194
|
-
return !(t &&
|
|
9199
|
+
function Od(e, t) {
|
|
9200
|
+
return !(t && Td.has(t.toLowerCase()) || kd.has(e.toLowerCase()));
|
|
9195
9201
|
}
|
|
9196
|
-
var
|
|
9202
|
+
var Pd = (e) => {
|
|
9197
9203
|
let t = e.indexOf("&");
|
|
9198
9204
|
for (; t !== -1;) {
|
|
9199
9205
|
if (e.indexOf(";", t) !== -1) return !0;
|
|
@@ -9204,7 +9210,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9204
9210
|
function To(e, t, r) {
|
|
9205
9211
|
let n = e.tagName.toLowerCase();
|
|
9206
9212
|
n === "html" && (n = "div");
|
|
9207
|
-
const i = `<${n} ${t}="${r}"/>`, a =
|
|
9213
|
+
const i = `<${n} ${t}="${r}"/>`, a = Cd(n);
|
|
9208
9214
|
if (a instanceof Document) return;
|
|
9209
9215
|
a.innerHTML = i;
|
|
9210
9216
|
const s = a.querySelector(n);
|
|
@@ -9214,7 +9220,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9214
9220
|
}
|
|
9215
9221
|
function wt(e, t, r) {
|
|
9216
9222
|
try {
|
|
9217
|
-
|
|
9223
|
+
Od(t, e.tagName) && !Pd(r) ? e.setAttribute(t, r) : To(e, t, r);
|
|
9218
9224
|
} catch {
|
|
9219
9225
|
To(e, t, r);
|
|
9220
9226
|
}
|
|
@@ -9247,28 +9253,28 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9247
9253
|
return n;
|
|
9248
9254
|
}
|
|
9249
9255
|
return document.createTextNode("<");
|
|
9250
|
-
case ke.HTML: return
|
|
9256
|
+
case ke.HTML: return Ad(r || "");
|
|
9251
9257
|
default: throw new Error("unsupported node");
|
|
9252
9258
|
}
|
|
9253
9259
|
}
|
|
9254
9260
|
function $i(e) {
|
|
9255
|
-
return
|
|
9261
|
+
return Sd(e).roots.map((t) => Hi(t));
|
|
9256
9262
|
}
|
|
9257
9263
|
var Oo = Symbol("Error");
|
|
9258
9264
|
function Vt(e) {
|
|
9259
9265
|
return Promise.all(e.map((t) => t instanceof Promise ? t.catch((r) => Oo) : t)).then((t) => t.filter((r) => r !== Oo));
|
|
9260
9266
|
}
|
|
9261
|
-
var Po = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e),
|
|
9267
|
+
var Po = (e, t) => t.some((r) => r instanceof RegExp ? r.test(e) : r === e), Rd = new Set([
|
|
9262
9268
|
"https:",
|
|
9263
9269
|
"http:",
|
|
9264
9270
|
"file:"
|
|
9265
|
-
]),
|
|
9271
|
+
]), Nd = (e) => {
|
|
9266
9272
|
const t = e.indexOf(":");
|
|
9267
9273
|
if (t <= 0) return !1;
|
|
9268
9274
|
const r = e.substring(0, t + 1);
|
|
9269
|
-
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !
|
|
9275
|
+
return /^[a-zA-Z][a-zA-Z0-9+\-.]*:$/.test(r) ? r.endsWith(":") && !r.includes(".") && !Rd.has(r) : !1;
|
|
9270
9276
|
};
|
|
9271
|
-
function
|
|
9277
|
+
function Id(e, t) {
|
|
9272
9278
|
if (t = {
|
|
9273
9279
|
defaultProtocol: "http",
|
|
9274
9280
|
normalizeProtocol: !0,
|
|
@@ -9286,7 +9292,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9286
9292
|
sortQueryParameters: !0,
|
|
9287
9293
|
...t
|
|
9288
9294
|
}, !e) return "";
|
|
9289
|
-
if (Ro(e) && (e = dt(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) ||
|
|
9295
|
+
if (Ro(e) && (e = dt(e)), typeof t.defaultProtocol == "string" && !t.defaultProtocol.endsWith(":") && (t.defaultProtocol = `${t.defaultProtocol}:`), e = e.trim(), /^data:/i.test(e) || Nd(e)) return e;
|
|
9290
9296
|
const r = e.startsWith("//"), n = !r && /^\.*\//.test(e);
|
|
9291
9297
|
let i;
|
|
9292
9298
|
try {
|
|
@@ -9336,22 +9342,22 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9336
9342
|
function Ro(e) {
|
|
9337
9343
|
if (!e) return !1;
|
|
9338
9344
|
const t = e[0];
|
|
9339
|
-
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") ||
|
|
9345
|
+
return e.startsWith("/") || e.startsWith("./") || e.startsWith("../") || Md(t);
|
|
9340
9346
|
}
|
|
9341
|
-
function
|
|
9347
|
+
function Md(e) {
|
|
9342
9348
|
const t = e.charCodeAt(0);
|
|
9343
9349
|
return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
|
|
9344
9350
|
}
|
|
9345
|
-
function
|
|
9351
|
+
function jd(e) {
|
|
9346
9352
|
return /^(mailto:|tel:|fax:|sms:|geo:|blob:|data:|javascript:)/i.test(e);
|
|
9347
9353
|
}
|
|
9348
9354
|
function dt(e) {
|
|
9349
|
-
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Ro(e) ||
|
|
9355
|
+
if (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("//") || !Ro(e) || jd(e)) return e;
|
|
9350
9356
|
if (e.startsWith("/")) return window.location.origin + e;
|
|
9351
9357
|
const t = window.location.href, r = t.lastIndexOf("/");
|
|
9352
9358
|
return (r !== -1 ? t.slice(0, r + 1) : t + "/") + e;
|
|
9353
9359
|
}
|
|
9354
|
-
var Et = /<script\b(?=[^>]*(?:\bbis_use(?:=|\s)|\bdata-bis-config(?:=|\s)|\bdata-dynamic-id(?:=|\s)|local\.adguard\.org|(?:chrome-extension|moz-extension|safari-extension):\/\/))[^>]*>[\s\S]*?<\/script>/gi,
|
|
9360
|
+
var Et = /<script\b(?=[^>]*(?:\bbis_use(?:=|\s)|\bdata-bis-config(?:=|\s)|\bdata-dynamic-id(?:=|\s)|local\.adguard\.org|(?:chrome-extension|moz-extension|safari-extension):\/\/))[^>]*>[\s\S]*?<\/script>/gi, Dd = /\s(?:bis_[a-z0-9_-]+|data-bis-config|data-dynamic-id)=(["'])(?:(?!\1).)*\1/gi, xt = /<style\b[^>]*>[\s\S]*?<\/style>/gi, No = /display:\s*none\s*!important/gi, Ld = /((?:html\s*,\s*body|body\s*,\s*html)\s*\{)([^}]*)(\})/gi, Fd = /\s*height\s*:\s*100%\s*!important\s*;?/gi, Ud = /height\s*:\s*100%\s*!important/i, zd = [
|
|
9355
9361
|
".socialshare,",
|
|
9356
9362
|
".advertisment,",
|
|
9357
9363
|
".adHolder,",
|
|
@@ -9368,57 +9374,57 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
9368
9374
|
"#advblock",
|
|
9369
9375
|
"body { overflow: visible!important; }"
|
|
9370
9376
|
];
|
|
9371
|
-
function
|
|
9377
|
+
function Bd(e) {
|
|
9372
9378
|
return No.lastIndex = 0, (e.match(No) || []).length;
|
|
9373
9379
|
}
|
|
9374
9380
|
function Io(e) {
|
|
9375
|
-
const t = e.trim(), r =
|
|
9381
|
+
const t = e.trim(), r = Bd(t);
|
|
9376
9382
|
if (r === 0) return !1;
|
|
9377
9383
|
if (t.includes(".advertisment,") && t.includes(".adHolder,") && (t.includes(".socialshare,") || r >= 3 || t.length > 2e3)) return !0;
|
|
9378
|
-
const n =
|
|
9384
|
+
const n = zd.filter((i) => t.includes(i)).length;
|
|
9379
9385
|
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);
|
|
9380
9386
|
}
|
|
9381
|
-
function
|
|
9387
|
+
function qd(e) {
|
|
9382
9388
|
xt.lastIndex = 0;
|
|
9383
9389
|
for (const t of e.matchAll(xt)) if (Io(t[0].replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, ""))) return !0;
|
|
9384
9390
|
return !1;
|
|
9385
9391
|
}
|
|
9386
|
-
function
|
|
9392
|
+
function Hd(e) {
|
|
9387
9393
|
let t = !1;
|
|
9388
9394
|
return xt.lastIndex = 0, {
|
|
9389
9395
|
html: e.replace(xt, (r) => Io(r.replace(/^<style\b[^>]*>/i, "").replace(/<\/style>$/i, "")) ? (t = !0, "") : r),
|
|
9390
9396
|
found: t
|
|
9391
9397
|
};
|
|
9392
9398
|
}
|
|
9393
|
-
function
|
|
9394
|
-
return Et.lastIndex = 0, Et.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) ||
|
|
9399
|
+
function $d(e) {
|
|
9400
|
+
return Et.lastIndex = 0, Et.test(e) || /\sbis_[a-z0-9_-]+\s*=/.test(e) || /\sdata-bis-config\s*=/.test(e) || qd(e);
|
|
9395
9401
|
}
|
|
9396
9402
|
function Mo(e) {
|
|
9397
|
-
if (
|
|
9403
|
+
if (!$d(e)) return {
|
|
9398
9404
|
html: e,
|
|
9399
9405
|
found: !1
|
|
9400
9406
|
};
|
|
9401
9407
|
let t = !1, r = e;
|
|
9402
|
-
Et.lastIndex = 0, Et.test(r) && (Et.lastIndex = 0, r = r.replace(Et, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(
|
|
9403
|
-
const n =
|
|
9408
|
+
Et.lastIndex = 0, Et.test(r) && (Et.lastIndex = 0, r = r.replace(Et, ""), t = !0), (/\sbis_[a-z0-9_-]+\s*=/.test(r) || /\sdata-bis-config\s*=/.test(r)) && (r = r.replace(Dd, ""), t = !0);
|
|
9409
|
+
const n = Hd(r);
|
|
9404
9410
|
return r = n.html, t = t || n.found, {
|
|
9405
9411
|
html: r,
|
|
9406
9412
|
found: t
|
|
9407
9413
|
};
|
|
9408
9414
|
}
|
|
9409
|
-
function $d(e) {
|
|
9410
|
-
return !e || !Fd.test(e) ? e : (xt.lastIndex = 0, e.replace(xt, (t) => t.replace(Dd, (r, n, i, a) => `${n}${i.replace(Ld, "")}${a}`)));
|
|
9411
|
-
}
|
|
9412
9415
|
function Wd(e) {
|
|
9416
|
+
return !e || !Ud.test(e) ? e : (xt.lastIndex = 0, e.replace(xt, (t) => t.replace(Ld, (r, n, i, a) => `${n}${i.replace(Fd, "")}${a}`)));
|
|
9417
|
+
}
|
|
9418
|
+
function Qd(e) {
|
|
9413
9419
|
const t = Mo(e.replaceAll(`\r
|
|
9414
9420
|
`, `
|
|
9415
9421
|
`));
|
|
9416
9422
|
return {
|
|
9417
|
-
html:
|
|
9423
|
+
html: Wd(t.html),
|
|
9418
9424
|
hasBrowserExtensionArtifacts: t.found
|
|
9419
9425
|
};
|
|
9420
9426
|
}
|
|
9421
|
-
var
|
|
9427
|
+
var Gd = Z.__commonJSMin(((e, t) => {
|
|
9422
9428
|
(function(r, n) {
|
|
9423
9429
|
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 = {}));
|
|
9424
9430
|
})(e, (function(r) {
|
|
@@ -10336,33 +10342,33 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10336
10342
|
r.ChildListChange = i, r.MutationProjection = m, r.MutationSummary = I, r.NodeChange = l, r.NodeMap = n, r.Qualifier = E, r.Selector = w, r.Summary = b, r.TreeChanges = u, r.TreeMirror = _, r.TreeMirrorClient = C, Object.defineProperty(r, "__esModule", { value: !0 });
|
|
10337
10343
|
}));
|
|
10338
10344
|
}))(), St = 0, At = new Array(1e3);
|
|
10339
|
-
function
|
|
10345
|
+
function Zd() {
|
|
10340
10346
|
for (let e = 0; e < St; e += 2) {
|
|
10341
10347
|
const t = At[e], r = At[e + 1];
|
|
10342
10348
|
t(...r), At[e] = void 0, At[e + 1] = void 0;
|
|
10343
10349
|
}
|
|
10344
10350
|
St = 0;
|
|
10345
10351
|
}
|
|
10346
|
-
function
|
|
10347
|
-
At[St] = e, At[St + 1] = t, St += 2, St === 2 &&
|
|
10352
|
+
function Yd(e, ...t) {
|
|
10353
|
+
At[St] = e, At[St + 1] = t, St += 2, St === 2 && Xd();
|
|
10348
10354
|
}
|
|
10349
|
-
function
|
|
10355
|
+
function Jd() {
|
|
10350
10356
|
let e = 0;
|
|
10351
|
-
const t = new MutationObserver(
|
|
10357
|
+
const t = new MutationObserver(Zd), r = document.createTextNode("");
|
|
10352
10358
|
return t.observe(r, { characterData: !0 }), () => {
|
|
10353
10359
|
r.data = String(e = ++e % 2);
|
|
10354
10360
|
};
|
|
10355
10361
|
}
|
|
10356
|
-
var
|
|
10362
|
+
var Xd = Jd();
|
|
10357
10363
|
function jo() {
|
|
10358
|
-
|
|
10364
|
+
Yd(() => {
|
|
10359
10365
|
Wi.hasListeners() && (Wi.fire(), jo());
|
|
10360
10366
|
});
|
|
10361
10367
|
}
|
|
10362
|
-
var Wi = new O.Emitter({ onFirstListenerAdd: jo }), Qi = Wi.once,
|
|
10368
|
+
var Wi = new O.Emitter({ onFirstListenerAdd: jo }), Qi = Wi.once, Kd = class extends O.Emitter {
|
|
10363
10369
|
_mutationSummary;
|
|
10364
10370
|
constructor(e = {}) {
|
|
10365
|
-
super(), this._mutationSummary = new
|
|
10371
|
+
super(), this._mutationSummary = new Gd.MutationSummary({
|
|
10366
10372
|
...e,
|
|
10367
10373
|
observeOwnChanges: !0,
|
|
10368
10374
|
callback: (t) => this.fire(t),
|
|
@@ -10376,7 +10382,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10376
10382
|
const t = this._mutationSummary.takeSummaries();
|
|
10377
10383
|
return (e || t?.length) && this.fire(t || []), t;
|
|
10378
10384
|
}
|
|
10379
|
-
},
|
|
10385
|
+
}, ep = class extends O.Disposable {
|
|
10380
10386
|
_mutationEmitter;
|
|
10381
10387
|
_innerEmitter = this.addDisposable(new O.Emitter({ onFirstListenerAdd: () => {
|
|
10382
10388
|
this._nextTickHandler();
|
|
@@ -10391,7 +10397,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10391
10397
|
}, Number.MAX_VALUE);
|
|
10392
10398
|
}
|
|
10393
10399
|
constructor(e = {}) {
|
|
10394
|
-
super(), this._mutationEmitter = this.addDisposable(new
|
|
10400
|
+
super(), this._mutationEmitter = this.addDisposable(new Kd(e)), this.onNativeMutate = this._mutationEmitter.event, this.addDisposable(this._mutationEmitter.event((t) => {
|
|
10395
10401
|
this._stopped || (this._paused ? this._lostEmitter.fire(t) : (this._summaries.push(...t), Qi(() => {
|
|
10396
10402
|
this._summaries.length && !this._innerEmitter.hasListeners() && (this._lostEmitter.fire(this._summaries), this._summaries = []);
|
|
10397
10403
|
}, Number.MAX_VALUE)));
|
|
@@ -10419,7 +10425,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10419
10425
|
onLost = this._lostEmitter.event;
|
|
10420
10426
|
onNativeMutate;
|
|
10421
10427
|
};
|
|
10422
|
-
function
|
|
10428
|
+
function tp(e) {
|
|
10423
10429
|
for (const t of e) {
|
|
10424
10430
|
if (t.removed) for (const r of t.removed) {
|
|
10425
10431
|
const n = t.getOldParentNode(r), i = t.getOldPreviousSibling(r);
|
|
@@ -10443,18 +10449,18 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10443
10449
|
if (t.characterDataChanged) for (const r of t.characterDataChanged) (Qt(r) || ki(r) || ki(r)) && (r.data = t.getOldCharacterData(r));
|
|
10444
10450
|
}
|
|
10445
10451
|
}
|
|
10446
|
-
var
|
|
10452
|
+
var rp = class extends O.Disposable {
|
|
10447
10453
|
_commitPromise;
|
|
10448
10454
|
_mutationCollector;
|
|
10449
10455
|
_onLostSummaries = (e) => {
|
|
10450
10456
|
try {
|
|
10451
|
-
this._mutationCollector.stop(),
|
|
10457
|
+
this._mutationCollector.stop(), tp(e);
|
|
10452
10458
|
} finally {
|
|
10453
10459
|
this._mutationCollector.start();
|
|
10454
10460
|
}
|
|
10455
10461
|
};
|
|
10456
10462
|
constructor(e) {
|
|
10457
|
-
super(), this._mutationCollector = this.addDisposable(new
|
|
10463
|
+
super(), this._mutationCollector = this.addDisposable(new ep({
|
|
10458
10464
|
rootNode: e,
|
|
10459
10465
|
oldPreviousSibling: !0
|
|
10460
10466
|
})), this._mutationCollector.onLost(this._onLostSummaries);
|
|
@@ -10492,7 +10498,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10492
10498
|
if (i.hasListeners()) {
|
|
10493
10499
|
const l = document.createElement("iframe");
|
|
10494
10500
|
l.style.position = "absolute", l.style.left = "-10000px", document.body.appendChild(l);
|
|
10495
|
-
const u = l.contentWindow.document, m = new
|
|
10501
|
+
const u = l.contentWindow.document, m = new rp(l.contentDocument);
|
|
10496
10502
|
let b;
|
|
10497
10503
|
try {
|
|
10498
10504
|
if (t) {
|
|
@@ -10527,8 +10533,8 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10527
10533
|
throw a;
|
|
10528
10534
|
}
|
|
10529
10535
|
}
|
|
10530
|
-
var
|
|
10531
|
-
function
|
|
10536
|
+
var ip = /url(?:\((['|"]?))(.*?\.(png|jpg|gif|jpeg|tiff){1})(?:['|"]?\))/gi;
|
|
10537
|
+
function np(e) {
|
|
10532
10538
|
return e.arrayBuffer().then((t) => {
|
|
10533
10539
|
const r = new Uint8Array(t);
|
|
10534
10540
|
let n = "";
|
|
@@ -10546,7 +10552,7 @@ while (g === D[++z] && g === D[++z] && g === D[++z] && g === D[++z] && g === D[+
|
|
|
10546
10552
|
function Jr(e) {
|
|
10547
10553
|
return e.replaceAll(/[\\\/:*?"<>|]/g, "_");
|
|
10548
10554
|
}
|
|
10549
|
-
async function
|
|
10555
|
+
async function ap(e, t, r, n, i, a, s) {
|
|
10550
10556
|
const l = [];
|
|
10551
10557
|
a && (a.attachments = l);
|
|
10552
10558
|
let u = "";
|
|
@@ -10586,24 +10592,24 @@ ${E.base64}\r
|
|
|
10586
10592
|
\r
|
|
10587
10593
|
${u}`;
|
|
10588
10594
|
}
|
|
10589
|
-
function
|
|
10595
|
+
function op(e, t = !0) {
|
|
10590
10596
|
const r = Ie.decodeFileNameFromPath(e);
|
|
10591
10597
|
return t ? Jr(r) : r;
|
|
10592
10598
|
}
|
|
10593
|
-
function
|
|
10599
|
+
function sp(e) {
|
|
10594
10600
|
return !(e.length > 8 || e.length < 1 || /[^\x00-\x7F]/.test(e) || /[\\\/:*?"<>|&=%]/.test(e) || !/[a-zA-Z]/.test(e) || /^\d+$/.test(e));
|
|
10595
10601
|
}
|
|
10596
10602
|
function Lo(e) {
|
|
10597
10603
|
const t = Ie.decodeFileNameFromPath(e), r = t.lastIndexOf("."), n = t.slice(r + 1);
|
|
10598
|
-
return r === -1 || !
|
|
10604
|
+
return r === -1 || !sp(n) ? [Jr(t), ""] : [Jr(t.slice(0, r)), n];
|
|
10599
10605
|
}
|
|
10600
|
-
function
|
|
10606
|
+
function lp(e) {
|
|
10601
10607
|
return Bo(e).then((t) => qo(t));
|
|
10602
10608
|
}
|
|
10603
10609
|
function Fo(e) {
|
|
10604
10610
|
return e.replace("<script", "<___script").replace("<\/script>", "</___script>");
|
|
10605
10611
|
}
|
|
10606
|
-
var Ve = new
|
|
10612
|
+
var Ve = new Bu((e) => {
|
|
10607
10613
|
e.escape("<script", "<\/script>", (t) => Fo(t)).unescape("<___script", "</___script>", (t) => t.replace("<___script", "<script").replace("</___script>", "<\/script>")), e.escape("<script", "/>", (t) => Fo(t)).unescape("<___script", "/>", (t) => t.replace("<___script", "<script")), Kn(e);
|
|
10608
10614
|
});
|
|
10609
10615
|
async function Xr(e, t, r, n) {
|
|
@@ -10643,13 +10649,13 @@ ${u}`;
|
|
|
10643
10649
|
return Promise.reject(n);
|
|
10644
10650
|
}
|
|
10645
10651
|
}
|
|
10646
|
-
async function
|
|
10652
|
+
async function cp(e, t, r = new Map(), n) {
|
|
10647
10653
|
const i = (E) => {
|
|
10648
10654
|
let p = r.get(E);
|
|
10649
10655
|
return p || (p = t(E), r.set(E, p)), p instanceof Promise ? p : Promise.resolve(p);
|
|
10650
10656
|
};
|
|
10651
10657
|
function a(E) {
|
|
10652
|
-
return Kr(E,
|
|
10658
|
+
return Kr(E, ip, async (p, c = "", h) => `url(${c}${await i(h)}${c})`);
|
|
10653
10659
|
}
|
|
10654
10660
|
async function s(E) {
|
|
10655
10661
|
const p = E.getAttribute("style");
|
|
@@ -10671,7 +10677,7 @@ ${u}`;
|
|
|
10671
10677
|
const p = E.getAttribute("background");
|
|
10672
10678
|
if (p && b.push(i(p).then((c) => {
|
|
10673
10679
|
E.setAttribute("background", c || p), n && n();
|
|
10674
|
-
})), sa(E) ||
|
|
10680
|
+
})), sa(E) || Yu(E)) {
|
|
10675
10681
|
const c = E.getAttribute("src"), h = c && Ve.hasDetectedMappings(c, !0, !0) ? c : ("src" in E ? E.src : "") || c;
|
|
10676
10682
|
h && b.push(i(h).then((w) => {
|
|
10677
10683
|
w || (w = h), E.setAttribute("src", w), n && n();
|
|
@@ -10684,7 +10690,7 @@ ${u}`;
|
|
|
10684
10690
|
}));
|
|
10685
10691
|
}
|
|
10686
10692
|
} else if (ki(E)) {
|
|
10687
|
-
const p =
|
|
10693
|
+
const p = ad(E), c = p?.content;
|
|
10688
10694
|
c && b.push(Kr(c, /<v:fill.*>/gi, async (h) => Kr(await Kr(h, /src="([^"]*)"/gi, async (w, k) => `src="${await i(k) || k}"`), /src='([^']*)'/gi, async (w, k) => `src='${await i(k) || k}'`)).then((h) => {
|
|
10689
10695
|
c !== h && (E.replaceWith($i(`${p.open}${h}${p.close}`)[0]), n && n());
|
|
10690
10696
|
}));
|
|
@@ -10693,9 +10699,9 @@ ${u}`;
|
|
|
10693
10699
|
return Vt(b);
|
|
10694
10700
|
}
|
|
10695
10701
|
async function Gt(e, t, r = new Map(), n) {
|
|
10696
|
-
await
|
|
10702
|
+
await cp(e, t, r, n);
|
|
10697
10703
|
}
|
|
10698
|
-
function
|
|
10704
|
+
function up(e) {
|
|
10699
10705
|
const t = new Map();
|
|
10700
10706
|
let r = 0;
|
|
10701
10707
|
for (; r >= 0;) if (r = e.indexOf("<!--", r), r >= 0) {
|
|
@@ -10704,7 +10710,7 @@ ${u}`;
|
|
|
10704
10710
|
}
|
|
10705
10711
|
return t;
|
|
10706
10712
|
}
|
|
10707
|
-
function
|
|
10713
|
+
function dp(e) {
|
|
10708
10714
|
return !!e && Ve.hasDetectedMappings(e, !0, !0);
|
|
10709
10715
|
}
|
|
10710
10716
|
function Uo(e, t) {
|
|
@@ -10717,7 +10723,7 @@ ${u}`;
|
|
|
10717
10723
|
if (t) for (const m of Object.keys(t)) t[m] && !l.has(m) && (u = u + (u ? "&" : "") + `${m}=${t[m]}`);
|
|
10718
10724
|
return u === s ? e : i + (u ? `?${u}` : "") + (n ? `#${n}` : "");
|
|
10719
10725
|
}
|
|
10720
|
-
function
|
|
10726
|
+
function pp(e) {
|
|
10721
10727
|
const t = Ve.getDetectedMappings(e, !0, !0).slice().sort((a, s) => s.range.start - a.range.start), r = [], n = [];
|
|
10722
10728
|
let i = e;
|
|
10723
10729
|
for (const { range: a } of t) {
|
|
@@ -10733,9 +10739,9 @@ ${u}`;
|
|
|
10733
10739
|
restore: (a) => n.reduce((s, { token: l, original: u }) => s.split(l).join(u), a)
|
|
10734
10740
|
};
|
|
10735
10741
|
}
|
|
10736
|
-
function
|
|
10742
|
+
function fp(e, t, r, n) {
|
|
10737
10743
|
if (!/^https?:\/\//i.test(t.trimStart())) return;
|
|
10738
|
-
const { masked: i, tokens: a, restore: s } =
|
|
10744
|
+
const { masked: i, tokens: a, restore: s } = pp(t), l = i.replace(/^https?:\/\//i, ""), u = l.search(/[/?#]/), m = u === -1 ? l : l.slice(0, u);
|
|
10739
10745
|
if (!a.some((p) => m.includes(p)) && e.host === document.location.host) return;
|
|
10740
10746
|
const b = Uo(i, r);
|
|
10741
10747
|
if (b === i) return;
|
|
@@ -10744,13 +10750,13 @@ ${u}`;
|
|
|
10744
10750
|
}
|
|
10745
10751
|
function Gi(e, t, r) {
|
|
10746
10752
|
const n = e.getAttribute("href");
|
|
10747
|
-
if (
|
|
10748
|
-
|
|
10753
|
+
if (dp(n)) {
|
|
10754
|
+
fp(e, n, t, r);
|
|
10749
10755
|
return;
|
|
10750
10756
|
}
|
|
10751
10757
|
let i = e.href;
|
|
10752
10758
|
if (i = dt(i), i && e.protocol.startsWith("http")) {
|
|
10753
|
-
const a =
|
|
10759
|
+
const a = up(i);
|
|
10754
10760
|
if (a.forEach((s, l) => {
|
|
10755
10761
|
i = i.replaceAll(l, s);
|
|
10756
10762
|
}), e.host !== document.location.host) {
|
|
@@ -10761,7 +10767,7 @@ ${u}`;
|
|
|
10761
10767
|
}
|
|
10762
10768
|
}
|
|
10763
10769
|
}
|
|
10764
|
-
async function
|
|
10770
|
+
async function hp(e, t, r, n, i) {
|
|
10765
10771
|
let [a, s] = t || [800];
|
|
10766
10772
|
return typeof a == "number" && (a = a + "px"), typeof s == "number" && (s = s + "px"), e = await Xr(e, async (l) => {
|
|
10767
10773
|
const u = l.document;
|
|
@@ -10784,7 +10790,7 @@ ${u}`;
|
|
|
10784
10790
|
isNaN(w) || c.setAttribute("height", String(w)), !isNaN(k) && !c.getAttribute("width") && c.setAttribute("width", String(k));
|
|
10785
10791
|
}
|
|
10786
10792
|
E.commit();
|
|
10787
|
-
} else if (
|
|
10793
|
+
} else if (od(c)) {
|
|
10788
10794
|
const h = parseInt(getComputedStyle(c).width);
|
|
10789
10795
|
!isNaN(h) && c.parentElement.tagName !== "BODY" && c.setAttribute("width", String(h)), E.commit();
|
|
10790
10796
|
} else c.tagName === "TD" || c.tagName === "A" && Gi(c, r, () => E.commit());
|
|
@@ -10823,7 +10829,7 @@ ${u}`;
|
|
|
10823
10829
|
return _;
|
|
10824
10830
|
}
|
|
10825
10831
|
try {
|
|
10826
|
-
const C = await b(_), d = `img-${O.generateUUID()}@emailmaker`, f = await
|
|
10832
|
+
const C = await b(_), d = `img-${O.generateUUID()}@emailmaker`, f = await np(C);
|
|
10827
10833
|
return E.push({
|
|
10828
10834
|
cid: d,
|
|
10829
10835
|
mimeType: C.type || "application/octet-stream",
|
|
@@ -10840,12 +10846,12 @@ ${u}`;
|
|
|
10840
10846
|
if (n) return n(u);
|
|
10841
10847
|
}, [s, l], a), e = e.replaceAll(/<tbody>/gi, "").replaceAll(/<\/tbody>/gi, ""), e;
|
|
10842
10848
|
}
|
|
10843
|
-
var
|
|
10844
|
-
function
|
|
10849
|
+
var mp = "images", gp = 40;
|
|
10850
|
+
function vp() {
|
|
10845
10851
|
const e = new Date();
|
|
10846
10852
|
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("")}`;
|
|
10847
10853
|
}
|
|
10848
|
-
async function
|
|
10854
|
+
async function bp(e, t, r, n = lp, i, a) {
|
|
10849
10855
|
const s = Object.create(null);
|
|
10850
10856
|
let [l, u] = t || [800];
|
|
10851
10857
|
typeof l == "number" && (l = l + "px"), typeof u == "number" && (u = u + "px");
|
|
@@ -10855,13 +10861,13 @@ ${u}`;
|
|
|
10855
10861
|
Ve.getEscapedText(h) === h && (h = dt(h));
|
|
10856
10862
|
const w = await n(h);
|
|
10857
10863
|
let [k, I] = Lo(h);
|
|
10858
|
-
if (k.length >
|
|
10864
|
+
if (k.length > gp && (k = vp()), !I || !_i.getType(I)) try {
|
|
10859
10865
|
I = _i.getExtension(w.type);
|
|
10860
10866
|
} catch {}
|
|
10861
10867
|
let _ = `${k}.${I}`, C = 1;
|
|
10862
10868
|
for (; m.has(_);) _ = `${k}(${++C}).${I}`;
|
|
10863
10869
|
m.add(_);
|
|
10864
|
-
const d = `${
|
|
10870
|
+
const d = `${mp}/${_}`;
|
|
10865
10871
|
return s[d] = w, d;
|
|
10866
10872
|
});
|
|
10867
10873
|
const c = p.querySelectorAll("a");
|
|
@@ -10870,7 +10876,7 @@ ${u}`;
|
|
|
10870
10876
|
}, [l, u], a);
|
|
10871
10877
|
return s["index.html"] = new Blob([b], { type: "text/html;charset=utf-8" }), s;
|
|
10872
10878
|
}
|
|
10873
|
-
function
|
|
10879
|
+
function _p(e) {
|
|
10874
10880
|
const t = new En.default();
|
|
10875
10881
|
for (const r of Object.keys(e)) {
|
|
10876
10882
|
let n = t;
|
|
@@ -10893,7 +10899,7 @@ ${u}`;
|
|
|
10893
10899
|
const n = document.createElement("canvas");
|
|
10894
10900
|
return n.width = e.width, n.height = e.height, n.getContext("2d").drawImage(e, 0, 0), new Promise((i, a) => n.toBlob((s) => s ? i(s) : a("blob is null"), t, Number(r) || 0));
|
|
10895
10901
|
}
|
|
10896
|
-
function
|
|
10902
|
+
function yp(e, t) {
|
|
10897
10903
|
do {
|
|
10898
10904
|
if (e === t) return !0;
|
|
10899
10905
|
e = e.parentNode;
|
|
@@ -10902,13 +10908,13 @@ ${u}`;
|
|
|
10902
10908
|
}
|
|
10903
10909
|
function Ho(e) {
|
|
10904
10910
|
const t = e.ownerDocument?.body;
|
|
10905
|
-
if (t &&
|
|
10911
|
+
if (t && yp(e, t)) {
|
|
10906
10912
|
if (et(e) && (e.tagName === "IMG" || e.tagName === "SPAN" && e.classList.contains("preheader"))) return "";
|
|
10907
10913
|
if (e.nodeName === "#text") return e.textContent;
|
|
10908
10914
|
}
|
|
10909
10915
|
return e.childNodes ? [...e.childNodes].map(Ho).join("") : "";
|
|
10910
10916
|
}
|
|
10911
|
-
function
|
|
10917
|
+
function wp(e) {
|
|
10912
10918
|
const { document: t } = Do(e);
|
|
10913
10919
|
try {
|
|
10914
10920
|
return Ho(t).replace(/\u2800/g, "").replace(/(\r\n|\r|\n){2,}/g, `
|
|
@@ -10935,22 +10941,22 @@ ${u}`;
|
|
|
10935
10941
|
for (const n of r) t[n] = e.getAttribute(n);
|
|
10936
10942
|
return t;
|
|
10937
10943
|
}
|
|
10938
|
-
function
|
|
10944
|
+
function Ep(e) {
|
|
10939
10945
|
for (const t of document.querySelectorAll("iframe")) if (t.contentDocument === e.ownerDocument) return t;
|
|
10940
10946
|
}
|
|
10941
|
-
function
|
|
10947
|
+
function xp(e) {
|
|
10942
10948
|
const t = Zt(e);
|
|
10943
10949
|
if (!e.querySelector("style[amp4email-boilerplate]")) {
|
|
10944
10950
|
const r = e.createElement("style");
|
|
10945
10951
|
r.setAttribute("amp4email-boilerplate", ""), r.innerHTML = "body{visibility:hidden}", t.prepend(r);
|
|
10946
10952
|
}
|
|
10947
10953
|
}
|
|
10948
|
-
function
|
|
10954
|
+
function Sp(e) {
|
|
10949
10955
|
const t = e.querySelector("style[amp4email-boilerplate]");
|
|
10950
10956
|
t && t.remove();
|
|
10951
10957
|
}
|
|
10952
10958
|
var ei = "amp-custom";
|
|
10953
|
-
function
|
|
10959
|
+
function Ap(e, t) {
|
|
10954
10960
|
return `em-${e.replaceAll("-", "_")}-${t.toLowerCase()}`;
|
|
10955
10961
|
}
|
|
10956
10962
|
function Qo(e, t, r) {
|
|
@@ -10974,7 +10980,7 @@ ${u}`;
|
|
|
10974
10980
|
if (r) {
|
|
10975
10981
|
const a = new Set();
|
|
10976
10982
|
Qo(e, r.cssRules, (s, l) => {
|
|
10977
|
-
const u =
|
|
10983
|
+
const u = Ap(s, l), m = [...r.cssRules], b = `.${u} { ${s}: ${l} }`;
|
|
10978
10984
|
return !m.find((E) => Wt.isStyleRule(E) && E.selectorText === `.${u}`) && !a.has(b) && (a.add(b), t.innerHTML = `
|
|
10979
10985
|
.${u} { ${s}: ${l} };
|
|
10980
10986
|
${t.innerHTML}`), u;
|
|
@@ -10986,7 +10992,7 @@ ${t.innerHTML}`);
|
|
|
10986
10992
|
const n = t.innerHTML, i = n.replace(/!important/g, "");
|
|
10987
10993
|
n !== i && (t.innerHTML = i);
|
|
10988
10994
|
}
|
|
10989
|
-
function
|
|
10995
|
+
function Cp(e) {
|
|
10990
10996
|
const t = Zt(e), r = e.querySelectorAll("link[rel=\"stylesheet\"]"), n = [...e.querySelectorAll("style")].filter((a) => !a.hasAttribute("amp4email-boilerplate"));
|
|
10991
10997
|
if (n.length === 1) {
|
|
10992
10998
|
const a = n[0];
|
|
@@ -11005,12 +11011,12 @@ ${i.join("")}
|
|
|
11005
11011
|
}
|
|
11006
11012
|
for (const a of r) a.remove();
|
|
11007
11013
|
}
|
|
11008
|
-
function
|
|
11014
|
+
function kp(e) {
|
|
11009
11015
|
const t = e.querySelector(`style[${ei}]`);
|
|
11010
11016
|
t && t.removeAttribute(ei);
|
|
11011
11017
|
}
|
|
11012
|
-
var
|
|
11013
|
-
function
|
|
11018
|
+
var Tp = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", ti = "<!doctype html>";
|
|
11019
|
+
function Op(e) {
|
|
11014
11020
|
const t = e.doctype;
|
|
11015
11021
|
if (t) {
|
|
11016
11022
|
if (Si(t) === ti) return;
|
|
@@ -11021,10 +11027,10 @@ ${i.join("")}
|
|
|
11021
11027
|
e.insertBefore(r, e.firstChild);
|
|
11022
11028
|
}
|
|
11023
11029
|
}
|
|
11024
|
-
function
|
|
11030
|
+
function Pp(e) {
|
|
11025
11031
|
const t = e.doctype;
|
|
11026
11032
|
if (t && Si(t).toLowerCase() === ti) {
|
|
11027
|
-
const r = new DOMParser().parseFromString(
|
|
11033
|
+
const r = new DOMParser().parseFromString(Tp, "text/html").doctype;
|
|
11028
11034
|
e.replaceChild(r, t);
|
|
11029
11035
|
}
|
|
11030
11036
|
}
|
|
@@ -11033,7 +11039,7 @@ ${i.join("")}
|
|
|
11033
11039
|
try {
|
|
11034
11040
|
let a = e;
|
|
11035
11041
|
for (; a && Ai(a);) getComputedStyle(a)?.display === "none" && (a.style.display = "initial", i.push([a, a.style.display])), a = a.parentElement;
|
|
11036
|
-
const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u =
|
|
11042
|
+
const s = n?.height ? `${parseInt(n.height)}` : "", l = n?.width ? `${parseInt(n.width)}` : "", u = Ep(e);
|
|
11037
11043
|
let m = !1;
|
|
11038
11044
|
if (u) {
|
|
11039
11045
|
const E = u.getAttribute("width");
|
|
@@ -11060,12 +11066,12 @@ ${i.join("")}
|
|
|
11060
11066
|
}
|
|
11061
11067
|
return r;
|
|
11062
11068
|
}
|
|
11063
|
-
function
|
|
11069
|
+
function Rp(e) {
|
|
11064
11070
|
const t = document.createElement("img"), { layout: r, height: n, ...i } = Wo(e), a = r === "responsive";
|
|
11065
11071
|
for (const s of Object.keys(i)) wt(t, s, i[s]);
|
|
11066
11072
|
return a && (t.style.maxWidth = i.width || "0px", t.style.width = "100%"), t;
|
|
11067
11073
|
}
|
|
11068
|
-
async function
|
|
11074
|
+
async function Np(e, t) {
|
|
11069
11075
|
const r = [...e.querySelectorAll("img")], n = [];
|
|
11070
11076
|
for (const a of r) n.push(Go(a).then((s) => [a, s], () => [a, void 0]));
|
|
11071
11077
|
const i = [...e.querySelectorAll("picture")];
|
|
@@ -11079,12 +11085,12 @@ ${i.join("")}
|
|
|
11079
11085
|
t?.();
|
|
11080
11086
|
}
|
|
11081
11087
|
}
|
|
11082
|
-
function
|
|
11088
|
+
function Ip(e, t) {
|
|
11083
11089
|
const r = [...e.querySelectorAll("amp-img")];
|
|
11084
|
-
for (const n of r) n.replaceWith(
|
|
11090
|
+
for (const n of r) n.replaceWith(Rp(n));
|
|
11085
11091
|
r.length && t?.();
|
|
11086
11092
|
}
|
|
11087
|
-
function
|
|
11093
|
+
function Mp(e) {
|
|
11088
11094
|
const t = e.querySelectorAll("meta");
|
|
11089
11095
|
for (const i of t) {
|
|
11090
11096
|
const a = i.getAttribute("charset");
|
|
@@ -11096,25 +11102,25 @@ ${i.join("")}
|
|
|
11096
11102
|
const r = Zt(e), n = e.createElement("meta");
|
|
11097
11103
|
n.setAttribute("charset", "utf-8"), r.insertBefore(n, r.firstChild);
|
|
11098
11104
|
}
|
|
11099
|
-
function
|
|
11105
|
+
function jp(e, t, r) {
|
|
11100
11106
|
const n = r("script:not([type=\"application/ld+json\"])"), i = e.querySelectorAll(n);
|
|
11101
11107
|
for (const a of i) !a.getAttribute("src")?.startsWith("https://cdn.ampproject.org/") && !(a.closest("amp-state") && a.getAttribute("type") === "application/json") && a.remove();
|
|
11102
11108
|
}
|
|
11103
|
-
var Zi = "https://cdn.ampproject.org/v0", Zo = `${Zi}.js`,
|
|
11104
|
-
function
|
|
11109
|
+
var Zi = "https://cdn.ampproject.org/v0", Zo = `${Zi}.js`, Dp = `script[src='${Zo}']`;
|
|
11110
|
+
function Lp(e, t) {
|
|
11105
11111
|
return `${Zi}/${e.toLowerCase()}-${t}.js`;
|
|
11106
11112
|
}
|
|
11107
|
-
async function
|
|
11113
|
+
async function Fp(e, t, r) {
|
|
11108
11114
|
for (const { name: n, versions: i } of t) {
|
|
11109
11115
|
const a = r.replaceSelectors(n === "amp-mustache" ? `script[async][custom-template='${n}']` : `script[async][custom-element='${n}']`);
|
|
11110
11116
|
if (!e.querySelector(a)) {
|
|
11111
|
-
const s = Zt(e), l = r.createElementFn("script"), u =
|
|
11117
|
+
const s = Zt(e), l = r.createElementFn("script"), u = Lp(n, i.findLast((m) => m !== "latest") || "v0");
|
|
11112
11118
|
l.setAttribute("async", ""), l.setAttribute(n === "amp-mustache" ? "custom-template" : "custom-element", n), l.setAttribute("src", u), s.appendChild(l), s.appendChild(e.createTextNode(`
|
|
11113
11119
|
`));
|
|
11114
11120
|
}
|
|
11115
11121
|
}
|
|
11116
11122
|
}
|
|
11117
|
-
function
|
|
11123
|
+
function Up(e, t) {
|
|
11118
11124
|
const r = e.querySelectorAll("*"), n = e.querySelectorAll(t.replaceSelectors("script[src]"));
|
|
11119
11125
|
for (const i of n) i.getAttribute("src")?.startsWith("https://cdn.ampproject.org/v0") && i.remove();
|
|
11120
11126
|
for (const i of r) Jo(i) && i.tagName !== "FORM" && i.remove();
|
|
@@ -11124,7 +11130,7 @@ ${i.join("")}
|
|
|
11124
11130
|
return Yo || (Yo = await Promise.resolve().then(() => mt("./c874b7982.js")).then((e) => e.default));
|
|
11125
11131
|
}
|
|
11126
11132
|
var Yi = new Map();
|
|
11127
|
-
async function
|
|
11133
|
+
async function zp() {
|
|
11128
11134
|
if (!Yi.size) {
|
|
11129
11135
|
const e = await ri(), t = e.tags;
|
|
11130
11136
|
for (let r = 0; r < t.length; r++) {
|
|
@@ -11139,17 +11145,17 @@ ${i.join("")}
|
|
|
11139
11145
|
return Yi;
|
|
11140
11146
|
}
|
|
11141
11147
|
var Ji = new Map();
|
|
11142
|
-
async function
|
|
11148
|
+
async function Bp() {
|
|
11143
11149
|
if (!Ji.size) {
|
|
11144
11150
|
const e = await ri();
|
|
11145
11151
|
for (const t of e.declarations) Ji.set(t.name, t);
|
|
11146
11152
|
}
|
|
11147
11153
|
return Ji;
|
|
11148
11154
|
}
|
|
11149
|
-
var
|
|
11150
|
-
async function
|
|
11155
|
+
var qp = "$GLOBAL_ATTRS", Xi = new Map();
|
|
11156
|
+
async function Hp() {
|
|
11151
11157
|
if (!Xi.size) {
|
|
11152
|
-
const e = (await ri()).attrLists.find((t) => t.name ===
|
|
11158
|
+
const e = (await ri()).attrLists.find((t) => t.name === qp)?.attrs;
|
|
11153
11159
|
if (e) for (const t of e) Xi.set(t.name, t);
|
|
11154
11160
|
}
|
|
11155
11161
|
return Xi;
|
|
@@ -11187,17 +11193,17 @@ ${i.join("")}
|
|
|
11187
11193
|
}
|
|
11188
11194
|
else Ci(e) ? i() : Qt(e) && (e.textContent?.trim() || e.nextSibling?.textContent?.trim() && Qt(e.nextSibling)) && n();
|
|
11189
11195
|
}
|
|
11190
|
-
async function
|
|
11196
|
+
async function $p(e, t) {
|
|
11191
11197
|
const r = new Set(), n = t.commit, i = (c) => t.replaceSelectors(c.toLowerCase());
|
|
11192
|
-
if (t.replaceImages && await
|
|
11193
|
-
const c = t.replaceSelectors(
|
|
11198
|
+
if (t.replaceImages && await Np(e, n), t.injectExtensions) {
|
|
11199
|
+
const c = t.replaceSelectors(Dp);
|
|
11194
11200
|
if (!e.querySelector(c)) {
|
|
11195
11201
|
const h = t.createElementFn("script");
|
|
11196
11202
|
h.setAttribute("src", Zo), h.setAttribute("async", ""), Zt(e).appendChild(h), n?.();
|
|
11197
11203
|
}
|
|
11198
11204
|
}
|
|
11199
|
-
t.injectRequiredTags && (
|
|
11200
|
-
const a = await ri(), s = await
|
|
11205
|
+
t.injectRequiredTags && (jp(e, t.createElementFn, i), Op(e), xp(e), Mp(e), n?.()), t.replaceStylesAndLinks && (Cp(e), n?.());
|
|
11206
|
+
const a = await ri(), s = await zp(), l = new Set(t.removeUnsupportedTags ? e.querySelectorAll("*") : []), u = new Map();
|
|
11201
11207
|
for (let [c, h] of s) if (!h.deprecation) {
|
|
11202
11208
|
c = i(c);
|
|
11203
11209
|
let w = [...e.querySelectorAll(c)].filter((k) => !u.has(k));
|
|
@@ -11217,7 +11223,7 @@ ${i.join("")}
|
|
|
11217
11223
|
if (t.injectExtensions && h.requiresExtension) for (const I of h.requiresExtension) r.add(I);
|
|
11218
11224
|
const w = h.requiredParent ? h.requiredParent === "$ROOT" ? e : e.querySelector(h.requiredParent) : null;
|
|
11219
11225
|
w && (!c.parentNode || t.moveInvalidTagPosition) ? w !== c.parentNode && (h.name === "HEAD" || et(w) && w.tagName === "HEAD" ? w.insertBefore(c, w.firstChild) : w.appendChild(c)) : c.parentNode || e.body.appendChild(c), t.removeUnsupportedTags && l.delete(c), n?.();
|
|
11220
|
-
const k = await
|
|
11226
|
+
const k = await Hp();
|
|
11221
11227
|
if (t.removeUnsupportedAttributes || t.injectRequiredAttributes) {
|
|
11222
11228
|
const I = h.attrs, _ = t.injectRequiredAttributes ? new Set([...I].map(([d, f]) => f).filter((d) => d.required && d.value)) : void 0, C = c.getAttributeNames();
|
|
11223
11229
|
for (const d of C) {
|
|
@@ -11312,7 +11318,7 @@ ${i.join("")}
|
|
|
11312
11318
|
k(x) ? x.selectorText.indexOf("[") >= 0 || x.selectorText.indexOf(":") >= 0 ? d.deleteRule(y) : (w(x.style), x.style.cssText || d.deleteRule(y)) : I(x) ? (_(x), x.cssRules.length || d.deleteRule(y)) : d.deleteRule(y);
|
|
11313
11319
|
}
|
|
11314
11320
|
};
|
|
11315
|
-
const c = e.querySelectorAll("*"), h = await
|
|
11321
|
+
const c = e.querySelectorAll("*"), h = await Bp();
|
|
11316
11322
|
for (const d of c) if (Ai(d)) {
|
|
11317
11323
|
const f = d.getAttribute("style");
|
|
11318
11324
|
f && (w(d.style), d.style.length ? d.style.cssText !== f && d.setAttribute("style", d.style.cssText) : d.removeAttribute("style"));
|
|
@@ -11324,14 +11330,14 @@ ${i.join("")}
|
|
|
11324
11330
|
`)), n?.();
|
|
11325
11331
|
}
|
|
11326
11332
|
}
|
|
11327
|
-
await
|
|
11333
|
+
await Fp(e, a.extensions.filter(({ name: c }) => r.has(c)), t);
|
|
11328
11334
|
}
|
|
11329
11335
|
function Ko(e, t) {
|
|
11330
11336
|
return Object.keys(t).reduce((r, n) => r.replaceAll(n, t[n]), e);
|
|
11331
11337
|
}
|
|
11332
|
-
function
|
|
11338
|
+
function Wp(e, t = {}) {
|
|
11333
11339
|
const { correct: r = !0, injectExtensions: n = !0, mappedTags: i = {} } = t;
|
|
11334
|
-
return
|
|
11340
|
+
return $p(e, {
|
|
11335
11341
|
replaceImages: r,
|
|
11336
11342
|
replaceStylesAndLinks: r,
|
|
11337
11343
|
injectRequiredTags: r,
|
|
@@ -11347,14 +11353,14 @@ ${i.join("")}
|
|
|
11347
11353
|
commit: t.commit
|
|
11348
11354
|
});
|
|
11349
11355
|
}
|
|
11350
|
-
function
|
|
11356
|
+
function Qp(e, t = {}) {
|
|
11351
11357
|
const { correct: r = !0, removeExtensions: n = !0, mappedTags: i = {} } = t, a = t.commit, s = (u) => e.createElement(i[u.toLowerCase()] || u), l = (u) => Ko(u, i);
|
|
11352
11358
|
if (r) {
|
|
11353
|
-
|
|
11359
|
+
Ip(e), Pp(e), kp(e), Sp(e);
|
|
11354
11360
|
const u = $o(e);
|
|
11355
11361
|
u.removeAttribute("⚡4email"), u.removeAttribute("data-css-strict"), a?.();
|
|
11356
11362
|
}
|
|
11357
|
-
n && (
|
|
11363
|
+
n && (Up(e, {
|
|
11358
11364
|
formsAsAmpForms: t.removeExtensions,
|
|
11359
11365
|
createElementFn: s,
|
|
11360
11366
|
replaceSelectors: l
|
|
@@ -11378,7 +11384,7 @@ ${i.join("")}
|
|
|
11378
11384
|
}), Object.defineProperty(L, "DEFAULT_INIT_PIPELINE_CONTEXT", {
|
|
11379
11385
|
enumerable: !0,
|
|
11380
11386
|
get: function() {
|
|
11381
|
-
return
|
|
11387
|
+
return bu;
|
|
11382
11388
|
}
|
|
11383
11389
|
}), Object.defineProperty(L, "DEFAULT_SANDBOX_OP_TIMEOUT_MS", {
|
|
11384
11390
|
enumerable: !0,
|
|
@@ -11398,7 +11404,7 @@ ${i.join("")}
|
|
|
11398
11404
|
}), Object.defineProperty(L, "ListenerUpdater", {
|
|
11399
11405
|
enumerable: !0,
|
|
11400
11406
|
get: function() {
|
|
11401
|
-
return
|
|
11407
|
+
return uu;
|
|
11402
11408
|
}
|
|
11403
11409
|
}), Object.defineProperty(L, "PLUGIN_REGISTRY_ID", {
|
|
11404
11410
|
enumerable: !0,
|
|
@@ -11418,7 +11424,7 @@ ${i.join("")}
|
|
|
11418
11424
|
}), Object.defineProperty(L, "amp2html", {
|
|
11419
11425
|
enumerable: !0,
|
|
11420
11426
|
get: function() {
|
|
11421
|
-
return
|
|
11427
|
+
return Qp;
|
|
11422
11428
|
}
|
|
11423
11429
|
}), Object.defineProperty(L, "changeHtml", {
|
|
11424
11430
|
enumerable: !0,
|
|
@@ -11448,7 +11454,7 @@ ${i.join("")}
|
|
|
11448
11454
|
}), Object.defineProperty(L, "createStore", {
|
|
11449
11455
|
enumerable: !0,
|
|
11450
11456
|
get: function() {
|
|
11451
|
-
return
|
|
11457
|
+
return Jc;
|
|
11452
11458
|
}
|
|
11453
11459
|
}), Object.defineProperty(L, "emailRawApi", {
|
|
11454
11460
|
enumerable: !0,
|
|
@@ -11458,22 +11464,22 @@ ${i.join("")}
|
|
|
11458
11464
|
}), Object.defineProperty(L, "extractDocumentTextContent", {
|
|
11459
11465
|
enumerable: !0,
|
|
11460
11466
|
get: function() {
|
|
11461
|
-
return
|
|
11467
|
+
return wp;
|
|
11462
11468
|
}
|
|
11463
11469
|
}), Object.defineProperty(L, "extractServerProjectIdFromToken", {
|
|
11464
11470
|
enumerable: !0,
|
|
11465
11471
|
get: function() {
|
|
11466
|
-
return
|
|
11472
|
+
return au;
|
|
11467
11473
|
}
|
|
11468
11474
|
}), Object.defineProperty(L, "findShadowRoot", {
|
|
11469
11475
|
enumerable: !0,
|
|
11470
11476
|
get: function() {
|
|
11471
|
-
return
|
|
11477
|
+
return id;
|
|
11472
11478
|
}
|
|
11473
11479
|
}), Object.defineProperty(L, "getEML", {
|
|
11474
11480
|
enumerable: !0,
|
|
11475
11481
|
get: function() {
|
|
11476
|
-
return
|
|
11482
|
+
return ap;
|
|
11477
11483
|
}
|
|
11478
11484
|
}), Object.defineProperty(L, "getElementInnerHTML", {
|
|
11479
11485
|
enumerable: !0,
|
|
@@ -11483,7 +11489,7 @@ ${i.join("")}
|
|
|
11483
11489
|
}), Object.defineProperty(L, "getElementStartHtml_VDOM", {
|
|
11484
11490
|
enumerable: !0,
|
|
11485
11491
|
get: function() {
|
|
11486
|
-
return
|
|
11492
|
+
return Vu;
|
|
11487
11493
|
}
|
|
11488
11494
|
}), Object.defineProperty(L, "getFileNameAndExt", {
|
|
11489
11495
|
enumerable: !0,
|
|
@@ -11493,7 +11499,7 @@ ${i.join("")}
|
|
|
11493
11499
|
}), Object.defineProperty(L, "getFileNameWithExt", {
|
|
11494
11500
|
enumerable: !0,
|
|
11495
11501
|
get: function() {
|
|
11496
|
-
return
|
|
11502
|
+
return op;
|
|
11497
11503
|
}
|
|
11498
11504
|
}), Object.defineProperty(L, "getImageByUrl", {
|
|
11499
11505
|
enumerable: !0,
|
|
@@ -11508,22 +11514,22 @@ ${i.join("")}
|
|
|
11508
11514
|
}), Object.defineProperty(L, "getSaveTimeoutMs", {
|
|
11509
11515
|
enumerable: !0,
|
|
11510
11516
|
get: function() {
|
|
11511
|
-
return
|
|
11517
|
+
return _u;
|
|
11512
11518
|
}
|
|
11513
11519
|
}), Object.defineProperty(L, "html2amp", {
|
|
11514
11520
|
enumerable: !0,
|
|
11515
11521
|
get: function() {
|
|
11516
|
-
return
|
|
11522
|
+
return Wp;
|
|
11517
11523
|
}
|
|
11518
11524
|
}), Object.defineProperty(L, "htmlFilesToZip", {
|
|
11519
11525
|
enumerable: !0,
|
|
11520
11526
|
get: function() {
|
|
11521
|
-
return
|
|
11527
|
+
return _p;
|
|
11522
11528
|
}
|
|
11523
11529
|
}), Object.defineProperty(L, "htmlToFilesData", {
|
|
11524
11530
|
enumerable: !0,
|
|
11525
11531
|
get: function() {
|
|
11526
|
-
return
|
|
11532
|
+
return bp;
|
|
11527
11533
|
}
|
|
11528
11534
|
}), Object.defineProperty(L, "imageToBlob", {
|
|
11529
11535
|
enumerable: !0,
|
|
@@ -11533,12 +11539,12 @@ ${i.join("")}
|
|
|
11533
11539
|
}), Object.defineProperty(L, "injectStandaloneMocks", {
|
|
11534
11540
|
enumerable: !0,
|
|
11535
11541
|
get: function() {
|
|
11536
|
-
return
|
|
11542
|
+
return su;
|
|
11537
11543
|
}
|
|
11538
11544
|
}), Object.defineProperty(L, "installStandaloneMockGuard", {
|
|
11539
11545
|
enumerable: !0,
|
|
11540
11546
|
get: function() {
|
|
11541
|
-
return
|
|
11547
|
+
return cu;
|
|
11542
11548
|
}
|
|
11543
11549
|
}), Object.defineProperty(L, "isAmpElement", {
|
|
11544
11550
|
enumerable: !0,
|
|
@@ -11553,7 +11559,7 @@ ${i.join("")}
|
|
|
11553
11559
|
}), Object.defineProperty(L, "isDocumentFragment", {
|
|
11554
11560
|
enumerable: !0,
|
|
11555
11561
|
get: function() {
|
|
11556
|
-
return
|
|
11562
|
+
return ed;
|
|
11557
11563
|
}
|
|
11558
11564
|
}), Object.defineProperty(L, "isElement", {
|
|
11559
11565
|
enumerable: !0,
|
|
@@ -11563,7 +11569,7 @@ ${i.join("")}
|
|
|
11563
11569
|
}), Object.defineProperty(L, "isForm", {
|
|
11564
11570
|
enumerable: !0,
|
|
11565
11571
|
get: function() {
|
|
11566
|
-
return
|
|
11572
|
+
return Xu;
|
|
11567
11573
|
}
|
|
11568
11574
|
}), Object.defineProperty(L, "isTextNode", {
|
|
11569
11575
|
enumerable: !0,
|
|
@@ -11583,7 +11589,7 @@ ${i.join("")}
|
|
|
11583
11589
|
}), Object.defineProperty(L, "normalizeUrl", {
|
|
11584
11590
|
enumerable: !0,
|
|
11585
11591
|
get: function() {
|
|
11586
|
-
return
|
|
11592
|
+
return Id;
|
|
11587
11593
|
}
|
|
11588
11594
|
}), Object.defineProperty(L, "notificationsApi", {
|
|
11589
11595
|
enumerable: !0,
|
|
@@ -11598,22 +11604,22 @@ ${i.join("")}
|
|
|
11598
11604
|
}), Object.defineProperty(L, "pluginRegistry", {
|
|
11599
11605
|
enumerable: !0,
|
|
11600
11606
|
get: function() {
|
|
11601
|
-
return
|
|
11607
|
+
return wu;
|
|
11602
11608
|
}
|
|
11603
11609
|
}), Object.defineProperty(L, "prepareEmailHtmlForEditor", {
|
|
11604
11610
|
enumerable: !0,
|
|
11605
11611
|
get: function() {
|
|
11606
|
-
return
|
|
11612
|
+
return Qd;
|
|
11607
11613
|
}
|
|
11608
11614
|
}), Object.defineProperty(L, "prepareEvent", {
|
|
11609
11615
|
enumerable: !0,
|
|
11610
11616
|
get: function() {
|
|
11611
|
-
return
|
|
11617
|
+
return du;
|
|
11612
11618
|
}
|
|
11613
11619
|
}), Object.defineProperty(L, "prepareHTML", {
|
|
11614
11620
|
enumerable: !0,
|
|
11615
11621
|
get: function() {
|
|
11616
|
-
return
|
|
11622
|
+
return hp;
|
|
11617
11623
|
}
|
|
11618
11624
|
}), Object.defineProperty(L, "projectSettingsV2Api", {
|
|
11619
11625
|
enumerable: !0,
|
|
@@ -11625,6 +11631,11 @@ ${i.join("")}
|
|
|
11625
11631
|
get: function() {
|
|
11626
11632
|
return Nt;
|
|
11627
11633
|
}
|
|
11634
|
+
}), Object.defineProperty(L, "promoteNewEmailAfterSave", {
|
|
11635
|
+
enumerable: !0,
|
|
11636
|
+
get: function() {
|
|
11637
|
+
return Cc;
|
|
11638
|
+
}
|
|
11628
11639
|
}), Object.defineProperty(L, "proxyApi", {
|
|
11629
11640
|
enumerable: !0,
|
|
11630
11641
|
get: function() {
|
|
@@ -11643,7 +11654,7 @@ ${i.join("")}
|
|
|
11643
11654
|
}), Object.defineProperty(L, "removeEmailFromList", {
|
|
11644
11655
|
enumerable: !0,
|
|
11645
11656
|
get: function() {
|
|
11646
|
-
return
|
|
11657
|
+
return Lc;
|
|
11647
11658
|
}
|
|
11648
11659
|
}), Object.defineProperty(L, "replaceImagesInDocument", {
|
|
11649
11660
|
enumerable: !0,
|
|
@@ -11663,17 +11674,17 @@ ${i.join("")}
|
|
|
11663
11674
|
}), Object.defineProperty(L, "resetElementHistorySlice", {
|
|
11664
11675
|
enumerable: !0,
|
|
11665
11676
|
get: function() {
|
|
11666
|
-
return
|
|
11677
|
+
return Vc;
|
|
11667
11678
|
}
|
|
11668
11679
|
}), Object.defineProperty(L, "resetElementsList", {
|
|
11669
11680
|
enumerable: !0,
|
|
11670
11681
|
get: function() {
|
|
11671
|
-
return
|
|
11682
|
+
return Dc;
|
|
11672
11683
|
}
|
|
11673
11684
|
}), Object.defineProperty(L, "resetNewBlockSlice", {
|
|
11674
11685
|
enumerable: !0,
|
|
11675
11686
|
get: function() {
|
|
11676
|
-
return
|
|
11687
|
+
return Nc;
|
|
11677
11688
|
}
|
|
11678
11689
|
}), Object.defineProperty(L, "resetNewEmailSlice", {
|
|
11679
11690
|
enumerable: !0,
|
|
@@ -11683,12 +11694,12 @@ ${i.join("")}
|
|
|
11683
11694
|
}), Object.defineProperty(L, "resetPagesAndTotal", {
|
|
11684
11695
|
enumerable: !0,
|
|
11685
11696
|
get: function() {
|
|
11686
|
-
return
|
|
11697
|
+
return Mc;
|
|
11687
11698
|
}
|
|
11688
11699
|
}), Object.defineProperty(L, "resolveTemplateDirectivesConfig", {
|
|
11689
11700
|
enumerable: !0,
|
|
11690
11701
|
get: function() {
|
|
11691
|
-
return
|
|
11702
|
+
return Uu;
|
|
11692
11703
|
}
|
|
11693
11704
|
}), Object.defineProperty(L, "sanitizeFileName", {
|
|
11694
11705
|
enumerable: !0,
|
|
@@ -11703,87 +11714,87 @@ ${i.join("")}
|
|
|
11703
11714
|
}), Object.defineProperty(L, "selectBlocksTotal", {
|
|
11704
11715
|
enumerable: !0,
|
|
11705
11716
|
get: function() {
|
|
11706
|
-
return
|
|
11717
|
+
return $c;
|
|
11707
11718
|
}
|
|
11708
11719
|
}), Object.defineProperty(L, "selectCustomFolders", {
|
|
11709
11720
|
enumerable: !0,
|
|
11710
11721
|
get: function() {
|
|
11711
|
-
return
|
|
11722
|
+
return Bc;
|
|
11712
11723
|
}
|
|
11713
11724
|
}), Object.defineProperty(L, "selectElementHistoryTotalPages", {
|
|
11714
11725
|
enumerable: !0,
|
|
11715
11726
|
get: function() {
|
|
11716
|
-
return
|
|
11727
|
+
return Gc;
|
|
11717
11728
|
}
|
|
11718
11729
|
}), Object.defineProperty(L, "selectElementsList", {
|
|
11719
11730
|
enumerable: !0,
|
|
11720
11731
|
get: function() {
|
|
11721
|
-
return
|
|
11732
|
+
return zc;
|
|
11722
11733
|
}
|
|
11723
11734
|
}), Object.defineProperty(L, "selectElementsTrashList", {
|
|
11724
11735
|
enumerable: !0,
|
|
11725
11736
|
get: function() {
|
|
11726
|
-
return
|
|
11737
|
+
return Hc;
|
|
11727
11738
|
}
|
|
11728
11739
|
}), Object.defineProperty(L, "selectElementsView", {
|
|
11729
11740
|
enumerable: !0,
|
|
11730
11741
|
get: function() {
|
|
11731
|
-
return
|
|
11742
|
+
return Uc;
|
|
11732
11743
|
}
|
|
11733
11744
|
}), Object.defineProperty(L, "selectEmailsTotal", {
|
|
11734
11745
|
enumerable: !0,
|
|
11735
11746
|
get: function() {
|
|
11736
|
-
return
|
|
11747
|
+
return Fc;
|
|
11737
11748
|
}
|
|
11738
11749
|
}), Object.defineProperty(L, "selectEmailsTrashTotal", {
|
|
11739
11750
|
enumerable: !0,
|
|
11740
11751
|
get: function() {
|
|
11741
|
-
return
|
|
11752
|
+
return qc;
|
|
11742
11753
|
}
|
|
11743
11754
|
}), Object.defineProperty(L, "selectHistoryData", {
|
|
11744
11755
|
enumerable: !0,
|
|
11745
11756
|
get: function() {
|
|
11746
|
-
return
|
|
11757
|
+
return Zc;
|
|
11747
11758
|
}
|
|
11748
11759
|
}), Object.defineProperty(L, "selectNewBlockHasChanged", {
|
|
11749
11760
|
enumerable: !0,
|
|
11750
11761
|
get: function() {
|
|
11751
|
-
return
|
|
11762
|
+
return Ic;
|
|
11752
11763
|
}
|
|
11753
11764
|
}), Object.defineProperty(L, "selectNewEmailAppliedShowToken", {
|
|
11754
11765
|
enumerable: !0,
|
|
11755
11766
|
get: function() {
|
|
11756
|
-
return
|
|
11767
|
+
return Tc;
|
|
11757
11768
|
}
|
|
11758
11769
|
}), Object.defineProperty(L, "selectNewEmailHasChanged", {
|
|
11759
11770
|
enumerable: !0,
|
|
11760
11771
|
get: function() {
|
|
11761
|
-
return
|
|
11772
|
+
return Oc;
|
|
11762
11773
|
}
|
|
11763
11774
|
}), Object.defineProperty(L, "selectNewEmailSettings", {
|
|
11764
11775
|
enumerable: !0,
|
|
11765
11776
|
get: function() {
|
|
11766
|
-
return
|
|
11777
|
+
return kc;
|
|
11767
11778
|
}
|
|
11768
11779
|
}), Object.defineProperty(L, "selectParentEmailBlocksTotal", {
|
|
11769
11780
|
enumerable: !0,
|
|
11770
11781
|
get: function() {
|
|
11771
|
-
return
|
|
11782
|
+
return Qc;
|
|
11772
11783
|
}
|
|
11773
11784
|
}), Object.defineProperty(L, "selectTemplateBlocksTotal", {
|
|
11774
11785
|
enumerable: !0,
|
|
11775
11786
|
get: function() {
|
|
11776
|
-
return
|
|
11787
|
+
return Wc;
|
|
11777
11788
|
}
|
|
11778
11789
|
}), Object.defineProperty(L, "setNewBlockDescription", {
|
|
11779
11790
|
enumerable: !0,
|
|
11780
11791
|
get: function() {
|
|
11781
|
-
return
|
|
11792
|
+
return Pc;
|
|
11782
11793
|
}
|
|
11783
11794
|
}), Object.defineProperty(L, "setNewBlockTags", {
|
|
11784
11795
|
enumerable: !0,
|
|
11785
11796
|
get: function() {
|
|
11786
|
-
return
|
|
11797
|
+
return Rc;
|
|
11787
11798
|
}
|
|
11788
11799
|
}), Object.defineProperty(L, "setNewEmailAll", {
|
|
11789
11800
|
enumerable: !0,
|
|
@@ -11878,7 +11889,7 @@ ${i.join("")}
|
|
|
11878
11889
|
}), Object.defineProperty(L, "syncStandaloneProjectState", {
|
|
11879
11890
|
enumerable: !0,
|
|
11880
11891
|
get: function() {
|
|
11881
|
-
return
|
|
11892
|
+
return ou;
|
|
11882
11893
|
}
|
|
11883
11894
|
}), Object.defineProperty(L, "throwIfAborted", {
|
|
11884
11895
|
enumerable: !0,
|
|
@@ -11893,7 +11904,7 @@ ${i.join("")}
|
|
|
11893
11904
|
}), Object.defineProperty(L, "toggleElementsView", {
|
|
11894
11905
|
enumerable: !0,
|
|
11895
11906
|
get: function() {
|
|
11896
|
-
return
|
|
11907
|
+
return jc;
|
|
11897
11908
|
}
|
|
11898
11909
|
}), Object.defineProperty(L, "tokenApi", {
|
|
11899
11910
|
enumerable: !0,
|