minutool 1.0.5 → 1.0.6

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/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) => (t + "").replace(/\\(.?)/g, function(e, n) {
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
- }), zt = (t, e, n = "...") => {
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
- }, Wt = (t, e) => {
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 Jt(t) {
83
+ function Kt(t) {
79
84
  return t.replace(/[-_](.)/g, (e, n) => n.toUpperCase());
80
85
  }
81
- function Kt(t) {
86
+ function Vt(t) {
82
87
  return t.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase();
83
88
  }
84
- function Vt(t, e, n = "...") {
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
- }, Qt = (t) => {
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
- }, Zt = (t = 1, e = 8) => {
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
- }, Xt = (t, e = !1) => {
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, te = (t, e = "", n = D) => {
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
- }, ee = (t, e) => {
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+/=", ne = (t) => {
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
- }, ie = (t) => U(t).replace("+", "-").replace("/", "_"), oe = (t) => {
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,22 @@ 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(), re = (t) => new Promise((e, n) => {
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, ae = (t) => {
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
- }, le = () => navigator.userAgent.toLowerCase().indexOf("firefox") > -1, se = (t, e, n, i = "/") => {
170
+ }, ce = () => navigator.userAgent.toLowerCase().indexOf("firefox") > -1, pe = (t, e, n, i = "/") => {
166
171
  let o = "";
167
172
  if (n) {
168
173
  let l = /* @__PURE__ */ new Date();
169
174
  l.setTime(Date.now() + n * 24 * 60 * 60 * 1e3), o = "; expires=" + l.toUTCString();
170
175
  }
171
176
  document.cookie = t + "=" + (e || "") + o + "; path=" + i;
172
- }, ce = (t) => {
177
+ }, ue = (t) => {
173
178
  let e = t + "=", n = document.cookie.split(";");
174
179
  for (let i = 0; i < n.length; i++) {
175
180
  let o = n[i];
@@ -177,17 +182,17 @@ const C = (t) => (t + "").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,
177
182
  if (o.indexOf(e) === 0) return o.substring(e.length, o.length);
178
183
  }
179
184
  return null;
180
- }, pe = (t) => {
185
+ }, fe = (t) => {
181
186
  document.cookie = t + "=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;";
182
187
  };
183
188
  let pt = 0;
184
- const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
189
+ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, de = (t, e) => {
185
190
  let n, i, o = 0;
186
191
  return function() {
187
192
  let l = +/* @__PURE__ */ new Date();
188
193
  n = this, i = arguments, l - o > e && (t.apply(n, i), o = l);
189
194
  };
190
- }, fe = (t, e) => {
195
+ }, me = (t, e) => {
191
196
  let n, i, o = 0, l = !1;
192
197
  return function() {
193
198
  if (l)
@@ -199,7 +204,7 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
199
204
  t.apply(n, i), l = !1, o = p;
200
205
  }, r));
201
206
  };
202
- }, de = (t, e) => {
207
+ }, he = (t, e) => {
203
208
  let n;
204
209
  return function() {
205
210
  let i = this, o = arguments;
@@ -207,27 +212,27 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
207
212
  t.apply(i, o);
208
213
  }, e);
209
214
  };
210
- }, me = (t) => t && typeof t == "object" && t.then && typeof t.then == "function", he = (t) => {
215
+ }, ge = (t) => t && typeof t == "object" && t.then && typeof t.then == "function", xe = (t) => {
211
216
  let e = !1;
212
217
  try {
213
218
  JSON.parse(t), e = !0;
214
219
  } catch {
215
220
  }
216
221
  return e;
217
- }, ge = (t) => t && typeof t == "object" && !Array.isArray(t), xe = (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), we = (t) => {
222
+ }, 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
223
  let e = !1;
219
224
  try {
220
225
  JSON.parse(t), e = !0;
221
226
  } catch {
222
227
  }
223
228
  return e;
224
- }, ve = () => {
229
+ }, be = () => {
225
230
  let t = new Error().stack;
226
231
  console.log(t);
227
- }, ye = (1 + Math.sqrt(5)) / 2 - 1, B = 96, be = (t, e = B) => t / 25.4 * e, Ee = (t) => Math.round(t * 56.6929), Te = (t) => t * 2.83464566929, Ae = (t) => t / 2.83464566929, Me = (t, e = B) => 25.4 * t / e, Se = (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, Ce = (t, e) => Math.floor(Math.random() * (e + 1 - t)) + t, _e = (t, e = 2) => {
232
+ }, 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
233
  let n = Math.pow(10, e);
229
234
  return Math.round(t * n) / n;
230
- }, Ne = (...t) => {
235
+ }, De = (...t) => {
231
236
  let e = 0;
232
237
  return t.forEach((n) => {
233
238
  if (typeof n == "number" && !isNaN(n)) {
@@ -235,17 +240,17 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
235
240
  i && (e = Math.max(e, i.length));
236
241
  }
237
242
  }), e;
238
- }, Oe = (t) => (t = Math.abs(Number(t)), t === 0 ? 1 : Math.floor(Math.log10(t)) + 1), De = (t) => {
243
+ }, Re = (t) => (t = Math.abs(Number(t)), t === 0 ? 1 : Math.floor(Math.log10(t)) + 1), Ie = (t) => {
239
244
  E(t).style.display = "none";
240
- }, Re = (t) => {
245
+ }, Le = (t) => {
241
246
  E(t).style.display = "";
242
- }, Ie = (t) => {
247
+ }, ke = (t) => {
243
248
  let e = E(t);
244
249
  return e && e.parentNode && e.parentNode.removeChild(e);
245
250
  }, S = "disabled", dt = (t, e = "") => q(t, e, !1), mt = (t, e = "") => q(t, e, !0), q = (t, e = "", n = null) => {
246
251
  let i = E(t), o = n === null ? !i.classList.contains(S) : !n;
247
252
  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
- }, Le = (t, e, n) => {
253
+ }, He = (t, e, n) => {
249
254
  t = E(t);
250
255
  let i = !1;
251
256
  t.addEventListener("mouseenter", () => {
@@ -253,11 +258,11 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
253
258
  }), t.addEventListener("mouseleave", () => {
254
259
  i && (i = !1, n && n());
255
260
  });
256
- }, ke = (t, e) => {
261
+ }, Fe = (t, e) => {
257
262
  dt(t), e(() => {
258
263
  mt(t);
259
264
  });
260
- }, He = (t) => t.parentNode ? Array.prototype.indexOf.call(t.parentNode.children, t) : -1, Y = (t, e = document) => {
265
+ }, Pe = (t) => t.parentNode ? Array.prototype.indexOf.call(t.parentNode.children, t) : -1, Y = (t, e = document) => {
261
266
  if (typeof t == "string")
262
267
  return t = t.trim(), t.indexOf(":scope") !== 0 && (t = ":scope " + t), Array.from(e.querySelectorAll(t));
263
268
  if (Array.isArray(t)) {
@@ -266,7 +271,7 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
266
271
  n.push(...Y(i));
267
272
  }), n;
268
273
  } 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, Fe = (t) => {
274
+ }, E = (t, e = document) => typeof t == "string" ? e.querySelector(t) : t, Ue = (t) => {
270
275
  let e = document.getElementsByTagName("*"), n = [];
271
276
  for (n = []; t && t.nodeType === 1; t = t.parentNode)
272
277
  if (t.hasAttribute("id")) {
@@ -285,7 +290,7 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
285
290
  n.unshift(t.localName.toLowerCase() + "[" + i + "]");
286
291
  }
287
292
  return n.length ? "/" + n.join("/") : null;
288
- }, Pe = (t, e, n = !0) => {
293
+ }, Be = (t, e, n = !0) => {
289
294
  const i = "ON_DOM_TREE_CHANGE_BIND_" + ut();
290
295
  let o = () => {
291
296
  Y(`input:not([${i}]), textarea:not([${i}]), select:not([${i}])`, t).forEach((l) => {
@@ -310,7 +315,7 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
310
315
  }, r)) : (o = Date.now(), n(p));
311
316
  });
312
317
  p.observe(t, e);
313
- }, Ue = (t, e = {
318
+ }, qe = (t, e = {
314
319
  left: 0,
315
320
  top: 0,
316
321
  width: window.innerWidth,
@@ -318,23 +323,23 @@ const ut = (t = "") => "guid_" + (t || it(6)) + ++pt, ue = (t, e) => {
318
323
  }) => {
319
324
  let n = { left: t.left, top: t.top };
320
325
  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
- }, Be = (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), qe = (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;
326
+ }, 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
327
  let x = {};
323
- const Ye = (t, e = !1) => (!e && t in x || (x[t] = new Promise((n, i) => {
328
+ const Ge = (t, e = !1) => (!e && t in x || (x[t] = new Promise((n, i) => {
324
329
  let o = document.createElement("link");
325
330
  o.rel = "stylesheet", o.href = t, o.onload = () => {
326
331
  n();
327
332
  }, o.onerror = () => {
328
333
  i();
329
334
  }, document.head.append(o);
330
- })), x[t]), $e = (t, e = !1) => (!e && t in x || (x[t] = new Promise((n, i) => {
335
+ })), x[t]), je = (t, e = !1) => (!e && t in x || (x[t] = new Promise((n, i) => {
331
336
  let o = document.createElement("script");
332
337
  o.src = t, o.onload = () => {
333
338
  n();
334
339
  }, o.onerror = () => {
335
340
  i();
336
341
  }, document.head.append(o);
337
- })), x[t]), Ge = (t) => {
342
+ })), x[t]), ze = (t) => {
338
343
  let e = t.style.visibility, n = t.style.display, i, o;
339
344
  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
345
  }, gt = (t, e = "", n = document) => {
@@ -342,14 +347,14 @@ const Ye = (t, e = !1) => (!e && t in x || (x[t] = new Promise((n, i) => {
342
347
  return n.querySelector(`#${e}`);
343
348
  let i = n.createElement("style");
344
349
  return n.head.appendChild(i), i.innerHTML = t, e && (i.id = e), i;
345
- }, je = (t, e) => g(t.top, e.top, e.top + e.height) && g(t.left, e.left, e.left + e.width) && //左上角
346
- g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.left + e.width), ze = (t) => Math.pow(10, -t), We = (t, e) => {
350
+ }, We = (t, e) => g(t.top, e.top, e.top + e.height) && g(t.left, e.left, e.left + e.width) && //左上角
351
+ 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
352
  try {
348
353
  return new URL(t, e).href;
349
354
  } catch {
350
355
  return t;
351
356
  }
352
- }, Je = (t, e = null) => {
357
+ }, Ve = (t, e = null) => {
353
358
  let n = document.createElement("template");
354
359
  t = t.trim(), n.innerHTML = t;
355
360
  let i = [];
@@ -374,17 +379,17 @@ g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.le
374
379
  width: n.width,
375
380
  height: n.height
376
381
  };
377
- }, Ke = (t) => {
382
+ }, Qe = (t) => {
378
383
  let e = {};
379
384
  for (let n in t) {
380
385
  const i = t[n];
381
386
  i != null && (e[`--${n}`] = `${i}`);
382
387
  }
383
388
  return e;
384
- }, Ve = (t) => t.replace(/[\\/:*?"<>|]/g, "_").replace(/[\0-\x1F]/g, "_").replace(/\s+/g, " ").replace(/^\.+/, "").replace(/\.+$/, "").trim(), I = (t) => new Promise((e, n) => {
389
+ }, Ze = (t) => t.replace(/[\\/:*?"<>|]/g, "_").replace(/[\0-\x1F]/g, "_").replace(/\s+/g, " ").replace(/^\.+/, "").replace(/\.+$/, "").trim(), I = (t) => new Promise((e, n) => {
385
390
  const i = new FileReader();
386
391
  i.onload = () => e(i.result), i.onerror = (o) => n(o), i.readAsDataURL(t);
387
- }), L = {}, k = (t, e = null) => e !== null ? (L[t] = e, null) : L[t] || null, Qe = async (t) => {
392
+ }), L = {}, k = (t, e = null) => e !== null ? (L[t] = e, null) : L[t] || null, Xe = async (t) => {
388
393
  if (!t)
389
394
  return null;
390
395
  if (typeof t == "string" && t.startsWith("data:"))
@@ -401,7 +406,7 @@ g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.le
401
406
  } catch (e) {
402
407
  return console.warn("file2Base64DataURL failed:", e), null;
403
408
  }
404
- }, Ze = (t, e) => {
409
+ }, tn = (t, e) => {
405
410
  const n = document.createElement("a");
406
411
  n.rel = "noopener noreferrer", n.href = t, n.download = e, document.body.appendChild(n), n.click(), document.body.removeChild(n);
407
412
  }, $ = [
@@ -439,7 +444,7 @@ g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.le
439
444
  "TFOOT",
440
445
  "UL",
441
446
  "VIDEO"
442
- ], Xe = [
447
+ ], en = [
443
448
  "A",
444
449
  "ABBR",
445
450
  "ACRONYM",
@@ -472,7 +477,7 @@ g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.le
472
477
  "TT",
473
478
  "U",
474
479
  "VAR"
475
- ].concat(...$), tn = ["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"], en = (t) => (wt.forEach((n) => {
480
+ ].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
481
  t = t.replace(new RegExp(n, "ig"), "");
477
482
  }), t = t.replace(/[\r|\n]/g, ""), t = t.replace(/<(\w+)([^>]*)>/g, function(n, i, o) {
478
483
  return $.includes(i.toUpperCase()) ? `
@@ -489,27 +494,27 @@ g(t.top + t.height, e.top, e.top + e.height) && g(t.left + t.width, e.left, e.le
489
494
  t = t.replace(n, i);
490
495
  }), t = t.replace(/&#(\d+);/, function(n, i) {
491
496
  return String.fromCharCode(parseInt(i));
492
- }), t = t.replace(/&amp;/gi, "&"), t = t.trim(), t), nn = (t) => window.CSS && CSS.escape ? CSS.escape(t) : t.replace(/[!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~]/g, "\\$&"), on = (t) => {
497
+ }), t = t.replace(/&amp;/gi, "&"), t = t.trim(), t), rn = (t) => window.CSS && CSS.escape ? CSS.escape(t) : t.replace(/[!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~]/g, "\\$&"), an = (t) => {
493
498
  let e = t.split(";");
494
499
  return e.pop(), e.map((n) => String.fromCharCode(n[2] === "x" ? parseInt(n.slice(3), 16) : parseInt(n.slice(2)))).join("");
495
500
  };
496
501
  let y;
497
- const rn = (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), an = (t) => {
502
+ 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
503
  let e = "";
499
504
  for (let n in t) {
500
505
  let i = t[n] === null ? "" : t[n];
501
506
  e += `<input type="hidden" name="${H(n)}" value="${H(i)}"/>`;
502
507
  }
503
508
  return e;
504
- }, ln = (t, e = 2, n = !0) => {
509
+ }, cn = (t, e = 2, n = !0) => {
505
510
  let i = String(t).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;");
506
511
  return n && (i = i.replace(/[\r\n]/g, "<br/>")), e && (i = i.replace(/\t/g, "&nbsp;".repeat(e))), i = i.replace(/\s/g, "&nbsp;"), i;
507
- }, sn = (t) => String(t).replace(/&quot;/g, '"').replace(/&#39;/g, "'").replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&nbsp;/g, " ").replace(/&amp;/g, "&").replace(/<br.*>/, `
512
+ }, pn = (t) => String(t).replace(/&quot;/g, '"').replace(/&#39;/g, "'").replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&nbsp;/g, " ").replace(/&amp;/g, "&").replace(/<br.*>/, `
508
513
  `), H = (t, e = "") => (e = e ? "&#13;" : `
509
- `, ("" + t).replace(/&/g, "&amp;").replace(/'/g, "&apos;").replace(/"/g, "&quot;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\r\n/g, e).replace(/[\r\n]/g, e)), cn = (t, e) => {
514
+ `, ("" + t).replace(/&/g, "&amp;").replace(/'/g, "&apos;").replace(/"/g, "&quot;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\r\n/g, e).replace(/[\r\n]/g, e)), un = (t, e) => {
510
515
  let n = t.split("");
511
516
  return e = e || 0, n.map((i) => `&#${e ? "x" + i.charCodeAt(0).toString(16) : i.charCodeAt(0)};`).join("");
512
- }, pn = (t, e, n = '<span class="matched">%s</span>') => e ? t.replace(new RegExp(C(e), "ig"), (i) => n.replace("%s", i)) : t, un = (t) => {
517
+ }, 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
518
  if (!t.src)
514
519
  return null;
515
520
  if (t.src.indexOf("data:") === 0)
@@ -518,7 +523,7 @@ const rn = (t) => (y || (y = document.createElement("div")), t = t.replace(/<scr
518
523
  e.width = t.width, e.height = t.height;
519
524
  let n = e.getContext("2d");
520
525
  return n ? (n.drawImage(t, 0, 0, t.width, t.height), e.toDataURL("image/png")) : null;
521
- }, fn = (t, e = !1) => new Promise((n, i) => {
526
+ }, mn = (t, e = !1) => new Promise((n, i) => {
522
527
  if (e) {
523
528
  const l = k(t);
524
529
  if (l)
@@ -571,7 +576,7 @@ const rn = (t) => (y || (y = document.createElement("div")), t = t.replace(/<scr
571
576
  for (o = 0; o < t.length; o += 1)
572
577
  i = t.charCodeAt(o), n += e.charAt(i >>> 4 & 15) + e.charAt(i & 15);
573
578
  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)), dn = (t, e, n) => e ? n ? W(e, t) : Tt(e, t) : n ? z(t) : Et(t), mn = "application/octet-stream", b = "application/json", At = "application/x-www-form-urlencoded", Mt = "multipart/form-data", hn = "text/plain", gn = "text/html", xn = {
579
+ }, 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
580
  323: "text/h323",
576
581
  accdb: "application/msaccess",
577
582
  accde: "application/msaccess",
@@ -962,7 +967,7 @@ const rn = (t) => (y || (y = document.createElement("div")), t = t.replace(/<scr
962
967
  default:
963
968
  return K(t);
964
969
  }
965
- }, wn = (t, e = null, n = {}) => O(t, e, { ...n, ContentType: b, Accept: b }).then((i) => i.json()), vn = (t, e = null, n = {}) => O(t, e, { ...n, method: "POST", ContentType: b, Accept: b }).then((i) => i.json()), yn = (t, e, n = null, i = {}) => {
970
+ }, 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
971
  const o = new FormData();
967
972
  if (Object.keys(e).forEach((l) => {
968
973
  o.append(l, e[l], e[l].name);
@@ -983,16 +988,16 @@ function F(t) {
983
988
  }
984
989
  return t;
985
990
  }
986
- function bn(t) {
991
+ function Tn(t) {
987
992
  return Object.keys(t).length === 0;
988
993
  }
989
- const En = (t, e) => {
994
+ const An = (t, e) => {
990
995
  let n = {};
991
996
  for (let i in t)
992
997
  e[i] !== void 0 ? n[e[i]] = t[i] : n[i] = t[i];
993
998
  return n;
994
999
  };
995
- function Tn(t, e, n) {
1000
+ function Mn(t, e, n) {
996
1001
  const i = e.split(".");
997
1002
  let o = t;
998
1003
  for (const l of i) {
@@ -1002,7 +1007,7 @@ function Tn(t, e, n) {
1002
1007
  }
1003
1008
  return o !== void 0 ? o : n;
1004
1009
  }
1005
- function An(t, e, n) {
1010
+ function Sn(t, e, n) {
1006
1011
  const i = e.split("."), o = i.pop();
1007
1012
  let l = t;
1008
1013
  for (const p of i)
@@ -1022,7 +1027,7 @@ const It = (t, e = !1) => {
1022
1027
  for (const n in t)
1023
1028
  t[n] === null ? delete t[n] : e && typeof t[n] == "object" && It(t[n], !0);
1024
1029
  return t;
1025
- }, Mn = (/* @__PURE__ */ new Date()).getFullYear(), Sn = (/* @__PURE__ */ new Date()).getMonth() + 1, Cn = (/* @__PURE__ */ new Date()).getDate(), _n = 60 * 1e3, Nn = 60 * 60 * 1e3, T = 24 * 60 * 60 * 1e3, On = 7 * T, Dn = 30 * T, Rn = 31 * T, In = 365 * T, Ln = 366 * T, kn = 0, Hn = 1, Fn = 2, Pn = 3, Un = 4, Bn = 5, qn = 6, Lt = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], kt = ["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"], Yn = ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], $n = ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], Gn = ["日", "一", "二", "三", "四", "五", "六"], jn = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], zn = (t, e, n) => {
1030
+ }, 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, Ln = 31 * T, kn = 365 * T, Hn = 366 * T, Fn = 0, Pn = 1, Un = 2, Bn = 3, qn = 4, Yn = 5, $n = 6, Lt = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], kt = ["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
1031
  let i = () => {
1027
1032
  if (e && e(t), t-- > 0) {
1028
1033
  setTimeout(i, 1e3);
@@ -1031,7 +1036,7 @@ const It = (t, e = !1) => {
1031
1036
  n && n();
1032
1037
  };
1033
1038
  i();
1034
- }, Wn = (t) => {
1039
+ }, Kn = (t) => {
1035
1040
  if (!t || t < 10)
1036
1041
  return "刚刚";
1037
1042
  t = Math.floor(t / 1e3);
@@ -1153,51 +1158,51 @@ const It = (t, e = !1) => {
1153
1158
  return typeof e == "object" && e !== null ? n = e : n = new Date(e || Date.now()), t.replace(/(\\?)(.)/g, function(i, o, l) {
1154
1159
  return o === "" && P[l] ? String(P[l](n)) : l;
1155
1160
  });
1156
- }, Jn = (t) => V("W", t);
1161
+ }, Vn = (t) => V("W", t);
1157
1162
  export {
1158
1163
  $ as BLOCK_TAGS,
1159
- oe as Base64Encode,
1160
- Cn as DATE_NOW,
1161
- Bn as DAY_FRIDAY,
1162
- Hn as DAY_MONDAY,
1163
- qn as DAY_SATURDAY,
1164
- kn as DAY_SUNDAY,
1165
- Un as DAY_THURSDAY,
1166
- Fn as DAY_TUESDAY,
1167
- Pn as DAY_WEDNESDAY,
1168
- ye as GOLDEN_RATIO,
1169
- mn as MIME_BINARY_DEFAULT,
1170
- xn as MIME_EXTENSION_MAP,
1164
+ ae as Base64Encode,
1165
+ Nn as DATE_NOW,
1166
+ Yn as DAY_FRIDAY,
1167
+ Pn as DAY_MONDAY,
1168
+ $n as DAY_SATURDAY,
1169
+ Fn as DAY_SUNDAY,
1170
+ qn as DAY_THURSDAY,
1171
+ Un as DAY_TUESDAY,
1172
+ Bn as DAY_WEDNESDAY,
1173
+ Ee as GOLDEN_RATIO,
1174
+ gn as MIME_BINARY_DEFAULT,
1175
+ vn as MIME_EXTENSION_MAP,
1171
1176
  At as MIME_FORM,
1172
- gn as MIME_HTML,
1177
+ wn as MIME_HTML,
1173
1178
  b as MIME_JSON,
1174
1179
  Mt as MIME_MULTIPART,
1175
- hn as MIME_TEXT,
1176
- Yn as MONTH_NAMES_CN,
1180
+ xn as MIME_TEXT,
1181
+ Gn as MONTH_NAMES_CN,
1177
1182
  Ht as MONTH_NAMES_EN,
1178
- $n as MONTH_NAMES_SHORT_CN,
1183
+ jn as MONTH_NAMES_SHORT_CN,
1179
1184
  Ft as MONTH_NAMES_SHORT_EN,
1180
- Sn as MONTH_NOW,
1185
+ _n as MONTH_NOW,
1181
1186
  T as ONE_DAY,
1182
- Nn as ONE_HOUR,
1183
- _n as ONE_MINUTE,
1184
- Dn as ONE_MONTH30,
1185
- Rn as ONE_MONTH31,
1186
- On as ONE_WEEK,
1187
- In as ONE_YEAR365,
1188
- Ln as ONE_YEAR366,
1189
- Xe as PAIR_TAGS,
1187
+ Dn as ONE_HOUR,
1188
+ On as ONE_MINUTE,
1189
+ In as ONE_MONTH30,
1190
+ Ln as ONE_MONTH31,
1191
+ Rn as ONE_WEEK,
1192
+ kn as ONE_YEAR365,
1193
+ Hn as ONE_YEAR366,
1194
+ en as PAIR_TAGS,
1190
1195
  wt as REMOVABLE_TAGS,
1191
- tn as SELF_CLOSING_TAGS,
1196
+ nn as SELF_CLOSING_TAGS,
1192
1197
  B as STAND_DPI,
1193
1198
  D as TRIM_BOTH,
1194
1199
  R as TRIM_LEFT,
1195
1200
  ot as TRIM_RIGHT,
1196
- jn as WEEK_DAY_NAMES_CN,
1201
+ Wn as WEEK_DAY_NAMES_CN,
1197
1202
  Lt as WEEK_DAY_NAMES_EN,
1198
- Gn as WEEK_DAY_NAMES_SHORT_CN,
1203
+ zn as WEEK_DAY_NAMES_SHORT_CN,
1199
1204
  kt as WEEK_DAY_NAMES_SHORT_EN,
1200
- Mn as YEAR_NOW,
1205
+ Cn as YEAR_NOW,
1201
1206
  Ct as abortableFetch,
1202
1207
  $t as arrayChunk,
1203
1208
  Pt as arrayColumn,
@@ -1206,117 +1211,119 @@ export {
1206
1211
  Ut as arrayIndex,
1207
1212
  Yt as arraySortByKey,
1208
1213
  Gt as arrayTrimTail,
1209
- ne as base64Decode,
1210
- ie as base64UrlSafeEncode,
1214
+ oe as base64Decode,
1215
+ re as base64UrlSafeEncode,
1211
1216
  g as between,
1212
1217
  rt as blobToBase64,
1213
1218
  I as blobToDataUri,
1214
- an as buildHtmlHidden,
1215
- Ke as buildStyleVars,
1216
- Jt as camelCase,
1219
+ sn as buildHtmlHidden,
1220
+ Qe as buildStyleVars,
1221
+ Kt as camelCase,
1217
1222
  tt as capitalize,
1218
1223
  It as cleanNull,
1219
- zn as countDown,
1220
- Je as createDomByHtml,
1221
- nn as cssSelectorEscape,
1222
- zt as cutString,
1223
- de as debounce,
1224
- rn as decodeHTMLEntities,
1224
+ Jn as countDown,
1225
+ Ve as createDomByHtml,
1226
+ rn as cssSelectorEscape,
1227
+ Wt as cutString,
1228
+ he as debounce,
1229
+ ln as decodeHTMLEntities,
1225
1230
  F as deepClone,
1226
- pe as deleteCookie,
1227
- ae as detectLanguage,
1228
- Ne as detectedPrecision,
1229
- Oe as digitCount,
1231
+ fe as deleteCookie,
1232
+ se as detectLanguage,
1233
+ De as detectedPrecision,
1234
+ Re as digitCount,
1230
1235
  dt as disabled,
1231
- Ze as downloadFile,
1236
+ tn as downloadFile,
1232
1237
  mt as enabled,
1233
1238
  lt as enterFullScreen,
1234
- on as entityToString,
1239
+ an as entityToString,
1235
1240
  H as escapeAttr,
1236
- ln as escapeHtml,
1241
+ cn as escapeHtml,
1237
1242
  st as exitFullScreen,
1238
- Wt as extract,
1239
- Qe as fileToBase64DataUri,
1243
+ Jt as extract,
1244
+ Xe as fileToBase64DataUri,
1240
1245
  Y as findAll,
1241
1246
  E as findOne,
1242
- We as fixBaseUrl,
1247
+ Ke as fixBaseUrl,
1248
+ jt as floatVal,
1243
1249
  V as formatDate,
1244
1250
  xt as getBoundingClientRect,
1245
- ce as getCookie,
1246
- Ge as getDomDimension,
1247
- wn as getJson,
1248
- Fe as getNodeXPath,
1249
- Qt as getUTF8StrLen,
1250
- Jn as getWeekNumber,
1251
+ ue as getCookie,
1252
+ ze as getDomDimension,
1253
+ yn as getJson,
1254
+ Ue as getNodeXPath,
1255
+ Zt as getUTF8StrLen,
1256
+ Vn as getWeekNumber,
1251
1257
  ut as guid,
1252
- De as hide,
1253
- pn as highlightText,
1254
- en as html2Text,
1255
- un as imgToBase64,
1258
+ Ie as hide,
1259
+ fn as highlightText,
1260
+ on as html2Text,
1261
+ dn as imgToBase64,
1256
1262
  gt as insertStyleSheet,
1257
1263
  Ot as isBodyInit,
1258
- bn as isEmptyObject,
1259
- le as isFirefox,
1260
- qe as isFocusable,
1261
- xe as isFunction,
1264
+ ie as isChinese,
1265
+ Tn as isEmptyObject,
1266
+ ce as isFirefox,
1267
+ $e as isFocusable,
1268
+ ve as isFunction,
1262
1269
  ct as isInFullScreen,
1263
- we as isJSON,
1264
- he as isJson,
1265
- ge as isObject,
1266
- me as isPromise,
1270
+ ye as isJSON,
1271
+ xe as isJson,
1272
+ we as isObject,
1273
+ ge as isPromise,
1267
1274
  ft as isUrl,
1268
- Kt as kebabCase,
1269
- Ue as keepRectInContainer,
1270
- Se as limit,
1271
- Ye as loadCss,
1272
- $e as loadScript,
1273
- ke as lockElementInteraction,
1274
- dn as md5,
1275
- Te as mmToPt,
1276
- be as mmToPx,
1277
- Ee as mmToTwip,
1278
- Wn as msToHMS,
1275
+ Vt as kebabCase,
1276
+ qe as keepRectInContainer,
1277
+ _e as limit,
1278
+ Ge as loadCss,
1279
+ je as loadScript,
1280
+ Fe as lockElementInteraction,
1281
+ hn as md5,
1282
+ Me as mmToPt,
1283
+ Te as mmToPx,
1284
+ Ae as mmToTwip,
1285
+ Kn as msToHMS,
1279
1286
  ht as mutationEffective,
1280
- He as nodeIndex,
1287
+ Pe as nodeIndex,
1281
1288
  K as objToQuery,
1282
- Tn as objectGet,
1283
- En as objectKeyMapping,
1289
+ Mn as objectGet,
1290
+ An as objectKeyMapping,
1284
1291
  Rt as objectMerge,
1285
- An as objectSet,
1286
- Pe as onDomTreeChange,
1287
- Le as onHover,
1288
- yn as postFiles,
1289
- vn as postJson,
1290
- ze as precisionToStep,
1291
- ve as printStack,
1292
- Ae as ptToMm,
1293
- Me as pxToMm,
1292
+ Sn as objectSet,
1293
+ Be as onDomTreeChange,
1294
+ He as onHover,
1295
+ En as postFiles,
1296
+ bn as postJson,
1297
+ Je as precisionToStep,
1298
+ be as printStack,
1299
+ Se as ptToMm,
1300
+ Ce as pxToMm,
1294
1301
  St as queryReplace,
1295
1302
  J as queryToObj,
1296
- Ce as randomInt,
1303
+ Ne as randomInt,
1297
1304
  it as randomString,
1298
- Zt as randomWords,
1299
- Be as rectAssoc,
1300
- je as rectInLayout,
1305
+ Xt as randomWords,
1306
+ Ye as rectAssoc,
1307
+ We as rectInLayout,
1301
1308
  C as regQuote,
1302
- Ie as remove,
1309
+ ke as remove,
1303
1310
  O as request,
1304
- _e as round,
1305
- Ve as sanitizeFileName,
1306
- se as setCookie,
1307
- Re as show,
1308
- fn as srcToBase64,
1309
- ee as strChunk,
1310
- Xt as strToPascalCase,
1311
- cn as stringToEntity,
1312
- jt as stripSlashes,
1313
- ue as throttle,
1314
- fe as throttleEffect,
1311
+ Oe as round,
1312
+ Ze as sanitizeFileName,
1313
+ pe as setCookie,
1314
+ Le as show,
1315
+ mn as srcToBase64,
1316
+ ne as strChunk,
1317
+ te as strToPascalCase,
1318
+ un as stringToEntity,
1319
+ zt as stripSlashes,
1320
+ de as throttle,
1321
+ me as throttleEffect,
1315
1322
  q as toggleDisabled,
1316
- re as toggleFullScreen,
1317
- te as trim,
1318
- Vt as truncate,
1319
- sn as unescapeHtml,
1323
+ le as toggleFullScreen,
1324
+ ee as trim,
1325
+ Qt as truncate,
1326
+ pn as unescapeHtml,
1320
1327
  k as urlB64DataCache,
1321
1328
  et as utf8Decode,
1322
1329
  U as utf8Encode