minutool 1.0.5 → 1.0.7
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/dist/index.d.ts +21 -2
- package/dist/minutool.js +196 -187
- package/dist/minutool.js.map +1 -1
- package/dist/minutool.umd.cjs +3 -3
- package/dist/minutool.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/minutool.js
CHANGED
|
@@ -51,7 +51,12 @@ const Pt = (t, e) => {
|
|
|
51
51
|
function tt(t) {
|
|
52
52
|
return t && t.charAt(0).toUpperCase() + t.slice(1);
|
|
53
53
|
}
|
|
54
|
-
const jt = (t
|
|
54
|
+
const jt = (t, e = 0) => {
|
|
55
|
+
if (!t || typeof t != "string")
|
|
56
|
+
return e;
|
|
57
|
+
const n = parseFloat(t);
|
|
58
|
+
return isNaN(n) ? e : n;
|
|
59
|
+
}, zt = (t) => (t + "").replace(/\\(.?)/g, function(e, n) {
|
|
55
60
|
switch (n) {
|
|
56
61
|
case "\\":
|
|
57
62
|
return "\\";
|
|
@@ -62,7 +67,7 @@ const jt = (t) => (t + "").replace(/\\(.?)/g, function(e, n) {
|
|
|
62
67
|
default:
|
|
63
68
|
return n;
|
|
64
69
|
}
|
|
65
|
-
}),
|
|
70
|
+
}), Wt = (t, e, n = "...") => {
|
|
66
71
|
let i = /[^\x00-\xff]/g;
|
|
67
72
|
if (t.replace(i, "mm").length <= e)
|
|
68
73
|
return t;
|
|
@@ -71,17 +76,17 @@ const jt = (t) => (t + "").replace(/\\(.?)/g, function(e, n) {
|
|
|
71
76
|
if (t.substr(0, l).replace(i, "mm").length >= e)
|
|
72
77
|
return t.substr(0, l) + n;
|
|
73
78
|
return t;
|
|
74
|
-
},
|
|
79
|
+
}, Jt = (t, e) => {
|
|
75
80
|
const n = Object.keys(e), i = Object.values(e);
|
|
76
81
|
return new Function(...n, `return \`${t}\`;`)(...i);
|
|
77
82
|
};
|
|
78
|
-
function
|
|
83
|
+
function Kt(t) {
|
|
79
84
|
return t.replace(/[-_](.)/g, (e, n) => n.toUpperCase());
|
|
80
85
|
}
|
|
81
|
-
function
|
|
86
|
+
function Vt(t) {
|
|
82
87
|
return t.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase();
|
|
83
88
|
}
|
|
84
|
-
function
|
|
89
|
+
function Qt(t, e, n = "...") {
|
|
85
90
|
return t.length <= e ? t : t.slice(0, e) + n;
|
|
86
91
|
}
|
|
87
92
|
const C = (t) => (t + "").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g, "\\$1"), et = (t) => {
|
|
@@ -97,7 +102,7 @@ const C = (t) => (t + "").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,
|
|
|
97
102
|
i < 128 ? e += String.fromCharCode(i) : i > 127 && i < 2048 ? (e += String.fromCharCode(i >> 6 | 192), e += String.fromCharCode(i & 63 | 128)) : (e += String.fromCharCode(i >> 12 | 224), e += String.fromCharCode(i >> 6 & 63 | 128), e += String.fromCharCode(i & 63 | 128));
|
|
98
103
|
}
|
|
99
104
|
return e;
|
|
100
|
-
},
|
|
105
|
+
}, Zt = (t) => {
|
|
101
106
|
let e = 0, n = t.length, i = -1;
|
|
102
107
|
for (let o = 0; o < n; o++)
|
|
103
108
|
i = t.charCodeAt(o), i >= 0 && i <= 128 ? e += 1 : e += 3;
|
|
@@ -109,7 +114,7 @@ const C = (t) => (t + "").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,
|
|
|
109
114
|
n += e.substring(o, o + 1);
|
|
110
115
|
}
|
|
111
116
|
return n;
|
|
112
|
-
},
|
|
117
|
+
}, Xt = (t = 1, e = 8) => {
|
|
113
118
|
let n = [];
|
|
114
119
|
const i = "bcdfghjklmnpqrstvwxyz", o = "aeiou";
|
|
115
120
|
for (; t-- > 0; ) {
|
|
@@ -119,28 +124,28 @@ const C = (t) => (t + "").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,
|
|
|
119
124
|
n.push(l);
|
|
120
125
|
}
|
|
121
126
|
return n;
|
|
122
|
-
},
|
|
127
|
+
}, te = (t, e = !1) => {
|
|
123
128
|
let n = [];
|
|
124
129
|
return t.replace(/[-_\s+]/g, " ").split(" ").forEach((i, o) => {
|
|
125
130
|
n.push(o === 0 && !e ? i : tt(i));
|
|
126
131
|
}), n.join("");
|
|
127
|
-
}, D = 0, R = 1, ot = 2,
|
|
132
|
+
}, D = 0, R = 1, ot = 2, ee = (t, e = "", n = D) => {
|
|
128
133
|
if (e.length) {
|
|
129
134
|
let i = new RegExp("^[" + C(e) + "]+"), o = new RegExp("[" + C(e) + "]+$");
|
|
130
135
|
return n === R ? t.replace(i, "") : n === ot ? t.replace(o, "") : t.replace(i, "").replace(o, "");
|
|
131
136
|
} else
|
|
132
137
|
return n === D ? t.trim() : n === R ? t.trimStart() : t.trimEnd();
|
|
133
|
-
},
|
|
138
|
+
}, ne = (t, e) => {
|
|
134
139
|
let n = [];
|
|
135
140
|
for (let i = 0; i < t.length; i += e)
|
|
136
141
|
n.push(t.slice(i, i + e));
|
|
137
142
|
return n;
|
|
138
|
-
}, h = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
|
143
|
+
}, ie = (t) => /[\u4e00-\u9fa5]/.test(t), h = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", oe = (t) => {
|
|
139
144
|
let e = "", n, i, o, l, p, r, s, a = 0;
|
|
140
145
|
for (t = t.replace(/\+\+[++^A-Za-z0-9+/=]/g, ""); a < t.length; )
|
|
141
146
|
l = h.indexOf(t.charAt(a++)), p = h.indexOf(t.charAt(a++)), r = h.indexOf(t.charAt(a++)), s = h.indexOf(t.charAt(a++)), n = l << 2 | p >> 4, i = (p & 15) << 4 | r >> 2, o = (r & 3) << 6 | s, e = e + String.fromCharCode(n), r !== 64 && (e = e + String.fromCharCode(i)), s !== 64 && (e = e + String.fromCharCode(o));
|
|
142
147
|
return e = et(e), e;
|
|
143
|
-
},
|
|
148
|
+
}, re = (t) => U(t).replace("+", "-").replace("/", "_"), ae = (t) => {
|
|
144
149
|
let e = "", n, i, o, l, p, r, s, a = 0;
|
|
145
150
|
for (t = U(t); a < t.length; )
|
|
146
151
|
n = t.charCodeAt(a++), i = t.charCodeAt(a++), o = t.charCodeAt(a++), l = n >> 2, p = (n & 3) << 4 | i >> 4, r = (i & 15) << 2 | o >> 6, s = o & 63, isNaN(i) ? r = s = 64 : isNaN(o) && (s = 64), e = e + h.charAt(l) + h.charAt(p) + h.charAt(r) + h.charAt(s);
|
|
@@ -154,22 +159,23 @@ const C = (t) => (t + "").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,
|
|
|
154
159
|
if (t.webkitRequestFullScreen)
|
|
155
160
|
return t.webkitRequestFullScreen();
|
|
156
161
|
throw t.mozRequestFullScreen && t.mozRequestFullScreen(), t.msRequestFullScreen && t.msRequestFullScreen(), "Browser no allow full screen";
|
|
157
|
-
}, st = () => document.exitFullscreen(),
|
|
162
|
+
}, st = () => document.exitFullscreen(), le = (t) => new Promise((e, n) => {
|
|
158
163
|
ct() ? st().then(e).catch(n) : lt(t).then(e).catch(n);
|
|
159
|
-
}), ct = () => !!document.fullscreenElement,
|
|
164
|
+
}), ct = () => !!document.fullscreenElement, se = (t) => {
|
|
160
165
|
const e = navigator.language || navigator.userLanguage;
|
|
161
166
|
if (t.includes(e))
|
|
162
167
|
return e;
|
|
163
168
|
const n = e.split("-")[0], i = t.find((o) => o.startsWith(n));
|
|
164
169
|
return i || t[0];
|
|
165
|
-
},
|
|
166
|
-
let
|
|
170
|
+
}, ce = () => navigator.userAgent.toLowerCase().indexOf("firefox") > -1, pe = (t, e, n, i = "/", o) => {
|
|
171
|
+
let l = "";
|
|
167
172
|
if (n) {
|
|
168
|
-
let
|
|
169
|
-
|
|
173
|
+
let r = /* @__PURE__ */ new Date();
|
|
174
|
+
r.setTime(Date.now() + n * 24 * 60 * 60 * 1e3), l = "; expires=" + r.toUTCString();
|
|
170
175
|
}
|
|
171
|
-
|
|
172
|
-
|
|
176
|
+
let p = t + "=" + (e || "") + l + "; path=" + i;
|
|
177
|
+
o && (p += "; domain=" + o), document.cookie = p;
|
|
178
|
+
}, ue = (t) => {
|
|
173
179
|
let e = t + "=", n = document.cookie.split(";");
|
|
174
180
|
for (let i = 0; i < n.length; i++) {
|
|
175
181
|
let o = n[i];
|
|
@@ -177,17 +183,18 @@ const C = (t) => (t + "").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,
|
|
|
177
183
|
if (o.indexOf(e) === 0) return o.substring(e.length, o.length);
|
|
178
184
|
}
|
|
179
185
|
return null;
|
|
180
|
-
},
|
|
181
|
-
|
|
186
|
+
}, fe = (t, e = "/", n) => {
|
|
187
|
+
let i = t + "=; Path=" + e + "; Expires=Thu, 01 Jan 1970 00:00:01 GMT;";
|
|
188
|
+
n && (i += " Domain=" + n + ";"), document.cookie = i;
|
|
182
189
|
};
|
|
183
190
|
let pt = 0;
|
|
184
|
-
const ut = (t = "") => "guid_" + (t || it(6)) + ++pt,
|
|
191
|
+
const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, de = (t, e) => {
|
|
185
192
|
let n, i, o = 0;
|
|
186
193
|
return function() {
|
|
187
194
|
let l = +/* @__PURE__ */ new Date();
|
|
188
195
|
n = this, i = arguments, l - o > e && (t.apply(n, i), o = l);
|
|
189
196
|
};
|
|
190
|
-
},
|
|
197
|
+
}, me = (t, e) => {
|
|
191
198
|
let n, i, o = 0, l = !1;
|
|
192
199
|
return function() {
|
|
193
200
|
if (l)
|
|
@@ -199,7 +206,7 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
|
|
|
199
206
|
t.apply(n, i), l = !1, o = p;
|
|
200
207
|
}, r));
|
|
201
208
|
};
|
|
202
|
-
},
|
|
209
|
+
}, he = (t, e) => {
|
|
203
210
|
let n;
|
|
204
211
|
return function() {
|
|
205
212
|
let i = this, o = arguments;
|
|
@@ -207,27 +214,27 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
|
|
|
207
214
|
t.apply(i, o);
|
|
208
215
|
}, e);
|
|
209
216
|
};
|
|
210
|
-
},
|
|
217
|
+
}, ge = (t) => t && typeof t == "object" && t.then && typeof t.then == "function", xe = (t) => {
|
|
211
218
|
let e = !1;
|
|
212
219
|
try {
|
|
213
220
|
JSON.parse(t), e = !0;
|
|
214
221
|
} catch {
|
|
215
222
|
}
|
|
216
223
|
return e;
|
|
217
|
-
},
|
|
224
|
+
}, we = (t) => t && typeof t == "object" && !Array.isArray(t), ve = (t) => t ? Object.prototype.toString.call(t) === "[object Function]" || typeof t == "function" || t instanceof Function : !1, ft = (t) => typeof t != "string" || t.trim() === "" ? !1 : /^(https?:\/\/|\/\/|\/|\.\.?\/*)/i.test(t), ye = (t) => {
|
|
218
225
|
let e = !1;
|
|
219
226
|
try {
|
|
220
227
|
JSON.parse(t), e = !0;
|
|
221
228
|
} catch {
|
|
222
229
|
}
|
|
223
230
|
return e;
|
|
224
|
-
},
|
|
231
|
+
}, be = () => {
|
|
225
232
|
let t = new Error().stack;
|
|
226
233
|
console.log(t);
|
|
227
|
-
},
|
|
234
|
+
}, Ee = (1 + Math.sqrt(5)) / 2 - 1, B = 96, Te = (t, e = B) => t / 25.4 * e, Ae = (t) => Math.round(t * 56.6929), Me = (t) => t * 2.83464566929, Se = (t) => t / 2.83464566929, Ce = (t, e = B) => 25.4 * t / e, _e = (t, e, n) => Math.min(Math.max(t, e), n), g = (t, e, n, i = !0) => i ? t >= e && t <= n : t > e && t < n, Ne = (t, e) => Math.floor(Math.random() * (e + 1 - t)) + t, Oe = (t, e = 2) => {
|
|
228
235
|
let n = Math.pow(10, e);
|
|
229
236
|
return Math.round(t * n) / n;
|
|
230
|
-
},
|
|
237
|
+
}, De = (...t) => {
|
|
231
238
|
let e = 0;
|
|
232
239
|
return t.forEach((n) => {
|
|
233
240
|
if (typeof n == "number" && !isNaN(n)) {
|
|
@@ -235,17 +242,17 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
|
|
|
235
242
|
i && (e = Math.max(e, i.length));
|
|
236
243
|
}
|
|
237
244
|
}), e;
|
|
238
|
-
},
|
|
245
|
+
}, Re = (t) => (t = Math.abs(Number(t)), t === 0 ? 1 : Math.floor(Math.log10(t)) + 1), Ie = (t) => {
|
|
239
246
|
E(t).style.display = "none";
|
|
240
|
-
},
|
|
247
|
+
}, ke = (t) => {
|
|
241
248
|
E(t).style.display = "";
|
|
242
|
-
},
|
|
249
|
+
}, Le = (t) => {
|
|
243
250
|
let e = E(t);
|
|
244
251
|
return e && e.parentNode && e.parentNode.removeChild(e);
|
|
245
252
|
}, S = "disabled", dt = (t, e = "") => q(t, e, !1), mt = (t, e = "") => q(t, e, !0), q = (t, e = "", n = null) => {
|
|
246
253
|
let i = E(t), o = n === null ? !i.classList.contains(S) : !n;
|
|
247
254
|
o && gt(`.${S} {pointer-event:none !important;}`, "__element_lock_style__"), i.classList.toggle(S, o), i[o ? "setAttribute" : "removeAttribute"]("disabled", "disabled"), i[o ? "setAttribute" : "removeAttribute"]("data-disabled", "disabled"), e && i.classList.toggle(e, o);
|
|
248
|
-
},
|
|
255
|
+
}, He = (t, e, n) => {
|
|
249
256
|
t = E(t);
|
|
250
257
|
let i = !1;
|
|
251
258
|
t.addEventListener("mouseenter", () => {
|
|
@@ -253,11 +260,11 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
|
|
|
253
260
|
}), t.addEventListener("mouseleave", () => {
|
|
254
261
|
i && (i = !1, n && n());
|
|
255
262
|
});
|
|
256
|
-
},
|
|
263
|
+
}, Fe = (t, e) => {
|
|
257
264
|
dt(t), e(() => {
|
|
258
265
|
mt(t);
|
|
259
266
|
});
|
|
260
|
-
},
|
|
267
|
+
}, Pe = (t) => t.parentNode ? Array.prototype.indexOf.call(t.parentNode.children, t) : -1, Y = (t, e = document) => {
|
|
261
268
|
if (typeof t == "string")
|
|
262
269
|
return t = t.trim(), t.indexOf(":scope") !== 0 && (t = ":scope " + t), Array.from(e.querySelectorAll(t));
|
|
263
270
|
if (Array.isArray(t)) {
|
|
@@ -266,7 +273,7 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
|
|
|
266
273
|
n.push(...Y(i));
|
|
267
274
|
}), n;
|
|
268
275
|
} else return NodeList.prototype.isPrototypeOf(t) || HTMLCollection.prototype.isPrototypeOf(t) ? Array.from(t) : t instanceof HTMLElement ? [t] : t;
|
|
269
|
-
}, E = (t, e = document) => typeof t == "string" ? e.querySelector(t) : t,
|
|
276
|
+
}, E = (t, e = document) => typeof t == "string" ? e.querySelector(t) : t, Ue = (t) => {
|
|
270
277
|
let e = document.getElementsByTagName("*"), n = [];
|
|
271
278
|
for (n = []; t && t.nodeType === 1; t = t.parentNode)
|
|
272
279
|
if (t.hasAttribute("id")) {
|
|
@@ -285,7 +292,7 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
|
|
|
285
292
|
n.unshift(t.localName.toLowerCase() + "[" + i + "]");
|
|
286
293
|
}
|
|
287
294
|
return n.length ? "/" + n.join("/") : null;
|
|
288
|
-
},
|
|
295
|
+
}, Be = (t, e, n = !0) => {
|
|
289
296
|
const i = "ON_DOM_TREE_CHANGE_BIND_" + ut();
|
|
290
297
|
let o = () => {
|
|
291
298
|
Y(`input:not([${i}]), textarea:not([${i}]), select:not([${i}])`, t).forEach((l) => {
|
|
@@ -310,7 +317,7 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
|
|
|
310
317
|
}, r)) : (o = Date.now(), n(p));
|
|
311
318
|
});
|
|
312
319
|
p.observe(t, e);
|
|
313
|
-
},
|
|
320
|
+
}, qe = (t, e = {
|
|
314
321
|
left: 0,
|
|
315
322
|
top: 0,
|
|
316
323
|
width: window.innerWidth,
|
|
@@ -318,23 +325,23 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
|
|
|
318
325
|
}) => {
|
|
319
326
|
let n = { left: t.left, top: t.top };
|
|
320
327
|
return t.width > e.width || t.height > e.height || (t.width + t.left > e.width + e.left && (n.left = t.left - (t.width + t.left - (e.width + e.left))), t.height + t.top > e.height + e.top && (n.top = t.top - (t.height + t.top - (e.height + e.top))), t.left < e.left && (n.left = e.left), t.top < e.top && (n.top = e.top)), n;
|
|
321
|
-
},
|
|
328
|
+
}, Ye = (t, e) => t.left <= e.left ? t.left + t.width >= e.left && (g(e.top, t.top, t.top + t.height) || g(e.top + e.height, t.top, t.top + t.height) || e.top >= t.top && e.height >= t.height) : e.left + e.width >= t.left && (g(t.top, e.top, e.top + e.height) || g(t.top + t.height, e.top, e.top + e.height) || t.top >= e.top && t.height >= e.height), $e = (t) => t ? !!(t.tabIndex >= 0 || t instanceof HTMLAnchorElement && t.href || t instanceof HTMLButtonElement && !t.disabled || t instanceof HTMLInputElement && !t.disabled || t instanceof HTMLTextAreaElement && !t.disabled) : !1;
|
|
322
329
|
let x = {};
|
|
323
|
-
const
|
|
330
|
+
const Ge = (t, e = !1) => (!e && t in x || (x[t] = new Promise((n, i) => {
|
|
324
331
|
let o = document.createElement("link");
|
|
325
332
|
o.rel = "stylesheet", o.href = t, o.onload = () => {
|
|
326
333
|
n();
|
|
327
334
|
}, o.onerror = () => {
|
|
328
335
|
i();
|
|
329
336
|
}, document.head.append(o);
|
|
330
|
-
})), x[t]),
|
|
337
|
+
})), x[t]), je = (t, e = !1) => (!e && t in x || (x[t] = new Promise((n, i) => {
|
|
331
338
|
let o = document.createElement("script");
|
|
332
339
|
o.src = t, o.onload = () => {
|
|
333
340
|
n();
|
|
334
341
|
}, o.onerror = () => {
|
|
335
342
|
i();
|
|
336
343
|
}, document.head.append(o);
|
|
337
|
-
})), x[t]),
|
|
344
|
+
})), x[t]), ze = (t) => {
|
|
338
345
|
let e = t.style.visibility, n = t.style.display, i, o;
|
|
339
346
|
return t.style.visibility = "hidden", t.style.display = "block", i = t.clientWidth, o = t.clientHeight, t.style.visibility = e, t.style.display = n, { width: i, height: o };
|
|
340
347
|
}, gt = (t, e = "", n = document) => {
|
|
@@ -342,14 +349,14 @@ const Ye = (t, e = !1) => (!e && t in x || (x[t] = new Promise((n, i) => {
|
|
|
342
349
|
return n.querySelector(`#${e}`);
|
|
343
350
|
let i = n.createElement("style");
|
|
344
351
|
return n.head.appendChild(i), i.innerHTML = t, e && (i.id = e), i;
|
|
345
|
-
},
|
|
346
|
-
g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.left + e.width),
|
|
352
|
+
}, We = (t, e) => g(t.top, e.top, e.top + e.height) && g(t.left, e.left, e.left + e.width) && //左上角
|
|
353
|
+
g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.left + e.width), Je = (t) => Math.pow(10, -t), Ke = (t, e) => {
|
|
347
354
|
try {
|
|
348
355
|
return new URL(t, e).href;
|
|
349
356
|
} catch {
|
|
350
357
|
return t;
|
|
351
358
|
}
|
|
352
|
-
},
|
|
359
|
+
}, Ve = (t, e = null) => {
|
|
353
360
|
let n = document.createElement("template");
|
|
354
361
|
t = t.trim(), n.innerHTML = t;
|
|
355
362
|
let i = [];
|
|
@@ -374,17 +381,17 @@ g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.le
|
|
|
374
381
|
width: n.width,
|
|
375
382
|
height: n.height
|
|
376
383
|
};
|
|
377
|
-
},
|
|
384
|
+
}, Qe = (t) => {
|
|
378
385
|
let e = {};
|
|
379
386
|
for (let n in t) {
|
|
380
387
|
const i = t[n];
|
|
381
388
|
i != null && (e[`--${n}`] = `${i}`);
|
|
382
389
|
}
|
|
383
390
|
return e;
|
|
384
|
-
},
|
|
391
|
+
}, Ze = (t) => t.replace(/[\\/:*?"<>|]/g, "_").replace(/[\0-\x1F]/g, "_").replace(/\s+/g, " ").replace(/^\.+/, "").replace(/\.+$/, "").trim(), I = (t) => new Promise((e, n) => {
|
|
385
392
|
const i = new FileReader();
|
|
386
393
|
i.onload = () => e(i.result), i.onerror = (o) => n(o), i.readAsDataURL(t);
|
|
387
|
-
}),
|
|
394
|
+
}), k = {}, L = (t, e = null) => e !== null ? (k[t] = e, null) : k[t] || null, Xe = async (t) => {
|
|
388
395
|
if (!t)
|
|
389
396
|
return null;
|
|
390
397
|
if (typeof t == "string" && t.startsWith("data:"))
|
|
@@ -401,7 +408,7 @@ g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.le
|
|
|
401
408
|
} catch (e) {
|
|
402
409
|
return console.warn("file2Base64DataURL failed:", e), null;
|
|
403
410
|
}
|
|
404
|
-
},
|
|
411
|
+
}, tn = (t, e) => {
|
|
405
412
|
const n = document.createElement("a");
|
|
406
413
|
n.rel = "noopener noreferrer", n.href = t, n.download = e, document.body.appendChild(n), n.click(), document.body.removeChild(n);
|
|
407
414
|
}, $ = [
|
|
@@ -439,7 +446,7 @@ g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.le
|
|
|
439
446
|
"TFOOT",
|
|
440
447
|
"UL",
|
|
441
448
|
"VIDEO"
|
|
442
|
-
],
|
|
449
|
+
], en = [
|
|
443
450
|
"A",
|
|
444
451
|
"ABBR",
|
|
445
452
|
"ACRONYM",
|
|
@@ -472,7 +479,7 @@ g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.le
|
|
|
472
479
|
"TT",
|
|
473
480
|
"U",
|
|
474
481
|
"VAR"
|
|
475
|
-
].concat(...$),
|
|
482
|
+
].concat(...$), nn = ["AREA", "BASE", "BR", "COL", "EMBED", "HR", "IMG", "INPUT", "LINK", "META", "PARAM", "SOURCE", "TRACK", "WBR"], wt = ["STYLE", "COMMENT", "SELECT", "OPTION", "SCRIPT", "TITLE", "HEAD", "BUTTON", "META", "LINK", "PARAM", "SOURCE"], on = (t) => (wt.forEach((n) => {
|
|
476
483
|
t = t.replace(new RegExp(n, "ig"), "");
|
|
477
484
|
}), t = t.replace(/[\r|\n]/g, ""), t = t.replace(/<(\w+)([^>]*)>/g, function(n, i, o) {
|
|
478
485
|
return $.includes(i.toUpperCase()) ? `
|
|
@@ -489,27 +496,27 @@ g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.le
|
|
|
489
496
|
t = t.replace(n, i);
|
|
490
497
|
}), t = t.replace(/&#(\d+);/, function(n, i) {
|
|
491
498
|
return String.fromCharCode(parseInt(i));
|
|
492
|
-
}), t = t.replace(/&/gi, "&"), t = t.trim(), t),
|
|
499
|
+
}), t = t.replace(/&/gi, "&"), t = t.trim(), t), rn = (t) => window.CSS && CSS.escape ? CSS.escape(t) : t.replace(/[!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~]/g, "\\$&"), an = (t) => {
|
|
493
500
|
let e = t.split(";");
|
|
494
501
|
return e.pop(), e.map((n) => String.fromCharCode(n[2] === "x" ? parseInt(n.slice(3), 16) : parseInt(n.slice(2)))).join("");
|
|
495
502
|
};
|
|
496
503
|
let y;
|
|
497
|
-
const
|
|
504
|
+
const ln = (t) => (y || (y = document.createElement("div")), t = t.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim, ""), t = t.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim, ""), y.innerHTML = t, t = y.textContent || "", y.textContent = "", t), sn = (t) => {
|
|
498
505
|
let e = "";
|
|
499
506
|
for (let n in t) {
|
|
500
507
|
let i = t[n] === null ? "" : t[n];
|
|
501
508
|
e += `<input type="hidden" name="${H(n)}" value="${H(i)}"/>`;
|
|
502
509
|
}
|
|
503
510
|
return e;
|
|
504
|
-
},
|
|
511
|
+
}, cn = (t, e = 2, n = !0) => {
|
|
505
512
|
let i = String(t).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
506
513
|
return n && (i = i.replace(/[\r\n]/g, "<br/>")), e && (i = i.replace(/\t/g, " ".repeat(e))), i = i.replace(/\s/g, " "), i;
|
|
507
|
-
},
|
|
514
|
+
}, pn = (t) => String(t).replace(/"/g, '"').replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">").replace(/ /g, " ").replace(/&/g, "&").replace(/<br.*>/, `
|
|
508
515
|
`), H = (t, e = "") => (e = e ? " " : `
|
|
509
|
-
`, ("" + t).replace(/&/g, "&").replace(/'/g, "'").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">").replace(/\r\n/g, e).replace(/[\r\n]/g, e)),
|
|
516
|
+
`, ("" + t).replace(/&/g, "&").replace(/'/g, "'").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">").replace(/\r\n/g, e).replace(/[\r\n]/g, e)), un = (t, e) => {
|
|
510
517
|
let n = t.split("");
|
|
511
518
|
return e = e || 0, n.map((i) => `&#${e ? "x" + i.charCodeAt(0).toString(16) : i.charCodeAt(0)};`).join("");
|
|
512
|
-
},
|
|
519
|
+
}, fn = (t, e, n = '<span class="matched">%s</span>') => e ? t.replace(new RegExp(C(e), "ig"), (i) => n.replace("%s", i)) : t, dn = (t) => {
|
|
513
520
|
if (!t.src)
|
|
514
521
|
return null;
|
|
515
522
|
if (t.src.indexOf("data:") === 0)
|
|
@@ -518,9 +525,9 @@ const rn = (t) => (y || (y = document.createElement("div")), t = t.replace(/<scr
|
|
|
518
525
|
e.width = t.width, e.height = t.height;
|
|
519
526
|
let n = e.getContext("2d");
|
|
520
527
|
return n ? (n.drawImage(t, 0, 0, t.width, t.height), e.toDataURL("image/png")) : null;
|
|
521
|
-
},
|
|
528
|
+
}, mn = (t, e = !1) => new Promise((n, i) => {
|
|
522
529
|
if (e) {
|
|
523
|
-
const l =
|
|
530
|
+
const l = L(t);
|
|
524
531
|
if (l)
|
|
525
532
|
return n(l);
|
|
526
533
|
}
|
|
@@ -529,7 +536,7 @@ const rn = (t) => (y || (y = document.createElement("div")), t = t.replace(/<scr
|
|
|
529
536
|
if (this.status === 200) {
|
|
530
537
|
let l = this.response;
|
|
531
538
|
rt(l).then((p) => {
|
|
532
|
-
e &&
|
|
539
|
+
e && L(t, p), n(p);
|
|
533
540
|
}).catch((p) => {
|
|
534
541
|
i(p);
|
|
535
542
|
});
|
|
@@ -571,7 +578,7 @@ const rn = (t) => (y || (y = document.createElement("div")), t = t.replace(/<scr
|
|
|
571
578
|
for (o = 0; o < t.length; o += 1)
|
|
572
579
|
i = t.charCodeAt(o), n += e.charAt(i >>> 4 & 15) + e.charAt(i & 15);
|
|
573
580
|
return n;
|
|
574
|
-
}, N = (t) => unescape(encodeURIComponent(t)), z = (t) => yt(N(t)), Et = (t) => j(z(t)), W = (t, e) => bt(N(t), N(e)), Tt = (t, e) => j(W(t, e)),
|
|
581
|
+
}, N = (t) => unescape(encodeURIComponent(t)), z = (t) => yt(N(t)), Et = (t) => j(z(t)), W = (t, e) => bt(N(t), N(e)), Tt = (t, e) => j(W(t, e)), hn = (t, e, n) => e ? n ? W(e, t) : Tt(e, t) : n ? z(t) : Et(t), gn = "application/octet-stream", b = "application/json", At = "application/x-www-form-urlencoded", Mt = "multipart/form-data", xn = "text/plain", wn = "text/html", vn = {
|
|
575
582
|
323: "text/h323",
|
|
576
583
|
accdb: "application/msaccess",
|
|
577
584
|
accde: "application/msaccess",
|
|
@@ -962,7 +969,7 @@ const rn = (t) => (y || (y = document.createElement("div")), t = t.replace(/<scr
|
|
|
962
969
|
default:
|
|
963
970
|
return K(t);
|
|
964
971
|
}
|
|
965
|
-
},
|
|
972
|
+
}, yn = (t, e = null, n = {}) => O(t, e, { ...n, ContentType: b, Accept: b }).then((i) => i.json()), bn = (t, e = null, n = {}) => O(t, e, { ...n, method: "POST", ContentType: b, Accept: b }).then((i) => i.json()), En = (t, e, n = null, i = {}) => {
|
|
966
973
|
const o = new FormData();
|
|
967
974
|
if (Object.keys(e).forEach((l) => {
|
|
968
975
|
o.append(l, e[l], e[l].name);
|
|
@@ -983,16 +990,16 @@ function F(t) {
|
|
|
983
990
|
}
|
|
984
991
|
return t;
|
|
985
992
|
}
|
|
986
|
-
function
|
|
993
|
+
function Tn(t) {
|
|
987
994
|
return Object.keys(t).length === 0;
|
|
988
995
|
}
|
|
989
|
-
const
|
|
996
|
+
const An = (t, e) => {
|
|
990
997
|
let n = {};
|
|
991
998
|
for (let i in t)
|
|
992
999
|
e[i] !== void 0 ? n[e[i]] = t[i] : n[i] = t[i];
|
|
993
1000
|
return n;
|
|
994
1001
|
};
|
|
995
|
-
function
|
|
1002
|
+
function Mn(t, e, n) {
|
|
996
1003
|
const i = e.split(".");
|
|
997
1004
|
let o = t;
|
|
998
1005
|
for (const l of i) {
|
|
@@ -1002,7 +1009,7 @@ function Tn(t, e, n) {
|
|
|
1002
1009
|
}
|
|
1003
1010
|
return o !== void 0 ? o : n;
|
|
1004
1011
|
}
|
|
1005
|
-
function
|
|
1012
|
+
function Sn(t, e, n) {
|
|
1006
1013
|
const i = e.split("."), o = i.pop();
|
|
1007
1014
|
let l = t;
|
|
1008
1015
|
for (const p of i)
|
|
@@ -1022,7 +1029,7 @@ const It = (t, e = !1) => {
|
|
|
1022
1029
|
for (const n in t)
|
|
1023
1030
|
t[n] === null ? delete t[n] : e && typeof t[n] == "object" && It(t[n], !0);
|
|
1024
1031
|
return t;
|
|
1025
|
-
},
|
|
1032
|
+
}, Cn = (/* @__PURE__ */ new Date()).getFullYear(), _n = (/* @__PURE__ */ new Date()).getMonth() + 1, Nn = (/* @__PURE__ */ new Date()).getDate(), On = 60 * 1e3, Dn = 60 * 60 * 1e3, T = 24 * 60 * 60 * 1e3, Rn = 7 * T, In = 30 * T, kn = 31 * T, Ln = 365 * T, Hn = 366 * T, Fn = 0, Pn = 1, Un = 2, Bn = 3, qn = 4, Yn = 5, $n = 6, kt = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], Lt = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], Ht = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], Ft = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], Gn = ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], jn = ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], zn = ["日", "一", "二", "三", "四", "五", "六"], Wn = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], Jn = (t, e, n) => {
|
|
1026
1033
|
let i = () => {
|
|
1027
1034
|
if (e && e(t), t-- > 0) {
|
|
1028
1035
|
setTimeout(i, 1e3);
|
|
@@ -1031,7 +1038,7 @@ const It = (t, e = !1) => {
|
|
|
1031
1038
|
n && n();
|
|
1032
1039
|
};
|
|
1033
1040
|
i();
|
|
1034
|
-
},
|
|
1041
|
+
}, Kn = (t) => {
|
|
1035
1042
|
if (!t || t < 10)
|
|
1036
1043
|
return "刚刚";
|
|
1037
1044
|
t = Math.floor(t / 1e3);
|
|
@@ -1043,9 +1050,9 @@ const It = (t, e = !1) => {
|
|
|
1043
1050
|
let e = t.getDate();
|
|
1044
1051
|
return (e < 10 ? "0" : "") + e;
|
|
1045
1052
|
},
|
|
1046
|
-
D: (t) =>
|
|
1053
|
+
D: (t) => Lt[t.getDay()],
|
|
1047
1054
|
j: (t) => t.getDate(),
|
|
1048
|
-
l: (t) =>
|
|
1055
|
+
l: (t) => kt[t.getDay()],
|
|
1049
1056
|
N: (t) => {
|
|
1050
1057
|
let e = t.getDay();
|
|
1051
1058
|
return e === 0 ? 7 : e;
|
|
@@ -1153,51 +1160,51 @@ const It = (t, e = !1) => {
|
|
|
1153
1160
|
return typeof e == "object" && e !== null ? n = e : n = new Date(e || Date.now()), t.replace(/(\\?)(.)/g, function(i, o, l) {
|
|
1154
1161
|
return o === "" && P[l] ? String(P[l](n)) : l;
|
|
1155
1162
|
});
|
|
1156
|
-
},
|
|
1163
|
+
}, Vn = (t) => V("W", t);
|
|
1157
1164
|
export {
|
|
1158
1165
|
$ as BLOCK_TAGS,
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1166
|
+
ae as Base64Encode,
|
|
1167
|
+
Nn as DATE_NOW,
|
|
1168
|
+
Yn as DAY_FRIDAY,
|
|
1169
|
+
Pn as DAY_MONDAY,
|
|
1170
|
+
$n as DAY_SATURDAY,
|
|
1171
|
+
Fn as DAY_SUNDAY,
|
|
1172
|
+
qn as DAY_THURSDAY,
|
|
1173
|
+
Un as DAY_TUESDAY,
|
|
1174
|
+
Bn as DAY_WEDNESDAY,
|
|
1175
|
+
Ee as GOLDEN_RATIO,
|
|
1176
|
+
gn as MIME_BINARY_DEFAULT,
|
|
1177
|
+
vn as MIME_EXTENSION_MAP,
|
|
1171
1178
|
At as MIME_FORM,
|
|
1172
|
-
|
|
1179
|
+
wn as MIME_HTML,
|
|
1173
1180
|
b as MIME_JSON,
|
|
1174
1181
|
Mt as MIME_MULTIPART,
|
|
1175
|
-
|
|
1176
|
-
|
|
1182
|
+
xn as MIME_TEXT,
|
|
1183
|
+
Gn as MONTH_NAMES_CN,
|
|
1177
1184
|
Ht as MONTH_NAMES_EN,
|
|
1178
|
-
|
|
1185
|
+
jn as MONTH_NAMES_SHORT_CN,
|
|
1179
1186
|
Ft as MONTH_NAMES_SHORT_EN,
|
|
1180
|
-
|
|
1187
|
+
_n as MONTH_NOW,
|
|
1181
1188
|
T as ONE_DAY,
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1189
|
+
Dn as ONE_HOUR,
|
|
1190
|
+
On as ONE_MINUTE,
|
|
1191
|
+
In as ONE_MONTH30,
|
|
1192
|
+
kn as ONE_MONTH31,
|
|
1193
|
+
Rn as ONE_WEEK,
|
|
1194
|
+
Ln as ONE_YEAR365,
|
|
1195
|
+
Hn as ONE_YEAR366,
|
|
1196
|
+
en as PAIR_TAGS,
|
|
1190
1197
|
wt as REMOVABLE_TAGS,
|
|
1191
|
-
|
|
1198
|
+
nn as SELF_CLOSING_TAGS,
|
|
1192
1199
|
B as STAND_DPI,
|
|
1193
1200
|
D as TRIM_BOTH,
|
|
1194
1201
|
R as TRIM_LEFT,
|
|
1195
1202
|
ot as TRIM_RIGHT,
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1203
|
+
Wn as WEEK_DAY_NAMES_CN,
|
|
1204
|
+
kt as WEEK_DAY_NAMES_EN,
|
|
1205
|
+
zn as WEEK_DAY_NAMES_SHORT_CN,
|
|
1206
|
+
Lt as WEEK_DAY_NAMES_SHORT_EN,
|
|
1207
|
+
Cn as YEAR_NOW,
|
|
1201
1208
|
Ct as abortableFetch,
|
|
1202
1209
|
$t as arrayChunk,
|
|
1203
1210
|
Pt as arrayColumn,
|
|
@@ -1206,118 +1213,120 @@ export {
|
|
|
1206
1213
|
Ut as arrayIndex,
|
|
1207
1214
|
Yt as arraySortByKey,
|
|
1208
1215
|
Gt as arrayTrimTail,
|
|
1209
|
-
|
|
1210
|
-
|
|
1216
|
+
oe as base64Decode,
|
|
1217
|
+
re as base64UrlSafeEncode,
|
|
1211
1218
|
g as between,
|
|
1212
1219
|
rt as blobToBase64,
|
|
1213
1220
|
I as blobToDataUri,
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1221
|
+
sn as buildHtmlHidden,
|
|
1222
|
+
Qe as buildStyleVars,
|
|
1223
|
+
Kt as camelCase,
|
|
1217
1224
|
tt as capitalize,
|
|
1218
1225
|
It as cleanNull,
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1226
|
+
Jn as countDown,
|
|
1227
|
+
Ve as createDomByHtml,
|
|
1228
|
+
rn as cssSelectorEscape,
|
|
1229
|
+
Wt as cutString,
|
|
1230
|
+
he as debounce,
|
|
1231
|
+
ln as decodeHTMLEntities,
|
|
1225
1232
|
F as deepClone,
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1233
|
+
fe as deleteCookie,
|
|
1234
|
+
se as detectLanguage,
|
|
1235
|
+
De as detectedPrecision,
|
|
1236
|
+
Re as digitCount,
|
|
1230
1237
|
dt as disabled,
|
|
1231
|
-
|
|
1238
|
+
tn as downloadFile,
|
|
1232
1239
|
mt as enabled,
|
|
1233
1240
|
lt as enterFullScreen,
|
|
1234
|
-
|
|
1241
|
+
an as entityToString,
|
|
1235
1242
|
H as escapeAttr,
|
|
1236
|
-
|
|
1243
|
+
cn as escapeHtml,
|
|
1237
1244
|
st as exitFullScreen,
|
|
1238
|
-
|
|
1239
|
-
|
|
1245
|
+
Jt as extract,
|
|
1246
|
+
Xe as fileToBase64DataUri,
|
|
1240
1247
|
Y as findAll,
|
|
1241
1248
|
E as findOne,
|
|
1242
|
-
|
|
1249
|
+
Ke as fixBaseUrl,
|
|
1250
|
+
jt as floatVal,
|
|
1243
1251
|
V as formatDate,
|
|
1244
1252
|
xt as getBoundingClientRect,
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1253
|
+
ue as getCookie,
|
|
1254
|
+
ze as getDomDimension,
|
|
1255
|
+
yn as getJson,
|
|
1256
|
+
Ue as getNodeXPath,
|
|
1257
|
+
Zt as getUTF8StrLen,
|
|
1258
|
+
Vn as getWeekNumber,
|
|
1251
1259
|
ut as guid,
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1260
|
+
Ie as hide,
|
|
1261
|
+
fn as highlightText,
|
|
1262
|
+
on as html2Text,
|
|
1263
|
+
dn as imgToBase64,
|
|
1256
1264
|
gt as insertStyleSheet,
|
|
1257
1265
|
Ot as isBodyInit,
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1266
|
+
ie as isChinese,
|
|
1267
|
+
Tn as isEmptyObject,
|
|
1268
|
+
ce as isFirefox,
|
|
1269
|
+
$e as isFocusable,
|
|
1270
|
+
ve as isFunction,
|
|
1262
1271
|
ct as isInFullScreen,
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1272
|
+
ye as isJSON,
|
|
1273
|
+
xe as isJson,
|
|
1274
|
+
we as isObject,
|
|
1275
|
+
ge as isPromise,
|
|
1267
1276
|
ft as isUrl,
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1277
|
+
Vt as kebabCase,
|
|
1278
|
+
qe as keepRectInContainer,
|
|
1279
|
+
_e as limit,
|
|
1280
|
+
Ge as loadCss,
|
|
1281
|
+
je as loadScript,
|
|
1282
|
+
Fe as lockElementInteraction,
|
|
1283
|
+
hn as md5,
|
|
1284
|
+
Me as mmToPt,
|
|
1285
|
+
Te as mmToPx,
|
|
1286
|
+
Ae as mmToTwip,
|
|
1287
|
+
Kn as msToHMS,
|
|
1279
1288
|
ht as mutationEffective,
|
|
1280
|
-
|
|
1289
|
+
Pe as nodeIndex,
|
|
1281
1290
|
K as objToQuery,
|
|
1282
|
-
|
|
1283
|
-
|
|
1291
|
+
Mn as objectGet,
|
|
1292
|
+
An as objectKeyMapping,
|
|
1284
1293
|
Rt as objectMerge,
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
+
Sn as objectSet,
|
|
1295
|
+
Be as onDomTreeChange,
|
|
1296
|
+
He as onHover,
|
|
1297
|
+
En as postFiles,
|
|
1298
|
+
bn as postJson,
|
|
1299
|
+
Je as precisionToStep,
|
|
1300
|
+
be as printStack,
|
|
1301
|
+
Se as ptToMm,
|
|
1302
|
+
Ce as pxToMm,
|
|
1294
1303
|
St as queryReplace,
|
|
1295
1304
|
J as queryToObj,
|
|
1296
|
-
|
|
1305
|
+
Ne as randomInt,
|
|
1297
1306
|
it as randomString,
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1307
|
+
Xt as randomWords,
|
|
1308
|
+
Ye as rectAssoc,
|
|
1309
|
+
We as rectInLayout,
|
|
1301
1310
|
C as regQuote,
|
|
1302
|
-
|
|
1311
|
+
Le as remove,
|
|
1303
1312
|
O as request,
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1313
|
+
Oe as round,
|
|
1314
|
+
Ze as sanitizeFileName,
|
|
1315
|
+
pe as setCookie,
|
|
1316
|
+
ke as show,
|
|
1317
|
+
mn as srcToBase64,
|
|
1318
|
+
ne as strChunk,
|
|
1319
|
+
te as strToPascalCase,
|
|
1320
|
+
un as stringToEntity,
|
|
1321
|
+
zt as stripSlashes,
|
|
1322
|
+
de as throttle,
|
|
1323
|
+
me as throttleEffect,
|
|
1315
1324
|
q as toggleDisabled,
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1325
|
+
le as toggleFullScreen,
|
|
1326
|
+
ee as trim,
|
|
1327
|
+
Qt as truncate,
|
|
1328
|
+
pn as unescapeHtml,
|
|
1329
|
+
L as urlB64DataCache,
|
|
1321
1330
|
et as utf8Decode,
|
|
1322
1331
|
U as utf8Encode
|
|
1323
1332
|
};
|