@emailmaker/emailmaker 1.1.53 → 1.1.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{emailmaker-core.2cbaea2b.js → emailmaker-core.80c7793f.js} +6 -6
- package/emailmaker-esm.js +298 -338
- package/emailmaker.js +62 -147
- package/iframe/js/amp.V09Q6hy6.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.js +1 -1
- package/iframe/js/rules.B-wCbIo7.js +1 -1
- package/npm-publish.manifest.json +7 -7
- package/package.json +1 -7
- package/runtime/THIRD_PARTY_LICENSES.txt +0 -235
- package/runtime/index.js +0 -2
- package/runtime/package.json +0 -6
- package/runtime/plugin-dev-manifest.json +0 -4
- package/singlepage_headless_plugin.html +1 -1
- package/static/core/100f1a1f.js +3150 -0
- package/static/core/{7e999d72.js → 116ebe97.js} +13 -13
- package/static/core/{3723b7392.js → 17f94ad52.js} +2 -2
- package/static/core/{cc1487fb.js → 270ea1f0.js} +3 -3
- package/static/core/{f903e0b02.js → 3b0afd352.js} +17 -17
- package/static/core/{57d41489.js → 41907e94.js} +334 -323
- package/static/core/{9f0a0813.js → 478adc67.js} +26 -8
- package/static/core/{b3475019.js → 4de323c6.js} +3 -3
- package/static/core/{51d702ff2.js → 54db7dc92.js} +3 -3
- package/static/core/{97d77f4b.js → 5761661e.js} +5 -5
- package/static/core/{704587a1.js → 60b14e0c.js} +17 -17
- package/static/core/{7f43dc55.js → 6bc4ff83.js} +10 -10
- package/static/core/{4a0c3723.js → 6dcd0dc9.js} +25 -25
- package/static/core/{9e5fd9cd.js → 7515f9852.js} +1 -1
- package/static/core/{d745f656.js → 76f8b642.js} +1019 -1032
- package/static/core/{1ce9dbcd2.js → 86a167002.js} +4 -4
- package/static/core/{54619353.js → 86ef0d53.js} +7 -7
- package/static/core/{10ac6936.js → 87d6fa75.js} +5 -5
- package/static/core/8a4486b0.js +761 -0
- package/static/core/{83b6ffb1.js → 8c887aba.js} +12606 -12580
- package/static/core/{4f1afec5.js → 916b241e.js} +247 -250
- package/static/core/{c4f07357.js → 95fcea69.js} +5 -5
- package/static/core/{956da3cd.js → 99b9545a.js} +9096 -9074
- package/static/core/{b6536443.js → 9be94d262.js} +1 -1
- package/static/core/{d858c4102.js → aa8e5c1c2.js} +3 -3
- package/static/core/{51134c092.js → afd04ca42.js} +4 -4
- package/static/core/{61a44678.js → b654a72e.js} +6491 -4930
- package/static/core/{c46c4a1e2.js → b6cc5b522.js} +4 -4
- package/static/core/c6089a51.js +466 -0
- package/static/core/{927ea89f2.js → d7506406.js} +1 -1
- package/static/core/{d6b9ee5f2.js → d76199d02.js} +15 -15
- package/static/core/{abb0338c.js → d89e1015.js} +90 -90
- package/static/core/{b768aab6.js → e57264b8.js} +3 -3
- package/static/core/{75e0e02f.js → fa39fd23.js} +26 -26
- package/static/core/{898acf3a.js → fd0c6ce7.js} +8 -8
- package/static/core/{4a151a86.js → ffb0449a.js} +42 -42
- package/static/core/{c79a7344.js → ffd61885.js} +5 -5
- package/static/esm/{1ce2bc32.js → 8b0bebd1.js} +55 -74
- package/static/esm/{c9e541a3.js → aec29e9e.js} +1 -1
- package/two_step_headless_plugin.html +1 -1
- package/runtime/prop-types/index.js +0 -4
- package/runtime/react-router-dom/index.js +0 -2
- package/static/core/342d650a.js +0 -467
- package/static/core/3bff559e.js +0 -3097
- package/static/core/9e7e9aa52.js +0 -602
- package/static/runtime/dom-export-CHgQ7Ws9.js +0 -8069
- package/static/runtime/prop-types-p_yYKrF7.js +0 -47
- /package/iframe/{iframe-eblock.2cbaea2b.html → iframe-eblock.80c7793f.html} +0 -0
- /package/iframe/{iframe.2cbaea2b.html → iframe.80c7793f.html} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/478adc67.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/16c2710d.js",
|
|
6
6
|
"react"
|
|
7
|
-
], function(i, a,
|
|
7
|
+
], function(i, a, k) {
|
|
8
8
|
const C = i("./16c2710d.js");
|
|
9
9
|
let t = i("react");
|
|
10
10
|
t = C.__toESM(t, 1);
|
|
@@ -97,8 +97,8 @@ __emailmaker__.define("static/core/9f0a0813.js", [
|
|
|
97
97
|
strokeLinejoin: "round",
|
|
98
98
|
"aria-hidden": "true",
|
|
99
99
|
...n
|
|
100
|
-
}, t.createElement("path", { d: "
|
|
101
|
-
h.displayName = "
|
|
100
|
+
}, t.createElement("path", { d: "M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z" }));
|
|
101
|
+
h.displayName = "Lock01";
|
|
102
102
|
var m = ({ size: e = 24, color: r = "currentColor", ...n }) => t.createElement("svg", {
|
|
103
103
|
viewBox: "0 0 24 24",
|
|
104
104
|
width: e,
|
|
@@ -110,8 +110,21 @@ __emailmaker__.define("static/core/9f0a0813.js", [
|
|
|
110
110
|
strokeLinejoin: "round",
|
|
111
111
|
"aria-hidden": "true",
|
|
112
112
|
...n
|
|
113
|
+
}, t.createElement("path", { d: "M12 8v8m-4-4h8m6 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" }));
|
|
114
|
+
m.displayName = "PlusCircle";
|
|
115
|
+
var v = ({ size: e = 24, color: r = "currentColor", ...n }) => t.createElement("svg", {
|
|
116
|
+
viewBox: "0 0 24 24",
|
|
117
|
+
width: e,
|
|
118
|
+
height: e,
|
|
119
|
+
stroke: r,
|
|
120
|
+
strokeWidth: "2",
|
|
121
|
+
fill: "none",
|
|
122
|
+
strokeLinecap: "round",
|
|
123
|
+
strokeLinejoin: "round",
|
|
124
|
+
"aria-hidden": "true",
|
|
125
|
+
...n
|
|
113
126
|
}, t.createElement("path", { d: "M13 7H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 8.52 2 9.08 2 10.2v3.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C3.52 17 4.08 17 5.2 17H13m4-10h1.8c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C22 8.52 22 9.08 22 10.2v3.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C20.48 17 19.92 17 18.8 17H17m0 4V3m2.5 0h-5m5 18h-5" }));
|
|
114
|
-
|
|
127
|
+
v.displayName = "TextInput", Object.defineProperty(a, "a", {
|
|
115
128
|
enumerable: !0,
|
|
116
129
|
get: function() {
|
|
117
130
|
return u;
|
|
@@ -124,9 +137,14 @@ __emailmaker__.define("static/core/9f0a0813.js", [
|
|
|
124
137
|
}), Object.defineProperty(a, "i", {
|
|
125
138
|
enumerable: !0,
|
|
126
139
|
get: function() {
|
|
127
|
-
return
|
|
140
|
+
return h;
|
|
128
141
|
}
|
|
129
142
|
}), Object.defineProperty(a, "i$1", {
|
|
143
|
+
enumerable: !0,
|
|
144
|
+
get: function() {
|
|
145
|
+
return s;
|
|
146
|
+
}
|
|
147
|
+
}), Object.defineProperty(a, "i$2", {
|
|
130
148
|
enumerable: !0,
|
|
131
149
|
get: function() {
|
|
132
150
|
return c;
|
|
@@ -134,12 +152,12 @@ __emailmaker__.define("static/core/9f0a0813.js", [
|
|
|
134
152
|
}), Object.defineProperty(a, "n", {
|
|
135
153
|
enumerable: !0,
|
|
136
154
|
get: function() {
|
|
137
|
-
return
|
|
155
|
+
return v;
|
|
138
156
|
}
|
|
139
157
|
}), Object.defineProperty(a, "s", {
|
|
140
158
|
enumerable: !0,
|
|
141
159
|
get: function() {
|
|
142
|
-
return
|
|
160
|
+
return m;
|
|
143
161
|
}
|
|
144
162
|
}), Object.defineProperty(a, "s$1", {
|
|
145
163
|
enumerable: !0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/4de323c6.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
|
-
"static/core/
|
|
5
|
+
"static/core/b654a72e.js"
|
|
6
6
|
], function(f, r, I) {
|
|
7
|
-
const o = f("./
|
|
7
|
+
const o = f("./b654a72e.js");
|
|
8
8
|
var n = o.createState({
|
|
9
9
|
invalidateBlockId: null,
|
|
10
10
|
isCodeMode: !1,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/54db7dc92.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/c3ea336f.js",
|
|
6
|
-
"static/core/
|
|
6
|
+
"static/core/fd0c6ce7.js",
|
|
7
7
|
"static/core/b4a6f1ca2.js"
|
|
8
8
|
], function(Lr, pv, _1) {
|
|
9
|
-
const n = Lr("./c3ea336f.js"), ae = Lr("./
|
|
9
|
+
const n = Lr("./c3ea336f.js"), ae = Lr("./fd0c6ce7.js"), d = Lr("./b4a6f1ca2.js");
|
|
10
10
|
var fv = class extends d.Action2 {
|
|
11
11
|
constructor() {
|
|
12
12
|
super({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/5761661e.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
@@ -7,7 +7,7 @@ __emailmaker__.define("static/core/97d77f4b.js", [
|
|
|
7
7
|
], function(n, p, P) {
|
|
8
8
|
n("./16c2710d.js");
|
|
9
9
|
const u = n("./2a164fc8.js");
|
|
10
|
-
var
|
|
10
|
+
var b = {
|
|
11
11
|
items_per_page: "/ сторінці",
|
|
12
12
|
jump_to: "Перейти",
|
|
13
13
|
jump_to_confirm: "підтвердити",
|
|
@@ -42,14 +42,14 @@ __emailmaker__.define("static/core/97d77f4b.js", [
|
|
|
42
42
|
for (var e = 1; e < arguments.length; e++) {
|
|
43
43
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
44
44
|
e % 2 ? i(Object(t), !0).forEach(function(a) {
|
|
45
|
-
|
|
45
|
+
d(r, a, t[a]);
|
|
46
46
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(t)) : i(Object(t)).forEach(function(a) {
|
|
47
47
|
Object.defineProperty(r, a, Object.getOwnPropertyDescriptor(t, a));
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
return r;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function d(r, e, t) {
|
|
53
53
|
return e = f(e), e in r ? Object.defineProperty(r, e, {
|
|
54
54
|
value: t,
|
|
55
55
|
enumerable: !0,
|
|
@@ -137,7 +137,7 @@ __emailmaker__.define("static/core/97d77f4b.js", [
|
|
|
137
137
|
}, $ = s, l = "${label} не є типом ${type}";
|
|
138
138
|
p.default = {
|
|
139
139
|
locale: "uk",
|
|
140
|
-
Pagination:
|
|
140
|
+
Pagination: b,
|
|
141
141
|
DatePicker: s,
|
|
142
142
|
TimePicker: m,
|
|
143
143
|
Calendar: $,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/60b14e0c.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
5
|
"static/core/16c2710d.js",
|
|
6
|
-
"static/core/
|
|
6
|
+
"static/core/99b9545a.js"
|
|
7
7
|
], function(tt, te, ge) {
|
|
8
8
|
tt("./16c2710d.js");
|
|
9
|
-
const ee = tt("./
|
|
9
|
+
const ee = tt("./99b9545a.js");
|
|
10
10
|
var et, nt, H = {};
|
|
11
11
|
function ne() {
|
|
12
12
|
return nt ? et : (nt = 1, et = function() {
|
|
@@ -452,25 +452,25 @@ __emailmaker__.define("static/core/704587a1.js", [
|
|
|
452
452
|
}
|
|
453
453
|
}, j;
|
|
454
454
|
}
|
|
455
|
-
var mt, vt, Et, yt, At = {},
|
|
455
|
+
var mt, vt, Et, yt, At = {}, Y = {};
|
|
456
456
|
function re() {
|
|
457
457
|
return vt || (vt = 1, (function(a) {
|
|
458
458
|
const u = (function() {
|
|
459
|
-
if (mt) return
|
|
459
|
+
if (mt) return Y;
|
|
460
460
|
mt = 1;
|
|
461
461
|
const n = new Uint8Array(512), t = new Uint8Array(256);
|
|
462
462
|
return (function() {
|
|
463
463
|
let r = 1;
|
|
464
464
|
for (let s = 0; s < 255; s++) n[s] = r, t[r] = s, r <<= 1, 256 & r && (r ^= 285);
|
|
465
465
|
for (let s = 255; s < 512; s++) n[s] = n[s - 255];
|
|
466
|
-
})(),
|
|
466
|
+
})(), Y.log = function(r) {
|
|
467
467
|
if (r < 1) throw new Error("log(" + r + ")");
|
|
468
468
|
return t[r];
|
|
469
|
-
},
|
|
469
|
+
}, Y.exp = function(r) {
|
|
470
470
|
return n[r];
|
|
471
|
-
},
|
|
471
|
+
}, Y.mul = function(r, s) {
|
|
472
472
|
return r === 0 || s === 0 ? 0 : n[t[r] + t[s]];
|
|
473
|
-
},
|
|
473
|
+
}, Y;
|
|
474
474
|
})();
|
|
475
475
|
a.mul = function(n, t) {
|
|
476
476
|
const r = new Uint8Array(n.length + t.length - 1);
|
|
@@ -632,9 +632,9 @@ __emailmaker__.define("static/core/704587a1.js", [
|
|
|
632
632
|
};
|
|
633
633
|
})(Bt)), Bt;
|
|
634
634
|
}
|
|
635
|
-
var Lt, $ = {}, xt, Ut, St, _t, kt, zt, Ft, Dt, Ht = {},
|
|
635
|
+
var Lt, $ = {}, xt, Ut, St, _t, kt, zt, Ft, Dt, Ht = {}, Kt, Jt, Yt, jt = { exports: {} };
|
|
636
636
|
function ie() {
|
|
637
|
-
return
|
|
637
|
+
return Kt || (Kt = 1, (function(a) {
|
|
638
638
|
var u = {
|
|
639
639
|
single_source_shortest_paths: function(n, t, r) {
|
|
640
640
|
var s = {}, l = {};
|
|
@@ -950,8 +950,8 @@ Make sure your charset is UTF-8`);
|
|
|
950
950
|
})(Ht)), Ht;
|
|
951
951
|
}
|
|
952
952
|
function se() {
|
|
953
|
-
if (
|
|
954
|
-
|
|
953
|
+
if (Yt) return q;
|
|
954
|
+
Yt = 1;
|
|
955
955
|
const a = F(), u = O(), n = (function() {
|
|
956
956
|
if (at) return it;
|
|
957
957
|
function e() {
|
|
@@ -1136,13 +1136,13 @@ Make sure your charset is UTF-8`);
|
|
|
1136
1136
|
for (let i = 0; i < h; i++) f.put(i % 2 ? 17 : 236, 8);
|
|
1137
1137
|
return (function(i, v, m) {
|
|
1138
1138
|
const g = a.getSymbolTotalCodewords(v), C = g - B.getTotalCodewordsCount(v, m), E = B.getBlocksCount(v, m), I = E - g % E, L = Math.floor(g / E), x = Math.floor(C / E), T = x + 1, N = L - x, U = new P(N);
|
|
1139
|
-
let
|
|
1139
|
+
let K = 0;
|
|
1140
1140
|
const V = new Array(E), Wt = new Array(E);
|
|
1141
1141
|
let X = 0;
|
|
1142
1142
|
const he = new Uint8Array(i.buffer);
|
|
1143
1143
|
for (let J = 0; J < E; J++) {
|
|
1144
1144
|
const G = J < I ? x : T;
|
|
1145
|
-
V[J] = he.slice(
|
|
1145
|
+
V[J] = he.slice(K, K + G), Wt[J] = U.encode(V[J]), K += G, X = Math.max(X, G);
|
|
1146
1146
|
}
|
|
1147
1147
|
const W = new Uint8Array(g);
|
|
1148
1148
|
let _, k, Gt = 0;
|
|
@@ -1201,8 +1201,8 @@ Minimum version required to store current data is: ` + h + `.
|
|
|
1201
1201
|
let I = -1, L = E - 1, x = 7, T = 0;
|
|
1202
1202
|
for (let N = E - 1; N > 0; N -= 2) for (N === 6 && N--;;) {
|
|
1203
1203
|
for (let U = 0; U < 2; U++) if (!g.isReserved(L, N - U)) {
|
|
1204
|
-
let
|
|
1205
|
-
T < C.length && (
|
|
1204
|
+
let K = !1;
|
|
1205
|
+
T < C.length && (K = (C[T] >>> x & 1) == 1), g.set(L, N - U, K), x--, x === -1 && (T++, x = 7);
|
|
1206
1206
|
}
|
|
1207
1207
|
if (L += I, L < 0 || E <= L) {
|
|
1208
1208
|
L -= I, I = -I;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
(function(){try{if(typeof document<"u"){var o=document.createElement("style");o.setAttribute("data-emailmaker","true"),o.appendChild(document.createTextNode('.monaco-editor{width:100%;height:100%}.monaco-editor .monaco-hover{border-radius:6px}.monaco-editor .monaco-editor .scroll-decoration{box-shadow:none}.monaco-editor,.monaco-editor *,.monaco-editor .view-lines,.monaco-editor .view-lines *,.monaco-editor .view-lines .view-line,.monaco-editor .view-lines .monaco-mouse-cursor-text,.monaco-editor .view-line,.monaco-editor .monaco-mouse-cursor-text{font-family:var(--monaco-editor-font-family,"Source Code Pro", Consolas, "Courier New", monospace)!important}.monaco-editor .view-line,.monaco-editor .view-line span,.monaco-editor .view-line span.inline-selected-text{font-variant-ligatures:none;font-feature-settings:"liga" 0, "calt" 0;font-kerning:none;white-space:pre;font-family:var(--monaco-monospace-font,var(--monaco-editor-font-family,"Source Code Pro", Consolas, "Courier New", monospace))!important;font-size:var(--monaco-editor-font-size,14px)!important;font-weight:400!important}.monaco-editor .standalone-colorpicker-body{max-width:460px!important}.monaco-editor .standalone-colorpicker-body .colorpicker-body .saturation-wrap{flex:0 auto;max-width:280px}.blocks-app .colorpicker-body .saturation-box,.blocks-app .colorpicker-body .strip{border-radius:4px}.blocks-app .scrollbar.vertical{width:5px!important}.blocks-app .scrollbar.vertical .slider{border-radius:5px!important;width:5px!important}.blocks-app .user-cursor{z-index:10;border-left:2px solid #ff00e1;width:2px;height:20px;position:absolute}.blocks-app .cursor-hover{color:#fff;text-wrap-mode:nowrap;z-index:10000;border-radius:7px 7px 7px 0;margin-left:-2px;padding:0 5px;font-size:12px;position:absolute;top:-17px}.blocks-app .user-selection-decoration{background-color:#8080eb4d}.monaco-editor__spin{z-index:1000;align-items:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}')),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
__emailmaker__.define("static/core/
|
|
2
|
+
__emailmaker__.define("static/core/6bc4ff83.js", [
|
|
3
3
|
"require",
|
|
4
4
|
"exports",
|
|
5
5
|
"module",
|
|
6
6
|
"static/core/16c2710d.js",
|
|
7
|
-
"static/core/
|
|
7
|
+
"static/core/b654a72e.js",
|
|
8
8
|
"static/core/51fd08fd.js",
|
|
9
|
-
"static/core/
|
|
10
|
-
"static/core/
|
|
11
|
-
"static/core/
|
|
9
|
+
"static/core/4de323c6.js",
|
|
10
|
+
"static/core/76f8b642.js",
|
|
11
|
+
"static/core/fd0c6ce7.js",
|
|
12
12
|
"static/core/b4a6f1ca2.js",
|
|
13
|
-
"static/core/
|
|
13
|
+
"static/core/116ebe97.js",
|
|
14
14
|
"react",
|
|
15
15
|
"react/jsx-runtime"
|
|
16
16
|
], function($e, bc, Gy) {
|
|
17
|
-
const g = $e("./16c2710d.js"), y = $e("./
|
|
18
|
-
$e("./
|
|
19
|
-
const Ae = $e("./b4a6f1ca2.js"), ge = $e("./
|
|
17
|
+
const g = $e("./16c2710d.js"), y = $e("./b654a72e.js"), ue = $e("./51fd08fd.js"), ot = $e("./4de323c6.js"), sr = $e("./76f8b642.js");
|
|
18
|
+
$e("./fd0c6ce7.js");
|
|
19
|
+
const Ae = $e("./b4a6f1ca2.js"), ge = $e("./116ebe97.js");
|
|
20
20
|
let S = $e("react"), $ = g.__toESM(S, 1);
|
|
21
21
|
S = g.__toESM(S);
|
|
22
22
|
let Dt = $e("react/jsx-runtime");
|
|
@@ -2241,7 +2241,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2241
2241
|
};
|
|
2242
2242
|
}
|
|
2243
2243
|
function _f() {
|
|
2244
|
-
vs || (vs = !0, Promise.resolve().then(() => $e("./
|
|
2244
|
+
vs || (vs = !0, Promise.resolve().then(() => $e("./fd0c6ce7.js")).then((e) => e.colorDetector_exports).then(({ ColorDetector: e }) => {
|
|
2245
2245
|
const t = wf(e);
|
|
2246
2246
|
t.ID = e.ID, vf(t.ID, () => t);
|
|
2247
2247
|
}).catch((e) => {}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
__emailmaker__.define("static/core/
|
|
1
|
+
__emailmaker__.define("static/core/6dcd0dc9.js", [
|
|
2
2
|
"require",
|
|
3
3
|
"exports",
|
|
4
4
|
"module",
|
|
5
|
-
"static/core/
|
|
6
|
-
"static/core/
|
|
7
|
-
"static/core/
|
|
8
|
-
"static/core/
|
|
9
|
-
"static/core/
|
|
10
|
-
], function(g, F,
|
|
11
|
-
const h = g("./
|
|
12
|
-
g("./
|
|
5
|
+
"static/core/b654a72e.js",
|
|
6
|
+
"static/core/270ea1f0.js",
|
|
7
|
+
"static/core/76f8b642.js",
|
|
8
|
+
"static/core/99b9545a.js",
|
|
9
|
+
"static/core/8a4486b0.js"
|
|
10
|
+
], function(g, F, N) {
|
|
11
|
+
const h = g("./b654a72e.js"), S = g("./270ea1f0.js"), P = g("./76f8b642.js"), f = g("./99b9545a.js");
|
|
12
|
+
g("./8a4486b0.js");
|
|
13
13
|
var _;
|
|
14
14
|
(function(l) {
|
|
15
15
|
function e(s, a, n = (i, o) => i === o) {
|
|
@@ -63,17 +63,17 @@ __emailmaker__.define("static/core/4a0c3723.js", [
|
|
|
63
63
|
const t = y(h.buildCdnFileUrl(e ?? {}, [])), r = y(l);
|
|
64
64
|
if (!(!t || !r.startsWith(`${t}/`))) return r.slice(t.length + 1).split("/").filter(Boolean)[0];
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function A(l, e = {}) {
|
|
67
67
|
const t = e.projectId?.trim();
|
|
68
68
|
if (!t) return !1;
|
|
69
69
|
const r = h.unwrapResourceProxyUrl(l, e.appConfig, e.isStandalone);
|
|
70
70
|
return h.isCdnUrl(r, e.appConfig) ? C(r, e.appConfig) === t : !1;
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function k(l, e = {}) {
|
|
73
73
|
return h.unwrapResourceProxyUrl(l, e.appConfig, e.isStandalone);
|
|
74
74
|
}
|
|
75
|
-
var w = 2e3, b = 30,
|
|
76
|
-
function
|
|
75
|
+
var w = 2e3, b = 30, M = w * b;
|
|
76
|
+
function O(l) {
|
|
77
77
|
return typeof l?.watchThumbnail == "function";
|
|
78
78
|
}
|
|
79
79
|
var j = 200, T = {
|
|
@@ -87,7 +87,7 @@ __emailmaker__.define("static/core/4a0c3723.js", [
|
|
|
87
87
|
too_many_requests: "RateLimitExceeded",
|
|
88
88
|
service_unavailable: "ServiceUnavailable",
|
|
89
89
|
internal_error: "BackendError"
|
|
90
|
-
},
|
|
90
|
+
}, U = {
|
|
91
91
|
file: {
|
|
92
92
|
not_found: "FileNotFound",
|
|
93
93
|
conflict: "FileAlreadyExists"
|
|
@@ -115,7 +115,7 @@ __emailmaker__.define("static/core/4a0c3723.js", [
|
|
|
115
115
|
var x = class m {
|
|
116
116
|
pathMode = !1;
|
|
117
117
|
rootId = "";
|
|
118
|
-
trashPath = f.
|
|
118
|
+
trashPath = f.Ds;
|
|
119
119
|
useSoftDelete = !1;
|
|
120
120
|
api;
|
|
121
121
|
projectId;
|
|
@@ -127,13 +127,13 @@ __emailmaker__.define("static/core/4a0c3723.js", [
|
|
|
127
127
|
thumbWatchers = new Map();
|
|
128
128
|
resolveSystemFolderByPath;
|
|
129
129
|
constructor(e) {
|
|
130
|
-
this.api = e.restApi, this.projectId = e.projectId, this.i18n = e.i18n ?? P.defaultI18nContext, this.appConfig = e.appConfig, this.isStandalone = e.isStandalone, this.onIndexingStateChange = e.onIndexingStateChange, this.resolveSystemFolderByPath = f.
|
|
131
|
-
id: f.
|
|
130
|
+
this.api = e.restApi, this.projectId = e.projectId, this.i18n = e.i18n ?? P.defaultI18nContext, this.appConfig = e.appConfig, this.isStandalone = e.isStandalone, this.onIndexingStateChange = e.onIndexingStateChange, this.resolveSystemFolderByPath = f.qs({ Trash: {
|
|
131
|
+
id: f.Ds,
|
|
132
132
|
folderId: this.rootId
|
|
133
133
|
} });
|
|
134
134
|
}
|
|
135
135
|
async getItems(e) {
|
|
136
|
-
const t = e.folderId === f.
|
|
136
|
+
const t = e.folderId === f.Ds;
|
|
137
137
|
if (e.itemType === "folder") return { items: await this.listFolders(e.folderId, t) };
|
|
138
138
|
const r = e.itemType === "all" && (e.page ?? 1) <= 1, [s, a] = await Promise.all([r ? this.listFolders(e.folderId, t, e.search) : [], this.listFiles(e, t)]);
|
|
139
139
|
return {
|
|
@@ -188,7 +188,7 @@ __emailmaker__.define("static/core/4a0c3723.js", [
|
|
|
188
188
|
throw i;
|
|
189
189
|
}
|
|
190
190
|
this.onIndexingStateChange?.(!!a.data.indexing);
|
|
191
|
-
const n = t ? f.
|
|
191
|
+
const n = t ? f.Ds : this.normalizeFolderId(e.folderId) ?? this.rootId;
|
|
192
192
|
return {
|
|
193
193
|
items: (a.data.data ?? []).map((i) => this.mapFile(i, n)),
|
|
194
194
|
pagination: this.mapPagination(a.data.page, r)
|
|
@@ -433,7 +433,7 @@ __emailmaker__.define("static/core/4a0c3723.js", [
|
|
|
433
433
|
success: !0,
|
|
434
434
|
detailed: []
|
|
435
435
|
};
|
|
436
|
-
const r = e.filter((i) => i.folderId === f.
|
|
436
|
+
const r = e.filter((i) => i.folderId === f.Ds), s = e.filter((i) => i.folderId !== f.Ds), a = [];
|
|
437
437
|
if (r.length > 0) {
|
|
438
438
|
const i = await this.api.trash.restoreCreate({
|
|
439
439
|
project_id: this.projectId,
|
|
@@ -499,8 +499,8 @@ __emailmaker__.define("static/core/4a0c3723.js", [
|
|
|
499
499
|
isStandalone: this.isStandalone,
|
|
500
500
|
projectId: this.projectId
|
|
501
501
|
};
|
|
502
|
-
if (!
|
|
503
|
-
const s =
|
|
502
|
+
if (!A(e, r)) return;
|
|
503
|
+
const s = k(e, r), a = S.decodeFileNameFromUrl(s);
|
|
504
504
|
if (!a) return;
|
|
505
505
|
const { items: n } = await this.listFiles({
|
|
506
506
|
folderId: t,
|
|
@@ -557,7 +557,7 @@ __emailmaker__.define("static/core/4a0c3723.js", [
|
|
|
557
557
|
return;
|
|
558
558
|
}
|
|
559
559
|
const t = e.created_at ? new Date(e.created_at).getTime() : NaN;
|
|
560
|
-
Number.isFinite(t) && Date.now() - t <
|
|
560
|
+
Number.isFinite(t) && Date.now() - t < M ? this.pendingThumbnails.set(e.url, e.id) : this.pendingThumbnails.delete(e.url);
|
|
561
561
|
}
|
|
562
562
|
watchThumbnail(e, t) {
|
|
563
563
|
const r = this.pendingThumbnails.get(e);
|
|
@@ -618,7 +618,7 @@ __emailmaker__.define("static/core/4a0c3723.js", [
|
|
|
618
618
|
}
|
|
619
619
|
assertOk(e, t) {
|
|
620
620
|
if (e.ok && !e.error) return;
|
|
621
|
-
const { __: r } = this.i18n, s = e.error?.error, a = (s?.code && t ?
|
|
621
|
+
const { __: r } = this.i18n, s = e.error?.error, a = (s?.code && t ? U[t][s.code] : void 0) ?? (s?.code ? T[s.code] : void 0) ?? v(e.status);
|
|
622
622
|
throw new c(s?.message || r("Unknown error"), a, e.status);
|
|
623
623
|
}
|
|
624
624
|
static isNotFound(e) {
|
|
@@ -649,7 +649,7 @@ __emailmaker__.define("static/core/4a0c3723.js", [
|
|
|
649
649
|
}), Object.defineProperty(F, "hasThumbnailWatcher", {
|
|
650
650
|
enumerable: !0,
|
|
651
651
|
get: function() {
|
|
652
|
-
return
|
|
652
|
+
return O;
|
|
653
653
|
}
|
|
654
654
|
});
|
|
655
655
|
});
|