@emailmaker/emailmaker 1.1.45 → 1.1.46
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.33dc7c79.js → emailmaker-core.0eca2ff8.js} +6 -6
- package/emailmaker-esm.js +5 -4
- package/emailmaker.d.ts +6 -0
- package/emailmaker.js +5 -4
- package/iframe/js/amp.Op4DZt9X.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.B-wCbIo7.js +1 -1
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -1
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/{5def6229.js → 139b301d.js} +3 -3
- package/static/core/{855e2647.js → 1f63a578.js} +5 -5
- package/static/core/{a5701653.js → 36e22fa5.js} +15 -15
- package/static/core/{e8d51fcb.js → 3c7560b7.js} +86 -86
- package/static/core/{817fa7b9.js → 3cf9dc9b.js} +639 -606
- package/static/core/4da039b3.js +1119 -0
- package/static/core/{9053f080.js → 6130a367.js} +3 -3
- package/static/core/{2012a200.js → 62495fd5.js} +244 -230
- package/static/core/{58db1140.js → 6410579b.js} +7 -7
- package/static/core/{521b410c2.js → 7db5498f2.js} +7 -7
- package/static/core/{41282200.js → 868e86a7.js} +8959 -8844
- package/static/core/{799c65f1.js → 8833ee6c.js} +4 -4
- package/static/core/{2fc2fdef.js → 9833df3b.js} +3 -3
- package/static/core/{34070d7f.js → ac8a414a.js} +7243 -6969
- package/static/core/{8384a3ed.js → bdd1d845.js} +935 -918
- package/static/core/{3684652a.js → dc3b3081.js} +32 -32
- package/static/core/{260206b4.js → e7554764.js} +248 -248
- package/static/core/{f34c0a04.js → f62c7573.js} +3 -3
- package/two_step_headless_plugin.html +1 -1
- package/static/core/7d16db79.js +0 -46
- /package/iframe/{iframe-eblock.33dc7c79.html → iframe-eblock.0eca2ff8.html} +0 -0
- /package/iframe/{iframe.33dc7c79.html → iframe.0eca2ff8.html} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/3cf9dc9b.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
@@ -9,12 +9,12 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
9
9
|
"react-dom",
|
|
10
10
|
"react-router-dom"
|
|
11
11
|
], function(Tt, c, _b) {
|
|
12
|
-
const me = Tt("./16c2710d.js"),
|
|
12
|
+
const me = Tt("./16c2710d.js"), ha = Tt("./51fd08fd.js");
|
|
13
13
|
let M = Tt("react");
|
|
14
14
|
M = me.__toESM(M);
|
|
15
|
-
let
|
|
16
|
-
|
|
17
|
-
let
|
|
15
|
+
let ya = Tt("prop-types");
|
|
16
|
+
ya = me.__toESM(ya);
|
|
17
|
+
let va = Tt("react-dom"), qn = Tt("react-router-dom");
|
|
18
18
|
var be = class Bu {
|
|
19
19
|
_inner;
|
|
20
20
|
_isDisposed = !1;
|
|
@@ -46,7 +46,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
46
46
|
function Mr(e) {
|
|
47
47
|
return `service_container_${e}`;
|
|
48
48
|
}
|
|
49
|
-
var Bt = class
|
|
49
|
+
var Bt = class ma extends be {
|
|
50
50
|
_parent;
|
|
51
51
|
_injectCallbacks = [];
|
|
52
52
|
_injections = Object.create(null);
|
|
@@ -113,41 +113,41 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
113
113
|
return [...this.getInstance(r, !1) || [], ...this._parent?.getServices(t) || []];
|
|
114
114
|
}
|
|
115
115
|
createChild() {
|
|
116
|
-
return new
|
|
116
|
+
return new ma(this);
|
|
117
117
|
}
|
|
118
118
|
getOrCreateIsolatedContainer(t) {
|
|
119
119
|
return this.getOrCreateInstance(t, () => {
|
|
120
120
|
const r = this._parent?.getOrCreateIsolatedContainer(t);
|
|
121
|
-
return new
|
|
121
|
+
return new ma(r);
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
124
|
dispose() {
|
|
125
125
|
this._injections = Object.create(null);
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
|
-
function
|
|
128
|
+
function Rn(e) {
|
|
129
129
|
return e.startsWith("__") ? e : `__${e}__`;
|
|
130
130
|
}
|
|
131
131
|
function Fu(e) {
|
|
132
132
|
if (typeof globalThis > "u") throw new Error("[di] globalThis is required for namespace container access.");
|
|
133
|
-
const t =
|
|
133
|
+
const t = Rn(e), r = globalThis;
|
|
134
134
|
return r[t] ??= {};
|
|
135
135
|
}
|
|
136
136
|
function Uu(e) {
|
|
137
137
|
return e != null && typeof e == "object" && typeof e.inject == "function" && typeof e.getInstance == "function";
|
|
138
138
|
}
|
|
139
139
|
function Hu(e) {
|
|
140
|
-
if (e) return
|
|
141
|
-
return
|
|
140
|
+
if (e) return Rn(e);
|
|
141
|
+
return Rn("emailmaker".trim());
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function ga(e) {
|
|
144
144
|
const t = Fu(Hu(e));
|
|
145
145
|
if (Uu(t.container)) return t.container;
|
|
146
146
|
const r = new Bt(null);
|
|
147
147
|
return t.container = r, r;
|
|
148
148
|
}
|
|
149
149
|
function Vu(e) {
|
|
150
|
-
return
|
|
150
|
+
return ga(e);
|
|
151
151
|
}
|
|
152
152
|
function Qu() {
|
|
153
153
|
let e = new Date().getTime(), t = typeof performance < "u" && performance.now && performance.now() * 1e3 || 0;
|
|
@@ -162,12 +162,12 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
162
162
|
function W(e = Ve()) {
|
|
163
163
|
return e;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function _a() {
|
|
166
166
|
return "core".trim();
|
|
167
167
|
}
|
|
168
168
|
function zu(e) {
|
|
169
169
|
if (typeof globalThis > "u") return;
|
|
170
|
-
const t =
|
|
170
|
+
const t = _a(), r = globalThis[e] ?? {};
|
|
171
171
|
globalThis[e] = r;
|
|
172
172
|
const n = r.__diagnostics ??= {}, o = n.diModuleEval ??= {
|
|
173
173
|
evalCount: 0,
|
|
@@ -187,7 +187,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
187
187
|
}
|
|
188
188
|
function Wu(e, t) {
|
|
189
189
|
if (zu(t), typeof globalThis > "u") return e;
|
|
190
|
-
const r =
|
|
190
|
+
const r = _a(), n = globalThis, o = n[t] = n[t] || {}, a = o.__diagnostics = o.__diagnostics || {}, i = a.dependencyResolver = a.dependencyResolver || {
|
|
191
191
|
entries: [],
|
|
192
192
|
warnings: []
|
|
193
193
|
}, u = {
|
|
@@ -216,12 +216,12 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
216
216
|
function Xu() {
|
|
217
217
|
if (Lr) return Lr;
|
|
218
218
|
const e = Ku();
|
|
219
|
-
return Lr = Wu(
|
|
219
|
+
return Lr = Wu(ga(e), e), Lr;
|
|
220
220
|
}
|
|
221
221
|
var ft = new Proxy({}, { get(e, t, r) {
|
|
222
222
|
const n = Xu(), o = Reflect.get(n, t, r);
|
|
223
223
|
return typeof o == "function" ? o.bind(n) : o;
|
|
224
|
-
} }),
|
|
224
|
+
} }), ba = class extends be {
|
|
225
225
|
_options;
|
|
226
226
|
_listeners = [];
|
|
227
227
|
constructor(e = {}) {
|
|
@@ -256,7 +256,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
256
256
|
dispose() {
|
|
257
257
|
this._listeners.splice(0, this._listeners.length), this._options.onLastListenerRemove && this._options.onLastListenerRemove(), super.dispose();
|
|
258
258
|
}
|
|
259
|
-
}, St = class extends
|
|
259
|
+
}, St = class extends ba {
|
|
260
260
|
execute(e, t) {
|
|
261
261
|
for (const r of t) try {
|
|
262
262
|
r(...e);
|
|
@@ -299,7 +299,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
299
299
|
}
|
|
300
300
|
};
|
|
301
301
|
function Zu(e, t = 0) {
|
|
302
|
-
const r = new
|
|
302
|
+
const r = new ba(), n = e(r, t);
|
|
303
303
|
return n && r.addDisposable(n), r.event;
|
|
304
304
|
}
|
|
305
305
|
function el(e, t, r = 0) {
|
|
@@ -338,17 +338,17 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
338
338
|
}
|
|
339
339
|
return e;
|
|
340
340
|
}
|
|
341
|
-
},
|
|
341
|
+
}, Ea = W("ELEMENT_INSERT_HTML_PIPELINE"), wa = W("BLOCK_INSERT_HTML_PIPELINE");
|
|
342
342
|
function rl(e) {
|
|
343
|
-
return e.getOrCreateInstance(
|
|
343
|
+
return e.getOrCreateInstance(Ea, () => new kr());
|
|
344
344
|
}
|
|
345
345
|
function nl(e) {
|
|
346
|
-
return e.getOrCreateInstance(
|
|
346
|
+
return e.getOrCreateInstance(wa, () => new kr());
|
|
347
347
|
}
|
|
348
|
-
async function
|
|
348
|
+
async function Ta(e, t) {
|
|
349
349
|
return e ? rl(e).run({ ...t }) : t;
|
|
350
350
|
}
|
|
351
|
-
async function
|
|
351
|
+
async function Sa(e, t) {
|
|
352
352
|
return e ? nl(e).run({ ...t }) : t;
|
|
353
353
|
}
|
|
354
354
|
function ol(e) {
|
|
@@ -360,8 +360,8 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
360
360
|
function il(e, t) {
|
|
361
361
|
return e && typeof e == "object" && e.operationId === t;
|
|
362
362
|
}
|
|
363
|
-
var Ft = "INIT_MESSAGE",
|
|
364
|
-
function
|
|
363
|
+
var Ft = "INIT_MESSAGE", Mn = "";
|
|
364
|
+
function Pa() {
|
|
365
365
|
return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
|
|
366
366
|
}
|
|
367
367
|
var sl = class extends be {
|
|
@@ -405,7 +405,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
405
405
|
_onReceiveMessage = (e) => {
|
|
406
406
|
const t = e.data;
|
|
407
407
|
if (al(t) && e.source == this.target || this._singleton && il(t, Ft)) {
|
|
408
|
-
const r = this._emitter.fireAsync(t.operationId ||
|
|
408
|
+
const r = this._emitter.fireAsync(t.operationId || Mn, t.operationId === void 0 ? e : t.data), n = t.result, o = t.error;
|
|
409
409
|
n && o && Promise.resolve(r).then((a) => this._sendMessage(n, a), (a) => this._sendMessage(o, a));
|
|
410
410
|
}
|
|
411
411
|
};
|
|
@@ -444,11 +444,11 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
444
444
|
}));
|
|
445
445
|
}
|
|
446
446
|
send(e, t, r) {
|
|
447
|
-
return typeof e == "string" ? this._sendMessage(e, t, r) : this._sendMessage(
|
|
447
|
+
return typeof e == "string" ? this._sendMessage(e, t, r) : this._sendMessage(Mn, e, t);
|
|
448
448
|
}
|
|
449
449
|
sendAsync(e, t, r = !0) {
|
|
450
450
|
if (!r && !this.isInited()) return Promise.resolve();
|
|
451
|
-
const n =
|
|
451
|
+
const n = Pa(), o = Pa();
|
|
452
452
|
return new Promise((a, i) => {
|
|
453
453
|
const u = this.addDisposable(new be());
|
|
454
454
|
u.addDisposable(this.onInit((s) => {
|
|
@@ -475,7 +475,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
475
475
|
return this._emitter.addListener(e, t, r);
|
|
476
476
|
}
|
|
477
477
|
addListener(e, t, r) {
|
|
478
|
-
return t ? this._onMessage(e, t, r) : this._onMessage(
|
|
478
|
+
return t ? this._onMessage(e, t, r) : this._onMessage(Mn, e);
|
|
479
479
|
}
|
|
480
480
|
addListenerAsyncPipe(e, t, r = 0) {
|
|
481
481
|
return this._emitter.addListenerAsync(e, t, r);
|
|
@@ -507,7 +507,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
507
507
|
function Ht(e) {
|
|
508
508
|
return W(e);
|
|
509
509
|
}
|
|
510
|
-
var Vt = W(),
|
|
510
|
+
var Vt = W(), Oa = Ht("HANDLE_ATOM_INSERT"), Qt = W(), ul = "SANDBOX_EXTENSION_SCRIPT_STATUS", zt = W("MESSAGE_SERVICE"), Ln = Ht("SETTINGS_PANEL_EVENT"), Aa = "advanced", ja = Ht("MODAL_SHOW_EVENT"), Ca = Ht("MODAL_CLOSE_EVENT"), Ia = Ht("MODAL_UPDATE_EVENT"), ll = "application_block_inserted", cl = class {
|
|
511
511
|
_context;
|
|
512
512
|
constructor(e) {
|
|
513
513
|
this._context = e;
|
|
@@ -516,7 +516,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
516
516
|
return this._context.container;
|
|
517
517
|
}
|
|
518
518
|
handleBeforeInject(e, t, r) {
|
|
519
|
-
return this._container.getOrCreateInstance(
|
|
519
|
+
return this._container.getOrCreateInstance(wa, () => new kr()).add(e, t ?? 0, r);
|
|
520
520
|
}
|
|
521
521
|
handleInject(e, t, r) {
|
|
522
522
|
const n = this._container.getOrCreateInstance(zt, () => new Ut()), o = r ? e.bind(r) : e;
|
|
@@ -533,8 +533,8 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
533
533
|
get(e) {
|
|
534
534
|
return this._factories.get(e);
|
|
535
535
|
}
|
|
536
|
-
},
|
|
537
|
-
function fl(e, t =
|
|
536
|
+
}, Da = W("DomComponentRegistry");
|
|
537
|
+
function fl(e, t = Da) {
|
|
538
538
|
return ft.getOrCreateInstance(t, () => new dl());
|
|
539
539
|
}
|
|
540
540
|
function pl(e) {
|
|
@@ -549,7 +549,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
549
549
|
function hl(e) {
|
|
550
550
|
return typeof e == "object" && e !== null && "type" in e && "props" in e && !Pt(e);
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function kn(e, t) {
|
|
553
553
|
return (0, M.createElement)(e, t);
|
|
554
554
|
}
|
|
555
555
|
function yl(e) {
|
|
@@ -619,12 +619,12 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
619
619
|
if (typeof e == "number" || typeof e == "boolean" || Pt(e)) return e;
|
|
620
620
|
if (typeof e == "string") {
|
|
621
621
|
const t = this.get(e);
|
|
622
|
-
return Pt(t) ? t : t ?
|
|
622
|
+
return Pt(t) ? t : t ? kn(t) : e;
|
|
623
623
|
}
|
|
624
|
-
if (pl(e)) return
|
|
624
|
+
if (pl(e)) return kn(e);
|
|
625
625
|
if (hl(e)) {
|
|
626
626
|
const t = this.get(e.type);
|
|
627
|
-
return Pt(t) ? t : t ?
|
|
627
|
+
return Pt(t) ? t : t ? kn(t, e.props) : null;
|
|
628
628
|
}
|
|
629
629
|
return null;
|
|
630
630
|
}
|
|
@@ -637,7 +637,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
637
637
|
}
|
|
638
638
|
}, gl = W("ComponentRegistry");
|
|
639
639
|
function Ot(e, t = gl) {
|
|
640
|
-
return ft.getOrCreateInstance(t, () => new vl(fl(ft,
|
|
640
|
+
return ft.getOrCreateInstance(t, () => new vl(fl(ft, Da)));
|
|
641
641
|
}
|
|
642
642
|
function At(e, t) {
|
|
643
643
|
return e.getOrCreateInstance(t, () => new Qe());
|
|
@@ -688,10 +688,10 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
688
688
|
} });
|
|
689
689
|
}
|
|
690
690
|
handleBeforeInject(e, t, r) {
|
|
691
|
-
return this._container.getOrCreateInstance(
|
|
691
|
+
return this._container.getOrCreateInstance(Ea, () => new kr()).add(e, t ?? 0, r);
|
|
692
692
|
}
|
|
693
693
|
handleInject(e, t, r) {
|
|
694
|
-
return At(this._container,
|
|
694
|
+
return At(this._container, Oa).event((n) => {
|
|
695
695
|
e({
|
|
696
696
|
name: n.name,
|
|
697
697
|
className: n.className || "",
|
|
@@ -734,7 +734,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
734
734
|
constructor(e) {
|
|
735
735
|
this._context = e;
|
|
736
736
|
const t = e.container;
|
|
737
|
-
this._showModalEmitter = At(t,
|
|
737
|
+
this._showModalEmitter = At(t, ja), this._closeModalEmitter = At(t, Ca), this._updateModalEmitter = At(t, Ia);
|
|
738
738
|
}
|
|
739
739
|
get _container() {
|
|
740
740
|
return this._context.container;
|
|
@@ -897,7 +897,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
897
897
|
return this._createScriptHandle(e, r);
|
|
898
898
|
}
|
|
899
899
|
};
|
|
900
|
-
function
|
|
900
|
+
function qa() {
|
|
901
901
|
const e = globalThis.crypto;
|
|
902
902
|
if (e && typeof e.randomUUID == "function") return e.randomUUID();
|
|
903
903
|
if (e && typeof e.getRandomValues == "function") {
|
|
@@ -906,37 +906,37 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
906
906
|
}
|
|
907
907
|
return `nohwcrypto-${Date.now()}`;
|
|
908
908
|
}
|
|
909
|
-
function
|
|
910
|
-
return `__settingsPanel:${
|
|
909
|
+
function Nn() {
|
|
910
|
+
return `__settingsPanel:${qa()}`;
|
|
911
911
|
}
|
|
912
|
-
function
|
|
912
|
+
function xn(e, t) {
|
|
913
913
|
return {
|
|
914
914
|
type: e,
|
|
915
915
|
props: t
|
|
916
916
|
};
|
|
917
917
|
}
|
|
918
|
-
function
|
|
918
|
+
function Gn(e) {
|
|
919
919
|
return (0, M.isValidElement)(e);
|
|
920
920
|
}
|
|
921
921
|
function Pl(e) {
|
|
922
|
-
return typeof e == "object" && e !== null && "type" in e && "props" in e && !
|
|
922
|
+
return typeof e == "object" && e !== null && "type" in e && "props" in e && !Gn(e);
|
|
923
923
|
}
|
|
924
|
-
function
|
|
924
|
+
function Ra(e, t, r) {
|
|
925
925
|
if (t == null || typeof t == "number" || typeof t == "boolean" || typeof t == "string") return t;
|
|
926
|
-
if (
|
|
927
|
-
const n =
|
|
928
|
-
return r(e.add(n, t)),
|
|
926
|
+
if (Gn(t)) {
|
|
927
|
+
const n = Nn();
|
|
928
|
+
return r(e.add(n, t)), xn(n, {});
|
|
929
929
|
}
|
|
930
930
|
if (typeof t == "function") {
|
|
931
|
-
const n =
|
|
932
|
-
return r(e.add(n, t)),
|
|
931
|
+
const n = Nn();
|
|
932
|
+
return r(e.add(n, t)), xn(n, {});
|
|
933
933
|
}
|
|
934
934
|
if (Pl(t)) {
|
|
935
935
|
const n = t.type;
|
|
936
936
|
if (typeof n == "string") return t;
|
|
937
|
-
if (
|
|
938
|
-
const o =
|
|
939
|
-
return r(e.add(o, n)),
|
|
937
|
+
if (Gn(n) || typeof n == "function") {
|
|
938
|
+
const o = Nn();
|
|
939
|
+
return r(e.add(o, n)), xn(o, t.props);
|
|
940
940
|
}
|
|
941
941
|
return t;
|
|
942
942
|
}
|
|
@@ -960,20 +960,20 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
960
960
|
}
|
|
961
961
|
showSettingsPanel(e) {
|
|
962
962
|
this._clearPanelRegistrations();
|
|
963
|
-
const t = Ot(this._container), r = (i) => this._trackRegistration(i), n =
|
|
963
|
+
const t = Ot(this._container), r = (i) => this._trackRegistration(i), n = Ra(t, e.content, r), o = e.advancedTabs?.map((i) => ({
|
|
964
964
|
...i,
|
|
965
|
-
content:
|
|
966
|
-
})), a = e.instanceKey ??
|
|
967
|
-
At(this._container,
|
|
965
|
+
content: Ra(t, i.content, r)
|
|
966
|
+
})), a = e.instanceKey ?? qa();
|
|
967
|
+
At(this._container, Ln).fire({
|
|
968
968
|
...e,
|
|
969
969
|
content: n,
|
|
970
970
|
advancedTabs: o,
|
|
971
971
|
instanceKey: a,
|
|
972
|
-
type:
|
|
972
|
+
type: Aa
|
|
973
973
|
});
|
|
974
974
|
}
|
|
975
975
|
closeSettingsPanel() {
|
|
976
|
-
this._clearPanelRegistrations(), At(this._container,
|
|
976
|
+
this._clearPanelRegistrations(), At(this._container, Ln).fire(null);
|
|
977
977
|
}
|
|
978
978
|
}, Al = {
|
|
979
979
|
SandboxScriptApi: Sl,
|
|
@@ -1003,7 +1003,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
1003
1003
|
meta: jl(e)
|
|
1004
1004
|
};
|
|
1005
1005
|
}
|
|
1006
|
-
function
|
|
1006
|
+
function $n(e, t) {
|
|
1007
1007
|
return t ? Cl(t, e) : {
|
|
1008
1008
|
type: e.type,
|
|
1009
1009
|
name: e.name,
|
|
@@ -1015,17 +1015,17 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
1015
1015
|
function X(e) {
|
|
1016
1016
|
return W(e);
|
|
1017
1017
|
}
|
|
1018
|
-
var
|
|
1018
|
+
var Bn;
|
|
1019
1019
|
(function(e) {
|
|
1020
1020
|
e.BEFORE_SAVE_EMAIL = X(), e.ON_SAVEBUTTON_CLICK_ID = X(), e.ON_NEXTBUTTON_CLICK_ID = X(), e.ON_PREVIOUSBUTTON_CLICK_ID = X(), e.ON_MODEL_CHANGE = X(), e.WILL_EMAIL_INIT_ID = X(), e.ON_EMAIL_INIT_ID = X(), e.ON_BLOCK_INIT_ID = X(), e.ON_CONTENT_CHANGED_ID = X(), e.ON_PREHEADER_CHANGED_ID = X(), e.ON_SUBJECT_CHANGED_ID = X(), e.ON_EMAIL_CHANGED_ID = X(), e.ON_BLOCK_CHANGED_ID = X(), e.ON_CHUNKS_LOADED = X(), e.ON_SEND_TESTEMAIL_ID = X(), e.ON_SEND_LIVEPREVIEW_ID = X(), e.ON_SHARE_ID = X(), e.ON_SHOW_PREVIEW_ID = X(), e.ON_EMAIL_CLONE_ID = X(), e.ON_SEND_EMAIL_MODAL_ID = X(), e.ON_NOTIFICATION = X(), e.READ_LOCALE = X(), e.ON_TRANSLATE_ID = X(), e.ON_CODE_VALIDATE_ID = X(), e.UPLOAD_EVENT_ID = X(), e.PROXY_URL_EVENT_ID = X(), e.FILE_PROXY_EVENT_ID = X(), e.ON_LIMIT_ID = X(), e.ON_BROWSER_EXTENSION_DETECTED_ID = X(), e.ON_LAYOUT_CONVERT_REQUEST_ID = X(), e.ON_BROWSER_TRANSLATE_DETECTED_ID = X();
|
|
1021
|
-
})(
|
|
1021
|
+
})(Bn || (Bn = {}));
|
|
1022
1022
|
function Il(e, t) {
|
|
1023
1023
|
return e.getOrCreateInstance(t, () => new Qe()).event;
|
|
1024
1024
|
}
|
|
1025
1025
|
function Dl(e, t) {
|
|
1026
1026
|
return e.getOrCreateInstance(t, () => new Qe());
|
|
1027
1027
|
}
|
|
1028
|
-
var ql = "Not implemented in plugin", Rl = W(),
|
|
1028
|
+
var ql = "Not implemented in plugin", Rl = W(), Ma = W(), Ml = W("InitPipelineContext"), Ll = W(), Fn = W(), kl = W(), Nl = W(), Un = W(), xl = W("PluginCollection"), Gl = X("APP_LOAD_EVENT"), $l = X("CONFIG_CHANGED_EVENT"), ge = (function(e) {
|
|
1029
1029
|
return e.Json = "application/json", e.FormData = "multipart/form-data", e.UrlEncoded = "application/x-www-form-urlencoded", e.Text = "text/plain", e;
|
|
1030
1030
|
})({}), Bl = class {
|
|
1031
1031
|
baseUrl = "https://api.emailmaker.ru/wp-json";
|
|
@@ -1713,64 +1713,6 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
1713
1713
|
type: "application/x-www-form-urlencoded",
|
|
1714
1714
|
...t
|
|
1715
1715
|
}),
|
|
1716
|
-
profile_options_list: (e = {}) => this.request({
|
|
1717
|
-
path: "/projects/v1/profile/options",
|
|
1718
|
-
method: "GET",
|
|
1719
|
-
...e
|
|
1720
|
-
}),
|
|
1721
|
-
profile_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1722
|
-
path: `/projects/v1/profile/${e}`,
|
|
1723
|
-
method: "GET",
|
|
1724
|
-
...r
|
|
1725
|
-
}),
|
|
1726
|
-
profile_partial_update: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1727
|
-
path: `/projects/v1/profile/${e}`,
|
|
1728
|
-
method: "PATCH",
|
|
1729
|
-
...r
|
|
1730
|
-
}),
|
|
1731
|
-
storage_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1732
|
-
path: `/projects/v1/storage/${e}`,
|
|
1733
|
-
method: "GET",
|
|
1734
|
-
...r
|
|
1735
|
-
}),
|
|
1736
|
-
storage_partial_update: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1737
|
-
path: `/projects/v1/storage/${e}`,
|
|
1738
|
-
method: "PATCH",
|
|
1739
|
-
...r
|
|
1740
|
-
}),
|
|
1741
|
-
storage_test_create: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1742
|
-
path: `/projects/v1/storage/${e}/test`,
|
|
1743
|
-
method: "POST",
|
|
1744
|
-
...r
|
|
1745
|
-
}),
|
|
1746
|
-
integrations_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1747
|
-
path: `/projects/v1/integrations/${e}`,
|
|
1748
|
-
method: "GET",
|
|
1749
|
-
query: t,
|
|
1750
|
-
...r
|
|
1751
|
-
}),
|
|
1752
|
-
integrations_partial_update: ({ projectId: e, ...t }, r, n = {}) => this.request({
|
|
1753
|
-
path: `/projects/v1/integrations/${e}`,
|
|
1754
|
-
method: "PATCH",
|
|
1755
|
-
body: r,
|
|
1756
|
-
type: "application/x-www-form-urlencoded",
|
|
1757
|
-
...n
|
|
1758
|
-
}),
|
|
1759
|
-
members_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1760
|
-
path: `/projects/v1/members/${e}`,
|
|
1761
|
-
method: "GET",
|
|
1762
|
-
...r
|
|
1763
|
-
}),
|
|
1764
|
-
social_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1765
|
-
path: `/projects/v1/social/${e}`,
|
|
1766
|
-
method: "GET",
|
|
1767
|
-
...r
|
|
1768
|
-
}),
|
|
1769
|
-
social_partial_update: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1770
|
-
path: `/projects/v1/social/${e}`,
|
|
1771
|
-
method: "PATCH",
|
|
1772
|
-
...r
|
|
1773
|
-
}),
|
|
1774
1716
|
developer_credentials_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1775
1717
|
path: `/projects/v1/developer-credentials/${e}`,
|
|
1776
1718
|
method: "GET",
|
|
@@ -1823,6 +1765,61 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
1823
1765
|
method: "GET",
|
|
1824
1766
|
...r
|
|
1825
1767
|
}),
|
|
1768
|
+
profile_options_list: (e = {}) => this.request({
|
|
1769
|
+
path: "/projects/v1/profile/options",
|
|
1770
|
+
method: "GET",
|
|
1771
|
+
...e
|
|
1772
|
+
}),
|
|
1773
|
+
profile_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1774
|
+
path: `/projects/v1/profile/${e}`,
|
|
1775
|
+
method: "GET",
|
|
1776
|
+
format: "json",
|
|
1777
|
+
...r
|
|
1778
|
+
}),
|
|
1779
|
+
profile_partial_update: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1780
|
+
path: `/projects/v1/profile/${e}`,
|
|
1781
|
+
method: "PATCH",
|
|
1782
|
+
format: "json",
|
|
1783
|
+
...r
|
|
1784
|
+
}),
|
|
1785
|
+
storage_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1786
|
+
path: `/projects/v1/storage/${e}`,
|
|
1787
|
+
method: "GET",
|
|
1788
|
+
format: "json",
|
|
1789
|
+
...r
|
|
1790
|
+
}),
|
|
1791
|
+
storage_partial_update: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1792
|
+
path: `/projects/v1/storage/${e}`,
|
|
1793
|
+
method: "PATCH",
|
|
1794
|
+
format: "json",
|
|
1795
|
+
...r
|
|
1796
|
+
}),
|
|
1797
|
+
storage_test_create: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1798
|
+
path: `/projects/v1/storage/${e}/test`,
|
|
1799
|
+
method: "POST",
|
|
1800
|
+
...r
|
|
1801
|
+
}),
|
|
1802
|
+
integrations_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1803
|
+
path: `/projects/v1/integrations/${e}`,
|
|
1804
|
+
method: "GET",
|
|
1805
|
+
query: t,
|
|
1806
|
+
format: "json",
|
|
1807
|
+
...r
|
|
1808
|
+
}),
|
|
1809
|
+
integrations_partial_update: ({ projectId: e, ...t }, r, n = {}) => this.request({
|
|
1810
|
+
path: `/projects/v1/integrations/${e}`,
|
|
1811
|
+
method: "PATCH",
|
|
1812
|
+
body: r,
|
|
1813
|
+
type: "application/x-www-form-urlencoded",
|
|
1814
|
+
format: "json",
|
|
1815
|
+
...n
|
|
1816
|
+
}),
|
|
1817
|
+
members_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1818
|
+
path: `/projects/v1/members/${e}`,
|
|
1819
|
+
method: "GET",
|
|
1820
|
+
format: "json",
|
|
1821
|
+
...r
|
|
1822
|
+
}),
|
|
1826
1823
|
styles_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1827
1824
|
path: `/projects/v1/styles/${e}`,
|
|
1828
1825
|
method: "GET",
|
|
@@ -1840,6 +1837,18 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
1840
1837
|
method: "POST",
|
|
1841
1838
|
format: "json",
|
|
1842
1839
|
...r
|
|
1840
|
+
}),
|
|
1841
|
+
social_detail: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1842
|
+
path: `/projects/v1/social/${e}`,
|
|
1843
|
+
method: "GET",
|
|
1844
|
+
format: "json",
|
|
1845
|
+
...r
|
|
1846
|
+
}),
|
|
1847
|
+
social_partial_update: ({ projectId: e, ...t }, r = {}) => this.request({
|
|
1848
|
+
path: `/projects/v1/social/${e}`,
|
|
1849
|
+
method: "PATCH",
|
|
1850
|
+
format: "json",
|
|
1851
|
+
...r
|
|
1843
1852
|
})
|
|
1844
1853
|
};
|
|
1845
1854
|
wp = {
|
|
@@ -4484,6 +4493,19 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
4484
4493
|
...t
|
|
4485
4494
|
})
|
|
4486
4495
|
};
|
|
4496
|
+
emMigration = {
|
|
4497
|
+
get_em_migration: (e, t = {}) => this.request({
|
|
4498
|
+
path: "/em-migration/v1",
|
|
4499
|
+
method: "GET",
|
|
4500
|
+
query: e,
|
|
4501
|
+
...t
|
|
4502
|
+
}),
|
|
4503
|
+
export_user_create: (e = {}) => this.request({
|
|
4504
|
+
path: "/em-migration/v1/export-user",
|
|
4505
|
+
method: "POST",
|
|
4506
|
+
...e
|
|
4507
|
+
})
|
|
4508
|
+
};
|
|
4487
4509
|
wpOpenapi = {
|
|
4488
4510
|
wp_openapi_list: (e, t = {}) => this.request({
|
|
4489
4511
|
path: "/wp-openapi",
|
|
@@ -4845,21 +4867,21 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
4845
4867
|
...r
|
|
4846
4868
|
})
|
|
4847
4869
|
};
|
|
4848
|
-
}, Nr = W("client"), Ul = W("ai_client"), Hl = W(),
|
|
4849
|
-
function
|
|
4870
|
+
}, Nr = W("client"), Ul = W("ai_client"), Hl = W(), La = W(), ka = "INJECTION";
|
|
4871
|
+
function Hn(e) {
|
|
4850
4872
|
return e.getState;
|
|
4851
4873
|
}
|
|
4852
4874
|
function re(e) {
|
|
4853
|
-
if (
|
|
4854
|
-
const t = e.getState()[
|
|
4875
|
+
if (Hn(e)) {
|
|
4876
|
+
const t = e.getState()[ka];
|
|
4855
4877
|
return t && ft.getInstance(t);
|
|
4856
4878
|
} else return e;
|
|
4857
4879
|
}
|
|
4858
|
-
me.init__polyfill_node_global(),
|
|
4880
|
+
me.init__polyfill_node_global(), ha.init__polyfill_node_process();
|
|
4859
4881
|
function xr(e, t) {
|
|
4860
4882
|
for (const r of e) if (r && t in r) return r[t];
|
|
4861
4883
|
}
|
|
4862
|
-
function
|
|
4884
|
+
function Vn(e) {
|
|
4863
4885
|
return Object.assign({}, ...e);
|
|
4864
4886
|
}
|
|
4865
4887
|
var Na = [
|
|
@@ -4868,11 +4890,11 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
4868
4890
|
"emFiles",
|
|
4869
4891
|
"cdn"
|
|
4870
4892
|
];
|
|
4871
|
-
function
|
|
4893
|
+
function Qn(e) {
|
|
4872
4894
|
return !!e && typeof e == "object" && !Array.isArray(e);
|
|
4873
4895
|
}
|
|
4874
4896
|
function xa(e) {
|
|
4875
|
-
return !
|
|
4897
|
+
return !Qn(e) || "match" in e || "rewrite" in e || "proxyBase" in e ? !1 : Object.keys(e).some((t) => Na.includes(t));
|
|
4876
4898
|
}
|
|
4877
4899
|
function Ga(e) {
|
|
4878
4900
|
return e.length === 0 ? [] : e.length === 1 ? e[0] : e;
|
|
@@ -4889,7 +4911,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
4889
4911
|
if (t) return Ga(r);
|
|
4890
4912
|
}
|
|
4891
4913
|
function Vl(e) {
|
|
4892
|
-
return
|
|
4914
|
+
return Qn(e) && ("value" in e || "replace" in e);
|
|
4893
4915
|
}
|
|
4894
4916
|
function Ba(e, t) {
|
|
4895
4917
|
return t === void 0 ? e : Array.isArray(t) ? [...t, ...e] : [t, ...e];
|
|
@@ -4929,7 +4951,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
4929
4951
|
replace: !1,
|
|
4930
4952
|
hosts: e
|
|
4931
4953
|
};
|
|
4932
|
-
if (
|
|
4954
|
+
if (Qn(e) && Array.isArray(e.value)) return {
|
|
4933
4955
|
replace: !!e.replace,
|
|
4934
4956
|
hosts: e.value
|
|
4935
4957
|
};
|
|
@@ -4956,7 +4978,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
4956
4978
|
function Jl(e) {
|
|
4957
4979
|
const t = e.filter((o) => o !== void 0);
|
|
4958
4980
|
if (t.length === 0) return;
|
|
4959
|
-
const r =
|
|
4981
|
+
const r = Vn(t.map(({ directHosts: o, ...a }) => a)), n = Xl(t.map((o) => o?.directHosts));
|
|
4960
4982
|
return n !== void 0 && (r.directHosts = n), r;
|
|
4961
4983
|
}
|
|
4962
4984
|
var Yl = 3e5, pt = new Map(), Kt = new Map(), Ua = new Set([
|
|
@@ -4971,7 +4993,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
4971
4993
|
function ac() {
|
|
4972
4994
|
const e = "https://px0.racs.rest/";
|
|
4973
4995
|
if (Gr(e)) return e;
|
|
4974
|
-
const t =
|
|
4996
|
+
const t = ha.browser$1.env.REACT_APP_UNSPLASH_PROXY;
|
|
4975
4997
|
return Gr(t) ? t : void 0;
|
|
4976
4998
|
}
|
|
4977
4999
|
function Ha() {
|
|
@@ -5063,13 +5085,13 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5063
5085
|
}
|
|
5064
5086
|
return r;
|
|
5065
5087
|
}
|
|
5066
|
-
function
|
|
5088
|
+
function zn(e) {
|
|
5067
5089
|
return e?.backendProxy;
|
|
5068
5090
|
}
|
|
5069
5091
|
function ze(e) {
|
|
5070
5092
|
return e.replace(/\/$/, "");
|
|
5071
5093
|
}
|
|
5072
|
-
function
|
|
5094
|
+
function Kn(e) {
|
|
5073
5095
|
return /^https?:\/\//i.test(e);
|
|
5074
5096
|
}
|
|
5075
5097
|
function hc(e) {
|
|
@@ -5078,11 +5100,11 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5078
5100
|
function Wt(e) {
|
|
5079
5101
|
return !!e && typeof e == "object" && !Array.isArray(e);
|
|
5080
5102
|
}
|
|
5081
|
-
function
|
|
5103
|
+
function Wn(e) {
|
|
5082
5104
|
const t = new Set();
|
|
5083
5105
|
return e.filter((r) => !r.url || t.has(r.url) ? !1 : (t.add(r.url), !0));
|
|
5084
5106
|
}
|
|
5085
|
-
function
|
|
5107
|
+
function Xn() {
|
|
5086
5108
|
return "https://emcdn.ru";
|
|
5087
5109
|
}
|
|
5088
5110
|
function Qa(e) {
|
|
@@ -5100,7 +5122,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5100
5122
|
return r ? Qa(r) ? Object.keys(r).filter((n) => Ua.has(n)).map((n) => za(r[n])).filter(Boolean) : [r] : [];
|
|
5101
5123
|
}
|
|
5102
5124
|
function yc(e) {
|
|
5103
|
-
const t =
|
|
5125
|
+
const t = zn(e);
|
|
5104
5126
|
return t ? [t] : [];
|
|
5105
5127
|
}
|
|
5106
5128
|
function vc(e, t = !1) {
|
|
@@ -5176,7 +5198,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5176
5198
|
proxyAi: !1
|
|
5177
5199
|
};
|
|
5178
5200
|
}
|
|
5179
|
-
function
|
|
5201
|
+
function Jn(e, t, r, n = !1) {
|
|
5180
5202
|
const o = Xt(r, n);
|
|
5181
5203
|
if (t === "display") return e === "stockImages" ? o.proxyStockImages : o.proxyImgSrc;
|
|
5182
5204
|
switch (e) {
|
|
@@ -5187,7 +5209,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5187
5209
|
}
|
|
5188
5210
|
}
|
|
5189
5211
|
function Tc(e, t, r, n = !1) {
|
|
5190
|
-
return e === "stockImages" &&
|
|
5212
|
+
return e === "stockImages" && Jn("stockImages", t, r, n);
|
|
5191
5213
|
}
|
|
5192
5214
|
function Sc(e, t) {
|
|
5193
5215
|
const r = wc(t), n = t?.backendProxyPolicy;
|
|
@@ -5324,7 +5346,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5324
5346
|
}
|
|
5325
5347
|
function Br(e, t) {
|
|
5326
5348
|
const r = ze(e);
|
|
5327
|
-
return t ?
|
|
5349
|
+
return t ? Kn(t) ? t : t.startsWith("?") || t.startsWith("#") ? `${r}${t}` : `${r}${t.startsWith("/") ? "" : "/"}${t}` : r;
|
|
5328
5350
|
}
|
|
5329
5351
|
function Ya(e, t, r, n) {
|
|
5330
5352
|
const o = e.match;
|
|
@@ -5363,7 +5385,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5363
5385
|
resourceType: o,
|
|
5364
5386
|
intent: a,
|
|
5365
5387
|
...d
|
|
5366
|
-
}), S = p && !
|
|
5388
|
+
}), S = p && !Kn(b) ? Br(p, b) : b;
|
|
5367
5389
|
return S.includes("{") && S.includes("}") ? Xe(S, t, d) : S;
|
|
5368
5390
|
})() : p ? Xe(Br(p, m), t, d) : m.includes("{") && m.includes("}") ? Xe(m, t, d) : $r(m, t);
|
|
5369
5391
|
u.push({
|
|
@@ -5372,7 +5394,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5372
5394
|
source: n
|
|
5373
5395
|
});
|
|
5374
5396
|
});
|
|
5375
|
-
}),
|
|
5397
|
+
}), Wn(u);
|
|
5376
5398
|
}
|
|
5377
5399
|
function Za(e, t, r, n) {
|
|
5378
5400
|
const o = e.match;
|
|
@@ -5411,7 +5433,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5411
5433
|
method: r,
|
|
5412
5434
|
requestType: n,
|
|
5413
5435
|
...l
|
|
5414
|
-
}), _ = f && !
|
|
5436
|
+
}), _ = f && !Kn(g) ? Br(f, g) : g;
|
|
5415
5437
|
return _.includes("{") && _.includes("}") ? Xe(_, t, l) : _;
|
|
5416
5438
|
})() : f ? Xe(Br(f, d), t, l) : d.includes("{") && d.includes("}") ? Xe(d, t, l) : $r(d, t);
|
|
5417
5439
|
a.push({
|
|
@@ -5420,7 +5442,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5420
5442
|
source: "resource"
|
|
5421
5443
|
});
|
|
5422
5444
|
});
|
|
5423
|
-
}),
|
|
5445
|
+
}), Wn(a);
|
|
5424
5446
|
}
|
|
5425
5447
|
function Rc(e, t, r) {
|
|
5426
5448
|
return [e, ...r.map((n) => n.url)].join("|");
|
|
@@ -5479,11 +5501,11 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5479
5501
|
function xc(e) {
|
|
5480
5502
|
return Zl.test(e) || ec.test(e);
|
|
5481
5503
|
}
|
|
5482
|
-
function
|
|
5504
|
+
function Yn(e) {
|
|
5483
5505
|
return Nc(e) || xc(e);
|
|
5484
5506
|
}
|
|
5485
|
-
function
|
|
5486
|
-
const r =
|
|
5507
|
+
function Zn(e, t) {
|
|
5508
|
+
const r = Xn();
|
|
5487
5509
|
return r && e.startsWith(ze(r)) ? "cdn" : tc.test(e) || rc.test(e) ? "stockImages" : "generic";
|
|
5488
5510
|
}
|
|
5489
5511
|
function Gc(e) {
|
|
@@ -5510,7 +5532,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5510
5532
|
return null;
|
|
5511
5533
|
}
|
|
5512
5534
|
}
|
|
5513
|
-
function
|
|
5535
|
+
function eo(e, t = []) {
|
|
5514
5536
|
return e == null || (Array.isArray(e) ? e : [e]).forEach((r) => {
|
|
5515
5537
|
if (r) {
|
|
5516
5538
|
if (typeof r == "string") {
|
|
@@ -5527,13 +5549,13 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5527
5549
|
}), t;
|
|
5528
5550
|
}
|
|
5529
5551
|
function Bc(e, t, r = !1) {
|
|
5530
|
-
return Wa(t, r).flatMap((n) =>
|
|
5552
|
+
return Wa(t, r).flatMap((n) => eo(n)).filter(Boolean).some((n) => n && e.startsWith(n));
|
|
5531
5553
|
}
|
|
5532
5554
|
function Fc(e, t) {
|
|
5533
|
-
return yc(t).flatMap((r) =>
|
|
5555
|
+
return yc(t).flatMap((r) => eo(r)).filter(Boolean).some((r) => r && e.startsWith(r));
|
|
5534
5556
|
}
|
|
5535
5557
|
function Uc(e, t, r = !1) {
|
|
5536
|
-
const n = Wa(t, r).flatMap((o) =>
|
|
5558
|
+
const n = Wa(t, r).flatMap((o) => eo(o)).filter(Boolean);
|
|
5537
5559
|
for (const o of n) {
|
|
5538
5560
|
const a = $c(e, o);
|
|
5539
5561
|
if (a) return a;
|
|
@@ -5547,17 +5569,17 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5547
5569
|
return Uc(e, t, r) || e;
|
|
5548
5570
|
}
|
|
5549
5571
|
function Hc(e, t, r, n = !1) {
|
|
5550
|
-
return !!Ka(r, e, n) &&
|
|
5572
|
+
return !!Ka(r, e, n) && Jn(e, t, r, n);
|
|
5551
5573
|
}
|
|
5552
5574
|
function Vc(e, t) {
|
|
5553
|
-
return !!
|
|
5575
|
+
return !!zn(t) && Sc(e, t);
|
|
5554
5576
|
}
|
|
5555
5577
|
function Qc(e, t, r, n = !1) {
|
|
5556
|
-
return Va(n) || t === "downloadBlob" ? !1 : e === "stockImages" ?
|
|
5578
|
+
return Va(n) || t === "downloadBlob" ? !1 : e === "stockImages" ? Jn(e, t, r, n) : !1;
|
|
5557
5579
|
}
|
|
5558
5580
|
function zc(e, t = {}) {
|
|
5559
|
-
const r = t.config, n = Yt(e, r, t.standalone), o = t.resourceType ||
|
|
5560
|
-
if (
|
|
5581
|
+
const r = t.config, n = Yt(e, r, t.standalone), o = t.resourceType || Zn(n, r), a = t.intent || "display";
|
|
5582
|
+
if (Yn(n)) return {
|
|
5561
5583
|
resourceType: "generic",
|
|
5562
5584
|
intent: a,
|
|
5563
5585
|
candidates: []
|
|
@@ -5572,12 +5594,12 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5572
5594
|
}
|
|
5573
5595
|
function Kc(e, t = {}) {
|
|
5574
5596
|
const r = t.requestType || Gc(e);
|
|
5575
|
-
return Vc(r, t.config) ? qc(
|
|
5597
|
+
return Vc(r, t.config) ? qc(zn(t.config), e, t.method, r) : [];
|
|
5576
5598
|
}
|
|
5577
5599
|
function Zt(e, t = {}, r) {
|
|
5578
5600
|
const n = t.intent || r;
|
|
5579
5601
|
if (oi(e, t.config, t.standalone)) {
|
|
5580
|
-
const s = Yt(e, t.config, t.standalone), l = t.resourceType ||
|
|
5602
|
+
const s = Yt(e, t.config, t.standalone), l = t.resourceType || Zn(s, t.config), f = {
|
|
5581
5603
|
key: "already-proxied",
|
|
5582
5604
|
url: e,
|
|
5583
5605
|
source: "direct"
|
|
@@ -5591,8 +5613,8 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5591
5613
|
candidates: [f]
|
|
5592
5614
|
};
|
|
5593
5615
|
}
|
|
5594
|
-
const o = Yt(e, t.config, t.standalone), a = t.resourceType ||
|
|
5595
|
-
if (cc(n, i) && !
|
|
5616
|
+
const o = Yt(e, t.config, t.standalone), a = t.resourceType || Zn(o, t.config), i = Qc(a, n, t.config, t.standalone);
|
|
5617
|
+
if (cc(n, i) && !Yn(o) && !Tc(a, n, t.config, t.standalone)) {
|
|
5596
5618
|
const s = fc(o, Xt(t.config, t.standalone));
|
|
5597
5619
|
if (s) {
|
|
5598
5620
|
const l = {
|
|
@@ -5618,7 +5640,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5618
5640
|
});
|
|
5619
5641
|
return {
|
|
5620
5642
|
chain: u,
|
|
5621
|
-
candidates:
|
|
5643
|
+
candidates: Wn([...kc(u.stabilityKey, u.candidates), ...i ? [] : [{
|
|
5622
5644
|
key: "direct",
|
|
5623
5645
|
url: o,
|
|
5624
5646
|
source: "direct"
|
|
@@ -5680,7 +5702,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5680
5702
|
return e.length > 0 && e.every((t) => t.source === "direct");
|
|
5681
5703
|
}
|
|
5682
5704
|
function rd(e, t, r) {
|
|
5683
|
-
return e.directShortCircuit ? e.directShortCircuit.skipReason : t.length === 1 && t[0]?.source === "direct" &&
|
|
5705
|
+
return e.directShortCircuit ? e.directShortCircuit.skipReason : t.length === 1 && t[0]?.source === "direct" && Yn(r) ? "direct-only-vendor" : null;
|
|
5684
5706
|
}
|
|
5685
5707
|
function nd(e, t, r) {
|
|
5686
5708
|
return e.directShortCircuit || r === "direct-only-vendor" || td(t) ? "direct" : "proxy";
|
|
@@ -5761,11 +5783,11 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5761
5783
|
return Fc(e, t.config) ? [e] : Kc(e, t).map((r) => r.url);
|
|
5762
5784
|
}
|
|
5763
5785
|
function sd(e, t) {
|
|
5764
|
-
const r =
|
|
5786
|
+
const r = Xn(), n = t.filter(Boolean).map((o) => String(o).replace(/^\/+|\/+$/g, ""));
|
|
5765
5787
|
return r ? `${ze(r)}/${n.join("/")}` : n.join("/");
|
|
5766
5788
|
}
|
|
5767
5789
|
function ud(e, t) {
|
|
5768
|
-
const r =
|
|
5790
|
+
const r = Xn();
|
|
5769
5791
|
return !!r && e.startsWith(ze(r));
|
|
5770
5792
|
}
|
|
5771
5793
|
var ld = (e) => {
|
|
@@ -5830,9 +5852,9 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5830
5852
|
}
|
|
5831
5853
|
getBackendProxyCandidates(e, t) {
|
|
5832
5854
|
const r = ii(e, {
|
|
5833
|
-
config: dd(this.container?.getInstance(
|
|
5855
|
+
config: dd(this.container?.getInstance(Fn)),
|
|
5834
5856
|
method: t,
|
|
5835
|
-
standalone: this.container?.getInstance(
|
|
5857
|
+
standalone: this.container?.getInstance(Un) !== void 0
|
|
5836
5858
|
}), n = r.length > 0 ? r : [e], o = this.buildRequestKey(e, t), a = jt.get(o);
|
|
5837
5859
|
return !a || !n.includes(a) ? n : [a, ...n.filter((i) => i !== a)];
|
|
5838
5860
|
}
|
|
@@ -5892,11 +5914,11 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5892
5914
|
return e.getOrCreateInstance(ui, () => pd());
|
|
5893
5915
|
}
|
|
5894
5916
|
function li(e, t = {}) {
|
|
5895
|
-
const r =
|
|
5917
|
+
const r = Hn(e) ? re(e) : e;
|
|
5896
5918
|
return md(r).create(t, r);
|
|
5897
5919
|
}
|
|
5898
|
-
var ci = W(), hd = W(),
|
|
5899
|
-
e.inject(
|
|
5920
|
+
var ci = W(), hd = W(), Ur = W(), yd = (e) => {
|
|
5921
|
+
e.inject(Ur, { execute: async (t, r = {}) => {
|
|
5900
5922
|
const n = e.getServices(ci);
|
|
5901
5923
|
let o = t instanceof Request ? t : new Request(t, r);
|
|
5902
5924
|
for (const u of n) {
|
|
@@ -5910,9 +5932,9 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5910
5932
|
} });
|
|
5911
5933
|
}, vd = (e) => {
|
|
5912
5934
|
yd(e);
|
|
5913
|
-
const t = e.getInstance(
|
|
5935
|
+
const t = e.getInstance(Ur);
|
|
5914
5936
|
e.inject(Nr, li(e, { customFetch: t?.execute || fetch }));
|
|
5915
|
-
},
|
|
5937
|
+
}, to;
|
|
5916
5938
|
(function(e) {
|
|
5917
5939
|
const t = "https://racs.emcdn.ru/v3";
|
|
5918
5940
|
function r(o, a) {
|
|
@@ -5939,7 +5961,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5939
5961
|
return await (await fetch(`${t}/get?resource=${o}&dataset=${document.location.hostname}`, i)).json();
|
|
5940
5962
|
}
|
|
5941
5963
|
e.getAll = n;
|
|
5942
|
-
})(
|
|
5964
|
+
})(to || (to = {}));
|
|
5943
5965
|
function di(e) {
|
|
5944
5966
|
if (typeof e == "object" && e) {
|
|
5945
5967
|
const t = {};
|
|
@@ -5999,7 +6021,8 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
5999
6021
|
em_active_tab: "em_active_tab",
|
|
6000
6022
|
em_ai_settings: "em_ai_settings",
|
|
6001
6023
|
em_last_active_page: "em_last_active_page",
|
|
6002
|
-
em_layout_convert_never_suggest: "em_layout_convert_never_suggest"
|
|
6024
|
+
em_layout_convert_never_suggest: "em_layout_convert_never_suggest",
|
|
6025
|
+
em_filemanager_v2: "em_filemanager_v2"
|
|
6003
6026
|
}, Ed = "deleted", wd = "not all", Td = "light", Sd = "dark", Pd = "system", Od = "(prefers-color-scheme: light)", Ad = "(prefers-color-scheme: dark)", jd = {
|
|
6004
6027
|
auth: "/auth",
|
|
6005
6028
|
projects_index: "/",
|
|
@@ -6157,7 +6180,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6157
6180
|
ALL: "All",
|
|
6158
6181
|
STANDARD: "Standard",
|
|
6159
6182
|
PROJECT: "Project"
|
|
6160
|
-
}, Rd = "Appearance", Md = "Structure", Ld = "Settings", kd = "Properties", Nd = "History", xd = "Disabled_tab", pi = "Edit selected element", Gd = "UTM parameters", $d = "Table properties", Bd = "Edit selected table cells", Fd = "#b9b1b1", Ud = "Edit", Hd = "AiChat",
|
|
6183
|
+
}, Rd = "Appearance", Md = "Structure", Ld = "Settings", kd = "Properties", Nd = "History", xd = "Disabled_tab", pi = "Edit selected element", Gd = "UTM parameters", $d = "Table properties", Bd = "Edit selected table cells", Fd = "#b9b1b1", Ud = "Edit", Hd = "AiChat", ro = "Build", Vd = "Styles", Qd = "Discuss", zd = "Blocks", Kd = "Atoms", Wd = "Optimise", Xd = {
|
|
6161
6184
|
top: {
|
|
6162
6185
|
width: null,
|
|
6163
6186
|
style: null,
|
|
@@ -6188,7 +6211,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6188
6211
|
IMAGES: "Images",
|
|
6189
6212
|
SPAM_ASSASSIN: "Spam assassin",
|
|
6190
6213
|
PROBLEMS: "Problems"
|
|
6191
|
-
}, uf = "1865", lf = 127017,
|
|
6214
|
+
}, uf = "1865", lf = 127017, no = "desktop", mi = "mobile", cf = "emailtags", df = "blocktags", ff = (e) => ({
|
|
6192
6215
|
REORDER_ATOM: e("Reorder element"),
|
|
6193
6216
|
CLONE_ATOM: e("Clone element"),
|
|
6194
6217
|
REMOVE_ATOM: e("Remove element"),
|
|
@@ -6327,7 +6350,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6327
6350
|
if (n === null) return !0;
|
|
6328
6351
|
var o = Object.hasOwnProperty.call(n, "constructor") && n.constructor;
|
|
6329
6352
|
return o === Object || typeof o == "function" && Function.toString.call(o) === Pf;
|
|
6330
|
-
})(e) || Array.isArray(e) || !!e[or] || !!(!((t = e.constructor) === null || t === void 0) && t[or]) ||
|
|
6353
|
+
})(e) || Array.isArray(e) || !!e[or] || !!(!((t = e.constructor) === null || t === void 0) && t[or]) || Vr(e) || Qr(e));
|
|
6331
6354
|
}
|
|
6332
6355
|
function vf(e) {
|
|
6333
6356
|
return Me(e) || fe(23, e), e[ne].t;
|
|
@@ -6341,12 +6364,12 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6341
6364
|
}
|
|
6342
6365
|
function Ze(e) {
|
|
6343
6366
|
var t = e[ne];
|
|
6344
|
-
return t ? t.i > 3 ? t.i - 4 : t.i : Array.isArray(e) ? 1 :
|
|
6367
|
+
return t ? t.i > 3 ? t.i - 4 : t.i : Array.isArray(e) ? 1 : Vr(e) ? 2 : Qr(e) ? 3 : 0;
|
|
6345
6368
|
}
|
|
6346
6369
|
function et(e, t) {
|
|
6347
6370
|
return Ze(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
6348
6371
|
}
|
|
6349
|
-
function
|
|
6372
|
+
function Hr(e, t) {
|
|
6350
6373
|
return Ze(e) === 2 ? e.get(t) : e[t];
|
|
6351
6374
|
}
|
|
6352
6375
|
function hi(e, t, r) {
|
|
@@ -6356,16 +6379,16 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6356
6379
|
function yi(e, t) {
|
|
6357
6380
|
return e === t ? e !== 0 || 1 / e == 1 / t : e != e && t != t;
|
|
6358
6381
|
}
|
|
6359
|
-
function
|
|
6382
|
+
function Vr(e) {
|
|
6360
6383
|
return Tf && e instanceof Map;
|
|
6361
6384
|
}
|
|
6362
|
-
function
|
|
6385
|
+
function Qr(e) {
|
|
6363
6386
|
return Sf && e instanceof Set;
|
|
6364
6387
|
}
|
|
6365
6388
|
function ht(e) {
|
|
6366
6389
|
return e.o || e.t;
|
|
6367
6390
|
}
|
|
6368
|
-
function
|
|
6391
|
+
function oo(e) {
|
|
6369
6392
|
if (Array.isArray(e)) return Array.prototype.slice.call(e);
|
|
6370
6393
|
var t = Si(e);
|
|
6371
6394
|
delete t[ne];
|
|
@@ -6380,34 +6403,34 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6380
6403
|
}
|
|
6381
6404
|
return Object.create(Object.getPrototypeOf(e), t);
|
|
6382
6405
|
}
|
|
6383
|
-
function
|
|
6384
|
-
return t === void 0 && (t = !1),
|
|
6385
|
-
return
|
|
6406
|
+
function ao(e, t) {
|
|
6407
|
+
return t === void 0 && (t = !1), io(e) || Me(e) || !Le(e) || (Ze(e) > 1 && (e.set = e.add = e.clear = e.delete = gf), Object.freeze(e), t && Ye(e, (function(r, n) {
|
|
6408
|
+
return ao(n, !0);
|
|
6386
6409
|
}), !0)), e;
|
|
6387
6410
|
}
|
|
6388
6411
|
function gf() {
|
|
6389
6412
|
fe(2);
|
|
6390
6413
|
}
|
|
6391
|
-
function
|
|
6414
|
+
function io(e) {
|
|
6392
6415
|
return e == null || typeof e != "object" || Object.isFrozen(e);
|
|
6393
6416
|
}
|
|
6394
6417
|
function Be(e) {
|
|
6395
|
-
var t =
|
|
6418
|
+
var t = vo[e];
|
|
6396
6419
|
return t || fe(18, e), t;
|
|
6397
6420
|
}
|
|
6398
6421
|
function vi(e, t) {
|
|
6399
|
-
|
|
6422
|
+
vo[e] || (vo[e] = t);
|
|
6400
6423
|
}
|
|
6401
|
-
function
|
|
6424
|
+
function so() {
|
|
6402
6425
|
return nr;
|
|
6403
6426
|
}
|
|
6404
|
-
function
|
|
6427
|
+
function uo(e, t) {
|
|
6405
6428
|
t && (Be("Patches"), e.u = [], e.s = [], e.v = t);
|
|
6406
6429
|
}
|
|
6407
|
-
function
|
|
6408
|
-
|
|
6430
|
+
function zr(e) {
|
|
6431
|
+
lo(e), e.p.forEach(_f), e.p = null;
|
|
6409
6432
|
}
|
|
6410
|
-
function
|
|
6433
|
+
function lo(e) {
|
|
6411
6434
|
e === nr && (nr = e.l);
|
|
6412
6435
|
}
|
|
6413
6436
|
function gi(e) {
|
|
@@ -6423,43 +6446,43 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6423
6446
|
var t = e[ne];
|
|
6424
6447
|
t.i === 0 || t.i === 1 ? t.j() : t.g = !0;
|
|
6425
6448
|
}
|
|
6426
|
-
function
|
|
6449
|
+
function co(e, t) {
|
|
6427
6450
|
t._ = t.p.length;
|
|
6428
6451
|
var r = t.p[0], n = e !== void 0 && e !== r;
|
|
6429
|
-
return t.h.O || Be("ES5").S(t, e, n), n ? (r[ne].P && (
|
|
6452
|
+
return t.h.O || Be("ES5").S(t, e, n), n ? (r[ne].P && (zr(t), fe(4)), Le(e) && (e = Kr(t, e), t.l || Wr(t, e)), t.u && Be("Patches").M(r[ne].t, e, t.u, t.s)) : e = Kr(t, r, []), zr(t), t.u && t.v(t.u, t.s), e !== yo ? e : void 0;
|
|
6430
6453
|
}
|
|
6431
|
-
function
|
|
6432
|
-
if (
|
|
6454
|
+
function Kr(e, t, r) {
|
|
6455
|
+
if (io(t)) return t;
|
|
6433
6456
|
var n = t[ne];
|
|
6434
6457
|
if (!n) return Ye(t, (function(u, s) {
|
|
6435
6458
|
return _i(e, n, t, u, s, r);
|
|
6436
6459
|
}), !0), t;
|
|
6437
6460
|
if (n.A !== e) return t;
|
|
6438
|
-
if (!n.P) return
|
|
6461
|
+
if (!n.P) return Wr(e, n.t, !0), n.t;
|
|
6439
6462
|
if (!n.I) {
|
|
6440
6463
|
n.I = !0, n.A._--;
|
|
6441
|
-
var o = n.i === 4 || n.i === 5 ? n.o =
|
|
6464
|
+
var o = n.i === 4 || n.i === 5 ? n.o = oo(n.k) : n.o, a = o, i = !1;
|
|
6442
6465
|
n.i === 3 && (a = new Set(o), o.clear(), i = !0), Ye(a, (function(u, s) {
|
|
6443
6466
|
return _i(e, n, o, u, s, r, i);
|
|
6444
|
-
})),
|
|
6467
|
+
})), Wr(e, o, !1), r && e.u && Be("Patches").N(n, r, e.u, e.s);
|
|
6445
6468
|
}
|
|
6446
6469
|
return n.o;
|
|
6447
6470
|
}
|
|
6448
6471
|
function _i(e, t, r, n, o, a, i) {
|
|
6449
6472
|
if (Me(o)) {
|
|
6450
|
-
var u =
|
|
6473
|
+
var u = Kr(e, o, a && t && t.i !== 3 && !et(t.R, n) ? a.concat(n) : void 0);
|
|
6451
6474
|
if (hi(r, n, u), !Me(u)) return;
|
|
6452
6475
|
e.m = !1;
|
|
6453
6476
|
} else i && r.add(o);
|
|
6454
|
-
if (Le(o) && !
|
|
6477
|
+
if (Le(o) && !io(o)) {
|
|
6455
6478
|
if (!e.h.D && e._ < 1) return;
|
|
6456
|
-
|
|
6479
|
+
Kr(e, o), t && t.A.l || Wr(e, o);
|
|
6457
6480
|
}
|
|
6458
6481
|
}
|
|
6459
|
-
function
|
|
6460
|
-
r === void 0 && (r = !1), !e.l && e.h.D && e.m &&
|
|
6482
|
+
function Wr(e, t, r) {
|
|
6483
|
+
r === void 0 && (r = !1), !e.l && e.h.D && e.m && ao(t, r);
|
|
6461
6484
|
}
|
|
6462
|
-
function
|
|
6485
|
+
function fo(e, t) {
|
|
6463
6486
|
var r = e[ne];
|
|
6464
6487
|
return (r ? ht(r) : e)[t];
|
|
6465
6488
|
}
|
|
@@ -6473,14 +6496,14 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6473
6496
|
function tt(e) {
|
|
6474
6497
|
e.P || (e.P = !0, e.l && tt(e.l));
|
|
6475
6498
|
}
|
|
6476
|
-
function
|
|
6477
|
-
e.o || (e.o =
|
|
6499
|
+
function po(e) {
|
|
6500
|
+
e.o || (e.o = oo(e.t));
|
|
6478
6501
|
}
|
|
6479
|
-
function
|
|
6480
|
-
var n =
|
|
6502
|
+
function mo(e, t, r) {
|
|
6503
|
+
var n = Vr(t) ? Be("MapSet").F(t, r) : Qr(t) ? Be("MapSet").T(t, r) : e.O ? (function(o, a) {
|
|
6481
6504
|
var i = Array.isArray(o), u = {
|
|
6482
6505
|
i: i ? 1 : 0,
|
|
6483
|
-
A: a ? a.A :
|
|
6506
|
+
A: a ? a.A : so(),
|
|
6484
6507
|
P: !1,
|
|
6485
6508
|
I: !1,
|
|
6486
6509
|
R: {},
|
|
@@ -6495,7 +6518,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6495
6518
|
var f = Proxy.revocable(s, l), d = f.revoke, p = f.proxy;
|
|
6496
6519
|
return u.k = p, u.j = d, p;
|
|
6497
6520
|
})(t, r) : Be("ES5").J(t, r);
|
|
6498
|
-
return (r ? r.A :
|
|
6521
|
+
return (r ? r.A : so()).p.push(n), n;
|
|
6499
6522
|
}
|
|
6500
6523
|
function bf(e) {
|
|
6501
6524
|
return Me(e) || fe(22, e), (function t(r) {
|
|
@@ -6506,7 +6529,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6506
6529
|
o.I = !0, n = Ei(r, a), o.I = !1;
|
|
6507
6530
|
} else n = Ei(r, a);
|
|
6508
6531
|
return Ye(n, (function(i, u) {
|
|
6509
|
-
o &&
|
|
6532
|
+
o && Hr(o.t, i) === u || hi(n, i, t(u));
|
|
6510
6533
|
})), a === 3 ? new Set(n) : n;
|
|
6511
6534
|
})(e);
|
|
6512
6535
|
}
|
|
@@ -6515,7 +6538,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6515
6538
|
case 2: return new Map(e);
|
|
6516
6539
|
case 3: return Array.from(e);
|
|
6517
6540
|
}
|
|
6518
|
-
return
|
|
6541
|
+
return oo(e);
|
|
6519
6542
|
}
|
|
6520
6543
|
function Ef() {
|
|
6521
6544
|
function e(a, i) {
|
|
@@ -6582,7 +6605,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6582
6605
|
return Object.create(Object.getPrototypeOf(d), g);
|
|
6583
6606
|
})(u, a), l = {
|
|
6584
6607
|
i: u ? 5 : 4,
|
|
6585
|
-
A: i ? i.A :
|
|
6608
|
+
A: i ? i.A : so(),
|
|
6586
6609
|
P: !1,
|
|
6587
6610
|
I: !1,
|
|
6588
6611
|
R: {},
|
|
@@ -6627,10 +6650,10 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6627
6650
|
function e(n) {
|
|
6628
6651
|
if (!Le(n)) return n;
|
|
6629
6652
|
if (Array.isArray(n)) return n.map(e);
|
|
6630
|
-
if (
|
|
6653
|
+
if (Vr(n)) return new Map(Array.from(n.entries()).map((function(i) {
|
|
6631
6654
|
return [i[0], e(i[1])];
|
|
6632
6655
|
})));
|
|
6633
|
-
if (
|
|
6656
|
+
if (Qr(n)) return new Set(Array.from(n).map(e));
|
|
6634
6657
|
var o = Object.create(Object.getPrototypeOf(n));
|
|
6635
6658
|
for (var a in n) o[a] = e(n[a]);
|
|
6636
6659
|
return et(n, or) && (o[or] = n[or]), o;
|
|
@@ -6644,7 +6667,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6644
6667
|
return o.forEach((function(a) {
|
|
6645
6668
|
for (var i = a.path, u = a.op, s = n, l = 0; l < i.length - 1; l++) {
|
|
6646
6669
|
var f = Ze(s), d = i[l];
|
|
6647
|
-
typeof d != "string" && typeof d != "number" && (d = "" + d), f !== 0 && f !== 1 || d !== "__proto__" && d !== "constructor" || fe(24), typeof s == "function" && d === "prototype" && fe(24), typeof (s =
|
|
6670
|
+
typeof d != "string" && typeof d != "number" && (d = "" + d), f !== 0 && f !== 1 || d !== "__proto__" && d !== "constructor" || fe(24), typeof s == "function" && d === "prototype" && fe(24), typeof (s = Hr(s, d)) != "object" && fe(15, i.join("/"));
|
|
6648
6671
|
}
|
|
6649
6672
|
var p = Ze(s), m = e(a.value), g = i[i.length - 1];
|
|
6650
6673
|
switch (u) {
|
|
@@ -6676,7 +6699,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6676
6699
|
case 2: return (function(u, s, l, f) {
|
|
6677
6700
|
var d = u.t, p = u.o;
|
|
6678
6701
|
Ye(u.R, (function(m, g) {
|
|
6679
|
-
var _ =
|
|
6702
|
+
var _ = Hr(d, m), b = Hr(p, m), S = g ? et(d, m) ? "replace" : r : "remove";
|
|
6680
6703
|
if (_ !== b || S !== "replace") {
|
|
6681
6704
|
var w = s.concat(m);
|
|
6682
6705
|
l.push(S === "remove" ? {
|
|
@@ -6774,7 +6797,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6774
6797
|
a.push({
|
|
6775
6798
|
op: "replace",
|
|
6776
6799
|
path: [],
|
|
6777
|
-
value: o ===
|
|
6800
|
+
value: o === yo ? void 0 : o
|
|
6778
6801
|
}), i.push({
|
|
6779
6802
|
op: "replace",
|
|
6780
6803
|
path: [],
|
|
@@ -6783,14 +6806,14 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6783
6806
|
}
|
|
6784
6807
|
});
|
|
6785
6808
|
}
|
|
6786
|
-
var wi, nr,
|
|
6809
|
+
var wi, nr, ho = typeof Symbol < "u" && typeof Symbol("x") == "symbol", Tf = typeof Map < "u", Sf = typeof Set < "u", Ti = typeof Proxy < "u" && Proxy.revocable !== void 0 && typeof Reflect < "u", yo = ho ? Symbol.for("immer-nothing") : ((wi = {})["immer-nothing"] = !0, wi), or = ho ? Symbol.for("immer-draftable") : "__$immer_draftable", ne = ho ? Symbol.for("immer-state") : "__$immer_state", Pf = "" + Object.prototype.constructor, Ct = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols !== void 0 ? function(e) {
|
|
6787
6810
|
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
6788
6811
|
} : Object.getOwnPropertyNames, Si = Object.getOwnPropertyDescriptors || function(e) {
|
|
6789
6812
|
var t = {};
|
|
6790
6813
|
return Ct(e).forEach((function(r) {
|
|
6791
6814
|
t[r] = Object.getOwnPropertyDescriptor(e, r);
|
|
6792
6815
|
})), t;
|
|
6793
|
-
},
|
|
6816
|
+
}, vo = {}, ar = {
|
|
6794
6817
|
get: function(e, t) {
|
|
6795
6818
|
if (t === ne) return e;
|
|
6796
6819
|
var r = ht(e);
|
|
@@ -6799,7 +6822,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6799
6822
|
return s ? "value" in s ? s.value : (u = s.get) === null || u === void 0 ? void 0 : u.call(o.k) : void 0;
|
|
6800
6823
|
})(e, r, t);
|
|
6801
6824
|
var n = r[t];
|
|
6802
|
-
return e.I || !Le(n) ? n : n ===
|
|
6825
|
+
return e.I || !Le(n) ? n : n === fo(e.t, t) ? (po(e), e.o[t] = mo(e.A.h, n, e)) : n;
|
|
6803
6826
|
},
|
|
6804
6827
|
has: function(e, t) {
|
|
6805
6828
|
return t in ht(e);
|
|
@@ -6811,15 +6834,15 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6811
6834
|
var n = bi(ht(e), t);
|
|
6812
6835
|
if (n?.set) return n.set.call(e.k, r), !0;
|
|
6813
6836
|
if (!e.P) {
|
|
6814
|
-
var o =
|
|
6837
|
+
var o = fo(ht(e), t), a = o?.[ne];
|
|
6815
6838
|
if (a && a.t === r) return e.o[t] = r, e.R[t] = !1, !0;
|
|
6816
6839
|
if (yi(r, o) && (r !== void 0 || et(e.t, t))) return !0;
|
|
6817
|
-
|
|
6840
|
+
po(e), tt(e);
|
|
6818
6841
|
}
|
|
6819
6842
|
return e.o[t] === r && (r !== void 0 || t in e.o) || Number.isNaN(r) && Number.isNaN(e.o[t]) || (e.o[t] = r, e.R[t] = !0), !0;
|
|
6820
6843
|
},
|
|
6821
6844
|
deleteProperty: function(e, t) {
|
|
6822
|
-
return
|
|
6845
|
+
return fo(e.t, t) !== void 0 || t in e.t ? (e.R[t] = !1, po(e), tt(e)) : delete e.R[t], e.o && delete e.o[t], !0;
|
|
6823
6846
|
},
|
|
6824
6847
|
getOwnPropertyDescriptor: function(e, t) {
|
|
6825
6848
|
var r = ht(e), n = Reflect.getOwnPropertyDescriptor(r, t);
|
|
@@ -6869,20 +6892,20 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6869
6892
|
}
|
|
6870
6893
|
var l;
|
|
6871
6894
|
if (typeof a != "function" && fe(6), i !== void 0 && typeof i != "function" && fe(7), Le(o)) {
|
|
6872
|
-
var f = gi(n), d =
|
|
6895
|
+
var f = gi(n), d = mo(n, o, void 0), p = !0;
|
|
6873
6896
|
try {
|
|
6874
6897
|
l = a(d), p = !1;
|
|
6875
6898
|
} finally {
|
|
6876
|
-
p ?
|
|
6899
|
+
p ? zr(f) : lo(f);
|
|
6877
6900
|
}
|
|
6878
6901
|
return typeof Promise < "u" && l instanceof Promise ? l.then((function(_) {
|
|
6879
|
-
return
|
|
6902
|
+
return uo(f, i), co(_, f);
|
|
6880
6903
|
}), (function(_) {
|
|
6881
|
-
throw
|
|
6882
|
-
})) : (
|
|
6904
|
+
throw zr(f), _;
|
|
6905
|
+
})) : (uo(f, i), co(l, f));
|
|
6883
6906
|
}
|
|
6884
6907
|
if (!o || typeof o != "object") {
|
|
6885
|
-
if ((l = a(o)) === void 0 && (l = o), l ===
|
|
6908
|
+
if ((l = a(o)) === void 0 && (l = o), l === yo && (l = void 0), n.D && ao(l, !0), i) {
|
|
6886
6909
|
var m = [], g = [];
|
|
6887
6910
|
Be("Patches").M(o, l, m, g), i(m, g);
|
|
6888
6911
|
}
|
|
@@ -6915,11 +6938,11 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
6915
6938
|
var t = e.prototype;
|
|
6916
6939
|
return t.createDraft = function(r) {
|
|
6917
6940
|
Le(r) || fe(8), Me(r) && (r = bf(r));
|
|
6918
|
-
var n = gi(this), o =
|
|
6919
|
-
return o[ne].C = !0,
|
|
6941
|
+
var n = gi(this), o = mo(this, r, void 0);
|
|
6942
|
+
return o[ne].C = !0, lo(n), o;
|
|
6920
6943
|
}, t.finishDraft = function(r, n) {
|
|
6921
6944
|
var o = (r && r[ne]).A;
|
|
6922
|
-
return
|
|
6945
|
+
return uo(o, n), co(void 0, o);
|
|
6923
6946
|
}, t.setAutoFreeze = function(r) {
|
|
6924
6947
|
this.D = r;
|
|
6925
6948
|
}, t.setUseProxies = function(r) {
|
|
@@ -7001,13 +7024,13 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7001
7024
|
}
|
|
7002
7025
|
var Ci = (function() {
|
|
7003
7026
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
7004
|
-
})(),
|
|
7027
|
+
})(), go = function() {
|
|
7005
7028
|
return Math.random().toString(36).substring(7).split("").join(".");
|
|
7006
|
-
},
|
|
7007
|
-
INIT: "@@redux/INIT" +
|
|
7008
|
-
REPLACE: "@@redux/REPLACE" +
|
|
7029
|
+
}, Xr = {
|
|
7030
|
+
INIT: "@@redux/INIT" + go(),
|
|
7031
|
+
REPLACE: "@@redux/REPLACE" + go(),
|
|
7009
7032
|
PROBE_UNKNOWN_ACTION: function() {
|
|
7010
|
-
return "@@redux/PROBE_UNKNOWN_ACTION" +
|
|
7033
|
+
return "@@redux/PROBE_UNKNOWN_ACTION" + go();
|
|
7011
7034
|
}
|
|
7012
7035
|
};
|
|
7013
7036
|
function If(e) {
|
|
@@ -7061,7 +7084,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7061
7084
|
}
|
|
7062
7085
|
function m(_) {
|
|
7063
7086
|
if (typeof _ != "function") throw new Error(he(10));
|
|
7064
|
-
o = _, p({ type:
|
|
7087
|
+
o = _, p({ type: Xr.REPLACE });
|
|
7065
7088
|
}
|
|
7066
7089
|
function g() {
|
|
7067
7090
|
var _, b = d;
|
|
@@ -7075,7 +7098,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7075
7098
|
return this;
|
|
7076
7099
|
}, _;
|
|
7077
7100
|
}
|
|
7078
|
-
return p({ type:
|
|
7101
|
+
return p({ type: Xr.INIT }), n = {
|
|
7079
7102
|
dispatch: p,
|
|
7080
7103
|
subscribe: d,
|
|
7081
7104
|
getState: f,
|
|
@@ -7085,11 +7108,11 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7085
7108
|
function Df(e) {
|
|
7086
7109
|
Object.keys(e).forEach(function(t) {
|
|
7087
7110
|
var r = e[t];
|
|
7088
|
-
if (typeof r(void 0, { type:
|
|
7089
|
-
if (typeof r(void 0, { type:
|
|
7111
|
+
if (typeof r(void 0, { type: Xr.INIT }) > "u") throw new Error(he(12));
|
|
7112
|
+
if (typeof r(void 0, { type: Xr.PROBE_UNKNOWN_ACTION() }) > "u") throw new Error(he(13));
|
|
7090
7113
|
});
|
|
7091
7114
|
}
|
|
7092
|
-
function
|
|
7115
|
+
function _o(e) {
|
|
7093
7116
|
for (var t = Object.keys(e), r = {}, n = 0; n < t.length; n++) {
|
|
7094
7117
|
var o = t[n];
|
|
7095
7118
|
typeof e[o] == "function" && (r[o] = e[o]);
|
|
@@ -7110,7 +7133,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7110
7133
|
return f = f || a.length !== Object.keys(s).length, f ? d : s;
|
|
7111
7134
|
};
|
|
7112
7135
|
}
|
|
7113
|
-
function
|
|
7136
|
+
function Jr() {
|
|
7114
7137
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r];
|
|
7115
7138
|
return t.length === 0 ? function(n) {
|
|
7116
7139
|
return n;
|
|
@@ -7134,16 +7157,16 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7134
7157
|
}, u = t.map(function(s) {
|
|
7135
7158
|
return s(i);
|
|
7136
7159
|
});
|
|
7137
|
-
return a =
|
|
7160
|
+
return a = Jr.apply(void 0, u)(o.dispatch), ji(ji({}, o), {}, { dispatch: a });
|
|
7138
7161
|
};
|
|
7139
7162
|
};
|
|
7140
7163
|
}
|
|
7141
|
-
var
|
|
7164
|
+
var Yr = "NOT_FOUND";
|
|
7142
7165
|
function Rf(e) {
|
|
7143
7166
|
var t;
|
|
7144
7167
|
return {
|
|
7145
7168
|
get: function(n) {
|
|
7146
|
-
return t && e(t.key, n) ? t.value :
|
|
7169
|
+
return t && e(t.key, n) ? t.value : Yr;
|
|
7147
7170
|
},
|
|
7148
7171
|
put: function(n, o) {
|
|
7149
7172
|
t = {
|
|
@@ -7169,10 +7192,10 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7169
7192
|
var l = r[s];
|
|
7170
7193
|
return s > 0 && (r.splice(s, 1), r.unshift(l)), l.value;
|
|
7171
7194
|
}
|
|
7172
|
-
return
|
|
7195
|
+
return Yr;
|
|
7173
7196
|
}
|
|
7174
7197
|
function o(u, s) {
|
|
7175
|
-
n(u) ===
|
|
7198
|
+
n(u) === Yr && (r.unshift({
|
|
7176
7199
|
key: u,
|
|
7177
7200
|
value: s
|
|
7178
7201
|
}), r.length > e && r.pop());
|
|
@@ -7200,11 +7223,11 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7200
7223
|
return !0;
|
|
7201
7224
|
};
|
|
7202
7225
|
}
|
|
7203
|
-
function
|
|
7226
|
+
function bo(e, t) {
|
|
7204
7227
|
var r = typeof t == "object" ? t : { equalityCheck: t }, n = r.equalityCheck, o = n === void 0 ? Lf : n, a = r.maxSize, i = a === void 0 ? 1 : a, u = r.resultEqualityCheck, s = kf(o), l = i === 1 ? Rf(s) : Mf(i, s);
|
|
7205
7228
|
function f() {
|
|
7206
7229
|
var d = l.get(arguments);
|
|
7207
|
-
if (d ===
|
|
7230
|
+
if (d === Yr) {
|
|
7208
7231
|
if (d = e.apply(null, arguments), u) {
|
|
7209
7232
|
var p = l.getEntries().find(function(m) {
|
|
7210
7233
|
return u(m.value, d);
|
|
@@ -7259,7 +7282,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7259
7282
|
}), S;
|
|
7260
7283
|
};
|
|
7261
7284
|
}
|
|
7262
|
-
var Dt = xf(
|
|
7285
|
+
var Dt = xf(bo);
|
|
7263
7286
|
function Di(e) {
|
|
7264
7287
|
return function(r) {
|
|
7265
7288
|
var n = r.dispatch, o = r.getState;
|
|
@@ -7270,8 +7293,8 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7270
7293
|
};
|
|
7271
7294
|
};
|
|
7272
7295
|
}
|
|
7273
|
-
var
|
|
7274
|
-
|
|
7296
|
+
var Eo = Di();
|
|
7297
|
+
Eo.withExtraArgument = Di;
|
|
7275
7298
|
var qi = (function() {
|
|
7276
7299
|
var e = function(t, r) {
|
|
7277
7300
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, o) {
|
|
@@ -7378,7 +7401,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7378
7401
|
Hf.call(t, r) && Mi(e, r, t[r]);
|
|
7379
7402
|
}
|
|
7380
7403
|
return e;
|
|
7381
|
-
},
|
|
7404
|
+
}, wo = function(e, t) {
|
|
7382
7405
|
return Bf(e, Ff(t));
|
|
7383
7406
|
}, Vf = function(e, t, r) {
|
|
7384
7407
|
return new Promise(function(n, o) {
|
|
@@ -7400,7 +7423,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7400
7423
|
u((r = r.apply(e, t)).next());
|
|
7401
7424
|
});
|
|
7402
7425
|
}, Qf = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
|
|
7403
|
-
if (arguments.length !== 0) return typeof arguments[0] == "object" ?
|
|
7426
|
+
if (arguments.length !== 0) return typeof arguments[0] == "object" ? Jr : Jr.apply(null, arguments);
|
|
7404
7427
|
};
|
|
7405
7428
|
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
|
|
7406
7429
|
function nt(e) {
|
|
@@ -7476,7 +7499,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7476
7499
|
return r.length === 1 && Array.isArray(r[0]) ? new (t.bind.apply(t, qt([void 0], r[0].concat(this))))() : new (t.bind.apply(t, qt([void 0], r.concat(this))))();
|
|
7477
7500
|
}, t;
|
|
7478
7501
|
})(Array);
|
|
7479
|
-
function
|
|
7502
|
+
function To(e) {
|
|
7480
7503
|
return Le(e) ? sr(e, function() {}) : e;
|
|
7481
7504
|
}
|
|
7482
7505
|
function Xf(e) {
|
|
@@ -7492,21 +7515,21 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7492
7515
|
var t = e.thunk, r = t === void 0 ? !0 : t;
|
|
7493
7516
|
e.immutableCheck, e.serializableCheck, e.actionCreatorCheck;
|
|
7494
7517
|
var n = new Kf();
|
|
7495
|
-
return r && (Xf(r) ? n.push(
|
|
7518
|
+
return r && (Xf(r) ? n.push(Eo) : n.push(Eo.withExtraArgument(r.extraArgument))), n;
|
|
7496
7519
|
}
|
|
7497
|
-
var
|
|
7520
|
+
var So = !0;
|
|
7498
7521
|
function Zf(e) {
|
|
7499
7522
|
var t = Jf(), r = e || {}, n = r.reducer, o = n === void 0 ? void 0 : n, a = r.middleware, i = a === void 0 ? t() : a, u = r.devTools, s = u === void 0 ? !0 : u, l = r.preloadedState, f = l === void 0 ? void 0 : l, d = r.enhancers, p = d === void 0 ? void 0 : d, m;
|
|
7500
7523
|
if (typeof o == "function") m = o;
|
|
7501
|
-
else if (nt(o)) m =
|
|
7524
|
+
else if (nt(o)) m = _o(o);
|
|
7502
7525
|
else throw new Error("\"reducer\" is a required argument, and must be a function or an object of functions that can be passed to combineReducers");
|
|
7503
7526
|
var g = i;
|
|
7504
|
-
if (typeof g == "function" && (g = g(t), !
|
|
7505
|
-
if (!
|
|
7527
|
+
if (typeof g == "function" && (g = g(t), !So && !Array.isArray(g))) throw new Error("when using a middleware builder function, an array of middleware must be returned");
|
|
7528
|
+
if (!So && g.some(function(y) {
|
|
7506
7529
|
return typeof y != "function";
|
|
7507
7530
|
})) throw new Error("each middleware provided to configureStore must be a function");
|
|
7508
|
-
var _ = qf.apply(void 0, g), b =
|
|
7509
|
-
s && (b = Qf(rt({ trace: !
|
|
7531
|
+
var _ = qf.apply(void 0, g), b = Jr;
|
|
7532
|
+
s && (b = Qf(rt({ trace: !So }, typeof s == "object" && s)));
|
|
7510
7533
|
var S = new Wf(_), w = S;
|
|
7511
7534
|
Array.isArray(p) ? w = qt([_], p) : typeof p == "function" && (w = p(S));
|
|
7512
7535
|
var O = b.apply(void 0, w);
|
|
@@ -7547,10 +7570,10 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7547
7570
|
n
|
|
7548
7571
|
], a = o[0], i = o[1], u = o[2], s;
|
|
7549
7572
|
if (ep(e)) s = function() {
|
|
7550
|
-
return
|
|
7573
|
+
return To(e());
|
|
7551
7574
|
};
|
|
7552
7575
|
else {
|
|
7553
|
-
var l =
|
|
7576
|
+
var l = To(e);
|
|
7554
7577
|
s = function() {
|
|
7555
7578
|
return l;
|
|
7556
7579
|
};
|
|
@@ -7591,7 +7614,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7591
7614
|
function Pe(e) {
|
|
7592
7615
|
var t = e.name;
|
|
7593
7616
|
if (!t) throw new Error("`name` is a required option for createSlice");
|
|
7594
|
-
var r = typeof e.initialState == "function" ? e.initialState :
|
|
7617
|
+
var r = typeof e.initialState == "function" ? e.initialState : To(e.initialState), n = e.reducers || {}, o = Object.keys(n), a = {}, i = {}, u = {};
|
|
7595
7618
|
o.forEach(function(f) {
|
|
7596
7619
|
var d = n[f], p = rp(t, f), m, g;
|
|
7597
7620
|
"reducer" in d ? (m = d.reducer, g = d.prepare) : m = d, a[f] = m, i[p] = m, u[f] = g ? Ee(p, g) : Ee(p);
|
|
@@ -7629,7 +7652,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7629
7652
|
"message",
|
|
7630
7653
|
"stack",
|
|
7631
7654
|
"code"
|
|
7632
|
-
],
|
|
7655
|
+
], Po = (function() {
|
|
7633
7656
|
function e(t, r) {
|
|
7634
7657
|
this.payload = t, this.meta = r;
|
|
7635
7658
|
}
|
|
@@ -7648,12 +7671,12 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7648
7671
|
return t;
|
|
7649
7672
|
}
|
|
7650
7673
|
return { message: String(e) };
|
|
7651
|
-
},
|
|
7674
|
+
}, Zr = (function() {
|
|
7652
7675
|
function e(t, r, n) {
|
|
7653
7676
|
var o = Ee(t + "/fulfilled", function(l, f, d, p) {
|
|
7654
7677
|
return {
|
|
7655
7678
|
payload: l,
|
|
7656
|
-
meta:
|
|
7679
|
+
meta: wo(rt({}, p || {}), {
|
|
7657
7680
|
arg: d,
|
|
7658
7681
|
requestId: f,
|
|
7659
7682
|
requestStatus: "fulfilled"
|
|
@@ -7662,7 +7685,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7662
7685
|
}), a = Ee(t + "/pending", function(l, f, d) {
|
|
7663
7686
|
return {
|
|
7664
7687
|
payload: void 0,
|
|
7665
|
-
meta:
|
|
7688
|
+
meta: wo(rt({}, d || {}), {
|
|
7666
7689
|
arg: f,
|
|
7667
7690
|
requestId: l,
|
|
7668
7691
|
requestStatus: "pending"
|
|
@@ -7672,7 +7695,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7672
7695
|
return {
|
|
7673
7696
|
payload: p,
|
|
7674
7697
|
error: (n && n.serializeError || ap)(l || "Rejected"),
|
|
7675
|
-
meta:
|
|
7698
|
+
meta: wo(rt({}, m || {}), {
|
|
7676
7699
|
arg: d,
|
|
7677
7700
|
requestId: f,
|
|
7678
7701
|
rejectedWithValue: !!p,
|
|
@@ -7744,17 +7767,17 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7744
7767
|
signal: g.signal,
|
|
7745
7768
|
abort: b,
|
|
7746
7769
|
rejectWithValue: function(j, D) {
|
|
7747
|
-
return new
|
|
7770
|
+
return new Po(j, D);
|
|
7748
7771
|
},
|
|
7749
7772
|
fulfillWithValue: function(j, D) {
|
|
7750
7773
|
return new Ni(j, D);
|
|
7751
7774
|
}
|
|
7752
7775
|
})).then(function(j) {
|
|
7753
|
-
if (j instanceof
|
|
7776
|
+
if (j instanceof Po) throw j;
|
|
7754
7777
|
return j instanceof Ni ? o(j.payload, m, l, j.meta) : o(j, m, l);
|
|
7755
7778
|
})])];
|
|
7756
7779
|
case 3: return y = C.sent(), [3, 5];
|
|
7757
|
-
case 4: return A = C.sent(), y = A instanceof
|
|
7780
|
+
case 4: return A = C.sent(), y = A instanceof Po ? i(null, m, l, A.payload, A.meta) : i(A, m, l), [3, 5];
|
|
7758
7781
|
case 5: return P = n && !n.dispatchConditionRejection && i.match(y) && y.meta.condition, P || f(y), [2, y];
|
|
7759
7782
|
}
|
|
7760
7783
|
});
|
|
@@ -7808,7 +7831,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7808
7831
|
});
|
|
7809
7832
|
};
|
|
7810
7833
|
}
|
|
7811
|
-
function
|
|
7834
|
+
function en(e, t) {
|
|
7812
7835
|
if (!e || !e.meta) return !1;
|
|
7813
7836
|
var r = typeof e.meta.requestId == "string", n = t.indexOf(e.meta.requestStatus) > -1;
|
|
7814
7837
|
return r && n;
|
|
@@ -7816,21 +7839,21 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7816
7839
|
function lr(e) {
|
|
7817
7840
|
return typeof e[0] == "function" && "pending" in e[0] && "fulfilled" in e[0] && "rejected" in e[0];
|
|
7818
7841
|
}
|
|
7819
|
-
function
|
|
7842
|
+
function Oo() {
|
|
7820
7843
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
7821
7844
|
return e.length === 0 ? function(r) {
|
|
7822
|
-
return
|
|
7845
|
+
return en(r, ["pending"]);
|
|
7823
7846
|
} : lr(e) ? function(r) {
|
|
7824
7847
|
var n = e.map(function(o) {
|
|
7825
7848
|
return o.pending;
|
|
7826
7849
|
});
|
|
7827
7850
|
return Rt.apply(void 0, n)(r);
|
|
7828
|
-
} :
|
|
7851
|
+
} : Oo()(e[0]);
|
|
7829
7852
|
}
|
|
7830
7853
|
function cr() {
|
|
7831
7854
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
7832
7855
|
return e.length === 0 ? function(r) {
|
|
7833
|
-
return
|
|
7856
|
+
return en(r, ["rejected"]);
|
|
7834
7857
|
} : lr(e) ? function(r) {
|
|
7835
7858
|
var n = e.map(function(o) {
|
|
7836
7859
|
return o.rejected;
|
|
@@ -7838,7 +7861,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7838
7861
|
return Rt.apply(void 0, n)(r);
|
|
7839
7862
|
} : cr()(e[0]);
|
|
7840
7863
|
}
|
|
7841
|
-
function
|
|
7864
|
+
function tn() {
|
|
7842
7865
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
7843
7866
|
var r = function(n) {
|
|
7844
7867
|
return n && n.meta && n.meta.rejectedWithValue;
|
|
@@ -7847,12 +7870,12 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7847
7870
|
return ur(cr.apply(void 0, e), r)(n);
|
|
7848
7871
|
} : lr(e) ? function(n) {
|
|
7849
7872
|
return ur(cr.apply(void 0, e), r)(n);
|
|
7850
|
-
} :
|
|
7873
|
+
} : tn()(e[0]);
|
|
7851
7874
|
}
|
|
7852
7875
|
function yt() {
|
|
7853
7876
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
7854
7877
|
return e.length === 0 ? function(r) {
|
|
7855
|
-
return
|
|
7878
|
+
return en(r, ["fulfilled"]);
|
|
7856
7879
|
} : lr(e) ? function(r) {
|
|
7857
7880
|
var n = e.map(function(o) {
|
|
7858
7881
|
return o.fulfilled;
|
|
@@ -7860,10 +7883,10 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7860
7883
|
return Rt.apply(void 0, n)(r);
|
|
7861
7884
|
} : yt()(e[0]);
|
|
7862
7885
|
}
|
|
7863
|
-
function
|
|
7886
|
+
function Ao() {
|
|
7864
7887
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
7865
7888
|
return e.length === 0 ? function(r) {
|
|
7866
|
-
return
|
|
7889
|
+
return en(r, [
|
|
7867
7890
|
"pending",
|
|
7868
7891
|
"fulfilled",
|
|
7869
7892
|
"rejected"
|
|
@@ -7874,17 +7897,17 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7874
7897
|
n.push(i.pending, i.rejected, i.fulfilled);
|
|
7875
7898
|
}
|
|
7876
7899
|
return Rt.apply(void 0, n)(r);
|
|
7877
|
-
} :
|
|
7900
|
+
} : Ao()(e[0]);
|
|
7878
7901
|
}
|
|
7879
7902
|
var Gi = "listener", $i = "completed", Bi = "cancelled";
|
|
7880
7903
|
"" + Bi;
|
|
7881
7904
|
"" + $i;
|
|
7882
7905
|
Gi + "" + Bi;
|
|
7883
7906
|
Gi + "" + $i;
|
|
7884
|
-
var
|
|
7885
|
-
Ee(
|
|
7886
|
-
Ee(
|
|
7887
|
-
Ee(
|
|
7907
|
+
var jo = "listenerMiddleware";
|
|
7908
|
+
Ee(jo + "/add");
|
|
7909
|
+
Ee(jo + "/removeAll");
|
|
7910
|
+
Ee(jo + "/remove");
|
|
7888
7911
|
var dr = "RTK_autoBatch", fr = function() {
|
|
7889
7912
|
return function(e) {
|
|
7890
7913
|
var t;
|
|
@@ -7897,7 +7920,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7897
7920
|
typeof queueMicrotask == "function" && queueMicrotask.bind(typeof window < "u" ? window : typeof me._polyfill_node_global_default < "u" ? me._polyfill_node_global_default : globalThis);
|
|
7898
7921
|
typeof window < "u" && window.requestAnimationFrame && window.requestAnimationFrame;
|
|
7899
7922
|
Ef(), me.init__polyfill_node_global();
|
|
7900
|
-
var
|
|
7923
|
+
var rn = function(e, t) {
|
|
7901
7924
|
var r = {
|
|
7902
7925
|
label: 0,
|
|
7903
7926
|
sent: function() {
|
|
@@ -7970,10 +7993,10 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7970
7993
|
done: !0
|
|
7971
7994
|
};
|
|
7972
7995
|
}
|
|
7973
|
-
},
|
|
7996
|
+
}, nn = function(e, t) {
|
|
7974
7997
|
for (var r = 0, n = t.length, o = e.length; r < n; r++, o++) e[o] = t[r];
|
|
7975
7998
|
return e;
|
|
7976
|
-
}, lp = Object.defineProperty, cp = Object.defineProperties, dp = Object.getOwnPropertyDescriptors,
|
|
7999
|
+
}, lp = Object.defineProperty, cp = Object.defineProperties, dp = Object.getOwnPropertyDescriptors, on = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Vi = function(e, t, r) {
|
|
7977
8000
|
return t in e ? lp(e, t, {
|
|
7978
8001
|
enumerable: !0,
|
|
7979
8002
|
configurable: !0,
|
|
@@ -7982,7 +8005,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7982
8005
|
}) : e[t] = r;
|
|
7983
8006
|
}, ae = function(e, t) {
|
|
7984
8007
|
for (var r in t || (t = {})) Ui.call(t, r) && Vi(e, r, t[r]);
|
|
7985
|
-
if (
|
|
8008
|
+
if (on) for (var n = 0, o = on(t); n < o.length; n++) {
|
|
7986
8009
|
var r = o[n];
|
|
7987
8010
|
Hi.call(t, r) && Vi(e, r, t[r]);
|
|
7988
8011
|
}
|
|
@@ -7992,12 +8015,12 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
7992
8015
|
}, Qi = function(e, t) {
|
|
7993
8016
|
var r = {};
|
|
7994
8017
|
for (var n in e) Ui.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
7995
|
-
if (e != null &&
|
|
8018
|
+
if (e != null && on) for (var o = 0, a = on(e); o < a.length; o++) {
|
|
7996
8019
|
var n = a[o];
|
|
7997
8020
|
t.indexOf(n) < 0 && Hi.call(e, n) && (r[n] = e[n]);
|
|
7998
8021
|
}
|
|
7999
8022
|
return r;
|
|
8000
|
-
},
|
|
8023
|
+
}, an = function(e, t, r) {
|
|
8001
8024
|
return new Promise(function(n, o) {
|
|
8002
8025
|
var a = function(s) {
|
|
8003
8026
|
try {
|
|
@@ -8096,9 +8119,9 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8096
8119
|
"validateStatus"
|
|
8097
8120
|
]);
|
|
8098
8121
|
return function(O, y) {
|
|
8099
|
-
return
|
|
8100
|
-
var E, v, A, P, C, j, D, R, L, N, x, H, V, F, U, z, ee, Q, Z, J, K, ve, Ge, ie, Te, De, Ce, qe, Cr, Ir, Dr, xt, Gt, qr, Rr,
|
|
8101
|
-
return
|
|
8122
|
+
return an(t, null, function() {
|
|
8123
|
+
var E, v, A, P, C, j, D, R, L, N, x, H, V, F, U, z, ee, Q, Z, J, K, ve, Ge, ie, Te, De, Ce, qe, Cr, Ir, Dr, xt, Gt, qr, Rr, Dn;
|
|
8124
|
+
return rn(this, function(Re) {
|
|
8102
8125
|
switch (Re.label) {
|
|
8103
8126
|
case 0: return E = y.signal, v = y.getState, A = y.extra, P = y.endpoint, C = y.forced, j = y.type, R = typeof O == "string" ? { url: O } : O, L = R.url, N = R.headers, x = N === void 0 ? new Headers(S.headers) : N, H = R.params, V = H === void 0 ? void 0 : H, F = R.responseHandler, U = F === void 0 ? _ ?? "json" : F, z = R.validateStatus, ee = z === void 0 ? b ?? _p : z, Q = R.timeout, Z = Q === void 0 ? g : Q, J = Qi(R, [
|
|
8104
8127
|
"url",
|
|
@@ -8150,12 +8173,12 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8150
8173
|
case 8:
|
|
8151
8174
|
if (Re.sent(), Rr) throw Rr;
|
|
8152
8175
|
return [3, 10];
|
|
8153
|
-
case 9: return
|
|
8176
|
+
case 9: return Dn = Re.sent(), [2, {
|
|
8154
8177
|
error: {
|
|
8155
8178
|
status: "PARSING_ERROR",
|
|
8156
8179
|
originalStatus: qe.status,
|
|
8157
8180
|
data: qr,
|
|
8158
|
-
error: String(
|
|
8181
|
+
error: String(Dn)
|
|
8159
8182
|
},
|
|
8160
8183
|
meta: D
|
|
8161
8184
|
}];
|
|
@@ -8174,9 +8197,9 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8174
8197
|
});
|
|
8175
8198
|
};
|
|
8176
8199
|
function w(O, y) {
|
|
8177
|
-
return
|
|
8200
|
+
return an(this, null, function() {
|
|
8178
8201
|
var E;
|
|
8179
|
-
return
|
|
8202
|
+
return rn(this, function(v) {
|
|
8180
8203
|
switch (v.label) {
|
|
8181
8204
|
case 0: return typeof y == "function" ? [2, y(O)] : (y === "content-type" && (y = f(O.headers) ? "json" : "text"), y !== "json" ? [3, 2] : [4, O.text()]);
|
|
8182
8205
|
case 1: return E = v.sent(), [2, E.length ? JSON.parse(E) : null];
|
|
@@ -8191,30 +8214,30 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8191
8214
|
r === void 0 && (r = void 0), this.value = t, this.meta = r;
|
|
8192
8215
|
}
|
|
8193
8216
|
return e;
|
|
8194
|
-
})(), pr = Ee("__rtkq/focused"),
|
|
8217
|
+
})(), pr = Ee("__rtkq/focused"), sn = Ee("__rtkq/unfocused"), mr = Ee("__rtkq/online"), un = Ee("__rtkq/offline"), Co = !1;
|
|
8195
8218
|
function Ep(e, t) {
|
|
8196
8219
|
function r() {
|
|
8197
8220
|
var n = function() {
|
|
8198
8221
|
return e(pr());
|
|
8199
8222
|
}, o = function() {
|
|
8200
|
-
return e(
|
|
8223
|
+
return e(sn());
|
|
8201
8224
|
}, a = function() {
|
|
8202
8225
|
return e(mr());
|
|
8203
8226
|
}, i = function() {
|
|
8204
|
-
return e(
|
|
8227
|
+
return e(un());
|
|
8205
8228
|
}, u = function() {
|
|
8206
8229
|
window.document.visibilityState === "visible" ? n() : o();
|
|
8207
8230
|
};
|
|
8208
|
-
|
|
8231
|
+
Co || typeof window < "u" && window.addEventListener && (window.addEventListener("visibilitychange", u, !1), window.addEventListener("focus", n, !1), window.addEventListener("online", a, !1), window.addEventListener("offline", i, !1), Co = !0);
|
|
8209
8232
|
var s = function() {
|
|
8210
|
-
window.removeEventListener("focus", n), window.removeEventListener("visibilitychange", u), window.removeEventListener("online", a), window.removeEventListener("offline", i),
|
|
8233
|
+
window.removeEventListener("focus", n), window.removeEventListener("visibilitychange", u), window.removeEventListener("online", a), window.removeEventListener("offline", i), Co = !1;
|
|
8211
8234
|
};
|
|
8212
8235
|
return s;
|
|
8213
8236
|
}
|
|
8214
8237
|
return t ? t(e, {
|
|
8215
8238
|
onFocus: pr,
|
|
8216
|
-
onFocusLost:
|
|
8217
|
-
onOffline:
|
|
8239
|
+
onFocusLost: sn,
|
|
8240
|
+
onOffline: un,
|
|
8218
8241
|
onOnline: mr
|
|
8219
8242
|
}) : r();
|
|
8220
8243
|
}
|
|
@@ -8228,19 +8251,19 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8228
8251
|
function wp(e) {
|
|
8229
8252
|
return e.type === Ue.mutation;
|
|
8230
8253
|
}
|
|
8231
|
-
function
|
|
8232
|
-
return Tp(e) ? e(t, r, n, o).map(
|
|
8254
|
+
function Io(e, t, r, n, o, a) {
|
|
8255
|
+
return Tp(e) ? e(t, r, n, o).map(Do).map(a) : Array.isArray(e) ? e.map(Do).map(a) : [];
|
|
8233
8256
|
}
|
|
8234
8257
|
function Tp(e) {
|
|
8235
8258
|
return typeof e == "function";
|
|
8236
8259
|
}
|
|
8237
|
-
function
|
|
8260
|
+
function Do(e) {
|
|
8238
8261
|
return typeof e == "string" ? { type: e } : e;
|
|
8239
8262
|
}
|
|
8240
|
-
function
|
|
8263
|
+
function qo(e) {
|
|
8241
8264
|
return e != null;
|
|
8242
8265
|
}
|
|
8243
|
-
var hr = Symbol("forceQueryFn"),
|
|
8266
|
+
var hr = Symbol("forceQueryFn"), Ro = function(e) {
|
|
8244
8267
|
return typeof e[hr] == "function";
|
|
8245
8268
|
};
|
|
8246
8269
|
function Sp(e) {
|
|
@@ -8266,7 +8289,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8266
8289
|
return v ? Object.values(v) : [];
|
|
8267
8290
|
});
|
|
8268
8291
|
};
|
|
8269
|
-
return
|
|
8292
|
+
return nn(nn([], y(i)), y(u)).filter(qo);
|
|
8270
8293
|
}
|
|
8271
8294
|
function g(y, E) {
|
|
8272
8295
|
return function(v) {
|
|
@@ -8286,12 +8309,12 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8286
8309
|
}
|
|
8287
8310
|
function b() {
|
|
8288
8311
|
return function(y) {
|
|
8289
|
-
return Object.values(i.get(y) || {}).filter(
|
|
8312
|
+
return Object.values(i.get(y) || {}).filter(qo);
|
|
8290
8313
|
};
|
|
8291
8314
|
}
|
|
8292
8315
|
function S() {
|
|
8293
8316
|
return function(y) {
|
|
8294
|
-
return Object.values(u.get(y) || {}).filter(
|
|
8317
|
+
return Object.values(u.get(y) || {}).filter(qo);
|
|
8295
8318
|
};
|
|
8296
8319
|
}
|
|
8297
8320
|
function w(y, E) {
|
|
@@ -8319,9 +8342,9 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8319
8342
|
queryCacheKey: U,
|
|
8320
8343
|
abort: K,
|
|
8321
8344
|
unwrap: function() {
|
|
8322
|
-
return
|
|
8345
|
+
return an(this, null, function() {
|
|
8323
8346
|
var Ce;
|
|
8324
|
-
return
|
|
8347
|
+
return rn(this, function(qe) {
|
|
8325
8348
|
switch (qe.label) {
|
|
8326
8349
|
case 0: return [4, Te];
|
|
8327
8350
|
case 1:
|
|
@@ -8414,7 +8437,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8414
8437
|
queryCacheKey: D,
|
|
8415
8438
|
patches: v
|
|
8416
8439
|
})), !!A) {
|
|
8417
|
-
var R = i.endpoints[y].select(E)(C()), L =
|
|
8440
|
+
var R = i.endpoints[y].select(E)(C()), L = Io(j.providesTags, R.data, void 0, E, {}, u);
|
|
8418
8441
|
P(i.internalActions.updateProvidedBy({
|
|
8419
8442
|
queryCacheKey: D,
|
|
8420
8443
|
providedTags: L
|
|
@@ -8457,9 +8480,9 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8457
8480
|
}, P)));
|
|
8458
8481
|
};
|
|
8459
8482
|
}, d = function(y, E) {
|
|
8460
|
-
return
|
|
8483
|
+
return an(t, [y, E], function(v, A) {
|
|
8461
8484
|
var P, C, j, D, R, L, N, x, H, V, F, U, z, ee = A.signal, Q = A.abort, Z = A.rejectWithValue, J = A.fulfillWithValue, K = A.dispatch, ve = A.getState, Ge = A.extra;
|
|
8462
|
-
return
|
|
8485
|
+
return rn(this, function(ie) {
|
|
8463
8486
|
switch (ie.label) {
|
|
8464
8487
|
case 0: P = o[v.endpointName], ie.label = 1;
|
|
8465
8488
|
case 1: return ie.trys.push([
|
|
@@ -8511,14 +8534,14 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8511
8534
|
var v, A, P, C, j = (A = (v = E[r]) == null ? void 0 : v.queries) == null ? void 0 : A[y.queryCacheKey], D = (P = E[r]) == null ? void 0 : P.config.refetchOnMountOrArgChange, R = j?.fulfilledTimeStamp, L = (C = y.forceRefetch) != null ? C : y.subscribe && D;
|
|
8512
8535
|
return L ? L === !0 || (Number(new Date()) - Number(R)) / 1e3 >= L : !1;
|
|
8513
8536
|
}
|
|
8514
|
-
var m =
|
|
8537
|
+
var m = Zr(r + "/executeQuery", d, {
|
|
8515
8538
|
getPendingMeta: function() {
|
|
8516
8539
|
var y;
|
|
8517
8540
|
return y = { startedTimeStamp: Date.now() }, y[dr] = !0, y;
|
|
8518
8541
|
},
|
|
8519
8542
|
condition: function(y, E) {
|
|
8520
8543
|
var v = E.getState, A, P, C, j = v(), D = (P = (A = j[r]) == null ? void 0 : A.queries) == null ? void 0 : P[y.queryCacheKey], R = D?.fulfilledTimeStamp, L = y.originalArgs, N = D?.originalArgs, x = o[y.endpointName];
|
|
8521
|
-
return
|
|
8544
|
+
return Ro(y) ? !0 : D?.status === "pending" ? !1 : p(y, j) || es(x) && (C = x?.forceRefetch) != null && C.call(x, {
|
|
8522
8545
|
currentArg: L,
|
|
8523
8546
|
previousArg: N,
|
|
8524
8547
|
endpointState: D,
|
|
@@ -8526,7 +8549,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8526
8549
|
}) ? !0 : !R;
|
|
8527
8550
|
},
|
|
8528
8551
|
dispatchConditionRejection: !0
|
|
8529
|
-
}), g =
|
|
8552
|
+
}), g = Zr(r + "/executeMutation", d, { getPendingMeta: function() {
|
|
8530
8553
|
var y;
|
|
8531
8554
|
return y = { startedTimeStamp: Date.now() }, y[dr] = !0, y;
|
|
8532
8555
|
} }), _ = function(y) {
|
|
@@ -8557,7 +8580,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8557
8580
|
}
|
|
8558
8581
|
function O(y, E) {
|
|
8559
8582
|
return {
|
|
8560
|
-
matchPending: ur(
|
|
8583
|
+
matchPending: ur(Oo(y), w(E)),
|
|
8561
8584
|
matchFulfilled: ur(yt(y), w(E)),
|
|
8562
8585
|
matchRejected: ur(cr(y), w(E))
|
|
8563
8586
|
};
|
|
@@ -8573,9 +8596,9 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8573
8596
|
};
|
|
8574
8597
|
}
|
|
8575
8598
|
function rs(e, t, r, n) {
|
|
8576
|
-
return
|
|
8599
|
+
return Io(r[e.meta.arg.endpointName][t], yt(e) ? e.payload : void 0, tn(e) ? e.payload : void 0, e.meta.arg.originalArgs, "baseQueryMeta" in e.meta ? e.meta.baseQueryMeta : void 0, n);
|
|
8577
8600
|
}
|
|
8578
|
-
function
|
|
8601
|
+
function ln(e, t, r) {
|
|
8579
8602
|
var n = e[t];
|
|
8580
8603
|
n && r(n);
|
|
8581
8604
|
}
|
|
@@ -8603,7 +8626,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8603
8626
|
queryResultPatched: {
|
|
8604
8627
|
reducer: function(y, E) {
|
|
8605
8628
|
var v = E.payload, A = v.queryCacheKey, P = v.patches;
|
|
8606
|
-
|
|
8629
|
+
ln(y, A, function(C) {
|
|
8607
8630
|
C.data = Oi(C.data, P.concat());
|
|
8608
8631
|
});
|
|
8609
8632
|
},
|
|
@@ -8612,18 +8635,18 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8612
8635
|
},
|
|
8613
8636
|
extraReducers: function(y) {
|
|
8614
8637
|
y.addCase(r.pending, function(E, v) {
|
|
8615
|
-
var A = v.meta, P = v.meta.arg, C, j =
|
|
8638
|
+
var A = v.meta, P = v.meta.arg, C, j = Ro(P);
|
|
8616
8639
|
(P.subscribe || j) && (E[C = P.queryCacheKey] ?? (E[C] = {
|
|
8617
8640
|
status: oe.uninitialized,
|
|
8618
8641
|
endpointName: P.endpointName
|
|
8619
|
-
})),
|
|
8642
|
+
})), ln(E, P.queryCacheKey, function(D) {
|
|
8620
8643
|
D.status = oe.pending, D.requestId = j && D.requestId ? D.requestId : A.requestId, P.originalArgs !== void 0 && (D.originalArgs = P.originalArgs), D.startedTimeStamp = A.startedTimeStamp;
|
|
8621
8644
|
});
|
|
8622
8645
|
}).addCase(r.fulfilled, function(E, v) {
|
|
8623
8646
|
var A = v.meta, P = v.payload;
|
|
8624
|
-
|
|
8647
|
+
ln(E, A.arg.queryCacheKey, function(C) {
|
|
8625
8648
|
var j;
|
|
8626
|
-
if (!(C.requestId !== A.requestId && !
|
|
8649
|
+
if (!(C.requestId !== A.requestId && !Ro(A.arg))) {
|
|
8627
8650
|
var D = a[A.arg.endpointName].merge;
|
|
8628
8651
|
if (C.status = oe.fulfilled, D) if (C.data !== void 0) {
|
|
8629
8652
|
var R = A.fulfilledTimeStamp, L = A.arg, N = A.baseQueryMeta, x = A.requestId;
|
|
@@ -8642,7 +8665,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8642
8665
|
});
|
|
8643
8666
|
}).addCase(r.rejected, function(E, v) {
|
|
8644
8667
|
var A = v.meta, P = A.condition, C = A.arg, j = A.requestId, D = v.error, R = v.payload;
|
|
8645
|
-
|
|
8668
|
+
ln(E, C.queryCacheKey, function(L) {
|
|
8646
8669
|
if (!P) {
|
|
8647
8670
|
if (L.requestId !== j) return;
|
|
8648
8671
|
L.status = oe.rejected, L.error = R ?? D;
|
|
@@ -8718,7 +8741,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8718
8741
|
var K = J[Z];
|
|
8719
8742
|
Q.includes(K) || Q.push(K);
|
|
8720
8743
|
}
|
|
8721
|
-
}).addMatcher(Rt(yt(r),
|
|
8744
|
+
}).addMatcher(Rt(yt(r), tn(r)), function(E, v) {
|
|
8722
8745
|
var A = rs(v, "providesTags", a, l), P = v.meta.arg.queryCacheKey;
|
|
8723
8746
|
g.caseReducers.updateProvidedBy(E, g.actions.updateProvidedBy({
|
|
8724
8747
|
queryCacheKey: P,
|
|
@@ -8757,17 +8780,17 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8757
8780
|
extraReducers: function(y) {
|
|
8758
8781
|
y.addCase(mr, function(E) {
|
|
8759
8782
|
E.online = !0;
|
|
8760
|
-
}).addCase(
|
|
8783
|
+
}).addCase(un, function(E) {
|
|
8761
8784
|
E.online = !1;
|
|
8762
8785
|
}).addCase(pr, function(E) {
|
|
8763
8786
|
E.focused = !0;
|
|
8764
|
-
}).addCase(
|
|
8787
|
+
}).addCase(sn, function(E) {
|
|
8765
8788
|
E.focused = !1;
|
|
8766
8789
|
}).addMatcher(s, function(E) {
|
|
8767
8790
|
return ae({}, E);
|
|
8768
8791
|
});
|
|
8769
8792
|
}
|
|
8770
|
-
}), w =
|
|
8793
|
+
}), w = _o({
|
|
8771
8794
|
queries: p.reducer,
|
|
8772
8795
|
mutations: m.reducer,
|
|
8773
8796
|
provided: g.reducer,
|
|
@@ -8827,7 +8850,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8827
8850
|
};
|
|
8828
8851
|
}
|
|
8829
8852
|
function l(f, d) {
|
|
8830
|
-
for (var p, m = f[r], g = new Set(), _ = 0, b = d.map(
|
|
8853
|
+
for (var p, m = f[r], g = new Set(), _ = 0, b = d.map(Do); _ < b.length; _++) {
|
|
8831
8854
|
var S = b[_], w = m.provided[S.type];
|
|
8832
8855
|
if (w) for (var O = (p = S.id !== void 0 ? w[S.id] : zi(Object.values(w))) != null ? p : [], y = 0, E = O; y < E.length; y++) {
|
|
8833
8856
|
var v = E[y];
|
|
@@ -8844,8 +8867,8 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8844
8867
|
}));
|
|
8845
8868
|
}
|
|
8846
8869
|
}
|
|
8847
|
-
var
|
|
8848
|
-
var t = e.endpointName, r = e.queryArgs, n = "", o =
|
|
8870
|
+
var Mo = WeakMap ? new WeakMap() : void 0, ss = function(e) {
|
|
8871
|
+
var t = e.endpointName, r = e.queryArgs, n = "", o = Mo?.get(r);
|
|
8849
8872
|
if (typeof o == "string") n = o;
|
|
8850
8873
|
else {
|
|
8851
8874
|
var a = JSON.stringify(r, function(i, u) {
|
|
@@ -8853,14 +8876,14 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8853
8876
|
return s[l] = u[l], s;
|
|
8854
8877
|
}, {}) : u;
|
|
8855
8878
|
});
|
|
8856
|
-
nt(r) &&
|
|
8879
|
+
nt(r) && Mo?.set(r, a), n = a;
|
|
8857
8880
|
}
|
|
8858
8881
|
return t + "(" + n + ")";
|
|
8859
8882
|
};
|
|
8860
8883
|
function us() {
|
|
8861
8884
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
8862
8885
|
return function(n) {
|
|
8863
|
-
var o =
|
|
8886
|
+
var o = bo(function(f) {
|
|
8864
8887
|
var d, p;
|
|
8865
8888
|
return (p = n.extractRehydrationInfo) == null ? void 0 : p.call(n, f, { reducerPath: (d = n.reducerPath) != null ? d : "api" });
|
|
8866
8889
|
}), a = Fe(ae({
|
|
@@ -8882,7 +8905,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8882
8905
|
} else n.serializeQueryArgs && (d = n.serializeQueryArgs);
|
|
8883
8906
|
return d(f);
|
|
8884
8907
|
},
|
|
8885
|
-
tagTypes:
|
|
8908
|
+
tagTypes: nn([], n.tagTypes || [])
|
|
8886
8909
|
}), i = {
|
|
8887
8910
|
endpointDefinitions: {},
|
|
8888
8911
|
batch: function(f) {
|
|
@@ -8890,7 +8913,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8890
8913
|
},
|
|
8891
8914
|
apiUid: ki(),
|
|
8892
8915
|
extractRehydrationInfo: o,
|
|
8893
|
-
hasRehydrationInfo:
|
|
8916
|
+
hasRehydrationInfo: bo(function(f) {
|
|
8894
8917
|
return o(f) != null;
|
|
8895
8918
|
})
|
|
8896
8919
|
}, u = {
|
|
@@ -8969,8 +8992,8 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
8969
8992
|
}
|
|
8970
8993
|
return f;
|
|
8971
8994
|
}, Dp = function(e) {
|
|
8972
|
-
var t = e.reducerPath, r = e.context, n = e.context.endpointDefinitions, o = e.mutationThunk, a = e.api, i = e.assertTagType, u = e.refetchQuery, s = a.internalActions.removeQueryResult, l = Rt(yt(o),
|
|
8973
|
-
l(p) && d(rs(p, "invalidatesTags", n, i), m), a.util.invalidateTags.match(p) && d(
|
|
8995
|
+
var t = e.reducerPath, r = e.context, n = e.context.endpointDefinitions, o = e.mutationThunk, a = e.api, i = e.assertTagType, u = e.refetchQuery, s = a.internalActions.removeQueryResult, l = Rt(yt(o), tn(o)), f = function(p, m) {
|
|
8996
|
+
l(p) && d(rs(p, "invalidatesTags", n, i), m), a.util.invalidateTags.match(p) && d(Io(p.payload, void 0, void 0, void 0, void 0, i), m);
|
|
8974
8997
|
};
|
|
8975
8998
|
function d(p, m) {
|
|
8976
8999
|
var g = m.getState(), _ = g[t], b = a.util.selectInvalidatedBy(g, p);
|
|
@@ -9053,7 +9076,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
9053
9076
|
}, ls = new Error("Promise never resolved before cacheEntryRemoved."), Mp = function(e) {
|
|
9054
9077
|
var t = e.api, r = e.reducerPath, n = e.context, o = e.queryThunk, a = e.mutationThunk;
|
|
9055
9078
|
e.internalState;
|
|
9056
|
-
var i =
|
|
9079
|
+
var i = Ao(o), u = Ao(a), s = yt(o, a), l = {}, f = function(m, g, _) {
|
|
9057
9080
|
var b = d(m);
|
|
9058
9081
|
if (o.pending.match(m)) {
|
|
9059
9082
|
var S = _[r].queries[b], w = g.getState()[r].queries[b];
|
|
@@ -9110,7 +9133,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
9110
9133
|
}
|
|
9111
9134
|
return f;
|
|
9112
9135
|
}, Lp = function(e) {
|
|
9113
|
-
var t = e.api, r = e.context, n = e.queryThunk, o = e.mutationThunk, a =
|
|
9136
|
+
var t = e.api, r = e.context, n = e.queryThunk, o = e.mutationThunk, a = Oo(n, o), i = cr(n, o), u = yt(n, o), s = {}, l = function(f, d) {
|
|
9114
9137
|
var p, m, g;
|
|
9115
9138
|
if (a(f)) {
|
|
9116
9139
|
var _ = f.meta, b = _.requestId, S = _.arg, w = S.endpointName, O = S.originalArgs, y = r.endpointDefinitions[w], E = y?.onQueryStarted;
|
|
@@ -9255,7 +9278,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
9255
9278
|
}
|
|
9256
9279
|
function ot(e) {
|
|
9257
9280
|
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
9258
|
-
Object.assign.apply(Object,
|
|
9281
|
+
Object.assign.apply(Object, nn([e], t));
|
|
9259
9282
|
}
|
|
9260
9283
|
var ds = Symbol(), fs = function() {
|
|
9261
9284
|
return {
|
|
@@ -9273,9 +9296,9 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
9273
9296
|
endpoints: {},
|
|
9274
9297
|
internalActions: {
|
|
9275
9298
|
onOnline: mr,
|
|
9276
|
-
onOffline:
|
|
9299
|
+
onOffline: un,
|
|
9277
9300
|
onFocus: pr,
|
|
9278
|
-
onFocusLost:
|
|
9301
|
+
onFocusLost: sn
|
|
9279
9302
|
},
|
|
9280
9303
|
util: {}
|
|
9281
9304
|
});
|
|
@@ -9432,7 +9455,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
9432
9455
|
};
|
|
9433
9456
|
return f;
|
|
9434
9457
|
}
|
|
9435
|
-
var
|
|
9458
|
+
var Lo = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? M.useLayoutEffect : M.useEffect;
|
|
9436
9459
|
function Hp(e) {
|
|
9437
9460
|
var t = e.store, r = e.context, n = e.children, o = (0, M.useMemo)(function() {
|
|
9438
9461
|
return {
|
|
@@ -9442,7 +9465,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
9442
9465
|
}, [t]), a = (0, M.useMemo)(function() {
|
|
9443
9466
|
return t.getState();
|
|
9444
9467
|
}, [t]);
|
|
9445
|
-
|
|
9468
|
+
Lo(function() {
|
|
9446
9469
|
var u = o.subscription;
|
|
9447
9470
|
return u.onStateChange = u.notifyNestedSubs, u.trySubscribe(), a !== t.getState() && u.notifyNestedSubs(), function() {
|
|
9448
9471
|
u.tryUnsubscribe(), u.onStateChange = null;
|
|
@@ -9583,7 +9606,7 @@ __emailmaker__.define("static/core/817fa7b9.js", [
|
|
|
9583
9606
|
function ys(e, t) {
|
|
9584
9607
|
return e === t ? e !== 0 || t !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
9585
9608
|
}
|
|
9586
|
-
function
|
|
9609
|
+
function cn(e, t) {
|
|
9587
9610
|
if (ys(e, t)) return !0;
|
|
9588
9611
|
if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1;
|
|
9589
9612
|
var r = Object.keys(e), n = Object.keys(t);
|
|
@@ -9632,9 +9655,9 @@ The error may be correlated with this previous error:
|
|
|
9632
9655
|
|
|
9633
9656
|
`), m;
|
|
9634
9657
|
}
|
|
9635
|
-
return
|
|
9658
|
+
return Lo(function() {
|
|
9636
9659
|
u.current = e, s.current = f, l.current = d, i.current = void 0;
|
|
9637
|
-
}),
|
|
9660
|
+
}), Lo(function() {
|
|
9638
9661
|
function m() {
|
|
9639
9662
|
try {
|
|
9640
9663
|
var g = r.getState();
|
|
@@ -9664,7 +9687,7 @@ The error may be correlated with this previous error:
|
|
|
9664
9687
|
};
|
|
9665
9688
|
}
|
|
9666
9689
|
var gt = Zp();
|
|
9667
|
-
Bp(
|
|
9690
|
+
Bp(va.unstable_batchedUpdates);
|
|
9668
9691
|
var em = function(e, t) {
|
|
9669
9692
|
for (var r = 0, n = t.length, o = e.length; r < n; r++, o++) e[o] = t[r];
|
|
9670
9693
|
return e;
|
|
@@ -9682,7 +9705,7 @@ The error may be correlated with this previous error:
|
|
|
9682
9705
|
am.call(t, r) && Es(e, r, t[r]);
|
|
9683
9706
|
}
|
|
9684
9707
|
return e;
|
|
9685
|
-
},
|
|
9708
|
+
}, dn = function(e, t) {
|
|
9686
9709
|
return rm(e, nm(t));
|
|
9687
9710
|
};
|
|
9688
9711
|
function ws(e, t, r, n) {
|
|
@@ -9705,15 +9728,15 @@ The error may be correlated with this previous error:
|
|
|
9705
9728
|
a.current.serialized !== o.serialized && (a.current = o);
|
|
9706
9729
|
}, [o]), a.current.serialized === o.serialized ? a.current.queryArgs : e;
|
|
9707
9730
|
}
|
|
9708
|
-
var
|
|
9709
|
-
function
|
|
9731
|
+
var ko = Symbol();
|
|
9732
|
+
function No(e) {
|
|
9710
9733
|
var t = (0, M.useRef)(e);
|
|
9711
9734
|
return (0, M.useEffect)(function() {
|
|
9712
|
-
|
|
9713
|
-
}, [e]),
|
|
9735
|
+
cn(t.current, e) || (t.current = e);
|
|
9736
|
+
}, [e]), cn(t.current, e) ? t.current : e;
|
|
9714
9737
|
}
|
|
9715
|
-
var
|
|
9716
|
-
var t = e.endpointName, r = e.queryArgs, n = "", o =
|
|
9738
|
+
var xo = WeakMap ? new WeakMap() : void 0, im = function(e) {
|
|
9739
|
+
var t = e.endpointName, r = e.queryArgs, n = "", o = xo?.get(r);
|
|
9717
9740
|
if (typeof o == "string") n = o;
|
|
9718
9741
|
else {
|
|
9719
9742
|
var a = JSON.stringify(r, function(i, u) {
|
|
@@ -9721,13 +9744,13 @@ The error may be correlated with this previous error:
|
|
|
9721
9744
|
return s[l] = u[l], s;
|
|
9722
9745
|
}, {}) : u;
|
|
9723
9746
|
});
|
|
9724
|
-
nt(r) &&
|
|
9747
|
+
nt(r) && xo?.set(r, a), n = a;
|
|
9725
9748
|
}
|
|
9726
9749
|
return t + "(" + n + ")";
|
|
9727
9750
|
}, sm = typeof window < "u" && window.document && window.document.createElement ? M.useLayoutEffect : M.useEffect, um = function(e) {
|
|
9728
9751
|
return e;
|
|
9729
9752
|
}, lm = function(e) {
|
|
9730
|
-
return e.isUninitialized ?
|
|
9753
|
+
return e.isUninitialized ? dn(Ke({}, e), {
|
|
9731
9754
|
isUninitialized: !1,
|
|
9732
9755
|
isFetching: !0,
|
|
9733
9756
|
isLoading: e.data === void 0,
|
|
@@ -9759,7 +9782,7 @@ The error may be correlated with this previous error:
|
|
|
9759
9782
|
var y = _.isSuccess ? _.data : b?.data;
|
|
9760
9783
|
y === void 0 && (y = _.data);
|
|
9761
9784
|
var E = y !== void 0, v = _.isLoading, A = !E && v, P = _.isSuccess || v && E;
|
|
9762
|
-
return
|
|
9785
|
+
return dn(Ke({}, _), {
|
|
9763
9786
|
data: y,
|
|
9764
9787
|
currentData: _.data,
|
|
9765
9788
|
isFetching: v,
|
|
@@ -9768,7 +9791,7 @@ The error may be correlated with this previous error:
|
|
|
9768
9791
|
});
|
|
9769
9792
|
}
|
|
9770
9793
|
function p(_, b) {
|
|
9771
|
-
var S = o(), w =
|
|
9794
|
+
var S = o(), w = No(b);
|
|
9772
9795
|
return (0, M.useCallback)(function(O, y) {
|
|
9773
9796
|
return S(t.util.prefetch(_, O, Ke(Ke({}, w), y)));
|
|
9774
9797
|
}, [
|
|
@@ -9779,7 +9802,7 @@ The error may be correlated with this previous error:
|
|
|
9779
9802
|
}
|
|
9780
9803
|
function m(_) {
|
|
9781
9804
|
var b = function(O, y) {
|
|
9782
|
-
var E = y === void 0 ? {} : y, v = E.refetchOnReconnect, A = E.refetchOnFocus, P = E.refetchOnMountOrArgChange, C = E.skip, j = C === void 0 ? !1 : C, D = E.pollingInterval, R = D === void 0 ? 0 : D, L = t.endpoints[_].initiate, N = o(), x = ws(j ? vt : O, im, l.endpointDefinitions[_], _), H =
|
|
9805
|
+
var E = y === void 0 ? {} : y, v = E.refetchOnReconnect, A = E.refetchOnFocus, P = E.refetchOnMountOrArgChange, C = E.skip, j = C === void 0 ? !1 : C, D = E.pollingInterval, R = D === void 0 ? 0 : D, L = t.endpoints[_].initiate, N = o(), x = ws(j ? vt : O, im, l.endpointDefinitions[_], _), H = No({
|
|
9783
9806
|
refetchOnReconnect: v,
|
|
9784
9807
|
refetchOnFocus: A,
|
|
9785
9808
|
pollingInterval: R
|
|
@@ -9824,7 +9847,7 @@ The error may be correlated with this previous error:
|
|
|
9824
9847
|
} };
|
|
9825
9848
|
}, []);
|
|
9826
9849
|
}, S = function(O) {
|
|
9827
|
-
var y = O === void 0 ? {} : O, E = y.refetchOnReconnect, v = y.refetchOnFocus, A = y.pollingInterval, P = A === void 0 ? 0 : A, C = t.endpoints[_].initiate, j = o(), D = (0, M.useState)(
|
|
9850
|
+
var y = O === void 0 ? {} : O, E = y.refetchOnReconnect, v = y.refetchOnFocus, A = y.pollingInterval, P = A === void 0 ? 0 : A, C = t.endpoints[_].initiate, j = o(), D = (0, M.useState)(ko), R = D[0], L = D[1], N = (0, M.useRef)(), x = No({
|
|
9828
9851
|
refetchOnReconnect: E,
|
|
9829
9852
|
refetchOnFocus: v,
|
|
9830
9853
|
pollingInterval: P
|
|
@@ -9854,7 +9877,7 @@ The error may be correlated with this previous error:
|
|
|
9854
9877
|
(F = N?.current) == null || F.unsubscribe();
|
|
9855
9878
|
};
|
|
9856
9879
|
}, []), (0, M.useEffect)(function() {
|
|
9857
|
-
R !==
|
|
9880
|
+
R !== ko && !N.current && V(R, !0);
|
|
9858
9881
|
}, [R, V]), (0, M.useMemo)(function() {
|
|
9859
9882
|
return [V, R];
|
|
9860
9883
|
}, [V, R]);
|
|
@@ -9873,7 +9896,7 @@ The error may be correlated with this previous error:
|
|
|
9873
9896
|
return P ? Dt([R], P) : R;
|
|
9874
9897
|
}, [R, P]), N = a(function(H) {
|
|
9875
9898
|
return L(H, D.current);
|
|
9876
|
-
},
|
|
9899
|
+
}, cn), x = R(i().getState(), D.current);
|
|
9877
9900
|
return sm(function() {
|
|
9878
9901
|
D.current = x;
|
|
9879
9902
|
}, [x]), N;
|
|
@@ -9883,7 +9906,7 @@ The error may be correlated with this previous error:
|
|
|
9883
9906
|
useQuerySubscription: b,
|
|
9884
9907
|
useLazyQuerySubscription: S,
|
|
9885
9908
|
useLazyQuery: function(O) {
|
|
9886
|
-
var y = S(O), E = y[0], v = y[1], A = w(v,
|
|
9909
|
+
var y = S(O), E = y[0], v = y[1], A = w(v, dn(Ke({}, O), { skip: v === ko })), P = (0, M.useMemo)(function() {
|
|
9887
9910
|
return { lastArg: v };
|
|
9888
9911
|
}, [v]);
|
|
9889
9912
|
return (0, M.useMemo)(function() {
|
|
@@ -9938,7 +9961,7 @@ The error may be correlated with this previous error:
|
|
|
9938
9961
|
j,
|
|
9939
9962
|
O,
|
|
9940
9963
|
y
|
|
9941
|
-
]),
|
|
9964
|
+
]), cn), x = y == null ? j?.arg.originalArgs : void 0, H = (0, M.useCallback)(function() {
|
|
9942
9965
|
n(function() {
|
|
9943
9966
|
j && D(void 0), y && P(t.internalActions.removeMutationResult({
|
|
9944
9967
|
requestId: L,
|
|
@@ -9961,7 +9984,7 @@ The error may be correlated with this previous error:
|
|
|
9961
9984
|
error: Z
|
|
9962
9985
|
});
|
|
9963
9986
|
var J = (0, M.useMemo)(function() {
|
|
9964
|
-
return
|
|
9987
|
+
return dn(Ke({}, N), {
|
|
9965
9988
|
originalArgs: x,
|
|
9966
9989
|
reset: H
|
|
9967
9990
|
});
|
|
@@ -9976,25 +9999,25 @@ The error may be correlated with this previous error:
|
|
|
9976
9999
|
};
|
|
9977
10000
|
}
|
|
9978
10001
|
}
|
|
9979
|
-
var
|
|
10002
|
+
var fn;
|
|
9980
10003
|
(function(e) {
|
|
9981
10004
|
e.query = "query", e.mutation = "mutation";
|
|
9982
|
-
})(
|
|
10005
|
+
})(fn || (fn = {}));
|
|
9983
10006
|
function dm(e) {
|
|
9984
|
-
return e.type ===
|
|
10007
|
+
return e.type === fn.query;
|
|
9985
10008
|
}
|
|
9986
10009
|
function fm(e) {
|
|
9987
|
-
return e.type ===
|
|
10010
|
+
return e.type === fn.mutation;
|
|
9988
10011
|
}
|
|
9989
|
-
function
|
|
10012
|
+
function Go(e) {
|
|
9990
10013
|
return e.replace(e[0], e[0].toUpperCase());
|
|
9991
10014
|
}
|
|
9992
|
-
function
|
|
10015
|
+
function pn(e) {
|
|
9993
10016
|
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
9994
10017
|
Object.assign.apply(Object, em([e], t));
|
|
9995
10018
|
}
|
|
9996
10019
|
var pm = Symbol(), mm = function(e) {
|
|
9997
|
-
var t = e === void 0 ? {} : e, r = t.batch, n = r === void 0 ?
|
|
10020
|
+
var t = e === void 0 ? {} : e, r = t.batch, n = r === void 0 ? va.unstable_batchedUpdates : r, o = t.useDispatch, a = o === void 0 ? _s : o, i = t.useSelector, u = i === void 0 ? gt : i, s = t.useStore, l = s === void 0 ? ce : s, f = t.unstable__sideEffectsInRender, d = f === void 0 ? !1 : f;
|
|
9998
10021
|
return {
|
|
9999
10022
|
name: pm,
|
|
10000
10023
|
init: function(p, m, g) {
|
|
@@ -10010,24 +10033,24 @@ The error may be correlated with this previous error:
|
|
|
10010
10033
|
serializeQueryArgs: _,
|
|
10011
10034
|
context: g
|
|
10012
10035
|
}), w = S.buildQueryHooks, O = S.buildMutationHook, y = S.usePrefetch;
|
|
10013
|
-
return
|
|
10036
|
+
return pn(b, { usePrefetch: y }), pn(g, { batch: n }), { injectEndpoint: function(E, v) {
|
|
10014
10037
|
if (dm(v)) {
|
|
10015
10038
|
var A = w(E), P = A.useQuery, C = A.useLazyQuery, j = A.useLazyQuerySubscription, D = A.useQueryState, R = A.useQuerySubscription;
|
|
10016
|
-
|
|
10039
|
+
pn(b.endpoints[E], {
|
|
10017
10040
|
useQuery: P,
|
|
10018
10041
|
useLazyQuery: C,
|
|
10019
10042
|
useLazyQuerySubscription: j,
|
|
10020
10043
|
useQueryState: D,
|
|
10021
10044
|
useQuerySubscription: R
|
|
10022
|
-
}), p["use" +
|
|
10045
|
+
}), p["use" + Go(E) + "Query"] = P, p["useLazy" + Go(E) + "Query"] = C;
|
|
10023
10046
|
} else if (fm(v)) {
|
|
10024
10047
|
var L = O(E);
|
|
10025
|
-
|
|
10048
|
+
pn(b.endpoints[E], { useMutation: L }), p["use" + Go(E) + "Mutation"] = L;
|
|
10026
10049
|
}
|
|
10027
10050
|
} };
|
|
10028
10051
|
}
|
|
10029
10052
|
};
|
|
10030
|
-
}, _t = us(fs(), mm()), Ts =
|
|
10053
|
+
}, _t = us(fs(), mm()), Ts = ka, hm = (e, t) => {
|
|
10031
10054
|
if (!e) {
|
|
10032
10055
|
const r = ft.createChild(), n = W();
|
|
10033
10056
|
return ft.inject(n, r), n;
|
|
@@ -10336,7 +10359,7 @@ The error may be correlated with this previous error:
|
|
|
10336
10359
|
};
|
|
10337
10360
|
function bt(e) {
|
|
10338
10361
|
return (t, r, n) => {
|
|
10339
|
-
const o = we.getInstance(r,
|
|
10362
|
+
const o = we.getInstance(r, Ur);
|
|
10340
10363
|
return Yi({
|
|
10341
10364
|
...e,
|
|
10342
10365
|
fetchFn: o?.execute || fetch
|
|
@@ -10345,7 +10368,7 @@ The error may be correlated with this previous error:
|
|
|
10345
10368
|
}
|
|
10346
10369
|
var Rm = () => {
|
|
10347
10370
|
const e = ce();
|
|
10348
|
-
return (0, M.useMemo)(() => we.getInstance(e,
|
|
10371
|
+
return (0, M.useMemo)(() => we.getInstance(e, La), [e]);
|
|
10349
10372
|
};
|
|
10350
10373
|
function Mt(e, t = !1) {
|
|
10351
10374
|
const r = {};
|
|
@@ -10453,7 +10476,7 @@ The error may be correlated with this previous error:
|
|
|
10453
10476
|
function km(e) {
|
|
10454
10477
|
return e;
|
|
10455
10478
|
}
|
|
10456
|
-
function
|
|
10479
|
+
function mn({ data: e, ...t }, r) {
|
|
10457
10480
|
return t.error ? t : {
|
|
10458
10481
|
data: r(e, t.meta),
|
|
10459
10482
|
...t
|
|
@@ -10466,18 +10489,18 @@ The error may be correlated with this previous error:
|
|
|
10466
10489
|
};
|
|
10467
10490
|
}
|
|
10468
10491
|
function de(e) {
|
|
10469
|
-
return (t) =>
|
|
10492
|
+
return (t) => mn(t, e);
|
|
10470
10493
|
}
|
|
10471
10494
|
function xm(e) {
|
|
10472
10495
|
return !e.hasOwnProperty("previous");
|
|
10473
10496
|
}
|
|
10474
|
-
function
|
|
10475
|
-
return (t) =>
|
|
10497
|
+
function hn(e) {
|
|
10498
|
+
return (t) => mn(t, (r, n) => xm(r) ? e(r, n) : e(r.previous, n));
|
|
10476
10499
|
}
|
|
10477
10500
|
function Ae(e) {
|
|
10478
10501
|
return (t) => Nm(t, e);
|
|
10479
10502
|
}
|
|
10480
|
-
var Ne = "Projects",
|
|
10503
|
+
var Ne = "Projects", yn = "LIST";
|
|
10481
10504
|
function Gm(e) {
|
|
10482
10505
|
if (Array.isArray(e)) return e;
|
|
10483
10506
|
if (e != null && typeof e == "object") {
|
|
@@ -10529,10 +10552,10 @@ The error may be correlated with this previous error:
|
|
|
10529
10552
|
id: r
|
|
10530
10553
|
})), {
|
|
10531
10554
|
type: Ne,
|
|
10532
|
-
id:
|
|
10555
|
+
id: yn
|
|
10533
10556
|
}] : [{
|
|
10534
10557
|
type: Ne,
|
|
10535
|
-
id:
|
|
10558
|
+
id: yn
|
|
10536
10559
|
}]
|
|
10537
10560
|
}),
|
|
10538
10561
|
getProject: e.query({
|
|
@@ -10553,7 +10576,7 @@ The error may be correlated with this previous error:
|
|
|
10553
10576
|
},
|
|
10554
10577
|
invalidatesTags: [{
|
|
10555
10578
|
type: Ne,
|
|
10556
|
-
id:
|
|
10579
|
+
id: yn
|
|
10557
10580
|
}]
|
|
10558
10581
|
}),
|
|
10559
10582
|
editProject: e.mutation({
|
|
@@ -10571,7 +10594,7 @@ The error may be correlated with this previous error:
|
|
|
10571
10594
|
}),
|
|
10572
10595
|
deleteProject: e.mutation({
|
|
10573
10596
|
queryFn(t, r) {
|
|
10574
|
-
return $(r).wp.project_delete({ id: t }, {}).then(
|
|
10597
|
+
return $(r).wp.project_delete({ id: t }, {}).then(hn(Lt));
|
|
10575
10598
|
},
|
|
10576
10599
|
invalidatesTags: (t, r, n) => [
|
|
10577
10600
|
{
|
|
@@ -10584,7 +10607,7 @@ The error may be correlated with this previous error:
|
|
|
10584
10607
|
},
|
|
10585
10608
|
{
|
|
10586
10609
|
type: Ne,
|
|
10587
|
-
id:
|
|
10610
|
+
id: yn
|
|
10588
10611
|
}
|
|
10589
10612
|
]
|
|
10590
10613
|
}),
|
|
@@ -10698,7 +10721,7 @@ The error may be correlated with this previous error:
|
|
|
10698
10721
|
"acf[common_styles]": i
|
|
10699
10722
|
};
|
|
10700
10723
|
}
|
|
10701
|
-
function
|
|
10724
|
+
function $o(e) {
|
|
10702
10725
|
return (t, r, n, o) => e(re(r))(t, r, n, o);
|
|
10703
10726
|
}
|
|
10704
10727
|
var _r = "autosaveRecovery", js = Pe({
|
|
@@ -10742,7 +10765,7 @@ The error may be correlated with this previous error:
|
|
|
10742
10765
|
e.forcedHeaderSync = null;
|
|
10743
10766
|
}
|
|
10744
10767
|
}
|
|
10745
|
-
}), { setRevisionToApply: br, clearRevisionToApply: Wm, setIsRecovering:
|
|
10768
|
+
}), { setRevisionToApply: br, clearRevisionToApply: Wm, setIsRecovering: Bo, markContentReady: Fo, markEmailInited: Gb, resetContentReady: $b, resetEmailInited: Bb, resetShowReady: Xm, beginForcedHeaderSync: Jm, endForcedHeaderSync: Ym } = js.actions, Zm = (e) => e[_r].revisionToApply, eh = (e) => e[_r].isRecovering, th = (e) => e[_r].contentReadyEmailId, rh = (e) => e[_r].forcedHeaderSync, nh = "Taxonomies", it = () => window.location.toString().includes("/blocks") ? "block" : "", oh = () => window.location.toString().includes("/blocks") ? "block" : "email", Uo = _t({
|
|
10746
10769
|
reducerPath: "taxonomiesApi",
|
|
10747
10770
|
tagTypes: [
|
|
10748
10771
|
nh,
|
|
@@ -10810,11 +10833,11 @@ The error may be correlated with this previous error:
|
|
|
10810
10833
|
}).then((n) => n);
|
|
10811
10834
|
} })
|
|
10812
10835
|
})
|
|
10813
|
-
}), { useGetFoldersQuery: ah, useGetGroupsQuery: ih, useLazyGetGroupsQuery: sh, useDeleteGroupMutation: uh, useEditGroupMutation: lh, useAddGroupMutation: ch, useGetTagsQuery: Fb, useLazyGetFoldersQuery: Ub, useAddFolderMutation: Hb, useEditFolderMutation: Vb } =
|
|
10836
|
+
}), { useGetFoldersQuery: ah, useGetGroupsQuery: ih, useLazyGetGroupsQuery: sh, useDeleteGroupMutation: uh, useEditGroupMutation: lh, useAddGroupMutation: ch, useGetTagsQuery: Fb, useLazyGetFoldersQuery: Ub, useAddFolderMutation: Hb, useEditFolderMutation: Vb } = Uo;
|
|
10814
10837
|
function dh(e) {
|
|
10815
10838
|
return e != null && Object.prototype.hasOwnProperty.call(e, "meta");
|
|
10816
10839
|
}
|
|
10817
|
-
function
|
|
10840
|
+
function Ho(e, t) {
|
|
10818
10841
|
return dh(e) ? e.meta : t;
|
|
10819
10842
|
}
|
|
10820
10843
|
var Er = {
|
|
@@ -10891,7 +10914,7 @@ The error may be correlated with this previous error:
|
|
|
10891
10914
|
},
|
|
10892
10915
|
setEmailFromHistory: (e, { payload: t }) => {
|
|
10893
10916
|
if (!t) return;
|
|
10894
|
-
const r = e.email, n = t?.preheader === void 0, o = t?.subject === void 0, a =
|
|
10917
|
+
const r = e.email, n = t?.preheader === void 0, o = t?.subject === void 0, a = Ho(t, r.meta);
|
|
10895
10918
|
e.email = {
|
|
10896
10919
|
...r,
|
|
10897
10920
|
html: t?.html,
|
|
@@ -10995,7 +11018,7 @@ The error may be correlated with this previous error:
|
|
|
10995
11018
|
if (r.payload[0].id === +t.invalidateEmailId) return Er;
|
|
10996
11019
|
}), e.addMatcher(He.endpoints.editEmail.matchFulfilled, (t, { payload: r }) => {
|
|
10997
11020
|
t.invalidateEmailId = null;
|
|
10998
|
-
const n =
|
|
11021
|
+
const n = Ho(r, t.email.meta);
|
|
10999
11022
|
t.email = {
|
|
11000
11023
|
...t.email,
|
|
11001
11024
|
...r,
|
|
@@ -11005,7 +11028,7 @@ The error may be correlated with this previous error:
|
|
|
11005
11028
|
}), e.addMatcher(He.endpoints.autoSaveEmail.matchFulfilled, (t, r) => {
|
|
11006
11029
|
t.email.id?.toString() === r.payload.parent?.toString() && (t.email.html = r.payload.html, r.payload.modified && (t.email.modified = r.payload.modified, t.emailAutosaveTimestamps[r.payload.parent] = r.payload.modified));
|
|
11007
11030
|
}), e.addMatcher(He.endpoints.getEmail.matchFulfilled, (t, { payload: r }) => {
|
|
11008
|
-
const n = t.email, o =
|
|
11031
|
+
const n = t.email, o = Ho(r, r.id === n?.id ? n.meta : void 0), a = n?.id != null && n.id === r.id, i = r.showToken, u = r.showId, s = tr.isPlugin && u != null && u !== "";
|
|
11009
11032
|
if (tr.isPlugin && !s && i === void 0 && a && t.appliedShowToken > 0) {
|
|
11010
11033
|
r.id, t.appliedShowToken, n?.id, n?.showId;
|
|
11011
11034
|
return;
|
|
@@ -11032,7 +11055,7 @@ The error may be correlated with this previous error:
|
|
|
11032
11055
|
common_styles: typeof r?.common_styles == "string" && r?.common_styles.startsWith("{") ? r?.common_styles : "{}",
|
|
11033
11056
|
...o !== void 0 ? { meta: o } : {}
|
|
11034
11057
|
}, i !== void 0 ? t.appliedShowToken = i : (!a || n.is_inited !== !0 || !f) && (t.appliedShowToken += 1), r.id, t.appliedShowToken, n?.id, t.emailIsEdit = !1;
|
|
11035
|
-
}), e.addMatcher(
|
|
11058
|
+
}), e.addMatcher(Uo.endpoints.getGroups.matchFulfilled, (t, { meta: r, payload: n }) => {
|
|
11036
11059
|
const o = t.email.group, a = r.arg.originalArgs.parent, i = n;
|
|
11037
11060
|
a && (t.parentGroupOfProject = a, t.projectGroups = i);
|
|
11038
11061
|
const u = {};
|
|
@@ -11060,36 +11083,36 @@ The error may be correlated with this previous error:
|
|
|
11060
11083
|
});
|
|
11061
11084
|
}
|
|
11062
11085
|
var Xh = "em_autosave_pending", Jh = 2e3, Yh = 5, Zh = 5e3, ey = 4, ty = 6e4, ry = 5e3;
|
|
11063
|
-
function
|
|
11086
|
+
function vn(e) {
|
|
11064
11087
|
return `${Xh}_${e}`;
|
|
11065
11088
|
}
|
|
11066
11089
|
function ny(e, t) {
|
|
11067
11090
|
try {
|
|
11068
|
-
sessionStorage.setItem(
|
|
11091
|
+
sessionStorage.setItem(vn(e), JSON.stringify(t));
|
|
11069
11092
|
} catch {}
|
|
11070
11093
|
}
|
|
11071
11094
|
function oy(e) {
|
|
11072
11095
|
try {
|
|
11073
|
-
const t = sessionStorage.getItem(
|
|
11096
|
+
const t = sessionStorage.getItem(vn(e));
|
|
11074
11097
|
if (!t) return null;
|
|
11075
11098
|
const r = JSON.parse(t);
|
|
11076
|
-
return Date.now() - r.sentAt > ty ? (sessionStorage.removeItem(
|
|
11099
|
+
return Date.now() - r.sentAt > ty ? (sessionStorage.removeItem(vn(e)), null) : r;
|
|
11077
11100
|
} catch {
|
|
11078
11101
|
return null;
|
|
11079
11102
|
}
|
|
11080
11103
|
}
|
|
11081
11104
|
function wr(e) {
|
|
11082
11105
|
try {
|
|
11083
|
-
sessionStorage.removeItem(
|
|
11106
|
+
sessionStorage.removeItem(vn(e));
|
|
11084
11107
|
} catch {}
|
|
11085
11108
|
}
|
|
11086
11109
|
function Is(e) {
|
|
11087
11110
|
return !!e?.slug?.includes("autosave");
|
|
11088
11111
|
}
|
|
11089
|
-
function
|
|
11112
|
+
function Vo(e, t) {
|
|
11090
11113
|
return Is(e) && Date.parse(e.modified) >= t - ry;
|
|
11091
11114
|
}
|
|
11092
|
-
function
|
|
11115
|
+
function gn(e) {
|
|
11093
11116
|
return Is(e) && !!e?.html?.trim();
|
|
11094
11117
|
}
|
|
11095
11118
|
function ay(e) {
|
|
@@ -11119,7 +11142,7 @@ The error may be correlated with this previous error:
|
|
|
11119
11142
|
onHistoryFetched(e, t, r, n, o = !1, a = null) {
|
|
11120
11143
|
const i = ay(t), u = this.polls.get(e);
|
|
11121
11144
|
if (u && (u.triggerRefetch = n, u.dispatch = r), o && u?.phase === "fast") {
|
|
11122
|
-
|
|
11145
|
+
gn(i) && Vo(i, u.pending.sentAt) && (wr(e), this.cancelPolling(e), r(br({
|
|
11123
11146
|
emailId: e,
|
|
11124
11147
|
payload: i,
|
|
11125
11148
|
phase: "found"
|
|
@@ -11127,7 +11150,7 @@ The error may be correlated with this previous error:
|
|
|
11127
11150
|
return;
|
|
11128
11151
|
}
|
|
11129
11152
|
if (o && u?.phase === "bg") {
|
|
11130
|
-
|
|
11153
|
+
gn(i) && Vo(i, u.pending.sentAt) && (wr(e), this.cancelPolling(e), r(br({
|
|
11131
11154
|
emailId: e,
|
|
11132
11155
|
payload: i,
|
|
11133
11156
|
phase: "bg"
|
|
@@ -11136,25 +11159,25 @@ The error may be correlated with this previous error:
|
|
|
11136
11159
|
}
|
|
11137
11160
|
if (this.processedEmails.has(e)) return;
|
|
11138
11161
|
const s = o ? oy(e) : null, l = s && (s.sentAt < this.pageLoadTs || !sy(s.html, a)) ? s : null;
|
|
11139
|
-
l ?
|
|
11162
|
+
l ? gn(i) && Vo(i, l.sentAt) ? (wr(e), r(br({
|
|
11140
11163
|
emailId: e,
|
|
11141
11164
|
payload: i,
|
|
11142
11165
|
phase: "found"
|
|
11143
|
-
})), this.processedEmails.add(e)) : this.startFastPoll(e, l, r, n) : (
|
|
11166
|
+
})), this.processedEmails.add(e)) : this.startFastPoll(e, l, r, n) : (gn(i) ? r(br({
|
|
11144
11167
|
emailId: e,
|
|
11145
11168
|
payload: i,
|
|
11146
11169
|
phase: "normal"
|
|
11147
|
-
})) : r(
|
|
11170
|
+
})) : r(Fo(e)), this.processedEmails.add(e));
|
|
11148
11171
|
}
|
|
11149
11172
|
onHistoryFetchError(e, t) {
|
|
11150
|
-
this.polls.has(e) || t(
|
|
11173
|
+
this.polls.has(e) || t(Fo(e));
|
|
11151
11174
|
}
|
|
11152
11175
|
cancelPolling(e) {
|
|
11153
11176
|
const t = this.polls.get(e);
|
|
11154
|
-
t?.timer && clearTimeout(t.timer), t && t.dispatch(
|
|
11177
|
+
t?.timer && clearTimeout(t.timer), t && t.dispatch(Bo(!1)), this.polls.delete(e), this.processedEmails.delete(e);
|
|
11155
11178
|
}
|
|
11156
11179
|
startFastPoll(e, t, r, n) {
|
|
11157
|
-
r(
|
|
11180
|
+
r(Bo(!0));
|
|
11158
11181
|
const o = {
|
|
11159
11182
|
phase: "fast",
|
|
11160
11183
|
attempts: 0,
|
|
@@ -11173,7 +11196,7 @@ The error may be correlated with this previous error:
|
|
|
11173
11196
|
const a = this.polls.get(e);
|
|
11174
11197
|
if (a) if (a.attempts++, a.triggerRefetch(), r && a.attempts >= o) {
|
|
11175
11198
|
const { pending: i, dispatch: u } = a;
|
|
11176
|
-
wr(e), u(
|
|
11199
|
+
wr(e), u(Bo(!1)), u(br({
|
|
11177
11200
|
emailId: e,
|
|
11178
11201
|
payload: {
|
|
11179
11202
|
html: i.html,
|
|
@@ -12020,7 +12043,7 @@ The error may be correlated with this previous error:
|
|
|
12020
12043
|
parent: t,
|
|
12021
12044
|
per_page: 20,
|
|
12022
12045
|
page: r
|
|
12023
|
-
}, { extraQuery: { _fields: "author,slug,date,modified,title,acf.html,acf.common_styles,id" } }).then((o) =>
|
|
12046
|
+
}, { extraQuery: { _fields: "author,slug,date,modified,title,acf.html,acf.common_styles,id" } }).then((o) => mn(o, (a, i) => ({
|
|
12024
12047
|
data: a.filter((u) => u.acf.html).map((u) => ({
|
|
12025
12048
|
...u,
|
|
12026
12049
|
acf: {
|
|
@@ -12049,7 +12072,7 @@ The error may be correlated with this previous error:
|
|
|
12049
12072
|
id: "LIST"
|
|
12050
12073
|
}]
|
|
12051
12074
|
}),
|
|
12052
|
-
editBlock: e.mutation({ queryFn:
|
|
12075
|
+
editBlock: e.mutation({ queryFn: $o((t) => ({ blockId: r, source: n, ...o }, a) => {
|
|
12053
12076
|
const i = $(t), u = Mt(Rs(o));
|
|
12054
12077
|
return i.wp.eblock_partial_update({ id: r }, u, {
|
|
12055
12078
|
type: ge.Json,
|
|
@@ -12060,7 +12083,7 @@ The error may be correlated with this previous error:
|
|
|
12060
12083
|
queryFn(t, r) {
|
|
12061
12084
|
const n = $(r);
|
|
12062
12085
|
let o, a;
|
|
12063
|
-
return typeof t == "object" ? (o = t.id, a = t.force) : (o = t, a = !1), n.wp.eblock_delete({ id: o }, { force: a }).then(
|
|
12086
|
+
return typeof t == "object" ? (o = t.id, a = t.force) : (o = t, a = !1), n.wp.eblock_delete({ id: o }, { force: a }).then(hn(st));
|
|
12064
12087
|
},
|
|
12065
12088
|
invalidatesTags: (t, r, n) => [{
|
|
12066
12089
|
type: "Blocks",
|
|
@@ -12083,20 +12106,20 @@ The error may be correlated with this previous error:
|
|
|
12083
12106
|
return o.wp.eblock_autosaves_create({ id: t }, a, { type: ge.FormData }).then(de(Ms));
|
|
12084
12107
|
} })
|
|
12085
12108
|
})
|
|
12086
|
-
}), { useGetBlocksQuery: my, useGetBlockQuery: zb, useLazyGetBlockQuery: Kb, useGetBlockHistoryQuery: Wb, useLazyGetBlockHistoryQuery: hy, useGetBlocksSchemaQuery: yy, useGetParentEmailBlocksQuery: vy, useAddBlockMutation: gy, useEditBlockMutation: _y, useAddTagMutation: by, useAutoSaveBlockMutation: Ey, useGetTemplateBlocksQuery: wy } = Tr, Ls = window.localStorage?.getItem(Je.em_code_mode_settings),
|
|
12109
|
+
}), { useGetBlocksQuery: my, useGetBlockQuery: zb, useLazyGetBlockQuery: Kb, useGetBlockHistoryQuery: Wb, useLazyGetBlockHistoryQuery: hy, useGetBlocksSchemaQuery: yy, useGetParentEmailBlocksQuery: vy, useAddBlockMutation: gy, useEditBlockMutation: _y, useAddTagMutation: by, useAutoSaveBlockMutation: Ey, useGetTemplateBlocksQuery: wy } = Tr, Ls = window.localStorage?.getItem(Je.em_code_mode_settings), Qo = Ls && JSON.parse(Ls), zo = {
|
|
12087
12110
|
activeModal: "",
|
|
12088
|
-
lastActiveSettingsTab:
|
|
12089
|
-
activeSettingsTab:
|
|
12111
|
+
lastActiveSettingsTab: ro,
|
|
12112
|
+
activeSettingsTab: ro,
|
|
12090
12113
|
isPanelHistoryCollapsed: !0,
|
|
12091
12114
|
monacoHeight: 0,
|
|
12092
|
-
isCodeMode:
|
|
12093
|
-
codeModeDirection:
|
|
12115
|
+
isCodeMode: Qo?.isCodeMode || tr.isPlugin && Qo?.isCodeMode === void 0,
|
|
12116
|
+
codeModeDirection: Qo?.codeModeDirection || "left",
|
|
12094
12117
|
isHeaderCodeMenuOpen: {
|
|
12095
12118
|
current: !1,
|
|
12096
12119
|
switched: !1
|
|
12097
12120
|
},
|
|
12098
12121
|
emailWidth: "100%",
|
|
12099
|
-
emailViewType:
|
|
12122
|
+
emailViewType: no,
|
|
12100
12123
|
mobileViewActive: {
|
|
12101
12124
|
shutdown: !0,
|
|
12102
12125
|
styles: !0
|
|
@@ -12107,12 +12130,12 @@ The error may be correlated with this previous error:
|
|
|
12107
12130
|
isGlobalLoading: !1
|
|
12108
12131
|
};
|
|
12109
12132
|
localStorage.getItem(Je.em_code_mode_settings) || window.localStorage.setItem(Je.em_code_mode_settings, JSON.stringify({
|
|
12110
|
-
codeModeDirection:
|
|
12111
|
-
isCodeMode:
|
|
12133
|
+
codeModeDirection: zo.codeModeDirection,
|
|
12134
|
+
isCodeMode: zo.isCodeMode
|
|
12112
12135
|
}));
|
|
12113
12136
|
var je = "emailPageSlice", ks = Pe({
|
|
12114
12137
|
name: je,
|
|
12115
|
-
initialState:
|
|
12138
|
+
initialState: zo,
|
|
12116
12139
|
reducers: {
|
|
12117
12140
|
openModal: (e, t) => {
|
|
12118
12141
|
e.activeModal = t.payload;
|
|
@@ -12130,7 +12153,7 @@ The error may be correlated with this previous error:
|
|
|
12130
12153
|
e.isPanelHistoryCollapsed = t.payload || !e.isPanelHistoryCollapsed;
|
|
12131
12154
|
},
|
|
12132
12155
|
setEmailWidth: (e, { payload: t }) => {
|
|
12133
|
-
e.emailWidth = t, e.emailViewType = t > e.emailMaxWidthSize || t === "100%" ?
|
|
12156
|
+
e.emailWidth = t, e.emailViewType = t > e.emailMaxWidthSize || t === "100%" ? no : mi, window.localStorage.setItem(Je.em_default_sizes, JSON.stringify(t));
|
|
12134
12157
|
},
|
|
12135
12158
|
setEmailMaxWidthSize: (e, { payload: t }) => {
|
|
12136
12159
|
e.emailMaxWidthSize = t;
|
|
@@ -12183,7 +12206,7 @@ The error may be correlated with this previous error:
|
|
|
12183
12206
|
});
|
|
12184
12207
|
}
|
|
12185
12208
|
}), { openModal: Ty, closeModal: Sy, setActiveSettingsTab: Py, resetToLastActiveSettingsTab: Oy, switchIsPanelHistoryCollapsed: Ay, setEmailWidth: jy, switchCodeMode: Cy, switchCodeModeDirection: Iy, setMobileViewActive: Dy, setEmailViewType: qy, setCodeMode: Ns, setEmailMaxWidthSize: Xb, setPropertiesPanelKey: Ry, resetParentBlocks: My, setIsGlobalLoading: Ly, setHeaderCodeMenuOpen: ky } = ks.actions, Ny = (e) => e[je].isCodeMode, xy = (e) => e[je].emailWidth, Gy = (e) => e[je].activeModal, $y = (e) => e[je].parentBlocks, By = (e) => e[je].emailViewType, Fy = (e) => e[je].isGlobalLoading, Uy = (e) => e[je].mobileViewActive, Hy = (e) => e[je].codeModeDirection, Vy = (e) => e[je].activeSettingsTab, Qy = (e) => e[je].propertiesPanelKey, zy = (e) => e[je].isHeaderCodeMenuOpen, Ky = (e) => e[je].isPanelHistoryCollapsed;
|
|
12186
|
-
function
|
|
12209
|
+
function _n(e) {
|
|
12187
12210
|
for (var t = 1; t < arguments.length; t++) {
|
|
12188
12211
|
var r = arguments[t];
|
|
12189
12212
|
for (var n in r) n !== "__proto__" && (e[n] = r[n]);
|
|
@@ -12198,10 +12221,10 @@ The error may be correlated with this previous error:
|
|
|
12198
12221
|
return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent);
|
|
12199
12222
|
}
|
|
12200
12223
|
};
|
|
12201
|
-
function
|
|
12224
|
+
function Ko(e, t) {
|
|
12202
12225
|
function r(o, a, i) {
|
|
12203
12226
|
if (!(typeof document > "u")) {
|
|
12204
|
-
i =
|
|
12227
|
+
i = _n({}, t, i), typeof i.expires == "number" && (i.expires = new Date(Date.now() + i.expires * 864e5)), i.expires && (i.expires = i.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
12205
12228
|
var u = "";
|
|
12206
12229
|
for (var s in i) i[s] && (u += "; " + s, i[s] !== !0 && (u += "=" + i[s].split(";")[0]));
|
|
12207
12230
|
return document.cookie = o + "=" + e.write(a, o) + u;
|
|
@@ -12223,26 +12246,26 @@ The error may be correlated with this previous error:
|
|
|
12223
12246
|
set: r,
|
|
12224
12247
|
get: n,
|
|
12225
12248
|
remove: function(o, a) {
|
|
12226
|
-
r(o, "",
|
|
12249
|
+
r(o, "", _n({}, a, { expires: -1 }));
|
|
12227
12250
|
},
|
|
12228
12251
|
withAttributes: function(o) {
|
|
12229
|
-
return
|
|
12252
|
+
return Ko(this.converter, _n({}, this.attributes, o));
|
|
12230
12253
|
},
|
|
12231
12254
|
withConverter: function(o) {
|
|
12232
|
-
return
|
|
12255
|
+
return Ko(_n({}, this.converter, o), this.attributes);
|
|
12233
12256
|
}
|
|
12234
12257
|
}, {
|
|
12235
12258
|
attributes: { value: Object.freeze(t) },
|
|
12236
12259
|
converter: { value: Object.freeze(e) }
|
|
12237
12260
|
});
|
|
12238
12261
|
}
|
|
12239
|
-
var xs =
|
|
12262
|
+
var xs = Ko(Wy, { path: "/" }), Xy = [
|
|
12240
12263
|
"is_paying",
|
|
12241
12264
|
"is_paying_user",
|
|
12242
12265
|
"paying",
|
|
12243
12266
|
"paying_user"
|
|
12244
12267
|
];
|
|
12245
|
-
function
|
|
12268
|
+
function Wo(e) {
|
|
12246
12269
|
if (!e || typeof e != "object") return !1;
|
|
12247
12270
|
const t = e;
|
|
12248
12271
|
for (const r of Xy) {
|
|
@@ -12251,7 +12274,7 @@ The error may be correlated with this previous error:
|
|
|
12251
12274
|
}
|
|
12252
12275
|
return !1;
|
|
12253
12276
|
}
|
|
12254
|
-
function
|
|
12277
|
+
function bn(e) {
|
|
12255
12278
|
if (e === void 0) return;
|
|
12256
12279
|
if (e === null || e === "") return null;
|
|
12257
12280
|
const t = Number(e);
|
|
@@ -12262,8 +12285,8 @@ The error may be correlated with this previous error:
|
|
|
12262
12285
|
const t = e, r = t.trial_enabled ?? t.trial ?? t.is_get_trial;
|
|
12263
12286
|
return r === !0 || r === 1 || r === "1" || typeof r == "string" && r.toLowerCase() === "true";
|
|
12264
12287
|
}
|
|
12265
|
-
function
|
|
12266
|
-
const t = e.acf ?? {}, { autosaves: r, hide_mergetags: n, theme: o, newsletter_consent: a, code_editor: i, counters: u, subscription: s, subscription_end: l, recurring_payments: f, subscription_id: d, promocode: p, subscription_amount: m, enterprise_users_limit: g, enterprise_price: _, enterprise_12_price: b, privacy_policy_agreement: S, last_used_project: w, email_confirmation: O, email_builder_config: y } = t, { id: E, acf: v, ...A } = e, P = Jy(t), C = u ?? {}, j =
|
|
12288
|
+
function En(e) {
|
|
12289
|
+
const t = e.acf ?? {}, { autosaves: r, hide_mergetags: n, theme: o, newsletter_consent: a, code_editor: i, counters: u, subscription: s, subscription_end: l, recurring_payments: f, subscription_id: d, promocode: p, subscription_amount: m, enterprise_users_limit: g, enterprise_price: _, enterprise_12_price: b, privacy_policy_agreement: S, last_used_project: w, email_confirmation: O, email_builder_config: y } = t, { id: E, acf: v, ...A } = e, P = Jy(t), C = u ?? {}, j = Wo(t) || Wo(A) || Wo(e.meta);
|
|
12267
12290
|
return {
|
|
12268
12291
|
...A,
|
|
12269
12292
|
id: le(E),
|
|
@@ -12286,10 +12309,10 @@ The error may be correlated with this previous error:
|
|
|
12286
12309
|
recurring_payments: f,
|
|
12287
12310
|
subscription_id: d,
|
|
12288
12311
|
promocode: p,
|
|
12289
|
-
subscription_amount:
|
|
12290
|
-
enterprise_users_limit:
|
|
12291
|
-
enterprise_price:
|
|
12292
|
-
enterprise_12_price:
|
|
12312
|
+
subscription_amount: bn(m),
|
|
12313
|
+
enterprise_users_limit: bn(g),
|
|
12314
|
+
enterprise_price: bn(_),
|
|
12315
|
+
enterprise_12_price: bn(b),
|
|
12293
12316
|
privacy_policy_agreement: S,
|
|
12294
12317
|
last_used_project: w,
|
|
12295
12318
|
email_confirmation: O,
|
|
@@ -12363,14 +12386,14 @@ The error may be correlated with this previous error:
|
|
|
12363
12386
|
method: "GET"
|
|
12364
12387
|
};
|
|
12365
12388
|
},
|
|
12366
|
-
transformResponse: (t) =>
|
|
12389
|
+
transformResponse: (t) => En(Array.isArray(t) ? t[0] : t)
|
|
12367
12390
|
}),
|
|
12368
12391
|
getUser: e.query({ queryFn(t, r) {
|
|
12369
|
-
return $(r).wp.users_detail({ id: t }).then(de(
|
|
12392
|
+
return $(r).wp.users_detail({ id: t }).then(de(En));
|
|
12370
12393
|
} }),
|
|
12371
12394
|
editMe: e.mutation({ queryFn(t, r) {
|
|
12372
12395
|
const n = $(r), o = Mt(Yy(t), !0);
|
|
12373
|
-
return n.wp.users_me_create(o, { type: ge.Json }).then(de(
|
|
12396
|
+
return n.wp.users_me_create(o, { type: ge.Json }).then(de(En));
|
|
12374
12397
|
} }),
|
|
12375
12398
|
getSubscriptions: e.query({ queryFn(t, r) {
|
|
12376
12399
|
return $(r).wp.subscription_list(void 0).then(Ae(Zy));
|
|
@@ -12392,7 +12415,7 @@ The error may be correlated with this previous error:
|
|
|
12392
12415
|
} else return "";
|
|
12393
12416
|
}
|
|
12394
12417
|
function Gs() {
|
|
12395
|
-
return gt(
|
|
12418
|
+
return gt(ea);
|
|
12396
12419
|
}
|
|
12397
12420
|
function sv() {
|
|
12398
12421
|
return gt(wv);
|
|
@@ -12417,27 +12440,27 @@ The error may be correlated with this previous error:
|
|
|
12417
12440
|
}) : void 0;
|
|
12418
12441
|
}
|
|
12419
12442
|
var xe = "configSlice", Bs = qs("pro");
|
|
12420
|
-
function
|
|
12443
|
+
function Xo(e) {
|
|
12421
12444
|
return e.user.mode || e.serverSide.mode || localStorage.getItem("configSwither") || "pro";
|
|
12422
12445
|
}
|
|
12423
12446
|
function Fs(e) {
|
|
12424
|
-
return qs(
|
|
12447
|
+
return qs(Xo(e))?.config || {};
|
|
12425
12448
|
}
|
|
12426
|
-
function
|
|
12427
|
-
const t =
|
|
12449
|
+
function Jo(e) {
|
|
12450
|
+
const t = Xo(e);
|
|
12428
12451
|
return e.serverSide.advancedConfigs?.[t] || {};
|
|
12429
12452
|
}
|
|
12430
|
-
function
|
|
12431
|
-
const t =
|
|
12453
|
+
function Yo(e) {
|
|
12454
|
+
const t = Xo(e), r = e?.user?.advancedConfigs?.[t], n = r !== void 0 ? r : e?.user?.advancedConfigs?.pro;
|
|
12432
12455
|
return {
|
|
12433
12456
|
...e?.advancedConfigs?.[t] || {},
|
|
12434
12457
|
...n || {}
|
|
12435
12458
|
};
|
|
12436
12459
|
}
|
|
12437
|
-
function
|
|
12438
|
-
const t = Fs(e), r =
|
|
12460
|
+
function Zo(e) {
|
|
12461
|
+
const t = Fs(e), r = Jo(e);
|
|
12439
12462
|
return [
|
|
12440
|
-
|
|
12463
|
+
Yo(e),
|
|
12441
12464
|
e.user,
|
|
12442
12465
|
r,
|
|
12443
12466
|
e.serverSide,
|
|
@@ -12463,17 +12486,17 @@ The error may be correlated with this previous error:
|
|
|
12463
12486
|
return zl(e.map((t) => t?.backendProxy));
|
|
12464
12487
|
}
|
|
12465
12488
|
function pv(e) {
|
|
12466
|
-
return
|
|
12489
|
+
return Vn(e.map((t) => t?.backendProxyPolicy || {}).filter(Boolean));
|
|
12467
12490
|
}
|
|
12468
|
-
function
|
|
12469
|
-
const t = Fs(e), r =
|
|
12491
|
+
function wn(e) {
|
|
12492
|
+
const t = Fs(e), r = Jo(e), n = Yo(e), o = [
|
|
12470
12493
|
e.base,
|
|
12471
12494
|
t,
|
|
12472
12495
|
e.serverSide,
|
|
12473
12496
|
r,
|
|
12474
12497
|
e.user,
|
|
12475
12498
|
n
|
|
12476
|
-
], a =
|
|
12499
|
+
], a = Vn(o), i = lv(o);
|
|
12477
12500
|
i !== void 0 && (a.fileManager = i);
|
|
12478
12501
|
const u = cv(o);
|
|
12479
12502
|
u !== void 0 && (a.resourceProxy = u);
|
|
@@ -12484,7 +12507,7 @@ The error may be correlated with this previous error:
|
|
|
12484
12507
|
const f = pv(o);
|
|
12485
12508
|
return f && Object.keys(f).length > 0 && (a.backendProxyPolicy = f), a;
|
|
12486
12509
|
}
|
|
12487
|
-
var mv =
|
|
12510
|
+
var mv = Zr("config/changeConfigModeWithCodeCheck", async (e, { dispatch: t, getState: r }) => {
|
|
12488
12511
|
t(Av(e)), t(Et.endpoints.editMe.initiate({ email_builder_config: e })), await new Promise((a) => setTimeout(a, 0));
|
|
12489
12512
|
const n = r(), o = n.emailPageSlice?.isCodeMode;
|
|
12490
12513
|
return n.configSlice?.config?.codeEnabled === !1 && o && t(Ns(!1)), e;
|
|
@@ -12518,31 +12541,31 @@ The error may be correlated with this previous error:
|
|
|
12518
12541
|
e.user = t.user, e.serverSide = t.serverSide, e.advancedConfigs = {
|
|
12519
12542
|
...t.advancedConfigs || {},
|
|
12520
12543
|
...t.user?.advancedConfigs || {}
|
|
12521
|
-
}, e.config =
|
|
12544
|
+
}, e.config = wn(e);
|
|
12522
12545
|
},
|
|
12523
12546
|
changeConfigMode: (e, t) => {
|
|
12524
|
-
e.user.mode = t.payload, e.config =
|
|
12547
|
+
e.user.mode = t.payload, e.config = wn(e);
|
|
12525
12548
|
},
|
|
12526
12549
|
setInitialMergeTags: (e, t) => {
|
|
12527
|
-
e.base.mergeTags = t.payload, e.config.mergeTags = xr(
|
|
12550
|
+
e.base.mergeTags = t.payload, e.config.mergeTags = xr(Zo(e), "mergeTags");
|
|
12528
12551
|
},
|
|
12529
12552
|
setMergeTags: (e, t) => {
|
|
12530
|
-
e.user.mergeTags = t.payload, e.config.mergeTags = xr(
|
|
12553
|
+
e.user.mergeTags = t.payload, e.config.mergeTags = xr(Zo(e), "mergeTags");
|
|
12531
12554
|
},
|
|
12532
12555
|
setUserConfig: (e, { payload: t }) => {
|
|
12533
|
-
e.user = t, e.config =
|
|
12556
|
+
e.user = t, e.config = wn(e);
|
|
12534
12557
|
},
|
|
12535
12558
|
updateUserConfig: (e, { payload: t }) => {
|
|
12536
12559
|
e.user = {
|
|
12537
12560
|
...e.user,
|
|
12538
12561
|
...t
|
|
12539
|
-
}, e.config =
|
|
12562
|
+
}, e.config = wn(e);
|
|
12540
12563
|
},
|
|
12541
12564
|
setProject: (e, t) => {
|
|
12542
12565
|
e.project = t.payload;
|
|
12543
12566
|
},
|
|
12544
12567
|
setActiveNextButton: (e, t) => {
|
|
12545
|
-
e.user.activeNextButton = t.payload, e.config.activeNextButton = xr(
|
|
12568
|
+
e.user.activeNextButton = t.payload, e.config.activeNextButton = xr(Zo(e), "activeNextButton") !== void 0;
|
|
12546
12569
|
},
|
|
12547
12570
|
setPluginDefaultCommonStyles: (e, t) => {
|
|
12548
12571
|
t.payload === void 0 ? delete e.pluginDefaultCommonStyles : e.pluginDefaultCommonStyles = t.payload;
|
|
@@ -12552,10 +12575,10 @@ The error may be correlated with this previous error:
|
|
|
12552
12575
|
}
|
|
12553
12576
|
},
|
|
12554
12577
|
extraReducers: (e) => {}
|
|
12555
|
-
}), hv = (e) => e[xe].config.mergeTags,
|
|
12556
|
-
const r = t[xe], n =
|
|
12578
|
+
}), hv = (e) => e[xe].config.mergeTags, ea = (e) => e[xe].config, yv = (e) => e[xe].page, vv = (e) => e[xe].config.themes, gv = (e) => e[xe].config.styles, _v = (e) => e[xe].project, bv = (e) => e[xe].config.mode, Ev = (e) => e[xe].pluginDefaultCommonStyles, wv = (e) => e[xe].headless, Tv = (e) => (t) => {
|
|
12579
|
+
const r = t[xe], n = Jo(r);
|
|
12557
12580
|
return xr([
|
|
12558
|
-
|
|
12581
|
+
Yo(r),
|
|
12559
12582
|
r.user,
|
|
12560
12583
|
n,
|
|
12561
12584
|
r.serverSide
|
|
@@ -12693,7 +12716,7 @@ The error may be correlated with this previous error:
|
|
|
12693
12716
|
parent: t,
|
|
12694
12717
|
per_page: 20,
|
|
12695
12718
|
page: r
|
|
12696
|
-
}, { extraQuery: { _fields: "author,slug,date,modified,title,meta,acf.html,acf.common_styles,id,parent,date_gmt" } }).then((o) =>
|
|
12719
|
+
}, { extraQuery: { _fields: "author,slug,date,modified,title,meta,acf.html,acf.common_styles,id,parent,date_gmt" } }).then((o) => mn(o, (a, i) => ({
|
|
12697
12720
|
data: a.filter((u) => u.acf.html).map((u) => ({
|
|
12698
12721
|
...u,
|
|
12699
12722
|
acf: {
|
|
@@ -12721,7 +12744,7 @@ The error may be correlated with this previous error:
|
|
|
12721
12744
|
keepUnusedDataFor: 0,
|
|
12722
12745
|
async onQueryStarted({ emailId: t }, { queryFulfilled: r, dispatch: n, getState: o }) {
|
|
12723
12746
|
try {
|
|
12724
|
-
const { data: a } = await r, i = o(), u =
|
|
12747
|
+
const { data: a } = await r, i = o(), u = ea(i).revisionService === !0, s = i.emailSlice?.email?.html ?? null;
|
|
12725
12748
|
kt.onHistoryFetched(t, a.data, n, () => n(He.endpoints.getEmailHistory.initiate({ emailId: t }, { forceRefetch: !0 })), u, s);
|
|
12726
12749
|
} catch {
|
|
12727
12750
|
kt.onHistoryFetchError(t, n);
|
|
@@ -12729,7 +12752,7 @@ The error may be correlated with this previous error:
|
|
|
12729
12752
|
}
|
|
12730
12753
|
}),
|
|
12731
12754
|
addEmail: e.mutation({
|
|
12732
|
-
queryFn:
|
|
12755
|
+
queryFn: $o((t) => ({ source: r, ...n }) => $(t).wp.email_create({
|
|
12733
12756
|
status: "publish",
|
|
12734
12757
|
...Os(n)
|
|
12735
12758
|
}, { type: ge.Json }).then(de(We))),
|
|
@@ -12738,7 +12761,7 @@ The error may be correlated with this previous error:
|
|
|
12738
12761
|
id: "LIST"
|
|
12739
12762
|
}]
|
|
12740
12763
|
}),
|
|
12741
|
-
editEmail: e.mutation({ queryFn:
|
|
12764
|
+
editEmail: e.mutation({ queryFn: $o((t) => ({ emailId: r, source: n, ...o }) => {
|
|
12742
12765
|
const a = $(t), i = Mt(Os(o));
|
|
12743
12766
|
return a.wp.email_partial_update({ id: r }, i, {
|
|
12744
12767
|
type: ge.Json,
|
|
@@ -12752,7 +12775,7 @@ The error may be correlated with this previous error:
|
|
|
12752
12775
|
queryFn(t, r) {
|
|
12753
12776
|
const n = $(r);
|
|
12754
12777
|
let o, a;
|
|
12755
|
-
return typeof t == "object" ? (o = t.id, a = t.force) : (o = t, a = !1), n.wp.email_delete({ id: o }, { force: a }).then(
|
|
12778
|
+
return typeof t == "object" ? (o = t.id, a = t.force) : (o = t, a = !1), n.wp.email_delete({ id: o }, { force: a }).then(hn(We));
|
|
12756
12779
|
},
|
|
12757
12780
|
invalidatesTags: (t, r, n) => [{
|
|
12758
12781
|
type: "Emails",
|
|
@@ -12776,7 +12799,7 @@ The error may be correlated with this previous error:
|
|
|
12776
12799
|
return o.wp.email_autosaves_create({ id: t }, a, { type: ge.FormData }).then(de(As));
|
|
12777
12800
|
},
|
|
12778
12801
|
async onQueryStarted({ emailId: t, body: r }, { queryFulfilled: n, getState: o }) {
|
|
12779
|
-
const a =
|
|
12802
|
+
const a = ea(o()).revisionService === !0;
|
|
12780
12803
|
a && kt.onAutoSaveStarted(t, {
|
|
12781
12804
|
sentAt: Date.now(),
|
|
12782
12805
|
html: r.html ?? "",
|
|
@@ -12792,7 +12815,7 @@ The error may be correlated with this previous error:
|
|
|
12792
12815
|
}
|
|
12793
12816
|
})
|
|
12794
12817
|
})
|
|
12795
|
-
}), { useGetEmailsQuery: qv, useGetTemplateEmailsQuery: Rv, useGetEmailQuery: Mv, useLazyGetEmailQuery: Lv, useGetEmailHistoryQuery: kv, useLazyGetEmailHistoryQuery: Nv, useAddEmailMutation: xv, useEditEmailMutation: Gv, useDeleteEmailMutation: tE, useGetDeletableTagQuery: rE, useAddTagMutation: $v, useAutoSaveEmailMutation: Bv } = He,
|
|
12818
|
+
}), { useGetEmailsQuery: qv, useGetTemplateEmailsQuery: Rv, useGetEmailQuery: Mv, useLazyGetEmailQuery: Lv, useGetEmailHistoryQuery: kv, useLazyGetEmailHistoryQuery: Nv, useAddEmailMutation: xv, useEditEmailMutation: Gv, useDeleteEmailMutation: tE, useGetDeletableTagQuery: rE, useAddTagMutation: $v, useAutoSaveEmailMutation: Bv } = He, ta = {
|
|
12796
12819
|
project: null,
|
|
12797
12820
|
activeGroupsTags: [],
|
|
12798
12821
|
activeProjectGroupsTags: [],
|
|
@@ -12801,7 +12824,7 @@ The error may be correlated with this previous error:
|
|
|
12801
12824
|
groupsTemplateProjectTotal: null
|
|
12802
12825
|
}, ut = "projectSlice", Hs = Pe({
|
|
12803
12826
|
name: ut,
|
|
12804
|
-
initialState:
|
|
12827
|
+
initialState: ta,
|
|
12805
12828
|
reducers: {
|
|
12806
12829
|
setProject: (e, { payload: t }) => {
|
|
12807
12830
|
e.project = t;
|
|
@@ -12820,12 +12843,12 @@ The error may be correlated with this previous error:
|
|
|
12820
12843
|
e.addMatcher(gr.endpoints.getProject.matchFulfilled, (t, { payload: r, meta: n }) => {
|
|
12821
12844
|
const o = n.arg.originalArgs, a = t.project?.id;
|
|
12822
12845
|
a != null && a === o && r.id === o && (t.project = {
|
|
12823
|
-
...
|
|
12846
|
+
...ta.project,
|
|
12824
12847
|
...r
|
|
12825
12848
|
});
|
|
12826
12849
|
}), e.addMatcher(gr.endpoints.editProject.matchFulfilled, (t, { payload: r }) => {
|
|
12827
12850
|
t.project?.id != null && t.project.id !== r.id || (t.project = {
|
|
12828
|
-
...
|
|
12851
|
+
...ta.project,
|
|
12829
12852
|
...r
|
|
12830
12853
|
});
|
|
12831
12854
|
}), e.addMatcher(He.endpoints.getTemplateEmails.matchFulfilled, (t, { payload: r, meta: n }) => {
|
|
@@ -12833,7 +12856,7 @@ The error may be correlated with this previous error:
|
|
|
12833
12856
|
o ? (t.groupsTemplateProjectTotal = +n.baseQueryMeta?.response.headers.get("X-WP-Total"), t.groupsTemplateProjectTotalPages = +n.baseQueryMeta?.response.headers.get("X-WP-TotalPages")) : t.groupsTemplateTotal = +n.baseQueryMeta?.response.headers.get("X-WP-Total");
|
|
12834
12857
|
});
|
|
12835
12858
|
}
|
|
12836
|
-
}), { setProject: Fv, setActiveGroupsTags: Uv, setActiveProjectGroupsTags: Hv, resetAllTags: Vv } = Hs.actions, Qv = (e) => e[ut].groupsTemplateProjectTotalPages,
|
|
12859
|
+
}), { setProject: Fv, setActiveGroupsTags: Uv, setActiveProjectGroupsTags: Hv, resetAllTags: Vv } = Hs.actions, Qv = (e) => e[ut].groupsTemplateProjectTotalPages, Tn = (e) => e[ut].project, zv = (e) => e[ut].activeGroupsTags, Kv = (e) => e[ut].groupsTemplateTotal, Wv = (e) => e[ut].project?.projects_test_emails, Xv = (e) => e[ut].activeProjectGroupsTags, Jv = (e) => e[ut].groupsTemplateProjectTotal;
|
|
12837
12860
|
function Sr({ id: e, post: t, parent: r, author: n, content: o, acf: { status: a, target_id: i }, ...u }) {
|
|
12838
12861
|
return {
|
|
12839
12862
|
...u,
|
|
@@ -12846,7 +12869,7 @@ The error may be correlated with this previous error:
|
|
|
12846
12869
|
comment_status: a
|
|
12847
12870
|
};
|
|
12848
12871
|
}
|
|
12849
|
-
var lt = "Comments",
|
|
12872
|
+
var lt = "Comments", Sn = _t({
|
|
12850
12873
|
reducerPath: "commentsApi",
|
|
12851
12874
|
tagTypes: [lt],
|
|
12852
12875
|
baseQuery: bt({ baseUrl: "https://app.emailmaker.ru/api/wp-json/wp/v2/" }),
|
|
@@ -12890,7 +12913,7 @@ The error may be correlated with this previous error:
|
|
|
12890
12913
|
}),
|
|
12891
12914
|
deleteComment: e.mutation({
|
|
12892
12915
|
queryFn(t, r) {
|
|
12893
|
-
return $(r).wp.comments_delete({ id: t }, {}).then(
|
|
12916
|
+
return $(r).wp.comments_delete({ id: t }, {}).then(hn(Sr));
|
|
12894
12917
|
},
|
|
12895
12918
|
invalidatesTags: [{
|
|
12896
12919
|
type: lt,
|
|
@@ -12923,12 +12946,12 @@ The error may be correlated with this previous error:
|
|
|
12923
12946
|
}]
|
|
12924
12947
|
})
|
|
12925
12948
|
})
|
|
12926
|
-
}), { useGetCommentsQuery: Yv, useAddCommentMutation: Zv, useDeleteCommentMutation: eg, useEditCommentMutation: tg, useDeleteTargetMutation: rg } =
|
|
12927
|
-
function
|
|
12949
|
+
}), { useGetCommentsQuery: Yv, useAddCommentMutation: Zv, useDeleteCommentMutation: eg, useEditCommentMutation: tg, useDeleteTargetMutation: rg } = Sn;
|
|
12950
|
+
function ra(e, t) {
|
|
12928
12951
|
if (t.length < e) throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
|
|
12929
12952
|
}
|
|
12930
12953
|
function ng(e) {
|
|
12931
|
-
|
|
12954
|
+
ra(1, arguments);
|
|
12932
12955
|
var t = Object.prototype.toString.call(e);
|
|
12933
12956
|
return e instanceof Date || It(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : new Date(NaN);
|
|
12934
12957
|
}
|
|
@@ -12944,7 +12967,7 @@ The error may be correlated with this previous error:
|
|
|
12944
12967
|
}
|
|
12945
12968
|
function Ks(e, t) {
|
|
12946
12969
|
var r;
|
|
12947
|
-
|
|
12970
|
+
ra(1, arguments);
|
|
12948
12971
|
var n = lg((r = t?.additionalDigits) !== null && r !== void 0 ? r : 2);
|
|
12949
12972
|
if (n !== 2 && n !== 1 && n !== 0) throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
12950
12973
|
if (!(typeof e == "string" || Object.prototype.toString.call(e) === "[object String]")) return new Date(NaN);
|
|
@@ -12964,16 +12987,16 @@ The error may be correlated with this previous error:
|
|
|
12964
12987
|
}
|
|
12965
12988
|
return new Date(u + s + l);
|
|
12966
12989
|
}
|
|
12967
|
-
var
|
|
12990
|
+
var Pn = {
|
|
12968
12991
|
dateTimeDelimiter: /[T ]/,
|
|
12969
12992
|
timeZoneDelimiter: /[Z ]/i,
|
|
12970
12993
|
timezone: /([Z+-].*)$/
|
|
12971
12994
|
}, cg = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, dg = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, fg = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
12972
12995
|
function pg(e) {
|
|
12973
|
-
var t = {}, r = e.split(
|
|
12996
|
+
var t = {}, r = e.split(Pn.dateTimeDelimiter), n;
|
|
12974
12997
|
if (r.length > 2) return t;
|
|
12975
|
-
if (/:/.test(r[0]) ? n = r[0] : (t.date = r[0], n = r[1],
|
|
12976
|
-
var o =
|
|
12998
|
+
if (/:/.test(r[0]) ? n = r[0] : (t.date = r[0], n = r[1], Pn.timeZoneDelimiter.test(t.date) && (t.date = e.split(Pn.timeZoneDelimiter)[0], n = e.substr(t.date.length, e.length))), n) {
|
|
12999
|
+
var o = Pn.timezone.exec(n);
|
|
12977
13000
|
o ? (t.time = n.replace(o[1], ""), t.timezone = o[1]) : t.time = n;
|
|
12978
13001
|
}
|
|
12979
13002
|
return t;
|
|
@@ -13005,10 +13028,10 @@ The error may be correlated with this previous error:
|
|
|
13005
13028
|
function yg(e) {
|
|
13006
13029
|
var t = e.match(dg);
|
|
13007
13030
|
if (!t) return NaN;
|
|
13008
|
-
var r =
|
|
13031
|
+
var r = na(t[1]), n = na(t[2]), o = na(t[3]);
|
|
13009
13032
|
return Tg(r, n, o) ? r * Qs + n * Vs + o * 1e3 : NaN;
|
|
13010
13033
|
}
|
|
13011
|
-
function
|
|
13034
|
+
function na(e) {
|
|
13012
13035
|
return e && parseFloat(e.replace(",", ".")) || 0;
|
|
13013
13036
|
}
|
|
13014
13037
|
function vg(e) {
|
|
@@ -13394,7 +13417,7 @@ The error may be correlated with this previous error:
|
|
|
13394
13417
|
k.length == 2 && k[1] != "" && (G = ":"), h.a.push(k.join(G));
|
|
13395
13418
|
}
|
|
13396
13419
|
}
|
|
13397
|
-
function
|
|
13420
|
+
function Dn(h) {
|
|
13398
13421
|
if (h.a.length == 0) throw Error("No fonts to load!");
|
|
13399
13422
|
if (h.c.indexOf("kit=") != -1) return h.c;
|
|
13400
13423
|
for (var T = h.a.length, q = [], I = 0; I < T; I++) q.push(h.a[I].replace(/ /g, "+"));
|
|
@@ -13475,7 +13498,7 @@ The error may be correlated with this previous error:
|
|
|
13475
13498
|
var T = new b(), q = this.c, I = new Gt(this.a.api, this.a.text), k = this.a.families;
|
|
13476
13499
|
Rr(I, k);
|
|
13477
13500
|
var G = new Re(k);
|
|
13478
|
-
yb(G), g(q,
|
|
13501
|
+
yb(G), g(q, Dn(I), S(T)), w(T, function() {
|
|
13479
13502
|
h(G.a, G.c, vb);
|
|
13480
13503
|
});
|
|
13481
13504
|
};
|
|
@@ -13527,10 +13550,10 @@ The error may be correlated with this previous error:
|
|
|
13527
13550
|
}, dt.a.c.google = function(h, T) {
|
|
13528
13551
|
return new xu(T, h);
|
|
13529
13552
|
};
|
|
13530
|
-
var
|
|
13553
|
+
var pa = { load: o(dt.load, dt) };
|
|
13531
13554
|
typeof define == "function" && define.amd ? define(function() {
|
|
13532
|
-
return
|
|
13533
|
-
}) : typeof t < "u" && t.exports ? t.exports =
|
|
13555
|
+
return pa;
|
|
13556
|
+
}) : typeof t < "u" && t.exports ? t.exports = pa : (window.WebFont = pa, window.WebFontConfig && dt.load(window.WebFontConfig));
|
|
13534
13557
|
})();
|
|
13535
13558
|
})), Og = me.__toESM(Pg()), Ag = (e, t) => {
|
|
13536
13559
|
const r = () => {
|
|
@@ -13554,7 +13577,7 @@ The error may be correlated with this previous error:
|
|
|
13554
13577
|
} catch {}
|
|
13555
13578
|
};
|
|
13556
13579
|
t ? setTimeout(r, t) : r();
|
|
13557
|
-
},
|
|
13580
|
+
}, On = () => {
|
|
13558
13581
|
const e = Gs();
|
|
13559
13582
|
return (0, M.useCallback)((t, r) => {
|
|
13560
13583
|
e.pushToGTM !== !1 && Ag(t, r);
|
|
@@ -13600,19 +13623,19 @@ The error may be correlated with this previous error:
|
|
|
13600
13623
|
"prevElem",
|
|
13601
13624
|
"floatBlocks",
|
|
13602
13625
|
"usedColors"
|
|
13603
|
-
]), Rg = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1_$2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2").toLowerCase(), Mg = (e) => Ig[e] ?? Rg(e),
|
|
13626
|
+
]), Rg = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1_$2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2").toLowerCase(), Mg = (e) => Ig[e] ?? Rg(e), oa = (e) => e.length > 100 ? e.slice(0, 100) : e, Lg = (e) => {
|
|
13604
13627
|
if (e == null) return null;
|
|
13605
13628
|
const t = typeof e;
|
|
13606
13629
|
if (t === "boolean" || t === "number") return e;
|
|
13607
|
-
if (t === "string") return
|
|
13630
|
+
if (t === "string") return oa(e);
|
|
13608
13631
|
if (t === "object") {
|
|
13609
13632
|
const r = e;
|
|
13610
13633
|
if ("value" in r) {
|
|
13611
13634
|
const n = typeof r.dim == "string" ? r.dim : "";
|
|
13612
|
-
return
|
|
13635
|
+
return oa(`${r.value === null || r.value === void 0 ? "" : String(r.value)}${n}`);
|
|
13613
13636
|
}
|
|
13614
13637
|
try {
|
|
13615
|
-
return
|
|
13638
|
+
return oa(JSON.stringify(r));
|
|
13616
13639
|
} catch {
|
|
13617
13640
|
return null;
|
|
13618
13641
|
}
|
|
@@ -13657,17 +13680,17 @@ The error may be correlated with this previous error:
|
|
|
13657
13680
|
return we.getOrCreateInstance(e, zt, () => new Ut());
|
|
13658
13681
|
}
|
|
13659
13682
|
function Gg() {
|
|
13660
|
-
const e =
|
|
13683
|
+
const e = An();
|
|
13661
13684
|
return (0, M.useCallback)((t) => {
|
|
13662
13685
|
e.setTarget(t instanceof Element ? t.contentWindow : t);
|
|
13663
13686
|
}, [e]);
|
|
13664
13687
|
}
|
|
13665
|
-
function
|
|
13688
|
+
function An() {
|
|
13666
13689
|
const e = ce();
|
|
13667
13690
|
return (0, M.useMemo)(() => Xs(e), [e]);
|
|
13668
13691
|
}
|
|
13669
13692
|
function Nt() {
|
|
13670
|
-
const e =
|
|
13693
|
+
const e = An(), t = On(), r = (0, M.useRef)(t);
|
|
13671
13694
|
r.current = t;
|
|
13672
13695
|
const n = (0, M.useRef)();
|
|
13673
13696
|
return n.current || (n.current = xg((o) => r.current(o))), (0, M.useCallback)(function(o) {
|
|
@@ -13675,12 +13698,12 @@ The error may be correlated with this previous error:
|
|
|
13675
13698
|
}, [e]);
|
|
13676
13699
|
}
|
|
13677
13700
|
function $g() {
|
|
13678
|
-
const e =
|
|
13701
|
+
const e = An();
|
|
13679
13702
|
return (0, M.useCallback)(function(t, r) {
|
|
13680
13703
|
e.send(t, r);
|
|
13681
13704
|
}, [e]);
|
|
13682
13705
|
}
|
|
13683
|
-
var Js = (0, M.createContext)({ element: void 0 }),
|
|
13706
|
+
var Js = (0, M.createContext)({ element: void 0 }), aa = () => (0, M.useContext)(Js)?.element, Ys = (0, M.createContext)(void 0), Bg = () => (0, M.useContext)(Ys), Zs = (0, M.createContext)(!1), Fg = () => (0, M.useContext)(Zs), eu = [
|
|
13684
13707
|
"title",
|
|
13685
13708
|
"slug",
|
|
13686
13709
|
"type",
|
|
@@ -13713,7 +13736,7 @@ The error may be correlated with this previous error:
|
|
|
13713
13736
|
"id",
|
|
13714
13737
|
"project",
|
|
13715
13738
|
"password"
|
|
13716
|
-
],
|
|
13739
|
+
], ia = new Set([
|
|
13717
13740
|
"html",
|
|
13718
13741
|
...eu,
|
|
13719
13742
|
"global_block",
|
|
@@ -13748,7 +13771,7 @@ The error may be correlated with this previous error:
|
|
|
13748
13771
|
"global_block"
|
|
13749
13772
|
]);
|
|
13750
13773
|
function tu(e, t) {
|
|
13751
|
-
return
|
|
13774
|
+
return ia.has(e) ? e === "html" ? typeof t == "string" : e === "meta" ? t != null && typeof t == "object" : e === "project" ? t != null : Hg.has(e) ? t != null && t !== "" : Vg.has(e) ? t != null : t !== void 0 : !1;
|
|
13752
13775
|
}
|
|
13753
13776
|
function ru(e) {
|
|
13754
13777
|
if (!e || typeof e != "object") return {};
|
|
@@ -13790,7 +13813,7 @@ The error may be correlated with this previous error:
|
|
|
13790
13813
|
}
|
|
13791
13814
|
function zg(e, t) {
|
|
13792
13815
|
var r, n;
|
|
13793
|
-
|
|
13816
|
+
ra(1, arguments);
|
|
13794
13817
|
var o = ng(e);
|
|
13795
13818
|
if (isNaN(o.getTime())) throw new RangeError("Invalid time value");
|
|
13796
13819
|
var a = String((r = t?.format) !== null && r !== void 0 ? r : "extended"), i = String((n = t?.representation) !== null && n !== void 0 ? n : "complete");
|
|
@@ -13816,37 +13839,37 @@ The error may be correlated with this previous error:
|
|
|
13816
13839
|
}
|
|
13817
13840
|
return u;
|
|
13818
13841
|
}
|
|
13819
|
-
function
|
|
13842
|
+
function sa(e) {
|
|
13820
13843
|
if (!e) return !1;
|
|
13821
13844
|
try {
|
|
13822
|
-
return we.getInstance(e,
|
|
13845
|
+
return we.getInstance(e, Un) !== void 0;
|
|
13823
13846
|
} catch {
|
|
13824
13847
|
return !1;
|
|
13825
13848
|
}
|
|
13826
13849
|
}
|
|
13827
13850
|
function Kg() {
|
|
13828
13851
|
const e = ce();
|
|
13829
|
-
return (0, M.useMemo)(() =>
|
|
13852
|
+
return (0, M.useMemo)(() => sa(e), [e]);
|
|
13830
13853
|
}
|
|
13831
13854
|
var Wg = "Invalid standaloneKey.", Xg = "not implemented", Jg = W("StandaloneMockGuard");
|
|
13832
|
-
function
|
|
13855
|
+
function ua() {
|
|
13833
13856
|
const e = new Error(Wg);
|
|
13834
13857
|
return e.name = "InvalidStandaloneKeyError", e;
|
|
13835
13858
|
}
|
|
13836
13859
|
function ou(e) {
|
|
13837
|
-
return
|
|
13860
|
+
return sa(re(e));
|
|
13838
13861
|
}
|
|
13839
13862
|
function Yg(e) {
|
|
13840
13863
|
return e instanceof Error ? e.name === "InvalidStandaloneKeyError" || e.message === "Invalid standaloneKey." || e.message === "not implemented" : e === Xg;
|
|
13841
13864
|
}
|
|
13842
13865
|
function au(e) {
|
|
13843
|
-
if (ou(e)) throw
|
|
13866
|
+
if (ou(e)) throw ua();
|
|
13844
13867
|
}
|
|
13845
13868
|
function Zg(e, t, r) {
|
|
13846
|
-
return r instanceof Error && r.name === "InvalidStandaloneKeyError" ? r :
|
|
13869
|
+
return r instanceof Error && r.name === "InvalidStandaloneKeyError" ? r : ua();
|
|
13847
13870
|
}
|
|
13848
13871
|
var e_ = () => () => {
|
|
13849
|
-
throw
|
|
13872
|
+
throw ua();
|
|
13850
13873
|
};
|
|
13851
13874
|
function t_(e) {
|
|
13852
13875
|
const t = re(e);
|
|
@@ -14090,12 +14113,12 @@ The error may be correlated with this previous error:
|
|
|
14090
14113
|
return (t) => we.getOrCreateInstance(t, e, () => new s_());
|
|
14091
14114
|
}
|
|
14092
14115
|
function Ar(e) {
|
|
14093
|
-
const t = we.getInstance(e,
|
|
14116
|
+
const t = we.getInstance(e, Fn);
|
|
14094
14117
|
if (!t) throw new Error("Failed");
|
|
14095
14118
|
return t;
|
|
14096
14119
|
}
|
|
14097
14120
|
function jr(e) {
|
|
14098
|
-
const t = we.getInstance(e,
|
|
14121
|
+
const t = we.getInstance(e, Ma);
|
|
14099
14122
|
if (!t) throw new Error("Failed");
|
|
14100
14123
|
return t;
|
|
14101
14124
|
}
|
|
@@ -14152,7 +14175,7 @@ The error may be correlated with this previous error:
|
|
|
14152
14175
|
};
|
|
14153
14176
|
}
|
|
14154
14177
|
var cu = new Set();
|
|
14155
|
-
function
|
|
14178
|
+
function jn(e) {
|
|
14156
14179
|
return (t, r) => {
|
|
14157
14180
|
const n = Object.create(null), o = Object.keys(r), a = new be();
|
|
14158
14181
|
for (const i of o) {
|
|
@@ -14169,8 +14192,8 @@ The error may be correlated with this previous error:
|
|
|
14169
14192
|
}
|
|
14170
14193
|
var du = Or();
|
|
14171
14194
|
function p_(e) {
|
|
14172
|
-
const t =
|
|
14173
|
-
jr(e).addDisposable(r.onChange(() => o(
|
|
14195
|
+
const t = jn(e), r = du(e), n = r.byForeignKey("post"), { dispatch: o } = Ar(e);
|
|
14196
|
+
jr(e).addDisposable(r.onChange(() => o(Sn.util.invalidateTags(["Comments"])))), t(Sn, {
|
|
14174
14197
|
getComments(a) {
|
|
14175
14198
|
return n.get(a).then(({ data: i }) => i);
|
|
14176
14199
|
},
|
|
@@ -14202,7 +14225,7 @@ The error may be correlated with this previous error:
|
|
|
14202
14225
|
function fu(e) {
|
|
14203
14226
|
return W(e);
|
|
14204
14227
|
}
|
|
14205
|
-
function
|
|
14228
|
+
function Cn(e, t) {
|
|
14206
14229
|
return re(e).getOrCreateInstance(t, () => new Qe());
|
|
14207
14230
|
}
|
|
14208
14231
|
function m_(e, t) {
|
|
@@ -14213,9 +14236,9 @@ The error may be correlated with this previous error:
|
|
|
14213
14236
|
}
|
|
14214
14237
|
function pu(e) {
|
|
14215
14238
|
const t = ce();
|
|
14216
|
-
return (0, M.useMemo)(() =>
|
|
14239
|
+
return (0, M.useMemo)(() => Cn(t, e), [t, e]);
|
|
14217
14240
|
}
|
|
14218
|
-
function
|
|
14241
|
+
function la(e) {
|
|
14219
14242
|
return Object.prototype.hasOwnProperty.call(e, "meta");
|
|
14220
14243
|
}
|
|
14221
14244
|
function mu(e, t) {
|
|
@@ -14226,7 +14249,7 @@ The error may be correlated with this previous error:
|
|
|
14226
14249
|
}, r);
|
|
14227
14250
|
}
|
|
14228
14251
|
function hu(e, t, r) {
|
|
14229
|
-
return e && !
|
|
14252
|
+
return e && !la(t) && la(e) ? {
|
|
14230
14253
|
...r,
|
|
14231
14254
|
meta: e.meta
|
|
14232
14255
|
} : r;
|
|
@@ -14243,7 +14266,7 @@ The error may be correlated with this previous error:
|
|
|
14243
14266
|
return n(o);
|
|
14244
14267
|
}
|
|
14245
14268
|
function y_(e) {
|
|
14246
|
-
const t =
|
|
14269
|
+
const t = jn(e), r = yu(e), n = r.byForeignKey("project"), o = vu(e), a = o.byForeignKey("parent"), { dispatch: i, getState: u } = Ar(e), s = jr(e);
|
|
14247
14270
|
s.addDisposable(r.onChange(() => i(Tr.util.invalidateTags(["Blocks"])))), s.addDisposable(r.onSave(({ prev: d, patch: p, value: m }) => {
|
|
14248
14271
|
const g = d ? {
|
|
14249
14272
|
...d,
|
|
@@ -14255,7 +14278,7 @@ The error may be correlated with this previous error:
|
|
|
14255
14278
|
renderGuid: g.renderGuid
|
|
14256
14279
|
}), _;
|
|
14257
14280
|
}, Number.MIN_VALUE));
|
|
14258
|
-
const l =
|
|
14281
|
+
const l = Cn(e, _u), f = Cn(e, gu);
|
|
14259
14282
|
t(Tr, {
|
|
14260
14283
|
async getBlocks(d) {
|
|
14261
14284
|
const p = {};
|
|
@@ -14329,7 +14352,7 @@ The error may be correlated with this previous error:
|
|
|
14329
14352
|
}
|
|
14330
14353
|
var wu = Or(), Tu = Or();
|
|
14331
14354
|
function v_(e) {
|
|
14332
|
-
const t = wu(e), r = Tu(e), n = r.byForeignKey("parent"), { dispatch: o, getState: a } = Ar(e), i = jr(e), u =
|
|
14355
|
+
const t = wu(e), r = Tu(e), n = r.byForeignKey("parent"), { dispatch: o, getState: a } = Ar(e), i = jr(e), u = jn(e);
|
|
14333
14356
|
i.addDisposable(t.onChange(async () => {
|
|
14334
14357
|
o(He.util.invalidateTags(["Email"]));
|
|
14335
14358
|
})), i.addDisposable(r.onChange(() => {
|
|
@@ -14396,7 +14419,7 @@ The error may be correlated with this previous error:
|
|
|
14396
14419
|
function g_(e) {
|
|
14397
14420
|
return !e.hasOwnProperty("email") && !e.hasOwnProperty("block") && !e.hasOwnProperty("templateId");
|
|
14398
14421
|
}
|
|
14399
|
-
function
|
|
14422
|
+
function In(e) {
|
|
14400
14423
|
return {
|
|
14401
14424
|
emails: wu(e),
|
|
14402
14425
|
blocks: yu(e),
|
|
@@ -14406,7 +14429,7 @@ The error may be correlated with this previous error:
|
|
|
14406
14429
|
};
|
|
14407
14430
|
}
|
|
14408
14431
|
function __(e) {
|
|
14409
|
-
const t = Object.values(
|
|
14432
|
+
const t = Object.values(In(e));
|
|
14410
14433
|
return {
|
|
14411
14434
|
suspendChange() {
|
|
14412
14435
|
t.forEach((r) => r.suspendChange());
|
|
@@ -14422,19 +14445,19 @@ The error may be correlated with this previous error:
|
|
|
14422
14445
|
email: typeof e.email == "string" ? { code: e.email } : e.email || {}
|
|
14423
14446
|
};
|
|
14424
14447
|
}
|
|
14425
|
-
var
|
|
14448
|
+
var ca = new WeakMap(), E_ = 32;
|
|
14426
14449
|
function w_(e) {
|
|
14427
14450
|
return { ...e };
|
|
14428
14451
|
}
|
|
14429
14452
|
function Su(e) {
|
|
14430
|
-
let t =
|
|
14453
|
+
let t = ca.get(e);
|
|
14431
14454
|
return t || (t = {
|
|
14432
14455
|
byId: new Map(),
|
|
14433
14456
|
fallback: []
|
|
14434
|
-
},
|
|
14457
|
+
}, ca.set(e, t)), t;
|
|
14435
14458
|
}
|
|
14436
14459
|
function T_(e) {
|
|
14437
|
-
|
|
14460
|
+
ca.delete(e);
|
|
14438
14461
|
}
|
|
14439
14462
|
function Pu(e, t) {
|
|
14440
14463
|
const { byId: r, fallback: n } = Su(t), o = w_(e);
|
|
@@ -14457,7 +14480,7 @@ The error may be correlated with this previous error:
|
|
|
14457
14480
|
}
|
|
14458
14481
|
}
|
|
14459
14482
|
async function P_(e, t) {
|
|
14460
|
-
const { blocks: r } =
|
|
14483
|
+
const { blocks: r } = In(e);
|
|
14461
14484
|
return await r.cache.getIfPresent(t) ?? void 0;
|
|
14462
14485
|
}
|
|
14463
14486
|
async function O_(e, t) {
|
|
@@ -14467,19 +14490,19 @@ The error may be correlated with this previous error:
|
|
|
14467
14490
|
}
|
|
14468
14491
|
async function A_(e, t) {
|
|
14469
14492
|
const r = S_(e, t);
|
|
14470
|
-
if (r) return
|
|
14493
|
+
if (r) return $n(e, r);
|
|
14471
14494
|
const n = await O_(t, e);
|
|
14472
|
-
return n ?
|
|
14495
|
+
return n ? $n(e, n) : $n(e, void 0);
|
|
14473
14496
|
}
|
|
14474
14497
|
function j_(e) {
|
|
14475
14498
|
if (!e) return {};
|
|
14476
14499
|
const t = {};
|
|
14477
|
-
for (const r of Object.keys(e))
|
|
14500
|
+
for (const r of Object.keys(e)) ia.has(r) && tu(r, e[r]) && (t[r] = e[r]);
|
|
14478
14501
|
return t;
|
|
14479
14502
|
}
|
|
14480
14503
|
function Ou(e) {
|
|
14481
14504
|
const t = {}, r = e;
|
|
14482
|
-
for (const n of
|
|
14505
|
+
for (const n of ia) {
|
|
14483
14506
|
if (!(n in r)) continue;
|
|
14484
14507
|
const o = r[n];
|
|
14485
14508
|
if (tu(n, o)) {
|
|
@@ -14515,18 +14538,18 @@ The error may be correlated with this previous error:
|
|
|
14515
14538
|
if (!n) return;
|
|
14516
14539
|
const o = Ou(t), a = Ou(r);
|
|
14517
14540
|
if (er(o, a)) return;
|
|
14518
|
-
const { blocks: i } =
|
|
14541
|
+
const { blocks: i } = In(e);
|
|
14519
14542
|
await i.cache.addOrUpdate(n, (u) => u && C_(u, a));
|
|
14520
14543
|
}
|
|
14521
|
-
var
|
|
14544
|
+
var da = "elama_user";
|
|
14522
14545
|
function I_(e) {
|
|
14523
14546
|
try {
|
|
14524
|
-
e ? localStorage.setItem(
|
|
14547
|
+
e ? localStorage.setItem(da, "true") : localStorage.removeItem(da);
|
|
14525
14548
|
} catch {}
|
|
14526
14549
|
}
|
|
14527
14550
|
function D_() {
|
|
14528
14551
|
try {
|
|
14529
|
-
return localStorage.getItem(
|
|
14552
|
+
return localStorage.getItem(da) === "true";
|
|
14530
14553
|
} catch {
|
|
14531
14554
|
return !1;
|
|
14532
14555
|
}
|
|
@@ -14598,7 +14621,7 @@ The error may be correlated with this previous error:
|
|
|
14598
14621
|
return e;
|
|
14599
14622
|
}
|
|
14600
14623
|
var Iu = /<title>([\s\S]*?)<\/title>/gim;
|
|
14601
|
-
function
|
|
14624
|
+
function fa(e) {
|
|
14602
14625
|
return e == null ? "" : String(e).replace(/\s+/g, " ").trim();
|
|
14603
14626
|
}
|
|
14604
14627
|
var G_ = (e, t) => {
|
|
@@ -14609,8 +14632,8 @@ The error may be correlated with this previous error:
|
|
|
14609
14632
|
]);
|
|
14610
14633
|
return n = n.replaceAll(Iu, (o, a) => {
|
|
14611
14634
|
if (t == null) return o;
|
|
14612
|
-
const i =
|
|
14613
|
-
return i ===
|
|
14635
|
+
const i = fa(a);
|
|
14636
|
+
return i === fa(t) ? `<title>${ju(i)}</title>` : o;
|
|
14614
14637
|
}), x_(n, r.reverse());
|
|
14615
14638
|
};
|
|
14616
14639
|
function $_(e) {
|
|
@@ -14619,7 +14642,7 @@ The error may be correlated with this previous error:
|
|
|
14619
14642
|
["<script.*?>", "<\\/script>"],
|
|
14620
14643
|
["<\\!--", "-->"]
|
|
14621
14644
|
]);
|
|
14622
|
-
return [...t.matchAll(Iu)].map((r) =>
|
|
14645
|
+
return [...t.matchAll(Iu)].map((r) => fa(r[1])).find((r) => !!r);
|
|
14623
14646
|
}
|
|
14624
14647
|
var Du = "ascend", qu = "asc", Ru = "descend", Mu = "desc", B_ = (e) => {
|
|
14625
14648
|
switch (e) {
|
|
@@ -14659,7 +14682,7 @@ The error may be correlated with this previous error:
|
|
|
14659
14682
|
}), z_ = (e, t) => {
|
|
14660
14683
|
t && e(t);
|
|
14661
14684
|
}, K_ = () => {
|
|
14662
|
-
const e = Nt(), t =
|
|
14685
|
+
const e = Nt(), t = aa(), r = ce(), { projectId: n } = (0, qn.useParams)(), o = gt(Tn);
|
|
14663
14686
|
return (0, M.useCallback)(async (a, i, u, s, l) => {
|
|
14664
14687
|
t.querySelectorAll(".block-search__preview").forEach((v) => v.remove());
|
|
14665
14688
|
const f = t.querySelector("#iframe-scroll-top"), d = t.querySelector("#iframe-scroll-bottom"), p = t.querySelector("#email_iframe"), m = document.body.getBoundingClientRect().height, g = p.getClientRects()[0];
|
|
@@ -14670,7 +14693,7 @@ The error may be correlated with this previous error:
|
|
|
14670
14693
|
fragmentRole: _,
|
|
14671
14694
|
name: s,
|
|
14672
14695
|
project: S
|
|
14673
|
-
}), O = await
|
|
14696
|
+
}), O = await Sa(b, { ...w });
|
|
14674
14697
|
await Au(b, w, O), Pu(O, b);
|
|
14675
14698
|
const y = O.project !== void 0 && O.project !== null ? String(O.project) : String(S ?? ""), E = {
|
|
14676
14699
|
operation: mt.SANDBOX_BLOCK_INSERT,
|
|
@@ -14692,12 +14715,12 @@ The error may be correlated with this previous error:
|
|
|
14692
14715
|
o
|
|
14693
14716
|
]);
|
|
14694
14717
|
}, W_ = () => {
|
|
14695
|
-
const e = Nt(), t =
|
|
14718
|
+
const e = Nt(), t = aa(), r = ce();
|
|
14696
14719
|
return (0, M.useCallback)(async (n, o, a) => {
|
|
14697
14720
|
if (!a(o)) return;
|
|
14698
14721
|
const i = t.querySelector("#iframe-scroll-top"), u = t.querySelector("#iframe-scroll-bottom"), s = t.querySelector("#email_iframe"), l = document.body.getBoundingClientRect().height, f = s.getClientRects()[0];
|
|
14699
14722
|
f.top < 0 && (i.style.display = "block"), f.top + f.height > l && (u.style.display = "block");
|
|
14700
|
-
const d = await
|
|
14723
|
+
const d = await Ta(re(r), {
|
|
14701
14724
|
name: o?.name ?? "",
|
|
14702
14725
|
className: o?.className ?? "",
|
|
14703
14726
|
html: o?.html ?? ""
|
|
@@ -14716,7 +14739,7 @@ The error may be correlated with this previous error:
|
|
|
14716
14739
|
r
|
|
14717
14740
|
]);
|
|
14718
14741
|
}, X_ = () => {
|
|
14719
|
-
const e = Nt(), t =
|
|
14742
|
+
const e = Nt(), t = On(), { emailId: r, blockId: n, projectId: o } = (0, qn.useParams)(), a = gt(Tn), i = ce();
|
|
14720
14743
|
return (0, M.useCallback)(async (u, s, l, f, d) => {
|
|
14721
14744
|
const p = l === "project" || l === "template" || l === "common" ? "block" : "structure", m = p === "block" ? f || l || "block" : f || l || "structure", g = p === "block" ? "block" : "structure", _ = re(i), b = a?.id ?? o, S = nu(d, {
|
|
14722
14745
|
html: s || "",
|
|
@@ -14724,7 +14747,7 @@ The error may be correlated with this previous error:
|
|
|
14724
14747
|
fragmentRole: g,
|
|
14725
14748
|
name: m,
|
|
14726
14749
|
project: b
|
|
14727
|
-
}), w = await
|
|
14750
|
+
}), w = await Sa(_, { ...S });
|
|
14728
14751
|
await Au(_, S, w), Pu(w, _);
|
|
14729
14752
|
const O = w.project !== void 0 && w.project !== null ? String(w.project) : String(b ?? "");
|
|
14730
14753
|
e({
|
|
@@ -14755,9 +14778,9 @@ The error may be correlated with this previous error:
|
|
|
14755
14778
|
i
|
|
14756
14779
|
]);
|
|
14757
14780
|
}, J_ = () => {
|
|
14758
|
-
const e = Nt(), t =
|
|
14781
|
+
const e = Nt(), t = On(), { emailId: r, blockId: n, projectId: o } = (0, qn.useParams)(), a = gt(Tn), i = ce();
|
|
14759
14782
|
return (0, M.useCallback)(async (u, s) => {
|
|
14760
|
-
const l = await
|
|
14783
|
+
const l = await Ta(re(i), {
|
|
14761
14784
|
name: s?.name ?? "",
|
|
14762
14785
|
className: s?.className ?? "",
|
|
14763
14786
|
html: s?.html ?? ""
|
|
@@ -14834,7 +14857,7 @@ The error may be correlated with this previous error:
|
|
|
14834
14857
|
currentSchema: {},
|
|
14835
14858
|
monacoOptions: Dd,
|
|
14836
14859
|
monacoDidMount: !1
|
|
14837
|
-
}, wt = "userSlice", ku =
|
|
14860
|
+
}, wt = "userSlice", ku = Zr("user/setMonacoOptions", async (e, { getState: t }) => {
|
|
14838
14861
|
const r = t()[wt], n = typeof e.font_family == "string" ? `${e.font_family}, sans-serif` : void 0, o = e.word_wrap !== void 0 ? e.word_wrap ? "on" : "off" : void 0;
|
|
14839
14862
|
return n && r.monacoOptions.fontFamily !== n && await Q_(e.font_family), {
|
|
14840
14863
|
tabSize: e.tab_size,
|
|
@@ -14883,7 +14906,7 @@ The error may be correlated with this previous error:
|
|
|
14883
14906
|
Object.defineProperty(c, "ADVANCED_SETTINGS_PANEL", {
|
|
14884
14907
|
enumerable: !0,
|
|
14885
14908
|
get: function() {
|
|
14886
|
-
return
|
|
14909
|
+
return Aa;
|
|
14887
14910
|
}
|
|
14888
14911
|
}), Object.defineProperty(c, "AICHAT", {
|
|
14889
14912
|
enumerable: !0,
|
|
@@ -14953,7 +14976,7 @@ The error may be correlated with this previous error:
|
|
|
14953
14976
|
}), Object.defineProperty(c, "BUILD", {
|
|
14954
14977
|
enumerable: !0,
|
|
14955
14978
|
get: function() {
|
|
14956
|
-
return
|
|
14979
|
+
return ro;
|
|
14957
14980
|
}
|
|
14958
14981
|
}), Object.defineProperty(c, "CARDS", {
|
|
14959
14982
|
enumerable: !0,
|
|
@@ -14975,6 +14998,11 @@ The error may be correlated with this previous error:
|
|
|
14975
14998
|
get: function() {
|
|
14976
14999
|
return Hl;
|
|
14977
15000
|
}
|
|
15001
|
+
}), Object.defineProperty(c, "CUSTOM_FETCH_ID", {
|
|
15002
|
+
enumerable: !0,
|
|
15003
|
+
get: function() {
|
|
15004
|
+
return Ur;
|
|
15005
|
+
}
|
|
14978
15006
|
}), Object.defineProperty(c, "Container", {
|
|
14979
15007
|
enumerable: !0,
|
|
14980
15008
|
get: function() {
|
|
@@ -14998,7 +15026,7 @@ The error may be correlated with this previous error:
|
|
|
14998
15026
|
}), Object.defineProperty(c, "DESKTOP", {
|
|
14999
15027
|
enumerable: !0,
|
|
15000
15028
|
get: function() {
|
|
15001
|
-
return
|
|
15029
|
+
return no;
|
|
15002
15030
|
}
|
|
15003
15031
|
}), Object.defineProperty(c, "DISABLED_TAB", {
|
|
15004
15032
|
enumerable: !0,
|
|
@@ -15013,7 +15041,7 @@ The error may be correlated with this previous error:
|
|
|
15013
15041
|
}), Object.defineProperty(c, "DISPOSABLE_ID", {
|
|
15014
15042
|
enumerable: !0,
|
|
15015
15043
|
get: function() {
|
|
15016
|
-
return
|
|
15044
|
+
return Ma;
|
|
15017
15045
|
}
|
|
15018
15046
|
}), Object.defineProperty(c, "DND_SOCIAL_LIST_REORDER_MIME", {
|
|
15019
15047
|
enumerable: !0,
|
|
@@ -15088,7 +15116,7 @@ The error may be correlated with this previous error:
|
|
|
15088
15116
|
}), Object.defineProperty(c, "HANDLE_ATOM_INSERT_ID", {
|
|
15089
15117
|
enumerable: !0,
|
|
15090
15118
|
get: function() {
|
|
15091
|
-
return
|
|
15119
|
+
return Oa;
|
|
15092
15120
|
}
|
|
15093
15121
|
}), Object.defineProperty(c, "HISTORY", {
|
|
15094
15122
|
enumerable: !0,
|
|
@@ -15153,17 +15181,17 @@ The error may be correlated with this previous error:
|
|
|
15153
15181
|
}), Object.defineProperty(c, "MODAL_CLOSE_EVENT", {
|
|
15154
15182
|
enumerable: !0,
|
|
15155
15183
|
get: function() {
|
|
15156
|
-
return
|
|
15184
|
+
return Ca;
|
|
15157
15185
|
}
|
|
15158
15186
|
}), Object.defineProperty(c, "MODAL_SHOW_EVENT", {
|
|
15159
15187
|
enumerable: !0,
|
|
15160
15188
|
get: function() {
|
|
15161
|
-
return
|
|
15189
|
+
return ja;
|
|
15162
15190
|
}
|
|
15163
15191
|
}), Object.defineProperty(c, "MODAL_UPDATE_EVENT", {
|
|
15164
15192
|
enumerable: !0,
|
|
15165
15193
|
get: function() {
|
|
15166
|
-
return
|
|
15194
|
+
return Ia;
|
|
15167
15195
|
}
|
|
15168
15196
|
}), Object.defineProperty(c, "MessageService", {
|
|
15169
15197
|
enumerable: !0,
|
|
@@ -15233,7 +15261,7 @@ The error may be correlated with this previous error:
|
|
|
15233
15261
|
}), Object.defineProperty(c, "RACS", {
|
|
15234
15262
|
enumerable: !0,
|
|
15235
15263
|
get: function() {
|
|
15236
|
-
return
|
|
15264
|
+
return to;
|
|
15237
15265
|
}
|
|
15238
15266
|
}), Object.defineProperty(c, "READ_COMMON_BLOCKS_EVENT_ID", {
|
|
15239
15267
|
enumerable: !0,
|
|
@@ -15288,7 +15316,7 @@ The error may be correlated with this previous error:
|
|
|
15288
15316
|
}), Object.defineProperty(c, "SECURITY_MODULE_ID", {
|
|
15289
15317
|
enumerable: !0,
|
|
15290
15318
|
get: function() {
|
|
15291
|
-
return
|
|
15319
|
+
return Un;
|
|
15292
15320
|
}
|
|
15293
15321
|
}), Object.defineProperty(c, "SETTINGS", {
|
|
15294
15322
|
enumerable: !0,
|
|
@@ -15298,7 +15326,7 @@ The error may be correlated with this previous error:
|
|
|
15298
15326
|
}), Object.defineProperty(c, "SETTINGS_PANEL_EVENT", {
|
|
15299
15327
|
enumerable: !0,
|
|
15300
15328
|
get: function() {
|
|
15301
|
-
return
|
|
15329
|
+
return Ln;
|
|
15302
15330
|
}
|
|
15303
15331
|
}), Object.defineProperty(c, "STANDALONE_BOOTSTRAP_TOKEN_ID", {
|
|
15304
15332
|
enumerable: !0,
|
|
@@ -15313,12 +15341,12 @@ The error may be correlated with this previous error:
|
|
|
15313
15341
|
}), Object.defineProperty(c, "STORAGE_PROVIDER_ID", {
|
|
15314
15342
|
enumerable: !0,
|
|
15315
15343
|
get: function() {
|
|
15316
|
-
return
|
|
15344
|
+
return La;
|
|
15317
15345
|
}
|
|
15318
15346
|
}), Object.defineProperty(c, "STORE_ID", {
|
|
15319
15347
|
enumerable: !0,
|
|
15320
15348
|
get: function() {
|
|
15321
|
-
return
|
|
15349
|
+
return Fn;
|
|
15322
15350
|
}
|
|
15323
15351
|
}), Object.defineProperty(c, "STRUCTURE", {
|
|
15324
15352
|
enumerable: !0,
|
|
@@ -15388,7 +15416,7 @@ The error may be correlated with this previous error:
|
|
|
15388
15416
|
}), Object.defineProperty(c, "WpUserToUser", {
|
|
15389
15417
|
enumerable: !0,
|
|
15390
15418
|
get: function() {
|
|
15391
|
-
return
|
|
15419
|
+
return En;
|
|
15392
15420
|
}
|
|
15393
15421
|
}), Object.defineProperty(c, "api", {
|
|
15394
15422
|
enumerable: !0,
|
|
@@ -15463,7 +15491,7 @@ The error may be correlated with this previous error:
|
|
|
15463
15491
|
}), Object.defineProperty(c, "combineReducers", {
|
|
15464
15492
|
enumerable: !0,
|
|
15465
15493
|
get: function() {
|
|
15466
|
-
return
|
|
15494
|
+
return _o;
|
|
15467
15495
|
}
|
|
15468
15496
|
}), Object.defineProperty(c, "comingSoonHandler", {
|
|
15469
15497
|
enumerable: !0,
|
|
@@ -15473,7 +15501,7 @@ The error may be correlated with this previous error:
|
|
|
15473
15501
|
}), Object.defineProperty(c, "commentsApi", {
|
|
15474
15502
|
enumerable: !0,
|
|
15475
15503
|
get: function() {
|
|
15476
|
-
return
|
|
15504
|
+
return Sn;
|
|
15477
15505
|
}
|
|
15478
15506
|
}), Object.defineProperty(c, "commentsApiMock", {
|
|
15479
15507
|
enumerable: !0,
|
|
@@ -15588,7 +15616,7 @@ The error may be correlated with this previous error:
|
|
|
15588
15616
|
}), Object.defineProperty(c, "events", {
|
|
15589
15617
|
enumerable: !0,
|
|
15590
15618
|
get: function() {
|
|
15591
|
-
return
|
|
15619
|
+
return Bn;
|
|
15592
15620
|
}
|
|
15593
15621
|
}), Object.defineProperty(c, "expandShowOptions", {
|
|
15594
15622
|
enumerable: !0,
|
|
@@ -15668,7 +15696,7 @@ The error may be correlated with this previous error:
|
|
|
15668
15696
|
}), Object.defineProperty(c, "getDataSources", {
|
|
15669
15697
|
enumerable: !0,
|
|
15670
15698
|
get: function() {
|
|
15671
|
-
return
|
|
15699
|
+
return In;
|
|
15672
15700
|
}
|
|
15673
15701
|
}), Object.defineProperty(c, "getDisposable", {
|
|
15674
15702
|
enumerable: !0,
|
|
@@ -15678,7 +15706,7 @@ The error may be correlated with this previous error:
|
|
|
15678
15706
|
}), Object.defineProperty(c, "getEmitter", {
|
|
15679
15707
|
enumerable: !0,
|
|
15680
15708
|
get: function() {
|
|
15681
|
-
return
|
|
15709
|
+
return Cn;
|
|
15682
15710
|
}
|
|
15683
15711
|
}), Object.defineProperty(c, "getEmitter$1", {
|
|
15684
15712
|
enumerable: !0,
|
|
@@ -15713,7 +15741,7 @@ The error may be correlated with this previous error:
|
|
|
15713
15741
|
}), Object.defineProperty(c, "getOverrideApiFn", {
|
|
15714
15742
|
enumerable: !0,
|
|
15715
15743
|
get: function() {
|
|
15716
|
-
return
|
|
15744
|
+
return jn;
|
|
15717
15745
|
}
|
|
15718
15746
|
}), Object.defineProperty(c, "getProxiedUrl", {
|
|
15719
15747
|
enumerable: !0,
|
|
@@ -15768,7 +15796,7 @@ The error may be correlated with this previous error:
|
|
|
15768
15796
|
}), Object.defineProperty(c, "hasOwnMeta", {
|
|
15769
15797
|
enumerable: !0,
|
|
15770
15798
|
get: function() {
|
|
15771
|
-
return
|
|
15799
|
+
return la;
|
|
15772
15800
|
}
|
|
15773
15801
|
}), Object.defineProperty(c, "hoverHandler", {
|
|
15774
15802
|
enumerable: !0,
|
|
@@ -15798,7 +15826,12 @@ The error may be correlated with this previous error:
|
|
|
15798
15826
|
}), Object.defineProperty(c, "isStandaloneRuntime", {
|
|
15799
15827
|
enumerable: !0,
|
|
15800
15828
|
get: function() {
|
|
15801
|
-
return
|
|
15829
|
+
return sa;
|
|
15830
|
+
}
|
|
15831
|
+
}), Object.defineProperty(c, "isStateContainer", {
|
|
15832
|
+
enumerable: !0,
|
|
15833
|
+
get: function() {
|
|
15834
|
+
return Hn;
|
|
15802
15835
|
}
|
|
15803
15836
|
}), Object.defineProperty(c, "isTrialSubscriptionActive", {
|
|
15804
15837
|
enumerable: !0,
|
|
@@ -15833,7 +15866,7 @@ The error may be correlated with this previous error:
|
|
|
15833
15866
|
}), Object.defineProperty(c, "markContentReady", {
|
|
15834
15867
|
enumerable: !0,
|
|
15835
15868
|
get: function() {
|
|
15836
|
-
return
|
|
15869
|
+
return Fo;
|
|
15837
15870
|
}
|
|
15838
15871
|
}), Object.defineProperty(c, "markStandaloneMockGuardInstalled", {
|
|
15839
15872
|
enumerable: !0,
|
|
@@ -16113,7 +16146,7 @@ The error may be correlated with this previous error:
|
|
|
16113
16146
|
}), Object.defineProperty(c, "selectProject", {
|
|
16114
16147
|
enumerable: !0,
|
|
16115
16148
|
get: function() {
|
|
16116
|
-
return
|
|
16149
|
+
return Tn;
|
|
16117
16150
|
}
|
|
16118
16151
|
}), Object.defineProperty(c, "selectProjectGroups", {
|
|
16119
16152
|
enumerable: !0,
|
|
@@ -16408,7 +16441,7 @@ The error may be correlated with this previous error:
|
|
|
16408
16441
|
}), Object.defineProperty(c, "taxonomiesApi", {
|
|
16409
16442
|
enumerable: !0,
|
|
16410
16443
|
get: function() {
|
|
16411
|
-
return
|
|
16444
|
+
return Uo;
|
|
16412
16445
|
}
|
|
16413
16446
|
}), Object.defineProperty(c, "transformListResponseFn", {
|
|
16414
16447
|
enumerable: !0,
|
|
@@ -16688,7 +16721,7 @@ The error may be correlated with this previous error:
|
|
|
16688
16721
|
}), Object.defineProperty(c, "useMessageService", {
|
|
16689
16722
|
enumerable: !0,
|
|
16690
16723
|
get: function() {
|
|
16691
|
-
return
|
|
16724
|
+
return An;
|
|
16692
16725
|
}
|
|
16693
16726
|
}), Object.defineProperty(c, "useModalRootElement", {
|
|
16694
16727
|
enumerable: !0,
|
|
@@ -16698,7 +16731,7 @@ The error may be correlated with this previous error:
|
|
|
16698
16731
|
}), Object.defineProperty(c, "usePushToDataLayer", {
|
|
16699
16732
|
enumerable: !0,
|
|
16700
16733
|
get: function() {
|
|
16701
|
-
return
|
|
16734
|
+
return On;
|
|
16702
16735
|
}
|
|
16703
16736
|
}), Object.defineProperty(c, "useRestClient", {
|
|
16704
16737
|
enumerable: !0,
|
|
@@ -16708,7 +16741,7 @@ The error may be correlated with this previous error:
|
|
|
16708
16741
|
}), Object.defineProperty(c, "useRootElement", {
|
|
16709
16742
|
enumerable: !0,
|
|
16710
16743
|
get: function() {
|
|
16711
|
-
return
|
|
16744
|
+
return aa;
|
|
16712
16745
|
}
|
|
16713
16746
|
}), Object.defineProperty(c, "useSelector", {
|
|
16714
16747
|
enumerable: !0,
|